Compartilhar via


Clusters interface

Interface que representa um Clusters.

Métodos

beginCreate(string, string, ClustersCreateOptionalParams)

Criar ou atualizar cluster.

beginCreateAndWait(string, string, ClustersCreateOptionalParams)

Criar ou atualizar cluster.

beginDelete(string, string, ClustersDeleteOptionalParams)

Implementa o método DELETE do cluster.

beginDeleteAndWait(string, string, ClustersDeleteOptionalParams)

Implementa o método DELETE do cluster.

get(string, string, ClustersGetOptionalParams)

Implementa o método GET do cluster.

list(ClustersListOptionalParams)

Lista de clusters em uma assinatura.

listByResourceGroup(string, ClustersListByResourceGroupOptionalParams)

Lista de clusters em um grupo de recursos.

update(string, string, ClustersUpdateOptionalParams)

API para atualizar determinadas propriedades do recurso de cluster.

Detalhes do método

beginCreate(string, string, ClustersCreateOptionalParams)

Criar ou atualizar cluster.

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

Parâmetros

resourceGroupName

string

O nome do grupo de recursos.

clusterName

string

Nome do cluster.

options
ClustersCreateOptionalParams

Os parâmetros de opções.

Retornos

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

beginCreateAndWait(string, string, ClustersCreateOptionalParams)

Criar ou atualizar cluster.

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

Parâmetros

resourceGroupName

string

O nome do grupo de recursos.

clusterName

string

Nome do cluster.

options
ClustersCreateOptionalParams

Os parâmetros de opções.

Retornos

Promise<Cluster>

beginDelete(string, string, ClustersDeleteOptionalParams)

Implementa o método DELETE do cluster.

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

Parâmetros

resourceGroupName

string

O nome do grupo de recursos.

clusterName

string

Nome do cluster.

options
ClustersDeleteOptionalParams

Os parâmetros de opções.

Retornos

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

beginDeleteAndWait(string, string, ClustersDeleteOptionalParams)

Implementa o método DELETE do cluster.

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

Parâmetros

resourceGroupName

string

O nome do grupo de recursos.

clusterName

string

Nome do cluster.

options
ClustersDeleteOptionalParams

Os parâmetros de opções.

Retornos

Promise<void>

get(string, string, ClustersGetOptionalParams)

Implementa o método GET do cluster.

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

Parâmetros

resourceGroupName

string

O nome do grupo de recursos.

clusterName

string

Nome do cluster.

options
ClustersGetOptionalParams

Os parâmetros de opções.

Retornos

Promise<Cluster>

list(ClustersListOptionalParams)

Lista de clusters em uma assinatura.

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

Parâmetros

options
ClustersListOptionalParams

Os parâmetros de opções.

Retornos

listByResourceGroup(string, ClustersListByResourceGroupOptionalParams)

Lista de clusters em um grupo de recursos.

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

Parâmetros

resourceGroupName

string

O nome do grupo de recursos.

options
ClustersListByResourceGroupOptionalParams

Os parâmetros de opções.

Retornos

update(string, string, ClustersUpdateOptionalParams)

API para atualizar determinadas propriedades do recurso de cluster.

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

Parâmetros

resourceGroupName

string

O nome do grupo de recursos.

clusterName

string

Nome do cluster.

options
ClustersUpdateOptionalParams

Os parâmetros de opções.

Retornos

Promise<Cluster>