Secrets interface
Interface representing a Secrets.
Methods
begin |
Creates a new Secret within the specified profile. |
begin |
Creates a new Secret within the specified profile. |
begin |
Deletes an existing Secret within profile. |
begin |
Deletes an existing Secret within profile. |
get(string, string, string, Secrets |
Gets an existing Secret within a profile. |
list |
Lists existing AzureFrontDoor secrets. |
Method Details
beginCreate(string, string, string, Secret, SecretsCreateOptionalParams)
Creates a new Secret within the specified profile.
function beginCreate(resourceGroupName: string, profileName: string, secretName: string, secret: Secret, options?: SecretsCreateOptionalParams): Promise<SimplePollerLike<OperationState<Secret>, Secret>>
Parameters
- resourceGroupName
-
string
Name of the Resource group within the Azure subscription.
- profileName
-
string
Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group.
- secretName
-
string
Name of the Secret under the profile.
- secret
- Secret
The Secret properties.
- options
- SecretsCreateOptionalParams
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<Secret>, Secret>>
beginCreateAndWait(string, string, string, Secret, SecretsCreateOptionalParams)
Creates a new Secret within the specified profile.
function beginCreateAndWait(resourceGroupName: string, profileName: string, secretName: string, secret: Secret, options?: SecretsCreateOptionalParams): Promise<Secret>
Parameters
- resourceGroupName
-
string
Name of the Resource group within the Azure subscription.
- profileName
-
string
Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group.
- secretName
-
string
Name of the Secret under the profile.
- secret
- Secret
The Secret properties.
- options
- SecretsCreateOptionalParams
The options parameters.
Returns
Promise<Secret>
beginDelete(string, string, string, SecretsDeleteOptionalParams)
Deletes an existing Secret within profile.
function beginDelete(resourceGroupName: string, profileName: string, secretName: string, options?: SecretsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>
Parameters
- resourceGroupName
-
string
Name of the Resource group within the Azure subscription.
- profileName
-
string
Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group.
- secretName
-
string
Name of the Secret under the profile.
- options
- SecretsDeleteOptionalParams
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>
beginDeleteAndWait(string, string, string, SecretsDeleteOptionalParams)
Deletes an existing Secret within profile.
function beginDeleteAndWait(resourceGroupName: string, profileName: string, secretName: string, options?: SecretsDeleteOptionalParams): Promise<void>
Parameters
- resourceGroupName
-
string
Name of the Resource group within the Azure subscription.
- profileName
-
string
Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group.
- secretName
-
string
Name of the Secret under the profile.
- options
- SecretsDeleteOptionalParams
The options parameters.
Returns
Promise<void>
get(string, string, string, SecretsGetOptionalParams)
Gets an existing Secret within a profile.
function get(resourceGroupName: string, profileName: string, secretName: string, options?: SecretsGetOptionalParams): Promise<Secret>
Parameters
- resourceGroupName
-
string
Name of the Resource group within the Azure subscription.
- profileName
-
string
Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group.
- secretName
-
string
Name of the Secret under the profile.
- options
- SecretsGetOptionalParams
The options parameters.
Returns
Promise<Secret>
listByProfile(string, string, SecretsListByProfileOptionalParams)
Lists existing AzureFrontDoor secrets.
function listByProfile(resourceGroupName: string, profileName: string, options?: SecretsListByProfileOptionalParams): PagedAsyncIterableIterator<Secret, Secret[], PageSettings>
Parameters
- resourceGroupName
-
string
Name of the Resource group within the Azure subscription.
- profileName
-
string
Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group.
The options parameters.