ProjectArgs

data class ProjectArgs(val description: Output<String>? = null, val projectName: Output<String>? = null, val resourceGroupName: Output<String>? = null, val storageMoverName: Output<String>? = null) : ConvertibleToJava<ProjectArgs>

The Project resource. API Version: 2022-07-01-preview.

Example Usage

Projects_CreateOrUpdate

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var project = new AzureNative.StorageMover.Project("project", new()
{
Description = "Example Project Description",
ProjectName = "examples-projectName",
ResourceGroupName = "examples-rg",
StorageMoverName = "examples-storageMoverName",
});
});
package main
import (
storagemover "github.com/pulumi/pulumi-azure-native-sdk/storagemover"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := storagemover.NewProject(ctx, "project", &storagemover.ProjectArgs{
Description: pulumi.String("Example Project Description"),
ProjectName: pulumi.String("examples-projectName"),
ResourceGroupName: pulumi.String("examples-rg"),
StorageMoverName: pulumi.String("examples-storageMoverName"),
})
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.Project;
import com.pulumi.azurenative.storagemover.ProjectArgs;
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 project = new Project("project", ProjectArgs.builder()
.description("Example Project Description")
.projectName("examples-projectName")
.resourceGroupName("examples-rg")
.storageMoverName("examples-storageMoverName")
.build());
}
}

Import

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

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

Constructors

Link copied to clipboard
constructor(description: Output<String>? = null, projectName: Output<String>? = null, resourceGroupName: Output<String>? = null, storageMoverName: Output<String>? = null)

Properties

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

A description for the Project.

Link copied to clipboard
val projectName: Output<String>? = null

The name of the Project resource.

Link copied to clipboard
val resourceGroupName: Output<String>? = null

The name of the resource group. The name is case insensitive.

Link copied to clipboard
val storageMoverName: Output<String>? = null

The name of the Storage Mover resource.

Functions

Link copied to clipboard
open override fun toJava(): ProjectArgs