CollectorPolicies interface
Interface representing a CollectorPolicies.
Methods
begin |
Creates or updates a Collector Policy resource |
begin |
Creates or updates a Collector Policy resource |
begin |
Deletes a specified Collector Policy resource. |
begin |
Deletes a specified Collector Policy resource. |
get(string, string, string, Collector |
Gets the collector policy in a specified Traffic Collector |
list(string, string, Collector |
Return list of Collector policies in a Azure Traffic Collector |
update |
Updates the specified Collector Policy tags. |
Method Details
beginCreateOrUpdate(string, string, string, string, CollectorPoliciesCreateOrUpdateOptionalParams)
Creates or updates a Collector Policy resource
function beginCreateOrUpdate(resourceGroupName: string, azureTrafficCollectorName: string, collectorPolicyName: string, location: string, options?: CollectorPoliciesCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<CollectorPolicy>, CollectorPolicy>>
Parameters
- resourceGroupName
-
string
The name of the resource group.
- azureTrafficCollectorName
-
string
Azure Traffic Collector name
- collectorPolicyName
-
string
Collector Policy Name
- location
-
string
Resource location.
The options parameters.
Returns
Promise<PollerLike<@azure/core-lro.PollOperationState<CollectorPolicy>, CollectorPolicy>>
beginCreateOrUpdateAndWait(string, string, string, string, CollectorPoliciesCreateOrUpdateOptionalParams)
Creates or updates a Collector Policy resource
function beginCreateOrUpdateAndWait(resourceGroupName: string, azureTrafficCollectorName: string, collectorPolicyName: string, location: string, options?: CollectorPoliciesCreateOrUpdateOptionalParams): Promise<CollectorPolicy>
Parameters
- resourceGroupName
-
string
The name of the resource group.
- azureTrafficCollectorName
-
string
Azure Traffic Collector name
- collectorPolicyName
-
string
Collector Policy Name
- location
-
string
Resource location.
The options parameters.
Returns
Promise<CollectorPolicy>
beginDelete(string, string, string, CollectorPoliciesDeleteOptionalParams)
Deletes a specified Collector Policy resource.
function beginDelete(resourceGroupName: string, azureTrafficCollectorName: string, collectorPolicyName: string, options?: CollectorPoliciesDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>
Parameters
- resourceGroupName
-
string
The name of the resource group.
- azureTrafficCollectorName
-
string
Azure Traffic Collector name
- collectorPolicyName
-
string
Collector Policy Name
The options parameters.
Returns
Promise<PollerLike<@azure/core-lro.PollOperationState<void>, void>>
beginDeleteAndWait(string, string, string, CollectorPoliciesDeleteOptionalParams)
Deletes a specified Collector Policy resource.
function beginDeleteAndWait(resourceGroupName: string, azureTrafficCollectorName: string, collectorPolicyName: string, options?: CollectorPoliciesDeleteOptionalParams): Promise<void>
Parameters
- resourceGroupName
-
string
The name of the resource group.
- azureTrafficCollectorName
-
string
Azure Traffic Collector name
- collectorPolicyName
-
string
Collector Policy Name
The options parameters.
Returns
Promise<void>
get(string, string, string, CollectorPoliciesGetOptionalParams)
Gets the collector policy in a specified Traffic Collector
function get(resourceGroupName: string, azureTrafficCollectorName: string, collectorPolicyName: string, options?: CollectorPoliciesGetOptionalParams): Promise<CollectorPolicy>
Parameters
- resourceGroupName
-
string
The name of the resource group.
- azureTrafficCollectorName
-
string
Azure Traffic Collector name
- collectorPolicyName
-
string
Collector Policy Name
The options parameters.
Returns
Promise<CollectorPolicy>
list(string, string, CollectorPoliciesListOptionalParams)
Return list of Collector policies in a Azure Traffic Collector
function list(resourceGroupName: string, azureTrafficCollectorName: string, options?: CollectorPoliciesListOptionalParams): PagedAsyncIterableIterator<CollectorPolicy, CollectorPolicy[], PageSettings>
Parameters
- resourceGroupName
-
string
The name of the resource group.
- azureTrafficCollectorName
-
string
Azure Traffic Collector name
The options parameters.
Returns
updateTags(string, string, string, TagsObject, CollectorPoliciesUpdateTagsOptionalParams)
Updates the specified Collector Policy tags.
function updateTags(resourceGroupName: string, azureTrafficCollectorName: string, collectorPolicyName: string, parameters: TagsObject, options?: CollectorPoliciesUpdateTagsOptionalParams): Promise<CollectorPolicy>
Parameters
- resourceGroupName
-
string
The name of the resource group.
- azureTrafficCollectorName
-
string
Azure Traffic Collector name
- collectorPolicyName
-
string
Collector Policy Name
- parameters
- TagsObject
Parameters supplied to update Collector Policy tags.
The options parameters.
Returns
Promise<CollectorPolicy>