Class PrivateCloudProperties
- java.lang.Object
-
- com.azure.resourcemanager.avs.fluent.models.PrivateCloudUpdateProperties
-
- com.azure.resourcemanager.avs.fluent.models.PrivateCloudProperties
-
public final class PrivateCloudProperties extends PrivateCloudUpdateProperties
The properties of a private cloud resource.
-
-
Constructor Summary
Constructors Constructor Description PrivateCloudProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Circuit
circuit()
Get the circuit property: An ExpressRoute Circuit.Endpoints
endpoints()
Get the endpoints property: The endpoints.List<String>
externalCloudLinks()
Get the externalCloudLinks property: Array of cloud link IDs from other clouds that connect to this one.String
managementNetwork()
Get the managementNetwork property: Network used to access vCenter Server and NSX-T Manager.String
networkBlock()
Get the networkBlock property: The block of addresses should be unique across VNet in your subscription as well as on-premise.String
nsxtCertificateThumbprint()
Get the nsxtCertificateThumbprint property: Thumbprint of the NSX-T Manager SSL certificate.String
nsxtPassword()
Get the nsxtPassword property: Optionally, set the NSX-T Manager password when the private cloud is created.String
provisioningNetwork()
Get the provisioningNetwork property: Used for virtual machine cold migration, cloning, and snapshot migration.PrivateCloudProvisioningState
provisioningState()
Get the provisioningState property: The provisioning state.Circuit
secondaryCircuit()
Get the secondaryCircuit property: A secondary expressRoute circuit from a separate AZ.void
validate()
Validates the instance.String
vcenterCertificateThumbprint()
Get the vcenterCertificateThumbprint property: Thumbprint of the vCenter Server SSL certificate.String
vcenterPassword()
Get the vcenterPassword property: Optionally, set the vCenter admin password when the private cloud is created.String
vmotionNetwork()
Get the vmotionNetwork property: Used for live migration of virtual machines.PrivateCloudProperties
withAvailability(AvailabilityProperties availability)
Set the availability property: Properties describing how the cloud is distributed across availability zones.PrivateCloudProperties
withCircuit(Circuit circuit)
Set the circuit property: An ExpressRoute Circuit.PrivateCloudProperties
withEncryption(Encryption encryption)
Set the encryption property: Customer managed key encryption, can be enabled or disabled.PrivateCloudProperties
withIdentitySources(List<IdentitySource> identitySources)
Set the identitySources property: vCenter Single Sign On Identity Sources.PrivateCloudProperties
withInternet(InternetEnum internet)
Set the internet property: Connectivity to internet is enabled or disabled.PrivateCloudProperties
withManagementCluster(ManagementCluster managementCluster)
Set the managementCluster property: The default cluster used for management.PrivateCloudProperties
withNetworkBlock(String networkBlock)
Set the networkBlock property: The block of addresses should be unique across VNet in your subscription as well as on-premise.PrivateCloudProperties
withNsxtPassword(String nsxtPassword)
Set the nsxtPassword property: Optionally, set the NSX-T Manager password when the private cloud is created.PrivateCloudProperties
withSecondaryCircuit(Circuit secondaryCircuit)
Set the secondaryCircuit property: A secondary expressRoute circuit from a separate AZ.PrivateCloudProperties
withVcenterPassword(String vcenterPassword)
Set the vcenterPassword property: Optionally, set the vCenter admin password when the private cloud is created.-
Methods inherited from class com.azure.resourcemanager.avs.fluent.models.PrivateCloudUpdateProperties
availability, encryption, identitySources, internet, managementCluster
-
-
-
-
Method Detail
-
provisioningState
public PrivateCloudProvisioningState provisioningState()
Get the provisioningState property: The provisioning state.- Returns:
- the provisioningState value.
-
circuit
public Circuit circuit()
Get the circuit property: An ExpressRoute Circuit.- Returns:
- the circuit value.
-
withCircuit
public PrivateCloudProperties withCircuit(Circuit circuit)
Set the circuit property: An ExpressRoute Circuit.- Parameters:
circuit
- the circuit value to set.- Returns:
- the PrivateCloudProperties object itself.
-
endpoints
public Endpoints endpoints()
Get the endpoints property: The endpoints.- Returns:
- the endpoints value.
-
networkBlock
public String networkBlock()
Get the networkBlock property: The block of addresses should be unique across VNet in your subscription as well as on-premise. Make sure the CIDR format is conformed to (A.B.C.D/X) where A,B,C,D are between 0 and 255, and X is between 0 and 22.- Returns:
- the networkBlock value.
-
withNetworkBlock
public PrivateCloudProperties withNetworkBlock(String networkBlock)
Set the networkBlock property: The block of addresses should be unique across VNet in your subscription as well as on-premise. Make sure the CIDR format is conformed to (A.B.C.D/X) where A,B,C,D are between 0 and 255, and X is between 0 and 22.- Parameters:
networkBlock
- the networkBlock value to set.- Returns:
- the PrivateCloudProperties object itself.
-
managementNetwork
public String managementNetwork()
Get the managementNetwork property: Network used to access vCenter Server and NSX-T Manager.- Returns:
- the managementNetwork value.
-
provisioningNetwork
public String provisioningNetwork()
Get the provisioningNetwork property: Used for virtual machine cold migration, cloning, and snapshot migration.- Returns:
- the provisioningNetwork value.
-
vmotionNetwork
public String vmotionNetwork()
Get the vmotionNetwork property: Used for live migration of virtual machines.- Returns:
- the vmotionNetwork value.
-
vcenterPassword
public String vcenterPassword()
Get the vcenterPassword property: Optionally, set the vCenter admin password when the private cloud is created.- Returns:
- the vcenterPassword value.
-
withVcenterPassword
public PrivateCloudProperties withVcenterPassword(String vcenterPassword)
Set the vcenterPassword property: Optionally, set the vCenter admin password when the private cloud is created.- Parameters:
vcenterPassword
- the vcenterPassword value to set.- Returns:
- the PrivateCloudProperties object itself.
-
nsxtPassword
public String nsxtPassword()
Get the nsxtPassword property: Optionally, set the NSX-T Manager password when the private cloud is created.- Returns:
- the nsxtPassword value.
-
withNsxtPassword
public PrivateCloudProperties withNsxtPassword(String nsxtPassword)
Set the nsxtPassword property: Optionally, set the NSX-T Manager password when the private cloud is created.- Parameters:
nsxtPassword
- the nsxtPassword value to set.- Returns:
- the PrivateCloudProperties object itself.
-
vcenterCertificateThumbprint
public String vcenterCertificateThumbprint()
Get the vcenterCertificateThumbprint property: Thumbprint of the vCenter Server SSL certificate.- Returns:
- the vcenterCertificateThumbprint value.
-
nsxtCertificateThumbprint
public String nsxtCertificateThumbprint()
Get the nsxtCertificateThumbprint property: Thumbprint of the NSX-T Manager SSL certificate.- Returns:
- the nsxtCertificateThumbprint value.
-
externalCloudLinks
public List<String> externalCloudLinks()
Get the externalCloudLinks property: Array of cloud link IDs from other clouds that connect to this one.- Returns:
- the externalCloudLinks value.
-
secondaryCircuit
public Circuit secondaryCircuit()
Get the secondaryCircuit property: A secondary expressRoute circuit from a separate AZ. Only present in a stretched private cloud.- Returns:
- the secondaryCircuit value.
-
withSecondaryCircuit
public PrivateCloudProperties withSecondaryCircuit(Circuit secondaryCircuit)
Set the secondaryCircuit property: A secondary expressRoute circuit from a separate AZ. Only present in a stretched private cloud.- Parameters:
secondaryCircuit
- the secondaryCircuit value to set.- Returns:
- the PrivateCloudProperties object itself.
-
withManagementCluster
public PrivateCloudProperties withManagementCluster(ManagementCluster managementCluster)
Set the managementCluster property: The default cluster used for management.- Overrides:
withManagementCluster
in classPrivateCloudUpdateProperties
- Parameters:
managementCluster
- the managementCluster value to set.- Returns:
- the PrivateCloudUpdateProperties object itself.
-
withInternet
public PrivateCloudProperties withInternet(InternetEnum internet)
Set the internet property: Connectivity to internet is enabled or disabled.- Overrides:
withInternet
in classPrivateCloudUpdateProperties
- Parameters:
internet
- the internet value to set.- Returns:
- the PrivateCloudUpdateProperties object itself.
-
withIdentitySources
public PrivateCloudProperties withIdentitySources(List<IdentitySource> identitySources)
Set the identitySources property: vCenter Single Sign On Identity Sources.- Overrides:
withIdentitySources
in classPrivateCloudUpdateProperties
- Parameters:
identitySources
- the identitySources value to set.- Returns:
- the PrivateCloudUpdateProperties object itself.
-
withAvailability
public PrivateCloudProperties withAvailability(AvailabilityProperties availability)
Set the availability property: Properties describing how the cloud is distributed across availability zones.- Overrides:
withAvailability
in classPrivateCloudUpdateProperties
- Parameters:
availability
- the availability value to set.- Returns:
- the PrivateCloudUpdateProperties object itself.
-
withEncryption
public PrivateCloudProperties withEncryption(Encryption encryption)
Set the encryption property: Customer managed key encryption, can be enabled or disabled.- Overrides:
withEncryption
in classPrivateCloudUpdateProperties
- Parameters:
encryption
- the encryption value to set.- Returns:
- the PrivateCloudUpdateProperties object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classPrivateCloudUpdateProperties
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-