Skip to content

Commit 5936832

Browse files
azure-sdkv-jiaodi
andauthored
[AutoPR @azure-arm-dynatrace]-generated-from-SDK Generation - JS-6387764 (#38797)
Configurations: 'specification/dynatrace/Dynatrace.Management/tspconfig.yaml', API Version: 2024-04-24, SDK Release Type: beta, and CommitSHA: '0c30072709ed8a6a544ec133e628e13cb3c81d88' in SpecRepo: 'https://github.com/Azure/azure-rest-api-specs' Pipeline run: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=6387764 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 d834d8a commit 5936832

229 files changed

Lines changed: 11376 additions & 10205 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.

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/dynatrace/arm-dynatrace/CHANGELOG.md

Lines changed: 85 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,93 @@
11
# Release History
2-
3-
## 2.0.1 (Unreleased)
2+
3+
## 3.0.0-beta.1 (2026-06-03)
4+
Compared with version 2.0.0
45

56
### Features Added
7+
- Added operation group CreationSupportedOperations
8+
- Added operation group MonitoredSubscriptionsOperations
9+
- Added operation MonitorsOperations.beginUpgradePlan
10+
- Added operation MonitorsOperations.beginUpgradePlanAndWait
11+
- Added operation MonitorsOperations.createOrUpdate
12+
- Added operation MonitorsOperations.delete
13+
- Added operation MonitorsOperations.getAllConnectedResourcesCount
14+
- Added operation MonitorsOperations.manageAgentInstallation
15+
- Added operation MonitorsOperations.upgradePlan
16+
- Added operation SingleSignOnOperations.createOrUpdate
17+
- Added operation TagRulesOperations.createOrUpdate
18+
- Added operation TagRulesOperations.delete
19+
- Added Interface ConnectedResourcesCountResponse
20+
- Added Interface CreateResourceSupportedProperties
21+
- Added Interface CreateResourceSupportedResponse
22+
- Added Interface CreationSupportedGetOptionalParams
23+
- Added Interface CreationSupportedListOptionalParams
24+
- Added Interface LogStatusRequest
25+
- Added Interface ManageAgentInstallationRequest
26+
- Added Interface ManageAgentList
27+
- Added Interface ManagedServiceIdentity
28+
- Added Interface MarketplaceSubscriptionIdRequest
29+
- Added Interface MetricStatusRequest
30+
- Added Interface MonitoredSubscription
31+
- Added Interface MonitoredSubscriptionProperties
32+
- Added Interface MonitoredSubscriptionsCreateOrUpdateOptionalParams
33+
- Added Interface MonitoredSubscriptionsDeleteOptionalParams
34+
- Added Interface MonitoredSubscriptionsGetOptionalParams
35+
- Added Interface MonitoredSubscriptionsListOptionalParams
36+
- Added Interface MonitoredSubscriptionsUpdateOptionalParams
37+
- Added Interface MonitoringTagRulesProperties
38+
- Added Interface MonitorProperties
39+
- Added Interface MonitorsGetAllConnectedResourcesCountOptionalParams
40+
- Added Interface MonitorsManageAgentInstallationOptionalParams
41+
- Added Interface MonitorsUpgradePlanOptionalParams
42+
- Added Interface MonitorUpdateProperties
43+
- Added Interface PagedAsyncIterableIterator
44+
- Added Interface PageSettings
45+
- Added Interface RestorePollerOptions
46+
- Added Interface SimplePollerLike
47+
- Added Interface SubscriptionList
48+
- Added Interface UpgradePlanRequest
49+
- Interface AccountInfo has a new optional parameter companyName
50+
- Interface MarketplaceSaaSResourceDetailsResponse has a new optional parameter marketplaceSaaSResourceName
51+
- Interface MonitorResource has a new optional parameter marketplaceSaasAutoRenew
52+
- Interface MonitorResourceUpdate has a new optional parameter identity
53+
- Interface MonitorResourceUpdate has a new optional parameter properties
54+
- Interface MonitorsGetMetricStatusOptionalParams has a new optional parameter request
55+
- Interface MonitorsListMonitoredResourcesOptionalParams has a new optional parameter request
56+
- Interface ProxyResource has a new optional parameter systemData
57+
- Interface Resource has a new optional parameter systemData
58+
- Interface TrackedResource has a new optional parameter systemData
59+
- Added Type Alias Action
60+
- Added Type Alias AzureSupportedClouds
61+
- Added Type Alias ManagedServiceIdentityType
62+
- Added Type Alias MarketplaceSaasAutoRenew
63+
- Added Type Alias Status
64+
- Added Type Alias SubscriptionListOperation
65+
- Added Enum AzureClouds
66+
- Added Enum KnownAction
67+
- Added Enum KnownManagedServiceIdentityType
68+
- Added Enum KnownMarketplaceSaasAutoRenew
69+
- Added Enum KnownStatus
70+
- Added Enum KnownSubscriptionListOperation
71+
- Added Enum KnownVersions
72+
- Enum KnownMarketplaceSubscriptionStatus has a new value Unsubscribed
73+
- Enum KnownMonitoringType has a new value Discovery
674

775
### Breaking Changes
76+
- Operation Monitors.beginCreateOrUpdate has a new signature
77+
- Operation Monitors.beginCreateOrUpdateAndWait has a new signature
78+
- Operation Monitors.get has a new signature
79+
- Operation Monitors.update has a new signature
80+
- Removed Interface AppServiceListResponse
81+
- Removed Interface LinkableEnvironmentListResponse
82+
- Removed Interface MonitoredResourceListResponse
83+
- Removed Interface VMHostsListResponse
84+
- Type of parameter userAssignedIdentities of interface IdentityProperties is changed from {
85+
[propertyName: string]: UserAssignedIdentity;
86+
} to Record<string, UserAssignedIdentity>
87+
- Parameter clientId of interface UserAssignedIdentity is now optional
88+
- Parameter principalId of interface UserAssignedIdentity is now optional
889

9-
### Bugs Fixed
10-
11-
### Other Changes
12-
90+
1391
## 2.0.0 (2023-08-15)
1492

1593
### Features Added
@@ -51,4 +129,4 @@
51129

52130
## 1.0.0 (2022-09-19)
53131

54-
The package of @azure/arm-dynatrace is using our next generation design principles. To learn more, please refer to our documentation [Quick Start](https://aka.ms/azsdk/js/mgmt/quickstart ).
132+
The package of @azure/arm-dynatrace is using our next generation design principles. To learn more, please refer to our documentation [Quick Start](https://aka.ms/azsdk/js/mgmt/quickstart).

sdk/dynatrace/arm-dynatrace/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/dynatrace/arm-dynatrace/README.md

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,14 @@
22

33
This package contains an isomorphic SDK (runs both in Node.js and in browsers) for Azure DynatraceObservability client.
44

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

1014
## Getting started
1115

@@ -33,7 +37,7 @@ npm install @azure/arm-dynatrace
3337
To create a client object to access the Azure DynatraceObservability API, you will need the `endpoint` of your Azure DynatraceObservability resource and a `credential`. The Azure DynatraceObservability client can use Azure Active Directory credentials to authenticate.
3438
You can find the endpoint for your Azure DynatraceObservability 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

@@ -42,7 +46,6 @@ npm install @azure/identity
4246
```
4347

4448
You will also need to **register a new AAD application and grant access to Azure DynatraceObservability** 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`.
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,16 +65,16 @@ For browser environments, use the `InteractiveBrowserCredential` from the `@azur
6265
import { InteractiveBrowserCredential } from "@azure/identity";
6366
import { DynatraceObservability } from "@azure/arm-dynatrace";
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 DynatraceObservability(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
@@ -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/dynatrace/arm-dynatrace/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/dynatrace/arm-dynatrace/_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/dynatrace/arm-dynatrace/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/dynatrace/arm-dynatrace",
5-
"Tag": "js/dynatrace/arm-dynatrace_2eb0042c84"
5+
"Tag": "js/dynatrace/arm-dynatrace_a4a6121751"
66
}
Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
11
{
22
"extends": "../../../../tsconfig.json",
3-
"include": [
4-
"../src",
5-
"../test"
6-
]
3+
"include": ["../src", "../test"]
74
}

sdk/dynatrace/arm-dynatrace/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-dynatrace": [
6-
"../dist/esm"
7-
]
5+
"@azure/arm-dynatrace": ["../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)