ExpressRoutePortResource.GenerateLoaAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Generate a letter of authorization for the requested ExpressRoutePort resource.
- Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRoutePorts/{expressRoutePortName}/generateLoa
- Operation Id: ExpressRoutePorts_GenerateLoa
- Default Api Version: 2024-03-01
- Resource: ExpressRoutePortResource
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Network.Models.GenerateExpressRoutePortsLoaResult>> GenerateLoaAsync (Azure.ResourceManager.Network.Models.GenerateExpressRoutePortsLoaContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member GenerateLoaAsync : Azure.ResourceManager.Network.Models.GenerateExpressRoutePortsLoaContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Network.Models.GenerateExpressRoutePortsLoaResult>>
override this.GenerateLoaAsync : Azure.ResourceManager.Network.Models.GenerateExpressRoutePortsLoaContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Network.Models.GenerateExpressRoutePortsLoaResult>>
Public Overridable Function GenerateLoaAsync (content As GenerateExpressRoutePortsLoaContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of GenerateExpressRoutePortsLoaResult))
Parameters
Request parameters supplied to generate a letter of authorization.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
content
is null.