ArmCognitiveServicesModelFactory.CommitmentTier 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 CommitmentTier.
public static Azure.ResourceManager.CognitiveServices.Models.CommitmentTier CommitmentTier (string kind = default, string skuName = default, Azure.ResourceManager.CognitiveServices.Models.ServiceAccountHostingModel? hostingModel = default, string planType = default, string tier = default, int? maxCount = default, Azure.ResourceManager.CognitiveServices.Models.CommitmentQuota quota = default, Azure.ResourceManager.CognitiveServices.Models.CommitmentCost cost = default);
static member CommitmentTier : string * string * Nullable<Azure.ResourceManager.CognitiveServices.Models.ServiceAccountHostingModel> * string * string * Nullable<int> * Azure.ResourceManager.CognitiveServices.Models.CommitmentQuota * Azure.ResourceManager.CognitiveServices.Models.CommitmentCost -> Azure.ResourceManager.CognitiveServices.Models.CommitmentTier
Public Shared Function CommitmentTier (Optional kind As String = Nothing, Optional skuName As String = Nothing, Optional hostingModel As Nullable(Of ServiceAccountHostingModel) = Nothing, Optional planType As String = Nothing, Optional tier As String = Nothing, Optional maxCount As Nullable(Of Integer) = Nothing, Optional quota As CommitmentQuota = Nothing, Optional cost As CommitmentCost = Nothing) As CommitmentTier
Parameters
- kind
- String
The Kind of the resource.
- skuName
- String
The name of the SKU. Ex - P3. It is typically a letter+number code.
- hostingModel
- Nullable<ServiceAccountHostingModel>
Account hosting model.
- planType
- String
Commitment plan type.
- tier
- String
Commitment period commitment tier.
- quota
- CommitmentQuota
Cognitive Services account commitment quota.
- cost
- CommitmentCost
Cognitive Services account commitment cost.
Returns
A new CommitmentTier instance for mocking.