Skip to content
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
6 changes: 3 additions & 3 deletions sdk/keyvault/azure-mgmt-keyvault/_meta.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"commit": "945ea7b3682db6a45471cf22f77d548c54417d34",
"commit": "cfd34833a483bccc24b4d7b69cb949bd334f7381",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"autorest": "3.9.2",
"use": [
"@autorest/python@6.4.7",
"@autorest/python@6.4.12",
"@autorest/modelerfour@4.24.3"
],
"autorest_command": "autorest specification/keyvault/resource-manager/readme.md --generate-sample=True --include-x-ms-examples-original-file=True --python --python-sdks-folder=/home/vsts/work/1/azure-sdk-for-python/sdk --use=@autorest/python@6.4.7 --use=@autorest/modelerfour@4.24.3 --version=3.9.2 --version-tolerant=False",
"autorest_command": "autorest specification/keyvault/resource-manager/readme.md --generate-sample=True --include-x-ms-examples-original-file=True --python --python-sdks-folder=/mnt/vss/_work/1/s/azure-sdk-for-python/sdk --use=@autorest/python@6.4.12 --use=@autorest/modelerfour@4.24.3 --version=3.9.2 --version-tolerant=False",
"readme": "specification/keyvault/resource-manager/readme.md"
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
# license information.
# --------------------------------------------------------------------------

VERSION = "10.2.1"
VERSION = "0.1.0"
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------

VERSION = "10.2.1"
VERSION = "1.0.0b1"
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------
from io import IOBase
import sys
from typing import Any, AsyncIterable, Callable, Dict, IO, Optional, TypeVar, Union, cast, overload
import urllib.parse
Expand Down Expand Up @@ -173,7 +174,7 @@ async def create_or_update(
content_type = content_type or "application/json"
_json = None
_content = None
if isinstance(parameters, (IO, bytes)):
if isinstance(parameters, (IOBase, bytes)):
_content = parameters
else:
_json = self._serialize.body(parameters, "VaultCreateOrUpdateParameters")
Expand Down Expand Up @@ -319,7 +320,7 @@ async def update(
content_type = content_type or "application/json"
_json = None
_content = None
if isinstance(parameters, (IO, bytes)):
if isinstance(parameters, (IOBase, bytes)):
_content = parameters
else:
_json = self._serialize.body(parameters, "VaultPatchParameters")
Expand Down Expand Up @@ -599,7 +600,7 @@ async def update_access_policy(
content_type = content_type or "application/json"
_json = None
_content = None
if isinstance(parameters, (IO, bytes)):
if isinstance(parameters, (IOBase, bytes)):
_content = parameters
else:
_json = self._serialize.body(parameters, "VaultAccessPolicyParameters")
Expand Down Expand Up @@ -1242,7 +1243,7 @@ async def check_name_availability(
content_type = content_type or "application/json"
_json = None
_content = None
if isinstance(vault_name, (IO, bytes)):
if isinstance(vault_name, (IOBase, bytes)):
_content = vault_name
else:
_json = self._serialize.body(vault_name, "VaultCheckNameAvailabilityParameters")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -536,7 +536,7 @@ class Sku(_serialization.Model):

All required parameters must be populated in order to send to Azure.

:ivar family: SKU family name. Required. "A"
:ivar family: SKU family name. "A"
:vartype family: str or ~azure.mgmt.keyvault.v2016_10_01.models.SkuFamily
:ivar name: SKU name to specify whether the key vault is a standard vault or a premium vault.
Required. Known values are: "standard" and "premium".
Expand All @@ -554,10 +554,10 @@ class Sku(_serialization.Model):
}

def __init__(
self, *, family: Union[str, "_models.SkuFamily"], name: Union[str, "_models.SkuName"], **kwargs: Any
self, *, family: Union[str, "_models.SkuFamily"] = "A", name: Union[str, "_models.SkuName"], **kwargs: Any
) -> None:
"""
:keyword family: SKU family name. Required. "A"
:keyword family: SKU family name. "A"
:paramtype family: str or ~azure.mgmt.keyvault.v2016_10_01.models.SkuFamily
:keyword name: SKU name to specify whether the key vault is a standard vault or a premium
vault. Required. Known values are: "standard" and "premium".
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------
from io import IOBase
import sys
from typing import Any, Callable, Dict, IO, Iterable, Optional, TypeVar, Union, cast, overload
import urllib.parse
Expand Down Expand Up @@ -514,7 +515,7 @@ def create_or_update(
content_type = content_type or "application/json"
_json = None
_content = None
if isinstance(parameters, (IO, bytes)):
if isinstance(parameters, (IOBase, bytes)):
_content = parameters
else:
_json = self._serialize.body(parameters, "VaultCreateOrUpdateParameters")
Expand Down Expand Up @@ -660,7 +661,7 @@ def update(
content_type = content_type or "application/json"
_json = None
_content = None
if isinstance(parameters, (IO, bytes)):
if isinstance(parameters, (IOBase, bytes)):
_content = parameters
else:
_json = self._serialize.body(parameters, "VaultPatchParameters")
Expand Down Expand Up @@ -940,7 +941,7 @@ def update_access_policy(
content_type = content_type or "application/json"
_json = None
_content = None
if isinstance(parameters, (IO, bytes)):
if isinstance(parameters, (IOBase, bytes)):
_content = parameters
else:
_json = self._serialize.body(parameters, "VaultAccessPolicyParameters")
Expand Down Expand Up @@ -1581,7 +1582,7 @@ def check_name_availability(
content_type = content_type or "application/json"
_json = None
_content = None
if isinstance(vault_name, (IO, bytes)):
if isinstance(vault_name, (IOBase, bytes)):
_content = vault_name
else:
_json = self._serialize.body(vault_name, "VaultCheckNameAvailabilityParameters")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------

VERSION = "10.2.1"
VERSION = "1.0.0b1"
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------
from io import IOBase
from typing import Any, Callable, Dict, IO, Optional, TypeVar, Union, cast, overload

from azure.core.exceptions import (
Expand Down Expand Up @@ -232,7 +233,7 @@ async def put(
content_type = content_type or "application/json"
_json = None
_content = None
if isinstance(properties, (IO, bytes)):
if isinstance(properties, (IOBase, bytes)):
_content = properties
else:
_json = self._serialize.body(properties, "PrivateEndpointConnection")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------
from io import IOBase
import sys
from typing import Any, AsyncIterable, Callable, Dict, IO, Optional, TypeVar, Union, cast, overload
import urllib.parse
Expand Down Expand Up @@ -98,7 +99,7 @@ async def _create_or_update_initial(
content_type = content_type or "application/json"
_json = None
_content = None
if isinstance(parameters, (IO, bytes)):
if isinstance(parameters, (IOBase, bytes)):
_content = parameters
else:
_json = self._serialize.body(parameters, "VaultCreateOrUpdateParameters")
Expand Down Expand Up @@ -395,7 +396,7 @@ async def update(
content_type = content_type or "application/json"
_json = None
_content = None
if isinstance(parameters, (IO, bytes)):
if isinstance(parameters, (IOBase, bytes)):
_content = parameters
else:
_json = self._serialize.body(parameters, "VaultPatchParameters")
Expand Down Expand Up @@ -675,7 +676,7 @@ async def update_access_policy(
content_type = content_type or "application/json"
_json = None
_content = None
if isinstance(parameters, (IO, bytes)):
if isinstance(parameters, (IOBase, bytes)):
_content = parameters
else:
_json = self._serialize.body(parameters, "VaultAccessPolicyParameters")
Expand Down Expand Up @@ -1318,7 +1319,7 @@ async def check_name_availability(
content_type = content_type or "application/json"
_json = None
_content = None
if isinstance(vault_name, (IO, bytes)):
if isinstance(vault_name, (IOBase, bytes)):
_content = vault_name
else:
_json = self._serialize.body(vault_name, "VaultCheckNameAvailabilityParameters")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -902,7 +902,7 @@ class Sku(_serialization.Model):

All required parameters must be populated in order to send to Azure.

:ivar family: SKU family name. Required. "A"
:ivar family: SKU family name. "A"
:vartype family: str or ~azure.mgmt.keyvault.v2018_02_14.models.SkuFamily
:ivar name: SKU name to specify whether the key vault is a standard vault or a premium vault.
Required. Known values are: "standard" and "premium".
Expand All @@ -920,10 +920,10 @@ class Sku(_serialization.Model):
}

def __init__(
self, *, family: Union[str, "_models.SkuFamily"], name: Union[str, "_models.SkuName"], **kwargs: Any
self, *, family: Union[str, "_models.SkuFamily"] = "A", name: Union[str, "_models.SkuName"], **kwargs: Any
) -> None:
"""
:keyword family: SKU family name. Required. "A"
:keyword family: SKU family name. "A"
:paramtype family: str or ~azure.mgmt.keyvault.v2018_02_14.models.SkuFamily
:keyword name: SKU name to specify whether the key vault is a standard vault or a premium
vault. Required. Known values are: "standard" and "premium".
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------
from io import IOBase
from typing import Any, Callable, Dict, IO, Optional, TypeVar, Union, cast, overload

from azure.core.exceptions import (
Expand Down Expand Up @@ -348,7 +349,7 @@ def put(
content_type = content_type or "application/json"
_json = None
_content = None
if isinstance(properties, (IO, bytes)):
if isinstance(properties, (IOBase, bytes)):
_content = properties
else:
_json = self._serialize.body(properties, "PrivateEndpointConnection")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------
from io import IOBase
import sys
from typing import Any, Callable, Dict, IO, Iterable, Optional, TypeVar, Union, cast, overload
import urllib.parse
Expand Down Expand Up @@ -439,7 +440,7 @@ def _create_or_update_initial(
content_type = content_type or "application/json"
_json = None
_content = None
if isinstance(parameters, (IO, bytes)):
if isinstance(parameters, (IOBase, bytes)):
_content = parameters
else:
_json = self._serialize.body(parameters, "VaultCreateOrUpdateParameters")
Expand Down Expand Up @@ -736,7 +737,7 @@ def update(
content_type = content_type or "application/json"
_json = None
_content = None
if isinstance(parameters, (IO, bytes)):
if isinstance(parameters, (IOBase, bytes)):
_content = parameters
else:
_json = self._serialize.body(parameters, "VaultPatchParameters")
Expand Down Expand Up @@ -1016,7 +1017,7 @@ def update_access_policy(
content_type = content_type or "application/json"
_json = None
_content = None
if isinstance(parameters, (IO, bytes)):
if isinstance(parameters, (IOBase, bytes)):
_content = parameters
else:
_json = self._serialize.body(parameters, "VaultAccessPolicyParameters")
Expand Down Expand Up @@ -1657,7 +1658,7 @@ def check_name_availability(
content_type = content_type or "application/json"
_json = None
_content = None
if isinstance(vault_name, (IO, bytes)):
if isinstance(vault_name, (IOBase, bytes)):
_content = vault_name
else:
_json = self._serialize.body(vault_name, "VaultCheckNameAvailabilityParameters")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------

VERSION = "10.2.1"
VERSION = "1.0.0b1"
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------
from io import IOBase
from typing import Any, AsyncIterable, Callable, Dict, IO, Optional, TypeVar, Union, overload
import urllib.parse

Expand Down Expand Up @@ -174,7 +175,7 @@ async def create_if_not_exist(
content_type = content_type or "application/json"
_json = None
_content = None
if isinstance(parameters, (IO, bytes)):
if isinstance(parameters, (IOBase, bytes)):
_content = parameters
else:
_json = self._serialize.body(parameters, "KeyCreateParameters")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------
from io import IOBase
from typing import Any, Callable, Dict, IO, Optional, TypeVar, Union, cast, overload

from azure.core.exceptions import (
Expand Down Expand Up @@ -234,7 +235,7 @@ async def put(
content_type = content_type or "application/json"
_json = None
_content = None
if isinstance(properties, (IO, bytes)):
if isinstance(properties, (IOBase, bytes)):
_content = properties
else:
_json = self._serialize.body(properties, "PrivateEndpointConnection")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------
from io import IOBase
import sys
from typing import Any, AsyncIterable, Callable, Dict, IO, Optional, TypeVar, Union, cast, overload
import urllib.parse
Expand Down Expand Up @@ -98,7 +99,7 @@ async def _create_or_update_initial(
content_type = content_type or "application/json"
_json = None
_content = None
if isinstance(parameters, (IO, bytes)):
if isinstance(parameters, (IOBase, bytes)):
_content = parameters
else:
_json = self._serialize.body(parameters, "VaultCreateOrUpdateParameters")
Expand Down Expand Up @@ -395,7 +396,7 @@ async def update(
content_type = content_type or "application/json"
_json = None
_content = None
if isinstance(parameters, (IO, bytes)):
if isinstance(parameters, (IOBase, bytes)):
_content = parameters
else:
_json = self._serialize.body(parameters, "VaultPatchParameters")
Expand Down Expand Up @@ -675,7 +676,7 @@ async def update_access_policy(
content_type = content_type or "application/json"
_json = None
_content = None
if isinstance(parameters, (IO, bytes)):
if isinstance(parameters, (IOBase, bytes)):
_content = parameters
else:
_json = self._serialize.body(parameters, "VaultAccessPolicyParameters")
Expand Down Expand Up @@ -1318,7 +1319,7 @@ async def check_name_availability(
content_type = content_type or "application/json"
_json = None
_content = None
if isinstance(vault_name, (IO, bytes)):
if isinstance(vault_name, (IOBase, bytes)):
_content = vault_name
else:
_json = self._serialize.body(vault_name, "VaultCheckNameAvailabilityParameters")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1433,7 +1433,7 @@ class Sku(_serialization.Model):

All required parameters must be populated in order to send to Azure.

:ivar family: SKU family name. Required. "A"
:ivar family: SKU family name. "A"
:vartype family: str or ~azure.mgmt.keyvault.v2019_09_01.models.SkuFamily
:ivar name: SKU name to specify whether the key vault is a standard vault or a premium vault.
Required. Known values are: "standard" and "premium".
Expand All @@ -1451,10 +1451,10 @@ class Sku(_serialization.Model):
}

def __init__(
self, *, family: Union[str, "_models.SkuFamily"], name: Union[str, "_models.SkuName"], **kwargs: Any
self, *, family: Union[str, "_models.SkuFamily"] = "A", name: Union[str, "_models.SkuName"], **kwargs: Any
) -> None:
"""
:keyword family: SKU family name. Required. "A"
:keyword family: SKU family name. "A"
:paramtype family: str or ~azure.mgmt.keyvault.v2019_09_01.models.SkuFamily
:keyword name: SKU name to specify whether the key vault is a standard vault or a premium
vault. Required. Known values are: "standard" and "premium".
Expand Down
Loading