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 azure-mgmt-apimanagement] [Apimanagement] Fix for python sdk generate #4744

Draft
wants to merge 1 commit into
base: release/v3
Choose a base branch
from
Draft
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
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@
from .operations import BackendOperations
from .operations import CacheOperations
from .operations import CertificateOperations
from .operations import ContentTypeOperations
from .operations import ContentItemOperations
from .operations import DeletedServicesOperations
from .operations import ApiManagementOperations
from .operations import ApiManagementServiceSkusOperations
from .operations import ApiManagementServiceOperations
Expand All @@ -41,6 +44,7 @@
from .operations import GatewayOperations
from .operations import GatewayHostnameConfigurationOperations
from .operations import GatewayApiOperations
from .operations import GatewayCertificateAuthorityOperations
from .operations import GroupOperations
from .operations import GroupUserOperations
from .operations import IdentityProviderOperations
Expand All @@ -54,6 +58,8 @@
from .operations import OpenIdConnectProviderOperations
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
Expand All @@ -66,6 +72,8 @@
from .operations import QuotaByPeriodKeysOperations
from .operations import RegionOperations
from .operations import ReportsOperations
from .operations import TenantSettingsOperations
from .operations import ApiManagementSkusOperations
from .operations import SubscriptionOperations
from .operations import TagResourceOperations
from .operations import TenantAccessOperations
Expand Down Expand Up @@ -126,6 +134,12 @@ class ApiManagementClient(SDKClient):
:vartype cache: azure.mgmt.apimanagement.operations.CacheOperations
:ivar certificate: Certificate operations
:vartype certificate: azure.mgmt.apimanagement.operations.CertificateOperations
:ivar content_type: ContentType operations
:vartype content_type: azure.mgmt.apimanagement.operations.ContentTypeOperations
:ivar content_item: ContentItem operations
:vartype content_item: azure.mgmt.apimanagement.operations.ContentItemOperations
:ivar deleted_services: DeletedServices operations
:vartype deleted_services: azure.mgmt.apimanagement.operations.DeletedServicesOperations
:ivar api_management_operations: ApiManagementOperations operations
:vartype api_management_operations: azure.mgmt.apimanagement.operations.ApiManagementOperations
:ivar api_management_service_skus: ApiManagementServiceSkus operations
Expand All @@ -142,6 +156,8 @@ class ApiManagementClient(SDKClient):
:vartype gateway_hostname_configuration: azure.mgmt.apimanagement.operations.GatewayHostnameConfigurationOperations
:ivar gateway_api: GatewayApi operations
:vartype gateway_api: azure.mgmt.apimanagement.operations.GatewayApiOperations
:ivar gateway_certificate_authority: GatewayCertificateAuthority operations
:vartype gateway_certificate_authority: azure.mgmt.apimanagement.operations.GatewayCertificateAuthorityOperations
:ivar group: Group operations
:vartype group: azure.mgmt.apimanagement.operations.GroupOperations
:ivar group_user: GroupUser operations
Expand All @@ -168,6 +184,10 @@ class ApiManagementClient(SDKClient):
:vartype policy: azure.mgmt.apimanagement.operations.PolicyOperations
:ivar policy_description: PolicyDescription operations
:vartype policy_description: azure.mgmt.apimanagement.operations.PolicyDescriptionOperations
:ivar portal_revision: PortalRevision operations
:vartype portal_revision: azure.mgmt.apimanagement.operations.PortalRevisionOperations
:ivar portal_settings: PortalSettings operations
:vartype portal_settings: azure.mgmt.apimanagement.operations.PortalSettingsOperations
:ivar sign_in_settings: SignInSettings operations
:vartype sign_in_settings: azure.mgmt.apimanagement.operations.SignInSettingsOperations
:ivar sign_up_settings: SignUpSettings operations
Expand All @@ -192,6 +212,10 @@ class ApiManagementClient(SDKClient):
:vartype region: azure.mgmt.apimanagement.operations.RegionOperations
:ivar reports: Reports operations
:vartype reports: azure.mgmt.apimanagement.operations.ReportsOperations
:ivar tenant_settings: TenantSettings operations
:vartype tenant_settings: azure.mgmt.apimanagement.operations.TenantSettingsOperations
:ivar api_management_skus: ApiManagementSkus operations
:vartype api_management_skus: azure.mgmt.apimanagement.operations.ApiManagementSkusOperations
:ivar subscription: Subscription operations
:vartype subscription: azure.mgmt.apimanagement.operations.SubscriptionOperations
:ivar tag_resource: TagResource operations
Expand Down Expand Up @@ -232,7 +256,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 = '2019-12-01'
self.api_version = '2020-12-01'
self._serialize = Serializer(client_models)
self._deserialize = Deserializer(client_models)

Expand Down Expand Up @@ -276,6 +300,12 @@ def __init__(
self._client, self.config, self._serialize, self._deserialize)
self.certificate = CertificateOperations(
self._client, self.config, self._serialize, self._deserialize)
self.content_type = ContentTypeOperations(
self._client, self.config, self._serialize, self._deserialize)
self.content_item = ContentItemOperations(
self._client, self.config, self._serialize, self._deserialize)
self.deleted_services = DeletedServicesOperations(
self._client, self.config, self._serialize, self._deserialize)
self.api_management_operations = ApiManagementOperations(
self._client, self.config, self._serialize, self._deserialize)
self.api_management_service_skus = ApiManagementServiceSkusOperations(
Expand All @@ -292,6 +322,8 @@ def __init__(
self._client, self.config, self._serialize, self._deserialize)
self.gateway_api = GatewayApiOperations(
self._client, self.config, self._serialize, self._deserialize)
self.gateway_certificate_authority = GatewayCertificateAuthorityOperations(
self._client, self.config, self._serialize, self._deserialize)
self.group = GroupOperations(
self._client, self.config, self._serialize, self._deserialize)
self.group_user = GroupUserOperations(
Expand All @@ -318,6 +350,10 @@ def __init__(
self._client, self.config, self._serialize, self._deserialize)
self.policy_description = PolicyDescriptionOperations(
self._client, self.config, self._serialize, self._deserialize)
self.portal_revision = PortalRevisionOperations(
self._client, self.config, self._serialize, self._deserialize)
self.portal_settings = PortalSettingsOperations(
self._client, self.config, self._serialize, self._deserialize)
self.sign_in_settings = SignInSettingsOperations(
self._client, self.config, self._serialize, self._deserialize)
self.sign_up_settings = SignUpSettingsOperations(
Expand All @@ -342,6 +378,10 @@ def __init__(
self._client, self.config, self._serialize, self._deserialize)
self.reports = ReportsOperations(
self._client, self.config, self._serialize, self._deserialize)
self.tenant_settings = TenantSettingsOperations(
self._client, self.config, self._serialize, self._deserialize)
self.api_management_skus = ApiManagementSkusOperations(
self._client, self.config, self._serialize, self._deserialize)
self.subscription = SubscriptionOperations(
self._client, self.config, self._serialize, self._deserialize)
self.tag_resource = TagResourceOperations(
Expand Down
Loading