Skip to content

Commit f98f85e

Browse files
author
SDKAuto
committed
CodeGen from PR 34078 in Azure/azure-rest-api-specs
Merge 06ca5f58f07af1ccbe838711398d22dcc15277c7 into 5802c95f18bfba1003be50e545d07f8bb679c857
1 parent 9194780 commit f98f85e

File tree

106 files changed

+21281
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

106 files changed

+21281
-0
lines changed

sdk/elestcisan/azure-mgmt-elasticsan/CHANGELOG.md

Lines changed: 192 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
Copyright (c) Microsoft Corporation.
2+
3+
MIT License
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
include _meta.json
2+
recursive-include tests *.py *.json
3+
recursive-include samples *.py *.md
4+
include *.md
5+
include azure/__init__.py
6+
include azure/mgmt/__init__.py
7+
include LICENSE
8+
include azure/mgmt/elasticsan/py.typed
Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
# Microsoft Azure SDK for Python
2+
3+
This is the Microsoft Azure Elasticsan Management Client Library.
4+
This package has been tested with Python 3.9+.
5+
For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all).
6+
7+
## _Disclaimer_
8+
9+
_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_
10+
11+
## Getting started
12+
13+
### Prerequisites
14+
15+
- Python 3.9+ is required to use this package.
16+
- [Azure subscription](https://azure.microsoft.com/free/)
17+
18+
### Install the package
19+
20+
```bash
21+
pip install azure-mgmt-elasticsan
22+
pip install azure-identity
23+
```
24+
25+
### Authentication
26+
27+
By default, [Azure Active Directory](https://aka.ms/awps/aad) token authentication depends on correct configuration of the following environment variables.
28+
29+
- `AZURE_CLIENT_ID` for Azure client ID.
30+
- `AZURE_TENANT_ID` for Azure tenant ID.
31+
- `AZURE_CLIENT_SECRET` for Azure client secret.
32+
33+
In addition, Azure subscription ID can be configured via environment variable `AZURE_SUBSCRIPTION_ID`.
34+
35+
With above configuration, client can be authenticated by following code:
36+
37+
```python
38+
from azure.identity import DefaultAzureCredential
39+
from azure.mgmt.elasticsan import ElasticSanClient
40+
import os
41+
42+
sub_id = os.getenv("AZURE_SUBSCRIPTION_ID")
43+
client = ElasticSanClient(credential=DefaultAzureCredential(), subscription_id=sub_id)
44+
```
45+
46+
## Examples
47+
48+
Code samples for this package can be found at:
49+
- [Search Elasticsan Management](https://docs.microsoft.com/samples/browse/?languages=python&term=Getting%20started%20-%20Managing&terms=Getting%20started%20-%20Managing) on docs.microsoft.com
50+
- [Azure Python Mgmt SDK Samples Repo](https://aka.ms/azsdk/python/mgmt/samples)
51+
52+
53+
## Troubleshooting
54+
55+
## Next steps
56+
57+
## Provide Feedback
58+
59+
If you encounter any bugs or have suggestions, please file an issue in the
60+
[Issues](https://github.com/Azure/azure-sdk-for-python/issues)
61+
section of the project.
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"commit": "6257293fea6a26febbcfcd926b84c261f3bb2958",
3+
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
4+
"typespec_src": "specification/elasticsan/ElasticSan.Management",
5+
"@azure-tools/typespec-python": "0.44.2"
6+
}
Lines changed: 135 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,135 @@
1+
{
2+
"CrossLanguagePackageId": "Microsoft.ElasticSan",
3+
"CrossLanguageDefinitionId": {
4+
"azure.mgmt.elasticsan.models.AutoScaleProperties": "Microsoft.ElasticSan.AutoScaleProperties",
5+
"azure.mgmt.elasticsan.models.DeleteRetentionPolicy": "Microsoft.ElasticSan.DeleteRetentionPolicy",
6+
"azure.mgmt.elasticsan.models.DiskSnapshotList": "Microsoft.ElasticSan.DiskSnapshotList",
7+
"azure.mgmt.elasticsan.models.Resource": "Azure.ResourceManager.CommonTypes.Resource",
8+
"azure.mgmt.elasticsan.models.TrackedResource": "Azure.ResourceManager.CommonTypes.TrackedResource",
9+
"azure.mgmt.elasticsan.models.ElasticSan": "Microsoft.ElasticSan.ElasticSan",
10+
"azure.mgmt.elasticsan.models.ElasticSanProperties": "Microsoft.ElasticSan.ElasticSanProperties",
11+
"azure.mgmt.elasticsan.models.ElasticSanUpdate": "Microsoft.ElasticSan.ElasticSanUpdate",
12+
"azure.mgmt.elasticsan.models.ElasticSanUpdateProperties": "Microsoft.ElasticSan.ElasticSanUpdateProperties",
13+
"azure.mgmt.elasticsan.models.EncryptionIdentity": "Microsoft.ElasticSan.EncryptionIdentity",
14+
"azure.mgmt.elasticsan.models.EncryptionProperties": "Microsoft.ElasticSan.EncryptionProperties",
15+
"azure.mgmt.elasticsan.models.ErrorAdditionalInfo": "Azure.ResourceManager.CommonTypes.ErrorAdditionalInfo",
16+
"azure.mgmt.elasticsan.models.ErrorDetail": "Azure.ResourceManager.CommonTypes.ErrorDetail",
17+
"azure.mgmt.elasticsan.models.ErrorResponse": "Azure.ResourceManager.CommonTypes.ErrorResponse",
18+
"azure.mgmt.elasticsan.models.Identity": "Microsoft.ElasticSan.Identity",
19+
"azure.mgmt.elasticsan.models.IscsiTargetInfo": "Microsoft.ElasticSan.IscsiTargetInfo",
20+
"azure.mgmt.elasticsan.models.KeyVaultProperties": "Microsoft.ElasticSan.KeyVaultProperties",
21+
"azure.mgmt.elasticsan.models.ManagedByInfo": "Microsoft.ElasticSan.ManagedByInfo",
22+
"azure.mgmt.elasticsan.models.NetworkRuleSet": "Microsoft.ElasticSan.NetworkRuleSet",
23+
"azure.mgmt.elasticsan.models.Operation": "Azure.ResourceManager.CommonTypes.Operation",
24+
"azure.mgmt.elasticsan.models.OperationDisplay": "Azure.ResourceManager.CommonTypes.OperationDisplay",
25+
"azure.mgmt.elasticsan.models.PreValidationResponse": "Microsoft.ElasticSan.PreValidationResponse",
26+
"azure.mgmt.elasticsan.models.PrivateEndpoint": "Microsoft.ElasticSan.PrivateEndpoint",
27+
"azure.mgmt.elasticsan.models.ProxyResource": "Azure.ResourceManager.CommonTypes.ProxyResource",
28+
"azure.mgmt.elasticsan.models.PrivateEndpointConnection": "Microsoft.ElasticSan.PrivateEndpointConnection",
29+
"azure.mgmt.elasticsan.models.PrivateEndpointConnectionProperties": "Microsoft.ElasticSan.PrivateEndpointConnectionProperties",
30+
"azure.mgmt.elasticsan.models.PrivateLinkResource": "Microsoft.ElasticSan.PrivateLinkResource",
31+
"azure.mgmt.elasticsan.models.PrivateLinkResourceProperties": "Microsoft.ElasticSan.PrivateLinkResourceProperties",
32+
"azure.mgmt.elasticsan.models.PrivateLinkServiceConnectionState": "Microsoft.ElasticSan.PrivateLinkServiceConnectionState",
33+
"azure.mgmt.elasticsan.models.ScaleUpProperties": "Microsoft.ElasticSan.ScaleUpProperties",
34+
"azure.mgmt.elasticsan.models.Sku": "Microsoft.ElasticSan.Sku",
35+
"azure.mgmt.elasticsan.models.SKUCapability": "Microsoft.ElasticSan.SKUCapability",
36+
"azure.mgmt.elasticsan.models.SkuInformation": "Microsoft.ElasticSan.SkuInformation",
37+
"azure.mgmt.elasticsan.models.SkuLocationInfo": "Microsoft.ElasticSan.SkuLocationInfo",
38+
"azure.mgmt.elasticsan.models.Snapshot": "Microsoft.ElasticSan.Snapshot",
39+
"azure.mgmt.elasticsan.models.SnapshotCreationData": "Microsoft.ElasticSan.SnapshotCreationData",
40+
"azure.mgmt.elasticsan.models.SnapshotProperties": "Microsoft.ElasticSan.SnapshotProperties",
41+
"azure.mgmt.elasticsan.models.SourceCreationData": "Microsoft.ElasticSan.SourceCreationData",
42+
"azure.mgmt.elasticsan.models.SystemData": "Azure.ResourceManager.CommonTypes.SystemData",
43+
"azure.mgmt.elasticsan.models.UserAssignedIdentity": "Microsoft.ElasticSan.UserAssignedIdentity",
44+
"azure.mgmt.elasticsan.models.VirtualNetworkRule": "Microsoft.ElasticSan.VirtualNetworkRule",
45+
"azure.mgmt.elasticsan.models.Volume": "Microsoft.ElasticSan.Volume",
46+
"azure.mgmt.elasticsan.models.VolumeGroup": "Microsoft.ElasticSan.VolumeGroup",
47+
"azure.mgmt.elasticsan.models.VolumeGroupProperties": "Microsoft.ElasticSan.VolumeGroupProperties",
48+
"azure.mgmt.elasticsan.models.VolumeGroupUpdate": "Microsoft.ElasticSan.VolumeGroupUpdate",
49+
"azure.mgmt.elasticsan.models.VolumeGroupUpdateProperties": "Microsoft.ElasticSan.VolumeGroupUpdateProperties",
50+
"azure.mgmt.elasticsan.models.VolumeNameList": "Microsoft.ElasticSan.VolumeNameList",
51+
"azure.mgmt.elasticsan.models.VolumeProperties": "Microsoft.ElasticSan.VolumeProperties",
52+
"azure.mgmt.elasticsan.models.VolumeUpdate": "Microsoft.ElasticSan.VolumeUpdate",
53+
"azure.mgmt.elasticsan.models.VolumeUpdateProperties": "Microsoft.ElasticSan.VolumeUpdateProperties",
54+
"azure.mgmt.elasticsan.models.Origin": "Azure.ResourceManager.CommonTypes.Origin",
55+
"azure.mgmt.elasticsan.models.ActionType": "Azure.ResourceManager.CommonTypes.ActionType",
56+
"azure.mgmt.elasticsan.models.CreatedByType": "Azure.ResourceManager.CommonTypes.createdByType",
57+
"azure.mgmt.elasticsan.models.SkuName": "Microsoft.ElasticSan.SkuName",
58+
"azure.mgmt.elasticsan.models.SkuTier": "Microsoft.ElasticSan.SkuTier",
59+
"azure.mgmt.elasticsan.models.ProvisioningStates": "Microsoft.ElasticSan.ProvisioningStates",
60+
"azure.mgmt.elasticsan.models.PrivateEndpointServiceConnectionStatus": "Microsoft.ElasticSan.PrivateEndpointServiceConnectionStatus",
61+
"azure.mgmt.elasticsan.models.PublicNetworkAccess": "Microsoft.ElasticSan.PublicNetworkAccess",
62+
"azure.mgmt.elasticsan.models.AutoScalePolicyEnforcement": "Microsoft.ElasticSan.AutoScalePolicyEnforcement",
63+
"azure.mgmt.elasticsan.models.IdentityType": "Microsoft.ElasticSan.IdentityType",
64+
"azure.mgmt.elasticsan.models.StorageTargetType": "Microsoft.ElasticSan.StorageTargetType",
65+
"azure.mgmt.elasticsan.models.EncryptionType": "Microsoft.ElasticSan.EncryptionType",
66+
"azure.mgmt.elasticsan.models.Action": "Microsoft.ElasticSan.Action",
67+
"azure.mgmt.elasticsan.models.PolicyState": "Microsoft.ElasticSan.PolicyState",
68+
"azure.mgmt.elasticsan.models.X_ms_access_soft_deleted_resources": "Microsoft.ElasticSan.x-ms-access-soft-deleted-resources",
69+
"azure.mgmt.elasticsan.models.VolumeCreateOption": "Microsoft.ElasticSan.VolumeCreateOption",
70+
"azure.mgmt.elasticsan.models.OperationalStatus": "Microsoft.ElasticSan.OperationalStatus",
71+
"azure.mgmt.elasticsan.models.X_ms_delete_snapshots": "Microsoft.ElasticSan.x-ms-delete-snapshots",
72+
"azure.mgmt.elasticsan.models.X_ms_force_delete": "Microsoft.ElasticSan.x-ms-force-delete",
73+
"azure.mgmt.elasticsan.models.DeleteType": "Microsoft.ElasticSan.DeleteType",
74+
"azure.mgmt.elasticsan.operations.Operations.list": "Azure.ResourceManager.Operations.list",
75+
"azure.mgmt.elasticsan.aio.operations.Operations.list": "Azure.ResourceManager.Operations.list",
76+
"azure.mgmt.elasticsan.operations.ElasticSansOperations.get": "Microsoft.ElasticSan.ElasticSans.get",
77+
"azure.mgmt.elasticsan.aio.operations.ElasticSansOperations.get": "Microsoft.ElasticSan.ElasticSans.get",
78+
"azure.mgmt.elasticsan.operations.ElasticSansOperations.begin_create": "Microsoft.ElasticSan.ElasticSans.create",
79+
"azure.mgmt.elasticsan.aio.operations.ElasticSansOperations.begin_create": "Microsoft.ElasticSan.ElasticSans.create",
80+
"azure.mgmt.elasticsan.operations.ElasticSansOperations.begin_update": "Microsoft.ElasticSan.ElasticSans.update",
81+
"azure.mgmt.elasticsan.aio.operations.ElasticSansOperations.begin_update": "Microsoft.ElasticSan.ElasticSans.update",
82+
"azure.mgmt.elasticsan.operations.ElasticSansOperations.begin_delete": "Microsoft.ElasticSan.ElasticSans.delete",
83+
"azure.mgmt.elasticsan.aio.operations.ElasticSansOperations.begin_delete": "Microsoft.ElasticSan.ElasticSans.delete",
84+
"azure.mgmt.elasticsan.operations.ElasticSansOperations.list_by_resource_group": "Microsoft.ElasticSan.ElasticSans.listByResourceGroup",
85+
"azure.mgmt.elasticsan.aio.operations.ElasticSansOperations.list_by_resource_group": "Microsoft.ElasticSan.ElasticSans.listByResourceGroup",
86+
"azure.mgmt.elasticsan.operations.ElasticSansOperations.list_by_subscription": "Microsoft.ElasticSan.ElasticSans.listBySubscription",
87+
"azure.mgmt.elasticsan.aio.operations.ElasticSansOperations.list_by_subscription": "Microsoft.ElasticSan.ElasticSans.listBySubscription",
88+
"azure.mgmt.elasticsan.operations.ElasticSansOperations.list_by_elastic_san": "Microsoft.ElasticSan.ElasticSans.listByElasticSan",
89+
"azure.mgmt.elasticsan.aio.operations.ElasticSansOperations.list_by_elastic_san": "Microsoft.ElasticSan.ElasticSans.listByElasticSan",
90+
"azure.mgmt.elasticsan.operations.PrivateEndpointConnectionsOperations.get": "Microsoft.ElasticSan.PrivateEndpointConnections.get",
91+
"azure.mgmt.elasticsan.aio.operations.PrivateEndpointConnectionsOperations.get": "Microsoft.ElasticSan.PrivateEndpointConnections.get",
92+
"azure.mgmt.elasticsan.operations.PrivateEndpointConnectionsOperations.begin_create": "Microsoft.ElasticSan.PrivateEndpointConnections.create",
93+
"azure.mgmt.elasticsan.aio.operations.PrivateEndpointConnectionsOperations.begin_create": "Microsoft.ElasticSan.PrivateEndpointConnections.create",
94+
"azure.mgmt.elasticsan.operations.PrivateEndpointConnectionsOperations.begin_delete": "Microsoft.ElasticSan.PrivateEndpointConnections.delete",
95+
"azure.mgmt.elasticsan.aio.operations.PrivateEndpointConnectionsOperations.begin_delete": "Microsoft.ElasticSan.PrivateEndpointConnections.delete",
96+
"azure.mgmt.elasticsan.operations.PrivateEndpointConnectionsOperations.list": "Microsoft.ElasticSan.PrivateEndpointConnections.list",
97+
"azure.mgmt.elasticsan.aio.operations.PrivateEndpointConnectionsOperations.list": "Microsoft.ElasticSan.PrivateEndpointConnections.list",
98+
"azure.mgmt.elasticsan.operations.VolumeGroupsOperations.get": "Microsoft.ElasticSan.VolumeGroups.get",
99+
"azure.mgmt.elasticsan.aio.operations.VolumeGroupsOperations.get": "Microsoft.ElasticSan.VolumeGroups.get",
100+
"azure.mgmt.elasticsan.operations.VolumeGroupsOperations.begin_create": "Microsoft.ElasticSan.VolumeGroups.create",
101+
"azure.mgmt.elasticsan.aio.operations.VolumeGroupsOperations.begin_create": "Microsoft.ElasticSan.VolumeGroups.create",
102+
"azure.mgmt.elasticsan.operations.VolumeGroupsOperations.begin_update": "Microsoft.ElasticSan.VolumeGroups.update",
103+
"azure.mgmt.elasticsan.aio.operations.VolumeGroupsOperations.begin_update": "Microsoft.ElasticSan.VolumeGroups.update",
104+
"azure.mgmt.elasticsan.operations.VolumeGroupsOperations.begin_delete": "Microsoft.ElasticSan.VolumeGroups.delete",
105+
"azure.mgmt.elasticsan.aio.operations.VolumeGroupsOperations.begin_delete": "Microsoft.ElasticSan.VolumeGroups.delete",
106+
"azure.mgmt.elasticsan.operations.VolumeGroupsOperations.list_by_elastic_san": "Microsoft.ElasticSan.VolumeGroups.listByElasticSan",
107+
"azure.mgmt.elasticsan.aio.operations.VolumeGroupsOperations.list_by_elastic_san": "Microsoft.ElasticSan.VolumeGroups.listByElasticSan",
108+
"azure.mgmt.elasticsan.operations.VolumeGroupsOperations.begin_pre_backup": "Microsoft.ElasticSan.VolumeGroups.preBackup",
109+
"azure.mgmt.elasticsan.aio.operations.VolumeGroupsOperations.begin_pre_backup": "Microsoft.ElasticSan.VolumeGroups.preBackup",
110+
"azure.mgmt.elasticsan.operations.VolumeGroupsOperations.begin_pre_restore": "Microsoft.ElasticSan.VolumeGroups.preRestore",
111+
"azure.mgmt.elasticsan.aio.operations.VolumeGroupsOperations.begin_pre_restore": "Microsoft.ElasticSan.VolumeGroups.preRestore",
112+
"azure.mgmt.elasticsan.operations.VolumesOperations.get": "Microsoft.ElasticSan.Volumes.get",
113+
"azure.mgmt.elasticsan.aio.operations.VolumesOperations.get": "Microsoft.ElasticSan.Volumes.get",
114+
"azure.mgmt.elasticsan.operations.VolumesOperations.begin_create": "Microsoft.ElasticSan.Volumes.create",
115+
"azure.mgmt.elasticsan.aio.operations.VolumesOperations.begin_create": "Microsoft.ElasticSan.Volumes.create",
116+
"azure.mgmt.elasticsan.operations.VolumesOperations.begin_update": "Microsoft.ElasticSan.Volumes.update",
117+
"azure.mgmt.elasticsan.aio.operations.VolumesOperations.begin_update": "Microsoft.ElasticSan.Volumes.update",
118+
"azure.mgmt.elasticsan.operations.VolumesOperations.begin_delete": "Microsoft.ElasticSan.Volumes.delete",
119+
"azure.mgmt.elasticsan.aio.operations.VolumesOperations.begin_delete": "Microsoft.ElasticSan.Volumes.delete",
120+
"azure.mgmt.elasticsan.operations.VolumesOperations.list_by_volume_group": "Microsoft.ElasticSan.Volumes.listByVolumeGroup",
121+
"azure.mgmt.elasticsan.aio.operations.VolumesOperations.list_by_volume_group": "Microsoft.ElasticSan.Volumes.listByVolumeGroup",
122+
"azure.mgmt.elasticsan.operations.VolumesOperations.begin_restore_volume": "Microsoft.ElasticSan.Volumes.restoreVolume",
123+
"azure.mgmt.elasticsan.aio.operations.VolumesOperations.begin_restore_volume": "Microsoft.ElasticSan.Volumes.restoreVolume",
124+
"azure.mgmt.elasticsan.operations.SnapshotsOperations.get": "Microsoft.ElasticSan.Snapshots.get",
125+
"azure.mgmt.elasticsan.aio.operations.SnapshotsOperations.get": "Microsoft.ElasticSan.Snapshots.get",
126+
"azure.mgmt.elasticsan.operations.SnapshotsOperations.begin_create": "Microsoft.ElasticSan.Snapshots.create",
127+
"azure.mgmt.elasticsan.aio.operations.SnapshotsOperations.begin_create": "Microsoft.ElasticSan.Snapshots.create",
128+
"azure.mgmt.elasticsan.operations.SnapshotsOperations.begin_delete": "Microsoft.ElasticSan.Snapshots.delete",
129+
"azure.mgmt.elasticsan.aio.operations.SnapshotsOperations.begin_delete": "Microsoft.ElasticSan.Snapshots.delete",
130+
"azure.mgmt.elasticsan.operations.SnapshotsOperations.list_by_volume_group": "Microsoft.ElasticSan.Snapshots.listByVolumeGroup",
131+
"azure.mgmt.elasticsan.aio.operations.SnapshotsOperations.list_by_volume_group": "Microsoft.ElasticSan.Snapshots.listByVolumeGroup",
132+
"azure.mgmt.elasticsan.operations.SkusOperationGroupOperations.list": "Microsoft.ElasticSan.SkusOperationGroup.list",
133+
"azure.mgmt.elasticsan.aio.operations.SkusOperationGroupOperations.list": "Microsoft.ElasticSan.SkusOperationGroup.list"
134+
}
135+
}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
__path__ = __import__("pkgutil").extend_path(__path__, __name__)
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
__path__ = __import__("pkgutil").extend_path(__path__, __name__)
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# coding=utf-8
2+
# --------------------------------------------------------------------------
3+
# Copyright (c) Microsoft Corporation. All rights reserved.
4+
# Licensed under the MIT License. See License.txt in the project root for license information.
5+
# Code generated by Microsoft (R) Python Code Generator.
6+
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
7+
# --------------------------------------------------------------------------
8+
# pylint: disable=wrong-import-position
9+
10+
from typing import TYPE_CHECKING
11+
12+
if TYPE_CHECKING:
13+
from ._patch import * # pylint: disable=unused-wildcard-import
14+
15+
from ._client import ElasticSanClient # type: ignore
16+
from ._version import VERSION
17+
18+
__version__ = VERSION
19+
20+
try:
21+
from ._patch import __all__ as _patch_all
22+
from ._patch import *
23+
except ImportError:
24+
_patch_all = []
25+
from ._patch import patch_sdk as _patch_sdk
26+
27+
__all__ = [
28+
"ElasticSanClient",
29+
]
30+
__all__.extend([p for p in _patch_all if p not in __all__]) # pyright: ignore
31+
32+
_patch_sdk()

0 commit comments

Comments
 (0)