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
809 changes: 413 additions & 396 deletions common/config/rush/pnpm-lock.yaml

Large diffs are not rendered by default.

25 changes: 17 additions & 8 deletions sdk/compute/arm-compute/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,24 @@
# Release History

## 22.0.0 (2024-07-16)

**Features**

## 21.6.1 (Unreleased)

### Features Added

### Breaking Changes

### Bugs Fixed
- Added Interface DiskPurchasePlan
- Added Interface SecurityPostureReferenceUpdate
- Interface SecurityPostureReference has a new optional parameter isOverridable
- Interface VirtualMachineScaleSetUpdateVMProfile has a new optional parameter securityPostureReference

### Other Changes
**Breaking Changes**

- Parameter id of interface SecurityPostureReference is now required
- Type of parameter purchasePlan of interface Disk is changed from PurchasePlanAutoGenerated to DiskPurchasePlan
- Type of parameter purchasePlan of interface DiskRestorePoint is changed from PurchasePlanAutoGenerated to DiskPurchasePlan
- Type of parameter purchasePlan of interface DiskUpdate is changed from PurchasePlanAutoGenerated to DiskPurchasePlan
- Type of parameter excludeExtensions of interface SecurityPostureReference is changed from VirtualMachineExtension[] to string[]
- Type of parameter purchasePlan of interface Snapshot is changed from PurchasePlanAutoGenerated to DiskPurchasePlan


## 21.6.0 (2024-04-26)

**Features**
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": "c77bbf822be2deaac1b690270c6cd03a52df0e37",
"commit": "daa15000cbf60bc1f73d2ffcd65cc7168d250233",
"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].20 --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].5",
"use": "@autorest/[email protected].20"
"release_tool": "@azure-tools/[email protected].10",
"use": "@autorest/typescript@^6.0.12"
}
20 changes: 6 additions & 14 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": "21.6.1",
"version": "22.0.0",
"engines": {
"node": ">=18.0.0"
},
Expand All @@ -30,21 +30,21 @@
"devDependencies": {
"@microsoft/api-extractor": "^7.31.1",
"mkdirp": "^3.0.1",
"typescript": "~5.5.3",
"typescript": "~5.4.5",
"uglify-js": "^3.4.9",
"rimraf": "^5.0.0",
"dotenv": "^16.0.0",
"@azure/dev-tool": "^1.0.0",
"@azure/identity": "^4.0.1",
"@azure-tools/test-recorder": "^3.0.0",
"@azure-tools/test-credential": "^1.0.0",
"@azure-tools/test-credential": "^1.1.0",
"mocha": "^10.0.0",
"@types/mocha": "^10.0.0",
"tsx": "^4.7.1",
"@types/chai": "^4.2.8",
"chai": "^4.2.0",
"cross-env": "^7.0.2",
"@types/node": "^18.0.0",
"@azure/arm-network": "^32.2.0",
"ts-node": "^10.0.0"
},
"repository": {
Expand Down Expand Up @@ -106,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"
}
37 changes: 24 additions & 13 deletions sdk/compute/arm-compute/review/arm-compute.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@

```ts

/// <reference types="node" />

import * as coreAuth from '@azure/core-auth';
import * as coreClient from '@azure/core-client';
import { OperationState } from '@azure/core-lro';
Expand Down Expand Up @@ -1594,7 +1596,7 @@ export interface Disk extends Resource {
readonly propertyUpdatesInProgress?: PropertyUpdatesInProgress;
readonly provisioningState?: string;
publicNetworkAccess?: PublicNetworkAccess;
purchasePlan?: PurchasePlanAutoGenerated;
purchasePlan?: DiskPurchasePlan;
securityProfile?: DiskSecurityProfile;
readonly shareInfo?: ShareInfoElement[];
sku?: DiskSku;
Expand Down Expand Up @@ -1917,6 +1919,14 @@ export interface DiskList {
value: Disk[];
}

// @public
export interface DiskPurchasePlan {
name: string;
product: string;
promotionCode?: string;
publisher: string;
}

// @public
export interface DiskRestorePoint extends ProxyOnlyResource {
completionPercent?: number;
Expand All @@ -1927,7 +1937,7 @@ export interface DiskRestorePoint extends ProxyOnlyResource {
networkAccessPolicy?: NetworkAccessPolicy;
readonly osType?: OperatingSystemTypes;
publicNetworkAccess?: PublicNetworkAccess;
purchasePlan?: PurchasePlanAutoGenerated;
purchasePlan?: DiskPurchasePlan;
readonly replicationState?: string;
securityProfile?: DiskSecurityProfile;
readonly sourceResourceId?: string;
Expand Down Expand Up @@ -2138,7 +2148,7 @@ export interface DiskUpdate {
osType?: OperatingSystemTypes;
readonly propertyUpdatesInProgress?: PropertyUpdatesInProgress;
publicNetworkAccess?: PublicNetworkAccess;
purchasePlan?: PurchasePlanAutoGenerated;
purchasePlan?: DiskPurchasePlan;
sku?: DiskSku;
supportedCapabilities?: SupportedCapabilities;
supportsHibernation?: boolean;
Expand Down Expand Up @@ -4655,14 +4665,6 @@ export interface PurchasePlan {
publisher: string;
}

// @public
export interface PurchasePlanAutoGenerated {
name: string;
product: string;
promotionCode?: string;
publisher: string;
}

// @public
export interface RecommendedMachineConfiguration {
memory?: ResourceRange;
Expand Down Expand Up @@ -5269,8 +5271,16 @@ export type SecurityEncryptionTypes = string;

// @public
export interface SecurityPostureReference {
excludeExtensions?: VirtualMachineExtension[];
excludeExtensions?: string[];
id: string;
isOverridable?: boolean;
}

// @public
export interface SecurityPostureReferenceUpdate {
excludeExtensions?: string[];
id?: string;
isOverridable?: boolean;
}

// @public
Expand Down Expand Up @@ -5529,7 +5539,7 @@ export interface Snapshot extends Resource {
osType?: OperatingSystemTypes;
readonly provisioningState?: string;
publicNetworkAccess?: PublicNetworkAccess;
purchasePlan?: PurchasePlanAutoGenerated;
purchasePlan?: DiskPurchasePlan;
securityProfile?: DiskSecurityProfile;
sku?: SnapshotSku;
supportedCapabilities?: SupportedCapabilities;
Expand Down Expand Up @@ -7510,6 +7520,7 @@ export interface VirtualMachineScaleSetUpdateVMProfile {
networkProfile?: VirtualMachineScaleSetUpdateNetworkProfile;
osProfile?: VirtualMachineScaleSetUpdateOSProfile;
scheduledEventsProfile?: ScheduledEventsProfile;
securityPostureReference?: SecurityPostureReferenceUpdate;
securityProfile?: SecurityProfile;
storageProfile?: VirtualMachineScaleSetUpdateStorageProfile;
userData?: 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/21.6.1`;
const packageDetails = `azsdk-js-arm-compute/22.0.0`;
const userAgentPrefix =
options.userAgentOptions && options.userAgentOptions.userAgentPrefix
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
Expand Down
Loading