Skip to content

Commit c8a50ec

Browse files
authored
[T1] cdn 2020 12 10 (Azure#15742)
* test,version,CHANGELOG * Update CHANGELOG.md
1 parent ffef335 commit c8a50ec

34 files changed

+16050
-7886
lines changed

sdk/cdn/azure-mgmt-cdn/CHANGELOG.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,38 @@
11
# Release History
22

3+
## 6.0.0 (2020-12-14)
4+
5+
**Features**
6+
7+
- Model ProxyResource has a new parameter system_data
8+
- Model OriginGroup has a new parameter system_data
9+
- Model Endpoint has a new parameter system_data
10+
- Model Origin has a new parameter system_data
11+
- Model TrackedResource has a new parameter system_data
12+
- Model EdgeNode has a new parameter system_data
13+
- Model CdnWebApplicationFirewallPolicy has a new parameter system_data
14+
- Model CustomDomain has a new parameter system_data
15+
- Model Profile has a new parameter frontdoor_id
16+
- Model Profile has a new parameter system_data
17+
- Added operation group AFDEndpointsOperations
18+
- Added operation group RuleSetsOperations
19+
- Added operation group AFDOriginGroupsOperations
20+
- Added operation group ValidateOperations
21+
- Added operation group SecretsOperations
22+
- Added operation group AFDOriginsOperations
23+
- Added operation group SecurityPoliciesOperations
24+
- Added operation group RoutesOperations
25+
- Added operation group LogAnalyticsOperations
26+
- Added operation group AFDProfilesOperations
27+
- Added operation group RulesOperations
28+
- Added operation group AFDCustomDomainsOperations
29+
30+
**Breaking changes**
31+
32+
- Parameter odatatype of model UrlSigningActionParameters is now required
33+
- Model UrlSigningActionParameters no longer has parameter ip_subnets
34+
- Model UrlSigningActionParameters no longer has parameter key_id
35+
336
## 5.2.0 (2020-12-01)
437

538
**Features**

sdk/cdn/azure-mgmt-cdn/azure/mgmt/cdn/_cdn_management_client.py

Lines changed: 68 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,18 @@
2222
from .operations import ResourceUsageOperations
2323
from .operations import Operations
2424
from .operations import EdgeNodesOperations
25+
from .operations import AFDProfilesOperations
26+
from .operations import AFDCustomDomainsOperations
27+
from .operations import AFDEndpointsOperations
28+
from .operations import AFDOriginGroupsOperations
29+
from .operations import AFDOriginsOperations
30+
from .operations import RoutesOperations
31+
from .operations import RuleSetsOperations
32+
from .operations import RulesOperations
33+
from .operations import SecurityPoliciesOperations
34+
from .operations import SecretsOperations
35+
from .operations import ValidateOperations
36+
from .operations import LogAnalyticsOperations
2537
from .operations import PoliciesOperations
2638
from .operations import ManagedRuleSetsOperations
2739
from . import models
@@ -49,6 +61,30 @@ class CdnManagementClient(CdnManagementClientOperationsMixin, SDKClient):
4961
:vartype operations: azure.mgmt.cdn.operations.Operations
5062
:ivar edge_nodes: EdgeNodes operations
5163
:vartype edge_nodes: azure.mgmt.cdn.operations.EdgeNodesOperations
64+
:ivar afd_profiles: AFDProfiles operations
65+
:vartype afd_profiles: azure.mgmt.cdn.operations.AFDProfilesOperations
66+
:ivar afd_custom_domains: AFDCustomDomains operations
67+
:vartype afd_custom_domains: azure.mgmt.cdn.operations.AFDCustomDomainsOperations
68+
:ivar afd_endpoints: AFDEndpoints operations
69+
:vartype afd_endpoints: azure.mgmt.cdn.operations.AFDEndpointsOperations
70+
:ivar afd_origin_groups: AFDOriginGroups operations
71+
:vartype afd_origin_groups: azure.mgmt.cdn.operations.AFDOriginGroupsOperations
72+
:ivar afd_origins: AFDOrigins operations
73+
:vartype afd_origins: azure.mgmt.cdn.operations.AFDOriginsOperations
74+
:ivar routes: Routes operations
75+
:vartype routes: azure.mgmt.cdn.operations.RoutesOperations
76+
:ivar rule_sets: RuleSets operations
77+
:vartype rule_sets: azure.mgmt.cdn.operations.RuleSetsOperations
78+
:ivar rules: Rules operations
79+
:vartype rules: azure.mgmt.cdn.operations.RulesOperations
80+
:ivar security_policies: SecurityPolicies operations
81+
:vartype security_policies: azure.mgmt.cdn.operations.SecurityPoliciesOperations
82+
:ivar secrets: Secrets operations
83+
:vartype secrets: azure.mgmt.cdn.operations.SecretsOperations
84+
:ivar validate: Validate operations
85+
:vartype validate: azure.mgmt.cdn.operations.ValidateOperations
86+
:ivar log_analytics: LogAnalytics operations
87+
:vartype log_analytics: azure.mgmt.cdn.operations.LogAnalyticsOperations
5288
:ivar policies: Policies operations
5389
:vartype policies: azure.mgmt.cdn.operations.PoliciesOperations
5490
:ivar managed_rule_sets: ManagedRuleSets operations
@@ -59,17 +95,22 @@ class CdnManagementClient(CdnManagementClientOperationsMixin, SDKClient):
5995
object<msrestazure.azure_active_directory>`
6096
:param subscription_id: Azure Subscription ID.
6197
:type subscription_id: str
98+
:param subscription_id1: Azure Subscription ID.
99+
:type subscription_id1: str
100+
:param api_version1: Version of the API to be used with the client
101+
request. Current version is 2019-09-01.
102+
:type api_version1: str
62103
:param str base_url: Service URL
63104
"""
64105

65106
def __init__(
66-
self, credentials, subscription_id, base_url=None):
107+
self, credentials, subscription_id, subscription_id1, api_version1, base_url=None):
67108

68-
self.config = CdnManagementClientConfiguration(credentials, subscription_id, base_url)
109+
self.config = CdnManagementClientConfiguration(credentials, subscription_id, subscription_id1, api_version1, base_url)
69110
super(CdnManagementClient, self).__init__(self.config.credentials, self.config)
70111

71112
client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)}
72-
self.api_version = '2020-04-15'
113+
self.api_version = '2020-09-01'
73114
self._serialize = Serializer(client_models)
74115
self._deserialize = Deserializer(client_models)
75116

@@ -89,6 +130,30 @@ def __init__(
89130
self._client, self.config, self._serialize, self._deserialize)
90131
self.edge_nodes = EdgeNodesOperations(
91132
self._client, self.config, self._serialize, self._deserialize)
133+
self.afd_profiles = AFDProfilesOperations(
134+
self._client, self.config, self._serialize, self._deserialize)
135+
self.afd_custom_domains = AFDCustomDomainsOperations(
136+
self._client, self.config, self._serialize, self._deserialize)
137+
self.afd_endpoints = AFDEndpointsOperations(
138+
self._client, self.config, self._serialize, self._deserialize)
139+
self.afd_origin_groups = AFDOriginGroupsOperations(
140+
self._client, self.config, self._serialize, self._deserialize)
141+
self.afd_origins = AFDOriginsOperations(
142+
self._client, self.config, self._serialize, self._deserialize)
143+
self.routes = RoutesOperations(
144+
self._client, self.config, self._serialize, self._deserialize)
145+
self.rule_sets = RuleSetsOperations(
146+
self._client, self.config, self._serialize, self._deserialize)
147+
self.rules = RulesOperations(
148+
self._client, self.config, self._serialize, self._deserialize)
149+
self.security_policies = SecurityPoliciesOperations(
150+
self._client, self.config, self._serialize, self._deserialize)
151+
self.secrets = SecretsOperations(
152+
self._client, self.config, self._serialize, self._deserialize)
153+
self.validate = ValidateOperations(
154+
self._client, self.config, self._serialize, self._deserialize)
155+
self.log_analytics = LogAnalyticsOperations(
156+
self._client, self.config, self._serialize, self._deserialize)
92157
self.policies = PoliciesOperations(
93158
self._client, self.config, self._serialize, self._deserialize)
94159
self.managed_rule_sets = ManagedRuleSetsOperations(

sdk/cdn/azure-mgmt-cdn/azure/mgmt/cdn/_configuration.py

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,16 +23,25 @@ class CdnManagementClientConfiguration(AzureConfiguration):
2323
object<msrestazure.azure_active_directory>`
2424
:param subscription_id: Azure Subscription ID.
2525
:type subscription_id: str
26+
:param subscription_id1: Azure Subscription ID.
27+
:type subscription_id1: str
28+
:param api_version1: Version of the API to be used with the client
29+
request. Current version is 2019-09-01.
30+
:type api_version1: str
2631
:param str base_url: Service URL
2732
"""
2833

2934
def __init__(
30-
self, credentials, subscription_id, base_url=None):
35+
self, credentials, subscription_id, subscription_id1, api_version1, base_url=None):
3136

3237
if credentials is None:
3338
raise ValueError("Parameter 'credentials' must not be None.")
3439
if subscription_id is None:
3540
raise ValueError("Parameter 'subscription_id' must not be None.")
41+
if subscription_id1 is None:
42+
raise ValueError("Parameter 'subscription_id1' must not be None.")
43+
if api_version1 is None:
44+
raise ValueError("Parameter 'api_version1' must not be None.")
3645
if not base_url:
3746
base_url = 'https://management.azure.com'
3847

@@ -46,3 +55,5 @@ def __init__(
4655

4756
self.credentials = credentials
4857
self.subscription_id = subscription_id
58+
self.subscription_id1 = subscription_id1
59+
self.api_version1 = api_version1

0 commit comments

Comments
 (0)