Skip to content

Commit 421fdcc

Browse files
author
SDKAuto
committed
CodeGen from PR 33581 in Azure/azure-rest-api-specs
Merge efc5c09ac76420e669ba217b83c81ce263ad5453 into cb5ef7fc4cb443bd5f6b21d02cbce41051beb6ae
1 parent 41e7411 commit 421fdcc

File tree

5 files changed

+174
-143
lines changed

5 files changed

+174
-143
lines changed

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

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

3-
## 1.0.0-beta.2 (Unreleased)
3+
## 1.0.0-beta.2 (2025-04-15)
44

5-
### Features Added
5+
- Azure Resource Manager Trusted Signing client library for Java. This package contains Microsoft Azure SDK for Trusted Signing Management SDK. Code Signing resource provider api. 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.CodeSigningAccountPatch` was modified
10+
11+
* `withSku(models.AccountSku)` was removed
12+
* `models.AccountSku sku()` -> `models.AccountSkuPatch sku()`
13+
14+
#### `models.CodeSigningAccount$Update` was modified
15+
16+
* `withSku(models.AccountSku)` was removed
17+
18+
#### `models.CertificateProfileProperties` was modified
19+
20+
* `streetAddress()` was removed
21+
* `enhancedKeyUsage()` was removed
22+
* `city()` was removed
23+
* `organizationUnit()` was removed
24+
* `organization()` was removed
25+
* `state()` was removed
26+
* `country()` was removed
27+
* `commonName()` was removed
28+
* `postalCode()` was removed
29+
30+
### Features Added
31+
32+
* `models.AccountSkuPatch` was added
33+
34+
#### `models.CodeSigningAccountPatch` was modified
35+
36+
* `withSku(models.AccountSkuPatch)` was added
37+
38+
#### `models.CodeSigningAccount$Update` was modified
39+
40+
* `withSku(models.AccountSkuPatch)` was added
41+
42+
#### `models.Certificate` was modified
1043

11-
### Other Changes
44+
* `enhancedKeyUsage()` was added
1245

1346
## 1.0.0-beta.1 (2024-09-27)
1447

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

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -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
TrustedSigningManager manager = TrustedSigningManager
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

@@ -100,5 +100,3 @@ This project has adopted the [Microsoft Open Source Code of Conduct][coc]. For m
100100
[cg]: https://github.com/Azure/azure-sdk-for-java/blob/main/CONTRIBUTING.md
101101
[coc]: https://opensource.microsoft.com/codeofconduct/
102102
[coc_faq]: https://opensource.microsoft.com/codeofconduct/faq/
103-
104-

0 commit comments

Comments
 (0)