MoverAgentArgs

data class MoverAgentArgs(val arcVirtualMachineId: Output<String>? = null, val arcVirtualMachineUuid: Output<String>? = null, val description: Output<String>? = null, val name: Output<String>? = null, val storageMoverId: Output<String>? = null) : ConvertibleToJava<MoverAgentArgs>

Manages a Storage Mover Agent.

Example Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azure.core.ResourceGroup;
import com.pulumi.azure.core.ResourceGroupArgs;
import com.pulumi.azure.storage.Mover;
import com.pulumi.azure.storage.MoverArgs;
import com.pulumi.azure.storage.MoverAgent;
import com.pulumi.azure.storage.MoverAgentArgs;
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 exampleResourceGroup = new ResourceGroup("exampleResourceGroup", ResourceGroupArgs.builder()
.location("East US")
.build());
var exampleMover = new Mover("exampleMover", MoverArgs.builder()
.resourceGroupName(exampleResourceGroup.name())
.build());
var exampleMoverAgent = new MoverAgent("exampleMoverAgent", MoverAgentArgs.builder()
.storageMoverId(exampleMover.id())
.arcVirtualMachineId(exampleResourceGroup.id().applyValue(id -> String.format("%s/providers/Microsoft.HybridCompute/machines/examples-hybridComputeName", id)))
.arcVirtualMachineUuid("3bb2c024-eba9-4d18-9e7a-1d772fcc5fe9")
.description("Example Agent Description")
.build());
}
}

Import

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

$ pulumi import azure:storage/moverAgent:MoverAgent example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup1/providers/Microsoft.StorageMover/storageMovers/storageMover1/agents/agent1

Constructors

Link copied to clipboard
fun MoverAgentArgs(arcVirtualMachineId: Output<String>? = null, arcVirtualMachineUuid: Output<String>? = null, description: Output<String>? = null, name: Output<String>? = null, storageMoverId: Output<String>? = null)

Functions

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

Properties

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

Specifies the fully qualified ID of the Hybrid Compute resource for the Storage Mover Agent. Changing this forces a new resource to be created.

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

Specifies the Hybrid Compute resource's unique SMBIOS ID. Changing this forces a new resource to be created.

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

Specifies a description for this Storage Mover Agent.

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

Specifies the name which should be used for this Storage Mover Agent. Changing this forces a new resource to be created.

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

Specifies the ID of the Storage Mover that this Agent should be connected to. Changing this forces a new resource to be created.