import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * Manages a Dynamic Maintenance Assignment. * * > **Note:** Only valid for `InGuestPatch` Maintenance Configuration Scopes. * * ## Import * * Dynamic Maintenance Assignments can be imported using the `resource id`, e.g. * * ```sh * $ pulumi import azure:maintenance/assignmentDynamicScope:AssignmentDynamicScope example /subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Maintenance/configurationAssignments/assignmentName * ``` */ export declare class AssignmentDynamicScope extends pulumi.CustomResource { /** * Get an existing AssignmentDynamicScope 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?: AssignmentDynamicScopeState, opts?: pulumi.CustomResourceOptions): AssignmentDynamicScope; /** * Returns true if the given object is an instance of AssignmentDynamicScope. 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 AssignmentDynamicScope; /** * A `filter` block as defined below. */ readonly filter: pulumi.Output; /** * The ID of the Maintenance Configuration Resource. Changing this forces a new Dynamic Maintenance Assignment to be created. */ readonly maintenanceConfigurationId: pulumi.Output; /** * The name which should be used for this Dynamic Maintenance Assignment. Changing this forces a new Dynamic Maintenance Assignment to be created. * * > **Note:** The `name` must be unique per subscription. */ readonly name: pulumi.Output; /** * Create a AssignmentDynamicScope 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: AssignmentDynamicScopeArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering AssignmentDynamicScope resources. */ export interface AssignmentDynamicScopeState { /** * A `filter` block as defined below. */ filter?: pulumi.Input; /** * The ID of the Maintenance Configuration Resource. Changing this forces a new Dynamic Maintenance Assignment to be created. */ maintenanceConfigurationId?: pulumi.Input; /** * The name which should be used for this Dynamic Maintenance Assignment. Changing this forces a new Dynamic Maintenance Assignment to be created. * * > **Note:** The `name` must be unique per subscription. */ name?: pulumi.Input; } /** * The set of arguments for constructing a AssignmentDynamicScope resource. */ export interface AssignmentDynamicScopeArgs { /** * A `filter` block as defined below. */ filter: pulumi.Input; /** * The ID of the Maintenance Configuration Resource. Changing this forces a new Dynamic Maintenance Assignment to be created. */ maintenanceConfigurationId: pulumi.Input; /** * The name which should be used for this Dynamic Maintenance Assignment. Changing this forces a new Dynamic Maintenance Assignment to be created. * * > **Note:** The `name` must be unique per subscription. */ name?: pulumi.Input; }