Skip to content
Closed
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
1 change: 1 addition & 0 deletions sdk/apimanagement/azure-mgmt-apimanagement/MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
include _meta.json
recursive-include tests *.py *.yaml
include *.md
include azure/__init__.py
Expand Down
8 changes: 8 additions & 0 deletions sdk/apimanagement/azure-mgmt-apimanagement/_meta.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"autorest": "V2",
"use": "@microsoft.azure/autorest.python@~4.0.71",
"commit": "1d9850d596063bf73b8b41b9f08efdd0c45df663",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"autorest_command": "autorest specification/apimanagement/resource-manager/readme.md --keep-version-file --multiapi --no-async --python --python-mode=update --python-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-python/sdk [email protected]/autorest.python@~4.0.71 --version=V2",
"readme": "specification/apimanagement/resource-manager/readme.md"
}
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
from msrest import Serializer, Deserializer

from ._configuration import ApiManagementClientConfiguration
from .operations import ApiManagementClientOperationsMixin
from .operations import ApiOperations
from .operations import ApiRevisionOperations
from .operations import ApiReleaseOperations
Expand Down Expand Up @@ -56,13 +57,15 @@
from .operations import NotificationRecipientUserOperations
from .operations import NotificationRecipientEmailOperations
from .operations import OpenIdConnectProviderOperations
from .operations import OutboundNetworkDependenciesEndpointsOperations
from .operations import PolicyOperations
from .operations import PolicyDescriptionOperations
from .operations import PortalRevisionOperations
from .operations import PortalSettingsOperations
from .operations import SignInSettingsOperations
from .operations import SignUpSettingsOperations
from .operations import DelegationSettingsOperations
from .operations import PrivateEndpointConnectionOperations
from .operations import ProductOperations
from .operations import ProductApiOperations
from .operations import ProductGroupOperations
Expand All @@ -88,7 +91,7 @@
from . import models


class ApiManagementClient(SDKClient):
class ApiManagementClient(ApiManagementClientOperationsMixin, SDKClient):
"""ApiManagement Client

:ivar config: Configuration for client.
Expand Down Expand Up @@ -180,6 +183,8 @@ class ApiManagementClient(SDKClient):
:vartype notification_recipient_email: azure.mgmt.apimanagement.operations.NotificationRecipientEmailOperations
:ivar open_id_connect_provider: OpenIdConnectProvider operations
:vartype open_id_connect_provider: azure.mgmt.apimanagement.operations.OpenIdConnectProviderOperations
:ivar outbound_network_dependencies_endpoints: OutboundNetworkDependenciesEndpoints operations
:vartype outbound_network_dependencies_endpoints: azure.mgmt.apimanagement.operations.OutboundNetworkDependenciesEndpointsOperations
:ivar policy: Policy operations
:vartype policy: azure.mgmt.apimanagement.operations.PolicyOperations
:ivar policy_description: PolicyDescription operations
Expand All @@ -194,6 +199,8 @@ class ApiManagementClient(SDKClient):
:vartype sign_up_settings: azure.mgmt.apimanagement.operations.SignUpSettingsOperations
:ivar delegation_settings: DelegationSettings operations
:vartype delegation_settings: azure.mgmt.apimanagement.operations.DelegationSettingsOperations
:ivar private_endpoint_connection: PrivateEndpointConnection operations
:vartype private_endpoint_connection: azure.mgmt.apimanagement.operations.PrivateEndpointConnectionOperations
:ivar product: Product operations
:vartype product: azure.mgmt.apimanagement.operations.ProductOperations
:ivar product_api: ProductApi operations
Expand Down Expand Up @@ -256,7 +263,7 @@ def __init__(
super(ApiManagementClient, 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 = '2020-12-01'
self.api_version = '2021-04-01-preview'
self._serialize = Serializer(client_models)
self._deserialize = Deserializer(client_models)

Expand Down Expand Up @@ -346,6 +353,8 @@ def __init__(
self._client, self.config, self._serialize, self._deserialize)
self.open_id_connect_provider = OpenIdConnectProviderOperations(
self._client, self.config, self._serialize, self._deserialize)
self.outbound_network_dependencies_endpoints = OutboundNetworkDependenciesEndpointsOperations(
self._client, self.config, self._serialize, self._deserialize)
self.policy = PolicyOperations(
self._client, self.config, self._serialize, self._deserialize)
self.policy_description = PolicyDescriptionOperations(
Expand All @@ -360,6 +369,8 @@ def __init__(
self._client, self.config, self._serialize, self._deserialize)
self.delegation_settings = DelegationSettingsOperations(
self._client, self.config, self._serialize, self._deserialize)
self.private_endpoint_connection = PrivateEndpointConnectionOperations(
self._client, self.config, self._serialize, self._deserialize)
self.product = ProductOperations(
self._client, self.config, self._serialize, self._deserialize)
self.product_api = ProductApiOperations(
Expand Down
Loading