Condividi tramite


SqlServerSqlVulnerabilityAssessmentBaselineCollection Class

Definition

A class representing a collection of SqlServerSqlVulnerabilityAssessmentBaselineResource and their operations. Each SqlServerSqlVulnerabilityAssessmentBaselineResource in the collection will belong to the same instance of SqlServerSqlVulnerabilityAssessmentResource. To get a SqlServerSqlVulnerabilityAssessmentBaselineCollection instance call the GetSqlServerSqlVulnerabilityAssessmentBaselines method from an instance of SqlServerSqlVulnerabilityAssessmentResource.

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

Constructors

SqlServerSqlVulnerabilityAssessmentBaselineCollection()

Initializes a new instance of the SqlServerSqlVulnerabilityAssessmentBaselineCollection 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}/sqlVulnerabilityAssessments/{vulnerabilityAssessmentName}/baselines/{baselineName}
  • Operation Id: SqlVulnerabilityAssessmentBaselines_CreateOrUpdate
  • Default Api Version: 2022-11-01-preview
  • Resource: SqlServerSqlVulnerabilityAssessmentBaselineResource
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}/sqlVulnerabilityAssessments/{vulnerabilityAssessmentName}/baselines/{baselineName}
  • Operation Id: SqlVulnerabilityAssessmentBaselines_CreateOrUpdate
  • Default Api Version: 2022-11-01-preview
  • Resource: SqlServerSqlVulnerabilityAssessmentBaselineResource
Exists(SqlVulnerabilityAssessmentBaselineName, CancellationToken)

Checks to see if the resource exists in azure.

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

Checks to see if the resource exists in azure.

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

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

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

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

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/sqlVulnerabilityAssessments/{vulnerabilityAssessmentName}/baselines
  • Operation Id: SqlVulnerabilityAssessmentBaseline_ListBySqlVulnerabilityAssessment
  • Default Api Version: 2022-11-01-preview
  • Resource: SqlServerSqlVulnerabilityAssessmentBaselineResource
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}/sqlVulnerabilityAssessments/{vulnerabilityAssessmentName}/baselines/{baselineName}
  • Operation Id: SqlVulnerabilityAssessmentBaseline_Get
  • Default Api Version: 2022-11-01-preview
  • Resource: SqlServerSqlVulnerabilityAssessmentBaselineResource
GetIfExists(SqlVulnerabilityAssessmentBaselineName, CancellationToken)

Tries to get details for this resource from the service.

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

Tries to get details for this resource from the service.

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

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<SqlServerSqlVulnerabilityAssessmentBaselineResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to