Skip to content

Commit 3e79f2a

Browse files
kazrael2119MaryGao
andauthored
cdn release (Azure#23887)
* cdn refresh * update files * update files * update samples * Update custom code * Update test recording file * update recording name * update recording name * Enable the custom domain test cases Co-authored-by: Mary Gao <yanmeigao1210@gmail.com>
1 parent 9abc883 commit 3e79f2a

File tree

314 files changed

+8243
-7950
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

314 files changed

+8243
-7950
lines changed

common/config/rush/pnpm-lock.yaml

Lines changed: 6 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/cdn/arm-cdn/CHANGELOG.md

Lines changed: 99 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,104 @@
11
# Release History
2+
3+
## 8.0.0 (2022-11-17)
4+
5+
**Features**
6+
7+
- Added operation CustomDomains.beginDisableCustomHttps
8+
- Added operation CustomDomains.beginDisableCustomHttpsAndWait
9+
- Added operation CustomDomains.beginEnableCustomHttps
10+
- Added operation CustomDomains.beginEnableCustomHttpsAndWait
11+
- Added Interface AFDDomain
12+
- Added Interface AFDDomainProperties
13+
- Added Interface AFDEndpoint
14+
- Added Interface AFDEndpointProperties
15+
- Added Interface AFDOrigin
16+
- Added Interface AFDOriginGroup
17+
- Added Interface AFDOriginGroupProperties
18+
- Added Interface AFDOriginProperties
19+
- Added Interface AzureFirstPartyManagedCertificate
20+
- Added Interface AzureFirstPartyManagedCertificateParameters
21+
- Added Interface CdnManagedHttpsParameters
22+
- Added Interface CdnWebApplicationFirewallPolicy
23+
- Added Interface CustomDomain
24+
- Added Interface CustomerCertificate
25+
- Added Interface CustomerCertificateParameters
26+
- Added Interface DeepCreatedCustomDomain
27+
- Added Interface DeliveryRuleCacheExpirationAction
28+
- Added Interface DeliveryRuleCacheKeyQueryStringAction
29+
- Added Interface DeliveryRuleClientPortCondition
30+
- Added Interface DeliveryRuleCookiesCondition
31+
- Added Interface DeliveryRuleHostNameCondition
32+
- Added Interface DeliveryRuleHttpVersionCondition
33+
- Added Interface DeliveryRuleIsDeviceCondition
34+
- Added Interface DeliveryRulePostArgsCondition
35+
- Added Interface DeliveryRuleQueryStringCondition
36+
- Added Interface DeliveryRuleRemoteAddressCondition
37+
- Added Interface DeliveryRuleRequestBodyCondition
38+
- Added Interface DeliveryRuleRequestHeaderAction
39+
- Added Interface DeliveryRuleRequestHeaderCondition
40+
- Added Interface DeliveryRuleRequestMethodCondition
41+
- Added Interface DeliveryRuleRequestSchemeCondition
42+
- Added Interface DeliveryRuleRequestUriCondition
43+
- Added Interface DeliveryRuleResponseHeaderAction
44+
- Added Interface DeliveryRuleRouteConfigurationOverrideAction
45+
- Added Interface DeliveryRuleServerPortCondition
46+
- Added Interface DeliveryRuleSocketAddrCondition
47+
- Added Interface DeliveryRuleSslProtocolCondition
48+
- Added Interface DeliveryRuleUrlFileExtensionCondition
49+
- Added Interface DeliveryRuleUrlFileNameCondition
50+
- Added Interface DeliveryRuleUrlPathCondition
51+
- Added Interface EdgeNode
52+
- Added Interface Endpoint
53+
- Added Interface EndpointProperties
54+
- Added Interface ManagedCertificate
55+
- Added Interface ManagedCertificateParameters
56+
- Added Interface ManagedRuleSetDefinition
57+
- Added Interface Origin
58+
- Added Interface OriginGroup
59+
- Added Interface OriginGroupOverrideAction
60+
- Added Interface OriginGroupProperties
61+
- Added Interface OriginProperties
62+
- Added Interface Profile
63+
- Added Interface ProxyResource
64+
- Added Interface RateLimitRule
65+
- Added Interface Route
66+
- Added Interface RouteProperties
67+
- Added Interface Rule
68+
- Added Interface RuleProperties
69+
- Added Interface RuleSet
70+
- Added Interface RuleSetProperties
71+
- Added Interface Secret
72+
- Added Interface SecretProperties
73+
- Added Interface SecurityPolicy
74+
- Added Interface SecurityPolicyProperties
75+
- Added Interface SecurityPolicyWebApplicationFirewallParameters
76+
- Added Interface TrackedResource
77+
- Added Interface UrlRedirectAction
78+
- Added Interface UrlRewriteAction
79+
- Added Interface UrlSigningAction
80+
- Added Interface UrlSigningKeyParameters
81+
- Added Interface UserManagedHttpsParameters
82+
- Added Type Alias EndpointProvisioningState
83+
- Added Type Alias OriginGroupProvisioningState
84+
- Added Type Alias OriginProvisioningState
85+
- Added Type Alias ProfileProvisioningState
86+
- Added Type Alias ResourceUsageUnit
87+
- Interface CustomDomainsDisableCustomHttpsOptionalParams has a new optional parameter resumeFrom
88+
- Interface CustomDomainsDisableCustomHttpsOptionalParams has a new optional parameter updateIntervalInMs
89+
- Interface CustomDomainsEnableCustomHttpsOptionalParams has a new optional parameter resumeFrom
90+
- Interface CustomDomainsEnableCustomHttpsOptionalParams has a new optional parameter updateIntervalInMs
91+
- Added Enum KnownEndpointProvisioningState
92+
- Added Enum KnownOriginGroupProvisioningState
93+
- Added Enum KnownOriginProvisioningState
94+
- Added Enum KnownProfileProvisioningState
95+
- Added Enum KnownResourceUsageUnit
296

97+
**Breaking Changes**
98+
99+
- Removed operation CustomDomains.disableCustomHttps
100+
- Removed operation CustomDomains.enableCustomHttps
101+
3102
## 7.0.1 (2022-04-21)
4103

5104
**Features**

sdk/cdn/arm-cdn/_meta.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
2-
"commit": "82fdf284eea880a8e027c354911a814999a77178",
2+
"commit": "20df2424a278ca19437e437a7dbf3a7857a0dd9d",
33
"readme": "specification/cdn/resource-manager/readme.md",
4-
"autorest_command": "autorest --version=3.7.3 --typescript --modelerfour.lenient-model-deduplication --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=D:\\work\\azure-sdk-for-js ..\\azure-rest-api-specs\\specification\\cdn\\resource-manager\\readme.md --use=@autorest/typescript@6.0.0-beta.17 --generate-sample=true",
4+
"autorest_command": "autorest --version=3.8.4 --typescript --modelerfour.lenient-model-deduplication --azure-arm --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=D:\\Git\\azure-sdk-for-js ..\\azure-rest-api-specs\\specification\\cdn\\resource-manager\\readme.md --use=@autorest/typescript@6.0.0-rc.3.20221108.1 --generate-sample=true",
55
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
6-
"release_tool": "@azure-tools/js-sdk-release-tools@2.2.0",
7-
"use": "@autorest/typescript@6.0.0-beta.17"
6+
"release_tool": "@azure-tools/js-sdk-release-tools@2.4.2",
7+
"use": "@autorest/typescript@6.0.0-rc.3.20221108.1"
88
}

sdk/cdn/arm-cdn/package.json

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,17 @@
33
"sdk-type": "mgmt",
44
"author": "Microsoft Corporation",
55
"description": "A generated SDK for CdnManagementClient.",
6-
"version": "7.0.1",
6+
"version": "8.0.0",
77
"engines": {
88
"node": ">=14.0.0"
99
},
1010
"dependencies": {
1111
"@azure/core-lro": "^2.2.0",
1212
"@azure/abort-controller": "^1.0.0",
1313
"@azure/core-paging": "^1.2.0",
14-
"@azure/core-client": "^1.0.0",
14+
"@azure/core-client": "^1.6.1",
1515
"@azure/core-auth": "^1.3.0",
16-
"@azure/core-rest-pipeline": "^1.1.0",
16+
"@azure/core-rest-pipeline": "^1.8.0",
1717
"tslib": "^2.2.0"
1818
},
1919
"keywords": [
@@ -36,13 +36,18 @@
3636
"mkdirp": "^1.0.4",
3737
"rollup": "^2.66.1",
3838
"rollup-plugin-sourcemaps": "^0.6.3",
39-
"typescript": "~4.2.0",
39+
"typescript": "~4.8.0",
4040
"uglify-js": "^3.4.9",
4141
"rimraf": "^3.0.0",
4242
"@azure/identity": "^2.0.1",
43-
"@azure-tools/test-recorder": "^1.0.0",
43+
"@azure-tools/test-recorder": "^2.0.0",
44+
"@azure-tools/test-credential": "^1.0.0",
4445
"mocha": "^7.1.1",
45-
"cross-env": "^7.0.2"
46+
"@types/chai": "^4.2.8",
47+
"chai": "^4.2.0",
48+
"cross-env": "^7.0.2",
49+
"@types/node": "^14.0.0",
50+
"@azure/dev-tool": "^1.0.0"
4651
},
4752
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/cdn/arm-cdn",
4853
"repository": {
@@ -93,9 +98,8 @@
9398
"unit-test:node": "cross-env TEST_MODE=playback npm run integration-test:node",
9499
"unit-test:browser": "echo skipped",
95100
"integration-test": "npm run integration-test:node && npm run integration-test:browser",
96-
"integration-test:node": "mocha -r esm --require ts-node/register --timeout 1200000 --full-trace test/*.ts --reporter ../../../common/tools/mocha-multi-reporter.js",
97-
"integration-test:browser": "echo skipped",
98-
"docs": "echo skipped"
101+
"integration-test:node": "dev-tool run test:node-ts-input -- --timeout 1200000 'test/*.ts'",
102+
"integration-test:browser": "echo skipped"
99103
},
100104
"sideEffects": false,
101105
"//metadata": {
@@ -115,4 +119,4 @@
115119
"disableDocsMs": true,
116120
"apiRefLink": "https://docs.microsoft.com/javascript/api/@azure/arm-cdn?view=azure-node-preview"
117121
}
118-
}
122+
}

0 commit comments

Comments
 (0)