共用方式為


SqlServerSqlVulnerabilityAssessmentBaselineRuleCollection Class

Definition

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

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

Constructors

SqlServerSqlVulnerabilityAssessmentBaselineRuleCollection()

Initializes a new instance of the SqlServerSqlVulnerabilityAssessmentBaselineRuleCollection 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}/sqlVulnerabilityAssessments/{vulnerabilityAssessmentName}/baselines/{baselineName}/rules/{ruleId}
  • Operation Id: SqlVulnerabilityAssessmentRuleBaseline_CreateOrUpdate
  • Default Api Version: 2022-11-01-preview
  • Resource: SqlServerSqlVulnerabilityAssessmentBaselineRuleResource
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}/sqlVulnerabilityAssessments/{vulnerabilityAssessmentName}/baselines/{baselineName}/rules/{ruleId}
  • Operation Id: SqlVulnerabilityAssessmentRuleBaseline_CreateOrUpdate
  • Default Api Version: 2022-11-01-preview
  • Resource: SqlServerSqlVulnerabilityAssessmentBaselineRuleResource
Exists(String, 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}/rules/{ruleId}
  • Operation Id: SqlVulnerabilityAssessmentRuleBaseline_Get
  • Default Api Version: 2022-11-01-preview
  • Resource: SqlServerSqlVulnerabilityAssessmentBaselineRuleResource
ExistsAsync(String, 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}/rules/{ruleId}
  • Operation Id: SqlVulnerabilityAssessmentRuleBaseline_Get
  • Default Api Version: 2022-11-01-preview
  • Resource: SqlServerSqlVulnerabilityAssessmentBaselineRuleResource
Get(String, CancellationToken)

Gets a system database's sql vulnerability assessment rule baseline.

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

Gets a system database's sql vulnerability assessment rule baseline.

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

Gets a system database's sql vulnerability assessment rule baseline.

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

Gets a system database's sql vulnerability assessment rule baseline.

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

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<SqlServerSqlVulnerabilityAssessmentBaselineRuleResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to