Skip to content
This repository has been archived by the owner on May 5, 2023. It is now read-only.

[AutoPR] compute/resource-manager #2710

Merged
24 commits merged into from
Aug 29, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
dbe49ed
[AutoPR compute/resource-manager] Added Eviction Policy Property for …
AutorestCI Apr 9, 2018
11ec702
Generated from 75d27eb3c72fa6b6e0f98ea126576da3f5a31544 (#2730)
AutorestCI Apr 16, 2018
710d70d
Generated from c0def97e9fc1e839db7727fd31c2f583f6cf04d6 (#2811)
AutorestCI Apr 27, 2018
34be009
Generated from 8fe96075f82faeec0c0e316e0dd1a1c0ee77e376 (#2817)
AutorestCI May 2, 2018
6b87dcf
[AutoPR compute/resource-manager] added autoOSUpgradePolicy to Upgrad…
AutorestCI May 8, 2018
ed57cfd
Generated from 7014b952af241255afcf4e2b620cfd40737a3ea1 (#2872)
AutorestCI May 21, 2018
a1b7b7c
[AutoPR compute/resource-manager] Added the swagger file for the new …
AutorestCI May 23, 2018
4618201
Generated from 4abedb1c096796557fdd029401f3d317f99c7f61 (#2925)
AutorestCI May 31, 2018
7a62a96
[AutoPR compute/resource-manager] Fix List VM Extension API name, des…
AutorestCI Jun 2, 2018
89b07b5
Generated from e6bffd723ccdc3308f752ffcd4307bd5f6daf9f6 (#3084)
AutorestCI Jun 30, 2018
81ad60b
Generated from 0a9ee3a2db06dff212c23f80c8b7bf1eec31613a (#3097)
AutorestCI Jul 2, 2018
0f53e9d
Generated from c34f1fdacb2efacd4dccdd69213e83e4800ab76a (#3098)
AutorestCI Jul 3, 2018
837f03b
[AutoPR compute/resource-manager] Update RunCommand operation output …
AutorestCI Jul 10, 2018
c45d285
Generated from 93bfe8fd52fa3907af3496b4d37c6a50655cf8ea (#3157)
AutorestCI Jul 11, 2018
9e15f78
Generated from cb39de62c1bac51455eaf7ad3fbe8ac9ec84df58 (#3165)
AutorestCI Jul 13, 2018
8f94378
Generated from b59db77683f3a9c65d0edec17b5f05e458a68897 (#3187)
AutorestCI Jul 18, 2018
12765d4
Generated from 8f17cd0bc03fad3ed3a5259ec37e9add84ff73a7 (#3205)
AutorestCI Jul 20, 2018
c4f8fd5
Generated from 7ed3085e3f562ce1f1dfecf962672777a73dc4f0 (#3339)
AutorestCI Aug 20, 2018
9def004
Generated from 6d4eda6048d254e21ba07fe1f7f08b06a9935c09 (#3404)
AutorestCI Aug 23, 2018
cbc04dd
Generated from ad08836a41b5c4ea212ffcd06af67ba8eb6a3fdb (#3420)
AutorestCI Aug 24, 2018
e73ed42
Merge branch 'master' into restapi_auto_compute/resource-manager
Aug 29, 2018
27eb298
Regenerate azure-arm-compute
Aug 29, 2018
84bad70
Update azure-arm-compute to 6.0.0
Aug 29, 2018
011620d
Fix compute tests
Aug 29, 2018
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
42 changes: 21 additions & 21 deletions lib/services/computeManagement2/LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
The MIT License (MIT)

Copyright (c) 2018 Microsoft

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
The MIT License (MIT)
Copyright (c) 2018 Microsoft
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,11 @@ export default class ComputeManagementClient extends AzureServiceClient {
*
* @param {boolean} [options.noRetryPolicy] - If set to true, turn off default retry policy
*
* @param {string} [options.acceptLanguage] - Gets or sets the preferred language for the response.
* @param {string} [options.acceptLanguage] - The preferred language for the response.
*
* @param {number} [options.longRunningOperationRetryTimeout] - Gets or sets the retry timeout in seconds for Long Running Operations. Default value is 30.
* @param {number} [options.longRunningOperationRetryTimeout] - The retry timeout in seconds for Long Running Operations. Default value is 30.
*
* @param {boolean} [options.generateClientRequestId] - When set to true a unique x-ms-client-request-id value is generated and included in each request. Default is true.
* @param {boolean} [options.generateClientRequestId] - Whether a unique x-ms-client-request-id should be generated. When set to true a unique x-ms-client-request-id value is generated and included in each request. Default is true.
*
*/
constructor(credentials: ServiceClientCredentials, subscriptionId: string, baseUri?: string, options?: AzureServiceClientOptions);
Expand All @@ -58,11 +58,11 @@ export default class ComputeManagementClient extends AzureServiceClient {
availabilitySets: operations.AvailabilitySets;
virtualMachineExtensionImages: operations.VirtualMachineExtensionImages;
virtualMachineExtensions: operations.VirtualMachineExtensions;
virtualMachines: operations.VirtualMachines;
virtualMachineImages: operations.VirtualMachineImages;
usageOperations: operations.UsageOperations;
virtualMachineSizes: operations.VirtualMachineSizes;
images: operations.Images;
virtualMachines: operations.VirtualMachines;
virtualMachineScaleSets: operations.VirtualMachineScaleSets;
virtualMachineScaleSetExtensions: operations.VirtualMachineScaleSetExtensions;
virtualMachineScaleSetRollingUpgrades: operations.VirtualMachineScaleSetRollingUpgrades;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ class ComputeManagementClient extends ServiceClient {
* @param {object} [options.requestOptions] - Options for the underlying request object
* {@link https://github.com/request/request#requestoptions-callback Options doc}
* @param {boolean} [options.noRetryPolicy] - If set to true, turn off default retry policy
* @param {string} [options.acceptLanguage] - Gets or sets the preferred language for the response.
* @param {number} [options.longRunningOperationRetryTimeout] - Gets or sets the retry timeout in seconds for Long Running Operations. Default value is 30.
* @param {boolean} [options.generateClientRequestId] - When set to true a unique x-ms-client-request-id value is generated and included in each request. Default is true.
* @param {string} [options.acceptLanguage] - The preferred language for the response.
* @param {number} [options.longRunningOperationRetryTimeout] - The retry timeout in seconds for Long Running Operations. Default value is 30.
* @param {boolean} [options.generateClientRequestId] - Whether a unique x-ms-client-request-id should be generated. When set to true a unique x-ms-client-request-id value is generated and included in each request. Default is true.
*/
constructor(credentials, subscriptionId, baseUri, options) {
if (credentials === null || credentials === undefined) {
Expand Down Expand Up @@ -75,11 +75,11 @@ class ComputeManagementClient extends ServiceClient {
this.availabilitySets = new operations.AvailabilitySets(this);
this.virtualMachineExtensionImages = new operations.VirtualMachineExtensionImages(this);
this.virtualMachineExtensions = new operations.VirtualMachineExtensions(this);
this.virtualMachines = new operations.VirtualMachines(this);
this.virtualMachineImages = new operations.VirtualMachineImages(this);
this.usageOperations = new operations.UsageOperations(this);
this.virtualMachineSizes = new operations.VirtualMachineSizes(this);
this.images = new operations.Images(this);
this.virtualMachines = new operations.VirtualMachines(this);
this.virtualMachineScaleSets = new operations.VirtualMachineScaleSets(this);
this.virtualMachineScaleSetExtensions = new operations.VirtualMachineScaleSetExtensions(this);
this.virtualMachineScaleSetRollingUpgrades = new operations.VirtualMachineScaleSetRollingUpgrades(this);
Expand Down
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
2 changes: 0 additions & 2 deletions lib/services/computeManagement2/lib/models/apiError.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@

'use strict';

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

/**
* Api error.
*
Expand Down
53 changes: 53 additions & 0 deletions lib/services/computeManagement2/lib/models/autoOSUpgradePolicy.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is
* regenerated.
*/

'use strict';

/**
* The configuration parameters used for performing automatic OS upgrade.
*
*/
class AutoOSUpgradePolicy {
/**
* Create a AutoOSUpgradePolicy.
* @member {boolean} [disableAutoRollback] Whether OS image rollback feature
* should be disabled. Default value is false.
*/
constructor() {
}

/**
* Defines the metadata of AutoOSUpgradePolicy
*
* @returns {object} metadata of AutoOSUpgradePolicy
*
*/
mapper() {
return {
required: false,
serializedName: 'AutoOSUpgradePolicy',
type: {
name: 'Composite',
className: 'AutoOSUpgradePolicy',
modelProperties: {
disableAutoRollback: {
required: false,
serializedName: 'disableAutoRollback',
type: {
name: 'Boolean'
}
}
}
}
};
}
}

module.exports = AutoOSUpgradePolicy;
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@
class AvailabilitySetListResult extends Array {
/**
* Create a AvailabilitySetListResult.
* @member {string} [nextLink] The URI to fetch the next page of
* AvailabilitySets. Call ListNext() with this URI to fetch the next page of
* AvailabilitySets.
*/
constructor() {
super();
Expand All @@ -36,7 +39,7 @@ class AvailabilitySetListResult extends Array {
className: 'AvailabilitySetListResult',
modelProperties: {
value: {
required: false,
required: true,
serializedName: '',
type: {
name: 'Sequence',
Expand All @@ -49,6 +52,13 @@ class AvailabilitySetListResult extends Array {
}
}
}
},
nextLink: {
required: false,
serializedName: 'nextLink',
type: {
name: 'String'
}
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,7 @@ const models = require('./index');

/**
* Specifies information about the availability set that the virtual machine
* should be assigned to. Virtual machines specified in the same availability
* set are allocated to different nodes to maximize availability. For more
* information about availability sets, see [Manage the availability of virtual
* machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-manage-availability?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).
* <br><br> For more information on Azure planned maintainance, see [Planned
* maintenance for virtual machines in
* Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-planned-maintenance?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)
* <br><br> Currently, a VM can only be added to availability set at creation
* time. An existing VM cannot be added to an availability set.
* should be assigned to. Only tags may be updated.
*
* @extends models['UpdateResource']
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@

'use strict';

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

/**
* Class representing a ContainerServiceDiagnosticsProfile.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@

'use strict';

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

/**
* Profile for Linux VMs in the container service cluster.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@

'use strict';

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

/**
* SSH configuration for Linux-based VMs running on Azure.
*
Expand Down
2 changes: 0 additions & 2 deletions lib/services/computeManagement2/lib/models/creationData.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@

'use strict';

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

/**
* Data used when creating a disk.
*
Expand Down
7 changes: 3 additions & 4 deletions lib/services/computeManagement2/lib/models/dataDisk.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@

'use strict';

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

/**
* Describes a data disk.
*
Expand Down Expand Up @@ -50,8 +48,9 @@ class DataDisk {
* virtual machine image. <br><br> This value cannot be larger than 1023 GB
* @member {object} [managedDisk] The managed disk parameters.
* @member {string} [managedDisk.storageAccountType] Specifies the storage
* account type for the managed disk. Possible values are: Standard_LRS or
* Premium_LRS. Possible values include: 'Standard_LRS', 'Premium_LRS'
* account type for the managed disk. Possible values are: Standard_LRS,
* Premium_LRS, and StandardSSD_LRS. Possible values include: 'Standard_LRS',
* 'Premium_LRS', 'StandardSSD_LRS'
*/
constructor() {
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@

'use strict';

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

/**
* Specifies the boot diagnostic settings state. <br><br>Minimum api-version:
* 2015-06-15.
Expand Down
59 changes: 59 additions & 0 deletions lib/services/computeManagement2/lib/models/disallowed.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is
* regenerated.
*/

'use strict';

/**
* Describes the disallowed disk types.
*
*/
class Disallowed {
/**
* Create a Disallowed.
* @member {array} [diskTypes] A list of disk types.
*/
constructor() {
}

/**
* Defines the metadata of Disallowed
*
* @returns {object} metadata of Disallowed
*
*/
mapper() {
return {
required: false,
serializedName: 'Disallowed',
type: {
name: 'Composite',
className: 'Disallowed',
modelProperties: {
diskTypes: {
required: false,
serializedName: 'diskTypes',
type: {
name: 'Sequence',
element: {
required: false,
serializedName: 'StringElementType',
type: {
name: 'String'
}
}
}
}
}
}
};
}
}

module.exports = Disallowed;
2 changes: 1 addition & 1 deletion lib/services/computeManagement2/lib/models/disk.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class Disk extends models['Resource'] {
* that has the disk attached.
* @member {object} [sku]
* @member {string} [sku.name] The sku name. Possible values include:
* 'Standard_LRS', 'Premium_LRS'
* 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS'
* @member {string} [sku.tier] The sku tier.
* @member {array} [zones] The Logical zone list for Disk.
* @member {date} [timeCreated] The time when the disk was created.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@

'use strict';

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

/**
* Describes a Encryption Settings for a Disk
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@

'use strict';

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

/**
* The instance view of the disk.
*
Expand Down
4 changes: 2 additions & 2 deletions lib/services/computeManagement2/lib/models/diskSku.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@
'use strict';

/**
* The disks sku name. Can be Standard_LRS or Premium_LRS.
* The disks sku name. Can be Standard_LRS, Premium_LRS, or StandardSSD_LRS.
*
*/
class DiskSku {
/**
* Create a DiskSku.
* @member {string} [name] The sku name. Possible values include:
* 'Standard_LRS', 'Premium_LRS'
* 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS'
* @member {string} [tier] The sku tier. Default value: 'Standard' .
*/
constructor() {
Expand Down
Loading