Class: Azure::ServiceFabric::V7_0_0_42::Models::ServiceProperties
- Inherits:
-
Object
- Object
- Azure::ServiceFabric::V7_0_0_42::Models::ServiceProperties
- Includes:
- MsRestAzure
- Defined in:
- lib/7.0.0.42/generated/azure_service_fabric/models/service_properties.rb
Overview
Describes properties of a service resource.
Instance Attribute Summary collapse
-
#auto_scaling_policies ⇒ Array<AutoScalingPolicy>
Auto scaling policies.
-
#description ⇒ String
User readable description of the service.
-
#dns_name ⇒ String
Dns name of the service.
-
#execution_policy ⇒ ExecutionPolicy
The execution policy of the service.
-
#health_state ⇒ HealthState
resource.
-
#identity_refs ⇒ Array<ServiceIdentity>
The service identity list.
-
#replica_count ⇒ Integer
Defaults to 1 if not specified.
-
#status ⇒ ResourceStatus
include: ‘Unknown’, ‘Ready’, ‘Upgrading’, ‘Creating’, ‘Deleting’, ‘Failed’.
-
#status_details ⇒ String
of the service.
-
#unhealthy_evaluation ⇒ String
additional details from service fabric Health Manager for the user to know why the service is marked unhealthy.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ServiceProperties class as Ruby Hash.
Instance Attribute Details
#auto_scaling_policies ⇒ Array<AutoScalingPolicy>
Returns Auto scaling policies.
26 27 28 |
# File 'lib/7.0.0.42/generated/azure_service_fabric/models/service_properties.rb', line 26 def auto_scaling_policies @auto_scaling_policies end |
#description ⇒ String
Returns User readable description of the service.
16 17 18 |
# File 'lib/7.0.0.42/generated/azure_service_fabric/models/service_properties.rb', line 16 def description @description end |
#dns_name ⇒ String
Returns Dns name of the service.
51 52 53 |
# File 'lib/7.0.0.42/generated/azure_service_fabric/models/service_properties.rb', line 51 def dns_name @dns_name end |
#execution_policy ⇒ ExecutionPolicy
Returns The execution policy of the service.
23 24 25 |
# File 'lib/7.0.0.42/generated/azure_service_fabric/models/service_properties.rb', line 23 def execution_policy @execution_policy end |
#health_state ⇒ HealthState
resource. Possible values include: ‘Invalid’, ‘Ok’, ‘Warning’, ‘Error’, ‘Unknown’
40 41 42 |
# File 'lib/7.0.0.42/generated/azure_service_fabric/models/service_properties.rb', line 40 def health_state @health_state end |
#identity_refs ⇒ Array<ServiceIdentity>
Returns The service identity list.
48 49 50 |
# File 'lib/7.0.0.42/generated/azure_service_fabric/models/service_properties.rb', line 48 def identity_refs @identity_refs end |
#replica_count ⇒ Integer
Defaults to 1 if not specified.
20 21 22 |
# File 'lib/7.0.0.42/generated/azure_service_fabric/models/service_properties.rb', line 20 def replica_count @replica_count end |
#status ⇒ ResourceStatus
include: ‘Unknown’, ‘Ready’, ‘Upgrading’, ‘Creating’, ‘Deleting’, ‘Failed’
31 32 33 |
# File 'lib/7.0.0.42/generated/azure_service_fabric/models/service_properties.rb', line 31 def status @status end |
#status_details ⇒ String
of the service.
35 36 37 |
# File 'lib/7.0.0.42/generated/azure_service_fabric/models/service_properties.rb', line 35 def status_details @status_details end |
#unhealthy_evaluation ⇒ String
additional details from service fabric Health Manager for the user to know why the service is marked unhealthy.
45 46 47 |
# File 'lib/7.0.0.42/generated/azure_service_fabric/models/service_properties.rb', line 45 def unhealthy_evaluation @unhealthy_evaluation end |
Class Method Details
.mapper ⇒ Object
Mapper for ServiceProperties class as Ruby Hash. This will be used for serialization/deserialization.
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 164 165 166 167 168 169 170 171 172 173 174 175 |
# File 'lib/7.0.0.42/generated/azure_service_fabric/models/service_properties.rb', line 58 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ServiceProperties', type: { name: 'Composite', class_name: 'ServiceProperties', model_properties: { description: { client_side_validation: true, required: false, serialized_name: 'description', type: { name: 'String' } }, replica_count: { client_side_validation: true, required: false, serialized_name: 'replicaCount', type: { name: 'Number' } }, execution_policy: { client_side_validation: true, required: false, serialized_name: 'executionPolicy', type: { name: 'Composite', polymorphic_discriminator: 'type', uber_parent: 'ExecutionPolicy', class_name: 'ExecutionPolicy' } }, auto_scaling_policies: { client_side_validation: true, required: false, serialized_name: 'autoScalingPolicies', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'AutoScalingPolicyElementType', type: { name: 'Composite', class_name: 'AutoScalingPolicy' } } } }, status: { client_side_validation: true, required: false, read_only: true, serialized_name: 'status', type: { name: 'String' } }, status_details: { client_side_validation: true, required: false, read_only: true, serialized_name: 'statusDetails', type: { name: 'String' } }, health_state: { client_side_validation: true, required: false, read_only: true, serialized_name: 'healthState', type: { name: 'String' } }, unhealthy_evaluation: { client_side_validation: true, required: false, read_only: true, serialized_name: 'unhealthyEvaluation', type: { name: 'String' } }, identity_refs: { client_side_validation: true, required: false, serialized_name: 'identityRefs', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'ServiceIdentityElementType', type: { name: 'Composite', class_name: 'ServiceIdentity' } } } }, dns_name: { client_side_validation: true, required: false, serialized_name: 'dnsName', type: { name: 'String' } } } } } end |