Skip to content

Commit

Permalink
Restapi auto databoxedge/resource manager (#9367)
Browse files Browse the repository at this point in the history
* [AutoPR databoxedge/resource-manager] chore: jsonfmt databoxedge (#7361)

* Generated from 8b79ae248e5093f824f1c3c0df81a20a3b3cd4de

chore: jsonfmt databoxedge

* Packaging update of azure-mgmt-databoxedge

* [AutoPR databoxedge/resource-manager]   Add new version of API with object store, sku selection and arm lite user (#8735)

* Generated from b9b42fd9797234b52ae3f05f93711067560d2544

Fixed comments on Sku API

* Generated from b502551c6a94008e85be6c3a666f7f3edfc2b67f

Removed unused property

* Generated from b288943f733062a70176e972eeb92e46c85fa6a1

"Changed operationId for skus API"

* databoxedge generated multi-api

* history and version

* Packaging update of azure-mgmt-databoxedge

* added pipeline

Co-authored-by: Azure SDK Bot <adxpysdk@microsoft.com>
  • Loading branch information
Zim Kalinowski and AutorestCI authored Jan 9, 2020
1 parent 5bff7dc commit b658626
Show file tree
Hide file tree
Showing 59 changed files with 20,867 additions and 0 deletions.
9 changes: 9 additions & 0 deletions sdk/databoxedge/azure-mgmt-databoxedge/HISTORY.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
.. :changelog:
Release History
===============

0.1.0 (2020-01-08)
++++++++++++++++++

* Initial Release
5 changes: 5 additions & 0 deletions sdk/databoxedge/azure-mgmt-databoxedge/MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
recursive-include tests *.py *.yaml
include *.rst
include azure/__init__.py
include azure/mgmt/__init__.py

33 changes: 33 additions & 0 deletions sdk/databoxedge/azure-mgmt-databoxedge/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
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 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 <https://pypi.python.org/pypi/azure>`__ bundle package.


Usage
=====

For code examples, see `MyService Management
<https://docs.microsoft.com/python/api/overview/azure/>`__
on docs.microsoft.com.


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>`__
section of the project.


.. image:: https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-python%2Fazure-mgmt-databoxedge%2FREADME.png
1 change: 1 addition & 0 deletions sdk/databoxedge/azure-mgmt-databoxedge/azure/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
__path__ = __import__('pkgutil').extend_path(__path__, __name__)
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
__path__ = __import__('pkgutil').extend_path(__path__, __name__)
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
Loading

0 comments on commit b658626

Please sign in to comment.