CostControlThresholdAction 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.
The supported actions when a threshold is reached.
public readonly struct CostControlThresholdAction : IEquatable<Azure.ResourceManager.CognitiveServices.Models.CostControlThresholdAction>
type CostControlThresholdAction = struct
Public Structure CostControlThresholdAction
Implements IEquatable(Of CostControlThresholdAction)
- Inheritance
-
CostControlThresholdAction
- Implements
Constructors
| Name | Description |
|---|---|
| CostControlThresholdAction(String) |
Initializes a new instance of CostControlThresholdAction. |
Properties
| Name | Description |
|---|---|
| Alert |
Emits a customer-facing alert without blocking requests. |
| Audit |
Legacy read-only action retained to deserialize existing definitions without changing their semantics. |
| Block |
Blocks the request without emitting a customer-facing alert. |
Methods
| Name | Description |
|---|---|
| Equals(CostControlThresholdAction) |
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(CostControlThresholdAction, CostControlThresholdAction) |
Determines if two CostControlThresholdAction values are the same. |
| Implicit(String to CostControlThresholdAction) |
Converts a string to a CostControlThresholdAction. |
| Implicit(String to Nullable<CostControlThresholdAction>) | |
| Inequality(CostControlThresholdAction, CostControlThresholdAction) |
Determines if two CostControlThresholdAction values are not the same. |