Skip to content

Commit

Permalink
[Automation] Generate Fluent Lite from Swagger servicefabricmanagedcl…
Browse files Browse the repository at this point in the history
…usters#package-2024-04 (#43586)
  • Loading branch information
azure-sdk authored Dec 25, 2024
1 parent 45abed7 commit 8a16ef8
Show file tree
Hide file tree
Showing 108 changed files with 791 additions and 1,611 deletions.
2 changes: 1 addition & 1 deletion eng/versioning/version_client.txt
Original file line number Diff line number Diff line change
Expand Up @@ -466,7 +466,7 @@ com.azure.resourcemanager:azure-resourcemanager-oracledatabase;1.0.0;1.1.0-beta.
com.azure.resourcemanager:azure-resourcemanager-informaticadatamanagement;1.0.0;1.1.0-beta.1
com.azure.resourcemanager:azure-resourcemanager-mongocluster;1.0.0;1.1.0-beta.1
com.azure.resourcemanager:azure-resourcemanager-computefleet;1.0.0;1.1.0-beta.1
com.azure.resourcemanager:azure-resourcemanager-servicefabricmanagedclusters;1.0.0-beta.3;1.0.0-beta.4
com.azure.resourcemanager:azure-resourcemanager-servicefabricmanagedclusters;1.0.0-beta.3;1.0.0
com.azure.resourcemanager:azure-resourcemanager-healthdataaiservices;1.0.0;1.1.0-beta.1
com.azure.resourcemanager:azure-resourcemanager-redhatopenshift;1.0.0-beta.1;1.0.0-beta.2
com.azure.resourcemanager:azure-resourcemanager-fabric;1.0.0;1.1.0-beta.1
Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
# Release History

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

### Features Added

### Breaking Changes

### Bugs Fixed
- 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).

### Other Changes

- Release for Azure Resource Manager Service Fabric Managed Clusters client library for Java.

## 1.0.0-beta.3 (2024-12-16)

- 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).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

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).
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).

## We'd love to hear your feedback

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

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@

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

<name>Microsoft Azure SDK for Service Fabric Managed Clusters Management</name>
<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>
<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>
<url>https://github.com/Azure/azure-sdk-for-java</url>

<licenses>
Expand All @@ -45,7 +45,6 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<jacoco.min.linecoverage>0</jacoco.min.linecoverage>
<jacoco.min.branchcoverage>0</jacoco.min.branchcoverage>
<revapi.skip>true</revapi.skip>
<spotless.skip>false</spotless.skip>
</properties>
<dependencies>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ public ServiceFabricManagedClustersManager authenticate(TokenCredential credenti
.append("-")
.append("com.azure.resourcemanager.servicefabricmanagedclusters")
.append("/")
.append("1.0.0-beta.3");
.append("1.0.0");
if (!Configuration.getGlobalConfiguration().get("AZURE_TELEMETRY_DISABLED", false)) {
userAgentBuilder.append(" (")
.append(Configuration.getGlobalConfiguration().get("java.version"))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -388,25 +388,6 @@ NodeTypeInner createOrUpdate(String resourceGroupName, String clusterName, Strin
NodeTypeInner createOrUpdate(String resourceGroupName, String clusterName, String nodeTypeName,
NodeTypeInner parameters, Context context);

/**
* Update the tags of a node type resource of a given managed cluster.
*
* Update the configuration of a node type of a given managed cluster, only updating tags.
*
* @param resourceGroupName The name of the resource group.
* @param clusterName The name of the cluster resource.
* @param nodeTypeName The name of the node type.
* @param parameters The parameters to update the node type configuration.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the {@link SyncPoller} for polling of describes a node type in the cluster, each node type represents sub
* set of nodes in the cluster.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller<PollResult<NodeTypeInner>, NodeTypeInner> beginUpdate(String resourceGroupName, String clusterName,
String nodeTypeName, NodeTypeUpdateParameters parameters);

/**
* Update the tags of a node type resource of a given managed cluster.
*
Expand All @@ -420,30 +401,12 @@ SyncPoller<PollResult<NodeTypeInner>, NodeTypeInner> beginUpdate(String resource
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the {@link SyncPoller} for polling of describes a node type in the cluster, each node type represents sub
* set of nodes in the cluster.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller<PollResult<NodeTypeInner>, NodeTypeInner> beginUpdate(String resourceGroupName, String clusterName,
String nodeTypeName, NodeTypeUpdateParameters parameters, Context context);

/**
* Update the tags of a node type resource of a given managed cluster.
*
* Update the configuration of a node type of a given managed cluster, only updating tags.
*
* @param resourceGroupName The name of the resource group.
* @param clusterName The name of the cluster resource.
* @param nodeTypeName The name of the node type.
* @param parameters The parameters to update the node type configuration.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return describes a node type in the cluster, each node type represents sub set of nodes in the cluster.
* @return describes a node type in the cluster, each node type represents sub set of nodes in the cluster along
* with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
NodeTypeInner update(String resourceGroupName, String clusterName, String nodeTypeName,
NodeTypeUpdateParameters parameters);
Response<NodeTypeInner> updateWithResponse(String resourceGroupName, String clusterName, String nodeTypeName,
NodeTypeUpdateParameters parameters, Context context);

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

/**
* Deletes a Service Fabric node type.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
import com.azure.json.JsonToken;
import com.azure.json.JsonWriter;
import com.azure.resourcemanager.servicefabricmanagedclusters.models.ApplicationTypeVersionsCleanupPolicy;
import com.azure.resourcemanager.servicefabricmanagedclusters.models.AutoGeneratedDomainNameLabelScope;
import com.azure.resourcemanager.servicefabricmanagedclusters.models.AzureActiveDirectory;
import com.azure.resourcemanager.servicefabricmanagedclusters.models.ClientCertificate;
import com.azure.resourcemanager.servicefabricmanagedclusters.models.ClusterState;
Expand Down Expand Up @@ -592,8 +591,8 @@ public ManagedClusterInner withAddonFeatures(List<ManagedClusterAddOnFeature> ad
}

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

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

/**
* Get the autoGeneratedDomainNameLabelScope property: This property is the entry point to using a public CA cert
* for your cluster cert. It specifies the level of reuse allowed for the custom FQDN created, matching the subject
* of the public CA cert.
*
* @return the autoGeneratedDomainNameLabelScope value.
*/
public AutoGeneratedDomainNameLabelScope autoGeneratedDomainNameLabelScope() {
return this.innerProperties() == null ? null : this.innerProperties().autoGeneratedDomainNameLabelScope();
}

/**
* Set the autoGeneratedDomainNameLabelScope property: This property is the entry point to using a public CA cert
* for your cluster cert. It specifies the level of reuse allowed for the custom FQDN created, matching the subject
* of the public CA cert.
*
* @param autoGeneratedDomainNameLabelScope the autoGeneratedDomainNameLabelScope value to set.
* @return the ManagedClusterInner object itself.
*/
public ManagedClusterInner
withAutoGeneratedDomainNameLabelScope(AutoGeneratedDomainNameLabelScope autoGeneratedDomainNameLabelScope) {
if (this.innerProperties() == null) {
this.innerProperties = new ManagedClusterProperties();
}
this.innerProperties().withAutoGeneratedDomainNameLabelScope(autoGeneratedDomainNameLabelScope);
return this;
}

/**
* Get the allocatedOutboundPorts property: The number of outbound ports allocated for SNAT for each node in the
* backend pool of the default load balancer. The default value is 0 which provides dynamic port allocation based on
* pool size.
*
* @return the allocatedOutboundPorts value.
*/
public Integer allocatedOutboundPorts() {
return this.innerProperties() == null ? null : this.innerProperties().allocatedOutboundPorts();
}

/**
* Set the allocatedOutboundPorts property: The number of outbound ports allocated for SNAT for each node in the
* backend pool of the default load balancer. The default value is 0 which provides dynamic port allocation based on
* pool size.
*
* @param allocatedOutboundPorts the allocatedOutboundPorts value to set.
* @return the ManagedClusterInner object itself.
*/
public ManagedClusterInner withAllocatedOutboundPorts(Integer allocatedOutboundPorts) {
if (this.innerProperties() == null) {
this.innerProperties = new ManagedClusterProperties();
}
this.innerProperties().withAllocatedOutboundPorts(allocatedOutboundPorts);
return this;
}

/**
* Validates the instance.
*
Expand Down
Loading

0 comments on commit 8a16ef8

Please sign in to comment.