Share via


ArmWebPubSubModelFactory.WebPubSubSkuCapacity Method

Definition

Initializes a new instance of WebPubSubSkuCapacity.

public static Azure.ResourceManager.WebPubSub.Models.WebPubSubSkuCapacity WebPubSubSkuCapacity (int? minimum = default, int? maximum = default, int? default = default, System.Collections.Generic.IEnumerable<int> allowedValues = default, Azure.ResourceManager.WebPubSub.Models.WebPubSubScaleType? scaleType = default);
static member WebPubSubSkuCapacity : Nullable<int> * Nullable<int> * Nullable<int> * seq<int> * Nullable<Azure.ResourceManager.WebPubSub.Models.WebPubSubScaleType> -> Azure.ResourceManager.WebPubSub.Models.WebPubSubSkuCapacity
Public Shared Function WebPubSubSkuCapacity (Optional minimum As Nullable(Of Integer) = Nothing, Optional maximum As Nullable(Of Integer) = Nothing, Optional default As Nullable(Of Integer) = Nothing, Optional allowedValues As IEnumerable(Of Integer) = Nothing, Optional scaleType As Nullable(Of WebPubSubScaleType) = Nothing) As WebPubSubSkuCapacity

Parameters

minimum
Nullable<Int32>

The lowest permitted capacity for this resource.

maximum
Nullable<Int32>

The highest permitted capacity for this resource.

default
Nullable<Int32>

The default capacity.

allowedValues
IEnumerable<Int32>

Allows capacity value list.

scaleType
Nullable<WebPubSubScaleType>

The scale type applicable to the sku.

Returns

A new WebPubSubSkuCapacity instance for mocking.

Applies to