Compartilhar via


Network class

Classe que representa uma Rede.

Construtores

Network(ServiceFabricMeshManagementClientContext)

Criar uma rede.

Métodos

create(string, string, NetworkResourceDescription, RequestOptionsBase)

Cria um recurso de rede com o nome, a descrição e as propriedades especificados. Se existir um recurso de rede com o mesmo nome, ele será atualizado com a descrição e as propriedades especificadas.

create(string, string, NetworkResourceDescription, RequestOptionsBase, ServiceCallback<NetworkResourceDescription>)
create(string, string, NetworkResourceDescription, ServiceCallback<NetworkResourceDescription>)
deleteMethod(string, string, RequestOptionsBase)

Exclui o recurso de rede identificado pelo nome.

deleteMethod(string, string, RequestOptionsBase, ServiceCallback<void>)
deleteMethod(string, string, ServiceCallback<void>)
get(string, string, RequestOptionsBase)

Obtém as informações sobre o recurso de rede com o nome fornecido. As informações incluem a descrição e outras propriedades da rede.

get(string, string, RequestOptionsBase, ServiceCallback<NetworkResourceDescription>)
get(string, string, ServiceCallback<NetworkResourceDescription>)
listByResourceGroup(string, RequestOptionsBase)

Obtém as informações sobre todos os recursos de rede em um determinado grupo de recursos. As informações incluem a descrição e outras propriedades da rede.

listByResourceGroup(string, RequestOptionsBase, ServiceCallback<NetworkResourceDescriptionList>)
listByResourceGroup(string, ServiceCallback<NetworkResourceDescriptionList>)
listByResourceGroupNext(string, RequestOptionsBase)

Obtém as informações sobre todos os recursos de rede em um determinado grupo de recursos. As informações incluem a descrição e outras propriedades da rede.

listByResourceGroupNext(string, RequestOptionsBase, ServiceCallback<NetworkResourceDescriptionList>)
listByResourceGroupNext(string, ServiceCallback<NetworkResourceDescriptionList>)
listBySubscription(RequestOptionsBase)

Obtém as informações sobre todos os recursos de rede em um determinado grupo de recursos. As informações incluem a descrição e outras propriedades da rede.

listBySubscription(RequestOptionsBase, ServiceCallback<NetworkResourceDescriptionList>)
listBySubscription(ServiceCallback<NetworkResourceDescriptionList>)
listBySubscriptionNext(string, RequestOptionsBase)

Obtém as informações sobre todos os recursos de rede em um determinado grupo de recursos. As informações incluem a descrição e outras propriedades da rede.

listBySubscriptionNext(string, RequestOptionsBase, ServiceCallback<NetworkResourceDescriptionList>)
listBySubscriptionNext(string, ServiceCallback<NetworkResourceDescriptionList>)

Detalhes do construtor

Network(ServiceFabricMeshManagementClientContext)

Criar uma rede.

new Network(client: ServiceFabricMeshManagementClientContext)

Parâmetros

client
ServiceFabricMeshManagementClientContext

Referência ao cliente de serviço.

Detalhes do método

create(string, string, NetworkResourceDescription, RequestOptionsBase)

Cria um recurso de rede com o nome, a descrição e as propriedades especificados. Se existir um recurso de rede com o mesmo nome, ele será atualizado com a descrição e as propriedades especificadas.

function create(resourceGroupName: string, networkResourceName: string, networkResourceDescription: NetworkResourceDescription, options?: RequestOptionsBase): Promise<NetworkCreateResponse>

Parâmetros

resourceGroupName

string

Nome do grupo de recursos do Azure

networkResourceName

string

A identidade da rede.

networkResourceDescription
NetworkResourceDescription

Descrição para criar um recurso de rede.

options
RequestOptionsBase

Os parâmetros opcionais

Retornos

Promise<Models.NetworkCreateResponse>

create(string, string, NetworkResourceDescription, RequestOptionsBase, ServiceCallback<NetworkResourceDescription>)

function create(resourceGroupName: string, networkResourceName: string, networkResourceDescription: NetworkResourceDescription, options: RequestOptionsBase, callback: ServiceCallback<NetworkResourceDescription>)

Parâmetros

resourceGroupName

string

Nome do grupo de recursos do Azure

networkResourceName

string

A identidade da rede.

networkResourceDescription
NetworkResourceDescription

Descrição para criar um recurso de rede.

options
RequestOptionsBase

Os parâmetros opcionais

callback

ServiceCallback<NetworkResourceDescription>

O retorno de chamada

create(string, string, NetworkResourceDescription, ServiceCallback<NetworkResourceDescription>)

function create(resourceGroupName: string, networkResourceName: string, networkResourceDescription: NetworkResourceDescription, callback: ServiceCallback<NetworkResourceDescription>)

Parâmetros

resourceGroupName

string

Nome do grupo de recursos do Azure

networkResourceName

string

A identidade da rede.

networkResourceDescription
NetworkResourceDescription

Descrição para criar um recurso de rede.

callback

ServiceCallback<NetworkResourceDescription>

O retorno de chamada

deleteMethod(string, string, RequestOptionsBase)

Exclui o recurso de rede identificado pelo nome.

function deleteMethod(resourceGroupName: string, networkResourceName: string, options?: RequestOptionsBase): Promise<RestResponse>

Parâmetros

resourceGroupName

string

Nome do grupo de recursos do Azure

networkResourceName

string

A identidade da rede.

options
RequestOptionsBase

Os parâmetros opcionais

Retornos

Promise<RestResponse>

Prometa<msRest.RestResponse>

deleteMethod(string, string, RequestOptionsBase, ServiceCallback<void>)

function deleteMethod(resourceGroupName: string, networkResourceName: string, options: RequestOptionsBase, callback: ServiceCallback<void>)

Parâmetros

resourceGroupName

string

Nome do grupo de recursos do Azure

networkResourceName

string

A identidade da rede.

options
RequestOptionsBase

Os parâmetros opcionais

callback

ServiceCallback<void>

O retorno de chamada

deleteMethod(string, string, ServiceCallback<void>)

function deleteMethod(resourceGroupName: string, networkResourceName: string, callback: ServiceCallback<void>)

Parâmetros

resourceGroupName

string

Nome do grupo de recursos do Azure

networkResourceName

string

A identidade da rede.

callback

ServiceCallback<void>

O retorno de chamada

get(string, string, RequestOptionsBase)

Obtém as informações sobre o recurso de rede com o nome fornecido. As informações incluem a descrição e outras propriedades da rede.

function get(resourceGroupName: string, networkResourceName: string, options?: RequestOptionsBase): Promise<NetworkGetResponse>

Parâmetros

resourceGroupName

string

Nome do grupo de recursos do Azure

networkResourceName

string

A identidade da rede.

options
RequestOptionsBase

Os parâmetros opcionais

Retornos

Modelos de Promessa.NetworkGetResponse<>

get(string, string, RequestOptionsBase, ServiceCallback<NetworkResourceDescription>)

function get(resourceGroupName: string, networkResourceName: string, options: RequestOptionsBase, callback: ServiceCallback<NetworkResourceDescription>)

Parâmetros

resourceGroupName

string

Nome do grupo de recursos do Azure

networkResourceName

string

A identidade da rede.

options
RequestOptionsBase

Os parâmetros opcionais

callback

ServiceCallback<NetworkResourceDescription>

O retorno de chamada

get(string, string, ServiceCallback<NetworkResourceDescription>)

function get(resourceGroupName: string, networkResourceName: string, callback: ServiceCallback<NetworkResourceDescription>)

Parâmetros

resourceGroupName

string

Nome do grupo de recursos do Azure

networkResourceName

string

A identidade da rede.

callback

ServiceCallback<NetworkResourceDescription>

O retorno de chamada

listByResourceGroup(string, RequestOptionsBase)

Obtém as informações sobre todos os recursos de rede em um determinado grupo de recursos. As informações incluem a descrição e outras propriedades da rede.

function listByResourceGroup(resourceGroupName: string, options?: RequestOptionsBase): Promise<NetworkListByResourceGroupResponse>

Parâmetros

resourceGroupName

string

Nome do grupo de recursos do Azure

options
RequestOptionsBase

Os parâmetros opcionais

Retornos

Modelos de Promessa.NetworkListByResourceGroupResponse<>

listByResourceGroup(string, RequestOptionsBase, ServiceCallback<NetworkResourceDescriptionList>)

function listByResourceGroup(resourceGroupName: string, options: RequestOptionsBase, callback: ServiceCallback<NetworkResourceDescriptionList>)

Parâmetros

resourceGroupName

string

Nome do grupo de recursos do Azure

options
RequestOptionsBase

Os parâmetros opcionais

callback

ServiceCallback<NetworkResourceDescriptionList>

O retorno de chamada

listByResourceGroup(string, ServiceCallback<NetworkResourceDescriptionList>)

function listByResourceGroup(resourceGroupName: string, callback: ServiceCallback<NetworkResourceDescriptionList>)

Parâmetros

resourceGroupName

string

Nome do grupo de recursos do Azure

callback

ServiceCallback<NetworkResourceDescriptionList>

O retorno de chamada

listByResourceGroupNext(string, RequestOptionsBase)

Obtém as informações sobre todos os recursos de rede em um determinado grupo de recursos. As informações incluem a descrição e outras propriedades da rede.

function listByResourceGroupNext(nextPageLink: string, options?: RequestOptionsBase): Promise<NetworkListByResourceGroupNextResponse>

Parâmetros

nextPageLink

string

O NextLink da chamada com êxito anterior para a operação Listar.

options
RequestOptionsBase

Os parâmetros opcionais

Retornos

Modelos de Promessa.NetworkListByResourceGroupNextResponse<>

listByResourceGroupNext(string, RequestOptionsBase, ServiceCallback<NetworkResourceDescriptionList>)

function listByResourceGroupNext(nextPageLink: string, options: RequestOptionsBase, callback: ServiceCallback<NetworkResourceDescriptionList>)

Parâmetros

nextPageLink

string

O NextLink da chamada com êxito anterior para a operação Listar.

options
RequestOptionsBase

Os parâmetros opcionais

callback

ServiceCallback<NetworkResourceDescriptionList>

O retorno de chamada

listByResourceGroupNext(string, ServiceCallback<NetworkResourceDescriptionList>)

function listByResourceGroupNext(nextPageLink: string, callback: ServiceCallback<NetworkResourceDescriptionList>)

Parâmetros

nextPageLink

string

O NextLink da chamada com êxito anterior para a operação Listar.

callback

ServiceCallback<NetworkResourceDescriptionList>

O retorno de chamada

listBySubscription(RequestOptionsBase)

Obtém as informações sobre todos os recursos de rede em um determinado grupo de recursos. As informações incluem a descrição e outras propriedades da rede.

function listBySubscription(options?: RequestOptionsBase): Promise<NetworkListBySubscriptionResponse>

Parâmetros

options
RequestOptionsBase

Os parâmetros opcionais

Retornos

Promise<Models.NetworkListBySubscriptionResponse>

listBySubscription(RequestOptionsBase, ServiceCallback<NetworkResourceDescriptionList>)

function listBySubscription(options: RequestOptionsBase, callback: ServiceCallback<NetworkResourceDescriptionList>)

Parâmetros

options
RequestOptionsBase

Os parâmetros opcionais

callback

ServiceCallback<NetworkResourceDescriptionList>

O retorno de chamada

listBySubscription(ServiceCallback<NetworkResourceDescriptionList>)

function listBySubscription(callback: ServiceCallback<NetworkResourceDescriptionList>)

Parâmetros

callback

ServiceCallback<NetworkResourceDescriptionList>

O retorno de chamada

listBySubscriptionNext(string, RequestOptionsBase)

Obtém as informações sobre todos os recursos de rede em um determinado grupo de recursos. As informações incluem a descrição e outras propriedades da rede.

function listBySubscriptionNext(nextPageLink: string, options?: RequestOptionsBase): Promise<NetworkListBySubscriptionNextResponse>

Parâmetros

nextPageLink

string

O NextLink da chamada bem-sucedida anterior para a operação Listar.

options
RequestOptionsBase

Os parâmetros opcionais

Retornos

Promise<Models.NetworkListBySubscriptionNextResponse>

listBySubscriptionNext(string, RequestOptionsBase, ServiceCallback<NetworkResourceDescriptionList>)

function listBySubscriptionNext(nextPageLink: string, options: RequestOptionsBase, callback: ServiceCallback<NetworkResourceDescriptionList>)

Parâmetros

nextPageLink

string

O NextLink da chamada bem-sucedida anterior para a operação Listar.

options
RequestOptionsBase

Os parâmetros opcionais

callback

ServiceCallback<NetworkResourceDescriptionList>

O retorno de chamada

listBySubscriptionNext(string, ServiceCallback<NetworkResourceDescriptionList>)

function listBySubscriptionNext(nextPageLink: string, callback: ServiceCallback<NetworkResourceDescriptionList>)

Parâmetros

nextPageLink

string

O NextLink da chamada bem-sucedida anterior para a operação Listar.

callback

ServiceCallback<NetworkResourceDescriptionList>

O retorno de chamada