pulumi_wasm_providers_azure_mini::storage

Module mover_project

source
Expand description

Manages a Storage Mover Project.

§Example Usage

use pulumi_wasm_rust::Output;
use pulumi_wasm_rust::{add_export, pulumi_main};
#[pulumi_main]
fn test_main() -> Result<(), Error> {
    let example = resource_group::create(
        "example",
        ResourceGroupArgs::builder()
            .location("West Europe")
            .name("example-resources")
            .build_struct(),
    );
    let exampleMover = mover::create(
        "exampleMover",
        MoverArgs::builder()
            .location("${example.location}")
            .name("example-ssm")
            .resource_group_name("${example.name}")
            .build_struct(),
    );
    let exampleMoverProject = mover_project::create(
        "exampleMoverProject",
        MoverProjectArgs::builder()
            .description("Example Project Description")
            .name("example-sp")
            .storage_mover_id("${exampleMover.id}")
            .build_struct(),
    );
}

§Import

Storage Mover Project can be imported using the resource id, e.g.

$ pulumi import azure:storage/moverProject:MoverProject example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup1/providers/Microsoft.StorageMover/storageMovers/storageMover1/projects/project1

Structs§

Functions§

  • Registers a new resource with the given unique name and arguments