Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AutoPR @azure/arm-compute] New top-level Virtual Machine property: placement #12715

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
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
27 changes: 22 additions & 5 deletions common/config/rush/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion sdk/compute/arm-compute/LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2024 Microsoft
Copyright (c) 2025 Microsoft

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion sdk/compute/arm-compute/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Compute Client

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

## Getting started
Expand Down
8 changes: 4 additions & 4 deletions sdk/compute/arm-compute/_meta.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"commit": "552b4dd311f90f4a7b2f7adf45461d7a8774a1cc",
"commit": "a6a0e502ce44f8bdf9bd5c6071647ffdb85245fa",
"readme": "specification/compute/resource-manager/readme.md",
"autorest_command": "autorest --version=3.9.7 --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\\compute\\resource-manager\\readme.md --use=@autorest/[email protected].29 --generate-sample=true",
"autorest_command": "autorest --version=3.9.7 --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/compute/resource-manager/readme.md --use=@autorest/typescript@^6.0.12",
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
"release_tool": "@azure-tools/[email protected].16",
"use": "@autorest/[email protected].29"
"release_tool": "@azure-tools/[email protected].17",
"use": "@autorest/typescript@^6.0.12"
}
21 changes: 6 additions & 15 deletions sdk/compute/arm-compute/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 ComputeManagementClient.",
"version": "22.2.0",
"version": "1.0.0-beta.1",
"engines": {
"node": ">=18.0.0"
},
Expand All @@ -28,20 +28,19 @@
"module": "./dist-esm/src/index.js",
"types": "./types/arm-compute.d.ts",
"devDependencies": {
"typescript": "~5.7.2",
"typescript": "~5.6.2",
"dotenv": "^16.0.0",
"@azure/dev-tool": "^1.0.0",
"@azure/identity": "^4.2.1",
"@azure-tools/test-recorder": "^3.0.0",
"@azure-tools/test-credential": "^1.1.0",
"mocha": "^10.0.0",
"mocha": "^11.0.2",
"@types/mocha": "^10.0.0",
"tsx": "^4.7.1",
"@types/chai": "^4.2.8",
"chai": "^4.2.0",
"@types/node": "^18.0.0",
"ts-node": "^10.0.0",
"@azure/arm-network": "^32.2.0"
"ts-node": "^10.0.0"
},
"repository": {
"type": "git",
Expand Down Expand Up @@ -103,13 +102,5 @@
]
},
"autoPublish": true,
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/compute/arm-compute",
"//sampleConfiguration": {
"productName": "",
"productSlugs": [
"azure"
],
"disableDocsMs": true,
"apiRefLink": "https://docs.microsoft.com/javascript/api/@azure/arm-compute?view=azure-node-preview"
}
}
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/compute/arm-compute"
}
16 changes: 1 addition & 15 deletions sdk/compute/arm-compute/src/computeManagementClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,7 @@ import {
GalleryImageVersionsImpl,
GalleryApplicationsImpl,
GalleryApplicationVersionsImpl,
SoftDeletedResourceImpl,
GallerySharingProfileImpl,
GalleryInVMAccessControlProfilesImpl,
GalleryInVMAccessControlProfileVersionsImpl,
SharedGalleriesImpl,
SharedGalleryImagesImpl,
SharedGalleryImageVersionsImpl,
Expand Down Expand Up @@ -101,10 +98,7 @@ import {
GalleryImageVersions,
GalleryApplications,
GalleryApplicationVersions,
SoftDeletedResource,
GallerySharingProfile,
GalleryInVMAccessControlProfiles,
GalleryInVMAccessControlProfileVersions,
SharedGalleries,
SharedGalleryImages,
SharedGalleryImageVersions,
Expand Down Expand Up @@ -151,7 +145,7 @@ export class ComputeManagementClient extends coreClient.ServiceClient {
credential: credentials,
};

const packageDetails = `azsdk-js-arm-compute/22.2.0`;
const packageDetails = `azsdk-js-arm-compute/1.0.0-beta.1`;
const userAgentPrefix =
options.userAgentOptions && options.userAgentOptions.userAgentPrefix
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
Expand Down Expand Up @@ -250,12 +244,7 @@ export class ComputeManagementClient extends coreClient.ServiceClient {
this.galleryImageVersions = new GalleryImageVersionsImpl(this);
this.galleryApplications = new GalleryApplicationsImpl(this);
this.galleryApplicationVersions = new GalleryApplicationVersionsImpl(this);
this.softDeletedResource = new SoftDeletedResourceImpl(this);
this.gallerySharingProfile = new GallerySharingProfileImpl(this);
this.galleryInVMAccessControlProfiles =
new GalleryInVMAccessControlProfilesImpl(this);
this.galleryInVMAccessControlProfileVersions =
new GalleryInVMAccessControlProfileVersionsImpl(this);
this.sharedGalleries = new SharedGalleriesImpl(this);
this.sharedGalleryImages = new SharedGalleryImagesImpl(this);
this.sharedGalleryImageVersions = new SharedGalleryImageVersionsImpl(this);
Expand Down Expand Up @@ -310,10 +299,7 @@ export class ComputeManagementClient extends coreClient.ServiceClient {
galleryImageVersions: GalleryImageVersions;
galleryApplications: GalleryApplications;
galleryApplicationVersions: GalleryApplicationVersions;
softDeletedResource: SoftDeletedResource;
gallerySharingProfile: GallerySharingProfile;
galleryInVMAccessControlProfiles: GalleryInVMAccessControlProfiles;
galleryInVMAccessControlProfileVersions: GalleryInVMAccessControlProfileVersions;
sharedGalleries: SharedGalleries;
sharedGalleryImages: SharedGalleryImages;
sharedGalleryImageVersions: SharedGalleryImageVersions;
Expand Down
Loading
Loading