Skip to content

Commit 8a16ef8

Browse files
authored
[Automation] Generate Fluent Lite from Swagger servicefabricmanagedclusters#package-2024-04 (#43586)
1 parent 45abed7 commit 8a16ef8

File tree

108 files changed

+791
-1611
lines changed

Some content is hidden

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

108 files changed

+791
-1611
lines changed

eng/versioning/version_client.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -466,7 +466,7 @@ com.azure.resourcemanager:azure-resourcemanager-oracledatabase;1.0.0;1.1.0-beta.
466466
com.azure.resourcemanager:azure-resourcemanager-informaticadatamanagement;1.0.0;1.1.0-beta.1
467467
com.azure.resourcemanager:azure-resourcemanager-mongocluster;1.0.0;1.1.0-beta.1
468468
com.azure.resourcemanager:azure-resourcemanager-computefleet;1.0.0;1.1.0-beta.1
469-
com.azure.resourcemanager:azure-resourcemanager-servicefabricmanagedclusters;1.0.0-beta.3;1.0.0-beta.4
469+
com.azure.resourcemanager:azure-resourcemanager-servicefabricmanagedclusters;1.0.0-beta.3;1.0.0
470470
com.azure.resourcemanager:azure-resourcemanager-healthdataaiservices;1.0.0;1.1.0-beta.1
471471
com.azure.resourcemanager:azure-resourcemanager-redhatopenshift;1.0.0-beta.1;1.0.0-beta.2
472472
com.azure.resourcemanager:azure-resourcemanager-fabric;1.0.0;1.1.0-beta.1

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

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,13 @@
11
# Release History
22

3-
## 1.0.0-beta.4 (Unreleased)
3+
## 1.0.0 (2024-12-25)
44

5-
### Features Added
6-
7-
### Breaking Changes
8-
9-
### Bugs Fixed
5+
- Azure Resource Manager Service Fabric Managed Clusters client library for Java. This package contains Microsoft Azure SDK for Service Fabric Managed Clusters Management SDK. Service Fabric Managed Clusters Management Client. Package tag package-2024-04. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).
106

117
### Other Changes
128

9+
- Release for Azure Resource Manager Service Fabric Managed Clusters client library for Java.
10+
1311
## 1.0.0-beta.3 (2024-12-16)
1412

1513
- Azure Resource Manager Service Fabric Managed Clusters client library for Java. This package contains Microsoft Azure SDK for Service Fabric Managed Clusters Management SDK. Service Fabric Managed Clusters Management Client. Package tag package-2024-09-preview. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).

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

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

33
Azure Resource Manager Service Fabric Managed Clusters client library for Java.
44

5-
This package contains Microsoft Azure SDK for Service Fabric Managed Clusters Management SDK. Service Fabric Managed Clusters Management Client. Package tag package-2024-09-preview. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).
5+
This package contains Microsoft Azure SDK for Service Fabric Managed Clusters Management SDK. Service Fabric Managed Clusters Management Client. Package tag package-2024-04. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).
66

77
## We'd love to hear your feedback
88

@@ -32,7 +32,7 @@ Various documentation is available to help you get started
3232
<dependency>
3333
<groupId>com.azure.resourcemanager</groupId>
3434
<artifactId>azure-resourcemanager-servicefabricmanagedclusters</artifactId>
35-
<version>1.0.0-beta.3</version>
35+
<version>1.0.0</version>
3636
</dependency>
3737
```
3838
[//]: # ({x-version-update-end})

sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/SAMPLE.md

Lines changed: 128 additions & 140 deletions
Large diffs are not rendered by default.

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

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@
1414

1515
<groupId>com.azure.resourcemanager</groupId>
1616
<artifactId>azure-resourcemanager-servicefabricmanagedclusters</artifactId>
17-
<version>1.0.0-beta.4</version> <!-- {x-version-update;com.azure.resourcemanager:azure-resourcemanager-servicefabricmanagedclusters;current} -->
17+
<version>1.0.0</version> <!-- {x-version-update;com.azure.resourcemanager:azure-resourcemanager-servicefabricmanagedclusters;current} -->
1818
<packaging>jar</packaging>
1919

2020
<name>Microsoft Azure SDK for Service Fabric Managed Clusters Management</name>
21-
<description>This package contains Microsoft Azure SDK for Service Fabric Managed Clusters Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. Service Fabric Managed Clusters Management Client. Package tag package-2024-09-preview.</description>
21+
<description>This package contains Microsoft Azure SDK for Service Fabric Managed Clusters Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. Service Fabric Managed Clusters Management Client. Package tag package-2024-04.</description>
2222
<url>https://github.com/Azure/azure-sdk-for-java</url>
2323

2424
<licenses>
@@ -45,7 +45,6 @@
4545
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
4646
<jacoco.min.linecoverage>0</jacoco.min.linecoverage>
4747
<jacoco.min.branchcoverage>0</jacoco.min.branchcoverage>
48-
<revapi.skip>true</revapi.skip>
4948
<spotless.skip>false</spotless.skip>
5049
</properties>
5150
<dependencies>

sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/ServiceFabricManagedClustersManager.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ public ServiceFabricManagedClustersManager authenticate(TokenCredential credenti
263263
.append("-")
264264
.append("com.azure.resourcemanager.servicefabricmanagedclusters")
265265
.append("/")
266-
.append("1.0.0-beta.3");
266+
.append("1.0.0");
267267
if (!Configuration.getGlobalConfiguration().get("AZURE_TELEMETRY_DISABLED", false)) {
268268
userAgentBuilder.append(" (")
269269
.append(Configuration.getGlobalConfiguration().get("java.version"))

sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/fluent/NodeTypesClient.java

Lines changed: 5 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -388,25 +388,6 @@ NodeTypeInner createOrUpdate(String resourceGroupName, String clusterName, Strin
388388
NodeTypeInner createOrUpdate(String resourceGroupName, String clusterName, String nodeTypeName,
389389
NodeTypeInner parameters, Context context);
390390

391-
/**
392-
* Update the tags of a node type resource of a given managed cluster.
393-
*
394-
* Update the configuration of a node type of a given managed cluster, only updating tags.
395-
*
396-
* @param resourceGroupName The name of the resource group.
397-
* @param clusterName The name of the cluster resource.
398-
* @param nodeTypeName The name of the node type.
399-
* @param parameters The parameters to update the node type configuration.
400-
* @throws IllegalArgumentException thrown if parameters fail the validation.
401-
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
402-
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
403-
* @return the {@link SyncPoller} for polling of describes a node type in the cluster, each node type represents sub
404-
* set of nodes in the cluster.
405-
*/
406-
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
407-
SyncPoller<PollResult<NodeTypeInner>, NodeTypeInner> beginUpdate(String resourceGroupName, String clusterName,
408-
String nodeTypeName, NodeTypeUpdateParameters parameters);
409-
410391
/**
411392
* Update the tags of a node type resource of a given managed cluster.
412393
*
@@ -420,30 +401,12 @@ SyncPoller<PollResult<NodeTypeInner>, NodeTypeInner> beginUpdate(String resource
420401
* @throws IllegalArgumentException thrown if parameters fail the validation.
421402
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
422403
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
423-
* @return the {@link SyncPoller} for polling of describes a node type in the cluster, each node type represents sub
424-
* set of nodes in the cluster.
425-
*/
426-
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
427-
SyncPoller<PollResult<NodeTypeInner>, NodeTypeInner> beginUpdate(String resourceGroupName, String clusterName,
428-
String nodeTypeName, NodeTypeUpdateParameters parameters, Context context);
429-
430-
/**
431-
* Update the tags of a node type resource of a given managed cluster.
432-
*
433-
* Update the configuration of a node type of a given managed cluster, only updating tags.
434-
*
435-
* @param resourceGroupName The name of the resource group.
436-
* @param clusterName The name of the cluster resource.
437-
* @param nodeTypeName The name of the node type.
438-
* @param parameters The parameters to update the node type configuration.
439-
* @throws IllegalArgumentException thrown if parameters fail the validation.
440-
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
441-
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
442-
* @return describes a node type in the cluster, each node type represents sub set of nodes in the cluster.
404+
* @return describes a node type in the cluster, each node type represents sub set of nodes in the cluster along
405+
* with {@link Response}.
443406
*/
444407
@ServiceMethod(returns = ReturnType.SINGLE)
445-
NodeTypeInner update(String resourceGroupName, String clusterName, String nodeTypeName,
446-
NodeTypeUpdateParameters parameters);
408+
Response<NodeTypeInner> updateWithResponse(String resourceGroupName, String clusterName, String nodeTypeName,
409+
NodeTypeUpdateParameters parameters, Context context);
447410

448411
/**
449412
* Update the tags of a node type resource of a given managed cluster.
@@ -454,15 +417,14 @@ NodeTypeInner update(String resourceGroupName, String clusterName, String nodeTy
454417
* @param clusterName The name of the cluster resource.
455418
* @param nodeTypeName The name of the node type.
456419
* @param parameters The parameters to update the node type configuration.
457-
* @param context The context to associate with this operation.
458420
* @throws IllegalArgumentException thrown if parameters fail the validation.
459421
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
460422
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
461423
* @return describes a node type in the cluster, each node type represents sub set of nodes in the cluster.
462424
*/
463425
@ServiceMethod(returns = ReturnType.SINGLE)
464426
NodeTypeInner update(String resourceGroupName, String clusterName, String nodeTypeName,
465-
NodeTypeUpdateParameters parameters, Context context);
427+
NodeTypeUpdateParameters parameters);
466428

467429
/**
468430
* Deletes a Service Fabric node type.

sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/main/java/com/azure/resourcemanager/servicefabricmanagedclusters/fluent/models/ManagedClusterInner.java

Lines changed: 4 additions & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
import com.azure.json.JsonToken;
1313
import com.azure.json.JsonWriter;
1414
import com.azure.resourcemanager.servicefabricmanagedclusters.models.ApplicationTypeVersionsCleanupPolicy;
15-
import com.azure.resourcemanager.servicefabricmanagedclusters.models.AutoGeneratedDomainNameLabelScope;
1615
import com.azure.resourcemanager.servicefabricmanagedclusters.models.AzureActiveDirectory;
1716
import com.azure.resourcemanager.servicefabricmanagedclusters.models.ClientCertificate;
1817
import com.azure.resourcemanager.servicefabricmanagedclusters.models.ClusterState;
@@ -592,8 +591,8 @@ public ManagedClusterInner withAddonFeatures(List<ManagedClusterAddOnFeature> ad
592591
}
593592

594593
/**
595-
* Get the enableAutoOSUpgrade property: Enables automatic OS upgrade for node types created using OS images with
596-
* version 'latest'. The default value for this setting is false.
594+
* Get the enableAutoOSUpgrade property: Setting this to true enables automatic OS upgrade for the node types that
595+
* are created using any platform OS image with version 'latest'. The default value for this setting is false.
597596
*
598597
* @return the enableAutoOSUpgrade value.
599598
*/
@@ -602,8 +601,8 @@ public Boolean enableAutoOSUpgrade() {
602601
}
603602

604603
/**
605-
* Set the enableAutoOSUpgrade property: Enables automatic OS upgrade for node types created using OS images with
606-
* version 'latest'. The default value for this setting is false.
604+
* Set the enableAutoOSUpgrade property: Setting this to true enables automatic OS upgrade for the node types that
605+
* are created using any platform OS image with version 'latest'. The default value for this setting is false.
607606
*
608607
* @param enableAutoOSUpgrade the enableAutoOSUpgrade value to set.
609608
* @return the ManagedClusterInner object itself.
@@ -1018,61 +1017,6 @@ public ManagedClusterInner withEnableHttpGatewayExclusiveAuthMode(Boolean enable
10181017
return this;
10191018
}
10201019

1021-
/**
1022-
* Get the autoGeneratedDomainNameLabelScope property: This property is the entry point to using a public CA cert
1023-
* for your cluster cert. It specifies the level of reuse allowed for the custom FQDN created, matching the subject
1024-
* of the public CA cert.
1025-
*
1026-
* @return the autoGeneratedDomainNameLabelScope value.
1027-
*/
1028-
public AutoGeneratedDomainNameLabelScope autoGeneratedDomainNameLabelScope() {
1029-
return this.innerProperties() == null ? null : this.innerProperties().autoGeneratedDomainNameLabelScope();
1030-
}
1031-
1032-
/**
1033-
* Set the autoGeneratedDomainNameLabelScope property: This property is the entry point to using a public CA cert
1034-
* for your cluster cert. It specifies the level of reuse allowed for the custom FQDN created, matching the subject
1035-
* of the public CA cert.
1036-
*
1037-
* @param autoGeneratedDomainNameLabelScope the autoGeneratedDomainNameLabelScope value to set.
1038-
* @return the ManagedClusterInner object itself.
1039-
*/
1040-
public ManagedClusterInner
1041-
withAutoGeneratedDomainNameLabelScope(AutoGeneratedDomainNameLabelScope autoGeneratedDomainNameLabelScope) {
1042-
if (this.innerProperties() == null) {
1043-
this.innerProperties = new ManagedClusterProperties();
1044-
}
1045-
this.innerProperties().withAutoGeneratedDomainNameLabelScope(autoGeneratedDomainNameLabelScope);
1046-
return this;
1047-
}
1048-
1049-
/**
1050-
* Get the allocatedOutboundPorts property: The number of outbound ports allocated for SNAT for each node in the
1051-
* backend pool of the default load balancer. The default value is 0 which provides dynamic port allocation based on
1052-
* pool size.
1053-
*
1054-
* @return the allocatedOutboundPorts value.
1055-
*/
1056-
public Integer allocatedOutboundPorts() {
1057-
return this.innerProperties() == null ? null : this.innerProperties().allocatedOutboundPorts();
1058-
}
1059-
1060-
/**
1061-
* Set the allocatedOutboundPorts property: The number of outbound ports allocated for SNAT for each node in the
1062-
* backend pool of the default load balancer. The default value is 0 which provides dynamic port allocation based on
1063-
* pool size.
1064-
*
1065-
* @param allocatedOutboundPorts the allocatedOutboundPorts value to set.
1066-
* @return the ManagedClusterInner object itself.
1067-
*/
1068-
public ManagedClusterInner withAllocatedOutboundPorts(Integer allocatedOutboundPorts) {
1069-
if (this.innerProperties() == null) {
1070-
this.innerProperties = new ManagedClusterProperties();
1071-
}
1072-
this.innerProperties().withAllocatedOutboundPorts(allocatedOutboundPorts);
1073-
return this;
1074-
}
1075-
10761020
/**
10771021
* Validates the instance.
10781022
*

0 commit comments

Comments
 (0)