Skip to content

Commit c5479ae

Browse files
Regenerate azure-resourcemanager-cdn from TypeSpec
- Add implementation.models to module-info.java - Add CDN revapi suppressions for expected breaking changes - Regenerated SDK code from TypeSpec Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 9863e6a commit c5479ae

File tree

969 files changed

+48472
-13009
lines changed

Some content is hidden

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

969 files changed

+48472
-13009
lines changed

eng/lintingconfigs/revapi/track2/revapi.json

Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -874,6 +874,81 @@
874874
"match": "class com\\.azure\\.resourcemanager\\.containerregistry\\.models\\..*ListResult"
875875
},
876876
"justification": "Pageable models moved to implementation package. Unlikely used by user."
877+
},
878+
{
879+
"code": "java.method.visibilityReduced",
880+
"old" : {
881+
"matcher": "regex",
882+
"match": "method void com\\.azure\\.resourcemanager\\.cdn\\.models\\..*\\:\\:\\<init\\>\\(\\)"
883+
},
884+
"justification": "Output-only immutable models' constructors are now private."
885+
},
886+
{
887+
"code": "java.method.visibilityReduced",
888+
"old" : {
889+
"matcher": "regex",
890+
"match": "method .* com\\.azure\\.resourcemanager\\.cdn\\.models\\..*\\:\\:with.*\\(.*\\).*"
891+
},
892+
"justification": "Output-only immutable models' setters are now package-private if it's being used by child class."
893+
},
894+
{
895+
"code": "java.method.removed",
896+
"old" : {
897+
"matcher": "regex",
898+
"match": "method .* com\\.azure\\.resourcemanager\\.cdn\\.models\\..*\\:\\:with.*\\(.*\\).*"
899+
},
900+
"justification": "Output-only immutable models' setters are removed if no explicit usage."
901+
},
902+
{
903+
"code": "java.class.removed",
904+
"old" : {
905+
"matcher": "regex",
906+
"match": "class com\\.azure\\.resourcemanager\\.cdn\\.models\\..*ListResult"
907+
},
908+
"justification": "Pageable models moved to implementation package. Unlikely used by user."
909+
},
910+
{
911+
"code": "java.class.removed",
912+
"old" : {
913+
"matcher": "regex",
914+
"match": "class com\\.azure\\.resourcemanager\\.cdn\\.models\\..*(List|Result)$"
915+
},
916+
"justification": "Pageable models moved to implementation package. Unlikely used by user."
917+
},
918+
{
919+
"regex": true,
920+
"code": "java\\.missing\\.(oldSuperType|newSuperType)",
921+
"old" : "class com\\.azure\\.resourcemanager\\.cdn\\.models\\..*",
922+
"justification": "TypeSpec fix for base resource class."
923+
},
924+
{
925+
"code": "java.method.returnTypeChanged",
926+
"old" : {
927+
"matcher": "regex",
928+
"match": "method .* com\\.azure\\.resourcemanager\\.cdn\\.models\\..*\\:\\:typeName\\(\\)"
929+
},
930+
"justification": "TypeSpec uses proper enum types for discriminator fields instead of raw strings."
931+
},
932+
{
933+
"code": "java.method.returnTypeChanged",
934+
"old" : {
935+
"matcher": "regex",
936+
"match": "method .* com\\.azure\\.resourcemanager\\.cdn\\.models\\..*\\:\\:operator\\(\\)"
937+
},
938+
"justification": "TypeSpec uses proper enum types instead of raw strings."
939+
},
940+
{
941+
"code": "java.method.parameterTypeChanged",
942+
"old" : {
943+
"matcher": "regex",
944+
"match": "parameter .* com\\.azure\\.resourcemanager\\.cdn\\.models\\..*\\:\\:with(TypeName|Operator)\\(.*\\)"
945+
},
946+
"justification": "TypeSpec uses proper enum types for discriminator fields instead of raw strings."
947+
},
948+
{
949+
"code": "java.method.removed",
950+
"old" : "method com.azure.resourcemanager.cdn.models.PolicySettingsDefaultCustomBlockResponseStatusCode com.azure.resourcemanager.cdn.models.PolicySettingsDefaultCustomBlockResponseStatusCode::fromInt(int)",
951+
"justification": "ExpandableStringEnum changed to ExpandableEnum<Integer>. Use fromValue(Integer) instead."
877952
}
878953
]
879954
}

eng/versioning/version_client.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -556,6 +556,7 @@ unreleased_com.azure.v2:azure-identity;2.0.0-beta.1
556556
unreleased_com.azure.v2:azure-data-appconfiguration;2.0.0-beta.1
557557
unreleased_io.clientcore:http-netty4;1.0.0-beta.1
558558
unreleased_io.clientcore:linting-extensions;1.0.0-beta.2
559+
unreleased_com.azure.resourcemanager:azure-resourcemanager-cdn;2.54.0-beta.1
559560

560561
# Released Beta dependencies: Copy the entry from above, prepend "beta_", remove the current
561562
# version and set the version to the released beta. Released beta dependencies are only valid

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22

33
## 2.54.0-beta.1 (Unreleased)
44

5-
### Features Added
6-
75
### Breaking Changes
86

9-
### Bugs Fixed
10-
11-
### Other Changes
7+
- Changed `typeName()` return type from `String` to enum types (`DeliveryRuleActionParametersType`, `DeliveryRuleConditionParametersType`, `CertificateSourceParametersType`, `KeyVaultSigningKeyParametersType`) in condition/action parameter classes.
8+
- Changed `operator()` return type from `String` to `RequestSchemeMatchConditionParametersOperator` in `RequestSchemeMatchConditionParameters`.
9+
- Changed `withTypeName(String)` parameter type to corresponding enum type in condition/action parameter classes.
10+
- Changed `withOperator(String)` parameter type to `RequestSchemeMatchConditionParametersOperator` in `RequestSchemeMatchConditionParameters`.
11+
- Removed `fromInt(int)` method from `PolicySettingsDefaultCustomBlockResponseStatusCode`. Use `fromValue(Integer)` instead.
1212

1313
## 2.53.6 (2026-01-29)
1414

sdk/cdn/azure-resourcemanager-cdn/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ For documentation on how to use this package, please see [Azure Management Libra
1818
<dependency>
1919
<groupId>com.azure.resourcemanager</groupId>
2020
<artifactId>azure-resourcemanager-cdn</artifactId>
21-
<version>2.53.1</version>
21+
<version>2.54.0-beta.1</version>
2222
</dependency>
2323
```
2424
[//]: # ({x-version-update-end})

0 commit comments

Comments
 (0)