共用方式為


New-AzCognitiveServicesObject

建立認知服務物件

語法

New-AzCognitiveServicesObject
   [-Type] <CognitiveServicesObjectType>
   [-DefaultProfile <IAzureContextContainer>]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]

Description

建立認知服務物件

範例

範例 1

New-AzCognitiveServicesObject -Type DeploymentProperties

建立認知服務 DeploymentProperties 物件

參數

-Confirm

在執行 Cmdlet 之前,提示您進行確認。

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

-DefaultProfile

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

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

-Type

認知服務物件類型。

類型:CognitiveServicesObjectType
接受的值:DeploymentProperties, CommitmentPlanProperties, MultiRegionSettings, RegionSetting, Sku
Position:0
預設值:None
必要:True
接受管線輸入:False
接受萬用字元:False

-WhatIf

顯示 Cmdlet 執行時會發生什麼事。 Cmdlet 未執行。

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

輸入

None

輸出