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>