Share via


AppServiceExtensions.GetDeletedSiteResource Method

Definition

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

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

Parameters

client
ArmClient

The ArmClient instance the method will execute against.

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a DeletedSiteResource object.

Exceptions

client is null.

Applies to