Class: Azure::ServiceFabric::V6_5_0_36::Models::ServiceReplicaDescription
- Inherits:
-
ServiceReplicaProperties
- Object
- ServiceReplicaProperties
- Azure::ServiceFabric::V6_5_0_36::Models::ServiceReplicaDescription
- Includes:
- MsRestAzure
- Defined in:
- lib/6.5.0.36/generated/azure_service_fabric/models/service_replica_description.rb
Overview
Describes a replica of a service resource.
Instance Attribute Summary collapse
-
#replica_name ⇒ String
Name of the replica.
Attributes inherited from ServiceReplicaProperties
#code_packages, #diagnostics, #network_refs, #os_type
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ServiceReplicaDescription class as Ruby Hash.
Instance Attribute Details
#replica_name ⇒ String
Returns Name of the replica.
16 17 18 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/service_replica_description.rb', line 16 def replica_name @replica_name end |
Class Method Details
.mapper ⇒ Object
Mapper for ServiceReplicaDescription class as Ruby Hash. This will be used for serialization/deserialization.
23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 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 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/service_replica_description.rb', line 23 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ServiceReplicaDescription', type: { name: 'Composite', class_name: 'ServiceReplicaDescription', model_properties: { os_type: { client_side_validation: true, required: true, serialized_name: 'osType', type: { name: 'String' } }, code_packages: { client_side_validation: true, required: true, serialized_name: 'codePackages', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'ContainerCodePackagePropertiesElementType', type: { name: 'Composite', class_name: 'ContainerCodePackageProperties' } } } }, network_refs: { client_side_validation: true, required: false, serialized_name: 'networkRefs', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'NetworkRefElementType', type: { name: 'Composite', class_name: 'NetworkRef' } } } }, diagnostics: { client_side_validation: true, required: false, serialized_name: 'diagnostics', type: { name: 'Composite', class_name: 'DiagnosticsRef' } }, replica_name: { client_side_validation: true, required: true, serialized_name: 'replicaName', type: { name: 'String' } } } } } end |