Condividi tramite


AppServiceExtensions.GetWebSiteSlotResource Method

Definition

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

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

Parameters

client
ArmClient

The ArmClient instance the method will execute against.

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a WebSiteSlotResource object.

Exceptions

client is null.

Applies to