| | 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; |
| | 9 | | using System.Collections.Generic; |
| | 10 | |
|
| | 11 | | namespace Azure.ResourceManager.Compute.Models |
| | 12 | | { |
| | 13 | | /// <summary> Specifies information about the dedicated host. Only tags, autoReplaceOnFailure and licenseType may be |
| | 14 | | public partial class DedicatedHostUpdate : UpdateResource |
| | 15 | | { |
| | 16 | | /// <summary> Initializes a new instance of DedicatedHostUpdate. </summary> |
| 0 | 17 | | public DedicatedHostUpdate() |
| | 18 | | { |
| 0 | 19 | | } |
| | 20 | |
|
| | 21 | | /// <summary> Initializes a new instance of DedicatedHostUpdate. </summary> |
| | 22 | | /// <param name="tags"> Resource tags. </param> |
| | 23 | | /// <param name="platformFaultDomain"> Fault domain of the dedicated host within a dedicated host group. </param |
| | 24 | | /// <param name="autoReplaceOnFailure"> Specifies whether the dedicated host should be replaced automatically in |
| | 25 | | /// <param name="hostId"> A unique id generated and assigned to the dedicated host by the platform. <br>&l |
| | 26 | | /// <param name="virtualMachines"> A list of references to all virtual machines in the Dedicated Host. </param> |
| | 27 | | /// <param name="licenseType"> Specifies the software license type that will be applied to the VMs deployed on t |
| | 28 | | /// <param name="provisioningTime"> The date when the host was first provisioned. </param> |
| | 29 | | /// <param name="provisioningState"> The provisioning state, which only appears in the response. </param> |
| | 30 | | /// <param name="instanceView"> The dedicated host instance view. </param> |
| 0 | 31 | | internal DedicatedHostUpdate(IDictionary<string, string> tags, int? platformFaultDomain, bool? autoReplaceOnFail |
| | 32 | | { |
| 0 | 33 | | PlatformFaultDomain = platformFaultDomain; |
| 0 | 34 | | AutoReplaceOnFailure = autoReplaceOnFailure; |
| 0 | 35 | | HostId = hostId; |
| 0 | 36 | | VirtualMachines = virtualMachines; |
| 0 | 37 | | LicenseType = licenseType; |
| 0 | 38 | | ProvisioningTime = provisioningTime; |
| 0 | 39 | | ProvisioningState = provisioningState; |
| 0 | 40 | | InstanceView = instanceView; |
| 0 | 41 | | } |
| | 42 | |
|
| | 43 | | /// <summary> Fault domain of the dedicated host within a dedicated host group. </summary> |
| 0 | 44 | | public int? PlatformFaultDomain { get; set; } |
| | 45 | | /// <summary> Specifies whether the dedicated host should be replaced automatically in case of a failure. The va |
| 0 | 46 | | public bool? AutoReplaceOnFailure { get; set; } |
| | 47 | | /// <summary> A unique id generated and assigned to the dedicated host by the platform. <br><br> Doe |
| 0 | 48 | | public string HostId { get; } |
| | 49 | | /// <summary> A list of references to all virtual machines in the Dedicated Host. </summary> |
| 0 | 50 | | public IList<SubResourceReadOnly> VirtualMachines { get; } |
| | 51 | | /// <summary> Specifies the software license type that will be applied to the VMs deployed on the dedicated host |
| 0 | 52 | | public DedicatedHostLicenseTypes? LicenseType { get; set; } |
| | 53 | | /// <summary> The date when the host was first provisioned. </summary> |
| 0 | 54 | | public DateTimeOffset? ProvisioningTime { get; } |
| | 55 | | /// <summary> The provisioning state, which only appears in the response. </summary> |
| 0 | 56 | | public string ProvisioningState { get; } |
| | 57 | | /// <summary> The dedicated host instance view. </summary> |
| 0 | 58 | | public DedicatedHostInstanceView InstanceView { get; } |
| | 59 | | } |
| | 60 | | } |