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

Large diffs are not rendered by default.

27 changes: 27 additions & 0 deletions sdk/compute/arm-compute/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,32 @@
# Release History

## 21.6.0 (2024-03-21)

**Features**

- Added Interface EventGridAndResourceGraph
- Added Interface ScheduledEventsAdditionalPublishingTargets
- Added Interface ScheduledEventsPolicy
- Added Interface UserInitiatedReboot
- Added Interface UserInitiatedRedeploy
- Added Type Alias ResourceIdOptionsForGetCapacityReservationGroups
- Interface CapacityReservationGroupsListBySubscriptionOptionalParams has a new optional parameter resourceIdsOnly
- Interface DataDisk has a new optional parameter sourceResource
- Interface DataDisksToAttach has a new optional parameter caching
- Interface DataDisksToAttach has a new optional parameter deleteOption
- Interface DataDisksToAttach has a new optional parameter diskEncryptionSet
- Interface DataDisksToAttach has a new optional parameter writeAcceleratorEnabled
- Interface VirtualMachine has a new optional parameter scheduledEventsPolicy
- Interface VirtualMachineScaleSet has a new optional parameter scheduledEventsPolicy
- Interface VirtualMachineScaleSetUpdateOSDisk has a new optional parameter diffDiskSettings
- Interface VirtualMachineScaleSetVMReimageParameters has a new optional parameter forceUpdateOSDiskForEphemeral
- Interface VirtualMachineUpdate has a new optional parameter scheduledEventsPolicy
- Added Enum KnownResourceIdOptionsForGetCapacityReservationGroups
- Enum KnownDiffDiskPlacement has a new value NvmeDisk
- Enum KnownDiskCreateOptionTypes has a new value Copy
- Enum KnownDiskCreateOptionTypes has a new value Restore


## 21.5.0 (2024-03-01)

**Features**
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": "c42fcc06eb3581fd22384936e55288496b66a0d4",
"commit": "a8d49f08d743c942687552635a1092217a2460a0",
"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.17 --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.4",
"use": "@autorest/typescript@6.0.17"
"use": "@autorest/typescript@^6.0.12"
}
15 changes: 3 additions & 12 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.5.0",
"version": "21.6.0",
"engines": {
"node": ">=18.0.0"
},
Expand Down Expand Up @@ -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"
}
53 changes: 52 additions & 1 deletion sdk/compute/arm-compute/review/arm-compute.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -330,6 +330,7 @@ export type CapacityReservationGroupsListBySubscriptionNextResponse = CapacityRe
// @public
export interface CapacityReservationGroupsListBySubscriptionOptionalParams extends coreClient.OperationOptions {
expand?: ExpandTypesForGetCapacityReservationGroups;
resourceIdsOnly?: ResourceIdOptionsForGetCapacityReservationGroups;
}

// @public
Expand Down Expand Up @@ -1248,6 +1249,7 @@ export interface DataDisk {
lun: number;
managedDisk?: ManagedDiskParameters;
name?: string;
sourceResource?: ApiEntityReference;
toBeDetached?: boolean;
vhd?: VirtualHardDisk;
writeAcceleratorEnabled?: boolean;
Expand All @@ -1265,8 +1267,12 @@ export interface DataDiskImageEncryption extends DiskImageEncryption {

// @public
export interface DataDisksToAttach {
caching?: CachingTypes;
deleteOption?: DiskDeleteOptionTypes;
diskEncryptionSet?: DiskEncryptionSetParameters;
diskId: string;
lun?: number;
writeAcceleratorEnabled?: boolean;
}

// @public
Expand Down Expand Up @@ -2193,6 +2199,11 @@ export interface EncryptionSettingsElement {
// @public
export type EncryptionType = string;

// @public
export interface EventGridAndResourceGraph {
enable?: boolean;
}

// @public
export type ExecutionState = string;

Expand Down Expand Up @@ -3223,6 +3234,7 @@ export enum KnownDiffDiskOptions {
// @public
export enum KnownDiffDiskPlacement {
CacheDisk = "CacheDisk",
NvmeDisk = "NvmeDisk",
ResourceDisk = "ResourceDisk"
}

Expand Down Expand Up @@ -3250,8 +3262,10 @@ export enum KnownDiskCreateOption {
// @public
export enum KnownDiskCreateOptionTypes {
Attach = "Attach",
Copy = "Copy",
Empty = "Empty",
FromImage = "FromImage"
FromImage = "FromImage",
Restore = "Restore"
}

// @public
Expand Down Expand Up @@ -3644,6 +3658,13 @@ export enum KnownReplicationStatusTypes {
UefiSettings = "UefiSettings"
}

// @public
export enum KnownResourceIdOptionsForGetCapacityReservationGroups {
All = "All",
CreatedInSubscription = "CreatedInSubscription",
SharedWithSubscription = "SharedWithSubscription"
}

// @public
export enum KnownRestorePointCollectionExpandOptions {
RestorePoints = "restorePoints"
Expand Down Expand Up @@ -4724,6 +4745,9 @@ export interface Resource {
// @public
export type ResourceIdentityType = "SystemAssigned" | "UserAssigned" | "SystemAssigned, UserAssigned" | "None";

// @public
export type ResourceIdOptionsForGetCapacityReservationGroups = string;

// @public
export interface ResourceInstanceViewStatus {
readonly code?: string;
Expand Down Expand Up @@ -5224,6 +5248,18 @@ export interface ScaleInPolicy {
rules?: VirtualMachineScaleSetScaleInRules[];
}

// @public (undocumented)
export interface ScheduledEventsAdditionalPublishingTargets {
eventGridAndResourceGraph?: EventGridAndResourceGraph;
}

// @public
export interface ScheduledEventsPolicy {
scheduledEventsAdditionalPublishingTargets?: ScheduledEventsAdditionalPublishingTargets;
userInitiatedReboot?: UserInitiatedReboot;
userInitiatedRedeploy?: UserInitiatedRedeploy;
}

// @public (undocumented)
export interface ScheduledEventsProfile {
osImageNotificationProfile?: OSImageNotificationProfile;
Expand Down Expand Up @@ -5981,6 +6017,16 @@ export interface UserAssignedIdentitiesValue {
readonly principalId?: string;
}

// @public
export interface UserInitiatedReboot {
automaticallyApprove?: boolean;
}

// @public
export interface UserInitiatedRedeploy {
automaticallyApprove?: boolean;
}

// @public
export interface VaultCertificate {
certificateStore?: string;
Expand Down Expand Up @@ -6025,6 +6071,7 @@ export interface VirtualMachine extends Resource {
readonly provisioningState?: string;
proximityPlacementGroup?: SubResource;
readonly resources?: VirtualMachineExtension[];
scheduledEventsPolicy?: ScheduledEventsPolicy;
scheduledEventsProfile?: ScheduledEventsProfile;
securityProfile?: SecurityProfile;
storageProfile?: StorageProfile;
Expand Down Expand Up @@ -6730,6 +6777,7 @@ export interface VirtualMachineScaleSet extends Resource {
proximityPlacementGroup?: SubResource;
resiliencyPolicy?: ResiliencyPolicy;
scaleInPolicy?: ScaleInPolicy;
scheduledEventsPolicy?: ScheduledEventsPolicy;
singlePlacementGroup?: boolean;
sku?: Sku;
spotRestorePolicy?: SpotRestorePolicy;
Expand Down Expand Up @@ -7420,6 +7468,7 @@ export interface VirtualMachineScaleSetUpdateNetworkProfile {
export interface VirtualMachineScaleSetUpdateOSDisk {
caching?: CachingTypes;
deleteOption?: DiskDeleteOptionTypes;
diffDiskSettings?: DiffDiskSettings;
diskSizeGB?: number;
image?: VirtualHardDisk;
managedDisk?: VirtualMachineScaleSetManagedDiskParameters;
Expand Down Expand Up @@ -7667,6 +7716,7 @@ export interface VirtualMachineScaleSetVMProtectionPolicy {

// @public
export interface VirtualMachineScaleSetVMReimageParameters extends VirtualMachineReimageParameters {
forceUpdateOSDiskForEphemeral?: boolean;
}

// @public
Expand Down Expand Up @@ -8185,6 +8235,7 @@ export interface VirtualMachineUpdate extends UpdateResource {
priority?: VirtualMachinePriorityTypes;
readonly provisioningState?: string;
proximityPlacementGroup?: SubResource;
scheduledEventsPolicy?: ScheduledEventsPolicy;
scheduledEventsProfile?: ScheduledEventsProfile;
securityProfile?: SecurityProfile;
storageProfile?: StorageProfile;
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.5.0`;
const packageDetails = `azsdk-js-arm-compute/21.6.0`;
const userAgentPrefix =
options.userAgentOptions && options.userAgentOptions.userAgentPrefix
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
Expand Down
Loading