ArmCognitiveServicesModelFactory.AbusePenalty 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 AbusePenalty.
public static Azure.ResourceManager.CognitiveServices.Models.AbusePenalty AbusePenalty (Azure.ResourceManager.CognitiveServices.Models.AbusePenaltyAction? action = default, float? rateLimitPercentage = default, DateTimeOffset? expiration = default);
static member AbusePenalty : Nullable<Azure.ResourceManager.CognitiveServices.Models.AbusePenaltyAction> * Nullable<single> * Nullable<DateTimeOffset> -> Azure.ResourceManager.CognitiveServices.Models.AbusePenalty
Public Shared Function AbusePenalty (Optional action As Nullable(Of AbusePenaltyAction) = Nothing, Optional rateLimitPercentage As Nullable(Of Single) = Nothing, Optional expiration As Nullable(Of DateTimeOffset) = Nothing) As AbusePenalty
Parameters
- action
- Nullable<AbusePenaltyAction>
The action of AbusePenalty.
- expiration
- Nullable<DateTimeOffset>
The datetime of expiration of the AbusePenalty.
Returns
A new AbusePenalty 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