WorkspaceInner Class

public final class WorkspaceInner
extends Resource

A workspace.

Constructor Summary

Constructor Description
WorkspaceInner()

Creates an instance of WorkspaceInner class.

Method Summary

Modifier and Type Method and Description
String adlaResourceId()

Get the adlaResourceId property: The ADLA resource ID.

Map<String,String> connectivityEndpoints()

Get the connectivityEndpoints property: Connectivity endpoints.

DataLakeStorageAccountDetails defaultDataLakeStorage()

Get the defaultDataLakeStorage property: Workspace default data lake storage account details.

EncryptionDetails encryption()

Get the encryption property: The encryption details of the workspace.

Map<String,Object> extraProperties()

Get the extraProperties property: Workspace level configs and feature flags.

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.

ManagedIdentity identity()

Get the identity property: Identity of the workspace.

String managedResourceGroupName()

Get the managedResourceGroupName property: Workspace managed resource group.

String managedVirtualNetwork()

Get the managedVirtualNetwork property: Setting this to 'default' will ensure that all compute for this workspace is in a virtual network managed on behalf of the user.

ManagedVirtualNetworkSettings managedVirtualNetworkSettings()

Get the managedVirtualNetworkSettings property: Managed Virtual Network Settings.

String name()

Get the name property: The name of the resource.

List<PrivateEndpointConnectionInner> privateEndpointConnections()

Get the privateEndpointConnections property: Private endpoint connections to the workspace.

String provisioningState()

Get the provisioningState property: Resource provisioning state.

WorkspacePublicNetworkAccess publicNetworkAccess()

Get the publicNetworkAccess property: Enable or Disable public network access to workspace.

PurviewConfiguration purviewConfiguration()

Get the purviewConfiguration property: Purview Configuration.

String sqlAdministratorLogin()

Get the sqlAdministratorLogin property: Login for workspace SQL active directory administrator.

String sqlAdministratorLoginPassword()

Get the sqlAdministratorLoginPassword property: SQL administrator login password.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

VirtualNetworkProfile virtualNetworkProfile()

Get the virtualNetworkProfile property: Virtual Network profile.

WorkspaceInner withConnectivityEndpoints(Map<String,String> connectivityEndpoints)

Set the connectivityEndpoints property: Connectivity endpoints.

WorkspaceInner withDefaultDataLakeStorage(DataLakeStorageAccountDetails defaultDataLakeStorage)

Set the defaultDataLakeStorage property: Workspace default data lake storage account details.

WorkspaceInner withEncryption(EncryptionDetails encryption)

Set the encryption property: The encryption details of the workspace.

WorkspaceInner withIdentity(ManagedIdentity identity)

Set the identity property: Identity of the workspace.

WorkspaceInner withLocation(String location)
WorkspaceInner withManagedResourceGroupName(String managedResourceGroupName)

Set the managedResourceGroupName property: Workspace managed resource group.

WorkspaceInner withManagedVirtualNetwork(String managedVirtualNetwork)

Set the managedVirtualNetwork property: Setting this to 'default' will ensure that all compute for this workspace is in a virtual network managed on behalf of the user.

WorkspaceInner withManagedVirtualNetworkSettings(ManagedVirtualNetworkSettings managedVirtualNetworkSettings)

Set the managedVirtualNetworkSettings property: Managed Virtual Network Settings.

WorkspaceInner withPrivateEndpointConnections(List<PrivateEndpointConnectionInner> privateEndpointConnections)

Set the privateEndpointConnections property: Private endpoint connections to the workspace.

WorkspaceInner withPublicNetworkAccess(WorkspacePublicNetworkAccess publicNetworkAccess)

Set the publicNetworkAccess property: Enable or Disable public network access to workspace.

WorkspaceInner withPurviewConfiguration(PurviewConfiguration purviewConfiguration)

Set the purviewConfiguration property: Purview Configuration.

WorkspaceInner withSqlAdministratorLogin(String sqlAdministratorLogin)

Set the sqlAdministratorLogin property: Login for workspace SQL active directory administrator.

WorkspaceInner withSqlAdministratorLoginPassword(String sqlAdministratorLoginPassword)

Set the sqlAdministratorLoginPassword property: SQL administrator login password.

WorkspaceInner withTags(Map<String,String> tags)
WorkspaceInner withVirtualNetworkProfile(VirtualNetworkProfile virtualNetworkProfile)

Set the virtualNetworkProfile property: Virtual Network profile.

WorkspaceInner withWorkspaceRepositoryConfiguration(WorkspaceRepositoryConfiguration workspaceRepositoryConfiguration)

Set the workspaceRepositoryConfiguration property: Git integration settings.

WorkspaceRepositoryConfiguration workspaceRepositoryConfiguration()

Get the workspaceRepositoryConfiguration property: Git integration settings.

UUID workspaceUid()

Get the workspaceUid property: The workspace unique identifier.

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

adlaResourceId

public String adlaResourceId()

Get the adlaResourceId property: The ADLA resource ID.

Returns:

the adlaResourceId value.

connectivityEndpoints

public Map<String,String> connectivityEndpoints()

Get the connectivityEndpoints property: Connectivity endpoints.

Returns:

the connectivityEndpoints value.

defaultDataLakeStorage

public DataLakeStorageAccountDetails defaultDataLakeStorage()

Get the defaultDataLakeStorage property: Workspace default data lake storage account details.

Returns:

the defaultDataLakeStorage value.

encryption

public EncryptionDetails encryption()

Get the encryption property: The encryption details of the workspace.

Returns:

the encryption value.

extraProperties

public Map<String,Object> extraProperties()

Get the extraProperties property: Workspace level configs and feature flags.

Returns:

the extraProperties 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.

identity

public ManagedIdentity identity()

Get the identity property: Identity of the workspace.

Returns:

the identity value.

managedResourceGroupName

public String managedResourceGroupName()

Get the managedResourceGroupName property: Workspace managed resource group. The resource group name uniquely identifies the resource group within the user subscriptionId. The resource group name must be no longer than 90 characters long, and must be alphanumeric characters (Char.IsLetterOrDigit()) and '-', '_', '(', ')' and'.'. Note that the name cannot end with '.'.

Returns:

the managedResourceGroupName value.

managedVirtualNetwork

public String managedVirtualNetwork()

Get the managedVirtualNetwork property: Setting this to 'default' will ensure that all compute for this workspace is in a virtual network managed on behalf of the user.

Returns:

the managedVirtualNetwork value.

managedVirtualNetworkSettings

public ManagedVirtualNetworkSettings managedVirtualNetworkSettings()

Get the managedVirtualNetworkSettings property: Managed Virtual Network Settings.

Returns:

the managedVirtualNetworkSettings value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

WorkspaceInner.name()

Returns:

the name value.

privateEndpointConnections

public List<PrivateEndpointConnectionInner> privateEndpointConnections()

Get the privateEndpointConnections property: Private endpoint connections to the workspace.

Returns:

the privateEndpointConnections value.

provisioningState

public String provisioningState()

Get the provisioningState property: Resource provisioning state.

Returns:

the provisioningState value.

publicNetworkAccess

public WorkspacePublicNetworkAccess publicNetworkAccess()

Get the publicNetworkAccess property: Enable or Disable public network access to workspace.

Returns:

the publicNetworkAccess value.

purviewConfiguration

public PurviewConfiguration purviewConfiguration()

Get the purviewConfiguration property: Purview Configuration.

Returns:

the purviewConfiguration value.

sqlAdministratorLogin

public String sqlAdministratorLogin()

Get the sqlAdministratorLogin property: Login for workspace SQL active directory administrator.

Returns:

the sqlAdministratorLogin value.

sqlAdministratorLoginPassword

public String sqlAdministratorLoginPassword()

Get the sqlAdministratorLoginPassword property: SQL administrator login password.

Returns:

the sqlAdministratorLoginPassword 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.

validate

public void validate()

Validates the instance.

virtualNetworkProfile

public VirtualNetworkProfile virtualNetworkProfile()

Get the virtualNetworkProfile property: Virtual Network profile.

Returns:

the virtualNetworkProfile value.

withConnectivityEndpoints

public WorkspaceInner withConnectivityEndpoints(Map<String,String> connectivityEndpoints)

Set the connectivityEndpoints property: Connectivity endpoints.

Parameters:

connectivityEndpoints - the connectivityEndpoints value to set.

Returns:

the WorkspaceInner object itself.

withDefaultDataLakeStorage

public WorkspaceInner withDefaultDataLakeStorage(DataLakeStorageAccountDetails defaultDataLakeStorage)

Set the defaultDataLakeStorage property: Workspace default data lake storage account details.

Parameters:

defaultDataLakeStorage - the defaultDataLakeStorage value to set.

Returns:

the WorkspaceInner object itself.

withEncryption

public WorkspaceInner withEncryption(EncryptionDetails encryption)

Set the encryption property: The encryption details of the workspace.

Parameters:

encryption - the encryption value to set.

Returns:

the WorkspaceInner object itself.

withIdentity

public WorkspaceInner withIdentity(ManagedIdentity identity)

Set the identity property: Identity of the workspace.

Parameters:

identity - the identity value to set.

Returns:

the WorkspaceInner object itself.

withLocation

public WorkspaceInner withLocation(String location)

Overrides:

WorkspaceInner.withLocation(String location)

Parameters:

location

withManagedResourceGroupName

public WorkspaceInner withManagedResourceGroupName(String managedResourceGroupName)

Set the managedResourceGroupName property: Workspace managed resource group. The resource group name uniquely identifies the resource group within the user subscriptionId. The resource group name must be no longer than 90 characters long, and must be alphanumeric characters (Char.IsLetterOrDigit()) and '-', '_', '(', ')' and'.'. Note that the name cannot end with '.'.

Parameters:

managedResourceGroupName - the managedResourceGroupName value to set.

Returns:

the WorkspaceInner object itself.

withManagedVirtualNetwork

public WorkspaceInner withManagedVirtualNetwork(String managedVirtualNetwork)

Set the managedVirtualNetwork property: Setting this to 'default' will ensure that all compute for this workspace is in a virtual network managed on behalf of the user.

Parameters:

managedVirtualNetwork - the managedVirtualNetwork value to set.

Returns:

the WorkspaceInner object itself.

withManagedVirtualNetworkSettings

public WorkspaceInner withManagedVirtualNetworkSettings(ManagedVirtualNetworkSettings managedVirtualNetworkSettings)

Set the managedVirtualNetworkSettings property: Managed Virtual Network Settings.

Parameters:

managedVirtualNetworkSettings - the managedVirtualNetworkSettings value to set.

Returns:

the WorkspaceInner object itself.

withPrivateEndpointConnections

public WorkspaceInner withPrivateEndpointConnections(List<PrivateEndpointConnectionInner> privateEndpointConnections)

Set the privateEndpointConnections property: Private endpoint connections to the workspace.

Parameters:

privateEndpointConnections - the privateEndpointConnections value to set.

Returns:

the WorkspaceInner object itself.

withPublicNetworkAccess

public WorkspaceInner withPublicNetworkAccess(WorkspacePublicNetworkAccess publicNetworkAccess)

Set the publicNetworkAccess property: Enable or Disable public network access to workspace.

Parameters:

publicNetworkAccess - the publicNetworkAccess value to set.

Returns:

the WorkspaceInner object itself.

withPurviewConfiguration

public WorkspaceInner withPurviewConfiguration(PurviewConfiguration purviewConfiguration)

Set the purviewConfiguration property: Purview Configuration.

Parameters:

purviewConfiguration - the purviewConfiguration value to set.

Returns:

the WorkspaceInner object itself.

withSqlAdministratorLogin

public WorkspaceInner withSqlAdministratorLogin(String sqlAdministratorLogin)

Set the sqlAdministratorLogin property: Login for workspace SQL active directory administrator.

Parameters:

sqlAdministratorLogin - the sqlAdministratorLogin value to set.

Returns:

the WorkspaceInner object itself.

withSqlAdministratorLoginPassword

public WorkspaceInner withSqlAdministratorLoginPassword(String sqlAdministratorLoginPassword)

Set the sqlAdministratorLoginPassword property: SQL administrator login password.

Parameters:

sqlAdministratorLoginPassword - the sqlAdministratorLoginPassword 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

withVirtualNetworkProfile

public WorkspaceInner withVirtualNetworkProfile(VirtualNetworkProfile virtualNetworkProfile)

Set the virtualNetworkProfile property: Virtual Network profile.

Parameters:

virtualNetworkProfile - the virtualNetworkProfile value to set.

Returns:

the WorkspaceInner object itself.

withWorkspaceRepositoryConfiguration

public WorkspaceInner withWorkspaceRepositoryConfiguration(WorkspaceRepositoryConfiguration workspaceRepositoryConfiguration)

Set the workspaceRepositoryConfiguration property: Git integration settings.

Parameters:

workspaceRepositoryConfiguration - the workspaceRepositoryConfiguration value to set.

Returns:

the WorkspaceInner object itself.

workspaceRepositoryConfiguration

public WorkspaceRepositoryConfiguration workspaceRepositoryConfiguration()

Get the workspaceRepositoryConfiguration property: Git integration settings.

Returns:

the workspaceRepositoryConfiguration value.

workspaceUid

public UUID workspaceUid()

Get the workspaceUid property: The workspace unique identifier.

Returns:

the workspaceUid value.

Applies to