Class AmlFilesystemSubnetInfo

java.lang.Object
com.azure.resourcemanager.storagecache.models.AmlFilesystemSubnetInfo

public final class AmlFilesystemSubnetInfo extends Object
Information required to validate the subnet that will be used in AML file system create.
  • Constructor Details

    • AmlFilesystemSubnetInfo

      public AmlFilesystemSubnetInfo()
      Creates an instance of AmlFilesystemSubnetInfo class.
  • Method Details

    • filesystemSubnet

      public String filesystemSubnet()
      Get the filesystemSubnet property: Subnet used for managing the AML file system and for client-facing operations. This subnet should have at least a /24 subnet mask within the VNET's address space.
      Returns:
      the filesystemSubnet value.
    • withFilesystemSubnet

      public AmlFilesystemSubnetInfo withFilesystemSubnet(String filesystemSubnet)
      Set the filesystemSubnet property: Subnet used for managing the AML file system and for client-facing operations. This subnet should have at least a /24 subnet mask within the VNET's address space.
      Parameters:
      filesystemSubnet - the filesystemSubnet value to set.
      Returns:
      the AmlFilesystemSubnetInfo object itself.
    • storageCapacityTiB

      public Float storageCapacityTiB()
      Get the storageCapacityTiB property: The size of the AML file system, in TiB.
      Returns:
      the storageCapacityTiB value.
    • withStorageCapacityTiB

      public AmlFilesystemSubnetInfo withStorageCapacityTiB(Float storageCapacityTiB)
      Set the storageCapacityTiB property: The size of the AML file system, in TiB.
      Parameters:
      storageCapacityTiB - the storageCapacityTiB value to set.
      Returns:
      the AmlFilesystemSubnetInfo object itself.
    • sku

      public SkuName sku()
      Get the sku property: SKU for the resource.
      Returns:
      the sku value.
    • withSku

      public AmlFilesystemSubnetInfo withSku(SkuName sku)
      Set the sku property: SKU for the resource.
      Parameters:
      sku - the sku value to set.
      Returns:
      the AmlFilesystemSubnetInfo object itself.
    • location

      public String location()
      Get the location property: Region that the AML file system will be created in.
      Returns:
      the location value.
    • withLocation

      public AmlFilesystemSubnetInfo withLocation(String location)
      Set the location property: Region that the AML file system will be created in.
      Parameters:
      location - the location value to set.
      Returns:
      the AmlFilesystemSubnetInfo object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.