你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
Secrets interface
表示机密的接口。
方法
begin |
在指定的配置文件中创建新的机密。 |
begin |
在指定的配置文件中创建新的机密。 |
begin |
删除配置文件中的现有机密。 |
begin |
删除配置文件中的现有机密。 |
get(string, string, string, Secrets |
获取配置文件中的现有机密。 |
list |
列出现有的 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
机密属性。
- 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
机密属性。
- 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 配置文件的名称,该配置文件在资源组中是唯一的。
选项参数。