Skip to content

Commit

Permalink
CodeGen from PR 19884 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
add annotation for labservices (Azure#19884)
  • Loading branch information
SDKAuto committed Jul 25, 2022
1 parent 5b97767 commit 2f2c773
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 29 deletions.
4 changes: 2 additions & 2 deletions sdk/labservices/arm-labservices/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Release History

## 3.0.0-beta.3 (2022-06-17)
## 3.0.0-beta.4 (2022-07-25)

The package of @azure/arm-labservices is using our next generation design principles since version 3.0.0-beta.3, which contains breaking changes.
The package of @azure/arm-labservices is using our next generation design principles since version 3.0.0-beta.4, which contains breaking changes.

To understand the detail of the change, please refer to [Changelog](https://aka.ms/js-track2-changelog).

Expand Down
8 changes: 4 additions & 4 deletions sdk/labservices/arm-labservices/_meta.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"commit": "ac0b1b1d2f6b07112a01853fd36f8a5b84b91a38",
"commit": "2b546e9ec9b08ea94d972b99665a1a80a3d6d833",
"readme": "specification/labservices/resource-manager/readme.md",
"autorest_command": "autorest --version=3.7.3 --typescript --modelerfour.lenient-model-deduplication --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\\labservices\\resource-manager\\readme.md --use=@autorest/typescript@6.0.0-beta.20 --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/labservices/resource-manager/readme.md --use=@autorest/typescript@6.0.0-alpha.19.20220425.1",
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
"release_tool": "@azure-tools/js-sdk-release-tools@2.3.2",
"use": "@autorest/typescript@6.0.0-beta.20"
"release_tool": "@azure-tools/js-sdk-release-tools@2.4.0",
"use": "@autorest/typescript@6.0.0-alpha.19.20220425.1"
}
14 changes: 2 additions & 12 deletions sdk/labservices/arm-labservices/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 LabServicesClient.",
"version": "3.0.0-beta.3",
"version": "3.0.0-beta.4",
"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 @@ -110,13 +108,5 @@
}
]
},
"autoPublish": true,
"//sampleConfiguration": {
"productName": "",
"productSlugs": [
"azure"
],
"disableDocsMs": true,
"apiRefLink": "https://docs.microsoft.com/javascript/api/@azure/arm-labservices?view=azure-node-preview"
}
"autoPublish": true
}
Original file line number Diff line number Diff line change
Expand Up @@ -733,7 +733,7 @@ export interface PagedVirtualMachines {
export type ProvisioningState = "Creating" | "Updating" | "Deleting" | "Succeeded" | "Failed" | "Locked";

// @public
export type ProxyResource = Resource;
export type ProxyResource = Resource & {};

// @public
export type RecurrenceFrequency = "Daily" | "Weekly";
Expand Down
2 changes: 1 addition & 1 deletion sdk/labservices/arm-labservices/src/labServicesClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ export class LabServicesClient extends coreClient.ServiceClient {
credential: credentials
};

const packageDetails = `azsdk-js-arm-labservices/3.0.0-beta.3`;
const packageDetails = `azsdk-js-arm-labservices/3.0.0-beta.4`;
const userAgentPrefix =
options.userAgentOptions && options.userAgentOptions.userAgentPrefix
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
Expand Down
2 changes: 1 addition & 1 deletion sdk/labservices/arm-labservices/src/models/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -840,7 +840,7 @@ export type ImageProperties = ImageUpdateProperties & {
};

/** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */
export type ProxyResource = Resource;
export type ProxyResource = Resource & {};

/** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */
export type TrackedResource = Resource & {
Expand Down
10 changes: 2 additions & 8 deletions sdk/labservices/arm-labservices/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-labservices": [
"./src/index"
]
}
"importHelpers": true
},
"include": [
"./src/**/*.ts",
"./test/**/*.ts",
"samples-dev/**/*.ts"
"./test/**/*.ts"
],
"exclude": [
"node_modules"
Expand Down

0 comments on commit 2f2c773

Please sign in to comment.