Share via


ArmComputeModelFactory.ComputeResourceSkuRestrictionInfo Method

Definition

Initializes a new instance of ComputeResourceSkuRestrictionInfo.

public static Azure.ResourceManager.Compute.Models.ComputeResourceSkuRestrictionInfo ComputeResourceSkuRestrictionInfo (System.Collections.Generic.IEnumerable<Azure.Core.AzureLocation> locations = default, System.Collections.Generic.IEnumerable<string> zones = default);
static member ComputeResourceSkuRestrictionInfo : seq<Azure.Core.AzureLocation> * seq<string> -> Azure.ResourceManager.Compute.Models.ComputeResourceSkuRestrictionInfo
Public Shared Function ComputeResourceSkuRestrictionInfo (Optional locations As IEnumerable(Of AzureLocation) = Nothing, Optional zones As IEnumerable(Of String) = Nothing) As ComputeResourceSkuRestrictionInfo

Parameters

locations
IEnumerable<AzureLocation>

Locations where the SKU is restricted.

zones
IEnumerable<String>

List of availability zones where the SKU is restricted.

Returns

A new ComputeResourceSkuRestrictionInfo instance for mocking.

Applies to