Class WorkspaceInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.core.management.Resource
com.azure.resourcemanager.databricks.fluent.models.WorkspaceInner
- All Implemented Interfaces:
com.azure.json.JsonSerializable<com.azure.core.management.ProxyResource>
public final class WorkspaceInner
extends com.azure.core.management.Resource
Information about workspace.
-
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 WorkspaceInnerfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of WorkspaceInner from the JsonReader.id()Get the id property: Fully qualified resource Id for the resource.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.name()Get the name property: The name of the resource.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.sku()Get the sku property: The SKU of the resource.Get the storageAccountIdentity property: The details of Managed Identity of Storage Account.com.azure.core.management.SystemDataGet the systemData property: The system metadata relating to this resource.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) type()Get the type property: The type of the resource.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.withLocation(String location) 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.Set the sku property: The SKU of the resource.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 com.azure.core.management.Resource
location, tagsMethods 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
-
WorkspaceInner
public WorkspaceInner()Creates an instance of WorkspaceInner class.
-
-
Method Details
-
sku
Get the sku property: The SKU of the resource.- Returns:
- the sku value.
-
withSku
Set the sku property: The SKU of the resource.- Parameters:
sku- the sku value to set.- Returns:
- the WorkspaceInner object itself.
-
systemData
public com.azure.core.management.SystemData systemData()Get the systemData property: The system metadata relating to this resource.- Returns:
- the systemData value.
-
type
Get the type property: The type of the resource.- Overrides:
typein classcom.azure.core.management.ProxyResource- Returns:
- the type value.
-
name
Get the name property: The name of the resource.- Overrides:
namein classcom.azure.core.management.ProxyResource- Returns:
- the name value.
-
id
Get the id property: Fully qualified resource Id for the resource.- Overrides:
idin classcom.azure.core.management.ProxyResource- Returns:
- the id value.
-
withLocation
- Overrides:
withLocationin classcom.azure.core.management.Resource
-
withTags
- Overrides:
withTagsin classcom.azure.core.management.Resource
-
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 WorkspaceInner 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 WorkspaceInner 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 WorkspaceInner 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 WorkspaceInner 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 WorkspaceInner 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 WorkspaceInner 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 WorkspaceInner withStorageAccountIdentity(ManagedIdentityConfiguration storageAccountIdentity) Set the storageAccountIdentity property: The details of Managed Identity of Storage Account.- Parameters:
storageAccountIdentity- the storageAccountIdentity value to set.- Returns:
- the WorkspaceInner 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
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 WorkspaceInner 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 WorkspaceInner 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 WorkspaceInner 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 WorkspaceInner 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<com.azure.core.management.ProxyResource>- Overrides:
toJsonin classcom.azure.core.management.Resource- Throws:
IOException
-
fromJson
Reads an instance of WorkspaceInner from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of WorkspaceInner 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 WorkspaceInner.
-