Options
All
  • Public
  • Public/Protected
  • All
Menu

Class APIKeys

Package version

Class representing a APIKeys.

Hierarchy

  • APIKeys

Index

Constructors

Methods

Constructors

constructor

Methods

create

  • Create an API Key of an Application Insights component.

    Parameters

    • resourceGroupName: string

      The name of the resource group.

    • resourceName: string

      The name of the Application Insights component resource.

    • aPIKeyProperties: APIKeyRequest

      Properties that need to be specified to create an API key of a Application Insights component.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<Models.APIKeysCreateResponse>

    Promise<Models.APIKeysCreateResponse>

  • Parameters

    • resourceGroupName: string

      The name of the resource group.

    • resourceName: string

      The name of the Application Insights component resource.

    • aPIKeyProperties: APIKeyRequest

      Properties that need to be specified to create an API key of a Application Insights component.

    • callback: msRest.ServiceCallback<ApplicationInsightsComponentAPIKey>

      The callback

    Returns void

  • Parameters

    • resourceGroupName: string

      The name of the resource group.

    • resourceName: string

      The name of the Application Insights component resource.

    • aPIKeyProperties: APIKeyRequest

      Properties that need to be specified to create an API key of a Application Insights component.

    • options: msRest.RequestOptionsBase

      The optional parameters

    • callback: msRest.ServiceCallback<ApplicationInsightsComponentAPIKey>

      The callback

    Returns void

deleteMethod

  • deleteMethod(resourceGroupName: string, resourceName: string, keyId: string, options?: msRest.RequestOptionsBase): Promise<Models.APIKeysDeleteMethodResponse>
  • deleteMethod(resourceGroupName: string, resourceName: string, keyId: string, callback: msRest.ServiceCallback<ApplicationInsightsComponentAPIKey>): void
  • deleteMethod(resourceGroupName: string, resourceName: string, keyId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<ApplicationInsightsComponentAPIKey>): void
  • Delete an API Key of an Application Insights component.

    Parameters

    • resourceGroupName: string

      The name of the resource group.

    • resourceName: string

      The name of the Application Insights component resource.

    • keyId: string

      The API Key ID. This is unique within a Application Insights component.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<Models.APIKeysDeleteMethodResponse>

    Promise<Models.APIKeysDeleteMethodResponse>

  • Parameters

    • resourceGroupName: string

      The name of the resource group.

    • resourceName: string

      The name of the Application Insights component resource.

    • keyId: string

      The API Key ID. This is unique within a Application Insights component.

    • callback: msRest.ServiceCallback<ApplicationInsightsComponentAPIKey>

      The callback

    Returns void

  • Parameters

    • resourceGroupName: string

      The name of the resource group.

    • resourceName: string

      The name of the Application Insights component resource.

    • keyId: string

      The API Key ID. This is unique within a Application Insights component.

    • options: msRest.RequestOptionsBase

      The optional parameters

    • callback: msRest.ServiceCallback<ApplicationInsightsComponentAPIKey>

      The callback

    Returns void

get

  • get(resourceGroupName: string, resourceName: string, keyId: string, options?: msRest.RequestOptionsBase): Promise<Models.APIKeysGetResponse>
  • get(resourceGroupName: string, resourceName: string, keyId: string, callback: msRest.ServiceCallback<ApplicationInsightsComponentAPIKey>): void
  • get(resourceGroupName: string, resourceName: string, keyId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<ApplicationInsightsComponentAPIKey>): void
  • Get the API Key for this key id.

    Parameters

    • resourceGroupName: string

      The name of the resource group.

    • resourceName: string

      The name of the Application Insights component resource.

    • keyId: string

      The API Key ID. This is unique within a Application Insights component.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<Models.APIKeysGetResponse>

    Promise<Models.APIKeysGetResponse>

  • Parameters

    • resourceGroupName: string

      The name of the resource group.

    • resourceName: string

      The name of the Application Insights component resource.

    • keyId: string

      The API Key ID. This is unique within a Application Insights component.

    • callback: msRest.ServiceCallback<ApplicationInsightsComponentAPIKey>

      The callback

    Returns void

  • Parameters

    • resourceGroupName: string

      The name of the resource group.

    • resourceName: string

      The name of the Application Insights component resource.

    • keyId: string

      The API Key ID. This is unique within a Application Insights component.

    • options: msRest.RequestOptionsBase

      The optional parameters

    • callback: msRest.ServiceCallback<ApplicationInsightsComponentAPIKey>

      The callback

    Returns void

list

  • list(resourceGroupName: string, resourceName: string, options?: msRest.RequestOptionsBase): Promise<Models.APIKeysListResponse>
  • list(resourceGroupName: string, resourceName: string, callback: msRest.ServiceCallback<ApplicationInsightsComponentAPIKeyListResult>): void
  • list(resourceGroupName: string, resourceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<ApplicationInsightsComponentAPIKeyListResult>): void
  • Gets a list of API keys of an Application Insights component.

    Parameters

    • resourceGroupName: string

      The name of the resource group.

    • resourceName: string

      The name of the Application Insights component resource.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<Models.APIKeysListResponse>

    Promise<Models.APIKeysListResponse>

  • Parameters

    • resourceGroupName: string

      The name of the resource group.

    • resourceName: string

      The name of the Application Insights component resource.

    • callback: msRest.ServiceCallback<ApplicationInsightsComponentAPIKeyListResult>

      The callback

    Returns void

  • Parameters

    • resourceGroupName: string

      The name of the resource group.

    • resourceName: string

      The name of the Application Insights component resource.

    • options: msRest.RequestOptionsBase

      The optional parameters

    • callback: msRest.ServiceCallback<ApplicationInsightsComponentAPIKeyListResult>

      The callback

    Returns void

Generated using TypeDoc