import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * Manages an Azure Managed Lustre File System. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = new azure.core.ResourceGroup("example", { * name: "example-resources", * location: "West Europe", * }); * const exampleVirtualNetwork = new azure.network.VirtualNetwork("example", { * name: "example-vnet", * addressSpaces: ["10.0.0.0/16"], * location: example.location, * resourceGroupName: example.name, * }); * const exampleSubnet = new azure.network.Subnet("example", { * name: "example-subnet", * resourceGroupName: example.name, * virtualNetworkName: exampleVirtualNetwork.name, * addressPrefixes: ["10.0.2.0/24"], * }); * const exampleFileSystem = new azure.managedlustre.FileSystem("example", { * name: "example-amlfs", * resourceGroupName: example.name, * location: example.location, * skuName: "AMLFS-Durable-Premium-250", * subnetId: exampleSubnet.id, * storageCapacityInTb: 8, * zones: ["2"], * maintenanceWindow: { * dayOfWeek: "Friday", * timeOfDayUtc: "22:00", * }, * }); * ``` * * ## API Providers * * * This resource uses the following Azure API Providers: * * * `Microsoft.StorageCache` - 2024-07-01 * * ## Import * * Azure Managed Lustre File Systems can be imported using the `resource id`, e.g. * * ```sh * $ pulumi import azure:managedlustre/fileSystem:FileSystem example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup1/providers/Microsoft.StorageCache/amlFilesystems/amlFilesystem1 * ``` */ export declare class FileSystem extends pulumi.CustomResource { /** * Get an existing FileSystem resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: FileSystemState, opts?: pulumi.CustomResourceOptions): FileSystem; /** * Returns true if the given object is an instance of FileSystem. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is FileSystem; /** * An `encryptionKey` block as defined below. * * > **Note:** Removing `encryptionKey` forces a new resource to be created. */ readonly encryptionKey: pulumi.Output; /** * A `hsmSetting` block as defined below. Changing this forces a new resource to be created. */ readonly hsmSetting: pulumi.Output; /** * An `identity` block as defined below. Changing this forces a new resource to be created. */ readonly identity: pulumi.Output; /** * The Azure Region where the Azure Managed Lustre File System should exist. Changing this forces a new resource to be created. */ readonly location: pulumi.Output; /** * A `maintenanceWindow` block as defined below. */ readonly maintenanceWindow: pulumi.Output; /** * IP Address of Managed Lustre File System Services. */ readonly mgsAddress: pulumi.Output; /** * The name which should be used for this Azure Managed Lustre File System. Changing this forces a new resource to be created. */ readonly name: pulumi.Output; /** * The name of the Resource Group where the Azure Managed Lustre File System should exist. Changing this forces a new resource to be created. */ readonly resourceGroupName: pulumi.Output; /** * A `rootSquash` block as defined below. */ readonly rootSquash: pulumi.Output; /** * 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. */ readonly skuName: pulumi.Output; /** * The size of the Azure Managed Lustre File System in TiB. The valid values for this field are dependant on which `skuName` has been defined in the configuration file. For more information on the valid values for this field please see the [product documentation](https://learn.microsoft.com/azure/azure-managed-lustre/create-file-system-resource-manager#file-system-type-and-size-options). Changing this forces a new resource to be created. */ readonly storageCapacityInTb: pulumi.Output; /** * 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. */ readonly subnetId: pulumi.Output; /** * A mapping of tags which should be assigned to the Azure Managed Lustre File System. */ readonly tags: pulumi.Output<{ [key: string]: string; } | undefined>; /** * A list of availability zones for the Azure Managed Lustre File System. Changing this forces a new resource to be created. */ readonly zones: pulumi.Output; /** * Create a FileSystem resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: FileSystemArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering FileSystem resources. */ export interface FileSystemState { /** * An `encryptionKey` block as defined below. * * > **Note:** Removing `encryptionKey` forces a new resource to be created. */ encryptionKey?: pulumi.Input; /** * A `hsmSetting` block as defined below. Changing this forces a new resource to be created. */ hsmSetting?: pulumi.Input; /** * An `identity` block as defined below. Changing this forces a new resource to be created. */ identity?: pulumi.Input; /** * The Azure Region where the Azure Managed Lustre File System should exist. Changing this forces a new resource to be created. */ location?: pulumi.Input; /** * A `maintenanceWindow` block as defined below. */ maintenanceWindow?: pulumi.Input; /** * IP Address of Managed Lustre File System Services. */ mgsAddress?: pulumi.Input; /** * The name which should be used for this Azure Managed Lustre File System. Changing this forces a new resource to be created. */ name?: pulumi.Input; /** * The name of the Resource Group where the Azure Managed Lustre File System should exist. Changing this forces a new resource to be created. */ resourceGroupName?: pulumi.Input; /** * A `rootSquash` block as defined below. */ rootSquash?: pulumi.Input; /** * 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. */ skuName?: pulumi.Input; /** * The size of the Azure Managed Lustre File System in TiB. The valid values for this field are dependant on which `skuName` has been defined in the configuration file. For more information on the valid values for this field please see the [product documentation](https://learn.microsoft.com/azure/azure-managed-lustre/create-file-system-resource-manager#file-system-type-and-size-options). Changing this forces a new resource to be created. */ storageCapacityInTb?: pulumi.Input; /** * 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. */ subnetId?: pulumi.Input; /** * A mapping of tags which should be assigned to the Azure Managed Lustre File System. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input; }>; /** * A list of availability zones for the Azure Managed Lustre File System. Changing this forces a new resource to be created. */ zones?: pulumi.Input[]>; } /** * The set of arguments for constructing a FileSystem resource. */ export interface FileSystemArgs { /** * An `encryptionKey` block as defined below. * * > **Note:** Removing `encryptionKey` forces a new resource to be created. */ encryptionKey?: pulumi.Input; /** * A `hsmSetting` block as defined below. Changing this forces a new resource to be created. */ hsmSetting?: pulumi.Input; /** * An `identity` block as defined below. Changing this forces a new resource to be created. */ identity?: pulumi.Input; /** * The Azure Region where the Azure Managed Lustre File System should exist. Changing this forces a new resource to be created. */ location?: pulumi.Input; /** * A `maintenanceWindow` block as defined below. */ maintenanceWindow: pulumi.Input; /** * The name which should be used for this Azure Managed Lustre File System. Changing this forces a new resource to be created. */ name?: pulumi.Input; /** * The name of the Resource Group where the Azure Managed Lustre File System should exist. Changing this forces a new resource to be created. */ resourceGroupName: pulumi.Input; /** * A `rootSquash` block as defined below. */ rootSquash?: pulumi.Input; /** * 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. */ skuName: pulumi.Input; /** * The size of the Azure Managed Lustre File System in TiB. The valid values for this field are dependant on which `skuName` has been defined in the configuration file. For more information on the valid values for this field please see the [product documentation](https://learn.microsoft.com/azure/azure-managed-lustre/create-file-system-resource-manager#file-system-type-and-size-options). Changing this forces a new resource to be created. */ storageCapacityInTb: pulumi.Input; /** * 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. */ subnetId: pulumi.Input; /** * A mapping of tags which should be assigned to the Azure Managed Lustre File System. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input; }>; /** * A list of availability zones for the Azure Managed Lustre File System. Changing this forces a new resource to be created. */ zones: pulumi.Input[]>; }