共用方式為


ManagedDatabaseVulnerabilityAssessmentCollection Class

Definition

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

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

Constructors

ManagedDatabaseVulnerabilityAssessmentCollection()

Initializes a new instance of the ManagedDatabaseVulnerabilityAssessmentCollection 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, VulnerabilityAssessmentName, DatabaseVulnerabilityAssessmentData, CancellationToken)

Creates or updates the database's vulnerability assessment.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}/vulnerabilityAssessments/{vulnerabilityAssessmentName}
  • Operation Id: ManagedDatabaseVulnerabilityAssessments_CreateOrUpdate
  • Default Api Version: 2020-11-01-preview
  • Resource: ManagedDatabaseVulnerabilityAssessmentResource
CreateOrUpdateAsync(WaitUntil, VulnerabilityAssessmentName, DatabaseVulnerabilityAssessmentData, CancellationToken)

Creates or updates the database's vulnerability assessment.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}/vulnerabilityAssessments/{vulnerabilityAssessmentName}
  • Operation Id: ManagedDatabaseVulnerabilityAssessments_CreateOrUpdate
  • Default Api Version: 2020-11-01-preview
  • Resource: ManagedDatabaseVulnerabilityAssessmentResource
Exists(VulnerabilityAssessmentName, 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}
  • Operation Id: ManagedDatabaseVulnerabilityAssessments_Get
  • Default Api Version: 2020-11-01-preview
  • Resource: ManagedDatabaseVulnerabilityAssessmentResource
ExistsAsync(VulnerabilityAssessmentName, 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}
  • Operation Id: ManagedDatabaseVulnerabilityAssessments_Get
  • Default Api Version: 2020-11-01-preview
  • Resource: ManagedDatabaseVulnerabilityAssessmentResource
Get(VulnerabilityAssessmentName, CancellationToken)

Gets the database's vulnerability assessment.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}/vulnerabilityAssessments/{vulnerabilityAssessmentName}
  • Operation Id: ManagedDatabaseVulnerabilityAssessments_Get
  • Default Api Version: 2020-11-01-preview
  • Resource: ManagedDatabaseVulnerabilityAssessmentResource
GetAll(CancellationToken)

Lists the vulnerability assessments of a managed database.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}/vulnerabilityAssessments
  • Operation Id: ManagedDatabaseVulnerabilityAssessments_ListByDatabase
  • Default Api Version: 2020-11-01-preview
  • Resource: ManagedDatabaseVulnerabilityAssessmentResource
GetAllAsync(CancellationToken)

Lists the vulnerability assessments of a managed database.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}/vulnerabilityAssessments
  • Operation Id: ManagedDatabaseVulnerabilityAssessments_ListByDatabase
  • Default Api Version: 2020-11-01-preview
  • Resource: ManagedDatabaseVulnerabilityAssessmentResource
GetAsync(VulnerabilityAssessmentName, CancellationToken)

Gets the database's vulnerability assessment.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}/vulnerabilityAssessments/{vulnerabilityAssessmentName}
  • Operation Id: ManagedDatabaseVulnerabilityAssessments_Get
  • Default Api Version: 2020-11-01-preview
  • Resource: ManagedDatabaseVulnerabilityAssessmentResource
GetIfExists(VulnerabilityAssessmentName, 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}
  • Operation Id: ManagedDatabaseVulnerabilityAssessments_Get
  • Default Api Version: 2020-11-01-preview
  • Resource: ManagedDatabaseVulnerabilityAssessmentResource
GetIfExistsAsync(VulnerabilityAssessmentName, 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}
  • Operation Id: ManagedDatabaseVulnerabilityAssessments_Get
  • Default Api Version: 2020-11-01-preview
  • Resource: ManagedDatabaseVulnerabilityAssessmentResource
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<ManagedDatabaseVulnerabilityAssessmentResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<ManagedDatabaseVulnerabilityAssessmentResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to