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.

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