New-AzCognitiveServicesCommitmentPlan
Skapa en åtagandeplan för Cognitive Services
Syntax
New-AzCognitiveServicesCommitmentPlan
-ResourceGroupName <String>
-Name <String>
-Type <String>
-SkuName <String>
-Location <String>
[-Tag <Hashtable[]>]
-Properties <CommitmentPlanProperties>
[-DefaultProfile <IAzureContextContainer>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Description
Skapa en åtagandeplan för Cognitive Services
Exempel
Exempel 1
$properties = New-AzCognitiveServicesObject -Type CommitmentPlanProperties
$properties.HostingModel = "Web"
$properties.AutoRenew = $false
$properties.PlanType = "STT"
$properties.Current.Tier = "T1"
$properties.Next = $null
New-AzCognitiveServicesCommitmentPlan -ResourceGroupName ResourceGroupName -Name CommitmentPlanName -Type SpeechServices -SkuName S0 -Location CentralUS -Properties $properties;
Skapa en åtagandeplan för Cognitive Services för SpeechServices STT T1
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 |
-Location
Cognitive Services CommitmentPlan-plats.
Typ: | String |
Position: | Named |
Standardvärde: | None |
Obligatorisk: | True |
Godkänn pipeline-indata: | True |
Godkänn jokertecken: | False |
-Name
Cognitive Services-kontonamn.
Typ: | String |
Position: | Named |
Standardvärde: | None |
Obligatorisk: | True |
Godkänn pipeline-indata: | True |
Godkänn jokertecken: | False |
-Properties
Egenskaper för Cognitive Services CommitmentPlan.
Typ: | CommitmentPlanProperties |
Position: | Named |
Standardvärde: | None |
Obligatorisk: | True |
Godkänn pipeline-indata: | True |
Godkänn jokertecken: | False |
-ResourceGroupName
Namn på resursgrupp.
Typ: | String |
Position: | Named |
Standardvärde: | None |
Obligatorisk: | True |
Godkänn pipeline-indata: | True |
Godkänn jokertecken: | False |
-SkuName
Cognitive Services-konto/CommitmentPlan SKU-namn.
Typ: | String |
Position: | Named |
Standardvärde: | None |
Obligatorisk: | True |
Godkänn pipeline-indata: | True |
Godkänn jokertecken: | False |
-Tag
Cognitive Services CommitmentPlan-taggar.
Typ: | Hashtable[] |
Alias: | Tags |
Position: | Named |
Standardvärde: | None |
Obligatorisk: | False |
Godkänn pipeline-indata: | False |
Godkänn jokertecken: | False |
-Type
Cognitive Services-konto/CommitmentPlan-typ.
Typ: | String |
Alias: | Kind |
Position: | Named |
Standardvärde: | None |
Obligatorisk: | True |
Godkänn pipeline-indata: | True |
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
Utdata
Relaterade länkar
Azure PowerShell