Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions sdk/databoxedge/azure-mgmt-databoxedge/CHANGELOG.md
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
30 changes: 11 additions & 19 deletions sdk/databoxedge/azure-mgmt-databoxedge/README.md
Original file line number Diff line number Diff line change
@@ -1,29 +1,21 @@
## 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).
# Microsoft Azure SDK for Python

This is the Microsoft Azure Databoxedge Management Client Library.
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 [Databoxedge 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.

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

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

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
# Licensed under the MIT License. See License.txt in the project root for
# license information.
# --------------------------------------------------------------------------
from .v2019_07_01.models import *
from .v2019_08_01.models import *
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

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
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)
Loading