SqlVulnerabilityAssessmentScanCollection Class

Definition

Provides a compatibility shim for the SqlVulnerabilityAssessmentScanCollection class.

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

Constructors

Name Description
SqlVulnerabilityAssessmentScanCollection()

Initializes a new instance of SqlVulnerabilityAssessmentScanCollection for mocking.

Properties

Name Description
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

Name Description
Exists(String, Guid, CancellationToken)

Provides a compatibility shim for the Exists operation preserved from the previous public API surface.

Exists(String, String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path. : /{resourceId}/providers/Microsoft.Security/sqlVulnerabilityAssessments/default/scans/{scanId}.
  • Operation Id. : ScanV2s_Get.
  • Default Api Version. : 2026-04-01-preview.
ExistsAsync(String, Guid, CancellationToken)

Provides a compatibility shim for the ExistsAsync operation preserved from the previous public API surface.

ExistsAsync(String, String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path. : /{resourceId}/providers/Microsoft.Security/sqlVulnerabilityAssessments/default/scans/{scanId}.
  • Operation Id. : ScanV2s_Get.
  • Default Api Version. : 2026-04-01-preview.
Get(String, Guid, CancellationToken)

Provides a compatibility shim for the Get operation preserved from the previous public API surface.

Get(String, String, CancellationToken)

Gets the scan details of a single scan record.

  • Request Path. : /{resourceId}/providers/Microsoft.Security/sqlVulnerabilityAssessments/default/scans/{scanId}.
  • Operation Id. : ScanV2s_Get.
  • Default Api Version. : 2026-04-01-preview.
GetAll(Guid, CancellationToken)

Provides a compatibility shim for the GetAll operation preserved from the previous public API surface.

GetAll(String, CancellationToken)

Gets a list of scan records.

  • Request Path. : /{resourceId}/providers/Microsoft.Security/sqlVulnerabilityAssessments/default/scans.
  • Operation Id. : ScanV2s_List.
  • Default Api Version. : 2026-04-01-preview.
GetAllAsync(Guid, CancellationToken)

Provides a compatibility shim for the GetAllAsync operation preserved from the previous public API surface.

GetAllAsync(String, CancellationToken)

Gets a list of scan records.

  • Request Path. : /{resourceId}/providers/Microsoft.Security/sqlVulnerabilityAssessments/default/scans.
  • Operation Id. : ScanV2s_List.
  • Default Api Version. : 2026-04-01-preview.
GetAsync(String, Guid, CancellationToken)

Provides a compatibility shim for the GetAsync operation preserved from the previous public API surface.

GetAsync(String, String, CancellationToken)

Gets the scan details of a single scan record.

  • Request Path. : /{resourceId}/providers/Microsoft.Security/sqlVulnerabilityAssessments/default/scans/{scanId}.
  • Operation Id. : ScanV2s_Get.
  • Default Api Version. : 2026-04-01-preview.
GetIfExists(String, String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path. : /{resourceId}/providers/Microsoft.Security/sqlVulnerabilityAssessments/default/scans/{scanId}.
  • Operation Id. : ScanV2s_Get.
  • Default Api Version. : 2026-04-01-preview.
GetIfExistsAsync(String, String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path. : /{resourceId}/providers/Microsoft.Security/sqlVulnerabilityAssessments/default/scans/{scanId}.
  • Operation Id. : ScanV2s_Get.
  • Default Api Version. : 2026-04-01-preview.
TryGetApiVersion(ResourceType, String)

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

(Inherited from ArmCollection)

Explicit Interface Implementations

Name Description
IAsyncEnumerable<SqlVulnerabilityAssessmentScanResource>.GetAsyncEnumerator(CancellationToken)
IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<SqlVulnerabilityAssessmentScanResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Extension Methods

Name Description
ArrayContainsAll<T>(IEnumerable<T>, Object[])

Returns whether all values are present in the array.

ArrayContainsAny<T>(IEnumerable<T>, Object[])

Returns whether any values are present in the array.

Applies to