Compartilhar via


Service class

Classe que representa um serviço.

Construtores

Service(ServiceFabricMeshManagementClientContext)

Criar um serviço.

Métodos

get(string, string, string, RequestOptionsBase)

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

get(string, string, string, RequestOptionsBase, ServiceCallback<ServiceResourceDescription>)
get(string, string, string, ServiceCallback<ServiceResourceDescription>)
list(string, string, RequestOptionsBase)

Obtém as informações sobre todos os serviços de um recurso de aplicativo. As informações incluem a descrição e outras propriedades do Serviço.

list(string, string, RequestOptionsBase, ServiceCallback<ServiceResourceDescriptionList>)
list(string, string, ServiceCallback<ServiceResourceDescriptionList>)
listNext(string, RequestOptionsBase)

Obtém as informações sobre todos os serviços de um recurso de aplicativo. As informações incluem a descrição e outras propriedades do Serviço.

listNext(string, RequestOptionsBase, ServiceCallback<ServiceResourceDescriptionList>)
listNext(string, ServiceCallback<ServiceResourceDescriptionList>)

Detalhes do construtor

Service(ServiceFabricMeshManagementClientContext)

Criar um serviço.

new Service(client: ServiceFabricMeshManagementClientContext)

Parâmetros

client
ServiceFabricMeshManagementClientContext

Referência ao cliente de serviço.

Detalhes do método

get(string, string, string, RequestOptionsBase)

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

function get(resourceGroupName: string, applicationResourceName: string, serviceResourceName: string, options?: RequestOptionsBase): Promise<ServiceGetResponse>

Parâmetros

resourceGroupName

string

Nome do grupo de recursos do Azure

applicationResourceName

string

A identidade do aplicativo.

serviceResourceName

string

A identidade do serviço.

options
RequestOptionsBase

Os parâmetros opcionais

Retornos

< Promise>Models.ServiceGetResponse

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

function get(resourceGroupName: string, applicationResourceName: string, serviceResourceName: string, options: RequestOptionsBase, callback: ServiceCallback<ServiceResourceDescription>)

Parâmetros

resourceGroupName

string

Nome do grupo de recursos do Azure

applicationResourceName

string

A identidade do aplicativo.

serviceResourceName

string

A identidade do serviço.

options
RequestOptionsBase

Os parâmetros opcionais

callback

ServiceCallback<ServiceResourceDescription>

O retorno de chamada

get(string, string, string, ServiceCallback<ServiceResourceDescription>)

function get(resourceGroupName: string, applicationResourceName: string, serviceResourceName: string, callback: ServiceCallback<ServiceResourceDescription>)

Parâmetros

resourceGroupName

string

Nome do grupo de recursos do Azure

applicationResourceName

string

A identidade do aplicativo.

serviceResourceName

string

A identidade do serviço.

callback

ServiceCallback<ServiceResourceDescription>

O retorno de chamada

list(string, string, RequestOptionsBase)

Obtém as informações sobre todos os serviços de um recurso de aplicativo. As informações incluem a descrição e outras propriedades do Serviço.

function list(resourceGroupName: string, applicationResourceName: string, options?: RequestOptionsBase): Promise<ServiceListResponse>

Parâmetros

resourceGroupName

string

Nome do grupo de recursos do Azure

applicationResourceName

string

A identidade do aplicativo.

options
RequestOptionsBase

Os parâmetros opcionais

Retornos

< Promise>Models.ServiceListResponse

list(string, string, RequestOptionsBase, ServiceCallback<ServiceResourceDescriptionList>)

function list(resourceGroupName: string, applicationResourceName: string, options: RequestOptionsBase, callback: ServiceCallback<ServiceResourceDescriptionList>)

Parâmetros

resourceGroupName

string

Nome do grupo de recursos do Azure

applicationResourceName

string

A identidade do aplicativo.

options
RequestOptionsBase

Os parâmetros opcionais

callback

ServiceCallback<ServiceResourceDescriptionList>

O retorno de chamada

list(string, string, ServiceCallback<ServiceResourceDescriptionList>)

function list(resourceGroupName: string, applicationResourceName: string, callback: ServiceCallback<ServiceResourceDescriptionList>)

Parâmetros

resourceGroupName

string

Nome do grupo de recursos do Azure

applicationResourceName

string

A identidade do aplicativo.

callback

ServiceCallback<ServiceResourceDescriptionList>

O retorno de chamada

listNext(string, RequestOptionsBase)

Obtém as informações sobre todos os serviços de um recurso de aplicativo. As informações incluem a descrição e outras propriedades do Serviço.

function listNext(nextPageLink: string, options?: RequestOptionsBase): Promise<ServiceListNextResponse>

Parâmetros

nextPageLink

string

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

options
RequestOptionsBase

Os parâmetros opcionais

Retornos

< Promise>Models.ServiceListNextResponse

listNext(string, RequestOptionsBase, ServiceCallback<ServiceResourceDescriptionList>)

function listNext(nextPageLink: string, options: RequestOptionsBase, callback: ServiceCallback<ServiceResourceDescriptionList>)

Parâmetros

nextPageLink

string

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

options
RequestOptionsBase

Os parâmetros opcionais

callback

ServiceCallback<ServiceResourceDescriptionList>

O retorno de chamada

listNext(string, ServiceCallback<ServiceResourceDescriptionList>)

function listNext(nextPageLink: string, callback: ServiceCallback<ServiceResourceDescriptionList>)

Parâmetros

nextPageLink

string

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

callback

ServiceCallback<ServiceResourceDescriptionList>

O retorno de chamada