共用方式為


ExpressRoutePortResource.GenerateLoaAsync Method

Definition

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

content
GenerateExpressRoutePortsLoaContent

Request parameters supplied to generate a letter of authorization.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

content is null.

Applies to