Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ReleasePR azure-mgmt-recoveryservices] Fix for Operation Result for Vaults #15341

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -421,6 +421,8 @@ class PatchVault(PatchTrackedResource):
:type location: str
:param tags: Resource tags.
:type tags: dict[str, str]
:param identity:
:type identity: ~azure.mgmt.recoveryservices.models.IdentityData
:param properties:
:type properties: ~azure.mgmt.recoveryservices.models.VaultProperties
:param sku:
Expand All @@ -440,12 +442,14 @@ class PatchVault(PatchTrackedResource):
'e_tag': {'key': 'eTag', 'type': 'str'},
'location': {'key': 'location', 'type': 'str'},
'tags': {'key': 'tags', 'type': '{str}'},
'identity': {'key': 'identity', 'type': 'IdentityData'},
'properties': {'key': 'properties', 'type': 'VaultProperties'},
'sku': {'key': 'sku', 'type': 'Sku'},
}

def __init__(self, **kwargs):
super(PatchVault, self).__init__(**kwargs)
self.identity = kwargs.get('identity', None)
self.properties = kwargs.get('properties', None)
self.sku = kwargs.get('sku', None)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -421,6 +421,8 @@ class PatchVault(PatchTrackedResource):
:type location: str
:param tags: Resource tags.
:type tags: dict[str, str]
:param identity:
:type identity: ~azure.mgmt.recoveryservices.models.IdentityData
:param properties:
:type properties: ~azure.mgmt.recoveryservices.models.VaultProperties
:param sku:
Expand All @@ -440,12 +442,14 @@ class PatchVault(PatchTrackedResource):
'e_tag': {'key': 'eTag', 'type': 'str'},
'location': {'key': 'location', 'type': 'str'},
'tags': {'key': 'tags', 'type': '{str}'},
'identity': {'key': 'identity', 'type': 'IdentityData'},
'properties': {'key': 'properties', 'type': 'VaultProperties'},
'sku': {'key': 'sku', 'type': 'Sku'},
}

def __init__(self, *, e_tag: str=None, location: str=None, tags=None, properties=None, sku=None, **kwargs) -> None:
def __init__(self, *, e_tag: str=None, location: str=None, tags=None, identity=None, properties=None, sku=None, **kwargs) -> None:
super(PatchVault, self).__init__(e_tag=e_tag, location=location, tags=tags, **kwargs)
self.identity = identity
self.properties = properties
self.sku = sku

Expand Down