PrivateCloudInner 类
- java.
lang. Object - com.
azure. resourcemanager. vmwarecloudsimple. fluent. models. PrivateCloudInner
- com.
public final class PrivateCloudInner
私有云模型。
构造函数摘要
| 构造函数 | 说明 |
|---|---|
| PrivateCloudInner() |
创建私有云 |
方法摘要
方法继承自 java.lang.Object
构造函数详细信息
PrivateCloudInner
public PrivateCloudInner()
创建 PrivateCloudInner 类的实例。
方法详细信息
availabilityZoneId
public String availabilityZoneId()
获取 availabilityZoneId 属性:可用性区域 ID,例如“az1”。
Returns:
availabilityZoneName
public String availabilityZoneName()
获取 availabilityZoneName 属性:可用性区域名称,例如“可用性区域 1”。
Returns:
clustersNumber
public Integer clustersNumber()
获取 clustersNumber 属性:群集数。
Returns:
createdBy
public String createdBy()
获取 createdBy 属性:创建云的用户的电子邮件。
Returns:
createdOn
public OffsetDateTime createdOn()
获取 createdOn 属性:创建私有云时。
Returns:
dnsServers
public List
获取 dnsServers 属性:DNS 服务器数组。
Returns:
expires
public String expires()
获取 expires 属性:电脑的到期日期。
Returns:
id
public String id()
获取 id 属性:Azure Id,例如“/subscriptions/4da99247-a172-4ed6-8ae9-ebed2d12f839/providers/Microsoft.VMwareCloudSimple/privateClouds” + “/cloud123”。
Returns:
location
public String location()
获取 location 属性:创建私有云的位置,例如“westus”。
Returns:
name
public String name()
获取 name 属性:私有云名称。
Returns:
nsxType
public String nsxType()
获取 nsxType 属性:Nsx Type,例如“Advanced”。
Returns:
placementGroupId
public String placementGroupId()
获取 placementGroupId 属性:放置组 ID,例如“n1”。
Returns:
placementGroupName
public String placementGroupName()
获取 placementGroupName 属性:放置组名称。
Returns:
privateCloudId
public UUID privateCloudId()
获取 privateCloudId 属性:私有云的 ID。
Returns:
resourcePools
public List
获取 resourcePools 属性:资源池的列表。
Returns:
state
public String state()
获取 state 属性:私有云状态,例如“操作”。
Returns:
totalCpuCores
public Integer totalCpuCores()
获取 totalCpuCores 属性:核心数。
Returns:
totalNodes
public Integer totalNodes()
获取 totalNodes 属性:节点数。
Returns:
totalRam
public Integer totalRam()
获取 totalRam 属性:内存大小。
Returns:
totalStorage
public Float totalStorage()
获取 totalStorage 属性:磁盘空间(以 TB 为单位)。
Returns:
type
public PrivateCloudResourceType type()
获取 type 属性:Azure 资源类型。
Returns:
typePropertiesType
public String typePropertiesType()
获取类型属性:虚拟化类型,例如“vSphere”。
Returns:
vSphereVersion
public String vSphereVersion()
获取 vSphereVersion 属性:例如“6.5u2”。
Returns:
validate
public void validate()
验证实例。
vcenterFqdn
public String vcenterFqdn()
获取 vcenterFqdn 属性:用于 vcenter 访问的 FQDN。
Returns:
vcenterRefid
public String vcenterRefid()
获取 vcenterRefid 属性:Vcenter ip address。
Returns:
virtualMachineTemplates
public List
获取 virtualMachineTemplates 属性:虚拟机模板列表。
Returns:
virtualNetworks
public List
获取 virtualNetworks 属性:虚拟网络列表。
Returns:
vrOpsEnabled
public Boolean vrOpsEnabled()
获取 vrOpsEnabled 属性:是否已启用/禁用 vRealize Operations Manager。
Returns:
withAvailabilityZoneId
public PrivateCloudInner withAvailabilityZoneId(String availabilityZoneId)
设置 availabilityZoneId 属性:可用性区域 ID,例如“az1”。
Parameters:
Returns:
withAvailabilityZoneName
public PrivateCloudInner withAvailabilityZoneName(String availabilityZoneName)
设置 availabilityZoneName 属性:可用性区域名称,例如“可用性区域 1”。
Parameters:
Returns:
withClustersNumber
public PrivateCloudInner withClustersNumber(Integer clustersNumber)
设置 clustersNumber 属性:群集数。
Parameters:
Returns:
withCreatedBy
public PrivateCloudInner withCreatedBy(String createdBy)
设置 createdBy 属性:创建云的用户电子邮件。
Parameters:
Returns:
withCreatedOn
public PrivateCloudInner withCreatedOn(OffsetDateTime createdOn)
设置 createdOn 属性:创建私有云时。
Parameters:
Returns:
withDnsServers
public PrivateCloudInner withDnsServers(List
设置 dnsServers 属性:DNS 服务器数组。
Parameters:
Returns:
withExpires
public PrivateCloudInner withExpires(String expires)
设置过期属性:电脑的到期日期。
Parameters:
Returns:
withId
public PrivateCloudInner withId(String id)
设置 id 属性:Azure Id,例如“/subscriptions/4da99247-a172-4ed6-8ae9-ebed2d12f839/providers/Microsoft.VMwareCloudSimple/privateClouds” + “/cloud123”。
Parameters:
Returns:
withLocation
public PrivateCloudInner withLocation(String location)
设置位置属性:创建私有云的位置,例如“westus”。
Parameters:
Returns:
withName
public PrivateCloudInner withName(String name)
设置名称属性:私有云名称。
Parameters:
Returns:
withNsxType
public PrivateCloudInner withNsxType(String nsxType)
设置 nsxType 属性:Nsx Type,例如“Advanced”。
Parameters:
Returns:
withPlacementGroupId
public PrivateCloudInner withPlacementGroupId(String placementGroupId)
设置 placementGroupId 属性:放置组 ID,例如“n1”。
Parameters:
Returns:
withPlacementGroupName
public PrivateCloudInner withPlacementGroupName(String placementGroupName)
设置 placementGroupName 属性:放置组名称。
Parameters:
Returns:
withPrivateCloudId
public PrivateCloudInner withPrivateCloudId(UUID privateCloudId)
设置 privateCloudId 属性:私有云的 ID。
Parameters:
Returns:
withResourcePools
public PrivateCloudInner withResourcePools(List
设置 resourcePools 属性:资源池的列表。
Parameters:
Returns:
withState
public PrivateCloudInner withState(String state)
设置状态属性:私有云状态,例如“操作”。
Parameters:
Returns:
withTotalCpuCores
public PrivateCloudInner withTotalCpuCores(Integer totalCpuCores)
设置 totalCpuCores 属性:核心数。
Parameters:
Returns:
withTotalNodes
public PrivateCloudInner withTotalNodes(Integer totalNodes)
设置 totalNodes 属性:节点数。
Parameters:
Returns:
withTotalRam
public PrivateCloudInner withTotalRam(Integer totalRam)
设置 totalRam 属性:内存大小。
Parameters:
Returns:
withTotalStorage
public PrivateCloudInner withTotalStorage(Float totalStorage)
设置 totalStorage 属性:磁盘空间(以 TB 为单位)。
Parameters:
Returns:
withType
public PrivateCloudInner withType(PrivateCloudResourceType type)
设置 type 属性:Azure 资源类型。
Parameters:
Returns:
withTypePropertiesType
public PrivateCloudInner withTypePropertiesType(String type)
设置类型属性:虚拟化类型,例如“vSphere”。
Parameters:
Returns:
withVSphereVersion
public PrivateCloudInner withVSphereVersion(String vSphereVersion)
设置 vSphereVersion 属性:例如“6.5u2”。
Parameters:
Returns:
withVcenterFqdn
public PrivateCloudInner withVcenterFqdn(String vcenterFqdn)
设置 vcenterFqdn 属性:用于 vcenter 访问的 FQDN。
Parameters:
Returns:
withVcenterRefid
public PrivateCloudInner withVcenterRefid(String vcenterRefid)
设置 vcenterRefid 属性:Vcenter ip address。
Parameters:
Returns:
withVirtualMachineTemplates
public PrivateCloudInner withVirtualMachineTemplates(List
设置 virtualMachineTemplates 属性:虚拟机模板列表。
Parameters:
Returns:
withVirtualNetworks
public PrivateCloudInner withVirtualNetworks(List
设置 virtualNetworks 属性:虚拟网络列表。
Parameters:
Returns:
withVrOpsEnabled
public PrivateCloudInner withVrOpsEnabled(Boolean vrOpsEnabled)
设置 vrOpsEnabled 属性:是否已启用/禁用 vRealize Operations Manager。
Parameters:
Returns: