Megosztás a következőn keresztül:


IExpressRoutePortsOperations.GenerateLOAWithHttpMessagesAsync Method

Definition

Generate a letter of authorization for the requested ExpressRoutePort resource.

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.Network.Models.GenerateExpressRoutePortsLOAResult>> GenerateLOAWithHttpMessagesAsync (string resourceGroupName, string expressRoutePortName, Microsoft.Azure.Management.Network.Models.GenerateExpressRoutePortsLOARequest request, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GenerateLOAWithHttpMessagesAsync : string * string * Microsoft.Azure.Management.Network.Models.GenerateExpressRoutePortsLOARequest * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.Network.Models.GenerateExpressRoutePortsLOAResult>>
Public Function GenerateLOAWithHttpMessagesAsync (resourceGroupName As String, expressRoutePortName As String, request As GenerateExpressRoutePortsLOARequest, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse(Of 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.

customHeaders
Dictionary<String,List<String>>

The headers that will be added to request.

cancellationToken
CancellationToken

The cancellation token.

Returns

Exceptions

Thrown when the operation returned an invalid status code

Thrown when unable to deserialize the response

Thrown when a required parameter is null

Applies to