WatcherOperationsExtensions.ListByAutomationAccount(IWatcherOperations, String, String, ODataQuery<Watcher>) Method

Definition

Retrieve a list of watchers.

public static Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Automation.Models.Watcher> ListByAutomationAccount (this Microsoft.Azure.Management.Automation.IWatcherOperations operations, string resourceGroupName, string automationAccountName, Microsoft.Rest.Azure.OData.ODataQuery<Microsoft.Azure.Management.Automation.Models.Watcher> odataQuery = null);
static member ListByAutomationAccount : Microsoft.Azure.Management.Automation.IWatcherOperations * string * string * Microsoft.Rest.Azure.OData.ODataQuery<Microsoft.Azure.Management.Automation.Models.Watcher> -> Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Automation.Models.Watcher>
<Extension()>
Public Function ListByAutomationAccount (operations As IWatcherOperations, resourceGroupName As String, automationAccountName As String, Optional odataQuery As ODataQuery(Of Watcher) = null) As IPage(Of Watcher)

Parameters

operations
IWatcherOperations

The operations group for this extension method.

resourceGroupName
String

Name of an Azure Resource group.

automationAccountName
String

The name of the automation account.

odataQuery
ODataQuery<Watcher>

OData parameters to apply to the operation.

Returns

Applies to