Class PrivateCloudUpdate
- java.lang.Object
-
- com.azure.resourcemanager.avs.models.PrivateCloudUpdate
-
public final class PrivateCloudUpdate extends Object
An update to a private cloud resource.
-
-
Constructor Summary
Constructors Constructor Description PrivateCloudUpdate()
-
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.Encryption
encryption()
Get the encryption property: Customer managed key encryption, can be enabled or disabled.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.Map<String,String>
tags()
Get the tags property: Resource tags.void
validate()
Validates the instance.PrivateCloudUpdate
withAvailability(AvailabilityProperties availability)
Set the availability property: Properties describing how the cloud is distributed across availability zones.PrivateCloudUpdate
withEncryption(Encryption encryption)
Set the encryption property: Customer managed key encryption, can be enabled or disabled.PrivateCloudUpdate
withIdentity(PrivateCloudIdentity identity)
Set the identity property: The identity of the private cloud, if configured.PrivateCloudUpdate
withIdentitySources(List<IdentitySource> identitySources)
Set the identitySources property: vCenter Single Sign On Identity Sources.PrivateCloudUpdate
withInternet(InternetEnum internet)
Set the internet property: Connectivity to internet is enabled or disabled.PrivateCloudUpdate
withManagementCluster(ManagementCluster managementCluster)
Set the managementCluster property: The default cluster used for management.PrivateCloudUpdate
withTags(Map<String,String> tags)
Set the tags property: Resource tags.
-
-
-
Method Detail
-
tags
public Map<String,String> tags()
Get the tags property: Resource tags.- Returns:
- the tags value.
-
withTags
public PrivateCloudUpdate withTags(Map<String,String> tags)
Set the tags property: Resource tags.- Parameters:
tags
- the tags value to set.- Returns:
- the PrivateCloudUpdate object itself.
-
identity
public PrivateCloudIdentity identity()
Get the identity property: The identity of the private cloud, if configured.- Returns:
- the identity value.
-
withIdentity
public PrivateCloudUpdate withIdentity(PrivateCloudIdentity identity)
Set the identity property: The identity of the private cloud, if configured.- Parameters:
identity
- the identity value to set.- Returns:
- the PrivateCloudUpdate object itself.
-
managementCluster
public ManagementCluster managementCluster()
Get the managementCluster property: The default cluster used for management.- Returns:
- the managementCluster value.
-
withManagementCluster
public PrivateCloudUpdate withManagementCluster(ManagementCluster managementCluster)
Set the managementCluster property: The default cluster used for management.- Parameters:
managementCluster
- the managementCluster value to set.- Returns:
- the PrivateCloudUpdate object itself.
-
internet
public InternetEnum internet()
Get the internet property: Connectivity to internet is enabled or disabled.- Returns:
- the internet value.
-
withInternet
public PrivateCloudUpdate withInternet(InternetEnum internet)
Set the internet property: Connectivity to internet is enabled or disabled.- Parameters:
internet
- the internet value to set.- Returns:
- the PrivateCloudUpdate object itself.
-
identitySources
public List<IdentitySource> identitySources()
Get the identitySources property: vCenter Single Sign On Identity Sources.- Returns:
- the identitySources value.
-
withIdentitySources
public PrivateCloudUpdate withIdentitySources(List<IdentitySource> identitySources)
Set the identitySources property: vCenter Single Sign On Identity Sources.- Parameters:
identitySources
- the identitySources value to set.- Returns:
- the PrivateCloudUpdate 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 PrivateCloudUpdate 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 PrivateCloudUpdate 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 PrivateCloudUpdate 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 PrivateCloudUpdate object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-