Condividi tramite


DataMigrationExtensions.GetProjectFileResource Method

Definition

Gets an object representing a ProjectFileResource 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 ProjectFileResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetProjectFileResource(ResourceIdentifier) instead.

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

Parameters

client
ArmClient

The ArmClient instance the method will execute against.

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a ProjectFileResource object.

Exceptions

client is null.

Applies to