UpdateVpcEndpointAttribute 操作を呼び出して、エンドポイントの属性を変更します。
操作説明
UpdateVpcEndpointAttribute 操作は、同一の Alibaba Cloud アカウント内で複数のエンドポイントの属性を同時に変更するリクエストをサポートしていません。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
privatelink:UpdateVpcEndpointAttribute |
update |
*VpcEndpoint
|
なし | なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| RegionId |
string |
必須 |
エンドポイントのリージョン ID。リージョン ID を取得するには、DescribeRegions 操作を呼び出します。 |
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 文字で、`http://` または `https://` で始めることはできません。 |
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 |
任意 |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
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. |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。