共用方式為


AppServiceExtensions.GetSiteSlotDiagnosticDetectorResource Method

Definition

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

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

Parameters

client
ArmClient

The ArmClient instance the method will execute against.

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a SiteSlotDiagnosticDetectorResource object.

Exceptions

client is null.

Applies to