public interface Watcher
Modifier and Type | Interface and Description |
---|---|
static interface |
Watcher.Definition
The entirety of the Watcher definition.
|
static interface |
Watcher.DefinitionStages
The Watcher definition stages.
|
static interface |
Watcher.Update
The template for Watcher update.
|
static interface |
Watcher.UpdateStages
The Watcher update stages.
|
Modifier and Type | Method and Description |
---|---|
OffsetDateTime |
creationTime()
Gets the creationTime property: Gets or sets the creation time.
|
String |
description()
Gets the description property: Gets or sets the description.
|
String |
etag()
Gets the etag property: Gets or sets the etag of the resource.
|
Long |
executionFrequencyInSeconds()
Gets the executionFrequencyInSeconds property: Gets or sets the frequency at which the watcher is invoked.
|
String |
id()
Gets the id property: Fully qualified resource Id for the resource.
|
WatcherInner |
innerModel()
Gets the inner com.azure.resourcemanager.automation.fluent.models.WatcherInner object.
|
String |
lastModifiedBy()
Gets the lastModifiedBy property: Details of the user who last modified the watcher.
|
OffsetDateTime |
lastModifiedTime()
Gets the lastModifiedTime property: Gets or sets the last modified time.
|
String |
location()
Gets the location property: The geo-location where the resource lives.
|
String |
name()
Gets the name property: The name of the resource.
|
Watcher |
refresh()
Refreshes the resource to sync with Azure.
|
Watcher |
refresh(com.azure.core.util.Context context)
Refreshes the resource to sync with Azure.
|
com.azure.core.management.Region |
region()
Gets the region of the resource.
|
String |
regionName()
Gets the name of the resource region.
|
String |
scriptName()
Gets the scriptName property: Gets or sets the name of the script the watcher is attached to, i.e.
|
Map<String,String> |
scriptParameters()
Gets the scriptParameters property: Gets or sets the parameters of the script.
|
String |
scriptRunOn()
Gets the scriptRunOn property: Gets or sets the name of the hybrid worker group the watcher will run on.
|
String |
status()
Gets the status property: Gets the current status of the watcher.
|
Map<String,String> |
tags()
Gets the tags property: Resource tags.
|
String |
type()
Gets the type property: The type of the resource.
|
Watcher.Update |
update()
Begins update for the Watcher resource.
|
String id()
String name()
String type()
String etag()
String location()
Long executionFrequencyInSeconds()
String scriptName()
Map<String,String> scriptParameters()
String scriptRunOn()
String status()
OffsetDateTime creationTime()
OffsetDateTime lastModifiedTime()
String lastModifiedBy()
String description()
com.azure.core.management.Region region()
String regionName()
WatcherInner innerModel()
Watcher.Update update()
Watcher refresh()
Watcher refresh(com.azure.core.util.Context context)
context
- The context to associate with this operation.Copyright © 2021 Microsoft Corporation. All rights reserved.