SqlServerSqlVulnerabilityAssessmentScanCollection Class

Definition

A class representing a collection of SqlServerSqlVulnerabilityAssessmentScanResource and their operations. Each SqlServerSqlVulnerabilityAssessmentScanResource in the collection will belong to the same instance of SqlServerSqlVulnerabilityAssessmentResource. To get a SqlServerSqlVulnerabilityAssessmentScanCollection instance call the GetSqlServerSqlVulnerabilityAssessmentScans method from an instance of SqlServerSqlVulnerabilityAssessmentResource.

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

Constructors

SqlServerSqlVulnerabilityAssessmentScanCollection()

Initializes a new instance of the SqlServerSqlVulnerabilityAssessmentScanCollection 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

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}/scans/{scanId}
  • Operation Id: SqlVulnerabilityAssessmentScans_Get
  • Default Api Version: 2022-11-01-preview
  • Resource: SqlServerSqlVulnerabilityAssessmentScanResource
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}/scans/{scanId}
  • Operation Id: SqlVulnerabilityAssessmentScans_Get
  • Default Api Version: 2022-11-01-preview
  • Resource: SqlServerSqlVulnerabilityAssessmentScanResource
Get(String, CancellationToken)

Get a system database vulnerability assessment scan record.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/sqlVulnerabilityAssessments/{vulnerabilityAssessmentName}/scans/{scanId}
  • Operation Id: SqlVulnerabilityAssessmentScans_Get
  • Default Api Version: 2022-11-01-preview
  • Resource: SqlServerSqlVulnerabilityAssessmentScanResource
GetAll(CancellationToken)

Lists the vulnerability assessment scans of a database.

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

Lists the vulnerability assessment scans of a database.

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

Get a system database vulnerability assessment scan record.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/sqlVulnerabilityAssessments/{vulnerabilityAssessmentName}/scans/{scanId}
  • Operation Id: SqlVulnerabilityAssessmentScans_Get
  • Default Api Version: 2022-11-01-preview
  • Resource: SqlServerSqlVulnerabilityAssessmentScanResource
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}/scans/{scanId}
  • Operation Id: SqlVulnerabilityAssessmentScans_Get
  • Default Api Version: 2022-11-01-preview
  • Resource: SqlServerSqlVulnerabilityAssessmentScanResource
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}/scans/{scanId}
  • Operation Id: SqlVulnerabilityAssessmentScans_Get
  • Default Api Version: 2022-11-01-preview
  • Resource: SqlServerSqlVulnerabilityAssessmentScanResource
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<SqlServerSqlVulnerabilityAssessmentScanResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<SqlServerSqlVulnerabilityAssessmentScanResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to