ArmGrafanaModelFactory.SubscriptionTerm Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET