You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/Sql/Sql/help/New-AzSqlDatabaseExport.md
+38-3Lines changed: 38 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,7 +28,7 @@ The get export database status request may be sent to retrieve status informatio
28
28
This cmdlet is also supported by the SQL Server Stretch Database service on Azure.
29
29
30
30
> [!IMPORTANT]
31
-
> In order to make use of this cmdlet the firewall on the Azure SQL Server will need to be configured to "Allow Azure services and resources to access this server". If this is not configured then GatewayTimeout errors will be experienced.
31
+
> In order to make use of this cmdlet the firewall on the Azure SQL Server will need to be configured to "Allow Azure services and resources to access this server". If this is not configured then GatewayTimeout errors will be experienced. This is not required if a Private Link connection is established via the UseNetworkIsolation parameter.
32
32
33
33
## EXAMPLES
34
34
@@ -55,11 +55,39 @@ ErrorMessage :
55
55
56
56
This command creates an export request for the specified database.
57
57
58
+
### Example 2: Create an export request for a database using managed identity for authentication over private link
This command creates an export request for the specified database using managed identity for authentication with connectivity over Private Link.
83
+
58
84
## PARAMETERS
59
85
60
86
### -AdministratorLogin
61
87
Specifies the name of the SQL administrator.
62
88
89
+
If `-AuthenticationType ManagedIdentity` is provided, this should be the full resource ID of a user-assigned managed identity that is a [Microsoft Entra administrator](https://learn.microsoft.com/en-us/azure/azure-sql/database/authentication-aad-configure?view=azuresql&tabs=azure-portal#set-microsoft-entra-admin) of the server.
This is mandatory. When using `-AuthenticationType ManagedIdentity`, a placeholder value (for example, any non-empty SecureString value) must be provided.
78
107
```yaml
79
108
Type: System.Security.SecureString
80
109
Parameter Sets: (All)
@@ -98,6 +127,9 @@ Set the *AdministratorLogin* and *AdministratorLoginPassword* to the SQL adminis
98
127
Microsoft Entra authentication.
99
128
Set *AdministratorLogin* and *AdministratorLoginPassword* to the Microsoft Entra administrator username and password.
100
129
This parameter is only available on SQL Database V12 servers.
130
+
- ManagedIdentity.
131
+
Managed identity authentication.
132
+
Use a user-assigned managed identity to authenticate with the SQL server. The managed identity must be a [Microsoft Entra administrator](https://learn.microsoft.com/en-us/azure/azure-sql/database/authentication-aad-configure?view=azuresql&tabs=azure-portal#set-microsoft-entra-admin) for the server.
When `-StorageKeyType ManagedIdentity` is provided, this should be the full resource ID of a user-assigned managed identity which has write access on the storage account for the StorageUri provided (for example via a [Storage Blob Data Contributor](https://learn.microsoft.com/en-us/azure/role-based-access-control/built-in-roles/storage#storage-blob-data-contributor) role assignment).
241
+
208
242
```yaml
209
243
Type: System.String
210
244
Parameter Sets: (All)
@@ -224,6 +258,8 @@ The acceptable values for this parameter are:
224
258
This value uses a storage account key.
225
259
- SharedAccessKey.
226
260
This value uses a Shared Access Signature (SAS) key.
261
+
- ManagedIdentity.
262
+
Use a user-assigned managed identity for authentication with the storage account.
Specifies the blob link, as a URL, to the .bacpac file.
243
-
278
+
Specifies the blob link, as a URL, to the .bacpac file. For example: `-StorageUri "https://your-storage-account.blob.core.windows.net/your-container/your-file-name.bacpac"`
0 commit comments