diff --git a/sdk/dynatrace/arm-dynatrace/_meta.json b/sdk/dynatrace/arm-dynatrace/_meta.json index 28346cfae90f..19ed27d8b499 100644 --- a/sdk/dynatrace/arm-dynatrace/_meta.json +++ b/sdk/dynatrace/arm-dynatrace/_meta.json @@ -1,8 +1,8 @@ { - "commit": "2de5136a3664520fa0a6f9517997676590534403", + "commit": "c770ce4209f6fabee055f52f6eed83db63fe65d4", "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" } \ No newline at end of file diff --git a/sdk/dynatrace/arm-dynatrace/package.json b/sdk/dynatrace/arm-dynatrace/package.json index 545363e8d1c1..471de1533c01 100644 --- a/sdk/dynatrace/arm-dynatrace/package.json +++ b/sdk/dynatrace/arm-dynatrace/package.json @@ -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 +} \ No newline at end of file diff --git a/sdk/dynatrace/arm-dynatrace/review/arm-dynatrace.api.md b/sdk/dynatrace/arm-dynatrace/review/arm-dynatrace.api.md index 5a45afcfc77b..5e58d6a3dac8 100644 --- a/sdk/dynatrace/arm-dynatrace/review/arm-dynatrace.api.md +++ b/sdk/dynatrace/arm-dynatrace/review/arm-dynatrace.api.md @@ -41,8 +41,8 @@ export interface AppServiceInfo { // @public export interface AppServiceListResponse { - nextLink: string; - value: AppServiceInfo[]; + nextLink?: string; + value?: AppServiceInfo[]; } // @public @@ -109,8 +109,8 @@ export interface DynatraceSingleSignOnResource extends ProxyResource { // @public export interface DynatraceSingleSignOnResourceListResult { - nextLink: string; - value: DynatraceSingleSignOnResource[]; + nextLink?: string; + value?: DynatraceSingleSignOnResource[]; } // @public @@ -365,8 +365,8 @@ export interface MonitoredResource { // @public export interface MonitoredResourceListResponse { - nextLink: string; - value: MonitoredResource[]; + nextLink?: string; + value?: MonitoredResource[]; } // @public @@ -391,8 +391,8 @@ export interface MonitorResource extends TrackedResource { // @public export interface MonitorResourceListResult { - nextLink: string; - value: MonitorResource[]; + nextLink?: string; + value?: MonitorResource[]; } // @public @@ -724,8 +724,8 @@ export interface TagRule extends ProxyResource { // @public export interface TagRuleListResult { - nextLink: string; - value: TagRule[]; + nextLink?: string; + value?: TagRule[]; } // @public @@ -822,8 +822,8 @@ export interface VMExtensionPayload { // @public export interface VMHostsListResponse { - nextLink: string; - value: VMInfo[]; + nextLink?: string; + value?: VMInfo[]; } // @public diff --git a/sdk/dynatrace/arm-dynatrace/src/models/index.ts b/sdk/dynatrace/arm-dynatrace/src/models/index.ts index ce1e9053cbe7..833fd3ae0eed 100644 --- a/sdk/dynatrace/arm-dynatrace/src/models/index.ts +++ b/sdk/dynatrace/arm-dynatrace/src/models/index.ts @@ -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 */ @@ -326,9 +326,9 @@ export interface OperationDisplay { /** The response of a MonitorResource list operation. */ export interface MonitorResourceListResult { /** The items on this page */ - value: MonitorResource[]; + value?: MonitorResource[]; /** The link to the next page of items */ - nextLink: string; + nextLink?: string; } /** Set of rules for sending logs for the Monitor resource. */ @@ -373,25 +373,25 @@ export interface TagRuleUpdate { /** The response of a TagRule list operation. */ export interface TagRuleListResult { /** The items on this page */ - value: TagRule[]; + 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[]; + 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 */ @@ -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 */ diff --git a/sdk/dynatrace/arm-dynatrace/src/models/mappers.ts b/sdk/dynatrace/arm-dynatrace/src/models/mappers.ts index e7a1bd35113e..38f804050125 100644 --- a/sdk/dynatrace/arm-dynatrace/src/models/mappers.ts +++ b/sdk/dynatrace/arm-dynatrace/src/models/mappers.ts @@ -141,7 +141,6 @@ export const MonitoredResourceListResponse: coreClient.CompositeMapper = { modelProperties: { value: { serializedName: "value", - required: true, type: { name: "Sequence", element: { @@ -154,7 +153,6 @@ export const MonitoredResourceListResponse: coreClient.CompositeMapper = { }, nextLink: { serializedName: "nextLink", - required: true, type: { name: "String" } @@ -756,7 +754,6 @@ export const MonitorResourceListResult: coreClient.CompositeMapper = { modelProperties: { value: { serializedName: "value", - required: true, type: { name: "Sequence", element: { @@ -769,7 +766,6 @@ export const MonitorResourceListResult: coreClient.CompositeMapper = { }, nextLink: { serializedName: "nextLink", - required: true, type: { name: "String" } @@ -895,7 +891,6 @@ export const TagRuleListResult: coreClient.CompositeMapper = { modelProperties: { value: { serializedName: "value", - required: true, type: { name: "Sequence", element: { @@ -908,7 +903,6 @@ export const TagRuleListResult: coreClient.CompositeMapper = { }, nextLink: { serializedName: "nextLink", - required: true, type: { name: "String" } @@ -924,7 +918,6 @@ export const DynatraceSingleSignOnResourceListResult: coreClient.CompositeMapper modelProperties: { value: { serializedName: "value", - required: true, type: { name: "Sequence", element: { @@ -937,7 +930,6 @@ export const DynatraceSingleSignOnResourceListResult: coreClient.CompositeMapper }, nextLink: { serializedName: "nextLink", - required: true, type: { name: "String" } @@ -953,7 +945,6 @@ export const VMHostsListResponse: coreClient.CompositeMapper = { modelProperties: { value: { serializedName: "value", - required: true, type: { name: "Sequence", element: { @@ -966,7 +957,6 @@ export const VMHostsListResponse: coreClient.CompositeMapper = { }, nextLink: { serializedName: "nextLink", - required: true, type: { name: "String" } @@ -1045,7 +1035,6 @@ export const AppServiceListResponse: coreClient.CompositeMapper = { modelProperties: { value: { serializedName: "value", - required: true, type: { name: "Sequence", element: { @@ -1058,7 +1047,6 @@ export const AppServiceListResponse: coreClient.CompositeMapper = { }, nextLink: { serializedName: "nextLink", - required: true, type: { name: "String" } diff --git a/sdk/dynatrace/arm-dynatrace/tsconfig.json b/sdk/dynatrace/arm-dynatrace/tsconfig.json index 59b9e75094ee..3e6ae96443f3 100644 --- a/sdk/dynatrace/arm-dynatrace/tsconfig.json +++ b/sdk/dynatrace/arm-dynatrace/tsconfig.json @@ -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"