Skip to content

Commit 9607f3f

Browse files
ShakedAharonnjepetty
authored andcommitted
[Healthhbot] upgrade api version and change available skus (Azure#9556)
* upgrade api version and change available skus * pr guidelines * pr notes * pr notes * pr. ntoes
1 parent c7850a7 commit 9607f3f

14 files changed

Lines changed: 47 additions & 43 deletions

File tree

src/healthbot/HISTORY.rst

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@
33
Release History
44
===============
55

6+
1.0.0
7+
++++++
8+
* GA with additional tiers.
9+
10+
611
0.1.0
712
++++++
8-
* Initial release.
13+
* Initial release.
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
{
2-
"azext.isExperimental": true,
32
"azext.minCliCoreVersion": "2.15.0"
43
}

src/healthbot/azext_healthbot/tests/latest/recordings/test_healthbot_Scenario.yaml

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -17,16 +17,16 @@ interactions:
1717
ParameterSetName:
1818
- --name --location --sku --resource-group
1919
User-Agent:
20-
- AZURECLI/2.18.0 azsdk-python-mgmt-healthbot/2020-10-20-preview Python/3.8.7
20+
- AZURECLI/2.18.0 azsdk-python-mgmt-healthbot/2025-11-01 Python/3.8.7
2121
(Windows-10-10.0.19041-SP0)
2222
method: PUT
23-
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.HealthBot/healthBots/samplebotname?api-version=2020-12-08
23+
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.HealthBot/healthBots/samplebotname?api-version=2025-11-01
2424
response:
2525
body:
2626
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.HealthBot/healthBots/samplebotname","name":"samplebotname","type":"Microsoft.HealthBot/healthBots","sku":{"name":"F0"},"location":"eastus","systemData":{"createdBy":"guepsh@microsoft.com","createdByType":"User","createdAt":"2021-02-07T12:08:39.8022985Z","lastModifiedBy":"guepsh@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-02-07T12:08:39.8022985Z"},"properties":{"provisioningState":"Accepted"}}'
2727
headers:
2828
azure-asyncoperation:
29-
- https://management.azure.com/providers/Microsoft.HealthBot/locations/EASTUS/operationStatuses/887e298d-4e9c-4764-86f5-86878dbdb038?api-version=2020-12-08
29+
- https://management.azure.com/providers/Microsoft.HealthBot/locations/EASTUS/operationStatuses/887e298d-4e9c-4764-86f5-86878dbdb038?api-version=2025-11-01
3030
cache-control:
3131
- no-cache
3232
content-length:
@@ -81,10 +81,10 @@ interactions:
8181
ParameterSetName:
8282
- --name --location --sku --resource-group
8383
User-Agent:
84-
- AZURECLI/2.18.0 azsdk-python-mgmt-healthbot/2020-10-20-preview Python/3.8.7
84+
- AZURECLI/2.18.0 azsdk-python-mgmt-healthbot/2025-11-01 Python/3.8.7
8585
(Windows-10-10.0.19041-SP0)
8686
method: GET
87-
uri: https://management.azure.com/providers/Microsoft.HealthBot/locations/EASTUS/operationStatuses/887e298d-4e9c-4764-86f5-86878dbdb038?api-version=2020-12-08
87+
uri: https://management.azure.com/providers/Microsoft.HealthBot/locations/EASTUS/operationStatuses/887e298d-4e9c-4764-86f5-86878dbdb038?api-version=2025-11-01
8888
response:
8989
body:
9090
string: '{"id":"/providers/Microsoft.HealthBot/locations/EASTUS/operationStatuses/887e298d-4e9c-4764-86f5-86878dbdb038","name":"887e298d-4e9c-4764-86f5-86878dbdb038","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.HealthBot/healthBots/samplebotname","status":"Working","startTime":"2021-02-07T12:08:40.8645764Z"}'
@@ -132,10 +132,10 @@ interactions:
132132
ParameterSetName:
133133
- --name --location --sku --resource-group
134134
User-Agent:
135-
- AZURECLI/2.18.0 azsdk-python-mgmt-healthbot/2020-10-20-preview Python/3.8.7
135+
- AZURECLI/2.18.0 azsdk-python-mgmt-healthbot/2025-11-01 Python/3.8.7
136136
(Windows-10-10.0.19041-SP0)
137137
method: GET
138-
uri: https://management.azure.com/providers/Microsoft.HealthBot/locations/EASTUS/operationStatuses/887e298d-4e9c-4764-86f5-86878dbdb038?api-version=2020-12-08
138+
uri: https://management.azure.com/providers/Microsoft.HealthBot/locations/EASTUS/operationStatuses/887e298d-4e9c-4764-86f5-86878dbdb038?api-version=2025-11-01
139139
response:
140140
body:
141141
string: '{"id":"/providers/Microsoft.HealthBot/locations/EASTUS/operationStatuses/887e298d-4e9c-4764-86f5-86878dbdb038","name":"887e298d-4e9c-4764-86f5-86878dbdb038","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.HealthBot/healthBots/samplebotname","status":"Succeeded","startTime":"2021-02-07T12:08:40.8645764Z","endTime":"2021-02-07T12:09:21.0870864Z","properties":null}'
@@ -183,10 +183,10 @@ interactions:
183183
ParameterSetName:
184184
- --name --location --sku --resource-group
185185
User-Agent:
186-
- AZURECLI/2.18.0 azsdk-python-mgmt-healthbot/2020-10-20-preview Python/3.8.7
186+
- AZURECLI/2.18.0 azsdk-python-mgmt-healthbot/2025-11-01 Python/3.8.7
187187
(Windows-10-10.0.19041-SP0)
188188
method: GET
189-
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.HealthBot/healthBots/samplebotname?api-version=2020-12-08
189+
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.HealthBot/healthBots/samplebotname?api-version=2025-11-01
190190
response:
191191
body:
192192
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.HealthBot/healthBots/samplebotname","name":"samplebotname","type":"Microsoft.HealthBot/healthBots","sku":{"name":"F0"},"location":"eastus","systemData":{"createdBy":"guepsh@microsoft.com","createdByType":"User","createdAt":"2021-02-07T12:08:39.8022985Z","lastModifiedBy":"6db4d6bb-6649-4dc2-84b7-0b5c6894031e","lastModifiedByType":"Application","lastModifiedAt":"2021-02-07T12:08:42.7186314Z"},"properties":{"provisioningState":"Succeeded","botManagementPortalLink":"https://us.healthbot.microsoft.com/account/samplebotname-vc5optp"}}'
@@ -232,10 +232,10 @@ interactions:
232232
ParameterSetName:
233233
- --resource-group
234234
User-Agent:
235-
- AZURECLI/2.18.0 azsdk-python-mgmt-healthbot/2020-10-20-preview Python/3.8.7
235+
- AZURECLI/2.18.0 azsdk-python-mgmt-healthbot/2025-11-01 Python/3.8.7
236236
(Windows-10-10.0.19041-SP0)
237237
method: GET
238-
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.HealthBot/healthBots?api-version=2020-12-08
238+
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.HealthBot/healthBots?api-version=2025-11-01
239239
response:
240240
body:
241241
string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.HealthBot/healthBots/samplebotname","name":"samplebotname","type":"Microsoft.HealthBot/healthBots","sku":{"name":"F0"},"location":"eastus","systemData":{"createdBy":"guepsh@microsoft.com","createdByType":"User","createdAt":"2021-02-07T12:08:39.8022985Z","lastModifiedBy":"6db4d6bb-6649-4dc2-84b7-0b5c6894031e","lastModifiedByType":"Application","lastModifiedAt":"2021-02-07T12:08:42.7186314Z"},"properties":{"provisioningState":"Succeeded","botManagementPortalLink":"https://us.healthbot.microsoft.com/account/samplebotname-vc5optp"}}]}'
@@ -279,10 +279,10 @@ interactions:
279279
ParameterSetName:
280280
- -g
281281
User-Agent:
282-
- AZURECLI/2.18.0 azsdk-python-mgmt-healthbot/2020-10-20-preview Python/3.8.7
282+
- AZURECLI/2.18.0 azsdk-python-mgmt-healthbot/2025-11-01 Python/3.8.7
283283
(Windows-10-10.0.19041-SP0)
284284
method: GET
285-
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HealthBot/healthBots?api-version=2020-12-08
285+
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HealthBot/healthBots?api-version=2025-11-01
286286
response:
287287
body:
288288
string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.HealthBot/healthBots/samplebotname","name":"samplebotname","type":"Microsoft.HealthBot/healthBots","sku":{"name":"F0"},"location":"eastus","systemData":{"createdBy":"guepsh@microsoft.com","createdByType":"User","createdAt":"2021-02-07T12:08:39.8022985Z","lastModifiedBy":"6db4d6bb-6649-4dc2-84b7-0b5c6894031e","lastModifiedByType":"Application","lastModifiedAt":"2021-02-07T12:08:42.7186314Z"},"properties":{"provisioningState":"Succeeded","botManagementPortalLink":"https://us.healthbot.microsoft.com/account/samplebotname-vc5optp"}}]}'
@@ -326,10 +326,10 @@ interactions:
326326
ParameterSetName:
327327
- --name --resource-group
328328
User-Agent:
329-
- AZURECLI/2.18.0 azsdk-python-mgmt-healthbot/2020-10-20-preview Python/3.8.7
329+
- AZURECLI/2.18.0 azsdk-python-mgmt-healthbot/2025-11-01 Python/3.8.7
330330
(Windows-10-10.0.19041-SP0)
331331
method: GET
332-
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.HealthBot/healthBots/samplebotname?api-version=2020-12-08
332+
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.HealthBot/healthBots/samplebotname?api-version=2025-11-01
333333
response:
334334
body:
335335
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.HealthBot/healthBots/samplebotname","name":"samplebotname","type":"Microsoft.HealthBot/healthBots","sku":{"name":"F0"},"location":"eastus","systemData":{"createdBy":"guepsh@microsoft.com","createdByType":"User","createdAt":"2021-02-07T12:08:39.8022985Z","lastModifiedBy":"6db4d6bb-6649-4dc2-84b7-0b5c6894031e","lastModifiedByType":"Application","lastModifiedAt":"2021-02-07T12:08:42.7186314Z"},"properties":{"provisioningState":"Succeeded","botManagementPortalLink":"https://us.healthbot.microsoft.com/account/samplebotname-vc5optp"}}'
@@ -379,10 +379,10 @@ interactions:
379379
ParameterSetName:
380380
- --name --sku --resource-group
381381
User-Agent:
382-
- AZURECLI/2.18.0 azsdk-python-mgmt-healthbot/2020-10-20-preview Python/3.8.7
382+
- AZURECLI/2.18.0 azsdk-python-mgmt-healthbot/2025-11-01 Python/3.8.7
383383
(Windows-10-10.0.19041-SP0)
384384
method: PATCH
385-
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.HealthBot/healthBots/samplebotname?api-version=2020-12-08
385+
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.HealthBot/healthBots/samplebotname?api-version=2025-11-01
386386
response:
387387
body:
388388
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.HealthBot/healthBots/samplebotname","name":"samplebotname","type":"Microsoft.HealthBot/healthBots","sku":{"name":"F0"},"location":"eastus","systemData":{"createdBy":"guepsh@microsoft.com","createdByType":"User","createdAt":"2021-02-07T12:08:39.8022985Z","lastModifiedBy":"guepsh@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-02-07T12:09:50.1683896Z"},"properties":{"provisioningState":"Succeeded","botManagementPortalLink":"https://us.healthbot.microsoft.com/account/samplebotname-vc5optp"}}'
@@ -445,10 +445,10 @@ interactions:
445445
ParameterSetName:
446446
- -y --name --resource-group
447447
User-Agent:
448-
- AZURECLI/2.18.0 azsdk-python-mgmt-healthbot/2020-10-20-preview Python/3.8.7
448+
- AZURECLI/2.18.0 azsdk-python-mgmt-healthbot/2025-11-01 Python/3.8.7
449449
(Windows-10-10.0.19041-SP0)
450450
method: DELETE
451-
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.HealthBot/healthBots/samplebotname?api-version=2020-12-08
451+
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.HealthBot/healthBots/samplebotname?api-version=2025-11-01
452452
response:
453453
body:
454454
string: ''

src/healthbot/azext_healthbot/vendored_sdks/healthbot/_configuration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ def __init__(
4848

4949
self.credential = credential
5050
self.subscription_id = subscription_id
51-
self.api_version = "2020-12-08"
51+
self.api_version = "2025-11-01"
5252
self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default'])
5353
kwargs.setdefault('sdk_moniker', 'mgmt-healthbot/{}'.format(VERSION))
5454
self._configure(**kwargs)

src/healthbot/azext_healthbot/vendored_sdks/healthbot/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
77
# --------------------------------------------------------------------------
88

9-
VERSION = "2020-10-20-preview"
9+
VERSION = "2025-11-01"

src/healthbot/azext_healthbot/vendored_sdks/healthbot/aio/_configuration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def __init__(
4545

4646
self.credential = credential
4747
self.subscription_id = subscription_id
48-
self.api_version = "2020-12-08"
48+
self.api_version = "2025-11-01"
4949
self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default'])
5050
kwargs.setdefault('sdk_moniker', 'mgmt-healthbot/{}'.format(VERSION))
5151
self._configure(**kwargs)

src/healthbot/azext_healthbot/vendored_sdks/healthbot/aio/operations/_bots_operations.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ async def _create_initial(
5555
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
5656
}
5757
error_map.update(kwargs.pop('error_map', {}))
58-
api_version = "2020-12-08"
58+
api_version = "2025-11-01"
5959
content_type = kwargs.pop("content_type", "application/json")
6060
accept = "application/json"
6161

@@ -194,7 +194,7 @@ async def get(
194194
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
195195
}
196196
error_map.update(kwargs.pop('error_map', {}))
197-
api_version = "2020-12-08"
197+
api_version = "2025-11-01"
198198
accept = "application/json"
199199

200200
# Construct URL
@@ -256,7 +256,7 @@ async def update(
256256
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
257257
}
258258
error_map.update(kwargs.pop('error_map', {}))
259-
api_version = "2020-12-08"
259+
api_version = "2025-11-01"
260260
content_type = kwargs.pop("content_type", "application/json")
261261
accept = "application/json"
262262

@@ -313,7 +313,7 @@ async def _delete_initial(
313313
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
314314
}
315315
error_map.update(kwargs.pop('error_map', {}))
316-
api_version = "2020-12-08"
316+
api_version = "2025-11-01"
317317
accept = "application/json"
318318

319319
# Construct URL
@@ -430,7 +430,7 @@ def list_by_resource_group(
430430
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
431431
}
432432
error_map.update(kwargs.pop('error_map', {}))
433-
api_version = "2020-12-08"
433+
api_version = "2025-11-01"
434434
accept = "application/json"
435435

436436
def prepare_request(next_link=None):
@@ -498,7 +498,7 @@ def list(
498498
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
499499
}
500500
error_map.update(kwargs.pop('error_map', {}))
501-
api_version = "2020-12-08"
501+
api_version = "2025-11-01"
502502
accept = "application/json"
503503

504504
def prepare_request(next_link=None):

src/healthbot/azext_healthbot/vendored_sdks/healthbot/aio/operations/_operations.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ def list(
5757
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
5858
}
5959
error_map.update(kwargs.pop('error_map', {}))
60-
api_version = "2020-12-08"
60+
api_version = "2025-11-01"
6161
accept = "application/json"
6262

6363
def prepare_request(next_link=None):

src/healthbot/azext_healthbot/vendored_sdks/healthbot/models/_healthbot_client_enums.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,3 +42,5 @@ class SkuName(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
4242
F0 = "F0"
4343
S1 = "S1"
4444
C0 = "C0"
45+
C1 = "C1"
46+
PES = "PES"

src/healthbot/azext_healthbot/vendored_sdks/healthbot/models/_models.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -423,8 +423,7 @@ class Sku(msrest.serialization.Model):
423423
424424
All required parameters must be populated in order to send to Azure.
425425
426-
:param name: Required. The name of the HealthBot SKU. Possible values include: "F0", "S1",
427-
"C0".
426+
:param name: Required. The name of the HealthBot SKU. Possible values include: "F0", "C0", "C1", "PES".
428427
:type name: str or ~azure.mgmt.healthbot.models.SkuName
429428
"""
430429

0 commit comments

Comments
 (0)