ArmComputeModelFactory.AvailabilitySetPatch 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 AvailabilitySetPatch.
public static Azure.ResourceManager.Compute.Models.AvailabilitySetPatch AvailabilitySetPatch (System.Collections.Generic.IDictionary<string,string> tags = default, Azure.ResourceManager.Compute.Models.ComputeSku sku = default, int? platformUpdateDomainCount = default, int? platformFaultDomainCount = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Resources.Models.WritableSubResource> virtualMachines = default, Azure.Core.ResourceIdentifier proximityPlacementGroupId = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Compute.Models.InstanceViewStatus> statuses = default, Azure.ResourceManager.Compute.Models.ScheduledEventsPolicy scheduledEventsPolicy = default);
static member AvailabilitySetPatch : System.Collections.Generic.IDictionary<string, string> * Azure.ResourceManager.Compute.Models.ComputeSku * Nullable<int> * Nullable<int> * seq<Azure.ResourceManager.Resources.Models.WritableSubResource> * Azure.Core.ResourceIdentifier * seq<Azure.ResourceManager.Compute.Models.InstanceViewStatus> * Azure.ResourceManager.Compute.Models.ScheduledEventsPolicy -> Azure.ResourceManager.Compute.Models.AvailabilitySetPatch
Public Shared Function AvailabilitySetPatch (Optional tags As IDictionary(Of String, String) = Nothing, Optional sku As ComputeSku = Nothing, Optional platformUpdateDomainCount As Nullable(Of Integer) = Nothing, Optional platformFaultDomainCount As Nullable(Of Integer) = Nothing, Optional virtualMachines As IEnumerable(Of WritableSubResource) = Nothing, Optional proximityPlacementGroupId As ResourceIdentifier = Nothing, Optional statuses As IEnumerable(Of InstanceViewStatus) = Nothing, Optional scheduledEventsPolicy As ScheduledEventsPolicy = Nothing) As AvailabilitySetPatch
Parameters
- tags
- IDictionary<String,String>
Resource tags.
- sku
- ComputeSku
Sku of the availability set.
- virtualMachines
- IEnumerable<WritableSubResource>
A list of references to all virtual machines in the availability set.
- proximityPlacementGroupId
- ResourceIdentifier
Specifies information about the proximity placement group that the availability set should be assigned to. Minimum api-version: 2018-04-01.
- statuses
- IEnumerable<InstanceViewStatus>
The resource status information.
- scheduledEventsPolicy
- ScheduledEventsPolicy
Specifies Redeploy, Reboot and ScheduledEventsAdditionalPublishingTargets Scheduled Event related configurations for the availability set.
Returns
A new AvailabilitySetPatch instance for mocking.
Applies to
Azure SDK for .NET