mkdir
/ create
Command¶
Create a new workspace, item, or directory.
Creating a domain requires tenant-level Fabric Administrator privileges
Usage:
Parameters:
<path>
: Path to create the resource in. If not provided, the current context is used. Optional.<name>
: Name of the resource.<type>
: Type of the resource (Workspace, Notebook, Capacity, etc).-
-P, --params <params>
: Key=value parameters, comma-separated. Optional.The following
-P, --params
are supported:Type Required Properties Optional Properties .Lakehouse enableSchemas
.Warehouse enableCaseInsensitive
.KQLDatabase dbType
,eventhouseId
,clusterUri
,databaseName
.MirroredDatabase mirrorType
,connectionId
,database
,defaultSchema
,mountedTables
.Report semanticModelId
.MountedDataFactory subscriptionId
,resourceGroup
,factoryName
.Gateway capacity
(orcapacityId
),virtualNetworkName
,subnetName
inactivityMinutesBeforeSleep
(default: 30),numberOfMemberGateways
(default: 1),resourceGroupName
1,subscriptionId
1.Connection connectionDetails.type
,connectionDetails.parameters.*
2,credentialDetails.type
,credentialDetails.*
2description
,gateway
(orgatewayId
),privacyLevel
,connectionDetails.creationMethod
3,credentialDetails.connectionEncryption
4,credentialDetails.singleSignOnType
,credentialDetails.skipTestConnection
(default: False).ExternalDataShare item
,paths
,recipient.tenantId
,recipient.userPrincipalName
.ManagedPrivateEndpoint targetPrivateLinkResourceId
,targetSubresourceType
autoApproveEnabled
.Workspace capacityName
.Capacity sku
,admin
,location
,resourceGroup
,subscriptionId
.Domain parentDomainName
,description
.SparkPool nodeSize
,autoScale.maxNodeCount
,autoScale.minNodeCount
-
If
resourceGroupName
andsubscriptionId
are not provided, the CLI will use your Azure credentials to search for them using the provided VNet/subnet names. ↩↩ -
The
*
indicates parameters that depend on the chosentype
. For example, for SQL with Basic auth, you needconnectionDetails.parameters.server
,connectionDetails.parameters.database
,credentialDetails.username
, andcredentialDetails.password
. ↩↩ -
If
connectionDetails.creationMethod
is not specified, the CLI will use the first matching creation method based on connection parameters. For connections supporting multiple creation methods, specify this value to avoid unexpected behavior. ↩ -
The default value for
credentialDetails.connectionEncryption
(Any) will first attempt encrypted connection and fallback to unencrypted if needed. ↩