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