Skip to content

Commit 197a8e8

Browse files
msyycSDK Automation
andauthored
[T1] databoxedge 2020 11 02 (Azure#14948)
* Generated from 8898939df7fe4210d59727b2ecaa905ad533d4f1 update databoxedge java readme * test,version,changelog * Myservice => Databoxedge Co-authored-by: SDK Automation <[email protected]>
1 parent 4b115f9 commit 197a8e8

File tree

61 files changed

+25388
-54
lines changed

Some content is hidden

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

61 files changed

+25388
-54
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,16 @@
11
# Release History
22

3+
## 0.2.0 (2020-11-02)
4+
5+
**Features**
6+
7+
- Model IoTRole has a new parameter host_platform_type
8+
- Model IoTRole has a new parameter io_tedge_agent_info
9+
- Model Job has a new parameter refreshed_entity_id
10+
- Model MountPointMap has a new parameter mount_type
11+
- Model OrderStatus has a new parameter additional_order_details
12+
- Added operation group ContainersOperations
13+
314
## 0.1.0 (2020-01-08)
415

516
- Initial Release
Lines changed: 11 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,21 @@
1-
## Microsoft Azure SDK for Python
2-
3-
This is the Microsoft Azure MyService Management Client Library.
4-
5-
Azure Resource Manager (ARM) is the next generation of management APIs
6-
that replace the old Azure Service Management (ASM).
1+
# Microsoft Azure SDK for Python
72

3+
This is the Microsoft Azure Databoxedge Management Client Library.
84
This package has been tested with Python 2.7, 3.5, 3.6, 3.7 and 3.8.
5+
For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all).
96

10-
For the older Azure Service Management (ASM) libraries, see
11-
[azure-servicemanagement-legacy](https://pypi.python.org/pypi/azure-servicemanagement-legacy)
12-
library.
137

14-
For a more complete set of Azure libraries, see the
15-
[azure sdk python release](https://aka.ms/azsdk/python/all).
8+
# Usage
169

17-
## Usage
10+
For code examples, see [Databoxedge Management](https://docs.microsoft.com/python/api/overview/azure/)
11+
on docs.microsoft.com.
1812

19-
For code examples, see [MyService
20-
Management](https://docs.microsoft.com/python/api/overview/azure/) on
21-
docs.microsoft.com.
2213

23-
## Provide Feedback
14+
# Provide Feedback
2415

25-
If you encounter any bugs or have suggestions, please file an issue in
26-
the [Issues](https://github.com/Azure/azure-sdk-for-python/issues)
16+
If you encounter any bugs or have suggestions, please file an issue in the
17+
[Issues](https://github.com/Azure/azure-sdk-for-python/issues)
2718
section of the project.
2819

29-
![image](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-python%2Fazure-mgmt-databoxedge%2FREADME.png)
20+
21+
![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-python%2Fazure-mgmt-databoxedge%2FREADME.png)

sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/_data_box_edge_management_client.py

Lines changed: 148 additions & 1 deletion
Large diffs are not rendered by default.

sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44
# Licensed under the MIT License. See License.txt in the project root for
55
# license information.
66
# --------------------------------------------------------------------------
7-
from .v2019_07_01.models import *
7+
from .v2019_08_01.models import *
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
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
5+
# license information.
6+
#
7+
# Code generated by Microsoft (R) AutoRest Code Generator.
8+
# Changes may cause incorrect behavior and will be lost if the code is
9+
# regenerated.
10+
# --------------------------------------------------------------------------
11+
12+
from ._configuration import DataBoxEdgeManagementClientConfiguration
13+
from ._data_box_edge_management_client import DataBoxEdgeManagementClient
14+
__all__ = ['DataBoxEdgeManagementClient', 'DataBoxEdgeManagementClientConfiguration']
15+
16+
from .version import VERSION
17+
18+
__version__ = VERSION
19+
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
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
5+
# license information.
6+
#
7+
# Code generated by Microsoft (R) AutoRest Code Generator.
8+
# Changes may cause incorrect behavior and will be lost if the code is
9+
# regenerated.
10+
# --------------------------------------------------------------------------
11+
from msrestazure import AzureConfiguration
12+
13+
from .version import VERSION
14+
15+
16+
class DataBoxEdgeManagementClientConfiguration(AzureConfiguration):
17+
"""Configuration for DataBoxEdgeManagementClient
18+
Note that all parameters used to create this instance are saved as instance
19+
attributes.
20+
21+
:param credentials: Credentials needed for the client to connect to Azure.
22+
:type credentials: :mod:`A msrestazure Credentials
23+
object<msrestazure.azure_active_directory>`
24+
:param subscription_id: The subscription ID.
25+
:type subscription_id: str
26+
:param str base_url: Service URL
27+
"""
28+
29+
def __init__(
30+
self, credentials, subscription_id, base_url=None):
31+
32+
if credentials is None:
33+
raise ValueError("Parameter 'credentials' must not be None.")
34+
if subscription_id is None:
35+
raise ValueError("Parameter 'subscription_id' must not be None.")
36+
if not base_url:
37+
base_url = 'https://management.azure.com'
38+
39+
super(DataBoxEdgeManagementClientConfiguration, self).__init__(base_url)
40+
41+
# Starting Autorest.Python 4.0.64, make connection pool activated by default
42+
self.keep_alive = True
43+
44+
self.add_user_agent('azure-mgmt-databoxedge/{}'.format(VERSION))
45+
self.add_user_agent('Azure-SDK-For-Python')
46+
47+
self.credentials = credentials
48+
self.subscription_id = subscription_id
Lines changed: 124 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,124 @@
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
5+
# license information.
6+
#
7+
# Code generated by Microsoft (R) AutoRest Code Generator.
8+
# Changes may cause incorrect behavior and will be lost if the code is
9+
# regenerated.
10+
# --------------------------------------------------------------------------
11+
12+
from msrest.service_client import SDKClient
13+
from msrest import Serializer, Deserializer
14+
15+
from ._configuration import DataBoxEdgeManagementClientConfiguration
16+
from .operations import Operations
17+
from .operations import DevicesOperations
18+
from .operations import AlertsOperations
19+
from .operations import BandwidthSchedulesOperations
20+
from .operations import JobsOperations
21+
from .operations import NodesOperations
22+
from .operations import OperationsStatusOperations
23+
from .operations import OrdersOperations
24+
from .operations import RolesOperations
25+
from .operations import SharesOperations
26+
from .operations import StorageAccountCredentialsOperations
27+
from .operations import StorageAccountsOperations
28+
from .operations import ContainersOperations
29+
from .operations import TriggersOperations
30+
from .operations import UsersOperations
31+
from .operations import SkusOperations
32+
from . import models
33+
34+
35+
class DataBoxEdgeManagementClient(SDKClient):
36+
"""DataBoxEdgeManagementClient
37+
38+
:ivar config: Configuration for client.
39+
:vartype config: DataBoxEdgeManagementClientConfiguration
40+
41+
:ivar operations: Operations operations
42+
:vartype operations: azure.mgmt.databoxedge.operations.Operations
43+
:ivar devices: Devices operations
44+
:vartype devices: azure.mgmt.databoxedge.operations.DevicesOperations
45+
:ivar alerts: Alerts operations
46+
:vartype alerts: azure.mgmt.databoxedge.operations.AlertsOperations
47+
:ivar bandwidth_schedules: BandwidthSchedules operations
48+
:vartype bandwidth_schedules: azure.mgmt.databoxedge.operations.BandwidthSchedulesOperations
49+
:ivar jobs: Jobs operations
50+
:vartype jobs: azure.mgmt.databoxedge.operations.JobsOperations
51+
:ivar nodes: Nodes operations
52+
:vartype nodes: azure.mgmt.databoxedge.operations.NodesOperations
53+
:ivar operations_status: OperationsStatus operations
54+
:vartype operations_status: azure.mgmt.databoxedge.operations.OperationsStatusOperations
55+
:ivar orders: Orders operations
56+
:vartype orders: azure.mgmt.databoxedge.operations.OrdersOperations
57+
:ivar roles: Roles operations
58+
:vartype roles: azure.mgmt.databoxedge.operations.RolesOperations
59+
:ivar shares: Shares operations
60+
:vartype shares: azure.mgmt.databoxedge.operations.SharesOperations
61+
:ivar storage_account_credentials: StorageAccountCredentials operations
62+
:vartype storage_account_credentials: azure.mgmt.databoxedge.operations.StorageAccountCredentialsOperations
63+
:ivar storage_accounts: StorageAccounts operations
64+
:vartype storage_accounts: azure.mgmt.databoxedge.operations.StorageAccountsOperations
65+
:ivar containers: Containers operations
66+
:vartype containers: azure.mgmt.databoxedge.operations.ContainersOperations
67+
:ivar triggers: Triggers operations
68+
:vartype triggers: azure.mgmt.databoxedge.operations.TriggersOperations
69+
:ivar users: Users operations
70+
:vartype users: azure.mgmt.databoxedge.operations.UsersOperations
71+
:ivar skus: Skus operations
72+
:vartype skus: azure.mgmt.databoxedge.operations.SkusOperations
73+
74+
:param credentials: Credentials needed for the client to connect to Azure.
75+
:type credentials: :mod:`A msrestazure Credentials
76+
object<msrestazure.azure_active_directory>`
77+
:param subscription_id: The subscription ID.
78+
:type subscription_id: str
79+
:param str base_url: Service URL
80+
"""
81+
82+
def __init__(
83+
self, credentials, subscription_id, base_url=None):
84+
85+
self.config = DataBoxEdgeManagementClientConfiguration(credentials, subscription_id, base_url)
86+
super(DataBoxEdgeManagementClient, self).__init__(self.config.credentials, self.config)
87+
88+
client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)}
89+
self.api_version = '2019-08-01'
90+
self._serialize = Serializer(client_models)
91+
self._deserialize = Deserializer(client_models)
92+
93+
self.operations = Operations(
94+
self._client, self.config, self._serialize, self._deserialize)
95+
self.devices = DevicesOperations(
96+
self._client, self.config, self._serialize, self._deserialize)
97+
self.alerts = AlertsOperations(
98+
self._client, self.config, self._serialize, self._deserialize)
99+
self.bandwidth_schedules = BandwidthSchedulesOperations(
100+
self._client, self.config, self._serialize, self._deserialize)
101+
self.jobs = JobsOperations(
102+
self._client, self.config, self._serialize, self._deserialize)
103+
self.nodes = NodesOperations(
104+
self._client, self.config, self._serialize, self._deserialize)
105+
self.operations_status = OperationsStatusOperations(
106+
self._client, self.config, self._serialize, self._deserialize)
107+
self.orders = OrdersOperations(
108+
self._client, self.config, self._serialize, self._deserialize)
109+
self.roles = RolesOperations(
110+
self._client, self.config, self._serialize, self._deserialize)
111+
self.shares = SharesOperations(
112+
self._client, self.config, self._serialize, self._deserialize)
113+
self.storage_account_credentials = StorageAccountCredentialsOperations(
114+
self._client, self.config, self._serialize, self._deserialize)
115+
self.storage_accounts = StorageAccountsOperations(
116+
self._client, self.config, self._serialize, self._deserialize)
117+
self.containers = ContainersOperations(
118+
self._client, self.config, self._serialize, self._deserialize)
119+
self.triggers = TriggersOperations(
120+
self._client, self.config, self._serialize, self._deserialize)
121+
self.users = UsersOperations(
122+
self._client, self.config, self._serialize, self._deserialize)
123+
self.skus = SkusOperations(
124+
self._client, self.config, self._serialize, self._deserialize)

0 commit comments

Comments
 (0)