Interface Cluster
public interface Cluster
An immutable client-side representation of Cluster.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
The entirety of the Cluster definition.static interface
The Cluster definition stages.static interface
The template for Cluster update.static interface
The Cluster update stages. -
Method Summary
Modifier and TypeMethodDescriptionid()
Gets the id property: Fully qualified resource Id for the resource.Gets the inner com.azure.resourcemanager.avs.fluent.models.ClusterInner object.List hosts by zone in a cluster.com.azure.core.http.rest.Response<ClusterZoneList>
listZonesWithResponse
(com.azure.core.util.Context context) List hosts by zone in a cluster.name()
Gets the name property: The name of the resource.refresh()
Refreshes the resource to sync with Azure.refresh
(com.azure.core.util.Context context) Refreshes the resource to sync with Azure.Gets the name of the resource group.sku()
Gets the sku property: The cluster SKU.type()
Gets the type property: The type of the resource.update()
Begins update for the Cluster resource.
-
Method Details
-
id
String id()Gets the id property: Fully qualified resource Id for the resource.- Returns:
- the id value.
-
name
String name()Gets the name property: The name of the resource.- Returns:
- the name value.
-
type
String type()Gets the type property: The type of the resource.- Returns:
- the type value.
-
sku
Sku sku()Gets the sku property: The cluster SKU.- Returns:
- the sku value.
-
resourceGroupName
String resourceGroupName()Gets the name of the resource group.- Returns:
- the name of the resource group.
-
innerModel
ClusterInner innerModel()Gets the inner com.azure.resourcemanager.avs.fluent.models.ClusterInner object.- Returns:
- the inner object.
-
update
Cluster.Update update()Begins update for the Cluster resource.- Returns:
- the stage of resource update.
-
refresh
Cluster refresh()Refreshes the resource to sync with Azure.- Returns:
- the refreshed resource.
-
refresh
Refreshes the resource to sync with Azure.- Parameters:
context
- The context to associate with this operation.- Returns:
- the refreshed resource.
-
listZonesWithResponse
com.azure.core.http.rest.Response<ClusterZoneList> listZonesWithResponse(com.azure.core.util.Context context) List hosts by zone in a cluster.- Parameters:
context
- The context to associate with this operation.- Returns:
- list of all zones and associated hosts for a cluster along with
Response
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
listZones
ClusterZoneList listZones()List hosts by zone in a cluster.- Returns:
- list of all zones and associated hosts for a cluster.
- Throws:
com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-