TrafficControllerInterface interface
Interface representing a TrafficControllerInterface.
Methods
begin |
Create a TrafficController |
begin |
Create a TrafficController |
begin |
Delete a TrafficController |
begin |
Delete a TrafficController |
get(string, string, Traffic |
Get a TrafficController |
list |
List TrafficController resources by resource group |
list |
List TrafficController resources by subscription ID |
update(string, string, Traffic |
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.
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<TrafficController>, TrafficController>>
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.
The options parameters.
Returns
Promise<TrafficController>
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
The options parameters.
Returns
Promise<@azure/core-lro.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
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
The options parameters.
Returns
Promise<TrafficController>
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.
The options parameters.
Returns
listBySubscription(TrafficControllerInterfaceListBySubscriptionOptionalParams)
List TrafficController resources by subscription ID
function listBySubscription(options?: TrafficControllerInterfaceListBySubscriptionOptionalParams): PagedAsyncIterableIterator<TrafficController, TrafficController[], PageSettings>
Parameters
The options 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.
The options parameters.
Returns
Promise<TrafficController>