Condividi tramite


EdgeOrderExtensions.GetEdgeOrderAddressAsync Method

Definition

Gets information about the specified address.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EdgeOrder/addresses/{addressName}
  • Operation Id: GetAddressByName
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.EdgeOrder.EdgeOrderAddressResource>> GetEdgeOrderAddressAsync (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, string addressName, System.Threading.CancellationToken cancellationToken = default);
static member GetEdgeOrderAddressAsync : Azure.ResourceManager.Resources.ResourceGroupResource * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.EdgeOrder.EdgeOrderAddressResource>>
<Extension()>
Public Function GetEdgeOrderAddressAsync (resourceGroupResource As ResourceGroupResource, addressName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of EdgeOrderAddressResource))

Parameters

resourceGroupResource
ResourceGroupResource

The ResourceGroupResource instance the method will execute against.

addressName
String

The name of the address Resource within the specified resource group. address names must be between 3 and 24 characters in length and use any alphanumeric and underscore only.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

resourceGroupResource or addressName is null.

addressName is an empty string, and was expected to be non-empty.

Applies to