-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[AutoPR keyvault/data-plane] Update description for DeleteRecoveryLev…
…el fields (#2490) * Generated from 86db97e616cc030b722a640e0beafe21642b5a69 Update description for DeleteRecoveryLevel fields * Generated from 86db97e616cc030b722a640e0beafe21642b5a69 Update description for DeleteRecoveryLevel fields
- Loading branch information
1 parent
81788d9
commit 7d87a91
Showing
145 changed files
with
4,197 additions
and
633 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# coding=utf-8 | ||
# -------------------------------------------------------------------------- | ||
# Copyright (c) Microsoft Corporation. All rights reserved. | ||
# Licensed under the MIT License. See License.txt in the project root for | ||
# license information. | ||
# | ||
# Code generated by Microsoft (R) AutoRest Code Generator. | ||
# Changes may cause incorrect behavior and will be lost if the code is | ||
# regenerated. | ||
# -------------------------------------------------------------------------- | ||
|
||
from msrest.serialization import Model | ||
|
||
|
||
class Action(Model): | ||
"""The action that will be executed. | ||
:param action_type: The type of the action. Possible values include: | ||
'EmailContacts', 'AutoRenew' | ||
:type action_type: str or ~azure.keyvault.models.ActionType | ||
""" | ||
|
||
_attribute_map = { | ||
'action_type': {'key': 'action_type', 'type': 'ActionType'}, | ||
} | ||
|
||
def __init__(self, *, action_type=None, **kwargs) -> None: | ||
super(Action, self).__init__(**kwargs) | ||
self.action_type = action_type |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
40 changes: 40 additions & 0 deletions
40
azure-keyvault/azure/keyvault/models/administrator_details_py3.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
# coding=utf-8 | ||
# -------------------------------------------------------------------------- | ||
# Copyright (c) Microsoft Corporation. All rights reserved. | ||
# Licensed under the MIT License. See License.txt in the project root for | ||
# license information. | ||
# | ||
# Code generated by Microsoft (R) AutoRest Code Generator. | ||
# Changes may cause incorrect behavior and will be lost if the code is | ||
# regenerated. | ||
# -------------------------------------------------------------------------- | ||
|
||
from msrest.serialization import Model | ||
|
||
|
||
class AdministratorDetails(Model): | ||
"""Details of the organization administrator of the certificate issuer. | ||
:param first_name: First name. | ||
:type first_name: str | ||
:param last_name: Last name. | ||
:type last_name: str | ||
:param email_address: Email addresss. | ||
:type email_address: str | ||
:param phone: Phone number. | ||
:type phone: str | ||
""" | ||
|
||
_attribute_map = { | ||
'first_name': {'key': 'first_name', 'type': 'str'}, | ||
'last_name': {'key': 'last_name', 'type': 'str'}, | ||
'email_address': {'key': 'email', 'type': 'str'}, | ||
'phone': {'key': 'phone', 'type': 'str'}, | ||
} | ||
|
||
def __init__(self, *, first_name: str=None, last_name: str=None, email_address: str=None, phone: str=None, **kwargs) -> None: | ||
super(AdministratorDetails, self).__init__(**kwargs) | ||
self.first_name = first_name | ||
self.last_name = last_name | ||
self.email_address = email_address | ||
self.phone = phone |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
# coding=utf-8 | ||
# -------------------------------------------------------------------------- | ||
# Copyright (c) Microsoft Corporation. All rights reserved. | ||
# Licensed under the MIT License. See License.txt in the project root for | ||
# license information. | ||
# | ||
# Code generated by Microsoft (R) AutoRest Code Generator. | ||
# Changes may cause incorrect behavior and will be lost if the code is | ||
# regenerated. | ||
# -------------------------------------------------------------------------- | ||
|
||
from msrest.serialization import Model | ||
|
||
|
||
class Attributes(Model): | ||
"""The object attributes managed by the KeyVault service. | ||
Variables are only populated by the server, and will be ignored when | ||
sending a request. | ||
:param enabled: Determines whether the object is enabled. | ||
:type enabled: bool | ||
:param not_before: Not before date in UTC. | ||
:type not_before: datetime | ||
:param expires: Expiry date in UTC. | ||
:type expires: datetime | ||
:ivar created: Creation time in UTC. | ||
:vartype created: datetime | ||
:ivar updated: Last updated time in UTC. | ||
:vartype updated: datetime | ||
""" | ||
|
||
_validation = { | ||
'created': {'readonly': True}, | ||
'updated': {'readonly': True}, | ||
} | ||
|
||
_attribute_map = { | ||
'enabled': {'key': 'enabled', 'type': 'bool'}, | ||
'not_before': {'key': 'nbf', 'type': 'unix-time'}, | ||
'expires': {'key': 'exp', 'type': 'unix-time'}, | ||
'created': {'key': 'created', 'type': 'unix-time'}, | ||
'updated': {'key': 'updated', 'type': 'unix-time'}, | ||
} | ||
|
||
def __init__(self, *, enabled: bool=None, not_before=None, expires=None, **kwargs) -> None: | ||
super(Attributes, self).__init__(**kwargs) | ||
self.enabled = enabled | ||
self.not_before = not_before | ||
self.expires = expires | ||
self.created = None | ||
self.updated = None |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.