| | 1 | | // Copyright (c) Microsoft Corporation. All rights reserved. |
| | 2 | | // Licensed under the MIT License. |
| | 3 | |
|
| | 4 | | // <auto-generated/> |
| | 5 | |
|
| | 6 | | #nullable disable |
| | 7 | |
|
| | 8 | | using System.Collections.Generic; |
| | 9 | |
|
| | 10 | | namespace Azure.ResourceManager.Compute.Models |
| | 11 | | { |
| | 12 | | /// <summary> Specifies information about the availability set that the virtual machine should be assigned to. Only |
| | 13 | | public partial class AvailabilitySetUpdate : UpdateResource |
| | 14 | | { |
| | 15 | | /// <summary> Initializes a new instance of AvailabilitySetUpdate. </summary> |
| 4 | 16 | | public AvailabilitySetUpdate() |
| | 17 | | { |
| 4 | 18 | | } |
| | 19 | |
|
| | 20 | | /// <summary> Initializes a new instance of AvailabilitySetUpdate. </summary> |
| | 21 | | /// <param name="tags"> Resource tags. </param> |
| | 22 | | /// <param name="sku"> Sku of the availability set. </param> |
| | 23 | | /// <param name="platformUpdateDomainCount"> Update Domain count. </param> |
| | 24 | | /// <param name="platformFaultDomainCount"> Fault Domain count. </param> |
| | 25 | | /// <param name="virtualMachines"> A list of references to all virtual machines in the availability set. </param |
| | 26 | | /// <param name="proximityPlacementGroup"> Specifies information about the proximity placement group that the av |
| | 27 | | /// <param name="statuses"> The resource status information. </param> |
| 0 | 28 | | internal AvailabilitySetUpdate(IDictionary<string, string> tags, Sku sku, int? platformUpdateDomainCount, int? p |
| | 29 | | { |
| 0 | 30 | | Sku = sku; |
| 0 | 31 | | PlatformUpdateDomainCount = platformUpdateDomainCount; |
| 0 | 32 | | PlatformFaultDomainCount = platformFaultDomainCount; |
| 0 | 33 | | VirtualMachines = virtualMachines; |
| 0 | 34 | | ProximityPlacementGroup = proximityPlacementGroup; |
| 0 | 35 | | Statuses = statuses; |
| 0 | 36 | | } |
| | 37 | |
|
| | 38 | | /// <summary> Sku of the availability set. </summary> |
| 0 | 39 | | public Sku Sku { get; set; } |
| | 40 | | /// <summary> Update Domain count. </summary> |
| 0 | 41 | | public int? PlatformUpdateDomainCount { get; set; } |
| | 42 | | /// <summary> Fault Domain count. </summary> |
| 0 | 43 | | public int? PlatformFaultDomainCount { get; set; } |
| | 44 | | /// <summary> A list of references to all virtual machines in the availability set. </summary> |
| 0 | 45 | | public IList<SubResource> VirtualMachines { get; set; } |
| | 46 | | /// <summary> Specifies information about the proximity placement group that the availability set should be assi |
| 0 | 47 | | public SubResource ProximityPlacementGroup { get; set; } |
| | 48 | | /// <summary> The resource status information. </summary> |
| 4 | 49 | | public IList<InstanceViewStatus> Statuses { get; } |
| | 50 | | } |
| | 51 | | } |