Skip to content

Commit a85bab5

Browse files
Revert "updates"
1 parent 00c7a4c commit a85bab5

File tree

2 files changed

+34
-21
lines changed

2 files changed

+34
-21
lines changed
Lines changed: 19 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,22 @@
1-
### Example 1: Construct an in-memory KeyVaultProperties object
1+
### Example 1: {{ Add title here }}
22
```powershell
3-
New-AzEventHubKeyVaultPropertiesObject -KeyName key1 -KeyVaultUri https://testkeyvault.vault.azure.net
3+
{{ Add code here }}
44
```
55

6-
Creates an in-memory object of type `IKeyVaultProperties`. An array of `IKeyVaultProperties` can be fed as
7-
input to `KeyVaultProperty` parameter of New-AzEventHubNamespaceV2 and Set-AzEventHubNamespaceV2 to enable encryption.
6+
```output
7+
{{ Add output here (remove the output block if the example doesn't have an output) }}
8+
```
9+
10+
{{ Add description here }}
11+
12+
### Example 2: {{ Add title here }}
13+
```powershell
14+
{{ Add code here }}
15+
```
16+
17+
```output
18+
{{ Add output here (remove the output block if the example doesn't have an output) }}
19+
```
20+
21+
{{ Add description here }}
22+
Lines changed: 15 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,22 @@
1-
### Example 1: Construct an in-memory KeyVaultProperties object
1+
### Example 1: {{ Add title here }}
22
```powershell
3-
New-AzServiceBusKeyVaultPropertiesObject -KeyName key1 -KeyVaultUri https://testkeyvault.vault.azure.net/
3+
{{ Add code here }}
44
```
5-
```Output
6-
KeyName KeyVaultUri KeyVersion UserAssignedIdentity
7-
------- ----------- ---------- --------------------
8-
key4 https://testkeyvault.vault.azure.net/
5+
6+
```output
7+
{{ Add output here (remove the output block if the example doesn't have an output) }}
98
```
10-
Creates an in-memory object of type `IKeyVaultProperties`. An array of `IKeyVaultProperties` can be fed as
11-
input to `KeyVaultProperty` parameter of New-AzServiceBusNamespaceV2 and Set-AzServiceBusNamespaceV2 to enable encryption.
129

13-
### Example 2: Construct an in-memory KeyVaultProperties object having UserassignedIdentity
10+
{{ Add description here }}
11+
12+
### Example 2: {{ Add title here }}
1413
```powershell
15-
$ec1 = "/subscriptions/0000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myFirstIdentity"
16-
New-AzServiceBusKeyVaultPropertiesObject -KeyName key4 -KeyVaultUri https://testkeyvault.vault.azure.net/ -UserAssignedIdentity $ec1
14+
{{ Add code here }}
1715
```
18-
```Output
19-
KeyName KeyVaultUri KeyVersion UserAssignedIdentity
20-
------- ----------- ---------- --------------------
21-
key4 https://testkeyvault.vault.azure.net/ /subscriptions/0000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myFirstIdentity
16+
17+
```output
18+
{{ Add output here (remove the output block if the example doesn't have an output) }}
2219
```
23-
Creates an in-memory object of type `IKeyVaultProperties`. An array of `IKeyVaultProperties` can be fed as
24-
input to `KeyVaultProperty` parameter of New-AzServiceBusNamespaceV2 and Set-AzServiceBusNamespaceV2 to enable encryption.
20+
21+
{{ Add description here }}
22+

0 commit comments

Comments
 (0)