KubernetesClustersClient Interface

public interface KubernetesClustersClient

An instance of this class provides access to all the operations defined in KubernetesClustersClient.

Method Summary

Modifier and Type Method and Description
abstract SyncPoller<PollResult<KubernetesClusterInner>,KubernetesClusterInner> beginCreateOrUpdate(String resourceGroupName, String kubernetesClusterName, KubernetesClusterInner kubernetesClusterParameters)

Create a new Kubernetes cluster or update the properties of the existing one.

abstract SyncPoller<PollResult<KubernetesClusterInner>,KubernetesClusterInner> beginCreateOrUpdate(String resourceGroupName, String kubernetesClusterName, KubernetesClusterInner kubernetesClusterParameters, String ifMatch, String ifNoneMatch, Context context)

Create a new Kubernetes cluster or update the properties of the existing one.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String kubernetesClusterName)

Delete the provided Kubernetes cluster.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String kubernetesClusterName, String ifMatch, String ifNoneMatch, Context context)

Delete the provided Kubernetes cluster.

abstract SyncPoller<PollResult<OperationStatusResult>,OperationStatusResult> beginRestartNode(String resourceGroupName, String kubernetesClusterName, KubernetesClusterRestartNodeParameters kubernetesClusterRestartNodeParameters)

Restart a targeted node of a Kubernetes cluster.

abstract SyncPoller<PollResult<OperationStatusResult>,OperationStatusResult> beginRestartNode(String resourceGroupName, String kubernetesClusterName, KubernetesClusterRestartNodeParameters kubernetesClusterRestartNodeParameters, Context context)

Restart a targeted node of a Kubernetes cluster.

abstract SyncPoller<PollResult<KubernetesClusterInner>,KubernetesClusterInner> beginUpdate(String resourceGroupName, String kubernetesClusterName)

Patch the properties of the provided Kubernetes cluster, or update the tags associated with the Kubernetes cluster.

abstract SyncPoller<PollResult<KubernetesClusterInner>,KubernetesClusterInner> beginUpdate(String resourceGroupName, String kubernetesClusterName, String ifMatch, String ifNoneMatch, KubernetesClusterPatchParameters kubernetesClusterUpdateParameters, Context context)

Patch the properties of the provided Kubernetes cluster, or update the tags associated with the Kubernetes cluster.

abstract KubernetesClusterInner createOrUpdate(String resourceGroupName, String kubernetesClusterName, KubernetesClusterInner kubernetesClusterParameters)

Create a new Kubernetes cluster or update the properties of the existing one.

abstract KubernetesClusterInner createOrUpdate(String resourceGroupName, String kubernetesClusterName, KubernetesClusterInner kubernetesClusterParameters, String ifMatch, String ifNoneMatch, Context context)

Create a new Kubernetes cluster or update the properties of the existing one.

abstract void delete(String resourceGroupName, String kubernetesClusterName)

Delete the provided Kubernetes cluster.

abstract void delete(String resourceGroupName, String kubernetesClusterName, String ifMatch, String ifNoneMatch, Context context)

Delete the provided Kubernetes cluster.

abstract KubernetesClusterInner getByResourceGroup(String resourceGroupName, String kubernetesClusterName)

Get properties of the provided the Kubernetes cluster.

abstract Response<KubernetesClusterInner> getByResourceGroupWithResponse(String resourceGroupName, String kubernetesClusterName, Context context)

Get properties of the provided the Kubernetes cluster.

abstract PagedIterable<KubernetesClusterInner> list()

Get a list of Kubernetes clusters in the provided subscription.

abstract PagedIterable<KubernetesClusterInner> list(Integer top, String skipToken, Context context)

Get a list of Kubernetes clusters in the provided subscription.

abstract PagedIterable<KubernetesClusterInner> listByResourceGroup(String resourceGroupName)

Get a list of Kubernetes clusters in the provided resource group.

abstract PagedIterable<KubernetesClusterInner> listByResourceGroup(String resourceGroupName, Integer top, String skipToken, Context context)

Get a list of Kubernetes clusters in the provided resource group.

abstract OperationStatusResult restartNode(String resourceGroupName, String kubernetesClusterName, KubernetesClusterRestartNodeParameters kubernetesClusterRestartNodeParameters)

Restart a targeted node of a Kubernetes cluster.

abstract OperationStatusResult restartNode(String resourceGroupName, String kubernetesClusterName, KubernetesClusterRestartNodeParameters kubernetesClusterRestartNodeParameters, Context context)

Restart a targeted node of a Kubernetes cluster.

abstract KubernetesClusterInner update(String resourceGroupName, String kubernetesClusterName)

Patch the properties of the provided Kubernetes cluster, or update the tags associated with the Kubernetes cluster.

abstract KubernetesClusterInner update(String resourceGroupName, String kubernetesClusterName, String ifMatch, String ifNoneMatch, KubernetesClusterPatchParameters kubernetesClusterUpdateParameters, Context context)

Patch the properties of the provided Kubernetes cluster, or update the tags associated with the Kubernetes cluster.

Method Details

beginCreateOrUpdate

public abstract SyncPoller<PollResult<KubernetesClusterInner>,KubernetesClusterInner> beginCreateOrUpdate(String resourceGroupName, String kubernetesClusterName, KubernetesClusterInner kubernetesClusterParameters)

Create a new Kubernetes cluster or update the properties of the existing one.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
kubernetesClusterName - The name of the Kubernetes cluster.
kubernetesClusterParameters - The request body.

Returns:

the SyncPoller<T,U> for polling of kubernetesCluster represents the Kubernetes cluster hosted on Network Cloud.

beginCreateOrUpdate

public abstract SyncPoller<PollResult<KubernetesClusterInner>,KubernetesClusterInner> beginCreateOrUpdate(String resourceGroupName, String kubernetesClusterName, KubernetesClusterInner kubernetesClusterParameters, String ifMatch, String ifNoneMatch, Context context)

Create a new Kubernetes cluster or update the properties of the existing one.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
kubernetesClusterName - The name of the Kubernetes cluster.
kubernetesClusterParameters - The request body.
ifMatch - The ETag of the transformation. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting concurrent changes.
ifNoneMatch - Set to '*' to allow a new record set to be created, but to prevent updating an existing resource. Other values will result in error from server as they are not supported.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of kubernetesCluster represents the Kubernetes cluster hosted on Network Cloud.

beginDelete

public abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String kubernetesClusterName)

Delete the provided Kubernetes cluster.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
kubernetesClusterName - The name of the Kubernetes cluster.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginDelete

public abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String kubernetesClusterName, String ifMatch, String ifNoneMatch, Context context)

Delete the provided Kubernetes cluster.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
kubernetesClusterName - The name of the Kubernetes cluster.
ifMatch - The ETag of the transformation. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting concurrent changes.
ifNoneMatch - Set to '*' to allow a new record set to be created, but to prevent updating an existing resource. Other values will result in error from server as they are not supported.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginRestartNode

public abstract SyncPoller<PollResult<OperationStatusResult>,OperationStatusResult> beginRestartNode(String resourceGroupName, String kubernetesClusterName, KubernetesClusterRestartNodeParameters kubernetesClusterRestartNodeParameters)

Restart a targeted node of a Kubernetes cluster.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
kubernetesClusterName - The name of the Kubernetes cluster.
kubernetesClusterRestartNodeParameters - The request body.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginRestartNode

public abstract SyncPoller<PollResult<OperationStatusResult>,OperationStatusResult> beginRestartNode(String resourceGroupName, String kubernetesClusterName, KubernetesClusterRestartNodeParameters kubernetesClusterRestartNodeParameters, Context context)

Restart a targeted node of a Kubernetes cluster.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
kubernetesClusterName - The name of the Kubernetes cluster.
kubernetesClusterRestartNodeParameters - The request body.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginUpdate

public abstract SyncPoller<PollResult<KubernetesClusterInner>,KubernetesClusterInner> beginUpdate(String resourceGroupName, String kubernetesClusterName)

Patch the properties of the provided Kubernetes cluster, or update the tags associated with the Kubernetes cluster. Properties and tag updates can be done independently.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
kubernetesClusterName - The name of the Kubernetes cluster.

Returns:

the SyncPoller<T,U> for polling of kubernetesCluster represents the Kubernetes cluster hosted on Network Cloud.

beginUpdate

public abstract SyncPoller<PollResult<KubernetesClusterInner>,KubernetesClusterInner> beginUpdate(String resourceGroupName, String kubernetesClusterName, String ifMatch, String ifNoneMatch, KubernetesClusterPatchParameters kubernetesClusterUpdateParameters, Context context)

Patch the properties of the provided Kubernetes cluster, or update the tags associated with the Kubernetes cluster. Properties and tag updates can be done independently.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
kubernetesClusterName - The name of the Kubernetes cluster.
ifMatch - The ETag of the transformation. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting concurrent changes.
ifNoneMatch - Set to '*' to allow a new record set to be created, but to prevent updating an existing resource. Other values will result in error from server as they are not supported.
kubernetesClusterUpdateParameters - The request body.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of kubernetesCluster represents the Kubernetes cluster hosted on Network Cloud.

createOrUpdate

public abstract KubernetesClusterInner createOrUpdate(String resourceGroupName, String kubernetesClusterName, KubernetesClusterInner kubernetesClusterParameters)

Create a new Kubernetes cluster or update the properties of the existing one.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
kubernetesClusterName - The name of the Kubernetes cluster.
kubernetesClusterParameters - The request body.

Returns:

kubernetesCluster represents the Kubernetes cluster hosted on Network Cloud.

createOrUpdate

public abstract KubernetesClusterInner createOrUpdate(String resourceGroupName, String kubernetesClusterName, KubernetesClusterInner kubernetesClusterParameters, String ifMatch, String ifNoneMatch, Context context)

Create a new Kubernetes cluster or update the properties of the existing one.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
kubernetesClusterName - The name of the Kubernetes cluster.
kubernetesClusterParameters - The request body.
ifMatch - The ETag of the transformation. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting concurrent changes.
ifNoneMatch - Set to '*' to allow a new record set to be created, but to prevent updating an existing resource. Other values will result in error from server as they are not supported.
context - The context to associate with this operation.

Returns:

kubernetesCluster represents the Kubernetes cluster hosted on Network Cloud.

delete

public abstract void delete(String resourceGroupName, String kubernetesClusterName)

Delete the provided Kubernetes cluster.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
kubernetesClusterName - The name of the Kubernetes cluster.

delete

public abstract void delete(String resourceGroupName, String kubernetesClusterName, String ifMatch, String ifNoneMatch, Context context)

Delete the provided Kubernetes cluster.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
kubernetesClusterName - The name of the Kubernetes cluster.
ifMatch - The ETag of the transformation. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting concurrent changes.
ifNoneMatch - Set to '*' to allow a new record set to be created, but to prevent updating an existing resource. Other values will result in error from server as they are not supported.
context - The context to associate with this operation.

getByResourceGroup

public abstract KubernetesClusterInner getByResourceGroup(String resourceGroupName, String kubernetesClusterName)

Get properties of the provided the Kubernetes cluster.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
kubernetesClusterName - The name of the Kubernetes cluster.

Returns:

properties of the provided the Kubernetes cluster.

getByResourceGroupWithResponse

public abstract Response<KubernetesClusterInner> getByResourceGroupWithResponse(String resourceGroupName, String kubernetesClusterName, Context context)

Get properties of the provided the Kubernetes cluster.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
kubernetesClusterName - The name of the Kubernetes cluster.
context - The context to associate with this operation.

Returns:

properties of the provided the Kubernetes cluster along with Response<T>.

list

public abstract PagedIterable<KubernetesClusterInner> list()

Get a list of Kubernetes clusters in the provided subscription.

Returns:

a list of Kubernetes clusters in the provided subscription as paginated response with PagedIterable<T>.

list

public abstract PagedIterable<KubernetesClusterInner> list(Integer top, String skipToken, Context context)

Get a list of Kubernetes clusters in the provided subscription.

Parameters:

top - The maximum number of resources to return from the operation. Example: '$top=10'.
skipToken - The opaque token that the server returns to indicate where to continue listing resources from. This is used for paging through large result sets.
context - The context to associate with this operation.

Returns:

a list of Kubernetes clusters in the provided subscription as paginated response with PagedIterable<T>.

listByResourceGroup

public abstract PagedIterable<KubernetesClusterInner> listByResourceGroup(String resourceGroupName)

Get a list of Kubernetes clusters in the provided resource group.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.

Returns:

a list of Kubernetes clusters in the provided resource group as paginated response with PagedIterable<T>.

listByResourceGroup

public abstract PagedIterable<KubernetesClusterInner> listByResourceGroup(String resourceGroupName, Integer top, String skipToken, Context context)

Get a list of Kubernetes clusters in the provided resource group.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
top - The maximum number of resources to return from the operation. Example: '$top=10'.
skipToken - The opaque token that the server returns to indicate where to continue listing resources from. This is used for paging through large result sets.
context - The context to associate with this operation.

Returns:

a list of Kubernetes clusters in the provided resource group as paginated response with PagedIterable<T>.

restartNode

public abstract OperationStatusResult restartNode(String resourceGroupName, String kubernetesClusterName, KubernetesClusterRestartNodeParameters kubernetesClusterRestartNodeParameters)

Restart a targeted node of a Kubernetes cluster.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
kubernetesClusterName - The name of the Kubernetes cluster.
kubernetesClusterRestartNodeParameters - The request body.

Returns:

the response.

restartNode

public abstract OperationStatusResult restartNode(String resourceGroupName, String kubernetesClusterName, KubernetesClusterRestartNodeParameters kubernetesClusterRestartNodeParameters, Context context)

Restart a targeted node of a Kubernetes cluster.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
kubernetesClusterName - The name of the Kubernetes cluster.
kubernetesClusterRestartNodeParameters - The request body.
context - The context to associate with this operation.

Returns:

the response.

update

public abstract KubernetesClusterInner update(String resourceGroupName, String kubernetesClusterName)

Patch the properties of the provided Kubernetes cluster, or update the tags associated with the Kubernetes cluster. Properties and tag updates can be done independently.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
kubernetesClusterName - The name of the Kubernetes cluster.

Returns:

kubernetesCluster represents the Kubernetes cluster hosted on Network Cloud.

update

public abstract KubernetesClusterInner update(String resourceGroupName, String kubernetesClusterName, String ifMatch, String ifNoneMatch, KubernetesClusterPatchParameters kubernetesClusterUpdateParameters, Context context)

Patch the properties of the provided Kubernetes cluster, or update the tags associated with the Kubernetes cluster. Properties and tag updates can be done independently.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
kubernetesClusterName - The name of the Kubernetes cluster.
ifMatch - The ETag of the transformation. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting concurrent changes.
ifNoneMatch - Set to '*' to allow a new record set to be created, but to prevent updating an existing resource. Other values will result in error from server as they are not supported.
kubernetesClusterUpdateParameters - The request body.
context - The context to associate with this operation.

Returns:

kubernetesCluster represents the Kubernetes cluster hosted on Network Cloud.

Applies to