Skip to content

Commit 3904a09

Browse files
azure-sdkv-jiaodi
andauthored
[AutoPR @azure-arm-datadog]-generated-from-SDK Generation - JS-6376395 (#38754)
Configurations: 'specification/datadog/Datadog.Management/tspconfig.yaml', API Version: 2025-12-26-preview, SDK Release Type: beta, and CommitSHA: '5844a51fbf0a1dcc72001ce84dd2078f0f01a2d9' in SpecRepo: 'https://github.com/Azure/azure-rest-api-specs' Pipeline run: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=6376395 Refer to https://eng.ms/docs/products/azure-developer-experience/develop/sdk-release/sdk-release-prerequisites to prepare for SDK release. --------- Co-authored-by: Jiao Di (MSFT) <v-jiaodi@microsoft.com>
1 parent 6d418b0 commit 3904a09

280 files changed

Lines changed: 10965 additions & 10739 deletions

File tree

Some content is hidden

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

.github/CODEOWNERS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -506,7 +506,7 @@
506506
# PRLabel: %Mgmt
507507
/sdk/databricks/arm-databricks/ @qiaozha @MaryGao @JialinHuang803
508508

509-
# PRLabel: %Mgmt
509+
# PRLabel: %Mgmt %mgmt-review-needed
510510
/sdk/datadog/arm-datadog/ @qiaozha @MaryGao @JialinHuang803
511511

512512
# PRLabel: %Mgmt

pnpm-lock.yaml

Lines changed: 20 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/datadog/arm-datadog/CHANGELOG.md

Lines changed: 69 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,78 @@
11
# Release History
2-
3-
## 3.1.1 (Unreleased)
2+
3+
## 4.0.0-beta.1 (2026-06-01)
4+
Compared with version 3.1.0
45

56
### Features Added
7+
- Added operation group BillingInfoOperations
8+
- Added operation group DatadogMonitorResourcesOperations
9+
- Added operation group OrganizationsOperations
10+
- Added operation group SaaSOperationGroupOperations
11+
- Added operation MonitoredSubscriptionsOperations.createorUpdate
12+
- Added operation MonitoredSubscriptionsOperations.delete
13+
- Added operation MonitoredSubscriptionsOperations.update
14+
- Added operation MonitorsOperations.create
15+
- Added operation MonitorsOperations.delete
16+
- Added operation MonitorsOperations.getDefaultApplicationKey
17+
- Added operation MonitorsOperations.manageSreAgentConnectors
18+
- Added operation MonitorsOperations.update
19+
- Added operation SingleSignOnConfigurationsOperations.createOrUpdate
20+
- Added Interface ActivateSaaSParameterRequest
21+
- Added Interface AgentRules
22+
- Added Interface BillingInfoGetOptionalParams
23+
- Added Interface BillingInfoResponse
24+
- Added Interface DatadogApplicationKey
25+
- Added Interface DatadogMonitorResourcesLatestLinkedSaaSOptionalParams
26+
- Added Interface DatadogMonitorResourcesLinkSaaSOptionalParams
27+
- Added Interface LatestLinkedSaaSResponse
28+
- Added Interface MarketplaceOfferDetails
29+
- Added Interface MarketplaceSaaSInfo
30+
- Added Interface MonitorsGetDefaultApplicationKeyOptionalParams
31+
- Added Interface MonitorsManageSreAgentConnectorsOptionalParams
32+
- Added Interface OrganizationsResubscribeOptionalParams
33+
- Added Interface PagedAsyncIterableIterator
34+
- Added Interface PageSettings
35+
- Added Interface PartnerBillingEntity
36+
- Added Interface ProxyResource
37+
- Added Interface Resource
38+
- Added Interface RestorePollerOptions
39+
- Added Interface ResubscribeProperties
40+
- Added Interface SaaSData
41+
- Added Interface SaaSOperationGroupActivateResourceOptionalParams
42+
- Added Interface SaaSResourceDetailsResponse
43+
- Added Interface SimplePollerLike
44+
- Added Interface SreAgentConfiguration
45+
- Added Interface SreAgentConfigurationListResponse
46+
- Added Interface SreAgentConnectorRequest
47+
- Added Interface TrackedResource
48+
- Interface DatadogOrganizationProperties has a new optional parameter resourceCollection
49+
- Interface LinkedResource has a new optional parameter location
50+
- Interface MonitoredSubscriptionProperties has a new optional parameter systemData
51+
- Interface MonitoringTagRulesProperties has a new optional parameter agentRules
52+
- Interface MonitoringTagRulesProperties has a new optional parameter customMetrics
53+
- Interface MonitorProperties has a new optional parameter marketplaceOfferDetails
54+
- Interface MonitorProperties has a new optional parameter saaSData
55+
- Interface MonitorProperties has a new optional parameter sreAgentConfiguration
56+
- Interface MonitorUpdateProperties has a new optional parameter resourceCollection
57+
- Added Type Alias AzureSupportedClouds
58+
- Added Type Alias ConnectorAction
59+
- Added Enum AzureClouds
60+
- Added Enum KnownConnectorAction
61+
- Added Enum KnownVersions
662

763
### Breaking Changes
64+
- Removed Interface CreateResourceSupportedResponseList
65+
- Removed Interface DatadogAgreementResourceListResponse
66+
- Removed Interface DatadogApiKeyListResponse
67+
- Removed Interface DatadogHostListResponse
68+
- Removed Interface DatadogMonitorResourceListResponse
69+
- Removed Interface DatadogSingleSignOnResourceListResponse
70+
- Removed Interface LinkedResourceListResponse
71+
- Removed Interface MonitoredResourceListResponse
72+
- Removed Interface MonitoredSubscriptionPropertiesList
73+
- Removed Interface MonitoringTagRulesListResponse
874

9-
### Bugs Fixed
10-
11-
### Other Changes
12-
75+
1376
## 3.1.0 (2023-10-09)
1477

1578
### Features Added

sdk/datadog/arm-datadog/LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
1818
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
1919
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
2020
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21-
SOFTWARE.
21+
SOFTWARE.

sdk/datadog/arm-datadog/README.md

Lines changed: 19 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,15 @@
1-
# Azure Microsoft Datadog client library for JavaScript
1+
# Azure MicrosoftDatadog client library for JavaScript
22

3-
This package contains an isomorphic SDK (runs both in Node.js and in browsers) for Azure Microsoft Datadog client.
3+
This package contains an isomorphic SDK (runs both in Node.js and in browsers) for Azure MicrosoftDatadog client.
44

5-
[Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/datadog/arm-datadog) |
6-
[Package (NPM)](https://www.npmjs.com/package/@azure/arm-datadog) |
7-
[API reference documentation](https://learn.microsoft.com/javascript/api/@azure/arm-datadog) |
8-
[Samples](https://github.com/Azure-Samples/azure-samples-js-management)
5+
6+
7+
Key links:
8+
9+
- [Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/datadog/arm-datadog)
10+
- [Package (NPM)](https://www.npmjs.com/package/@azure/arm-datadog)
11+
- [API reference documentation](https://learn.microsoft.com/javascript/api/@azure/arm-datadog?view=azure-node-preview)
12+
- [Samples](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/datadog/arm-datadog/samples)
913

1014
## Getting started
1115

@@ -22,27 +26,26 @@ See our [support policy](https://github.com/Azure/azure-sdk-for-js/blob/main/SUP
2226

2327
### Install the `@azure/arm-datadog` package
2428

25-
Install the Azure Microsoft Datadog client library for JavaScript with `npm`:
29+
Install the Azure MicrosoftDatadog client library for JavaScript with `npm`:
2630

2731
```bash
2832
npm install @azure/arm-datadog
2933
```
3034

3135
### Create and authenticate a `MicrosoftDatadogClient`
3236

33-
To create a client object to access the Azure Microsoft Datadog API, you will need the `endpoint` of your Azure Microsoft Datadog resource and a `credential`. The Azure Microsoft Datadog client can use Azure Active Directory credentials to authenticate.
34-
You can find the endpoint for your Azure Microsoft Datadog resource in the [Azure Portal][azure_portal].
37+
To create a client object to access the Azure MicrosoftDatadog API, you will need the `endpoint` of your Azure MicrosoftDatadog resource and a `credential`. The Azure MicrosoftDatadog client can use Azure Active Directory credentials to authenticate.
38+
You can find the endpoint for your Azure MicrosoftDatadog resource in the [Azure Portal][azure_portal].
3539

36-
You can authenticate with Azure Active Directory using a credential from the [@azure/identity][azure_identity] library or [an existing AAD Token](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/identity/identity/samples/AzureIdentityExamples.md#authenticating-with-a-pre-fetched-access-token).
40+
You can authenticate with Azure Active Directory using a credential from the [@azure/identity][azure_identity] library or [an existing AAD Token](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/identity/identity/samples/AzureIdentityExamples.md#authenticating-with-a-pre-fetched-access-token).
3741

3842
To use the [DefaultAzureCredential][defaultazurecredential] provider shown below, or other credential providers provided with the Azure SDK, please install the `@azure/identity` package:
3943

4044
```bash
4145
npm install @azure/identity
4246
```
4347

44-
You will also need to **register a new AAD application and grant access to Azure Microsoft Datadog** by assigning the suitable role to your service principal (note: roles such as `"Owner"` will not grant the necessary permissions).
45-
Set the values of the client ID, tenant ID, and client secret of the AAD application as environment variables: `AZURE_CLIENT_ID`, `AZURE_TENANT_ID`, `AZURE_CLIENT_SECRET`.
48+
You will also need to **register a new AAD application and grant access to Azure MicrosoftDatadog** by assigning the suitable role to your service principal (note: roles such as `"Owner"` will not grant the necessary permissions).
4649

4750
For more information about how to create an Azure AD Application check out [this guide](https://learn.microsoft.com/azure/active-directory/develop/howto-create-service-principal-portal).
4851

@@ -62,23 +65,23 @@ For browser environments, use the `InteractiveBrowserCredential` from the `@azur
6265
import { InteractiveBrowserCredential } from "@azure/identity";
6366
import { MicrosoftDatadogClient } from "@azure/arm-datadog";
6467

65-
const subscriptionId = "00000000-0000-0000-0000-000000000000";
6668
const credential = new InteractiveBrowserCredential({
6769
tenantId: "<YOUR_TENANT_ID>",
6870
clientId: "<YOUR_CLIENT_ID>",
6971
});
72+
const subscriptionId = "00000000-0000-0000-0000-000000000000";
7073
const client = new MicrosoftDatadogClient(credential, subscriptionId);
7174
```
7275

73-
### JavaScript Bundle
7476

77+
### JavaScript Bundle
7578
To use this client library in the browser, first you need to use a bundler. For details on how to do this, please refer to our [bundling documentation](https://aka.ms/AzureSDKBundling).
7679

7780
## Key concepts
7881

7982
### MicrosoftDatadogClient
8083

81-
`MicrosoftDatadogClient` is the primary interface for developers using the Azure Microsoft Datadog client library. Explore the methods on this client object to understand the different features of the Azure Microsoft Datadog service that you can access.
84+
`MicrosoftDatadogClient` is the primary interface for developers using the Azure MicrosoftDatadog client library. Explore the methods on this client object to understand the different features of the Azure MicrosoftDatadog service that you can access.
8285

8386
## Troubleshooting
8487

@@ -96,7 +99,7 @@ For more detailed instructions on how to enable logs, you can look at the [@azur
9699

97100
## Next steps
98101

99-
Please take a look at the [samples](https://github.com/Azure-Samples/azure-samples-js-management) directory for detailed examples on how to use this library.
102+
Please take a look at the [samples](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/datadog/arm-datadog/samples) directory for detailed examples on how to use this library.
100103

101104
## Contributing
102105

@@ -106,10 +109,6 @@ If you'd like to contribute to this library, please read the [contributing guide
106109

107110
- [Microsoft Azure SDK for JavaScript](https://github.com/Azure/azure-sdk-for-js)
108111

109-
110-
111-
[azure_cli]: https://learn.microsoft.com/cli/azure
112-
[azure_sub]: https://azure.microsoft.com/free/
113112
[azure_sub]: https://azure.microsoft.com/free/
114113
[azure_portal]: https://portal.azure.com
115114
[azure_identity]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity

sdk/datadog/arm-datadog/_meta.json

Lines changed: 0 additions & 8 deletions
This file was deleted.
Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1 @@
1-
{
2-
"extends": "../../../api-extractor-base.json"
3-
}
1+
{ "extends": "../../../api-extractor-base.json" }

sdk/datadog/arm-datadog/assets.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
"AssetsRepo": "Azure/azure-sdk-assets",
33
"AssetsRepoPrefixPath": "js",
44
"TagPrefix": "js/datadog/arm-datadog",
5-
"Tag": "js/datadog/arm-datadog_2923beb389"
5+
"Tag": "js/datadog/arm-datadog_a7906adf34"
66
}

sdk/datadog/arm-datadog/config/tsconfig.samples.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,7 @@
22
"extends": "../../../../eng/tsconfigs/samples.json",
33
"compilerOptions": {
44
"paths": {
5-
"@azure/arm-datadog": [
6-
"../dist/esm"
7-
]
5+
"@azure/arm-datadog": ["../dist/esm"]
86
}
97
}
108
}
Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
{
22
"extends": "../../../../eng/tsconfigs/src.browser.json",
3-
"include": [
4-
"../src/index.ts"
5-
]
3+
"include": ["../src/index.ts"]
64
}

0 commit comments

Comments
 (0)