Skip to content

Commit 53d1d92

Browse files
authored
[Automation] Generate Fluent Lite from resourcehealth#package-2020-05-01 (Azure#27927)
1 parent 3a4f06d commit 53d1d92

File tree

71 files changed

+520
-5011
lines changed

Some content is hidden

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

71 files changed

+520
-5011
lines changed

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

Lines changed: 80 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,86 @@
11
# Release History
22

3-
## 1.0.0-beta.2 (Unreleased)
3+
## 1.0.0-beta.2 (2022-03-29)
44

5+
- Azure Resource Manager ResourceHealth client library for Java. This package contains Microsoft Azure SDK for ResourceHealth Management SDK. The Resource Health Client. Package tag package-2020-05-01. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).
6+
7+
### Breaking Changes
8+
9+
* `models.EmergingIssuesGetResult` was removed
10+
11+
* `models.EventsOperations` was removed
12+
13+
* `models.EventLevelValues` was removed
14+
15+
* `models.SeverityValues` was removed
16+
17+
* `models.StageValues` was removed
18+
19+
* `models.ImpactedRegion` was removed
20+
21+
* `models.Impact` was removed
22+
23+
* `models.EventTypeValues` was removed
24+
25+
* `models.EventPropertiesRecommendedActions` was removed
26+
27+
* `models.StatusActiveEvent` was removed
28+
29+
* `models.MetadataEntity` was removed
30+
31+
* `models.LinkTypeValues` was removed
32+
33+
* `models.StatusBanner` was removed
34+
35+
* `models.EventPropertiesRecommendedActionsItem` was removed
36+
37+
* `models.Events` was removed
38+
39+
* `models.ImpactedServiceRegion` was removed
40+
41+
* `models.LevelValues` was removed
42+
43+
* `models.EmergingIssueListResult` was removed
44+
45+
* `models.Faq` was removed
46+
47+
* `models.EventStatusValues` was removed
48+
49+
* `models.EventSourceValues` was removed
50+
51+
* `models.Link` was removed
52+
53+
* `models.Scenario` was removed
54+
55+
* `models.EmergingIssueImpact` was removed
56+
57+
* `models.LinkDisplayText` was removed
58+
59+
* `models.Update` was removed
60+
61+
* `models.EventPropertiesArticle` was removed
62+
63+
* `models.Event` was removed
64+
65+
* `models.MetadataSupportedValueDetail` was removed
66+
67+
* `models.EmergingIssues` was removed
68+
69+
#### `ResourceHealthManager` was modified
70+
71+
* `emergingIssues()` was removed
72+
* `eventsOperations()` was removed
73+
74+
### Features Added
75+
76+
#### `models.AvailabilityStatusProperties` was modified
77+
78+
* `withTitle(java.lang.String)` was added
79+
* `title()` was added
80+
81+
#### `ResourceHealthManager$Configurable` was modified
82+
83+
* `withScope(java.lang.String)` was added
584

685
## 1.0.0-beta.1 (2021-04-08)
786

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

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

33
Azure Resource Manager ResourceHealth client library for Java.
44

5-
This package contains Microsoft Azure SDK for ResourceHealth Management SDK. The Resource Health Client. Package tag package-2018-07-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 ResourceHealth Management SDK. The Resource Health Client. Package tag package-2020-05-01. 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-resourcehealth</artifactId>
35-
<version>1.0.0-beta.1</version>
35+
<version>1.0.0-beta.2</version>
3636
</dependency>
3737
```
3838
[//]: # ({x-version-update-end})
@@ -74,6 +74,9 @@ See [API design][design] for general introduction on design and key concepts on
7474

7575
## Examples
7676

77+
[Code snippets and samples](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/resourcehealth/azure-resourcemanager-resourcehealth/SAMPLE.md)
78+
79+
7780
## Troubleshooting
7881

7982
## Next steps
Lines changed: 126 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,126 @@
1+
# Code snippets and samples
2+
3+
4+
## AvailabilityStatuses
5+
6+
- [GetByResource](#availabilitystatuses_getbyresource)
7+
- [List](#availabilitystatuses_list)
8+
- [ListByResourceGroup](#availabilitystatuses_listbyresourcegroup)
9+
- [ListBySubscriptionId](#availabilitystatuses_listbysubscriptionid)
10+
11+
## Operations
12+
13+
- [List](#operations_list)
14+
### AvailabilityStatuses_GetByResource
15+
16+
```java
17+
import com.azure.core.util.Context;
18+
19+
/** Samples for AvailabilityStatuses GetByResource. */
20+
public final class AvailabilityStatusesGetByResourceSamples {
21+
/*
22+
* x-ms-original-file: specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/stable/2020-05-01/examples/AvailabilityStatus_GetByResource.json
23+
*/
24+
/**
25+
* Sample code: GetCurrentHealthByResource.
26+
*
27+
* @param manager Entry point to ResourceHealthManager.
28+
*/
29+
public static void getCurrentHealthByResource(
30+
com.azure.resourcemanager.resourcehealth.ResourceHealthManager manager) {
31+
manager
32+
.availabilityStatuses()
33+
.getByResourceWithResponse("resourceUri", null, "recommendedactions", Context.NONE);
34+
}
35+
}
36+
```
37+
38+
### AvailabilityStatuses_List
39+
40+
```java
41+
import com.azure.core.util.Context;
42+
43+
/** Samples for AvailabilityStatuses List. */
44+
public final class AvailabilityStatusesListSamples {
45+
/*
46+
* x-ms-original-file: specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/stable/2020-05-01/examples/AvailabilityStatuses_List.json
47+
*/
48+
/**
49+
* Sample code: GetHealthHistoryByResource.
50+
*
51+
* @param manager Entry point to ResourceHealthManager.
52+
*/
53+
public static void getHealthHistoryByResource(
54+
com.azure.resourcemanager.resourcehealth.ResourceHealthManager manager) {
55+
manager.availabilityStatuses().list("resourceUri", null, null, Context.NONE);
56+
}
57+
}
58+
```
59+
60+
### AvailabilityStatuses_ListByResourceGroup
61+
62+
```java
63+
import com.azure.core.util.Context;
64+
65+
/** Samples for AvailabilityStatuses ListByResourceGroup. */
66+
public final class AvailabilityStatusesListByResourceGroupSamples {
67+
/*
68+
* x-ms-original-file: specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/stable/2020-05-01/examples/AvailabilityStatuses_ListByResourceGroup.json
69+
*/
70+
/**
71+
* Sample code: ListByResourceGroup.
72+
*
73+
* @param manager Entry point to ResourceHealthManager.
74+
*/
75+
public static void listByResourceGroup(com.azure.resourcemanager.resourcehealth.ResourceHealthManager manager) {
76+
manager
77+
.availabilityStatuses()
78+
.listByResourceGroup("resourceGroupName", null, "recommendedactions", Context.NONE);
79+
}
80+
}
81+
```
82+
83+
### AvailabilityStatuses_ListBySubscriptionId
84+
85+
```java
86+
import com.azure.core.util.Context;
87+
88+
/** Samples for AvailabilityStatuses ListBySubscriptionId. */
89+
public final class AvailabilityStatusesListBySubscriptionIdSamples {
90+
/*
91+
* x-ms-original-file: specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/stable/2020-05-01/examples/AvailabilityStatuses_ListBySubscriptionId.json
92+
*/
93+
/**
94+
* Sample code: ListHealthBySubscriptionId.
95+
*
96+
* @param manager Entry point to ResourceHealthManager.
97+
*/
98+
public static void listHealthBySubscriptionId(
99+
com.azure.resourcemanager.resourcehealth.ResourceHealthManager manager) {
100+
manager.availabilityStatuses().listBySubscriptionId(null, "recommendedactions", Context.NONE);
101+
}
102+
}
103+
```
104+
105+
### Operations_List
106+
107+
```java
108+
import com.azure.core.util.Context;
109+
110+
/** Samples for Operations List. */
111+
public final class OperationsListSamples {
112+
/*
113+
* x-ms-original-file: specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/stable/2020-05-01/examples/Operations_List.json
114+
*/
115+
/**
116+
* Sample code: GetHealthHistoryByResource.
117+
*
118+
* @param manager Entry point to ResourceHealthManager.
119+
*/
120+
public static void getHealthHistoryByResource(
121+
com.azure.resourcemanager.resourcehealth.ResourceHealthManager manager) {
122+
manager.operations().listWithResponse(Context.NONE);
123+
}
124+
}
125+
```
126+
Lines changed: 49 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -1,55 +1,55 @@
11
<project xmlns="http://maven.apache.org/POM/4.0.0" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
2-
<modelVersion>4.0.0</modelVersion>
3-
<parent>
4-
<groupId>com.azure</groupId>
5-
<artifactId>azure-client-sdk-parent</artifactId>
6-
<version>1.7.0</version> <!-- {x-version-update;com.azure:azure-client-sdk-parent;current} -->
7-
<relativePath>../../parents/azure-client-sdk-parent</relativePath>
8-
</parent>
2+
<modelVersion>4.0.0</modelVersion>
3+
<parent>
4+
<groupId>com.azure</groupId>
5+
<artifactId>azure-client-sdk-parent</artifactId>
6+
<version>1.7.0</version> <!-- {x-version-update;com.azure:azure-client-sdk-parent;current} -->
7+
<relativePath>../../parents/azure-client-sdk-parent</relativePath>
8+
</parent>
99

10-
<groupId>com.azure.resourcemanager</groupId>
11-
<artifactId>azure-resourcemanager-resourcehealth</artifactId>
12-
<version>1.0.0-beta.2</version> <!-- {x-version-update;com.azure.resourcemanager:azure-resourcemanager-resourcehealth;current} -->
13-
<packaging>jar</packaging>
10+
<groupId>com.azure.resourcemanager</groupId>
11+
<artifactId>azure-resourcemanager-resourcehealth</artifactId>
12+
<version>1.0.0-beta.2</version> <!-- {x-version-update;com.azure.resourcemanager:azure-resourcemanager-resourcehealth;current} -->
13+
<packaging>jar</packaging>
1414

15-
<name>Microsoft Azure SDK for ResourceHealth Management</name>
16-
<description>This package contains Microsoft Azure SDK for ResourceHealth Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. The Resource Health Client. Package tag package-2018-07-01.</description>
17-
<url>https://github.com/Azure/azure-sdk-for-java</url>
15+
<name>Microsoft Azure SDK for ResourceHealth Management</name>
16+
<description>This package contains Microsoft Azure SDK for ResourceHealth Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. The Resource Health Client. Package tag package-2020-05-01.</description>
17+
<url>https://github.com/Azure/azure-sdk-for-java</url>
1818

19-
<licenses>
20-
<license>
21-
<name>The MIT License (MIT)</name>
22-
<url>http://opensource.org/licenses/MIT</url>
23-
<distribution>repo</distribution>
24-
</license>
25-
</licenses>
19+
<licenses>
20+
<license>
21+
<name>The MIT License (MIT)</name>
22+
<url>http://opensource.org/licenses/MIT</url>
23+
<distribution>repo</distribution>
24+
</license>
25+
</licenses>
2626

27-
<scm>
28-
<url>https://github.com/Azure/azure-sdk-for-java</url>
29-
<connection>scm:git:[email protected]:Azure/azure-sdk-for-java.git</connection>
30-
<developerConnection>scm:git:[email protected]:Azure/azure-sdk-for-java.git</developerConnection>
31-
<tag>HEAD</tag>
32-
</scm>
33-
<developers>
34-
<developer>
35-
<id>microsoft</id>
36-
<name>Microsoft</name>
37-
</developer>
38-
</developers>
39-
<properties>
40-
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
41-
<jacoco.skip>true</jacoco.skip>
42-
</properties>
43-
<dependencies>
44-
<dependency>
45-
<groupId>com.azure</groupId>
46-
<artifactId>azure-core</artifactId>
47-
<version>1.26.0</version> <!-- {x-version-update;com.azure:azure-core;dependency} -->
48-
</dependency>
49-
<dependency>
50-
<groupId>com.azure</groupId>
51-
<artifactId>azure-core-management</artifactId>
52-
<version>1.5.3</version> <!-- {x-version-update;com.azure:azure-core-management;dependency} -->
53-
</dependency>
54-
</dependencies>
27+
<scm>
28+
<url>https://github.com/Azure/azure-sdk-for-java</url>
29+
<connection>scm:git:[email protected]:Azure/azure-sdk-for-java.git</connection>
30+
<developerConnection>scm:git:[email protected]:Azure/azure-sdk-for-java.git</developerConnection>
31+
<tag>HEAD</tag>
32+
</scm>
33+
<developers>
34+
<developer>
35+
<id>microsoft</id>
36+
<name>Microsoft</name>
37+
</developer>
38+
</developers>
39+
<properties>
40+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
41+
<jacoco.skip>true</jacoco.skip>
42+
</properties>
43+
<dependencies>
44+
<dependency>
45+
<groupId>com.azure</groupId>
46+
<artifactId>azure-core</artifactId>
47+
<version>1.26.0</version> <!-- {x-version-update;com.azure:azure-core;dependency} -->
48+
</dependency>
49+
<dependency>
50+
<groupId>com.azure</groupId>
51+
<artifactId>azure-core-management</artifactId>
52+
<version>1.5.3</version> <!-- {x-version-update;com.azure:azure-core-management;dependency} -->
53+
</dependency>
54+
</dependencies>
5555
</project>

0 commit comments

Comments
 (0)