File tree Expand file tree Collapse file tree 2 files changed +34
-21
lines changed
EventHub/EventHub.Autorest/examples
ServiceBus/ServiceBus.Autorest/examples Expand file tree Collapse file tree 2 files changed +34
-21
lines changed Original file line number Diff line number Diff line change 1
- ### Example 1: Construct an in-memory KeyVaultProperties object
1
+ ### Example 1: {{ Add title here }}
2
2
``` powershell
3
- New-AzEventHubKeyVaultPropertiesObject -KeyName key1 -KeyVaultUri https://testkeyvault.vault.azure.net
3
+ {{ Add code here }}
4
4
```
5
5
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
+
Original file line number Diff line number Diff line change 1
- ### Example 1: Construct an in-memory KeyVaultProperties object
1
+ ### Example 1: {{ Add title here }}
2
2
``` powershell
3
- New-AzServiceBusKeyVaultPropertiesObject -KeyName key1 -KeyVaultUri https://testkeyvault.vault.azure.net/
3
+ {{ Add code here }}
4
4
```
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) }}
9
8
```
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.
12
9
13
- ### Example 2: Construct an in-memory KeyVaultProperties object having UserassignedIdentity
10
+ {{ Add description here }}
11
+
12
+ ### Example 2: {{ Add title here }}
14
13
``` 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 }}
17
15
```
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) }}
22
19
```
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
+
You can’t perform that action at this time.
0 commit comments