SecurityPolicies interface

Interface representing a SecurityPolicies.

Methods

beginCreate(string, string, string, SecurityPolicy, SecurityPoliciesCreateOptionalParams)

Creates a new security policy within the specified profile.

beginCreateAndWait(string, string, string, SecurityPolicy, SecurityPoliciesCreateOptionalParams)

Creates a new security policy within the specified profile.

beginDelete(string, string, string, SecurityPoliciesDeleteOptionalParams)

Deletes an existing security policy within profile.

beginDeleteAndWait(string, string, string, SecurityPoliciesDeleteOptionalParams)

Deletes an existing security policy within profile.

beginPatch(string, string, string, SecurityPolicyUpdateParameters, SecurityPoliciesPatchOptionalParams)

Updates an existing security policy within a profile.

beginPatchAndWait(string, string, string, SecurityPolicyUpdateParameters, SecurityPoliciesPatchOptionalParams)

Updates an existing security policy within a profile.

get(string, string, string, SecurityPoliciesGetOptionalParams)

Gets an existing security policy within a profile.

listByProfile(string, string, SecurityPoliciesListByProfileOptionalParams)

Lists security policies associated with the profile

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.

options
SecurityPoliciesCreateOptionalParams

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.

options
SecurityPoliciesCreateOptionalParams

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.

options
SecurityPoliciesDeleteOptionalParams

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.

options
SecurityPoliciesDeleteOptionalParams

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

options
SecurityPoliciesPatchOptionalParams

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

options
SecurityPoliciesPatchOptionalParams

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.

options
SecurityPoliciesGetOptionalParams

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.

options
SecurityPoliciesListByProfileOptionalParams

The options parameters.

Returns