StorageMover

The Storage Mover resource, which is a container for a group of Agents, Projects, and Endpoints. API Version: 2022-07-01-preview.

Example Usage

StorageMovers_CreateOrUpdate

using System.Collections.Generic;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var storageMover = new AzureNative.StorageMover.StorageMover("storageMover", new()
{
Description = "Example Storage Mover Description",
Location = "eastus2",
ResourceGroupName = "examples-rg",
StorageMoverName = "examples-storageMoverName",
Tags =
{
{ "key1", "value1" },
{ "key2", "value2" },
},
});
});
package main
import (
storagemover "github.com/pulumi/pulumi-azure-native/sdk/go/azure/storagemover"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := storagemover.NewStorageMover(ctx, "storageMover", &storagemover.StorageMoverArgs{
Description: pulumi.String("Example Storage Mover Description"),
Location: pulumi.String("eastus2"),
ResourceGroupName: pulumi.String("examples-rg"),
StorageMoverName: pulumi.String("examples-storageMoverName"),
Tags: pulumi.StringMap{
"key1": pulumi.String("value1"),
"key2": pulumi.String("value2"),
},
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.storagemover.StorageMover;
import com.pulumi.azurenative.storagemover.StorageMoverArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var storageMover = new StorageMover("storageMover", StorageMoverArgs.builder()
.description("Example Storage Mover Description")
.location("eastus2")
.resourceGroupName("examples-rg")
.storageMoverName("examples-storageMoverName")
.tags(Map.ofEntries(
Map.entry("key1", "value1"),
Map.entry("key2", "value2")
))
.build());
}
}

Import

An existing resource can be imported using its type token, name, and identifier, e.g.

$ pulumi import azure-native:storagemover:StorageMover examples-storageMoverName /subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverName

Properties

Link copied to clipboard
val description: Output<String>?

A description for the Storage Mover.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val location: Output<String>

The geo-location where the resource lives

Link copied to clipboard
val name: Output<String>

The name of the resource

Link copied to clipboard

The provisioning state of this resource.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Resource system metadata.

Link copied to clipboard
val tags: Output<Map<String, String>>?

Resource tags.

Link copied to clipboard
val type: Output<String>

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Link copied to clipboard
val urn: Output<String>