pulumi_wasm_providers_azure_mini::storage

Module mover_source_endpoint

source
Expand description

Manages a Storage Mover Source Endpoint.

§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("West Europe")
            .name("example-ssm")
            .resource_group_name("${example.name}")
            .build_struct(),
    );
    let exampleMoverSourceEndpoint = mover_source_endpoint::create(
        "exampleMoverSourceEndpoint",
        MoverSourceEndpointArgs::builder()
            .export("/")
            .host("192.168.0.1")
            .name("example-se")
            .nfs_version("NFSv3")
            .storage_mover_id("${exampleMover.id}")
            .build_struct(),
    );
}

§Import

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

$ pulumi import azure:storage/moverSourceEndpoint:MoverSourceEndpoint example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup1/providers/Microsoft.StorageMover/storageMovers/storageMover1/endpoints/endpoint1

Structs§

Functions§

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