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 track2_azure-mgmt-apimanagement] apimanagement track2 configure #4634

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
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,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 @@ -64,6 +65,7 @@
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 @@ -76,6 +78,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 @@ -156,6 +160,8 @@ class ApiManagementClient(object):
:vartype gateway_hostname_configuration: azure.mgmt.apimanagement.operations.GatewayHostnameConfigurationOperations
:ivar gateway_api: GatewayApiOperations operations
:vartype gateway_api: azure.mgmt.apimanagement.operations.GatewayApiOperations
:ivar gateway_certificate_authority: GatewayCertificateAuthorityOperations operations
:vartype gateway_certificate_authority: azure.mgmt.apimanagement.operations.GatewayCertificateAuthorityOperations
:ivar group: GroupOperations operations
:vartype group: azure.mgmt.apimanagement.operations.GroupOperations
:ivar group_user: GroupUserOperations operations
Expand Down Expand Up @@ -184,6 +190,8 @@ class ApiManagementClient(object):
:vartype policy_description: azure.mgmt.apimanagement.operations.PolicyDescriptionOperations
:ivar portal_revision: PortalRevisionOperations operations
:vartype portal_revision: azure.mgmt.apimanagement.operations.PortalRevisionOperations
:ivar portal_settings: PortalSettingsOperations operations
:vartype portal_settings: azure.mgmt.apimanagement.operations.PortalSettingsOperations
:ivar sign_in_settings: SignInSettingsOperations operations
:vartype sign_in_settings: azure.mgmt.apimanagement.operations.SignInSettingsOperations
:ivar sign_up_settings: SignUpSettingsOperations operations
Expand All @@ -208,6 +216,10 @@ class ApiManagementClient(object):
:vartype region: azure.mgmt.apimanagement.operations.RegionOperations
:ivar reports: ReportsOperations operations
:vartype reports: azure.mgmt.apimanagement.operations.ReportsOperations
:ivar tenant_settings: TenantSettingsOperations operations
:vartype tenant_settings: azure.mgmt.apimanagement.operations.TenantSettingsOperations
:ivar api_management_skus: ApiManagementSkusOperations operations
:vartype api_management_skus: azure.mgmt.apimanagement.operations.ApiManagementSkusOperations
:ivar subscription: SubscriptionOperations operations
:vartype subscription: azure.mgmt.apimanagement.operations.SubscriptionOperations
:ivar tag_resource: TagResourceOperations operations
Expand Down Expand Up @@ -251,7 +263,6 @@ def __init__(

client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)}
self._serialize = Serializer(client_models)
self._serialize.client_side_validation = False
self._deserialize = Deserializer(client_models)

self.api = ApiOperations(
Expand Down Expand Up @@ -318,6 +329,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 Down Expand Up @@ -346,6 +359,8 @@ def __init__(
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 @@ -370,6 +385,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
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def __init__(

self.credential = credential
self.subscription_id = subscription_id
self.api_version = "2020-06-01-preview"
self.api_version = "2021-01-01-preview"
self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default'])
kwargs.setdefault('sdk_moniker', 'mgmt-apimanagement/{}'.format(VERSION))
self._configure(**kwargs)
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,132 @@
{
"chosen_version": "2021-01-01-preview",
"total_api_version_list": ["2021-01-01-preview"],
"client": {
"name": "ApiManagementClient",
"filename": "_api_management_client",
"description": "ApiManagement Client.",
"base_url": "\u0027https://management.azure.com\u0027",
"custom_base_url": null,
"azure_arm": true,
"has_lro_operations": true,
"client_side_validation": true
},
"global_parameters": {
"sync": {
"credential": {
"signature": "credential, # type: \"TokenCredential\"",
"description": "Credential needed for the client to connect to Azure.",
"docstring_type": "~azure.core.credentials.TokenCredential",
"required": true
},
"subscription_id": {
"signature": "subscription_id, # type: str",
"description": "Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.",
"docstring_type": "str",
"required": true
}
},
"async": {
"credential": {
"signature": "credential, # type: \"AsyncTokenCredential\"",
"description": "Credential needed for the client to connect to Azure.",
"docstring_type": "~azure.core.credentials_async.AsyncTokenCredential",
"required": true
},
"subscription_id": {
"signature": "subscription_id, # type: str",
"description": "Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.",
"docstring_type": "str",
"required": true
}
},
"constant": {
},
"call": "credential, subscription_id"
},
"config": {
"credential": true,
"credential_scopes": ["https://management.azure.com/.default"],
"credential_default_policy_type": "BearerTokenCredentialPolicy",
"credential_default_policy_type_has_async_version": true,
"credential_key_header_name": null
},
"operation_groups": {
"api": "ApiOperations",
"api_revision": "ApiRevisionOperations",
"api_release": "ApiReleaseOperations",
"api_operation": "ApiOperationOperations",
"api_operation_policy": "ApiOperationPolicyOperations",
"tag": "TagOperations",
"api_product": "ApiProductOperations",
"api_policy": "ApiPolicyOperations",
"api_schema": "ApiSchemaOperations",
"api_diagnostic": "ApiDiagnosticOperations",
"api_issue": "ApiIssueOperations",
"api_issue_comment": "ApiIssueCommentOperations",
"api_issue_attachment": "ApiIssueAttachmentOperations",
"api_tag_description": "ApiTagDescriptionOperations",
"operation": "OperationOperations",
"api_export": "ApiExportOperations",
"api_version_set": "ApiVersionSetOperations",
"authorization_server": "AuthorizationServerOperations",
"backend": "BackendOperations",
"cache": "CacheOperations",
"certificate": "CertificateOperations",
"content_type": "ContentTypeOperations",
"content_item": "ContentItemOperations",
"deleted_services": "DeletedServicesOperations",
"api_management_operations": "ApiManagementOperationsOperations",
"api_management_service_skus": "ApiManagementServiceSkusOperations",
"api_management_service": "ApiManagementServiceOperations",
"diagnostic": "DiagnosticOperations",
"email_template": "EmailTemplateOperations",
"gateway": "GatewayOperations",
"gateway_hostname_configuration": "GatewayHostnameConfigurationOperations",
"gateway_api": "GatewayApiOperations",
"gateway_certificate_authority": "GatewayCertificateAuthorityOperations",
"group": "GroupOperations",
"group_user": "GroupUserOperations",
"identity_provider": "IdentityProviderOperations",
"issue": "IssueOperations",
"logger": "LoggerOperations",
"named_value": "NamedValueOperations",
"network_status": "NetworkStatusOperations",
"notification": "NotificationOperations",
"notification_recipient_user": "NotificationRecipientUserOperations",
"notification_recipient_email": "NotificationRecipientEmailOperations",
"open_id_connect_provider": "OpenIdConnectProviderOperations",
"policy": "PolicyOperations",
"policy_description": "PolicyDescriptionOperations",
"portal_revision": "PortalRevisionOperations",
"portal_settings": "PortalSettingsOperations",
"sign_in_settings": "SignInSettingsOperations",
"sign_up_settings": "SignUpSettingsOperations",
"delegation_settings": "DelegationSettingsOperations",
"product": "ProductOperations",
"product_api": "ProductApiOperations",
"product_group": "ProductGroupOperations",
"product_subscriptions": "ProductSubscriptionsOperations",
"product_policy": "ProductPolicyOperations",
"quota_by_counter_keys": "QuotaByCounterKeysOperations",
"quota_by_period_keys": "QuotaByPeriodKeysOperations",
"region": "RegionOperations",
"reports": "ReportsOperations",
"tenant_settings": "TenantSettingsOperations",
"api_management_skus": "ApiManagementSkusOperations",
"subscription": "SubscriptionOperations",
"tag_resource": "TagResourceOperations",
"tenant_access": "TenantAccessOperations",
"tenant_access_git": "TenantAccessGitOperations",
"tenant_configuration": "TenantConfigurationOperations",
"user": "UserOperations",
"user_group": "UserGroupOperations",
"user_subscription": "UserSubscriptionOperations",
"user_identities": "UserIdentitiesOperations",
"user_confirmation_password": "UserConfirmationPasswordOperations"
},
"operation_mixins": {
},
"sync_imports": "None",
"async_imports": "None"
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------

VERSION = "1.0.0"
VERSION = "0.1.0"
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,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 @@ -62,6 +63,7 @@
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 @@ -74,6 +76,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 @@ -154,6 +158,8 @@ class ApiManagementClient(object):
:vartype gateway_hostname_configuration: azure.mgmt.apimanagement.aio.operations.GatewayHostnameConfigurationOperations
:ivar gateway_api: GatewayApiOperations operations
:vartype gateway_api: azure.mgmt.apimanagement.aio.operations.GatewayApiOperations
:ivar gateway_certificate_authority: GatewayCertificateAuthorityOperations operations
:vartype gateway_certificate_authority: azure.mgmt.apimanagement.aio.operations.GatewayCertificateAuthorityOperations
:ivar group: GroupOperations operations
:vartype group: azure.mgmt.apimanagement.aio.operations.GroupOperations
:ivar group_user: GroupUserOperations operations
Expand Down Expand Up @@ -182,6 +188,8 @@ class ApiManagementClient(object):
:vartype policy_description: azure.mgmt.apimanagement.aio.operations.PolicyDescriptionOperations
:ivar portal_revision: PortalRevisionOperations operations
:vartype portal_revision: azure.mgmt.apimanagement.aio.operations.PortalRevisionOperations
:ivar portal_settings: PortalSettingsOperations operations
:vartype portal_settings: azure.mgmt.apimanagement.aio.operations.PortalSettingsOperations
:ivar sign_in_settings: SignInSettingsOperations operations
:vartype sign_in_settings: azure.mgmt.apimanagement.aio.operations.SignInSettingsOperations
:ivar sign_up_settings: SignUpSettingsOperations operations
Expand All @@ -206,6 +214,10 @@ class ApiManagementClient(object):
:vartype region: azure.mgmt.apimanagement.aio.operations.RegionOperations
:ivar reports: ReportsOperations operations
:vartype reports: azure.mgmt.apimanagement.aio.operations.ReportsOperations
:ivar tenant_settings: TenantSettingsOperations operations
:vartype tenant_settings: azure.mgmt.apimanagement.aio.operations.TenantSettingsOperations
:ivar api_management_skus: ApiManagementSkusOperations operations
:vartype api_management_skus: azure.mgmt.apimanagement.aio.operations.ApiManagementSkusOperations
:ivar subscription: SubscriptionOperations operations
:vartype subscription: azure.mgmt.apimanagement.aio.operations.SubscriptionOperations
:ivar tag_resource: TagResourceOperations operations
Expand Down Expand Up @@ -248,7 +260,6 @@ def __init__(

client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)}
self._serialize = Serializer(client_models)
self._serialize.client_side_validation = False
self._deserialize = Deserializer(client_models)

self.api = ApiOperations(
Expand Down Expand Up @@ -315,6 +326,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 Down Expand Up @@ -343,6 +356,8 @@ def __init__(
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 @@ -367,6 +382,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
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def __init__(

self.credential = credential
self.subscription_id = subscription_id
self.api_version = "2020-06-01-preview"
self.api_version = "2021-01-01-preview"
self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default'])
kwargs.setdefault('sdk_moniker', 'mgmt-apimanagement/{}'.format(VERSION))
self._configure(**kwargs)
Expand Down
Loading