Skip to content
Open
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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
60 changes: 56 additions & 4 deletions sdk/sql/azure-resourcemanager-sql/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,66 @@
# Release History

## 2.55.0-beta.1 (Unreleased)
## 2.55.0-beta.1 (2026-08-05)

### Features Added
- Package api-version 2025-08-01-preview.

### Breaking Changes

### Bugs Fixed
#### `models.DataMaskingFunction` was modified

### Other Changes
* `valueOf(java.lang.String)` was removed
* `models.DataMaskingFunction[] values()` -> `java.util.Collection values()`
* `toString()` was removed

#### `models.DataMaskingRuleState` was modified

* `valueOf(java.lang.String)` was removed
* `toString()` was removed
* `models.DataMaskingRuleState[] values()` -> `java.util.Collection values()`

#### `models.PrivateEndpointProvisioningState` was modified

* `READY` was removed
* `APPROVING` was removed
* `DROPPING` was removed
* `REJECTING` was removed

### Features Added

* `models.ManagedInstanceAdministratorPrincipalType` was added

* `models.LinkModeType` was added

* `models.EndpointTrustedRootCertificateInfo` was added

* `models.DataSyncParticipantUserAssignedIdentity` was added

* `models.DataSyncParticipantIdentityType` was added

* `models.DataSyncParticipantIdentity` was added

#### `models.ElasticPoolUpdate` was modified

* `currentSku()` was added

#### `models.DataMaskingFunction` was modified

* `DataMaskingFunction()` was added

#### `models.DatabaseUpdate` was modified

* `provisioningState()` was added

#### `models.DataMaskingRuleState` was modified

* `DataMaskingRuleState()` was added

#### `models.PrivateEndpointProvisioningState` was modified

* `IN_PROGRESS` was added
* `CREATED` was added
* `SUCCEEDED` was added
* `CANCELED` was added

Comment thread
weidongxu-microsoft marked this conversation as resolved.
## 2.54.0 (2026-07-16)

Expand Down
2 changes: 1 addition & 1 deletion sdk/sql/azure-resourcemanager-sql/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ For documentation on how to use this package, please see [Azure Management Libra
<dependency>
<groupId>com.azure.resourcemanager</groupId>
<artifactId>azure-resourcemanager-sql</artifactId>
<version>2.54.0</version>
<version>2.55.0-beta.1</version>
</dependency>
```
[//]: # ({x-version-update-end})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,23 @@
* An instance of this class provides access to all the operations defined in DataMaskingRulesClient.
*/
public interface DataMaskingRulesClient {
/**
* Gets a list of database data masking rules.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param serverName The name of the server.
* @param databaseName The name of the database.
* @param dataMaskingPolicyName The name of the database for which the data masking policy applies.
* @param skip The number of elements in the collection to skip.
* @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 a list of database data masking rules as paginated response with {@link PagedFlux}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedFlux<DataMaskingRuleInner> listByDatabaseAsync(String resourceGroupName, String serverName,
String databaseName, DataMaskingPolicyName dataMaskingPolicyName, Long skip);

/**
* Gets a list of database data masking rules.
*
Expand Down Expand Up @@ -57,6 +74,7 @@ PagedIterable<DataMaskingRuleInner> listByDatabase(String resourceGroupName, Str
* @param serverName The name of the server.
* @param databaseName The name of the database.
* @param dataMaskingPolicyName The name of the database for which the data masking policy applies.
* @param skip The number of elements in the collection to skip.
* @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.
Expand All @@ -65,7 +83,7 @@ PagedIterable<DataMaskingRuleInner> listByDatabase(String resourceGroupName, Str
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable<DataMaskingRuleInner> listByDatabase(String resourceGroupName, String serverName, String databaseName,
DataMaskingPolicyName dataMaskingPolicyName, Context context);
DataMaskingPolicyName dataMaskingPolicyName, Long skip, Context context);

/**
* Creates or updates a database data masking rule.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -424,14 +424,18 @@ SyncPoller<PollResult<Void>, Void> beginDelete(String resourceGroupName, String
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param serverName The name of the server.
* @param skipToken The skipToken parameter.
* @param top The number of elements to return from the collection.
* @param skip The number of elements in the collection to skip.
* @param filter An OData filter expression that filters elements in the collection.
* @param orderby How the results should be ordered.
* @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 a list of databases as paginated response with {@link PagedFlux}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedFlux<DatabaseInner> listByServerAsync(String resourceGroupName, String serverName, String skipToken);
PagedFlux<DatabaseInner> listByServerAsync(String resourceGroupName, String serverName, Long top, Long skip,
String filter, String orderby);

/**
* Gets a list of databases.
Expand Down Expand Up @@ -464,16 +468,19 @@ SyncPoller<PollResult<Void>, Void> beginDelete(String resourceGroupName, String
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param serverName The name of the server.
* @param skipToken The skipToken parameter.
* @param top The number of elements to return from the collection.
* @param skip The number of elements in the collection to skip.
* @param filter An OData filter expression that filters elements in the collection.
* @param orderby How the results should be ordered.
* @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 a list of databases as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable<DatabaseInner> listByServer(String resourceGroupName, String serverName, String skipToken,
Context context);
PagedIterable<DatabaseInner> listByServer(String resourceGroupName, String serverName, Long top, Long skip,
String filter, String orderby, Context context);

/**
* Exports a database.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1340,6 +1340,15 @@ public DatabaseInner withEncryptionProtectorAutoRotation(Boolean encryptionProte
return this;
}

/**
* Get the provisioningState property: Specifies the provisioning state for this resource.
*
* @return the provisioningState value.
*/
public String provisioningState() {
return this.innerProperties() == null ? null : this.innerProperties().provisioningState();
}

/**
* Validates the instance.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -352,6 +352,11 @@ public final class DatabaseProperties implements JsonSerializable<DatabaseProper
*/
private Boolean encryptionProtectorAutoRotation;

/*
* Specifies the provisioning state for this resource
*/
private String provisioningState;

/**
* Creates an instance of DatabaseProperties class.
*/
Expand Down Expand Up @@ -1351,6 +1356,15 @@ public DatabaseProperties withEncryptionProtectorAutoRotation(Boolean encryption
return this;
}

/**
* Get the provisioningState property: Specifies the provisioning state for this resource.
*
* @return the provisioningState value.
*/
public String provisioningState() {
return this.provisioningState;
}

/**
* Validates the instance.
*
Expand Down Expand Up @@ -1552,6 +1566,8 @@ public static DatabaseProperties fromJson(JsonReader jsonReader) throws IOExcept
} else if ("encryptionProtectorAutoRotation".equals(fieldName)) {
deserializedDatabaseProperties.encryptionProtectorAutoRotation
= reader.getNullable(JsonReader::getBoolean);
} else if ("provisioningState".equals(fieldName)) {
deserializedDatabaseProperties.provisioningState = reader.getString();
} else {
reader.skipChildren();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -322,6 +322,11 @@ public final class DatabaseUpdateProperties implements JsonSerializable<Database
*/
private Boolean encryptionProtectorAutoRotation;

/*
* Specifies the provisioning state for this resource
*/
private String provisioningState;

/**
* Creates an instance of DatabaseUpdateProperties class.
*/
Expand Down Expand Up @@ -1242,6 +1247,15 @@ public DatabaseUpdateProperties withEncryptionProtectorAutoRotation(Boolean encr
return this;
}

/**
* Get the provisioningState property: Specifies the provisioning state for this resource.
*
* @return the provisioningState value.
*/
public String provisioningState() {
return this.provisioningState;
}

/**
* Validates the instance.
*
Expand Down Expand Up @@ -1436,6 +1450,8 @@ public static DatabaseUpdateProperties fromJson(JsonReader jsonReader) throws IO
} else if ("encryptionProtectorAutoRotation".equals(fieldName)) {
deserializedDatabaseUpdateProperties.encryptionProtectorAutoRotation
= reader.getNullable(JsonReader::getBoolean);
} else if ("provisioningState".equals(fieldName)) {
deserializedDatabaseUpdateProperties.provisioningState = reader.getString();
} else {
reader.skipChildren();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,15 @@ public String originalId() {
return this.innerProperties() == null ? null : this.innerProperties().originalId();
}

/**
* Get the originalResourceGroup property: The resource group of the original server before deletion.
*
* @return the originalResourceGroup value.
*/
public String originalResourceGroup() {
return this.innerProperties() == null ? null : this.innerProperties().originalResourceGroup();
}

/**
* Get the fullyQualifiedDomainName property: The fully qualified domain name of the server.
*
Expand All @@ -133,6 +142,16 @@ public String fullyQualifiedDomainName() {
return this.innerProperties() == null ? null : this.innerProperties().fullyQualifiedDomainName();
}

/**
* Get the scheduledPurgeTime property: The date and time when the deleted server will be permanently deleted
* (purged).
*
* @return the scheduledPurgeTime value.
*/
public OffsetDateTime scheduledPurgeTime() {
return this.innerProperties() == null ? null : this.innerProperties().scheduledPurgeTime();
}

/**
* Validates the instance.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,21 @@ public final class DeletedServerProperties implements JsonSerializable<DeletedSe
*/
private String originalId;

/*
* The resource group of the original server before deletion.
*/
private String originalResourceGroup;

/*
* The fully qualified domain name of the server.
*/
private String fullyQualifiedDomainName;

/*
* The date and time when the deleted server will be permanently deleted (purged).
*/
private OffsetDateTime scheduledPurgeTime;

/**
* Creates an instance of DeletedServerProperties class.
*/
Expand Down Expand Up @@ -71,6 +81,15 @@ public String originalId() {
return this.originalId;
}

/**
* Get the originalResourceGroup property: The resource group of the original server before deletion.
*
* @return the originalResourceGroup value.
*/
public String originalResourceGroup() {
return this.originalResourceGroup;
}

/**
* Get the fullyQualifiedDomainName property: The fully qualified domain name of the server.
*
Expand All @@ -80,6 +99,16 @@ public String fullyQualifiedDomainName() {
return this.fullyQualifiedDomainName;
}

/**
* Get the scheduledPurgeTime property: The date and time when the deleted server will be permanently deleted
* (purged).
*
* @return the scheduledPurgeTime value.
*/
public OffsetDateTime scheduledPurgeTime() {
return this.scheduledPurgeTime;
}

/**
* Validates the instance.
*
Expand Down Expand Up @@ -119,8 +148,13 @@ public static DeletedServerProperties fromJson(JsonReader jsonReader) throws IOE
.getNullable(nonNullReader -> CoreUtils.parseBestOffsetDateTime(nonNullReader.getString()));
} else if ("originalId".equals(fieldName)) {
deserializedDeletedServerProperties.originalId = reader.getString();
} else if ("originalResourceGroup".equals(fieldName)) {
deserializedDeletedServerProperties.originalResourceGroup = reader.getString();
} else if ("fullyQualifiedDomainName".equals(fieldName)) {
deserializedDeletedServerProperties.fullyQualifiedDomainName = reader.getString();
} else if ("scheduledPurgeTime".equals(fieldName)) {
deserializedDeletedServerProperties.scheduledPurgeTime = reader
.getNullable(nonNullReader -> CoreUtils.parseBestOffsetDateTime(nonNullReader.getString()));
} else {
reader.skipChildren();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
import com.azure.json.JsonWriter;
import com.azure.resourcemanager.sql.models.DistributedAvailabilityGroupDatabase;
import com.azure.resourcemanager.sql.models.FailoverModeType;
import com.azure.resourcemanager.sql.models.LinkModeType;
import com.azure.resourcemanager.sql.models.LinkRole;
import com.azure.resourcemanager.sql.models.ReplicationMode;
import com.azure.resourcemanager.sql.models.SeedingModeType;
Expand Down Expand Up @@ -295,6 +296,29 @@ public DistributedAvailabilityGroupInner withSeedingMode(SeedingModeType seeding
return this;
}

/**
* Get the linkMode property: Specifies whether the link operates in single-database or multi-database mode.
*
* @return the linkMode value.
*/
public LinkModeType linkMode() {
return this.innerProperties() == null ? null : this.innerProperties().linkMode();
}

/**
* Set the linkMode property: Specifies whether the link operates in single-database or multi-database mode.
*
* @param linkMode the linkMode value to set.
* @return the DistributedAvailabilityGroupInner object itself.
*/
public DistributedAvailabilityGroupInner withLinkMode(LinkModeType linkMode) {
if (this.innerProperties() == null) {
this.innerProperties = new DistributedAvailabilityGroupProperties();
}
this.innerProperties().withLinkMode(linkMode);
return this;
}

/**
* Get the databases property: Databases in the distributed availability group.
*
Expand Down
Loading
Loading