我正在使用即用即付订阅,并且我正在使用下面的 Powershell 命令来创建 cdn 配置文件。
New-AzCdnProfile -ProfileName "cdnprofileforcache" -ResourceGroupName "rg-cdn" -Sku "Premium_Verizon" -Location "Uk South" -ErrorAction Stop -Verbose
它以非常少的信息作为错误返回给我。
New-AzCdnProfile : Operation returned an invalid status code 'BadRequest' At line:1 char:1 + New-AzCdnProfile -ProfileName "cdnprofileforcache" -ResourceGroupName "rg-cdn" ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : CloseError: (:) [New-AzCdnProfile], ErrorResponseException + FullyQualifiedErrorId : Microsoft.Azure.Commands.Cdn.Profile.NewAzureRmCdnProfile