Bagikan melalui


New-AzCognitiveServicesCommitmentPlan

Membuat Paket Komitmen Cognitive Services

Sintaks

New-AzCognitiveServicesCommitmentPlan
   -ResourceGroupName <String>
   -Name <String>
   -Type <String>
   -SkuName <String>
   -Location <String>
   [-Tag <Hashtable[]>]
   -Properties <CommitmentPlanProperties>
   [-DefaultProfile <IAzureContextContainer>]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]

Deskripsi

Membuat Paket Komitmen Cognitive Services

Contoh

Contoh 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;

Membuat Paket Komitmen Cognitive Services untuk SpeechServices STT T1

Parameter

-Confirm

Meminta Anda mengonfirmasi sebelum menjalankan cmdlet.

Jenis:SwitchParameter
Alias:cf
Position:Named
Nilai default:None
Diperlukan:False
Terima input alur:False
Terima karakter wildcard:False

-DefaultProfile

Kredensial, akun, penyewa, dan langganan yang digunakan untuk komunikasi dengan Azure.

Jenis:IAzureContextContainer
Alias:AzContext, AzureRmContext, AzureCredential
Position:Named
Nilai default:None
Diperlukan:False
Terima input alur:False
Terima karakter wildcard:False

-Location

Lokasi Cognitive Services CommitmentPlan.

Jenis:String
Position:Named
Nilai default:None
Diperlukan:True
Terima input alur:True
Terima karakter wildcard:False

-Name

Nama Akun Cognitive Services.

Jenis:String
Position:Named
Nilai default:None
Diperlukan:True
Terima input alur:True
Terima karakter wildcard:False

-Properties

Properti Cognitive Services CommitmentPlan.

Jenis:CommitmentPlanProperties
Position:Named
Nilai default:None
Diperlukan:True
Terima input alur:True
Terima karakter wildcard:False

-ResourceGroupName

Nama Grup Sumber Daya.

Jenis:String
Position:Named
Nilai default:None
Diperlukan:True
Terima input alur:True
Terima karakter wildcard:False

-SkuName

Nama Sku Akun/CommitmentPlan Cognitive Services.

Jenis:String
Position:Named
Nilai default:None
Diperlukan:True
Terima input alur:True
Terima karakter wildcard:False

-Tag

Cognitive Services CommitmentPlan Tags.

Jenis:Hashtable[]
Alias:Tags
Position:Named
Nilai default:None
Diperlukan:False
Terima input alur:False
Terima karakter wildcard:False

-Type

Jenis Akun/CommitmentPlan Cognitive Services.

Jenis:String
Alias:Kind
Position:Named
Nilai default:None
Diperlukan:True
Terima input alur:True
Terima karakter wildcard:False

-WhatIf

Menunjukkan apa yang akan terjadi jika cmdlet berjalan. Cmdlet tidak dijalankan.

Jenis:SwitchParameter
Alias:wi
Position:Named
Nilai default:None
Diperlukan:False
Terima input alur:False
Terima karakter wildcard:False

Input

String

CommitmentPlanProperties

Output

PSCognitiveServicesAccount