Compartilhar via


ResourceGroupsOperationsExtensions.GetAsync Método

Definição

Obtém um 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

O grupo de operações para esse método de extensão.

resourceGroupName
String

O nome do grupo de recursos para obter. O nome diferencia maiúsculas de minúsculas.

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a