Compartir a través de


MapsExtensions.GetMapsAccountAsync Método

Definición

Obtiene una cuenta de Maps.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Maps/accounts/{accountName}
  • IdAccounts_Get de operaciones
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Maps.MapsAccountResource>> GetMapsAccountAsync (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, string accountName, System.Threading.CancellationToken cancellationToken = default);
static member GetMapsAccountAsync : Azure.ResourceManager.Resources.ResourceGroupResource * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Maps.MapsAccountResource>>
<Extension()>
Public Function GetMapsAccountAsync (resourceGroupResource As ResourceGroupResource, accountName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of MapsAccountResource))

Parámetros

resourceGroupResource
ResourceGroupResource

Instancia ResourceGroupResource en la que se ejecutará el método.

accountName
String

Nombre de la cuenta de Maps.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

accountName es una cadena vacía y se espera que no esté vacía.

accountName es null.

Se aplica a