import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * Manages a Automation Powershell 7.2 Module. * * ## 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 examplePowershell72Module = new azure.automation.Powershell72Module("example", { * name: "xActiveDirectory", * automationAccountId: exampleAccount.id, * moduleLink: { * uri: "https://devopsgallerystorage.blob.core.windows.net/packages/xactivedirectory.2.19.0.nupkg", * }, * }); * ``` * * ## API Providers * * * This resource uses the following Azure API Providers: * * * `Microsoft.Automation` - 2023-11-01 * * ## Import * * Automation Modules can be imported using the `resource id`, e.g. * * ```sh * $ pulumi import azure:automation/powershell72Module:Powershell72Module module1 /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Automation/automationAccounts/account1/powerShell72Modules/module1 * ``` */ export declare class Powershell72Module extends pulumi.CustomResource { /** * Get an existing Powershell72Module 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?: Powershell72ModuleState, opts?: pulumi.CustomResourceOptions): Powershell72Module; /** * Returns true if the given object is an instance of Powershell72Module. 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 Powershell72Module; /** * The ID of Automation Account to manage this Watcher. Changing this forces a new Watcher to be created. */ readonly automationAccountId: pulumi.Output; /** * A `moduleLink` block as defined below. */ readonly moduleLink: pulumi.Output; /** * Specifies the name of the Module. Changing this forces a new resource to be created. */ readonly name: pulumi.Output; /** * A mapping of tags to assign to the resource. */ readonly tags: pulumi.Output<{ [key: string]: string; } | undefined>; /** * Create a Powershell72Module 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: Powershell72ModuleArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering Powershell72Module resources. */ export interface Powershell72ModuleState { /** * The ID of Automation Account to manage this Watcher. Changing this forces a new Watcher to be created. */ automationAccountId?: pulumi.Input; /** * A `moduleLink` block as defined below. */ moduleLink?: pulumi.Input; /** * Specifies the name of the Module. Changing this forces a new resource to be created. */ name?: 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 Powershell72Module resource. */ export interface Powershell72ModuleArgs { /** * The ID of Automation Account to manage this Watcher. Changing this forces a new Watcher to be created. */ automationAccountId: pulumi.Input; /** * A `moduleLink` block as defined below. */ moduleLink: pulumi.Input; /** * Specifies the name of the Module. Changing this forces a new resource to be created. */ name?: pulumi.Input; /** * A mapping of tags to assign to the resource. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input; }>; }