* When creating a new image, you must provide the OCID of the instance you want to use as the basis for the image, and * the OCID of the compartment containing that instance. For more information about images, * see [Managing Custom Images](https://docs.us-phoenix-1.oraclecloud.com/Content/Compute/Tasks/managingcustomimages.htm). *
- * When importing an exported image from the Object Storage Service, you specify the source information + * When importing an exported image from Object Storage, you specify the source information * in {@link #imageSourceDetails(ImageSourceDetailsRequest) imageSourceDetails}. *
* When importing an image based on the namespace, bucket name, and object name, * use {@link #imageSourceViaObjectStorageTupleDetails(ImageSourceViaObjectStorageTupleDetailsRequest) imageSourceViaObjectStorageTupleDetails}. *
- * When importing an image based on the Object Storage Service URL, use + * When importing an image based on the Object Storage URL, use * {@link #imageSourceViaObjectStorageUriDetails(ImageSourceViaObjectStorageUriDetailsRequest) imageSourceViaObjectStorageUriDetails}. * See [Object Storage URLs](https://docs.us-phoenix-1.oraclecloud.com/Content/Compute/Tasks/imageimportexport.htm#URLs) and [pre-authenticated requests](https://docs.us-phoenix-1.oraclecloud.com/Content/Object/Tasks/managingaccess.htm#pre-auth) * for constructing URLs for image import/export. @@ -184,12 +184,12 @@ DeleteInstanceConsoleConnectionResponse deleteInstanceConsoleConnection( DetachVolumeResponse detachVolume(DetachVolumeRequest request); /** - * Exports the specified image to the Oracle Bare Metal Cloud Object Storage Service. You can use the Object Storage Service URL, + * Exports the specified image to the Oracle Cloud Infrastructure Object Storage service. You can use the Object Storage URL, * or the namespace, bucket name, and object name when specifying the location to export to. *
* For more information about exporting images, see [Image Import/Export](https://docs.us-phoenix-1.oraclecloud.com/Content/Compute/Tasks/imageimportexport.htm). *
- * To perform an image export, you need write access to the Object Storage Service bucket for the image, + * To perform an image export, you need write access to the Object Storage bucket for the image, * see [Let Users Write Objects to Object Storage Buckets](https://docs.us-phoenix-1.oraclecloud.com/Content/Identity/Concepts/commonpolicies.htm#Let4). *
* See [Object Storage URLs](https://docs.us-phoenix-1.oraclecloud.com/Content/Compute/Tasks/imageimportexport.htm#URLs) and [pre-authenticated requests](https://docs.us-phoenix-1.oraclecloud.com/Content/Object/Tasks/managingaccess.htm#pre-auth) @@ -314,7 +314,7 @@ GetWindowsInstanceInitialCredentialsResponse getWindowsInstanceInitialCredential * To get a list of Availability Domains, use the `ListAvailabilityDomains` operation * in the Identity and Access Management Service API. *
- * All Oracle Bare Metal Cloud Services resources, including instances, get an Oracle-assigned,
+ * All Oracle Cloud Infrastructure resources, including instances, get an Oracle-assigned,
* unique ID called an Oracle Cloud Identifier (OCID).
* When you create a resource, you can find its OCID in the response. You can
* also retrieve a resource's OCID by using a List API operation
@@ -348,7 +348,9 @@ GetWindowsInstanceInitialCredentialsResponse getWindowsInstanceInitialCredential
ListConsoleHistoriesResponse listConsoleHistories(ListConsoleHistoriesRequest request);
/**
- * Lists the available images in the specified compartment. For more
+ * Lists the available images in the specified compartment.
+ * If you specify a value for the `sortBy` parameter, Oracle-provided images appear first in the list, followed by custom images.
+ * For more
* information about images, see
* [Managing Custom Images](https://docs.us-phoenix-1.oraclecloud.com/Content/Compute/Tasks/managingcustomimages.htm).
*
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/ComputeAsync.java b/bmc-core/src/main/java/com/oracle/bmc/core/ComputeAsync.java
index cfdc7bf326e..b09ea0a3dfc 100644
--- a/bmc-core/src/main/java/com/oracle/bmc/core/ComputeAsync.java
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/ComputeAsync.java
@@ -103,19 +103,19 @@ java.util.concurrent.Future
* When creating a new image, you must provide the OCID of the instance you want to use as the basis for the image, and
* the OCID of the compartment containing that instance. For more information about images,
* see [Managing Custom Images](https://docs.us-phoenix-1.oraclecloud.com/Content/Compute/Tasks/managingcustomimages.htm).
*
- * When importing an exported image from the Object Storage Service, you specify the source information
+ * When importing an exported image from Object Storage, you specify the source information
* in {@link #imageSourceDetails(ImageSourceDetailsRequest, Consumer, Consumer) imageSourceDetails}.
*
* When importing an image based on the namespace, bucket name, and object name,
* use {@link #imageSourceViaObjectStorageTupleDetails(ImageSourceViaObjectStorageTupleDetailsRequest, Consumer, Consumer) imageSourceViaObjectStorageTupleDetails}.
*
- * When importing an image based on the Object Storage Service URL, use
+ * When importing an image based on the Object Storage URL, use
* {@link #imageSourceViaObjectStorageUriDetails(ImageSourceViaObjectStorageUriDetailsRequest, Consumer, Consumer) imageSourceViaObjectStorageUriDetails}.
* See [Object Storage URLs](https://docs.us-phoenix-1.oraclecloud.com/Content/Compute/Tasks/imageimportexport.htm#URLs) and [pre-authenticated requests](https://docs.us-phoenix-1.oraclecloud.com/Content/Object/Tasks/managingaccess.htm#pre-auth)
* for constructing URLs for image import/export.
@@ -256,12 +256,12 @@ java.util.concurrent.Future
* For more information about exporting images, see [Image Import/Export](https://docs.us-phoenix-1.oraclecloud.com/Content/Compute/Tasks/imageimportexport.htm).
*
- * To perform an image export, you need write access to the Object Storage Service bucket for the image,
+ * To perform an image export, you need write access to the Object Storage bucket for the image,
* see [Let Users Write Objects to Object Storage Buckets](https://docs.us-phoenix-1.oraclecloud.com/Content/Identity/Concepts/commonpolicies.htm#Let4).
*
* See [Object Storage URLs](https://docs.us-phoenix-1.oraclecloud.com/Content/Compute/Tasks/imageimportexport.htm#URLs) and [pre-authenticated requests](https://docs.us-phoenix-1.oraclecloud.com/Content/Object/Tasks/managingaccess.htm#pre-auth)
@@ -459,7 +459,7 @@ java.util.concurrent.Future
- * All Oracle Bare Metal Cloud Services resources, including instances, get an Oracle-assigned,
+ * All Oracle Cloud Infrastructure resources, including instances, get an Oracle-assigned,
* unique ID called an Oracle Cloud Identifier (OCID).
* When you create a resource, you can find its OCID in the response. You can
* also retrieve a resource's OCID by using a List API operation
@@ -508,7 +508,9 @@ java.util.concurrent.Future
@@ -336,7 +336,7 @@ public interface VirtualNetwork extends AutoCloseable {
* must not overlap with your on-premises network. You can't change the size of the VCN after creation.
*
* For the purposes of access control, you must provide the OCID of the compartment where you want the VCN to
- * reside. Consult an Oracle Bare Metal Cloud Services administrator in your organization if you're not sure which
+ * reside. Consult an Oracle Cloud Infrastructure administrator in your organization if you're not sure which
* compartment to use. Notice that the VCN doesn't have to be in the same compartment as the subnets or other
* Networking Service components. For more information about compartments and access control, see
* [Overview of the IAM Service](https://docs.us-phoenix-1.oraclecloud.com/Content/Identity/Concepts/overview.htm). For information about OCIDs, see
@@ -364,8 +364,8 @@ public interface VirtualNetwork extends AutoCloseable {
CreateVcnResponse createVcn(CreateVcnRequest request);
/**
- * Creates a new virtual circuit to use with Oracle Bare Metal Cloud
- * Services FastConnect. For more information, see
+ * Creates a new virtual circuit to use with Oracle Cloud
+ * Infrastructure FastConnect. For more information, see
* [FastConnect Overview](https://docs.us-phoenix-1.oraclecloud.com/Content/Network/Concepts/fastconnect.htm).
*
* For the purposes of access control, you must provide the OCID of the
@@ -918,11 +918,7 @@ ListFastConnectProviderServicesResponse listFastConnectProviderServices(
* Lists the available bandwidth levels for virtual circuits. You need this
* information so you can specify your desired bandwidth level (that is, shape)
* when you create a virtual circuit.
- *
* For the compartment ID, provide the OCID of your tenancy (the root compartment).
- *
- * For more information about virtual circuits, see
- * [FastConnect Overview](https://docs.us-phoenix-1.oraclecloud.com/Content/Network/Concepts/fastconnect.htm).
*
* @param request The request object containing the details to send
* @return A response object containing details about the completed operation
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/VirtualNetworkAsync.java b/bmc-core/src/main/java/com/oracle/bmc/core/VirtualNetworkAsync.java
index c5ce1fd86eb..79e7e14865c 100644
--- a/bmc-core/src/main/java/com/oracle/bmc/core/VirtualNetworkAsync.java
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/VirtualNetworkAsync.java
@@ -101,7 +101,7 @@ java.util.concurrent.Future
@@ -425,7 +425,7 @@ java.util.concurrent.Future
* For the purposes of access control, you must provide the OCID of the compartment where you want the VCN to
- * reside. Consult an Oracle Bare Metal Cloud Services administrator in your organization if you're not sure which
+ * reside. Consult an Oracle Cloud Infrastructure administrator in your organization if you're not sure which
* compartment to use. Notice that the VCN doesn't have to be in the same compartment as the subnets or other
* Networking Service components. For more information about compartments and access control, see
* [Overview of the IAM Service](https://docs.us-phoenix-1.oraclecloud.com/Content/Identity/Concepts/overview.htm). For information about OCIDs, see
@@ -459,8 +459,8 @@ java.util.concurrent.Future
* For the purposes of access control, you must provide the OCID of the
@@ -1381,11 +1381,7 @@ java.util.concurrent.Future
* For the compartment ID, provide the OCID of your tenancy (the root compartment).
- *
- * For more information about virtual circuits, see
- * [FastConnect Overview](https://docs.us-phoenix-1.oraclecloud.com/Content/Network/Concepts/fastconnect.htm).
*
*
* @param request The request object containing the details to send
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/internal/http/ListConsoleHistoriesConverter.java b/bmc-core/src/main/java/com/oracle/bmc/core/internal/http/ListConsoleHistoriesConverter.java
index 84ce6bd7571..60a8be3e1dd 100644
--- a/bmc-core/src/main/java/com/oracle/bmc/core/internal/http/ListConsoleHistoriesConverter.java
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/internal/http/ListConsoleHistoriesConverter.java
@@ -71,6 +71,30 @@ public static com.oracle.bmc.http.internal.WrappedInvocationBuilder fromRequest(
request.getInstanceId()));
}
+ if (request.getSortBy() != null) {
+ target =
+ target.queryParam(
+ "sortBy",
+ com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
+ request.getSortBy().getValue()));
+ }
+
+ if (request.getSortOrder() != null) {
+ target =
+ target.queryParam(
+ "sortOrder",
+ com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
+ request.getSortOrder().getValue()));
+ }
+
+ if (request.getLifecycleState() != null) {
+ target =
+ target.queryParam(
+ "lifecycleState",
+ com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
+ request.getLifecycleState()));
+ }
+
com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = target.request();
ib.accept(javax.ws.rs.core.MediaType.APPLICATION_JSON);
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/internal/http/ListCrossConnectGroupsConverter.java b/bmc-core/src/main/java/com/oracle/bmc/core/internal/http/ListCrossConnectGroupsConverter.java
index 0f6527d411e..ac42dff5dd6 100644
--- a/bmc-core/src/main/java/com/oracle/bmc/core/internal/http/ListCrossConnectGroupsConverter.java
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/internal/http/ListCrossConnectGroupsConverter.java
@@ -55,6 +55,38 @@ public static com.oracle.bmc.http.internal.WrappedInvocationBuilder fromRequest(
request.getPage()));
}
+ if (request.getDisplayName() != null) {
+ target =
+ target.queryParam(
+ "displayName",
+ com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
+ request.getDisplayName()));
+ }
+
+ if (request.getSortBy() != null) {
+ target =
+ target.queryParam(
+ "sortBy",
+ com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
+ request.getSortBy().getValue()));
+ }
+
+ if (request.getSortOrder() != null) {
+ target =
+ target.queryParam(
+ "sortOrder",
+ com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
+ request.getSortOrder().getValue()));
+ }
+
+ if (request.getLifecycleState() != null) {
+ target =
+ target.queryParam(
+ "lifecycleState",
+ com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
+ request.getLifecycleState()));
+ }
+
com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = target.request();
ib.accept(javax.ws.rs.core.MediaType.APPLICATION_JSON);
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/internal/http/ListCrossConnectsConverter.java b/bmc-core/src/main/java/com/oracle/bmc/core/internal/http/ListCrossConnectsConverter.java
index 8ce835fbb92..b5404677f97 100644
--- a/bmc-core/src/main/java/com/oracle/bmc/core/internal/http/ListCrossConnectsConverter.java
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/internal/http/ListCrossConnectsConverter.java
@@ -62,6 +62,38 @@ public static com.oracle.bmc.http.internal.WrappedInvocationBuilder fromRequest(
request.getPage()));
}
+ if (request.getDisplayName() != null) {
+ target =
+ target.queryParam(
+ "displayName",
+ com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
+ request.getDisplayName()));
+ }
+
+ if (request.getSortBy() != null) {
+ target =
+ target.queryParam(
+ "sortBy",
+ com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
+ request.getSortBy().getValue()));
+ }
+
+ if (request.getSortOrder() != null) {
+ target =
+ target.queryParam(
+ "sortOrder",
+ com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
+ request.getSortOrder().getValue()));
+ }
+
+ if (request.getLifecycleState() != null) {
+ target =
+ target.queryParam(
+ "lifecycleState",
+ com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
+ request.getLifecycleState()));
+ }
+
com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = target.request();
ib.accept(javax.ws.rs.core.MediaType.APPLICATION_JSON);
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/internal/http/ListDhcpOptionsConverter.java b/bmc-core/src/main/java/com/oracle/bmc/core/internal/http/ListDhcpOptionsConverter.java
index fbd49310cfa..33cd635f5b0 100644
--- a/bmc-core/src/main/java/com/oracle/bmc/core/internal/http/ListDhcpOptionsConverter.java
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/internal/http/ListDhcpOptionsConverter.java
@@ -64,6 +64,38 @@ public static com.oracle.bmc.http.internal.WrappedInvocationBuilder fromRequest(
request.getPage()));
}
+ if (request.getDisplayName() != null) {
+ target =
+ target.queryParam(
+ "displayName",
+ com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
+ request.getDisplayName()));
+ }
+
+ if (request.getSortBy() != null) {
+ target =
+ target.queryParam(
+ "sortBy",
+ com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
+ request.getSortBy().getValue()));
+ }
+
+ if (request.getSortOrder() != null) {
+ target =
+ target.queryParam(
+ "sortOrder",
+ com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
+ request.getSortOrder().getValue()));
+ }
+
+ if (request.getLifecycleState() != null) {
+ target =
+ target.queryParam(
+ "lifecycleState",
+ com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
+ request.getLifecycleState()));
+ }
+
com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = target.request();
ib.accept(javax.ws.rs.core.MediaType.APPLICATION_JSON);
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/internal/http/ListImagesConverter.java b/bmc-core/src/main/java/com/oracle/bmc/core/internal/http/ListImagesConverter.java
index 043106b18ec..2ef24ed20ef 100644
--- a/bmc-core/src/main/java/com/oracle/bmc/core/internal/http/ListImagesConverter.java
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/internal/http/ListImagesConverter.java
@@ -78,6 +78,30 @@ public static com.oracle.bmc.http.internal.WrappedInvocationBuilder fromRequest(
request.getPage()));
}
+ if (request.getSortBy() != null) {
+ target =
+ target.queryParam(
+ "sortBy",
+ com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
+ request.getSortBy().getValue()));
+ }
+
+ if (request.getSortOrder() != null) {
+ target =
+ target.queryParam(
+ "sortOrder",
+ com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
+ request.getSortOrder().getValue()));
+ }
+
+ if (request.getLifecycleState() != null) {
+ target =
+ target.queryParam(
+ "lifecycleState",
+ com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
+ request.getLifecycleState()));
+ }
+
com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = target.request();
ib.accept(javax.ws.rs.core.MediaType.APPLICATION_JSON);
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/internal/http/ListInstancesConverter.java b/bmc-core/src/main/java/com/oracle/bmc/core/internal/http/ListInstancesConverter.java
index 892bad422a2..48afbecd8af 100644
--- a/bmc-core/src/main/java/com/oracle/bmc/core/internal/http/ListInstancesConverter.java
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/internal/http/ListInstancesConverter.java
@@ -70,6 +70,30 @@ public static com.oracle.bmc.http.internal.WrappedInvocationBuilder fromRequest(
request.getPage()));
}
+ if (request.getSortBy() != null) {
+ target =
+ target.queryParam(
+ "sortBy",
+ com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
+ request.getSortBy().getValue()));
+ }
+
+ if (request.getSortOrder() != null) {
+ target =
+ target.queryParam(
+ "sortOrder",
+ com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
+ request.getSortOrder().getValue()));
+ }
+
+ if (request.getLifecycleState() != null) {
+ target =
+ target.queryParam(
+ "lifecycleState",
+ com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
+ request.getLifecycleState()));
+ }
+
com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = target.request();
ib.accept(javax.ws.rs.core.MediaType.APPLICATION_JSON);
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/internal/http/ListInternetGatewaysConverter.java b/bmc-core/src/main/java/com/oracle/bmc/core/internal/http/ListInternetGatewaysConverter.java
index 57c944b227a..fe8818d0983 100644
--- a/bmc-core/src/main/java/com/oracle/bmc/core/internal/http/ListInternetGatewaysConverter.java
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/internal/http/ListInternetGatewaysConverter.java
@@ -65,6 +65,38 @@ public static com.oracle.bmc.http.internal.WrappedInvocationBuilder fromRequest(
request.getPage()));
}
+ if (request.getDisplayName() != null) {
+ target =
+ target.queryParam(
+ "displayName",
+ com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
+ request.getDisplayName()));
+ }
+
+ if (request.getSortBy() != null) {
+ target =
+ target.queryParam(
+ "sortBy",
+ com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
+ request.getSortBy().getValue()));
+ }
+
+ if (request.getSortOrder() != null) {
+ target =
+ target.queryParam(
+ "sortOrder",
+ com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
+ request.getSortOrder().getValue()));
+ }
+
+ if (request.getLifecycleState() != null) {
+ target =
+ target.queryParam(
+ "lifecycleState",
+ com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
+ request.getLifecycleState()));
+ }
+
com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = target.request();
ib.accept(javax.ws.rs.core.MediaType.APPLICATION_JSON);
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/internal/http/ListRouteTablesConverter.java b/bmc-core/src/main/java/com/oracle/bmc/core/internal/http/ListRouteTablesConverter.java
index 8411c1d839e..72f98ef81dd 100644
--- a/bmc-core/src/main/java/com/oracle/bmc/core/internal/http/ListRouteTablesConverter.java
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/internal/http/ListRouteTablesConverter.java
@@ -64,6 +64,38 @@ public static com.oracle.bmc.http.internal.WrappedInvocationBuilder fromRequest(
com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
request.getVcnId()));
+ if (request.getDisplayName() != null) {
+ target =
+ target.queryParam(
+ "displayName",
+ com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
+ request.getDisplayName()));
+ }
+
+ if (request.getSortBy() != null) {
+ target =
+ target.queryParam(
+ "sortBy",
+ com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
+ request.getSortBy().getValue()));
+ }
+
+ if (request.getSortOrder() != null) {
+ target =
+ target.queryParam(
+ "sortOrder",
+ com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
+ request.getSortOrder().getValue()));
+ }
+
+ if (request.getLifecycleState() != null) {
+ target =
+ target.queryParam(
+ "lifecycleState",
+ com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
+ request.getLifecycleState()));
+ }
+
com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = target.request();
ib.accept(javax.ws.rs.core.MediaType.APPLICATION_JSON);
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/internal/http/ListSecurityListsConverter.java b/bmc-core/src/main/java/com/oracle/bmc/core/internal/http/ListSecurityListsConverter.java
index f24c119c4b9..e03dce4cbbb 100644
--- a/bmc-core/src/main/java/com/oracle/bmc/core/internal/http/ListSecurityListsConverter.java
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/internal/http/ListSecurityListsConverter.java
@@ -64,6 +64,38 @@ public static com.oracle.bmc.http.internal.WrappedInvocationBuilder fromRequest(
com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
request.getVcnId()));
+ if (request.getDisplayName() != null) {
+ target =
+ target.queryParam(
+ "displayName",
+ com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
+ request.getDisplayName()));
+ }
+
+ if (request.getSortBy() != null) {
+ target =
+ target.queryParam(
+ "sortBy",
+ com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
+ request.getSortBy().getValue()));
+ }
+
+ if (request.getSortOrder() != null) {
+ target =
+ target.queryParam(
+ "sortOrder",
+ com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
+ request.getSortOrder().getValue()));
+ }
+
+ if (request.getLifecycleState() != null) {
+ target =
+ target.queryParam(
+ "lifecycleState",
+ com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
+ request.getLifecycleState()));
+ }
+
com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = target.request();
ib.accept(javax.ws.rs.core.MediaType.APPLICATION_JSON);
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/internal/http/ListSubnetsConverter.java b/bmc-core/src/main/java/com/oracle/bmc/core/internal/http/ListSubnetsConverter.java
index f5c71bed943..204198f1935 100644
--- a/bmc-core/src/main/java/com/oracle/bmc/core/internal/http/ListSubnetsConverter.java
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/internal/http/ListSubnetsConverter.java
@@ -64,6 +64,38 @@ public static com.oracle.bmc.http.internal.WrappedInvocationBuilder fromRequest(
com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
request.getVcnId()));
+ if (request.getDisplayName() != null) {
+ target =
+ target.queryParam(
+ "displayName",
+ com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
+ request.getDisplayName()));
+ }
+
+ if (request.getSortBy() != null) {
+ target =
+ target.queryParam(
+ "sortBy",
+ com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
+ request.getSortBy().getValue()));
+ }
+
+ if (request.getSortOrder() != null) {
+ target =
+ target.queryParam(
+ "sortOrder",
+ com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
+ request.getSortOrder().getValue()));
+ }
+
+ if (request.getLifecycleState() != null) {
+ target =
+ target.queryParam(
+ "lifecycleState",
+ com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
+ request.getLifecycleState()));
+ }
+
com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = target.request();
ib.accept(javax.ws.rs.core.MediaType.APPLICATION_JSON);
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/internal/http/ListVcnsConverter.java b/bmc-core/src/main/java/com/oracle/bmc/core/internal/http/ListVcnsConverter.java
index 2f17a4f209e..ba05bac970f 100644
--- a/bmc-core/src/main/java/com/oracle/bmc/core/internal/http/ListVcnsConverter.java
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/internal/http/ListVcnsConverter.java
@@ -54,6 +54,38 @@ public static com.oracle.bmc.http.internal.WrappedInvocationBuilder fromRequest(
request.getPage()));
}
+ if (request.getDisplayName() != null) {
+ target =
+ target.queryParam(
+ "displayName",
+ com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
+ request.getDisplayName()));
+ }
+
+ if (request.getSortBy() != null) {
+ target =
+ target.queryParam(
+ "sortBy",
+ com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
+ request.getSortBy().getValue()));
+ }
+
+ if (request.getSortOrder() != null) {
+ target =
+ target.queryParam(
+ "sortOrder",
+ com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
+ request.getSortOrder().getValue()));
+ }
+
+ if (request.getLifecycleState() != null) {
+ target =
+ target.queryParam(
+ "lifecycleState",
+ com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
+ request.getLifecycleState()));
+ }
+
com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = target.request();
ib.accept(javax.ws.rs.core.MediaType.APPLICATION_JSON);
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/internal/http/ListVirtualCircuitsConverter.java b/bmc-core/src/main/java/com/oracle/bmc/core/internal/http/ListVirtualCircuitsConverter.java
index 55427f95188..472a454cb4f 100644
--- a/bmc-core/src/main/java/com/oracle/bmc/core/internal/http/ListVirtualCircuitsConverter.java
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/internal/http/ListVirtualCircuitsConverter.java
@@ -54,6 +54,38 @@ public static com.oracle.bmc.http.internal.WrappedInvocationBuilder fromRequest(
request.getPage()));
}
+ if (request.getDisplayName() != null) {
+ target =
+ target.queryParam(
+ "displayName",
+ com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
+ request.getDisplayName()));
+ }
+
+ if (request.getSortBy() != null) {
+ target =
+ target.queryParam(
+ "sortBy",
+ com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
+ request.getSortBy().getValue()));
+ }
+
+ if (request.getSortOrder() != null) {
+ target =
+ target.queryParam(
+ "sortOrder",
+ com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
+ request.getSortOrder().getValue()));
+ }
+
+ if (request.getLifecycleState() != null) {
+ target =
+ target.queryParam(
+ "lifecycleState",
+ com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
+ request.getLifecycleState()));
+ }
+
com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = target.request();
ib.accept(javax.ws.rs.core.MediaType.APPLICATION_JSON);
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/internal/http/ListVolumeBackupsConverter.java b/bmc-core/src/main/java/com/oracle/bmc/core/internal/http/ListVolumeBackupsConverter.java
index 326572a2a35..06f65edbd6d 100644
--- a/bmc-core/src/main/java/com/oracle/bmc/core/internal/http/ListVolumeBackupsConverter.java
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/internal/http/ListVolumeBackupsConverter.java
@@ -62,6 +62,38 @@ public static com.oracle.bmc.http.internal.WrappedInvocationBuilder fromRequest(
request.getPage()));
}
+ if (request.getDisplayName() != null) {
+ target =
+ target.queryParam(
+ "displayName",
+ com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
+ request.getDisplayName()));
+ }
+
+ if (request.getSortBy() != null) {
+ target =
+ target.queryParam(
+ "sortBy",
+ com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
+ request.getSortBy().getValue()));
+ }
+
+ if (request.getSortOrder() != null) {
+ target =
+ target.queryParam(
+ "sortOrder",
+ com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
+ request.getSortOrder().getValue()));
+ }
+
+ if (request.getLifecycleState() != null) {
+ target =
+ target.queryParam(
+ "lifecycleState",
+ com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
+ request.getLifecycleState()));
+ }
+
com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = target.request();
ib.accept(javax.ws.rs.core.MediaType.APPLICATION_JSON);
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/internal/http/ListVolumesConverter.java b/bmc-core/src/main/java/com/oracle/bmc/core/internal/http/ListVolumesConverter.java
index 59494d6da5f..dd339c61190 100644
--- a/bmc-core/src/main/java/com/oracle/bmc/core/internal/http/ListVolumesConverter.java
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/internal/http/ListVolumesConverter.java
@@ -62,6 +62,38 @@ public static com.oracle.bmc.http.internal.WrappedInvocationBuilder fromRequest(
request.getPage()));
}
+ if (request.getDisplayName() != null) {
+ target =
+ target.queryParam(
+ "displayName",
+ com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
+ request.getDisplayName()));
+ }
+
+ if (request.getSortBy() != null) {
+ target =
+ target.queryParam(
+ "sortBy",
+ com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
+ request.getSortBy().getValue()));
+ }
+
+ if (request.getSortOrder() != null) {
+ target =
+ target.queryParam(
+ "sortOrder",
+ com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
+ request.getSortOrder().getValue()));
+ }
+
+ if (request.getLifecycleState() != null) {
+ target =
+ target.queryParam(
+ "lifecycleState",
+ com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
+ request.getLifecycleState()));
+ }
+
com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = target.request();
ib.accept(javax.ws.rs.core.MediaType.APPLICATION_JSON);
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/model/CreateVirtualCircuitDetails.java b/bmc-core/src/main/java/com/oracle/bmc/core/model/CreateVirtualCircuitDetails.java
index b746c24f65a..60a1d3962cd 100644
--- a/bmc-core/src/main/java/com/oracle/bmc/core/model/CreateVirtualCircuitDetails.java
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/model/CreateVirtualCircuitDetails.java
@@ -206,8 +206,8 @@ public static Builder builder() {
String providerName;
/**
- * The name of the service offered by the provider (if you're connecting
- * via a provider). To get a list of the available service offerings, see
+ * The name of the provider (if you're connecting via a provider).
+ * To get a list of the provider names, see
* {@link #listFastConnectProviderServices(ListFastConnectProviderServicesRequest) listFastConnectProviderServices}.
*
**/
@@ -215,9 +215,8 @@ public static Builder builder() {
String providerServiceName;
/**
- * The Oracle Bare Metal Cloud Services region where this virtual
+ * The Oracle Cloud Infrastructure region where this virtual
* circuit is located.
- *
* Example: `phx`
*
**/
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/model/CreateVolumeDetails.java b/bmc-core/src/main/java/com/oracle/bmc/core/model/CreateVolumeDetails.java
index a8b7b888dc9..74a85e5b6a3 100644
--- a/bmc-core/src/main/java/com/oracle/bmc/core/model/CreateVolumeDetails.java
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/model/CreateVolumeDetails.java
@@ -58,6 +58,15 @@ public Builder sizeInMBs(Long sizeInMBs) {
return this;
}
+ @com.fasterxml.jackson.annotation.JsonProperty("sourceDetails")
+ private VolumeSourceDetails sourceDetails;
+
+ public Builder sourceDetails(VolumeSourceDetails sourceDetails) {
+ this.sourceDetails = sourceDetails;
+ this.__explicitlySet__.add("sourceDetails");
+ return this;
+ }
+
@com.fasterxml.jackson.annotation.JsonProperty("volumeBackupId")
private String volumeBackupId;
@@ -78,6 +87,7 @@ public CreateVolumeDetails build() {
displayName,
sizeInGBs,
sizeInMBs,
+ sourceDetails,
volumeBackupId);
__instance__.__explicitlySet__.addAll(__explicitlySet__);
return __instance__;
@@ -90,6 +100,7 @@ public Builder copy(CreateVolumeDetails o) {
.displayName(o.getDisplayName())
.sizeInGBs(o.getSizeInGBs())
.sizeInMBs(o.getSizeInMBs())
+ .sourceDetails(o.getSourceDetails())
.volumeBackupId(o.getVolumeBackupId());
}
}
@@ -132,14 +143,25 @@ public static Builder builder() {
/**
* The size of the volume in MBs. The value must be a multiple of 1024.
- * This field is deprecated. Please use sizeInGBs.
+ * This field is deprecated. Use sizeInGBs instead.
*
**/
@com.fasterxml.jackson.annotation.JsonProperty("sizeInMBs")
Long sizeInMBs;
+ /**
+ * Specifies the volume source details for a new Block volume. The volume source is either another Block volume in the same Availability Domain or a Block volume backup.
+ * This is an optional field. If not specified or set to null, the new Block volume will be empty.
+ * When specified, the new Block volume will contain data from the source volume or backup.
+ *
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("sourceDetails")
+ VolumeSourceDetails sourceDetails;
+
/**
* The OCID of the volume backup from which the data should be restored on the newly created volume.
+ * This field is deprecated. Use the sourceDetails field instead to specify the
+ * backup for the volume.
*
**/
@com.fasterxml.jackson.annotation.JsonProperty("volumeBackupId")
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/model/CrossConnect.java b/bmc-core/src/main/java/com/oracle/bmc/core/model/CrossConnect.java
index 7cb8362ead8..6f0ccaea977 100644
--- a/bmc-core/src/main/java/com/oracle/bmc/core/model/CrossConnect.java
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/model/CrossConnect.java
@@ -4,7 +4,7 @@
package com.oracle.bmc.core.model;
/**
- * For use with Oracle Bare Metal Cloud Services FastConnect. A cross-connect represents a
+ * For use with Oracle Cloud Infrastructure FastConnect. A cross-connect represents a
* physical connection between an existing network and Oracle. Customers who are colocated
* with Oracle in a FastConnect location create and use cross-connects. For more
* information, see [FastConnect Overview](https://docs.us-phoenix-1.oraclecloud.com/Content/Network/Concepts/fastconnect.htm).
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/model/CrossConnectGroup.java b/bmc-core/src/main/java/com/oracle/bmc/core/model/CrossConnectGroup.java
index 0ff6dd33c9e..fef0cf21354 100644
--- a/bmc-core/src/main/java/com/oracle/bmc/core/model/CrossConnectGroup.java
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/model/CrossConnectGroup.java
@@ -4,7 +4,7 @@
package com.oracle.bmc.core.model;
/**
- * For use with Oracle Bare Metal Cloud Services FastConnect. A cross-connect group
+ * For use with Oracle Cloud Infrastructure FastConnect. A cross-connect group
* is a link aggregation group (LAG), which can contain one or more
* {@link CrossConnect}. Customers who are colocated with
* Oracle in a FastConnect location create and use cross-connect groups. For more
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/model/CrossConnectMapping.java b/bmc-core/src/main/java/com/oracle/bmc/core/model/CrossConnectMapping.java
index f546b598adb..32a0df149eb 100644
--- a/bmc-core/src/main/java/com/oracle/bmc/core/model/CrossConnectMapping.java
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/model/CrossConnectMapping.java
@@ -4,7 +4,7 @@
package com.oracle.bmc.core.model;
/**
- * For use with Oracle Bare Metal Cloud Services FastConnect. Each
+ * For use with Oracle Cloud Infrastructure FastConnect. Each
* {@link VirtualCircuit} runs on one or
* more cross-connects or cross-connect groups. A `CrossConnectMapping`
* contains the properties for an individual cross-connect or cross-connect group
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/model/Drg.java b/bmc-core/src/main/java/com/oracle/bmc/core/model/Drg.java
index dfaaf869c55..9fd1e14986a 100644
--- a/bmc-core/src/main/java/com/oracle/bmc/core/model/Drg.java
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/model/Drg.java
@@ -7,7 +7,7 @@
* A Dynamic Routing Gateway (DRG), which is a virtual router that provides a path for private
* network traffic between your VCN and your existing network. You use it with other Networking
* Service components to create an IPSec VPN or a connection that uses
- * Oracle Bare Metal Cloud Services FastConnect. For more information, see
+ * Oracle Cloud Infrastructure FastConnect. For more information, see
* [Overview of the Networking Service](https://docs.us-phoenix-1.oraclecloud.com/Content/Network/Concepts/overview.htm).
*
* To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized,
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/model/ExportImageDetails.java b/bmc-core/src/main/java/com/oracle/bmc/core/model/ExportImageDetails.java
index fb0cbd03d14..6aa97d594f3 100644
--- a/bmc-core/src/main/java/com/oracle/bmc/core/model/ExportImageDetails.java
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/model/ExportImageDetails.java
@@ -12,7 +12,7 @@
*
* Set `destinationType` to `objectStorageUri` and
* use {@link #exportImageViaObjectStorageUriDetails(ExportImageViaObjectStorageUriDetailsRequest) exportImageViaObjectStorageUriDetails}
- * when specifying the Object Storage Service URL.
+ * when specifying the Object Storage URL.
*
**/
@javax.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918")
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/model/ExportImageViaObjectStorageTupleDetails.java b/bmc-core/src/main/java/com/oracle/bmc/core/model/ExportImageViaObjectStorageTupleDetails.java
index 6bf93f290b7..af8062cd622 100644
--- a/bmc-core/src/main/java/com/oracle/bmc/core/model/ExportImageViaObjectStorageTupleDetails.java
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/model/ExportImageViaObjectStorageTupleDetails.java
@@ -82,19 +82,19 @@ public ExportImageViaObjectStorageTupleDetails(
}
/**
- * The Object Storage Service bucket to export the image to.
+ * The Object Storage bucket to export the image to.
**/
@com.fasterxml.jackson.annotation.JsonProperty("bucketName")
String bucketName;
/**
- * The Object Storage Service namespace to export the image to.
+ * The Object Storage namespace to export the image to.
**/
@com.fasterxml.jackson.annotation.JsonProperty("namespaceName")
String namespaceName;
/**
- * The Object Storage Service object name for the exported image.
+ * The Object Storage object name for the exported image.
**/
@com.fasterxml.jackson.annotation.JsonProperty("objectName")
String objectName;
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/model/ExportImageViaObjectStorageUriDetails.java b/bmc-core/src/main/java/com/oracle/bmc/core/model/ExportImageViaObjectStorageUriDetails.java
index 54b6b957287..5cf4656f4d7 100644
--- a/bmc-core/src/main/java/com/oracle/bmc/core/model/ExportImageViaObjectStorageUriDetails.java
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/model/ExportImageViaObjectStorageUriDetails.java
@@ -58,7 +58,7 @@ public ExportImageViaObjectStorageUriDetails(String destinationUri) {
}
/**
- * The Object Storage Service URL to export the image to. See [Object Storage URLs](https://docs.us-phoenix-1.oraclecloud.com/Content/Compute/Tasks/imageimportexport.htm#URLs)
+ * The Object Storage URL to export the image to. See [Object Storage URLs](https://docs.us-phoenix-1.oraclecloud.com/Content/Compute/Tasks/imageimportexport.htm#URLs)
* and [pre-authenticated requests](https://docs.us-phoenix-1.oraclecloud.com/Content/Object/Tasks/managingaccess.htm#pre-auth) for constructing URLs for image import/export.
*
**/
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/model/ImageSourceViaObjectStorageTupleDetails.java b/bmc-core/src/main/java/com/oracle/bmc/core/model/ImageSourceViaObjectStorageTupleDetails.java
index 49d79a457f2..7ebf6ed82bf 100644
--- a/bmc-core/src/main/java/com/oracle/bmc/core/model/ImageSourceViaObjectStorageTupleDetails.java
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/model/ImageSourceViaObjectStorageTupleDetails.java
@@ -82,19 +82,19 @@ public ImageSourceViaObjectStorageTupleDetails(
}
/**
- * The Object Storage Service bucket for the image.
+ * The Object Storage bucket for the image.
**/
@com.fasterxml.jackson.annotation.JsonProperty("bucketName")
String bucketName;
/**
- * The Object Storage Service namespace for the image.
+ * The Object Storage namespace for the image.
**/
@com.fasterxml.jackson.annotation.JsonProperty("namespaceName")
String namespaceName;
/**
- * The Object Storage Service name for the image.
+ * The Object Storage name for the image.
**/
@com.fasterxml.jackson.annotation.JsonProperty("objectName")
String objectName;
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/model/ImageSourceViaObjectStorageUriDetails.java b/bmc-core/src/main/java/com/oracle/bmc/core/model/ImageSourceViaObjectStorageUriDetails.java
index 3eaef146a15..c427427ffb4 100644
--- a/bmc-core/src/main/java/com/oracle/bmc/core/model/ImageSourceViaObjectStorageUriDetails.java
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/model/ImageSourceViaObjectStorageUriDetails.java
@@ -58,7 +58,7 @@ public ImageSourceViaObjectStorageUriDetails(String sourceUri) {
}
/**
- * The Object Storage Service URL for the image.
+ * The Object Storage URL for the image.
**/
@com.fasterxml.jackson.annotation.JsonProperty("sourceUri")
String sourceUri;
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/model/Instance.java b/bmc-core/src/main/java/com/oracle/bmc/core/model/Instance.java
index 87dff9c617d..d7693f8ebd5 100644
--- a/bmc-core/src/main/java/com/oracle/bmc/core/model/Instance.java
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/model/Instance.java
@@ -227,7 +227,7 @@ public static Builder builder() {
String imageId;
/**
- * When an Oracle Bare Metal Cloud Services or virtual machine
+ * When a bare metal or virtual machine
* instance boots, the iPXE firmware that runs on the instance is
* configured to run an iPXE script to continue the boot process.
*
@@ -245,7 +245,7 @@ public static Builder builder() {
* iqn.2015-02.oracle.boot.
*
* For more information about the Bring Your Own Image feature of
- * Oracle Bare Metal Cloud Services, see
+ * Oracle Cloud Infrastructure, see
* [Bring Your Own Image](https://docs.us-phoenix-1.oraclecloud.com/Content/Compute/References/bringyourownimage.htm).
*
* For more information about iPXE, see http://ipxe.org.
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/model/LaunchInstanceDetails.java b/bmc-core/src/main/java/com/oracle/bmc/core/model/LaunchInstanceDetails.java
index 63bad9f92f1..ef70f5cbe81 100644
--- a/bmc-core/src/main/java/com/oracle/bmc/core/model/LaunchInstanceDetails.java
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/model/LaunchInstanceDetails.java
@@ -218,7 +218,7 @@ public static Builder builder() {
/**
* This is an advanced option.
*
- * When an Oracle Bare Metal Cloud Services or virtual machine
+ * When a bare metal or virtual machine
* instance boots, the iPXE firmware that runs on the instance is
* configured to run an iPXE script to continue the boot process.
*
@@ -236,7 +236,7 @@ public static Builder builder() {
* iqn.2015-02.oracle.boot.
*
* For more information about the Bring Your Own Image feature of
- * Oracle Bare Metal Cloud Services, see
+ * Oracle Cloud Infrastructure, see
* [Bring Your Own Image](https://docs.us-phoenix-1.oraclecloud.com/Content/Compute/References/bringyourownimage.htm).
*
* For more information about iPXE, see http://ipxe.org.
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/model/SecurityList.java b/bmc-core/src/main/java/com/oracle/bmc/core/model/SecurityList.java
index 854caa50711..ce1ffb6ef72 100644
--- a/bmc-core/src/main/java/com/oracle/bmc/core/model/SecurityList.java
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/model/SecurityList.java
@@ -9,7 +9,7 @@
* in the subnet. The rules can be stateful or stateless. For more information, see
* [Security Lists](https://docs.us-phoenix-1.oraclecloud.com/Content/Network/Concepts/securitylists.htm).
*
- **Important:** Oracle Bare Metal Cloud Services images automatically include firewall rules (for example,
+ **Important:** Oracle Cloud Infrastructure Compute service images automatically include firewall rules (for example,
* Linux iptables, Windows firewall). If there are issues with some type of access to an instance,
* make sure both the security lists associated with the instance's subnet and the instance's
* firewall rules are set correctly.
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/model/UpdateVirtualCircuitDetails.java b/bmc-core/src/main/java/com/oracle/bmc/core/model/UpdateVirtualCircuitDetails.java
index ae2fbaf80c5..3299ba7f936 100644
--- a/bmc-core/src/main/java/com/oracle/bmc/core/model/UpdateVirtualCircuitDetails.java
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/model/UpdateVirtualCircuitDetails.java
@@ -117,7 +117,6 @@ public static Builder builder() {
* The provisioned data rate of the connection. To get a list of the
* available bandwidth levels (that is, shapes), see
* {@link #listVirtualCircuitBandwidthShapes(ListVirtualCircuitBandwidthShapesRequest) listVirtualCircuitBandwidthShapes}.
- *
* To be updated only by the customer who owns the virtual circuit.
*
**/
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/model/VirtualCircuit.java b/bmc-core/src/main/java/com/oracle/bmc/core/model/VirtualCircuit.java
index c1a4d30f4fd..8771d762b8e 100644
--- a/bmc-core/src/main/java/com/oracle/bmc/core/model/VirtualCircuit.java
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/model/VirtualCircuit.java
@@ -4,7 +4,7 @@
package com.oracle.bmc.core.model;
/**
- * For use with Oracle Bare Metal Cloud Services FastConnect.
+ * For use with Oracle Cloud Infrastructure FastConnect.
*
* A virtual circuit is an isolated network path that runs over one or more physical
* network connections to provide a single, logical connection between the edge router
@@ -420,14 +420,14 @@ public static LifecycleState create(String key) {
Integer oracleBgpAsn;
/**
- * The name of the provider (if the customer is connecting via a provider).
+ * The name of the provider (if you're connecting via a provider).
*
**/
@com.fasterxml.jackson.annotation.JsonProperty("providerName")
String providerName;
/**
- * The name of the service offered by the provider (if the customer is connecting via a provider).
+ * The name of the service offered by the provider.
*
**/
@com.fasterxml.jackson.annotation.JsonProperty("providerServiceName")
@@ -503,7 +503,7 @@ public static ProviderState create(String key) {
String referenceComment;
/**
- * The Oracle Bare Metal Cloud Services region where this virtual
+ * The Oracle Cloud Infrastructure region where this virtual
* circuit is located.
*
**/
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/model/Volume.java b/bmc-core/src/main/java/com/oracle/bmc/core/model/Volume.java
index 18faeb391fc..6d52e5e774c 100644
--- a/bmc-core/src/main/java/com/oracle/bmc/core/model/Volume.java
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/model/Volume.java
@@ -57,6 +57,15 @@ public Builder id(String id) {
return this;
}
+ @com.fasterxml.jackson.annotation.JsonProperty("isHydrated")
+ private Boolean isHydrated;
+
+ public Builder isHydrated(Boolean isHydrated) {
+ this.isHydrated = isHydrated;
+ this.__explicitlySet__.add("isHydrated");
+ return this;
+ }
+
@com.fasterxml.jackson.annotation.JsonProperty("lifecycleState")
private LifecycleState lifecycleState;
@@ -84,6 +93,15 @@ public Builder sizeInMBs(Long sizeInMBs) {
return this;
}
+ @com.fasterxml.jackson.annotation.JsonProperty("sourceDetails")
+ private VolumeSourceDetails sourceDetails;
+
+ public Builder sourceDetails(VolumeSourceDetails sourceDetails) {
+ this.sourceDetails = sourceDetails;
+ this.__explicitlySet__.add("sourceDetails");
+ return this;
+ }
+
@com.fasterxml.jackson.annotation.JsonProperty("timeCreated")
private java.util.Date timeCreated;
@@ -103,9 +121,11 @@ public Volume build() {
compartmentId,
displayName,
id,
+ isHydrated,
lifecycleState,
sizeInGBs,
sizeInMBs,
+ sourceDetails,
timeCreated);
__instance__.__explicitlySet__.addAll(__explicitlySet__);
return __instance__;
@@ -117,9 +137,11 @@ public Builder copy(Volume o) {
.compartmentId(o.getCompartmentId())
.displayName(o.getDisplayName())
.id(o.getId())
+ .isHydrated(o.getIsHydrated())
.lifecycleState(o.getLifecycleState())
.sizeInGBs(o.getSizeInGBs())
.sizeInMBs(o.getSizeInMBs())
+ .sourceDetails(o.getSourceDetails())
.timeCreated(o.getTimeCreated());
}
}
@@ -155,10 +177,16 @@ public static Builder builder() {
String displayName;
/**
- * The volume's Oracle ID (OCID).
+ * The OCID of the volume.
**/
@com.fasterxml.jackson.annotation.JsonProperty("id")
String id;
+
+ /**
+ * Specifies whether the cloned volume's data has finished copying from the source volume or backup.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("isHydrated")
+ Boolean isHydrated;
/**
* The current state of a volume.
**/
@@ -222,11 +250,19 @@ public static LifecycleState create(String key) {
Long sizeInGBs;
/**
- * The size of the volume in MBs. This field is deprecated. Please use sizeInGBs.
+ * The size of the volume in MBs. This field is deprecated. Use sizeInGBs instead.
**/
@com.fasterxml.jackson.annotation.JsonProperty("sizeInMBs")
Long sizeInMBs;
+ /**
+ * The volume source, either an existing volume in the same Availability Domain or a volume backup.
+ * If null, an empty volume is created.
+ *
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("sourceDetails")
+ VolumeSourceDetails sourceDetails;
+
/**
* The date and time the volume was created. Format defined by RFC3339.
**/
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/model/VolumeSourceDetails.java b/bmc-core/src/main/java/com/oracle/bmc/core/model/VolumeSourceDetails.java
new file mode 100644
index 00000000000..717275bfe7c
--- /dev/null
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/model/VolumeSourceDetails.java
@@ -0,0 +1,27 @@
+/**
+ * Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+ */
+package com.oracle.bmc.core.model;
+
+@javax.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918")
+@lombok.Value
+@lombok.experimental.NonFinal
+@lombok.AllArgsConstructor(access = lombok.AccessLevel.PROTECTED)
+@com.fasterxml.jackson.annotation.JsonTypeInfo(
+ use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME,
+ include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY,
+ property = "type",
+ defaultImpl = VolumeSourceDetails.class
+)
+@com.fasterxml.jackson.annotation.JsonSubTypes({
+ @com.fasterxml.jackson.annotation.JsonSubTypes.Type(
+ value = VolumeSourceFromVolumeDetails.class,
+ name = "volume"
+ ),
+ @com.fasterxml.jackson.annotation.JsonSubTypes.Type(
+ value = VolumeSourceFromVolumeBackupDetails.class,
+ name = "volumeBackup"
+ )
+})
+@com.fasterxml.jackson.annotation.JsonFilter(com.oracle.bmc.http.internal.ExplicitlySetFilter.NAME)
+public class VolumeSourceDetails {}
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/model/VolumeSourceFromVolumeBackupDetails.java b/bmc-core/src/main/java/com/oracle/bmc/core/model/VolumeSourceFromVolumeBackupDetails.java
new file mode 100644
index 00000000000..ae897c51571
--- /dev/null
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/model/VolumeSourceFromVolumeBackupDetails.java
@@ -0,0 +1,71 @@
+/**
+ * Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+ */
+package com.oracle.bmc.core.model;
+
+/**
+ * Specifies the volume backup.
+ **/
+@javax.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918")
+@lombok.Value
+@com.fasterxml.jackson.databind.annotation.JsonDeserialize(
+ builder = VolumeSourceFromVolumeBackupDetails.Builder.class
+)
+@lombok.ToString(callSuper = true)
+@lombok.EqualsAndHashCode(callSuper = true)
+@com.fasterxml.jackson.annotation.JsonTypeInfo(
+ use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME,
+ include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY,
+ property = "type"
+)
+@com.fasterxml.jackson.annotation.JsonFilter(com.oracle.bmc.http.internal.ExplicitlySetFilter.NAME)
+public class VolumeSourceFromVolumeBackupDetails extends VolumeSourceDetails {
+ @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
+ @lombok.experimental.Accessors(fluent = true)
+ public static class Builder {
+ @com.fasterxml.jackson.annotation.JsonProperty("id")
+ private String id;
+
+ public Builder id(String id) {
+ this.id = id;
+ this.__explicitlySet__.add("id");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ private final java.util.Set
+ **Note:** In general, some \"List\" operations (for example, `ListInstances`) let you
+ * optionally filter by Availability Domain if the scope of the resource type is within a
+ * single Availability Domain. If you call one of these \"List\" operations without specifying
+ * an Availability Domain, the resources are grouped by Availability Domain, then sorted.
+ *
+ */
+ private SortBy sortBy;
+
+ /**
+ * The field to sort by. You can provide one sort order (`sortOrder`). Default order for
+ * TIMECREATED is descending. Default order for DISPLAYNAME is ascending. The DISPLAYNAME
+ * sort order is case sensitive.
+ *
+ **Note:** In general, some \"List\" operations (for example, `ListInstances`) let you
+ * optionally filter by Availability Domain if the scope of the resource type is within a
+ * single Availability Domain. If you call one of these \"List\" operations without specifying
+ * an Availability Domain, the resources are grouped by Availability Domain, then sorted.
+ *
+ **/
+ public enum SortBy {
+ Timecreated("TIMECREATED"),
+ Displayname("DISPLAYNAME"),
+ ;
+
+ private final String value;
+ private static java.util.Map
+ **Note:** In general, some \"List\" operations (for example, `ListInstances`) let you
+ * optionally filter by Availability Domain if the scope of the resource type is within a
+ * single Availability Domain. If you call one of these \"List\" operations without specifying
+ * an Availability Domain, the resources are grouped by Availability Domain, then sorted.
+ *
+ */
+ private SortBy sortBy;
+
+ /**
+ * The field to sort by. You can provide one sort order (`sortOrder`). Default order for
+ * TIMECREATED is descending. Default order for DISPLAYNAME is ascending. The DISPLAYNAME
+ * sort order is case sensitive.
+ *
+ **Note:** In general, some \"List\" operations (for example, `ListInstances`) let you
+ * optionally filter by Availability Domain if the scope of the resource type is within a
+ * single Availability Domain. If you call one of these \"List\" operations without specifying
+ * an Availability Domain, the resources are grouped by Availability Domain, then sorted.
+ *
+ **/
+ public enum SortBy {
+ Timecreated("TIMECREATED"),
+ Displayname("DISPLAYNAME"),
+ ;
+
+ private final String value;
+ private static java.util.Map
+ **Note:** In general, some \"List\" operations (for example, `ListInstances`) let you
+ * optionally filter by Availability Domain if the scope of the resource type is within a
+ * single Availability Domain. If you call one of these \"List\" operations without specifying
+ * an Availability Domain, the resources are grouped by Availability Domain, then sorted.
+ *
+ */
+ private SortBy sortBy;
+
+ /**
+ * The field to sort by. You can provide one sort order (`sortOrder`). Default order for
+ * TIMECREATED is descending. Default order for DISPLAYNAME is ascending. The DISPLAYNAME
+ * sort order is case sensitive.
+ *
+ **Note:** In general, some \"List\" operations (for example, `ListInstances`) let you
+ * optionally filter by Availability Domain if the scope of the resource type is within a
+ * single Availability Domain. If you call one of these \"List\" operations without specifying
+ * an Availability Domain, the resources are grouped by Availability Domain, then sorted.
+ *
+ **/
+ public enum SortBy {
+ Timecreated("TIMECREATED"),
+ Displayname("DISPLAYNAME"),
+ ;
+
+ private final String value;
+ private static java.util.Map
+ **Note:** In general, some \"List\" operations (for example, `ListInstances`) let you
+ * optionally filter by Availability Domain if the scope of the resource type is within a
+ * single Availability Domain. If you call one of these \"List\" operations without specifying
+ * an Availability Domain, the resources are grouped by Availability Domain, then sorted.
+ *
+ */
+ private SortBy sortBy;
+
+ /**
+ * The field to sort by. You can provide one sort order (`sortOrder`). Default order for
+ * TIMECREATED is descending. Default order for DISPLAYNAME is ascending. The DISPLAYNAME
+ * sort order is case sensitive.
+ *
+ **Note:** In general, some \"List\" operations (for example, `ListInstances`) let you
+ * optionally filter by Availability Domain if the scope of the resource type is within a
+ * single Availability Domain. If you call one of these \"List\" operations without specifying
+ * an Availability Domain, the resources are grouped by Availability Domain, then sorted.
+ *
+ **/
+ public enum SortBy {
+ Timecreated("TIMECREATED"),
+ Displayname("DISPLAYNAME"),
+ ;
+
+ private final String value;
+ private static java.util.Map
- * Example: `My new resource`
+ * A filter to return only resources that match the given display name exactly.
*
*/
private String displayName;
@@ -54,6 +51,114 @@ public class ListImagesRequest extends com.oracle.bmc.requests.BmcRequest {
*/
private String page;
+ /**
+ * The field to sort by. You can provide one sort order (`sortOrder`). Default order for
+ * TIMECREATED is descending. Default order for DISPLAYNAME is ascending. The DISPLAYNAME
+ * sort order is case sensitive.
+ *
+ **Note:** In general, some \"List\" operations (for example, `ListInstances`) let you
+ * optionally filter by Availability Domain if the scope of the resource type is within a
+ * single Availability Domain. If you call one of these \"List\" operations without specifying
+ * an Availability Domain, the resources are grouped by Availability Domain, then sorted.
+ *
+ */
+ private SortBy sortBy;
+
+ /**
+ * The field to sort by. You can provide one sort order (`sortOrder`). Default order for
+ * TIMECREATED is descending. Default order for DISPLAYNAME is ascending. The DISPLAYNAME
+ * sort order is case sensitive.
+ *
+ **Note:** In general, some \"List\" operations (for example, `ListInstances`) let you
+ * optionally filter by Availability Domain if the scope of the resource type is within a
+ * single Availability Domain. If you call one of these \"List\" operations without specifying
+ * an Availability Domain, the resources are grouped by Availability Domain, then sorted.
+ *
+ **/
+ public enum SortBy {
+ Timecreated("TIMECREATED"),
+ Displayname("DISPLAYNAME"),
+ ;
+
+ private final String value;
+ private static java.util.Map
- * Example: `My new resource`
+ * A filter to return only resources that match the given display name exactly.
*
*/
private String displayName;
@@ -46,6 +43,114 @@ public class ListInstancesRequest extends com.oracle.bmc.requests.BmcRequest {
*/
private String page;
+ /**
+ * The field to sort by. You can provide one sort order (`sortOrder`). Default order for
+ * TIMECREATED is descending. Default order for DISPLAYNAME is ascending. The DISPLAYNAME
+ * sort order is case sensitive.
+ *
+ **Note:** In general, some \"List\" operations (for example, `ListInstances`) let you
+ * optionally filter by Availability Domain if the scope of the resource type is within a
+ * single Availability Domain. If you call one of these \"List\" operations without specifying
+ * an Availability Domain, the resources are grouped by Availability Domain, then sorted.
+ *
+ */
+ private SortBy sortBy;
+
+ /**
+ * The field to sort by. You can provide one sort order (`sortOrder`). Default order for
+ * TIMECREATED is descending. Default order for DISPLAYNAME is ascending. The DISPLAYNAME
+ * sort order is case sensitive.
+ *
+ **Note:** In general, some \"List\" operations (for example, `ListInstances`) let you
+ * optionally filter by Availability Domain if the scope of the resource type is within a
+ * single Availability Domain. If you call one of these \"List\" operations without specifying
+ * an Availability Domain, the resources are grouped by Availability Domain, then sorted.
+ *
+ **/
+ public enum SortBy {
+ Timecreated("TIMECREATED"),
+ Displayname("DISPLAYNAME"),
+ ;
+
+ private final String value;
+ private static java.util.Map
+ **Note:** In general, some \"List\" operations (for example, `ListInstances`) let you
+ * optionally filter by Availability Domain if the scope of the resource type is within a
+ * single Availability Domain. If you call one of these \"List\" operations without specifying
+ * an Availability Domain, the resources are grouped by Availability Domain, then sorted.
+ *
+ */
+ private SortBy sortBy;
+
+ /**
+ * The field to sort by. You can provide one sort order (`sortOrder`). Default order for
+ * TIMECREATED is descending. Default order for DISPLAYNAME is ascending. The DISPLAYNAME
+ * sort order is case sensitive.
+ *
+ **Note:** In general, some \"List\" operations (for example, `ListInstances`) let you
+ * optionally filter by Availability Domain if the scope of the resource type is within a
+ * single Availability Domain. If you call one of these \"List\" operations without specifying
+ * an Availability Domain, the resources are grouped by Availability Domain, then sorted.
+ *
+ **/
+ public enum SortBy {
+ Timecreated("TIMECREATED"),
+ Displayname("DISPLAYNAME"),
+ ;
+
+ private final String value;
+ private static java.util.Map
+ **Note:** In general, some \"List\" operations (for example, `ListInstances`) let you
+ * optionally filter by Availability Domain if the scope of the resource type is within a
+ * single Availability Domain. If you call one of these \"List\" operations without specifying
+ * an Availability Domain, the resources are grouped by Availability Domain, then sorted.
+ *
+ */
+ private SortBy sortBy;
+
+ /**
+ * The field to sort by. You can provide one sort order (`sortOrder`). Default order for
+ * TIMECREATED is descending. Default order for DISPLAYNAME is ascending. The DISPLAYNAME
+ * sort order is case sensitive.
+ *
+ **Note:** In general, some \"List\" operations (for example, `ListInstances`) let you
+ * optionally filter by Availability Domain if the scope of the resource type is within a
+ * single Availability Domain. If you call one of these \"List\" operations without specifying
+ * an Availability Domain, the resources are grouped by Availability Domain, then sorted.
+ *
+ **/
+ public enum SortBy {
+ Timecreated("TIMECREATED"),
+ Displayname("DISPLAYNAME"),
+ ;
+
+ private final String value;
+ private static java.util.Map
+ **Note:** In general, some \"List\" operations (for example, `ListInstances`) let you
+ * optionally filter by Availability Domain if the scope of the resource type is within a
+ * single Availability Domain. If you call one of these \"List\" operations without specifying
+ * an Availability Domain, the resources are grouped by Availability Domain, then sorted.
+ *
+ */
+ private SortBy sortBy;
+
+ /**
+ * The field to sort by. You can provide one sort order (`sortOrder`). Default order for
+ * TIMECREATED is descending. Default order for DISPLAYNAME is ascending. The DISPLAYNAME
+ * sort order is case sensitive.
+ *
+ **Note:** In general, some \"List\" operations (for example, `ListInstances`) let you
+ * optionally filter by Availability Domain if the scope of the resource type is within a
+ * single Availability Domain. If you call one of these \"List\" operations without specifying
+ * an Availability Domain, the resources are grouped by Availability Domain, then sorted.
+ *
+ **/
+ public enum SortBy {
+ Timecreated("TIMECREATED"),
+ Displayname("DISPLAYNAME"),
+ ;
+
+ private final String value;
+ private static java.util.Map
+ **Note:** In general, some \"List\" operations (for example, `ListInstances`) let you
+ * optionally filter by Availability Domain if the scope of the resource type is within a
+ * single Availability Domain. If you call one of these \"List\" operations without specifying
+ * an Availability Domain, the resources are grouped by Availability Domain, then sorted.
+ *
+ */
+ private SortBy sortBy;
+
+ /**
+ * The field to sort by. You can provide one sort order (`sortOrder`). Default order for
+ * TIMECREATED is descending. Default order for DISPLAYNAME is ascending. The DISPLAYNAME
+ * sort order is case sensitive.
+ *
+ **Note:** In general, some \"List\" operations (for example, `ListInstances`) let you
+ * optionally filter by Availability Domain if the scope of the resource type is within a
+ * single Availability Domain. If you call one of these \"List\" operations without specifying
+ * an Availability Domain, the resources are grouped by Availability Domain, then sorted.
+ *
+ **/
+ public enum SortBy {
+ Timecreated("TIMECREATED"),
+ Displayname("DISPLAYNAME"),
+ ;
+
+ private final String value;
+ private static java.util.Map
+ **Note:** In general, some \"List\" operations (for example, `ListInstances`) let you
+ * optionally filter by Availability Domain if the scope of the resource type is within a
+ * single Availability Domain. If you call one of these \"List\" operations without specifying
+ * an Availability Domain, the resources are grouped by Availability Domain, then sorted.
+ *
+ */
+ private SortBy sortBy;
+
+ /**
+ * The field to sort by. You can provide one sort order (`sortOrder`). Default order for
+ * TIMECREATED is descending. Default order for DISPLAYNAME is ascending. The DISPLAYNAME
+ * sort order is case sensitive.
+ *
+ **Note:** In general, some \"List\" operations (for example, `ListInstances`) let you
+ * optionally filter by Availability Domain if the scope of the resource type is within a
+ * single Availability Domain. If you call one of these \"List\" operations without specifying
+ * an Availability Domain, the resources are grouped by Availability Domain, then sorted.
+ *
+ **/
+ public enum SortBy {
+ Timecreated("TIMECREATED"),
+ Displayname("DISPLAYNAME"),
+ ;
+
+ private final String value;
+ private static java.util.Map
+ **Note:** In general, some \"List\" operations (for example, `ListInstances`) let you
+ * optionally filter by Availability Domain if the scope of the resource type is within a
+ * single Availability Domain. If you call one of these \"List\" operations without specifying
+ * an Availability Domain, the resources are grouped by Availability Domain, then sorted.
+ *
+ */
+ private SortBy sortBy;
+
+ /**
+ * The field to sort by. You can provide one sort order (`sortOrder`). Default order for
+ * TIMECREATED is descending. Default order for DISPLAYNAME is ascending. The DISPLAYNAME
+ * sort order is case sensitive.
+ *
+ **Note:** In general, some \"List\" operations (for example, `ListInstances`) let you
+ * optionally filter by Availability Domain if the scope of the resource type is within a
+ * single Availability Domain. If you call one of these \"List\" operations without specifying
+ * an Availability Domain, the resources are grouped by Availability Domain, then sorted.
+ *
+ **/
+ public enum SortBy {
+ Timecreated("TIMECREATED"),
+ Displayname("DISPLAYNAME"),
+ ;
+
+ private final String value;
+ private static java.util.Map
+ **Note:** In general, some \"List\" operations (for example, `ListInstances`) let you
+ * optionally filter by Availability Domain if the scope of the resource type is within a
+ * single Availability Domain. If you call one of these \"List\" operations without specifying
+ * an Availability Domain, the resources are grouped by Availability Domain, then sorted.
+ *
+ */
+ private SortBy sortBy;
+
+ /**
+ * The field to sort by. You can provide one sort order (`sortOrder`). Default order for
+ * TIMECREATED is descending. Default order for DISPLAYNAME is ascending. The DISPLAYNAME
+ * sort order is case sensitive.
+ *
+ **Note:** In general, some \"List\" operations (for example, `ListInstances`) let you
+ * optionally filter by Availability Domain if the scope of the resource type is within a
+ * single Availability Domain. If you call one of these \"List\" operations without specifying
+ * an Availability Domain, the resources are grouped by Availability Domain, then sorted.
+ *
+ **/
+ public enum SortBy {
+ Timecreated("TIMECREATED"),
+ Displayname("DISPLAYNAME"),
+ ;
+
+ private final String value;
+ private static java.util.Map
+ **Note:** In general, some \"List\" operations (for example, `ListInstances`) let you
+ * optionally filter by Availability Domain if the scope of the resource type is within a
+ * single Availability Domain. If you call one of these \"List\" operations without specifying
+ * an Availability Domain, the resources are grouped by Availability Domain, then sorted.
+ *
+ */
+ private SortBy sortBy;
+
+ /**
+ * The field to sort by. You can provide one sort order (`sortOrder`). Default order for
+ * TIMECREATED is descending. Default order for DISPLAYNAME is ascending. The DISPLAYNAME
+ * sort order is case sensitive.
+ *
+ **Note:** In general, some \"List\" operations (for example, `ListInstances`) let you
+ * optionally filter by Availability Domain if the scope of the resource type is within a
+ * single Availability Domain. If you call one of these \"List\" operations without specifying
+ * an Availability Domain, the resources are grouped by Availability Domain, then sorted.
+ *
+ **/
+ public enum SortBy {
+ Timecreated("TIMECREATED"),
+ Displayname("DISPLAYNAME"),
+ ;
+
+ private final String value;
+ private static java.util.Map
- * All Oracle Bare Metal Cloud Services resources, including Data Guard associations, get an Oracle-assigned, unique ID
+ * All Oracle Cloud Infrastructure resources, including Data Guard associations, get an Oracle-assigned, unique ID
* called an Oracle Cloud Identifier (OCID). When you create a resource, you can find its OCID in the response.
* You can also retrieve a resource's OCID by using a List API operation on that resource type, or by viewing the
* resource in the Console. Fore more information, see
@@ -85,6 +94,14 @@ CreateDataGuardAssociationResponse createDataGuardAssociation(
*/
DbNodeActionResponse dbNodeAction(DbNodeActionRequest request);
+ /**
+ * Deletes a full backup. You cannot delete automatic backups using this API.
+ * @param request The request object containing the details to send
+ * @return A response object containing details about the completed operation
+ * @throws BmcException when an error occurs.
+ */
+ DeleteBackupResponse deleteBackup(DeleteBackupRequest request);
+
/**
* Deletes a DB Home. The DB Home and its database data are local to the DB System and will be lost when it is deleted. Oracle recommends that you back up any data in the DB System prior to deleting it.
*
@@ -108,6 +125,14 @@ CreateDataGuardAssociationResponse createDataGuardAssociation(
FailoverDataGuardAssociationResponse failoverDataGuardAssociation(
FailoverDataGuardAssociationRequest request);
+ /**
+ * Gets information about the specified backup.
+ * @param request The request object containing the details to send
+ * @return A response object containing details about the completed operation
+ * @throws BmcException when an error occurs.
+ */
+ GetBackupResponse getBackup(GetBackupRequest request);
+
/**
* Gets the specified Data Guard association's configuration information.
*
@@ -205,6 +230,15 @@ GetDbSystemPatchHistoryEntryResponse getDbSystemPatchHistoryEntry(
*/
LaunchDbSystemResponse launchDbSystem(LaunchDbSystemRequest request);
+ /**
+ * Gets a list of backups based on the databaseId or compartmentId specified. Either one of the query parameters must be provided.
+ *
+ * @param request The request object containing the details to send
+ * @return A response object containing details about the completed operation
+ * @throws BmcException when an error occurs.
+ */
+ ListBackupsResponse listBackups(ListBackupsRequest request);
+
/**
* Lists all Data Guard associations for the specified database.
*
@@ -316,6 +350,15 @@ ListDbSystemPatchHistoryEntriesResponse listDbSystemPatchHistoryEntries(
ReinstateDataGuardAssociationResponse reinstateDataGuardAssociation(
ReinstateDataGuardAssociationRequest request);
+ /**
+ * Restore a Database based on the request parameters you provide.
+ *
+ * @param request The request object containing the details to send
+ * @return A response object containing details about the completed operation
+ * @throws BmcException when an error occurs.
+ */
+ RestoreDatabaseResponse restoreDatabase(RestoreDatabaseRequest request);
+
/**
* Performs a switchover to transition the primary database of a Data Guard association into a standby role. The
* standby database associated with the `dataGuardAssociationId` assumes the primary database role.
@@ -337,6 +380,15 @@ SwitchoverDataGuardAssociationResponse switchoverDataGuardAssociation(
*/
TerminateDbSystemResponse terminateDbSystem(TerminateDbSystemRequest request);
+ /**
+ * Update a Database based on the request parameters you provide.
+ *
+ * @param request The request object containing the details to send
+ * @return A response object containing details about the completed operation
+ * @throws BmcException when an error occurs.
+ */
+ UpdateDatabaseResponse updateDatabase(UpdateDatabaseRequest request);
+
/**
* Patches the specified dbHome.
* @param request The request object containing the details to send
diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/DatabaseAsync.java b/bmc-database/src/main/java/com/oracle/bmc/database/DatabaseAsync.java
index c9391b38390..c2e3bf65bda 100644
--- a/bmc-database/src/main/java/com/oracle/bmc/database/DatabaseAsync.java
+++ b/bmc-database/src/main/java/com/oracle/bmc/database/DatabaseAsync.java
@@ -36,11 +36,27 @@ public interface DatabaseAsync extends AutoCloseable {
*/
void setRegion(String regionId);
+ /**
+ * Creates a new backup in the specified database based on the request parameters you provide. If you previously used RMAN or dbcli to configure backups and then you switch to using the Console or the API for backups, a new backup configuration is created and associated with your database. This means that you can no longer rely on your previously configured unmanaged backups to work.
+ *
+ *
+ * @param request The request object containing the details to send
+ * @param handler The request handler to invoke upon completion, may be null.
+ * @return A Future that can be used to get the response if no AsyncHandler was
+ * provided. Note, if you provide an AsyncHandler and use the Future, some
+ * types of responses (like java.io.InputStream) may not be able to be read in
+ * both places as the underlying stream may only be consumed once.
+ */
+ java.util.concurrent.Future
- * All Oracle Bare Metal Cloud Services resources, including Data Guard associations, get an Oracle-assigned, unique ID
+ * All Oracle Cloud Infrastructure resources, including Data Guard associations, get an Oracle-assigned, unique ID
* called an Oracle Cloud Identifier (OCID). When you create a resource, you can find its OCID in the response.
* You can also retrieve a resource's OCID by using a List API operation on that resource type, or by viewing the
* resource in the Console. Fore more information, see
@@ -106,6 +122,21 @@ java.util.concurrent.Future