Share via


SqlDatabaseSqlVulnerabilityAssessmentBaselineCollection Class

Definition

A class representing a collection of SqlDatabaseSqlVulnerabilityAssessmentBaselineResource and their operations. Each SqlDatabaseSqlVulnerabilityAssessmentBaselineResource in the collection will belong to the same instance of SqlDatabaseSqlVulnerabilityAssessmentResource. To get a SqlDatabaseSqlVulnerabilityAssessmentBaselineCollection instance call the GetSqlDatabaseSqlVulnerabilityAssessmentBaselines method from an instance of SqlDatabaseSqlVulnerabilityAssessmentResource.

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

Constructors

SqlDatabaseSqlVulnerabilityAssessmentBaselineCollection()

Initializes a new instance of the SqlDatabaseSqlVulnerabilityAssessmentBaselineCollection 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, SqlVulnerabilityAssessmentBaselineName, SqlVulnerabilityAssessmentBaselineCreateOrUpdateContent, CancellationToken)

Add a database's vulnerability assessment rule baseline list.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/sqlVulnerabilityAssessments/{vulnerabilityAssessmentName}/baselines/{baselineName}
  • Operation Id: DatabaseSqlVulnerabilityAssessmentBaselines_CreateOrUpdate
  • Default Api Version: 2022-11-01-preview
  • Resource: SqlDatabaseSqlVulnerabilityAssessmentBaselineResource
CreateOrUpdateAsync(WaitUntil, SqlVulnerabilityAssessmentBaselineName, SqlVulnerabilityAssessmentBaselineCreateOrUpdateContent, CancellationToken)

Add a database's vulnerability assessment rule baseline list.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/sqlVulnerabilityAssessments/{vulnerabilityAssessmentName}/baselines/{baselineName}
  • Operation Id: DatabaseSqlVulnerabilityAssessmentBaselines_CreateOrUpdate
  • Default Api Version: 2022-11-01-preview
  • Resource: SqlDatabaseSqlVulnerabilityAssessmentBaselineResource
Exists(SqlVulnerabilityAssessmentBaselineName, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/sqlVulnerabilityAssessments/{vulnerabilityAssessmentName}/baselines/{baselineName}
  • Operation Id: DatabaseSqlVulnerabilityAssessmentBaselines_Get
  • Default Api Version: 2022-11-01-preview
  • Resource: SqlDatabaseSqlVulnerabilityAssessmentBaselineResource
ExistsAsync(SqlVulnerabilityAssessmentBaselineName, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/sqlVulnerabilityAssessments/{vulnerabilityAssessmentName}/baselines/{baselineName}
  • Operation Id: DatabaseSqlVulnerabilityAssessmentBaselines_Get
  • Default Api Version: 2022-11-01-preview
  • Resource: SqlDatabaseSqlVulnerabilityAssessmentBaselineResource
Get(SqlVulnerabilityAssessmentBaselineName, CancellationToken)

Gets a list of database's sql vulnerability assessment rule baselines.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/sqlVulnerabilityAssessments/{vulnerabilityAssessmentName}/baselines/{baselineName}
  • Operation Id: DatabaseSqlVulnerabilityAssessmentBaselines_Get
  • Default Api Version: 2022-11-01-preview
  • Resource: SqlDatabaseSqlVulnerabilityAssessmentBaselineResource
GetAll(CancellationToken)

Gets a list of database's sql vulnerability assessment rule baselines.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/sqlVulnerabilityAssessments/{vulnerabilityAssessmentName}/baselines
  • Operation Id: DatabaseSqlVulnerabilityAssessmentBaselines_ListBySqlVulnerabilityAssessment
  • Default Api Version: 2022-11-01-preview
  • Resource: SqlDatabaseSqlVulnerabilityAssessmentBaselineResource
GetAllAsync(CancellationToken)

Gets a list of database's sql vulnerability assessment rule baselines.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/sqlVulnerabilityAssessments/{vulnerabilityAssessmentName}/baselines
  • Operation Id: DatabaseSqlVulnerabilityAssessmentBaselines_ListBySqlVulnerabilityAssessment
  • Default Api Version: 2022-11-01-preview
  • Resource: SqlDatabaseSqlVulnerabilityAssessmentBaselineResource
GetAsync(SqlVulnerabilityAssessmentBaselineName, CancellationToken)

Gets a list of database's sql vulnerability assessment rule baselines.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/sqlVulnerabilityAssessments/{vulnerabilityAssessmentName}/baselines/{baselineName}
  • Operation Id: DatabaseSqlVulnerabilityAssessmentBaselines_Get
  • Default Api Version: 2022-11-01-preview
  • Resource: SqlDatabaseSqlVulnerabilityAssessmentBaselineResource
GetIfExists(SqlVulnerabilityAssessmentBaselineName, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/sqlVulnerabilityAssessments/{vulnerabilityAssessmentName}/baselines/{baselineName}
  • Operation Id: DatabaseSqlVulnerabilityAssessmentBaselines_Get
  • Default Api Version: 2022-11-01-preview
  • Resource: SqlDatabaseSqlVulnerabilityAssessmentBaselineResource
GetIfExistsAsync(SqlVulnerabilityAssessmentBaselineName, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/sqlVulnerabilityAssessments/{vulnerabilityAssessmentName}/baselines/{baselineName}
  • Operation Id: DatabaseSqlVulnerabilityAssessmentBaselines_Get
  • Default Api Version: 2022-11-01-preview
  • Resource: SqlDatabaseSqlVulnerabilityAssessmentBaselineResource
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<SqlDatabaseSqlVulnerabilityAssessmentBaselineResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<SqlDatabaseSqlVulnerabilityAssessmentBaselineResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to