ArmComputeModelFactory.DedicatedHostPatch Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of DedicatedHostPatch.
public static Azure.ResourceManager.Compute.Models.DedicatedHostPatch DedicatedHostPatch (System.Collections.Generic.IDictionary<string,string> tags = default, Azure.ResourceManager.Compute.Models.ComputeSku sku = default, int? platformFaultDomain = default, bool? autoReplaceOnFailure = default, string hostId = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Resources.Models.SubResource> virtualMachines = default, Azure.ResourceManager.Compute.Models.DedicatedHostLicenseType? licenseType = default, DateTimeOffset? provisioningOn = default, string provisioningState = default, Azure.ResourceManager.Compute.Models.DedicatedHostInstanceView instanceView = default, DateTimeOffset? timeCreated = default);
static member DedicatedHostPatch : System.Collections.Generic.IDictionary<string, string> * Azure.ResourceManager.Compute.Models.ComputeSku * Nullable<int> * Nullable<bool> * string * seq<Azure.ResourceManager.Resources.Models.SubResource> * Nullable<Azure.ResourceManager.Compute.Models.DedicatedHostLicenseType> * Nullable<DateTimeOffset> * string * Azure.ResourceManager.Compute.Models.DedicatedHostInstanceView * Nullable<DateTimeOffset> -> Azure.ResourceManager.Compute.Models.DedicatedHostPatch
Public Shared Function DedicatedHostPatch (Optional tags As IDictionary(Of String, String) = Nothing, Optional sku As ComputeSku = Nothing, Optional platformFaultDomain As Nullable(Of Integer) = Nothing, Optional autoReplaceOnFailure As Nullable(Of Boolean) = Nothing, Optional hostId As String = Nothing, Optional virtualMachines As IEnumerable(Of SubResource) = Nothing, Optional licenseType As Nullable(Of DedicatedHostLicenseType) = Nothing, Optional provisioningOn As Nullable(Of DateTimeOffset) = Nothing, Optional provisioningState As String = Nothing, Optional instanceView As DedicatedHostInstanceView = Nothing, Optional timeCreated As Nullable(Of DateTimeOffset) = Nothing) As DedicatedHostPatch
Parameters
- tags
- IDictionary<String,String>
Resource tags.
- sku
- ComputeSku
[List all available dedicated host sizes for resizing] (https://docs.microsoft.com/rest/api/compute/dedicated-hosts/listavailablesizes). Resizing can be only used to scale up DedicatedHost. Only name is required to be set.
Fault domain of the dedicated host within a dedicated host group.
Specifies whether the dedicated host should be replaced automatically in case of a failure. The value is defaulted to 'true' when not provided.
- hostId
- String
A unique id generated and assigned to the dedicated host by the platform. Does not change throughout the lifetime of the host.
- virtualMachines
- IEnumerable<SubResource>
A list of references to all virtual machines in the Dedicated Host.
- licenseType
- Nullable<DedicatedHostLicenseType>
Specifies the software license type that will be applied to the VMs deployed on the dedicated host. Possible values are: None, Windows_Server_Hybrid, Windows_Server_Perpetual. The default value is: None..
- provisioningOn
- Nullable<DateTimeOffset>
The date when the host was first provisioned.
- provisioningState
- String
The provisioning state, which only appears in the response.
- instanceView
- DedicatedHostInstanceView
The dedicated host instance view.
- timeCreated
- Nullable<DateTimeOffset>
Specifies the time at which the Dedicated Host resource was created. Minimum api-version: 2021-11-01.
Returns
A new DedicatedHostPatch instance for mocking.
Applies to
Azure SDK for .NET