Delen via


ArmStoragePoolModelFactory.StoragePoolSkuRestrictionInfo Method

Definition

Initializes a new instance of StoragePoolSkuRestrictionInfo.

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

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

Applies to