Class WorkspaceCustomParameters
java.lang.Object
com.azure.resourcemanager.databricks.models.WorkspaceCustomParameters
- All Implemented Interfaces:
com.azure.json.JsonSerializable<WorkspaceCustomParameters>
public final class WorkspaceCustomParameters
extends Object
implements com.azure.json.JsonSerializable<WorkspaceCustomParameters>
Custom Parameters used for Cluster Creation.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of WorkspaceCustomParameters class. -
Method Summary
Modifier and TypeMethodDescriptionGet the amlWorkspaceId property: The ID of a Azure Machine Learning workspace to link with Databricks workspace.Get the customPrivateSubnetName property: The name of the Private Subnet within the Virtual Network.Get the customPublicSubnetName property: The name of a Public Subnet within the Virtual Network.Get the customVirtualNetworkId property: The ID of a Virtual Network where this Databricks Cluster should be created.Get the enableNoPublicIp property: Should the Public IP be Disabled?.Get the encryption property: Contains the encryption details for Customer-Managed Key (CMK) enabled workspace.static WorkspaceCustomParametersfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of WorkspaceCustomParameters from the JsonReader.Get the loadBalancerBackendPoolName property: Name of the outbound Load Balancer Backend Pool for Secure Cluster Connectivity (No Public IP).Get the loadBalancerId property: Resource URI of Outbound Load balancer for Secure Cluster Connectivity (No Public IP) workspace.Get the natGatewayName property: Name of the NAT gateway for Secure Cluster Connectivity (No Public IP) workspace subnets.Get the prepareEncryption property: Prepare the workspace for encryption.Get the publicIpName property: Name of the Public IP for No Public IP workspace with managed vNet.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.Get the resourceTags property: Tags applied to resources under Managed resource group.Get the storageAccountName property: Default DBFS storage account name.Get the storageAccountSkuName property: Storage account SKU name, ex: Standard_GRS, Standard_LRS.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.Get the vnetAddressPrefix property: Address prefix for Managed virtual network.withAmlWorkspaceId(WorkspaceCustomStringParameter amlWorkspaceId) Set the amlWorkspaceId property: The ID of a Azure Machine Learning workspace to link with Databricks workspace.withCustomPrivateSubnetName(WorkspaceCustomStringParameter customPrivateSubnetName) Set the customPrivateSubnetName property: The name of the Private Subnet within the Virtual Network.withCustomPublicSubnetName(WorkspaceCustomStringParameter customPublicSubnetName) Set the customPublicSubnetName property: The name of a Public Subnet within the Virtual Network.withCustomVirtualNetworkId(WorkspaceCustomStringParameter customVirtualNetworkId) Set the customVirtualNetworkId property: The ID of a Virtual Network where this Databricks Cluster should be created.withEnableNoPublicIp(WorkspaceCustomBooleanParameter enableNoPublicIp) Set the enableNoPublicIp property: Should the Public IP be Disabled?.withEncryption(WorkspaceEncryptionParameter encryption) Set the encryption property: Contains the encryption details for Customer-Managed Key (CMK) enabled workspace.withLoadBalancerBackendPoolName(WorkspaceCustomStringParameter loadBalancerBackendPoolName) Set the loadBalancerBackendPoolName property: Name of the outbound Load Balancer Backend Pool for Secure Cluster Connectivity (No Public IP).withLoadBalancerId(WorkspaceCustomStringParameter loadBalancerId) Set the loadBalancerId property: Resource URI of Outbound Load balancer for Secure Cluster Connectivity (No Public IP) workspace.withNatGatewayName(WorkspaceCustomStringParameter natGatewayName) Set the natGatewayName property: Name of the NAT gateway for Secure Cluster Connectivity (No Public IP) workspace subnets.withPrepareEncryption(WorkspaceCustomBooleanParameter prepareEncryption) Set the prepareEncryption property: Prepare the workspace for encryption.withPublicIpName(WorkspaceCustomStringParameter publicIpName) Set the publicIpName property: Name of the Public IP for No Public IP workspace with managed vNet.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.withStorageAccountName(WorkspaceCustomStringParameter storageAccountName) Set the storageAccountName property: Default DBFS storage account name.withStorageAccountSkuName(WorkspaceCustomStringParameter storageAccountSkuName) Set the storageAccountSkuName property: Storage account SKU name, ex: Standard_GRS, Standard_LRS.withVnetAddressPrefix(WorkspaceCustomStringParameter vnetAddressPrefix) Set the vnetAddressPrefix property: Address prefix for Managed virtual network.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
WorkspaceCustomParameters
public WorkspaceCustomParameters()Creates an instance of WorkspaceCustomParameters class.
-
-
Method Details
-
amlWorkspaceId
Get the amlWorkspaceId property: The ID of a Azure Machine Learning workspace to link with Databricks workspace.- Returns:
- the amlWorkspaceId value.
-
withAmlWorkspaceId
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
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
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
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
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
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
Get the loadBalancerId property: Resource URI of Outbound Load balancer for Secure Cluster Connectivity (No Public IP) workspace.- Returns:
- the loadBalancerId value.
-
withLoadBalancerId
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
Get the natGatewayName property: Name of the NAT gateway for Secure Cluster Connectivity (No Public IP) workspace subnets.- Returns:
- the natGatewayName value.
-
withNatGatewayName
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
Get the publicIpName property: Name of the Public IP for No Public IP workspace with managed vNet.- Returns:
- the publicIpName value.
-
withPublicIpName
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
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
Get the encryption property: Contains the encryption details for Customer-Managed Key (CMK) enabled workspace.- Returns:
- the encryption value.
-
withEncryption
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
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
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
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
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
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.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<WorkspaceCustomParameters>- Throws:
IOException
-
fromJson
public static WorkspaceCustomParameters fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of WorkspaceCustomParameters from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of WorkspaceCustomParameters if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IOException- If an error occurs while reading the WorkspaceCustomParameters.
-