import * as pulumi from "@pulumi/pulumi"; /** * Manages a Storage Mover Agent. * * ## 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: "East US", * }); * const exampleMover = new azure.storage.Mover("example", { * name: "example-ssm", * resourceGroupName: example.name, * }); * const exampleMoverAgent = new azure.storage.MoverAgent("example", { * name: "example-sa", * storageMoverId: exampleMover.id, * arcVirtualMachineId: pulumi.interpolate`${example.id}/providers/Microsoft.HybridCompute/machines/examples-hybridComputeName`, * arcVirtualMachineUuid: "3bb2c024-eba9-4d18-9e7a-1d772fcc5fe9", * description: "Example Agent Description", * }); * ``` * * ## API Providers * * * This resource uses the following Azure API Providers: * * * `Microsoft.StorageMover` - 2023-03-01 * * ## Import * * Storage Mover Agent can be imported using the `resource id`, e.g. * * ```sh * $ pulumi import azure:storage/moverAgent:MoverAgent example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup1/providers/Microsoft.StorageMover/storageMovers/storageMover1/agents/agent1 * ``` */ export declare class MoverAgent extends pulumi.CustomResource { /** * Get an existing MoverAgent 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?: MoverAgentState, opts?: pulumi.CustomResourceOptions): MoverAgent; /** * Returns true if the given object is an instance of MoverAgent. 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 MoverAgent; /** * Specifies the fully qualified ID of the Hybrid Compute resource for the Storage Mover Agent. Changing this forces a new resource to be created. */ readonly arcVirtualMachineId: pulumi.Output; /** * Specifies the Hybrid Compute resource's unique SMBIOS ID. Changing this forces a new resource to be created. */ readonly arcVirtualMachineUuid: pulumi.Output; /** * Specifies a description for this Storage Mover Agent. */ readonly description: pulumi.Output; /** * Specifies the name which should be used for this Storage Mover Agent. Changing this forces a new resource to be created. */ readonly name: pulumi.Output; /** * Specifies the ID of the Storage Mover that this Agent should be connected to. Changing this forces a new resource to be created. */ readonly storageMoverId: pulumi.Output; /** * Create a MoverAgent 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: MoverAgentArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering MoverAgent resources. */ export interface MoverAgentState { /** * Specifies the fully qualified ID of the Hybrid Compute resource for the Storage Mover Agent. Changing this forces a new resource to be created. */ arcVirtualMachineId?: pulumi.Input; /** * Specifies the Hybrid Compute resource's unique SMBIOS ID. Changing this forces a new resource to be created. */ arcVirtualMachineUuid?: pulumi.Input; /** * Specifies a description for this Storage Mover Agent. */ description?: pulumi.Input; /** * Specifies the name which should be used for this Storage Mover Agent. Changing this forces a new resource to be created. */ name?: pulumi.Input; /** * Specifies the ID of the Storage Mover that this Agent should be connected to. Changing this forces a new resource to be created. */ storageMoverId?: pulumi.Input; } /** * The set of arguments for constructing a MoverAgent resource. */ export interface MoverAgentArgs { /** * Specifies the fully qualified ID of the Hybrid Compute resource for the Storage Mover Agent. Changing this forces a new resource to be created. */ arcVirtualMachineId: pulumi.Input; /** * Specifies the Hybrid Compute resource's unique SMBIOS ID. Changing this forces a new resource to be created. */ arcVirtualMachineUuid: pulumi.Input; /** * Specifies a description for this Storage Mover Agent. */ description?: pulumi.Input; /** * Specifies the name which should be used for this Storage Mover Agent. Changing this forces a new resource to be created. */ name?: pulumi.Input; /** * Specifies the ID of the Storage Mover that this Agent should be connected to. Changing this forces a new resource to be created. */ storageMoverId: pulumi.Input; }