CostControlPeriod Struct
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.
Calendar-aligned UTC renewal periods, including legacy values retained for read compatibility.
public readonly struct CostControlPeriod : IEquatable<Azure.ResourceManager.CognitiveServices.Models.CostControlPeriod>
type CostControlPeriod = struct
Public Structure CostControlPeriod
Implements IEquatable(Of CostControlPeriod)
- Inheritance
-
CostControlPeriod
- Implements
Constructors
| Name | Description |
|---|---|
| CostControlPeriod(String) |
Initializes a new instance of CostControlPeriod. |
Properties
| Name | Description |
|---|---|
| Day |
Renews daily at 00:00 UTC. |
| Hour |
Legacy read-only period renewing at the start of the next UTC hour. |
| Minute |
Legacy read-only period renewing at the start of the next UTC minute. |
| Month |
Renews on the first day of each month at 00:00 UTC. |
| Week |
Renews Monday at 00:00 UTC. |
| Year |
Legacy read-only period renewing January 1 at 00:00 UTC. |
Methods
| Name | Description |
|---|---|
| Equals(CostControlPeriod) |
Indicates whether the current object is equal to another object of the same type. |
| ToString() |
Returns the fully qualified type name of this instance. |
Operators
| Name | Description |
|---|---|
| Equality(CostControlPeriod, CostControlPeriod) |
Determines if two CostControlPeriod values are the same. |
| Implicit(String to CostControlPeriod) |
Converts a string to a CostControlPeriod. |
| Implicit(String to Nullable<CostControlPeriod>) | |
| Inequality(CostControlPeriod, CostControlPeriod) |
Determines if two CostControlPeriod values are not the same. |