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

Large diffs are not rendered by default.

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

## 22.0.1 (Unreleased)

## 22.1.0 (2024-08-09)
### Features Added

### Breaking Changes

### Bugs Fixed

### Other Changes

- Added Interface SkuProfile
- Added Interface SkuProfileVMSize
- Added Type Alias AllocationStrategy
- Added Type Alias ZonalPlatformFaultDomainAlignMode
- Interface AvailabilitySet has a new optional parameter scheduledEventsPolicy
- Interface AvailabilitySetUpdate has a new optional parameter scheduledEventsPolicy
- Interface DiskRestorePoint has a new optional parameter logicalSectorSize
- Interface VirtualMachineScaleSet has a new optional parameter skuProfile
- Interface VirtualMachineScaleSet has a new optional parameter zonalPlatformFaultDomainAlignMode
- Interface VirtualMachineScaleSetUpdate has a new optional parameter skuProfile
- Interface VirtualMachineScaleSetUpdate has a new optional parameter zonalPlatformFaultDomainAlignMode
- Interface VirtualMachineScaleSetUpdate has a new optional parameter zones
- Added Enum KnownAllocationStrategy
- Added Enum KnownZonalPlatformFaultDomainAlignMode


## 22.0.0 (2024-07-16)

### Features Added
Expand Down
6 changes: 3 additions & 3 deletions sdk/compute/arm-compute/_meta.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"commit": "80226f7f13728f3e9b0af96797558a913d19a4a4",
"commit": "ab1dd236ed67abdd235c449b757cc5126230245b",
"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"
"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,13 +3,13 @@
"sdk-type": "mgmt",
"author": "Microsoft Corporation",
"description": "A generated SDK for ComputeManagementClient.",
"version": "22.0.1",
"version": "22.1.0",
"engines": {
"node": ">=18.0.0"
},
"dependencies": {
"@azure/core-lro": "^2.5.4",
"@azure/abort-controller": "^1.0.0",
"@azure/abort-controller": "^2.1.2",
"@azure/core-paging": "^1.2.0",
"@azure/core-client": "^1.7.0",
"@azure/core-auth": "^1.6.0",
Expand All @@ -30,12 +30,12 @@
"devDependencies": {
"@microsoft/api-extractor": "^7.31.1",
"mkdirp": "^3.0.1",
"typescript": "~5.4.5",
"typescript": "~5.5.3",
"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/identity": "^4.2.1",
"@azure-tools/test-recorder": "^3.0.0",
"@azure-tools/test-credential": "^1.1.0",
"mocha": "^10.0.0",
Expand All @@ -45,7 +45,6 @@
"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 @@ -107,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"
}
41 changes: 38 additions & 3 deletions sdk/compute/arm-compute/review/arm-compute.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@

```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 @@ -38,6 +36,9 @@ export interface AdditionalUnattendContent {
// @public
export type AggregatedReplicationState = string;

// @public
export type AllocationStrategy = string;

// @public
export interface AlternativeOption {
type?: AlternativeType;
Expand Down Expand Up @@ -110,6 +111,7 @@ export interface AvailabilitySet extends Resource {
platformFaultDomainCount?: number;
platformUpdateDomainCount?: number;
proximityPlacementGroup?: SubResource;
scheduledEventsPolicy?: ScheduledEventsPolicy;
sku?: Sku;
readonly statuses?: InstanceViewStatus[];
virtualMachines?: SubResource[];
Expand Down Expand Up @@ -201,6 +203,7 @@ export interface AvailabilitySetUpdate extends UpdateResource {
platformFaultDomainCount?: number;
platformUpdateDomainCount?: number;
proximityPlacementGroup?: SubResource;
scheduledEventsPolicy?: ScheduledEventsPolicy;
sku?: Sku;
readonly statuses?: InstanceViewStatus[];
virtualMachines?: SubResource[];
Expand Down Expand Up @@ -1934,6 +1937,7 @@ export interface DiskRestorePoint extends ProxyOnlyResource {
readonly encryption?: Encryption;
readonly familyId?: string;
hyperVGeneration?: HyperVGeneration;
readonly logicalSectorSize?: number;
networkAccessPolicy?: NetworkAccessPolicy;
readonly osType?: OperatingSystemTypes;
publicNetworkAccess?: PublicNetworkAccess;
Expand Down Expand Up @@ -3154,6 +3158,12 @@ export enum KnownAggregatedReplicationState {
Unknown = "Unknown"
}

// @public
export enum KnownAllocationStrategy {
CapacityOptimized = "CapacityOptimized",
LowestPrice = "LowestPrice"
}

// @public
export enum KnownAlternativeType {
None = "None",
Expand Down Expand Up @@ -4047,6 +4057,12 @@ export enum KnownWindowsVMGuestPatchMode {
Manual = "Manual"
}

// @public
export enum KnownZonalPlatformFaultDomainAlignMode {
Aligned = "Aligned",
Unaligned = "Unaligned"
}

// @public
export interface LastPatchInstallationSummary {
readonly error?: ApiError;
Expand Down Expand Up @@ -5518,6 +5534,17 @@ export interface Sku {
tier?: string;
}

// @public
export interface SkuProfile {
allocationStrategy?: AllocationStrategy;
vmSizes?: SkuProfileVMSize[];
}

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

// @public
export interface Snapshot extends Resource {
completionPercent?: number;
Expand Down Expand Up @@ -6788,11 +6815,13 @@ export interface VirtualMachineScaleSet extends Resource {
scheduledEventsPolicy?: ScheduledEventsPolicy;
singlePlacementGroup?: boolean;
sku?: Sku;
skuProfile?: SkuProfile;
spotRestorePolicy?: SpotRestorePolicy;
readonly timeCreated?: Date;
readonly uniqueId?: string;
upgradePolicy?: UpgradePolicy;
virtualMachineProfile?: VirtualMachineScaleSetVMProfile;
zonalPlatformFaultDomainAlignMode?: ZonalPlatformFaultDomainAlignMode;
zoneBalance?: boolean;
zones?: string[];
}
Expand Down Expand Up @@ -7431,9 +7460,12 @@ export interface VirtualMachineScaleSetUpdate extends UpdateResource {
scaleInPolicy?: ScaleInPolicy;
singlePlacementGroup?: boolean;
sku?: Sku;
skuProfile?: SkuProfile;
spotRestorePolicy?: SpotRestorePolicy;
upgradePolicy?: UpgradePolicy;
virtualMachineProfile?: VirtualMachineScaleSetUpdateVMProfile;
zonalPlatformFaultDomainAlignMode?: ZonalPlatformFaultDomainAlignMode;
zones?: string[];
}

// @public
Expand Down Expand Up @@ -8310,7 +8342,7 @@ export interface VMSizeProperties {
export interface WindowsConfiguration {
additionalUnattendContent?: AdditionalUnattendContent[];
enableAutomaticUpdates?: boolean;
enableVMAgentPlatformUpdates?: boolean;
readonly enableVMAgentPlatformUpdates?: boolean;
patchSettings?: PatchSettings;
provisionVMAgent?: boolean;
timeZone?: string;
Expand Down Expand Up @@ -8352,6 +8384,9 @@ export interface WinRMListener {
protocol?: ProtocolTypes;
}

// @public
export type ZonalPlatformFaultDomainAlignMode = string;

// (No @packageDocumentation comment for this package)

```
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.0.1`;
const packageDetails = `azsdk-js-arm-compute/22.1.0`;
const userAgentPrefix =
options.userAgentOptions && options.userAgentOptions.userAgentPrefix
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
Expand Down
Loading