Share via


SqlDatabaseBlobAuditingPolicyCollection Class

Definition

A class representing a collection of SqlDatabaseBlobAuditingPolicyResource and their operations. Each SqlDatabaseBlobAuditingPolicyResource in the collection will belong to the same instance of SqlDatabaseResource. To get a SqlDatabaseBlobAuditingPolicyCollection instance call the GetSqlDatabaseBlobAuditingPolicies method from an instance of SqlDatabaseResource.

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

Constructors

SqlDatabaseBlobAuditingPolicyCollection()

Initializes a new instance of the SqlDatabaseBlobAuditingPolicyCollection 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, BlobAuditingPolicyName, SqlDatabaseBlobAuditingPolicyData, CancellationToken)

Creates or updates a database's blob auditing policy.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/auditingSettings/{blobAuditingPolicyName}
  • Operation Id: DatabaseBlobAuditingPolicies_CreateOrUpdate
  • Default Api Version: 2021-11-01-preview
  • Resource: SqlDatabaseBlobAuditingPolicyResource
CreateOrUpdateAsync(WaitUntil, BlobAuditingPolicyName, SqlDatabaseBlobAuditingPolicyData, CancellationToken)

Creates or updates a database's blob auditing policy.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/auditingSettings/{blobAuditingPolicyName}
  • Operation Id: DatabaseBlobAuditingPolicies_CreateOrUpdate
  • Default Api Version: 2021-11-01-preview
  • Resource: SqlDatabaseBlobAuditingPolicyResource
Exists(BlobAuditingPolicyName, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/auditingSettings/{blobAuditingPolicyName}
  • Operation Id: DatabaseBlobAuditingPolicies_Get
  • Default Api Version: 2021-11-01-preview
  • Resource: SqlDatabaseBlobAuditingPolicyResource
ExistsAsync(BlobAuditingPolicyName, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/auditingSettings/{blobAuditingPolicyName}
  • Operation Id: DatabaseBlobAuditingPolicies_Get
  • Default Api Version: 2021-11-01-preview
  • Resource: SqlDatabaseBlobAuditingPolicyResource
Get(BlobAuditingPolicyName, CancellationToken)

Gets a database's blob auditing policy.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/auditingSettings/{blobAuditingPolicyName}
  • Operation Id: DatabaseBlobAuditingPolicies_Get
  • Default Api Version: 2021-11-01-preview
  • Resource: SqlDatabaseBlobAuditingPolicyResource
GetAll(CancellationToken)

Lists auditing settings of a database.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/auditingSettings
  • Operation Id: DatabaseBlobAuditingPolicies_ListByDatabase
  • Default Api Version: 2021-11-01-preview
  • Resource: SqlDatabaseBlobAuditingPolicyResource
GetAllAsync(CancellationToken)

Lists auditing settings of a database.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/auditingSettings
  • Operation Id: DatabaseBlobAuditingPolicies_ListByDatabase
  • Default Api Version: 2021-11-01-preview
  • Resource: SqlDatabaseBlobAuditingPolicyResource
GetAsync(BlobAuditingPolicyName, CancellationToken)

Gets a database's blob auditing policy.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/auditingSettings/{blobAuditingPolicyName}
  • Operation Id: DatabaseBlobAuditingPolicies_Get
  • Default Api Version: 2021-11-01-preview
  • Resource: SqlDatabaseBlobAuditingPolicyResource
GetIfExists(BlobAuditingPolicyName, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/auditingSettings/{blobAuditingPolicyName}
  • Operation Id: DatabaseBlobAuditingPolicies_Get
  • Default Api Version: 2021-11-01-preview
  • Resource: SqlDatabaseBlobAuditingPolicyResource
GetIfExistsAsync(BlobAuditingPolicyName, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/auditingSettings/{blobAuditingPolicyName}
  • Operation Id: DatabaseBlobAuditingPolicies_Get
  • Default Api Version: 2021-11-01-preview
  • Resource: SqlDatabaseBlobAuditingPolicyResource
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<SqlDatabaseBlobAuditingPolicyResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<SqlDatabaseBlobAuditingPolicyResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to