Class: Azure::ServiceFabric::V6_4_0_36::Models::ServiceFromTemplateDescription

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/6.4.0.36/generated/azure_service_fabric/models/service_from_template_description.rb

Overview

Defines description for creating a Service Fabric service from a template defined in the application manifest.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#application_nameString

URI scheme.

Returns:

  • (String)

    The name of the application, including the ‘fabric:’



18
19
20
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/service_from_template_description.rb', line 18

def application_name
  @application_name
end

#initialization_dataArray<Integer>

service instance.

Returns:

  • (Array<Integer>)

    The initialization data for the newly created



30
31
32
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/service_from_template_description.rb', line 30

def initialization_data
  @initialization_data
end

#service_dns_nameString

system service to be enabled in Service Fabric cluster.

Returns:

  • (String)

    The DNS name of the service. It requires the DNS



39
40
41
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/service_from_template_description.rb', line 39

def service_dns_name
  @service_dns_name
end

#service_nameString

scheme.

Returns:

  • (String)

    The full name of the service with ‘fabric:’ URI



22
23
24
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/service_from_template_description.rb', line 22

def service_name
  @service_name
end

#service_package_activation_modeServicePackageActivationMode

package to be used for a service. Possible values include: ‘SharedProcess’, ‘ExclusiveProcess’

Returns:



35
36
37
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/service_from_template_description.rb', line 35

def service_package_activation_mode
  @service_package_activation_mode
end

#service_type_nameString

manifest.

Returns:

  • (String)

    Name of the service type as specified in the service



26
27
28
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/service_from_template_description.rb', line 26

def service_type_name
  @service_type_name
end

Class Method Details

.mapperObject

Mapper for ServiceFromTemplateDescription class as Ruby Hash. This will be used for serialization/deserialization.



46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/service_from_template_description.rb', line 46

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ServiceFromTemplateDescription',
    type: {
      name: 'Composite',
      class_name: 'ServiceFromTemplateDescription',
      model_properties: {
        application_name: {
          client_side_validation: true,
          required: true,
          serialized_name: 'ApplicationName',
          type: {
            name: 'String'
          }
        },
        service_name: {
          client_side_validation: true,
          required: true,
          serialized_name: 'ServiceName',
          type: {
            name: 'String'
          }
        },
        service_type_name: {
          client_side_validation: true,
          required: true,
          serialized_name: 'ServiceTypeName',
          type: {
            name: 'String'
          }
        },
        initialization_data: {
          client_side_validation: true,
          required: false,
          serialized_name: 'InitializationData',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'NumberElementType',
                type: {
                  name: 'Number'
                }
            }
          }
        },
        service_package_activation_mode: {
          client_side_validation: true,
          required: false,
          serialized_name: 'ServicePackageActivationMode',
          type: {
            name: 'String'
          }
        },
        service_dns_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'ServiceDnsName',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end