Condividi tramite


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.

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

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
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<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