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
2 changes: 1 addition & 1 deletion sdk/compute/arm-compute/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"rollup-plugin-sourcemaps": "^0.4.2",
"uglify-js": "^3.6.0"
},
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/compute/arm-compute",
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/compute/arm-compute",
"repository": {
"type": "git",
"url": "https://github.com/Azure/azure-sdk-for-js.git"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,7 @@ export {
SubResource,
SubResourceReadOnly,
SubResourceWithColocationStatus,
SupportedCapabilities,
TargetRegion,
TerminateNotificationProfile,
UefiSettings,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,7 @@ export {
SubResource,
SubResourceReadOnly,
SubResourceWithColocationStatus,
SupportedCapabilities,
TargetRegion,
TerminateNotificationProfile,
UefiSettings,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,7 @@ export {
SubResource,
SubResourceReadOnly,
SubResourceWithColocationStatus,
SupportedCapabilities,
TargetRegion,
TerminateNotificationProfile,
UefiSettings,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,7 @@ export {
SubResource,
SubResourceReadOnly,
SubResourceWithColocationStatus,
SupportedCapabilities,
TargetRegion,
TerminateNotificationProfile,
UefiSettings,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,7 @@ export {
SubResource,
SubResourceReadOnly,
SubResourceWithColocationStatus,
SupportedCapabilities,
TargetRegion,
TerminateNotificationProfile,
UefiSettings,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,7 @@ export {
SubResource,
SubResourceReadOnly,
SubResourceWithColocationStatus,
SupportedCapabilities,
TargetRegion,
TerminateNotificationProfile,
UefiSettings,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,7 @@ export {
SubResource,
SubResourceReadOnly,
SubResourceWithColocationStatus,
SupportedCapabilities,
TargetRegion,
TerminateNotificationProfile,
UefiSettings,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,7 @@ export {
SubResource,
SubResourceReadOnly,
SubResourceWithColocationStatus,
SupportedCapabilities,
TargetRegion,
TerminateNotificationProfile,
UefiSettings,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,7 @@ export {
SubResource,
SubResourceReadOnly,
SubResourceWithColocationStatus,
SupportedCapabilities,
TargetRegion,
TerminateNotificationProfile,
UefiSettings,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,6 @@ export {
GrantAccessData,
InnerError,
ProxyOnlyResource,
PurchasePlan
PurchasePlan,
SupportedCapabilities
} from "../models/mappers";
1 change: 1 addition & 0 deletions sdk/compute/arm-compute/src/models/disksMappers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,7 @@ export {
SubResource,
SubResourceReadOnly,
SubResourceWithColocationStatus,
SupportedCapabilities,
TargetRegion,
TerminateNotificationProfile,
UefiSettings,
Expand Down
1 change: 1 addition & 0 deletions sdk/compute/arm-compute/src/models/galleriesMappers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@ export {
SubResource,
SubResourceReadOnly,
SubResourceWithColocationStatus,
SupportedCapabilities,
TargetRegion,
TerminateNotificationProfile,
UefiSettings,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@ export {
SubResource,
SubResourceReadOnly,
SubResourceWithColocationStatus,
SupportedCapabilities,
TargetRegion,
TerminateNotificationProfile,
UefiSettings,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@ export {
SubResource,
SubResourceReadOnly,
SubResourceWithColocationStatus,
SupportedCapabilities,
TargetRegion,
TerminateNotificationProfile,
UefiSettings,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@ export {
SubResource,
SubResourceReadOnly,
SubResourceWithColocationStatus,
SupportedCapabilities,
TargetRegion,
TerminateNotificationProfile,
UefiSettings,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@ export {
SubResource,
SubResourceReadOnly,
SubResourceWithColocationStatus,
SupportedCapabilities,
TargetRegion,
TerminateNotificationProfile,
UefiSettings,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,7 @@ export {
SubResource,
SubResourceReadOnly,
SubResourceWithColocationStatus,
SupportedCapabilities,
TargetRegion,
TerminateNotificationProfile,
UefiSettings,
Expand Down
1 change: 1 addition & 0 deletions sdk/compute/arm-compute/src/models/imagesMappers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,7 @@ export {
SubResource,
SubResourceReadOnly,
SubResourceWithColocationStatus,
SupportedCapabilities,
TargetRegion,
TerminateNotificationProfile,
UefiSettings,
Expand Down
108 changes: 100 additions & 8 deletions sdk/compute/arm-compute/src/models/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6501,6 +6501,17 @@ export interface DiskSku {
readonly tier?: string;
}

/**
* List of supported capabilities (like accelerated networking) persisted on the disk resource for
* VM use.
*/
export interface SupportedCapabilities {
/**
* True if the image from which the OS disk is created supports accelerated networking.
*/
acceleratedNetwork?: boolean;
}

/**
* The source image used for creating the disk.
*/
Expand All @@ -6522,7 +6533,7 @@ export interface ImageDiskReference {
export interface CreationData {
/**
* This enumerates the possible sources of a disk's creation. Possible values include: 'Empty',
* 'Attach', 'FromImage', 'Import', 'Copy', 'Restore', 'Upload'
* 'Attach', 'FromImage', 'Import', 'Copy', 'Restore', 'Upload', 'CopyStart'
*/
createOption: DiskCreateOption;
/**
Expand Down Expand Up @@ -6732,6 +6743,10 @@ export interface Disk extends Resource {
* 2019-Datacenter, publisher: MicrosoftWindowsServer, product: WindowsServer}
*/
purchasePlan?: PurchasePlan;
/**
* List of supported capabilities for the image from which the OS disk was created.
*/
supportedCapabilities?: SupportedCapabilities;
/**
* Disk source information. CreationData information cannot be changed after the disk has been
* created.
Expand Down Expand Up @@ -6787,7 +6802,7 @@ export interface Disk extends Resource {
diskMBpsReadOnly?: number;
/**
* The state of the disk. Possible values include: 'Unattached', 'Attached', 'Reserved',
* 'ActiveSAS', 'ReadyToUpload', 'ActiveUpload'
* 'Frozen', 'ActiveSAS', 'ActiveSASFrozen', 'ReadyToUpload', 'ActiveUpload'
*/
diskState?: DiskState;
/**
Expand Down Expand Up @@ -6838,6 +6853,15 @@ export interface Disk extends Resource {
* Contains the security related information for the resource.
*/
securityProfile?: DiskSecurityProfile;
/**
* Percentage complete for the background copy when a resource is created via the CopyStart
* operation.
*/
completionPercent?: number;
/**
* Possible values include: 'Enabled', 'Disabled'
*/
publicNetworkAccess?: PublicNetworkAccess;
}

/**
Expand Down Expand Up @@ -6914,6 +6938,10 @@ export interface DiskUpdate {
* Purchase plan information to be added on the OS disk
*/
purchasePlan?: PurchasePlan;
/**
* List of supported capabilities (like accelerated networking) to be added on the OS disk.
*/
supportedCapabilities?: SupportedCapabilities;
/**
* Properties of the disk for which update is pending.
* **NOTE: This property will not be serialized. It can only be populated by the server.**
Expand All @@ -6923,6 +6951,10 @@ export interface DiskUpdate {
* Indicates the OS on a disk supports hibernation.
*/
supportsHibernation?: boolean;
/**
* Possible values include: 'Enabled', 'Disabled'
*/
publicNetworkAccess?: PublicNetworkAccess;
/**
* Resource tags
*/
Expand Down Expand Up @@ -7021,6 +7053,11 @@ export interface Snapshot extends Resource {
* originally created.
*/
purchasePlan?: PurchasePlan;
/**
* List of supported capabilities (like Accelerated Networking) for the image from which the
* source disk from the snapshot was originally created.
*/
supportedCapabilities?: SupportedCapabilities;
/**
* Disk source information. CreationData information cannot be changed after the disk has been
* created.
Expand All @@ -7040,7 +7077,7 @@ export interface Snapshot extends Resource {
readonly diskSizeBytes?: number;
/**
* The state of the snapshot. Possible values include: 'Unattached', 'Attached', 'Reserved',
* 'ActiveSAS', 'ReadyToUpload', 'ActiveUpload'
* 'Frozen', 'ActiveSAS', 'ActiveSASFrozen', 'ReadyToUpload', 'ActiveUpload'
*/
diskState?: DiskState;
/**
Expand Down Expand Up @@ -7080,6 +7117,15 @@ export interface Snapshot extends Resource {
* Indicates the OS on a snapshot supports hibernation.
*/
supportsHibernation?: boolean;
/**
* Possible values include: 'Enabled', 'Disabled'
*/
publicNetworkAccess?: PublicNetworkAccess;
/**
* Percentage complete for the background copy when a resource is created via the CopyStart
* operation.
*/
completionPercent?: number;
}

/**
Expand Down Expand Up @@ -7119,6 +7165,10 @@ export interface SnapshotUpdate {
* Indicates the OS on a snapshot supports hibernation.
*/
supportsHibernation?: boolean;
/**
* Possible values include: 'Enabled', 'Disabled'
*/
publicNetworkAccess?: PublicNetworkAccess;
/**
* Resource tags
*/
Expand Down Expand Up @@ -7189,6 +7239,12 @@ export interface DiskEncryptionSet extends Resource {
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
readonly lastKeyRotationTimestamp?: Date;
/**
* The error that was encountered during auto-key rotation. If an error is present, then auto-key
* rotation will not be attempted until the error on this disk encryption set is fixed.
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
readonly autoKeyRotationError?: ApiError;
}

/**
Expand Down Expand Up @@ -7300,6 +7356,11 @@ export interface DiskAccess extends Resource {
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
readonly timeCreated?: Date;
/**
* The extended location where the disk access will be created. Extended location cannot be
* changed.
*/
extendedLocation?: ExtendedLocation;
}

/**
Expand Down Expand Up @@ -7375,6 +7436,11 @@ export interface DiskRestorePoint extends ProxyOnlyResource {
* Purchase plan information for the the image from which the OS disk was created.
*/
purchasePlan?: PurchasePlan;
/**
* List of supported capabilities (like accelerated networking) for the image from which the OS
* disk was created.
*/
supportedCapabilities?: SupportedCapabilities;
/**
* id of the backing snapshot's MIS family
* **NOTE: This property will not be serialized. It can only be populated by the server.**
Expand All @@ -7395,6 +7461,23 @@ export interface DiskRestorePoint extends ProxyOnlyResource {
* Indicates the OS on a disk supports hibernation.
*/
supportsHibernation?: boolean;
/**
* Possible values include: 'AllowAll', 'AllowPrivate', 'DenyAll'
*/
networkAccessPolicy?: NetworkAccessPolicy;
/**
* Possible values include: 'Enabled', 'Disabled'
*/
publicNetworkAccess?: PublicNetworkAccess;
/**
* ARM id of the DiskAccess resource for using private endpoints on disks.
*/
diskAccessId?: string;
/**
* Percentage complete for the background copy when a resource is created via the CopyStart
* operation.
*/
completionPercent?: number;
}

/**
Expand Down Expand Up @@ -11135,20 +11218,21 @@ export type HyperVGeneration = 'V1' | 'V2';

/**
* Defines values for DiskCreateOption.
* Possible values include: 'Empty', 'Attach', 'FromImage', 'Import', 'Copy', 'Restore', 'Upload'
* Possible values include: 'Empty', 'Attach', 'FromImage', 'Import', 'Copy', 'Restore', 'Upload',
* 'CopyStart'
* @readonly
* @enum {string}
*/
export type DiskCreateOption = 'Empty' | 'Attach' | 'FromImage' | 'Import' | 'Copy' | 'Restore' | 'Upload';
export type DiskCreateOption = 'Empty' | 'Attach' | 'FromImage' | 'Import' | 'Copy' | 'Restore' | 'Upload' | 'CopyStart';

/**
* Defines values for DiskState.
* Possible values include: 'Unattached', 'Attached', 'Reserved', 'ActiveSAS', 'ReadyToUpload',
* 'ActiveUpload'
* Possible values include: 'Unattached', 'Attached', 'Reserved', 'Frozen', 'ActiveSAS',
* 'ActiveSASFrozen', 'ReadyToUpload', 'ActiveUpload'
* @readonly
* @enum {string}
*/
export type DiskState = 'Unattached' | 'Attached' | 'Reserved' | 'ActiveSAS' | 'ReadyToUpload' | 'ActiveUpload';
export type DiskState = 'Unattached' | 'Attached' | 'Reserved' | 'Frozen' | 'ActiveSAS' | 'ActiveSASFrozen' | 'ReadyToUpload' | 'ActiveUpload';

/**
* Defines values for EncryptionType.
Expand All @@ -11175,6 +11259,14 @@ export type NetworkAccessPolicy = 'AllowAll' | 'AllowPrivate' | 'DenyAll';
*/
export type DiskSecurityTypes = 'TrustedLaunch';

/**
* Defines values for PublicNetworkAccess.
* Possible values include: 'Enabled', 'Disabled'
* @readonly
* @enum {string}
*/
export type PublicNetworkAccess = 'Enabled' | 'Disabled';

/**
* Defines values for SnapshotStorageAccountTypes.
* Possible values include: 'Standard_LRS', 'Premium_LRS', 'Standard_ZRS'
Expand Down
Loading