TrafficControllerInterface interface

Interface representing a TrafficControllerInterface.

Methods

beginCreateOrUpdate(string, string, TrafficController, TrafficControllerInterfaceCreateOrUpdateOptionalParams)

Create a TrafficController

beginCreateOrUpdateAndWait(string, string, TrafficController, TrafficControllerInterfaceCreateOrUpdateOptionalParams)

Create a TrafficController

beginDelete(string, string, TrafficControllerInterfaceDeleteOptionalParams)

Delete a TrafficController

beginDeleteAndWait(string, string, TrafficControllerInterfaceDeleteOptionalParams)

Delete a TrafficController

get(string, string, TrafficControllerInterfaceGetOptionalParams)

Get a TrafficController

listByResourceGroup(string, TrafficControllerInterfaceListByResourceGroupOptionalParams)

List TrafficController resources by resource group

listBySubscription(TrafficControllerInterfaceListBySubscriptionOptionalParams)

List TrafficController resources by subscription ID

update(string, string, TrafficControllerUpdate, TrafficControllerInterfaceUpdateOptionalParams)

Update a TrafficController

Method Details

beginCreateOrUpdate(string, string, TrafficController, TrafficControllerInterfaceCreateOrUpdateOptionalParams)

Create a TrafficController

function beginCreateOrUpdate(resourceGroupName: string, trafficControllerName: string, resource: TrafficController, options?: TrafficControllerInterfaceCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<TrafficController>, TrafficController>>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

trafficControllerName

string

traffic controller name for path

resource
TrafficController

Resource create parameters.

Returns

beginCreateOrUpdateAndWait(string, string, TrafficController, TrafficControllerInterfaceCreateOrUpdateOptionalParams)

Create a TrafficController

function beginCreateOrUpdateAndWait(resourceGroupName: string, trafficControllerName: string, resource: TrafficController, options?: TrafficControllerInterfaceCreateOrUpdateOptionalParams): Promise<TrafficController>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

trafficControllerName

string

traffic controller name for path

resource
TrafficController

Resource create parameters.

Returns

beginDelete(string, string, TrafficControllerInterfaceDeleteOptionalParams)

Delete a TrafficController

function beginDelete(resourceGroupName: string, trafficControllerName: string, options?: TrafficControllerInterfaceDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

trafficControllerName

string

traffic controller name for path

options
TrafficControllerInterfaceDeleteOptionalParams

The options parameters.

Returns

Promise<SimplePollerLike<OperationState<void>, void>>

beginDeleteAndWait(string, string, TrafficControllerInterfaceDeleteOptionalParams)

Delete a TrafficController

function beginDeleteAndWait(resourceGroupName: string, trafficControllerName: string, options?: TrafficControllerInterfaceDeleteOptionalParams): Promise<void>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

trafficControllerName

string

traffic controller name for path

options
TrafficControllerInterfaceDeleteOptionalParams

The options parameters.

Returns

Promise<void>

get(string, string, TrafficControllerInterfaceGetOptionalParams)

Get a TrafficController

function get(resourceGroupName: string, trafficControllerName: string, options?: TrafficControllerInterfaceGetOptionalParams): Promise<TrafficController>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

trafficControllerName

string

traffic controller name for path

options
TrafficControllerInterfaceGetOptionalParams

The options parameters.

Returns

listByResourceGroup(string, TrafficControllerInterfaceListByResourceGroupOptionalParams)

List TrafficController resources by resource group

function listByResourceGroup(resourceGroupName: string, options?: TrafficControllerInterfaceListByResourceGroupOptionalParams): PagedAsyncIterableIterator<TrafficController, TrafficController[], PageSettings>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

Returns

listBySubscription(TrafficControllerInterfaceListBySubscriptionOptionalParams)

List TrafficController resources by subscription ID

function listBySubscription(options?: TrafficControllerInterfaceListBySubscriptionOptionalParams): PagedAsyncIterableIterator<TrafficController, TrafficController[], PageSettings>

Parameters

Returns

update(string, string, TrafficControllerUpdate, TrafficControllerInterfaceUpdateOptionalParams)

Update a TrafficController

function update(resourceGroupName: string, trafficControllerName: string, properties: TrafficControllerUpdate, options?: TrafficControllerInterfaceUpdateOptionalParams): Promise<TrafficController>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

trafficControllerName

string

traffic controller name for path

properties
TrafficControllerUpdate

The resource properties to be updated.

options
TrafficControllerInterfaceUpdateOptionalParams

The options parameters.

Returns