Compartilhar via


ArmReservationsModelFactory.ReservationCatalog Method

Definition

Initializes a new instance of Azure.ResourceManager.Reservations.Models.ReservationCatalog.

public static Azure.ResourceManager.Reservations.Models.ReservationCatalog ReservationCatalog (string appliedResourceType = default, string skuName = default, System.Collections.Generic.IReadOnlyDictionary<string,System.Collections.Generic.IList<Azure.ResourceManager.Reservations.Models.ReservationBillingPlan>> billingPlans = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Reservations.Models.ReservationTerm> terms = default, System.Collections.Generic.IEnumerable<Azure.Core.AzureLocation> locations = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Reservations.Models.SkuProperty> skuProperties = default, Azure.ResourceManager.Reservations.Models.ReservationCatalogMsrp msrp = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Reservations.Models.SkuRestriction> restrictions = default, string tier = default, string size = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Reservations.Models.SkuCapability> capabilities = default);
static member ReservationCatalog : string * string * System.Collections.Generic.IReadOnlyDictionary<string, System.Collections.Generic.IList<Azure.ResourceManager.Reservations.Models.ReservationBillingPlan>> * seq<Azure.ResourceManager.Reservations.Models.ReservationTerm> * seq<Azure.Core.AzureLocation> * seq<Azure.ResourceManager.Reservations.Models.SkuProperty> * Azure.ResourceManager.Reservations.Models.ReservationCatalogMsrp * seq<Azure.ResourceManager.Reservations.Models.SkuRestriction> * string * string * seq<Azure.ResourceManager.Reservations.Models.SkuCapability> -> Azure.ResourceManager.Reservations.Models.ReservationCatalog
Public Shared Function ReservationCatalog (Optional appliedResourceType As String = Nothing, Optional skuName As String = Nothing, Optional billingPlans As IReadOnlyDictionary(Of String, IList(Of ReservationBillingPlan)) = Nothing, Optional terms As IEnumerable(Of ReservationTerm) = Nothing, Optional locations As IEnumerable(Of AzureLocation) = Nothing, Optional skuProperties As IEnumerable(Of SkuProperty) = Nothing, Optional msrp As ReservationCatalogMsrp = Nothing, Optional restrictions As IEnumerable(Of SkuRestriction) = Nothing, Optional tier As String = Nothing, Optional size As String = Nothing, Optional capabilities As IEnumerable(Of SkuCapability) = Nothing) As ReservationCatalog

Parameters

appliedResourceType
String

The type of resource the sku applies to.

skuName
String

The name of sku.

billingPlans
IReadOnlyDictionary<String,IList<ReservationBillingPlan>>

The billing plan options available for this sku.

terms
IEnumerable<ReservationTerm>

Available reservation terms for this resource.

skuProperties
IEnumerable<SkuProperty>
msrp
ReservationCatalogMsrp

Pricing information about the sku.

restrictions
IEnumerable<SkuRestriction>
tier
String

The tier of this sku.

size
String

The size of this sku.

capabilities
IEnumerable<SkuCapability>

Returns

Azure.ResourceManager.Reservations.Models.ReservationCatalog

A new Azure.ResourceManager.Reservations.Models.ReservationCatalog instance for mocking.

Applies to