Condividi tramite


ManagedDatabaseVulnerabilityAssessmentRuleBaselineCollection Class

Definition

A class representing a collection of ManagedDatabaseVulnerabilityAssessmentRuleBaselineResource and their operations. Each ManagedDatabaseVulnerabilityAssessmentRuleBaselineResource in the collection will belong to the same instance of ManagedDatabaseVulnerabilityAssessmentResource. To get a ManagedDatabaseVulnerabilityAssessmentRuleBaselineCollection instance call the GetManagedDatabaseVulnerabilityAssessmentRuleBaselines method from an instance of ManagedDatabaseVulnerabilityAssessmentResource.

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

Constructors

ManagedDatabaseVulnerabilityAssessmentRuleBaselineCollection()

Initializes a new instance of the ManagedDatabaseVulnerabilityAssessmentRuleBaselineCollection 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/managedInstances/{managedInstanceName}/databases/{databaseName}/vulnerabilityAssessments/{vulnerabilityAssessmentName}/rules/{ruleId}/baselines/{baselineName}
  • Operation Id: ManagedDatabaseVulnerabilityAssessmentRuleBaselines_CreateOrUpdate
  • Default Api Version: 2020-11-01-preview
  • Resource: ManagedDatabaseVulnerabilityAssessmentRuleBaselineResource
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/managedInstances/{managedInstanceName}/databases/{databaseName}/vulnerabilityAssessments/{vulnerabilityAssessmentName}/rules/{ruleId}/baselines/{baselineName}
  • Operation Id: ManagedDatabaseVulnerabilityAssessmentRuleBaselines_CreateOrUpdate
  • Default Api Version: 2020-11-01-preview
  • Resource: ManagedDatabaseVulnerabilityAssessmentRuleBaselineResource
Exists(String, VulnerabilityAssessmentPolicyBaselineName, CancellationToken)

Checks to see if the resource exists in azure.

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

Checks to see if the resource exists in azure.

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

Gets a database's vulnerability assessment rule baseline.

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

Gets a database's vulnerability assessment rule baseline.

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

Tries to get details for this resource from the service.

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

Tries to get details for this resource from the service.

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

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

(Inherited from ArmCollection)

Applies to