Sdílet prostřednictvím


APIKeys class

Třída představující klíč rozhraní API.

Konstruktory

APIKeys(ApplicationInsightsManagementClientContext)

Vytvořte klíč rozhraní API.

Metody

create(string, string, APIKeyRequest, RequestOptionsBase)

Vytvořte klíč rozhraní API komponenty Application Insights.

create(string, string, APIKeyRequest, RequestOptionsBase, ServiceCallback<ApplicationInsightsComponentAPIKey>)
create(string, string, APIKeyRequest, ServiceCallback<ApplicationInsightsComponentAPIKey>)
deleteMethod(string, string, string, RequestOptionsBase)

Odstraňte klíč rozhraní API komponenty Application Insights.

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

Získejte klíč rozhraní API pro toto ID klíče.

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

Získá seznam klíčů rozhraní API komponenty Application Insights.

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

Podrobnosti konstruktoru

APIKeys(ApplicationInsightsManagementClientContext)

Vytvořte klíč rozhraní API.

new APIKeys(client: ApplicationInsightsManagementClientContext)

Parametry

client
ApplicationInsightsManagementClientContext

Odkaz na klienta služby

Podrobnosti metody

create(string, string, APIKeyRequest, RequestOptionsBase)

Vytvořte klíč rozhraní API komponenty Application Insights.

function create(resourceGroupName: string, resourceName: string, aPIKeyProperties: APIKeyRequest, options?: RequestOptionsBase): Promise<APIKeysCreateResponse>

Parametry

resourceGroupName

string

Název skupiny prostředků. V názvu se rozlišují malá a velká písmena.

resourceName

string

Název prostředku komponenty Application Insights.

aPIKeyProperties
APIKeyRequest

Vlastnosti, které je potřeba zadat k vytvoření klíče rozhraní API komponenty Application Insights.

options
RequestOptionsBase

Volitelné parametry

Návraty

Promise<Models.APIKeysCreateResponse>

create(string, string, APIKeyRequest, RequestOptionsBase, ServiceCallback<ApplicationInsightsComponentAPIKey>)

function create(resourceGroupName: string, resourceName: string, aPIKeyProperties: APIKeyRequest, options: RequestOptionsBase, callback: ServiceCallback<ApplicationInsightsComponentAPIKey>)

Parametry

resourceGroupName

string

Název skupiny prostředků. V názvu se rozlišují malá a velká písmena.

resourceName

string

Název prostředku komponenty Application Insights.

aPIKeyProperties
APIKeyRequest

Vlastnosti, které je potřeba zadat k vytvoření klíče rozhraní API komponenty Application Insights.

options
RequestOptionsBase

Volitelné parametry

create(string, string, APIKeyRequest, ServiceCallback<ApplicationInsightsComponentAPIKey>)

function create(resourceGroupName: string, resourceName: string, aPIKeyProperties: APIKeyRequest, callback: ServiceCallback<ApplicationInsightsComponentAPIKey>)

Parametry

resourceGroupName

string

Název skupiny prostředků. V názvu se rozlišují malá a velká písmena.

resourceName

string

Název prostředku komponenty Application Insights.

aPIKeyProperties
APIKeyRequest

Vlastnosti, které je potřeba zadat k vytvoření klíče rozhraní API komponenty Application Insights.

deleteMethod(string, string, string, RequestOptionsBase)

Odstraňte klíč rozhraní API komponenty Application Insights.

function deleteMethod(resourceGroupName: string, resourceName: string, keyId: string, options?: RequestOptionsBase): Promise<APIKeysDeleteMethodResponse>

Parametry

resourceGroupName

string

Název skupiny prostředků. V názvu se rozlišují malá a velká písmena.

resourceName

string

Název prostředku komponenty Application Insights.

keyId

string

ID klíče rozhraní API. To je v rámci komponenty Application Insights jedinečné.

options
RequestOptionsBase

Volitelné parametry

Návraty

Promise<Models.APIKeysDeleteMethodResponse>

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

function deleteMethod(resourceGroupName: string, resourceName: string, keyId: string, options: RequestOptionsBase, callback: ServiceCallback<ApplicationInsightsComponentAPIKey>)

Parametry

resourceGroupName

string

Název skupiny prostředků. V názvu se rozlišují malá a velká písmena.

resourceName

string

Název prostředku komponenty Application Insights.

keyId

string

ID klíče rozhraní API. To je v rámci komponenty Application Insights jedinečné.

options
RequestOptionsBase

Volitelné parametry

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

function deleteMethod(resourceGroupName: string, resourceName: string, keyId: string, callback: ServiceCallback<ApplicationInsightsComponentAPIKey>)

Parametry

resourceGroupName

string

Název skupiny prostředků. V názvu se rozlišují malá a velká písmena.

resourceName

string

Název prostředku komponenty Application Insights.

keyId

string

ID klíče rozhraní API. To je v rámci komponenty Application Insights jedinečné.

get(string, string, string, RequestOptionsBase)

Získejte klíč rozhraní API pro toto ID klíče.

function get(resourceGroupName: string, resourceName: string, keyId: string, options?: RequestOptionsBase): Promise<APIKeysGetResponse>

Parametry

resourceGroupName

string

Název skupiny prostředků. V názvu se rozlišují malá a velká písmena.

resourceName

string

Název prostředku komponenty Application Insights.

keyId

string

ID klíče rozhraní API. To je v rámci komponenty Application Insights jedinečné.

options
RequestOptionsBase

Volitelné parametry

Návraty

Promise<Models.APIKeysGetResponse>

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

function get(resourceGroupName: string, resourceName: string, keyId: string, options: RequestOptionsBase, callback: ServiceCallback<ApplicationInsightsComponentAPIKey>)

Parametry

resourceGroupName

string

Název skupiny prostředků. V názvu se rozlišují malá a velká písmena.

resourceName

string

Název prostředku komponenty Application Insights.

keyId

string

ID klíče rozhraní API. To je v rámci komponenty Application Insights jedinečné.

options
RequestOptionsBase

Volitelné parametry

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

function get(resourceGroupName: string, resourceName: string, keyId: string, callback: ServiceCallback<ApplicationInsightsComponentAPIKey>)

Parametry

resourceGroupName

string

Název skupiny prostředků. V názvu se rozlišují malá a velká písmena.

resourceName

string

Název prostředku komponenty Application Insights.

keyId

string

ID klíče rozhraní API. To je v rámci komponenty Application Insights jedinečné.

list(string, string, RequestOptionsBase)

Získá seznam klíčů rozhraní API komponenty Application Insights.

function list(resourceGroupName: string, resourceName: string, options?: RequestOptionsBase): Promise<APIKeysListResponse>

Parametry

resourceGroupName

string

Název skupiny prostředků. V názvu se rozlišují malá a velká písmena.

resourceName

string

Název prostředku komponenty Application Insights.

options
RequestOptionsBase

Volitelné parametry

Návraty

Promise<Models.APIKeysListResponse>

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

function list(resourceGroupName: string, resourceName: string, options: RequestOptionsBase, callback: ServiceCallback<ApplicationInsightsComponentAPIKeyListResult>)

Parametry

resourceGroupName

string

Název skupiny prostředků. V názvu se rozlišují malá a velká písmena.

resourceName

string

Název prostředku komponenty Application Insights.

options
RequestOptionsBase

Volitelné parametry

list(string, string, ServiceCallback<ApplicationInsightsComponentAPIKeyListResult>)

function list(resourceGroupName: string, resourceName: string, callback: ServiceCallback<ApplicationInsightsComponentAPIKeyListResult>)

Parametry

resourceGroupName

string

Název skupiny prostředků. V názvu se rozlišují malá a velká písmena.

resourceName

string

Název prostředku komponenty Application Insights.