SecurityPolicies interface
Interface representing a SecurityPolicies.
Methods
Method Details
beginCreate(string, string, string, SecurityPolicy, SecurityPoliciesCreateOptionalParams)
Creates a new security policy within the specified profile.
function beginCreate(resourceGroupName: string, profileName: string, securityPolicyName: string, securityPolicy: SecurityPolicy, options?: SecurityPoliciesCreateOptionalParams): Promise<SimplePollerLike<OperationState<SecurityPolicy>, SecurityPolicy>>
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.
- securityPolicyName
-
string
Name of the security policy under the profile.
- securityPolicy
- SecurityPolicy
The security policy properties.
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<SecurityPolicy>, SecurityPolicy>>
beginCreateAndWait(string, string, string, SecurityPolicy, SecurityPoliciesCreateOptionalParams)
Creates a new security policy within the specified profile.
function beginCreateAndWait(resourceGroupName: string, profileName: string, securityPolicyName: string, securityPolicy: SecurityPolicy, options?: SecurityPoliciesCreateOptionalParams): Promise<SecurityPolicy>
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.
- securityPolicyName
-
string
Name of the security policy under the profile.
- securityPolicy
- SecurityPolicy
The security policy properties.
The options parameters.
Returns
Promise<SecurityPolicy>
beginDelete(string, string, string, SecurityPoliciesDeleteOptionalParams)
Deletes an existing security policy within profile.
function beginDelete(resourceGroupName: string, profileName: string, securityPolicyName: string, options?: SecurityPoliciesDeleteOptionalParams): 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.
- securityPolicyName
-
string
Name of the security policy under the profile.
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>
beginDeleteAndWait(string, string, string, SecurityPoliciesDeleteOptionalParams)
Deletes an existing security policy within profile.
function beginDeleteAndWait(resourceGroupName: string, profileName: string, securityPolicyName: string, options?: SecurityPoliciesDeleteOptionalParams): 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.
- securityPolicyName
-
string
Name of the security policy under the profile.
The options parameters.
Returns
Promise<void>
beginPatch(string, string, string, SecurityPolicyUpdateParameters, SecurityPoliciesPatchOptionalParams)
Updates an existing security policy within a profile.
function beginPatch(resourceGroupName: string, profileName: string, securityPolicyName: string, securityPolicyUpdateProperties: SecurityPolicyUpdateParameters, options?: SecurityPoliciesPatchOptionalParams): Promise<SimplePollerLike<OperationState<SecurityPolicy>, SecurityPolicy>>
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.
- securityPolicyName
-
string
Name of the security policy under the profile.
- securityPolicyUpdateProperties
- SecurityPolicyUpdateParameters
Security policy update properties
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<SecurityPolicy>, SecurityPolicy>>
beginPatchAndWait(string, string, string, SecurityPolicyUpdateParameters, SecurityPoliciesPatchOptionalParams)
Updates an existing security policy within a profile.
function beginPatchAndWait(resourceGroupName: string, profileName: string, securityPolicyName: string, securityPolicyUpdateProperties: SecurityPolicyUpdateParameters, options?: SecurityPoliciesPatchOptionalParams): Promise<SecurityPolicy>
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.
- securityPolicyName
-
string
Name of the security policy under the profile.
- securityPolicyUpdateProperties
- SecurityPolicyUpdateParameters
Security policy update properties
The options parameters.
Returns
Promise<SecurityPolicy>
get(string, string, string, SecurityPoliciesGetOptionalParams)
Gets an existing security policy within a profile.
function get(resourceGroupName: string, profileName: string, securityPolicyName: string, options?: SecurityPoliciesGetOptionalParams): Promise<SecurityPolicy>
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.
- securityPolicyName
-
string
Name of the security policy under the profile.
The options parameters.
Returns
Promise<SecurityPolicy>
listByProfile(string, string, SecurityPoliciesListByProfileOptionalParams)
Lists security policies associated with the profile
function listByProfile(resourceGroupName: string, profileName: string, options?: SecurityPoliciesListByProfileOptionalParams): PagedAsyncIterableIterator<SecurityPolicy, SecurityPolicy[], 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.