-
Notifications
You must be signed in to change notification settings - Fork 3.2k
[T1] databoxedge 2020 11 02 #14948
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
[T1] databoxedge 2020 11 02 #14948
Changes from 2 commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,16 @@ | ||
| # Release History | ||
|
|
||
| ## 0.2.0 (2020-11-02) | ||
|
|
||
| **Features** | ||
|
|
||
| - Model IoTRole has a new parameter host_platform_type | ||
| - Model IoTRole has a new parameter io_tedge_agent_info | ||
| - Model Job has a new parameter refreshed_entity_id | ||
| - Model MountPointMap has a new parameter mount_type | ||
| - Model OrderStatus has a new parameter additional_order_details | ||
| - Added operation group ContainersOperations | ||
|
|
||
| ## 0.1.0 (2020-01-08) | ||
|
|
||
| - Initial Release |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,29 +1,21 @@ | ||
| ## Microsoft Azure SDK for Python | ||
| # Microsoft Azure SDK for Python | ||
|
|
||
| This is the Microsoft Azure MyService Management Client Library. | ||
|
|
||
| Azure Resource Manager (ARM) is the next generation of management APIs | ||
| that replace the old Azure Service Management (ASM). | ||
|
|
||
| This package has been tested with Python 2.7, 3.5, 3.6, 3.7 and 3.8. | ||
| For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). | ||
|
|
||
| For the older Azure Service Management (ASM) libraries, see | ||
| [azure-servicemanagement-legacy](https://pypi.python.org/pypi/azure-servicemanagement-legacy) | ||
| library. | ||
|
|
||
| For a more complete set of Azure libraries, see the | ||
| [azure sdk python release](https://aka.ms/azsdk/python/all). | ||
| # Usage | ||
|
|
||
| ## Usage | ||
| For code examples, see [MyService Management](https://docs.microsoft.com/python/api/overview/azure/) | ||
| on docs.microsoft.com. | ||
|
|
||
| For code examples, see [MyService | ||
| Management](https://docs.microsoft.com/python/api/overview/azure/) on | ||
| docs.microsoft.com. | ||
|
|
||
| ## Provide Feedback | ||
| # Provide Feedback | ||
|
|
||
| If you encounter any bugs or have suggestions, please file an issue in | ||
| the [Issues](https://github.com/Azure/azure-sdk-for-python/issues) | ||
| If you encounter any bugs or have suggestions, please file an issue in the | ||
| [Issues](https://github.com/Azure/azure-sdk-for-python/issues) | ||
| section of the project. | ||
|
|
||
|  | ||
|
|
||
|  | ||
149 changes: 148 additions & 1 deletion
149
...boxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/_data_box_edge_management_client.py
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_08_01/__init__.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,19 @@ | ||
| # coding=utf-8 | ||
| # -------------------------------------------------------------------------- | ||
| # Copyright (c) Microsoft Corporation. All rights reserved. | ||
| # Licensed under the MIT License. See License.txt in the project root for | ||
| # license information. | ||
| # | ||
| # Code generated by Microsoft (R) AutoRest Code Generator. | ||
| # Changes may cause incorrect behavior and will be lost if the code is | ||
| # regenerated. | ||
| # -------------------------------------------------------------------------- | ||
|
|
||
| from ._configuration import DataBoxEdgeManagementClientConfiguration | ||
| from ._data_box_edge_management_client import DataBoxEdgeManagementClient | ||
| __all__ = ['DataBoxEdgeManagementClient', 'DataBoxEdgeManagementClientConfiguration'] | ||
|
|
||
| from .version import VERSION | ||
|
|
||
| __version__ = VERSION | ||
|
|
48 changes: 48 additions & 0 deletions
48
sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_08_01/_configuration.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,48 @@ | ||
| # coding=utf-8 | ||
| # -------------------------------------------------------------------------- | ||
| # Copyright (c) Microsoft Corporation. All rights reserved. | ||
| # Licensed under the MIT License. See License.txt in the project root for | ||
| # license information. | ||
| # | ||
| # Code generated by Microsoft (R) AutoRest Code Generator. | ||
| # Changes may cause incorrect behavior and will be lost if the code is | ||
| # regenerated. | ||
| # -------------------------------------------------------------------------- | ||
| from msrestazure import AzureConfiguration | ||
|
|
||
| from .version import VERSION | ||
|
|
||
|
|
||
| class DataBoxEdgeManagementClientConfiguration(AzureConfiguration): | ||
| """Configuration for DataBoxEdgeManagementClient | ||
| Note that all parameters used to create this instance are saved as instance | ||
| attributes. | ||
|
|
||
| :param credentials: Credentials needed for the client to connect to Azure. | ||
| :type credentials: :mod:`A msrestazure Credentials | ||
| object<msrestazure.azure_active_directory>` | ||
| :param subscription_id: The subscription ID. | ||
| :type subscription_id: str | ||
| :param str base_url: Service URL | ||
| """ | ||
|
|
||
| def __init__( | ||
| self, credentials, subscription_id, base_url=None): | ||
|
|
||
| if credentials is None: | ||
| raise ValueError("Parameter 'credentials' must not be None.") | ||
| if subscription_id is None: | ||
| raise ValueError("Parameter 'subscription_id' must not be None.") | ||
| if not base_url: | ||
| base_url = 'https://management.azure.com' | ||
|
|
||
| super(DataBoxEdgeManagementClientConfiguration, self).__init__(base_url) | ||
|
|
||
| # Starting Autorest.Python 4.0.64, make connection pool activated by default | ||
| self.keep_alive = True | ||
|
|
||
| self.add_user_agent('azure-mgmt-databoxedge/{}'.format(VERSION)) | ||
| self.add_user_agent('Azure-SDK-For-Python') | ||
|
|
||
| self.credentials = credentials | ||
| self.subscription_id = subscription_id |
124 changes: 124 additions & 0 deletions
124
...e-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_08_01/_data_box_edge_management_client.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,124 @@ | ||
| # coding=utf-8 | ||
| # -------------------------------------------------------------------------- | ||
| # Copyright (c) Microsoft Corporation. All rights reserved. | ||
| # Licensed under the MIT License. See License.txt in the project root for | ||
| # license information. | ||
| # | ||
| # Code generated by Microsoft (R) AutoRest Code Generator. | ||
| # Changes may cause incorrect behavior and will be lost if the code is | ||
| # regenerated. | ||
| # -------------------------------------------------------------------------- | ||
|
|
||
| from msrest.service_client import SDKClient | ||
| from msrest import Serializer, Deserializer | ||
|
|
||
| from ._configuration import DataBoxEdgeManagementClientConfiguration | ||
| from .operations import Operations | ||
| from .operations import DevicesOperations | ||
| from .operations import AlertsOperations | ||
| from .operations import BandwidthSchedulesOperations | ||
| from .operations import JobsOperations | ||
| from .operations import NodesOperations | ||
| from .operations import OperationsStatusOperations | ||
| from .operations import OrdersOperations | ||
| from .operations import RolesOperations | ||
| from .operations import SharesOperations | ||
| from .operations import StorageAccountCredentialsOperations | ||
| from .operations import StorageAccountsOperations | ||
| from .operations import ContainersOperations | ||
| from .operations import TriggersOperations | ||
| from .operations import UsersOperations | ||
| from .operations import SkusOperations | ||
| from . import models | ||
|
|
||
|
|
||
| class DataBoxEdgeManagementClient(SDKClient): | ||
| """DataBoxEdgeManagementClient | ||
|
|
||
| :ivar config: Configuration for client. | ||
| :vartype config: DataBoxEdgeManagementClientConfiguration | ||
|
|
||
| :ivar operations: Operations operations | ||
| :vartype operations: azure.mgmt.databoxedge.operations.Operations | ||
| :ivar devices: Devices operations | ||
| :vartype devices: azure.mgmt.databoxedge.operations.DevicesOperations | ||
| :ivar alerts: Alerts operations | ||
| :vartype alerts: azure.mgmt.databoxedge.operations.AlertsOperations | ||
| :ivar bandwidth_schedules: BandwidthSchedules operations | ||
| :vartype bandwidth_schedules: azure.mgmt.databoxedge.operations.BandwidthSchedulesOperations | ||
| :ivar jobs: Jobs operations | ||
| :vartype jobs: azure.mgmt.databoxedge.operations.JobsOperations | ||
| :ivar nodes: Nodes operations | ||
| :vartype nodes: azure.mgmt.databoxedge.operations.NodesOperations | ||
| :ivar operations_status: OperationsStatus operations | ||
| :vartype operations_status: azure.mgmt.databoxedge.operations.OperationsStatusOperations | ||
| :ivar orders: Orders operations | ||
| :vartype orders: azure.mgmt.databoxedge.operations.OrdersOperations | ||
| :ivar roles: Roles operations | ||
| :vartype roles: azure.mgmt.databoxedge.operations.RolesOperations | ||
| :ivar shares: Shares operations | ||
| :vartype shares: azure.mgmt.databoxedge.operations.SharesOperations | ||
| :ivar storage_account_credentials: StorageAccountCredentials operations | ||
| :vartype storage_account_credentials: azure.mgmt.databoxedge.operations.StorageAccountCredentialsOperations | ||
| :ivar storage_accounts: StorageAccounts operations | ||
| :vartype storage_accounts: azure.mgmt.databoxedge.operations.StorageAccountsOperations | ||
| :ivar containers: Containers operations | ||
| :vartype containers: azure.mgmt.databoxedge.operations.ContainersOperations | ||
| :ivar triggers: Triggers operations | ||
| :vartype triggers: azure.mgmt.databoxedge.operations.TriggersOperations | ||
| :ivar users: Users operations | ||
| :vartype users: azure.mgmt.databoxedge.operations.UsersOperations | ||
| :ivar skus: Skus operations | ||
| :vartype skus: azure.mgmt.databoxedge.operations.SkusOperations | ||
|
|
||
| :param credentials: Credentials needed for the client to connect to Azure. | ||
| :type credentials: :mod:`A msrestazure Credentials | ||
| object<msrestazure.azure_active_directory>` | ||
| :param subscription_id: The subscription ID. | ||
| :type subscription_id: str | ||
| :param str base_url: Service URL | ||
| """ | ||
|
|
||
| def __init__( | ||
| self, credentials, subscription_id, base_url=None): | ||
|
|
||
| self.config = DataBoxEdgeManagementClientConfiguration(credentials, subscription_id, base_url) | ||
| super(DataBoxEdgeManagementClient, self).__init__(self.config.credentials, self.config) | ||
|
|
||
| client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} | ||
| self.api_version = '2019-08-01' | ||
| self._serialize = Serializer(client_models) | ||
| self._deserialize = Deserializer(client_models) | ||
|
|
||
| self.operations = Operations( | ||
| self._client, self.config, self._serialize, self._deserialize) | ||
| self.devices = DevicesOperations( | ||
| self._client, self.config, self._serialize, self._deserialize) | ||
| self.alerts = AlertsOperations( | ||
| self._client, self.config, self._serialize, self._deserialize) | ||
| self.bandwidth_schedules = BandwidthSchedulesOperations( | ||
| self._client, self.config, self._serialize, self._deserialize) | ||
| self.jobs = JobsOperations( | ||
| self._client, self.config, self._serialize, self._deserialize) | ||
| self.nodes = NodesOperations( | ||
| self._client, self.config, self._serialize, self._deserialize) | ||
| self.operations_status = OperationsStatusOperations( | ||
| self._client, self.config, self._serialize, self._deserialize) | ||
| self.orders = OrdersOperations( | ||
| self._client, self.config, self._serialize, self._deserialize) | ||
| self.roles = RolesOperations( | ||
| self._client, self.config, self._serialize, self._deserialize) | ||
| self.shares = SharesOperations( | ||
| self._client, self.config, self._serialize, self._deserialize) | ||
| self.storage_account_credentials = StorageAccountCredentialsOperations( | ||
| self._client, self.config, self._serialize, self._deserialize) | ||
| self.storage_accounts = StorageAccountsOperations( | ||
| self._client, self.config, self._serialize, self._deserialize) | ||
| self.containers = ContainersOperations( | ||
| self._client, self.config, self._serialize, self._deserialize) | ||
| self.triggers = TriggersOperations( | ||
| self._client, self.config, self._serialize, self._deserialize) | ||
| self.users = UsersOperations( | ||
| self._client, self.config, self._serialize, self._deserialize) | ||
| self.skus = SkusOperations( | ||
| self._client, self.config, self._serialize, self._deserialize) |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.