Bagikan melalui


SqlExtensions.GetManagedInstanceKeyResource Method

Definition

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

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

Parameters

client
ArmClient

The ArmClient instance the method will execute against.

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a ManagedInstanceKeyResource object.

Exceptions

client is null.

Applies to