共用方式為


Get-AzMlCommitmentAssociation

擷取一或多個承諾關聯摘要資訊。

語法

Get-AzMlCommitmentAssociation
   -ResourceGroupName <String>
   -CommitmentPlanName <String>
   [-Name <String>]
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]

Description

擷取承諾用量關聯資訊。 根據所傳遞的參數,Cmdlet 會傳回特定承諾用量關聯或指定承諾用量計劃的承諾關聯集合。

範例

範例 1:取得特定承諾用量關聯

Get-AzMlCommitmentAssociation -ResourceGroupName "MyResourceGroup" -CommitmentPlanName "MyCommitmentPlanName" -Name "MyCommitmentAssociationName"

範例 2:取得指定承諾用量計劃的所有承諾關聯

Get-AzMlCommitmentAssociation -ResourceGroupName "MyResourceGroup" -CommitmentPlanName "MyCommitmentPlanName"

參數

-CommitmentPlanName

具有一或多個承諾關聯之 Azure ML 承諾用量方案的名稱。

類型:String
Position:Named
預設值:None
必要:True
接受管線輸入:False
接受萬用字元:False

-DefaultProfile

用於與 azure 通訊的認證、帳戶、租用戶和訂用帳戶

類型:IAzureContextContainer
別名:AzContext, AzureRmContext, AzureCredential
Position:Named
預設值:None
必要:False
接受管線輸入:False
接受萬用字元:False

-Name

Azure ML 承諾用量關聯的名稱。

類型:String
Position:Named
預設值:None
必要:False
接受管線輸入:False
接受萬用字元:False

-ResourceGroupName

Azure ML 承諾用量關聯的資源群組名稱。

類型:String
Position:Named
預設值:None
必要:True
接受管線輸入:False
接受萬用字元:False

輸入

None

輸出

Microsoft.Azure.Management.MachineLearning.CommitmentPlans.Models.CommitmentPlan

備註

關鍵詞:azure、azurerm、arm、resource、management、manager、machine、machine learning、azureml