Menambahkan nama domain streaming. Anda hanya dapat menambahkan satu nama domain sekaligus.
Deskripsi operasi
-
Sebelum menambahkan nama domain streaming, Anda harus mengaktifkan ApsaraVideo Live. Untuk informasi lebih lanjut, lihat Mengaktifkan layanan.
-
Sebelum menambahkan nama domain baru, Anda harus terlebih dahulu memverifikasi kepemilikan domain, lalu memanggil operasi ini untuk menambahkan domain. Anda dapat menggunakan verifikasi resolusi DNS atau verifikasi file. Untuk informasi lebih lanjut, lihat Memverifikasi kepemilikan domain.
-
ApsaraVideo Live memerlukan pengambilan aliran dan streaming. Anda harus menambahkan domain ingest dan domain streaming secara terpisah. Anda hanya dapat mengirimkan satu nama domain sekaligus.
-
Setelah menambahkan nama domain, Anda harus Nama Domain CNAME untuk domain tersebut. Untuk informasi lebih lanjut, lihat Nama Domain CNAME.
-
Setelah menambahkan domain ingest dan domain streaming, Anda harus mengaitkan domain terkait sebelum dapat menggunakan ApsaraVideo Live. Untuk informasi lebih lanjut, lihat Domain terkait.
Batas QPS
Batas QPS per pengguna tunggal untuk operasi ini adalah 30 panggilan per detik. Jika batas terlampaui, panggilan API akan dibatasi (throttling), yang dapat memengaruhi bisnis Anda. Panggil operasi ini dengan bijak.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
live:AddLiveDomain |
create |
*Semua sumber daya.
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| LiveDomainType |
string |
Yes |
Jenis nama domain. Nilai valid:
Valid values:
|
liveVideo. |
| DomainName |
string |
Yes |
Domain ingest atau domain streaming yang akan dihubungkan ke ApsaraVideo Live. Nama domain wildcard didukung dan harus dimulai dengan periode (.). |
example.aliyundoc.com. |
| Region |
string |
Yes |
Informasi unit dari nama domain streaming. Nilai valid:
Catatan
Region (informasi unit dari nama domain streaming) dan Scope (wilayah akselerasi) tidak saling membatasi. |
cn-beijing. |
| CheckUrl |
string |
No |
URL pemeriksaan kesehatan. |
http://demo.aliyundoc.com/status.html. |
| Scope |
string |
No |
Wilayah akselerasi. Parameter ini berlaku untuk pengguna internasional dan pengguna situs China level L3 atau di atasnya. Nilai valid:
|
domestic. |
| TopLevelDomain |
string |
No |
Nama domain tingkat atas untuk akses. |
learn.aliyundoc.com. |
| ResourceGroupId |
string |
No |
ID kelompok sumber daya. Untuk informasi lebih lanjut tentang kelompok sumber daya, lihat Apa itu kelompok sumber daya. |
rg-aekzw****** |
| Tag |
array<object> |
No |
Daftar tag. |
|
|
object |
No |
Daftar tag. |
||
| Key |
string |
No |
Kunci tag. |
TestKey. |
| Value |
string |
No |
Nilai tag. |
TestValue. |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
ID permintaan. |
16A96B9A-F203-4EC5-8E43-CB92E68F4CD8 |
Contoh
Respons sukses
JSONformat
{
"RequestId": "16A96B9A-F203-4EC5-8E43-CB92E68F4CD8"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidDomainName.Malformed | Specified DomainName is malformed. | |
| 400 | InvalidRegion.Malformed | Specified Region is malformed. | Wilayah yang ditentukan tidak valid. |
| 400 | InvalidSource.Content.Malformed | Specified source content is malformed. | |
| 400 | InvalidTypeContent.Mismatch | Specified source type does not math the specified source content. | |
| 400 | MissingSource.Content | Specified source content is mandatory for this action. | |
| 400 | MissingSource.Type | Specified source type is mandatory for this action. | |
| 400 | InvalidSource.Type.Malformed | Specified source type is malformed. | |
| 400 | InvalidSource.Priority.Malformed | Specified source priority is malformed. | |
| 400 | InvalidScope.Malformed | Specified Scope is malformed. | |
| 400 | SourceIp.Exceed | The Certificate you provided is malformed! | |
| 400 | InvalidCertificate | The Certificate you provided is malformed! | |
| 400 | InvalidCertificate.TooLong | The Certificate you provided is over the max length! | |
| 400 | InnerAddDomainDenied | Your account haven't bind aoneId, can not add domain. | |
| 400 | CheckSourceHealthFailed | sources ip or source domain check health failed,please input right source. | |
| 400 | ExtensiveAndAllBothExist | Extensive domain and the domain begins with 'all.' can not exist at the same time. | |
| 400 | CdnTypeNotSupportExtensiveDomain | Extensive domain not supported for this cdn type. | |
| 400 | ExtensiveAndSpecificDomainConflict | Extensive domain and corresponding specific domain are mutually exclusive. | Nama domain wildcard bertentangan dengan nama domain eksak yang sesuai. |
| 400 | InvalidDomainNameLevel | Domain name suffixed with alicdn.com only support third level. | |
| 400 | TopLevelDomain.NotFound | TopLevelDomain is not exist. | |
| 400 | EntityNotExists.ResourceGroup | The resource group does not exist. | |
| 400 | InvalidStatus.ResourceGroup | It's now allowed to do this operation because of the current status of resource-group. | |
| 400 | NotInternationRealIdentity | You need to do real name authentication when you use Chinese mainland resources. | Anda harus menggunakan identitas terotorisasi yang valid untuk mengakses Sumber daya di daratan Tiongkok. |
| 400 | RecordCheckNotAvailable | Please try again later. | |
| 400 | IcpBlack | The domain is on the ICP blacklist. | |
| 400 | IspBlack | The domain is on the ISP blacklist. | |
| 400 | DomainNotRecordedAliyun | The domain not access Ali Cloud for the record please access. | |
| 400 | Abs.CheckUrl.Malformed | The CheckUrl you provided is malformed! | |
| 400 | DomainOwnerVerifyFail | Owner verification of the root domain failed. | |
| 400 | TopLevelDomain.Mismatch | The specified TopLevelDomain does not match webSiteType. | |
| 400 | InvalidResourceGroupId.Malformed | Specified ResourceGroupId is malformed. | |
| 400 | DomainReserved | The root domain of your domain is reserved by another account. | Nama domain root nama domain ini telah ditambahkan ke akun lain. |
| 400 | ExceedLimit | The number of domains has exceeded the limit. | Jumlah nama domain yang Anda miliki telah melebihi batas atas. |
| 400 | LockFail | Domain has been occupied. | Nama domain sedang digunakan. Coba lagi nanti. |
| 403 | AccountException | Account exception. Please open ticket to make an appeal. | |
| 403 | EntityNotExist.ResourceGroup | The resource group does not exist. | Kelompok sumber daya tidak ada. |
| 404 | InvalidUser | The user's account is invalid. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.