你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。

SecurityPoliciesOperations interface

表示安全策略操作的接口。

属性

beginCreate
beginCreateAndWait
beginDelete
beginDeleteAndWait
beginPatch
beginPatchAndWait
create

在指定的配置文件内创建新的安全策略。

delete

删除配置文件中的现有安全策略。

get

获取配置文件中的现有安全策略。

listByProfile

列出与配置文件相关的安全策略

patch

更新配置文件内已有的安全策略。

属性详细信息

beginCreate

警告

现已弃用此 API。

use create instead

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

属性值

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

beginCreateAndWait

警告

现已弃用此 API。

use create instead

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

属性值

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

beginDelete

警告

现已弃用此 API。

use delete instead

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

属性值

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

beginDeleteAndWait

警告

现已弃用此 API。

use delete instead

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

属性值

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

beginPatch

警告

现已弃用此 API。

use patch instead

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

属性值

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

beginPatchAndWait

警告

现已弃用此 API。

use patch instead

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

属性值

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

create

在指定的配置文件内创建新的安全策略。

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

属性值

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

delete

删除配置文件中的现有安全策略。

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

属性值

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

get

获取配置文件中的现有安全策略。

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

属性值

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

listByProfile

列出与配置文件相关的安全策略

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

属性值

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

patch

更新配置文件内已有的安全策略。

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

属性值

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