Delen via


ArmComputeModelFactory.ComputeResourceSkuLocationInfo Method

Definition

Initializes a new instance of ComputeResourceSkuLocationInfo.

public static Azure.ResourceManager.Compute.Models.ComputeResourceSkuLocationInfo ComputeResourceSkuLocationInfo (Azure.Core.AzureLocation? location = default, System.Collections.Generic.IEnumerable<string> zones = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Compute.Models.ComputeResourceSkuZoneDetails> zoneDetails = default, System.Collections.Generic.IEnumerable<string> extendedLocations = default, Azure.ResourceManager.Resources.Models.ExtendedLocationType? extendedLocationType = default);
static member ComputeResourceSkuLocationInfo : Nullable<Azure.Core.AzureLocation> * seq<string> * seq<Azure.ResourceManager.Compute.Models.ComputeResourceSkuZoneDetails> * seq<string> * Nullable<Azure.ResourceManager.Resources.Models.ExtendedLocationType> -> Azure.ResourceManager.Compute.Models.ComputeResourceSkuLocationInfo
Public Shared Function ComputeResourceSkuLocationInfo (Optional location As Nullable(Of AzureLocation) = Nothing, Optional zones As IEnumerable(Of String) = Nothing, Optional zoneDetails As IEnumerable(Of ComputeResourceSkuZoneDetails) = Nothing, Optional extendedLocations As IEnumerable(Of String) = Nothing, Optional extendedLocationType As Nullable(Of ExtendedLocationType) = Nothing) As ComputeResourceSkuLocationInfo

Parameters

location
Nullable<AzureLocation>

Location of the SKU.

zones
IEnumerable<String>

List of availability zones where the SKU is supported.

zoneDetails
IEnumerable<ComputeResourceSkuZoneDetails>

Details of capabilities available to a SKU in specific zones.

extendedLocations
IEnumerable<String>

The names of extended locations.

extendedLocationType
Nullable<ExtendedLocationType>

The type of the extended location.

Returns

A new ComputeResourceSkuLocationInfo instance for mocking.

Applies to