Clusters interface

Interface representing a Clusters.

Methods

beginCreate(string, string, ClustersCreateOptionalParams)

Create Or Update cluster.

beginCreateAndWait(string, string, ClustersCreateOptionalParams)

Create Or Update cluster.

beginDelete(string, string, ClustersDeleteOptionalParams)

Implements cluster DELETE method.

beginDeleteAndWait(string, string, ClustersDeleteOptionalParams)

Implements cluster DELETE method.

get(string, string, ClustersGetOptionalParams)

Implements cluster GET method.

list(ClustersListOptionalParams)

List of clusters in a subscription.

listByResourceGroup(string, ClustersListByResourceGroupOptionalParams)

List of clusters in a resource group.

update(string, string, ClustersUpdateOptionalParams)

API to update certain properties of the cluster resource.

Method Details

beginCreate(string, string, ClustersCreateOptionalParams)

Create Or Update cluster.

function beginCreate(resourceGroupName: string, clusterName: string, options?: ClustersCreateOptionalParams): Promise<SimplePollerLike<OperationState<Cluster>, Cluster>>

Parameters

resourceGroupName

string

The Resource Group Name.

clusterName

string

Name of the cluster.

options
ClustersCreateOptionalParams

The options parameters.

Returns

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

beginCreateAndWait(string, string, ClustersCreateOptionalParams)

Create Or Update cluster.

function beginCreateAndWait(resourceGroupName: string, clusterName: string, options?: ClustersCreateOptionalParams): Promise<Cluster>

Parameters

resourceGroupName

string

The Resource Group Name.

clusterName

string

Name of the cluster.

options
ClustersCreateOptionalParams

The options parameters.

Returns

Promise<Cluster>

beginDelete(string, string, ClustersDeleteOptionalParams)

Implements cluster DELETE method.

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

Parameters

resourceGroupName

string

The Resource Group Name.

clusterName

string

Name of the cluster.

options
ClustersDeleteOptionalParams

The options parameters.

Returns

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

beginDeleteAndWait(string, string, ClustersDeleteOptionalParams)

Implements cluster DELETE method.

function beginDeleteAndWait(resourceGroupName: string, clusterName: string, options?: ClustersDeleteOptionalParams): Promise<void>

Parameters

resourceGroupName

string

The Resource Group Name.

clusterName

string

Name of the cluster.

options
ClustersDeleteOptionalParams

The options parameters.

Returns

Promise<void>

get(string, string, ClustersGetOptionalParams)

Implements cluster GET method.

function get(resourceGroupName: string, clusterName: string, options?: ClustersGetOptionalParams): Promise<Cluster>

Parameters

resourceGroupName

string

The Resource Group Name.

clusterName

string

Name of the cluster.

options
ClustersGetOptionalParams

The options parameters.

Returns

Promise<Cluster>

list(ClustersListOptionalParams)

List of clusters in a subscription.

function list(options?: ClustersListOptionalParams): PagedAsyncIterableIterator<Cluster, Cluster[], PageSettings>

Parameters

options
ClustersListOptionalParams

The options parameters.

Returns

listByResourceGroup(string, ClustersListByResourceGroupOptionalParams)

List of clusters in a resource group.

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

Parameters

resourceGroupName

string

The Resource Group Name.

options
ClustersListByResourceGroupOptionalParams

The options parameters.

Returns

update(string, string, ClustersUpdateOptionalParams)

API to update certain properties of the cluster resource.

function update(resourceGroupName: string, clusterName: string, options?: ClustersUpdateOptionalParams): Promise<Cluster>

Parameters

resourceGroupName

string

The Resource Group Name.

clusterName

string

Name of the cluster.

options
ClustersUpdateOptionalParams

The options parameters.

Returns

Promise<Cluster>