File tree Expand file tree Collapse file tree 1 file changed +7
-9
lines changed
Expand file tree Collapse file tree 1 file changed +7
-9
lines changed Original file line number Diff line number Diff line change @@ -102,13 +102,13 @@ When working with certain APIs such as Azure API, the code will use an API with
102102
103103The Prompt:
104104
105- ```
105+ ``` bash
106106Write a bicep to create a keyvault
107107```
108108
109109The code output generated by WCA includes the following dated Azure API version:
110110
111- ```
111+ ``` txt
112112...
113113resource keyVault 'Microsoft.KeyVault/vaults@2019-09-01' = {
114114 name: keyVaultName
@@ -117,13 +117,13 @@ resource keyVault 'Microsoft.KeyVault/vaults@2019-09-01' = {
117117
118118But is that the newest API version available in the training data? We can ask the model:
119119
120- ```
120+ ``` bash
121121List only the dates of the KeyVault Azure API available to you.
122122```
123123
124124We receive the following output:
125125
126- ```
126+ ``` txt
127127Here are the dates for the available Key Vault API versions as of April 2024:
128128
1291292015-06-01
@@ -141,15 +141,13 @@ Here are the dates for the available Key Vault API versions as of April 2024:
141141
142142So we can take this information and request that a specific API version is used:
143143
144- The Prompt:
145-
146- ```
144+ ``` bash
147145Write a bicep to create a keyvault using this API version Microsoft.KeyVault/vaults@2023-02-01
148146```
149147
150- And the output:
148+ And we receive an output that includes the newest API version data :
151149
152- ```
150+ ``` txt
153151...
154152resource keyVault 'Microsoft.KeyVault/vaults@2023-02-01'
155153```
You can’t perform that action at this time.
0 commit comments