![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.storagemover.kotlin.StorageMoverArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-native-kotlin Show documentation
Show all versions of pulumi-azure-native-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.storagemover.kotlin
import com.pulumi.azurenative.storagemover.StorageMoverArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Pair
import kotlin.String
import kotlin.Suppress
import kotlin.collections.Map
import kotlin.jvm.JvmName
/**
* The Storage Mover resource, which is a container for a group of Agents, Projects, and Endpoints.
* Azure REST API version: 2023-03-01. Prior API version in Azure Native 1.x: 2022-07-01-preview.
* Other available API versions: 2023-07-01-preview, 2023-10-01, 2024-07-01.
* ## Example Usage
* ### StorageMovers_CreateOrUpdate
* ```csharp
* using System.Collections.Generic;
* using System.Linq;
* 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" },
* },
* });
* });
* ```
* ```go
* package main
* import (
* storagemover "github.com/pulumi/pulumi-azure-native-sdk/storagemover/v2"
* "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
* })
* }
* ```
* ```java
* 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.
* ```sh
* $ pulumi import azure-native:storagemover:StorageMover examples-storageMoverName /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}
* ```
* @property description A description for the Storage Mover.
* @property location The geo-location where the resource lives
* @property resourceGroupName The name of the resource group. The name is case insensitive.
* @property storageMoverName The name of the Storage Mover resource.
* @property tags Resource tags.
*/
public data class StorageMoverArgs(
public val description: Output? = null,
public val location: Output? = null,
public val resourceGroupName: Output? = null,
public val storageMoverName: Output? = null,
public val tags: Output
© 2015 - 2025 Weber Informatics LLC | Privacy Policy