Delen via


HybridDataExtensions.GetHybridDataManagerAsync Method

Definition

Gets information about the specified data manager resource.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridData/dataManagers/{dataManagerName}
  • Operation Id: DataManagers_Get
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.HybridData.HybridDataManagerResource>> GetHybridDataManagerAsync (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, string dataManagerName, System.Threading.CancellationToken cancellationToken = default);
static member GetHybridDataManagerAsync : Azure.ResourceManager.Resources.ResourceGroupResource * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.HybridData.HybridDataManagerResource>>
<Extension()>
Public Function GetHybridDataManagerAsync (resourceGroupResource As ResourceGroupResource, dataManagerName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of HybridDataManagerResource))

Parameters

resourceGroupResource
ResourceGroupResource

The ResourceGroupResource instance the method will execute against.

dataManagerName
String

The name of the DataManager Resource within the specified resource group. DataManager names must be between 3 and 24 characters in length and use any alphanumeric and underscore only.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

dataManagerName is an empty string, and was expected to be non-empty.

dataManagerName is null.

Applies to