共用方式為


ArmAppPlatformModelFactory.AppPlatformSkuRestrictionInfo Method

Definition

Initializes a new instance of AppPlatformSkuRestrictionInfo.

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

Parameters

locations
IEnumerable<AzureLocation>

Gets locations where the SKU is restricted.

zones
IEnumerable<String>

Gets list of availability zones where the SKU is restricted.

Returns

A new AppPlatformSkuRestrictionInfo instance for mocking.

Applies to