AutomationAccount

class AutomationAccount : KotlinCustomResource

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/v3"
"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}

Properties

Link copied to clipboard

URL of automation hybrid service which is used for hybrid worker on-boarding.

Link copied to clipboard
val azureApiVersion: Output<String>

The Azure API version of the resource.

Link copied to clipboard
val creationTime: Output<String>

Gets the creation time.

Link copied to clipboard
val description: Output<String>?

Gets or sets the description.

Link copied to clipboard

Indicates whether requests using non-AAD authentication are blocked

Link copied to clipboard

Encryption properties for the automation account

Link copied to clipboard
val etag: Output<String>?

Gets or sets the etag of the resource.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard

Identity for the resource.

Link copied to clipboard
val lastModifiedBy: Output<String>?

Gets or sets the last modified by.

Link copied to clipboard

Gets the last modified time.

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

The Azure Region where the resource lives

Link copied to clipboard
val name: Output<String>

The name of the resource

Link copied to clipboard

List of Automation operations supported by the Automation resource provider.

Link copied to clipboard

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

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val sku: Output<SkuResponse>?

Gets or sets the SKU of account.

Link copied to clipboard
val state: Output<String>

Gets status of account.

Link copied to clipboard

Resource system metadata.

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

Resource tags.

Link copied to clipboard
val type: Output<String>

The type of the resource.

Link copied to clipboard
val urn: Output<String>