共用方式為


Secrets interface

表示秘密的介面。

方法

beginCreate(string, string, string, Secret, SecretsCreateOptionalParams)

在指定的設定檔內建立新的秘密。

beginCreateAndWait(string, string, string, Secret, SecretsCreateOptionalParams)

在指定的設定檔內建立新的秘密。

beginDelete(string, string, string, SecretsDeleteOptionalParams)

刪除設定檔內現有的秘密。

beginDeleteAndWait(string, string, string, SecretsDeleteOptionalParams)

刪除設定檔內現有的秘密。

get(string, string, string, SecretsGetOptionalParams)

取得設定檔內現有的秘密。

listByProfile(string, string, SecretsListByProfileOptionalParams)

列出現有的 AzureFrontDoor 秘密。

方法詳細資料

beginCreate(string, string, string, Secret, SecretsCreateOptionalParams)

在指定的設定檔內建立新的秘密。

function beginCreate(resourceGroupName: string, profileName: string, secretName: string, secret: Secret, options?: SecretsCreateOptionalParams): Promise<SimplePollerLike<OperationState<Secret>, Secret>>

參數

resourceGroupName

string

Azure 訂用帳戶內的資源組名。

profileName

string

Azure Front Door Standard 或 Azure Front Door Premium 設定檔的名稱,該設定檔在資源群組內是唯一的。

secretName

string

設定檔底下的秘密名稱。

secret
Secret

Secret 屬性。

options
SecretsCreateOptionalParams

選項參數。

傳回

beginCreateAndWait(string, string, string, Secret, SecretsCreateOptionalParams)

在指定的設定檔內建立新的秘密。

function beginCreateAndWait(resourceGroupName: string, profileName: string, secretName: string, secret: Secret, options?: SecretsCreateOptionalParams): Promise<Secret>

參數

resourceGroupName

string

Azure 訂用帳戶內的資源組名。

profileName

string

Azure Front Door Standard 或 Azure Front Door Premium 設定檔的名稱,該設定檔在資源群組內是唯一的。

secretName

string

設定檔底下的秘密名稱。

secret
Secret

Secret 屬性。

options
SecretsCreateOptionalParams

選項參數。

傳回

Promise<Secret>

beginDelete(string, string, string, SecretsDeleteOptionalParams)

刪除設定檔內現有的秘密。

function beginDelete(resourceGroupName: string, profileName: string, secretName: string, options?: SecretsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>

參數

resourceGroupName

string

Azure 訂用帳戶內的資源組名。

profileName

string

Azure Front Door Standard 或 Azure Front Door Premium 設定檔的名稱,該設定檔在資源群組內是唯一的。

secretName

string

設定檔底下的秘密名稱。

options
SecretsDeleteOptionalParams

選項參數。

傳回

Promise<SimplePollerLike<OperationState<void>, void>>

beginDeleteAndWait(string, string, string, SecretsDeleteOptionalParams)

刪除設定檔內現有的秘密。

function beginDeleteAndWait(resourceGroupName: string, profileName: string, secretName: string, options?: SecretsDeleteOptionalParams): Promise<void>

參數

resourceGroupName

string

Azure 訂用帳戶內的資源組名。

profileName

string

Azure Front Door Standard 或 Azure Front Door Premium 設定檔的名稱,該設定檔在資源群組內是唯一的。

secretName

string

設定檔底下的秘密名稱。

options
SecretsDeleteOptionalParams

選項參數。

傳回

Promise<void>

get(string, string, string, SecretsGetOptionalParams)

取得設定檔內現有的秘密。

function get(resourceGroupName: string, profileName: string, secretName: string, options?: SecretsGetOptionalParams): Promise<Secret>

參數

resourceGroupName

string

Azure 訂用帳戶內的資源組名。

profileName

string

Azure Front Door Standard 或 Azure Front Door Premium 設定檔的名稱,該設定檔在資源群組內是唯一的。

secretName

string

設定檔底下的秘密名稱。

options
SecretsGetOptionalParams

選項參數。

傳回

Promise<Secret>

listByProfile(string, string, SecretsListByProfileOptionalParams)

列出現有的 AzureFrontDoor 秘密。

function listByProfile(resourceGroupName: string, profileName: string, options?: SecretsListByProfileOptionalParams): PagedAsyncIterableIterator<Secret, Secret[], PageSettings>

參數

resourceGroupName

string

Azure 訂用帳戶內的資源組名。

profileName

string

Azure Front Door Standard 或 Azure Front Door Premium 設定檔的名稱,該設定檔在資源群組內是唯一的。

options
SecretsListByProfileOptionalParams

選項參數。

傳回