import * as pulumi from "@pulumi/pulumi"; /** * Manages a Automation DSC Configuration. * * ## 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: "account1", * location: example.location, * resourceGroupName: example.name, * skuName: "Basic", * }); * const exampleDscConfiguration = new azure.automation.DscConfiguration("example", { * name: "test", * resourceGroupName: example.name, * automationAccountName: exampleAccount.name, * location: example.location, * contentEmbedded: "configuration test {}", * }); * ``` * * ## API Providers * * * This resource uses the following Azure API Providers: * * * `Microsoft.Automation` - 2024-10-23 * * ## Import * * Automation DSC Configuration's can be imported using the `resource id`, e.g. * * ```sh * $ pulumi import azure:automation/dscConfiguration:DscConfiguration configuration1 /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Automation/automationAccounts/account1/configurations/configuration1 * ``` */ export declare class DscConfiguration extends pulumi.CustomResource { /** * Get an existing DscConfiguration 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?: DscConfigurationState, opts?: pulumi.CustomResourceOptions): DscConfiguration; /** * Returns true if the given object is an instance of DscConfiguration. 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 DscConfiguration; /** * The name of the automation account in which the DSC Configuration is created. Changing this forces a new resource to be created. */ readonly automationAccountName: pulumi.Output; /** * The PowerShell DSC Configuration script. */ readonly contentEmbedded: pulumi.Output; /** * Description to go with DSC Configuration. */ readonly description: pulumi.Output; /** * Must be the same location as the Automation Account. Changing this forces a new resource to be created. */ readonly location: pulumi.Output; /** * Verbose log option. */ readonly logVerbose: pulumi.Output; /** * Specifies the name of the DSC Configuration. Changing this forces a new resource to be created. */ readonly name: pulumi.Output; /** * The name of the resource group in which the DSC Configuration is created. Changing this forces a new resource to be created. */ readonly resourceGroupName: pulumi.Output; readonly state: pulumi.Output; /** * A mapping of tags to assign to the resource. */ readonly tags: pulumi.Output<{ [key: string]: string; } | undefined>; /** * Create a DscConfiguration 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: DscConfigurationArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering DscConfiguration resources. */ export interface DscConfigurationState { /** * The name of the automation account in which the DSC Configuration is created. Changing this forces a new resource to be created. */ automationAccountName?: pulumi.Input; /** * The PowerShell DSC Configuration script. */ contentEmbedded?: pulumi.Input; /** * Description to go with DSC Configuration. */ description?: pulumi.Input; /** * Must be the same location as the Automation Account. Changing this forces a new resource to be created. */ location?: pulumi.Input; /** * Verbose log option. */ logVerbose?: pulumi.Input; /** * Specifies the name of the DSC Configuration. Changing this forces a new resource to be created. */ name?: pulumi.Input; /** * The name of the resource group in which the DSC Configuration is created. Changing this forces a new resource to be created. */ resourceGroupName?: pulumi.Input; state?: 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 DscConfiguration resource. */ export interface DscConfigurationArgs { /** * The name of the automation account in which the DSC Configuration is created. Changing this forces a new resource to be created. */ automationAccountName: pulumi.Input; /** * The PowerShell DSC Configuration script. */ contentEmbedded: pulumi.Input; /** * Description to go with DSC Configuration. */ description?: pulumi.Input; /** * Must be the same location as the Automation Account. Changing this forces a new resource to be created. */ location?: pulumi.Input; /** * Verbose log option. */ logVerbose?: pulumi.Input; /** * Specifies the name of the DSC Configuration. Changing this forces a new resource to be created. */ name?: pulumi.Input; /** * The name of the resource group in which the DSC Configuration is created. Changing this forces a new resource to be created. */ resourceGroupName: pulumi.Input; /** * A mapping of tags to assign to the resource. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input; }>; }