getWatcher

Retrieve the watcher identified by watcher name. Uses Azure REST API version 2023-05-15-preview. Other available API versions: 2015-10-31, 2019-06-01, 2020-01-13-preview, 2024-10-23. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native automation [ApiVersion]. See the ../../../version-guide/#accessing-any-api-version-via-local-packages for details.

Return

Definition of the watcher type.

Parameters

argument

null


suspend fun getWatcher(automationAccountName: String, resourceGroupName: String, watcherName: String): GetWatcherResult

Return

Definition of the watcher type.

Parameters

automationAccountName

The name of the automation account.

resourceGroupName

Name of an Azure Resource group.

watcherName

The watcher name.

See also


suspend fun getWatcher(argument: suspend GetWatcherPlainArgsBuilder.() -> Unit): GetWatcherResult

Return

Definition of the watcher type.

Parameters

argument

Builder for com.pulumi.azurenative.automation.kotlin.inputs.GetWatcherPlainArgs.

See also