指定されたリージョンでアカウントのサービスインスタンスをクエリします。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
computenest:ListServiceInstances |
list |
*ServiceInstance
|
なし | なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| RegionId |
string |
必須 |
リージョン ID。 |
cn-hangzhou |
| MaxResults |
integer |
任意 |
各ページで返すエントリ数。最大値: 100。デフォルト値: 20。 |
20 |
| NextToken |
string |
任意 |
クエリトークン。前の API 呼び出しから返された NextToken の値に設定します。 |
BBBAAfu+XtuBE55iRLHEYYuojI4= |
| Filter |
array<object> |
任意 |
フィルター。 |
|
|
object |
任意 |
フィルター。 |
||
| Value |
array |
任意 |
フィルター値のリスト。 |
|
|
string |
任意 |
フィルター値のリスト。N の値は 1 から 10 までです。 |
value1 |
|
| Name |
string |
任意 |
フィルターの名前。1 つ以上のフィルター名を指定してリソースをクエリできます。有効な値:
|
ServiceInstanceId |
| Tag |
array<object> |
任意 |
カスタムタグ。 |
|
|
object |
任意 |
カスタムタグ。 |
||
| Key |
string |
任意 |
タグキー。 |
key1 |
| Value |
string |
任意 |
タグの値。 |
value1 |
| ResourceGroupId |
string |
任意 |
リソースグループ ID。 |
rg-bp67acfmxazb4p**** |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
|||
| NextToken |
string |
次のクエリのトークン。 |
AAAAAfu+XtuBE55iRLHEYYuojI4= |
| RequestId |
string |
リクエスト ID。 |
E50287CB-AABF-4877-92C0-289B339A1546 |
| TotalCount |
integer |
結果の総数。 |
100 |
| MaxResults |
integer |
ページごとに返されるエントリ数。最大値: 100。デフォルト値: 20。 |
20 |
| ServiceInstances |
array<object> |
サービスインスタンスに関する情報。 |
|
|
array<object> |
サービスインスタンスに関する情報。 |
||
| Name |
string |
サービスインスタンスの名前。 |
TestName |
| Status |
string |
サービスインスタンスのステータス。指定できる値:
|
Deployed |
| Outputs |
string |
サービスインスタンスの出力情報。 |
{"managementUrl": "http://xx.xx"} |
| UpdateTime |
string |
更新時刻。 |
2021-05-20T00:00:00Z |
| Parameters |
string |
サービスインスタンスのパラメーター情報。 |
{"param":"value"} |
| ServiceInstanceId |
string |
サービスインスタンス ID。 |
si-d6ab3a63ccbb4b17**** |
| CreateTime |
string |
作成時刻。 |
2021-05-20T00:00:00Z |
| StatusDetail |
string |
サービスインスタンスのデプロイメント情報の詳細。 |
deploy successfully |
| Progress |
integer |
サービスインスタンスのデプロイの進行状況。単位: %。 |
90 |
| Resources |
string |
リソースのリスト。 |
[{"StackId": "stack-xxx"}] |
| TemplateName |
string |
テンプレート名。 |
模板1 |
| OperatedServiceInstanceId |
string |
Alibaba Cloud によって管理されるサービスインスタンスの ID。 |
si-d6ab3a63ccbb4b17**** |
| Service |
object |
サービス。 |
|
| Status |
string |
サービスステータス。 |
Online |
| PublishTime |
string |
公開時刻。 |
2021-05-21T00:00:00Z |
| Version |
string |
サービスバージョン。 |
1.0 |
| DeployType |
string |
デプロイメントタイプ。指定できる値:
|
ros |
| ServiceId |
string |
サービス ID。 |
service-0e6fca6a51a54420**** |
| SupplierUrl |
string |
サービスプロバイダーの URL。 |
http://example.com |
| ServiceType |
string |
サービスタイプ。指定できる値:
|
private |
| SupplierName |
string |
サービスプロバイダーの名前。 |
A有限公司 |
| ServiceInfos |
array<object> |
サービス情報。 |
|
|
object |
サービス情報。 |
||
| Locale |
string |
サービスインスタンスの言語。 |
zh-CN |
| Image |
string |
サービスアイコンの URL。 |
https://example.com/service-image/c1c4a559-cc60-4af1-b976-98f356602462.png |
| Name |
string |
サービス名。 |
B数据库 |
| ShortDescription |
string |
サービスの概要。 |
B是A公司自主设计并研发的开源分布式的关系型数据库 |
| VersionName |
string |
サービスプロバイダーによって定義されたカスタムバージョン名。 |
版本A |
| Commodity |
object |
商品仕様。 |
|
| SaasBoostMetadata |
string |
Software as a Service (SaaS) Boost 構成のメタデータ。 |
{ //开启/关闭SaaS Boost绑定 "Enabled":true/false,默认为false //公网交互地址 "PublicAccessUrl":"https://example.com" } |
| Type |
string |
タイプ。指定できる値:
|
Marketplace |
| OperationStartTime |
string |
Alibaba Cloud Managed Services の開始時刻。 |
2021-12-29T06:48:56Z |
| OperationEndTime |
string |
Alibaba Cloud Managed Services の終了時刻。 |
2022-01-28T06:48:56Z |
| EnableInstanceOps |
boolean |
サービスインスタンスに Alibaba Cloud Managed Services 機能があるかどうかを示します。指定できる値:
|
true |
| Tags |
array<object> |
カスタムタグ。 |
|
|
object |
カスタムタグ。 |
||
| Key |
string |
タグキー。 |
key1 |
| Value |
string |
タグの値。 |
value1 |
| Source |
string |
サービスインスタンスが作成されたソース。 |
Supplier |
| EndTime |
string |
サービスインスタンスの有効期限。 |
2022-01-01T12:00:00 |
| ServiceType |
string |
サービスタイプ。指定できる値:
|
private |
| PayType |
string |
課金方法。有効な値:
|
Subscription |
| MarketInstanceId |
string |
Alibaba Cloud Marketplace インスタンスの ID。 |
5827**** |
| ResourceGroupId |
string |
リソースグループ ID。 |
rg-aekz6scpcxxxxxx |
| BizStatus |
string |
サービスインスタンスのビジネスステータス。指定できる値:
|
Normal |
| OrderId |
string |
注文 ID。 |
2306175xxxxxxxx |
| SupportTrialToPrivate |
boolean |
試用インスタンスを通常インスタンスに変換できるかどうかを示します。 |
true |
| PolicyNames |
string |
||
| GrantedPermission |
object |
||
| OperationEndTime |
string |
||
| PolicyNames |
string |
例
成功レスポンス
JSONJSON
{
"NextToken": "AAAAAfu+XtuBE55iRLHEYYuojI4=",
"RequestId": "E50287CB-AABF-4877-92C0-289B339A1546",
"TotalCount": 100,
"MaxResults": 20,
"ServiceInstances": [
{
"Name": "TestName",
"Status": "Deployed",
"Outputs": "{\"managementUrl\": \"http://xx.xx\"}",
"UpdateTime": "2021-05-20T00:00:00Z",
"Parameters": "{\"param\":\"value\"}",
"ServiceInstanceId": "si-d6ab3a63ccbb4b17****",
"CreateTime": "2021-05-20T00:00:00Z",
"StatusDetail": "deploy successfully",
"Progress": 90,
"Resources": "[{\"StackId\": \"stack-xxx\"}]",
"TemplateName": "模板1",
"OperatedServiceInstanceId": "si-d6ab3a63ccbb4b17****",
"Service": {
"Status": "Online",
"PublishTime": "2021-05-21T00:00:00Z",
"Version": "1.0",
"DeployType": "ros",
"ServiceId": "service-0e6fca6a51a54420****",
"SupplierUrl": "http://example.com",
"ServiceType": "private",
"SupplierName": "A有限公司",
"ServiceInfos": [
{
"Locale": "zh-CN",
"Image": "https://example.com/service-image/c1c4a559-cc60-4af1-b976-98f356602462.png",
"Name": "B数据库",
"ShortDescription": "B是A公司自主设计并研发的开源分布式的关系型数据库"
}
],
"VersionName": "版本A",
"Commodity": {
"SaasBoostMetadata": "{\n //开启/关闭SaaS Boost绑定\n \"Enabled\":true/false,默认为false\n //公网交互地址\n \"PublicAccessUrl\":\"https://example.com\"\n}",
"Type": "Marketplace"
}
},
"OperationStartTime": "2021-12-29T06:48:56Z",
"OperationEndTime": "2022-01-28T06:48:56Z",
"EnableInstanceOps": true,
"Tags": [
{
"Key": "key1",
"Value": "value1"
}
],
"Source": "Supplier",
"EndTime": "2022-01-01T12:00:00",
"ServiceType": "private",
"PayType": "Subscription",
"MarketInstanceId": "5827****",
"ResourceGroupId": "rg-aekz6scpcxxxxxx",
"BizStatus": "Normal",
"OrderId": "2306175xxxxxxxx",
"SupportTrialToPrivate": true,
"PolicyNames": "",
"GrantedPermission": {
"OperationEndTime": "",
"PolicyNames": ""
}
}
]
}
エラーコード
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。