Skip to content

Commit

Permalink
release track2 sdk for cdn (#16233)
Browse files Browse the repository at this point in the history
  • Loading branch information
00Kai0 authored Jan 22, 2021
1 parent b0a8924 commit c12a9c0
Show file tree
Hide file tree
Showing 60 changed files with 28,633 additions and 6,953 deletions.
42 changes: 42 additions & 0 deletions sdk/cdn/azure-mgmt-cdn/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,47 @@
# Release History

## 10.0.0 (2021-01-19)

**Features**

- Model ProxyResource has a new parameter system_data
- Model OriginGroup has a new parameter system_data
- Model Endpoint has a new parameter system_data
- Model EdgeNode has a new parameter system_data
- Model Origin has a new parameter system_data
- Model TrackedResource has a new parameter system_data
- Model Profile has a new parameter system_data
- Model Profile has a new parameter frontdoor_id
- Model CdnWebApplicationFirewallPolicy has a new parameter system_data
- Model CustomDomain has a new parameter system_data
- Added operation group AFDOriginsOperations
- Added operation group AFDProfilesOperations
- Added operation group AFDEndpointsOperations
- Added operation group RoutesOperations
- Added operation group LogAnalyticsOperations
- Added operation group RulesOperations
- Added operation group ValidateOperations
- Added operation group AFDOriginGroupsOperations
- Added operation group SecretsOperations
- Added operation group SecurityPoliciesOperations
- Added operation group AFDCustomDomainsOperations
- Added operation group RuleSetsOperations

**Breaking changes**

- Parameter odata_type of model UrlSigningActionParameters is now required
- Operation PoliciesOperations.begin_update has a new signature
- Operation EndpointsOperations.validate_custom_domain has a new signature
- Operation EndpointsOperations.begin_load_content has a new signature
- Operation EndpointsOperations.begin_purge_content has a new signature
- Operation ProfilesOperations.begin_update has a new signature
- Operation CdnManagementClientOperationsMixin.check_name_availability has a new signature
- Operation CdnManagementClientOperationsMixin.check_name_availability_with_subscription has a new signature
- Operation CdnManagementClientOperationsMixin.validate_probe has a new signature
- Operation CustomDomainsOperations.begin_create has a new signature
- Model UrlSigningActionParameters no longer has parameter ip_subnets
- Model UrlSigningActionParameters no longer has parameter key_id

## 10.0.0b1 (2020-10-31)
This is beta preview version.
For detailed changelog please refer to equivalent stable version 5.1.0 (https://pypi.org/project/azure-mgmt-cdn/5.1.0/)
Expand Down
60 changes: 60 additions & 0 deletions sdk/cdn/azure-mgmt-cdn/azure/mgmt/cdn/_cdn_management_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,18 @@
from .operations import ResourceUsageOperations
from .operations import Operations
from .operations import EdgeNodesOperations
from .operations import AFDProfilesOperations
from .operations import AFDCustomDomainsOperations
from .operations import AFDEndpointsOperations
from .operations import AFDOriginGroupsOperations
from .operations import AFDOriginsOperations
from .operations import RoutesOperations
from .operations import RuleSetsOperations
from .operations import RulesOperations
from .operations import SecurityPoliciesOperations
from .operations import SecretsOperations
from .operations import ValidateOperations
from .operations import LogAnalyticsOperations
from .operations import PoliciesOperations
from .operations import ManagedRuleSetsOperations
from . import models
Expand All @@ -51,6 +63,30 @@ class CdnManagementClient(CdnManagementClientOperationsMixin):
:vartype operations: azure.mgmt.cdn.operations.Operations
:ivar edge_nodes: EdgeNodesOperations operations
:vartype edge_nodes: azure.mgmt.cdn.operations.EdgeNodesOperations
:ivar afd_profiles: AFDProfilesOperations operations
:vartype afd_profiles: azure.mgmt.cdn.operations.AFDProfilesOperations
:ivar afd_custom_domains: AFDCustomDomainsOperations operations
:vartype afd_custom_domains: azure.mgmt.cdn.operations.AFDCustomDomainsOperations
:ivar afd_endpoints: AFDEndpointsOperations operations
:vartype afd_endpoints: azure.mgmt.cdn.operations.AFDEndpointsOperations
:ivar afd_origin_groups: AFDOriginGroupsOperations operations
:vartype afd_origin_groups: azure.mgmt.cdn.operations.AFDOriginGroupsOperations
:ivar afd_origins: AFDOriginsOperations operations
:vartype afd_origins: azure.mgmt.cdn.operations.AFDOriginsOperations
:ivar routes: RoutesOperations operations
:vartype routes: azure.mgmt.cdn.operations.RoutesOperations
:ivar rule_sets: RuleSetsOperations operations
:vartype rule_sets: azure.mgmt.cdn.operations.RuleSetsOperations
:ivar rules: RulesOperations operations
:vartype rules: azure.mgmt.cdn.operations.RulesOperations
:ivar security_policies: SecurityPoliciesOperations operations
:vartype security_policies: azure.mgmt.cdn.operations.SecurityPoliciesOperations
:ivar secrets: SecretsOperations operations
:vartype secrets: azure.mgmt.cdn.operations.SecretsOperations
:ivar validate: ValidateOperations operations
:vartype validate: azure.mgmt.cdn.operations.ValidateOperations
:ivar log_analytics: LogAnalyticsOperations operations
:vartype log_analytics: azure.mgmt.cdn.operations.LogAnalyticsOperations
:ivar policies: PoliciesOperations operations
:vartype policies: azure.mgmt.cdn.operations.PoliciesOperations
:ivar managed_rule_sets: ManagedRuleSetsOperations operations
Expand Down Expand Up @@ -97,6 +133,30 @@ def __init__(
self._client, self._config, self._serialize, self._deserialize)
self.edge_nodes = EdgeNodesOperations(
self._client, self._config, self._serialize, self._deserialize)
self.afd_profiles = AFDProfilesOperations(
self._client, self._config, self._serialize, self._deserialize)
self.afd_custom_domains = AFDCustomDomainsOperations(
self._client, self._config, self._serialize, self._deserialize)
self.afd_endpoints = AFDEndpointsOperations(
self._client, self._config, self._serialize, self._deserialize)
self.afd_origin_groups = AFDOriginGroupsOperations(
self._client, self._config, self._serialize, self._deserialize)
self.afd_origins = AFDOriginsOperations(
self._client, self._config, self._serialize, self._deserialize)
self.routes = RoutesOperations(
self._client, self._config, self._serialize, self._deserialize)
self.rule_sets = RuleSetsOperations(
self._client, self._config, self._serialize, self._deserialize)
self.rules = RulesOperations(
self._client, self._config, self._serialize, self._deserialize)
self.security_policies = SecurityPoliciesOperations(
self._client, self._config, self._serialize, self._deserialize)
self.secrets = SecretsOperations(
self._client, self._config, self._serialize, self._deserialize)
self.validate = ValidateOperations(
self._client, self._config, self._serialize, self._deserialize)
self.log_analytics = LogAnalyticsOperations(
self._client, self._config, self._serialize, self._deserialize)
self.policies = PoliciesOperations(
self._client, self._config, self._serialize, self._deserialize)
self.managed_rule_sets = ManagedRuleSetsOperations(
Expand Down
2 changes: 1 addition & 1 deletion sdk/cdn/azure-mgmt-cdn/azure/mgmt/cdn/_configuration.py
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-04-15"
self.api_version = "2020-09-01"
self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default'])
kwargs.setdefault('sdk_moniker', 'mgmt-cdn/{}'.format(VERSION))
self._configure(**kwargs)
Expand Down
2 changes: 1 addition & 1 deletion sdk/cdn/azure-mgmt-cdn/azure/mgmt/cdn/_version.py
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 = "10.0.0b1"
VERSION = "10.0.0"
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,18 @@
from .operations import ResourceUsageOperations
from .operations import Operations
from .operations import EdgeNodesOperations
from .operations import AFDProfilesOperations
from .operations import AFDCustomDomainsOperations
from .operations import AFDEndpointsOperations
from .operations import AFDOriginGroupsOperations
from .operations import AFDOriginsOperations
from .operations import RoutesOperations
from .operations import RuleSetsOperations
from .operations import RulesOperations
from .operations import SecurityPoliciesOperations
from .operations import SecretsOperations
from .operations import ValidateOperations
from .operations import LogAnalyticsOperations
from .operations import PoliciesOperations
from .operations import ManagedRuleSetsOperations
from .. import models
Expand All @@ -49,6 +61,30 @@ class CdnManagementClient(CdnManagementClientOperationsMixin):
:vartype operations: azure.mgmt.cdn.aio.operations.Operations
:ivar edge_nodes: EdgeNodesOperations operations
:vartype edge_nodes: azure.mgmt.cdn.aio.operations.EdgeNodesOperations
:ivar afd_profiles: AFDProfilesOperations operations
:vartype afd_profiles: azure.mgmt.cdn.aio.operations.AFDProfilesOperations
:ivar afd_custom_domains: AFDCustomDomainsOperations operations
:vartype afd_custom_domains: azure.mgmt.cdn.aio.operations.AFDCustomDomainsOperations
:ivar afd_endpoints: AFDEndpointsOperations operations
:vartype afd_endpoints: azure.mgmt.cdn.aio.operations.AFDEndpointsOperations
:ivar afd_origin_groups: AFDOriginGroupsOperations operations
:vartype afd_origin_groups: azure.mgmt.cdn.aio.operations.AFDOriginGroupsOperations
:ivar afd_origins: AFDOriginsOperations operations
:vartype afd_origins: azure.mgmt.cdn.aio.operations.AFDOriginsOperations
:ivar routes: RoutesOperations operations
:vartype routes: azure.mgmt.cdn.aio.operations.RoutesOperations
:ivar rule_sets: RuleSetsOperations operations
:vartype rule_sets: azure.mgmt.cdn.aio.operations.RuleSetsOperations
:ivar rules: RulesOperations operations
:vartype rules: azure.mgmt.cdn.aio.operations.RulesOperations
:ivar security_policies: SecurityPoliciesOperations operations
:vartype security_policies: azure.mgmt.cdn.aio.operations.SecurityPoliciesOperations
:ivar secrets: SecretsOperations operations
:vartype secrets: azure.mgmt.cdn.aio.operations.SecretsOperations
:ivar validate: ValidateOperations operations
:vartype validate: azure.mgmt.cdn.aio.operations.ValidateOperations
:ivar log_analytics: LogAnalyticsOperations operations
:vartype log_analytics: azure.mgmt.cdn.aio.operations.LogAnalyticsOperations
:ivar policies: PoliciesOperations operations
:vartype policies: azure.mgmt.cdn.aio.operations.PoliciesOperations
:ivar managed_rule_sets: ManagedRuleSetsOperations operations
Expand Down Expand Up @@ -94,6 +130,30 @@ def __init__(
self._client, self._config, self._serialize, self._deserialize)
self.edge_nodes = EdgeNodesOperations(
self._client, self._config, self._serialize, self._deserialize)
self.afd_profiles = AFDProfilesOperations(
self._client, self._config, self._serialize, self._deserialize)
self.afd_custom_domains = AFDCustomDomainsOperations(
self._client, self._config, self._serialize, self._deserialize)
self.afd_endpoints = AFDEndpointsOperations(
self._client, self._config, self._serialize, self._deserialize)
self.afd_origin_groups = AFDOriginGroupsOperations(
self._client, self._config, self._serialize, self._deserialize)
self.afd_origins = AFDOriginsOperations(
self._client, self._config, self._serialize, self._deserialize)
self.routes = RoutesOperations(
self._client, self._config, self._serialize, self._deserialize)
self.rule_sets = RuleSetsOperations(
self._client, self._config, self._serialize, self._deserialize)
self.rules = RulesOperations(
self._client, self._config, self._serialize, self._deserialize)
self.security_policies = SecurityPoliciesOperations(
self._client, self._config, self._serialize, self._deserialize)
self.secrets = SecretsOperations(
self._client, self._config, self._serialize, self._deserialize)
self.validate = ValidateOperations(
self._client, self._config, self._serialize, self._deserialize)
self.log_analytics = LogAnalyticsOperations(
self._client, self._config, self._serialize, self._deserialize)
self.policies = PoliciesOperations(
self._client, self._config, self._serialize, self._deserialize)
self.managed_rule_sets = ManagedRuleSetsOperations(
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-04-15"
self.api_version = "2020-09-01"
self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default'])
kwargs.setdefault('sdk_moniker', 'mgmt-cdn/{}'.format(VERSION))
self._configure(**kwargs)
Expand Down
24 changes: 24 additions & 0 deletions sdk/cdn/azure-mgmt-cdn/azure/mgmt/cdn/aio/operations/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,18 @@
from ._resource_usage_operations import ResourceUsageOperations
from ._operations import Operations
from ._edge_nodes_operations import EdgeNodesOperations
from ._afd_profiles_operations import AFDProfilesOperations
from ._afd_custom_domains_operations import AFDCustomDomainsOperations
from ._afd_endpoints_operations import AFDEndpointsOperations
from ._afd_origin_groups_operations import AFDOriginGroupsOperations
from ._afd_origins_operations import AFDOriginsOperations
from ._routes_operations import RoutesOperations
from ._rule_sets_operations import RuleSetsOperations
from ._rules_operations import RulesOperations
from ._security_policies_operations import SecurityPoliciesOperations
from ._secrets_operations import SecretsOperations
from ._validate_operations import ValidateOperations
from ._log_analytics_operations import LogAnalyticsOperations
from ._policies_operations import PoliciesOperations
from ._managed_rule_sets_operations import ManagedRuleSetsOperations

Expand All @@ -28,6 +40,18 @@
'ResourceUsageOperations',
'Operations',
'EdgeNodesOperations',
'AFDProfilesOperations',
'AFDCustomDomainsOperations',
'AFDEndpointsOperations',
'AFDOriginGroupsOperations',
'AFDOriginsOperations',
'RoutesOperations',
'RuleSetsOperations',
'RulesOperations',
'SecurityPoliciesOperations',
'SecretsOperations',
'ValidateOperations',
'LogAnalyticsOperations',
'PoliciesOperations',
'ManagedRuleSetsOperations',
]
Loading

0 comments on commit c12a9c0

Please sign in to comment.