ClusterInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. core. management. Resource - com.
azure. resourcemanager. connectedvmware. fluent. models. ClusterInner
- com.
- com.
- com.
public final class ClusterInner
extends Resource
Define the cluster.
Constructor Summary
| Constructor | Description |
|---|---|
| ClusterInner() |
Creates an instance of Cluster |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
customResourceName()
Get the custom |
| List<String> |
datastoreIds()
Get the datastore |
|
Extended |
extendedLocation()
Get the extended |
|
static
Cluster |
fromJson(JsonReader jsonReader)
Reads an instance of Cluster |
| String |
id()
Get the id property: Fully qualified resource Id for the resource. |
| String |
inventoryItemId()
Get the inventory |
| String |
kind()
Get the kind property: Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e. |
| String |
moName()
Get the mo |
| String |
moRefId()
Get the mo |
| String |
name()
Get the name property: The name of the resource. |
| List<String> |
networkIds()
Get the network |
|
Provisioning |
provisioningState()
Get the provisioning |
|
List<Resource |
statuses()
Get the statuses property: The resource status information. |
|
System |
systemData()
Get the system |
|
Json |
toJson(JsonWriter jsonWriter) |
| Long |
totalCpuMHz()
Get the total |
| Long |
totalMemoryGB()
Get the total |
| String |
type()
Get the type property: The type of the resource. |
| Long |
usedCpuMHz()
Get the used |
| Long |
usedMemoryGB()
Get the used |
| String |
uuid()
Get the uuid property: Gets or sets a unique identifier for this resource. |
| void |
validate()
Validates the instance. |
| String |
vCenterId()
Get the v |
|
Cluster |
withExtendedLocation(ExtendedLocation extendedLocation)
Set the extended |
|
Cluster |
withInventoryItemId(String inventoryItemId)
Set the inventory |
|
Cluster |
withKind(String kind)
Set the kind property: Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e. |
|
Cluster |
withLocation(String location) |
|
Cluster |
withMoRefId(String moRefId)
Set the mo |
|
Cluster |
withTags(Map<String,String> tags) |
|
Cluster |
withVCenterId(String vCenterId)
Set the v |
Methods inherited from ProxyResource
Methods inherited from Resource
Methods inherited from java.lang.Object
Constructor Details
ClusterInner
public ClusterInner()
Creates an instance of ClusterInner class.
Method Details
customResourceName
public String customResourceName()
Get the customResourceName property: Gets the name of the corresponding resource in Kubernetes.
Returns:
datastoreIds
public List<String> datastoreIds()
Get the datastoreIds property: Gets the datastore ARM ids.
Returns:
extendedLocation
public ExtendedLocation extendedLocation()
Get the extendedLocation property: Gets or sets the extended location.
Returns:
fromJson
public static ClusterInner fromJson(JsonReader jsonReader)
Reads an instance of ClusterInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
ClusterInner.id()Returns:
inventoryItemId
public String inventoryItemId()
Get the inventoryItemId property: Gets or sets the inventory Item ID for the cluster.
Returns:
kind
public String kind()
Get the kind property: Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value.
Returns:
moName
public String moName()
Get the moName property: Gets or sets the vCenter Managed Object name for the cluster.
Returns:
moRefId
public String moRefId()
Get the moRefId property: Gets or sets the vCenter MoRef (Managed Object Reference) ID for the cluster.
Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
ClusterInner.name()Returns:
networkIds
public List<String> networkIds()
Get the networkIds property: Gets the network ARM ids.
Returns:
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: Gets the provisioning state.
Returns:
statuses
public List<ResourceStatus> statuses()
Get the statuses property: The resource status information.
Returns:
systemData
public SystemData systemData()
Get the systemData property: The system data.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
ClusterInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
totalCpuMHz
public Long totalCpuMHz()
Get the totalCpuMHz property: Gets the max CPU usage across all cores on the cluster in MHz.
Returns:
totalMemoryGB
public Long totalMemoryGB()
Get the totalMemoryGB property: Gets the total amount of physical memory on the cluster in GB.
Returns:
type
public String type()
Get the type property: The type of the resource.
Overrides:
ClusterInner.type()Returns:
usedCpuMHz
public Long usedCpuMHz()
Get the usedCpuMHz property: Gets the used CPU usage across all cores on the cluster in MHz.
Returns:
usedMemoryGB
public Long usedMemoryGB()
Get the usedMemoryGB property: Gets the used physical memory on the cluster in GB.
Returns:
uuid
public String uuid()
Get the uuid property: Gets or sets a unique identifier for this resource.
Returns:
validate
public void validate()
Validates the instance.
vCenterId
public String vCenterId()
Get the vCenterId property: Gets or sets the ARM Id of the vCenter resource in which this cluster resides.
Returns:
withExtendedLocation
public ClusterInner withExtendedLocation(ExtendedLocation extendedLocation)
Set the extendedLocation property: Gets or sets the extended location.
Parameters:
Returns:
withInventoryItemId
public ClusterInner withInventoryItemId(String inventoryItemId)
Set the inventoryItemId property: Gets or sets the inventory Item ID for the cluster.
Parameters:
Returns:
withKind
public ClusterInner withKind(String kind)
Set the kind property: Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value.
Parameters:
Returns:
withLocation
public ClusterInner withLocation(String location)
Overrides:
ClusterInner.withLocation(String location)Parameters:
withMoRefId
public ClusterInner withMoRefId(String moRefId)
Set the moRefId property: Gets or sets the vCenter MoRef (Managed Object Reference) ID for the cluster.
Parameters:
Returns:
withTags
public ClusterInner withTags(Map<String,String> tags)
Overrides:
ClusterInner.withTags(Map<String,String> tags)Parameters:
withVCenterId
public ClusterInner withVCenterId(String vCenterId)
Set the vCenterId property: Gets or sets the ARM Id of the vCenter resource in which this cluster resides.
Parameters:
Returns: