Delen via


APIKeys class

Klasse die een APIKeys vertegenwoordigt.

Constructors

APIKeys(ApplicationInsightsManagementClientContext)

Maak een APIKeys.

Methoden

create(string, string, APIKeyRequest, RequestOptionsBase)

Maak een API-sleutel van een Application Insights-onderdeel.

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

Verwijder een API-sleutel van een Application Insights-onderdeel.

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

Haal de API-sleutel voor deze sleutel-id op.

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

Hiermee haalt u een lijst met API-sleutels van een Application Insights-onderdeel op.

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

Constructordetails

APIKeys(ApplicationInsightsManagementClientContext)

Maak een APIKeys.

new APIKeys(client: ApplicationInsightsManagementClientContext)

Parameters

client
ApplicationInsightsManagementClientContext

Verwijzing naar de serviceclient.

Methodedetails

create(string, string, APIKeyRequest, RequestOptionsBase)

Maak een API-sleutel van een Application Insights-onderdeel.

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

Parameters

resourceGroupName

string

De naam van de resourcegroep. De naam is niet hoofdlettergevoelig.

resourceName

string

De naam van de Application Insights-onderdeelresource.

aPIKeyProperties
APIKeyRequest

Eigenschappen die moeten worden opgegeven om een API-sleutel van een Application Insights-onderdeel te maken.

options
RequestOptionsBase

De optionele parameters

Retouren

Beloof<modellen.APIKeysCreateResponse>

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

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

Parameters

resourceGroupName

string

De naam van de resourcegroep. De naam is niet hoofdlettergevoelig.

resourceName

string

De naam van de Application Insights-onderdeelresource.

aPIKeyProperties
APIKeyRequest

Eigenschappen die moeten worden opgegeven om een API-sleutel van een Application Insights-onderdeel te maken.

options
RequestOptionsBase

De optionele parameters

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

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

Parameters

resourceGroupName

string

De naam van de resourcegroep. De naam is niet hoofdlettergevoelig.

resourceName

string

De naam van de Application Insights-onderdeelresource.

aPIKeyProperties
APIKeyRequest

Eigenschappen die moeten worden opgegeven om een API-sleutel van een Application Insights-onderdeel te maken.

deleteMethod(string, string, string, RequestOptionsBase)

Verwijder een API-sleutel van een Application Insights-onderdeel.

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

Parameters

resourceGroupName

string

De naam van de resourcegroep. De naam is niet hoofdlettergevoelig.

resourceName

string

De naam van de Application Insights-onderdeelresource.

keyId

string

De API-sleutel-id. Dit is uniek binnen een Application Insights-onderdeel.

options
RequestOptionsBase

De optionele parameters

Retouren

Beloof<Models.APIKeysDeleteMethodResponse>

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

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

Parameters

resourceGroupName

string

De naam van de resourcegroep. De naam is niet hoofdlettergevoelig.

resourceName

string

De naam van de Application Insights-onderdeelresource.

keyId

string

De API-sleutel-id. Dit is uniek binnen een Application Insights-onderdeel.

options
RequestOptionsBase

De optionele parameters

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

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

Parameters

resourceGroupName

string

De naam van de resourcegroep. De naam is niet hoofdlettergevoelig.

resourceName

string

De naam van de Application Insights-onderdeelresource.

keyId

string

De API-sleutel-id. Dit is uniek binnen een Application Insights-onderdeel.

get(string, string, string, RequestOptionsBase)

Haal de API-sleutel voor deze sleutel-id op.

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

Parameters

resourceGroupName

string

De naam van de resourcegroep. De naam is niet hoofdlettergevoelig.

resourceName

string

De naam van de Application Insights-onderdeelresource.

keyId

string

De API-sleutel-id. Dit is uniek binnen een Application Insights-onderdeel.

options
RequestOptionsBase

De optionele parameters

Retouren

Promise<Models.APIKeysGetResponse->

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

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

Parameters

resourceGroupName

string

De naam van de resourcegroep. De naam is niet hoofdlettergevoelig.

resourceName

string

De naam van de Application Insights-onderdeelresource.

keyId

string

De API-sleutel-id. Dit is uniek binnen een Application Insights-onderdeel.

options
RequestOptionsBase

De optionele parameters

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

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

Parameters

resourceGroupName

string

De naam van de resourcegroep. De naam is niet hoofdlettergevoelig.

resourceName

string

De naam van de Application Insights-onderdeelresource.

keyId

string

De API-sleutel-id. Dit is uniek binnen een Application Insights-onderdeel.

list(string, string, RequestOptionsBase)

Hiermee haalt u een lijst met API-sleutels van een Application Insights-onderdeel op.

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

Parameters

resourceGroupName

string

De naam van de resourcegroep. De naam is niet hoofdlettergevoelig.

resourceName

string

De naam van de Application Insights-onderdeelresource.

options
RequestOptionsBase

De optionele parameters

Retouren

Promise<Models.APIKeysListResponse>

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

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

Parameters

resourceGroupName

string

De naam van de resourcegroep. De naam is niet hoofdlettergevoelig.

resourceName

string

De naam van de Application Insights-onderdeelresource.

options
RequestOptionsBase

De optionele parameters

list(string, string, ServiceCallback<ApplicationInsightsComponentAPIKeyListResult>)

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

Parameters

resourceGroupName

string

De naam van de resourcegroep. De naam is niet hoofdlettergevoelig.

resourceName

string

De naam van de Application Insights-onderdeelresource.