Class WorkspaceCustomParameters

java.lang.Object
com.azure.resourcemanager.databricks.models.WorkspaceCustomParameters

public final class WorkspaceCustomParameters extends Object
Custom Parameters used for Cluster Creation.
  • Constructor Details

    • WorkspaceCustomParameters

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

    • amlWorkspaceId

      public WorkspaceCustomStringParameter amlWorkspaceId()
      Get the amlWorkspaceId property: The ID of a Azure Machine Learning workspace to link with Databricks workspace.
      Returns:
      the amlWorkspaceId value.
    • withAmlWorkspaceId

      public WorkspaceCustomParameters withAmlWorkspaceId(WorkspaceCustomStringParameter amlWorkspaceId)
      Set the amlWorkspaceId property: The ID of a Azure Machine Learning workspace to link with Databricks workspace.
      Parameters:
      amlWorkspaceId - the amlWorkspaceId value to set.
      Returns:
      the WorkspaceCustomParameters object itself.
    • customVirtualNetworkId

      public WorkspaceCustomStringParameter customVirtualNetworkId()
      Get the customVirtualNetworkId property: The ID of a Virtual Network where this Databricks Cluster should be created.
      Returns:
      the customVirtualNetworkId value.
    • withCustomVirtualNetworkId

      public WorkspaceCustomParameters withCustomVirtualNetworkId(WorkspaceCustomStringParameter customVirtualNetworkId)
      Set the customVirtualNetworkId property: The ID of a Virtual Network where this Databricks Cluster should be created.
      Parameters:
      customVirtualNetworkId - the customVirtualNetworkId value to set.
      Returns:
      the WorkspaceCustomParameters object itself.
    • customPublicSubnetName

      public WorkspaceCustomStringParameter customPublicSubnetName()
      Get the customPublicSubnetName property: The name of a Public Subnet within the Virtual Network.
      Returns:
      the customPublicSubnetName value.
    • withCustomPublicSubnetName

      public WorkspaceCustomParameters withCustomPublicSubnetName(WorkspaceCustomStringParameter customPublicSubnetName)
      Set the customPublicSubnetName property: The name of a Public Subnet within the Virtual Network.
      Parameters:
      customPublicSubnetName - the customPublicSubnetName value to set.
      Returns:
      the WorkspaceCustomParameters object itself.
    • customPrivateSubnetName

      public WorkspaceCustomStringParameter customPrivateSubnetName()
      Get the customPrivateSubnetName property: The name of the Private Subnet within the Virtual Network.
      Returns:
      the customPrivateSubnetName value.
    • withCustomPrivateSubnetName

      public WorkspaceCustomParameters withCustomPrivateSubnetName(WorkspaceCustomStringParameter customPrivateSubnetName)
      Set the customPrivateSubnetName property: The name of the Private Subnet within the Virtual Network.
      Parameters:
      customPrivateSubnetName - the customPrivateSubnetName value to set.
      Returns:
      the WorkspaceCustomParameters object itself.
    • enableNoPublicIp

      public WorkspaceCustomBooleanParameter enableNoPublicIp()
      Get the enableNoPublicIp property: Should the Public IP be Disabled?.
      Returns:
      the enableNoPublicIp value.
    • withEnableNoPublicIp

      public WorkspaceCustomParameters withEnableNoPublicIp(WorkspaceCustomBooleanParameter enableNoPublicIp)
      Set the enableNoPublicIp property: Should the Public IP be Disabled?.
      Parameters:
      enableNoPublicIp - the enableNoPublicIp value to set.
      Returns:
      the WorkspaceCustomParameters object itself.
    • loadBalancerBackendPoolName

      public WorkspaceCustomStringParameter loadBalancerBackendPoolName()
      Get the loadBalancerBackendPoolName property: Name of the outbound Load Balancer Backend Pool for Secure Cluster Connectivity (No Public IP).
      Returns:
      the loadBalancerBackendPoolName value.
    • withLoadBalancerBackendPoolName

      public WorkspaceCustomParameters withLoadBalancerBackendPoolName(WorkspaceCustomStringParameter loadBalancerBackendPoolName)
      Set the loadBalancerBackendPoolName property: Name of the outbound Load Balancer Backend Pool for Secure Cluster Connectivity (No Public IP).
      Parameters:
      loadBalancerBackendPoolName - the loadBalancerBackendPoolName value to set.
      Returns:
      the WorkspaceCustomParameters object itself.
    • loadBalancerId

      public WorkspaceCustomStringParameter loadBalancerId()
      Get the loadBalancerId property: Resource URI of Outbound Load balancer for Secure Cluster Connectivity (No Public IP) workspace.
      Returns:
      the loadBalancerId value.
    • withLoadBalancerId

      public WorkspaceCustomParameters withLoadBalancerId(WorkspaceCustomStringParameter loadBalancerId)
      Set the loadBalancerId property: Resource URI of Outbound Load balancer for Secure Cluster Connectivity (No Public IP) workspace.
      Parameters:
      loadBalancerId - the loadBalancerId value to set.
      Returns:
      the WorkspaceCustomParameters object itself.
    • natGatewayName

      public WorkspaceCustomStringParameter natGatewayName()
      Get the natGatewayName property: Name of the NAT gateway for Secure Cluster Connectivity (No Public IP) workspace subnets.
      Returns:
      the natGatewayName value.
    • withNatGatewayName

      public WorkspaceCustomParameters withNatGatewayName(WorkspaceCustomStringParameter natGatewayName)
      Set the natGatewayName property: Name of the NAT gateway for Secure Cluster Connectivity (No Public IP) workspace subnets.
      Parameters:
      natGatewayName - the natGatewayName value to set.
      Returns:
      the WorkspaceCustomParameters object itself.
    • publicIpName

      public WorkspaceCustomStringParameter publicIpName()
      Get the publicIpName property: Name of the Public IP for No Public IP workspace with managed vNet.
      Returns:
      the publicIpName value.
    • withPublicIpName

      public WorkspaceCustomParameters withPublicIpName(WorkspaceCustomStringParameter publicIpName)
      Set the publicIpName property: Name of the Public IP for No Public IP workspace with managed vNet.
      Parameters:
      publicIpName - the publicIpName value to set.
      Returns:
      the WorkspaceCustomParameters object itself.
    • prepareEncryption

      public WorkspaceCustomBooleanParameter prepareEncryption()
      Get the prepareEncryption property: Prepare the workspace for encryption. Enables the Managed Identity for managed storage account.
      Returns:
      the prepareEncryption value.
    • withPrepareEncryption

      public WorkspaceCustomParameters withPrepareEncryption(WorkspaceCustomBooleanParameter prepareEncryption)
      Set the prepareEncryption property: Prepare the workspace for encryption. Enables the Managed Identity for managed storage account.
      Parameters:
      prepareEncryption - the prepareEncryption value to set.
      Returns:
      the WorkspaceCustomParameters object itself.
    • encryption

      public WorkspaceEncryptionParameter encryption()
      Get the encryption property: Contains the encryption details for Customer-Managed Key (CMK) enabled workspace.
      Returns:
      the encryption value.
    • withEncryption

      public WorkspaceCustomParameters withEncryption(WorkspaceEncryptionParameter encryption)
      Set the encryption property: Contains the encryption details for Customer-Managed Key (CMK) enabled workspace.
      Parameters:
      encryption - the encryption value to set.
      Returns:
      the WorkspaceCustomParameters object itself.
    • requireInfrastructureEncryption

      public WorkspaceCustomBooleanParameter requireInfrastructureEncryption()
      Get the requireInfrastructureEncryption property: A boolean indicating whether or not the DBFS root file system will be enabled with secondary layer of encryption with platform managed keys for data at rest.
      Returns:
      the requireInfrastructureEncryption value.
    • withRequireInfrastructureEncryption

      public WorkspaceCustomParameters withRequireInfrastructureEncryption(WorkspaceCustomBooleanParameter requireInfrastructureEncryption)
      Set the requireInfrastructureEncryption property: A boolean indicating whether or not the DBFS root file system will be enabled with secondary layer of encryption with platform managed keys for data at rest.
      Parameters:
      requireInfrastructureEncryption - the requireInfrastructureEncryption value to set.
      Returns:
      the WorkspaceCustomParameters object itself.
    • storageAccountName

      public WorkspaceCustomStringParameter storageAccountName()
      Get the storageAccountName property: Default DBFS storage account name.
      Returns:
      the storageAccountName value.
    • withStorageAccountName

      public WorkspaceCustomParameters withStorageAccountName(WorkspaceCustomStringParameter storageAccountName)
      Set the storageAccountName property: Default DBFS storage account name.
      Parameters:
      storageAccountName - the storageAccountName value to set.
      Returns:
      the WorkspaceCustomParameters object itself.
    • storageAccountSkuName

      public WorkspaceCustomStringParameter storageAccountSkuName()
      Get the storageAccountSkuName property: Storage account SKU name, ex: Standard_GRS, Standard_LRS. Refer https://aka.ms/storageskus for valid inputs.
      Returns:
      the storageAccountSkuName value.
    • withStorageAccountSkuName

      public WorkspaceCustomParameters withStorageAccountSkuName(WorkspaceCustomStringParameter storageAccountSkuName)
      Set the storageAccountSkuName property: Storage account SKU name, ex: Standard_GRS, Standard_LRS. Refer https://aka.ms/storageskus for valid inputs.
      Parameters:
      storageAccountSkuName - the storageAccountSkuName value to set.
      Returns:
      the WorkspaceCustomParameters object itself.
    • vnetAddressPrefix

      public WorkspaceCustomStringParameter vnetAddressPrefix()
      Get the vnetAddressPrefix property: Address prefix for Managed virtual network. Default value for this input is 10.139.
      Returns:
      the vnetAddressPrefix value.
    • withVnetAddressPrefix

      public WorkspaceCustomParameters withVnetAddressPrefix(WorkspaceCustomStringParameter vnetAddressPrefix)
      Set the vnetAddressPrefix property: Address prefix for Managed virtual network. Default value for this input is 10.139.
      Parameters:
      vnetAddressPrefix - the vnetAddressPrefix value to set.
      Returns:
      the WorkspaceCustomParameters object itself.
    • resourceTags

      public WorkspaceCustomObjectParameter resourceTags()
      Get the resourceTags property: Tags applied to resources under Managed resource group. These can be updated by updating tags at workspace level.
      Returns:
      the resourceTags value.
    • validate

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