Language

ArmMonitorModelFactory.DataCollectionRuleResourceSku Method

Definition

The SKU of the resource.

public static Azure.ResourceManager.Monitor.Models.DataCollectionRuleResourceSku DataCollectionRuleResourceSku(string name = default, Azure.ResourceManager.Monitor.Models.MonitorSkuTier? tier = default, string size = default, string family = default, int? capacity = default);
static member DataCollectionRuleResourceSku : string * Nullable<Azure.ResourceManager.Monitor.Models.MonitorSkuTier> * string * string * Nullable<int> -> Azure.ResourceManager.Monitor.Models.DataCollectionRuleResourceSku
Public Shared Function DataCollectionRuleResourceSku (Optional name As String = Nothing, Optional tier As Nullable(Of MonitorSkuTier) = Nothing, Optional size As String = Nothing, Optional family As String = Nothing, Optional capacity As Nullable(Of Integer) = Nothing) As DataCollectionRuleResourceSku

Parameters

name
String

The name of the SKU. Ex - P3. It is typically a letter+number code.

tier
Nullable<MonitorSkuTier>

This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.

size
String

The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code.

family
String

If the service has different generations of hardware, for the same SKU, then that can be captured here.

capacity
Nullable<Int32>

If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.

Returns

A new DataCollectionRuleResourceSku instance for mocking.

Applies to