KubernetesClusters interface

Interface representing a KubernetesClusters.

Methods

beginCreateOrUpdate(string, string, KubernetesCluster, KubernetesClustersCreateOrUpdateOptionalParams)

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

beginCreateOrUpdateAndWait(string, string, KubernetesCluster, KubernetesClustersCreateOrUpdateOptionalParams)

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

beginDelete(string, string, KubernetesClustersDeleteOptionalParams)

Delete the provided Kubernetes cluster.

beginDeleteAndWait(string, string, KubernetesClustersDeleteOptionalParams)

Delete the provided Kubernetes cluster.

beginRestartNode(string, string, KubernetesClusterRestartNodeParameters, KubernetesClustersRestartNodeOptionalParams)

Restart a targeted node of a Kubernetes cluster.

beginRestartNodeAndWait(string, string, KubernetesClusterRestartNodeParameters, KubernetesClustersRestartNodeOptionalParams)

Restart a targeted node of a Kubernetes cluster.

beginUpdate(string, string, KubernetesClustersUpdateOptionalParams)

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.

beginUpdateAndWait(string, string, KubernetesClustersUpdateOptionalParams)

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.

get(string, string, KubernetesClustersGetOptionalParams)

Get properties of the provided the Kubernetes cluster.

listByResourceGroup(string, KubernetesClustersListByResourceGroupOptionalParams)

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

listBySubscription(KubernetesClustersListBySubscriptionOptionalParams)

Get a list of Kubernetes clusters in the provided subscription.

Method Details

beginCreateOrUpdate(string, string, KubernetesCluster, KubernetesClustersCreateOrUpdateOptionalParams)

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

function beginCreateOrUpdate(resourceGroupName: string, kubernetesClusterName: string, kubernetesClusterParameters: KubernetesCluster, options?: KubernetesClustersCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<KubernetesCluster>, KubernetesCluster>>

Parameters

resourceGroupName

string

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

kubernetesClusterName

string

The name of the Kubernetes cluster.

kubernetesClusterParameters
KubernetesCluster

The request body.

options
KubernetesClustersCreateOrUpdateOptionalParams

The options parameters.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<KubernetesCluster>, KubernetesCluster>>

beginCreateOrUpdateAndWait(string, string, KubernetesCluster, KubernetesClustersCreateOrUpdateOptionalParams)

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

function beginCreateOrUpdateAndWait(resourceGroupName: string, kubernetesClusterName: string, kubernetesClusterParameters: KubernetesCluster, options?: KubernetesClustersCreateOrUpdateOptionalParams): Promise<KubernetesCluster>

Parameters

resourceGroupName

string

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

kubernetesClusterName

string

The name of the Kubernetes cluster.

kubernetesClusterParameters
KubernetesCluster

The request body.

options
KubernetesClustersCreateOrUpdateOptionalParams

The options parameters.

Returns

beginDelete(string, string, KubernetesClustersDeleteOptionalParams)

Delete the provided Kubernetes cluster.

function beginDelete(resourceGroupName: string, kubernetesClusterName: string, options?: KubernetesClustersDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>

Parameters

resourceGroupName

string

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

kubernetesClusterName

string

The name of the Kubernetes cluster.

options
KubernetesClustersDeleteOptionalParams

The options parameters.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>

beginDeleteAndWait(string, string, KubernetesClustersDeleteOptionalParams)

Delete the provided Kubernetes cluster.

function beginDeleteAndWait(resourceGroupName: string, kubernetesClusterName: string, options?: KubernetesClustersDeleteOptionalParams): Promise<void>

Parameters

resourceGroupName

string

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

kubernetesClusterName

string

The name of the Kubernetes cluster.

options
KubernetesClustersDeleteOptionalParams

The options parameters.

Returns

Promise<void>

beginRestartNode(string, string, KubernetesClusterRestartNodeParameters, KubernetesClustersRestartNodeOptionalParams)

Restart a targeted node of a Kubernetes cluster.

function beginRestartNode(resourceGroupName: string, kubernetesClusterName: string, kubernetesClusterRestartNodeParameters: KubernetesClusterRestartNodeParameters, options?: KubernetesClustersRestartNodeOptionalParams): Promise<SimplePollerLike<OperationState<OperationStatusResult>, OperationStatusResult>>

Parameters

resourceGroupName

string

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

kubernetesClusterName

string

The name of the Kubernetes cluster.

kubernetesClusterRestartNodeParameters
KubernetesClusterRestartNodeParameters

The request body.

options
KubernetesClustersRestartNodeOptionalParams

The options parameters.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<OperationStatusResult>, OperationStatusResult>>

beginRestartNodeAndWait(string, string, KubernetesClusterRestartNodeParameters, KubernetesClustersRestartNodeOptionalParams)

Restart a targeted node of a Kubernetes cluster.

function beginRestartNodeAndWait(resourceGroupName: string, kubernetesClusterName: string, kubernetesClusterRestartNodeParameters: KubernetesClusterRestartNodeParameters, options?: KubernetesClustersRestartNodeOptionalParams): Promise<OperationStatusResult>

Parameters

resourceGroupName

string

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

kubernetesClusterName

string

The name of the Kubernetes cluster.

kubernetesClusterRestartNodeParameters
KubernetesClusterRestartNodeParameters

The request body.

options
KubernetesClustersRestartNodeOptionalParams

The options parameters.

Returns

beginUpdate(string, string, KubernetesClustersUpdateOptionalParams)

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.

function beginUpdate(resourceGroupName: string, kubernetesClusterName: string, options?: KubernetesClustersUpdateOptionalParams): Promise<SimplePollerLike<OperationState<KubernetesCluster>, KubernetesCluster>>

Parameters

resourceGroupName

string

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

kubernetesClusterName

string

The name of the Kubernetes cluster.

options
KubernetesClustersUpdateOptionalParams

The options parameters.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<KubernetesCluster>, KubernetesCluster>>

beginUpdateAndWait(string, string, KubernetesClustersUpdateOptionalParams)

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.

function beginUpdateAndWait(resourceGroupName: string, kubernetesClusterName: string, options?: KubernetesClustersUpdateOptionalParams): Promise<KubernetesCluster>

Parameters

resourceGroupName

string

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

kubernetesClusterName

string

The name of the Kubernetes cluster.

options
KubernetesClustersUpdateOptionalParams

The options parameters.

Returns

get(string, string, KubernetesClustersGetOptionalParams)

Get properties of the provided the Kubernetes cluster.

function get(resourceGroupName: string, kubernetesClusterName: string, options?: KubernetesClustersGetOptionalParams): Promise<KubernetesCluster>

Parameters

resourceGroupName

string

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

kubernetesClusterName

string

The name of the Kubernetes cluster.

options
KubernetesClustersGetOptionalParams

The options parameters.

Returns

listByResourceGroup(string, KubernetesClustersListByResourceGroupOptionalParams)

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

function listByResourceGroup(resourceGroupName: string, options?: KubernetesClustersListByResourceGroupOptionalParams): PagedAsyncIterableIterator<KubernetesCluster, KubernetesCluster[], PageSettings>

Parameters

resourceGroupName

string

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

options
KubernetesClustersListByResourceGroupOptionalParams

The options parameters.

Returns

listBySubscription(KubernetesClustersListBySubscriptionOptionalParams)

Get a list of Kubernetes clusters in the provided subscription.

function listBySubscription(options?: KubernetesClustersListBySubscriptionOptionalParams): PagedAsyncIterableIterator<KubernetesCluster, KubernetesCluster[], PageSettings>

Parameters

options
KubernetesClustersListBySubscriptionOptionalParams

The options parameters.

Returns