Share via


HybridDataServiceCollection Class

Definition

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

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

Constructors

HybridDataServiceCollection()

Initializes a new instance of the HybridDataServiceCollection class for mocking.

Methods

Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

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

Checks to see if the resource exists in azure.

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

Gets the data service that matches the data service name given.

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

This method gets all the data services.

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

This method gets all the data services.

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

Gets the data service that matches the data service name given.

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

Explicit Interface Implementations

IAsyncEnumerable<HybridDataServiceResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

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