All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azure.automation.kotlin.WatcherArgs.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 6.15.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.automation.kotlin

import com.pulumi.azure.automation.WatcherArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Int
import kotlin.Pair
import kotlin.String
import kotlin.Suppress
import kotlin.collections.Map
import kotlin.jvm.JvmName

/**
 * Manages an Automation Wacher.
 * ## Example Usage
 * 
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as azure from "@pulumi/azure";
 * const example = new azure.core.ResourceGroup("example", {
 *     name: "example-resources",
 *     location: "West Europe",
 * });
 * const exampleAccount = new azure.automation.Account("example", {
 *     name: "example-account",
 *     location: example.location,
 *     resourceGroupName: example.name,
 *     skuName: "Basic",
 * });
 * const exampleHybridRunbookWorkerGroup = new azure.automation.HybridRunbookWorkerGroup("example", {
 *     name: "example",
 *     resourceGroupName: example.name,
 *     automationAccountName: exampleAccount.name,
 * });
 * const exampleRunBook = new azure.automation.RunBook("example", {
 *     name: "Get-AzureVMTutorial",
 *     location: example.location,
 *     resourceGroupName: example.name,
 *     automationAccountName: exampleAccount.name,
 *     logVerbose: true,
 *     logProgress: true,
 *     description: "This is an example runbook",
 *     runbookType: "PowerShellWorkflow",
 *     publishContentLink: {
 *         uri: "https://raw.githubusercontent.com/Azure/azure-quickstart-templates/c4935ffb69246a6058eb24f54640f53f69d3ac9f/101-automation-runbook-getvms/Runbooks/Get-AzureVMTutorial.ps1",
 *     },
 * });
 * const exampleWatcher = new azure.automation.Watcher("example", {
 *     name: "example",
 *     automationAccountId: exampleAccount.id,
 *     location: "West Europe",
 *     scriptName: exampleRunBook.name,
 *     scriptRunOn: exampleHybridRunbookWorkerGroup.name,
 *     description: "example-watcher desc",
 *     executionFrequencyInSeconds: 42,
 *     tags: {
 *         foo: "bar",
 *     },
 *     scriptParameters: {
 *         foo: "bar",
 *     },
 * });
 * ```
 * ```python
 * import pulumi
 * import pulumi_azure as azure
 * example = azure.core.ResourceGroup("example",
 *     name="example-resources",
 *     location="West Europe")
 * example_account = azure.automation.Account("example",
 *     name="example-account",
 *     location=example.location,
 *     resource_group_name=example.name,
 *     sku_name="Basic")
 * example_hybrid_runbook_worker_group = azure.automation.HybridRunbookWorkerGroup("example",
 *     name="example",
 *     resource_group_name=example.name,
 *     automation_account_name=example_account.name)
 * example_run_book = azure.automation.RunBook("example",
 *     name="Get-AzureVMTutorial",
 *     location=example.location,
 *     resource_group_name=example.name,
 *     automation_account_name=example_account.name,
 *     log_verbose=True,
 *     log_progress=True,
 *     description="This is an example runbook",
 *     runbook_type="PowerShellWorkflow",
 *     publish_content_link=azure.automation.RunBookPublishContentLinkArgs(
 *         uri="https://raw.githubusercontent.com/Azure/azure-quickstart-templates/c4935ffb69246a6058eb24f54640f53f69d3ac9f/101-automation-runbook-getvms/Runbooks/Get-AzureVMTutorial.ps1",
 *     ))
 * example_watcher = azure.automation.Watcher("example",
 *     name="example",
 *     automation_account_id=example_account.id,
 *     location="West Europe",
 *     script_name=example_run_book.name,
 *     script_run_on=example_hybrid_runbook_worker_group.name,
 *     description="example-watcher desc",
 *     execution_frequency_in_seconds=42,
 *     tags={
 *         "foo": "bar",
 *     },
 *     script_parameters={
 *         "foo": "bar",
 *     })
 * ```
 * ```csharp
 * using System.Collections.Generic;
 * using System.Linq;
 * using Pulumi;
 * using Azure = Pulumi.Azure;
 * return await Deployment.RunAsync(() =>
 * {
 *     var example = new Azure.Core.ResourceGroup("example", new()
 *     {
 *         Name = "example-resources",
 *         Location = "West Europe",
 *     });
 *     var exampleAccount = new Azure.Automation.Account("example", new()
 *     {
 *         Name = "example-account",
 *         Location = example.Location,
 *         ResourceGroupName = example.Name,
 *         SkuName = "Basic",
 *     });
 *     var exampleHybridRunbookWorkerGroup = new Azure.Automation.HybridRunbookWorkerGroup("example", new()
 *     {
 *         Name = "example",
 *         ResourceGroupName = example.Name,
 *         AutomationAccountName = exampleAccount.Name,
 *     });
 *     var exampleRunBook = new Azure.Automation.RunBook("example", new()
 *     {
 *         Name = "Get-AzureVMTutorial",
 *         Location = example.Location,
 *         ResourceGroupName = example.Name,
 *         AutomationAccountName = exampleAccount.Name,
 *         LogVerbose = true,
 *         LogProgress = true,
 *         Description = "This is an example runbook",
 *         RunbookType = "PowerShellWorkflow",
 *         PublishContentLink = new Azure.Automation.Inputs.RunBookPublishContentLinkArgs
 *         {
 *             Uri = "https://raw.githubusercontent.com/Azure/azure-quickstart-templates/c4935ffb69246a6058eb24f54640f53f69d3ac9f/101-automation-runbook-getvms/Runbooks/Get-AzureVMTutorial.ps1",
 *         },
 *     });
 *     var exampleWatcher = new Azure.Automation.Watcher("example", new()
 *     {
 *         Name = "example",
 *         AutomationAccountId = exampleAccount.Id,
 *         Location = "West Europe",
 *         ScriptName = exampleRunBook.Name,
 *         ScriptRunOn = exampleHybridRunbookWorkerGroup.Name,
 *         Description = "example-watcher desc",
 *         ExecutionFrequencyInSeconds = 42,
 *         Tags =
 *         {
 *             { "foo", "bar" },
 *         },
 *         ScriptParameters =
 *         {
 *             { "foo", "bar" },
 *         },
 *     });
 * });
 * ```
 * ```go
 * package main
 * import (
 * 	"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/automation"
 * 	"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
 * 	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
 * )
 * func main() {
 * 	pulumi.Run(func(ctx *pulumi.Context) error {
 * 		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
 * 			Name:     pulumi.String("example-resources"),
 * 			Location: pulumi.String("West Europe"),
 * 		})
 * 		if err != nil {
 * 			return err
 * 		}
 * 		exampleAccount, err := automation.NewAccount(ctx, "example", &automation.AccountArgs{
 * 			Name:              pulumi.String("example-account"),
 * 			Location:          example.Location,
 * 			ResourceGroupName: example.Name,
 * 			SkuName:           pulumi.String("Basic"),
 * 		})
 * 		if err != nil {
 * 			return err
 * 		}
 * 		exampleHybridRunbookWorkerGroup, err := automation.NewHybridRunbookWorkerGroup(ctx, "example", &automation.HybridRunbookWorkerGroupArgs{
 * 			Name:                  pulumi.String("example"),
 * 			ResourceGroupName:     example.Name,
 * 			AutomationAccountName: exampleAccount.Name,
 * 		})
 * 		if err != nil {
 * 			return err
 * 		}
 * 		exampleRunBook, err := automation.NewRunBook(ctx, "example", &automation.RunBookArgs{
 * 			Name:                  pulumi.String("Get-AzureVMTutorial"),
 * 			Location:              example.Location,
 * 			ResourceGroupName:     example.Name,
 * 			AutomationAccountName: exampleAccount.Name,
 * 			LogVerbose:            pulumi.Bool(true),
 * 			LogProgress:           pulumi.Bool(true),
 * 			Description:           pulumi.String("This is an example runbook"),
 * 			RunbookType:           pulumi.String("PowerShellWorkflow"),
 * 			PublishContentLink: &automation.RunBookPublishContentLinkArgs{
 * 				Uri: pulumi.String("https://raw.githubusercontent.com/Azure/azure-quickstart-templates/c4935ffb69246a6058eb24f54640f53f69d3ac9f/101-automation-runbook-getvms/Runbooks/Get-AzureVMTutorial.ps1"),
 * 			},
 * 		})
 * 		if err != nil {
 * 			return err
 * 		}
 * 		_, err = automation.NewWatcher(ctx, "example", &automation.WatcherArgs{
 * 			Name:                        pulumi.String("example"),
 * 			AutomationAccountId:         exampleAccount.ID(),
 * 			Location:                    pulumi.String("West Europe"),
 * 			ScriptName:                  exampleRunBook.Name,
 * 			ScriptRunOn:                 exampleHybridRunbookWorkerGroup.Name,
 * 			Description:                 pulumi.String("example-watcher desc"),
 * 			ExecutionFrequencyInSeconds: pulumi.Int(42),
 * 			Tags: pulumi.StringMap{
 * 				"foo": pulumi.String("bar"),
 * 			},
 * 			ScriptParameters: pulumi.StringMap{
 * 				"foo": pulumi.String("bar"),
 * 			},
 * 		})
 * 		if err != nil {
 * 			return err
 * 		}
 * 		return nil
 * 	})
 * }
 * ```
 * ```java
 * package generated_program;
 * import com.pulumi.Context;
 * import com.pulumi.Pulumi;
 * import com.pulumi.core.Output;
 * import com.pulumi.azure.core.ResourceGroup;
 * import com.pulumi.azure.core.ResourceGroupArgs;
 * import com.pulumi.azure.automation.Account;
 * import com.pulumi.azure.automation.AccountArgs;
 * import com.pulumi.azure.automation.HybridRunbookWorkerGroup;
 * import com.pulumi.azure.automation.HybridRunbookWorkerGroupArgs;
 * import com.pulumi.azure.automation.RunBook;
 * import com.pulumi.azure.automation.RunBookArgs;
 * import com.pulumi.azure.automation.inputs.RunBookPublishContentLinkArgs;
 * import com.pulumi.azure.automation.Watcher;
 * import com.pulumi.azure.automation.WatcherArgs;
 * import java.util.List;
 * import java.util.ArrayList;
 * import java.util.Map;
 * import java.io.File;
 * import java.nio.file.Files;
 * import java.nio.file.Paths;
 * public class App {
 *     public static void main(String[] args) {
 *         Pulumi.run(App::stack);
 *     }
 *     public static void stack(Context ctx) {
 *         var example = new ResourceGroup("example", ResourceGroupArgs.builder()
 *             .name("example-resources")
 *             .location("West Europe")
 *             .build());
 *         var exampleAccount = new Account("exampleAccount", AccountArgs.builder()
 *             .name("example-account")
 *             .location(example.location())
 *             .resourceGroupName(example.name())
 *             .skuName("Basic")
 *             .build());
 *         var exampleHybridRunbookWorkerGroup = new HybridRunbookWorkerGroup("exampleHybridRunbookWorkerGroup", HybridRunbookWorkerGroupArgs.builder()
 *             .name("example")
 *             .resourceGroupName(example.name())
 *             .automationAccountName(exampleAccount.name())
 *             .build());
 *         var exampleRunBook = new RunBook("exampleRunBook", RunBookArgs.builder()
 *             .name("Get-AzureVMTutorial")
 *             .location(example.location())
 *             .resourceGroupName(example.name())
 *             .automationAccountName(exampleAccount.name())
 *             .logVerbose("true")
 *             .logProgress("true")
 *             .description("This is an example runbook")
 *             .runbookType("PowerShellWorkflow")
 *             .publishContentLink(RunBookPublishContentLinkArgs.builder()
 *                 .uri("https://raw.githubusercontent.com/Azure/azure-quickstart-templates/c4935ffb69246a6058eb24f54640f53f69d3ac9f/101-automation-runbook-getvms/Runbooks/Get-AzureVMTutorial.ps1")
 *                 .build())
 *             .build());
 *         var exampleWatcher = new Watcher("exampleWatcher", WatcherArgs.builder()
 *             .name("example")
 *             .automationAccountId(exampleAccount.id())
 *             .location("West Europe")
 *             .scriptName(exampleRunBook.name())
 *             .scriptRunOn(exampleHybridRunbookWorkerGroup.name())
 *             .description("example-watcher desc")
 *             .executionFrequencyInSeconds(42)
 *             .tags(Map.of("foo", "bar"))
 *             .scriptParameters(Map.of("foo", "bar"))
 *             .build());
 *     }
 * }
 * ```
 * ```yaml
 * resources:
 *   example:
 *     type: azure:core:ResourceGroup
 *     properties:
 *       name: example-resources
 *       location: West Europe
 *   exampleAccount:
 *     type: azure:automation:Account
 *     name: example
 *     properties:
 *       name: example-account
 *       location: ${example.location}
 *       resourceGroupName: ${example.name}
 *       skuName: Basic
 *   exampleHybridRunbookWorkerGroup:
 *     type: azure:automation:HybridRunbookWorkerGroup
 *     name: example
 *     properties:
 *       name: example
 *       resourceGroupName: ${example.name}
 *       automationAccountName: ${exampleAccount.name}
 *   exampleRunBook:
 *     type: azure:automation:RunBook
 *     name: example
 *     properties:
 *       name: Get-AzureVMTutorial
 *       location: ${example.location}
 *       resourceGroupName: ${example.name}
 *       automationAccountName: ${exampleAccount.name}
 *       logVerbose: 'true'
 *       logProgress: 'true'
 *       description: This is an example runbook
 *       runbookType: PowerShellWorkflow
 *       publishContentLink:
 *         uri: https://raw.githubusercontent.com/Azure/azure-quickstart-templates/c4935ffb69246a6058eb24f54640f53f69d3ac9f/101-automation-runbook-getvms/Runbooks/Get-AzureVMTutorial.ps1
 *   exampleWatcher:
 *     type: azure:automation:Watcher
 *     name: example
 *     properties:
 *       name: example
 *       automationAccountId: ${exampleAccount.id}
 *       location: West Europe
 *       scriptName: ${exampleRunBook.name}
 *       scriptRunOn: ${exampleHybridRunbookWorkerGroup.name}
 *       description: example-watcher desc
 *       executionFrequencyInSeconds: 42
 *       tags:
 *         foo: bar
 *       scriptParameters:
 *         foo: bar
 * ```
 * 
 * ## Import
 * Automation Watchers can be imported using the `resource id`, e.g.
 * ```sh
 * $ pulumi import azure:automation/watcher:Watcher example /subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/group1/providers/Microsoft.Automation/automationAccounts/account1/watchers/watch1
 * ```
 * @property automationAccountId The ID of Automation Account to manage this Watcher. Changing this forces a new Watcher to be created.
 * @property description A description of this Automation Watcher.
 * @property etag A string of etag assigned to this Automation Watcher.
 * @property executionFrequencyInSeconds Specify the frequency at which the watcher is invoked.
 * @property location The Azure Region where the Automation Watcher should exist. Changing this forces a new Automation Watcher to be created.
 * @property name The name which should be used for this Automation Watcher. Changing this forces a new Automation Watcher to be created.
 * @property scriptName Specify the name of an existing runbook this watcher is attached to. Changing this forces a new Automation to be created.
 * @property scriptParameters Specifies a list of key-vaule parameters. Changing this forces a new Automation watcher to be created.
 * @property scriptRunOn Specify the name of the Hybrid work group the watcher will run on.
 * @property tags A mapping of tags which should be assigned to the Automation Watcher.
 */
public data class WatcherArgs(
    public val automationAccountId: Output? = null,
    public val description: Output? = null,
    public val etag: Output? = null,
    public val executionFrequencyInSeconds: Output? = null,
    public val location: Output? = null,
    public val name: Output? = null,
    public val scriptName: Output? = null,
    public val scriptParameters: Output>? = null,
    public val scriptRunOn: Output? = null,
    public val tags: Output>? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azure.automation.WatcherArgs =
        com.pulumi.azure.automation.WatcherArgs.builder()
            .automationAccountId(automationAccountId?.applyValue({ args0 -> args0 }))
            .description(description?.applyValue({ args0 -> args0 }))
            .etag(etag?.applyValue({ args0 -> args0 }))
            .executionFrequencyInSeconds(executionFrequencyInSeconds?.applyValue({ args0 -> args0 }))
            .location(location?.applyValue({ args0 -> args0 }))
            .name(name?.applyValue({ args0 -> args0 }))
            .scriptName(scriptName?.applyValue({ args0 -> args0 }))
            .scriptParameters(
                scriptParameters?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.key.to(args0.value)
                    }).toMap()
                }),
            )
            .scriptRunOn(scriptRunOn?.applyValue({ args0 -> args0 }))
            .tags(
                tags?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.key.to(args0.value)
                    }).toMap()
                }),
            ).build()
}

/**
 * Builder for [WatcherArgs].
 */
@PulumiTagMarker
public class WatcherArgsBuilder internal constructor() {
    private var automationAccountId: Output? = null

    private var description: Output? = null

    private var etag: Output? = null

    private var executionFrequencyInSeconds: Output? = null

    private var location: Output? = null

    private var name: Output? = null

    private var scriptName: Output? = null

    private var scriptParameters: Output>? = null

    private var scriptRunOn: Output? = null

    private var tags: Output>? = null

    /**
     * @param value The ID of Automation Account to manage this Watcher. Changing this forces a new Watcher to be created.
     */
    @JvmName("vxwoiwglfewcetfu")
    public suspend fun automationAccountId(`value`: Output) {
        this.automationAccountId = value
    }

    /**
     * @param value A description of this Automation Watcher.
     */
    @JvmName("qxdhgfkcukihhsbi")
    public suspend fun description(`value`: Output) {
        this.description = value
    }

    /**
     * @param value A string of etag assigned to this Automation Watcher.
     */
    @JvmName("xqmgiqhwmlwwruid")
    public suspend fun etag(`value`: Output) {
        this.etag = value
    }

    /**
     * @param value Specify the frequency at which the watcher is invoked.
     */
    @JvmName("aqsmsydveifbsnqh")
    public suspend fun executionFrequencyInSeconds(`value`: Output) {
        this.executionFrequencyInSeconds = value
    }

    /**
     * @param value The Azure Region where the Automation Watcher should exist. Changing this forces a new Automation Watcher to be created.
     */
    @JvmName("fxdfkkbpkfvucnjm")
    public suspend fun location(`value`: Output) {
        this.location = value
    }

    /**
     * @param value The name which should be used for this Automation Watcher. Changing this forces a new Automation Watcher to be created.
     */
    @JvmName("inmrgsbybqsfykne")
    public suspend fun name(`value`: Output) {
        this.name = value
    }

    /**
     * @param value Specify the name of an existing runbook this watcher is attached to. Changing this forces a new Automation to be created.
     */
    @JvmName("qeorwvasynoooajd")
    public suspend fun scriptName(`value`: Output) {
        this.scriptName = value
    }

    /**
     * @param value Specifies a list of key-vaule parameters. Changing this forces a new Automation watcher to be created.
     */
    @JvmName("aaqbpuubfvwamfdh")
    public suspend fun scriptParameters(`value`: Output>) {
        this.scriptParameters = value
    }

    /**
     * @param value Specify the name of the Hybrid work group the watcher will run on.
     */
    @JvmName("wcrhotyncgerjhja")
    public suspend fun scriptRunOn(`value`: Output) {
        this.scriptRunOn = value
    }

    /**
     * @param value A mapping of tags which should be assigned to the Automation Watcher.
     */
    @JvmName("mjtoqliweayctwko")
    public suspend fun tags(`value`: Output>) {
        this.tags = value
    }

    /**
     * @param value The ID of Automation Account to manage this Watcher. Changing this forces a new Watcher to be created.
     */
    @JvmName("dqppprohnuuqcurf")
    public suspend fun automationAccountId(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.automationAccountId = mapped
    }

    /**
     * @param value A description of this Automation Watcher.
     */
    @JvmName("wplguarffwvxaejs")
    public suspend fun description(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.description = mapped
    }

    /**
     * @param value A string of etag assigned to this Automation Watcher.
     */
    @JvmName("pmknbkqkmucwrktg")
    public suspend fun etag(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.etag = mapped
    }

    /**
     * @param value Specify the frequency at which the watcher is invoked.
     */
    @JvmName("xpedverrrkvriwta")
    public suspend fun executionFrequencyInSeconds(`value`: Int?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.executionFrequencyInSeconds = mapped
    }

    /**
     * @param value The Azure Region where the Automation Watcher should exist. Changing this forces a new Automation Watcher to be created.
     */
    @JvmName("gbagjlyfoqrlwpjo")
    public suspend fun location(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.location = mapped
    }

    /**
     * @param value The name which should be used for this Automation Watcher. Changing this forces a new Automation Watcher to be created.
     */
    @JvmName("rhfceiichwdxrssw")
    public suspend fun name(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.name = mapped
    }

    /**
     * @param value Specify the name of an existing runbook this watcher is attached to. Changing this forces a new Automation to be created.
     */
    @JvmName("vxbljqkdmplmvktk")
    public suspend fun scriptName(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.scriptName = mapped
    }

    /**
     * @param value Specifies a list of key-vaule parameters. Changing this forces a new Automation watcher to be created.
     */
    @JvmName("ptnylnmtfjtflnbg")
    public suspend fun scriptParameters(`value`: Map?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.scriptParameters = mapped
    }

    /**
     * @param values Specifies a list of key-vaule parameters. Changing this forces a new Automation watcher to be created.
     */
    @JvmName("txmnbcdxjsyljehp")
    public fun scriptParameters(vararg values: Pair) {
        val toBeMapped = values.toMap()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.scriptParameters = mapped
    }

    /**
     * @param value Specify the name of the Hybrid work group the watcher will run on.
     */
    @JvmName("xckjwbvxutgexbbf")
    public suspend fun scriptRunOn(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.scriptRunOn = mapped
    }

    /**
     * @param value A mapping of tags which should be assigned to the Automation Watcher.
     */
    @JvmName("ptgatqtnobfirtyo")
    public suspend fun tags(`value`: Map?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.tags = mapped
    }

    /**
     * @param values A mapping of tags which should be assigned to the Automation Watcher.
     */
    @JvmName("uiagcinonhewbblo")
    public fun tags(vararg values: Pair) {
        val toBeMapped = values.toMap()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.tags = mapped
    }

    internal fun build(): WatcherArgs = WatcherArgs(
        automationAccountId = automationAccountId,
        description = description,
        etag = etag,
        executionFrequencyInSeconds = executionFrequencyInSeconds,
        location = location,
        name = name,
        scriptName = scriptName,
        scriptParameters = scriptParameters,
        scriptRunOn = scriptRunOn,
        tags = tags,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy