ManagementCluster Class
- java.
lang. Object - com.
azure. resourcemanager. avs. models. ManagementCluster
- com.
Implements
public final class ManagementCluster
implements JsonSerializable<ManagementCluster>
The properties of a management cluster.
Constructor Summary
| Constructor | Description |
|---|---|
| ManagementCluster() |
Creates an instance of Management |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| Integer |
clusterId()
Get the cluster |
| Integer |
clusterSize()
Get the cluster |
|
static
Management |
fromJson(JsonReader jsonReader)
Reads an instance of Management |
| List<String> |
hosts()
Get the hosts property: The hosts. |
|
Cluster |
provisioningState()
Get the provisioning |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
| String |
vsanDatastoreName()
Get the vsan |
|
Management |
withClusterSize(Integer clusterSize)
Set the cluster |
|
Management |
withHosts(List<String> hosts)
Set the hosts property: The hosts. |
|
Management |
withVsanDatastoreName(String vsanDatastoreName)
Set the vsan |
Methods inherited from java.lang.Object
Constructor Details
ManagementCluster
public ManagementCluster()
Creates an instance of ManagementCluster class.
Method Details
clusterId
public Integer clusterId()
Get the clusterId property: The identity.
Returns:
clusterSize
public Integer clusterSize()
Get the clusterSize property: The cluster size.
Returns:
fromJson
public static ManagementCluster fromJson(JsonReader jsonReader)
Reads an instance of ManagementCluster from the JsonReader.
Parameters:
Returns:
Throws:
hosts
public List<String> hosts()
Get the hosts property: The hosts.
Returns:
provisioningState
public ClusterProvisioningState provisioningState()
Get the provisioningState property: The state of the cluster provisioning.
Returns:
toJson
validate
public void validate()
Validates the instance.
vsanDatastoreName
public String vsanDatastoreName()
Get the vsanDatastoreName property: Name of the vsan datastore associated with the cluster.
Returns:
withClusterSize
public ManagementCluster withClusterSize(Integer clusterSize)
Set the clusterSize property: The cluster size.
Parameters:
Returns:
withHosts
public ManagementCluster withHosts(List<String> hosts)
Set the hosts property: The hosts.
Parameters:
Returns:
withVsanDatastoreName
public ManagementCluster withVsanDatastoreName(String vsanDatastoreName)
Set the vsanDatastoreName property: Name of the vsan datastore associated with the cluster.
Parameters:
Returns: