人工知能クラウドコールサービス (AICCS) インスタンス ID とエージェントアカウント名に基づいて、メッセージチャネルアクセス署名を生成します。
Deskripsi operasi
-
この操作を呼び出して、メッセージチャネルアクセス署名を生成できます。応答の Data フィールドには、MessageBox メッセージチャネル署名コードが含まれます。
-
この操作を呼び出す前に、AICCS インスタンス ID を確認してください。取得方法については、リクエストパラメーターの説明を参照してください。
1 秒あたりのクエリ数 (QPS) 制限
ユーザーあたりの呼び出し周波数: 制限なし。
API 全体の周波数: 1 秒あたり 100 クエリ。
複数のユーザーからの合計呼び出し数が API 全体の周波数制限を超えた場合、速度制限がトリガーされます。
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
oceanbase:CreateInstance |
create |
*Instance
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| ChargeType |
string |
Yes |
クライアントリクエストの一意のトークン。べき等性の検証に使用されます。UUID を使用して値を生成できます。 Valid values:
|
PrePay |
| Series |
string |
Yes |
人工知能クラウドコールサービス (AICCS) インスタンス ID。AICCS コンソールの左側ナビゲーションウィンドウにあるインスタンス管理から取得できます。 |
normal |
| Zones |
string |
Yes |
エージェントアカウント名。アカウント登録時に指定した電話番号またはメールアドレスです。値はインスタンス内で一意です。 |
cn-hangzhou-h,cn-hangzhou-i,cn-hangzhou-j |
| InstanceClass |
string |
Yes |
The specifications of the cluster.
Valid values:
|
14C70GB |
| DiskSize |
integer |
No |
The size of the storage space,in GB.
|
200 |
| Period |
integer |
No |
The valid duration of the purchased resources. The unit is specified by the PeriodUnit parameter.
|
1 |
| PeriodUnit |
string |
No |
The unit of the valid duration of the purchased resources. |
Month |
| AutoRenew |
boolean |
No |
Specifies whether to enable automatic renewal.
|
true |
| AutoRenewPeriod |
integer |
No |
The automatic renewal period of the instance. This parameter is required when the AutoRenew parameter is set to true. Valid values:
|
2 |
| ResourceGroupId |
string |
No |
The ID of the resource group to which the instance belongs. |
rg-bp67acfmxazb4p**** |
| InstanceName |
string |
No |
The name of the OceanBase cluster. |
amap_aos_tx_ob |
| ObVersion |
string |
No |
OceanBase Server version number. |
2.2.77 |
| DiskType |
string |
No |
The type of the storage disk where the cluster is deployed. This parameter takes effect only for Standard Cluster Edition (Cloud Disk). Valid values:
|
cloud_essd_pl1 |
| DryRun |
boolean |
No |
Specifies whether to perform only a dry run for the request. Default value: false. Valid values:
|
false |
| ReplicaMode |
string |
No |
The number of full-featured replicas.
|
3 |
| IsolationOptimization |
string |
No |
Specifies whether to enable the control group feature. Valid values:
|
true |
| PrimaryInstance |
string |
No |
Primary instance ID. |
ob3h8ytroxxxxx |
| PrimaryRegion |
string |
No |
Primary instance region. |
cn-hangzhou |
| CpuArch |
string |
No |
x86 |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
結果。 |
||
| RequestId |
string |
リクエスト ID。 |
EE205C00-30E4-****-****-87E3A8A2AA0C |
| Data |
object |
MessageBox メッセージチャネル署名コード。 |
|
| InstanceId |
string |
Instance ID. |
i-bp67acfmxazb4p**** |
| OrderId |
string |
Order ID. The ID of the order that you have placed. This parameter returns a value after you create a pre-paid or post-paid cluster. |
1234567890 |
| ResourceGroupId |
string |
Resource group ID. |
rg-*************** |
| DryRunResult |
boolean |
The result of the dry-run request. If the DryRun parameter is set to true and the dry run succeeds, the DryRunResult parameter returns true. Otherwise, an error code is returned. If the DryRun parameter is set to false, no dry run is performed and the DryRunResult parameter returns false. |
false |
Contoh
Respons sukses
JSONformat
{
"RequestId": "EE205C00-30E4-****-****-87E3A8A2AA0C",
"Data": {
"InstanceId": "i-bp67acfmxazb4p****",
"OrderId": "1234567890",
"ResourceGroupId": "rg-***************",
"DryRunResult": false
}
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | Instance.Order.CreateFailed | Instance.Order.CreateFailed | |
| 400 | InstanceName.ModifyFailed | InstanceName.ModifyFailed | |
| 400 | InstanceClass.InvalidValue | InstanceClass.InvalidValue | |
| 400 | InstanceType.Unsupport | InstanceType.Unsupport | |
| 400 | ZoneList.Unsupport | ZoneList.Unsupport | |
| 400 | InstanceId.Invalid | InstanceId.Invalid | |
| 400 | InstanceId.Missing | InstanceId.Missing | |
| 400 | Instance.Name.Missing | Instance.Name.Missing | |
| 400 | ListCluster.Fail | ListCluster.Fail | |
| 400 | GetCluster.Fail | GetCluster.Fail | |
| 400 | ListClusterGroup.Fail | ListClusterGroup.Fail | |
| 400 | GetClusterGroup.Fail | GetClusterGroup.Fail | |
| 400 | ListInstance.Fail | ListInstance.Fail | |
| 400 | GetInstance.Fail | GetInstance.Fail | |
| 400 | ListTenant.Fail | ListTenant.Fail | |
| 400 | GetTenant.Fail | GetTenant.Fail | |
| 400 | Instance.ListAliyunInstance.Fail | Instance.ListAliyunInstance.Fail | |
| 400 | Instance.GetAliyunInstance.Fail | Instance.GetAliyunInstance.Fail | |
| 400 | ListZone.Fail | ListZone.Fail | |
| 400 | ListObServer.Fail | ListObServer.Fail | |
| 400 | GetObServer.Fail | GetObServer.Fail | |
| 400 | CreateInstanceParameters.Error | CreateInstanceParameters.Error | |
| 400 | CreateInstance.Fail | CreateInstance.Fail | |
| 400 | InstanceClassSpecification.Invalid | InstanceClassSpecification.Invalid | |
| 400 | InstanceOrder.NotAvailable | InstanceOrder.NotAvailable | |
| 400 | InstanceNodeNum.Invalid | InstanceNodeNum.Invalid | |
| 400 | InstanceLogSize.Invalid | InstanceLogSize.Invalid | |
| 400 | Instance.ExpandLogDisk.NotSupport | Instance.ExpandLogDisk.NotSupport | |
| 400 | InstanceStatus.Invalid | InstanceStatus.Invalid | |
| 400 | InstanceDataSize.Invalid | InstanceDataSize.Invalid | |
| 400 | StandbyInstance.StillOnline | StandbyInstance.StillOnline | |
| 400 | InstanceServiceName.Missing | InstanceServiceName.Missing | |
| 400 | PrimaryInstanceStatus.Invalid | PrimaryInstanceStatus.Invalid | |
| 400 | StandbyInstanceStatus.Invalid | StandbyInstanceStatus.Invalid | |
| 400 | StandbyInstance.NotSupport | StandbyInstance.NotSupport | |
| 400 | StandbyInstance.Disconnect.NotAllowed | StandbyInstance.Disconnect.NotAllowed | |
| 400 | InstanceDiskSize.Invalid | InstanceDiskSize.Invalid | |
| 400 | CreateInstance.Spec.NotSupport | CreateInstance.Spec.NotSupport | |
| 400 | MissingParameterDiskSize | MissingParameterDiskSize | |
| 400 | CreateInstance.ReplicaMode.InvalidValue | CreateInstance.ReplicaMode.InvalidValue | |
| 400 | CreateInstance.DeployType.InvalidValue | CreateInstance.DeployType.InvalidValue | |
| 400 | ConfigError | ConfigError | |
| 500 | Instance.Order.CreateFailed | Instance.Order.CreateFailed | |
| 500 | UnknownError | UnknownError |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.