Class: Azure::ServiceFabric::V6_4_0_36::Models::ResolvedServicePartition
- Inherits:
-
Object
- Object
- Azure::ServiceFabric::V6_4_0_36::Models::ResolvedServicePartition
- Includes:
- MsRestAzure
- Defined in:
- lib/6.4.0.36/generated/azure_service_fabric/models/resolved_service_partition.rb
Overview
Information about a service partition and its associated endpoints.
Instance Attribute Summary collapse
-
#endpoints ⇒ Array<ResolvedServiceEndpoint>
endpoints of a service partition.
-
#name ⇒ String
scheme.
-
#partition_information ⇒ PartitionInformation
partition.
-
#version ⇒ String
This version should be passed in the next time the ResolveService call is made via the PreviousRspVersion query parameter.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ResolvedServicePartition class as Ruby Hash.
Instance Attribute Details
#endpoints ⇒ Array<ResolvedServiceEndpoint>
endpoints of a service partition.
25 26 27 |
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/resolved_service_partition.rb', line 25 def endpoints @endpoints end |
#name ⇒ String
scheme.
17 18 19 |
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/resolved_service_partition.rb', line 17 def name @name end |
#partition_information ⇒ PartitionInformation
partition.
21 22 23 |
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/resolved_service_partition.rb', line 21 def partition_information @partition_information end |
#version ⇒ String
This version should be passed in the next time the ResolveService call is made via the PreviousRspVersion query parameter.
30 31 32 |
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/resolved_service_partition.rb', line 30 def version @version end |
Class Method Details
.mapper ⇒ Object
Mapper for ResolvedServicePartition class as Ruby Hash. This will be used for serialization/deserialization.
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 |
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/resolved_service_partition.rb', line 37 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ResolvedServicePartition', type: { name: 'Composite', class_name: 'ResolvedServicePartition', model_properties: { name: { client_side_validation: true, required: true, serialized_name: 'Name', type: { name: 'String' } }, partition_information: { client_side_validation: true, required: true, serialized_name: 'PartitionInformation', type: { name: 'Composite', polymorphic_discriminator: 'ServicePartitionKind', uber_parent: 'PartitionInformation', class_name: 'PartitionInformation' } }, endpoints: { client_side_validation: true, required: true, serialized_name: 'Endpoints', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'ResolvedServiceEndpointElementType', type: { name: 'Composite', class_name: 'ResolvedServiceEndpoint' } } } }, version: { client_side_validation: true, required: true, serialized_name: 'Version', type: { name: 'String' } } } } } end |