Condividi tramite


ManagedInstanceEncryptionProtectorCollection Class

Definition

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

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

Constructors

ManagedInstanceEncryptionProtectorCollection()

Initializes a new instance of the ManagedInstanceEncryptionProtectorCollection 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, EncryptionProtectorName, ManagedInstanceEncryptionProtectorData, CancellationToken)

Updates an existing encryption protector.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/encryptionProtector/{encryptionProtectorName}
  • Operation Id: ManagedInstanceEncryptionProtectors_CreateOrUpdate
  • Default Api Version: 2020-11-01-preview
  • Resource: ManagedInstanceEncryptionProtectorResource
CreateOrUpdateAsync(WaitUntil, EncryptionProtectorName, ManagedInstanceEncryptionProtectorData, CancellationToken)

Updates an existing encryption protector.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/encryptionProtector/{encryptionProtectorName}
  • Operation Id: ManagedInstanceEncryptionProtectors_CreateOrUpdate
  • Default Api Version: 2020-11-01-preview
  • Resource: ManagedInstanceEncryptionProtectorResource
Exists(EncryptionProtectorName, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/encryptionProtector/{encryptionProtectorName}
  • Operation Id: ManagedInstanceEncryptionProtectors_Get
  • Default Api Version: 2020-11-01-preview
  • Resource: ManagedInstanceEncryptionProtectorResource
ExistsAsync(EncryptionProtectorName, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/encryptionProtector/{encryptionProtectorName}
  • Operation Id: ManagedInstanceEncryptionProtectors_Get
  • Default Api Version: 2020-11-01-preview
  • Resource: ManagedInstanceEncryptionProtectorResource
Get(EncryptionProtectorName, CancellationToken)

Gets a managed instance encryption protector.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/encryptionProtector/{encryptionProtectorName}
  • Operation Id: ManagedInstanceEncryptionProtectors_Get
  • Default Api Version: 2020-11-01-preview
  • Resource: ManagedInstanceEncryptionProtectorResource
GetAll(CancellationToken)

Gets a list of managed instance encryption protectors

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

Gets a list of managed instance encryption protectors

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

Gets a managed instance encryption protector.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/encryptionProtector/{encryptionProtectorName}
  • Operation Id: ManagedInstanceEncryptionProtectors_Get
  • Default Api Version: 2020-11-01-preview
  • Resource: ManagedInstanceEncryptionProtectorResource
GetIfExists(EncryptionProtectorName, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/encryptionProtector/{encryptionProtectorName}
  • Operation Id: ManagedInstanceEncryptionProtectors_Get
  • Default Api Version: 2020-11-01-preview
  • Resource: ManagedInstanceEncryptionProtectorResource
GetIfExistsAsync(EncryptionProtectorName, CancellationToken)

Tries to get details for this resource from the service.

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

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<ManagedInstanceEncryptionProtectorResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to