Workspace

class Workspace : KotlinCustomResource

A workspace API Version: 2021-03-01.

Example Usage

Create or update a workspace

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var workspace = new AzureNative.Synapse.Workspace("workspace", new()
{
DefaultDataLakeStorage = new AzureNative.Synapse.Inputs.DataLakeStorageAccountDetailsArgs
{
AccountUrl = "https://accountname.dfs.core.windows.net",
Filesystem = "default",
},
Encryption = new AzureNative.Synapse.Inputs.EncryptionDetailsArgs
{
Cmk = new AzureNative.Synapse.Inputs.CustomerManagedKeyDetailsArgs
{
Key = new AzureNative.Synapse.Inputs.WorkspaceKeyDetailsArgs
{
KeyVaultUrl = "https://vault.azure.net/keys/key1",
Name = "default",
},
},
},
Identity = new AzureNative.Synapse.Inputs.ManagedIdentityArgs
{
Type = AzureNative.Synapse.ResourceIdentityType.SystemAssigned,
},
Location = "East US",
ManagedResourceGroupName = "workspaceManagedResourceGroupUnique",
ManagedVirtualNetwork = "default",
ManagedVirtualNetworkSettings = new AzureNative.Synapse.Inputs.ManagedVirtualNetworkSettingsArgs
{
AllowedAadTenantIdsForLinking = new[]
{
"740239CE-A25B-485B-86A0-262F29F6EBDB",
},
LinkedAccessCheckOnTargetResource = false,
PreventDataExfiltration = false,
},
PublicNetworkAccess = "Enabled",
PurviewConfiguration = new AzureNative.Synapse.Inputs.PurviewConfigurationArgs
{
PurviewResourceId = "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup1/providers/Microsoft.ProjectPurview/accounts/accountname1",
},
ResourceGroupName = "resourceGroup1",
SqlAdministratorLogin = "login",
SqlAdministratorLoginPassword = "password",
Tags =
{
{ "key", "value" },
},
WorkspaceName = "workspace1",
WorkspaceRepositoryConfiguration = new AzureNative.Synapse.Inputs.WorkspaceRepositoryConfigurationArgs
{
AccountName = "mygithubaccount",
CollaborationBranch = "master",
HostName = "",
ProjectName = "myproject",
RepositoryName = "myrepository",
RootFolder = "/",
Type = "FactoryGitHubConfiguration",
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.synapse.Workspace;
import com.pulumi.azurenative.synapse.WorkspaceArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var workspace = new Workspace("workspace", WorkspaceArgs.builder()
.defaultDataLakeStorage(Map.ofEntries(
Map.entry("accountUrl", "https://accountname.dfs.core.windows.net"),
Map.entry("filesystem", "default")
))
.encryption(Map.of("cmk", Map.of("key", Map.ofEntries(
Map.entry("keyVaultUrl", "https://vault.azure.net/keys/key1"),
Map.entry("name", "default")
))))
.identity(Map.of("type", "SystemAssigned"))
.location("East US")
.managedResourceGroupName("workspaceManagedResourceGroupUnique")
.managedVirtualNetwork("default")
.managedVirtualNetworkSettings(Map.ofEntries(
Map.entry("allowedAadTenantIdsForLinking", "740239CE-A25B-485B-86A0-262F29F6EBDB"),
Map.entry("linkedAccessCheckOnTargetResource", false),
Map.entry("preventDataExfiltration", false)
))
.publicNetworkAccess("Enabled")
.purviewConfiguration(Map.of("purviewResourceId", "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup1/providers/Microsoft.ProjectPurview/accounts/accountname1"))
.resourceGroupName("resourceGroup1")
.sqlAdministratorLogin("login")
.sqlAdministratorLoginPassword("password")
.tags(Map.of("key", "value"))
.workspaceName("workspace1")
.workspaceRepositoryConfiguration(Map.ofEntries(
Map.entry("accountName", "mygithubaccount"),
Map.entry("collaborationBranch", "master"),
Map.entry("hostName", ""),
Map.entry("projectName", "myproject"),
Map.entry("repositoryName", "myrepository"),
Map.entry("rootFolder", "/"),
Map.entry("type", "FactoryGitHubConfiguration")
))
.build());
}
}

Import

An existing resource can be imported using its type token, name, and identifier, e.g.

$ pulumi import azure-native:synapse:Workspace workspace1 /subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup1/providers/Microsoft.Synapse/workspaces/workspace1

Properties

Link copied to clipboard
val adlaResourceId: Output<String>

The ADLA resource ID.

Link copied to clipboard

Connectivity endpoints

Link copied to clipboard

Workspace default data lake storage account details

Link copied to clipboard

The encryption details of the workspace

Link copied to clipboard
val extraProperties: Output<Map<String, Any>>

Workspace level configs and feature flags

Link copied to clipboard
val id: Output<String>
Link copied to clipboard

Identity of the workspace

Link copied to clipboard
val location: Output<String>

The geo-location where the resource lives

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

Managed Virtual Network Settings

Link copied to clipboard
val name: Output<String>

The name of the resource

Link copied to clipboard

Private endpoint connections to the workspace

Link copied to clipboard

Resource provisioning state

Link copied to clipboard

Enable or Disable public network access to workspace

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Purview Configuration

Link copied to clipboard

Login for workspace SQL active directory administrator

Link copied to clipboard

SQL administrator login password

Link copied to clipboard
val tags: Output<Map<String, String>>?

Resource tags.

Link copied to clipboard
val type: Output<String>

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Link copied to clipboard
val urn: Output<String>
Link copied to clipboard

Virtual Network profile

Link copied to clipboard
val workspaceUID: Output<String>

The workspace unique identifier