ArmOperationalInsightsModelFactory.OperationalInsightsAvailableServiceTier Method

Definition

Initializes a new instance of OperationalInsightsAvailableServiceTier.

public static Azure.ResourceManager.OperationalInsights.Models.OperationalInsightsAvailableServiceTier OperationalInsightsAvailableServiceTier (Azure.ResourceManager.OperationalInsights.Models.OperationalInsightsSkuName? serviceTier = default, bool? isEnabled = default, long? minimumRetention = default, long? maximumRetention = default, long? defaultRetention = default, long? capacityReservationLevel = default, DateTimeOffset? lastSkuUpdatedOn = default);
static member OperationalInsightsAvailableServiceTier : Nullable<Azure.ResourceManager.OperationalInsights.Models.OperationalInsightsSkuName> * Nullable<bool> * Nullable<int64> * Nullable<int64> * Nullable<int64> * Nullable<int64> * Nullable<DateTimeOffset> -> Azure.ResourceManager.OperationalInsights.Models.OperationalInsightsAvailableServiceTier
Public Shared Function OperationalInsightsAvailableServiceTier (Optional serviceTier As Nullable(Of OperationalInsightsSkuName) = Nothing, Optional isEnabled As Nullable(Of Boolean) = Nothing, Optional minimumRetention As Nullable(Of Long) = Nothing, Optional maximumRetention As Nullable(Of Long) = Nothing, Optional defaultRetention As Nullable(Of Long) = Nothing, Optional capacityReservationLevel As Nullable(Of Long) = Nothing, Optional lastSkuUpdatedOn As Nullable(Of DateTimeOffset) = Nothing) As OperationalInsightsAvailableServiceTier

Parameters

serviceTier
Nullable<OperationalInsightsSkuName>

The name of the Service Tier.

isEnabled
Nullable<Boolean>

True if the Service Tier is enabled for the workspace.

minimumRetention
Nullable<Int64>

The minimum retention for the Service Tier, in days.

maximumRetention
Nullable<Int64>

The maximum retention for the Service Tier, in days.

defaultRetention
Nullable<Int64>

The default retention for the Service Tier, in days.

capacityReservationLevel
Nullable<Int64>

The capacity reservation level in GB per day. Returned for the Capacity Reservation Service Tier.

lastSkuUpdatedOn
Nullable<DateTimeOffset>

Time when the sku was last updated for the workspace. Returned for the Capacity Reservation Service Tier.

Returns

A new OperationalInsightsAvailableServiceTier instance for mocking.

Applies to