Class WorkspaceInner
- java.lang.Object
-
- com.azure.core.management.ProxyResource
-
- com.azure.core.management.Resource
-
- com.azure.resourcemanager.synapse.fluent.models.WorkspaceInner
-
public final class WorkspaceInner extends com.azure.core.management.Resource
A workspace.
-
-
Constructor Summary
Constructors Constructor Description WorkspaceInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
adlaResourceId()
Get the adlaResourceId property: The ADLA resource ID.Boolean
azureADOnlyAuthentication()
Get the azureADOnlyAuthentication property: Enable or Disable AzureADOnlyAuthentication on All Workspace subresource.Map<String,String>
connectivityEndpoints()
Get the connectivityEndpoints property: Connectivity endpoints.CspWorkspaceAdminProperties
cspWorkspaceAdminProperties()
Get the cspWorkspaceAdminProperties property: Initial workspace AAD admin properties for a CSP subscription.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.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.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.Map<String,Object>
settings()
Get the settings property: Workspace settings.String
sqlAdministratorLogin()
Get the sqlAdministratorLogin property: Login for workspace SQL active directory administrator.String
sqlAdministratorLoginPassword()
Get the sqlAdministratorLoginPassword property: SQL administrator login password.Boolean
trustedServiceBypassEnabled()
Get the trustedServiceBypassEnabled property: Is trustedServiceBypassEnabled for the workspace.void
validate()
Validates the instance.VirtualNetworkProfile
virtualNetworkProfile()
Get the virtualNetworkProfile property: Virtual Network profile.WorkspaceInner
withAzureADOnlyAuthentication(Boolean azureADOnlyAuthentication)
Set the azureADOnlyAuthentication property: Enable or Disable AzureADOnlyAuthentication on All Workspace subresource.WorkspaceInner
withConnectivityEndpoints(Map<String,String> connectivityEndpoints)
Set the connectivityEndpoints property: Connectivity endpoints.WorkspaceInner
withCspWorkspaceAdminProperties(CspWorkspaceAdminProperties cspWorkspaceAdminProperties)
Set the cspWorkspaceAdminProperties property: Initial workspace AAD admin properties for a CSP subscription.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
withTrustedServiceBypassEnabled(Boolean trustedServiceBypassEnabled)
Set the trustedServiceBypassEnabled property: Is trustedServiceBypassEnabled for the workspace.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.
-
-
-
Method Detail
-
identity
public ManagedIdentity identity()
Get the identity property: Identity of the workspace.- Returns:
- the identity value.
-
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:
withLocation
in classcom.azure.core.management.Resource
-
withTags
public WorkspaceInner withTags(Map<String,String> tags)
- Overrides:
withTags
in classcom.azure.core.management.Resource
-
defaultDataLakeStorage
public DataLakeStorageAccountDetails defaultDataLakeStorage()
Get the defaultDataLakeStorage property: Workspace default data lake storage account details.- Returns:
- the defaultDataLakeStorage value.
-
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.
-
sqlAdministratorLoginPassword
public String sqlAdministratorLoginPassword()
Get the sqlAdministratorLoginPassword property: SQL administrator login password.- Returns:
- the sqlAdministratorLoginPassword value.
-
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.
-
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.
-
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.
-
provisioningState
public String provisioningState()
Get the provisioningState property: Resource provisioning state.- Returns:
- the provisioningState value.
-
sqlAdministratorLogin
public String sqlAdministratorLogin()
Get the sqlAdministratorLogin property: Login for workspace SQL active directory administrator.- Returns:
- the sqlAdministratorLogin value.
-
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.
-
virtualNetworkProfile
public VirtualNetworkProfile virtualNetworkProfile()
Get the virtualNetworkProfile property: Virtual Network profile.- Returns:
- the virtualNetworkProfile value.
-
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.
-
connectivityEndpoints
public Map<String,String> connectivityEndpoints()
Get the connectivityEndpoints property: Connectivity endpoints.- Returns:
- the connectivityEndpoints 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.
-
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.
-
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.
-
privateEndpointConnections
public List<PrivateEndpointConnectionInner> privateEndpointConnections()
Get the privateEndpointConnections property: Private endpoint connections to the workspace.- Returns:
- the privateEndpointConnections value.
-
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.
-
encryption
public EncryptionDetails encryption()
Get the encryption property: The encryption details of the workspace.- Returns:
- the encryption value.
-
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.
-
workspaceUid
public UUID workspaceUid()
Get the workspaceUid property: The workspace unique identifier.- Returns:
- the workspaceUid value.
-
extraProperties
public Map<String,Object> extraProperties()
Get the extraProperties property: Workspace level configs and feature flags.- Returns:
- the extraProperties value.
-
managedVirtualNetworkSettings
public ManagedVirtualNetworkSettings managedVirtualNetworkSettings()
Get the managedVirtualNetworkSettings property: Managed Virtual Network Settings.- Returns:
- the managedVirtualNetworkSettings value.
-
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.
-
workspaceRepositoryConfiguration
public WorkspaceRepositoryConfiguration workspaceRepositoryConfiguration()
Get the workspaceRepositoryConfiguration property: Git integration settings.- Returns:
- the workspaceRepositoryConfiguration value.
-
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.
-
purviewConfiguration
public PurviewConfiguration purviewConfiguration()
Get the purviewConfiguration property: Purview Configuration.- Returns:
- the purviewConfiguration value.
-
withPurviewConfiguration
public WorkspaceInner withPurviewConfiguration(PurviewConfiguration purviewConfiguration)
Set the purviewConfiguration property: Purview Configuration.- Parameters:
purviewConfiguration
- the purviewConfiguration value to set.- Returns:
- the WorkspaceInner object itself.
-
adlaResourceId
public String adlaResourceId()
Get the adlaResourceId property: The ADLA resource ID.- Returns:
- the adlaResourceId value.
-
publicNetworkAccess
public WorkspacePublicNetworkAccess publicNetworkAccess()
Get the publicNetworkAccess property: Enable or Disable public network access to workspace.- Returns:
- the publicNetworkAccess value.
-
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.
-
cspWorkspaceAdminProperties
public CspWorkspaceAdminProperties cspWorkspaceAdminProperties()
Get the cspWorkspaceAdminProperties property: Initial workspace AAD admin properties for a CSP subscription.- Returns:
- the cspWorkspaceAdminProperties value.
-
withCspWorkspaceAdminProperties
public WorkspaceInner withCspWorkspaceAdminProperties(CspWorkspaceAdminProperties cspWorkspaceAdminProperties)
Set the cspWorkspaceAdminProperties property: Initial workspace AAD admin properties for a CSP subscription.- Parameters:
cspWorkspaceAdminProperties
- the cspWorkspaceAdminProperties value to set.- Returns:
- the WorkspaceInner object itself.
-
settings
public Map<String,Object> settings()
Get the settings property: Workspace settings.- Returns:
- the settings value.
-
azureADOnlyAuthentication
public Boolean azureADOnlyAuthentication()
Get the azureADOnlyAuthentication property: Enable or Disable AzureADOnlyAuthentication on All Workspace subresource.- Returns:
- the azureADOnlyAuthentication value.
-
withAzureADOnlyAuthentication
public WorkspaceInner withAzureADOnlyAuthentication(Boolean azureADOnlyAuthentication)
Set the azureADOnlyAuthentication property: Enable or Disable AzureADOnlyAuthentication on All Workspace subresource.- Parameters:
azureADOnlyAuthentication
- the azureADOnlyAuthentication value to set.- Returns:
- the WorkspaceInner object itself.
-
trustedServiceBypassEnabled
public Boolean trustedServiceBypassEnabled()
Get the trustedServiceBypassEnabled property: Is trustedServiceBypassEnabled for the workspace.- Returns:
- the trustedServiceBypassEnabled value.
-
withTrustedServiceBypassEnabled
public WorkspaceInner withTrustedServiceBypassEnabled(Boolean trustedServiceBypassEnabled)
Set the trustedServiceBypassEnabled property: Is trustedServiceBypassEnabled for the workspace.- Parameters:
trustedServiceBypassEnabled
- the trustedServiceBypassEnabled value to set.- Returns:
- the WorkspaceInner object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-