-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[AutoPR] apimanagement/resource-manager (#3106)
* Generated from 272debceab4e4b56bffbbf0cdb5951f16b86bfc1 (#3105) Bug fix on readonly property * Generated from 87a228ba1920d84a47c4ecd7c8fc0662843271d0 (#3112) Bug fix for readonly property * Generated from 731500203118757481b0dda9a873a83704df82f9 (#3135) Make 2018-01-01 as default for all clients * [AutoPR apimanagement/resource-manager] add openid connect in authentication settings (#3612) * Generated from 0d3fa76ca7abc30f7d80506e5183c45c66aef6d3 add openid connect in authentication settings * Packaging update of azure-mgmt-apimanagement * [AutoPR apimanagement/resource-manager] Remove readonly attribute from identities collection in users (#3775) * Generated from cbd8b32037c8d911d9c4024dd3accb02bfad8e93 Remove readonly attribute from identities collection in users * Packaging update of azure-mgmt-apimanagement * [AutoPR apimanagement/resource-manager] Added missing PATCH operation to Api Issue resource (#3773) * Generated from 73c3ebb5e203fc53ce5cdb52d31170729775848f Added missing PATCH operation to Api Issue resource * Packaging update of azure-mgmt-apimanagement * Generated from dcb5eb7ef83a50275a7d92747baaad3a850286a4 Added missing PATCH operation to Api Issue resource * Generated from ccc27d4c2f7026867aa2bcf3e67b6359c3ec0f11 Added missing PATCH operation to Api Issue resource * [AutoPR apimanagement/resource-manager] /identity endpoint added (#3795) * Generated from 8363d68686accd9a2c5c1727ebab556ca7529cb3 /identity endpoint added * Generated from 8363d68686accd9a2c5c1727ebab556ca7529cb3 /identity endpoint added * Generated from 5fd09d9c190804fe78ab73bd227102f9c136fada (#3834) typo: Fix apimanagement/resource-manager/Microsoft.ApiManagement/apimbackends.json - parition -> partition - Reconect -> Reconnect * Generated from 52e8c136547f090c4c3f45185587d7bf7f9133bb (#3911) Added example for template params * [AutoPR apimanagement/resource-manager] API Management service SKU API documentation (#3797) * Generated from e8183a03edd1178ade3f773ba48e88a45609d705 added example * Generated from 4fb410f50024ecc29bfb3e8ca857bf7c31a15e30 more PR comment fixes * Generated from b2942f357046a206ce8895f555a1e9f4071402a9 correct casing * Update HISTORY.rst * Update sdk_packaging.toml * Packaging update of azure-mgmt-apimanagement * [AutoPR apimanagement/resource-manager] [Hub Generated] Review request for Microsoft.ApiManagement to add version stable/2019-01-01 (#4795) * Generated from 20f3f451957b3e3b1029eb3a5cdfe0aed8fb553d 2019-01-01 version initial changes * Generated from 58b97be57b056b9532da3cfa3cd854d13332a50a 2019-01-01 version initial changes * Packaging update of azure-mgmt-apimanagement * [AutoPR apimanagement/resource-manager] [Hub Generated] Review request for Microsoft.ApiManagement to add version stable/2019-01-01 (#4826) * Generated from 6d9246da16d91e7f3bbee8052551e189e9c24961 Rename and fixes for .Net client * Generated from ccfe40bf845ae0078e1369d5110bbf97aa85d948 Fix for Api Export on 2019-01-01 * Generated from 6f97be08923dc01352f2285425ec2ca46a83ea47 Fix for Api Export on 2019-01-01 * Generated from 18c5892f6603d16b17e2a78868b90871fc5972b6 Fix GET User Token Contract * Generated from 63ec8584379668d420e906190b9710a48e9f7159 Fix definition for Deploy, Save, AccessInformationUpdate * Generated from ab0feb1a7675accf399edbf5a4c378d844dcb8fa fix edits * Generated from 71e167693019e8e657c456995331e3d7b5432a8f update example for deployment * [AutoPR apimanagement/resource-manager] [Hub Generated] Review request for Microsoft.ApiManagement to add version stable/2019-01-01 (#4933) * Generated from 18cb1ce1a5c7d084750fa6769b2a0e687d5fb1a4 Policy Format * Generated from 59ae1de9eccce7e80bf5b56faa5445a382a1dc93 upper case XML * Generated from 5964a9567e075efc8279833610ebd33a0b8e0944 upper case XML * Generated from 7825a73e04058cc0a46f8ad579111e5febaa9750 (#4959) revert not support formats * Generated from c930d158febafb829d52d7edb32b1c65960af21e (#5010) Fix default value of capacity. * [AutoPR apimanagement/resource-manager] [Hub Generated] Review request for Microsoft.ApiManagement to add version stable/2019-01-01 (#5025) * Generated from 6e647cf5693984e7bb8c0c70ee673c58ae2773c9 add example for schemas * Generated from 7b796fcaffbd3dce76e9961c8fcb270d61fe0387 add example for schemas * Generated from fc2b834a69b907c626e186bf0b4e5629c69eaf83 add example for schemas * Update HISTORY.rst
- Loading branch information
1 parent
e70b965
commit 400f9b9
Showing
419 changed files
with
43,677 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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,9 @@ | ||
.. :changelog: | ||
Release History | ||
=============== | ||
|
||
0.1.0 (2019-05-01) | ||
++++++++++++++++++ | ||
|
||
* Initial Release |
This file contains 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,5 @@ | ||
recursive-include tests *.py *.yaml | ||
include *.rst | ||
include azure/__init__.py | ||
include azure/mgmt/__init__.py | ||
|
This file contains 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,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 |
This file contains 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 @@ | ||
__path__ = __import__('pkgutil').extend_path(__path__, __name__) |
This file contains 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 @@ | ||
__path__ = __import__('pkgutil').extend_path(__path__, __name__) |
18 changes: 18 additions & 0 deletions
18
azure-mgmt-apimanagement/azure/mgmt/apimanagement/__init__.py
This file contains 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,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 | ||
|
385 changes: 385 additions & 0 deletions
385
azure-mgmt-apimanagement/azure/mgmt/apimanagement/api_management_client.py
Large diffs are not rendered by default.
Oops, something went wrong.
623 changes: 623 additions & 0 deletions
623
azure-mgmt-apimanagement/azure/mgmt/apimanagement/models/__init__.py
Large diffs are not rendered by default.
Oops, something went wrong.
40 changes: 40 additions & 0 deletions
40
azure-mgmt-apimanagement/azure/mgmt/apimanagement/models/access_information_contract.py
This file contains 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,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) |
40 changes: 40 additions & 0 deletions
40
azure-mgmt-apimanagement/azure/mgmt/apimanagement/models/access_information_contract_py3.py
This file contains 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,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 |
28 changes: 28 additions & 0 deletions
28
...gmt-apimanagement/azure/mgmt/apimanagement/models/access_information_update_parameters.py
This file contains 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,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) |
28 changes: 28 additions & 0 deletions
28
...apimanagement/azure/mgmt/apimanagement/models/access_information_update_parameters_py3.py
This file contains 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,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 |
71 changes: 71 additions & 0 deletions
71
azure-mgmt-apimanagement/azure/mgmt/apimanagement/models/additional_location.py
This file contains 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,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 |
71 changes: 71 additions & 0 deletions
71
azure-mgmt-apimanagement/azure/mgmt/apimanagement/models/additional_location_py3.py
This file contains 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,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 |
Oops, something went wrong.