Share via


AutomationExtensions.GetAutomationWatcherResource Method

Definition

Gets an object representing an AutomationWatcherResource 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 an AutomationWatcherResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetAutomationWatcherResource(ResourceIdentifier) instead.

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

Parameters

client
ArmClient

The ArmClient instance the method will execute against.

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a AutomationWatcherResource object.

Exceptions

client is null.

Applies to