共用方式為


SqlExtensions.GetInstancePoolResource(ArmClient, ResourceIdentifier) Method

Definition

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

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

Parameters

client
ArmClient

The ArmClient instance the method will execute against.

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a InstancePoolResource object.

Exceptions

client is null.

Applies to