Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Release History

## 1.1.0-beta.2 (Unreleased)
## 1.0.0-beta.1 (2023-08-16)

- 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-preview-2023-07. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).

### Features Added

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

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-2022-10. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).
This package contains Microsoft Azure SDK for ResourceHealth Management SDK. The Resource Health Client. Package tag package-preview-2023-07. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).

## We'd love to hear your feedback

Expand Down Expand Up @@ -32,7 +32,7 @@ Various documentation is available to help you get started
<dependency>
<groupId>com.azure.resourcemanager</groupId>
<artifactId>azure-resourcemanager-resourcehealth</artifactId>
<version>1.1.0-beta.1</version>
<version>1.1.0-beta.2</version>
</dependency>
```
[//]: # ({x-version-update-end})
Expand Down Expand Up @@ -103,3 +103,5 @@ This project has adopted the [Microsoft Open Source Code of Conduct][coc]. For m
[cg]: https://github.com/Azure/azure-sdk-for-java/blob/main/CONTRIBUTING.md
[coc]: https://opensource.microsoft.com/codeofconduct/
[coc_faq]: https://opensource.microsoft.com/codeofconduct/faq/

![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-java%2Fsdk%2Fresourcehealth%2Fazure-resourcemanager-resourcehealth%2FREADME.png)
125 changes: 22 additions & 103 deletions sdk/resourcehealth/azure-resourcemanager-resourcehealth/SAMPLE.md

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<packaging>jar</packaging>

<name>Microsoft Azure SDK for ResourceHealth Management</name>
<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-2022-10.</description>
<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-preview-2023-07.</description>
<url>https://github.com/Azure/azure-sdk-for-java</url>

<licenses>
Expand All @@ -45,10 +45,6 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<jacoco.min.linecoverage>0</jacoco.min.linecoverage>
<jacoco.min.branchcoverage>0</jacoco.min.branchcoverage>
<jacoco.skip>true</jacoco.skip>
<javaModulesSurefireArgLine>
--add-opens com.azure.core/com.azure.core.implementation.util=ALL-UNNAMED
</javaModulesSurefireArgLine>
</properties>
<dependencies>
<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@
import com.azure.core.util.logging.ClientLogger;
import com.azure.resourcemanager.resourcehealth.fluent.MicrosoftResourceHealth;
import com.azure.resourcemanager.resourcehealth.implementation.AvailabilityStatusesImpl;
import com.azure.resourcemanager.resourcehealth.implementation.ChildAvailabilityStatusesImpl;
import com.azure.resourcemanager.resourcehealth.implementation.ChildResourcesImpl;
import com.azure.resourcemanager.resourcehealth.implementation.EmergingIssuesImpl;
import com.azure.resourcemanager.resourcehealth.implementation.EventOperationsImpl;
import com.azure.resourcemanager.resourcehealth.implementation.EventsOperationsImpl;
Expand All @@ -36,8 +34,6 @@
import com.azure.resourcemanager.resourcehealth.implementation.OperationsImpl;
import com.azure.resourcemanager.resourcehealth.implementation.SecurityAdvisoryImpactedResourcesImpl;
import com.azure.resourcemanager.resourcehealth.models.AvailabilityStatuses;
import com.azure.resourcemanager.resourcehealth.models.ChildAvailabilityStatuses;
import com.azure.resourcemanager.resourcehealth.models.ChildResources;
import com.azure.resourcemanager.resourcehealth.models.EmergingIssues;
import com.azure.resourcemanager.resourcehealth.models.EventOperations;
import com.azure.resourcemanager.resourcehealth.models.EventsOperations;
Expand Down Expand Up @@ -68,10 +64,6 @@ public final class ResourceHealthManager {

private EventOperations eventOperations;

private ChildAvailabilityStatuses childAvailabilityStatuses;

private ChildResources childResources;

private EmergingIssues emergingIssues;

private final MicrosoftResourceHealth clientObject;
Expand Down Expand Up @@ -239,7 +231,7 @@ public ResourceHealthManager authenticate(TokenCredential credential, AzureProfi
.append("-")
.append("com.azure.resourcemanager.resourcehealth")
.append("/")
.append("1.1.0-beta.1");
.append("1.0.0-beta.1");
if (!Configuration.getGlobalConfiguration().get("AZURE_TELEMETRY_DISABLED", false)) {
userAgentBuilder
.append(" (")
Expand Down Expand Up @@ -381,31 +373,6 @@ public EventOperations eventOperations() {
return eventOperations;
}

/**
* Gets the resource collection API of ChildAvailabilityStatuses.
*
* @return Resource collection API of ChildAvailabilityStatuses.
*/
public ChildAvailabilityStatuses childAvailabilityStatuses() {
if (this.childAvailabilityStatuses == null) {
this.childAvailabilityStatuses =
new ChildAvailabilityStatusesImpl(clientObject.getChildAvailabilityStatuses(), this);
}
return childAvailabilityStatuses;
}

/**
* Gets the resource collection API of ChildResources.
*
* @return Resource collection API of ChildResources.
*/
public ChildResources childResources() {
if (this.childResources == null) {
this.childResources = new ChildResourcesImpl(clientObject.getChildResources(), this);
}
return childResources;
}

/**
* Gets the resource collection API of EmergingIssues.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public interface AvailabilityStatusesClient {
/**
* Lists the current availability status for all the resources in the resource group.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceGroupName The name of the resource group.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
Expand All @@ -53,7 +53,7 @@ public interface AvailabilityStatusesClient {
/**
* Lists the current availability status for all the resources in the resource group.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceGroupName The name of the resource group.
* @param filter The filter to apply on the operation. For more information please see
* https://docs.microsoft.com/en-us/rest/api/apimanagement/apis?redirectedfrom=MSDN.
* @param expand Setting $expand=recommendedactions in url query expands the recommendedactions in the response.
Expand Down

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -93,20 +93,6 @@ public interface MicrosoftResourceHealth {
*/
EventOperationsClient getEventOperations();

/**
* Gets the ChildAvailabilityStatusesClient object to access its operations.
*
* @return the ChildAvailabilityStatusesClient object.
*/
ChildAvailabilityStatusesClient getChildAvailabilityStatuses();

/**
* Gets the ChildResourcesClient object to access its operations.
*
* @return the ChildResourcesClient object.
*/
ChildResourcesClient getChildResources();

/**
* Gets the EmergingIssuesClient object to access its operations.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@

import com.azure.core.annotation.Fluent;
import com.azure.core.management.ProxyResource;
import com.azure.core.management.SystemData;
import com.azure.resourcemanager.resourcehealth.models.KeyValueItem;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;
Expand All @@ -20,12 +19,6 @@ public final class EventImpactedResourceInner extends ProxyResource {
@JsonProperty(value = "properties")
private EventImpactedResourceProperties innerProperties;

/*
* Azure Resource Manager metadata containing createdBy and modifiedBy information.
*/
@JsonProperty(value = "systemData", access = JsonProperty.Access.WRITE_ONLY)
private SystemData systemData;

/** Creates an instance of EventImpactedResourceInner class. */
public EventImpactedResourceInner() {
}
Expand All @@ -39,15 +32,6 @@ private EventImpactedResourceProperties innerProperties() {
return this.innerProperties;
}

/**
* Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
*
* @return the systemData value.
*/
public SystemData systemData() {
return this.systemData;
}

/**
* Get the targetResourceType property: Resource type within Microsoft cloud.
*
Expand Down
Loading