ManagedInstanceVulnerabilityAssessmentCollection Class

Definition

A class representing a collection of ManagedInstanceVulnerabilityAssessmentResource and their operations. Each ManagedInstanceVulnerabilityAssessmentResource in the collection will belong to the same instance of ManagedInstanceResource. To get a ManagedInstanceVulnerabilityAssessmentCollection instance call the GetManagedInstanceVulnerabilityAssessments method from an instance of ManagedInstanceResource.

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

Constructors

ManagedInstanceVulnerabilityAssessmentCollection()

Initializes a new instance of the ManagedInstanceVulnerabilityAssessmentCollection 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, ManagedInstanceVulnerabilityAssessmentData, CancellationToken)

Creates or updates the managed instance's vulnerability assessment. Learn more about setting SQL vulnerability assessment with managed identity - https://docs.microsoft.com/azure/azure-sql/database/sql-database-vulnerability-assessment-storage

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

Creates or updates the managed instance's vulnerability assessment. Learn more about setting SQL vulnerability assessment with managed identity - https://docs.microsoft.com/azure/azure-sql/database/sql-database-vulnerability-assessment-storage

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/vulnerabilityAssessments/{vulnerabilityAssessmentName}
  • Operation Id: ManagedInstanceVulnerabilityAssessments_CreateOrUpdate
  • Default Api Version: 2020-11-01-preview
  • Resource: ManagedInstanceVulnerabilityAssessmentResource
Exists(VulnerabilityAssessmentName, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/vulnerabilityAssessments/{vulnerabilityAssessmentName}
  • Operation Id: ManagedInstanceVulnerabilityAssessments_Get
  • Default Api Version: 2020-11-01-preview
  • Resource: ManagedInstanceVulnerabilityAssessmentResource
ExistsAsync(VulnerabilityAssessmentName, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/vulnerabilityAssessments/{vulnerabilityAssessmentName}
  • Operation Id: ManagedInstanceVulnerabilityAssessments_Get
  • Default Api Version: 2020-11-01-preview
  • Resource: ManagedInstanceVulnerabilityAssessmentResource
Get(VulnerabilityAssessmentName, CancellationToken)

Gets the managed instance's vulnerability assessment.

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

Gets the managed instance's vulnerability assessment policies.

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

Gets the managed instance's vulnerability assessment policies.

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

Gets the managed instance's vulnerability assessment.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/vulnerabilityAssessments/{vulnerabilityAssessmentName}
  • Operation Id: ManagedInstanceVulnerabilityAssessments_Get
  • Default Api Version: 2020-11-01-preview
  • Resource: ManagedInstanceVulnerabilityAssessmentResource
GetIfExists(VulnerabilityAssessmentName, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/vulnerabilityAssessments/{vulnerabilityAssessmentName}
  • Operation Id: ManagedInstanceVulnerabilityAssessments_Get
  • Default Api Version: 2020-11-01-preview
  • Resource: ManagedInstanceVulnerabilityAssessmentResource
GetIfExistsAsync(VulnerabilityAssessmentName, CancellationToken)

Tries to get details for this resource from the service.

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

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<ManagedInstanceVulnerabilityAssessmentResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to