Class: Azure::ServiceFabric::V6_3_0_9::Models::DeployedServiceReplicaInfo

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/6.3.0.9/generated/azure_service_fabric/models/deployed_service_replica_info.rb

Overview

Information about a Service Fabric service replica deployed on a node.

Constant Summary collapse

@@discriminatorMap =
Hash.new

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeDeployedServiceReplicaInfo

Returns a new instance of DeployedServiceReplicaInfo.



19
20
21
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/deployed_service_replica_info.rb', line 19

def initialize
  @ServiceKind = "DeployedServiceReplicaInfo"
end

Instance Attribute Details

#addressString

ChangeRole.

Returns:

  • (String)

    The last address returned by the replica in Open or



54
55
56
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/deployed_service_replica_info.rb', line 54

def address
  @address
end

#code_package_nameString

Returns The name of the code package that hosts this replica.

Returns:

  • (String)

    The name of the code package that hosts this replica.



38
39
40
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/deployed_service_replica_info.rb', line 38

def code_package_name
  @code_package_name
end

#host_process_idString

replica. This will be zero if the replica is down. In hyper-v containers this host process ID will be from different kernel.

Returns:

  • (String)

    Host process ID of the process that is hosting the



67
68
69
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/deployed_service_replica_info.rb', line 67

def host_process_id
  @host_process_id
end

#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



45
46
47
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/deployed_service_replica_info.rb', line 45

def partition_id
  @partition_id
end

#replica_statusReplicaStatus

values include: ‘Invalid’, ‘InBuild’, ‘Standby’, ‘Ready’, ‘Down’, ‘Dropped’

Returns:

  • (ReplicaStatus)

    The status of a replica of a service. Possible



50
51
52
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/deployed_service_replica_info.rb', line 50

def replica_status
  @replica_status
end

#service_manifest_nameString

type is defined.

Returns:

  • (String)

    The name of the service manifest in which this service



35
36
37
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/deployed_service_replica_info.rb', line 35

def service_manifest_name
  @service_manifest_name
end

#service_nameString

scheme.

Returns:

  • (String)

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



27
28
29
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/deployed_service_replica_info.rb', line 27

def service_name
  @service_name
end

#service_package_activation_idString

ServicePackageActivationMode specified at the time of creating the service is ‘SharedProcess’ (or if it is not specified, in which case it defaults to ‘SharedProcess’), then value of ServicePackageActivationId is always an empty string.

Returns:

  • (String)

    The ActivationId of a deployed service package. If



62
63
64
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/deployed_service_replica_info.rb', line 62

def service_package_activation_id
  @service_package_activation_id
end

#service_type_nameString

manifest.

Returns:

  • (String)

    Name of the service type as specified in the service



31
32
33
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/deployed_service_replica_info.rb', line 31

def service_type_name
  @service_type_name
end

#ServiceKindObject

Returns the value of attribute ServiceKind.



23
24
25
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/deployed_service_replica_info.rb', line 23

def ServiceKind
  @ServiceKind
end

Class Method Details

.mapperObject

Mapper for DeployedServiceReplicaInfo class as Ruby Hash. This will be used for serialization/deserialization.



74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/deployed_service_replica_info.rb', line 74

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'DeployedServiceReplicaInfo',
    type: {
      name: 'Composite',
      polymorphic_discriminator: 'ServiceKind',
      uber_parent: 'DeployedServiceReplicaInfo',
      class_name: 'DeployedServiceReplicaInfo',
      model_properties: {
        service_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'ServiceName',
          type: {
            name: 'String'
          }
        },
        service_type_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'ServiceTypeName',
          type: {
            name: 'String'
          }
        },
        service_manifest_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'ServiceManifestName',
          type: {
            name: 'String'
          }
        },
        code_package_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'CodePackageName',
          type: {
            name: 'String'
          }
        },
        partition_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'PartitionId',
          type: {
            name: 'String'
          }
        },
        replica_status: {
          client_side_validation: true,
          required: false,
          serialized_name: 'ReplicaStatus',
          type: {
            name: 'String'
          }
        },
        address: {
          client_side_validation: true,
          required: false,
          serialized_name: 'Address',
          type: {
            name: 'String'
          }
        },
        service_package_activation_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'ServicePackageActivationId',
          type: {
            name: 'String'
          }
        },
        host_process_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'HostProcessId',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end