AutomationAccountArgs

data class AutomationAccountArgs(val automationAccountName: Output<String>? = null, val disableLocalAuth: Output<Boolean>? = null, val encryption: Output<EncryptionPropertiesArgs>? = null, val identity: Output<IdentityArgs>? = null, val location: Output<String>? = null, val name: Output<String>? = null, val publicNetworkAccess: Output<Boolean>? = null, val resourceGroupName: Output<String>? = null, val sku: Output<SkuArgs>? = null, val tags: Output<Map<String, String>>? = null) : ConvertibleToJava<AutomationAccountArgs>

Definition of the automation account type. Uses Azure REST API version 2023-11-01. In version 2.x of the Azure Native provider, it used API version 2022-08-08. Other available API versions: 2015-10-31, 2019-06-01, 2020-01-13-preview, 2021-06-22, 2022-08-08, 2023-05-15-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.

Example Usage

Create or update automation account

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var automationAccount = new AzureNative.Automation.AutomationAccount("automationAccount", new()
{
AutomationAccountName = "myAutomationAccount9",
Location = "East US 2",
Name = "myAutomationAccount9",
ResourceGroupName = "rg",
Sku = new AzureNative.Automation.Inputs.SkuArgs
{
Name = AzureNative.Automation.SkuNameEnum.Free,
},
});
});
package main
import (
automation "github.com/pulumi/pulumi-azure-native-sdk/automation/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := automation.NewAutomationAccount(ctx, "automationAccount", &automation.AutomationAccountArgs{
AutomationAccountName: pulumi.String("myAutomationAccount9"),
Location: pulumi.String("East US 2"),
Name: pulumi.String("myAutomationAccount9"),
ResourceGroupName: pulumi.String("rg"),
Sku: &automation.SkuArgs{
Name: pulumi.String(automation.SkuNameEnumFree),
},
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.automation.AutomationAccount;
import com.pulumi.azurenative.automation.AutomationAccountArgs;
import com.pulumi.azurenative.automation.inputs.SkuArgs;
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 automationAccount = new AutomationAccount("automationAccount", AutomationAccountArgs.builder()
.automationAccountName("myAutomationAccount9")
.location("East US 2")
.name("myAutomationAccount9")
.resourceGroupName("rg")
.sku(SkuArgs.builder()
.name("Free")
.build())
.build());
}
}

Import

An existing resource can be imported using its type token, name, and identifier, e.g.

$ pulumi import azure-native:automation:AutomationAccount ContoseAutomationAccount /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}

Constructors

Link copied to clipboard
constructor(automationAccountName: Output<String>? = null, disableLocalAuth: Output<Boolean>? = null, encryption: Output<EncryptionPropertiesArgs>? = null, identity: Output<IdentityArgs>? = null, location: Output<String>? = null, name: Output<String>? = null, publicNetworkAccess: Output<Boolean>? = null, resourceGroupName: Output<String>? = null, sku: Output<SkuArgs>? = null, tags: Output<Map<String, String>>? = null)

Properties

Link copied to clipboard
val automationAccountName: Output<String>? = null

The name of the automation account.

Link copied to clipboard
val disableLocalAuth: Output<Boolean>? = null

Indicates whether requests using non-AAD authentication are blocked

Link copied to clipboard

Set the encryption properties for the automation account

Link copied to clipboard
val identity: Output<IdentityArgs>? = null

Sets the identity property for automation account

Link copied to clipboard
val location: Output<String>? = null

Gets or sets the location of the resource.

Link copied to clipboard
val name: Output<String>? = null

Gets or sets name of the resource.

Link copied to clipboard
val publicNetworkAccess: Output<Boolean>? = null

Indicates whether traffic on the non-ARM endpoint (Webhook/Agent) is allowed from the public internet

Link copied to clipboard
val resourceGroupName: Output<String>? = null

Name of an Azure Resource group.

Link copied to clipboard
val sku: Output<SkuArgs>? = null

Gets or sets account SKU.

Link copied to clipboard
val tags: Output<Map<String, String>>? = null

Gets or sets the tags attached to the resource.

Functions

Link copied to clipboard
open override fun toJava(): AutomationAccountArgs