import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * Manages an Automation Account. * * ## 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", * tags: { * environment: "development", * }, * }); * ``` * * ## API Providers * * * This resource uses the following Azure API Providers: * * * `Microsoft.Automation` - 2024-10-23, 2019-06-01 * * ## Import * * Automation Accounts can be imported using the `resource id`, e.g. * * ```sh * $ pulumi import azure:automation/account:Account account1 /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Automation/automationAccounts/account1 * ``` */ export declare class Account extends pulumi.CustomResource { /** * Get an existing Account resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: AccountState, opts?: pulumi.CustomResourceOptions): Account; /** * Returns true if the given object is an instance of Account. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is Account; /** * The Primary Access Key for the DSC Endpoint associated with this Automation Account. */ readonly dscPrimaryAccessKey: pulumi.Output; /** * The Secondary Access Key for the DSC Endpoint associated with this Automation Account. */ readonly dscSecondaryAccessKey: pulumi.Output; /** * The DSC Server Endpoint associated with this Automation Account. */ readonly dscServerEndpoint: pulumi.Output; /** * An `encryption` block as defined below. */ readonly encryptions: pulumi.Output; /** * The URL of automation hybrid service which is used for hybrid worker on-boarding With this Automation Account. */ readonly hybridServiceUrl: pulumi.Output; /** * An `identity` block as defined below. */ readonly identity: pulumi.Output; /** * Whether requests using non-AAD authentication are blocked. Defaults to `true`. */ readonly localAuthenticationEnabled: pulumi.Output; /** * Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. */ readonly location: pulumi.Output; /** * Specifies the name of the Automation Account. Changing this forces a new resource to be created. */ readonly name: pulumi.Output; readonly privateEndpointConnections: pulumi.Output; /** * Whether public network access is allowed for the automation account. Defaults to `true`. */ readonly publicNetworkAccessEnabled: pulumi.Output; /** * The name of the resource group in which the Automation Account is created. Changing this forces a new resource to be created. */ readonly resourceGroupName: pulumi.Output; /** * The SKU of the account. Possible values are `Basic` and `Free`. */ readonly skuName: pulumi.Output; /** * A mapping of tags to assign to the resource. */ readonly tags: pulumi.Output<{ [key: string]: string; } | undefined>; /** * Create a Account resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: AccountArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering Account resources. */ export interface AccountState { /** * The Primary Access Key for the DSC Endpoint associated with this Automation Account. */ dscPrimaryAccessKey?: pulumi.Input; /** * The Secondary Access Key for the DSC Endpoint associated with this Automation Account. */ dscSecondaryAccessKey?: pulumi.Input; /** * The DSC Server Endpoint associated with this Automation Account. */ dscServerEndpoint?: pulumi.Input; /** * An `encryption` block as defined below. */ encryptions?: pulumi.Input[]>; /** * The URL of automation hybrid service which is used for hybrid worker on-boarding With this Automation Account. */ hybridServiceUrl?: pulumi.Input; /** * An `identity` block as defined below. */ identity?: pulumi.Input; /** * Whether requests using non-AAD authentication are blocked. Defaults to `true`. */ localAuthenticationEnabled?: pulumi.Input; /** * Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. */ location?: pulumi.Input; /** * Specifies the name of the Automation Account. Changing this forces a new resource to be created. */ name?: pulumi.Input; privateEndpointConnections?: pulumi.Input[]>; /** * Whether public network access is allowed for the automation account. Defaults to `true`. */ publicNetworkAccessEnabled?: pulumi.Input; /** * The name of the resource group in which the Automation Account is created. Changing this forces a new resource to be created. */ resourceGroupName?: pulumi.Input; /** * The SKU of the account. Possible values are `Basic` and `Free`. */ skuName?: pulumi.Input; /** * A mapping of tags to assign to the resource. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input; }>; } /** * The set of arguments for constructing a Account resource. */ export interface AccountArgs { /** * An `encryption` block as defined below. */ encryptions?: pulumi.Input[]>; /** * An `identity` block as defined below. */ identity?: pulumi.Input; /** * Whether requests using non-AAD authentication are blocked. Defaults to `true`. */ localAuthenticationEnabled?: pulumi.Input; /** * Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. */ location?: pulumi.Input; /** * Specifies the name of the Automation Account. Changing this forces a new resource to be created. */ name?: pulumi.Input; /** * Whether public network access is allowed for the automation account. Defaults to `true`. */ publicNetworkAccessEnabled?: pulumi.Input; /** * The name of the resource group in which the Automation Account is created. Changing this forces a new resource to be created. */ resourceGroupName: pulumi.Input; /** * The SKU of the account. Possible values are `Basic` and `Free`. */ skuName: pulumi.Input; /** * A mapping of tags to assign to the resource. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input; }>; }