Condividi tramite


EncryptionProtectorCollection Class

Definition

A class representing a collection of EncryptionProtectorResource and their operations. Each EncryptionProtectorResource in the collection will belong to the same instance of SqlServerResource. To get an EncryptionProtectorCollection instance call the GetEncryptionProtectors method from an instance of SqlServerResource.

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

Constructors

EncryptionProtectorCollection()

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

Updates an existing encryption protector.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/encryptionProtector/{encryptionProtectorName}
  • Operation Id: EncryptionProtectors_CreateOrUpdate
  • Default Api Version: 2020-11-01-preview
  • Resource: EncryptionProtectorResource
CreateOrUpdateAsync(WaitUntil, EncryptionProtectorName, EncryptionProtectorData, CancellationToken)

Updates an existing encryption protector.

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

Checks to see if the resource exists in azure.

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

Checks to see if the resource exists in azure.

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

Gets a server encryption protector.

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

Gets a list of server encryption protectors

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/encryptionProtector
  • Operation Id: EncryptionProtectors_ListByServer
  • Default Api Version: 2020-11-01-preview
  • Resource: EncryptionProtectorResource
GetAllAsync(CancellationToken)

Gets a list of server encryption protectors

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

Gets a server encryption protector.

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

Tries to get details for this resource from the service.

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

Tries to get details for this resource from the service.

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

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<EncryptionProtectorResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to