Skip to content

Commit 4b3cc6a

Browse files
author
SDKAuto
committed
CodeGen from PR 33993 in Azure/azure-rest-api-specs
Merge 5a997ffbbce12d07c0a6757520ea7f526be32ee4 into bf9242293568152ec37ef41d5377cd9382862347
1 parent 8ca8e2c commit 4b3cc6a

File tree

320 files changed

+17611
-6973
lines changed

Some content is hidden

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

320 files changed

+17611
-6973
lines changed

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

+135-4
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,145 @@
11
# Release History
22

3-
## 1.2.0-beta.1 (Unreleased)
3+
## 1.0.0-beta.1 (2025-04-16)
4+
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-preview-2025-04-01-preview. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).
46

57
### Features Added
68

7-
### Breaking Changes
9+
* `models.ProjectListResult` was added
10+
11+
* `models.Project$Update` was added
12+
13+
* `models.ConnectionOAuth2` was added
14+
15+
* `models.CapabilityHost$Update` was added
16+
17+
* `models.ConnectionServicePrincipal` was added
18+
19+
* `models.ConnectionSharedAccessSignature` was added
20+
21+
* `models.CapabilityHost$UpdateStages` was added
22+
23+
* `models.CapabilityHost` was added
24+
25+
* `models.ResourceBase` was added
26+
27+
* `models.ConnectionPropertiesV2BasicResource` was added
28+
29+
* `models.ServicePrincipalAuthTypeConnectionProperties` was added
30+
31+
* `models.CapabilityHost$Definition` was added
32+
33+
* `models.CapabilityHostKind` was added
34+
35+
* `models.CapabilityHostProperties` was added
36+
37+
* `models.Project$UpdateStages` was added
38+
39+
* `models.ConnectionPropertiesV2` was added
40+
41+
* `models.ConnectionAccessKey` was added
42+
43+
* `models.CustomKeysConnectionProperties` was added
44+
45+
* `models.ProjectConnections` was added
46+
47+
* `models.AccountConnections` was added
48+
49+
* `models.ConnectionAuthType` was added
50+
51+
* `models.ManagedPERequirement` was added
52+
53+
* `models.Project$Definition` was added
54+
55+
* `models.PatAuthTypeConnectionProperties` was added
56+
57+
* `models.ConnectionPropertiesV2BasicResource$Definition` was added
58+
59+
* `models.NoneAuthTypeConnectionProperties` was added
60+
61+
* `models.AccountKeyAuthTypeConnectionProperties` was added
62+
63+
* `models.AccessKeyAuthTypeConnectionProperties` was added
64+
65+
* `models.ConnectionApiKey` was added
66+
67+
* `models.AccountCapabilityHosts` was added
68+
69+
* `models.ManagedPEStatus` was added
870

9-
### Bugs Fixed
71+
* `models.ConnectionUpdateContent` was added
72+
73+
* `models.ConnectionManagedIdentity` was added
74+
75+
* `models.ConnectionPropertiesV2BasicResource$Update` was added
76+
77+
* `models.CapabilityHostProvisioningState` was added
78+
79+
* `models.CustomKeys` was added
80+
81+
* `models.ManagedIdentityAuthTypeConnectionProperties` was added
82+
83+
* `models.ProjectProperties` was added
84+
85+
* `models.ConnectionCategory` was added
86+
87+
* `models.ProjectCapabilityHosts` was added
88+
89+
* `models.Projects` was added
90+
91+
* `models.Project` was added
92+
93+
* `models.OAuth2AuthTypeConnectionProperties` was added
94+
95+
* `models.ApiKeyAuthConnectionProperties` was added
96+
97+
* `models.Project$DefinitionStages` was added
98+
99+
* `models.ConnectionAccountKey` was added
100+
101+
* `models.NetworkInjections` was added
102+
103+
* `models.SasAuthTypeConnectionProperties` was added
104+
105+
* `models.UsernamePasswordAuthTypeConnectionProperties` was added
106+
107+
* `models.CapabilityHost$DefinitionStages` was added
108+
109+
* `models.ConnectionPropertiesV2BasicResourceArmPaginatedResult` was added
110+
111+
* `models.ConnectionGroup` was added
112+
113+
* `models.AadAuthTypeConnectionProperties` was added
114+
115+
* `models.ConnectionUsernamePassword` was added
116+
117+
* `models.ConnectionPropertiesV2BasicResource$DefinitionStages` was added
118+
119+
* `models.ConnectionPropertiesV2BasicResource$UpdateStages` was added
120+
121+
* `models.ConnectionPersonalAccessToken` was added
122+
123+
* `models.ScenarioType` was added
124+
125+
#### `CognitiveServicesManager` was modified
126+
127+
* `accountCapabilityHosts()` was added
128+
* `projectCapabilityHosts()` was added
129+
* `accountConnections()` was added
130+
* `projectConnections()` was added
131+
* `projects()` was added
132+
133+
#### `models.AccountProperties` was modified
10134

11-
### Other Changes
135+
* `defaultProject()` was added
136+
* `associatedProjects()` was added
137+
* `withAllowProjectManagement(java.lang.Boolean)` was added
138+
* `withDefaultProject(java.lang.String)` was added
139+
* `withAssociatedProjects(java.util.List)` was added
140+
* `withNetworkInjections(models.NetworkInjections)` was added
141+
* `allowProjectManagement()` was added
142+
* `networkInjections()` was added
12143

13144
## 1.1.0 (2024-11-22)
14145

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

+3-5
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Azure Resource Manager CognitiveServices client library for Java.
44

5-
This package contains Microsoft Azure SDK for CognitiveServices Management SDK. Cognitive Services Management Client. Package tag package-2024-10. 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 CognitiveServices Management SDK. Cognitive Services Management Client. Package tag package-preview-2025-04-01-preview. 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

@@ -52,15 +52,15 @@ Azure subscription ID can be configured via `AZURE_SUBSCRIPTION_ID` environment
5252
Assuming the use of the `DefaultAzureCredential` credential class, the client can be authenticated using the following code:
5353

5454
```java
55-
AzureProfile profile = new AzureProfile(AzureEnvironment.AZURE);
55+
AzureProfile profile = new AzureProfile(AzureCloud.AZURE_PUBLIC_CLOUD);
5656
TokenCredential credential = new DefaultAzureCredentialBuilder()
5757
.authorityHost(profile.getEnvironment().getActiveDirectoryEndpoint())
5858
.build();
5959
CognitiveServicesManager manager = CognitiveServicesManager
6060
.authenticate(credential, profile);
6161
```
6262

63-
The sample code assumes global Azure. Please change `AzureEnvironment.AZURE` variable if otherwise.
63+
The sample code assumes global Azure. Please change the `AzureCloud.AZURE_PUBLIC_CLOUD` variable if otherwise.
6464

6565
See [Authentication][authenticate] for more options.
6666

@@ -109,5 +109,3 @@ This project has adopted the [Microsoft Open Source Code of Conduct][coc]. For m
109109
[cg]: https://github.com/Azure/azure-sdk-for-java/blob/main/CONTRIBUTING.md
110110
[coc]: https://opensource.microsoft.com/codeofconduct/
111111
[coc_faq]: https://opensource.microsoft.com/codeofconduct/faq/
112-
113-

0 commit comments

Comments
 (0)