Share via


AadPropertiesOperationsExtensions.GetAsync Method

Definition

Fetches the AAD properties from target region BCM stamp.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.RecoveryServices.Backup.CrossRegionRestore.Models.AADPropertiesResource> GetAsync (this Microsoft.Azure.Management.RecoveryServices.Backup.CrossRegionRestore.IAadPropertiesOperations operations, string azureRegion, Microsoft.Rest.Azure.OData.ODataQuery<Microsoft.Azure.Management.RecoveryServices.Backup.CrossRegionRestore.Models.BMSAADPropertiesQueryObject> odataQuery = default, System.Threading.CancellationToken cancellationToken = default);
static member GetAsync : Microsoft.Azure.Management.RecoveryServices.Backup.CrossRegionRestore.IAadPropertiesOperations * string * Microsoft.Rest.Azure.OData.ODataQuery<Microsoft.Azure.Management.RecoveryServices.Backup.CrossRegionRestore.Models.BMSAADPropertiesQueryObject> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.RecoveryServices.Backup.CrossRegionRestore.Models.AADPropertiesResource>
<Extension()>
Public Function GetAsync (operations As IAadPropertiesOperations, azureRegion As String, Optional odataQuery As ODataQuery(Of BMSAADPropertiesQueryObject) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AADPropertiesResource)

Parameters

operations
IAadPropertiesOperations

The operations group for this extension method.

azureRegion
String

Azure region to hit Api

odataQuery
ODataQuery<BMSAADPropertiesQueryObject>

OData parameters to apply to the operation.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to