检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
try: request = ShowVirtualGatewayRequest() request.fields = response = client.show_virtual_gateway(request) print(response)
try: request = ShowDirectConnectRequest() request.fields = response = client.show_direct_connect(request) print(response)
request.withBody(body); try { UpdateVirtualGatewayResponse response = client.updateVirtualGateway(request);
uest request = new ListVirtualInterfacesRequest(); request.withDirectConnectId(); request.withVgwId(); request.withLimit(<limit>);
: "0" }, "request_id" : "5633df7af874576d819a481c76673236" } SDK代码示例 SDK代码示例如下。 Java Python Go 更多 创建一个private类型的虚拟接口,设置带宽为2,VLAN为332,云侧网关IPv4接口地址为1
try: request = ShowVirtualInterfaceRequest() request.fields = response = client.show_virtual_interface(request)
request.withBody(body); try { UpdateVirtualInterfaceResponse response = client.updateVirtualInterface(request);
withMarker("<marker>"); request.withFields(); request.withSortDir(); request.withSortKey("<sort_key>"); request.withResourceId();
UpdatePeerLinkRequest request = new UpdatePeerLinkRequest(); request.withGlobalDcGatewayId("{global_dc_gateway_id}"); request.withPeerLi
DeletePeerLinkRequest request = new DeletePeerLinkRequest(); request.withGlobalDcGatewayId("{global_dc_gateway_id}"); request.withPeerLi
build(); DeleteGlobalDcGatewayRequest request = new DeleteGlobalDcGatewayRequest(); request.withGlobalDcGatewayId("{global_dc_gateway_id}");
request.withBody(body); try { BatchCreateResourceTagsResponse response = client.batchCreateResourceTags(request);
build(); DeleteConnectGatewayRequest request = new DeleteConnectGatewayRequest(); request.withConnectGatewayId("{connect_gateway_id}");
ShowPeerLinkRequest request = new ShowPeerLinkRequest(); request.withGlobalDcGatewayId("{global_dc_gateway_id}"); request.withPeerLin
withTag(tagbody); request.withBody(body); try { CreateResourceTagResponse response = client.createResourceTag(request);
.build(); CreatePeerLinkRequest request = new CreatePeerLinkRequest(); request.withGlobalDcGatewayId("{global_dc_gateway_id}");
build() try: request = ShowQuotasRequest() request.type = response = client.show_quotas(request) print(response)
ShowResourceTagRequest request = new ShowResourceTagRequest(); try { ShowResourceTagResponse response = client.showResourceTag(request);
dy); request.withBody(body); try { SwitchoverTestResponse response = client.switchoverTest(request);
ListProjectTagsRequest request = new ListProjectTagsRequest(); try { ListProjectTagsResponse response = client.listProjectTags(request);