public interface WatchersClient
Modifier and Type | Method and Description |
---|---|
WatcherInner |
createOrUpdate(String resourceGroupName,
String automationAccountName,
String watcherName,
WatcherInner parameters)
Create the watcher identified by watcher name.
|
com.azure.core.http.rest.Response<WatcherInner> |
createOrUpdateWithResponse(String resourceGroupName,
String automationAccountName,
String watcherName,
WatcherInner parameters,
com.azure.core.util.Context context)
Create the watcher identified by watcher name.
|
void |
delete(String resourceGroupName,
String automationAccountName,
String watcherName)
Delete the watcher by name.
|
com.azure.core.http.rest.Response<Void> |
deleteWithResponse(String resourceGroupName,
String automationAccountName,
String watcherName,
com.azure.core.util.Context context)
Delete the watcher by name.
|
WatcherInner |
get(String resourceGroupName,
String automationAccountName,
String watcherName)
Retrieve the watcher identified by watcher name.
|
com.azure.core.http.rest.Response<WatcherInner> |
getWithResponse(String resourceGroupName,
String automationAccountName,
String watcherName,
com.azure.core.util.Context context)
Retrieve the watcher identified by watcher name.
|
com.azure.core.http.rest.PagedIterable<WatcherInner> |
listByAutomationAccount(String resourceGroupName,
String automationAccountName)
Retrieve a list of watchers.
|
com.azure.core.http.rest.PagedIterable<WatcherInner> |
listByAutomationAccount(String resourceGroupName,
String automationAccountName,
String filter,
com.azure.core.util.Context context)
Retrieve a list of watchers.
|
void |
start(String resourceGroupName,
String automationAccountName,
String watcherName)
Resume the watcher identified by watcher name.
|
com.azure.core.http.rest.Response<Void> |
startWithResponse(String resourceGroupName,
String automationAccountName,
String watcherName,
com.azure.core.util.Context context)
Resume the watcher identified by watcher name.
|
void |
stop(String resourceGroupName,
String automationAccountName,
String watcherName)
Resume the watcher identified by watcher name.
|
com.azure.core.http.rest.Response<Void> |
stopWithResponse(String resourceGroupName,
String automationAccountName,
String watcherName,
com.azure.core.util.Context context)
Resume the watcher identified by watcher name.
|
WatcherInner |
update(String resourceGroupName,
String automationAccountName,
String watcherName,
WatcherUpdateParameters parameters)
Update the watcher identified by watcher name.
|
com.azure.core.http.rest.Response<WatcherInner> |
updateWithResponse(String resourceGroupName,
String automationAccountName,
String watcherName,
WatcherUpdateParameters parameters,
com.azure.core.util.Context context)
Update the watcher identified by watcher name.
|
WatcherInner createOrUpdate(String resourceGroupName, String automationAccountName, String watcherName, WatcherInner parameters)
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.watcherName
- The watcher name.parameters
- The create or update parameters for watcher.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.Response<WatcherInner> createOrUpdateWithResponse(String resourceGroupName, String automationAccountName, String watcherName, WatcherInner parameters, com.azure.core.util.Context context)
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.watcherName
- The watcher name.parameters
- The create or update parameters for watcher.context
- The context to associate with this operation.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.WatcherInner get(String resourceGroupName, String automationAccountName, String watcherName)
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.watcherName
- The watcher name.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.Response<WatcherInner> getWithResponse(String resourceGroupName, String automationAccountName, String watcherName, com.azure.core.util.Context context)
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.watcherName
- The watcher name.context
- The context to associate with this operation.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.WatcherInner update(String resourceGroupName, String automationAccountName, String watcherName, WatcherUpdateParameters parameters)
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.watcherName
- The watcher name.parameters
- The update parameters for watcher.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.Response<WatcherInner> updateWithResponse(String resourceGroupName, String automationAccountName, String watcherName, WatcherUpdateParameters parameters, com.azure.core.util.Context context)
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.watcherName
- The watcher name.parameters
- The update parameters for watcher.context
- The context to associate with this operation.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.void delete(String resourceGroupName, String automationAccountName, String watcherName)
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.watcherName
- The watcher name.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.Response<Void> deleteWithResponse(String resourceGroupName, String automationAccountName, String watcherName, com.azure.core.util.Context context)
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.watcherName
- The watcher name.context
- The context to associate with this operation.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.void start(String resourceGroupName, String automationAccountName, String watcherName)
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.watcherName
- The watcher name.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.Response<Void> startWithResponse(String resourceGroupName, String automationAccountName, String watcherName, com.azure.core.util.Context context)
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.watcherName
- The watcher name.context
- The context to associate with this operation.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.void stop(String resourceGroupName, String automationAccountName, String watcherName)
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.watcherName
- The watcher name.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.Response<Void> stopWithResponse(String resourceGroupName, String automationAccountName, String watcherName, com.azure.core.util.Context context)
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.watcherName
- The watcher name.context
- The context to associate with this operation.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.PagedIterable<WatcherInner> listByAutomationAccount(String resourceGroupName, String automationAccountName)
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.PagedIterable<WatcherInner> listByAutomationAccount(String resourceGroupName, String automationAccountName, String filter, com.azure.core.util.Context context)
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.filter
- The filter to apply on the operation.context
- The context to associate with this operation.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.Copyright © 2021 Microsoft Corporation. All rights reserved.