Share via


HybridDataStoreCollection Class

Definition

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

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

Constructors

HybridDataStoreCollection()

Initializes a new instance of the HybridDataStoreCollection class for mocking.

Methods

CreateOrUpdate(WaitUntil, String, HybridDataStoreData, CancellationToken)

Creates or updates the data store/repository in the data manager.

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

Creates or updates the data store/repository in the data manager.

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

Checks to see if the resource exists in azure.

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

Checks to see if the resource exists in azure.

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

This method gets the data store/repository by name.

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

Gets all the data stores/repositories in the given resource.

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

Gets all the data stores/repositories in the given resource.

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

This method gets the data store/repository by name.

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

Explicit Interface Implementations

IAsyncEnumerable<HybridDataStoreResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<HybridDataStoreResource>.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