ArmComputeModelFactory.VirtualMachineScaleSetSku 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 VirtualMachineScaleSetSku.
public static Azure.ResourceManager.Compute.Models.VirtualMachineScaleSetSku VirtualMachineScaleSetSku (Azure.Core.ResourceType? resourceType = default, Azure.ResourceManager.Compute.Models.ComputeSku sku = default, Azure.ResourceManager.Compute.Models.VirtualMachineScaleSetSkuCapacity capacity = default);
static member VirtualMachineScaleSetSku : Nullable<Azure.Core.ResourceType> * Azure.ResourceManager.Compute.Models.ComputeSku * Azure.ResourceManager.Compute.Models.VirtualMachineScaleSetSkuCapacity -> Azure.ResourceManager.Compute.Models.VirtualMachineScaleSetSku
Public Shared Function VirtualMachineScaleSetSku (Optional resourceType As Nullable(Of ResourceType) = Nothing, Optional sku As ComputeSku = Nothing, Optional capacity As VirtualMachineScaleSetSkuCapacity = Nothing) As VirtualMachineScaleSetSku
Parameters
- resourceType
- Nullable<ResourceType>
The type of resource the sku applies to.
- sku
- ComputeSku
The Sku.
- capacity
- VirtualMachineScaleSetSkuCapacity
Specifies the number of virtual machines in the scale set.
Returns
A new VirtualMachineScaleSetSku instance for mocking.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET