Class: Azure::ServiceFabric::V6_4_0_36::Models::DeployedStatefulServiceReplicaInfo
- Inherits:
-
DeployedServiceReplicaInfo
- Object
- DeployedServiceReplicaInfo
- Azure::ServiceFabric::V6_4_0_36::Models::DeployedStatefulServiceReplicaInfo
- Includes:
- MsRestAzure
- Defined in:
- lib/6.4.0.36/generated/azure_service_fabric/models/deployed_stateful_service_replica_info.rb
Overview
Information about a stateful service replica deployed on a node.
Instance Attribute Summary collapse
-
#reconfiguration_information ⇒ ReconfigurationInformation
reconfiguration like phase, type, previous configuration role of replica and reconfiguration start date time.
-
#replica_id ⇒ String
Service Fabric to uniquely identify a replica of a partition.
-
#replica_role ⇒ ReplicaRole
Possible values include: ‘Unknown’, ‘None’, ‘Primary’, ‘IdleSecondary’, ‘ActiveSecondary’.
-
#ServiceKind ⇒ Object
Returns the value of attribute ServiceKind.
Attributes inherited from DeployedServiceReplicaInfo
#address, #code_package_name, #host_process_id, #partition_id, #replica_status, #service_manifest_name, #service_name, #service_package_activation_id, #service_type_name
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for DeployedStatefulServiceReplicaInfo class as Ruby Hash.
Instance Method Summary collapse
-
#initialize ⇒ DeployedStatefulServiceReplicaInfo
constructor
A new instance of DeployedStatefulServiceReplicaInfo.
Constructor Details
#initialize ⇒ DeployedStatefulServiceReplicaInfo
Returns a new instance of DeployedStatefulServiceReplicaInfo.
16 17 18 |
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/deployed_stateful_service_replica_info.rb', line 16 def initialize @ServiceKind = "Stateful" end |
Instance Attribute Details
#reconfiguration_information ⇒ ReconfigurationInformation
reconfiguration like phase, type, previous configuration role of replica and reconfiguration start date time.
39 40 41 |
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/deployed_stateful_service_replica_info.rb', line 39 def reconfiguration_information @reconfiguration_information end |
#replica_id ⇒ String
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.
29 30 31 |
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/deployed_stateful_service_replica_info.rb', line 29 def replica_id @replica_id end |
#replica_role ⇒ ReplicaRole
Possible values include: ‘Unknown’, ‘None’, ‘Primary’, ‘IdleSecondary’, ‘ActiveSecondary’
34 35 36 |
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/deployed_stateful_service_replica_info.rb', line 34 def replica_role @replica_role end |
#ServiceKind ⇒ Object
Returns the value of attribute ServiceKind.
20 21 22 |
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/deployed_stateful_service_replica_info.rb', line 20 def ServiceKind @ServiceKind end |
Class Method Details
.mapper ⇒ Object
Mapper for DeployedStatefulServiceReplicaInfo class as Ruby Hash. This will be used for serialization/deserialization.
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 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 161 162 163 |
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/deployed_stateful_service_replica_info.rb', line 46 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'Stateful', type: { name: 'Composite', class_name: 'DeployedStatefulServiceReplicaInfo', 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' } }, 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' } }, replica_role: { client_side_validation: true, required: false, serialized_name: 'ReplicaRole', type: { name: 'String' } }, reconfiguration_information: { client_side_validation: true, required: false, serialized_name: 'ReconfigurationInformation', type: { name: 'Composite', class_name: 'ReconfigurationInformation' } } } } } end |