共用方式為


ManagedInstanceKeyCollection Class

Definition

A class representing a collection of ManagedInstanceKeyResource and their operations. Each ManagedInstanceKeyResource in the collection will belong to the same instance of ManagedInstanceResource. To get a ManagedInstanceKeyCollection instance call the GetManagedInstanceKeys method from an instance of ManagedInstanceResource.

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

Constructors

ManagedInstanceKeyCollection()

Initializes a new instance of the ManagedInstanceKeyCollection 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, ManagedInstanceKeyData, CancellationToken)

Creates or updates a managed instance key.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/keys/{keyName}
  • Operation Id: ManagedInstanceKeys_CreateOrUpdate
  • Default Api Version: 2020-11-01-preview
  • Resource: ManagedInstanceKeyResource
CreateOrUpdateAsync(WaitUntil, String, ManagedInstanceKeyData, CancellationToken)

Creates or updates a managed instance key.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/keys/{keyName}
  • Operation Id: ManagedInstanceKeys_CreateOrUpdate
  • Default Api Version: 2020-11-01-preview
  • Resource: ManagedInstanceKeyResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/keys/{keyName}
  • Operation Id: ManagedInstanceKeys_Get
  • Default Api Version: 2020-11-01-preview
  • Resource: ManagedInstanceKeyResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/keys/{keyName}
  • Operation Id: ManagedInstanceKeys_Get
  • Default Api Version: 2020-11-01-preview
  • Resource: ManagedInstanceKeyResource
Get(String, CancellationToken)

Gets a managed instance key.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/keys/{keyName}
  • Operation Id: ManagedInstanceKeys_Get
  • Default Api Version: 2020-11-01-preview
  • Resource: ManagedInstanceKeyResource
GetAll(String, CancellationToken)

Gets a list of managed instance keys.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/keys
  • Operation Id: ManagedInstanceKeys_ListByInstance
  • Default Api Version: 2020-11-01-preview
  • Resource: ManagedInstanceKeyResource
GetAllAsync(String, CancellationToken)

Gets a list of managed instance keys.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/keys
  • Operation Id: ManagedInstanceKeys_ListByInstance
  • Default Api Version: 2020-11-01-preview
  • Resource: ManagedInstanceKeyResource
GetAsync(String, CancellationToken)

Gets a managed instance key.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/keys/{keyName}
  • Operation Id: ManagedInstanceKeys_Get
  • Default Api Version: 2020-11-01-preview
  • Resource: ManagedInstanceKeyResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/keys/{keyName}
  • Operation Id: ManagedInstanceKeys_Get
  • Default Api Version: 2020-11-01-preview
  • Resource: ManagedInstanceKeyResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/keys/{keyName}
  • Operation Id: ManagedInstanceKeys_Get
  • Default Api Version: 2020-11-01-preview
  • Resource: ManagedInstanceKeyResource
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<ManagedInstanceKeyResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<ManagedInstanceKeyResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to