ExpressRoutePorts interface
Interface representing a ExpressRoutePorts.
Methods
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.
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.
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.
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.
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 parameters supplied to generate a letter of authorization.
The options parameters.
Returns
Promise<GenerateExpressRoutePortsLOAResult>
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.
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
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.
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.
The options parameters.
Returns
Promise<ExpressRoutePort>