FileSystem

class FileSystem : KotlinCustomResource

Manages an Azure Managed Lustre File System.

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.network.VirtualNetwork;
import com.pulumi.azure.network.VirtualNetworkArgs;
import com.pulumi.azure.network.Subnet;
import com.pulumi.azure.network.SubnetArgs;
import com.pulumi.azure.managedlustre.FileSystem;
import com.pulumi.azure.managedlustre.FileSystemArgs;
import com.pulumi.azure.managedlustre.inputs.FileSystemMaintenanceWindowArgs;
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 exampleVirtualNetwork = new VirtualNetwork("exampleVirtualNetwork", VirtualNetworkArgs.builder()
.addressSpaces("10.0.0.0/16")
.location(exampleResourceGroup.location())
.resourceGroupName(exampleResourceGroup.name())
.build());
var exampleSubnet = new Subnet("exampleSubnet", SubnetArgs.builder()
.resourceGroupName(exampleResourceGroup.name())
.virtualNetworkName(exampleVirtualNetwork.name())
.addressPrefixes("10.0.2.0/24")
.build());
var exampleFileSystem = new FileSystem("exampleFileSystem", FileSystemArgs.builder()
.resourceGroupName(exampleResourceGroup.name())
.location(exampleResourceGroup.location())
.skuName("AMLFS-Durable-Premium-250")
.subnetId(exampleSubnet.id())
.storageCapacityInTb(8)
.zones("2")
.maintenanceWindow(FileSystemMaintenanceWindowArgs.builder()
.dayOfWeek("Friday")
.timeOfDayUtc("22:00")
.build())
.build());
}
}

Import

Azure Managed Lustre File Systems can be imported using the resource id, e.g.

$ pulumi import azure:managedlustre/fileSystem:FileSystem example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup1/providers/Microsoft.StorageCache/amlFilesystems/amlFilesystem1

Properties

Link copied to clipboard

An encryption_key block as defined below.

Link copied to clipboard

A hsm_setting block as defined below. Changing this forces a new resource to be created.

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

An identity block as defined below. Changing this forces a new resource to be created.

Link copied to clipboard
val location: Output<String>

The Azure Region where the Azure Managed Lustre File System should exist. Changing this forces a new resource to be created.

Link copied to clipboard

A maintenance_window block as defined below.

Link copied to clipboard
val name: Output<String>

The name which should be used for this Azure Managed Lustre File System. Changing this forces a new resource to be created.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

The name of the Resource Group where the Azure Managed Lustre File System should exist. Changing this forces a new resource to be created.

Link copied to clipboard
val skuName: Output<String>

The SKU name for the Azure Managed Lustre File System. Possible values are AMLFS-Durable-Premium-40, AMLFS-Durable-Premium-125, AMLFS-Durable-Premium-250 and AMLFS-Durable-Premium-500. Changing this forces a new resource to be created.

Link copied to clipboard

The size of the Azure Managed Lustre File System in TiB. Possible values are between 8 and 128 and must be divisible by 8. Changing this forces a new resource to be created.

Link copied to clipboard
val subnetId: Output<String>

The resource ID of the Subnet that is used for managing the Azure Managed Lustre file system and for client-facing operations. This subnet should have at least a /24 subnet mask within the Virtual Network's address space. Changing this forces a new resource to be created.

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

A mapping of tags which should be assigned to the Azure Managed Lustre File System.

Link copied to clipboard
val urn: Output<String>
Link copied to clipboard
val zones: Output<List<String>>

A list of availability zones for the Azure Managed Lustre File System. Changing this forces a new resource to be created.