CollectorPoliciesOperations interface

介面代表 CollectorPolicies 操作。

屬性

beginCreateOrUpdate
beginCreateOrUpdateAndWait
beginDelete
beginDeleteAndWait
createOrUpdate

建立或更新收集器原則資源

delete

刪除指定的收集器原則資源。

get

取得指定流量收集器中的收集器原則

list

回傳 Azure Traffic Collector 中 Collector 政策清單

updateTags

更新指定的收集者政策標籤。

屬性詳細資料

beginCreateOrUpdate

警告

此 API 現已淘汰。

use createOrUpdate instead

beginCreateOrUpdate: (resourceGroupName: string, azureTrafficCollectorName: string, collectorPolicyName: string, parameters: CollectorPolicy, options?: CollectorPoliciesCreateOrUpdateOptionalParams) => Promise<SimplePollerLike<OperationState<CollectorPolicy>, CollectorPolicy>>

屬性值

(resourceGroupName: string, azureTrafficCollectorName: string, collectorPolicyName: string, parameters: CollectorPolicy, options?: CollectorPoliciesCreateOrUpdateOptionalParams) => Promise<SimplePollerLike<OperationState<CollectorPolicy>, CollectorPolicy>>

beginCreateOrUpdateAndWait

警告

此 API 現已淘汰。

use createOrUpdate instead

beginCreateOrUpdateAndWait: (resourceGroupName: string, azureTrafficCollectorName: string, collectorPolicyName: string, parameters: CollectorPolicy, options?: CollectorPoliciesCreateOrUpdateOptionalParams) => Promise<CollectorPolicy>

屬性值

(resourceGroupName: string, azureTrafficCollectorName: string, collectorPolicyName: string, parameters: CollectorPolicy, options?: CollectorPoliciesCreateOrUpdateOptionalParams) => Promise<CollectorPolicy>

beginDelete

警告

此 API 現已淘汰。

use delete instead

beginDelete: (resourceGroupName: string, azureTrafficCollectorName: string, collectorPolicyName: string, options?: CollectorPoliciesDeleteOptionalParams) => Promise<SimplePollerLike<OperationState<void>, void>>

屬性值

(resourceGroupName: string, azureTrafficCollectorName: string, collectorPolicyName: string, options?: CollectorPoliciesDeleteOptionalParams) => Promise<SimplePollerLike<OperationState<void>, void>>

beginDeleteAndWait

警告

此 API 現已淘汰。

use delete instead

beginDeleteAndWait: (resourceGroupName: string, azureTrafficCollectorName: string, collectorPolicyName: string, options?: CollectorPoliciesDeleteOptionalParams) => Promise<void>

屬性值

(resourceGroupName: string, azureTrafficCollectorName: string, collectorPolicyName: string, options?: CollectorPoliciesDeleteOptionalParams) => Promise<void>

createOrUpdate

建立或更新收集器原則資源

createOrUpdate: (resourceGroupName: string, azureTrafficCollectorName: string, collectorPolicyName: string, parameters: CollectorPolicy, options?: CollectorPoliciesCreateOrUpdateOptionalParams) => PollerLike<OperationState<CollectorPolicy>, CollectorPolicy>

屬性值

(resourceGroupName: string, azureTrafficCollectorName: string, collectorPolicyName: string, parameters: CollectorPolicy, options?: CollectorPoliciesCreateOrUpdateOptionalParams) => PollerLike<OperationState<CollectorPolicy>, CollectorPolicy>

delete

刪除指定的收集器原則資源。

delete: (resourceGroupName: string, azureTrafficCollectorName: string, collectorPolicyName: string, options?: CollectorPoliciesDeleteOptionalParams) => PollerLike<OperationState<void>, void>

屬性值

(resourceGroupName: string, azureTrafficCollectorName: string, collectorPolicyName: string, options?: CollectorPoliciesDeleteOptionalParams) => PollerLike<OperationState<void>, void>

get

取得指定流量收集器中的收集器原則

get: (resourceGroupName: string, azureTrafficCollectorName: string, collectorPolicyName: string, options?: CollectorPoliciesGetOptionalParams) => Promise<CollectorPolicy>

屬性值

(resourceGroupName: string, azureTrafficCollectorName: string, collectorPolicyName: string, options?: CollectorPoliciesGetOptionalParams) => Promise<CollectorPolicy>

list

回傳 Azure Traffic Collector 中 Collector 政策清單

list: (resourceGroupName: string, azureTrafficCollectorName: string, options?: CollectorPoliciesListOptionalParams) => PagedAsyncIterableIterator<CollectorPolicy, CollectorPolicy[], PageSettings>

屬性值

(resourceGroupName: string, azureTrafficCollectorName: string, options?: CollectorPoliciesListOptionalParams) => PagedAsyncIterableIterator<CollectorPolicy, CollectorPolicy[], PageSettings>

updateTags

更新指定的收集者政策標籤。

updateTags: (resourceGroupName: string, azureTrafficCollectorName: string, collectorPolicyName: string, parameters: TagsObject, options?: CollectorPoliciesUpdateTagsOptionalParams) => Promise<CollectorPolicy>

屬性值

(resourceGroupName: string, azureTrafficCollectorName: string, collectorPolicyName: string, parameters: TagsObject, options?: CollectorPoliciesUpdateTagsOptionalParams) => Promise<CollectorPolicy>