Share via


ArmApiManagementModelFactory.ApiManagementSkuRestrictionInfo Method

Definition

Initializes a new instance of ApiManagementSkuRestrictionInfo.

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

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 ApiManagementSkuRestrictionInfo instance for mocking.

Applies to