Skip to content
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

[AutoPR] apimanagement/resource-manager #3106

Merged
merged 21 commits into from
May 1, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
f58f5c2
Generated from 272debceab4e4b56bffbbf0cdb5951f16b86bfc1 (#3105)
AutorestCI Aug 8, 2018
10a65af
Generated from 87a228ba1920d84a47c4ecd7c8fc0662843271d0 (#3112)
AutorestCI Aug 9, 2018
7d53537
Generated from 731500203118757481b0dda9a873a83704df82f9 (#3135)
AutorestCI Aug 14, 2018
d6eebe3
[AutoPR apimanagement/resource-manager] add openid connect in authent…
AutorestCI Oct 15, 2018
ce59516
[AutoPR apimanagement/resource-manager] Remove readonly attribute fro…
AutorestCI Nov 12, 2018
7bc381b
[AutoPR apimanagement/resource-manager] Added missing PATCH operation…
AutorestCI Nov 14, 2018
266b161
[AutoPR apimanagement/resource-manager] /identity endpoint added (#3795)
AutorestCI Nov 14, 2018
1a582cd
Generated from 5fd09d9c190804fe78ab73bd227102f9c136fada (#3834)
AutorestCI Nov 20, 2018
d3c7739
Generated from 52e8c136547f090c4c3f45185587d7bf7f9133bb (#3911)
AutorestCI Nov 30, 2018
cc96758
[AutoPR apimanagement/resource-manager] API Management service SKU AP…
AutorestCI Dec 4, 2018
4bb7596
Merge branch 'master' into restapi_auto_apimanagement/resource-manager
iscai-msft Feb 19, 2019
4539ca4
Update HISTORY.rst
iscai-msft Feb 19, 2019
3e97d76
Update sdk_packaging.toml
iscai-msft Feb 19, 2019
b6a127c
Packaging update of azure-mgmt-apimanagement
azuresdkci Feb 19, 2019
89b23d0
[AutoPR apimanagement/resource-manager] [Hub Generated] Review reques…
AutorestCI Apr 9, 2019
7ca60c2
[AutoPR apimanagement/resource-manager] [Hub Generated] Review reques…
AutorestCI Apr 11, 2019
56bf6a7
[AutoPR apimanagement/resource-manager] [Hub Generated] Review reques…
AutorestCI Apr 24, 2019
2b2e422
Generated from 7825a73e04058cc0a46f8ad579111e5febaa9750 (#4959)
AutorestCI Apr 26, 2019
8bffdd2
Generated from c930d158febafb829d52d7edb32b1c65960af21e (#5010)
AutorestCI May 1, 2019
d7c3d3b
[AutoPR apimanagement/resource-manager] [Hub Generated] Review reques…
AutorestCI May 1, 2019
b65061a
Update HISTORY.rst
lmazuel May 1, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
9 changes: 9 additions & 0 deletions azure-mgmt-apimanagement/HISTORY.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
.. :changelog:

Release History
===============

0.1.0 (2019-05-01)
++++++++++++++++++

* Initial Release
5 changes: 5 additions & 0 deletions azure-mgmt-apimanagement/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 azure-mgmt-apimanagement/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 API 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.4, 3.5, 3.6 and 3.7.

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 `API 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-apimanagement%2FREADME.png
1 change: 1 addition & 0 deletions azure-mgmt-apimanagement/azure/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
__path__ = __import__('pkgutil').extend_path(__path__, __name__)
1 change: 1 addition & 0 deletions azure-mgmt-apimanagement/azure/mgmt/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
__path__ = __import__('pkgutil').extend_path(__path__, __name__)
18 changes: 18 additions & 0 deletions azure-mgmt-apimanagement/azure/mgmt/apimanagement/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# 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 .api_management_client import ApiManagementClient
from .version import VERSION

__all__ = ['ApiManagementClient']

__version__ = VERSION

Large diffs are not rendered by default.

623 changes: 623 additions & 0 deletions azure-mgmt-apimanagement/azure/mgmt/apimanagement/models/__init__.py

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# 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.serialization import Model


class AccessInformationContract(Model):
"""Tenant access information contract of the API Management service.

:param id: Identifier.
:type id: str
:param primary_key: Primary access key.
:type primary_key: str
:param secondary_key: Secondary access key.
:type secondary_key: str
:param enabled: Determines whether direct access is enabled.
:type enabled: bool
"""

_attribute_map = {
'id': {'key': 'id', 'type': 'str'},
'primary_key': {'key': 'primaryKey', 'type': 'str'},
'secondary_key': {'key': 'secondaryKey', 'type': 'str'},
'enabled': {'key': 'enabled', 'type': 'bool'},
}

def __init__(self, **kwargs):
super(AccessInformationContract, self).__init__(**kwargs)
self.id = kwargs.get('id', None)
self.primary_key = kwargs.get('primary_key', None)
self.secondary_key = kwargs.get('secondary_key', None)
self.enabled = kwargs.get('enabled', None)
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# 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.serialization import Model


class AccessInformationContract(Model):
"""Tenant access information contract of the API Management service.

:param id: Identifier.
:type id: str
:param primary_key: Primary access key.
:type primary_key: str
:param secondary_key: Secondary access key.
:type secondary_key: str
:param enabled: Determines whether direct access is enabled.
:type enabled: bool
"""

_attribute_map = {
'id': {'key': 'id', 'type': 'str'},
'primary_key': {'key': 'primaryKey', 'type': 'str'},
'secondary_key': {'key': 'secondaryKey', 'type': 'str'},
'enabled': {'key': 'enabled', 'type': 'bool'},
}

def __init__(self, *, id: str=None, primary_key: str=None, secondary_key: str=None, enabled: bool=None, **kwargs) -> None:
super(AccessInformationContract, self).__init__(**kwargs)
self.id = id
self.primary_key = primary_key
self.secondary_key = secondary_key
self.enabled = enabled
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# 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.serialization import Model


class AccessInformationUpdateParameters(Model):
"""Tenant access information update parameters.

:param enabled: Determines whether direct access is enabled.
:type enabled: bool
"""

_attribute_map = {
'enabled': {'key': 'properties.enabled', 'type': 'bool'},
}

def __init__(self, **kwargs):
super(AccessInformationUpdateParameters, self).__init__(**kwargs)
self.enabled = kwargs.get('enabled', None)
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# 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.serialization import Model


class AccessInformationUpdateParameters(Model):
"""Tenant access information update parameters.

:param enabled: Determines whether direct access is enabled.
:type enabled: bool
"""

_attribute_map = {
'enabled': {'key': 'properties.enabled', 'type': 'bool'},
}

def __init__(self, *, enabled: bool=None, **kwargs) -> None:
super(AccessInformationUpdateParameters, self).__init__(**kwargs)
self.enabled = enabled
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
# 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.serialization import Model


class AdditionalLocation(Model):
"""Description of an additional API Management resource location.

Variables are only populated by the server, and will be ignored when
sending a request.

All required parameters must be populated in order to send to Azure.

:param location: Required. The location name of the additional region
among Azure Data center regions.
:type location: str
:param sku: Required. SKU properties of the API Management service.
:type sku:
~azure.mgmt.apimanagement.models.ApiManagementServiceSkuProperties
:ivar public_ip_addresses: Public Static Load Balanced IP addresses of the
API Management service in the additional location. Available only for
Basic, Standard and Premium SKU.
:vartype public_ip_addresses: list[str]
:ivar private_ip_addresses: Private Static Load Balanced IP addresses of
the API Management service which is deployed in an Internal Virtual
Network in a particular additional location. Available only for Basic,
Standard and Premium SKU.
:vartype private_ip_addresses: list[str]
:param virtual_network_configuration: Virtual network configuration for
the location.
:type virtual_network_configuration:
~azure.mgmt.apimanagement.models.VirtualNetworkConfiguration
:ivar gateway_regional_url: Gateway URL of the API Management service in
the Region.
:vartype gateway_regional_url: str
"""

_validation = {
'location': {'required': True},
'sku': {'required': True},
'public_ip_addresses': {'readonly': True},
'private_ip_addresses': {'readonly': True},
'gateway_regional_url': {'readonly': True},
}

_attribute_map = {
'location': {'key': 'location', 'type': 'str'},
'sku': {'key': 'sku', 'type': 'ApiManagementServiceSkuProperties'},
'public_ip_addresses': {'key': 'publicIPAddresses', 'type': '[str]'},
'private_ip_addresses': {'key': 'privateIPAddresses', 'type': '[str]'},
'virtual_network_configuration': {'key': 'virtualNetworkConfiguration', 'type': 'VirtualNetworkConfiguration'},
'gateway_regional_url': {'key': 'gatewayRegionalUrl', 'type': 'str'},
}

def __init__(self, **kwargs):
super(AdditionalLocation, self).__init__(**kwargs)
self.location = kwargs.get('location', None)
self.sku = kwargs.get('sku', None)
self.public_ip_addresses = None
self.private_ip_addresses = None
self.virtual_network_configuration = kwargs.get('virtual_network_configuration', None)
self.gateway_regional_url = None
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
# 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.serialization import Model


class AdditionalLocation(Model):
"""Description of an additional API Management resource location.

Variables are only populated by the server, and will be ignored when
sending a request.

All required parameters must be populated in order to send to Azure.

:param location: Required. The location name of the additional region
among Azure Data center regions.
:type location: str
:param sku: Required. SKU properties of the API Management service.
:type sku:
~azure.mgmt.apimanagement.models.ApiManagementServiceSkuProperties
:ivar public_ip_addresses: Public Static Load Balanced IP addresses of the
API Management service in the additional location. Available only for
Basic, Standard and Premium SKU.
:vartype public_ip_addresses: list[str]
:ivar private_ip_addresses: Private Static Load Balanced IP addresses of
the API Management service which is deployed in an Internal Virtual
Network in a particular additional location. Available only for Basic,
Standard and Premium SKU.
:vartype private_ip_addresses: list[str]
:param virtual_network_configuration: Virtual network configuration for
the location.
:type virtual_network_configuration:
~azure.mgmt.apimanagement.models.VirtualNetworkConfiguration
:ivar gateway_regional_url: Gateway URL of the API Management service in
the Region.
:vartype gateway_regional_url: str
"""

_validation = {
'location': {'required': True},
'sku': {'required': True},
'public_ip_addresses': {'readonly': True},
'private_ip_addresses': {'readonly': True},
'gateway_regional_url': {'readonly': True},
}

_attribute_map = {
'location': {'key': 'location', 'type': 'str'},
'sku': {'key': 'sku', 'type': 'ApiManagementServiceSkuProperties'},
'public_ip_addresses': {'key': 'publicIPAddresses', 'type': '[str]'},
'private_ip_addresses': {'key': 'privateIPAddresses', 'type': '[str]'},
'virtual_network_configuration': {'key': 'virtualNetworkConfiguration', 'type': 'VirtualNetworkConfiguration'},
'gateway_regional_url': {'key': 'gatewayRegionalUrl', 'type': 'str'},
}

def __init__(self, *, location: str, sku, virtual_network_configuration=None, **kwargs) -> None:
super(AdditionalLocation, self).__init__(**kwargs)
self.location = location
self.sku = sku
self.public_ip_addresses = None
self.private_ip_addresses = None
self.virtual_network_configuration = virtual_network_configuration
self.gateway_regional_url = None
Loading