Skip to content

Commit 6320f62

Browse files
author
SDKAuto
committed
CodeGen from PR 14736 in Azure/azure-rest-api-specs
Merge 2290fefedc09ebcef566a51b9bfc99e3ece13257 into f7535f8
1 parent b8f7a18 commit 6320f62

File tree

71 files changed

+145
-145
lines changed

Some content is hidden

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

71 files changed

+145
-145
lines changed
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
22
"autorest": "3.4.2",
33
"use": [
4-
"@autorest/[email protected].0",
5-
"@autorest/[email protected].1"
4+
"@autorest/[email protected].1",
5+
"@autorest/[email protected].2"
66
],
7-
"commit": "6816683ce2d163a8ba62f426202fdcfbe7b68e35",
7+
"commit": "267b102a4af6bcbd3a65c68650bdf5a882ed31d2",
88
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
9-
"autorest_command": "autorest specification/resources/resource-manager/readme.md --multiapi --python --python-mode=update --python-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-python/sdk --track2 --use=@autorest/[email protected].0 --use=@autorest/[email protected].1 --version=3.4.2",
9+
"autorest_command": "autorest specification/resources/resource-manager/readme.md --multiapi --python --python-mode=update --python-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-python/sdk --track2 --use=@autorest/[email protected].1 --use=@autorest/[email protected].2 --version=3.4.2",
1010
"readme": "specification/resources/resource-manager/readme.md"
1111
}

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
@@ -6,4 +6,4 @@
66
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
77
# --------------------------------------------------------------------------
88

9-
VERSION = "18.0.0"
9+
VERSION = "1.0.0b1"

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
@@ -6,4 +6,4 @@
66
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
77
# --------------------------------------------------------------------------
88

9-
VERSION = "18.0.0"
9+
VERSION = "1.0.0b1"

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
@@ -6,4 +6,4 @@
66
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
77
# --------------------------------------------------------------------------
88

9-
VERSION = "18.0.0"
9+
VERSION = "1.0.0b1"

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
@@ -6,4 +6,4 @@
66
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
77
# --------------------------------------------------------------------------
88

9-
VERSION = "18.0.0"
9+
VERSION = "1.0.0b1"

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
@@ -6,4 +6,4 @@
66
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
77
# --------------------------------------------------------------------------
88

9-
VERSION = "18.0.0"
9+
VERSION = "1.0.0b1"

sdk/resources/azure-mgmt-resource/azure/mgmt/resource/locks/v2016_09_01/_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 = "18.0.0"
9+
VERSION = "1.0.0b1"

sdk/resources/azure-mgmt-resource/azure/mgmt/resource/managedapplications/_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 = "18.0.0"
9+
VERSION = "1.0.0b1"

sdk/resources/azure-mgmt-resource/azure/mgmt/resource/managedapplications/models/_models.py

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -510,14 +510,14 @@ class Identity(msrest.serialization.Model):
510510
:vartype principal_id: str
511511
:ivar tenant_id: The tenant ID of resource.
512512
:vartype tenant_id: str
513-
:ivar type: The identity type. Default value: "SystemAssigned".
514-
:vartype type: str
513+
:param type: The identity type. The only acceptable values to pass in are None and
514+
"SystemAssigned". The default value is None.
515+
:type type: str
515516
"""
516517

517518
_validation = {
518519
'principal_id': {'readonly': True},
519520
'tenant_id': {'readonly': True},
520-
'type': {'constant': True},
521521
}
522522

523523
_attribute_map = {
@@ -526,15 +526,14 @@ class Identity(msrest.serialization.Model):
526526
'type': {'key': 'type', 'type': 'str'},
527527
}
528528

529-
type = "SystemAssigned"
530-
531529
def __init__(
532530
self,
533531
**kwargs
534532
):
535533
super(Identity, self).__init__(**kwargs)
536534
self.principal_id = None
537535
self.tenant_id = None
536+
self.type = kwargs.get('type', None)
538537

539538

540539
class Operation(msrest.serialization.Model):

sdk/resources/azure-mgmt-resource/azure/mgmt/resource/managedapplications/models/_models_py3.py

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -577,14 +577,14 @@ class Identity(msrest.serialization.Model):
577577
:vartype principal_id: str
578578
:ivar tenant_id: The tenant ID of resource.
579579
:vartype tenant_id: str
580-
:ivar type: The identity type. Default value: "SystemAssigned".
581-
:vartype type: str
580+
:param type: The identity type. The only acceptable values to pass in are None and
581+
"SystemAssigned". The default value is None.
582+
:type type: str
582583
"""
583584

584585
_validation = {
585586
'principal_id': {'readonly': True},
586587
'tenant_id': {'readonly': True},
587-
'type': {'constant': True},
588588
}
589589

590590
_attribute_map = {
@@ -593,15 +593,16 @@ class Identity(msrest.serialization.Model):
593593
'type': {'key': 'type', 'type': 'str'},
594594
}
595595

596-
type = "SystemAssigned"
597-
598596
def __init__(
599597
self,
598+
*,
599+
type: Optional[str] = None,
600600
**kwargs
601601
):
602602
super(Identity, self).__init__(**kwargs)
603603
self.principal_id = None
604604
self.tenant_id = None
605+
self.type = type
605606

606607

607608
class Operation(msrest.serialization.Model):

0 commit comments

Comments
 (0)