|
12 | 12 | */
|
13 | 13 |
|
14 | 14 | /*
|
15 |
| - * IBM OpenAPI SDK Code Generator Version: 3.39.0-748eb4ca-20210917-165907 |
| 15 | + * IBM OpenAPI SDK Code Generator Version: 3.42.0-8746aaa4-20211102-213344 |
16 | 16 | */
|
17 | 17 |
|
18 | 18 | package com.ibm.cloud.is.vpc.v1;
|
|
411 | 411 | import java.util.Map.Entry;
|
412 | 412 |
|
413 | 413 | /**
|
414 |
| - * The IBM Cloud Virtual Private Cloud (VPC) API can be used to programmatically provision and manage infrastructure |
415 |
| - * resources, including virtual server instances, subnets, volumes, and load balancers. |
| 414 | + * The IBM Cloud Virtual Private Cloud (VPC) API can be used to programmatically provision and manage virtual server |
| 415 | + * instances, along with subnets, volumes, load balancers, and more. |
416 | 416 | *
|
417 |
| - * API Version: 2021-10-19 |
| 417 | + * API Version: 2021-11-23 |
418 | 418 | */
|
419 | 419 | public class Vpc extends BaseService {
|
420 | 420 |
|
421 | 421 | public static final String DEFAULT_SERVICE_NAME = "vpc";
|
422 | 422 |
|
423 | 423 | public static final String DEFAULT_SERVICE_URL = "https://us-south.iaas.cloud.ibm.com/v1";
|
424 | 424 |
|
425 |
| - private String version = "2021-10-19"; |
| 425 | + private String version = "2021-11-23"; |
426 | 426 |
|
427 | 427 | private Long generation = Long.valueOf("2");
|
428 | 428 |
|
@@ -466,8 +466,8 @@ public Vpc(String serviceName, Authenticator authenticator) {
|
466 | 466 | /**
|
467 | 467 | * Gets the version.
|
468 | 468 | *
|
469 |
| - * Requests the version of the API as of a date in the format `YYYY-MM-DD`. Any date up to the current date may be |
470 |
| - * provided. Specify the current date to request the latest version. |
| 469 | + * Requests the API version as of a date, in format `YYYY-MM-DD`. Any date between `2019-01-01` and the current date |
| 470 | + * may be specified. Specify the current date to request the latest version. |
471 | 471 | *
|
472 | 472 | * @return the version
|
473 | 473 | */
|
@@ -1092,7 +1092,7 @@ public ServiceCall<Route> updateVpcRoute(UpdateVpcRouteOptions updateVpcRouteOpt
|
1092 | 1092 | *
|
1093 | 1093 | * This request lists all user-defined routing tables for a VPC. Each subnet in a VPC is associated with a routing
|
1094 | 1094 | * table, which controls delivery of packets sent on that subnet according to the action of the most specific matching
|
1095 |
| - * route in the table. If multiple equally-specific routes exist, traffic will be distributed across them. If no |
| 1095 | + * route in the table. If multiple equally-specific routes exist, traffic will be distributed across them. If no |
1096 | 1096 | * routes match, delivery will be controlled by the system's built-in routes.
|
1097 | 1097 | *
|
1098 | 1098 | * @param listVpcRoutingTablesOptions the {@link ListVpcRoutingTablesOptions} containing the options for the call
|
@@ -2179,9 +2179,6 @@ public ServiceCall<KeyCollection> listKeys(ListKeysOptions listKeysOptions) {
|
2179 | 2179 | if (listKeysOptions.limit() != null) {
|
2180 | 2180 | builder.query("limit", String.valueOf(listKeysOptions.limit()));
|
2181 | 2181 | }
|
2182 |
| - if (listKeysOptions.resourceGroupId() != null) { |
2183 |
| - builder.query("resource_group.id", String.valueOf(listKeysOptions.resourceGroupId())); |
2184 |
| - } |
2185 | 2182 | ResponseConverter<KeyCollection> responseConverter =
|
2186 | 2183 | ResponseConverterUtils.getValue(new com.google.gson.reflect.TypeToken<KeyCollection>() { }.getType());
|
2187 | 2184 | return createServiceCall(builder.build(), responseConverter);
|
@@ -4081,6 +4078,9 @@ public ServiceCall<DedicatedHostGroupCollection> listDedicatedHostGroups(ListDed
|
4081 | 4078 | if (listDedicatedHostGroupsOptions.zoneName() != null) {
|
4082 | 4079 | builder.query("zone.name", String.valueOf(listDedicatedHostGroupsOptions.zoneName()));
|
4083 | 4080 | }
|
| 4081 | + if (listDedicatedHostGroupsOptions.name() != null) { |
| 4082 | + builder.query("name", String.valueOf(listDedicatedHostGroupsOptions.name())); |
| 4083 | + } |
4084 | 4084 | ResponseConverter<DedicatedHostGroupCollection> responseConverter =
|
4085 | 4085 | ResponseConverterUtils.getValue(new com.google.gson.reflect.TypeToken<DedicatedHostGroupCollection>() { }.getType());
|
4086 | 4086 | return createServiceCall(builder.build(), responseConverter);
|
@@ -4339,6 +4339,9 @@ public ServiceCall<DedicatedHostCollection> listDedicatedHosts(ListDedicatedHost
|
4339 | 4339 | if (listDedicatedHostsOptions.zoneName() != null) {
|
4340 | 4340 | builder.query("zone.name", String.valueOf(listDedicatedHostsOptions.zoneName()));
|
4341 | 4341 | }
|
| 4342 | + if (listDedicatedHostsOptions.name() != null) { |
| 4343 | + builder.query("name", String.valueOf(listDedicatedHostsOptions.name())); |
| 4344 | + } |
4342 | 4345 | ResponseConverter<DedicatedHostCollection> responseConverter =
|
4343 | 4346 | ResponseConverterUtils.getValue(new com.google.gson.reflect.TypeToken<DedicatedHostCollection>() { }.getType());
|
4344 | 4347 | return createServiceCall(builder.build(), responseConverter);
|
|
0 commit comments