ArmCognitiveServicesModelFactory.CognitiveServicesModelSku 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 CognitiveServicesModelSku.
public static Azure.ResourceManager.CognitiveServices.Models.CognitiveServicesModelSku CognitiveServicesModelSku (string name = default, string usageName = default, DateTimeOffset? deprecationOn = default, Azure.ResourceManager.CognitiveServices.Models.CognitiveServicesCapacityConfig capacity = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.CognitiveServices.Models.ServiceAccountCallRateLimit> rateLimits = default);
static member CognitiveServicesModelSku : string * string * Nullable<DateTimeOffset> * Azure.ResourceManager.CognitiveServices.Models.CognitiveServicesCapacityConfig * seq<Azure.ResourceManager.CognitiveServices.Models.ServiceAccountCallRateLimit> -> Azure.ResourceManager.CognitiveServices.Models.CognitiveServicesModelSku
Public Shared Function CognitiveServicesModelSku (Optional name As String = Nothing, Optional usageName As String = Nothing, Optional deprecationOn As Nullable(Of DateTimeOffset) = Nothing, Optional capacity As CognitiveServicesCapacityConfig = Nothing, Optional rateLimits As IEnumerable(Of ServiceAccountCallRateLimit) = Nothing) As CognitiveServicesModelSku
Parameters
- name
- String
The name of the model SKU.
- usageName
- String
The usage name of the model SKU.
- deprecationOn
- Nullable<DateTimeOffset>
The datetime of deprecation of the model SKU.
- capacity
- CognitiveServicesCapacityConfig
The capacity configuration.
- rateLimits
- IEnumerable<ServiceAccountCallRateLimit>
The list of rateLimit.
Returns
A new CognitiveServicesModelSku 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