Delen via


HybridDataManagerCollection Class

Definition

A class representing a collection of HybridDataManagerResource and their operations. Each HybridDataManagerResource in the collection will belong to the same instance of ResourceGroupResource. To get a HybridDataManagerCollection instance call the GetHybridDataManagers method from an instance of ResourceGroupResource.

public class HybridDataManagerCollection : Azure.ResourceManager.ArmCollection, System.Collections.Generic.IAsyncEnumerable<Azure.ResourceManager.HybridData.HybridDataManagerResource>, System.Collections.Generic.IEnumerable<Azure.ResourceManager.HybridData.HybridDataManagerResource>
type HybridDataManagerCollection = class
    inherit ArmCollection
    interface seq<HybridDataManagerResource>
    interface IEnumerable
    interface IAsyncEnumerable<HybridDataManagerResource>
Public Class HybridDataManagerCollection
Inherits ArmCollection
Implements IAsyncEnumerable(Of HybridDataManagerResource), IEnumerable(Of HybridDataManagerResource)
Inheritance
HybridDataManagerCollection
Implements

Constructors

HybridDataManagerCollection()

Initializes a new instance of the HybridDataManagerCollection class for mocking.

Methods

CreateOrUpdate(WaitUntil, String, HybridDataManagerData, CancellationToken)

Creates a new data manager resource with the specified parameters. Existing resources cannot be updated with this API and should instead be updated with the Update data manager resource API.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridData/dataManagers/{dataManagerName}
  • Operation Id: DataManagers_Create
CreateOrUpdateAsync(WaitUntil, String, HybridDataManagerData, CancellationToken)

Creates a new data manager resource with the specified parameters. Existing resources cannot be updated with this API and should instead be updated with the Update data manager resource API.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridData/dataManagers/{dataManagerName}
  • Operation Id: DataManagers_Create
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridData/dataManagers/{dataManagerName}
  • Operation Id: DataManagers_Get
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridData/dataManagers/{dataManagerName}
  • Operation Id: DataManagers_Get
Get(String, CancellationToken)

Gets information about the specified data manager resource.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridData/dataManagers/{dataManagerName}
  • Operation Id: DataManagers_Get
GetAll(CancellationToken)

Lists all the data manager resources available under the given resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridData/dataManagers
  • Operation Id: DataManagers_ListByResourceGroup
GetAllAsync(CancellationToken)

Lists all the data manager resources available under the given resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridData/dataManagers
  • Operation Id: DataManagers_ListByResourceGroup
GetAsync(String, CancellationToken)

Gets information about the specified data manager resource.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridData/dataManagers/{dataManagerName}
  • Operation Id: DataManagers_Get

Explicit Interface Implementations

IAsyncEnumerable<HybridDataManagerResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<HybridDataManagerResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Extension Methods

ToCommaSeparatedString<T>(IEnumerable<T>)

Converts the elements of a collection to strings and concatenates them into a comma-separated list, or returns null for null or empty collections.

Applies to