Class: Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::PrivateCloud
- Inherits:
-
Object
- Object
- Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::PrivateCloud
- Includes:
- MsRestAzure
- Defined in:
- lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/private_cloud.rb
Overview
Private cloud model
Instance Attribute Summary collapse
-
#availability_zone_id ⇒ String
Availability Zone id, e.g.
-
#availability_zone_name ⇒ String
Availability Zone name, e.g.
-
#clusters_number ⇒ Integer
Number of clusters.
-
#created_by ⇒ String
User’s emails who created cloud.
-
#created_on ⇒ DateTime
When private cloud was created.
-
#dns_servers ⇒ Array<String>
Array of DNS servers.
-
#expires ⇒ String
Expiration date of PC.
-
#id ⇒ String
“/subscriptions/4da99247-a172-4ed6-8ae9-ebed2d12f839/providers/Microsoft.VMwareCloudSimple/privateClouds/cloud123”.
-
#location ⇒ String
Location where private cloud created, e.g “westus”.
-
#name ⇒ String
Private cloud name.
-
#nsx_type ⇒ String
Nsx Type, e.g.
-
#placement_group_id ⇒ String
Placement Group id, e.g.
-
#placement_group_name ⇒ String
Placement Group name.
-
#private_cloud_id ⇒ Object
Id of a private cloud.
-
#private_cloud_properties_type ⇒ String
Virtualization type e.g.
-
#resource_pools ⇒ Array<ResourcePool>
The list of Resource Pools.
-
#state ⇒ String
Private Cloud state, e.g.
-
#total_cpu_cores ⇒ Integer
Number of cores.
-
#total_nodes ⇒ Integer
Number of nodes.
-
#total_ram ⇒ Integer
Memory size.
-
#total_storage ⇒ Float
Disk space in TB.
-
#type ⇒ PrivateCloudResourceType
include: ‘Microsoft.VMwareCloudSimple/privateClouds’.
-
#v_sphere_version ⇒ String
E.g.
-
#vcenter_fqdn ⇒ String
FQDN for vcenter access.
-
#vcenter_refid ⇒ String
Vcenter ip address.
-
#virtual_machine_templates ⇒ Array<VirtualMachineTemplate>
Templates.
-
#virtual_networks ⇒ Array<VirtualNetwork>
The list of Virtual Networks.
-
#vr_ops_enabled ⇒ Boolean
Is Vrops enabled/disabled.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for PrivateCloud class as Ruby Hash.
Instance Attribute Details
#availability_zone_id ⇒ String
Returns Availability Zone id, e.g. “az1”.
26 27 28 |
# File 'lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/private_cloud.rb', line 26 def availability_zone_id @availability_zone_id end |
#availability_zone_name ⇒ String
Returns Availability Zone name, e.g. “Availability Zone 1”.
29 30 31 |
# File 'lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/private_cloud.rb', line 29 def availability_zone_name @availability_zone_name end |
#clusters_number ⇒ Integer
Returns Number of clusters.
32 33 34 |
# File 'lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/private_cloud.rb', line 32 def clusters_number @clusters_number end |
#created_by ⇒ String
Returns User’s emails who created cloud.
35 36 37 |
# File 'lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/private_cloud.rb', line 35 def created_by @created_by end |
#created_on ⇒ DateTime
Returns When private cloud was created.
38 39 40 |
# File 'lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/private_cloud.rb', line 38 def created_on @created_on end |
#dns_servers ⇒ Array<String>
Returns Array of DNS servers.
41 42 43 |
# File 'lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/private_cloud.rb', line 41 def dns_servers @dns_servers end |
#expires ⇒ String
Returns Expiration date of PC.
44 45 46 |
# File 'lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/private_cloud.rb', line 44 def expires @expires end |
#id ⇒ String
“/subscriptions/4da99247-a172-4ed6-8ae9-ebed2d12f839/providers/Microsoft.VMwareCloudSimple/privateClouds/cloud123”
17 18 19 |
# File 'lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/private_cloud.rb', line 17 def id @id end |
#location ⇒ String
Returns Location where private cloud created, e.g “westus”.
20 21 22 |
# File 'lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/private_cloud.rb', line 20 def location @location end |
#name ⇒ String
Returns Private cloud name.
23 24 25 |
# File 'lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/private_cloud.rb', line 23 def name @name end |
#nsx_type ⇒ String
Returns Nsx Type, e.g. “Advanced”.
47 48 49 |
# File 'lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/private_cloud.rb', line 47 def nsx_type @nsx_type end |
#placement_group_id ⇒ String
Returns Placement Group id, e.g. “n1”.
50 51 52 |
# File 'lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/private_cloud.rb', line 50 def placement_group_id @placement_group_id end |
#placement_group_name ⇒ String
Returns Placement Group name.
53 54 55 |
# File 'lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/private_cloud.rb', line 53 def placement_group_name @placement_group_name end |
#private_cloud_id ⇒ Object
Returns Id of a private cloud.
56 57 58 |
# File 'lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/private_cloud.rb', line 56 def private_cloud_id @private_cloud_id end |
#private_cloud_properties_type ⇒ String
Returns Virtualization type e.g. “vSphere”.
77 78 79 |
# File 'lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/private_cloud.rb', line 77 def private_cloud_properties_type @private_cloud_properties_type end |
#resource_pools ⇒ Array<ResourcePool>
Returns The list of Resource Pools.
59 60 61 |
# File 'lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/private_cloud.rb', line 59 def resource_pools @resource_pools end |
#state ⇒ String
Returns Private Cloud state, e.g. “operational”.
62 63 64 |
# File 'lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/private_cloud.rb', line 62 def state @state end |
#total_cpu_cores ⇒ Integer
Returns Number of cores.
65 66 67 |
# File 'lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/private_cloud.rb', line 65 def total_cpu_cores @total_cpu_cores end |
#total_nodes ⇒ Integer
Returns Number of nodes.
68 69 70 |
# File 'lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/private_cloud.rb', line 68 def total_nodes @total_nodes end |
#total_ram ⇒ Integer
Returns Memory size.
71 72 73 |
# File 'lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/private_cloud.rb', line 71 def total_ram @total_ram end |
#total_storage ⇒ Float
Returns Disk space in TB.
74 75 76 |
# File 'lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/private_cloud.rb', line 74 def total_storage @total_storage end |
#type ⇒ PrivateCloudResourceType
include: ‘Microsoft.VMwareCloudSimple/privateClouds’
100 101 102 |
# File 'lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/private_cloud.rb', line 100 def type @type end |
#v_sphere_version ⇒ String
Returns e.g. “6.5u2”.
80 81 82 |
# File 'lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/private_cloud.rb', line 80 def v_sphere_version @v_sphere_version end |
#vcenter_fqdn ⇒ String
Returns FQDN for vcenter access.
83 84 85 |
# File 'lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/private_cloud.rb', line 83 def vcenter_fqdn @vcenter_fqdn end |
#vcenter_refid ⇒ String
Returns Vcenter ip address.
86 87 88 |
# File 'lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/private_cloud.rb', line 86 def vcenter_refid @vcenter_refid end |
#virtual_machine_templates ⇒ Array<VirtualMachineTemplate>
Templates
90 91 92 |
# File 'lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/private_cloud.rb', line 90 def virtual_machine_templates @virtual_machine_templates end |
#virtual_networks ⇒ Array<VirtualNetwork>
Returns The list of Virtual Networks.
93 94 95 |
# File 'lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/private_cloud.rb', line 93 def virtual_networks @virtual_networks end |
#vr_ops_enabled ⇒ Boolean
Returns Is Vrops enabled/disabled.
96 97 98 |
# File 'lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/private_cloud.rb', line 96 def vr_ops_enabled @vr_ops_enabled end |
Class Method Details
.mapper ⇒ Object
Mapper for PrivateCloud class as Ruby Hash. This will be used for serialization/deserialization.
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 372 373 374 375 376 377 378 379 |
# File 'lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/private_cloud.rb', line 107 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'PrivateCloud', type: { name: 'Composite', class_name: 'PrivateCloud', model_properties: { id: { client_side_validation: true, required: false, serialized_name: 'id', type: { name: 'String' } }, location: { client_side_validation: true, required: false, serialized_name: 'location', type: { name: 'String' } }, name: { client_side_validation: true, required: false, serialized_name: 'name', type: { name: 'String' } }, availability_zone_id: { client_side_validation: true, required: false, serialized_name: 'properties.availabilityZoneId', type: { name: 'String' } }, availability_zone_name: { client_side_validation: true, required: false, serialized_name: 'properties.availabilityZoneName', type: { name: 'String' } }, clusters_number: { client_side_validation: true, required: false, serialized_name: 'properties.clustersNumber', type: { name: 'Number' } }, created_by: { client_side_validation: true, required: false, serialized_name: 'properties.createdBy', type: { name: 'String' } }, created_on: { client_side_validation: true, required: false, serialized_name: 'properties.createdOn', type: { name: 'DateTime' } }, dns_servers: { client_side_validation: true, required: false, serialized_name: 'properties.dnsServers', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, expires: { client_side_validation: true, required: false, serialized_name: 'properties.expires', type: { name: 'String' } }, nsx_type: { client_side_validation: true, required: false, serialized_name: 'properties.nsxType', type: { name: 'String' } }, placement_group_id: { client_side_validation: true, required: false, serialized_name: 'properties.placementGroupId', type: { name: 'String' } }, placement_group_name: { client_side_validation: true, required: false, serialized_name: 'properties.placementGroupName', type: { name: 'String' } }, private_cloud_id: { client_side_validation: true, required: false, serialized_name: 'properties.privateCloudId', type: { name: 'String' } }, resource_pools: { client_side_validation: true, required: false, serialized_name: 'properties.resourcePools', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'ResourcePoolElementType', type: { name: 'Composite', class_name: 'ResourcePool' } } } }, state: { client_side_validation: true, required: false, serialized_name: 'properties.state', type: { name: 'String' } }, total_cpu_cores: { client_side_validation: true, required: false, serialized_name: 'properties.totalCpuCores', type: { name: 'Number' } }, total_nodes: { client_side_validation: true, required: false, serialized_name: 'properties.totalNodes', type: { name: 'Number' } }, total_ram: { client_side_validation: true, required: false, serialized_name: 'properties.totalRam', type: { name: 'Number' } }, total_storage: { client_side_validation: true, required: false, serialized_name: 'properties.totalStorage', type: { name: 'Double' } }, private_cloud_properties_type: { client_side_validation: true, required: false, serialized_name: 'properties.type', type: { name: 'String' } }, v_sphere_version: { client_side_validation: true, required: false, serialized_name: 'properties.vSphereVersion', type: { name: 'String' } }, vcenter_fqdn: { client_side_validation: true, required: false, serialized_name: 'properties.vcenterFqdn', type: { name: 'String' } }, vcenter_refid: { client_side_validation: true, required: false, serialized_name: 'properties.vcenterRefid', type: { name: 'String' } }, virtual_machine_templates: { client_side_validation: true, required: false, serialized_name: 'properties.virtualMachineTemplates', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'VirtualMachineTemplateElementType', type: { name: 'Composite', class_name: 'VirtualMachineTemplate' } } } }, virtual_networks: { client_side_validation: true, required: false, serialized_name: 'properties.virtualNetworks', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'VirtualNetworkElementType', type: { name: 'Composite', class_name: 'VirtualNetwork' } } } }, vr_ops_enabled: { client_side_validation: true, required: false, serialized_name: 'properties.vrOpsEnabled', type: { name: 'Boolean' } }, type: { client_side_validation: true, required: false, serialized_name: 'type', type: { name: 'Enum', module: 'PrivateCloudResourceType' } } } } } end |