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


APIKeys interface

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

Методы

create(string, string, APIKeyRequest, APIKeysCreateOptionalParams)

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

delete(string, string, string, APIKeysDeleteOptionalParams)

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

get(string, string, string, APIKeysGetOptionalParams)

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

list(string, string, APIKeysListOptionalParams)

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

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

create(string, string, APIKeyRequest, APIKeysCreateOptionalParams)

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

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

Параметры

resourceGroupName

string

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

resourceName

string

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

aPIKeyProperties
APIKeyRequest

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

options
APIKeysCreateOptionalParams

Параметры параметров.

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

delete(string, string, string, APIKeysDeleteOptionalParams)

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

function delete(resourceGroupName: string, resourceName: string, keyId: string, options?: APIKeysDeleteOptionalParams): Promise<ApplicationInsightsComponentAPIKey>

Параметры

resourceGroupName

string

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

resourceName

string

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

keyId

string

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

options
APIKeysDeleteOptionalParams

Параметры параметров.

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

get(string, string, string, APIKeysGetOptionalParams)

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

function get(resourceGroupName: string, resourceName: string, keyId: string, options?: APIKeysGetOptionalParams): Promise<ApplicationInsightsComponentAPIKey>

Параметры

resourceGroupName

string

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

resourceName

string

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

keyId

string

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

options
APIKeysGetOptionalParams

Параметры параметров.

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

list(string, string, APIKeysListOptionalParams)

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

function list(resourceGroupName: string, resourceName: string, options?: APIKeysListOptionalParams): PagedAsyncIterableIterator<ApplicationInsightsComponentAPIKey, ApplicationInsightsComponentAPIKey[], PageSettings>

Параметры

resourceGroupName

string

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

resourceName

string

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

options
APIKeysListOptionalParams

Параметры параметров.

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