Interface ClusterPool
public interface ClusterPool
An immutable client-side representation of ClusterPool.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceThe entirety of the ClusterPool definition.static interfaceThe ClusterPool definition stages.static interfaceThe template for ClusterPool update.static interfaceThe ClusterPool update stages. -
Method Summary
Modifier and TypeMethodDescriptionid()Gets the id property: Fully qualified resource Id for the resource.Gets the inner com.azure.resourcemanager.hdinsight.containers.fluent.models.ClusterPoolInner object.location()Gets the location property: The geo-location where the resource lives.name()Gets the name property: The name of the resource.Gets the properties property: Gets or sets the properties.refresh()Refreshes the resource to sync with Azure.refresh(com.azure.core.util.Context context) Refreshes the resource to sync with Azure.com.azure.core.management.Regionregion()Gets the region of the resource.Gets the name of the resource region.Gets the name of the resource group.com.azure.core.management.SystemDataGets the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.tags()Gets the tags property: Resource tags.type()Gets the type property: The type of the resource.update()Begins update for the ClusterPool resource.upgrade(ClusterPoolUpgrade clusterPoolUpgradeRequest) Upgrade a cluster pool.upgrade(ClusterPoolUpgrade clusterPoolUpgradeRequest, com.azure.core.util.Context context) Upgrade a cluster pool.
-
Method Details
-
id
String id()Gets the id property: Fully qualified resource Id for the resource.- Returns:
- the id value.
-
name
-
type
-
location
String location()Gets the location property: The geo-location where the resource lives.- Returns:
- the location value.
-
tags
-
properties
ClusterPoolResourceProperties properties()Gets the properties property: Gets or sets the properties. Define cluster pool specific properties.- Returns:
- the properties value.
-
systemData
com.azure.core.management.SystemData systemData()Gets the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.- Returns:
- the systemData value.
-
region
com.azure.core.management.Region region()Gets the region of the resource.- Returns:
- the region of the resource.
-
regionName
-
resourceGroupName
String resourceGroupName()Gets the name of the resource group.- Returns:
- the name of the resource group.
-
innerModel
ClusterPoolInner innerModel()Gets the inner com.azure.resourcemanager.hdinsight.containers.fluent.models.ClusterPoolInner object.- Returns:
- the inner object.
-
update
ClusterPool.Update update()Begins update for the ClusterPool resource.- Returns:
- the stage of resource update.
-
refresh
-
refresh
Refreshes the resource to sync with Azure.- Parameters:
context- The context to associate with this operation.- Returns:
- the refreshed resource.
-
upgrade
Upgrade a cluster pool.- Parameters:
clusterPoolUpgradeRequest- Upgrade a cluster pool.- Returns:
- cluster pool.
- 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.
-
upgrade
ClusterPool upgrade(ClusterPoolUpgrade clusterPoolUpgradeRequest, com.azure.core.util.Context context) Upgrade a cluster pool.- Parameters:
clusterPoolUpgradeRequest- Upgrade a cluster pool.context- The context to associate with this operation.- Returns:
- cluster pool.
- 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.
-