Condividi tramite


DataMigrationExtensions.GetServiceProjectTaskResource Method

Definition

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

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

Parameters

client
ArmClient

The ArmClient instance the method will execute against.

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a ServiceProjectTaskResource object.

Exceptions

client is null.

Applies to