Udostępnij za pośrednictwem


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.

Properties

Client

Gets the ArmClient this resource client was created from.

(Inherited from ArmCollection)
Diagnostics

Gets the diagnostic options for this resource client.

(Inherited from ArmCollection)
Endpoint

Gets the base uri for this resource client.

(Inherited from ArmCollection)
Id

Gets the resource identifier.

(Inherited from ArmCollection)
Pipeline

Gets the pipeline for this resource client.

(Inherited from ArmCollection)

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
TryGetApiVersion(ResourceType, String)

Gets the api version override if it has been set for the current client options.

(Inherited from ArmCollection)

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