Skip to content

Commit 239b992

Browse files
authored
[Automation] Generate Fluent Lite from Swagger cognitiveservices#package-2025-06-01 (#46696)
1 parent 41db6e7 commit 239b992

File tree

19 files changed

+111
-90
lines changed

19 files changed

+111
-90
lines changed

eng/automation/api-specs.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ azurestackhci/Microsoft.AzureStackHCI/StackHCI:
1717
service: azurestackhci
1818
cdn:
1919
suffix: generated
20+
certificateregistration/Microsoft.CertificateRegistration/CertificateRegistration:
21+
service: certificateregistration
2022
compute:
2123
suffix: generated
2224
containerinstance:
@@ -48,6 +50,8 @@ dnc:
4850
service: delegatednetwork
4951
dns:
5052
suffix: generated
53+
domainregistration/Microsoft.DomainRegistration/DomainRegistration:
54+
service: domainregistration
5155
eventhub:
5256
service: eventhubs
5357
suffix: generated
@@ -150,10 +154,6 @@ vmware:
150154
web:
151155
service: appservice
152156
suffix: generated
153-
certificateregistration/Microsoft.CertificateRegistration/CertificateRegistration:
154-
service: certificateregistration
155-
domainregistration/Microsoft.DomainRegistration/DomainRegistration:
156-
service: domainregistration
157157
workloads/Microsoft.Workloads/SAPDiscoverySites:
158158
service: migrationdiscoverysap
159159
workloads/Microsoft.Workloads/SAPVirtualInstance:

eng/versioning/version_client.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,7 @@ com.azure.resourcemanager:azure-resourcemanager-consumption;1.0.0;1.1.0-beta.1
338338
com.azure.resourcemanager:azure-resourcemanager-commerce;1.0.0-beta.2;1.0.0-beta.3
339339
com.azure.resourcemanager:azure-resourcemanager-billing;1.0.0;1.1.0-beta.1
340340
com.azure.resourcemanager:azure-resourcemanager-signalr;1.0.0;1.1.0-beta.1
341-
com.azure.resourcemanager:azure-resourcemanager-cognitiveservices;1.2.0;1.3.0-beta.1
341+
com.azure.resourcemanager:azure-resourcemanager-cognitiveservices;1.2.0;1.3.0
342342
com.azure.resourcemanager:azure-resourcemanager-customerinsights;1.0.0-beta.3;1.0.0-beta.4
343343
com.azure.resourcemanager:azure-resourcemanager-databox;1.1.0;1.2.0-beta.1
344344
com.azure.resourcemanager:azure-resourcemanager-datamigration;1.0.0;1.1.0-beta.2

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

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

3-
## 1.3.0-beta.1 (Unreleased)
3+
## 1.3.0 (2025-09-16)
44

5-
### Features Added
5+
- Azure Resource Manager CognitiveServices client library for Java. This package contains Microsoft Azure SDK for CognitiveServices Management SDK. Cognitive Services Management Client. Package tag package-2025-06-01. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).
66

77
### Breaking Changes
88

9-
### Bugs Fixed
9+
#### `models.NetworkInjections` was removed
10+
11+
#### `models.AccountProperties` was modified
12+
13+
* `models.NetworkInjections networkInjections()` -> `java.util.List networkInjections()`
14+
* `withNetworkInjections(models.NetworkInjections)` was removed
15+
16+
### Features Added
17+
18+
* `models.NetworkInjection` was added
19+
20+
#### `models.AccountProperties` was modified
1021

11-
### Other Changes
22+
* `withNetworkInjections(java.util.List)` was added
1223

1324
## 1.2.0 (2025-07-21)
1425

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -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-cognitiveservices</artifactId>
35-
<version>1.2.0</version>
35+
<version>1.3.0</version>
3636
</dependency>
3737
```
3838
[//]: # ({x-version-update-end})

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

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

2020
<name>Microsoft Azure SDK for CognitiveServices Management</name>
@@ -45,6 +45,7 @@
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>
4849
</properties>
4950
<dependencies>
5051
<dependency>

sdk/cognitiveservices/azure-resourcemanager-cognitiveservices/src/main/java/com/azure/resourcemanager/cognitiveservices/implementation/AccountConnectionsClientImpl.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -888,6 +888,8 @@ public PagedIterable<ConnectionPropertiesV2BasicResourceInner> list(String resou
888888
}
889889

890890
/**
891+
* Lists all the available Cognitive Services account connections under the specified account.
892+
*
891893
* Get the next page of items.
892894
*
893895
* @param nextLink The URL to get the next list of items.
@@ -914,6 +916,8 @@ private Mono<PagedResponse<ConnectionPropertiesV2BasicResourceInner>> listNextSi
914916
}
915917

916918
/**
919+
* Lists all the available Cognitive Services account connections under the specified account.
920+
*
917921
* Get the next page of items.
918922
*
919923
* @param nextLink The URL to get the next list of items.
@@ -941,6 +945,8 @@ private PagedResponse<ConnectionPropertiesV2BasicResourceInner> listNextSinglePa
941945
}
942946

943947
/**
948+
* Lists all the available Cognitive Services account connections under the specified account.
949+
*
944950
* Get the next page of items.
945951
*
946952
* @param nextLink The URL to get the next list of items.

sdk/cognitiveservices/azure-resourcemanager-cognitiveservices/src/main/java/com/azure/resourcemanager/cognitiveservices/implementation/CommitmentPlansClientImpl.java

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2982,8 +2982,8 @@ public void deleteAssociation(String resourceGroupName, String commitmentPlanNam
29822982
* @throws IllegalArgumentException thrown if parameters fail the validation.
29832983
* @throws ManagementException thrown if the request is rejected by server.
29842984
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
2985-
* @return the list of cognitive services accounts operation response along with {@link PagedResponse} on successful
2986-
* completion of {@link Mono}.
2985+
* @return the commitmentPlans associated with the Cognitive Services account along with {@link PagedResponse} on
2986+
* successful completion of {@link Mono}.
29872987
*/
29882988
@ServiceMethod(returns = ReturnType.SINGLE)
29892989
private Mono<PagedResponse<CommitmentPlanInner>> listNextSinglePageAsync(String nextLink) {
@@ -3008,7 +3008,7 @@ private Mono<PagedResponse<CommitmentPlanInner>> listNextSinglePageAsync(String
30083008
* @throws IllegalArgumentException thrown if parameters fail the validation.
30093009
* @throws ManagementException thrown if the request is rejected by server.
30103010
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
3011-
* @return the list of cognitive services accounts operation response along with {@link PagedResponse}.
3011+
* @return the commitmentPlans associated with the Cognitive Services account along with {@link PagedResponse}.
30123012
*/
30133013
@ServiceMethod(returns = ReturnType.SINGLE)
30143014
private PagedResponse<CommitmentPlanInner> listNextSinglePage(String nextLink) {
@@ -3036,7 +3036,7 @@ private PagedResponse<CommitmentPlanInner> listNextSinglePage(String nextLink) {
30363036
* @throws IllegalArgumentException thrown if parameters fail the validation.
30373037
* @throws ManagementException thrown if the request is rejected by server.
30383038
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
3039-
* @return the list of cognitive services accounts operation response along with {@link PagedResponse}.
3039+
* @return the commitmentPlans associated with the Cognitive Services account along with {@link PagedResponse}.
30403040
*/
30413041
@ServiceMethod(returns = ReturnType.SINGLE)
30423042
private PagedResponse<CommitmentPlanInner> listNextSinglePage(String nextLink, Context context) {
@@ -3230,8 +3230,8 @@ private PagedResponse<CommitmentPlanInner> listPlansBySubscriptionNextSinglePage
32303230
* @throws IllegalArgumentException thrown if parameters fail the validation.
32313231
* @throws ManagementException thrown if the request is rejected by server.
32323232
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
3233-
* @return the list of cognitive services Commitment Plan Account Association operation response along with
3234-
* {@link PagedResponse} on successful completion of {@link Mono}.
3233+
* @return the associations of the Cognitive Services commitment plan along with {@link PagedResponse} on successful
3234+
* completion of {@link Mono}.
32353235
*/
32363236
@ServiceMethod(returns = ReturnType.SINGLE)
32373237
private Mono<PagedResponse<CommitmentPlanAccountAssociationInner>>
@@ -3258,8 +3258,7 @@ private PagedResponse<CommitmentPlanInner> listPlansBySubscriptionNextSinglePage
32583258
* @throws IllegalArgumentException thrown if parameters fail the validation.
32593259
* @throws ManagementException thrown if the request is rejected by server.
32603260
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
3261-
* @return the list of cognitive services Commitment Plan Account Association operation response along with
3262-
* {@link PagedResponse}.
3261+
* @return the associations of the Cognitive Services commitment plan along with {@link PagedResponse}.
32633262
*/
32643263
@ServiceMethod(returns = ReturnType.SINGLE)
32653264
private PagedResponse<CommitmentPlanAccountAssociationInner> listAssociationsNextSinglePage(String nextLink) {
@@ -3287,8 +3286,7 @@ private PagedResponse<CommitmentPlanAccountAssociationInner> listAssociationsNex
32873286
* @throws IllegalArgumentException thrown if parameters fail the validation.
32883287
* @throws ManagementException thrown if the request is rejected by server.
32893288
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
3290-
* @return the list of cognitive services Commitment Plan Account Association operation response along with
3291-
* {@link PagedResponse}.
3289+
* @return the associations of the Cognitive Services commitment plan along with {@link PagedResponse}.
32923290
*/
32933291
@ServiceMethod(returns = ReturnType.SINGLE)
32943292
private PagedResponse<CommitmentPlanAccountAssociationInner> listAssociationsNextSinglePage(String nextLink,

sdk/cognitiveservices/azure-resourcemanager-cognitiveservices/src/main/java/com/azure/resourcemanager/cognitiveservices/implementation/DeploymentsClientImpl.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1452,8 +1452,8 @@ public PagedIterable<SkuResourceInner> listSkus(String resourceGroupName, String
14521452
* @throws IllegalArgumentException thrown if parameters fail the validation.
14531453
* @throws ManagementException thrown if the request is rejected by server.
14541454
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
1455-
* @return the list of cognitive services accounts operation response along with {@link PagedResponse} on successful
1456-
* completion of {@link Mono}.
1455+
* @return the deployments associated with the Cognitive Services account along with {@link PagedResponse} on
1456+
* successful completion of {@link Mono}.
14571457
*/
14581458
@ServiceMethod(returns = ReturnType.SINGLE)
14591459
private Mono<PagedResponse<DeploymentInner>> listNextSinglePageAsync(String nextLink) {
@@ -1478,7 +1478,7 @@ private Mono<PagedResponse<DeploymentInner>> listNextSinglePageAsync(String next
14781478
* @throws IllegalArgumentException thrown if parameters fail the validation.
14791479
* @throws ManagementException thrown if the request is rejected by server.
14801480
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
1481-
* @return the list of cognitive services accounts operation response along with {@link PagedResponse}.
1481+
* @return the deployments associated with the Cognitive Services account along with {@link PagedResponse}.
14821482
*/
14831483
@ServiceMethod(returns = ReturnType.SINGLE)
14841484
private PagedResponse<DeploymentInner> listNextSinglePage(String nextLink) {
@@ -1506,7 +1506,7 @@ private PagedResponse<DeploymentInner> listNextSinglePage(String nextLink) {
15061506
* @throws IllegalArgumentException thrown if parameters fail the validation.
15071507
* @throws ManagementException thrown if the request is rejected by server.
15081508
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
1509-
* @return the list of cognitive services accounts operation response along with {@link PagedResponse}.
1509+
* @return the deployments associated with the Cognitive Services account along with {@link PagedResponse}.
15101510
*/
15111511
@ServiceMethod(returns = ReturnType.SINGLE)
15121512
private PagedResponse<DeploymentInner> listNextSinglePage(String nextLink, Context context) {

sdk/cognitiveservices/azure-resourcemanager-cognitiveservices/src/main/java/com/azure/resourcemanager/cognitiveservices/implementation/EncryptionScopesClientImpl.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -824,8 +824,8 @@ public void delete(String resourceGroupName, String accountName, String encrypti
824824
* @throws IllegalArgumentException thrown if parameters fail the validation.
825825
* @throws ManagementException thrown if the request is rejected by server.
826826
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
827-
* @return the list of cognitive services EncryptionScopes along with {@link PagedResponse} on successful completion
828-
* of {@link Mono}.
827+
* @return the content filters associated with the Azure OpenAI account along with {@link PagedResponse} on
828+
* successful completion of {@link Mono}.
829829
*/
830830
@ServiceMethod(returns = ReturnType.SINGLE)
831831
private Mono<PagedResponse<EncryptionScopeInner>> listNextSinglePageAsync(String nextLink) {
@@ -850,7 +850,7 @@ private Mono<PagedResponse<EncryptionScopeInner>> listNextSinglePageAsync(String
850850
* @throws IllegalArgumentException thrown if parameters fail the validation.
851851
* @throws ManagementException thrown if the request is rejected by server.
852852
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
853-
* @return the list of cognitive services EncryptionScopes along with {@link PagedResponse}.
853+
* @return the content filters associated with the Azure OpenAI account along with {@link PagedResponse}.
854854
*/
855855
@ServiceMethod(returns = ReturnType.SINGLE)
856856
private PagedResponse<EncryptionScopeInner> listNextSinglePage(String nextLink) {
@@ -878,7 +878,7 @@ private PagedResponse<EncryptionScopeInner> listNextSinglePage(String nextLink)
878878
* @throws IllegalArgumentException thrown if parameters fail the validation.
879879
* @throws ManagementException thrown if the request is rejected by server.
880880
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
881-
* @return the list of cognitive services EncryptionScopes along with {@link PagedResponse}.
881+
* @return the content filters associated with the Azure OpenAI account along with {@link PagedResponse}.
882882
*/
883883
@ServiceMethod(returns = ReturnType.SINGLE)
884884
private PagedResponse<EncryptionScopeInner> listNextSinglePage(String nextLink, Context context) {

sdk/cognitiveservices/azure-resourcemanager-cognitiveservices/src/main/java/com/azure/resourcemanager/cognitiveservices/implementation/NetworkSecurityPerimeterConfigurationsClientImpl.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -689,8 +689,8 @@ public NetworkSecurityPerimeterConfigurationInner reconcile(String resourceGroup
689689
* @throws IllegalArgumentException thrown if parameters fail the validation.
690690
* @throws ManagementException thrown if the request is rejected by server.
691691
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
692-
* @return a list of NSP configurations for an Cognitive Services account along with {@link PagedResponse} on
693-
* successful completion of {@link Mono}.
692+
* @return a list of NSP configurations for an account along with {@link PagedResponse} on successful completion of
693+
* {@link Mono}.
694694
*/
695695
@ServiceMethod(returns = ReturnType.SINGLE)
696696
private Mono<PagedResponse<NetworkSecurityPerimeterConfigurationInner>> listNextSinglePageAsync(String nextLink) {
@@ -716,7 +716,7 @@ private Mono<PagedResponse<NetworkSecurityPerimeterConfigurationInner>> listNext
716716
* @throws IllegalArgumentException thrown if parameters fail the validation.
717717
* @throws ManagementException thrown if the request is rejected by server.
718718
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
719-
* @return a list of NSP configurations for an Cognitive Services account along with {@link PagedResponse}.
719+
* @return a list of NSP configurations for an account along with {@link PagedResponse}.
720720
*/
721721
@ServiceMethod(returns = ReturnType.SINGLE)
722722
private PagedResponse<NetworkSecurityPerimeterConfigurationInner> listNextSinglePage(String nextLink) {
@@ -744,7 +744,7 @@ private PagedResponse<NetworkSecurityPerimeterConfigurationInner> listNextSingle
744744
* @throws IllegalArgumentException thrown if parameters fail the validation.
745745
* @throws ManagementException thrown if the request is rejected by server.
746746
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
747-
* @return a list of NSP configurations for an Cognitive Services account along with {@link PagedResponse}.
747+
* @return a list of NSP configurations for an account along with {@link PagedResponse}.
748748
*/
749749
@ServiceMethod(returns = ReturnType.SINGLE)
750750
private PagedResponse<NetworkSecurityPerimeterConfigurationInner> listNextSinglePage(String nextLink,

0 commit comments

Comments
 (0)