ArmCognitiveServicesModelFactory.CommitmentPeriod 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 CommitmentPeriod.
public static Azure.ResourceManager.CognitiveServices.Models.CommitmentPeriod CommitmentPeriod (string tier = default, int? count = default, Azure.ResourceManager.CognitiveServices.Models.CommitmentQuota quota = default, DateTimeOffset? startOn = default, DateTimeOffset? endOn = default);
static member CommitmentPeriod : string * Nullable<int> * Azure.ResourceManager.CognitiveServices.Models.CommitmentQuota * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> -> Azure.ResourceManager.CognitiveServices.Models.CommitmentPeriod
Public Shared Function CommitmentPeriod (Optional tier As String = Nothing, Optional count As Nullable(Of Integer) = Nothing, Optional quota As CommitmentQuota = Nothing, Optional startOn As Nullable(Of DateTimeOffset) = Nothing, Optional endOn As Nullable(Of DateTimeOffset) = Nothing) As CommitmentPeriod
Parameters
- tier
- String
Commitment period commitment tier.
- quota
- CommitmentQuota
Cognitive Services account commitment quota.
- startOn
- Nullable<DateTimeOffset>
Commitment period start date.
- endOn
- Nullable<DateTimeOffset>
Commitment period end date.
Returns
A new CommitmentPeriod 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