Class WorkspaceProperties
java.lang.Object
com.azure.resourcemanager.databricks.fluent.models.WorkspaceProperties
- All Implemented Interfaces:
com.azure.json.JsonSerializable<WorkspaceProperties>
public final class WorkspaceProperties
extends Object
implements com.azure.json.JsonSerializable<WorkspaceProperties>
The workspace properties.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the authorizations property: The workspace provider authorizations.Get the createdBy property: Indicates the Object ID, PUID and Application ID of entity that created the workspace.Get the createdDateTime property: Specifies the date and time when the workspace is created.Get the diskEncryptionSetId property: The resource Id of the managed disk encryption set.Get the encryption property: Encryption properties for databricks workspace.static WorkspacePropertiesfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of WorkspaceProperties from the JsonReader.Get the managedDiskIdentity property: The details of Managed Identity of Disk Encryption Set used for Managed Disk Encryption.Get the managedResourceGroupId property: The managed resource group Id.Get the parameters property: The workspace's custom parameters.Get the privateEndpointConnections property: Private endpoint connections created on the workspace.Get the provisioningState property: The workspace provisioning state.Get the publicNetworkAccess property: The network access type for accessing workspace.Get the requiredNsgRules property: Gets or sets a value indicating whether data plane (clusters) to control plane communication happen over private endpoint.Get the storageAccountIdentity property: The details of Managed Identity of Storage Account.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) Get the uiDefinitionUri property: The blob URI where the UI definition file is located.Get the updatedBy property: Indicates the Object ID, PUID and Application ID of entity that last updated the workspace.voidvalidate()Validates the instance.withAuthorizations(List<WorkspaceProviderAuthorization> authorizations) Set the authorizations property: The workspace provider authorizations.withCreatedBy(CreatedBy createdBy) Set the createdBy property: Indicates the Object ID, PUID and Application ID of entity that created the workspace.withEncryption(WorkspacePropertiesEncryption encryption) Set the encryption property: Encryption properties for databricks workspace.withManagedDiskIdentity(ManagedIdentityConfiguration managedDiskIdentity) Set the managedDiskIdentity property: The details of Managed Identity of Disk Encryption Set used for Managed Disk Encryption.withManagedResourceGroupId(String managedResourceGroupId) Set the managedResourceGroupId property: The managed resource group Id.withParameters(WorkspaceCustomParameters parameters) Set the parameters property: The workspace's custom parameters.withPublicNetworkAccess(PublicNetworkAccess publicNetworkAccess) Set the publicNetworkAccess property: The network access type for accessing workspace.withRequiredNsgRules(RequiredNsgRules requiredNsgRules) Set the requiredNsgRules property: Gets or sets a value indicating whether data plane (clusters) to control plane communication happen over private endpoint.withStorageAccountIdentity(ManagedIdentityConfiguration storageAccountIdentity) Set the storageAccountIdentity property: The details of Managed Identity of Storage Account.withUiDefinitionUri(String uiDefinitionUri) Set the uiDefinitionUri property: The blob URI where the UI definition file is located.withUpdatedBy(CreatedBy updatedBy) Set the updatedBy property: Indicates the Object ID, PUID and Application ID of entity that last updated the workspace.Get the workspaceId property: The unique identifier of the databricks workspace in databricks control plane.Get the workspaceUrl property: The workspace URL which is of the format 'adb-{workspaceId}.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
-
WorkspaceProperties
public WorkspaceProperties()Creates an instance of WorkspaceProperties class.
-
-
Method Details
-
managedResourceGroupId
Get the managedResourceGroupId property: The managed resource group Id.- Returns:
- the managedResourceGroupId value.
-
withManagedResourceGroupId
Set the managedResourceGroupId property: The managed resource group Id.- Parameters:
managedResourceGroupId- the managedResourceGroupId value to set.- Returns:
- the WorkspaceProperties object itself.
-
parameters
Get the parameters property: The workspace's custom parameters.- Returns:
- the parameters value.
-
withParameters
Set the parameters property: The workspace's custom parameters.- Parameters:
parameters- the parameters value to set.- Returns:
- the WorkspaceProperties object itself.
-
provisioningState
Get the provisioningState property: The workspace provisioning state.- Returns:
- the provisioningState value.
-
uiDefinitionUri
Get the uiDefinitionUri property: The blob URI where the UI definition file is located.- Returns:
- the uiDefinitionUri value.
-
withUiDefinitionUri
Set the uiDefinitionUri property: The blob URI where the UI definition file is located.- Parameters:
uiDefinitionUri- the uiDefinitionUri value to set.- Returns:
- the WorkspaceProperties object itself.
-
authorizations
Get the authorizations property: The workspace provider authorizations.- Returns:
- the authorizations value.
-
withAuthorizations
Set the authorizations property: The workspace provider authorizations.- Parameters:
authorizations- the authorizations value to set.- Returns:
- the WorkspaceProperties object itself.
-
createdBy
Get the createdBy property: Indicates the Object ID, PUID and Application ID of entity that created the workspace.- Returns:
- the createdBy value.
-
withCreatedBy
Set the createdBy property: Indicates the Object ID, PUID and Application ID of entity that created the workspace.- Parameters:
createdBy- the createdBy value to set.- Returns:
- the WorkspaceProperties object itself.
-
updatedBy
Get the updatedBy property: Indicates the Object ID, PUID and Application ID of entity that last updated the workspace.- Returns:
- the updatedBy value.
-
withUpdatedBy
Set the updatedBy property: Indicates the Object ID, PUID and Application ID of entity that last updated the workspace.- Parameters:
updatedBy- the updatedBy value to set.- Returns:
- the WorkspaceProperties object itself.
-
createdDateTime
Get the createdDateTime property: Specifies the date and time when the workspace is created.- Returns:
- the createdDateTime value.
-
workspaceId
Get the workspaceId property: The unique identifier of the databricks workspace in databricks control plane.- Returns:
- the workspaceId value.
-
workspaceUrl
Get the workspaceUrl property: The workspace URL which is of the format 'adb-{workspaceId}.{random}.azuredatabricks.net'.- Returns:
- the workspaceUrl value.
-
storageAccountIdentity
Get the storageAccountIdentity property: The details of Managed Identity of Storage Account.- Returns:
- the storageAccountIdentity value.
-
withStorageAccountIdentity
public WorkspaceProperties withStorageAccountIdentity(ManagedIdentityConfiguration storageAccountIdentity) Set the storageAccountIdentity property: The details of Managed Identity of Storage Account.- Parameters:
storageAccountIdentity- the storageAccountIdentity value to set.- Returns:
- the WorkspaceProperties object itself.
-
managedDiskIdentity
Get the managedDiskIdentity property: The details of Managed Identity of Disk Encryption Set used for Managed Disk Encryption.- Returns:
- the managedDiskIdentity value.
-
withManagedDiskIdentity
public WorkspaceProperties withManagedDiskIdentity(ManagedIdentityConfiguration managedDiskIdentity) Set the managedDiskIdentity property: The details of Managed Identity of Disk Encryption Set used for Managed Disk Encryption.- Parameters:
managedDiskIdentity- the managedDiskIdentity value to set.- Returns:
- the WorkspaceProperties object itself.
-
diskEncryptionSetId
Get the diskEncryptionSetId property: The resource Id of the managed disk encryption set.- Returns:
- the diskEncryptionSetId value.
-
encryption
Get the encryption property: Encryption properties for databricks workspace.- Returns:
- the encryption value.
-
withEncryption
Set the encryption property: Encryption properties for databricks workspace.- Parameters:
encryption- the encryption value to set.- Returns:
- the WorkspaceProperties object itself.
-
privateEndpointConnections
Get the privateEndpointConnections property: Private endpoint connections created on the workspace.- Returns:
- the privateEndpointConnections value.
-
publicNetworkAccess
Get the publicNetworkAccess property: The network access type for accessing workspace. Set value to disabled to access workspace only via private link.- Returns:
- the publicNetworkAccess value.
-
withPublicNetworkAccess
Set the publicNetworkAccess property: The network access type for accessing workspace. Set value to disabled to access workspace only via private link.- Parameters:
publicNetworkAccess- the publicNetworkAccess value to set.- Returns:
- the WorkspaceProperties object itself.
-
requiredNsgRules
Get the requiredNsgRules property: Gets or sets a value indicating whether data plane (clusters) to control plane communication happen over private endpoint. Supported values are 'AllRules' and 'NoAzureDatabricksRules'. 'NoAzureServiceRules' value is for internal use only.- Returns:
- the requiredNsgRules value.
-
withRequiredNsgRules
Set the requiredNsgRules property: Gets or sets a value indicating whether data plane (clusters) to control plane communication happen over private endpoint. Supported values are 'AllRules' and 'NoAzureDatabricksRules'. 'NoAzureServiceRules' value is for internal use only.- Parameters:
requiredNsgRules- the requiredNsgRules value to set.- Returns:
- the WorkspaceProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<WorkspaceProperties>- Throws:
IOException
-
fromJson
Reads an instance of WorkspaceProperties from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of WorkspaceProperties if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IllegalStateException- If the deserialized JSON object was missing any required properties.IOException- If an error occurs while reading the WorkspaceProperties.
-