Condividi tramite


SqlExtensions.GetManagedInstanceAdvancedThreatProtectionResource Method

Definition

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

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

Parameters

client
ArmClient

The ArmClient instance the method will execute against.

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a ManagedInstanceAdvancedThreatProtectionResource object.

Exceptions

client is null.

Applies to