class Azure::ServiceFabric::V7_0_0_42::Models::DeployedStatefulServiceReplicaDetailInfo

Information about a stateful replica running in a code package. Note DeployedServiceReplicaQueryResult will contain duplicate data like ServiceKind, ServiceName, PartitionId and replicaId.

Attributes

ServiceKind[RW]
current_replicator_operation[RW]

@return [ReplicatorOperationName] Specifies the operation currently being executed by the Replicator. Possible values include: 'Invalid', 'None', 'Open', 'ChangeRole', 'UpdateEpoch', 'Close', 'Abort', 'OnDataLoss', 'WaitForCatchup', 'Build'

deployed_service_replica_query_result[RW]

@return [DeployedStatefulServiceReplicaInfo] Information about a stateful service replica deployed on a node.

read_status[RW]

@return [PartitionAccessStatus] Specifies the access status of the partition. Possible values include: 'Invalid', 'Granted', 'ReconfigurationPending', 'NotPrimary', 'NoWriteQuorum'

replica_id[RW]

@return [String] Id of a stateful service replica. ReplicaId is used by Service Fabric to uniquely identify a replica of a partition. It is unique within a partition and does not change for the lifetime of the replica. If a replica gets dropped and another replica gets created on the same node for the same partition, it will get a different value for the id. Sometimes the id of a stateless service instance is also referred as a replica id.

replica_status[RW]

@return [KeyValueStoreReplicaStatus] Key value store related information for the replica.

replicator_status[RW]

@return [ReplicatorStatus] Represents a base class for primary or secondary replicator status. Contains information about the service fabric replicator like the replication/copy queue utilization, last acknowledgement received timestamp, etc.

write_status[RW]

@return [PartitionAccessStatus] Specifies the access status of the partition. Possible values include: 'Invalid', 'Granted', 'ReconfigurationPending', 'NotPrimary', 'NoWriteQuorum'

Private Class Methods

mapper() click to toggle source

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

# File lib/7.0.0.42/generated/azure_service_fabric/models/deployed_stateful_service_replica_detail_info.rb, line 69
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'Stateful',
    type: {
      name: 'Composite',
      class_name: 'DeployedStatefulServiceReplicaDetailInfo',
      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'
          }
        },
        current_service_operation: {
          client_side_validation: true,
          required: false,
          serialized_name: 'CurrentServiceOperation',
          type: {
            name: 'String'
          }
        },
        current_service_operation_start_time_utc: {
          client_side_validation: true,
          required: false,
          serialized_name: 'CurrentServiceOperationStartTimeUtc',
          type: {
            name: 'DateTime'
          }
        },
        reported_load: {
          client_side_validation: true,
          required: false,
          serialized_name: 'ReportedLoad',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'LoadMetricReportInfoElementType',
                type: {
                  name: 'Composite',
                  class_name: 'LoadMetricReportInfo'
                }
            }
          }
        },
        ServiceKind: {
          client_side_validation: true,
          required: true,
          serialized_name: 'ServiceKind',
          type: {
            name: 'String'
          }
        },
        replica_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'ReplicaId',
          type: {
            name: 'String'
          }
        },
        current_replicator_operation: {
          client_side_validation: true,
          required: false,
          serialized_name: 'CurrentReplicatorOperation',
          type: {
            name: 'String'
          }
        },
        read_status: {
          client_side_validation: true,
          required: false,
          serialized_name: 'ReadStatus',
          type: {
            name: 'String'
          }
        },
        write_status: {
          client_side_validation: true,
          required: false,
          serialized_name: 'WriteStatus',
          type: {
            name: 'String'
          }
        },
        replicator_status: {
          client_side_validation: true,
          required: false,
          serialized_name: 'ReplicatorStatus',
          type: {
            name: 'Composite',
            polymorphic_discriminator: 'Kind',
            uber_parent: 'ReplicatorStatus',
            class_name: 'ReplicatorStatus'
          }
        },
        replica_status: {
          client_side_validation: true,
          required: false,
          serialized_name: 'ReplicaStatus',
          type: {
            name: 'Composite',
            class_name: 'KeyValueStoreReplicaStatus'
          }
        },
        deployed_service_replica_query_result: {
          client_side_validation: true,
          required: false,
          serialized_name: 'DeployedServiceReplicaQueryResult',
          type: {
            name: 'Composite',
            class_name: 'DeployedStatefulServiceReplicaInfo'
          }
        }
      }
    }
  }
end
new() click to toggle source
# File lib/7.0.0.42/generated/azure_service_fabric/models/deployed_stateful_service_replica_detail_info.rb, line 18
def initialize
  @ServiceKind = "Stateful"
end