DomainsOperationsExtensions.GetAsync Method

Definition

Gets a specific domain in the current tenant.

public static System.Threading.Tasks.Task<Microsoft.Azure.Graph.RBAC.Models.Domain> GetAsync (this Microsoft.Azure.Graph.RBAC.IDomainsOperations operations, string domainName, System.Threading.CancellationToken cancellationToken = default);
static member GetAsync : Microsoft.Azure.Graph.RBAC.IDomainsOperations * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Graph.RBAC.Models.Domain>
<Extension()>
Public Function GetAsync (operations As IDomainsOperations, domainName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Domain)

Parameters

operations
IDomainsOperations

The operations group for this extension method.

domainName
String

name of the domain.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to