Class: Azure::ServiceFabric::V6_3_0_9::Models::DeployedServiceReplicaDetailInfo
- Inherits:
-
Object
- Object
- Azure::ServiceFabric::V6_3_0_9::Models::DeployedServiceReplicaDetailInfo
- Includes:
- MsRestAzure
- Defined in:
- lib/6.3.0.9/generated/azure_service_fabric/models/deployed_service_replica_detail_info.rb
Overview
Information about a Service Fabric service replica deployed on a node.
Direct Known Subclasses
DeployedStatefulServiceReplicaDetailInfo, DeployedStatelessServiceInstanceDetailInfo
Constant Summary collapse
- @@discriminatorMap =
Hash.new
Instance Attribute Summary collapse
-
#current_service_operation ⇒ ServiceOperationName
operation on a stateful service replica or stateless service instance.
-
#current_service_operation_start_time_utc ⇒ DateTime
UTC format.
-
#partition_id ⇒ Object
partition.
-
#reported_load ⇒ Array<LoadMetricReportInfo>
List of load reported by replica.
-
#service_name ⇒ String
starting with ‘fabric:`.
-
#ServiceKind ⇒ Object
Returns the value of attribute ServiceKind.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for DeployedServiceReplicaDetailInfo class as Ruby Hash.
Instance Method Summary collapse
-
#initialize ⇒ DeployedServiceReplicaDetailInfo
constructor
A new instance of DeployedServiceReplicaDetailInfo.
Constructor Details
#initialize ⇒ DeployedServiceReplicaDetailInfo
Returns a new instance of DeployedServiceReplicaDetailInfo.
19 20 21 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/deployed_service_replica_detail_info.rb', line 19 def initialize @ServiceKind = "DeployedServiceReplicaDetailInfo" end |
Instance Attribute Details
#current_service_operation ⇒ ServiceOperationName
operation on a stateful service replica or stateless service instance. Possible values include: ‘Unknown’, ‘None’, ‘Open’, ‘ChangeRole’, ‘Close’, ‘Abort’
40 41 42 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/deployed_service_replica_detail_info.rb', line 40 def current_service_operation @current_service_operation end |
#current_service_operation_start_time_utc ⇒ DateTime
UTC format.
44 45 46 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/deployed_service_replica_detail_info.rb', line 44 def current_service_operation_start_time_utc @current_service_operation_start_time_utc end |
#partition_id ⇒ Object
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.
34 35 36 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/deployed_service_replica_detail_info.rb', line 34 def partition_id @partition_id end |
#reported_load ⇒ Array<LoadMetricReportInfo>
Returns List of load reported by replica.
47 48 49 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/deployed_service_replica_detail_info.rb', line 47 def reported_load @reported_load end |
#service_name ⇒ String
starting with ‘fabric:`.
27 28 29 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/deployed_service_replica_detail_info.rb', line 27 def service_name @service_name end |
#ServiceKind ⇒ Object
Returns the value of attribute ServiceKind.
23 24 25 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/deployed_service_replica_detail_info.rb', line 23 def ServiceKind @ServiceKind end |
Class Method Details
.mapper ⇒ Object
Mapper for DeployedServiceReplicaDetailInfo class as Ruby Hash. This will be used for serialization/deserialization.
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 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/deployed_service_replica_detail_info.rb', line 54 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'DeployedServiceReplicaDetailInfo', type: { name: 'Composite', polymorphic_discriminator: 'ServiceKind', uber_parent: 'DeployedServiceReplicaDetailInfo', class_name: 'DeployedServiceReplicaDetailInfo', 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' } } } } } } } end |