Skip to content

Commit 3d9a7a1

Browse files
authored
mgmt, local generation for ContainerService (Azure#35116)
* mgmt, local generation for ContainerService * Fixed for the property `dockerBridgeCidr` as no effect since 2019
1 parent 89378e7 commit 3d9a7a1

File tree

83 files changed

+2686
-3232
lines changed

Some content is hidden

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

83 files changed

+2686
-3232
lines changed

sdk/resourcemanager/api-specs.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171
"dir": "azure-resourcemanager-containerservice",
7272
"source": "specification/containerservice/resource-manager/Microsoft.ContainerService/aks/readme.md",
7373
"package": "com.azure.resourcemanager.containerservice",
74-
"args": "--tag=package-2023-03 --preserve-model=ContainerServiceVMSizeTypes --rename-model=Ossku:OSSku"
74+
"args": "--tag=package-2023-04 --preserve-model=ContainerServiceVMSizeTypes --rename-model=Ossku:OSSku"
7575
},
7676
"containerservice-hybrid": {
7777
"dir": "../resourcemanagerhybrid/azure-resourcemanager-containerservice",

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

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

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

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

9-
### Bugs Fixed
7+
- The property `dockerBridgeCidr` in class `KubernetesCluster` has no effect since 2019.
108

11-
### Other Changes
9+
#### Dependency Updates
10+
11+
- Updated `api-version` to `2023-04-01`.
1212

1313
## 2.26.0 (2023-04-21)
1414

sdk/resourcemanager/azure-resourcemanager-containerservice/pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@
4242

4343
--add-opens com.azure.core/com.azure.core.implementation.util=ALL-UNNAMED
4444
</javaModulesSurefireArgLine>
45+
<revapi.skip>true</revapi.skip>
4546
</properties>
4647

4748
<developers>

sdk/resourcemanager/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/implementation/AgentPoolsClientImpl.java

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ public Mono<Response<Flux<ByteBuffer>>> abortLatestOperationWithResponseAsync(
237237
if (agentPoolName == null) {
238238
return Mono.error(new IllegalArgumentException("Parameter agentPoolName is required and cannot be null."));
239239
}
240-
final String apiVersion = "2023-03-01";
240+
final String apiVersion = "2023-04-01";
241241
final String accept = "application/json";
242242
return FluxUtil
243243
.withContext(
@@ -296,7 +296,7 @@ private Mono<Response<Flux<ByteBuffer>>> abortLatestOperationWithResponseAsync(
296296
if (agentPoolName == null) {
297297
return Mono.error(new IllegalArgumentException("Parameter agentPoolName is required and cannot be null."));
298298
}
299-
final String apiVersion = "2023-03-01";
299+
final String apiVersion = "2023-04-01";
300300
final String accept = "application/json";
301301
context = this.client.mergeContext(context);
302302
return service
@@ -527,7 +527,7 @@ private Mono<PagedResponse<AgentPoolInner>> listSinglePageAsync(String resourceG
527527
if (resourceName == null) {
528528
return Mono.error(new IllegalArgumentException("Parameter resourceName is required and cannot be null."));
529529
}
530-
final String apiVersion = "2023-03-01";
530+
final String apiVersion = "2023-04-01";
531531
final String accept = "application/json";
532532
return FluxUtil
533533
.withContext(
@@ -587,7 +587,7 @@ private Mono<PagedResponse<AgentPoolInner>> listSinglePageAsync(
587587
if (resourceName == null) {
588588
return Mono.error(new IllegalArgumentException("Parameter resourceName is required and cannot be null."));
589589
}
590-
final String apiVersion = "2023-03-01";
590+
final String apiVersion = "2023-04-01";
591591
final String accept = "application/json";
592592
context = this.client.mergeContext(context);
593593
return service
@@ -712,7 +712,7 @@ public Mono<Response<AgentPoolInner>> getWithResponseAsync(
712712
if (agentPoolName == null) {
713713
return Mono.error(new IllegalArgumentException("Parameter agentPoolName is required and cannot be null."));
714714
}
715-
final String apiVersion = "2023-03-01";
715+
final String apiVersion = "2023-04-01";
716716
final String accept = "application/json";
717717
return FluxUtil
718718
.withContext(
@@ -768,7 +768,7 @@ private Mono<Response<AgentPoolInner>> getWithResponseAsync(
768768
if (agentPoolName == null) {
769769
return Mono.error(new IllegalArgumentException("Parameter agentPoolName is required and cannot be null."));
770770
}
771-
final String apiVersion = "2023-03-01";
771+
final String apiVersion = "2023-04-01";
772772
final String accept = "application/json";
773773
context = this.client.mergeContext(context);
774774
return service
@@ -876,7 +876,7 @@ public Mono<Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(
876876
} else {
877877
parameters.validate();
878878
}
879-
final String apiVersion = "2023-03-01";
879+
final String apiVersion = "2023-04-01";
880880
final String accept = "application/json";
881881
return FluxUtil
882882
.withContext(
@@ -942,7 +942,7 @@ private Mono<Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(
942942
} else {
943943
parameters.validate();
944944
}
945-
final String apiVersion = "2023-03-01";
945+
final String apiVersion = "2023-04-01";
946946
final String accept = "application/json";
947947
context = this.client.mergeContext(context);
948948
return service
@@ -1181,7 +1181,7 @@ public Mono<Response<Flux<ByteBuffer>>> deleteWithResponseAsync(
11811181
if (agentPoolName == null) {
11821182
return Mono.error(new IllegalArgumentException("Parameter agentPoolName is required and cannot be null."));
11831183
}
1184-
final String apiVersion = "2023-03-01";
1184+
final String apiVersion = "2023-04-01";
11851185
final String accept = "application/json";
11861186
return FluxUtil
11871187
.withContext(
@@ -1236,7 +1236,7 @@ private Mono<Response<Flux<ByteBuffer>>> deleteWithResponseAsync(
12361236
if (agentPoolName == null) {
12371237
return Mono.error(new IllegalArgumentException("Parameter agentPoolName is required and cannot be null."));
12381238
}
1239-
final String apiVersion = "2023-03-01";
1239+
final String apiVersion = "2023-04-01";
12401240
final String accept = "application/json";
12411241
context = this.client.mergeContext(context);
12421242
return service
@@ -1436,7 +1436,7 @@ public Mono<Response<AgentPoolUpgradeProfileInner>> getUpgradeProfileWithRespons
14361436
if (agentPoolName == null) {
14371437
return Mono.error(new IllegalArgumentException("Parameter agentPoolName is required and cannot be null."));
14381438
}
1439-
final String apiVersion = "2023-03-01";
1439+
final String apiVersion = "2023-04-01";
14401440
final String accept = "application/json";
14411441
return FluxUtil
14421442
.withContext(
@@ -1492,7 +1492,7 @@ private Mono<Response<AgentPoolUpgradeProfileInner>> getUpgradeProfileWithRespon
14921492
if (agentPoolName == null) {
14931493
return Mono.error(new IllegalArgumentException("Parameter agentPoolName is required and cannot be null."));
14941494
}
1495-
final String apiVersion = "2023-03-01";
1495+
final String apiVersion = "2023-04-01";
14961496
final String accept = "application/json";
14971497
context = this.client.mergeContext(context);
14981498
return service
@@ -1596,7 +1596,7 @@ public Mono<Response<AgentPoolAvailableVersionsInner>> getAvailableAgentPoolVers
15961596
if (resourceName == null) {
15971597
return Mono.error(new IllegalArgumentException("Parameter resourceName is required and cannot be null."));
15981598
}
1599-
final String apiVersion = "2023-03-01";
1599+
final String apiVersion = "2023-04-01";
16001600
final String accept = "application/json";
16011601
return FluxUtil
16021602
.withContext(
@@ -1650,7 +1650,7 @@ private Mono<Response<AgentPoolAvailableVersionsInner>> getAvailableAgentPoolVer
16501650
if (resourceName == null) {
16511651
return Mono.error(new IllegalArgumentException("Parameter resourceName is required and cannot be null."));
16521652
}
1653-
final String apiVersion = "2023-03-01";
1653+
final String apiVersion = "2023-04-01";
16541654
final String accept = "application/json";
16551655
context = this.client.mergeContext(context);
16561656
return service
@@ -1763,7 +1763,7 @@ public Mono<Response<Flux<ByteBuffer>>> upgradeNodeImageVersionWithResponseAsync
17631763
if (agentPoolName == null) {
17641764
return Mono.error(new IllegalArgumentException("Parameter agentPoolName is required and cannot be null."));
17651765
}
1766-
final String apiVersion = "2023-03-01";
1766+
final String apiVersion = "2023-04-01";
17671767
final String accept = "application/json";
17681768
return FluxUtil
17691769
.withContext(
@@ -1822,7 +1822,7 @@ private Mono<Response<Flux<ByteBuffer>>> upgradeNodeImageVersionWithResponseAsyn
18221822
if (agentPoolName == null) {
18231823
return Mono.error(new IllegalArgumentException("Parameter agentPoolName is required and cannot be null."));
18241824
}
1825-
final String apiVersion = "2023-03-01";
1825+
final String apiVersion = "2023-04-01";
18261826
final String accept = "application/json";
18271827
context = this.client.mergeContext(context);
18281828
return service

sdk/resourcemanager/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/implementation/KubernetesClusterNetworkProfileImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ public KubernetesClusterNetworkProfileImpl withDnsServiceIP(String dnsServiceIP)
5050
}
5151

5252
@Override
53+
@Deprecated
5354
public KubernetesClusterNetworkProfileImpl withDockerBridgeCidr(String dockerBridgeCidr) {
54-
ensureNetworkProfile().withDockerBridgeCidr(dockerBridgeCidr);
5555
return this;
5656
}
5757

sdk/resourcemanager/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/implementation/MaintenanceConfigurationsClientImpl.java

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ private Mono<PagedResponse<MaintenanceConfigurationInner>> listByManagedClusterS
165165
if (resourceName == null) {
166166
return Mono.error(new IllegalArgumentException("Parameter resourceName is required and cannot be null."));
167167
}
168-
final String apiVersion = "2023-03-01";
168+
final String apiVersion = "2023-04-01";
169169
final String accept = "application/json";
170170
return FluxUtil
171171
.withContext(
@@ -225,7 +225,7 @@ private Mono<PagedResponse<MaintenanceConfigurationInner>> listByManagedClusterS
225225
if (resourceName == null) {
226226
return Mono.error(new IllegalArgumentException("Parameter resourceName is required and cannot be null."));
227227
}
228-
final String apiVersion = "2023-03-01";
228+
final String apiVersion = "2023-04-01";
229229
final String accept = "application/json";
230230
context = this.client.mergeContext(context);
231231
return service
@@ -359,7 +359,7 @@ public Mono<Response<MaintenanceConfigurationInner>> getWithResponseAsync(
359359
if (configName == null) {
360360
return Mono.error(new IllegalArgumentException("Parameter configName is required and cannot be null."));
361361
}
362-
final String apiVersion = "2023-03-01";
362+
final String apiVersion = "2023-04-01";
363363
final String accept = "application/json";
364364
return FluxUtil
365365
.withContext(
@@ -415,7 +415,7 @@ private Mono<Response<MaintenanceConfigurationInner>> getWithResponseAsync(
415415
if (configName == null) {
416416
return Mono.error(new IllegalArgumentException("Parameter configName is required and cannot be null."));
417417
}
418-
final String apiVersion = "2023-03-01";
418+
final String apiVersion = "2023-04-01";
419419
final String accept = "application/json";
420420
context = this.client.mergeContext(context);
421421
return service
@@ -525,7 +525,7 @@ public Mono<Response<MaintenanceConfigurationInner>> createOrUpdateWithResponseA
525525
} else {
526526
parameters.validate();
527527
}
528-
final String apiVersion = "2023-03-01";
528+
final String apiVersion = "2023-04-01";
529529
final String accept = "application/json";
530530
return FluxUtil
531531
.withContext(
@@ -592,7 +592,7 @@ private Mono<Response<MaintenanceConfigurationInner>> createOrUpdateWithResponse
592592
} else {
593593
parameters.validate();
594594
}
595-
final String apiVersion = "2023-03-01";
595+
final String apiVersion = "2023-04-01";
596596
final String accept = "application/json";
597597
context = this.client.mergeContext(context);
598598
return service
@@ -708,7 +708,7 @@ public Mono<Response<Void>> deleteWithResponseAsync(
708708
if (configName == null) {
709709
return Mono.error(new IllegalArgumentException("Parameter configName is required and cannot be null."));
710710
}
711-
final String apiVersion = "2023-03-01";
711+
final String apiVersion = "2023-04-01";
712712
final String accept = "application/json";
713713
return FluxUtil
714714
.withContext(
@@ -763,7 +763,7 @@ private Mono<Response<Void>> deleteWithResponseAsync(
763763
if (configName == null) {
764764
return Mono.error(new IllegalArgumentException("Parameter configName is required and cannot be null."));
765765
}
766-
final String apiVersion = "2023-03-01";
766+
final String apiVersion = "2023-04-01";
767767
final String accept = "application/json";
768768
context = this.client.mergeContext(context);
769769
return service

0 commit comments

Comments
 (0)