Skip to content

Commit

Permalink
CodeGen from PR 15703 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Merge 6b83d4620c890bd0cde30c1d470415c893c3b7c8 into ff76d203d545c542fff07c882b5f216c2d665d36
  • Loading branch information
SDKAuto committed Aug 23, 2021
1 parent 03516c3 commit 7785492
Show file tree
Hide file tree
Showing 82 changed files with 2,367 additions and 399 deletions.
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": "17cda3a208bf1cff5808be9e7831b98ecbd3c857",
"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 --use=@microsoft.azure/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,6 +57,7 @@
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
Expand Down Expand Up @@ -88,7 +90,7 @@
from . import models


class ApiManagementClient(SDKClient):
class ApiManagementClient(ApiManagementClientOperationsMixin, SDKClient):
"""ApiManagement Client
:ivar config: Configuration for client.
Expand Down Expand Up @@ -180,6 +182,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 Down Expand Up @@ -256,7 +260,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 +350,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 Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,15 @@
from ._models_py3 import AccessInformationSecretsContract
from ._models_py3 import AccessInformationUpdateParameters
from ._models_py3 import AdditionalLocation
from ._models_py3 import ApiContactInformation
from ._models_py3 import ApiContract
from ._models_py3 import ApiContractProperties
from ._models_py3 import ApiCreateOrUpdateParameter
from ._models_py3 import ApiCreateOrUpdatePropertiesWsdlSelector
from ._models_py3 import ApiEntityBaseContract
from ._models_py3 import ApiExportResult
from ._models_py3 import ApiExportResultValue
from ._models_py3 import ApiLicenseInformation
from ._models_py3 import ApiManagementServiceApplyNetworkConfigurationParameters
from ._models_py3 import ApiManagementServiceBackupRestoreParameters
from ._models_py3 import ApiManagementServiceBaseProperties
Expand Down Expand Up @@ -76,6 +78,14 @@
from ._models_py3 import CertificateCreateOrUpdateParameters
from ._models_py3 import CertificateInformation
from ._models_py3 import ClientSecretContract
from ._models_py3 import ConnectivityCheckRequest
from ._models_py3 import ConnectivityCheckRequestDestination
from ._models_py3 import ConnectivityCheckRequestProtocolConfiguration
from ._models_py3 import ConnectivityCheckRequestProtocolConfigurationHTTPConfiguration
from ._models_py3 import ConnectivityCheckRequestSource
from ._models_py3 import ConnectivityCheckResponse
from ._models_py3 import ConnectivityHop
from ._models_py3 import ConnectivityIssue
from ._models_py3 import ConnectivityStatusContract
from ._models_py3 import ContentItemContract
from ._models_py3 import ContentTypeContract
Expand All @@ -87,6 +97,8 @@
from ._models_py3 import EmailTemplateContract
from ._models_py3 import EmailTemplateParametersContractProperties
from ._models_py3 import EmailTemplateUpdateParameters
from ._models_py3 import EndpointDependency
from ._models_py3 import EndpointDetail
from ._models_py3 import ErrorFieldContract
from ._models_py3 import ErrorResponse, ErrorResponseException
from ._models_py3 import ErrorResponseBody
Expand All @@ -103,6 +115,7 @@
from ._models_py3 import GroupCreateParameters
from ._models_py3 import GroupUpdateParameters
from ._models_py3 import HostnameConfiguration
from ._models_py3 import HTTPHeader
from ._models_py3 import HttpMessageDiagnostic
from ._models_py3 import IdentityProviderBaseParameters
from ._models_py3 import IdentityProviderContract
Expand Down Expand Up @@ -138,7 +151,10 @@
from ._models_py3 import OperationResultLogItemContract
from ._models_py3 import OperationTagResourceContractProperties
from ._models_py3 import OperationUpdateContract
from ._models_py3 import OutboundEnvironmentEndpoint
from ._models_py3 import OutboundEnvironmentEndpointList
from ._models_py3 import ParameterContract
from ._models_py3 import ParameterExampleContract
from ._models_py3 import PipelineDiagnosticSettings
from ._models_py3 import PolicyCollection
from ._models_py3 import PolicyContract
Expand Down Expand Up @@ -186,6 +202,7 @@
from ._models_py3 import SubscriptionKeysContract
from ._models_py3 import SubscriptionsDelegationSettingsProperties
from ._models_py3 import SubscriptionUpdateParameters
from ._models_py3 import SystemData
from ._models_py3 import TagContract
from ._models_py3 import TagCreateUpdateParameters
from ._models_py3 import TagDescriptionContract
Expand All @@ -212,13 +229,15 @@
from ._models import AccessInformationSecretsContract
from ._models import AccessInformationUpdateParameters
from ._models import AdditionalLocation
from ._models import ApiContactInformation
from ._models import ApiContract
from ._models import ApiContractProperties
from ._models import ApiCreateOrUpdateParameter
from ._models import ApiCreateOrUpdatePropertiesWsdlSelector
from ._models import ApiEntityBaseContract
from ._models import ApiExportResult
from ._models import ApiExportResultValue
from ._models import ApiLicenseInformation
from ._models import ApiManagementServiceApplyNetworkConfigurationParameters
from ._models import ApiManagementServiceBackupRestoreParameters
from ._models import ApiManagementServiceBaseProperties
Expand Down Expand Up @@ -273,6 +292,14 @@
from ._models import CertificateCreateOrUpdateParameters
from ._models import CertificateInformation
from ._models import ClientSecretContract
from ._models import ConnectivityCheckRequest
from ._models import ConnectivityCheckRequestDestination
from ._models import ConnectivityCheckRequestProtocolConfiguration
from ._models import ConnectivityCheckRequestProtocolConfigurationHTTPConfiguration
from ._models import ConnectivityCheckRequestSource
from ._models import ConnectivityCheckResponse
from ._models import ConnectivityHop
from ._models import ConnectivityIssue
from ._models import ConnectivityStatusContract
from ._models import ContentItemContract
from ._models import ContentTypeContract
Expand All @@ -284,6 +311,8 @@
from ._models import EmailTemplateContract
from ._models import EmailTemplateParametersContractProperties
from ._models import EmailTemplateUpdateParameters
from ._models import EndpointDependency
from ._models import EndpointDetail
from ._models import ErrorFieldContract
from ._models import ErrorResponse, ErrorResponseException
from ._models import ErrorResponseBody
Expand All @@ -300,6 +329,7 @@
from ._models import GroupCreateParameters
from ._models import GroupUpdateParameters
from ._models import HostnameConfiguration
from ._models import HTTPHeader
from ._models import HttpMessageDiagnostic
from ._models import IdentityProviderBaseParameters
from ._models import IdentityProviderContract
Expand Down Expand Up @@ -335,7 +365,10 @@
from ._models import OperationResultLogItemContract
from ._models import OperationTagResourceContractProperties
from ._models import OperationUpdateContract
from ._models import OutboundEnvironmentEndpoint
from ._models import OutboundEnvironmentEndpointList
from ._models import ParameterContract
from ._models import ParameterExampleContract
from ._models import PipelineDiagnosticSettings
from ._models import PolicyCollection
from ._models import PolicyContract
Expand Down Expand Up @@ -383,6 +416,7 @@
from ._models import SubscriptionKeysContract
from ._models import SubscriptionsDelegationSettingsProperties
from ._models import SubscriptionUpdateParameters
from ._models import SystemData
from ._models import TagContract
from ._models import TagCreateUpdateParameters
from ._models import TagDescriptionContract
Expand Down Expand Up @@ -472,8 +506,14 @@
SkuType,
ResourceSkuCapacityScaleType,
HostnameType,
CertificateSource,
CertificateStatus,
PlatformVersion,
AccessType,
PublicNetworkAccess,
VirtualNetworkType,
ApimIdentityType,
CreatedByType,
NameAvailabilityReason,
ProvisioningState,
KeyType,
Expand All @@ -490,6 +530,13 @@
ApiManagementSkuRestrictionsType,
ApiManagementSkuRestrictionsReasonCode,
AsyncOperationStatus,
Origin,
Severity,
IssueType,
ConnectionStatus,
PreferredIPVersion,
ConnectivityCheckProtocol,
Method,
AccessIdName,
NotificationName,
PolicyExportFormat,
Expand All @@ -504,13 +551,15 @@
'AccessInformationSecretsContract',
'AccessInformationUpdateParameters',
'AdditionalLocation',
'ApiContactInformation',
'ApiContract',
'ApiContractProperties',
'ApiCreateOrUpdateParameter',
'ApiCreateOrUpdatePropertiesWsdlSelector',
'ApiEntityBaseContract',
'ApiExportResult',
'ApiExportResultValue',
'ApiLicenseInformation',
'ApiManagementServiceApplyNetworkConfigurationParameters',
'ApiManagementServiceBackupRestoreParameters',
'ApiManagementServiceBaseProperties',
Expand Down Expand Up @@ -565,6 +614,14 @@
'CertificateCreateOrUpdateParameters',
'CertificateInformation',
'ClientSecretContract',
'ConnectivityCheckRequest',
'ConnectivityCheckRequestDestination',
'ConnectivityCheckRequestProtocolConfiguration',
'ConnectivityCheckRequestProtocolConfigurationHTTPConfiguration',
'ConnectivityCheckRequestSource',
'ConnectivityCheckResponse',
'ConnectivityHop',
'ConnectivityIssue',
'ConnectivityStatusContract',
'ContentItemContract',
'ContentTypeContract',
Expand All @@ -576,6 +633,8 @@
'EmailTemplateContract',
'EmailTemplateParametersContractProperties',
'EmailTemplateUpdateParameters',
'EndpointDependency',
'EndpointDetail',
'ErrorFieldContract',
'ErrorResponse', 'ErrorResponseException',
'ErrorResponseBody',
Expand All @@ -592,6 +651,7 @@
'GroupCreateParameters',
'GroupUpdateParameters',
'HostnameConfiguration',
'HTTPHeader',
'HttpMessageDiagnostic',
'IdentityProviderBaseParameters',
'IdentityProviderContract',
Expand Down Expand Up @@ -627,7 +687,10 @@
'OperationResultLogItemContract',
'OperationTagResourceContractProperties',
'OperationUpdateContract',
'OutboundEnvironmentEndpoint',
'OutboundEnvironmentEndpointList',
'ParameterContract',
'ParameterExampleContract',
'PipelineDiagnosticSettings',
'PolicyCollection',
'PolicyContract',
Expand Down Expand Up @@ -675,6 +738,7 @@
'SubscriptionKeysContract',
'SubscriptionsDelegationSettingsProperties',
'SubscriptionUpdateParameters',
'SystemData',
'TagContract',
'TagCreateUpdateParameters',
'TagDescriptionContract',
Expand Down Expand Up @@ -763,8 +827,14 @@
'SkuType',
'ResourceSkuCapacityScaleType',
'HostnameType',
'CertificateSource',
'CertificateStatus',
'PlatformVersion',
'AccessType',
'PublicNetworkAccess',
'VirtualNetworkType',
'ApimIdentityType',
'CreatedByType',
'NameAvailabilityReason',
'ProvisioningState',
'KeyType',
Expand All @@ -781,6 +851,13 @@
'ApiManagementSkuRestrictionsType',
'ApiManagementSkuRestrictionsReasonCode',
'AsyncOperationStatus',
'Origin',
'Severity',
'IssueType',
'ConnectionStatus',
'PreferredIPVersion',
'ConnectivityCheckProtocol',
'Method',
'AccessIdName',
'NotificationName',
'PolicyExportFormat',
Expand Down
Loading

0 comments on commit 7785492

Please sign in to comment.