UpdateVpcEndpointServiceAttribute 操作では、エンドポイントサービスの属性を変更します。
操作説明
エンドポイントサービスの属性を変更する前に、エンドポイントサービスが Active 状態であることを確認してください。エンドポイントサービスのステータスは、GetVpcEndpointServiceAttribute 操作を呼び出して照会できます。
UpdateVpcEndpointServiceAttribute 操作では、同一の Alibaba Cloud アカウント内でエンドポイントサービスの属性を同時に変更することはできません。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
privatelink:UpdateVpcEndpointServiceAttribute |
update |
*VpcEndpointService
|
なし | なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| RegionId |
string |
必須 |
エンドポイントサービスがデプロイされているリージョンの ID です。 DescribeRegions 操作を呼び出して、リージョン ID を取得できます。 |
cn-hangzhou |
| ClientToken |
string |
任意 |
リクエストのべき等性を保証するために使用されるクライアントトークンです。 クライアントを使用してトークンを生成できますが、トークンが異なるリクエスト間で一意であることを確認する必要があります。ClientToken には ASCII 文字のみを含めることができます。 |
0c593ea1-3bea-11e9-b96b-88e9fe637760 |
| DryRun |
boolean |
任意 |
ドライランを実行するかどうかを指定します。有効な値:
|
false |
| ServiceId |
string |
必須 |
エンドポイントサービスの ID です。 |
epsrv-hp3vpx8yqxblby3i**** |
| ServiceDescription |
string |
任意 |
エンドポイントサービスの説明です。 |
This is my EndpointService. |
| AutoAcceptEnabled |
boolean |
任意 |
エンドポイント接続を自動的に受け入れるかどうかを指定します。有効な値:
|
false |
| ConnectBandwidth |
integer |
任意 |
接続のデフォルトの最大帯域幅です。デフォルト値:3072。単位:Mbit/s。 有効な値:100~10240。 説明
デフォルトの最大帯域幅は、サービスリソースが Classic Load Balancer (CLB) または Application Load Balancer (ALB) の場合にのみ設定できます。サービスリソースが Network Load Balancer (NLB) の場合、接続帯域幅は設定できません。 |
3072 |
| ZoneAffinityEnabled |
boolean |
任意 |
エンドポイントサービスのドメイン名を最も近いエンドポイントに解決するかどうかを指定します。有効な値:
|
true |
| RegionId |
string |
必須 |
エンドポイントサービスがデプロイされているリージョンの ID です。 DescribeRegions 操作を呼び出して、リージョン ID を取得できます。 |
cn-hangzhou |
ServiceSupportIPv6
deprecated
|
boolean |
任意 |
エンドポイントサービスが IPv6 をサポートするかどうかを指定します。有効な値:
|
false |
| AddressIpVersion |
string |
任意 |
IP バージョン。有効な値:
説明
サービスリソースとして Network Load Balancer (NLB) または Gateway Load Balancer (GWLB) を使用するエンドポイントサービスのみが、DualStack IP バージョンをサポートします。 列挙値:
|
IPv4 |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
リクエスト ID です。 |
||
| RequestId |
string |
リクエスト ID です。 |
8D8992C1-6712-423C-BAC5-E5E817484C6B |
例
成功レスポンス
JSONJSON
{
"RequestId": "8D8992C1-6712-423C-BAC5-E5E817484C6B"
}
エラーコード
|
HTTP ステータスコード |
エラーコード |
エラーメッセージ |
説明 |
|---|---|---|---|
| 400 | EndpointServiceNotFound | The specified Service does not exist. | |
| 400 | EndpointServiceLocked | The specified Service is locked. | |
| 400 | EndpointServiceOperationDenied | The specified operation of endpoint service is not allowed. | |
| 400 | IllegalParamFormat.%s | The param format of %s is illegal. | |
| 400 | OperationDenied.PrivateServiceDomainBusinessStatus | The operation is not allowed because of PrivateServiceDomainBusinessStatus. | |
| 400 | MissingParam.%s | The param of %s is missing. | |
| 400 | ServiceResourceNotSupportIpv6 | The resource is not support ipv6. | |
| 400 | EndpointServiceDowngradeNotAllowed | The EndpointService is not allowed for downgrade. | |
| 400 | DependencyViolation.PrivateDnsName | The specified resource of %s depends on %s, so the operation cannot be completed. | |
| 400 | OperationDenied.PrivateDomainNotSupport | The operation is not allowed because of PrivateDomainNotSupport. | |
| 400 | OperationDenied.PrivateDomainStatusNotSupport | The operation is not allowed because of %s. | |
| 400 | Conflict.ServiceName | The ServiceName %s is conflict. | |
| 400 | InvalidParam.PrivateDnsName | The parameter of PrivateDnsName is illegal, which needs to end with aliyun.com, aliyun-inc.com, or aliyuncs.com. | |
| 400 | OperationDenied.ResourceTypeNotSupportDualStack | The specified resource type does not support dualstack. | |
| 400 | OperationDenied.ServiceResourceIpVersionMismatch | The endpoint service and service resource AddressIpVersion do not match. | |
| 400 | EndpointServiceConnectionDependence | There are connections between the endpoint service and the dualstack endpoint, the endpoint service address ip version not support switching from dualstack to ipv4. |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。