Dela via


AnalyticsSynapseArtifactsModelFactory.Workspace Method

Definition

Initializes a new instance of Workspace.

public static Azure.Analytics.Synapse.Artifacts.Models.Workspace Workspace (string id = default, string name = default, string type = default, System.Collections.Generic.IDictionary<string,string> tags = default, string location = default, Azure.Analytics.Synapse.Artifacts.Models.ManagedIdentity identity = default, Azure.Analytics.Synapse.Artifacts.Models.DataLakeStorageAccountDetails defaultDataLakeStorage = default, string sqlAdministratorLoginPassword = default, string managedResourceGroupName = default, string provisioningState = default, string sqlAdministratorLogin = default, Azure.Analytics.Synapse.Artifacts.Models.VirtualNetworkProfile virtualNetworkProfile = default, System.Collections.Generic.IDictionary<string,string> connectivityEndpoints = default, string managedVirtualNetwork = default, System.Collections.Generic.IEnumerable<Azure.Analytics.Synapse.Artifacts.Models.PrivateEndpointConnection> privateEndpointConnections = default, Azure.Analytics.Synapse.Artifacts.Models.EncryptionDetails encryption = default, Guid? workspaceUID = default, System.Collections.Generic.IReadOnlyDictionary<string,object> extraProperties = default, Azure.Analytics.Synapse.Artifacts.Models.ManagedVirtualNetworkSettings managedVirtualNetworkSettings = default, Azure.Analytics.Synapse.Artifacts.Models.WorkspaceRepositoryConfiguration workspaceRepositoryConfiguration = default, Azure.Analytics.Synapse.Artifacts.Models.PurviewConfiguration purviewConfiguration = default, string adlaResourceId = default);
static member Workspace : string * string * string * System.Collections.Generic.IDictionary<string, string> * string * Azure.Analytics.Synapse.Artifacts.Models.ManagedIdentity * Azure.Analytics.Synapse.Artifacts.Models.DataLakeStorageAccountDetails * string * string * string * string * Azure.Analytics.Synapse.Artifacts.Models.VirtualNetworkProfile * System.Collections.Generic.IDictionary<string, string> * string * seq<Azure.Analytics.Synapse.Artifacts.Models.PrivateEndpointConnection> * Azure.Analytics.Synapse.Artifacts.Models.EncryptionDetails * Nullable<Guid> * System.Collections.Generic.IReadOnlyDictionary<string, obj> * Azure.Analytics.Synapse.Artifacts.Models.ManagedVirtualNetworkSettings * Azure.Analytics.Synapse.Artifacts.Models.WorkspaceRepositoryConfiguration * Azure.Analytics.Synapse.Artifacts.Models.PurviewConfiguration * string -> Azure.Analytics.Synapse.Artifacts.Models.Workspace
Public Shared Function Workspace (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional location As String = Nothing, Optional identity As ManagedIdentity = Nothing, Optional defaultDataLakeStorage As DataLakeStorageAccountDetails = Nothing, Optional sqlAdministratorLoginPassword As String = Nothing, Optional managedResourceGroupName As String = Nothing, Optional provisioningState As String = Nothing, Optional sqlAdministratorLogin As String = Nothing, Optional virtualNetworkProfile As VirtualNetworkProfile = Nothing, Optional connectivityEndpoints As IDictionary(Of String, String) = Nothing, Optional managedVirtualNetwork As String = Nothing, Optional privateEndpointConnections As IEnumerable(Of PrivateEndpointConnection) = Nothing, Optional encryption As EncryptionDetails = Nothing, Optional workspaceUID As Nullable(Of Guid) = Nothing, Optional extraProperties As IReadOnlyDictionary(Of String, Object) = Nothing, Optional managedVirtualNetworkSettings As ManagedVirtualNetworkSettings = Nothing, Optional workspaceRepositoryConfiguration As WorkspaceRepositoryConfiguration = Nothing, Optional purviewConfiguration As PurviewConfiguration = Nothing, Optional adlaResourceId As String = Nothing) As Workspace

Parameters

id
String

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

name
String

The name of the resource.

type
String

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

tags
IDictionary<String,String>

Resource tags.

location
String

The geo-location where the resource lives.

identity
ManagedIdentity

Identity of the workspace.

defaultDataLakeStorage
DataLakeStorageAccountDetails

Workspace default data lake storage account details.

sqlAdministratorLoginPassword
String

SQL administrator login password.

managedResourceGroupName
String

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

provisioningState
String

Resource provisioning state.

sqlAdministratorLogin
String

Login for workspace SQL active directory administrator.

virtualNetworkProfile
VirtualNetworkProfile

Virtual Network profile.

connectivityEndpoints
IDictionary<String,String>

Connectivity endpoints.

managedVirtualNetwork
String

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

privateEndpointConnections
IEnumerable<PrivateEndpointConnection>

Private endpoint connections to the workspace.

encryption
EncryptionDetails

The encryption details of the workspace.

workspaceUID
Nullable<Guid>

The workspace unique identifier.

extraProperties
IReadOnlyDictionary<String,Object>

Workspace level configs and feature flags.

managedVirtualNetworkSettings
ManagedVirtualNetworkSettings

Managed Virtual Network Settings.

workspaceRepositoryConfiguration
WorkspaceRepositoryConfiguration

Git integration settings.

purviewConfiguration
PurviewConfiguration

Purview Configuration.

adlaResourceId
String

The ADLA resource ID.

Returns

A new Workspace instance for mocking.

Applies to