Class: Azure::ServiceFabric::Mgmt::V2016_09_01::Models::ClusterUpdateParameters
- Inherits:
-
Object
- Object
- Azure::ServiceFabric::Mgmt::V2016_09_01::Models::ClusterUpdateParameters
- Includes:
- MsRestAzure
- Defined in:
- lib/2016-09-01/generated/azure_mgmt_service_fabric/models/cluster_update_parameters.rb
Overview
Cluster update request
Instance Attribute Summary collapse
-
#certificate ⇒ CertificateDescription
as cluster node to node security, SSL certificate for cluster management endpoint and default admin client, the certificate should exist in the virtual machine scale sets or Azure key vault, before you add it.
-
#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, it will override existing collection.
-
#cluster_code_version ⇒ String
sure you have set upgradeMode to Manual, otherwise ,it will fail, if you are using PUT new cluster, you can get the version by using ClusterVersions_List, if you are updating existing cluster, you can get the availableClusterVersions from Clusters_Get.
-
#fabric_settings ⇒ Array<SettingsSectionDescription>
settings to configure the cluster, Note, it will overwrite existing collection.
-
#node_types ⇒ Array<NodeTypeDescription>
the cluster, it will override.
-
#reliability_level ⇒ Enum
system services.
-
#reverse_proxy_certificate ⇒ CertificateDescription
Certificate for the reverse proxy.
-
#tags ⇒ Hash{String => String}
Cluster update parameters.
-
#upgrade_description ⇒ ClusterUpgradePolicy
cluster.
-
#upgrade_mode ⇒ Enum
initiated automatically by the system or not.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ClusterUpdateParameters class as Ruby Hash.
Instance Attribute Details
#certificate ⇒ CertificateDescription
as cluster node to node security, SSL certificate for cluster management endpoint and default admin client, the certificate should exist in the virtual machine scale sets or Azure key vault, before you add it. It will override original value
36 37 38 |
# File 'lib/2016-09-01/generated/azure_mgmt_service_fabric/models/cluster_update_parameters.rb', line 36 def certificate @certificate end |
#client_certificate_common_names ⇒ Array<ClientCertificateCommonName>
certificates to whitelist based on common names.
45 46 47 |
# File 'lib/2016-09-01/generated/azure_mgmt_service_fabric/models/cluster_update_parameters.rb', line 45 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, it will override existing collection
41 42 43 |
# File 'lib/2016-09-01/generated/azure_mgmt_service_fabric/models/cluster_update_parameters.rb', line 41 def client_certificate_thumbprints @client_certificate_thumbprints end |
#cluster_code_version ⇒ String
sure you have set upgradeMode to Manual, otherwise ,it will fail, if you are using PUT new cluster, you can get the version by using ClusterVersions_List, if you are updating existing cluster, you can get the availableClusterVersions from Clusters_Get
29 30 31 |
# File 'lib/2016-09-01/generated/azure_mgmt_service_fabric/models/cluster_update_parameters.rb', line 29 def cluster_code_version @cluster_code_version end |
#fabric_settings ⇒ Array<SettingsSectionDescription>
settings to configure the cluster, Note, it will overwrite existing collection
50 51 52 |
# File 'lib/2016-09-01/generated/azure_mgmt_service_fabric/models/cluster_update_parameters.rb', line 50 def fabric_settings @fabric_settings end |
#node_types ⇒ Array<NodeTypeDescription>
the cluster, it will override
57 58 59 |
# File 'lib/2016-09-01/generated/azure_mgmt_service_fabric/models/cluster_update_parameters.rb', line 57 def node_types @node_types end |
#reliability_level ⇒ Enum
system services. Possible values include: ‘Bronze’, ‘Silver’, ‘Gold’
17 18 19 |
# File 'lib/2016-09-01/generated/azure_mgmt_service_fabric/models/cluster_update_parameters.rb', line 17 def reliability_level @reliability_level end |
#reverse_proxy_certificate ⇒ CertificateDescription
Returns Certificate for the reverse proxy.
53 54 55 |
# File 'lib/2016-09-01/generated/azure_mgmt_service_fabric/models/cluster_update_parameters.rb', line 53 def reverse_proxy_certificate @reverse_proxy_certificate end |
#tags ⇒ Hash{String => String}
Returns Cluster update parameters.
64 65 66 |
# File 'lib/2016-09-01/generated/azure_mgmt_service_fabric/models/cluster_update_parameters.rb', line 64 def @tags end |
#upgrade_description ⇒ ClusterUpgradePolicy
cluster.
61 62 63 |
# File 'lib/2016-09-01/generated/azure_mgmt_service_fabric/models/cluster_update_parameters.rb', line 61 def upgrade_description @upgrade_description end |
#upgrade_mode ⇒ Enum
initiated automatically by the system or not. Possible values include: ‘Automatic’, ‘Manual’
22 23 24 |
# File 'lib/2016-09-01/generated/azure_mgmt_service_fabric/models/cluster_update_parameters.rb', line 22 def upgrade_mode @upgrade_mode end |
Class Method Details
.mapper ⇒ Object
Mapper for ClusterUpdateParameters class as Ruby Hash. This will be used for serialization/deserialization.
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 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 |
# File 'lib/2016-09-01/generated/azure_mgmt_service_fabric/models/cluster_update_parameters.rb', line 71 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ClusterUpdateParameters', type: { name: 'Composite', class_name: 'ClusterUpdateParameters', model_properties: { 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' } }, 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' } }, 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' } }, node_types: { client_side_validation: true, required: false, serialized_name: 'properties.nodeTypes', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'NodeTypeDescriptionElementType', type: { name: 'Composite', class_name: 'NodeTypeDescription' } } } }, upgrade_description: { client_side_validation: true, required: false, serialized_name: 'properties.upgradeDescription', type: { name: 'Composite', class_name: 'ClusterUpgradePolicy' } }, 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' } } } } } } } end |