ArmComputeModelFactory.ComputeResourceSkuRestrictionInfo 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 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
Spolupracujte s námi na GitHubu
Zdroj tohoto obsahu najdete na GitHubu, kde můžete také vytvářet a kontrolovat problémy a žádosti o přijetí změn. Další informace najdete v našem průvodci pro přispěvatele.
Azure SDK for .NET