共用方式為


SqlServerBlobAuditingPolicyCollection Class

Definition

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

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

Constructors

SqlServerBlobAuditingPolicyCollection()

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

Creates or updates a server's blob auditing policy.

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

Creates or updates a server's blob auditing policy.

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

Checks to see if the resource exists in azure.

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

Checks to see if the resource exists in azure.

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

Gets a server's blob auditing policy.

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

Lists auditing settings of a server.

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

Lists auditing settings of a server.

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

Gets a server's blob auditing policy.

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

Tries to get details for this resource from the service.

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

Tries to get details for this resource from the service.

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

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<SqlServerBlobAuditingPolicyResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to