Skip to content

Commit 21259d9

Browse files
author
SDKAuto
committed
CodeGen from PR 34249 in Azure/azure-rest-api-specs
Merge 6b2a6621592136d479720bfe10f2cc72441b53f2 into 31869e6038974dbd20dd5028feaec2c402835cad
1 parent 970f239 commit 21259d9

File tree

72 files changed

+3271
-1687
lines changed

Some content is hidden

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

72 files changed

+3271
-1687
lines changed

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

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

3-
## 1.2.0-beta.1 (Unreleased)
3+
## 1.0.0-beta.1 (2025-04-25)
44

5-
### Features Added
5+
- Azure Resource Manager SourceControlConfiguration client library for Java. This package contains Microsoft Azure SDK for SourceControlConfiguration Management SDK. KubernetesConfiguration Client. Package tag package-preview-2024-04. 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.KustomizationPatchDefinition` was modified
10+
11+
* `models.PostBuildDefinition postBuild()` -> `models.PostBuildPatchDefinition postBuild()`
12+
* `withPostBuild(models.PostBuildDefinition)` was removed
13+
14+
### Features Added
15+
16+
* `models.SubstituteFromPatchDefinition` was added
17+
18+
* `models.OciRepositoryRefPatchDefinition` was added
19+
20+
* `models.MatchOidcIdentityDefinition` was added
21+
22+
* `models.OperationType` was added
23+
24+
* `models.OciRepositoryDefinition` was added
25+
26+
* `models.VerifyPatchDefinition` was added
27+
28+
* `models.VerifyDefinition` was added
29+
30+
* `models.LayerSelectorPatchDefinition` was added
31+
32+
* `models.LayerSelectorDefinition` was added
33+
34+
* `models.TlsConfigPatchDefinition` was added
35+
36+
* `models.OciRepositoryRefDefinition` was added
37+
38+
* `models.MatchOidcIdentityPatchDefinition` was added
39+
40+
* `models.TlsConfigDefinition` was added
41+
42+
* `models.OciRepositoryPatchDefinition` was added
43+
44+
* `models.PostBuildPatchDefinition` was added
45+
46+
#### `models.FluxConfiguration` was modified
47+
48+
* `ociRepository()` was added
49+
50+
#### `models.KustomizationPatchDefinition` was modified
51+
52+
* `withPostBuild(models.PostBuildPatchDefinition)` was added
53+
54+
#### `models.FluxConfigurationPatch` was modified
1055

11-
### Other Changes
56+
* `ociRepository()` was added
57+
* `withOciRepository(models.OciRepositoryPatchDefinition)` was added
1258

1359
## 1.1.0 (2024-12-11)
1460

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

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Azure Resource Manager SourceControlConfiguration client library for Java.
44

5-
This package contains Microsoft Azure SDK for SourceControlConfiguration Management SDK. KubernetesConfiguration Client. Package tag package-2023-05. 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 SourceControlConfiguration Management SDK. KubernetesConfiguration Client. Package tag package-preview-2024-04. 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
SourceControlConfigurationManager manager = SourceControlConfigurationManager
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)