Skip to content

Commit 5fd98b9

Browse files
author
SDK Automation
committed
Generated from 0d5c9a740ab59b58b731d1b8575292a8833827e4
1 parent 13e5767 commit 5fd98b9

File tree

17 files changed

+1601
-97
lines changed

17 files changed

+1601
-97
lines changed

sdk/keyvault/azure-mgmt-keyvault/README.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,14 @@ For a more complete view of Azure libraries, see the [azure sdk python release](
77

88
# Usage
99

10-
For code examples, see [MyService Management](https://docs.microsoft.com/python/api/overview/azure/?view=azure-python-preview)
11-
on docs.microsoft.com.
10+
11+
To learn how to use this package, see the [quickstart guide](https://aka.ms/azsdk/python/mgmt)
12+
13+
14+
15+
For docs and references, see [Python SDK References](https://docs.microsoft.com/python/api/overview/azure/?view=azure-python-preview)
16+
Code samples for this package can be found at [MyService Management](https://docs.microsoft.com/samples/azure-samples/azure-samples-python-management/?view=azure-python-preview) on docs.microsoft.com.
17+
Additional code samples for different Azure services are available at [Samples Repo](https://aka.ms/azsdk/python/mgmt/samples)
1218

1319

1420
# Provide Feedback

sdk/keyvault/azure-mgmt-keyvault/azure/mgmt/keyvault/_key_vault_management_client.py

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,19 @@ def models(cls, api_version=DEFAULT_API_VERSION):
100100
return models
101101
raise ValueError("API version {} is not available".format(api_version))
102102

103+
@property
104+
def keys(self):
105+
"""Instance depends on the API version:
106+
107+
* 2019-09-01: :class:`KeysOperations<azure.mgmt.keyvault.v2019_09_01.operations.KeysOperations>`
108+
"""
109+
api_version = self._get_api_version('keys')
110+
if api_version == '2019-09-01':
111+
from .v2019_09_01.operations import KeysOperations as OperationClass
112+
else:
113+
raise ValueError("API version {} does not have operation group 'keys'".format(api_version))
114+
return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)))
115+
103116
@property
104117
def managed_hsms(self):
105118
"""Instance depends on the API version:

sdk/keyvault/azure-mgmt-keyvault/azure/mgmt/keyvault/aio/_key_vault_management_client.py

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,19 @@ def models(cls, api_version=DEFAULT_API_VERSION):
100100
return models
101101
raise ValueError("API version {} is not available".format(api_version))
102102

103+
@property
104+
def keys(self):
105+
"""Instance depends on the API version:
106+
107+
* 2019-09-01: :class:`KeysOperations<azure.mgmt.keyvault.v2019_09_01.aio.operations.KeysOperations>`
108+
"""
109+
api_version = self._get_api_version('keys')
110+
if api_version == '2019-09-01':
111+
from ..v2019_09_01.aio.operations import KeysOperations as OperationClass
112+
else:
113+
raise ValueError("API version {} does not have operation group 'keys'".format(api_version))
114+
return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)))
115+
103116
@property
104117
def managed_hsms(self):
105118
"""Instance depends on the API version:

sdk/keyvault/azure-mgmt-keyvault/azure/mgmt/keyvault/v2019_09_01/_key_vault_management_client.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
from .operations import PrivateEndpointConnectionsOperations
2323
from .operations import PrivateLinkResourcesOperations
2424
from .operations import Operations
25+
from .operations import KeysOperations
2526
from . import models
2627

2728

@@ -36,6 +37,8 @@ class KeyVaultManagementClient(object):
3637
:vartype private_link_resources: azure.mgmt.keyvault.v2019_09_01.operations.PrivateLinkResourcesOperations
3738
:ivar operations: Operations operations
3839
:vartype operations: azure.mgmt.keyvault.v2019_09_01.operations.Operations
40+
:ivar keys: KeysOperations operations
41+
:vartype keys: azure.mgmt.keyvault.v2019_09_01.operations.KeysOperations
3942
:param credential: Credential needed for the client to connect to Azure.
4043
:type credential: ~azure.core.credentials.TokenCredential
4144
:param subscription_id: Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.
@@ -69,6 +72,8 @@ def __init__(
6972
self._client, self._config, self._serialize, self._deserialize)
7073
self.operations = Operations(
7174
self._client, self._config, self._serialize, self._deserialize)
75+
self.keys = KeysOperations(
76+
self._client, self._config, self._serialize, self._deserialize)
7277

7378
def close(self):
7479
# type: () -> None

sdk/keyvault/azure-mgmt-keyvault/azure/mgmt/keyvault/v2019_09_01/_metadata.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,8 @@
5454
"vaults": "VaultsOperations",
5555
"private_endpoint_connections": "PrivateEndpointConnectionsOperations",
5656
"private_link_resources": "PrivateLinkResourcesOperations",
57-
"operations": "Operations"
57+
"operations": "Operations",
58+
"keys": "KeysOperations"
5859
},
5960
"operation_mixins": {
6061
},

sdk/keyvault/azure-mgmt-keyvault/azure/mgmt/keyvault/v2019_09_01/aio/_key_vault_management_client.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
from .operations import PrivateEndpointConnectionsOperations
2121
from .operations import PrivateLinkResourcesOperations
2222
from .operations import Operations
23+
from .operations import KeysOperations
2324
from .. import models
2425

2526

@@ -34,6 +35,8 @@ class KeyVaultManagementClient(object):
3435
:vartype private_link_resources: azure.mgmt.keyvault.v2019_09_01.aio.operations.PrivateLinkResourcesOperations
3536
:ivar operations: Operations operations
3637
:vartype operations: azure.mgmt.keyvault.v2019_09_01.aio.operations.Operations
38+
:ivar keys: KeysOperations operations
39+
:vartype keys: azure.mgmt.keyvault.v2019_09_01.aio.operations.KeysOperations
3740
:param credential: Credential needed for the client to connect to Azure.
3841
:type credential: ~azure.core.credentials_async.AsyncTokenCredential
3942
:param subscription_id: Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.
@@ -66,6 +69,8 @@ def __init__(
6669
self._client, self._config, self._serialize, self._deserialize)
6770
self.operations = Operations(
6871
self._client, self._config, self._serialize, self._deserialize)
72+
self.keys = KeysOperations(
73+
self._client, self._config, self._serialize, self._deserialize)
6974

7075
async def close(self) -> None:
7176
await self._client.close()

sdk/keyvault/azure-mgmt-keyvault/azure/mgmt/keyvault/v2019_09_01/aio/operations/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,12 @@
1010
from ._private_endpoint_connections_operations import PrivateEndpointConnectionsOperations
1111
from ._private_link_resources_operations import PrivateLinkResourcesOperations
1212
from ._operations import Operations
13+
from ._keys_operations import KeysOperations
1314

1415
__all__ = [
1516
'VaultsOperations',
1617
'PrivateEndpointConnectionsOperations',
1718
'PrivateLinkResourcesOperations',
1819
'Operations',
20+
'KeysOperations',
1921
]

0 commit comments

Comments
 (0)