UpdateVpcEndpointAttribute 操作は、エンドポイントのプロパティを変更します。
操作説明
UpdateVpcEndpointAttribute 操作は、同一の Alibaba Cloud アカウント内でエンドポイントのプロパティを同時に変更する呼び出しをサポートしていません。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
privatelink:UpdateVpcEndpointAttribute |
update |
*VpcEndpoint
|
なし | なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| RegionId |
string |
必須 |
エンドポイントがデプロイされているリージョンの ID です。DescribeRegions 操作を呼び出して、リージョン ID を取得します。 |
eu-west-1 |
| ClientToken |
string |
任意 |
リクエストのべき等性を保証するために使用されるクライアントトークンです。 クライアントでこのパラメーターの値を生成し、異なるリクエスト間で一意になるようにしてください。ClientToken には ASCII 文字のみを含めることができます。 |
0ED8D006-F706-4D23-88ED-E11ED28DCAC0 |
| DryRun |
boolean |
任意 |
ドライランを実行するかどうかを指定します。有効な値:
|
true |
| EndpointId |
string |
必須 |
変更するエンドポイントの ID です。 |
ep-hp33b2e43fays7s8**** |
| EndpointName |
string |
任意 |
エンドポイントの名前です。 名前は長さが 2~128 文字で、先頭は英字または漢字である必要があり、数字、ハイフン (-)、アンダースコア (_) を使用できます。 |
test |
| EndpointDescription |
string |
任意 |
エンドポイントの説明です。 説明は長さが 2~256 文字である必要があり、 |
This is my Endpoint. |
| RegionId |
string |
必須 |
エンドポイントがデプロイされているリージョンの ID です。DescribeRegions 操作を呼び出して、リージョン ID を取得します。 |
eu-west-1 |
| PolicyDocument |
string |
任意 |
RAM アクセスポリシーです。ポリシーの定義方法の詳細については、「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 |
任意 |
プロトコルバージョンです。有効な値:
説明
デュアルスタック機能を使用するには、関連付けられたエンドポイントサービスとエンドポイントがデプロイされている VPC もデュアルスタック機能をサポートしている必要があります。 列挙値:
|
IPv4 |
| ZoneAffinityEnabled |
boolean |
任意 |
||
| ResetPolicy |
boolean |
任意 |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
|||
| RequestId |
string |
リクエスト ID です。 |
0ED8D006-F706-4D23-88ED-E11ED28DCAC0 |
例
成功レスポンス
JSONJSON
{
"RequestId": "0ED8D006-F706-4D23-88ED-E11ED28DCAC0"
}
エラーコード
|
HTTP ステータスコード |
エラーコード |
エラーメッセージ |
説明 |
|---|---|---|---|
| 400 | OperationDenied.EndpointProtected | The operation is not allowed because of EndpointProtected. | |
| 400 | EndpointNotFound | The specified Endpoint does not exist. | |
| 400 | EndpointOperationDenied | The specified operation of endpoint is not allowed. | |
| 400 | EndpointLocked | The specified Endpoint is locked. | |
| 400 | EndpointConnectionOperationDenied | The endpoint is being connected. | |
| 400 | EndpointServiceDeleted | The specified Service is already deleted. | |
| 400 | EndpointProtected | The specified Endpoint is protected. | |
| 400 | OperationDenied.EndpointPolicyNotSupport | The operation is not allowed because of EndpointPolicyNotSupport. | |
| 400 | DependencyViolation.PrivateDnsName | The specified resource of %s depends on %s, so the operation cannot be completed. | |
| 400 | OperationDenied.PrivateDomainStatusNotSupport | The operation is not allowed because of %s. | |
| 400 | OperationDenied.PrivateDomainNotSupport | The operation is not allowed because of PrivateDomainNotSupport. | |
| 400 | OperationDenied.NotSupportDualStackSwitchToIpv4 | AddressIpVersion does not support switching from DualStack to IPv4. | |
| 400 | OperationDenied.EndpointServiceNotSupportDualstack | The specified endpoint service does not support dualstack. | |
| 400 | OperationDenied.VSwitchNotSupportDualstack | The specified VSwitch does not support dualstack. | |
| 400 | IllegalParam.AddressIpVersion | The specified parameter AddressIpVersion is invalid. |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。