Share via


ExtendedServerBlobAuditingPolicyCollection Class

Definition

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

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

Constructors

ExtendedServerBlobAuditingPolicyCollection()

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

Creates or updates an extended server's blob auditing policy.

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

Creates or updates an extended server's blob auditing policy.

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

Checks to see if the resource exists in azure.

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

Checks to see if the resource exists in azure.

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

Gets an extended server's blob auditing policy.

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

Lists extended auditing settings of a server.

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

Lists extended auditing settings of a server.

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

Gets an extended server's blob auditing policy.

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

Tries to get details for this resource from the service.

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

Tries to get details for this resource from the service.

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

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<ExtendedServerBlobAuditingPolicyResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to