Condividi tramite


SqlExtensions.GetManagedDatabaseVulnerabilityAssessmentResource Method

Definition

Gets an object representing a ManagedDatabaseVulnerabilityAssessmentResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String, VulnerabilityAssessmentName) to create a ManagedDatabaseVulnerabilityAssessmentResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetManagedDatabaseVulnerabilityAssessmentResource(ResourceIdentifier) instead.

public static Azure.ResourceManager.Sql.ManagedDatabaseVulnerabilityAssessmentResource GetManagedDatabaseVulnerabilityAssessmentResource (this Azure.ResourceManager.ArmClient client, Azure.Core.ResourceIdentifier id);
static member GetManagedDatabaseVulnerabilityAssessmentResource : Azure.ResourceManager.ArmClient * Azure.Core.ResourceIdentifier -> Azure.ResourceManager.Sql.ManagedDatabaseVulnerabilityAssessmentResource
<Extension()>
Public Function GetManagedDatabaseVulnerabilityAssessmentResource (client As ArmClient, id As ResourceIdentifier) As ManagedDatabaseVulnerabilityAssessmentResource

Parameters

client
ArmClient

The ArmClient instance the method will execute against.

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a ManagedDatabaseVulnerabilityAssessmentResource object.

Exceptions

client is null.

Applies to