AssociationsInterface interface

Interface representing a AssociationsInterface.

Methods

beginCreateOrUpdate(string, string, string, Association, AssociationsInterfaceCreateOrUpdateOptionalParams)

Create a Association

beginCreateOrUpdateAndWait(string, string, string, Association, AssociationsInterfaceCreateOrUpdateOptionalParams)

Create a Association

beginDelete(string, string, string, AssociationsInterfaceDeleteOptionalParams)

Delete a Association

beginDeleteAndWait(string, string, string, AssociationsInterfaceDeleteOptionalParams)

Delete a Association

get(string, string, string, AssociationsInterfaceGetOptionalParams)

Get a Association

listByTrafficController(string, string, AssociationsInterfaceListByTrafficControllerOptionalParams)

List Association resources by TrafficController

update(string, string, string, AssociationUpdate, AssociationsInterfaceUpdateOptionalParams)

Update a Association

Method Details

beginCreateOrUpdate(string, string, string, Association, AssociationsInterfaceCreateOrUpdateOptionalParams)

Create a Association

function beginCreateOrUpdate(resourceGroupName: string, trafficControllerName: string, associationName: string, resource: Association, options?: AssociationsInterfaceCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<Association>, Association>>

Parameters

resourceGroupName

string

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

trafficControllerName

string

traffic controller name for path

associationName

string

Name of Association

resource
Association

Resource create parameters.

options
AssociationsInterfaceCreateOrUpdateOptionalParams

The options parameters.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<Association>, Association>>

beginCreateOrUpdateAndWait(string, string, string, Association, AssociationsInterfaceCreateOrUpdateOptionalParams)

Create a Association

function beginCreateOrUpdateAndWait(resourceGroupName: string, trafficControllerName: string, associationName: string, resource: Association, options?: AssociationsInterfaceCreateOrUpdateOptionalParams): Promise<Association>

Parameters

resourceGroupName

string

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

trafficControllerName

string

traffic controller name for path

associationName

string

Name of Association

resource
Association

Resource create parameters.

options
AssociationsInterfaceCreateOrUpdateOptionalParams

The options parameters.

Returns

Promise<Association>

beginDelete(string, string, string, AssociationsInterfaceDeleteOptionalParams)

Delete a Association

function beginDelete(resourceGroupName: string, trafficControllerName: string, associationName: string, options?: AssociationsInterfaceDeleteOptionalParams): 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

associationName

string

Name of Association

options
AssociationsInterfaceDeleteOptionalParams

The options parameters.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>

beginDeleteAndWait(string, string, string, AssociationsInterfaceDeleteOptionalParams)

Delete a Association

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

Parameters

resourceGroupName

string

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

trafficControllerName

string

traffic controller name for path

associationName

string

Name of Association

options
AssociationsInterfaceDeleteOptionalParams

The options parameters.

Returns

Promise<void>

get(string, string, string, AssociationsInterfaceGetOptionalParams)

Get a Association

function get(resourceGroupName: string, trafficControllerName: string, associationName: string, options?: AssociationsInterfaceGetOptionalParams): Promise<Association>

Parameters

resourceGroupName

string

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

trafficControllerName

string

traffic controller name for path

associationName

string

Name of Association

options
AssociationsInterfaceGetOptionalParams

The options parameters.

Returns

Promise<Association>

listByTrafficController(string, string, AssociationsInterfaceListByTrafficControllerOptionalParams)

List Association resources by TrafficController

function listByTrafficController(resourceGroupName: string, trafficControllerName: string, options?: AssociationsInterfaceListByTrafficControllerOptionalParams): PagedAsyncIterableIterator<Association, Association[], PageSettings>

Parameters

resourceGroupName

string

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

trafficControllerName

string

traffic controller name for path

Returns

update(string, string, string, AssociationUpdate, AssociationsInterfaceUpdateOptionalParams)

Update a Association

function update(resourceGroupName: string, trafficControllerName: string, associationName: string, properties: AssociationUpdate, options?: AssociationsInterfaceUpdateOptionalParams): Promise<Association>

Parameters

resourceGroupName

string

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

trafficControllerName

string

traffic controller name for path

associationName

string

Name of Association

properties
AssociationUpdate

The resource properties to be updated.

options
AssociationsInterfaceUpdateOptionalParams

The options parameters.

Returns

Promise<Association>