SecurityPoliciesOperations interface

Interface representing a SecurityPolicies operations.

Properties

beginCreate
beginCreateAndWait
beginDelete
beginDeleteAndWait
beginPatch
beginPatchAndWait
create

Creates a new security policy within the specified profile.

delete

Deletes an existing security policy within profile.

get

Gets an existing security policy within a profile.

listByProfile

Lists security policies associated with the profile

patch

Updates an existing security policy within a profile.

Property Details

beginCreate

Warning

This API is now deprecated.

use create instead

beginCreate: (resourceGroupName: string, profileName: string, securityPolicyName: string, securityPolicy: SecurityPolicy, options?: SecurityPoliciesCreateOptionalParams) => Promise<SimplePollerLike<OperationState<SecurityPolicy>, SecurityPolicy>>

Property Value

(resourceGroupName: string, profileName: string, securityPolicyName: string, securityPolicy: SecurityPolicy, options?: SecurityPoliciesCreateOptionalParams) => Promise<SimplePollerLike<OperationState<SecurityPolicy>, SecurityPolicy>>

beginCreateAndWait

Warning

This API is now deprecated.

use create instead

beginCreateAndWait: (resourceGroupName: string, profileName: string, securityPolicyName: string, securityPolicy: SecurityPolicy, options?: SecurityPoliciesCreateOptionalParams) => Promise<SecurityPolicy>

Property Value

(resourceGroupName: string, profileName: string, securityPolicyName: string, securityPolicy: SecurityPolicy, options?: SecurityPoliciesCreateOptionalParams) => Promise<SecurityPolicy>

beginDelete

Warning

This API is now deprecated.

use delete instead

beginDelete: (resourceGroupName: string, profileName: string, securityPolicyName: string, options?: SecurityPoliciesDeleteOptionalParams) => Promise<SimplePollerLike<OperationState<void>, void>>

Property Value

(resourceGroupName: string, profileName: string, securityPolicyName: string, options?: SecurityPoliciesDeleteOptionalParams) => Promise<SimplePollerLike<OperationState<void>, void>>

beginDeleteAndWait

Warning

This API is now deprecated.

use delete instead

beginDeleteAndWait: (resourceGroupName: string, profileName: string, securityPolicyName: string, options?: SecurityPoliciesDeleteOptionalParams) => Promise<void>

Property Value

(resourceGroupName: string, profileName: string, securityPolicyName: string, options?: SecurityPoliciesDeleteOptionalParams) => Promise<void>

beginPatch

Warning

This API is now deprecated.

use patch instead

beginPatch: (resourceGroupName: string, profileName: string, securityPolicyName: string, securityPolicyUpdateProperties: SecurityPolicyUpdateParameters, options?: SecurityPoliciesPatchOptionalParams) => Promise<SimplePollerLike<OperationState<SecurityPolicy>, SecurityPolicy>>

Property Value

(resourceGroupName: string, profileName: string, securityPolicyName: string, securityPolicyUpdateProperties: SecurityPolicyUpdateParameters, options?: SecurityPoliciesPatchOptionalParams) => Promise<SimplePollerLike<OperationState<SecurityPolicy>, SecurityPolicy>>

beginPatchAndWait

Warning

This API is now deprecated.

use patch instead

beginPatchAndWait: (resourceGroupName: string, profileName: string, securityPolicyName: string, securityPolicyUpdateProperties: SecurityPolicyUpdateParameters, options?: SecurityPoliciesPatchOptionalParams) => Promise<SecurityPolicy>

Property Value

(resourceGroupName: string, profileName: string, securityPolicyName: string, securityPolicyUpdateProperties: SecurityPolicyUpdateParameters, options?: SecurityPoliciesPatchOptionalParams) => Promise<SecurityPolicy>

create

Creates a new security policy within the specified profile.

create: (resourceGroupName: string, profileName: string, securityPolicyName: string, securityPolicy: SecurityPolicy, options?: SecurityPoliciesCreateOptionalParams) => PollerLike<OperationState<SecurityPolicy>, SecurityPolicy>

Property Value

(resourceGroupName: string, profileName: string, securityPolicyName: string, securityPolicy: SecurityPolicy, options?: SecurityPoliciesCreateOptionalParams) => PollerLike<OperationState<SecurityPolicy>, SecurityPolicy>

delete

Deletes an existing security policy within profile.

delete: (resourceGroupName: string, profileName: string, securityPolicyName: string, options?: SecurityPoliciesDeleteOptionalParams) => PollerLike<OperationState<void>, void>

Property Value

(resourceGroupName: string, profileName: string, securityPolicyName: string, options?: SecurityPoliciesDeleteOptionalParams) => PollerLike<OperationState<void>, void>

get

Gets an existing security policy within a profile.

get: (resourceGroupName: string, profileName: string, securityPolicyName: string, options?: SecurityPoliciesGetOptionalParams) => Promise<SecurityPolicy>

Property Value

(resourceGroupName: string, profileName: string, securityPolicyName: string, options?: SecurityPoliciesGetOptionalParams) => Promise<SecurityPolicy>

listByProfile

Lists security policies associated with the profile

listByProfile: (resourceGroupName: string, profileName: string, options?: SecurityPoliciesListByProfileOptionalParams) => PagedAsyncIterableIterator<SecurityPolicy, SecurityPolicy[], PageSettings>

Property Value

(resourceGroupName: string, profileName: string, options?: SecurityPoliciesListByProfileOptionalParams) => PagedAsyncIterableIterator<SecurityPolicy, SecurityPolicy[], PageSettings>

patch

Updates an existing security policy within a profile.

patch: (resourceGroupName: string, profileName: string, securityPolicyName: string, securityPolicyUpdateProperties: SecurityPolicyUpdateParameters, options?: SecurityPoliciesPatchOptionalParams) => PollerLike<OperationState<SecurityPolicy>, SecurityPolicy>

Property Value

(resourceGroupName: string, profileName: string, securityPolicyName: string, securityPolicyUpdateProperties: SecurityPolicyUpdateParameters, options?: SecurityPoliciesPatchOptionalParams) => PollerLike<OperationState<SecurityPolicy>, SecurityPolicy>