Share via


ArmCognitiveServicesModelFactory.CommitmentPlanAssociation Method

Definition

Initializes a new instance of CommitmentPlanAssociation.

public static Azure.ResourceManager.CognitiveServices.Models.CommitmentPlanAssociation CommitmentPlanAssociation (Azure.Core.ResourceIdentifier commitmentPlanId = default, string commitmentPlanLocation = default);
static member CommitmentPlanAssociation : Azure.Core.ResourceIdentifier * string -> Azure.ResourceManager.CognitiveServices.Models.CommitmentPlanAssociation
Public Shared Function CommitmentPlanAssociation (Optional commitmentPlanId As ResourceIdentifier = Nothing, Optional commitmentPlanLocation As String = Nothing) As CommitmentPlanAssociation

Parameters

commitmentPlanId
ResourceIdentifier

The Azure resource id of the commitment plan.

commitmentPlanLocation
String

The location of of the commitment plan.

Returns

A new CommitmentPlanAssociation instance for mocking.

Applies to