Skip to content
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
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,9 @@ public partial interface IVirtualMachineScaleSetVMsOperations
/// The instance ID of the virtual machine.
/// </param>
/// <param name='tempDisk'>
/// Specifies whether to reimage temp disk. Default value: false.
/// Specifies whether to reimage temp disk. Default value: false. Note:
/// This temp disk reimage parameter is only supported for VM/VMSS with
/// Ephemeral OS disk.
/// </param>
/// <param name='customHeaders'>
/// The headers that will be added to request.
Expand Down Expand Up @@ -431,7 +433,9 @@ public partial interface IVirtualMachineScaleSetVMsOperations
/// The instance ID of the virtual machine.
/// </param>
/// <param name='tempDisk'>
/// Specifies whether to reimage temp disk. Default value: false.
/// Specifies whether to reimage temp disk. Default value: false. Note:
/// This temp disk reimage parameter is only supported for VM/VMSS with
/// Ephemeral OS disk.
/// </param>
/// <param name='customHeaders'>
/// The headers that will be added to request.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -457,7 +457,9 @@ public partial interface IVirtualMachinesOperations
/// The name of the virtual machine.
/// </param>
/// <param name='tempDisk'>
/// Specifies whether to reimage temp disk. Default value: false.
/// Specifies whether to reimage temp disk. Default value: false. Note:
/// This temp disk reimage parameter is only supported for VM/VMSS with
/// Ephemeral OS disk.
/// </param>
/// <param name='customHeaders'>
/// The headers that will be added to request.
Expand Down Expand Up @@ -783,7 +785,9 @@ public partial interface IVirtualMachinesOperations
/// The name of the virtual machine.
/// </param>
/// <param name='tempDisk'>
/// Specifies whether to reimage temp disk. Default value: false.
/// Specifies whether to reimage temp disk. Default value: false. Note:
/// This temp disk reimage parameter is only supported for VM/VMSS with
/// Ephemeral OS disk.
/// </param>
/// <param name='customHeaders'>
/// The headers that will be added to request.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@ public AutomaticOSUpgradePolicy()
/// <param name="enableAutomaticOSUpgrade">Indicates whether OS
/// upgrades should automatically be applied to scale set instances in
/// a rolling fashion when a newer version of the OS image becomes
/// available. Default value is false. If this is set to true for
/// Windows based scale sets, recommendation is to set
/// available. Default value is false. &lt;br&gt;&lt;br&gt; If this is
/// set to true for Windows based scale sets,
/// [enableAutomaticUpdates](https://docs.microsoft.com/dotnet/api/microsoft.azure.management.compute.models.windowsconfiguration.enableautomaticupdates?view=azure-dotnet)
/// to false.</param>
/// is automatically set to false and cannot be set to true.</param>
/// <param name="disableAutomaticRollback">Whether OS image rollback
/// feature should be disabled. Default value is false.</param>
public AutomaticOSUpgradePolicy(bool? enableAutomaticOSUpgrade = default(bool?), bool? disableAutomaticRollback = default(bool?))
Expand All @@ -54,10 +54,10 @@ public AutomaticOSUpgradePolicy()
/// Gets or sets indicates whether OS upgrades should automatically be
/// applied to scale set instances in a rolling fashion when a newer
/// version of the OS image becomes available. Default value is false.
/// If this is set to true for Windows based scale sets, recommendation
/// is to set
/// &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; If this is set to true for
/// Windows based scale sets,
/// [enableAutomaticUpdates](https://docs.microsoft.com/dotnet/api/microsoft.azure.management.compute.models.windowsconfiguration.enableautomaticupdates?view=azure-dotnet)
/// to false.
/// is automatically set to false and cannot be set to true.
/// </summary>
[JsonProperty(PropertyName = "enableAutomaticOSUpgrade")]
public bool? EnableAutomaticOSUpgrade { get; set; }
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
// <auto-generated>
// 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.
// </auto-generated>

namespace Microsoft.Azure.Management.Compute.Models
{

/// <summary>
/// Defines values for HyperVGenerationType.
/// </summary>
public static class HyperVGenerationType
{
public const string V1 = "V1";
public const string V2 = "V2";
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,10 @@ public ProximityPlacementGroup()
/// <param name="tags">Resource tags</param>
/// <param name="proximityPlacementGroupType">Specifies the type of the
/// proximity placement group. &lt;br&gt;&lt;br&gt; Possible values
/// are: &lt;br&gt;&lt;br&gt; **Standard** &lt;br&gt;&lt;br&gt;
/// **Ultra**. Possible values include: 'Standard', 'Ultra'</param>
/// are: &lt;br&gt;&lt;br&gt; **Standard** : Co-locate resources within
/// an Azure region or Availability Zone. &lt;br&gt;&lt;br&gt;
/// **Ultra** : For future use. Possible values include: 'Standard',
/// 'Ultra'</param>
/// <param name="virtualMachines">A list of references to all virtual
/// machines in the proximity placement group.</param>
/// <param name="virtualMachineScaleSets">A list of references to all
Expand All @@ -68,9 +70,10 @@ public ProximityPlacementGroup()
/// <summary>
/// Gets or sets specifies the type of the proximity placement group.
/// &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; Possible values are:
/// &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; **Standard**
/// &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; **Ultra**. Possible values
/// include: 'Standard', 'Ultra'
/// &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; **Standard** : Co-locate
/// resources within an Azure region or Availability Zone.
/// &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; **Ultra** : For future use.
/// Possible values include: 'Standard', 'Ultra'
/// </summary>
[JsonProperty(PropertyName = "properties.proximityPlacementGroupType")]
public string ProximityPlacementGroupType { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ public VirtualMachineInstanceView()
/// machine.</param>
/// <param name="osVersion">The version of Operating System running on
/// the virtual machine.</param>
/// <param name="hyperVGeneration">Specifies the HyperVGeneration Type
/// associated with a resource. Possible values include: 'V1',
/// 'V2'</param>
/// <param name="rdpThumbPrint">The Remote desktop certificate
/// thumbprint.</param>
/// <param name="vmAgent">The VM Agent running on the virtual
Expand All @@ -55,13 +58,14 @@ public VirtualMachineInstanceView()
/// output of your console log. &lt;br&gt;&lt;br&gt; Azure also enables
/// you to see a screenshot of the VM from the hypervisor.</param>
/// <param name="statuses">The resource status information.</param>
public VirtualMachineInstanceView(int? platformUpdateDomain = default(int?), int? platformFaultDomain = default(int?), string computerName = default(string), string osName = default(string), string osVersion = default(string), string rdpThumbPrint = default(string), VirtualMachineAgentInstanceView vmAgent = default(VirtualMachineAgentInstanceView), MaintenanceRedeployStatus maintenanceRedeployStatus = default(MaintenanceRedeployStatus), IList<DiskInstanceView> disks = default(IList<DiskInstanceView>), IList<VirtualMachineExtensionInstanceView> extensions = default(IList<VirtualMachineExtensionInstanceView>), BootDiagnosticsInstanceView bootDiagnostics = default(BootDiagnosticsInstanceView), IList<InstanceViewStatus> statuses = default(IList<InstanceViewStatus>))
public VirtualMachineInstanceView(int? platformUpdateDomain = default(int?), int? platformFaultDomain = default(int?), string computerName = default(string), string osName = default(string), string osVersion = default(string), string hyperVGeneration = default(string), string rdpThumbPrint = default(string), VirtualMachineAgentInstanceView vmAgent = default(VirtualMachineAgentInstanceView), MaintenanceRedeployStatus maintenanceRedeployStatus = default(MaintenanceRedeployStatus), IList<DiskInstanceView> disks = default(IList<DiskInstanceView>), IList<VirtualMachineExtensionInstanceView> extensions = default(IList<VirtualMachineExtensionInstanceView>), BootDiagnosticsInstanceView bootDiagnostics = default(BootDiagnosticsInstanceView), IList<InstanceViewStatus> statuses = default(IList<InstanceViewStatus>))
{
PlatformUpdateDomain = platformUpdateDomain;
PlatformFaultDomain = platformFaultDomain;
ComputerName = computerName;
OsName = osName;
OsVersion = osVersion;
HyperVGeneration = hyperVGeneration;
RdpThumbPrint = rdpThumbPrint;
VmAgent = vmAgent;
MaintenanceRedeployStatus = maintenanceRedeployStatus;
Expand Down Expand Up @@ -108,6 +112,13 @@ public VirtualMachineInstanceView()
[JsonProperty(PropertyName = "osVersion")]
public string OsVersion { get; set; }

/// <summary>
/// Gets or sets specifies the HyperVGeneration Type associated with a
/// resource. Possible values include: 'V1', 'V2'
/// </summary>
[JsonProperty(PropertyName = "hyperVGeneration")]
public string HyperVGeneration { get; set; }

/// <summary>
/// Gets or sets the Remote desktop certificate thumbprint.
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ public VirtualMachineReimageParameters()
/// class.
/// </summary>
/// <param name="tempDisk">Specifies whether to reimage temp disk.
/// Default value: false.</param>
/// Default value: false. Note: This temp disk reimage parameter is
/// only supported for VM/VMSS with Ephemeral OS disk.</param>
public VirtualMachineReimageParameters(bool? tempDisk = default(bool?))
{
TempDisk = tempDisk;
Expand All @@ -47,7 +48,8 @@ public VirtualMachineReimageParameters()

/// <summary>
/// Gets or sets specifies whether to reimage temp disk. Default value:
/// false.
/// false. Note: This temp disk reimage parameter is only supported for
/// VM/VMSS with Ephemeral OS disk.
/// </summary>
[JsonProperty(PropertyName = "tempDisk")]
public bool? TempDisk { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ public VirtualMachineScaleSetReimageParameters()
/// VirtualMachineScaleSetReimageParameters class.
/// </summary>
/// <param name="tempDisk">Specifies whether to reimage temp disk.
/// Default value: false.</param>
/// Default value: false. Note: This temp disk reimage parameter is
/// only supported for VM/VMSS with Ephemeral OS disk.</param>
/// <param name="instanceIds">The virtual machine scale set instance
/// ids. Omitting the virtual machine scale set instance ids will
/// result in the operation being performed on all virtual machines in
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ public VirtualMachineScaleSetVMReimageParameters()
/// VirtualMachineScaleSetVMReimageParameters class.
/// </summary>
/// <param name="tempDisk">Specifies whether to reimage temp disk.
/// Default value: false.</param>
/// Default value: false. Note: This temp disk reimage parameter is
/// only supported for VM/VMSS with Ephemeral OS disk.</param>
public VirtualMachineScaleSetVMReimageParameters(bool? tempDisk = default(bool?))
: base(tempDisk)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@ public WindowsConfiguration()
/// request body, default behavior is to set it to true. This will
/// ensure that VM Agent is installed on the VM so that extensions can
/// be added to the VM later.</param>
/// <param name="enableAutomaticUpdates">Indicates whether virtual
/// machine is enabled for automatic Windows updates. Default value is
/// true. &lt;br&gt;&lt;br&gt; For virtual machine scale sets, this
/// <param name="enableAutomaticUpdates">Indicates whether Automatic
/// Updates is enabled for the Windows virtual machine. Default value
/// is true. &lt;br&gt;&lt;br&gt; For virtual machine scale sets, this
/// property can be updated and updates will take effect on OS
/// reprovisioning.</param>
/// <param name="timeZone">Specifies the time zone of the virtual
Expand Down Expand Up @@ -76,8 +76,8 @@ public WindowsConfiguration()
public bool? ProvisionVMAgent { get; set; }

/// <summary>
/// Gets or sets indicates whether virtual machine is enabled for
/// automatic Windows updates. Default value is true.
/// Gets or sets indicates whether Automatic Updates is enabled for the
/// Windows virtual machine. Default value is true.
/// &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; For virtual machine scale
/// sets, this property can be updated and updates will take effect on
/// OS reprovisioning.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,9 @@ internal VirtualMachineScaleSetVMsOperations(ComputeManagementClient client)
/// The instance ID of the virtual machine.
/// </param>
/// <param name='tempDisk'>
/// Specifies whether to reimage temp disk. Default value: false.
/// Specifies whether to reimage temp disk. Default value: false. Note: This
/// temp disk reimage parameter is only supported for VM/VMSS with Ephemeral OS
/// disk.
/// </param>
/// <param name='customHeaders'>
/// The headers that will be added to request.
Expand Down Expand Up @@ -982,7 +984,9 @@ internal VirtualMachineScaleSetVMsOperations(ComputeManagementClient client)
/// The instance ID of the virtual machine.
/// </param>
/// <param name='tempDisk'>
/// Specifies whether to reimage temp disk. Default value: false.
/// Specifies whether to reimage temp disk. Default value: false. Note: This
/// temp disk reimage parameter is only supported for VM/VMSS with Ephemeral OS
/// disk.
/// </param>
/// <param name='customHeaders'>
/// Headers that will be added to request.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,9 @@ public static partial class VirtualMachineScaleSetVMsOperationsExtensions
/// The instance ID of the virtual machine.
/// </param>
/// <param name='tempDisk'>
/// Specifies whether to reimage temp disk. Default value: false.
/// Specifies whether to reimage temp disk. Default value: false. Note: This
/// temp disk reimage parameter is only supported for VM/VMSS with Ephemeral OS
/// disk.
/// </param>
public static void Reimage(this IVirtualMachineScaleSetVMsOperations operations, string resourceGroupName, string vmScaleSetName, string instanceId, bool? tempDisk = default(bool?))
{
Expand All @@ -63,7 +65,9 @@ public static partial class VirtualMachineScaleSetVMsOperationsExtensions
/// The instance ID of the virtual machine.
/// </param>
/// <param name='tempDisk'>
/// Specifies whether to reimage temp disk. Default value: false.
/// Specifies whether to reimage temp disk. Default value: false. Note: This
/// temp disk reimage parameter is only supported for VM/VMSS with Ephemeral OS
/// disk.
/// </param>
/// <param name='cancellationToken'>
/// The cancellation token.
Expand Down Expand Up @@ -706,7 +710,9 @@ public static RunCommandResult RunCommand(this IVirtualMachineScaleSetVMsOperati
/// The instance ID of the virtual machine.
/// </param>
/// <param name='tempDisk'>
/// Specifies whether to reimage temp disk. Default value: false.
/// Specifies whether to reimage temp disk. Default value: false. Note: This
/// temp disk reimage parameter is only supported for VM/VMSS with Ephemeral OS
/// disk.
/// </param>
public static void BeginReimage(this IVirtualMachineScaleSetVMsOperations operations, string resourceGroupName, string vmScaleSetName, string instanceId, bool? tempDisk = default(bool?))
{
Expand All @@ -730,7 +736,9 @@ public static RunCommandResult RunCommand(this IVirtualMachineScaleSetVMsOperati
/// The instance ID of the virtual machine.
/// </param>
/// <param name='tempDisk'>
/// Specifies whether to reimage temp disk. Default value: false.
/// Specifies whether to reimage temp disk. Default value: false. Note: This
/// temp disk reimage parameter is only supported for VM/VMSS with Ephemeral OS
/// disk.
/// </param>
/// <param name='cancellationToken'>
/// The cancellation token.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1622,7 +1622,9 @@ internal VirtualMachinesOperations(ComputeManagementClient client)
/// The name of the virtual machine.
/// </param>
/// <param name='tempDisk'>
/// Specifies whether to reimage temp disk. Default value: false.
/// Specifies whether to reimage temp disk. Default value: false. Note: This
/// temp disk reimage parameter is only supported for VM/VMSS with Ephemeral OS
/// disk.
/// </param>
/// <param name='customHeaders'>
/// The headers that will be added to request.
Expand Down Expand Up @@ -3589,7 +3591,9 @@ internal VirtualMachinesOperations(ComputeManagementClient client)
/// The name of the virtual machine.
/// </param>
/// <param name='tempDisk'>
/// Specifies whether to reimage temp disk. Default value: false.
/// Specifies whether to reimage temp disk. Default value: false. Note: This
/// temp disk reimage parameter is only supported for VM/VMSS with Ephemeral OS
/// disk.
/// </param>
/// <param name='customHeaders'>
/// Headers that will be added to request.
Expand Down
Loading