Skip to content
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
23 changes: 1 addition & 22 deletions sdk/dynatrace/arm-dynatrace/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,26 +1,5 @@
# Release History

## 1.0.0-beta.3 (Unreleased)

### Features Added

### Breaking Changes

### Bugs Fixed

### Other Changes

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

**Features**

- Added Interface DynatraceSingleSignOnResource
- Added Interface MonitorResource
- Added Interface ProxyResource
- Added Interface TagRule
- Added Interface TrackedResource


## 1.0.0-beta.1 (2022-05-11)
## 1.0.0 (2022-09-16)

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/js-track2-quickstart).
2 changes: 1 addition & 1 deletion sdk/dynatrace/arm-dynatrace/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ This package contains an isomorphic SDK (runs both in Node.js and in browsers) f

[Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/dynatrace/arm-dynatrace) |
[Package (NPM)](https://www.npmjs.com/package/@azure/arm-dynatrace) |
[API reference documentation](https://docs.microsoft.com/javascript/api/@azure/arm-dynatrace?view=azure-node-preview) |
[API reference documentation](https://docs.microsoft.com/javascript/api/@azure/arm-dynatrace) |
[Samples](https://github.com/Azure-Samples/azure-samples-js-management)

## Getting started
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": "fba84c376285e525014e81b99f8d1321c4a6bd4a",
"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/typescript@6.0.0-rc.1 --generate-sample=true",
"autorest_command": "autorest --version=3.8.4 --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/typescript@6.0.0-rc.1",
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
"release_tool": "@azure-tools/js-sdk-release-tools@2.4.0",
"release_tool": "@azure-tools/js-sdk-release-tools@2.4.2",
"use": "@autorest/typescript@6.0.0-rc.1"
}
14 changes: 3 additions & 11 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.3",
"version": "1.0.0",
"engines": {
"node": ">=12.0.0"
},
Expand Down Expand Up @@ -109,13 +109,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
}
18 changes: 9 additions & 9 deletions sdk/dynatrace/arm-dynatrace/review/arm-dynatrace.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ export interface AppServiceInfo {

// @public
export interface AppServiceListResponse {
nextLink: string;
value: AppServiceInfo[];
nextLink?: string;
value?: AppServiceInfo[];
}

// @public
Expand Down Expand Up @@ -109,7 +109,7 @@ export interface DynatraceSingleSignOnResource extends ProxyResource {

// @public
export interface DynatraceSingleSignOnResourceListResult {
nextLink: string;
nextLink?: string;
value: DynatraceSingleSignOnResource[];
}

Expand Down Expand Up @@ -365,8 +365,8 @@ export interface MonitoredResource {

// @public
export interface MonitoredResourceListResponse {
nextLink: string;
value: MonitoredResource[];
nextLink?: string;
value?: MonitoredResource[];
}

// @public
Expand All @@ -391,7 +391,7 @@ export interface MonitorResource extends TrackedResource {

// @public
export interface MonitorResourceListResult {
nextLink: string;
nextLink?: string;
value: MonitorResource[];
}

Expand Down Expand Up @@ -724,7 +724,7 @@ export interface TagRule extends ProxyResource {

// @public
export interface TagRuleListResult {
nextLink: string;
nextLink?: string;
value: TagRule[];
}

Expand Down Expand Up @@ -822,8 +822,8 @@ export interface VMExtensionPayload {

// @public
export interface VMHostsListResponse {
nextLink: string;
value: VMInfo[];
nextLink?: string;
value?: VMInfo[];
}

// @public
Expand Down
4 changes: 2 additions & 2 deletions sdk/dynatrace/arm-dynatrace/src/dynatraceObservability.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export class DynatraceObservability extends coreClient.ServiceClient {
credential: credentials
};

const packageDetails = `azsdk-js-arm-dynatrace/1.0.0-beta.3`;
const packageDetails = `azsdk-js-arm-dynatrace/1.0.0`;
const userAgentPrefix =
options.userAgentOptions && options.userAgentOptions.userAgentPrefix
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
Expand Down Expand Up @@ -107,7 +107,7 @@ export class DynatraceObservability extends coreClient.ServiceClient {

// Assigning values to Constant parameters
this.$host = options.$host || "https://management.azure.com";
this.apiVersion = options.apiVersion || "2021-09-01-preview";
this.apiVersion = options.apiVersion || "2021-09-01";
this.monitors = new MonitorsImpl(this);
this.operations = new OperationsImpl(this);
this.tagRules = new TagRulesImpl(this);
Expand Down
18 changes: 9 additions & 9 deletions sdk/dynatrace/arm-dynatrace/src/models/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,9 @@ export interface ErrorAdditionalInfo {
/** List of all the resources being monitored by Dynatrace monitor resource */
export interface MonitoredResourceListResponse {
/** The items on this page */
value: MonitoredResource[];
value?: MonitoredResource[];
/** The link to the next page of items */
nextLink: string;
nextLink?: string;
}

/** Details of resource being monitored by Dynatrace monitor resource */
Expand Down Expand Up @@ -328,7 +328,7 @@ export interface MonitorResourceListResult {
/** The items on this page */
value: MonitorResource[];
/** The link to the next page of items */
nextLink: string;
nextLink?: string;
}

/** Set of rules for sending logs for the Monitor resource. */
Expand Down Expand Up @@ -375,23 +375,23 @@ export interface TagRuleListResult {
/** The items on this page */
value: TagRule[];
/** The link to the next page of items */
nextLink: string;
nextLink?: string;
}

/** The response of a DynatraceSingleSignOnResource list operation. */
export interface DynatraceSingleSignOnResourceListResult {
/** The items on this page */
value: DynatraceSingleSignOnResource[];
/** The link to the next page of items */
nextLink: string;
nextLink?: string;
}

/** Response of a list VM Host Operation. */
export interface VMHostsListResponse {
/** The items on this page */
value: VMInfo[];
value?: VMInfo[];
/** The link to the next page of items */
nextLink: string;
nextLink?: string;
}

/** Details of VM Resource having Dynatrace OneAgent installed */
Expand Down Expand Up @@ -419,9 +419,9 @@ export interface VMInfo {
/** Response of a list App Services Operation. */
export interface AppServiceListResponse {
/** The items on this page */
value: AppServiceInfo[];
value?: AppServiceInfo[];
/** The link to the next page of items */
nextLink: string;
nextLink?: string;
}

/** Details of App Services having Dynatrace OneAgent installed */
Expand Down
24 changes: 0 additions & 24 deletions sdk/dynatrace/arm-dynatrace/src/models/mappers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,6 @@ export const MonitoredResourceListResponse: coreClient.CompositeMapper = {
modelProperties: {
value: {
serializedName: "value",
required: true,
type: {
name: "Sequence",
element: {
Expand All @@ -154,7 +153,6 @@ export const MonitoredResourceListResponse: coreClient.CompositeMapper = {
},
nextLink: {
serializedName: "nextLink",
required: true,
type: {
name: "String"
}
Expand Down Expand Up @@ -364,18 +362,12 @@ export const UserInfo: coreClient.CompositeMapper = {
className: "UserInfo",
modelProperties: {
firstName: {
constraints: {
MaxLength: 50
},
serializedName: "firstName",
type: {
name: "String"
}
},
lastName: {
constraints: {
MaxLength: 50
},
serializedName: "lastName",
type: {
name: "String"
Expand Down Expand Up @@ -417,27 +409,18 @@ export const PlanData: coreClient.CompositeMapper = {
className: "PlanData",
modelProperties: {
usageType: {
constraints: {
MaxLength: 50
},
serializedName: "usageType",
type: {
name: "String"
}
},
billingCycle: {
constraints: {
MaxLength: 50
},
serializedName: "billingCycle",
type: {
name: "String"
}
},
planDetails: {
constraints: {
MaxLength: 50
},
serializedName: "planDetails",
type: {
name: "String"
Expand Down Expand Up @@ -769,7 +752,6 @@ export const MonitorResourceListResult: coreClient.CompositeMapper = {
},
nextLink: {
serializedName: "nextLink",
required: true,
type: {
name: "String"
}
Expand Down Expand Up @@ -908,7 +890,6 @@ export const TagRuleListResult: coreClient.CompositeMapper = {
},
nextLink: {
serializedName: "nextLink",
required: true,
type: {
name: "String"
}
Expand Down Expand Up @@ -937,7 +918,6 @@ export const DynatraceSingleSignOnResourceListResult: coreClient.CompositeMapper
},
nextLink: {
serializedName: "nextLink",
required: true,
type: {
name: "String"
}
Expand All @@ -953,7 +933,6 @@ export const VMHostsListResponse: coreClient.CompositeMapper = {
modelProperties: {
value: {
serializedName: "value",
required: true,
type: {
name: "Sequence",
element: {
Expand All @@ -966,7 +945,6 @@ export const VMHostsListResponse: coreClient.CompositeMapper = {
},
nextLink: {
serializedName: "nextLink",
required: true,
type: {
name: "String"
}
Expand Down Expand Up @@ -1045,7 +1023,6 @@ export const AppServiceListResponse: coreClient.CompositeMapper = {
modelProperties: {
value: {
serializedName: "value",
required: true,
type: {
name: "Sequence",
element: {
Expand All @@ -1058,7 +1035,6 @@ export const AppServiceListResponse: coreClient.CompositeMapper = {
},
nextLink: {
serializedName: "nextLink",
required: true,
type: {
name: "String"
}
Expand Down
2 changes: 1 addition & 1 deletion sdk/dynatrace/arm-dynatrace/src/models/parameters.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export const $host: OperationURLParameter = {
export const apiVersion: OperationQueryParameter = {
parameterPath: "apiVersion",
mapper: {
defaultValue: "2021-09-01-preview",
defaultValue: "2021-09-01",
isConstant: true,
serializedName: "api-version",
type: {
Expand Down
10 changes: 2 additions & 8 deletions sdk/dynatrace/arm-dynatrace/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,11 @@
],
"declaration": true,
"outDir": "./dist-esm",
"importHelpers": true,
"paths": {
"@azure/arm-dynatrace": [
"./src/index"
]
}
"importHelpers": true
},
"include": [
"./src/**/*.ts",
"./test/**/*.ts",
"samples-dev/**/*.ts"
"./test/**/*.ts"
],
"exclude": [
"node_modules"
Expand Down