Class: Azure::ServiceFabric::V6_3_0_9::Models::ServiceFromTemplateDescription
- Inherits:
-
Object
- Object
- Azure::ServiceFabric::V6_3_0_9::Models::ServiceFromTemplateDescription
- Includes:
- MsRestAzure
- Defined in:
- lib/6.3.0.9/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
-
#application_name ⇒ String
URI scheme.
-
#initialization_data ⇒ Array<Integer>
service instance.
-
#service_dns_name ⇒ String
system service to be enabled in Service Fabric cluster.
-
#service_name ⇒ String
scheme.
-
#service_package_activation_mode ⇒ ServicePackageActivationMode
package to be used for a service.
-
#service_type_name ⇒ String
manifest.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ServiceFromTemplateDescription class as Ruby Hash.
Instance Attribute Details
#application_name ⇒ String
URI scheme.
18 19 20 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/service_from_template_description.rb', line 18 def application_name @application_name end |
#initialization_data ⇒ Array<Integer>
service instance.
30 31 32 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/service_from_template_description.rb', line 30 def initialization_data @initialization_data end |
#service_dns_name ⇒ String
system service to be enabled in Service Fabric cluster.
39 40 41 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/service_from_template_description.rb', line 39 def service_dns_name @service_dns_name end |
#service_name ⇒ String
scheme.
22 23 24 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/service_from_template_description.rb', line 22 def service_name @service_name end |
#service_package_activation_mode ⇒ ServicePackageActivationMode
package to be used for a service. Possible values include: ‘SharedProcess’, ‘ExclusiveProcess’
35 36 37 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/service_from_template_description.rb', line 35 def service_package_activation_mode @service_package_activation_mode end |
#service_type_name ⇒ String
manifest.
26 27 28 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/service_from_template_description.rb', line 26 def service_type_name @service_type_name end |
Class Method Details
.mapper ⇒ Object
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.3.0.9/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 |