Skip to content

Commit

Permalink
Generated from bc401a8
Browse files Browse the repository at this point in the history
  • Loading branch information
SwaggerToSDK Automation committed Jan 5, 2017
1 parent 2f86e7e commit c2bd90f
Show file tree
Hide file tree
Showing 53 changed files with 425 additions and 402 deletions.
449 changes: 237 additions & 212 deletions azure-keyvault/azure/keyvault/generated/key_vault_client.py

Large diffs are not rendered by default.

36 changes: 18 additions & 18 deletions azure-keyvault/azure/keyvault/generated/models/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,31 +14,31 @@
from .key_attributes import KeyAttributes
from .key_bundle import KeyBundle
from .key_item import KeyItem
from .secret_bundle import SecretBundle
from .secret_attributes import SecretAttributes
from .secret_bundle import SecretBundle
from .secret_item import SecretItem
from .certificate_attributes import CertificateAttributes
from .certificate_item import CertificateItem
from .certificate_issuer_item import CertificateIssuerItem
from .certificate_bundle import CertificateBundle
from .certificate_policy import CertificatePolicy
from .key_properties import KeyProperties
from .secret_properties import SecretProperties
from .x509_certificate_properties import X509CertificateProperties
from .subject_alternative_names import SubjectAlternativeNames
from .lifetime_action import LifetimeAction
from .x509_certificate_properties import X509CertificateProperties
from .trigger import Trigger
from .action import Action
from .lifetime_action import LifetimeAction
from .issuer_parameters import IssuerParameters
from .certificate_operation import CertificateOperation
from .certificate_policy import CertificatePolicy
from .certificate_bundle import CertificateBundle
from .error import Error
from .issuer_bundle import IssuerBundle
from .certificate_operation import CertificateOperation
from .issuer_credentials import IssuerCredentials
from .organization_details import OrganizationDetails
from .administrator_details import AdministratorDetails
from .organization_details import OrganizationDetails
from .issuer_attributes import IssuerAttributes
from .contacts import Contacts
from .issuer_bundle import IssuerBundle
from .contact import Contact
from .contacts import Contacts
from .key_create_parameters import KeyCreateParameters
from .key_import_parameters import KeyImportParameters
from .key_operations_parameters import KeyOperationsParameters
Expand Down Expand Up @@ -79,31 +79,31 @@
'KeyAttributes',
'KeyBundle',
'KeyItem',
'SecretBundle',
'SecretAttributes',
'SecretBundle',
'SecretItem',
'CertificateAttributes',
'CertificateItem',
'CertificateIssuerItem',
'CertificateBundle',
'CertificatePolicy',
'KeyProperties',
'SecretProperties',
'X509CertificateProperties',
'SubjectAlternativeNames',
'LifetimeAction',
'X509CertificateProperties',
'Trigger',
'Action',
'LifetimeAction',
'IssuerParameters',
'CertificateOperation',
'CertificatePolicy',
'CertificateBundle',
'Error',
'IssuerBundle',
'CertificateOperation',
'IssuerCredentials',
'OrganizationDetails',
'AdministratorDetails',
'OrganizationDetails',
'IssuerAttributes',
'Contacts',
'IssuerBundle',
'Contact',
'Contacts',
'KeyCreateParameters',
'KeyImportParameters',
'KeyOperationsParameters',
Expand Down
2 changes: 1 addition & 1 deletion azure-keyvault/azure/keyvault/generated/models/action.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class Action(Model):
'EmailContacts', 'AutoRenew'
:type action_type: str or :class:`ActionType
<azure.keyvault.generated.models.ActionType>`
"""
"""

_attribute_map = {
'action_type': {'key': 'action_type', 'type': 'ActionType'},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class AdministratorDetails(Model):
:type email_address: str
:param phone: Phone number.
:type phone: str
"""
"""

_attribute_map = {
'first_name': {'key': 'first_name', 'type': 'str'},
Expand Down
12 changes: 6 additions & 6 deletions azure-keyvault/azure/keyvault/generated/models/attributes.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,17 @@ class Attributes(Model):
Variables are only populated by the server, and will be ignored when
sending a request.
:param enabled: Determines whether the object is enabled
:param enabled: Determines whether the object is enabled.
:type enabled: bool
:param not_before: Not before date in UTC
:param not_before: Not before date in UTC.
:type not_before: datetime
:param expires: Expiry date in UTC
:param expires: Expiry date in UTC.
:type expires: datetime
:ivar created: Creation time in UTC
:ivar created: Creation time in UTC.
:vartype created: datetime
:ivar updated: Last updated time in UTC
:ivar updated: Last updated time in UTC.
:vartype updated: datetime
"""
"""

_validation = {
'created': {'readonly': True},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ class BackupKeyResult(Model):
Variables are only populated by the server, and will be ignored when
sending a request.
:ivar value: The backup blob containing the backed up key
:ivar value: The backup blob containing the backed up key.
:vartype value: bytes
"""
"""

_validation = {
'value': {'readonly': True},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,17 @@ class CertificateAttributes(Attributes):
Variables are only populated by the server, and will be ignored when
sending a request.
:param enabled: Determines whether the object is enabled
:param enabled: Determines whether the object is enabled.
:type enabled: bool
:param not_before: Not before date in UTC
:param not_before: Not before date in UTC.
:type not_before: datetime
:param expires: Expiry date in UTC
:param expires: Expiry date in UTC.
:type expires: datetime
:ivar created: Creation time in UTC
:ivar created: Creation time in UTC.
:vartype created: datetime
:ivar updated: Last updated time in UTC
:ivar updated: Last updated time in UTC.
:vartype updated: datetime
"""
"""

_validation = {
'created': {'readonly': True},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ class CertificateBundle(Model):
Variables are only populated by the server, and will be ignored when
sending a request.
:ivar id: The certificate id
:ivar id: The certificate id.
:vartype id: str
:ivar kid: The key id
:ivar kid: The key id.
:vartype kid: str
:ivar sid: The secret id
:ivar sid: The secret id.
:vartype sid: str
:ivar x509_thumbprint: Thumbprint of the certificate.
:vartype x509_thumbprint: bytes
Expand All @@ -31,14 +31,14 @@ class CertificateBundle(Model):
<azure.keyvault.generated.models.CertificatePolicy>`
:param cer: CER contents of x509 certificate.
:type cer: bytearray
:param content_type: The content type of the secret
:param content_type: The content type of the secret.
:type content_type: str
:param attributes: The certificate attributes.
:type attributes: :class:`CertificateAttributes
<azure.keyvault.generated.models.CertificateAttributes>`
:param tags: Application-specific metadata in the form of key-value pairs
:param tags: Application specific metadata in the form of key-value pairs
:type tags: dict
"""
"""

_validation = {
'id': {'readonly': True},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,16 @@
class CertificateCreateParameters(Model):
"""The certificate create parameters.
:param certificate_policy: The management policy for the certificate
:param certificate_policy: The management policy for the certificate.
:type certificate_policy: :class:`CertificatePolicy
<azure.keyvault.generated.models.CertificatePolicy>`
:param certificate_attributes: The attributes of the certificate
(optional)
(optional).
:type certificate_attributes: :class:`CertificateAttributes
<azure.keyvault.generated.models.CertificateAttributes>`
:param tags: Application-specific metadata in the form of key-value pairs
:param tags: Application specific metadata in the form of key-value pairs.
:type tags: dict
"""
"""

_attribute_map = {
'certificate_policy': {'key': 'policy', 'type': 'CertificatePolicy'},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,18 +20,18 @@ class CertificateImportParameters(Model):
private key.
:type base64_encoded_certificate: str
:param password: If the private key in base64EncodedCertificate is
encrypted, the password used for encryption
encrypted, the password used for encryption.
:type password: str
:param certificate_policy: The management policy for the certificate
:param certificate_policy: The management policy for the certificate.
:type certificate_policy: :class:`CertificatePolicy
<azure.keyvault.generated.models.CertificatePolicy>`
:param certificate_attributes: The attributes of the certificate
(optional)
(optional).
:type certificate_attributes: :class:`CertificateAttributes
<azure.keyvault.generated.models.CertificateAttributes>`
:param tags: Application-specific metadata in the form of key-value pairs
:param tags: Application specific metadata in the form of key-value pairs.
:type tags: dict
"""
"""

_validation = {
'base64_encoded_certificate': {'required': True},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@
class CertificateIssuerItem(Model):
"""The certificate issuer item containing certificate issuer metadata.
:param id: Certificate Identifier
:param id: Certificate Identifier.
:type id: str
:param provider: The issuer provider.
:type provider: str
"""
"""

_attribute_map = {
'id': {'key': 'id', 'type': 'str'},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class CertificateIssuerSetParameters(Model):
:param attributes: Attributes of the issuer object.
:type attributes: :class:`IssuerAttributes
<azure.keyvault.generated.models.IssuerAttributes>`
"""
"""

_validation = {
'provider': {'required': True},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class CertificateIssuerUpdateParameters(Model):
:param attributes: Attributes of the issuer object.
:type attributes: :class:`IssuerAttributes
<azure.keyvault.generated.models.IssuerAttributes>`
"""
"""

_attribute_map = {
'provider': {'key': 'provider', 'type': 'str'},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,16 @@
class CertificateItem(Model):
"""The certificate item containing certificate metadata.
:param id: Certificate Identifier
:param id: Certificate identifier.
:type id: str
:param attributes: The certificate management attributes
:param attributes: The certificate management attributes.
:type attributes: :class:`CertificateAttributes
<azure.keyvault.generated.models.CertificateAttributes>`
:param tags: Application-specific metadata in the form of key-value pairs
:param tags: Application specific metadata in the form of key-value pairs.
:type tags: dict
:param x509_thumbprint: Thumbprint of the certificate.
:type x509_thumbprint: bytes
"""
"""

_attribute_map = {
'id': {'key': 'id', 'type': 'str'},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@ class CertificateMergeParameters(Model):
"""The certificate merge parameters.
:param x509_certificates: The certificate or the certificate chain to
merge
merge.
:type x509_certificates: list of bytearray
:param certificate_attributes: The attributes of the certificate
(optional)
(optional).
:type certificate_attributes: :class:`CertificateAttributes
<azure.keyvault.generated.models.CertificateAttributes>`
:param tags: Application-specific metadata in the form of key-value pairs
:param tags: Application specific metadata in the form of key-value pairs.
:type tags: dict
"""
"""

_validation = {
'x509_certificates': {'required': True},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,18 @@


class CertificateOperation(Model):
"""A certificate operation is returned in case of async requests.
"""A certificate operation is returned in case of asynchronous requests.
Variables are only populated by the server, and will be ignored when
sending a request.
:ivar id: The certificate id
:ivar id: The certificate id.
:vartype id: str
:param issuer_parameters: Parameters for the issuer of the X509 component
of a certificate.
:type issuer_parameters: :class:`IssuerParameters
<azure.keyvault.generated.models.IssuerParameters>`
:param csr: The Certificate Signing Request (CSR) that is being used in
:param csr: The certificate signing request (CSR) that is being used in
the certificate operation.
:type csr: bytearray
:param cancellation_requested: Indicates if cancellation was requested on
Expand All @@ -41,7 +41,7 @@ class CertificateOperation(Model):
:type target: str
:param request_id: Identifier for the certificate operation.
:type request_id: str
"""
"""

_validation = {
'id': {'readonly': True},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class CertificateOperationUpdateParameter(Model):
:param cancellation_requested: Indicates if cancellation was requested on
the certificate operation.
:type cancellation_requested: bool
"""
"""

_validation = {
'cancellation_requested': {'required': True},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class CertificatePolicy(Model):
Variables are only populated by the server, and will be ignored when
sending a request.
:ivar id: The certificate id
:ivar id: The certificate id.
:vartype id: str
:param key_properties: Properties of the key backing a certificate.
:type key_properties: :class:`KeyProperties
Expand All @@ -41,7 +41,7 @@ class CertificatePolicy(Model):
:param attributes: The certificate attributes.
:type attributes: :class:`CertificateAttributes
<azure.keyvault.generated.models.CertificateAttributes>`
"""
"""

_validation = {
'id': {'readonly': True},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,16 @@
class CertificateUpdateParameters(Model):
"""The certificate update parameters.
:param certificate_policy: The management policy for the certificate
:param certificate_policy: The management policy for the certificate.
:type certificate_policy: :class:`CertificatePolicy
<azure.keyvault.generated.models.CertificatePolicy>`
:param certificate_attributes: The attributes of the certificate
(optional)
(optional).
:type certificate_attributes: :class:`CertificateAttributes
<azure.keyvault.generated.models.CertificateAttributes>`
:param tags: Application-specific metadata in the form of key-value pairs
:param tags: Application specific metadata in the form of key-value pairs.
:type tags: dict
"""
"""

_attribute_map = {
'certificate_policy': {'key': 'policy', 'type': 'CertificatePolicy'},
Expand Down
2 changes: 1 addition & 1 deletion azure-keyvault/azure/keyvault/generated/models/contact.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class Contact(Model):
:type name: str
:param phone: Phone number.
:type phone: str
"""
"""

_attribute_map = {
'email_address': {'key': 'email', 'type': 'str'},
Expand Down
Loading

0 comments on commit c2bd90f

Please sign in to comment.