Class: Azure::ServiceFabric::V6_4_0_36::Models::SelectedPartition

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/6.4.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

Class Method Summary collapse

Instance Attribute Details

#partition_idObject

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.

Returns:

  • An internal ID used by Service Fabric to uniquely identify a



24
25
26
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/selected_partition.rb', line 24

def partition_id
  @partition_id
end

#service_nameString

Returns The name of the service the partition belongs to.

Returns:

  • (String)

    The name of the service the partition belongs to.



17
18
19
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/selected_partition.rb', line 17

def service_name
  @service_name
end

Class Method Details

.mapperObject

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.4.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