Dela via


SqlDatabaseVulnerabilityAssessmentRuleBaselineCollection Class

Definition

A class representing a collection of SqlDatabaseVulnerabilityAssessmentRuleBaselineResource and their operations. Each SqlDatabaseVulnerabilityAssessmentRuleBaselineResource in the collection will belong to the same instance of SqlDatabaseVulnerabilityAssessmentResource. To get a SqlDatabaseVulnerabilityAssessmentRuleBaselineCollection instance call the GetSqlDatabaseVulnerabilityAssessmentRuleBaselines method from an instance of SqlDatabaseVulnerabilityAssessmentResource.

public class SqlDatabaseVulnerabilityAssessmentRuleBaselineCollection : Azure.ResourceManager.ArmCollection
type SqlDatabaseVulnerabilityAssessmentRuleBaselineCollection = class
    inherit ArmCollection
Public Class SqlDatabaseVulnerabilityAssessmentRuleBaselineCollection
Inherits ArmCollection
Inheritance
SqlDatabaseVulnerabilityAssessmentRuleBaselineCollection

Constructors

SqlDatabaseVulnerabilityAssessmentRuleBaselineCollection()

Initializes a new instance of the SqlDatabaseVulnerabilityAssessmentRuleBaselineCollection 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, VulnerabilityAssessmentPolicyBaselineName, DatabaseVulnerabilityAssessmentRuleBaselineData, CancellationToken)

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

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/vulnerabilityAssessments/{vulnerabilityAssessmentName}/rules/{ruleId}/baselines/{baselineName}
  • Operation Id: DatabaseVulnerabilityAssessmentRuleBaselines_CreateOrUpdate
  • Default Api Version: 2020-11-01-preview
  • Resource: SqlDatabaseVulnerabilityAssessmentRuleBaselineResource
CreateOrUpdateAsync(WaitUntil, String, VulnerabilityAssessmentPolicyBaselineName, DatabaseVulnerabilityAssessmentRuleBaselineData, CancellationToken)

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

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/vulnerabilityAssessments/{vulnerabilityAssessmentName}/rules/{ruleId}/baselines/{baselineName}
  • Operation Id: DatabaseVulnerabilityAssessmentRuleBaselines_CreateOrUpdate
  • Default Api Version: 2020-11-01-preview
  • Resource: SqlDatabaseVulnerabilityAssessmentRuleBaselineResource
Exists(String, VulnerabilityAssessmentPolicyBaselineName, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/vulnerabilityAssessments/{vulnerabilityAssessmentName}/rules/{ruleId}/baselines/{baselineName}
  • Operation Id: DatabaseVulnerabilityAssessmentRuleBaselines_Get
  • Default Api Version: 2020-11-01-preview
  • Resource: SqlDatabaseVulnerabilityAssessmentRuleBaselineResource
ExistsAsync(String, VulnerabilityAssessmentPolicyBaselineName, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/vulnerabilityAssessments/{vulnerabilityAssessmentName}/rules/{ruleId}/baselines/{baselineName}
  • Operation Id: DatabaseVulnerabilityAssessmentRuleBaselines_Get
  • Default Api Version: 2020-11-01-preview
  • Resource: SqlDatabaseVulnerabilityAssessmentRuleBaselineResource
Get(String, VulnerabilityAssessmentPolicyBaselineName, CancellationToken)

Gets a database's vulnerability assessment rule baseline.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/vulnerabilityAssessments/{vulnerabilityAssessmentName}/rules/{ruleId}/baselines/{baselineName}
  • Operation Id: DatabaseVulnerabilityAssessmentRuleBaselines_Get
  • Default Api Version: 2020-11-01-preview
  • Resource: SqlDatabaseVulnerabilityAssessmentRuleBaselineResource
GetAsync(String, VulnerabilityAssessmentPolicyBaselineName, CancellationToken)

Gets a database's vulnerability assessment rule baseline.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/vulnerabilityAssessments/{vulnerabilityAssessmentName}/rules/{ruleId}/baselines/{baselineName}
  • Operation Id: DatabaseVulnerabilityAssessmentRuleBaselines_Get
  • Default Api Version: 2020-11-01-preview
  • Resource: SqlDatabaseVulnerabilityAssessmentRuleBaselineResource
GetIfExists(String, VulnerabilityAssessmentPolicyBaselineName, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/vulnerabilityAssessments/{vulnerabilityAssessmentName}/rules/{ruleId}/baselines/{baselineName}
  • Operation Id: DatabaseVulnerabilityAssessmentRuleBaselines_Get
  • Default Api Version: 2020-11-01-preview
  • Resource: SqlDatabaseVulnerabilityAssessmentRuleBaselineResource
GetIfExistsAsync(String, VulnerabilityAssessmentPolicyBaselineName, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/vulnerabilityAssessments/{vulnerabilityAssessmentName}/rules/{ruleId}/baselines/{baselineName}
  • Operation Id: DatabaseVulnerabilityAssessmentRuleBaselines_Get
  • Default Api Version: 2020-11-01-preview
  • Resource: SqlDatabaseVulnerabilityAssessmentRuleBaselineResource
TryGetApiVersion(ResourceType, String)

Gets the api version override if it has been set for the current client options.

(Inherited from ArmCollection)

Applies to