Class: Azure::ServiceFabric::V6_4_0_36::Models::DeployedServiceReplicaInfo
- Inherits:
-
Object
- Object
- Azure::ServiceFabric::V6_4_0_36::Models::DeployedServiceReplicaInfo
- Includes:
- MsRestAzure
- Defined in:
- lib/6.4.0.36/generated/azure_service_fabric/models/deployed_service_replica_info.rb
Overview
Information about a Service Fabric service replica deployed on a node.
Direct Known Subclasses
DeployedStatefulServiceReplicaInfo, DeployedStatelessServiceInstanceInfo
Constant Summary collapse
- @@discriminatorMap =
Hash.new
Instance Attribute Summary collapse
-
#address ⇒ String
ChangeRole.
-
#code_package_name ⇒ String
The name of the code package that hosts this replica.
-
#host_process_id ⇒ String
replica.
-
#partition_id ⇒ Object
partition.
-
#replica_status ⇒ ReplicaStatus
values include: ‘Invalid’, ‘InBuild’, ‘Standby’, ‘Ready’, ‘Down’, ‘Dropped’.
-
#service_manifest_name ⇒ String
type is defined.
-
#service_name ⇒ String
scheme.
-
#service_package_activation_id ⇒ String
ServicePackageActivationMode specified at the time of creating the service is ‘SharedProcess’ (or if it is not specified, in which case it defaults to ‘SharedProcess’), then value of ServicePackageActivationId is always an empty string.
-
#service_type_name ⇒ String
manifest.
-
#ServiceKind ⇒ Object
Returns the value of attribute ServiceKind.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for DeployedServiceReplicaInfo class as Ruby Hash.
Instance Method Summary collapse
-
#initialize ⇒ DeployedServiceReplicaInfo
constructor
A new instance of DeployedServiceReplicaInfo.
Constructor Details
#initialize ⇒ DeployedServiceReplicaInfo
Returns a new instance of DeployedServiceReplicaInfo.
19 20 21 |
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/deployed_service_replica_info.rb', line 19 def initialize @ServiceKind = "DeployedServiceReplicaInfo" end |
Instance Attribute Details
#address ⇒ String
ChangeRole.
54 55 56 |
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/deployed_service_replica_info.rb', line 54 def address @address end |
#code_package_name ⇒ String
Returns The name of the code package that hosts this replica.
38 39 40 |
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/deployed_service_replica_info.rb', line 38 def code_package_name @code_package_name end |
#host_process_id ⇒ String
replica. This will be zero if the replica is down. In hyper-v containers this host process ID will be from different kernel.
67 68 69 |
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/deployed_service_replica_info.rb', line 67 def host_process_id @host_process_id 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.
45 46 47 |
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/deployed_service_replica_info.rb', line 45 def partition_id @partition_id end |
#replica_status ⇒ ReplicaStatus
values include: ‘Invalid’, ‘InBuild’, ‘Standby’, ‘Ready’, ‘Down’, ‘Dropped’
50 51 52 |
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/deployed_service_replica_info.rb', line 50 def replica_status @replica_status end |
#service_manifest_name ⇒ String
type is defined.
35 36 37 |
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/deployed_service_replica_info.rb', line 35 def service_manifest_name @service_manifest_name end |
#service_name ⇒ String
scheme.
27 28 29 |
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/deployed_service_replica_info.rb', line 27 def service_name @service_name end |
#service_package_activation_id ⇒ String
ServicePackageActivationMode specified at the time of creating the service is ‘SharedProcess’ (or if it is not specified, in which case it defaults to ‘SharedProcess’), then value of ServicePackageActivationId is always an empty string.
62 63 64 |
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/deployed_service_replica_info.rb', line 62 def service_package_activation_id @service_package_activation_id end |
#service_type_name ⇒ String
manifest.
31 32 33 |
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/deployed_service_replica_info.rb', line 31 def service_type_name @service_type_name end |
#ServiceKind ⇒ Object
Returns the value of attribute ServiceKind.
23 24 25 |
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/deployed_service_replica_info.rb', line 23 def ServiceKind @ServiceKind end |
Class Method Details
.mapper ⇒ Object
Mapper for DeployedServiceReplicaInfo class as Ruby Hash. This will be used for serialization/deserialization.
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 |
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/deployed_service_replica_info.rb', line 74 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'DeployedServiceReplicaInfo', type: { name: 'Composite', polymorphic_discriminator: 'ServiceKind', uber_parent: 'DeployedServiceReplicaInfo', class_name: 'DeployedServiceReplicaInfo', 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' } } } } } end |