Skip to content

Commit

Permalink
CodeGen from PR 19862 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Merging Dynatrace swagger in stable folder (Azure#19862)

* Committing base swagger version

* Removing preview tag from stable folder api version

* Changing version name in all the files

* Updating readme.go and readme.md files
  • Loading branch information
SDKAuto committed Jul 21, 2022
1 parent 2712ac2 commit 0712e2c
Show file tree
Hide file tree
Showing 8 changed files with 126 additions and 131 deletions.
11 changes: 11 additions & 0 deletions sdk/dynatrace/arm-dynatrace/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# Release History

## 1.0.0-beta.3 (2022-07-21)

**Features**

- Added Type Alias DynatraceSingleSignOnResource
- Added Type Alias MonitorResource
- Added Type Alias ProxyResource
- Added Type Alias TagRule
- Added Type Alias TrackedResource


## 1.0.0-beta.2 (2022-07-12)

**Features**
Expand Down
14 changes: 7 additions & 7 deletions sdk/dynatrace/arm-dynatrace/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Azure DynatraceObservability client library for JavaScript
# Azure Service client library for JavaScript

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



Expand All @@ -24,16 +24,16 @@ See our [support policy](https://github.com/Azure/azure-sdk-for-js/blob/main/SUP

### Install the `@azure/arm-dynatrace` package

Install the Azure DynatraceObservability client library for JavaScript with `npm`:
Install the Azure Service client library for JavaScript with `npm`:

```bash
npm install @azure/arm-dynatrace
```

### Create and authenticate a `DynatraceObservability`

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.
You can find the endpoint for your Azure DynatraceObservability resource in the [Azure Portal][azure_portal].
To create a client object to access the Azure Service API, you will need the `endpoint` of your Azure Service resource and a `credential`. The Azure Service client can use Azure Active Directory credentials to authenticate.
You can find the endpoint for your Azure Service resource in the [Azure Portal][azure_portal].

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).

Expand All @@ -43,7 +43,7 @@ To use the [DefaultAzureCredential][defaultazurecredential] provider shown below
npm install @azure/identity
```

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).
You will also need to **register a new AAD application and grant access to Azure Service** by assigning the suitable role to your service principal (note: roles such as `"Owner"` will not grant the necessary permissions).
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`.

For more information about how to create an Azure AD Application check out [this guide](https://docs.microsoft.com/azure/active-directory/develop/howto-create-service-principal-portal).
Expand Down Expand Up @@ -72,7 +72,7 @@ To use this client library in the browser, first you need to use a bundler. For

### DynatraceObservability

`DynatraceObservability` is the primary interface for developers using the Azure DynatraceObservability client library. Explore the methods on this client object to understand the different features of the Azure DynatraceObservability service that you can access.
`DynatraceObservability` is the primary interface for developers using the Azure Service client library. Explore the methods on this client object to understand the different features of the Azure Service service that you can access.

## Troubleshooting

Expand Down
6 changes: 3 additions & 3 deletions sdk/dynatrace/arm-dynatrace/_meta.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"commit": "2de5136a3664520fa0a6f9517997676590534403",
"commit": "657a1085075554acd8c66501e323691bdb632b22",
"readme": "specification/dynatrace/resource-manager/readme.md",
"autorest_command": "autorest --version=3.7.3 --typescript --modelerfour.lenient-model-deduplication --azure-arm --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=D:\\Git\\azure-sdk-for-js ..\\azure-rest-api-specs\\specification\\dynatrace\\resource-manager\\readme.md --use=@autorest/[email protected]rc.1 --generate-sample=true",
"autorest_command": "autorest --version=3.7.3 --typescript --modelerfour.lenient-model-deduplication --azure-arm --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=/mnt/vss/_work/1/s/azure-sdk-for-js ../azure-rest-api-specs/specification/dynatrace/resource-manager/readme.md --use=@autorest/[email protected]alpha.19.20220425.1",
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
"release_tool": "@azure-tools/[email protected]",
"use": "@autorest/[email protected]rc.1"
"use": "@autorest/[email protected]alpha.19.20220425.1"
}
17 changes: 4 additions & 13 deletions sdk/dynatrace/arm-dynatrace/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"sdk-type": "mgmt",
"author": "Microsoft Corporation",
"description": "A generated SDK for DynatraceObservability.",
"version": "1.0.0-beta.2",
"version": "1.0.0-beta.3",
"engines": {
"node": ">=12.0.0"
},
Expand Down Expand Up @@ -43,8 +43,6 @@
"@azure-tools/test-recorder": "^2.0.0",
"@azure-tools/test-credential": "^1.0.0",
"mocha": "^7.1.1",
"@types/chai": "^4.2.8",
"chai": "^4.2.0",
"cross-env": "^7.0.2",
"@azure/dev-tool": "^1.0.0"
},
Expand Down Expand Up @@ -98,7 +96,8 @@
"unit-test:browser": "echo skipped",
"integration-test": "npm run integration-test:node && npm run integration-test:browser",
"integration-test:node": "dev-tool run test:node-ts-input -- --timeout 1200000 'test/*.ts'",
"integration-test:browser": "echo skipped"
"integration-test:browser": "echo skipped",
"docs": "echo skipped"
},
"sideEffects": false,
"//metadata": {
Expand All @@ -109,13 +108,5 @@
}
]
},
"autoPublish": true,
"//sampleConfiguration": {
"productName": "",
"productSlugs": [
"azure"
],
"disableDocsMs": true,
"apiRefLink": "https://docs.microsoft.com/javascript/api/@azure/arm-dynatrace?view=azure-node-preview"
}
"autoPublish": true
}
Loading

0 comments on commit 0712e2c

Please sign in to comment.