From 39e1a4ef10abaa3ce47f0080482f487200131c33 Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Mon, 10 Dec 2018 22:09:24 +0000 Subject: [PATCH 1/2] Generated from c4a48f49fc7042734e1375fbcd7a6dc2e03f879a Update compute.json Add ProtectFromScaleIn property to VMScaleSetVM properties --- packages/@azure/arm-compute/lib/models/index.ts | 6 ++++++ packages/@azure/arm-compute/lib/models/mappers.ts | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/packages/@azure/arm-compute/lib/models/index.ts b/packages/@azure/arm-compute/lib/models/index.ts index 8b22fc2ccd20..113b9e6220d4 100644 --- a/packages/@azure/arm-compute/lib/models/index.ts +++ b/packages/@azure/arm-compute/lib/models/index.ts @@ -3957,6 +3957,12 @@ export interface VirtualMachineScaleSetVM extends Resource { * the server.** */ readonly latestModelApplied?: boolean; + /** + * @member {boolean} [protectFromScaleIn] Specifies whether the virtual + * machine instance shouldn't be considered for deletion during a scale-in + * operation + */ + protectFromScaleIn?: boolean; /** * @member {string} [vmId] Azure VM unique ID. * **NOTE: This property will not be serialized. It can only be populated by diff --git a/packages/@azure/arm-compute/lib/models/mappers.ts b/packages/@azure/arm-compute/lib/models/mappers.ts index bd863b4de001..573a486be2b5 100644 --- a/packages/@azure/arm-compute/lib/models/mappers.ts +++ b/packages/@azure/arm-compute/lib/models/mappers.ts @@ -4812,6 +4812,12 @@ export const VirtualMachineScaleSetVM: msRest.CompositeMapper = { name: "Boolean" } }, + protectFromScaleIn: { + serializedName: "properties.protectFromScaleIn", + type: { + name: "Boolean" + } + }, vmId: { readOnly: true, serializedName: "properties.vmId", From 652f73ebfe3e1111e964ed7efd9e618d6d0477a9 Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Fri, 1 Feb 2019 22:33:46 +0000 Subject: [PATCH 2/2] Generated from c4a48f49fc7042734e1375fbcd7a6dc2e03f879a Update compute.json Add ProtectFromScaleIn property to VMScaleSetVM properties --- packages/@azure/arm-compute/LICENSE.txt | 2 +- packages/@azure/arm-compute/lib/models/index.ts | 15 ++++++++++----- 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/packages/@azure/arm-compute/LICENSE.txt b/packages/@azure/arm-compute/LICENSE.txt index 5431ba98b936..8f3d856145c5 100644 --- a/packages/@azure/arm-compute/LICENSE.txt +++ b/packages/@azure/arm-compute/LICENSE.txt @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2018 Microsoft +Copyright (c) 2019 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 diff --git a/packages/@azure/arm-compute/lib/models/index.ts b/packages/@azure/arm-compute/lib/models/index.ts index 113b9e6220d4..01706c8588b0 100644 --- a/packages/@azure/arm-compute/lib/models/index.ts +++ b/packages/@azure/arm-compute/lib/models/index.ts @@ -1396,9 +1396,10 @@ export interface VaultSecretGroup { export interface OSProfile { /** * @member {string} [computerName] Specifies the host OS name of the virtual - * machine.

**Max-length (Windows):** 15 characters

- * **Max-length (Linux):** 64 characters.

For naming conventions and - * restrictions see [Azure infrastructure services implementation + * machine.

This name cannot be updated after the VM is created. + *

**Max-length (Windows):** 15 characters

**Max-length + * (Linux):** 64 characters.

For naming conventions and restrictions + * see [Azure infrastructure services implementation * guidelines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-infrastructure-subscription-accounts-guidelines?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json#1-naming-conventions). */ computerName?: string; @@ -4859,13 +4860,17 @@ export interface Disk extends Resource { /** * @member {number} [diskIOPSReadWrite] The number of IOPS allowed for this * disk; only settable for UltraSSD disks. One operation can transfer between - * 4k and 256k bytes. + * 4k and 256k bytes. For a description of the range of values you can set, + * see [Ultra SSD Managed Disk + * Offerings](https://docs.microsoft.com/azure/virtual-machines/windows/disks-ultra-ssd#ultra-ssd-managed-disk-offerings). */ diskIOPSReadWrite?: number; /** * @member {number} [diskMBpsReadWrite] The bandwidth allowed for this disk; * only settable for UltraSSD disks. MBps means millions of bytes per second - * - MB here uses the ISO notation, of powers of 10. + * - MB here uses the ISO notation, of powers of 10. For a description of the + * range of values you can set, see [Ultra SSD Managed Disk + * Offerings](https://docs.microsoft.com/azure/virtual-machines/windows/disks-ultra-ssd#ultra-ssd-managed-disk-offerings). */ diskMBpsReadWrite?: number; }