共用方式為


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

選項參數。

傳回

Promise<@azure/core-lro.SimplePollerLike<OperationState<Secret>, Secret>>

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<@azure/core-lro.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

選項參數。

傳回