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

t2 apimanagement 2021 03 25 #17565

Merged
merged 1 commit into from
Mar 30, 2021
Merged
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
56 changes: 56 additions & 0 deletions sdk/apimanagement/azure-mgmt-apimanagement/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,61 @@
# Release History

## 2.0.0 (2021-03-25)

**Features**

- Model TagCollection has a new parameter count
- Model OpenIdConnectProviderCollection has a new parameter count
- Model TagResourceCollection has a new parameter count
- Model CertificateCollection has a new parameter count
- Model PolicyCollection has a new parameter count
- Model IssueAttachmentCollection has a new parameter count
- Model BackendServiceFabricClusterProperties has a new parameter client_certificate_id
- Model BackendCollection has a new parameter count
- Model SubscriptionCollection has a new parameter count
- Model RecipientEmailCollection has a new parameter count
- Model GatewayCollection has a new parameter count
- Model IssueCommentCollection has a new parameter count
- Model OperationCollection has a new parameter count
- Model DiagnosticCollection has a new parameter count
- Model ApiVersionSetCollection has a new parameter count
- Model ProductCollection has a new parameter count
- Model IssueCollection has a new parameter count
- Model NotificationCollection has a new parameter count
- Model UserCollection has a new parameter count
- Model IdentityProviderList has a new parameter count
- Model ApiReleaseCollection has a new parameter count
- Model TagDescriptionCollection has a new parameter count
- Model ApiRevisionCollection has a new parameter count
- Model CacheCollection has a new parameter count
- Model RecipientUserCollection has a new parameter count
- Model NamedValueCollection has a new parameter count
- Model EmailTemplateCollection has a new parameter count
- Model BackendCredentialsContract has a new parameter certificate_ids
- Model ApiCollection has a new parameter count
- Model GroupCollection has a new parameter count
- Model SchemaCollection has a new parameter count
- Added operation TenantAccessOperations.list_by_service
- Added operation TenantAccessOperations.create
- Added operation ApiManagementServiceOperations.get_domain_ownership_identifier
- Added operation NamedValueOperations.begin_refresh_secret
- Added operation CertificateOperations.refresh_secret
- Added operation DeletedServicesOperations.begin_purge
- Added operation UserSubscriptionOperations.get
- Added operation group PortalSettingsOperations
- Added operation group TenantSettingsOperations
- Added operation group GatewayCertificateAuthorityOperations
- Added operation group ApiManagementSkusOperations

**Breaking changes**

- Operation CertificateOperations.list_by_service has a new signature
- Operation NamedValueOperations.list_by_service has a new signature
- Removed operation DeletedServicesOperations.purge
- Removed operation TenantAccessGitOperations.list_secrets
- Removed operation TenantAccessGitOperations.get
- Model AccessInformationContract has a new signature

## 1.0.0 (2020-12-21)

**Features**
Expand Down
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 @@ -318,6 +330,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 +360,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 +386,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 = "2020-12-01"
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
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 = "2.0.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 @@ -315,6 +327,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 +357,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 +383,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 = "2020-12-01"
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
Expand Up @@ -38,6 +38,7 @@
from ._gateway_operations import GatewayOperations
from ._gateway_hostname_configuration_operations import GatewayHostnameConfigurationOperations
from ._gateway_api_operations import GatewayApiOperations
from ._gateway_certificate_authority_operations import GatewayCertificateAuthorityOperations
from ._group_operations import GroupOperations
from ._group_user_operations import GroupUserOperations
from ._identity_provider_operations import IdentityProviderOperations
Expand All @@ -52,6 +53,7 @@
from ._policy_operations import PolicyOperations
from ._policy_description_operations import PolicyDescriptionOperations
from ._portal_revision_operations import PortalRevisionOperations
from ._portal_settings_operations import PortalSettingsOperations
from ._sign_in_settings_operations import SignInSettingsOperations
from ._sign_up_settings_operations import SignUpSettingsOperations
from ._delegation_settings_operations import DelegationSettingsOperations
Expand All @@ -64,6 +66,8 @@
from ._quota_by_period_keys_operations import QuotaByPeriodKeysOperations
from ._region_operations import RegionOperations
from ._reports_operations import ReportsOperations
from ._tenant_settings_operations import TenantSettingsOperations
from ._api_management_skus_operations import ApiManagementSkusOperations
from ._subscription_operations import SubscriptionOperations
from ._tag_resource_operations import TagResourceOperations
from ._tenant_access_operations import TenantAccessOperations
Expand Down Expand Up @@ -108,6 +112,7 @@
'GatewayOperations',
'GatewayHostnameConfigurationOperations',
'GatewayApiOperations',
'GatewayCertificateAuthorityOperations',
'GroupOperations',
'GroupUserOperations',
'IdentityProviderOperations',
Expand All @@ -122,6 +127,7 @@
'PolicyOperations',
'PolicyDescriptionOperations',
'PortalRevisionOperations',
'PortalSettingsOperations',
'SignInSettingsOperations',
'SignUpSettingsOperations',
'DelegationSettingsOperations',
Expand All @@ -134,6 +140,8 @@
'QuotaByPeriodKeysOperations',
'RegionOperations',
'ReportsOperations',
'TenantSettingsOperations',
'ApiManagementSkusOperations',
'SubscriptionOperations',
'TagResourceOperations',
'TenantAccessOperations',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def list_by_service(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
api_version = "2020-06-01-preview"
api_version = "2020-12-01"
accept = "application/json"

def prepare_request(next_link=None):
Expand Down Expand Up @@ -166,7 +166,7 @@ async def get_entity_tag(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
api_version = "2020-06-01-preview"
api_version = "2020-12-01"
accept = "application/json"

# Construct URL
Expand Down Expand Up @@ -235,7 +235,7 @@ async def get(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
api_version = "2020-06-01-preview"
api_version = "2020-12-01"
accept = "application/json"

# Construct URL
Expand Down Expand Up @@ -312,7 +312,7 @@ async def create_or_update(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
api_version = "2020-06-01-preview"
api_version = "2020-12-01"
content_type = kwargs.pop("content_type", "application/json")
accept = "application/json"

Expand Down Expand Up @@ -401,7 +401,7 @@ async def update(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
api_version = "2020-06-01-preview"
api_version = "2020-12-01"
content_type = kwargs.pop("content_type", "application/json")
accept = "application/json"

Expand Down Expand Up @@ -481,7 +481,7 @@ async def delete(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
api_version = "2020-06-01-preview"
api_version = "2020-12-01"
accept = "application/json"

# Construct URL
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ async def get(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
api_version = "2020-06-01-preview"
api_version = "2020-12-01"
accept = "application/json"

# Construct URL
Expand Down
Loading