Skip to content
This repository was archived by the owner on May 5, 2023. It is now read-only.
Merged
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 lib/services/computeManagement2/lib/models/accessUri.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class AccessUri {
accessSAS: {
required: false,
readOnly: true,
serializedName: 'properties.output.accessSAS',
serializedName: 'accessSAS',
type: {
name: 'String'
}
Expand Down
14 changes: 7 additions & 7 deletions lib/services/computeManagement2/lib/models/dataDisk.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,13 @@ class DataDisk {
* @member {boolean} [writeAcceleratorEnabled] Specifies whether
* writeAccelerator should be enabled or disabled on the disk.
* @member {string} createOption Specifies how the virtual machine should be
* created.<br><br> Possible values are:<br><br> **Attach** This value is
* used when you are using a specialized disk to create the virtual
* machine.<br><br> **FromImage** This value is used when you are using an
* image to create the virtual machine. If you are using a platform image,
* you also use the imageReference element described above. If you are using
* a marketplace image, you also use the plan element previously described.
* Possible values include: 'FromImage', 'Empty', 'Attach'
* created.<br><br> Possible values are:<br><br> **Attach** \u2013 This value
* is used when you are using a specialized disk to create the virtual
* machine.<br><br> **FromImage** \u2013 This value is used when you are
* using an image to create the virtual machine. If you are using a platform
* image, you also use the imageReference element described above. If you are
* using a marketplace image, you also use the plan element previously
* described. Possible values include: 'FromImage', 'Empty', 'Attach'
* @member {number} [diskSizeGB] Specifies the size of an empty data disk in
* gigabytes. This element can be used to overwrite the name of the disk in a
* virtual machine image. <br><br> This value cannot be larger than 1023 GB
Expand Down
168 changes: 69 additions & 99 deletions lib/services/computeManagement2/lib/models/index.d.ts

Large diffs are not rendered by default.

2 changes: 0 additions & 2 deletions lib/services/computeManagement2/lib/models/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -131,9 +131,7 @@ exports.VirtualMachineHealthStatus = require('./virtualMachineHealthStatus');
exports.VirtualMachineScaleSetVMInstanceView = require('./virtualMachineScaleSetVMInstanceView');
exports.RollingUpgradeRunningStatus = require('./rollingUpgradeRunningStatus');
exports.RollingUpgradeStatusInfo = require('./rollingUpgradeStatusInfo');
exports.ComputeLongRunningOperationProperties = require('./computeLongRunningOperationProperties');
exports.RecoveryWalkResponse = require('./recoveryWalkResponse');
exports.OperationStatusResponse = require('./operationStatusResponse');
exports.LogAnalyticsInputBase = require('./logAnalyticsInputBase');
exports.RequestRateByIntervalInput = require('./requestRateByIntervalInput');
exports.ThrottledRequestsInput = require('./throttledRequestsInput');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,15 @@ const models = require('./index');
/**
* LogAnalytics operation status response
*
* @extends models['OperationStatusResponse']
*/
class LogAnalyticsOperationResult extends models['OperationStatusResponse'] {
class LogAnalyticsOperationResult {
/**
* Create a LogAnalyticsOperationResult.
* @member {object} [properties] LogAnalyticsOutput
* @member {string} [properties.output] Output file Uri path to blob
* container.
*/
constructor() {
super();
}

/**
Expand All @@ -42,47 +40,6 @@ class LogAnalyticsOperationResult extends models['OperationStatusResponse'] {
name: 'Composite',
className: 'LogAnalyticsOperationResult',
modelProperties: {
name: {
required: false,
readOnly: true,
serializedName: 'name',
type: {
name: 'String'
}
},
status: {
required: false,
readOnly: true,
serializedName: 'status',
type: {
name: 'String'
}
},
startTime: {
required: false,
readOnly: true,
serializedName: 'startTime',
type: {
name: 'DateTime'
}
},
endTime: {
required: false,
readOnly: true,
serializedName: 'endTime',
type: {
name: 'DateTime'
}
},
error: {
required: false,
readOnly: true,
serializedName: 'error',
type: {
name: 'Composite',
className: 'ApiError'
}
},
properties: {
required: false,
readOnly: true,
Expand Down
14 changes: 7 additions & 7 deletions lib/services/computeManagement2/lib/models/oSDisk.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,13 +62,13 @@ class OSDisk {
* @member {boolean} [writeAcceleratorEnabled] Specifies whether
* writeAccelerator should be enabled or disabled on the disk.
* @member {string} createOption Specifies how the virtual machine should be
* created.<br><br> Possible values are:<br><br> **Attach** This value is
* used when you are using a specialized disk to create the virtual
* machine.<br><br> **FromImage** This value is used when you are using an
* image to create the virtual machine. If you are using a platform image,
* you also use the imageReference element described above. If you are using
* a marketplace image, you also use the plan element previously described.
* Possible values include: 'FromImage', 'Empty', 'Attach'
* created.<br><br> Possible values are:<br><br> **Attach** \u2013 This value
* is used when you are using a specialized disk to create the virtual
* machine.<br><br> **FromImage** \u2013 This value is used when you are
* using an image to create the virtual machine. If you are using a platform
* image, you also use the imageReference element described above. If you are
* using a marketplace image, you also use the plan element previously
* described. Possible values include: 'FromImage', 'Empty', 'Attach'
* @member {number} [diskSizeGB] Specifies the size of an empty data disk in
* gigabytes. This element can be used to overwrite the name of the disk in a
* virtual machine image. <br><br> This value cannot be larger than 1023 GB
Expand Down
47 changes: 1 addition & 46 deletions lib/services/computeManagement2/lib/models/runCommandResult.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,16 @@

'use strict';

const models = require('./index');

/**
* Run command operation response.
*
* @extends models['OperationStatusResponse']
*/
class RunCommandResult extends models['OperationStatusResponse'] {
class RunCommandResult {
/**
* Create a RunCommandResult.
* @member {object} [output] Operation output data (raw JSON)
*/
constructor() {
super();
}

/**
Expand All @@ -40,47 +36,6 @@ class RunCommandResult extends models['OperationStatusResponse'] {
name: 'Composite',
className: 'RunCommandResult',
modelProperties: {
name: {
required: false,
readOnly: true,
serializedName: 'name',
type: {
name: 'String'
}
},
status: {
required: false,
readOnly: true,
serializedName: 'status',
type: {
name: 'String'
}
},
startTime: {
required: false,
readOnly: true,
serializedName: 'startTime',
type: {
name: 'DateTime'
}
},
endTime: {
required: false,
readOnly: true,
serializedName: 'endTime',
type: {
name: 'DateTime'
}
},
error: {
required: false,
readOnly: true,
serializedName: 'error',
type: {
name: 'Composite',
className: 'ApiError'
}
},
output: {
required: false,
serializedName: 'properties.output',
Expand Down
15 changes: 8 additions & 7 deletions lib/services/computeManagement2/lib/models/storageProfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,13 +80,14 @@ class StorageProfile {
* @member {boolean} [osDisk.writeAcceleratorEnabled] Specifies whether
* writeAccelerator should be enabled or disabled on the disk.
* @member {string} [osDisk.createOption] Specifies how the virtual machine
* should be created.<br><br> Possible values are:<br><br> **Attach** This
* value is used when you are using a specialized disk to create the virtual
* machine.<br><br> **FromImage** This value is used when you are using an
* image to create the virtual machine. If you are using a platform image,
* you also use the imageReference element described above. If you are using
* a marketplace image, you also use the plan element previously described.
* Possible values include: 'FromImage', 'Empty', 'Attach'
* should be created.<br><br> Possible values are:<br><br> **Attach** \u2013
* This value is used when you are using a specialized disk to create the
* virtual machine.<br><br> **FromImage** \u2013 This value is used when you
* are using an image to create the virtual machine. If you are using a
* platform image, you also use the imageReference element described above.
* If you are using a marketplace image, you also use the plan element
* previously described. Possible values include: 'FromImage', 'Empty',
* 'Attach'
* @member {number} [osDisk.diskSizeGB] Specifies the size of an empty data
* disk in gigabytes. This element can be used to overwrite the name of the
* disk in a virtual machine image. <br><br> This value cannot be larger than
Expand Down
14 changes: 7 additions & 7 deletions lib/services/computeManagement2/lib/models/virtualMachine.js
Original file line number Diff line number Diff line change
Expand Up @@ -172,13 +172,13 @@ class VirtualMachine extends models['Resource'] {
* disk.
* @member {string} [storageProfile.osDisk.createOption] Specifies how the
* virtual machine should be created.<br><br> Possible values are:<br><br>
* **Attach** This value is used when you are using a specialized disk to
* create the virtual machine.<br><br> **FromImage** This value is used when
* you are using an image to create the virtual machine. If you are using a
* platform image, you also use the imageReference element described above.
* If you are using a marketplace image, you also use the plan element
* previously described. Possible values include: 'FromImage', 'Empty',
* 'Attach'
* **Attach** \u2013 This value is used when you are using a specialized disk
* to create the virtual machine.<br><br> **FromImage** \u2013 This value is
* used when you are using an image to create the virtual machine. If you are
* using a platform image, you also use the imageReference element described
* above. If you are using a marketplace image, you also use the plan
* element previously described. Possible values include: 'FromImage',
* 'Empty', 'Attach'
* @member {number} [storageProfile.osDisk.diskSizeGB] Specifies the size of
* an empty data disk in gigabytes. This element can be used to overwrite the
* name of the disk in a virtual machine image. <br><br> This value cannot be
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,18 @@
const models = require('./index');

/**
* Resource Id.
* Output of virtual machine capture operation.
*
* @extends models['SubResource']
*/
class VirtualMachineCaptureResult extends models['SubResource'] {
/**
* Create a VirtualMachineCaptureResult.
* @member {object} [output] Operation output data (raw JSON)
* @member {string} [schema] the schema of the captured virtual machine
* @member {string} [contentVersion] the version of the content
* @member {object} [parameters] parameters of the captured virtual machine
* @member {array} [resources] a list of resource items of the captured
* virtual machine
*/
constructor() {
super();
Expand All @@ -47,12 +51,44 @@ class VirtualMachineCaptureResult extends models['SubResource'] {
name: 'String'
}
},
output: {
schema: {
required: false,
serializedName: 'properties.output',
readOnly: true,
serializedName: '$schema',
type: {
name: 'String'
}
},
contentVersion: {
required: false,
readOnly: true,
serializedName: 'contentVersion',
type: {
name: 'String'
}
},
parameters: {
required: false,
readOnly: true,
serializedName: 'parameters',
type: {
name: 'Object'
}
},
resources: {
required: false,
readOnly: true,
serializedName: 'resources',
type: {
name: 'Sequence',
element: {
required: false,
serializedName: 'ObjectElementType',
type: {
name: 'Object'
}
}
}
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -217,11 +217,11 @@ class VirtualMachineScaleSet extends models['Resource'] {
* @member {string}
* [virtualMachineProfile.storageProfile.osDisk.createOption] Specifies how
* the virtual machines in the scale set should be created.<br><br> The only
* allowed value is: **FromImage** This value is used when you are using an
* image to create the virtual machine. If you are using a platform image,
* you also use the imageReference element described above. If you are using
* a marketplace image, you also use the plan element previously described.
* Possible values include: 'FromImage', 'Empty', 'Attach'
* allowed value is: **FromImage** \u2013 This value is used when you are
* using an image to create the virtual machine. If you are using a platform
* image, you also use the imageReference element described above. If you are
* using a marketplace image, you also use the plan element previously
* described. Possible values include: 'FromImage', 'Empty', 'Attach'
* @member {string} [virtualMachineProfile.storageProfile.osDisk.osType] This
* property allows you to specify the type of the OS that is included in the
* disk if creating a VM from user-image or a specialized VHD. <br><br>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@ class VirtualMachineScaleSetOSDisk {
* writeAccelerator should be enabled or disabled on the disk.
* @member {string} createOption Specifies how the virtual machines in the
* scale set should be created.<br><br> The only allowed value is:
* **FromImage** This value is used when you are using an image to create
* the virtual machine. If you are using a platform image, you also use the
* imageReference element described above. If you are using a marketplace
* image, you also use the plan element previously described. Possible
* values include: 'FromImage', 'Empty', 'Attach'
* **FromImage** \u2013 This value is used when you are using an image to
* create the virtual machine. If you are using a platform image, you also
* use the imageReference element described above. If you are using a
* marketplace image, you also use the plan element previously described.
* Possible values include: 'FromImage', 'Empty', 'Attach'
* @member {string} [osType] This property allows you to specify the type of
* the OS that is included in the disk if creating a VM from user-image or a
* specialized VHD. <br><br> Possible values are: <br><br> **Windows**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,11 @@ class VirtualMachineScaleSetStorageProfile {
* writeAccelerator should be enabled or disabled on the disk.
* @member {string} [osDisk.createOption] Specifies how the virtual machines
* in the scale set should be created.<br><br> The only allowed value is:
* **FromImage** This value is used when you are using an image to create
* the virtual machine. If you are using a platform image, you also use the
* imageReference element described above. If you are using a marketplace
* image, you also use the plan element previously described. Possible
* values include: 'FromImage', 'Empty', 'Attach'
* **FromImage** \u2013 This value is used when you are using an image to
* create the virtual machine. If you are using a platform image, you also
* use the imageReference element described above. If you are using a
* marketplace image, you also use the plan element previously described.
* Possible values include: 'FromImage', 'Empty', 'Attach'
* @member {string} [osDisk.osType] This property allows you to specify the
* type of the OS that is included in the disk if creating a VM from
* user-image or a specialized VHD. <br><br> Possible values are: <br><br>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -228,13 +228,13 @@ class VirtualMachineScaleSetVM extends models['Resource'] {
* disk.
* @member {string} [storageProfile.osDisk.createOption] Specifies how the
* virtual machine should be created.<br><br> Possible values are:<br><br>
* **Attach** This value is used when you are using a specialized disk to
* create the virtual machine.<br><br> **FromImage** This value is used when
* you are using an image to create the virtual machine. If you are using a
* platform image, you also use the imageReference element described above.
* If you are using a marketplace image, you also use the plan element
* previously described. Possible values include: 'FromImage', 'Empty',
* 'Attach'
* **Attach** \u2013 This value is used when you are using a specialized disk
* to create the virtual machine.<br><br> **FromImage** \u2013 This value is
* used when you are using an image to create the virtual machine. If you are
* using a platform image, you also use the imageReference element described
* above. If you are using a marketplace image, you also use the plan
* element previously described. Possible values include: 'FromImage',
* 'Empty', 'Attach'
* @member {number} [storageProfile.osDisk.diskSizeGB] Specifies the size of
* an empty data disk in gigabytes. This element can be used to overwrite the
* name of the disk in a virtual machine image. <br><br> This value cannot be
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -132,11 +132,11 @@ class VirtualMachineScaleSetVMProfile {
* disk.
* @member {string} [storageProfile.osDisk.createOption] Specifies how the
* virtual machines in the scale set should be created.<br><br> The only
* allowed value is: **FromImage** This value is used when you are using an
* image to create the virtual machine. If you are using a platform image,
* you also use the imageReference element described above. If you are using
* a marketplace image, you also use the plan element previously described.
* Possible values include: 'FromImage', 'Empty', 'Attach'
* allowed value is: **FromImage** \u2013 This value is used when you are
* using an image to create the virtual machine. If you are using a platform
* image, you also use the imageReference element described above. If you are
* using a marketplace image, you also use the plan element previously
* described. Possible values include: 'FromImage', 'Empty', 'Attach'
* @member {string} [storageProfile.osDisk.osType] This property allows you
* to specify the type of the OS that is included in the disk if creating a
* VM from user-image or a specialized VHD. <br><br> Possible values are:
Expand Down
Loading