Share via


ArmGrafanaModelFactory.SubscriptionTerm Method

Definition

Initializes a new instance of SubscriptionTerm.

public static Azure.ResourceManager.Grafana.Models.SubscriptionTerm SubscriptionTerm (string termUnit = default, DateTimeOffset? startOn = default, DateTimeOffset? endOn = default);
static member SubscriptionTerm : string * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> -> Azure.ResourceManager.Grafana.Models.SubscriptionTerm
Public Shared Function SubscriptionTerm (Optional termUnit As String = Nothing, Optional startOn As Nullable(Of DateTimeOffset) = Nothing, Optional endOn As Nullable(Of DateTimeOffset) = Nothing) As SubscriptionTerm

Parameters

termUnit
String

The unit of the billing term.

startOn
Nullable<DateTimeOffset>

The date and time in UTC of when the billing term starts.

endOn
Nullable<DateTimeOffset>

The date and time in UTC of when the billing term ends.

Returns

A new SubscriptionTerm instance for mocking.

Applies to