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
696 changes: 351 additions & 345 deletions common/config/rush/pnpm-lock.yaml

Large diffs are not rendered by default.

21 changes: 11 additions & 10 deletions sdk/compute/arm-compute/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
# Release History

## 22.1.1 (Unreleased)

## 22.2.0 (2024-10-09)
### Features Added

### Breaking Changes

### Bugs Fixed

### Other Changes

- Added Interface ExecutedValidation
- Added Interface PlatformAttribute
- Added Interface ValidationsProfile
- Interface GalleryImageVersion has a new optional parameter validationsProfile
- Interface GalleryImageVersionUpdate has a new optional parameter validationsProfile


## 22.1.0 (2024-08-12)

### Features Added
Expand Down Expand Up @@ -579,7 +580,7 @@

## 17.3.1 (2022-04-06)

### Features Added
**features**

- Bug fix

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": "3cef1bf0125458cc60dfb9e644e6bc28b787beab",
"commit": "5c1a11a90e6600c56718248a8fdc79cf0046ecbc",
"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/typescript@6.0.23 --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/js-sdk-release-tools@2.7.11",
"use": "@autorest/typescript@6.0.23"
"release_tool": "@azure-tools/js-sdk-release-tools@2.7.14",
"use": "@autorest/typescript@^6.0.12"
}
74 changes: 32 additions & 42 deletions sdk/compute/arm-compute/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,16 @@
"sdk-type": "mgmt",
"author": "Microsoft Corporation",
"description": "A generated SDK for ComputeManagementClient.",
"version": "22.1.1",
"version": "22.2.0",
"engines": {
"node": ">=18.0.0"
},
"dependencies": {
"@azure/abort-controller": "^1.0.0",
"@azure/core-auth": "^1.6.0",
"@azure/core-client": "^1.7.0",
"@azure/core-lro": "^2.5.4",
"@azure/abort-controller": "^2.1.2",
"@azure/core-paging": "^1.2.0",
"@azure/core-client": "^1.7.0",
"@azure/core-auth": "^1.6.0",
"@azure/core-rest-pipeline": "^1.14.0",
"tslib": "^2.2.0"
},
Expand All @@ -28,25 +28,24 @@
"module": "./dist-esm/src/index.js",
"types": "./types/arm-compute.d.ts",
"devDependencies": {
"@azure-tools/test-credential": "^1.1.0",
"@azure-tools/test-recorder": "^3.0.0",
"@azure/arm-network": "^32.2.0",
"@azure/dev-tool": "^1.0.0",
"@azure/identity": "^4.0.1",
"@microsoft/api-extractor": "^7.31.1",
"@types/chai": "^4.2.8",
"@types/mocha": "^10.0.0",
"@types/node": "^18.0.0",
"chai": "^4.2.0",
"cross-env": "^7.0.2",
"dotenv": "^16.0.0",
"mkdirp": "^3.0.1",
"mocha": "^10.0.0",
"typescript": "~5.5.3",
"uglify-js": "^3.4.9",
"rimraf": "^5.0.0",
"ts-node": "^10.0.0",
"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",
"@types/mocha": "^10.0.0",
"tsx": "^4.7.1",
"typescript": "~5.6.2",
"uglify-js": "^3.4.9"
"@types/chai": "^4.2.8",
"chai": "^4.2.0",
"cross-env": "^7.0.2",
"@types/node": "^18.0.0",
"ts-node": "^10.0.0"
},
"repository": {
"type": "git",
Expand Down Expand Up @@ -74,29 +73,28 @@
],
"scripts": {
"build": "npm run clean && tsc && dev-tool run bundle && npm run minify && mkdirp ./review && npm run extract-api",
"build:browser": "echo skipped",
"minify": "uglifyjs -c -m --comments --source-map \"content='./dist/index.js.map'\" -o ./dist/index.min.js ./dist/index.js",
"prepack": "npm run build",
"pack": "npm pack 2>&1",
"extract-api": "dev-tool run extract-api",
"lint": "echo skipped",
"clean": "rimraf --glob dist dist-browser dist-esm test-dist temp types *.tgz *.log",
"build:node": "echo skipped",
"build:samples": "echo skipped.",
"build:browser": "echo skipped",
"build:test": "echo skipped",
"build:samples": "echo skipped.",
"check-format": "echo skipped",
"clean": "rimraf --glob dist dist-browser dist-esm test-dist temp types *.tgz *.log",
"execute:samples": "echo skipped",
"extract-api": "dev-tool run extract-api",
"format": "echo skipped",
"integration-test": "npm run integration-test:node && npm run integration-test:browser",
"integration-test:browser": "echo skipped",
"integration-test:node": "dev-tool run test:node-ts-input -- --timeout 1200000 'test/*.ts'",
"lint": "echo skipped",
"minify": "uglifyjs -c -m --comments --source-map \"content='./dist/index.js.map'\" -o ./dist/index.min.js ./dist/index.js",
"pack": "npm pack 2>&1",
"prepack": "npm run build",
"test": "npm run integration-test",
"test:browser": "echo skipped",
"test:node": "echo skipped",
"test:browser": "echo skipped",
"unit-test": "npm run unit-test:node && npm run unit-test:browser",
"unit-test:browser": "echo skipped",
"unit-test:node": "cross-env TEST_MODE=playback npm run integration-test:node",
"update-snippets": "echo skipped"
"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"
},
"sideEffects": false,
"//metadata": {
Expand All @@ -108,13 +106,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"
}
24 changes: 24 additions & 0 deletions sdk/compute/arm-compute/review/arm-compute.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -2216,6 +2216,14 @@ export interface EventGridAndResourceGraph {
enable?: boolean;
}

// @public
export interface ExecutedValidation {
executionTime?: Date;
status?: string;
type?: string;
version?: string;
}

// @public
export type ExecutionState = string;

Expand Down Expand Up @@ -2729,6 +2737,7 @@ export interface GalleryImageVersion extends Resource {
safetyProfile?: GalleryImageVersionSafetyProfile;
securityProfile?: ImageVersionSecurityProfile;
storageProfile?: GalleryImageVersionStorageProfile;
readonly validationsProfile?: ValidationsProfile;
}

// @public
Expand Down Expand Up @@ -2826,6 +2835,7 @@ export interface GalleryImageVersionUpdate extends UpdateResourceDefinition {
safetyProfile?: GalleryImageVersionSafetyProfile;
securityProfile?: ImageVersionSecurityProfile;
storageProfile?: GalleryImageVersionStorageProfile;
readonly validationsProfile?: ValidationsProfile;
}

// @public
Expand Down Expand Up @@ -4467,6 +4477,12 @@ export interface Plan {
publisher?: string;
}

// @public
export interface PlatformAttribute {
name?: string;
value?: string;
}

// @public
export interface PolicyViolation {
category?: PolicyViolationCategory;
Expand Down Expand Up @@ -6062,6 +6078,14 @@ export interface UserInitiatedRedeploy {
automaticallyApprove?: boolean;
}

// @public
export interface ValidationsProfile {
// (undocumented)
executedValidations?: ExecutedValidation[];
platformAttributes?: PlatformAttribute[];
validationEtag?: string;
}

// @public
export interface VaultCertificate {
certificateStore?: string;
Expand Down
2 changes: 1 addition & 1 deletion sdk/compute/arm-compute/src/computeManagementClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ export class ComputeManagementClient extends coreClient.ServiceClient {
credential: credentials,
};

const packageDetails = `azsdk-js-arm-compute/22.1.1`;
const packageDetails = `azsdk-js-arm-compute/22.2.0`;
const userAgentPrefix =
options.userAgentOptions && options.userAgentOptions.userAgentPrefix
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
Expand Down
49 changes: 44 additions & 5 deletions sdk/compute/arm-compute/src/models/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1709,7 +1709,7 @@ export interface DataDisk {
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly diskMBpsReadWrite?: number;
/** Specifies the detach behavior to be used while detaching a disk or which is already in the process of detachment from the virtual machine. Supported values: **ForceDetach.** detachOption: **ForceDetach** is applicable only for managed data disks. If a previous detachment attempt of the data disk did not complete due to an unexpected failure from the virtual machine and the disk is still not released then use force-detach as a last resort option to detach the disk forcibly from the VM. All writes might not have been flushed when using this detach behavior. **This feature is still in preview** mode and is not supported for VirtualMachineScaleSet. To force-detach a data disk update toBeDetached to 'true' along with setting detachOption: 'ForceDetach'. */
/** Specifies the detach behavior to be used while detaching a disk or which is already in the process of detachment from the virtual machine. Supported values: **ForceDetach.** detachOption: **ForceDetach** is applicable only for managed data disks. If a previous detachment attempt of the data disk did not complete due to an unexpected failure from the virtual machine and the disk is still not released then use force-detach as a last resort option to detach the disk forcibly from the VM. All writes might not have been flushed when using this detach behavior. **This feature is still in preview**. To force-detach a data disk update toBeDetached to 'true' along with setting detachOption: 'ForceDetach'. */
detachOption?: DiskDetachOptionTypes;
/** Specifies whether data disk should be deleted or detached upon VM deletion. Possible values are: **Delete.** If this value is used, the data disk is deleted when VM is deleted. **Detach.** If this value is used, the data disk is retained after VM is deleted. The default value is set to **Detach**. */
deleteOption?: DiskDeleteOptionTypes;
Expand Down Expand Up @@ -4034,6 +4034,35 @@ export interface UefiKey {
value?: string[];
}

/** This is the validations profile of a Gallery Image Version. */
export interface ValidationsProfile {
/** The published time of the image version */
validationEtag?: string;
executedValidations?: ExecutedValidation[];
/** This specifies the pub, offer, sku and version of the image version metadata */
platformAttributes?: PlatformAttribute[];
}

/** This is the executed Validation. */
export interface ExecutedValidation {
/** This property specifies the type of image version validation. */
type?: string;
/** This property specifies the status of the validationProfile of the image version. */
status?: string;
/** This property specifies the valid version of the validation. */
version?: string;
/** This property specifies the starting timestamp. */
executionTime?: Date;
}

/** This is the platform attribute of the image version. */
export interface PlatformAttribute {
/** This property specifies the name of the platformAttributes. It could be either source_image_publisher or source_image_offer or source_image_sku or source_image_version */
name?: string;
/** This property specifies the value of the corresponding name property. */
value?: string;
}

/** A custom action that can be performed with a Gallery Application Version. */
export interface GalleryApplicationCustomAction {
/** The name of the custom action. Must be unique within the Gallery Application Version. */
Expand Down Expand Up @@ -6003,7 +6032,7 @@ export interface GalleryImage extends Resource {
readonly provisioningState?: GalleryProvisioningState;
/** A list of gallery image features. */
features?: GalleryImageFeature[];
/** The architecture of the image. Applicable to OS disks only. */
/** CPU architecture supported by an OS disk. */
architecture?: Architecture;
}

Expand All @@ -6027,6 +6056,11 @@ export interface GalleryImageVersion extends Resource {
readonly replicationStatus?: ReplicationStatus;
/** The security profile of a gallery image version */
securityProfile?: ImageVersionSecurityProfile;
/**
* This is the validations profile of a Gallery Image Version.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly validationsProfile?: ValidationsProfile;
}

/** Specifies information about the gallery Application Definition that you want to create or update. */
Expand Down Expand Up @@ -6672,7 +6706,7 @@ export interface GalleryImageUpdate extends UpdateResourceDefinition {
readonly provisioningState?: GalleryProvisioningState;
/** A list of gallery image features. */
features?: GalleryImageFeature[];
/** The architecture of the image. Applicable to OS disks only. */
/** CPU architecture supported by an OS disk. */
architecture?: Architecture;
}

Expand All @@ -6696,6 +6730,11 @@ export interface GalleryImageVersionUpdate extends UpdateResourceDefinition {
readonly replicationStatus?: ReplicationStatus;
/** The security profile of a gallery image version */
securityProfile?: ImageVersionSecurityProfile;
/**
* This is the validations profile of a Gallery Image Version.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly validationsProfile?: ValidationsProfile;
}

/** Specifies information about the gallery Application Definition that you want to update. */
Expand Down Expand Up @@ -6857,7 +6896,7 @@ export interface CommunityGalleryImage extends PirCommunityGalleryResource {
features?: GalleryImageFeature[];
/** Describes the gallery image definition purchase plan. This is used by marketplace images. */
purchasePlan?: ImagePurchasePlan;
/** The architecture of the image. Applicable to OS disks only. */
/** CPU architecture supported by an OS disk. */
architecture?: Architecture;
/** Privacy statement URI for the current community gallery image. */
privacyStatementUri?: string;
Expand Down Expand Up @@ -6942,7 +6981,7 @@ export interface SharedGalleryImage extends PirSharedGalleryResource {
features?: GalleryImageFeature[];
/** Describes the gallery image definition purchase plan. This is used by marketplace images. */
purchasePlan?: ImagePurchasePlan;
/** The architecture of the image. Applicable to OS disks only. */
/** CPU architecture supported by an OS disk. */
architecture?: Architecture;
/** Privacy statement uri for the current community gallery image. */
privacyStatementUri?: string;
Expand Down
Loading