Compartilhar via


Favorites class

Classe que representa um Favoritos.

Construtores

Favorites(ApplicationInsightsManagementClientContext)

Criar um Favoritos.

Métodos

add(string, string, string, ApplicationInsightsComponentFavorite, RequestOptionsBase)

Adiciona um novo favorito a um componente do Application Insights.

add(string, string, string, ApplicationInsightsComponentFavorite, RequestOptionsBase, ServiceCallback<ApplicationInsightsComponentFavorite>)
add(string, string, string, ApplicationInsightsComponentFavorite, ServiceCallback<ApplicationInsightsComponentFavorite>)
deleteMethod(string, string, string, RequestOptionsBase)

Remova um favorito associado a um componente do Application Insights.

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

Obtenha um único favorito por sua FavoriteId, definida em um componente do Application Insights.

get(string, string, string, RequestOptionsBase, ServiceCallback<ApplicationInsightsComponentFavorite>)
get(string, string, string, ServiceCallback<ApplicationInsightsComponentFavorite>)
list(string, string, FavoritesListOptionalParams)

Obtém uma lista de favoritos definidos em um componente do Application Insights.

list(string, string, FavoritesListOptionalParams, ServiceCallback<ApplicationInsightsComponentFavorite[]>)
list(string, string, ServiceCallback<ApplicationInsightsComponentFavorite[]>)
update(string, string, string, ApplicationInsightsComponentFavorite, RequestOptionsBase)

Atualiza um favorito que já foi adicionado a um componente do Application Insights.

update(string, string, string, ApplicationInsightsComponentFavorite, RequestOptionsBase, ServiceCallback<ApplicationInsightsComponentFavorite>)
update(string, string, string, ApplicationInsightsComponentFavorite, ServiceCallback<ApplicationInsightsComponentFavorite>)

Detalhes do construtor

Favorites(ApplicationInsightsManagementClientContext)

Criar um Favoritos.

new Favorites(client: ApplicationInsightsManagementClientContext)

Parâmetros

client
ApplicationInsightsManagementClientContext

Referência ao cliente de serviço.

Detalhes do método

add(string, string, string, ApplicationInsightsComponentFavorite, RequestOptionsBase)

Adiciona um novo favorito a um componente do Application Insights.

function add(resourceGroupName: string, resourceName: string, favoriteId: string, favoriteProperties: ApplicationInsightsComponentFavorite, options?: RequestOptionsBase): Promise<FavoritesAddResponse>

Parâmetros

resourceGroupName

string

O nome do grupo de recursos. O nome não diferencia maiúsculas de minúsculas.

resourceName

string

O nome do recurso de componente do Application Insights.

favoriteId

string

A ID de um favorito específico definido no componente Application Insights

favoriteProperties
ApplicationInsightsComponentFavorite

Propriedades que precisam ser especificadas para criar um novo favorito e adicioná-lo a um componente do Application Insights.

options
RequestOptionsBase

Os parâmetros opcionais

Retornos

> Promise<Models.FavoritesAddResponse

add(string, string, string, ApplicationInsightsComponentFavorite, RequestOptionsBase, ServiceCallback<ApplicationInsightsComponentFavorite>)

function add(resourceGroupName: string, resourceName: string, favoriteId: string, favoriteProperties: ApplicationInsightsComponentFavorite, options: RequestOptionsBase, callback: ServiceCallback<ApplicationInsightsComponentFavorite>)

Parâmetros

resourceGroupName

string

O nome do grupo de recursos. O nome não diferencia maiúsculas de minúsculas.

resourceName

string

O nome do recurso de componente do Application Insights.

favoriteId

string

A ID de um favorito específico definido no componente Application Insights

favoriteProperties
ApplicationInsightsComponentFavorite

Propriedades que precisam ser especificadas para criar um novo favorito e adicioná-lo a um componente do Application Insights.

options
RequestOptionsBase

Os parâmetros opcionais

callback

ServiceCallback<ApplicationInsightsComponentFavorite>

O retorno de chamada

add(string, string, string, ApplicationInsightsComponentFavorite, ServiceCallback<ApplicationInsightsComponentFavorite>)

function add(resourceGroupName: string, resourceName: string, favoriteId: string, favoriteProperties: ApplicationInsightsComponentFavorite, callback: ServiceCallback<ApplicationInsightsComponentFavorite>)

Parâmetros

resourceGroupName

string

O nome do grupo de recursos. O nome não diferencia maiúsculas de minúsculas.

resourceName

string

O nome do recurso de componente do Application Insights.

favoriteId

string

A ID de um favorito específico definido no componente Application Insights

favoriteProperties
ApplicationInsightsComponentFavorite

Propriedades que precisam ser especificadas para criar um novo favorito e adicioná-lo a um componente do Application Insights.

callback

ServiceCallback<ApplicationInsightsComponentFavorite>

O retorno de chamada

deleteMethod(string, string, string, RequestOptionsBase)

Remova um favorito associado a um componente do Application Insights.

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

Parâmetros

resourceGroupName

string

O nome do grupo de recursos. O nome não diferencia maiúsculas de minúsculas.

resourceName

string

O nome do recurso de componente do Application Insights.

favoriteId

string

A ID de um favorito específico definido no componente Application Insights

options
RequestOptionsBase

Os parâmetros opcionais

Retornos

Promise<RestResponse>

Promessa<> msRest.RestResponse

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

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

Parâmetros

resourceGroupName

string

O nome do grupo de recursos. O nome não diferencia maiúsculas de minúsculas.

resourceName

string

O nome do recurso de componente do Application Insights.

favoriteId

string

A ID de um favorito específico definido no componente Application Insights

options
RequestOptionsBase

Os parâmetros opcionais

callback

ServiceCallback<void>

O retorno de chamada

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

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

Parâmetros

resourceGroupName

string

O nome do grupo de recursos. O nome não diferencia maiúsculas de minúsculas.

resourceName

string

O nome do recurso de componente do Application Insights.

favoriteId

string

A ID de um favorito específico definido no componente Application Insights

callback

ServiceCallback<void>

O retorno de chamada

get(string, string, string, RequestOptionsBase)

Obtenha um único favorito por sua FavoriteId, definida em um componente do Application Insights.

function get(resourceGroupName: string, resourceName: string, favoriteId: string, options?: RequestOptionsBase): Promise<FavoritesGetResponse>

Parâmetros

resourceGroupName

string

O nome do grupo de recursos. O nome não diferencia maiúsculas de minúsculas.

resourceName

string

O nome do recurso de componente do Application Insights.

favoriteId

string

A ID de um favorito específico definido no componente Application Insights

options
RequestOptionsBase

Os parâmetros opcionais

Retornos

> Promise<Models.FavoritesGetResponse

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

function get(resourceGroupName: string, resourceName: string, favoriteId: string, options: RequestOptionsBase, callback: ServiceCallback<ApplicationInsightsComponentFavorite>)

Parâmetros

resourceGroupName

string

O nome do grupo de recursos. O nome não diferencia maiúsculas de minúsculas.

resourceName

string

O nome do recurso de componente do Application Insights.

favoriteId

string

A ID de um favorito específico definido no componente Application Insights

options
RequestOptionsBase

Os parâmetros opcionais

callback

ServiceCallback<ApplicationInsightsComponentFavorite>

O retorno de chamada

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

function get(resourceGroupName: string, resourceName: string, favoriteId: string, callback: ServiceCallback<ApplicationInsightsComponentFavorite>)

Parâmetros

resourceGroupName

string

O nome do grupo de recursos. O nome não diferencia maiúsculas de minúsculas.

resourceName

string

O nome do recurso de componente do Application Insights.

favoriteId

string

A ID de um favorito específico definido no componente Application Insights

callback

ServiceCallback<ApplicationInsightsComponentFavorite>

O retorno de chamada

list(string, string, FavoritesListOptionalParams)

Obtém uma lista de favoritos definidos em um componente do Application Insights.

function list(resourceGroupName: string, resourceName: string, options?: FavoritesListOptionalParams): Promise<FavoritesListResponse>

Parâmetros

resourceGroupName

string

O nome do grupo de recursos. O nome não diferencia maiúsculas de minúsculas.

resourceName

string

O nome do recurso de componente do Application Insights.

options
FavoritesListOptionalParams

Os parâmetros opcionais

Retornos

> Promise<Models.FavoritesListResponse

list(string, string, FavoritesListOptionalParams, ServiceCallback<ApplicationInsightsComponentFavorite[]>)

function list(resourceGroupName: string, resourceName: string, options: FavoritesListOptionalParams, callback: ServiceCallback<ApplicationInsightsComponentFavorite[]>)

Parâmetros

resourceGroupName

string

O nome do grupo de recursos. O nome não diferencia maiúsculas de minúsculas.

resourceName

string

O nome do recurso de componente do Application Insights.

options
FavoritesListOptionalParams

Os parâmetros opcionais

callback

ServiceCallback<ApplicationInsightsComponentFavorite[]>

O retorno de chamada

list(string, string, ServiceCallback<ApplicationInsightsComponentFavorite[]>)

function list(resourceGroupName: string, resourceName: string, callback: ServiceCallback<ApplicationInsightsComponentFavorite[]>)

Parâmetros

resourceGroupName

string

O nome do grupo de recursos. O nome não diferencia maiúsculas de minúsculas.

resourceName

string

O nome do recurso de componente do Application Insights.

callback

ServiceCallback<ApplicationInsightsComponentFavorite[]>

O retorno de chamada

update(string, string, string, ApplicationInsightsComponentFavorite, RequestOptionsBase)

Atualiza um favorito que já foi adicionado a um componente do Application Insights.

function update(resourceGroupName: string, resourceName: string, favoriteId: string, favoriteProperties: ApplicationInsightsComponentFavorite, options?: RequestOptionsBase): Promise<FavoritesUpdateResponse>

Parâmetros

resourceGroupName

string

O nome do grupo de recursos. O nome não diferencia maiúsculas de minúsculas.

resourceName

string

O nome do recurso de componente do Application Insights.

favoriteId

string

A ID de um favorito específico definido no componente Application Insights

favoriteProperties
ApplicationInsightsComponentFavorite

Propriedades que precisam ser especificadas para atualizar o favorito existente.

options
RequestOptionsBase

Os parâmetros opcionais

Retornos

> Promise<Models.FavoritesUpdateResponse

update(string, string, string, ApplicationInsightsComponentFavorite, RequestOptionsBase, ServiceCallback<ApplicationInsightsComponentFavorite>)

function update(resourceGroupName: string, resourceName: string, favoriteId: string, favoriteProperties: ApplicationInsightsComponentFavorite, options: RequestOptionsBase, callback: ServiceCallback<ApplicationInsightsComponentFavorite>)

Parâmetros

resourceGroupName

string

O nome do grupo de recursos. O nome não diferencia maiúsculas de minúsculas.

resourceName

string

O nome do recurso de componente do Application Insights.

favoriteId

string

A ID de um favorito específico definido no componente Application Insights

favoriteProperties
ApplicationInsightsComponentFavorite

Propriedades que precisam ser especificadas para atualizar o favorito existente.

options
RequestOptionsBase

Os parâmetros opcionais

callback

ServiceCallback<ApplicationInsightsComponentFavorite>

O retorno de chamada

update(string, string, string, ApplicationInsightsComponentFavorite, ServiceCallback<ApplicationInsightsComponentFavorite>)

function update(resourceGroupName: string, resourceName: string, favoriteId: string, favoriteProperties: ApplicationInsightsComponentFavorite, callback: ServiceCallback<ApplicationInsightsComponentFavorite>)

Parâmetros

resourceGroupName

string

O nome do grupo de recursos. O nome não diferencia maiúsculas de minúsculas.

resourceName

string

O nome do recurso de componente do Application Insights.

favoriteId

string

A ID de um favorito específico definido no componente Application Insights

favoriteProperties
ApplicationInsightsComponentFavorite

Propriedades que precisam ser especificadas para atualizar o favorito existente.

callback

ServiceCallback<ApplicationInsightsComponentFavorite>

O retorno de chamada