Class: Azure::ServiceFabric::Mgmt::V2016_09_01::Models::Cluster
- Inherits:
-
Resource
- Object
- Resource
- Azure::ServiceFabric::Mgmt::V2016_09_01::Models::Cluster
- Includes:
- MsRestAzure
- Defined in:
- lib/2016-09-01/generated/azure_mgmt_service_fabric/models/cluster.rb
Overview
The cluster resource
Instance Attribute Summary collapse
-
#available_cluster_versions ⇒ Array<ClusterVersionDetails>
version which the cluster can upgrade to, note that you must choose upgradeMode to manual to upgrade to.
-
#azure_active_directory ⇒ AzureActiveDirectory
authentication on the cluster.
-
#certificate ⇒ CertificateDescription
as cluster node to node security, SSL certificate for cluster management endpoint and default admin client.
-
#client_certificate_common_names ⇒ Array<ClientCertificateCommonName>
certificates to whitelist based on common names.
-
#client_certificate_thumbprints ⇒ Array<ClientCertificateThumbprint>
details ,it is used for client access for cluster operation.
-
#cluster_code_version ⇒ String
The ServiceFabric code version running in your cluster.
-
#cluster_endpoint ⇒ String
servicefabric resource provider.
-
#cluster_id ⇒ String
The unique identifier for the cluster resource.
-
#cluster_state ⇒ Enum
‘WaitingForNodes’, ‘Deploying’, ‘BaselineUpgrade’, ‘UpdatingUserConfiguration’, ‘UpdatingUserCertificate’, ‘UpdatingInfrastructure’, ‘EnforcingClusterVersion’, ‘UpgradeServiceUnreachable’, ‘AutoScale’, ‘Ready’.
-
#diagnostics_storage_account_config ⇒ DiagnosticsStorageAccountConfig
account configuration details.
-
#fabric_settings ⇒ Array<SettingsSectionDescription>
settings to configure the cluster.
-
#management_endpoint ⇒ String
The http management endpoint of the cluster.
-
#node_types ⇒ Array<NodeTypeDescription>
the cluster.
-
#provisioning_state ⇒ ProvisioningState
resource.
-
#reliability_level ⇒ Enum
system service.
-
#reverse_proxy_certificate ⇒ CertificateDescription
proxy.
-
#upgrade_description ⇒ ClusterUpgradePolicy
cluster.
-
#upgrade_mode ⇒ Enum
initiated automatically by the system or not.
-
#vm_image ⇒ String
Generic names such as Windows or Linux can be used.
Attributes inherited from Resource
#id, #location, #name, #tags, #type
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for Cluster class as Ruby Hash.
Methods inherited from Resource
Instance Attribute Details
#available_cluster_versions ⇒ Array<ClusterVersionDetails>
version which the cluster can upgrade to, note that you must choose upgradeMode to manual to upgrade to
18 19 20 |
# File 'lib/2016-09-01/generated/azure_mgmt_service_fabric/models/cluster.rb', line 18 def available_cluster_versions @available_cluster_versions end |
#azure_active_directory ⇒ AzureActiveDirectory
authentication on the cluster
77 78 79 |
# File 'lib/2016-09-01/generated/azure_mgmt_service_fabric/models/cluster.rb', line 77 def azure_active_directory @azure_active_directory end |
#certificate ⇒ CertificateDescription
as cluster node to node security, SSL certificate for cluster management endpoint and default admin client
40 41 42 |
# File 'lib/2016-09-01/generated/azure_mgmt_service_fabric/models/cluster.rb', line 40 def certificate @certificate end |
#client_certificate_common_names ⇒ Array<ClientCertificateCommonName>
certificates to whitelist based on common names
58 59 60 |
# File 'lib/2016-09-01/generated/azure_mgmt_service_fabric/models/cluster.rb', line 58 def client_certificate_common_names @client_certificate_common_names end |
#client_certificate_thumbprints ⇒ Array<ClientCertificateThumbprint>
details ,it is used for client access for cluster operation
54 55 56 |
# File 'lib/2016-09-01/generated/azure_mgmt_service_fabric/models/cluster.rb', line 54 def client_certificate_thumbprints @client_certificate_thumbprints end |
#cluster_code_version ⇒ String
Returns The ServiceFabric code version running in your cluster.
35 36 37 |
# File 'lib/2016-09-01/generated/azure_mgmt_service_fabric/models/cluster.rb', line 35 def cluster_code_version @cluster_code_version end |
#cluster_endpoint ⇒ String
servicefabric resource provider
32 33 34 |
# File 'lib/2016-09-01/generated/azure_mgmt_service_fabric/models/cluster.rb', line 32 def cluster_endpoint @cluster_endpoint end |
#cluster_id ⇒ String
Returns The unique identifier for the cluster resource.
21 22 23 |
# File 'lib/2016-09-01/generated/azure_mgmt_service_fabric/models/cluster.rb', line 21 def cluster_id @cluster_id end |
#cluster_state ⇒ Enum
‘WaitingForNodes’, ‘Deploying’, ‘BaselineUpgrade’, ‘UpdatingUserConfiguration’, ‘UpdatingUserCertificate’, ‘UpdatingInfrastructure’, ‘EnforcingClusterVersion’, ‘UpgradeServiceUnreachable’, ‘AutoScale’, ‘Ready’
28 29 30 |
# File 'lib/2016-09-01/generated/azure_mgmt_service_fabric/models/cluster.rb', line 28 def cluster_state @cluster_state end |
#diagnostics_storage_account_config ⇒ DiagnosticsStorageAccountConfig
account configuration details
90 91 92 |
# File 'lib/2016-09-01/generated/azure_mgmt_service_fabric/models/cluster.rb', line 90 def diagnostics_storage_account_config @diagnostics_storage_account_config end |
#fabric_settings ⇒ Array<SettingsSectionDescription>
settings to configure the cluster.
62 63 64 |
# File 'lib/2016-09-01/generated/azure_mgmt_service_fabric/models/cluster.rb', line 62 def fabric_settings @fabric_settings end |
#management_endpoint ⇒ String
Returns The http management endpoint of the cluster.
69 70 71 |
# File 'lib/2016-09-01/generated/azure_mgmt_service_fabric/models/cluster.rb', line 69 def management_endpoint @management_endpoint end |
#node_types ⇒ Array<NodeTypeDescription>
the cluster
73 74 75 |
# File 'lib/2016-09-01/generated/azure_mgmt_service_fabric/models/cluster.rb', line 73 def node_types @node_types end |
#provisioning_state ⇒ ProvisioningState
resource. Possible values include: ‘Updating’, ‘Succeeded’, ‘Failed’, ‘Canceled’
82 83 84 |
# File 'lib/2016-09-01/generated/azure_mgmt_service_fabric/models/cluster.rb', line 82 def provisioning_state @provisioning_state end |
#reliability_level ⇒ Enum
system service. Possible values include: ‘Bronze’, ‘Silver’, ‘Gold’, ‘Platinum’
45 46 47 |
# File 'lib/2016-09-01/generated/azure_mgmt_service_fabric/models/cluster.rb', line 45 def reliability_level @reliability_level end |
#reverse_proxy_certificate ⇒ CertificateDescription
proxy
66 67 68 |
# File 'lib/2016-09-01/generated/azure_mgmt_service_fabric/models/cluster.rb', line 66 def reverse_proxy_certificate @reverse_proxy_certificate end |
#upgrade_description ⇒ ClusterUpgradePolicy
cluster.
94 95 96 |
# File 'lib/2016-09-01/generated/azure_mgmt_service_fabric/models/cluster.rb', line 94 def upgrade_description @upgrade_description end |
#upgrade_mode ⇒ Enum
initiated automatically by the system or not. Possible values include: ‘Automatic’, ‘Manual’
50 51 52 |
# File 'lib/2016-09-01/generated/azure_mgmt_service_fabric/models/cluster.rb', line 50 def upgrade_mode @upgrade_mode end |
#vm_image ⇒ String
Generic names such as Windows or Linux can be used.
86 87 88 |
# File 'lib/2016-09-01/generated/azure_mgmt_service_fabric/models/cluster.rb', line 86 def vm_image @vm_image end |
Class Method Details
.mapper ⇒ Object
Mapper for Cluster class as Ruby Hash. This will be used for serialization/deserialization.
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 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 |
# File 'lib/2016-09-01/generated/azure_mgmt_service_fabric/models/cluster.rb', line 101 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'Cluster', type: { name: 'Composite', class_name: 'Cluster', model_properties: { id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'id', type: { name: 'String' } }, name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'name', type: { name: 'String' } }, type: { client_side_validation: true, required: false, read_only: true, serialized_name: 'type', type: { name: 'String' } }, location: { client_side_validation: true, required: true, serialized_name: 'location', type: { name: 'String' } }, tags: { client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, available_cluster_versions: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.availableClusterVersions', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'ClusterVersionDetailsElementType', type: { name: 'Composite', class_name: 'ClusterVersionDetails' } } } }, cluster_id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.clusterId', type: { name: 'String' } }, cluster_state: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.clusterState', type: { name: 'String' } }, cluster_endpoint: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.clusterEndpoint', type: { name: 'String' } }, cluster_code_version: { client_side_validation: true, required: false, serialized_name: 'properties.clusterCodeVersion', type: { name: 'String' } }, certificate: { client_side_validation: true, required: false, serialized_name: 'properties.certificate', type: { name: 'Composite', class_name: 'CertificateDescription' } }, reliability_level: { client_side_validation: true, required: false, serialized_name: 'properties.reliabilityLevel', type: { name: 'String' } }, upgrade_mode: { client_side_validation: true, required: false, serialized_name: 'properties.upgradeMode', type: { name: 'String' } }, client_certificate_thumbprints: { client_side_validation: true, required: false, serialized_name: 'properties.clientCertificateThumbprints', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'ClientCertificateThumbprintElementType', type: { name: 'Composite', class_name: 'ClientCertificateThumbprint' } } } }, client_certificate_common_names: { client_side_validation: true, required: false, serialized_name: 'properties.clientCertificateCommonNames', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'ClientCertificateCommonNameElementType', type: { name: 'Composite', class_name: 'ClientCertificateCommonName' } } } }, fabric_settings: { client_side_validation: true, required: false, serialized_name: 'properties.fabricSettings', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'SettingsSectionDescriptionElementType', type: { name: 'Composite', class_name: 'SettingsSectionDescription' } } } }, reverse_proxy_certificate: { client_side_validation: true, required: false, serialized_name: 'properties.reverseProxyCertificate', type: { name: 'Composite', class_name: 'CertificateDescription' } }, management_endpoint: { client_side_validation: true, required: true, serialized_name: 'properties.managementEndpoint', type: { name: 'String' } }, node_types: { client_side_validation: true, required: true, serialized_name: 'properties.nodeTypes', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'NodeTypeDescriptionElementType', type: { name: 'Composite', class_name: 'NodeTypeDescription' } } } }, azure_active_directory: { client_side_validation: true, required: false, serialized_name: 'properties.azureActiveDirectory', type: { name: 'Composite', class_name: 'AzureActiveDirectory' } }, provisioning_state: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', type: { name: 'String' } }, vm_image: { client_side_validation: true, required: false, serialized_name: 'properties.vmImage', type: { name: 'String' } }, diagnostics_storage_account_config: { client_side_validation: true, required: false, serialized_name: 'properties.diagnosticsStorageAccountConfig', type: { name: 'Composite', class_name: 'DiagnosticsStorageAccountConfig' } }, upgrade_description: { client_side_validation: true, required: false, serialized_name: 'properties.upgradeDescription', type: { name: 'Composite', class_name: 'ClusterUpgradePolicy' } } } } } end |