エンドポイントの属性を取得します。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
privatelink:GetVpcEndpointAttribute |
get |
*VpcEndpoint。
|
なし | なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| RegionId |
string |
必須 |
属性を取得するエンドポイントのリージョン ID。 DescribeRegions 操作を呼び出して、リージョン ID をクエリできます。 |
cn-huhehaote |
| EndpointId |
string |
必須 |
属性を取得するエンドポイントの ID。 |
ep-hp33b2e43fays7s8**** |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
|||
| Payer |
string |
支払者。有効な値:
|
Endpoint |
| EndpointDomain |
string |
エンドポイントのドメイン名。 |
ep-hp33b2e43fays7s8****.epsrv-hp3xdsq46ael67lo****.cn-huhehaote.privatelink.aliyuncs.com |
| RequestId |
string |
リクエスト ID。 |
8D8992C1-6712-423C-BAC5-E5E817484C6B |
| CreateTime |
string |
エンドポイントが作成された時間。時間は協定世界時 (UTC) で表示され、ISO 8601 標準の YYYY-MM-DDTHH:mm:ssZ フォーマットに従います。 |
2021-09-24T18:00:07Z |
| ResourceOwner |
boolean |
エンドポイントとエンドポイントサービスが同じアカウントに属しているかどうかを示します。有効な値:
|
true |
| EndpointBusinessStatus |
string |
エンドポイントのビジネスステータス。有効な値:
|
Normal |
| EndpointDescription |
string |
エンドポイントの説明。 |
This is my Endpoint. |
| ServiceId |
string |
エンドポイントに関連付けられているエンドポイントサービスの ID。 |
epsrv-hp3vpx8yqxblby3i**** |
| EndpointStatus |
string |
エンドポイントのステータス。有効な値:
|
Active |
| VpcId |
string |
エンドポイントが属する仮想非公開クラウド (VPC) の ID。 |
vpc-fdfhkjafhjvcvdjf**** |
| EndpointName |
string |
エンドポイント名。 |
test |
| ZonePrivateIpAddressCount |
integer |
各ゾーン内のエラスティックネットワークインターフェイス (ENI) の非公開 IP アドレスの数。有効な値: 1。 |
1 |
| EndpointType |
string |
エンドポイントタイプ。有効な値:
|
Interface |
| ServiceName |
string |
エンドポイントに関連付けられているエンドポイントサービスの名前。 |
com.aliyuncs.privatelink.cn-huhehaote.epsrv-hp3xdsq46ael67lo**** |
| Bandwidth |
integer |
エンドポイントの接続帯域幅。単位: Mbit/s。 |
1024 |
| EndpointId |
string |
エンドポイントの ID。 |
ep-hp33b2e43fays7s8**** |
| RegionId |
string |
エンドポイントのリージョン ID。 |
cn-huhehaote |
| ConnectionStatus |
string |
エンドポイント接続ステータス。有効な値:
|
Connected |
| ZoneAffinityEnabled |
boolean |
エンドポイントサービスのドメイン名で最寄り解像度がサポートされているかどうかを示します。有効な値:
|
true |
| ResourceGroupId |
string |
リソースグループの ID。 |
rg-acfmz7nocpei*** |
| PolicyDocument |
string |
RAM アクセスポリシー。ポリシー定義のフォーマットの詳細については、「ポリシー要素」を参照してください。 |
{ "Version": "1", "Statement": [ { "Effect": "Allow", "Action": [ "oss:List*", "oss:PutObject", "oss:GetObject" ], "Resource": [ "acs:oss:oss-*:*:pvl-policy-test/policy-test.txt" ], "Principal": { "RAM": [ "acs:ram::14199xxxxxx:*" ] } } ] } |
| AddressIpVersion |
string |
IP バージョン。有効な値:
|
IPv4 |
| ServiceRegionId |
string |
エンドポイントに関連付けられているエンドポイントサービスのリージョン ID。 |
cn-hangzhou |
| CrossRegionBandwidth |
integer |
エンドポイントのクロスリージョン帯域幅。単位: Mbit/s。 |
1000 |
| ProtectedEnabled |
boolean |
STS 呼び出しに対してマネージド保護が有効かどうかを示します。有効な値:
|
例
成功レスポンス
JSONJSON
{
"Payer": "Endpoint",
"EndpointDomain": "ep-hp33b2e43fays7s8****.epsrv-hp3xdsq46ael67lo****.cn-huhehaote.privatelink.aliyuncs.com",
"RequestId": "8D8992C1-6712-423C-BAC5-E5E817484C6B",
"CreateTime": "2021-09-24T18:00:07Z",
"ResourceOwner": true,
"EndpointBusinessStatus": "Normal",
"EndpointDescription": "This is my Endpoint.",
"ServiceId": "epsrv-hp3vpx8yqxblby3i****",
"EndpointStatus": "Active",
"VpcId": "vpc-fdfhkjafhjvcvdjf****",
"EndpointName": "test",
"ZonePrivateIpAddressCount": 1,
"EndpointType": "Interface",
"ServiceName": "com.aliyuncs.privatelink.cn-huhehaote.epsrv-hp3xdsq46ael67lo****",
"Bandwidth": 1024,
"EndpointId": "ep-hp33b2e43fays7s8****",
"RegionId": "cn-huhehaote",
"ConnectionStatus": "Connected",
"ZoneAffinityEnabled": true,
"ResourceGroupId": "rg-acfmz7nocpei***",
"PolicyDocument": "{\n \"Version\": \"1\",\n \"Statement\": [\n {\n \"Effect\": \"Allow\",\n \"Action\": [\n \"oss:List*\",\n \"oss:PutObject\",\n \"oss:GetObject\"\n ],\n \"Resource\": [\n \"acs:oss:oss-*:*:pvl-policy-test/policy-test.txt\"\n ],\n \"Principal\": {\n \"RAM\": [\n \"acs:ram::14199xxxxxx:*\"\n ]\n }\n }\n ]\n}",
"AddressIpVersion": "IPv4",
"ServiceRegionId": "cn-hangzhou",
"CrossRegionBandwidth": 1000,
"ProtectedEnabled": false
}
エラーコード
|
HTTP ステータスコード |
エラーコード |
エラーメッセージ |
説明 |
|---|---|---|---|
| 400 | EndpointNotFound | The specified Endpoint does not exist. | エンドポイントが見つかりませんでした。 |
| 400 | EndpointConnectionNotFound | The specified endpoint connection does not exist. | エンドポイント接続が見つかりませんでした。 |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。