class Azure::ServiceFabric::V6_2_0_9::Models::ReplicaInfo

Information about the identity, status, health, node name, uptime, and other details about the replica.

Attributes

ServiceKind[RW]
address[RW]

@return [String] The address the replica is listening on.

health_state[RW]

@return [HealthState] The health state of a Service Fabric entity such as Cluster, Node, Application, Service, Partition, Replica etc. Possible values include: 'Invalid', 'Ok', 'Warning', 'Error', 'Unknown'

last_in_build_duration_in_seconds[RW]

@return [String] The last in build duration of the replica in seconds.

node_name[RW]

@return [String] The name of a Service Fabric node.

replica_status[RW]

@return [ReplicaStatus] The status of a replica of a service. Possible values include: 'Invalid', 'InBuild', 'Standby', 'Ready', 'Down', 'Dropped'

Public Class Methods

mapper() click to toggle source

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

# File lib/6.2.0.9/generated/azure_service_fabric/models/replica_info.rb, line 50
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ReplicaInfo',
    type: {
      name: 'Composite',
      polymorphic_discriminator: 'ServiceKind',
      uber_parent: 'ReplicaInfo',
      class_name: 'ReplicaInfo',
      model_properties: {
        replica_status: {
          client_side_validation: true,
          required: false,
          serialized_name: 'ReplicaStatus',
          type: {
            name: 'String'
          }
        },
        health_state: {
          client_side_validation: true,
          required: false,
          serialized_name: 'HealthState',
          type: {
            name: 'String'
          }
        },
        node_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'NodeName',
          type: {
            name: 'String'
          }
        },
        address: {
          client_side_validation: true,
          required: false,
          serialized_name: 'Address',
          type: {
            name: 'String'
          }
        },
        last_in_build_duration_in_seconds: {
          client_side_validation: true,
          required: false,
          serialized_name: 'LastInBuildDurationInSeconds',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end
new() click to toggle source
# File lib/6.2.0.9/generated/azure_service_fabric/models/replica_info.rb, line 20
def initialize
  @ServiceKind = "ReplicaInfo"
end