FileSystemArgs

data class FileSystemArgs(val encryptionKey: Output<FileSystemEncryptionKeyArgs>? = null, val hsmSetting: Output<FileSystemHsmSettingArgs>? = null, val identity: Output<FileSystemIdentityArgs>? = null, val location: Output<String>? = null, val maintenanceWindow: Output<FileSystemMaintenanceWindowArgs>? = null, val name: Output<String>? = null, val resourceGroupName: Output<String>? = null, val skuName: Output<String>? = null, val storageCapacityInTb: Output<Int>? = null, val subnetId: Output<String>? = null, val tags: Output<Map<String, String>>? = null, val zones: Output<List<String>>? = null) : ConvertibleToJava<FileSystemArgs>

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

Constructors

Link copied to clipboard
fun FileSystemArgs(encryptionKey: Output<FileSystemEncryptionKeyArgs>? = null, hsmSetting: Output<FileSystemHsmSettingArgs>? = null, identity: Output<FileSystemIdentityArgs>? = null, location: Output<String>? = null, maintenanceWindow: Output<FileSystemMaintenanceWindowArgs>? = null, name: Output<String>? = null, resourceGroupName: Output<String>? = null, skuName: Output<String>? = null, storageCapacityInTb: Output<Int>? = null, subnetId: Output<String>? = null, tags: Output<Map<String, String>>? = null, zones: Output<List<String>>? = null)

Functions

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

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 identity: Output<FileSystemIdentityArgs>? = null

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

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

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>? = null

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 resourceGroupName: Output<String>? = null

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>? = null

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
val storageCapacityInTb: Output<Int>? = null

The size of the Azure Managed Lustre File System in TiB. The valid values for this field are dependant on which sku_name has been defined in the configuration file. For more information on the valid values for this field please see the product documentation. Changing this forces a new resource to be created.

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

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>>? = null

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

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

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