Class: Azure::ServiceFabric::V6_4_0_36::Models::StatelessServiceInstanceInfo
- Inherits:
-
ReplicaInfo
- Object
- ReplicaInfo
- Azure::ServiceFabric::V6_4_0_36::Models::StatelessServiceInstanceInfo
- Includes:
- MsRestAzure
- Defined in:
- lib/6.4.0.36/generated/azure_service_fabric/models/stateless_service_instance_info.rb
Overview
Represents a stateless service instance. This includes information about the identity, status, health, node name, uptime, and other details about the instance.
Instance Attribute Summary collapse
-
#instance_id ⇒ String
by Service Fabric to uniquely identify an instance of a partition of a stateless service.
-
#ServiceKind ⇒ Object
Returns the value of attribute ServiceKind.
Attributes inherited from ReplicaInfo
#address, #health_state, #last_in_build_duration_in_seconds, #node_name, #replica_status
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for StatelessServiceInstanceInfo class as Ruby Hash.
Instance Method Summary collapse
-
#initialize ⇒ StatelessServiceInstanceInfo
constructor
A new instance of StatelessServiceInstanceInfo.
Constructor Details
#initialize ⇒ StatelessServiceInstanceInfo
Returns a new instance of StatelessServiceInstanceInfo.
18 19 20 |
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/stateless_service_instance_info.rb', line 18 def initialize @ServiceKind = "Stateless" end |
Instance Attribute Details
#instance_id ⇒ String
by Service Fabric to uniquely identify an instance of a partition of a stateless service. It is unique within a partition and does not change for the lifetime of the instance. If the instance has failed over on the same or different node, it will get a different value for the InstanceId.
30 31 32 |
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/stateless_service_instance_info.rb', line 30 def instance_id @instance_id end |
#ServiceKind ⇒ Object
Returns the value of attribute ServiceKind.
22 23 24 |
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/stateless_service_instance_info.rb', line 22 def ServiceKind @ServiceKind end |
Class Method Details
.mapper ⇒ Object
Mapper for StatelessServiceInstanceInfo 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 94 95 96 97 98 99 100 101 102 103 104 105 |
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/stateless_service_instance_info.rb', line 37 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'Stateless', type: { name: 'Composite', class_name: 'StatelessServiceInstanceInfo', 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' } }, ServiceKind: { client_side_validation: true, required: true, serialized_name: 'ServiceKind', type: { name: 'String' } }, instance_id: { client_side_validation: true, required: false, serialized_name: 'InstanceId', type: { name: 'String' } } } } } end |