Skip to content

Commit

Permalink
Generated from e845a4082da9b82a6ec07bf51c7c4d9b942c09a7 (#2643)
Browse files Browse the repository at this point in the history
remove preview changes for now
  • Loading branch information
AutorestCI authored May 28, 2018
1 parent 7d87a91 commit 0f0c5f9
Show file tree
Hide file tree
Showing 16 changed files with 156 additions and 312 deletions.
3 changes: 2 additions & 1 deletion azure-keyvault/azure/keyvault/key_vault_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,8 @@ def create_key(
JsonWebKeyType. Possible values include: 'EC', 'EC-HSM', 'RSA',
'RSA-HSM', 'oct'
:type kty: str or ~azure.keyvault.models.JsonWebKeyType
:param key_size: The key size in bytes. For example, 1024 or 2048.
:param key_size: The key size in bits. For example: 2048, 3072, or
4096 for RSA.
:type key_size: int
:param key_ops:
:type key_ops: list[str or ~azure.keyvault.models.JsonWebKeyOperation]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# regenerated.
# --------------------------------------------------------------------------

from .attributes import Attributes
from .attributes_py3 import Attributes


class CertificateAttributes(Attributes):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# regenerated.
# --------------------------------------------------------------------------

from .certificate_bundle import CertificateBundle
from .certificate_bundle_py3 import CertificateBundle


class DeletedCertificateBundle(CertificateBundle):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# regenerated.
# --------------------------------------------------------------------------

from .certificate_item import CertificateItem
from .certificate_item_py3 import CertificateItem


class DeletedCertificateItem(CertificateItem):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# regenerated.
# --------------------------------------------------------------------------

from .key_bundle import KeyBundle
from .key_bundle_py3 import KeyBundle


class DeletedKeyBundle(KeyBundle):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# regenerated.
# --------------------------------------------------------------------------

from .key_item import KeyItem
from .key_item_py3 import KeyItem


class DeletedKeyItem(KeyItem):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# regenerated.
# --------------------------------------------------------------------------

from .secret_bundle import SecretBundle
from .secret_bundle_py3 import SecretBundle


class DeletedSecretBundle(SecretBundle):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# regenerated.
# --------------------------------------------------------------------------

from .secret_item import SecretItem
from .secret_item_py3 import SecretItem


class DeletedSecretItem(SecretItem):
Expand Down
2 changes: 1 addition & 1 deletion azure-keyvault/azure/keyvault/models/key_attributes_py3.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# regenerated.
# --------------------------------------------------------------------------

from .attributes import Attributes
from .attributes_py3 import Attributes


class KeyAttributes(Attributes):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ class KeyCreateParameters(Model):
JsonWebKeyType. Possible values include: 'EC', 'EC-HSM', 'RSA', 'RSA-HSM',
'oct'
:type kty: str or ~azure.keyvault.models.JsonWebKeyType
:param key_size: The key size in bytes. For example, 1024 or 2048.
:param key_size: The key size in bits. For example: 2048, 3072, or 4096
for RSA.
:type key_size: int
:param key_ops:
:type key_ops: list[str or ~azure.keyvault.models.JsonWebKeyOperation]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ class KeyCreateParameters(Model):
JsonWebKeyType. Possible values include: 'EC', 'EC-HSM', 'RSA', 'RSA-HSM',
'oct'
:type kty: str or ~azure.keyvault.models.JsonWebKeyType
:param key_size: The key size in bytes. For example, 1024 or 2048.
:param key_size: The key size in bits. For example: 2048, 3072, or 4096
for RSA.
:type key_size: int
:param key_ops:
:type key_ops: list[str or ~azure.keyvault.models.JsonWebKeyOperation]
Expand Down
3 changes: 2 additions & 1 deletion azure-keyvault/azure/keyvault/models/key_properties.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ class KeyProperties(Model):
:type exportable: bool
:param key_type: The key type.
:type key_type: str
:param key_size: The key size in bytes. For example; 1024 or 2048.
:param key_size: The key size in bits. For example: 2048, 3072, or 4096
for RSA.
:type key_size: int
:param reuse_key: Indicates if the same key pair will be used on
certificate renewal.
Expand Down
3 changes: 2 additions & 1 deletion azure-keyvault/azure/keyvault/models/key_properties_py3.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ class KeyProperties(Model):
:type exportable: bool
:param key_type: The key type.
:type key_type: str
:param key_size: The key size in bytes. For example; 1024 or 2048.
:param key_size: The key size in bits. For example: 2048, 3072, or 4096
for RSA.
:type key_size: int
:param reuse_key: Indicates if the same key pair will be used on
certificate renewal.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ class JsonWebKeyType(str, Enum):

class JsonWebKeyCurveName(str, Enum):

p_256 = "P-256"
p_384 = "P-384"
p_521 = "P-521"
secp256_k1 = "SECP256K1"
p_256 = "P-256" #: The NIST P-256 elliptic curve, AKA SECG curve SECP256R1.
p_384 = "P-384" #: The NIST P-384 elliptic curve, AKA SECG curve SECP384R1.
p_521 = "P-521" #: The NIST P-521 elliptic curve, AKA SECG curve SECP521R1.
secp256_k1 = "SECP256K1" #: The SECG SECP256K1 elliptic curve.


class DeletionRecoveryLevel(str, Enum):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# regenerated.
# --------------------------------------------------------------------------

from .attributes import Attributes
from .attributes_py3 import Attributes


class SecretAttributes(Attributes):
Expand Down
Loading

0 comments on commit 0f0c5f9

Please sign in to comment.