MeshApplication class

Classe que representa um MeshApplication.

Construtores

MeshApplication(ServiceFabricClientContext)

Crie um MeshApplication.

Métodos

createOrUpdate(string, ApplicationResourceDescription, RequestOptionsBase)

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

createOrUpdate(string, ApplicationResourceDescription, RequestOptionsBase, ServiceCallback<ApplicationResourceDescription>)
createOrUpdate(string, ApplicationResourceDescription, ServiceCallback<ApplicationResourceDescription>)
deleteMethod(string, RequestOptionsBase)

Exclui o recurso de aplicativo identificado pelo nome.

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

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

get(string, RequestOptionsBase, ServiceCallback<ApplicationResourceDescription>)
get(string, ServiceCallback<ApplicationResourceDescription>)
getUpgradeProgress(string, RequestOptionsBase)

Obtém as informações de progresso da atualização sobre o recurso de aplicativo com o nome fornecido. As informações incluem percentual de conclusão e outras informações de estado de atualização do recurso de aplicativo.

getUpgradeProgress(string, RequestOptionsBase, ServiceCallback<ApplicationResourceUpgradeProgressInfo>)
getUpgradeProgress(string, ServiceCallback<ApplicationResourceUpgradeProgressInfo>)
list(RequestOptionsBase)

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

list(RequestOptionsBase, ServiceCallback<PagedApplicationResourceDescriptionList>)
list(ServiceCallback<PagedApplicationResourceDescriptionList>)

Detalhes do construtor

MeshApplication(ServiceFabricClientContext)

Crie um MeshApplication.

new MeshApplication(client: ServiceFabricClientContext)

Parâmetros

client
ServiceFabricClientContext

Referência ao cliente de serviço.

Detalhes do método

createOrUpdate(string, ApplicationResourceDescription, RequestOptionsBase)

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

function createOrUpdate(applicationResourceName: string, applicationResourceDescription: ApplicationResourceDescription, options?: RequestOptionsBase): Promise<MeshApplicationCreateOrUpdateResponse>

Parâmetros

applicationResourceName

string

A identidade do aplicativo.

applicationResourceDescription
ApplicationResourceDescription

Descrição para criar um recurso de aplicativo.

options
RequestOptionsBase

Os parâmetros opcionais

Retornos

Promise<Models.MeshApplicationCreateOrUpdateResponse>

createOrUpdate(string, ApplicationResourceDescription, RequestOptionsBase, ServiceCallback<ApplicationResourceDescription>)

function createOrUpdate(applicationResourceName: string, applicationResourceDescription: ApplicationResourceDescription, options: RequestOptionsBase, callback: ServiceCallback<ApplicationResourceDescription>)

Parâmetros

applicationResourceName

string

A identidade do aplicativo.

applicationResourceDescription
ApplicationResourceDescription

Descrição para criar um recurso de aplicativo.

options
RequestOptionsBase

Os parâmetros opcionais

callback

ServiceCallback<ApplicationResourceDescription>

O retorno de chamada

createOrUpdate(string, ApplicationResourceDescription, ServiceCallback<ApplicationResourceDescription>)

function createOrUpdate(applicationResourceName: string, applicationResourceDescription: ApplicationResourceDescription, callback: ServiceCallback<ApplicationResourceDescription>)

Parâmetros

applicationResourceName

string

A identidade do aplicativo.

applicationResourceDescription
ApplicationResourceDescription

Descrição para criar um recurso de aplicativo.

callback

ServiceCallback<ApplicationResourceDescription>

O retorno de chamada

deleteMethod(string, RequestOptionsBase)

Exclui o recurso de aplicativo identificado pelo nome.

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

Parâmetros

applicationResourceName

string

A identidade do aplicativo.

options
RequestOptionsBase

Os parâmetros opcionais

Retornos

Promise<RestResponse>

Promessa<> msRest.RestResponse

deleteMethod(string, RequestOptionsBase, ServiceCallback<void>)

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

Parâmetros

applicationResourceName

string

A identidade do aplicativo.

options
RequestOptionsBase

Os parâmetros opcionais

callback

ServiceCallback<void>

O retorno de chamada

deleteMethod(string, ServiceCallback<void>)

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

Parâmetros

applicationResourceName

string

A identidade do aplicativo.

callback

ServiceCallback<void>

O retorno de chamada

get(string, RequestOptionsBase)

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

function get(applicationResourceName: string, options?: RequestOptionsBase): Promise<MeshApplicationGetResponse>

Parâmetros

applicationResourceName

string

A identidade do aplicativo.

options
RequestOptionsBase

Os parâmetros opcionais

Retornos

< Promise>Models.MeshApplicationGetResponse

get(string, RequestOptionsBase, ServiceCallback<ApplicationResourceDescription>)

function get(applicationResourceName: string, options: RequestOptionsBase, callback: ServiceCallback<ApplicationResourceDescription>)

Parâmetros

applicationResourceName

string

A identidade do aplicativo.

options
RequestOptionsBase

Os parâmetros opcionais

callback

ServiceCallback<ApplicationResourceDescription>

O retorno de chamada

get(string, ServiceCallback<ApplicationResourceDescription>)

function get(applicationResourceName: string, callback: ServiceCallback<ApplicationResourceDescription>)

Parâmetros

applicationResourceName

string

A identidade do aplicativo.

callback

ServiceCallback<ApplicationResourceDescription>

O retorno de chamada

getUpgradeProgress(string, RequestOptionsBase)

Obtém as informações de progresso da atualização sobre o recurso de aplicativo com o nome fornecido. As informações incluem percentual de conclusão e outras informações de estado de atualização do recurso de aplicativo.

function getUpgradeProgress(applicationResourceName: string, options?: RequestOptionsBase): Promise<MeshApplicationGetUpgradeProgressResponse>

Parâmetros

applicationResourceName

string

A identidade do aplicativo.

options
RequestOptionsBase

Os parâmetros opcionais

Retornos

Promise<Models.MeshApplicationGetUpgradeProgressResponse>

getUpgradeProgress(string, RequestOptionsBase, ServiceCallback<ApplicationResourceUpgradeProgressInfo>)

function getUpgradeProgress(applicationResourceName: string, options: RequestOptionsBase, callback: ServiceCallback<ApplicationResourceUpgradeProgressInfo>)

Parâmetros

applicationResourceName

string

A identidade do aplicativo.

options
RequestOptionsBase

Os parâmetros opcionais

getUpgradeProgress(string, ServiceCallback<ApplicationResourceUpgradeProgressInfo>)

function getUpgradeProgress(applicationResourceName: string, callback: ServiceCallback<ApplicationResourceUpgradeProgressInfo>)

Parâmetros

applicationResourceName

string

A identidade do aplicativo.

list(RequestOptionsBase)

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

function list(options?: RequestOptionsBase): Promise<MeshApplicationListResponse>

Parâmetros

options
RequestOptionsBase

Os parâmetros opcionais

Retornos

< Promise>Models.MeshApplicationListResponse

list(RequestOptionsBase, ServiceCallback<PagedApplicationResourceDescriptionList>)

function list(options: RequestOptionsBase, callback: ServiceCallback<PagedApplicationResourceDescriptionList>)

Parâmetros

options
RequestOptionsBase

Os parâmetros opcionais

list(ServiceCallback<PagedApplicationResourceDescriptionList>)

function list(callback: ServiceCallback<PagedApplicationResourceDescriptionList>)

Parâmetros