-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Generated from 9391af3fc5616bad2595badf714fedb5420dcf3d (#2133)
ApiMgmt Py conf
- Loading branch information
1 parent
c6aa88c
commit a20a8ad
Showing
371 changed files
with
39,731 additions
and
0 deletions.
There are no files selected for viewing
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 | ||
|
360 changes: 360 additions & 0 deletions
360
azure-mgmt-apimanagement/azure/mgmt/apimanagement/api_management_client.py
Large diffs are not rendered by default.
Oops, something went wrong.
554 changes: 554 additions & 0 deletions
554
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: Tenant access information of the API Management service. | ||
: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: Tenant access information of the API Management service. | ||
: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 of the API Management service. | ||
:param enabled: Tenant access information of the API Management service. | ||
:type enabled: bool | ||
""" | ||
|
||
_attribute_map = { | ||
'enabled': {'key': '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 of the API Management service. | ||
:param enabled: Tenant access information of the API Management service. | ||
:type enabled: bool | ||
""" | ||
|
||
_attribute_map = { | ||
'enabled': {'key': 'enabled', 'type': 'bool'}, | ||
} | ||
|
||
def __init__(self, *, enabled: bool=None, **kwargs) -> None: | ||
super(AccessInformationUpdateParameters, self).__init__(**kwargs) | ||
self.enabled = enabled |
62 changes: 62 additions & 0 deletions
62
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,62 @@ | ||
# 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: Static IP addresses of the location's virtual | ||
machines. | ||
:vartype public_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}, | ||
'gateway_regional_url': {'readonly': True}, | ||
} | ||
|
||
_attribute_map = { | ||
'location': {'key': 'location', 'type': 'str'}, | ||
'sku': {'key': 'sku', 'type': 'ApiManagementServiceSkuProperties'}, | ||
'public_ip_addresses': {'key': 'publicIPAddresses', '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.virtual_network_configuration = kwargs.get('virtual_network_configuration', None) | ||
self.gateway_regional_url = None |
62 changes: 62 additions & 0 deletions
62
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,62 @@ | ||
# 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: Static IP addresses of the location's virtual | ||
machines. | ||
:vartype public_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}, | ||
'gateway_regional_url': {'readonly': True}, | ||
} | ||
|
||
_attribute_map = { | ||
'location': {'key': 'location', 'type': 'str'}, | ||
'sku': {'key': 'sku', 'type': 'ApiManagementServiceSkuProperties'}, | ||
'public_ip_addresses': {'key': 'publicIPAddresses', '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.virtual_network_configuration = virtual_network_configuration | ||
self.gateway_regional_url = None |
Oops, something went wrong.