File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -319,7 +319,7 @@ This command creates a new instance with external administrator properties and a
319
319
320
320
### Example 9: Create a new instance with TDE CMK
321
321
``` powershell
322
- New-AzSqlInstance -Name managedInstance1 -ResourceGroupName ResourceGroup01 -Location westcentralus -AdministratorCredential (Get-Credential) -SubnetId "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/resourcegroup01/providers/Microsoft.Network/virtualNetworks/vnet_name/subnets/subnet_name" -LicenseType LicenseIncluded -StorageSizeInGB 1024 -VCore 16 -SkuName GP_Gen4 -DnsZonePartner "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/resourcegroup01/providers/Microsoft.Sql/managedInstances/partnerServerForDnsZone" -AssignIdentity -IdentityType "UserAssigned" -PrimaryUserAssignedIdentityId "Primary UserManaged identity id" -UserAssignedIdentityId "UserManaged identity id" -KeyId "AzureKeyVault Uri"
322
+ New-AzSqlInstance -Name managedInstance1 -ResourceGroupName ResourceGroup01 -Location westcentralus -AdministratorCredential (Get-Credential) -SubnetId "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/resourcegroup01/providers/Microsoft.Network/virtualNetworks/vnet_name/subnets/subnet_name" -LicenseType LicenseIncluded -StorageSizeInGB 1024 -VCore 16 -SkuName GP_Gen4 -DnsZonePartner "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/resourcegroup01/providers/Microsoft.Sql/managedInstances/partnerServerForDnsZone" -AssignIdentity -IdentityType "UserAssigned" -PrimaryUserAssignedIdentityId "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/resourcegroup01/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity01" -UserAssignedIdentityId "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/resourcegroup01/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity01" -KeyId "https://contoso.vault.azure.net/keys/contosokey/01234567890123456789012345678901"
323
323
```
324
324
325
325
``` output
@@ -339,8 +339,8 @@ VCores : 16
339
339
StorageSizeInGB : 1024
340
340
DnsZone : ad35cna0mw
341
341
InstancePoolName :
342
- KeyId : AzureKeyVault Uri
343
- PrimaryUserAssignedIdentityId : Primary UserManaged Identity id
342
+ KeyId : https://contoso.vault.azure.net/keys/contosokey/01234567890123456789012345678901
343
+ PrimaryUserAssignedIdentityId : /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/resourcegroup01/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity01
344
344
```
345
345
346
346
This command creates a new managed instance with TDE CMK enabled.
Original file line number Diff line number Diff line change @@ -81,7 +81,7 @@ This command creates a version 12 Azure SQL Database server with external admini
81
81
82
82
### Example 3: Create a new Azure SQL Database server with TDE CMK
83
83
``` powershell
84
- New-AzSqlServer -ResourceGroupName "ResourceGroup01" -Location "East US" -ServerName "server01" -ServerVersion "12.0" -SqlAdministratorCredentials (Get-Credential) -AssignIdentity -IdentityType "UserAssigned" -PrimaryUserAssignedIdentityId "Primary UserManaged identity id " -UserAssignedIdentityId "UserManaged identity id " -KeyId "AzureKeyVault Uri "
84
+ New-AzSqlServer -ResourceGroupName "ResourceGroup01" -Location "East US" -ServerName "server01" -ServerVersion "12.0" -SqlAdministratorCredentials (Get-Credential) -AssignIdentity -IdentityType "UserAssigned" -PrimaryUserAssignedIdentityId "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/resourcegroup01/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity01 " -UserAssignedIdentityId "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/resourcegroup01/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity01 " -KeyId "https://contoso.vault.azure.net/keys/contosokey/01234567890123456789012345678901 "
85
85
```
86
86
87
87
``` output
@@ -93,8 +93,8 @@ SqlAdministratorPassword :
93
93
ServerVersion : 12.0
94
94
Tags :
95
95
Identity : Microsoft.Azure.Management.Sql.Models.ResourceIdentity
96
- KeyId : AzureKeyVault Uri
97
- PrimaryUserAssignedIdentityId : Primary UserManaged Identity id
96
+ KeyId : https://contoso.vault.azure.net/keys/contosokey/01234567890123456789012345678901
97
+ PrimaryUserAssignedIdentityId : /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/resourcegroup01/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity01
98
98
```
99
99
100
100
This command creates a version 12 Azure SQL Database server with TDE CMK enabled.
You can’t perform that action at this time.
0 commit comments