Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AutoPR azure-resourcemanager-mysqlflexibleserver] update mysql readme to remove -track2 word for python #10681

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Release History

## 1.0.0-beta.6 (Unreleased)
## 1.0.0-beta.1 (2024-06-04)

- Azure Resource Manager MySql client library for Java. This package contains Microsoft Azure SDK for MySql Management SDK. The Microsoft Azure management API provides create, read, update, and delete functionality for Azure MySQL resources including servers, databases, firewall rules, VNET rules, log files and configurations with new business model. Package tag package-flexibleserver-2024-02-01-preview. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).

### Features Added

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Azure Resource Manager MySql client library for Java.

This package contains Microsoft Azure SDK for MySql Management SDK. The Microsoft Azure management API provides create, read, update, and delete functionality for Azure MySQL resources including servers, databases, firewall rules, VNET rules, log files and configurations with new business model. Package tag package-flexibleserver-2023-12-30. 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 MySql Management SDK. The Microsoft Azure management API provides create, read, update, and delete functionality for Azure MySQL resources including servers, databases, firewall rules, VNET rules, log files and configurations with new business model. Package tag package-flexibleserver-2024-02-01-preview. 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-mysqlflexibleserver</artifactId>
<version>1.0.0-beta.5</version>
<version>1.0.0-beta.6</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 @@ -18,7 +18,7 @@
<packaging>jar</packaging>

<name>Microsoft Azure SDK for MySql Management</name>
<description>This package contains Microsoft Azure SDK for MySql Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. The Microsoft Azure management API provides create, read, update, and delete functionality for Azure MySQL resources including servers, databases, firewall rules, VNET rules, log files and configurations with new business model. Package tag package-flexibleserver-2023-12-30.</description>
<description>This package contains Microsoft Azure SDK for MySql Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. The Microsoft Azure management API provides create, read, update, and delete functionality for Azure MySQL resources including servers, databases, firewall rules, VNET rules, log files and configurations with new business model. Package tag package-flexibleserver-2024-02-01-preview.</description>
<url>https://github.com/Azure/azure-sdk-for-java</url>

<licenses>
Expand Down Expand Up @@ -61,7 +61,7 @@
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-core-test</artifactId>
<version>1.26.0-beta.1</version> <!-- {x-version-update;unreleased_com.azure:azure-core-test;dependency} -->
<version>1.25.0</version> <!-- {x-version-update;com.azure:azure-core-test;dependency} -->
<scope>test</scope>
</dependency>
<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ public MySqlManager authenticate(TokenCredential credential, AzureProfile profil
.append("-")
.append("com.azure.resourcemanager.mysqlflexibleserver")
.append("/")
.append("1.0.0-beta.5");
.append("1.0.0-beta.1");
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 @@ -13,6 +13,7 @@
import com.azure.core.util.polling.SyncPoller;
import com.azure.resourcemanager.mysqlflexibleserver.fluent.models.HighAvailabilityValidationEstimationInner;
import com.azure.resourcemanager.mysqlflexibleserver.fluent.models.ServerInner;
import com.azure.resourcemanager.mysqlflexibleserver.models.ServerDetachVNetParameter;
import com.azure.resourcemanager.mysqlflexibleserver.models.ServerForUpdate;
import com.azure.resourcemanager.mysqlflexibleserver.models.ServerGtidSetParameter;
import com.azure.resourcemanager.mysqlflexibleserver.models.ServerRestartParameter;
Expand Down Expand Up @@ -574,4 +575,65 @@ SyncPoller<PollResult<Void>, Void> beginResetGtid(String resourceGroupName, Stri
*/
@ServiceMethod(returns = ReturnType.SINGLE)
void resetGtid(String resourceGroupName, String serverName, ServerGtidSetParameter parameters, Context context);

/**
* Detach VNet on a server.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param serverName The name of the server.
* @param parameters The required parameters for detach vnet on a server.
* @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 represents a server.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller<PollResult<ServerInner>, ServerInner> beginDetachVNet(String resourceGroupName, String serverName,
ServerDetachVNetParameter parameters);

/**
* Detach VNet on a server.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param serverName The name of the server.
* @param parameters The required parameters for detach vnet on a server.
* @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 the {@link SyncPoller} for polling of represents a server.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller<PollResult<ServerInner>, ServerInner> beginDetachVNet(String resourceGroupName, String serverName,
ServerDetachVNetParameter parameters, Context context);

/**
* Detach VNet on a server.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param serverName The name of the server.
* @param parameters The required parameters for detach vnet on a server.
* @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 represents a server.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
ServerInner detachVNet(String resourceGroupName, String serverName, ServerDetachVNetParameter parameters);

/**
* Detach VNet on a server.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param serverName The name of the server.
* @param parameters The required parameters for detach vnet on a server.
* @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 represents a server.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
ServerInner detachVNet(String resourceGroupName, String serverName, ServerDetachVNetParameter parameters,
Context context);
}
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ private Mono<Response<AdvancedThreatProtectionInner>> getWithResponseAsync(Strin
return Mono.error(new IllegalArgumentException(
"Parameter this.client.getSubscriptionId() is required and cannot be null."));
}
final String apiVersion = "2023-12-30";
final String apiVersion = "2024-02-01-preview";
final String accept = "application/json";
return FluxUtil
.withContext(context -> service.get(this.client.getEndpoint(), resourceGroupName, serverName,
Expand Down Expand Up @@ -199,7 +199,7 @@ private Mono<Response<AdvancedThreatProtectionInner>> getWithResponseAsync(Strin
return Mono.error(new IllegalArgumentException(
"Parameter this.client.getSubscriptionId() is required and cannot be null."));
}
final String apiVersion = "2023-12-30";
final String apiVersion = "2024-02-01-preview";
final String accept = "application/json";
context = this.client.mergeContext(context);
return service.get(this.client.getEndpoint(), resourceGroupName, serverName, advancedThreatProtectionName,
Expand Down Expand Up @@ -299,7 +299,7 @@ private Mono<Response<Flux<ByteBuffer>>> updateWithResponseAsync(String resource
} else {
parameters.validate();
}
final String apiVersion = "2023-12-30";
final String apiVersion = "2024-02-01-preview";
final String accept = "application/json";
return FluxUtil
.withContext(context -> service.update(this.client.getEndpoint(), resourceGroupName, serverName,
Expand Down Expand Up @@ -349,7 +349,7 @@ private Mono<Response<Flux<ByteBuffer>>> updateWithResponseAsync(String resource
} else {
parameters.validate();
}
final String apiVersion = "2023-12-30";
final String apiVersion = "2024-02-01-preview";
final String accept = "application/json";
context = this.client.mergeContext(context);
return service.update(this.client.getEndpoint(), resourceGroupName, serverName, advancedThreatProtectionName,
Expand Down Expand Up @@ -563,7 +563,7 @@ private Mono<Response<Flux<ByteBuffer>>> updatePutWithResponseAsync(String resou
} else {
parameters.validate();
}
final String apiVersion = "2023-12-30";
final String apiVersion = "2024-02-01-preview";
final String accept = "application/json";
return FluxUtil
.withContext(context -> service.updatePut(this.client.getEndpoint(), resourceGroupName, serverName,
Expand Down Expand Up @@ -613,7 +613,7 @@ private Mono<Response<Flux<ByteBuffer>>> updatePutWithResponseAsync(String resou
} else {
parameters.validate();
}
final String apiVersion = "2023-12-30";
final String apiVersion = "2024-02-01-preview";
final String accept = "application/json";
context = this.client.mergeContext(context);
return service.updatePut(this.client.getEndpoint(), resourceGroupName, serverName, advancedThreatProtectionName,
Expand Down Expand Up @@ -818,7 +818,7 @@ private Mono<PagedResponse<AdvancedThreatProtectionInner>> listSinglePageAsync(S
return Mono.error(new IllegalArgumentException(
"Parameter this.client.getSubscriptionId() is required and cannot be null."));
}
final String apiVersion = "2023-12-30";
final String apiVersion = "2024-02-01-preview";
final String accept = "application/json";
return FluxUtil
.withContext(context -> service.list(this.client.getEndpoint(), resourceGroupName, serverName,
Expand Down Expand Up @@ -858,7 +858,7 @@ private Mono<PagedResponse<AdvancedThreatProtectionInner>> listSinglePageAsync(S
return Mono.error(new IllegalArgumentException(
"Parameter this.client.getSubscriptionId() is required and cannot be null."));
}
final String apiVersion = "2023-12-30";
final String apiVersion = "2024-02-01-preview";
final String accept = "application/json";
context = this.client.mergeContext(context);
return service
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ private Mono<Response<NameAvailabilityInner>> executeWithResponseAsync(String lo
} else {
nameAvailabilityRequest.validate();
}
final String apiVersion = "2023-12-30";
final String apiVersion = "2023-12-01-preview";
final String accept = "application/json";
return FluxUtil
.withContext(context -> service.execute(this.client.getEndpoint(), apiVersion,
Expand Down Expand Up @@ -141,7 +141,7 @@ private Mono<Response<NameAvailabilityInner>> executeWithResponseAsync(String lo
} else {
nameAvailabilityRequest.validate();
}
final String apiVersion = "2023-12-30";
final String apiVersion = "2023-12-01-preview";
final String accept = "application/json";
context = this.client.mergeContext(context);
return service.execute(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), locationName,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ Mono<Response<NameAvailabilityInner>> execute(@HostParam("$host") String endpoin
} else {
nameAvailabilityRequest.validate();
}
final String apiVersion = "2023-12-30";
final String apiVersion = "2023-12-01-preview";
final String accept = "application/json";
return FluxUtil
.withContext(context -> service.execute(this.client.getEndpoint(), apiVersion,
Expand Down Expand Up @@ -134,7 +134,7 @@ Mono<Response<NameAvailabilityInner>> execute(@HostParam("$host") String endpoin
} else {
nameAvailabilityRequest.validate();
}
final String apiVersion = "2023-12-30";
final String apiVersion = "2023-12-01-preview";
final String accept = "application/json";
context = this.client.mergeContext(context);
return service.execute(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ private Mono<Response<VirtualNetworkSubnetUsageResultInner>> executeWithResponse
} else {
parameters.validate();
}
final String apiVersion = "2023-12-30";
final String apiVersion = "2023-12-01-preview";
final String accept = "application/json";
return FluxUtil
.withContext(context -> service.execute(this.client.getEndpoint(), apiVersion,
Expand Down Expand Up @@ -139,7 +139,7 @@ private Mono<Response<VirtualNetworkSubnetUsageResultInner>> executeWithResponse
} else {
parameters.validate();
}
final String apiVersion = "2023-12-30";
final String apiVersion = "2023-12-01-preview";
final String accept = "application/json";
context = this.client.mergeContext(context);
return service.execute(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), locationName,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ private Mono<Response<GetPrivateDnsZoneSuffixResponseInner>> executeWithResponse
return Mono.error(
new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null."));
}
final String apiVersion = "2023-12-30";
final String apiVersion = "2023-12-01-preview";
final String accept = "application/json";
return FluxUtil.withContext(context -> service.execute(this.client.getEndpoint(), apiVersion, accept, context))
.contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly()));
Expand All @@ -100,7 +100,7 @@ private Mono<Response<GetPrivateDnsZoneSuffixResponseInner>> executeWithResponse
return Mono.error(
new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null."));
}
final String apiVersion = "2023-12-30";
final String apiVersion = "2023-12-01-preview";
final String accept = "application/json";
context = this.client.mergeContext(context);
return service.execute(this.client.getEndpoint(), apiVersion, accept, context);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ private Mono<PagedResponse<CapabilityPropertiesInner>> listSinglePageAsync(Strin
if (locationName == null) {
return Mono.error(new IllegalArgumentException("Parameter locationName is required and cannot be null."));
}
final String apiVersion = "2023-12-30";
final String apiVersion = "2023-12-01-preview";
final String accept = "application/json";
return FluxUtil
.withContext(context -> service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(),
Expand Down Expand Up @@ -135,7 +135,7 @@ private Mono<PagedResponse<CapabilityPropertiesInner>> listSinglePageAsync(Strin
if (locationName == null) {
return Mono.error(new IllegalArgumentException("Parameter locationName is required and cannot be null."));
}
final String apiVersion = "2023-12-30";
final String apiVersion = "2023-12-01-preview";
final String accept = "application/json";
context = this.client.mergeContext(context);
return service
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ private Mono<PagedResponse<CapabilityInner>> listSinglePageAsync(String location
if (locationName == null) {
return Mono.error(new IllegalArgumentException("Parameter locationName is required and cannot be null."));
}
final String apiVersion = "2023-12-30";
final String apiVersion = "2023-12-01-preview";
final String accept = "application/json";
return FluxUtil
.withContext(context -> service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(),
Expand Down Expand Up @@ -144,7 +144,7 @@ private Mono<PagedResponse<CapabilityInner>> listSinglePageAsync(String location
if (locationName == null) {
return Mono.error(new IllegalArgumentException("Parameter locationName is required and cannot be null."));
}
final String apiVersion = "2023-12-30";
final String apiVersion = "2023-12-01-preview";
final String accept = "application/json";
context = this.client.mergeContext(context);
return service
Expand Down Expand Up @@ -242,7 +242,7 @@ private Mono<Response<CapabilityInner>> getWithResponseAsync(String locationName
return Mono
.error(new IllegalArgumentException("Parameter capabilitySetName is required and cannot be null."));
}
final String apiVersion = "2023-12-30";
final String apiVersion = "2023-12-01-preview";
final String accept = "application/json";
return FluxUtil
.withContext(context -> service.get(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(),
Expand Down Expand Up @@ -280,7 +280,7 @@ private Mono<Response<CapabilityInner>> getWithResponseAsync(String locationName
return Mono
.error(new IllegalArgumentException("Parameter capabilitySetName is required and cannot be null."));
}
final String apiVersion = "2023-12-30";
final String apiVersion = "2023-12-01-preview";
final String accept = "application/json";
context = this.client.mergeContext(context);
return service.get(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), locationName,
Expand Down
Loading