Dela via


APIKeys class

Klass som representerar en APIKeys.

Konstruktorer

APIKeys(ApplicationInsightsManagementClientContext)

Skapa en APIKeys.

Metoder

create(string, string, APIKeyRequest, RequestOptionsBase)

Skapa en API-nyckel för en Application Insights-komponent.

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

Ta bort en API-nyckel för en Application Insights-komponent.

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

Hämta API-nyckeln för det här nyckel-ID:t.

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

Hämtar en lista över API-nycklar för en Application Insights-komponent.

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

Konstruktorinformation

APIKeys(ApplicationInsightsManagementClientContext)

Skapa en APIKeys.

new APIKeys(client: ApplicationInsightsManagementClientContext)

Parametrar

client
ApplicationInsightsManagementClientContext

Referens till tjänstklienten.

Metodinformation

create(string, string, APIKeyRequest, RequestOptionsBase)

Skapa en API-nyckel för en Application Insights-komponent.

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

Parametrar

resourceGroupName

string

Namnet på resursgruppen. Namnet är skiftlägesokänsligt.

resourceName

string

Namnet på Application Insights-komponentresursen.

aPIKeyProperties
APIKeyRequest

Egenskaper som måste anges för att skapa en API-nyckel för en Application Insights-komponent.

options
RequestOptionsBase

De valfria parametrarna

Returer

Promise<Models.APIKeysCreateResponse>

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

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

Parametrar

resourceGroupName

string

Namnet på resursgruppen. Namnet är skiftlägesokänsligt.

resourceName

string

Namnet på Application Insights-komponentresursen.

aPIKeyProperties
APIKeyRequest

Egenskaper som måste anges för att skapa en API-nyckel för en Application Insights-komponent.

options
RequestOptionsBase

De valfria parametrarna

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

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

Parametrar

resourceGroupName

string

Namnet på resursgruppen. Namnet är skiftlägesokänsligt.

resourceName

string

Namnet på Application Insights-komponentresursen.

aPIKeyProperties
APIKeyRequest

Egenskaper som måste anges för att skapa en API-nyckel för en Application Insights-komponent.

deleteMethod(string, string, string, RequestOptionsBase)

Ta bort en API-nyckel för en Application Insights-komponent.

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

Parametrar

resourceGroupName

string

Namnet på resursgruppen. Namnet är skiftlägesokänsligt.

resourceName

string

Namnet på Application Insights-komponentresursen.

keyId

string

API-nyckel-ID. Detta är unikt i en Application Insights-komponent.

options
RequestOptionsBase

De valfria parametrarna

Returer

Promise<Models.APIKeysDeleteMethodResponse>

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

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

Parametrar

resourceGroupName

string

Namnet på resursgruppen. Namnet är skiftlägesokänsligt.

resourceName

string

Namnet på Application Insights-komponentresursen.

keyId

string

API-nyckel-ID. Detta är unikt i en Application Insights-komponent.

options
RequestOptionsBase

De valfria parametrarna

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

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

Parametrar

resourceGroupName

string

Namnet på resursgruppen. Namnet är skiftlägesokänsligt.

resourceName

string

Namnet på Application Insights-komponentresursen.

keyId

string

API-nyckel-ID. Detta är unikt i en Application Insights-komponent.

get(string, string, string, RequestOptionsBase)

Hämta API-nyckeln för det här nyckel-ID:t.

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

Parametrar

resourceGroupName

string

Namnet på resursgruppen. Namnet är skiftlägesokänsligt.

resourceName

string

Namnet på Application Insights-komponentresursen.

keyId

string

API-nyckel-ID. Detta är unikt i en Application Insights-komponent.

options
RequestOptionsBase

De valfria parametrarna

Returer

Promise<Models.APIKeysGetResponse>

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

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

Parametrar

resourceGroupName

string

Namnet på resursgruppen. Namnet är skiftlägesokänsligt.

resourceName

string

Namnet på Application Insights-komponentresursen.

keyId

string

API-nyckel-ID. Detta är unikt i en Application Insights-komponent.

options
RequestOptionsBase

De valfria parametrarna

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

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

Parametrar

resourceGroupName

string

Namnet på resursgruppen. Namnet är skiftlägesokänsligt.

resourceName

string

Namnet på Application Insights-komponentresursen.

keyId

string

API-nyckel-ID. Detta är unikt i en Application Insights-komponent.

list(string, string, RequestOptionsBase)

Hämtar en lista över API-nycklar för en Application Insights-komponent.

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

Parametrar

resourceGroupName

string

Namnet på resursgruppen. Namnet är skiftlägesokänsligt.

resourceName

string

Namnet på Application Insights-komponentresursen.

options
RequestOptionsBase

De valfria parametrarna

Returer

Promise<Models.APIKeysListResponse>

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

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

Parametrar

resourceGroupName

string

Namnet på resursgruppen. Namnet är skiftlägesokänsligt.

resourceName

string

Namnet på Application Insights-komponentresursen.

options
RequestOptionsBase

De valfria parametrarna

list(string, string, ServiceCallback<ApplicationInsightsComponentAPIKeyListResult>)

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

Parametrar

resourceGroupName

string

Namnet på resursgruppen. Namnet är skiftlägesokänsligt.

resourceName

string

Namnet på Application Insights-komponentresursen.