Class: Azure::ServiceFabric::V6_4_0_36::Models::ResolvedServicePartition

Inherits:
Object
  • Object
show all
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

Class Method Summary collapse

Instance Attribute Details

#endpointsArray<ResolvedServiceEndpoint>

endpoints of a service partition.

Returns:



25
26
27
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/resolved_service_partition.rb', line 25

def endpoints
  @endpoints
end

#nameString

scheme.

Returns:

  • (String)

    The full name of the service with ‘fabric:’ URI



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_informationPartitionInformation

partition.

Returns:



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

#versionString

This version should be passed in the next time the ResolveService call is made via the PreviousRspVersion query parameter.

Returns:

  • (String)

    The version of this resolved service partition result.



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

.mapperObject

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