Skip to content

Commit 1b9fa94

Browse files
authored
[Automation] Generate Fluent Lite from TypeSpec chaos (#45345)
1 parent 2921b49 commit 1b9fa94

File tree

205 files changed

+5416
-5915
lines changed

Some content is hidden

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

205 files changed

+5416
-5915
lines changed

eng/versioning/version_client.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -434,7 +434,7 @@ com.azure.resourcemanager:azure-resourcemanager-managementgroups;1.0.0-beta.2;1.
434434
com.azure.resourcemanager:azure-resourcemanager-managednetworkfabric;1.1.0;1.2.0-beta.1
435435
com.azure.resourcemanager:azure-resourcemanager-iotfirmwaredefense;1.1.0;1.2.0-beta.1
436436
com.azure.resourcemanager:azure-resourcemanager-quantum;1.0.0-beta.3;1.0.0-beta.4
437-
com.azure.resourcemanager:azure-resourcemanager-chaos;1.2.0;1.3.0-beta.1
437+
com.azure.resourcemanager:azure-resourcemanager-chaos;1.2.0;1.3.0
438438
com.azure.resourcemanager:azure-resourcemanager-sphere;1.1.0;1.2.0-beta.1
439439
com.azure.resourcemanager:azure-resourcemanager-defendereasm;1.0.0-beta.2;1.0.0-beta.3
440440
com.azure.resourcemanager:azure-resourcemanager-hdinsight-containers;1.0.0-beta.3;1.0.0-beta.4

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

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

3-
## 1.3.0-beta.1 (Unreleased)
3+
## 1.3.0 (2025-05-15)
44

5-
### Features Added
5+
- Azure Resource Manager Chaos client library for Java. This package contains Microsoft Azure SDK for Chaos Management SDK. Chaos Management Client. 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.TargetListResult` was removed
10+
11+
#### `models.OperationListResult` was removed
12+
13+
#### `models.CapabilityTypeListResult` was removed
14+
15+
#### `models.ExperimentListResult` was removed
16+
17+
#### `models.ExperimentExecutionListResult` was removed
18+
19+
#### `models.ResourceIdentityType` was removed
20+
21+
#### `models.TargetTypeListResult` was removed
22+
23+
#### `models.CapabilityListResult` was removed
24+
25+
#### `models.TargetType` was modified
26+
27+
* `location()` was removed
28+
29+
#### `models.UserAssignedIdentity` was modified
30+
31+
* `java.util.UUID clientId()` -> `java.lang.String clientId()`
32+
* `java.util.UUID principalId()` -> `java.lang.String principalId()`
33+
34+
#### `models.ResourceIdentity` was modified
35+
36+
* `withType(models.ResourceIdentityType)` was removed
37+
* `models.ResourceIdentityType type()` -> `models.ManagedServiceIdentityType type()`
38+
39+
#### `models.DelayAction` was modified
40+
41+
* `java.lang.String type()` -> `models.ExperimentActionType type()`
42+
43+
#### `models.ContinuousAction` was modified
44+
45+
* `java.lang.String type()` -> `models.ExperimentActionType type()`
46+
47+
#### `models.CapabilityType` was modified
48+
49+
* `location()` was removed
50+
51+
#### `models.Operations` was modified
52+
53+
* `listAll(com.azure.core.util.Context)` was removed
54+
* `listAll()` was removed
55+
56+
#### `models.ChaosExperimentAction` was modified
57+
58+
* `java.lang.String type()` -> `models.ExperimentActionType type()`
59+
60+
#### `models.DiscreteAction` was modified
61+
62+
* `java.lang.String type()` -> `models.ExperimentActionType type()`
63+
64+
#### `models.ChaosTargetSelector` was modified
65+
66+
* `additionalProperties()` was removed
67+
* `withAdditionalProperties(java.util.Map)` was removed
68+
69+
### Features Added
70+
71+
* `implementation.models.TargetTypeListResult` was added
72+
73+
* `models.ExperimentActionType` was added
74+
75+
* `implementation.models.TargetListResult` was added
76+
77+
* `models.ManagedServiceIdentityType` was added
78+
79+
* `implementation.models.ExperimentListResult` was added
80+
81+
* `implementation.models.OperationListResult` was added
82+
83+
* `implementation.models.CapabilityTypeListResult` was added
84+
85+
* `implementation.models.CapabilityListResult` was added
86+
87+
* `implementation.models.ExperimentExecutionListResult` was added
88+
89+
#### `models.ResourceIdentity` was modified
90+
91+
* `withType(models.ManagedServiceIdentityType)` was added
92+
93+
#### `models.CapabilityType` was modified
94+
95+
* `requiredAzureRoleDefinitionIds()` was added
96+
97+
#### `models.ExperimentExecution` was modified
98+
99+
* `systemData()` was added
100+
101+
#### `models.OperationStatus` was modified
102+
103+
* `resourceId()` was added
104+
* `operations()` was added
105+
* `percentComplete()` was added
106+
107+
#### `models.Operations` was modified
10108

11-
### Other Changes
109+
* `list(com.azure.core.util.Context)` was added
110+
* `list()` was added
12111

13112
## 1.2.0 (2024-12-19)
14113

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

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

33
Azure Resource Manager Chaos client library for Java.
44

5-
This package contains Microsoft Azure SDK for Chaos Management SDK. Chaos Management Client. Package tag package-2024-01. 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 Chaos Management SDK. Chaos Management Client. 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

@@ -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-chaos</artifactId>
35-
<version>1.3.0-beta.1</version>
35+
<version>1.3.0</version>
3636
</dependency>
3737
```
3838
[//]: # ({x-version-update-end})
@@ -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
ChaosManager manager = ChaosManager
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

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

0 commit comments

Comments
 (0)