Share via


HybridDataPublicKeyCollection Class

Definition

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

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

Constructors

HybridDataPublicKeyCollection()

Initializes a new instance of the HybridDataPublicKeyCollection 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}/publicKeys/{publicKeyName}
  • Operation Id: PublicKeys_Get
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

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

This method gets the public keys.

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

This method gets the list view of public keys, however it will only have one element.

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

This method gets the list view of public keys, however it will only have one element.

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

This method gets the public keys.

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

Explicit Interface Implementations

IAsyncEnumerable<HybridDataPublicKeyResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

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