Skip to content

Commit 5444d2d

Browse files
author
SDKAuto
committed
CodeGen from PR 11646 in Azure/azure-rest-api-specs
Adding Identity to Patch Vault (Azure#11646)
1 parent 1d09bd7 commit 5444d2d

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

sdk/recoveryservices/azure-mgmt-recoveryservices/azure/mgmt/recoveryservices/models/_models.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -421,6 +421,8 @@ class PatchVault(PatchTrackedResource):
421421
:type location: str
422422
:param tags: Resource tags.
423423
:type tags: dict[str, str]
424+
:param identity:
425+
:type identity: ~azure.mgmt.recoveryservices.models.IdentityData
424426
:param properties:
425427
:type properties: ~azure.mgmt.recoveryservices.models.VaultProperties
426428
:param sku:
@@ -440,12 +442,14 @@ class PatchVault(PatchTrackedResource):
440442
'e_tag': {'key': 'eTag', 'type': 'str'},
441443
'location': {'key': 'location', 'type': 'str'},
442444
'tags': {'key': 'tags', 'type': '{str}'},
445+
'identity': {'key': 'identity', 'type': 'IdentityData'},
443446
'properties': {'key': 'properties', 'type': 'VaultProperties'},
444447
'sku': {'key': 'sku', 'type': 'Sku'},
445448
}
446449

447450
def __init__(self, **kwargs):
448451
super(PatchVault, self).__init__(**kwargs)
452+
self.identity = kwargs.get('identity', None)
449453
self.properties = kwargs.get('properties', None)
450454
self.sku = kwargs.get('sku', None)
451455

sdk/recoveryservices/azure-mgmt-recoveryservices/azure/mgmt/recoveryservices/models/_models_py3.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -421,6 +421,8 @@ class PatchVault(PatchTrackedResource):
421421
:type location: str
422422
:param tags: Resource tags.
423423
:type tags: dict[str, str]
424+
:param identity:
425+
:type identity: ~azure.mgmt.recoveryservices.models.IdentityData
424426
:param properties:
425427
:type properties: ~azure.mgmt.recoveryservices.models.VaultProperties
426428
:param sku:
@@ -440,12 +442,14 @@ class PatchVault(PatchTrackedResource):
440442
'e_tag': {'key': 'eTag', 'type': 'str'},
441443
'location': {'key': 'location', 'type': 'str'},
442444
'tags': {'key': 'tags', 'type': '{str}'},
445+
'identity': {'key': 'identity', 'type': 'IdentityData'},
443446
'properties': {'key': 'properties', 'type': 'VaultProperties'},
444447
'sku': {'key': 'sku', 'type': 'Sku'},
445448
}
446449

447-
def __init__(self, *, e_tag: str=None, location: str=None, tags=None, properties=None, sku=None, **kwargs) -> None:
450+
def __init__(self, *, e_tag: str=None, location: str=None, tags=None, identity=None, properties=None, sku=None, **kwargs) -> None:
448451
super(PatchVault, self).__init__(e_tag=e_tag, location=location, tags=tags, **kwargs)
452+
self.identity = identity
449453
self.properties = properties
450454
self.sku = sku
451455

0 commit comments

Comments
 (0)