你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

AnalyticsSynapseArtifactsModelFactory.Workspace 方法

定义

初始化 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

参数

id
String

资源的完全限定的资源 ID。 例如 - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}。

name
String

资源的名称。

type
String

资源类型。 例如“Microsoft.Compute/virtualMachines”或“Microsoft.Storage/storageAccounts”。

tags
IDictionary<String,String>

资源标记。

location
String

资源所在的地理位置。

identity
ManagedIdentity

工作区的标识。

defaultDataLakeStorage
DataLakeStorageAccountDetails

工作区默认 Data Lake 存储帐户详细信息。

sqlAdministratorLoginPassword
String

SQL 管理员登录密码。

managedResourceGroupName
String

工作区托管资源组。 资源组名称唯一标识用户 subscriptionId 中的资源组。 资源组名称的长度不能超过 90 个字符,并且必须是字符 (Char.IsLetterOrDigit () ) 和“-”、“_”、“ (”、“) ”和“.”的字母数字字符。 请注意,名称不能以“.”结尾。

provisioningState
String

资源预配状态。

sqlAdministratorLogin
String

工作区 SQL Active Directory 管理员的登录名。

virtualNetworkProfile
VirtualNetworkProfile

虚拟网络配置文件。

connectivityEndpoints
IDictionary<String,String>

连接终结点。

managedVirtualNetwork
String

将其设置为“default”将确保此工作区的所有计算都位于代表用户管理的虚拟网络中。

privateEndpointConnections
IEnumerable<PrivateEndpointConnection>

与工作区的专用终结点连接。

encryption
EncryptionDetails

工作区的加密详细信息。

workspaceUID
Nullable<Guid>

工作区唯一标识符。

extraProperties
IReadOnlyDictionary<String,Object>

工作区级别配置和功能标志。

managedVirtualNetworkSettings
ManagedVirtualNetworkSettings

托管虚拟网络设置。

workspaceRepositoryConfiguration
WorkspaceRepositoryConfiguration

Git 集成设置。

purviewConfiguration
PurviewConfiguration

Purview 配置。

adlaResourceId
String

ADLA 资源 ID。

返回

用于模拟的新 Workspace 实例。

适用于