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

Commit

Permalink
[AutoPR compute/resource-manager] Added Eviction Policy Property for …
Browse files Browse the repository at this point in the history
…VirtualMachineScaleSetVMProfile for version 2017-12-01 (#2705)

* Generated from ab266460a5418919d40261eb06f280da380e771a

comit

* Generated from 57858e7e576c2e84a8ddc038e8e915497b7a2c3d

Changed evictionpolicy modelasstring to true
  • Loading branch information
AutorestCI authored Apr 9, 2018
1 parent 777c7a0 commit dbe49ed
Show file tree
Hide file tree
Showing 7 changed files with 95 additions and 22 deletions.
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.
8 changes: 8 additions & 0 deletions lib/services/computeManagement2/lib/models/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3490,6 +3490,9 @@ export interface VirtualMachineScaleSetExtensionProfile {
* @member {string} [priority] Specifies the priority for the virtual machines
* in the scale set. <br><br>Minimum api-version: 2017-10-30-preview. Possible
* values include: 'Regular', 'Low'
* @member {string} [evictionPolicy] Specifies the eviction policy for virtual
* machines in the low priority scale set. <br><br>Minimum api-version:
* 2017-10-30-preview. Possible values include: 'Deallocate', 'Delete'
*/
export interface VirtualMachineScaleSetVMProfile {
osProfile?: VirtualMachineScaleSetOSProfile;
Expand All @@ -3499,6 +3502,7 @@ export interface VirtualMachineScaleSetVMProfile {
extensionProfile?: VirtualMachineScaleSetExtensionProfile;
licenseType?: string;
priority?: string;
evictionPolicy?: string;
}

/**
Expand Down Expand Up @@ -3874,6 +3878,10 @@ export interface VirtualMachineScaleSetUpdateVMProfile {
* @member {string} [virtualMachineProfile.priority] Specifies the priority for
* the virtual machines in the scale set. <br><br>Minimum api-version:
* 2017-10-30-preview. Possible values include: 'Regular', 'Low'
* @member {string} [virtualMachineProfile.evictionPolicy] Specifies the
* eviction policy for virtual machines in the low priority scale set.
* <br><br>Minimum api-version: 2017-10-30-preview. Possible values include:
* 'Deallocate', 'Delete'
* @member {string} [provisioningState] The provisioning state, which only
* appears in the response.
* @member {boolean} [overprovision] Specifies whether the Virtual Machine
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,10 @@ class VirtualMachineScaleSet extends models['Resource'] {
* @member {string} [virtualMachineProfile.priority] Specifies the priority
* for the virtual machines in the scale set. <br><br>Minimum api-version:
* 2017-10-30-preview. Possible values include: 'Regular', 'Low'
* @member {string} [virtualMachineProfile.evictionPolicy] Specifies the
* eviction policy for virtual machines in the low priority scale set.
* <br><br>Minimum api-version: 2017-10-30-preview. Possible values include:
* 'Deallocate', 'Delete'
* @member {string} [provisioningState] The provisioning state, which only
* appears in the response.
* @member {boolean} [overprovision] Specifies whether the Virtual Machine
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,10 @@ class VirtualMachineScaleSetVMProfile {
* @member {string} [priority] Specifies the priority for the virtual
* machines in the scale set. <br><br>Minimum api-version:
* 2017-10-30-preview. Possible values include: 'Regular', 'Low'
* @member {string} [evictionPolicy] Specifies the eviction policy for
* virtual machines in the low priority scale set. <br><br>Minimum
* api-version: 2017-10-30-preview. Possible values include: 'Deallocate',
* 'Delete'
*/
constructor() {
}
Expand Down Expand Up @@ -270,6 +274,13 @@ class VirtualMachineScaleSetVMProfile {
type: {
name: 'String'
}
},
evictionPolicy: {
required: false,
serializedName: 'evictionPolicy',
type: {
name: 'String'
}
}
}
}
Expand Down
20 changes: 20 additions & 0 deletions lib/services/computeManagement2/lib/operations/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8716,6 +8716,11 @@ export interface VirtualMachineScaleSets {
* priority for the virtual machines in the scale set. <br><br>Minimum
* api-version: 2017-10-30-preview. Possible values include: 'Regular', 'Low'
*
* @param {string} [parameters.virtualMachineProfile.evictionPolicy] Specifies
* the eviction policy for virtual machines in the low priority scale set.
* <br><br>Minimum api-version: 2017-10-30-preview. Possible values include:
* 'Deallocate', 'Delete'
*
* @param {boolean} [parameters.overprovision] Specifies whether the Virtual
* Machine Scale Set should be overprovisioned.
*
Expand Down Expand Up @@ -9124,6 +9129,11 @@ export interface VirtualMachineScaleSets {
* priority for the virtual machines in the scale set. <br><br>Minimum
* api-version: 2017-10-30-preview. Possible values include: 'Regular', 'Low'
*
* @param {string} [parameters.virtualMachineProfile.evictionPolicy] Specifies
* the eviction policy for virtual machines in the low priority scale set.
* <br><br>Minimum api-version: 2017-10-30-preview. Possible values include:
* 'Deallocate', 'Delete'
*
* @param {boolean} [parameters.overprovision] Specifies whether the Virtual
* Machine Scale Set should be overprovisioned.
*
Expand Down Expand Up @@ -11271,6 +11281,11 @@ export interface VirtualMachineScaleSets {
* priority for the virtual machines in the scale set. <br><br>Minimum
* api-version: 2017-10-30-preview. Possible values include: 'Regular', 'Low'
*
* @param {string} [parameters.virtualMachineProfile.evictionPolicy] Specifies
* the eviction policy for virtual machines in the low priority scale set.
* <br><br>Minimum api-version: 2017-10-30-preview. Possible values include:
* 'Deallocate', 'Delete'
*
* @param {boolean} [parameters.overprovision] Specifies whether the Virtual
* Machine Scale Set should be overprovisioned.
*
Expand Down Expand Up @@ -11679,6 +11694,11 @@ export interface VirtualMachineScaleSets {
* priority for the virtual machines in the scale set. <br><br>Minimum
* api-version: 2017-10-30-preview. Possible values include: 'Regular', 'Low'
*
* @param {string} [parameters.virtualMachineProfile.evictionPolicy] Specifies
* the eviction policy for virtual machines in the low priority scale set.
* <br><br>Minimum api-version: 2017-10-30-preview. Possible values include:
* 'Deallocate', 'Delete'
*
* @param {boolean} [parameters.overprovision] Specifies whether the Virtual
* Machine Scale Set should be overprovisioned.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -377,6 +377,11 @@ const WebResource = msRest.WebResource;
* priority for the virtual machines in the scale set. <br><br>Minimum
* api-version: 2017-10-30-preview. Possible values include: 'Regular', 'Low'
*
* @param {string} [parameters.virtualMachineProfile.evictionPolicy] Specifies
* the eviction policy for virtual machines in the low priority scale set.
* <br><br>Minimum api-version: 2017-10-30-preview. Possible values include:
* 'Deallocate', 'Delete'
*
* @param {boolean} [parameters.overprovision] Specifies whether the Virtual
* Machine Scale Set should be overprovisioned.
*
Expand Down Expand Up @@ -2966,6 +2971,11 @@ function _forceRecoveryServiceFabricPlatformUpdateDomainWalk(resourceGroupName,
* priority for the virtual machines in the scale set. <br><br>Minimum
* api-version: 2017-10-30-preview. Possible values include: 'Regular', 'Low'
*
* @param {string} [parameters.virtualMachineProfile.evictionPolicy] Specifies
* the eviction policy for virtual machines in the low priority scale set.
* <br><br>Minimum api-version: 2017-10-30-preview. Possible values include:
* 'Deallocate', 'Delete'
*
* @param {boolean} [parameters.overprovision] Specifies whether the Virtual
* Machine Scale Set should be overprovisioned.
*
Expand Down Expand Up @@ -6298,6 +6308,11 @@ class VirtualMachineScaleSets {
* priority for the virtual machines in the scale set. <br><br>Minimum
* api-version: 2017-10-30-preview. Possible values include: 'Regular', 'Low'
*
* @param {string} [parameters.virtualMachineProfile.evictionPolicy] Specifies
* the eviction policy for virtual machines in the low priority scale set.
* <br><br>Minimum api-version: 2017-10-30-preview. Possible values include:
* 'Deallocate', 'Delete'
*
* @param {boolean} [parameters.overprovision] Specifies whether the Virtual
* Machine Scale Set should be overprovisioned.
*
Expand Down Expand Up @@ -6718,6 +6733,11 @@ class VirtualMachineScaleSets {
* priority for the virtual machines in the scale set. <br><br>Minimum
* api-version: 2017-10-30-preview. Possible values include: 'Regular', 'Low'
*
* @param {string} [parameters.virtualMachineProfile.evictionPolicy] Specifies
* the eviction policy for virtual machines in the low priority scale set.
* <br><br>Minimum api-version: 2017-10-30-preview. Possible values include:
* 'Deallocate', 'Delete'
*
* @param {boolean} [parameters.overprovision] Specifies whether the Virtual
* Machine Scale Set should be overprovisioned.
*
Expand Down Expand Up @@ -9366,6 +9386,11 @@ class VirtualMachineScaleSets {
* priority for the virtual machines in the scale set. <br><br>Minimum
* api-version: 2017-10-30-preview. Possible values include: 'Regular', 'Low'
*
* @param {string} [parameters.virtualMachineProfile.evictionPolicy] Specifies
* the eviction policy for virtual machines in the low priority scale set.
* <br><br>Minimum api-version: 2017-10-30-preview. Possible values include:
* 'Deallocate', 'Delete'
*
* @param {boolean} [parameters.overprovision] Specifies whether the Virtual
* Machine Scale Set should be overprovisioned.
*
Expand Down Expand Up @@ -9786,6 +9811,11 @@ class VirtualMachineScaleSets {
* priority for the virtual machines in the scale set. <br><br>Minimum
* api-version: 2017-10-30-preview. Possible values include: 'Regular', 'Low'
*
* @param {string} [parameters.virtualMachineProfile.evictionPolicy] Specifies
* the eviction policy for virtual machines in the low priority scale set.
* <br><br>Minimum api-version: 2017-10-30-preview. Possible values include:
* 'Deallocate', 'Delete'
*
* @param {boolean} [parameters.overprovision] Specifies whether the Virtual
* Machine Scale Set should be overprovisioned.
*
Expand Down
2 changes: 1 addition & 1 deletion lib/services/computeManagement2/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "ComputeManagementClient Library with typescript type definitions for node",
"version": "5.1.0",
"dependencies": {
"ms-rest": "^2.3.3",
"ms-rest": "^2.3.2",
"ms-rest-azure": "^2.5.5"
},
"keywords": [ "node", "azure" ],
Expand Down

0 comments on commit dbe49ed

Please sign in to comment.