Compartir a través de


ResourceGroupsOperationsExtensions.GetAsync Método

Definición

Obtiene un grupo de recursos.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.ResourceManager.Models.ResourceGroup> GetAsync (this Microsoft.Azure.Management.ResourceManager.IResourceGroupsOperations operations, string resourceGroupName, System.Threading.CancellationToken cancellationToken = default);
static member GetAsync : Microsoft.Azure.Management.ResourceManager.IResourceGroupsOperations * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ResourceManager.Models.ResourceGroup>
<Extension()>
Public Function GetAsync (operations As IResourceGroupsOperations, resourceGroupName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ResourceGroup)

Parámetros

operations
IResourceGroupsOperations

El grupo de operaciones de este método de extensión.

resourceGroupName
String

El nombre del grupo de recursos que se debe obtener. El nombre distingue mayúsculas de minúsculas.

cancellationToken
CancellationToken

Token de cancelación.

Devoluciones

Se aplica a