MoverSourceEndpointArgs

data class MoverSourceEndpointArgs(val description: Output<String>? = null, val export: Output<String>? = null, val host: Output<String>? = null, val name: Output<String>? = null, val nfsVersion: Output<String>? = null, val storageMoverId: Output<String>? = null) : ConvertibleToJava<MoverSourceEndpointArgs>

Manages a Storage Mover Source Endpoint.

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.MoverSourceEndpoint;
import com.pulumi.azure.storage.MoverSourceEndpointArgs;
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("West Europe")
.build());
var exampleMover = new Mover("exampleMover", MoverArgs.builder()
.resourceGroupName(exampleResourceGroup.name())
.location("West Europe")
.build());
var exampleMoverSourceEndpoint = new MoverSourceEndpoint("exampleMoverSourceEndpoint", MoverSourceEndpointArgs.builder()
.storageMoverId(exampleMover.id())
.export("/")
.host("192.168.0.1")
.nfsVersion("NFSv3")
.build());
}
}

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

Constructors

Link copied to clipboard
fun MoverSourceEndpointArgs(description: Output<String>? = null, export: Output<String>? = null, host: Output<String>? = null, name: Output<String>? = null, nfsVersion: Output<String>? = null, storageMoverId: Output<String>? = null)

Functions

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

Properties

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

Specifies a description for the Storage Mover Source Endpoint.

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

Specifies the directory being exported from the server. Changing this forces a new resource to be created.

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

Specifies the host name or IP address of the server exporting the file system. Changing this forces a new resource to be created.

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

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

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

Specifies the NFS protocol version. Possible values are NFSauto, NFSv3 and NFSv4. Defaults to NFSauto. 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 for this Storage Mover Source Endpoint. Changing this forces a new resource to be created.