共用方式為


APIKeys interface

表示 APIKeys 的介面。

方法

create(string, string, APIKeyRequest, APIKeysCreateOptionalParams)

建立 Application Insights 元件的 API 金鑰。

delete(string, string, string, APIKeysDeleteOptionalParams)

刪除 Application Insights 元件的 API 金鑰。

get(string, string, string, APIKeysGetOptionalParams)

取得此金鑰識別碼的 API 金鑰。

list(string, string, APIKeysListOptionalParams)

取得 Application Insights 元件的 API 金鑰清單。

方法詳細資料

create(string, string, APIKeyRequest, APIKeysCreateOptionalParams)

建立 Application Insights 元件的 API 金鑰。

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

參數

resourceGroupName

string

資源群組的名稱。 名稱不區分大小寫。

resourceName

string

Application Insights 元件資源的名稱。

aPIKeyProperties
APIKeyRequest

需要指定的屬性,才能建立Application Insights元件的 API 金鑰。

options
APIKeysCreateOptionalParams

選項參數。

傳回

delete(string, string, string, APIKeysDeleteOptionalParams)

刪除 Application Insights 元件的 API 金鑰。

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)

取得 Application Insights 元件的 API 金鑰清單。

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

參數

resourceGroupName

string

資源群組的名稱。 名稱不區分大小寫。

resourceName

string

Application Insights 元件資源的名稱。

options
APIKeysListOptionalParams

選項參數。

傳回