Skip to content

Commit 98e2160

Browse files
Azure CLI BotSDKAutoRAY-316
authored
[AutoRelease] t1-resource-2021-05-13-07477 (Azure#18685)
* CodeGen from PR 14373 in Azure/azure-rest-api-specs resources t2 config (Azure#14373) * version,CHANGELOG * test * difficult test skip Co-authored-by: SDKAuto <[email protected]> Co-authored-by: PythonSdkPipelines <PythonSdkPipelines> Co-authored-by: Zed <[email protected]>
1 parent 322dd15 commit 98e2160

File tree

166 files changed

+45594
-25542
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

166 files changed

+45594
-25542
lines changed

sdk/resources/azure-mgmt-resource/CHANGELOG.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,30 @@
11
# Release History
22

3+
## 13.0.0 (2021-05-13)
4+
5+
**Features**
6+
7+
- Model WhatIfChange has a new parameter unsupported_reason
8+
- Model TemplateSpecVersion has a new parameter main_template
9+
- Model TemplateSpecVersion has a new parameter ui_form_definition
10+
- Model TemplateSpecVersion has a new parameter metadata
11+
- Model TemplateSpecVersion has a new parameter linked_templates
12+
- Model GenericResourceExpanded has a new parameter extended_location
13+
- Model Provider has a new parameter provider_authorization_consent_state
14+
- Model GenericResource has a new parameter extended_location
15+
- Model Resource has a new parameter extended_location
16+
- Model TemplateSpec has a new parameter metadata
17+
- Added operation ProvidersOperations.provider_permissions
18+
19+
**Breaking changes**
20+
21+
- Operation ProvidersOperations.register has a new signature
22+
- Operation TemplateSpecsOperations.get has a new signature
23+
- Operation TemplateSpecsOperations.list_by_resource_group has a new signature
24+
- Operation TemplateSpecsOperations.list_by_subscription has a new signature
25+
- Model TemplateSpecVersion no longer has parameter artifacts
26+
- Model TemplateSpecVersion no longer has parameter template
27+
328
## 12.1.0 (2021-03-05)
429

530
**Features**

sdk/resources/azure-mgmt-resource/MANIFEST.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
include _meta.json
12
recursive-include tests *.py *.yaml
23
include *.md
34
include azure/__init__.py
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"autorest": "V2",
3+
"use": "@microsoft.azure/autorest.python@~4.0.71",
4+
"commit": "14d2ddf809ea5c8ce9d6017b5ab1aca96df05643",
5+
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
6+
"autorest_command": "autorest specification/resources/resource-manager/readme.md --keep-version-file --multiapi --no-async --python --python-mode=update --python-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-python/sdk [email protected]/autorest.python@~4.0.71 --version=V2",
7+
"readme": "specification/resources/resource-manager/readme.md"
8+
}

sdk/resources/azure-mgmt-resource/azure/mgmt/resource/deploymentscripts/v2019_10_01_preview/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@
99
# regenerated.
1010
# --------------------------------------------------------------------------
1111

12-
VERSION = "2019-10-01-preview"
12+
VERSION = "13.0.0"
1313

sdk/resources/azure-mgmt-resource/azure/mgmt/resource/deploymentscripts/v2019_10_preview/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@
99
# regenerated.
1010
# --------------------------------------------------------------------------
1111

12-
VERSION = "2019-10-01-preview"
12+
VERSION = "13.0.0"
1313

sdk/resources/azure-mgmt-resource/azure/mgmt/resource/deploymentscripts/v2020_10_01/operations/_deployment_scripts_operations.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def _create_initial(
4747
url = self.create.metadata['url']
4848
path_format_arguments = {
4949
'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'),
50-
'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
50+
'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1),
5151
'scriptName': self._serialize.url("script_name", script_name, 'str', max_length=90, min_length=1)
5252
}
5353
url = self._client.format_url(url, **path_format_arguments)
@@ -174,7 +174,7 @@ def update(
174174
url = self.update.metadata['url']
175175
path_format_arguments = {
176176
'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'),
177-
'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
177+
'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1),
178178
'scriptName': self._serialize.url("script_name", script_name, 'str', max_length=90, min_length=1)
179179
}
180180
url = self._client.format_url(url, **path_format_arguments)
@@ -243,7 +243,7 @@ def get(
243243
url = self.get.metadata['url']
244244
path_format_arguments = {
245245
'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'),
246-
'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
246+
'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1),
247247
'scriptName': self._serialize.url("script_name", script_name, 'str', max_length=90, min_length=1)
248248
}
249249
url = self._client.format_url(url, **path_format_arguments)
@@ -304,7 +304,7 @@ def delete(
304304
url = self.delete.metadata['url']
305305
path_format_arguments = {
306306
'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'),
307-
'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
307+
'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1),
308308
'scriptName': self._serialize.url("script_name", script_name, 'str', max_length=90, min_length=1)
309309
}
310310
url = self._client.format_url(url, **path_format_arguments)
@@ -424,7 +424,7 @@ def get_logs(
424424
url = self.get_logs.metadata['url']
425425
path_format_arguments = {
426426
'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'),
427-
'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
427+
'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1),
428428
'scriptName': self._serialize.url("script_name", script_name, 'str', max_length=90, min_length=1)
429429
}
430430
url = self._client.format_url(url, **path_format_arguments)
@@ -491,7 +491,7 @@ def get_logs_default(
491491
url = self.get_logs_default.metadata['url']
492492
path_format_arguments = {
493493
'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'),
494-
'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
494+
'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1),
495495
'scriptName': self._serialize.url("script_name", script_name, 'str', max_length=90, min_length=1)
496496
}
497497
url = self._client.format_url(url, **path_format_arguments)
@@ -554,7 +554,7 @@ def prepare_request(next_link=None):
554554
url = self.list_by_resource_group.metadata['url']
555555
path_format_arguments = {
556556
'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'),
557-
'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$')
557+
'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1)
558558
}
559559
url = self._client.format_url(url, **path_format_arguments)
560560

sdk/resources/azure-mgmt-resource/azure/mgmt/resource/deploymentscripts/v2020_10_01/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@
99
# regenerated.
1010
# --------------------------------------------------------------------------
1111

12-
VERSION = "2020-10-01"
12+
VERSION = "13.0.0"
1313

sdk/resources/azure-mgmt-resource/azure/mgmt/resource/features/v2015_12_01/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@
99
# regenerated.
1010
# --------------------------------------------------------------------------
1111

12-
VERSION = "2015-12-01"
12+
VERSION = "13.0.0"
1313

sdk/resources/azure-mgmt-resource/azure/mgmt/resource/links/v2016_09_01/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@
99
# regenerated.
1010
# --------------------------------------------------------------------------
1111

12-
VERSION = "2016-09-01"
12+
VERSION = "13.0.0"
1313

sdk/resources/azure-mgmt-resource/azure/mgmt/resource/locks/v2015_01_01/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@
99
# regenerated.
1010
# --------------------------------------------------------------------------
1111

12-
VERSION = "2015-01-01"
12+
VERSION = "13.0.0"
1313

0 commit comments

Comments
 (0)