Dela via


New-AzCognitiveServicesObject

Skapa ett Cognitive Services-objekt

Syntax

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

Description

Skapa ett Cognitive Services-objekt

Exempel

Exempel 1

New-AzCognitiveServicesObject -Type DeploymentProperties

Skapa ett Cognitive Services DeploymentProperties-objekt

Parametrar

-Confirm

Uppmanar dig att bekräfta innan du kör cmdleten.

Typ:SwitchParameter
Alias:cf
Position:Named
Standardvärde:None
Obligatorisk:False
Godkänn pipeline-indata:False
Godkänn jokertecken:False

-DefaultProfile

Autentiseringsuppgifter, konto, klientorganisation och prenumeration som används för kommunikation med Azure.

Typ:IAzureContextContainer
Alias:AzContext, AzureRmContext, AzureCredential
Position:Named
Standardvärde:None
Obligatorisk:False
Godkänn pipeline-indata:False
Godkänn jokertecken:False

-Type

Cognitive Services-objekttyp.

Typ:CognitiveServicesObjectType
Godkända värden:DeploymentProperties, CommitmentPlanProperties, MultiRegionSettings, RegionSetting, Sku
Position:0
Standardvärde:None
Obligatorisk:True
Godkänn pipeline-indata:False
Godkänn jokertecken:False

-WhatIf

Visar vad som skulle hända om cmdleten körs. Cmdleten körs inte.

Typ:SwitchParameter
Alias:wi
Position:Named
Standardvärde:None
Obligatorisk:False
Godkänn pipeline-indata:False
Godkänn jokertecken:False

Indata

None

Utdata

DeploymentProperties

CommitmentPlanProperties