共用方式為


SqlServerDevOpsAuditingSettingCollection Class

Definition

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

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

Constructors

SqlServerDevOpsAuditingSettingCollection()

Initializes a new instance of the SqlServerDevOpsAuditingSettingCollection 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, String, SqlServerDevOpsAuditingSettingData, CancellationToken)

Creates or updates a server's DevOps audit settings.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/devOpsAuditingSettings/{devOpsAuditingSettingsName}
  • Operation Id: ServerDevOpsAuditSettings_CreateOrUpdate
  • Default Api Version: 2022-02-01-preview
  • Resource: SqlServerDevOpsAuditingSettingResource
CreateOrUpdateAsync(WaitUntil, String, SqlServerDevOpsAuditingSettingData, CancellationToken)

Creates or updates a server's DevOps audit settings.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/devOpsAuditingSettings/{devOpsAuditingSettingsName}
  • Operation Id: ServerDevOpsAuditSettings_CreateOrUpdate
  • Default Api Version: 2022-02-01-preview
  • Resource: SqlServerDevOpsAuditingSettingResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/devOpsAuditingSettings/{devOpsAuditingSettingsName}
  • Operation Id: ServerDevOpsAuditSettings_Get
  • Default Api Version: 2022-02-01-preview
  • Resource: SqlServerDevOpsAuditingSettingResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/devOpsAuditingSettings/{devOpsAuditingSettingsName}
  • Operation Id: ServerDevOpsAuditSettings_Get
  • Default Api Version: 2022-02-01-preview
  • Resource: SqlServerDevOpsAuditingSettingResource
Get(String, CancellationToken)

Gets a server's DevOps audit settings.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/devOpsAuditingSettings/{devOpsAuditingSettingsName}
  • Operation Id: ServerDevOpsAuditSettings_Get
  • Default Api Version: 2022-02-01-preview
  • Resource: SqlServerDevOpsAuditingSettingResource
GetAll(CancellationToken)

Lists DevOps audit settings of a server.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/devOpsAuditingSettings
  • Operation Id: ServerDevOpsAuditSettings_ListByServer
  • Default Api Version: 2022-02-01-preview
  • Resource: SqlServerDevOpsAuditingSettingResource
GetAllAsync(CancellationToken)

Lists DevOps audit settings of a server.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/devOpsAuditingSettings
  • Operation Id: ServerDevOpsAuditSettings_ListByServer
  • Default Api Version: 2022-02-01-preview
  • Resource: SqlServerDevOpsAuditingSettingResource
GetAsync(String, CancellationToken)

Gets a server's DevOps audit settings.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/devOpsAuditingSettings/{devOpsAuditingSettingsName}
  • Operation Id: ServerDevOpsAuditSettings_Get
  • Default Api Version: 2022-02-01-preview
  • Resource: SqlServerDevOpsAuditingSettingResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/devOpsAuditingSettings/{devOpsAuditingSettingsName}
  • Operation Id: ServerDevOpsAuditSettings_Get
  • Default Api Version: 2022-02-01-preview
  • Resource: SqlServerDevOpsAuditingSettingResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/devOpsAuditingSettings/{devOpsAuditingSettingsName}
  • Operation Id: ServerDevOpsAuditSettings_Get
  • Default Api Version: 2022-02-01-preview
  • Resource: SqlServerDevOpsAuditingSettingResource
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<SqlServerDevOpsAuditingSettingResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<SqlServerDevOpsAuditingSettingResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to