Skip to content

Commit 1fc1bf8

Browse files
[Automation] Generate Fluent Lite from datadog# (Azure#20053)
* [Automation] Generate Fluent Lite from datadog# * Delete ErrorAdditionalInfo.java * Update CHANGELOG.md Co-authored-by: Weidong Xu <weidxu@microsoft.com>
1 parent c14e369 commit 1fc1bf8

32 files changed

+383
-248
lines changed

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

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

3-
## 1.0.0-beta.2 (Unreleased)
3+
## 1.0.0-beta.2 (2021-03-23)
44

5+
- Azure Resource Manager MicrosoftDatadog client library for Java. This package contains Microsoft Azure SDK for MicrosoftDatadog Management SDK. Package tag package-2021-03. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).
6+
7+
### New Feature
8+
9+
#### `models.DatadogMonitorResource` was modified
10+
11+
* `systemData()` was added
12+
13+
#### `models.DatadogSingleSignOnResource` was modified
14+
15+
* `systemData()` was added
16+
17+
#### `models.MonitoringTagRules` was modified
18+
19+
* `systemData()` was added
20+
21+
#### `models.DatadogAgreementResource` was modified
22+
23+
* `systemData()` was added
524

625
## 1.0.0-beta.1 (2021-03-08)
726

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

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

33
Azure Resource Manager MicrosoftDatadog client library for Java.
44

5-
This package contains Microsoft Azure SDK for MicrosoftDatadog Management SDK. Package tag package-2020-02-preview. 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 MicrosoftDatadog Management SDK. Package tag package-2021-03. 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-datadog</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})

sdk/datadog/azure-resourcemanager-datadog/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<packaging>jar</packaging>
1414

1515
<name>Microsoft Azure SDK for MicrosoftDatadog Management</name>
16-
<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-2020-02-preview.</description>
16+
<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-2021-03.</description>
1717
<url>https://github.com/Azure/azure-sdk-for-java</url>
1818

1919
<licenses>

sdk/datadog/azure-resourcemanager-datadog/src/main/java/com/azure/resourcemanager/datadog/MicrosoftDatadogManager.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ public MicrosoftDatadogManager authenticate(TokenCredential credential, AzurePro
174174
.append("-")
175175
.append("com.azure.resourcemanager.datadog")
176176
.append("/")
177-
.append("1.0.0-beta.1");
177+
.append("1.0.0-beta.2");
178178
if (!Configuration.getGlobalConfiguration().get("AZURE_TELEMETRY_DISABLED", false)) {
179179
userAgentBuilder
180180
.append(" (")

sdk/datadog/azure-resourcemanager-datadog/src/main/java/com/azure/resourcemanager/datadog/fluent/MicrosoftDatadogClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
/** The interface for MicrosoftDatadogClient class. */
1111
public interface MicrosoftDatadogClient {
1212
/**
13-
* Gets The Microsoft Azure subscription ID.
13+
* Gets The ID of the target subscription.
1414
*
1515
* @return the subscriptionId value.
1616
*/

sdk/datadog/azure-resourcemanager-datadog/src/main/java/com/azure/resourcemanager/datadog/fluent/MonitorsClient.java

Lines changed: 29 additions & 29 deletions
Large diffs are not rendered by default.

sdk/datadog/azure-resourcemanager-datadog/src/main/java/com/azure/resourcemanager/datadog/fluent/OperationsClient.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
/** An instance of this class provides access to all the operations defined in OperationsClient. */
1414
public interface OperationsClient {
1515
/**
16-
* List all operations provided by Microsoft.Datadog for the 2020-02-01-preview api version.
16+
* List all operations provided by Microsoft.Datadog for the 2021-03-01 api version.
1717
*
1818
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
1919
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
@@ -23,7 +23,7 @@ public interface OperationsClient {
2323
PagedIterable<OperationResultInner> list();
2424

2525
/**
26-
* List all operations provided by Microsoft.Datadog for the 2020-02-01-preview api version.
26+
* List all operations provided by Microsoft.Datadog for the 2021-03-01 api version.
2727
*
2828
* @param context The context to associate with this operation.
2929
* @throws IllegalArgumentException thrown if parameters fail the validation.

sdk/datadog/azure-resourcemanager-datadog/src/main/java/com/azure/resourcemanager/datadog/fluent/SingleSignOnConfigurationsClient.java

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ public interface SingleSignOnConfigurationsClient {
1818
/**
1919
* List the single sign-on configurations for a given monitor resource.
2020
*
21-
* @param resourceGroupName The name of the resource group to which the Datadog resource belongs.
21+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
2222
* @param monitorName Monitor resource name.
2323
* @throws IllegalArgumentException thrown if parameters fail the validation.
2424
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -31,7 +31,7 @@ public interface SingleSignOnConfigurationsClient {
3131
/**
3232
* List the single sign-on configurations for a given monitor resource.
3333
*
34-
* @param resourceGroupName The name of the resource group to which the Datadog resource belongs.
34+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
3535
* @param monitorName Monitor resource name.
3636
* @param context The context to associate with this operation.
3737
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -45,7 +45,7 @@ public interface SingleSignOnConfigurationsClient {
4545
/**
4646
* Configures single-sign-on for this resource.
4747
*
48-
* @param resourceGroupName The name of the resource group to which the Datadog resource belongs.
48+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
4949
* @param monitorName Monitor resource name.
5050
* @param configurationName Configuration name.
5151
* @param body The body parameter.
@@ -61,7 +61,7 @@ SyncPoller<PollResult<DatadogSingleSignOnResourceInner>, DatadogSingleSignOnReso
6161
/**
6262
* Configures single-sign-on for this resource.
6363
*
64-
* @param resourceGroupName The name of the resource group to which the Datadog resource belongs.
64+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
6565
* @param monitorName Monitor resource name.
6666
* @param configurationName Configuration name.
6767
* @param body The body parameter.
@@ -82,7 +82,7 @@ SyncPoller<PollResult<DatadogSingleSignOnResourceInner>, DatadogSingleSignOnReso
8282
/**
8383
* Configures single-sign-on for this resource.
8484
*
85-
* @param resourceGroupName The name of the resource group to which the Datadog resource belongs.
85+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
8686
* @param monitorName Monitor resource name.
8787
* @param configurationName Configuration name.
8888
* @param body The body parameter.
@@ -98,7 +98,7 @@ DatadogSingleSignOnResourceInner createOrUpdate(
9898
/**
9999
* Configures single-sign-on for this resource.
100100
*
101-
* @param resourceGroupName The name of the resource group to which the Datadog resource belongs.
101+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
102102
* @param monitorName Monitor resource name.
103103
* @param configurationName Configuration name.
104104
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -113,7 +113,7 @@ DatadogSingleSignOnResourceInner createOrUpdate(
113113
/**
114114
* Configures single-sign-on for this resource.
115115
*
116-
* @param resourceGroupName The name of the resource group to which the Datadog resource belongs.
116+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
117117
* @param monitorName Monitor resource name.
118118
* @param configurationName Configuration name.
119119
* @param body The body parameter.
@@ -134,7 +134,7 @@ DatadogSingleSignOnResourceInner createOrUpdate(
134134
/**
135135
* Gets the datadog single sign-on resource for the given Monitor.
136136
*
137-
* @param resourceGroupName The name of the resource group to which the Datadog resource belongs.
137+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
138138
* @param monitorName Monitor resource name.
139139
* @param configurationName Configuration name.
140140
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -148,7 +148,7 @@ DatadogSingleSignOnResourceInner createOrUpdate(
148148
/**
149149
* Gets the datadog single sign-on resource for the given Monitor.
150150
*
151-
* @param resourceGroupName The name of the resource group to which the Datadog resource belongs.
151+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
152152
* @param monitorName Monitor resource name.
153153
* @param configurationName Configuration name.
154154
* @param context The context to associate with this operation.

sdk/datadog/azure-resourcemanager-datadog/src/main/java/com/azure/resourcemanager/datadog/fluent/TagRulesClient.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ public interface TagRulesClient {
1616
/**
1717
* List the tag rules for a given monitor resource.
1818
*
19-
* @param resourceGroupName The name of the resource group to which the Datadog resource belongs.
19+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
2020
* @param monitorName Monitor resource name.
2121
* @throws IllegalArgumentException thrown if parameters fail the validation.
2222
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -29,7 +29,7 @@ public interface TagRulesClient {
2929
/**
3030
* List the tag rules for a given monitor resource.
3131
*
32-
* @param resourceGroupName The name of the resource group to which the Datadog resource belongs.
32+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
3333
* @param monitorName Monitor resource name.
3434
* @param context The context to associate with this operation.
3535
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -43,7 +43,7 @@ public interface TagRulesClient {
4343
/**
4444
* Create or update a tag rule set for a given monitor resource.
4545
*
46-
* @param resourceGroupName The name of the resource group to which the Datadog resource belongs.
46+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
4747
* @param monitorName Monitor resource name.
4848
* @param ruleSetName Rule set name.
4949
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -57,7 +57,7 @@ public interface TagRulesClient {
5757
/**
5858
* Create or update a tag rule set for a given monitor resource.
5959
*
60-
* @param resourceGroupName The name of the resource group to which the Datadog resource belongs.
60+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
6161
* @param monitorName Monitor resource name.
6262
* @param ruleSetName Rule set name.
6363
* @param body Capture logs and metrics of Azure resources based on ARM tags.
@@ -78,7 +78,7 @@ Response<MonitoringTagRulesInner> createOrUpdateWithResponse(
7878
/**
7979
* Get a tag rule set for a given monitor resource.
8080
*
81-
* @param resourceGroupName The name of the resource group to which the Datadog resource belongs.
81+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
8282
* @param monitorName Monitor resource name.
8383
* @param ruleSetName Rule set name.
8484
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -92,7 +92,7 @@ Response<MonitoringTagRulesInner> createOrUpdateWithResponse(
9292
/**
9393
* Get a tag rule set for a given monitor resource.
9494
*
95-
* @param resourceGroupName The name of the resource group to which the Datadog resource belongs.
95+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
9696
* @param monitorName Monitor resource name.
9797
* @param ruleSetName Rule set name.
9898
* @param context The context to associate with this operation.

sdk/datadog/azure-resourcemanager-datadog/src/main/java/com/azure/resourcemanager/datadog/fluent/models/DatadogAgreementResourceInner.java

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66

77
import com.azure.core.annotation.Fluent;
88
import com.azure.core.management.ProxyResource;
9+
import com.azure.core.management.SystemData;
910
import com.azure.core.util.logging.ClientLogger;
1011
import com.azure.resourcemanager.datadog.models.DatadogAgreementProperties;
1112
import com.fasterxml.jackson.annotation.JsonIgnore;
@@ -22,6 +23,12 @@ public final class DatadogAgreementResourceInner extends ProxyResource {
2223
@JsonProperty(value = "properties")
2324
private DatadogAgreementProperties properties;
2425

26+
/*
27+
* Metadata pertaining to creation and last modification of the resource.
28+
*/
29+
@JsonProperty(value = "systemData", access = JsonProperty.Access.WRITE_ONLY)
30+
private SystemData systemData;
31+
2532
/**
2633
* Get the properties property: Represents the properties of the resource.
2734
*
@@ -42,6 +49,15 @@ public DatadogAgreementResourceInner withProperties(DatadogAgreementProperties p
4249
return this;
4350
}
4451

52+
/**
53+
* Get the systemData property: Metadata pertaining to creation and last modification of the resource.
54+
*
55+
* @return the systemData value.
56+
*/
57+
public SystemData systemData() {
58+
return this.systemData;
59+
}
60+
4561
/**
4662
* Validates the instance.
4763
*

0 commit comments

Comments
 (0)