Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AutoPR azure-resourcemanager-datadog] Add new versions for Microsoft.Datadog RP #13278

Closed
wants to merge 1 commit into from
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
35 changes: 31 additions & 4 deletions sdk/datadog/azure-resourcemanager-datadog/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,41 @@
# Release History

## 1.2.0-beta.1 (Unreleased)
## 1.0.0-beta.1 (2024-12-18)

- Azure Resource Manager MicrosoftDatadog client library for Java. This package contains Microsoft Azure SDK for MicrosoftDatadog Management SDK. Package tag package-2023-10. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).

### Features Added

### Breaking Changes
* `models.BillingInfoResponse` was added

* `models.PartnerBillingEntity` was added

* `models.BillingInfoes` was added

### Bugs Fixed
* `models.MarketplaceSaaSInfo` was added

#### `models.MonitoredSubscriptionPropertiesList` was modified

* `withNextLink(java.lang.String)` was added
* `nextLink()` was added

#### `MicrosoftDatadogManager` was modified

* `billingInfoes()` was added

#### `models.LinkedResource` was modified

* `location()` was added

#### `models.CreateResourceSupportedResponseList` was modified

* `withNextLink(java.lang.String)` was added
* `nextLink()` was added

#### `models.MonitoringTagRulesProperties` was modified

### Other Changes
* `customMetrics()` was added
* `withCustomMetrics(java.lang.Boolean)` was added

## 1.1.0 (2024-12-11)

Expand Down
4 changes: 2 additions & 2 deletions sdk/datadog/azure-resourcemanager-datadog/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Azure Resource Manager MicrosoftDatadog client library for Java.

This package contains Microsoft Azure SDK for MicrosoftDatadog Management SDK. Package tag package-2023-01. 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 MicrosoftDatadog Management SDK. Package tag package-2023-10. 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-datadog</artifactId>
<version>1.1.0</version>
<version>1.2.0-beta.1</version>
</dependency>
```
[//]: # ({x-version-update-end})
Expand Down
84 changes: 55 additions & 29 deletions sdk/datadog/azure-resourcemanager-datadog/SAMPLE.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# Code snippets and samples


## BillingInfo

- [Get](#billinginfo_get)

## CreationSupported

- [Get](#creationsupported_get)
Expand Down Expand Up @@ -50,6 +54,28 @@
- [CreateOrUpdate](#tagrules_createorupdate)
- [Get](#tagrules_get)
- [List](#tagrules_list)
### BillingInfo_Get

```java
/**
* Samples for BillingInfo Get.
*/
public final class BillingInfoGetSamples {
/*
* x-ms-original-file:
* specification/datadog/resource-manager/Microsoft.Datadog/stable/2023-10-20/examples/BillingInfo_Get.json
*/
/**
* Sample code: BillingInfo_Get.
*
* @param manager Entry point to MicrosoftDatadogManager.
*/
public static void billingInfoGet(com.azure.resourcemanager.datadog.MicrosoftDatadogManager manager) {
manager.billingInfoes().getWithResponse("myResourceGroup", "myMonitor", com.azure.core.util.Context.NONE);
}
}
```

### CreationSupported_Get

```java
Expand All @@ -59,7 +85,7 @@
public final class CreationSupportedGetSamples {
/*
* x-ms-original-file:
* specification/datadog/resource-manager/Microsoft.Datadog/stable/2023-01-01/examples/CreationSupported_Get.json
* specification/datadog/resource-manager/Microsoft.Datadog/stable/2023-10-20/examples/CreationSupported_Get.json
*/
/**
* Sample code: CreationSupported_Get.
Expand All @@ -81,7 +107,7 @@ public final class CreationSupportedGetSamples {
public final class CreationSupportedListSamples {
/*
* x-ms-original-file:
* specification/datadog/resource-manager/Microsoft.Datadog/stable/2023-01-01/examples/CreationSupported_List.json
* specification/datadog/resource-manager/Microsoft.Datadog/stable/2023-10-20/examples/CreationSupported_List.json
*/
/**
* Sample code: CreationSupported_List.
Expand All @@ -106,7 +132,7 @@ import com.azure.resourcemanager.datadog.models.DatadogAgreementProperties;
public final class MarketplaceAgreementsCreateOrUpdateSamples {
/*
* x-ms-original-file:
* specification/datadog/resource-manager/Microsoft.Datadog/stable/2023-01-01/examples/MarketplaceAgreements_Create.
* specification/datadog/resource-manager/Microsoft.Datadog/stable/2023-10-20/examples/MarketplaceAgreements_Create.
* json
*/
/**
Expand All @@ -133,7 +159,7 @@ public final class MarketplaceAgreementsCreateOrUpdateSamples {
public final class MarketplaceAgreementsListSamples {
/*
* x-ms-original-file:
* specification/datadog/resource-manager/Microsoft.Datadog/stable/2023-01-01/examples/MarketplaceAgreements_List.
* specification/datadog/resource-manager/Microsoft.Datadog/stable/2023-10-20/examples/MarketplaceAgreements_List.
* json
*/
/**
Expand Down Expand Up @@ -166,7 +192,7 @@ import java.util.Arrays;
*/
public final class MonitoredSubscriptionsCreateorUpdateSamples {
/*
* x-ms-original-file: specification/datadog/resource-manager/Microsoft.Datadog/stable/2023-01-01/examples/
* x-ms-original-file: specification/datadog/resource-manager/Microsoft.Datadog/stable/2023-10-20/examples/
* MonitoredSubscriptions_CreateorUpdate.json
*/
/**
Expand Down Expand Up @@ -221,7 +247,7 @@ public final class MonitoredSubscriptionsCreateorUpdateSamples {
public final class MonitoredSubscriptionsDeleteSamples {
/*
* x-ms-original-file:
* specification/datadog/resource-manager/Microsoft.Datadog/stable/2023-01-01/examples/MonitoredSubscriptions_Delete
* specification/datadog/resource-manager/Microsoft.Datadog/stable/2023-10-20/examples/MonitoredSubscriptions_Delete
* .json
*/
/**
Expand All @@ -246,7 +272,7 @@ public final class MonitoredSubscriptionsDeleteSamples {
public final class MonitoredSubscriptionsGetSamples {
/*
* x-ms-original-file:
* specification/datadog/resource-manager/Microsoft.Datadog/stable/2023-01-01/examples/MonitoredSubscriptions_Get.
* specification/datadog/resource-manager/Microsoft.Datadog/stable/2023-10-20/examples/MonitoredSubscriptions_Get.
* json
*/
/**
Expand All @@ -271,7 +297,7 @@ public final class MonitoredSubscriptionsGetSamples {
public final class MonitoredSubscriptionsListSamples {
/*
* x-ms-original-file:
* specification/datadog/resource-manager/Microsoft.Datadog/stable/2023-01-01/examples/MonitoredSubscriptions_List.
* specification/datadog/resource-manager/Microsoft.Datadog/stable/2023-10-20/examples/MonitoredSubscriptions_List.
* json
*/
/**
Expand Down Expand Up @@ -307,7 +333,7 @@ import java.util.Arrays;
public final class MonitoredSubscriptionsUpdateSamples {
/*
* x-ms-original-file:
* specification/datadog/resource-manager/Microsoft.Datadog/stable/2023-01-01/examples/MonitoredSubscriptions_Update
* specification/datadog/resource-manager/Microsoft.Datadog/stable/2023-10-20/examples/MonitoredSubscriptions_Update
* .json
*/
/**
Expand Down Expand Up @@ -371,7 +397,7 @@ import java.util.Map;
public final class MonitorsCreateSamples {
/*
* x-ms-original-file:
* specification/datadog/resource-manager/Microsoft.Datadog/stable/2023-01-01/examples/Monitors_Create.json
* specification/datadog/resource-manager/Microsoft.Datadog/stable/2023-10-20/examples/Monitors_Create.json
*/
/**
* Sample code: Monitors_Create.
Expand Down Expand Up @@ -421,7 +447,7 @@ public final class MonitorsCreateSamples {
public final class MonitorsDeleteSamples {
/*
* x-ms-original-file:
* specification/datadog/resource-manager/Microsoft.Datadog/stable/2023-01-01/examples/Monitors_Delete.json
* specification/datadog/resource-manager/Microsoft.Datadog/stable/2023-10-20/examples/Monitors_Delete.json
*/
/**
* Sample code: Monitors_Delete.
Expand All @@ -443,7 +469,7 @@ public final class MonitorsDeleteSamples {
public final class MonitorsGetByResourceGroupSamples {
/*
* x-ms-original-file:
* specification/datadog/resource-manager/Microsoft.Datadog/stable/2023-01-01/examples/Monitors_Get.json
* specification/datadog/resource-manager/Microsoft.Datadog/stable/2023-10-20/examples/Monitors_Get.json
*/
/**
* Sample code: Monitors_Get.
Expand All @@ -466,7 +492,7 @@ public final class MonitorsGetByResourceGroupSamples {
public final class MonitorsGetDefaultKeySamples {
/*
* x-ms-original-file:
* specification/datadog/resource-manager/Microsoft.Datadog/stable/2023-01-01/examples/ApiKeys_GetDefaultKey.json
* specification/datadog/resource-manager/Microsoft.Datadog/stable/2023-10-20/examples/ApiKeys_GetDefaultKey.json
*/
/**
* Sample code: Monitors_GetDefaultKey.
Expand All @@ -488,7 +514,7 @@ public final class MonitorsGetDefaultKeySamples {
public final class MonitorsListSamples {
/*
* x-ms-original-file:
* specification/datadog/resource-manager/Microsoft.Datadog/stable/2023-01-01/examples/Monitors_List.json
* specification/datadog/resource-manager/Microsoft.Datadog/stable/2023-10-20/examples/Monitors_List.json
*/
/**
* Sample code: Monitors_List.
Expand All @@ -510,7 +536,7 @@ public final class MonitorsListSamples {
public final class MonitorsListApiKeysSamples {
/*
* x-ms-original-file:
* specification/datadog/resource-manager/Microsoft.Datadog/stable/2023-01-01/examples/ApiKeys_List.json
* specification/datadog/resource-manager/Microsoft.Datadog/stable/2023-10-20/examples/ApiKeys_List.json
*/
/**
* Sample code: Monitors_ListApiKeys.
Expand All @@ -532,7 +558,7 @@ public final class MonitorsListApiKeysSamples {
public final class MonitorsListByResourceGroupSamples {
/*
* x-ms-original-file:
* specification/datadog/resource-manager/Microsoft.Datadog/stable/2023-01-01/examples/Monitors_ListByResourceGroup.
* specification/datadog/resource-manager/Microsoft.Datadog/stable/2023-10-20/examples/Monitors_ListByResourceGroup.
* json
*/
/**
Expand All @@ -555,7 +581,7 @@ public final class MonitorsListByResourceGroupSamples {
public final class MonitorsListHostsSamples {
/*
* x-ms-original-file:
* specification/datadog/resource-manager/Microsoft.Datadog/stable/2023-01-01/examples/Hosts_List.json
* specification/datadog/resource-manager/Microsoft.Datadog/stable/2023-10-20/examples/Hosts_List.json
*/
/**
* Sample code: Monitors_ListHosts.
Expand All @@ -577,7 +603,7 @@ public final class MonitorsListHostsSamples {
public final class MonitorsListLinkedResourcesSamples {
/*
* x-ms-original-file:
* specification/datadog/resource-manager/Microsoft.Datadog/stable/2023-01-01/examples/LinkedResources_List.json
* specification/datadog/resource-manager/Microsoft.Datadog/stable/2023-10-20/examples/LinkedResources_List.json
*/
/**
* Sample code: Monitors_ListLinkedResources.
Expand All @@ -599,7 +625,7 @@ public final class MonitorsListLinkedResourcesSamples {
public final class MonitorsListMonitoredResourcesSamples {
/*
* x-ms-original-file:
* specification/datadog/resource-manager/Microsoft.Datadog/stable/2023-01-01/examples/MonitoredResources_List.json
* specification/datadog/resource-manager/Microsoft.Datadog/stable/2023-10-20/examples/MonitoredResources_List.json
*/
/**
* Sample code: Monitors_ListMonitoredResources.
Expand All @@ -622,7 +648,7 @@ public final class MonitorsListMonitoredResourcesSamples {
public final class MonitorsRefreshSetPasswordLinkSamples {
/*
* x-ms-original-file:
* specification/datadog/resource-manager/Microsoft.Datadog/stable/2023-01-01/examples/RefreshSetPassword_Get.json
* specification/datadog/resource-manager/Microsoft.Datadog/stable/2023-10-20/examples/RefreshSetPassword_Get.json
*/
/**
* Sample code: Monitors_RefreshSetPasswordLink.
Expand All @@ -648,7 +674,7 @@ import com.azure.resourcemanager.datadog.fluent.models.DatadogApiKeyInner;
public final class MonitorsSetDefaultKeySamples {
/*
* x-ms-original-file:
* specification/datadog/resource-manager/Microsoft.Datadog/stable/2023-01-01/examples/ApiKeys_SetDefaultKey.json
* specification/datadog/resource-manager/Microsoft.Datadog/stable/2023-10-20/examples/ApiKeys_SetDefaultKey.json
*/
/**
* Sample code: Monitors_SetDefaultKey.
Expand Down Expand Up @@ -678,7 +704,7 @@ import java.util.Map;
public final class MonitorsUpdateSamples {
/*
* x-ms-original-file:
* specification/datadog/resource-manager/Microsoft.Datadog/stable/2023-01-01/examples/Monitors_Update.json
* specification/datadog/resource-manager/Microsoft.Datadog/stable/2023-10-20/examples/Monitors_Update.json
*/
/**
* Sample code: Monitors_Update.
Expand Down Expand Up @@ -718,7 +744,7 @@ public final class MonitorsUpdateSamples {
public final class OperationsListSamples {
/*
* x-ms-original-file:
* specification/datadog/resource-manager/Microsoft.Datadog/stable/2023-01-01/examples/Operations_List.json
* specification/datadog/resource-manager/Microsoft.Datadog/stable/2023-10-20/examples/Operations_List.json
*/
/**
* Sample code: Operations_List.
Expand All @@ -742,7 +768,7 @@ import com.azure.resourcemanager.datadog.models.SingleSignOnStates;
*/
public final class SingleSignOnConfigurationsCreateOrUpdateSamples {
/*
* x-ms-original-file: specification/datadog/resource-manager/Microsoft.Datadog/stable/2023-01-01/examples/
* x-ms-original-file: specification/datadog/resource-manager/Microsoft.Datadog/stable/2023-10-20/examples/
* SingleSignOnConfigurations_CreateOrUpdate.json
*/
/**
Expand Down Expand Up @@ -770,7 +796,7 @@ public final class SingleSignOnConfigurationsCreateOrUpdateSamples {
*/
public final class SingleSignOnConfigurationsGetSamples {
/*
* x-ms-original-file: specification/datadog/resource-manager/Microsoft.Datadog/stable/2023-01-01/examples/
* x-ms-original-file: specification/datadog/resource-manager/Microsoft.Datadog/stable/2023-10-20/examples/
* SingleSignOnConfigurations_Get.json
*/
/**
Expand All @@ -794,7 +820,7 @@ public final class SingleSignOnConfigurationsGetSamples {
*/
public final class SingleSignOnConfigurationsListSamples {
/*
* x-ms-original-file: specification/datadog/resource-manager/Microsoft.Datadog/stable/2023-01-01/examples/
* x-ms-original-file: specification/datadog/resource-manager/Microsoft.Datadog/stable/2023-10-20/examples/
* SingleSignOnConfigurations_List.json
*/
/**
Expand Down Expand Up @@ -825,7 +851,7 @@ import java.util.Arrays;
public final class TagRulesCreateOrUpdateSamples {
/*
* x-ms-original-file:
* specification/datadog/resource-manager/Microsoft.Datadog/stable/2023-01-01/examples/TagRules_CreateOrUpdate.json
* specification/datadog/resource-manager/Microsoft.Datadog/stable/2023-10-20/examples/TagRules_CreateOrUpdate.json
*/
/**
* Sample code: TagRules_CreateOrUpdate.
Expand Down Expand Up @@ -859,7 +885,7 @@ public final class TagRulesCreateOrUpdateSamples {
public final class TagRulesGetSamples {
/*
* x-ms-original-file:
* specification/datadog/resource-manager/Microsoft.Datadog/stable/2023-01-01/examples/TagRules_Get.json
* specification/datadog/resource-manager/Microsoft.Datadog/stable/2023-10-20/examples/TagRules_Get.json
*/
/**
* Sample code: TagRules_Get.
Expand All @@ -881,7 +907,7 @@ public final class TagRulesGetSamples {
public final class TagRulesListSamples {
/*
* x-ms-original-file:
* specification/datadog/resource-manager/Microsoft.Datadog/stable/2023-01-01/examples/TagRules_List.json
* specification/datadog/resource-manager/Microsoft.Datadog/stable/2023-10-20/examples/TagRules_List.json
*/
/**
* Sample code: TagRules_List.
Expand Down
3 changes: 2 additions & 1 deletion sdk/datadog/azure-resourcemanager-datadog/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<packaging>jar</packaging>

<name>Microsoft Azure SDK for MicrosoftDatadog Management</name>
<description>This package contains Microsoft Azure SDK for MicrosoftDatadog Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. Package tag package-2023-01.</description>
<description>This package contains Microsoft Azure SDK for MicrosoftDatadog Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. Package tag package-2023-10.</description>
<url>https://github.com/Azure/azure-sdk-for-java</url>

<licenses>
Expand All @@ -45,6 +45,7 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<jacoco.min.linecoverage>0</jacoco.min.linecoverage>
<jacoco.min.branchcoverage>0</jacoco.min.branchcoverage>
<revapi.skip>true</revapi.skip>
<spotless.skip>false</spotless.skip>
</properties>
<dependencies>
Expand Down
Loading
Loading