You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* updated keyvault
* preview.7
* 5.1.0-preview.1
* [T2 aiotest] keyvault (#11646)
* add aio test for keyvault
* add .result for async poller
* aiohttp
* fixing async test
* add random group name (#11909)
* changelog and version
* fixed changelog
Co-authored-by: Kerwin Sun <[email protected]>
Copy file name to clipboardExpand all lines: sdk/keyvault/azure-mgmt-keyvault/CHANGELOG.md
+31
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,36 @@
1
1
# Release History
2
2
3
+
## 7.0.0b1 (2020-06-17)
4
+
5
+
This is beta preview version.
6
+
For detailed changelog please refer to equivalent stable version 2.2.0 (https://pypi.org/project/azure-mgmt-keyvault/2.2.0/)
7
+
8
+
This version uses a next-generation code generator that introduces important breaking changes, but also important new features (like unified authentication and async programming).
9
+
10
+
**General breaking changes**
11
+
12
+
- Credential system has been completly revamped:
13
+
14
+
-`azure.common.credentials` or `msrestazure.azure_active_directory` instances are no longer supported, use the `azure-identity` classes instead: https://pypi.org/project/azure-identity/
15
+
-`credentials` parameter has been renamed `credential`
16
+
17
+
- The `config` attribute no longer exists on a client, configuration should be passed as kwarg. Example: `MyClient(credential, subscription_id, enable_logging=True)`. For a complete set of
18
+
supported options, see the [parameters accept in init documentation of azure-core](https://github.com/Azure/azure-sdk-for-python/blob/master/sdk/core/azure-core/CLIENT_LIBRARY_DEVELOPER.md#available-policies)
19
+
- You can't import a `version` module anymore, use `__version__` instead
20
+
- Operations that used to return a `msrest.polling.LROPoller` now returns a `azure.core.polling.LROPoller` and are prefixed with `begin_`.
21
+
- Exceptions tree have been simplified and most exceptions are now `azure.core.exceptions.HttpResponseError` (`CloudError` has been removed).
22
+
- Most of the operation kwarg have changed. Some of the most noticeable:
23
+
24
+
-`raw` has been removed. Equivalent feature can be found using `cls`, a callback that will give access to internal HTTP response for advanced user
25
+
- For a complete set of
26
+
supported options, see the [parameters accept in Request documentation of azure-core](https://github.com/Azure/azure-sdk-for-python/blob/master/sdk/core/azure-core/CLIENT_LIBRARY_DEVELOPER.md#available-policies)
27
+
28
+
**General new features**
29
+
30
+
- Type annotations support using `typing`. SDKs are mypy ready.
31
+
- This client has now stable and official support for async. Check the `aio` namespace of your package to find the async client.
32
+
- This client now support natively tracing library like OpenCensus or OpenTelemetry. See this [tracing quickstart](https://github.com/Azure/azure-sdk-for-python/tree/master/sdk/core/azure-core-tracing-opentelemetry) for an overview.
:param subscription_id: Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.
:param subscription_id: Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.
41
40
:type subscription_id: str
42
41
:param str api_version: API version to use if no profile is provided, or if
43
42
missing in profile.
44
43
:param str base_url: Service URL
45
44
:param profile: A profile definition, from KnownProfiles to dict.
46
45
:type profile: azure.profiles.KnownProfiles
46
+
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.
47
47
"""
48
48
49
49
DEFAULT_API_VERSION='2019-09-01'
@@ -55,11 +55,22 @@ class KeyVaultManagementClient(MultiApiClientMixin, SDKClient):
:param subscription_id: Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.
28
+
:type subscription_id: str
29
+
"""
30
+
31
+
def__init__(
32
+
self,
33
+
credential, # type: "AsyncTokenCredential"
34
+
subscription_id, # type: str
35
+
**kwargs# type: Any
36
+
) ->None:
37
+
# type: (...) -> None
38
+
ifcredentialisNone:
39
+
raiseValueError("Parameter 'credential' must not be None.")
40
+
ifsubscription_idisNone:
41
+
raiseValueError("Parameter 'subscription_id' must not be None.")
0 commit comments