Automation Account Args
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 2022-08-08. In version 1.x of the Azure Native provider, it used API version 2021-06-22. Other available API versions: 2023-05-15-preview, 2023-11-01, 2024-10-23.
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,
},
});
});
Content copied to clipboard
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
})
}
Content copied to clipboard
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());
}
}
Content copied to clipboard
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}
Content copied to clipboard
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
The name of the automation account.
Link copied to clipboard
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
Sets the identity property for automation account
Link copied to clipboard
Indicates whether traffic on the non-ARM endpoint (Webhook/Agent) is allowed from the public internet
Link copied to clipboard
Name of an Azure Resource group.