Freigeben über


ExpressRoutePortResource.GenerateLoaAsync Methode

Definition

Generieren Sie einen Autorisierungsschreiben für die angeforderte ExpressRoutePort-Ressource.

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRoutePorts/{expressRoutePortName}/generateLoa
  • Vorgang IdExpressRoutePorts_GenerateLOA
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))

Parameter

content
GenerateExpressRoutePortsLoaContent

Anforderungsparameter, die zum Generieren eines Autorisierungsschreibens angegeben werden.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

content ist NULL.

Gilt für: