Class: Azure::ServiceFabric::V6_5_0_36::Models::SelectedPartition
- Inherits:
-
Object
- Object
- Azure::ServiceFabric::V6_5_0_36::Models::SelectedPartition
- Includes:
- MsRestAzure
- Defined in:
- lib/6.5.0.36/generated/azure_service_fabric/models/selected_partition.rb
Overview
This class returns information about the partition that the user-induced operation acted upon.
Instance Attribute Summary collapse
-
#partition_id ⇒ Object
partition.
-
#service_name ⇒ String
The name of the service the partition belongs to.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for SelectedPartition class as Ruby Hash.
Instance Attribute Details
#partition_id ⇒ Object
partition. This is a randomly generated GUID when the service was created. The partition ID is unique and does not change for the lifetime of the service. If the same service was deleted and recreated the IDs of its partitions would be different.
24 25 26 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/selected_partition.rb', line 24 def partition_id @partition_id end |
#service_name ⇒ String
Returns The name of the service the partition belongs to.
17 18 19 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/selected_partition.rb', line 17 def service_name @service_name end |
Class Method Details
.mapper ⇒ Object
Mapper for SelectedPartition class as Ruby Hash. This will be used for serialization/deserialization.
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 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/selected_partition.rb', line 31 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'SelectedPartition', type: { name: 'Composite', class_name: 'SelectedPartition', model_properties: { service_name: { client_side_validation: true, required: false, serialized_name: 'ServiceName', type: { name: 'String' } }, partition_id: { client_side_validation: true, required: false, serialized_name: 'PartitionId', type: { name: 'String' } } } } } end |