ArmCognitiveServicesModelFactory.CommitmentPlanProperties 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 CommitmentPlanProperties.
public static Azure.ResourceManager.CognitiveServices.Models.CommitmentPlanProperties CommitmentPlanProperties (Azure.ResourceManager.CognitiveServices.Models.CommitmentPlanProvisioningState? provisioningState = default, Guid? commitmentPlanGuid = default, Azure.ResourceManager.CognitiveServices.Models.ServiceAccountHostingModel? hostingModel = default, string planType = default, Azure.ResourceManager.CognitiveServices.Models.CommitmentPeriod current = default, bool? autoRenew = default, Azure.ResourceManager.CognitiveServices.Models.CommitmentPeriod next = default, Azure.ResourceManager.CognitiveServices.Models.CommitmentPeriod last = default, System.Collections.Generic.IEnumerable<string> provisioningIssues = default);
static member CommitmentPlanProperties : Nullable<Azure.ResourceManager.CognitiveServices.Models.CommitmentPlanProvisioningState> * Nullable<Guid> * Nullable<Azure.ResourceManager.CognitiveServices.Models.ServiceAccountHostingModel> * string * Azure.ResourceManager.CognitiveServices.Models.CommitmentPeriod * Nullable<bool> * Azure.ResourceManager.CognitiveServices.Models.CommitmentPeriod * Azure.ResourceManager.CognitiveServices.Models.CommitmentPeriod * seq<string> -> Azure.ResourceManager.CognitiveServices.Models.CommitmentPlanProperties
Public Shared Function CommitmentPlanProperties (Optional provisioningState As Nullable(Of CommitmentPlanProvisioningState) = Nothing, Optional commitmentPlanGuid As Nullable(Of Guid) = Nothing, Optional hostingModel As Nullable(Of ServiceAccountHostingModel) = Nothing, Optional planType As String = Nothing, Optional current As CommitmentPeriod = Nothing, Optional autoRenew As Nullable(Of Boolean) = Nothing, Optional next As CommitmentPeriod = Nothing, Optional last As CommitmentPeriod = Nothing, Optional provisioningIssues As IEnumerable(Of String) = Nothing) As CommitmentPlanProperties
Parameters
- provisioningState
- Nullable<CommitmentPlanProvisioningState>
Gets the status of the resource at the time the operation was called.
- hostingModel
- Nullable<ServiceAccountHostingModel>
Account hosting model.
- planType
- String
Commitment plan type.
- current
- CommitmentPeriod
Cognitive Services account commitment period.
- next
- CommitmentPeriod
Cognitive Services account commitment period.
- last
- CommitmentPeriod
Cognitive Services account commitment period.
- provisioningIssues
- IEnumerable<String>
The list of ProvisioningIssue.
Returns
A new CommitmentPlanProperties instance for mocking.
Applies to
Azure SDK for .NET