Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
* <!--End PulumiCodeChooser -->
*
* ## 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
* ```
*
*/
@ResourceType(type="azure:managedlustre/fileSystem:FileSystem")
public class FileSystem extends com.pulumi.resources.CustomResource {
/**
* An `encryption_key` block as defined below.
*
* > **NOTE:** Removing `encryption_key` forces a new resource to be created.
*
*/
@Export(name="encryptionKey", refs={FileSystemEncryptionKey.class}, tree="[0]")
private Output* @Nullable */ FileSystemEncryptionKey> encryptionKey;
/**
* @return An `encryption_key` block as defined below.
*
* > **NOTE:** Removing `encryption_key` forces a new resource to be created.
*
*/
public Output> encryptionKey() {
return Codegen.optional(this.encryptionKey);
}
/**
* A `hsm_setting` block as defined below. Changing this forces a new resource to be created.
*
*/
@Export(name="hsmSetting", refs={FileSystemHsmSetting.class}, tree="[0]")
private Output* @Nullable */ FileSystemHsmSetting> hsmSetting;
/**
* @return A `hsm_setting` block as defined below. Changing this forces a new resource to be created.
*
*/
public Output> hsmSetting() {
return Codegen.optional(this.hsmSetting);
}
/**
* An `identity` block as defined below. Changing this forces a new resource to be created.
*
*/
@Export(name="identity", refs={FileSystemIdentity.class}, tree="[0]")
private Output* @Nullable */ FileSystemIdentity> identity;
/**
* @return An `identity` block as defined below. Changing this forces a new resource to be created.
*
*/
public Output> identity() {
return Codegen.optional(this.identity);
}
/**
* The Azure Region where the Azure Managed Lustre File System should exist. Changing this forces a new resource to be created.
*
*/
@Export(name="location", refs={String.class}, tree="[0]")
private Output location;
/**
* @return The Azure Region where the Azure Managed Lustre File System should exist. Changing this forces a new resource to be created.
*
*/
public Output location() {
return this.location;
}
/**
* A `maintenance_window` block as defined below.
*
*/
@Export(name="maintenanceWindow", refs={FileSystemMaintenanceWindow.class}, tree="[0]")
private Output maintenanceWindow;
/**
* @return A `maintenance_window` block as defined below.
*
*/
public Output maintenanceWindow() {
return this.maintenanceWindow;
}
/**
* IP Address of Managed Lustre File System Services.
*
*/
@Export(name="mgsAddress", refs={String.class}, tree="[0]")
private Output mgsAddress;
/**
* @return IP Address of Managed Lustre File System Services.
*
*/
public Output mgsAddress() {
return this.mgsAddress;
}
/**
* The name which should be used for this Azure Managed Lustre File System. Changing this forces a new resource to be created.
*
*/
@Export(name="name", refs={String.class}, tree="[0]")
private Output name;
/**
* @return The name which should be used for this Azure Managed Lustre File System. Changing this forces a new resource to be created.
*
*/
public Output name() {
return this.name;
}
/**
* The name of the Resource Group where the Azure Managed Lustre File System should exist. Changing this forces a new resource to be created.
*
*/
@Export(name="resourceGroupName", refs={String.class}, tree="[0]")
private Output resourceGroupName;
/**
* @return The name of the Resource Group where the Azure Managed Lustre File System should exist. Changing this forces a new resource to be created.
*
*/
public Output resourceGroupName() {
return this.resourceGroupName;
}
/**
* 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.
*
*/
@Export(name="skuName", refs={String.class}, tree="[0]")
private Output skuName;
/**
* @return 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.
*
*/
public Output skuName() {
return this.skuName;
}
/**
* 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](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.
*
*/
@Export(name="storageCapacityInTb", refs={Integer.class}, tree="[0]")
private Output storageCapacityInTb;
/**
* @return 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](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.
*
*/
public Output storageCapacityInTb() {
return this.storageCapacityInTb;
}
/**
* 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.
*
*/
@Export(name="subnetId", refs={String.class}, tree="[0]")
private Output subnetId;
/**
* @return 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.
*
*/
public Output subnetId() {
return this.subnetId;
}
/**
* A mapping of tags which should be assigned to the Azure Managed Lustre File System.
*
*/
@Export(name="tags", refs={Map.class,String.class}, tree="[0,1,1]")
private Output* @Nullable */ Map> tags;
/**
* @return A mapping of tags which should be assigned to the Azure Managed Lustre File System.
*
*/
public Output>> tags() {
return Codegen.optional(this.tags);
}
/**
* A list of availability zones for the Azure Managed Lustre File System. Changing this forces a new resource to be created.
*
*/
@Export(name="zones", refs={List.class,String.class}, tree="[0,1]")
private Output> zones;
/**
* @return A list of availability zones for the Azure Managed Lustre File System. Changing this forces a new resource to be created.
*
*/
public Output> zones() {
return this.zones;
}
/**
*
* @param name The _unique_ name of the resulting resource.
*/
public FileSystem(java.lang.String name) {
this(name, FileSystemArgs.Empty);
}
/**
*
* @param name The _unique_ name of the resulting resource.
* @param args The arguments to use to populate this resource's properties.
*/
public FileSystem(java.lang.String name, FileSystemArgs args) {
this(name, args, null);
}
/**
*
* @param name The _unique_ name of the resulting resource.
* @param args The arguments to use to populate this resource's properties.
* @param options A bag of options that control this resource's behavior.
*/
public FileSystem(java.lang.String name, FileSystemArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) {
super("azure:managedlustre/fileSystem:FileSystem", name, makeArgs(args, options), makeResourceOptions(options, Codegen.empty()), false);
}
private FileSystem(java.lang.String name, Output id, @Nullable FileSystemState state, @Nullable com.pulumi.resources.CustomResourceOptions options) {
super("azure:managedlustre/fileSystem:FileSystem", name, state, makeResourceOptions(options, id), false);
}
private static FileSystemArgs makeArgs(FileSystemArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) {
if (options != null && options.getUrn().isPresent()) {
return null;
}
return args == null ? FileSystemArgs.Empty : args;
}
private static com.pulumi.resources.CustomResourceOptions makeResourceOptions(@Nullable com.pulumi.resources.CustomResourceOptions options, @Nullable Output id) {
var defaultOptions = com.pulumi.resources.CustomResourceOptions.builder()
.version(Utilities.getVersion())
.build();
return com.pulumi.resources.CustomResourceOptions.merge(defaultOptions, options, id);
}
/**
* Get an existing Host 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
* @param options Optional settings to control the behavior of the CustomResource.
*/
public static FileSystem get(java.lang.String name, Output id, @Nullable FileSystemState state, @Nullable com.pulumi.resources.CustomResourceOptions options) {
return new FileSystem(name, id, state, options);
}
}