Поделиться через


APIKeys class

Класс, представляющий APIKeys.

Конструкторы

APIKeys(ApplicationInsightsManagementClientContext)

Создание APIKeys.

Методы

create(string, string, APIKeyRequest, RequestOptionsBase)

Создайте ключ API компонента Application Insights.

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

Удалите ключ API компонента Application Insights.

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

Получите ключ API для этого идентификатора ключа.

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

Возвращает список ключей API компонента Application Insights.

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

Сведения о конструкторе

APIKeys(ApplicationInsightsManagementClientContext)

Создание APIKeys.

new APIKeys(client: ApplicationInsightsManagementClientContext)

Параметры

client
ApplicationInsightsManagementClientContext

Ссылка на клиент службы.

Сведения о методе

create(string, string, APIKeyRequest, RequestOptionsBase)

Создайте ключ API компонента Application Insights.

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

Параметры

resourceGroupName

string

Имя группы ресурсов. Имя не учитывает регистр.

resourceName

string

Имя ресурса компонента Application Insights.

aPIKeyProperties
APIKeyRequest

Свойства, которые необходимо указать для создания ключа API компонента Application Insights.

options
RequestOptionsBase

Необязательные параметры

Возвращаемое значение

Обещание<Models.APIKeysCreateResponse>

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

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

Параметры

resourceGroupName

string

Имя группы ресурсов. Имя не учитывает регистр.

resourceName

string

Имя ресурса компонента Application Insights.

aPIKeyProperties
APIKeyRequest

Свойства, которые необходимо указать для создания ключа API компонента Application Insights.

options
RequestOptionsBase

Необязательные параметры

callback

ServiceCallback<ApplicationInsightsComponentAPIKey>

Обратный вызов

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

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

Параметры

resourceGroupName

string

Имя группы ресурсов. Имя не учитывает регистр.

resourceName

string

Имя ресурса компонента Application Insights.

aPIKeyProperties
APIKeyRequest

Свойства, которые необходимо указать для создания ключа API компонента Application Insights.

callback

ServiceCallback<ApplicationInsightsComponentAPIKey>

Обратный вызов

deleteMethod(string, string, string, RequestOptionsBase)

Удалите ключ API компонента Application Insights.

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

Параметры

resourceGroupName

string

Имя группы ресурсов. Имя не учитывает регистр.

resourceName

string

Имя ресурса компонента Application Insights.

keyId

string

Идентификатор ключа API. Это уникально в компоненте Application Insights.

options
RequestOptionsBase

Необязательные параметры

Возвращаемое значение

Обещание<Models.APIKeysDeleteMethodResponse>

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

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

Параметры

resourceGroupName

string

Имя группы ресурсов. Имя не учитывает регистр.

resourceName

string

Имя ресурса компонента Application Insights.

keyId

string

Идентификатор ключа API. Это уникально в компоненте Application Insights.

options
RequestOptionsBase

Необязательные параметры

callback

ServiceCallback<ApplicationInsightsComponentAPIKey>

Обратный вызов

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

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

Параметры

resourceGroupName

string

Имя группы ресурсов. Имя не учитывает регистр.

resourceName

string

Имя ресурса компонента Application Insights.

keyId

string

Идентификатор ключа API. Это уникально в компоненте Application Insights.

callback

ServiceCallback<ApplicationInsightsComponentAPIKey>

Обратный вызов

get(string, string, string, RequestOptionsBase)

Получите ключ API для этого идентификатора ключа.

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

Параметры

resourceGroupName

string

Имя группы ресурсов. Имя не учитывает регистр.

resourceName

string

Имя ресурса компонента Application Insights.

keyId

string

Идентификатор ключа API. Это уникально в компоненте Application Insights.

options
RequestOptionsBase

Необязательные параметры

Возвращаемое значение

Обещание<Models.APIKeysGetResponse>

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

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

Параметры

resourceGroupName

string

Имя группы ресурсов. Имя не учитывает регистр.

resourceName

string

Имя ресурса компонента Application Insights.

keyId

string

Идентификатор ключа API. Это уникально в компоненте Application Insights.

options
RequestOptionsBase

Необязательные параметры

callback

ServiceCallback<ApplicationInsightsComponentAPIKey>

Обратный вызов

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

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

Параметры

resourceGroupName

string

Имя группы ресурсов. Имя не учитывает регистр.

resourceName

string

Имя ресурса компонента Application Insights.

keyId

string

Идентификатор ключа API. Это уникально в компоненте Application Insights.

callback

ServiceCallback<ApplicationInsightsComponentAPIKey>

Обратный вызов

list(string, string, RequestOptionsBase)

Возвращает список ключей API компонента Application Insights.

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

Параметры

resourceGroupName

string

Имя группы ресурсов. Имя не учитывает регистр.

resourceName

string

Имя ресурса компонента Application Insights.

options
RequestOptionsBase

Необязательные параметры

Возвращаемое значение

Обещание<Models.APIKeysListResponse>

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

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

Параметры

resourceGroupName

string

Имя группы ресурсов. Имя не учитывает регистр.

resourceName

string

Имя ресурса компонента Application Insights.

options
RequestOptionsBase

Необязательные параметры

callback

ServiceCallback<ApplicationInsightsComponentAPIKeyListResult>

Обратный вызов

list(string, string, ServiceCallback<ApplicationInsightsComponentAPIKeyListResult>)

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

Параметры

resourceGroupName

string

Имя группы ресурсов. Имя не учитывает регистр.

resourceName

string

Имя ресурса компонента Application Insights.

callback

ServiceCallback<ApplicationInsightsComponentAPIKeyListResult>

Обратный вызов