Share via


WorkspaceInner Class

public final class WorkspaceInner
extends Resource

Information about workspace.

Constructor Summary

Constructor Description
WorkspaceInner()

Creates an instance of WorkspaceInner class.

Method Summary

Modifier and Type Method and Description
List<WorkspaceProviderAuthorization> authorizations()

Get the authorizations property: The workspace provider authorizations.

CreatedBy createdBy()

Get the createdBy property: Indicates the Object ID, PUID and Application ID of entity that created the workspace.

OffsetDateTime createdDateTime()

Get the createdDateTime property: Specifies the date and time when the workspace is created.

String diskEncryptionSetId()

Get the diskEncryptionSetId property: The resource Id of the managed disk encryption set.

WorkspacePropertiesEncryption encryption()

Get the encryption property: Encryption properties for databricks workspace.

static WorkspaceInner fromJson(JsonReader jsonReader)

Reads an instance of WorkspaceInner from the JsonReader.

String id()

Get the id property: Fully qualified resource Id for the resource.

ManagedIdentityConfiguration managedDiskIdentity()

Get the managedDiskIdentity property: The details of Managed Identity of Disk Encryption Set used for Managed Disk Encryption.

String managedResourceGroupId()

Get the managedResourceGroupId property: The managed resource group Id.

String name()

Get the name property: The name of the resource.

WorkspaceCustomParameters parameters()

Get the parameters property: The workspace's custom parameters.

List<PrivateEndpointConnectionInner> privateEndpointConnections()

Get the privateEndpointConnections property: Private endpoint connections created on the workspace.

ProvisioningState provisioningState()

Get the provisioningState property: The workspace provisioning state.

PublicNetworkAccess publicNetworkAccess()

Get the publicNetworkAccess property: The network access type for accessing workspace.

RequiredNsgRules requiredNsgRules()

Get the requiredNsgRules property: Gets or sets a value indicating whether data plane (clusters) to control plane communication happen over private endpoint.

Sku sku()

Get the sku property: The SKU of the resource.

ManagedIdentityConfiguration storageAccountIdentity()

Get the storageAccountIdentity property: The details of Managed Identity of Storage Account.

SystemData systemData()

Get the systemData property: The system metadata relating to this resource.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

String uiDefinitionUri()

Get the uiDefinitionUri property: The blob URI where the UI definition file is located.

CreatedBy updatedBy()

Get the updatedBy property: Indicates the Object ID, PUID and Application ID of entity that last updated the workspace.

void validate()

Validates the instance.

WorkspaceInner withAuthorizations(List<WorkspaceProviderAuthorization> authorizations)

Set the authorizations property: The workspace provider authorizations.

WorkspaceInner withCreatedBy(CreatedBy createdBy)

Set the createdBy property: Indicates the Object ID, PUID and Application ID of entity that created the workspace.

WorkspaceInner withEncryption(WorkspacePropertiesEncryption encryption)

Set the encryption property: Encryption properties for databricks workspace.

WorkspaceInner withLocation(String location)
WorkspaceInner withManagedDiskIdentity(ManagedIdentityConfiguration managedDiskIdentity)

Set the managedDiskIdentity property: The details of Managed Identity of Disk Encryption Set used for Managed Disk Encryption.

WorkspaceInner withManagedResourceGroupId(String managedResourceGroupId)

Set the managedResourceGroupId property: The managed resource group Id.

WorkspaceInner withParameters(WorkspaceCustomParameters parameters)

Set the parameters property: The workspace's custom parameters.

WorkspaceInner withPublicNetworkAccess(PublicNetworkAccess publicNetworkAccess)

Set the publicNetworkAccess property: The network access type for accessing workspace.

WorkspaceInner 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.

WorkspaceInner withSku(Sku sku)

Set the sku property: The SKU of the resource.

WorkspaceInner withStorageAccountIdentity(ManagedIdentityConfiguration storageAccountIdentity)

Set the storageAccountIdentity property: The details of Managed Identity of Storage Account.

WorkspaceInner withTags(Map<String,String> tags)
WorkspaceInner withUiDefinitionUri(String uiDefinitionUri)

Set the uiDefinitionUri property: The blob URI where the UI definition file is located.

WorkspaceInner withUpdatedBy(CreatedBy updatedBy)

Set the updatedBy property: Indicates the Object ID, PUID and Application ID of entity that last updated the workspace.

String workspaceId()

Get the workspaceId property: The unique identifier of the databricks workspace in databricks control plane.

String workspaceUrl()

Get the workspaceUrl property: The workspace URL which is of the format 'adb-{workspaceId}.{random}.azuredatabricks.net'.

Methods inherited from ProxyResource

Methods inherited from Resource

Methods inherited from java.lang.Object

Constructor Details

WorkspaceInner

public WorkspaceInner()

Creates an instance of WorkspaceInner class.

Method Details

authorizations

public List<WorkspaceProviderAuthorization> authorizations()

Get the authorizations property: The workspace provider authorizations.

Returns:

the authorizations value.

createdBy

public CreatedBy createdBy()

Get the createdBy property: Indicates the Object ID, PUID and Application ID of entity that created the workspace.

Returns:

the createdBy value.

createdDateTime

public OffsetDateTime createdDateTime()

Get the createdDateTime property: Specifies the date and time when the workspace is created.

Returns:

the createdDateTime value.

diskEncryptionSetId

public String diskEncryptionSetId()

Get the diskEncryptionSetId property: The resource Id of the managed disk encryption set.

Returns:

the diskEncryptionSetId value.

encryption

public WorkspacePropertiesEncryption encryption()

Get the encryption property: Encryption properties for databricks workspace.

Returns:

the encryption value.

fromJson

public static WorkspaceInner fromJson(JsonReader jsonReader)

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:

IOException

- If the deserialized JSON object was missing any required properties.

id

public String id()

Get the id property: Fully qualified resource Id for the resource.

Overrides:

WorkspaceInner.id()

Returns:

the id value.

managedDiskIdentity

public ManagedIdentityConfiguration managedDiskIdentity()

Get the managedDiskIdentity property: The details of Managed Identity of Disk Encryption Set used for Managed Disk Encryption.

Returns:

the managedDiskIdentity value.

managedResourceGroupId

public String managedResourceGroupId()

Get the managedResourceGroupId property: The managed resource group Id.

Returns:

the managedResourceGroupId value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

WorkspaceInner.name()

Returns:

the name value.

parameters

public WorkspaceCustomParameters parameters()

Get the parameters property: The workspace's custom parameters.

Returns:

the parameters value.

privateEndpointConnections

public List<PrivateEndpointConnectionInner> privateEndpointConnections()

Get the privateEndpointConnections property: Private endpoint connections created on the workspace.

Returns:

the privateEndpointConnections value.

provisioningState

public ProvisioningState provisioningState()

Get the provisioningState property: The workspace provisioning state.

Returns:

the provisioningState value.

publicNetworkAccess

public PublicNetworkAccess 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.

requiredNsgRules

public RequiredNsgRules 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.

sku

public Sku sku()

Get the sku property: The SKU of the resource.

Returns:

the sku value.

storageAccountIdentity

public ManagedIdentityConfiguration storageAccountIdentity()

Get the storageAccountIdentity property: The details of Managed Identity of Storage Account.

Returns:

the storageAccountIdentity value.

systemData

public SystemData systemData()

Get the systemData property: The system metadata relating to this resource.

Returns:

the systemData value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

WorkspaceInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

WorkspaceInner.type()

Returns:

the type value.

uiDefinitionUri

public String uiDefinitionUri()

Get the uiDefinitionUri property: The blob URI where the UI definition file is located.

Returns:

the uiDefinitionUri value.

updatedBy

public CreatedBy updatedBy()

Get the updatedBy property: Indicates the Object ID, PUID and Application ID of entity that last updated the workspace.

Returns:

the updatedBy value.

validate

public void validate()

Validates the instance.

withAuthorizations

public WorkspaceInner withAuthorizations(List<WorkspaceProviderAuthorization> authorizations)

Set the authorizations property: The workspace provider authorizations.

Parameters:

authorizations - the authorizations value to set.

Returns:

the WorkspaceInner object itself.

withCreatedBy

public WorkspaceInner withCreatedBy(CreatedBy createdBy)

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.

withEncryption

public WorkspaceInner withEncryption(WorkspacePropertiesEncryption encryption)

Set the encryption property: Encryption properties for databricks workspace.

Parameters:

encryption - the encryption value to set.

Returns:

the WorkspaceInner object itself.

withLocation

public WorkspaceInner withLocation(String location)

Overrides:

WorkspaceInner.withLocation(String location)

Parameters:

location

withManagedDiskIdentity

public WorkspaceInner 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 WorkspaceInner object itself.

withManagedResourceGroupId

public WorkspaceInner withManagedResourceGroupId(String managedResourceGroupId)

Set the managedResourceGroupId property: The managed resource group Id.

Parameters:

managedResourceGroupId - the managedResourceGroupId value to set.

Returns:

the WorkspaceInner object itself.

withParameters

public WorkspaceInner withParameters(WorkspaceCustomParameters parameters)

Set the parameters property: The workspace's custom parameters.

Parameters:

parameters - the parameters value to set.

Returns:

the WorkspaceInner object itself.

withPublicNetworkAccess

public WorkspaceInner withPublicNetworkAccess(PublicNetworkAccess publicNetworkAccess)

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.

withRequiredNsgRules

public WorkspaceInner 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. 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.

withSku

public WorkspaceInner withSku(Sku sku)

Set the sku property: The SKU of the resource.

Parameters:

sku - the sku value to set.

Returns:

the WorkspaceInner object itself.

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.

withTags

public WorkspaceInner withTags(Map<String,String> tags)

Overrides:

WorkspaceInner.withTags(Map<String,String> tags)

Parameters:

tags

withUiDefinitionUri

public WorkspaceInner withUiDefinitionUri(String uiDefinitionUri)

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.

withUpdatedBy

public WorkspaceInner withUpdatedBy(CreatedBy updatedBy)

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.

workspaceId

public String workspaceId()

Get the workspaceId property: The unique identifier of the databricks workspace in databricks control plane.

Returns:

the workspaceId value.

workspaceUrl

public String workspaceUrl()

Get the workspaceUrl property: The workspace URL which is of the format 'adb-{workspaceId}.{random}.azuredatabricks.net'.

Returns:

the workspaceUrl value.

Applies to