Megosztás a következőn keresztül:


ArmCognitiveServicesModelFactory.CommitmentPlanProperties Method

Definition

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.

commitmentPlanGuid
Nullable<Guid>

Commitment plan guid.

hostingModel
Nullable<ServiceAccountHostingModel>

Account hosting model.

planType
String

Commitment plan type.

current
CommitmentPeriod

Cognitive Services account commitment period.

autoRenew
Nullable<Boolean>

AutoRenew commitment plan.

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