共用方式為


AzureTrafficCollectors interface

Interface representing a AzureTrafficCollectors.

Methods

beginCreateOrUpdate(string, string, string, AzureTrafficCollectorsCreateOrUpdateOptionalParams)

Creates or updates a Azure Traffic Collector resource

beginCreateOrUpdateAndWait(string, string, string, AzureTrafficCollectorsCreateOrUpdateOptionalParams)

Creates or updates a Azure Traffic Collector resource

beginDelete(string, string, AzureTrafficCollectorsDeleteOptionalParams)

Deletes a specified Azure Traffic Collector resource.

beginDeleteAndWait(string, string, AzureTrafficCollectorsDeleteOptionalParams)

Deletes a specified Azure Traffic Collector resource.

get(string, string, AzureTrafficCollectorsGetOptionalParams)

Gets the specified Azure Traffic Collector in a specified resource group

updateTags(string, string, TagsObject, AzureTrafficCollectorsUpdateTagsOptionalParams)

Updates the specified Azure Traffic Collector tags.

Method Details

beginCreateOrUpdate(string, string, string, AzureTrafficCollectorsCreateOrUpdateOptionalParams)

Creates or updates a Azure Traffic Collector resource

function beginCreateOrUpdate(resourceGroupName: string, azureTrafficCollectorName: string, location: string, options?: AzureTrafficCollectorsCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<AzureTrafficCollector>, AzureTrafficCollector>>

Parameters

resourceGroupName

string

The name of the resource group.

azureTrafficCollectorName

string

Azure Traffic Collector name

location

string

Resource location.

options
AzureTrafficCollectorsCreateOrUpdateOptionalParams

The options parameters.

Returns

Promise<PollerLike<@azure/core-lro.PollOperationState<AzureTrafficCollector>, AzureTrafficCollector>>

beginCreateOrUpdateAndWait(string, string, string, AzureTrafficCollectorsCreateOrUpdateOptionalParams)

Creates or updates a Azure Traffic Collector resource

function beginCreateOrUpdateAndWait(resourceGroupName: string, azureTrafficCollectorName: string, location: string, options?: AzureTrafficCollectorsCreateOrUpdateOptionalParams): Promise<AzureTrafficCollector>

Parameters

resourceGroupName

string

The name of the resource group.

azureTrafficCollectorName

string

Azure Traffic Collector name

location

string

Resource location.

options
AzureTrafficCollectorsCreateOrUpdateOptionalParams

The options parameters.

Returns

beginDelete(string, string, AzureTrafficCollectorsDeleteOptionalParams)

Deletes a specified Azure Traffic Collector resource.

function beginDelete(resourceGroupName: string, azureTrafficCollectorName: string, options?: AzureTrafficCollectorsDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>

Parameters

resourceGroupName

string

The name of the resource group.

azureTrafficCollectorName

string

Azure Traffic Collector name

options
AzureTrafficCollectorsDeleteOptionalParams

The options parameters.

Returns

Promise<PollerLike<@azure/core-lro.PollOperationState<void>, void>>

beginDeleteAndWait(string, string, AzureTrafficCollectorsDeleteOptionalParams)

Deletes a specified Azure Traffic Collector resource.

function beginDeleteAndWait(resourceGroupName: string, azureTrafficCollectorName: string, options?: AzureTrafficCollectorsDeleteOptionalParams): Promise<void>

Parameters

resourceGroupName

string

The name of the resource group.

azureTrafficCollectorName

string

Azure Traffic Collector name

options
AzureTrafficCollectorsDeleteOptionalParams

The options parameters.

Returns

Promise<void>

get(string, string, AzureTrafficCollectorsGetOptionalParams)

Gets the specified Azure Traffic Collector in a specified resource group

function get(resourceGroupName: string, azureTrafficCollectorName: string, options?: AzureTrafficCollectorsGetOptionalParams): Promise<AzureTrafficCollector>

Parameters

resourceGroupName

string

The name of the resource group.

azureTrafficCollectorName

string

Azure Traffic Collector name

options
AzureTrafficCollectorsGetOptionalParams

The options parameters.

Returns

updateTags(string, string, TagsObject, AzureTrafficCollectorsUpdateTagsOptionalParams)

Updates the specified Azure Traffic Collector tags.

function updateTags(resourceGroupName: string, azureTrafficCollectorName: string, parameters: TagsObject, options?: AzureTrafficCollectorsUpdateTagsOptionalParams): Promise<AzureTrafficCollector>

Parameters

resourceGroupName

string

The name of the resource group.

azureTrafficCollectorName

string

Azure Traffic Collector name

parameters
TagsObject

Parameters supplied to update Azure Traffic Collector tags.

options
AzureTrafficCollectorsUpdateTagsOptionalParams

The options parameters.

Returns