Skip to content

Commit

Permalink
CodeGen from PR 25447 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Merge 6eee1a5ca52ebf24541960a199511fb314a16ccc into acf24167b5174d88f36302e243c883f2e63eec52
  • Loading branch information
SDKAuto committed Sep 4, 2023
1 parent 789bdc6 commit 1af4bfb
Show file tree
Hide file tree
Showing 94 changed files with 537 additions and 3,685 deletions.
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-09-04)

- 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)
50 changes: 25 additions & 25 deletions sdk/resourcehealth/azure-resourcemanager-resourcehealth/SAMPLE.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
/** Samples for AvailabilityStatuses GetByResource. */
public final class AvailabilityStatusesGetByResourceSamples {
/*
* x-ms-original-file: specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/stable/2022-10-01/examples/AvailabilityStatus_GetByResource.json
* x-ms-original-file: specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2023-07-01-preview/examples/AvailabilityStatus_GetByResource.json
*/
/**
* Sample code: GetCurrentHealthByResource.
Expand All @@ -83,7 +83,7 @@ public final class AvailabilityStatusesGetByResourceSamples {
/** Samples for AvailabilityStatuses List. */
public final class AvailabilityStatusesListSamples {
/*
* x-ms-original-file: specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/stable/2022-10-01/examples/AvailabilityStatuses_List.json
* x-ms-original-file: specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2023-07-01-preview/examples/AvailabilityStatuses_List.json
*/
/**
* Sample code: GetHealthHistoryByResource.
Expand All @@ -103,7 +103,7 @@ public final class AvailabilityStatusesListSamples {
/** Samples for AvailabilityStatuses ListByResourceGroup. */
public final class AvailabilityStatusesListByResourceGroupSamples {
/*
* x-ms-original-file: specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/stable/2022-10-01/examples/AvailabilityStatuses_ListByResourceGroup.json
* x-ms-original-file: specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2023-07-01-preview/examples/AvailabilityStatuses_ListByResourceGroup.json
*/
/**
* Sample code: ListByResourceGroup.
Expand All @@ -124,7 +124,7 @@ public final class AvailabilityStatusesListByResourceGroupSamples {
/** Samples for AvailabilityStatuses ListBySubscriptionId. */
public final class AvailabilityStatusesListBySubscriptionIdSamples {
/*
* x-ms-original-file: specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/stable/2022-10-01/examples/AvailabilityStatuses_ListBySubscriptionId.json
* x-ms-original-file: specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2023-07-01-preview/examples/AvailabilityStatuses_ListBySubscriptionId.json
*/
/**
* Sample code: ListHealthBySubscriptionId.
Expand All @@ -146,7 +146,7 @@ public final class AvailabilityStatusesListBySubscriptionIdSamples {
/** Samples for ChildAvailabilityStatuses GetByResource. */
public final class ChildAvailabilityStatusesGetByResourceSamples {
/*
* x-ms-original-file: specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/stable/2022-10-01/examples/ChildAvailabilityStatus_GetByResource.json
* x-ms-original-file: specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2023-07-01-preview/examples/ChildAvailabilityStatus_GetByResource.json
*/
/**
* Sample code: GetChildCurrentHealthByResource.
Expand All @@ -172,7 +172,7 @@ public final class ChildAvailabilityStatusesGetByResourceSamples {
/** Samples for ChildAvailabilityStatuses List. */
public final class ChildAvailabilityStatusesListSamples {
/*
* x-ms-original-file: specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/stable/2022-10-01/examples/ChildAvailabilityStatuses_List.json
* x-ms-original-file: specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2023-07-01-preview/examples/ChildAvailabilityStatuses_List.json
*/
/**
* Sample code: GetChildHealthHistoryByResource.
Expand All @@ -198,7 +198,7 @@ public final class ChildAvailabilityStatusesListSamples {
/** Samples for ChildResources List. */
public final class ChildResourcesListSamples {
/*
* x-ms-original-file: specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/stable/2022-10-01/examples/ChildResources_List.json
* x-ms-original-file: specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2023-07-01-preview/examples/ChildResources_List.json
*/
/**
* Sample code: GetCurrentChildHealthByResource.
Expand All @@ -220,7 +220,7 @@ import com.azure.resourcemanager.resourcehealth.models.IssueNameParameter;
/** Samples for EmergingIssues Get. */
public final class EmergingIssuesGetSamples {
/*
* x-ms-original-file: specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/stable/2022-10-01/examples/EmergingIssues_Get.json
* x-ms-original-file: specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2023-07-01-preview/examples/EmergingIssues_Get.json
*/
/**
* Sample code: GetEmergingIssues.
Expand All @@ -239,7 +239,7 @@ public final class EmergingIssuesGetSamples {
/** Samples for EmergingIssues List. */
public final class EmergingIssuesListSamples {
/*
* x-ms-original-file: specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/stable/2022-10-01/examples/EmergingIssues_List.json
* x-ms-original-file: specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2023-07-01-preview/examples/EmergingIssues_List.json
*/
/**
* Sample code: GetEmergingIssues.
Expand All @@ -258,7 +258,7 @@ public final class EmergingIssuesListSamples {
/** Samples for EventOperation FetchDetailsBySubscriptionIdAndTrackingId. */
public final class EventOperationFetchDetailsBySubscriptionIdAndTrackingIdSamples {
/*
* x-ms-original-file: specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/stable/2022-10-01/examples/Event_fetchDetailsBySubscriptionIdAndTrackingId.json
* x-ms-original-file: specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2023-07-01-preview/examples/Event_fetchDetailsBySubscriptionIdAndTrackingId.json
*/
/**
* Sample code: EventDetailsBySubscriptionIdAndTrackingId.
Expand All @@ -280,7 +280,7 @@ public final class EventOperationFetchDetailsBySubscriptionIdAndTrackingIdSample
/** Samples for EventOperation FetchDetailsByTenantIdAndTrackingId. */
public final class EventOperationFetchDetailsByTenantIdAndTrackingIdSamples {
/*
* x-ms-original-file: specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/stable/2022-10-01/examples/Event_fetchDetailsByTenantIdAndTrackingId.json
* x-ms-original-file: specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2023-07-01-preview/examples/Event_fetchDetailsByTenantIdAndTrackingId.json
*/
/**
* Sample code: EventDetailsByTenantIdAndTrackingId.
Expand All @@ -302,7 +302,7 @@ public final class EventOperationFetchDetailsByTenantIdAndTrackingIdSamples {
/** Samples for EventOperation GetBySubscriptionIdAndTrackingId. */
public final class EventOperationGetBySubscriptionIdAndTrackingIdSamples {
/*
* x-ms-original-file: specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/stable/2022-10-01/examples/Event_GetBySubscriptionIdAndTrackingId.json
* x-ms-original-file: specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2023-07-01-preview/examples/Event_GetBySubscriptionIdAndTrackingId.json
*/
/**
* Sample code: SecurityAdvisoriesEventBySubscriptionIdAndTrackingId.
Expand All @@ -325,7 +325,7 @@ public final class EventOperationGetBySubscriptionIdAndTrackingIdSamples {
/** Samples for EventOperation GetByTenantIdAndTrackingId. */
public final class EventOperationGetByTenantIdAndTrackingIdSamples {
/*
* x-ms-original-file: specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/stable/2022-10-01/examples/Event_GetByTenantIdAndTrackingId.json
* x-ms-original-file: specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2023-07-01-preview/examples/Event_GetByTenantIdAndTrackingId.json
*/
/**
* Sample code: EventByTenantIdAndTrackingId.
Expand All @@ -348,7 +348,7 @@ public final class EventOperationGetByTenantIdAndTrackingIdSamples {
/** Samples for EventsOperation List. */
public final class EventsOperationListSamples {
/*
* x-ms-original-file: specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/stable/2022-10-01/examples/Events_ListBySubscriptionId.json
* x-ms-original-file: specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2023-07-01-preview/examples/Events_ListBySubscriptionId.json
*/
/**
* Sample code: ListEventsBySubscriptionId.
Expand All @@ -371,7 +371,7 @@ public final class EventsOperationListSamples {
/** Samples for EventsOperation ListBySingleResource. */
public final class EventsOperationListBySingleResourceSamples {
/*
* x-ms-original-file: specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/stable/2022-10-01/examples/Events_ListBySingleResource.json
* x-ms-original-file: specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2023-07-01-preview/examples/Events_ListBySingleResource.json
*/
/**
* Sample code: ListEventsBySingleResource.
Expand All @@ -396,7 +396,7 @@ public final class EventsOperationListBySingleResourceSamples {
/** Samples for EventsOperation ListByTenantId. */
public final class EventsOperationListByTenantIdSamples {
/*
* x-ms-original-file: specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/stable/2022-10-01/examples/Events_ListByTenantId.json
* x-ms-original-file: specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2023-07-01-preview/examples/Events_ListByTenantId.json
*/
/**
* Sample code: ListEventsByTenantId.
Expand All @@ -418,7 +418,7 @@ public final class EventsOperationListByTenantIdSamples {
/** Samples for ImpactedResources Get. */
public final class ImpactedResourcesGetSamples {
/*
* x-ms-original-file: specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/stable/2022-10-01/examples/ImpactedResources_Get.json
* x-ms-original-file: specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2023-07-01-preview/examples/ImpactedResources_Get.json
*/
/**
* Sample code: ImpactedResourcesGet.
Expand All @@ -437,7 +437,7 @@ public final class ImpactedResourcesGetSamples {
/** Samples for ImpactedResources GetByTenantId. */
public final class ImpactedResourcesGetByTenantIdSamples {
/*
* x-ms-original-file: specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/stable/2022-10-01/examples/ImpactedResources_GetByTenantId.json
* x-ms-original-file: specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2023-07-01-preview/examples/ImpactedResources_GetByTenantId.json
*/
/**
* Sample code: ImpactedResourcesGet.
Expand All @@ -458,7 +458,7 @@ public final class ImpactedResourcesGetByTenantIdSamples {
/** Samples for ImpactedResources ListBySubscriptionIdAndEventId. */
public final class ImpactedResourcesListBySubscriptionIdAndEventIdSamples {
/*
* x-ms-original-file: specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/stable/2022-10-01/examples/ImpactedResources_ListBySubscriptionId_ListByEventId.json
* x-ms-original-file: specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2023-07-01-preview/examples/ImpactedResources_ListBySubscriptionId_ListByEventId.json
*/
/**
* Sample code: ListImpactedResourcesBySubscriptionId.
Expand All @@ -480,7 +480,7 @@ public final class ImpactedResourcesListBySubscriptionIdAndEventIdSamples {
/** Samples for ImpactedResources ListByTenantIdAndEventId. */
public final class ImpactedResourcesListByTenantIdAndEventIdSamples {
/*
* x-ms-original-file: specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/stable/2022-10-01/examples/ImpactedResources_ListByTenantId_ListByEventId.json
* x-ms-original-file: specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2023-07-01-preview/examples/ImpactedResources_ListByTenantId_ListByEventId.json
*/
/**
* Sample code: ListEventsByTenantId.
Expand All @@ -501,7 +501,7 @@ public final class ImpactedResourcesListByTenantIdAndEventIdSamples {
/** Samples for Metadata GetEntity. */
public final class MetadataGetEntitySamples {
/*
* x-ms-original-file: specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/stable/2022-10-01/examples/Metadata_GetEntity.json
* x-ms-original-file: specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2023-07-01-preview/examples/Metadata_GetEntity.json
*/
/**
* Sample code: GetMetadata.
Expand All @@ -520,7 +520,7 @@ public final class MetadataGetEntitySamples {
/** Samples for Metadata List. */
public final class MetadataListSamples {
/*
* x-ms-original-file: specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/stable/2022-10-01/examples/Metadata_List.json
* x-ms-original-file: specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2023-07-01-preview/examples/Metadata_List.json
*/
/**
* Sample code: GetMetadata.
Expand All @@ -539,7 +539,7 @@ public final class MetadataListSamples {
/** Samples for Operations List. */
public final class OperationsListSamples {
/*
* x-ms-original-file: specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/stable/2022-10-01/examples/Operations_List.json
* x-ms-original-file: specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2023-07-01-preview/examples/Operations_List.json
*/
/**
* Sample code: GetOperationsList.
Expand All @@ -558,7 +558,7 @@ public final class OperationsListSamples {
/** Samples for SecurityAdvisoryImpactedResources ListBySubscriptionIdAndEventId. */
public final class SecurityAdvisoryImpactedResourcesListBySubscriptionIdAndEventIdSamples {
/*
* x-ms-original-file: specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/stable/2022-10-01/examples/SecurityAdvisoryImpactedResources_ListBySubscriptionId_ListByEventId.json
* x-ms-original-file: specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2023-07-01-preview/examples/SecurityAdvisoryImpactedResources_ListBySubscriptionId_ListByEventId.json
*/
/**
* Sample code: ListSecurityAdvisoryImpactedResourcesBySubscriptionId.
Expand All @@ -580,7 +580,7 @@ public final class SecurityAdvisoryImpactedResourcesListBySubscriptionIdAndEvent
/** Samples for SecurityAdvisoryImpactedResources ListByTenantIdAndEventId. */
public final class SecurityAdvisoryImpactedResourcesListByTenantIdAndEventIdSamples {
/*
* x-ms-original-file: specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/stable/2022-10-01/examples/SecurityAdvisoryImpactedResources_ListByTenantId_ListByEventId.json
* x-ms-original-file: specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2023-07-01-preview/examples/SecurityAdvisoryImpactedResources_ListByTenantId_ListByEventId.json
*/
/**
* Sample code: ListSecurityAdvisoryImpactedResourcesByTenantId.
Expand Down
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,7 @@
<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>
<revapi.skip>true</revapi.skip>
</properties>
<dependencies>
<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,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 @@ -419,8 +419,10 @@ public EmergingIssues emergingIssues() {
}

/**
* @return Wrapped service client MicrosoftResourceHealth providing direct access to the underlying auto-generated
* API implementation, based on Azure REST API.
* Gets wrapped service client MicrosoftResourceHealth providing direct access to the underlying auto-generated API
* implementation, based on Azure REST API.
*
* @return Wrapped service client MicrosoftResourceHealth.
*/
public MicrosoftResourceHealth serviceClient() {
return this.clientObject;
Expand Down
Loading

0 comments on commit 1af4bfb

Please sign in to comment.