Automation Account
Definition of the automation account type. API Version: 2021-06-22.
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 = "Free",
},
});
});
Content copied to clipboard
package main
import (
automation "github.com/pulumi/pulumi-azure-native-sdk/automation"
"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("Free"),
},
})
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 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(Map.of("name", "Free"))
.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/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount9
Content copied to clipboard
Properties
Link copied to clipboard
URL of automation hybrid service which is used for hybrid worker on-boarding.
Link copied to clipboard
Gets the creation time.
Link copied to clipboard
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
Identity for the resource.
Link copied to clipboard
Gets or sets the last modified by.
Link copied to clipboard
Gets the last modified time.
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
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Gets or sets the SKU of account.
Link copied to clipboard
Resource system metadata.