共用方式為


SqlDatabaseSqlVulnerabilityAssessmentBaselineRuleCollection Class

Definition

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

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

Constructors

SqlDatabaseSqlVulnerabilityAssessmentBaselineRuleCollection()

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

Creates or updates a database's vulnerability assessment rule baseline.

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

Creates or updates a database's vulnerability assessment rule baseline.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/sqlVulnerabilityAssessments/{vulnerabilityAssessmentName}/baselines/{baselineName}/rules/{ruleId}
  • Operation Id: DatabaseSqlVulnerabilityAssessmentRuleBaselines_CreateOrUpdate
  • Default Api Version: 2022-11-01-preview
  • Resource: SqlDatabaseSqlVulnerabilityAssessmentBaselineRuleResource
Exists(String, 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}/rules/{ruleId}
  • Operation Id: DatabaseSqlVulnerabilityAssessmentRuleBaselines_Get
  • Default Api Version: 2022-11-01-preview
  • Resource: SqlDatabaseSqlVulnerabilityAssessmentBaselineRuleResource
ExistsAsync(String, 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}/rules/{ruleId}
  • Operation Id: DatabaseSqlVulnerabilityAssessmentRuleBaselines_Get
  • Default Api Version: 2022-11-01-preview
  • Resource: SqlDatabaseSqlVulnerabilityAssessmentBaselineRuleResource
Get(String, CancellationToken)

Gets a database's sql vulnerability assessment rule baseline.

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

Gets a database's sql vulnerability assessment rule baseline.

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

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<SqlDatabaseSqlVulnerabilityAssessmentBaselineRuleResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to