Class PrivateCloudInner
- java.lang.Object
-
- com.azure.core.management.ProxyResource
-
- com.azure.core.management.Resource
-
- com.azure.resourcemanager.avs.fluent.models.PrivateCloudInner
-
public final class PrivateCloudInner extends com.azure.core.management.Resource
A private cloud resource.
-
-
Constructor Summary
Constructors Constructor Description PrivateCloudInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AvailabilityProperties
availability()
Get the availability property: Properties describing how the cloud is distributed across availability zones.Circuit
circuit()
Get the circuit property: An ExpressRoute Circuit.Encryption
encryption()
Get the encryption property: Customer managed key encryption, can be enabled or disabled.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.PrivateCloudIdentity
identity()
Get the identity property: The identity of the private cloud, if configured.List<IdentitySource>
identitySources()
Get the identitySources property: vCenter Single Sign On Identity Sources.InternetEnum
internet()
Get the internet property: Connectivity to internet is enabled or disabled.ManagementCluster
managementCluster()
Get the managementCluster property: The default cluster used for management.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.Sku
sku()
Get the sku property: The private cloud SKU.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.PrivateCloudInner
withAvailability(AvailabilityProperties availability)
Set the availability property: Properties describing how the cloud is distributed across availability zones.PrivateCloudInner
withCircuit(Circuit circuit)
Set the circuit property: An ExpressRoute Circuit.PrivateCloudInner
withEncryption(Encryption encryption)
Set the encryption property: Customer managed key encryption, can be enabled or disabled.PrivateCloudInner
withIdentity(PrivateCloudIdentity identity)
Set the identity property: The identity of the private cloud, if configured.PrivateCloudInner
withIdentitySources(List<IdentitySource> identitySources)
Set the identitySources property: vCenter Single Sign On Identity Sources.PrivateCloudInner
withInternet(InternetEnum internet)
Set the internet property: Connectivity to internet is enabled or disabled.PrivateCloudInner
withLocation(String location)
PrivateCloudInner
withManagementCluster(ManagementCluster managementCluster)
Set the managementCluster property: The default cluster used for management.PrivateCloudInner
withNetworkBlock(String networkBlock)
Set the networkBlock property: The block of addresses should be unique across VNet in your subscription as well as on-premise.PrivateCloudInner
withNsxtPassword(String nsxtPassword)
Set the nsxtPassword property: Optionally, set the NSX-T Manager password when the private cloud is created.PrivateCloudInner
withSecondaryCircuit(Circuit secondaryCircuit)
Set the secondaryCircuit property: A secondary expressRoute circuit from a separate AZ.PrivateCloudInner
withSku(Sku sku)
Set the sku property: The private cloud SKU.PrivateCloudInner
withTags(Map<String,String> tags)
PrivateCloudInner
withVcenterPassword(String vcenterPassword)
Set the vcenterPassword property: Optionally, set the vCenter admin password when the private cloud is created.
-
-
-
Method Detail
-
sku
public Sku sku()
Get the sku property: The private cloud SKU.- Returns:
- the sku value.
-
withSku
public PrivateCloudInner withSku(Sku sku)
Set the sku property: The private cloud SKU.- Parameters:
sku
- the sku value to set.- Returns:
- the PrivateCloudInner object itself.
-
identity
public PrivateCloudIdentity identity()
Get the identity property: The identity of the private cloud, if configured.- Returns:
- the identity value.
-
withIdentity
public PrivateCloudInner withIdentity(PrivateCloudIdentity identity)
Set the identity property: The identity of the private cloud, if configured.- Parameters:
identity
- the identity value to set.- Returns:
- the PrivateCloudInner object itself.
-
withLocation
public PrivateCloudInner withLocation(String location)
- Overrides:
withLocation
in classcom.azure.core.management.Resource
-
withTags
public PrivateCloudInner withTags(Map<String,String> tags)
- Overrides:
withTags
in classcom.azure.core.management.Resource
-
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 PrivateCloudInner withCircuit(Circuit circuit)
Set the circuit property: An ExpressRoute Circuit.- Parameters:
circuit
- the circuit value to set.- Returns:
- the PrivateCloudInner 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 PrivateCloudInner 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 PrivateCloudInner 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 PrivateCloudInner 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 PrivateCloudInner 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 PrivateCloudInner 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 PrivateCloudInner 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 PrivateCloudInner 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 PrivateCloudInner object itself.
-
managementCluster
public ManagementCluster managementCluster()
Get the managementCluster property: The default cluster used for management.- Returns:
- the managementCluster value.
-
withManagementCluster
public PrivateCloudInner withManagementCluster(ManagementCluster managementCluster)
Set the managementCluster property: The default cluster used for management.- Parameters:
managementCluster
- the managementCluster value to set.- Returns:
- the PrivateCloudInner object itself.
-
internet
public InternetEnum internet()
Get the internet property: Connectivity to internet is enabled or disabled.- Returns:
- the internet value.
-
withInternet
public PrivateCloudInner withInternet(InternetEnum internet)
Set the internet property: Connectivity to internet is enabled or disabled.- Parameters:
internet
- the internet value to set.- Returns:
- the PrivateCloudInner object itself.
-
identitySources
public List<IdentitySource> identitySources()
Get the identitySources property: vCenter Single Sign On Identity Sources.- Returns:
- the identitySources value.
-
withIdentitySources
public PrivateCloudInner withIdentitySources(List<IdentitySource> identitySources)
Set the identitySources property: vCenter Single Sign On Identity Sources.- Parameters:
identitySources
- the identitySources value to set.- Returns:
- the PrivateCloudInner object itself.
-
availability
public AvailabilityProperties availability()
Get the availability property: Properties describing how the cloud is distributed across availability zones.- Returns:
- the availability value.
-
withAvailability
public PrivateCloudInner withAvailability(AvailabilityProperties availability)
Set the availability property: Properties describing how the cloud is distributed across availability zones.- Parameters:
availability
- the availability value to set.- Returns:
- the PrivateCloudInner object itself.
-
encryption
public Encryption encryption()
Get the encryption property: Customer managed key encryption, can be enabled or disabled.- Returns:
- the encryption value.
-
withEncryption
public PrivateCloudInner withEncryption(Encryption encryption)
Set the encryption property: Customer managed key encryption, can be enabled or disabled.- Parameters:
encryption
- the encryption value to set.- Returns:
- the PrivateCloudInner object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-