Partilhar via


ExpressRoutePorts interface

Interface representing a ExpressRoutePorts.

Methods

beginCreateOrUpdate(string, string, ExpressRoutePort, ExpressRoutePortsCreateOrUpdateOptionalParams)

Creates or updates the specified ExpressRoutePort resource.

beginCreateOrUpdateAndWait(string, string, ExpressRoutePort, ExpressRoutePortsCreateOrUpdateOptionalParams)

Creates or updates the specified ExpressRoutePort resource.

beginDelete(string, string, ExpressRoutePortsDeleteOptionalParams)

Deletes the specified ExpressRoutePort resource.

beginDeleteAndWait(string, string, ExpressRoutePortsDeleteOptionalParams)

Deletes the specified ExpressRoutePort resource.

generateLOA(string, string, GenerateExpressRoutePortsLOARequest, ExpressRoutePortsGenerateLOAOptionalParams)

Generate a letter of authorization for the requested ExpressRoutePort resource.

get(string, string, ExpressRoutePortsGetOptionalParams)

Retrieves the requested ExpressRoutePort resource.

list(ExpressRoutePortsListOptionalParams)

List all the ExpressRoutePort resources in the specified subscription.

listByResourceGroup(string, ExpressRoutePortsListByResourceGroupOptionalParams)

List all the ExpressRoutePort resources in the specified resource group.

updateTags(string, string, TagsObject, ExpressRoutePortsUpdateTagsOptionalParams)

Update ExpressRoutePort tags.

Method Details

beginCreateOrUpdate(string, string, ExpressRoutePort, ExpressRoutePortsCreateOrUpdateOptionalParams)

Creates or updates the specified ExpressRoutePort resource.

function beginCreateOrUpdate(resourceGroupName: string, expressRoutePortName: string, parameters: ExpressRoutePort, options?: ExpressRoutePortsCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<ExpressRoutePort>, ExpressRoutePort>>

Parameters

resourceGroupName

string

The name of the resource group.

expressRoutePortName

string

The name of the ExpressRoutePort resource.

parameters
ExpressRoutePort

Parameters supplied to the create ExpressRoutePort operation.

options
ExpressRoutePortsCreateOrUpdateOptionalParams

The options parameters.

Returns

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

beginCreateOrUpdateAndWait(string, string, ExpressRoutePort, ExpressRoutePortsCreateOrUpdateOptionalParams)

Creates or updates the specified ExpressRoutePort resource.

function beginCreateOrUpdateAndWait(resourceGroupName: string, expressRoutePortName: string, parameters: ExpressRoutePort, options?: ExpressRoutePortsCreateOrUpdateOptionalParams): Promise<ExpressRoutePort>

Parameters

resourceGroupName

string

The name of the resource group.

expressRoutePortName

string

The name of the ExpressRoutePort resource.

parameters
ExpressRoutePort

Parameters supplied to the create ExpressRoutePort operation.

options
ExpressRoutePortsCreateOrUpdateOptionalParams

The options parameters.

Returns

Promise<ExpressRoutePort>

beginDelete(string, string, ExpressRoutePortsDeleteOptionalParams)

Deletes the specified ExpressRoutePort resource.

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

Parameters

resourceGroupName

string

The name of the resource group.

expressRoutePortName

string

The name of the ExpressRoutePort resource.

options
ExpressRoutePortsDeleteOptionalParams

The options parameters.

Returns

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

beginDeleteAndWait(string, string, ExpressRoutePortsDeleteOptionalParams)

Deletes the specified ExpressRoutePort resource.

function beginDeleteAndWait(resourceGroupName: string, expressRoutePortName: string, options?: ExpressRoutePortsDeleteOptionalParams): Promise<void>

Parameters

resourceGroupName

string

The name of the resource group.

expressRoutePortName

string

The name of the ExpressRoutePort resource.

options
ExpressRoutePortsDeleteOptionalParams

The options parameters.

Returns

Promise<void>

generateLOA(string, string, GenerateExpressRoutePortsLOARequest, ExpressRoutePortsGenerateLOAOptionalParams)

Generate a letter of authorization for the requested ExpressRoutePort resource.

function generateLOA(resourceGroupName: string, expressRoutePortName: string, request: GenerateExpressRoutePortsLOARequest, options?: ExpressRoutePortsGenerateLOAOptionalParams): Promise<GenerateExpressRoutePortsLOAResult>

Parameters

resourceGroupName

string

The name of the resource group.

expressRoutePortName

string

The name of ExpressRoutePort.

request
GenerateExpressRoutePortsLOARequest

Request parameters supplied to generate a letter of authorization.

options
ExpressRoutePortsGenerateLOAOptionalParams

The options parameters.

Returns

get(string, string, ExpressRoutePortsGetOptionalParams)

Retrieves the requested ExpressRoutePort resource.

function get(resourceGroupName: string, expressRoutePortName: string, options?: ExpressRoutePortsGetOptionalParams): Promise<ExpressRoutePort>

Parameters

resourceGroupName

string

The name of the resource group.

expressRoutePortName

string

The name of ExpressRoutePort.

options
ExpressRoutePortsGetOptionalParams

The options parameters.

Returns

Promise<ExpressRoutePort>

list(ExpressRoutePortsListOptionalParams)

List all the ExpressRoutePort resources in the specified subscription.

function list(options?: ExpressRoutePortsListOptionalParams): PagedAsyncIterableIterator<ExpressRoutePort, ExpressRoutePort[], PageSettings>

Parameters

options
ExpressRoutePortsListOptionalParams

The options parameters.

Returns

listByResourceGroup(string, ExpressRoutePortsListByResourceGroupOptionalParams)

List all the ExpressRoutePort resources in the specified resource group.

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

Parameters

resourceGroupName

string

The name of the resource group.

options
ExpressRoutePortsListByResourceGroupOptionalParams

The options parameters.

Returns

updateTags(string, string, TagsObject, ExpressRoutePortsUpdateTagsOptionalParams)

Update ExpressRoutePort tags.

function updateTags(resourceGroupName: string, expressRoutePortName: string, parameters: TagsObject, options?: ExpressRoutePortsUpdateTagsOptionalParams): Promise<ExpressRoutePort>

Parameters

resourceGroupName

string

The name of the resource group.

expressRoutePortName

string

The name of the ExpressRoutePort resource.

parameters
TagsObject

Parameters supplied to update ExpressRoutePort resource tags.

options
ExpressRoutePortsUpdateTagsOptionalParams

The options parameters.

Returns

Promise<ExpressRoutePort>