@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public class BlockstorageClient extends Object implements Blockstorage
| Modifier and Type | Class and Description |
|---|---|
static class |
BlockstorageClient.Builder
Builder class for this client.
|
| Modifier and Type | Field and Description |
|---|---|
static Service |
SERVICE
Service instance for Blockstorage.
|
| Modifier | Constructor and Description |
|---|---|
|
BlockstorageClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory)
Creates a new service instance using the given authentication provider and client configuration.
|
|
BlockstorageClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory,
List<ClientConfigurator> additionalClientConfigurators)
Creates a new service instance using the given authentication provider and client configuration.
|
|
BlockstorageClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory,
List<ClientConfigurator> additionalClientConfigurators,
String endpoint)
Creates a new service instance using the given authentication provider and client configuration.
|
|
BlockstorageClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory,
Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories,
List<ClientConfigurator> additionalClientConfigurators,
String endpoint)
Creates a new service instance using the given authentication provider and client configuration.
|
|
BlockstorageClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory,
Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories,
List<ClientConfigurator> additionalClientConfigurators,
String endpoint,
ExecutorService executorService)
Creates a new service instance using the given authentication provider and client configuration.
|
protected |
BlockstorageClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory,
Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories,
List<ClientConfigurator> additionalClientConfigurators,
String endpoint,
ExecutorService executorService,
com.oracle.bmc.http.internal.RestClientFactoryBuilder restClientFactoryBuilder)
Creates a new service instance using the given authentication provider and client configuration.
|
|
BlockstorageClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider)
Creates a new service instance using the given authentication provider.
|
|
BlockstorageClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration)
Creates a new service instance using the given authentication provider and client configuration.
|
|
BlockstorageClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator)
Creates a new service instance using the given authentication provider and client configuration.
|
| Modifier and Type | Method and Description |
|---|---|
static BlockstorageClient.Builder |
builder()
Create a builder for this client.
|
ChangeBootVolumeBackupCompartmentResponse |
changeBootVolumeBackupCompartment(ChangeBootVolumeBackupCompartmentRequest request)
Moves a boot volume backup into a different compartment within the same tenancy.
|
ChangeBootVolumeCompartmentResponse |
changeBootVolumeCompartment(ChangeBootVolumeCompartmentRequest request)
Moves a boot volume into a different compartment within the same tenancy.
|
ChangeVolumeBackupCompartmentResponse |
changeVolumeBackupCompartment(ChangeVolumeBackupCompartmentRequest request)
Moves a volume backup into a different compartment within the same tenancy.
|
ChangeVolumeCompartmentResponse |
changeVolumeCompartment(ChangeVolumeCompartmentRequest request)
Moves a volume into a different compartment within the same tenancy.
|
ChangeVolumeGroupBackupCompartmentResponse |
changeVolumeGroupBackupCompartment(ChangeVolumeGroupBackupCompartmentRequest request)
Moves a volume group backup into a different compartment within the same tenancy.
|
ChangeVolumeGroupCompartmentResponse |
changeVolumeGroupCompartment(ChangeVolumeGroupCompartmentRequest request)
Moves a volume group into a different compartment within the same tenancy.
|
void |
close() |
CopyBootVolumeBackupResponse |
copyBootVolumeBackup(CopyBootVolumeBackupRequest request)
Creates a boot volume backup copy in specified region.
|
CopyVolumeBackupResponse |
copyVolumeBackup(CopyVolumeBackupRequest request)
Creates a volume backup copy in specified region.
|
CreateBootVolumeResponse |
createBootVolume(CreateBootVolumeRequest request)
Creates a new boot volume in the specified compartment from an existing boot volume or a boot volume backup.
|
CreateBootVolumeBackupResponse |
createBootVolumeBackup(CreateBootVolumeBackupRequest request)
Creates a new boot volume backup of the specified boot volume.
|
CreateVolumeResponse |
createVolume(CreateVolumeRequest request)
Creates a new volume in the specified compartment.
|
CreateVolumeBackupResponse |
createVolumeBackup(CreateVolumeBackupRequest request)
Creates a new backup of the specified volume.
|
CreateVolumeBackupPolicyResponse |
createVolumeBackupPolicy(CreateVolumeBackupPolicyRequest request)
Creates a new user defined backup policy.
|
CreateVolumeBackupPolicyAssignmentResponse |
createVolumeBackupPolicyAssignment(CreateVolumeBackupPolicyAssignmentRequest request)
Assigns a volume backup policy to the specified volume.
|
CreateVolumeGroupResponse |
createVolumeGroup(CreateVolumeGroupRequest request)
Creates a new volume group in the specified compartment.
|
CreateVolumeGroupBackupResponse |
createVolumeGroupBackup(CreateVolumeGroupBackupRequest request)
Creates a new backup volume group of the specified volume group.
|
DeleteBootVolumeResponse |
deleteBootVolume(DeleteBootVolumeRequest request)
Deletes the specified boot volume.
|
DeleteBootVolumeBackupResponse |
deleteBootVolumeBackup(DeleteBootVolumeBackupRequest request)
Deletes a boot volume backup.
|
DeleteBootVolumeKmsKeyResponse |
deleteBootVolumeKmsKey(DeleteBootVolumeKmsKeyRequest request)
Removes the specified boot volume’s assigned Key Management encryption key.
|
DeleteVolumeResponse |
deleteVolume(DeleteVolumeRequest request)
Deletes the specified volume.
|
DeleteVolumeBackupResponse |
deleteVolumeBackup(DeleteVolumeBackupRequest request)
Deletes a volume backup.
|
DeleteVolumeBackupPolicyResponse |
deleteVolumeBackupPolicy(DeleteVolumeBackupPolicyRequest request)
Deletes a user defined backup policy.
|
DeleteVolumeBackupPolicyAssignmentResponse |
deleteVolumeBackupPolicyAssignment(DeleteVolumeBackupPolicyAssignmentRequest request)
Deletes a volume backup policy assignment.
|
DeleteVolumeGroupResponse |
deleteVolumeGroup(DeleteVolumeGroupRequest request)
Deletes the specified volume group.
|
DeleteVolumeGroupBackupResponse |
deleteVolumeGroupBackup(DeleteVolumeGroupBackupRequest request)
Deletes a volume group backup.
|
DeleteVolumeKmsKeyResponse |
deleteVolumeKmsKey(DeleteVolumeKmsKeyRequest request)
Removes the specified volume’s assigned Key Management encryption key.
|
GetBootVolumeResponse |
getBootVolume(GetBootVolumeRequest request)
Gets information for the specified boot volume.
|
GetBootVolumeBackupResponse |
getBootVolumeBackup(GetBootVolumeBackupRequest request)
Gets information for the specified boot volume backup.
|
GetBootVolumeKmsKeyResponse |
getBootVolumeKmsKey(GetBootVolumeKmsKeyRequest request)
Gets the Key Management encryption key assigned to the specified boot volume.
|
String |
getEndpoint()
Gets the set endpoint for REST call (ex, https://www.example.com)
|
BlockstoragePaginators |
getPaginators()
Gets the pre-configured paginators available for list operations in this service which may return multiple
pages of data.
|
GetVolumeResponse |
getVolume(GetVolumeRequest request)
Gets information for the specified volume.
|
GetVolumeBackupResponse |
getVolumeBackup(GetVolumeBackupRequest request)
Gets information for the specified volume backup.
|
GetVolumeBackupPolicyResponse |
getVolumeBackupPolicy(GetVolumeBackupPolicyRequest request)
Gets information for the specified volume backup policy.
|
GetVolumeBackupPolicyAssetAssignmentResponse |
getVolumeBackupPolicyAssetAssignment(GetVolumeBackupPolicyAssetAssignmentRequest request)
Gets the volume backup policy assignment for the specified volume.
|
GetVolumeBackupPolicyAssignmentResponse |
getVolumeBackupPolicyAssignment(GetVolumeBackupPolicyAssignmentRequest request)
Gets information for the specified volume backup policy assignment.
|
GetVolumeGroupResponse |
getVolumeGroup(GetVolumeGroupRequest request)
Gets information for the specified volume group.
|
GetVolumeGroupBackupResponse |
getVolumeGroupBackup(GetVolumeGroupBackupRequest request)
Gets information for the specified volume group backup.
|
GetVolumeKmsKeyResponse |
getVolumeKmsKey(GetVolumeKmsKeyRequest request)
Gets the Key Management encryption key assigned to the specified volume.
|
BlockstorageWaiters |
getWaiters()
Gets the pre-configured waiters available for resources for this service.
|
ListBootVolumeBackupsResponse |
listBootVolumeBackups(ListBootVolumeBackupsRequest request)
Lists the boot volume backups in the specified compartment.
|
ListBootVolumesResponse |
listBootVolumes(ListBootVolumesRequest request)
Lists the boot volumes in the specified compartment and availability domain.
|
ListVolumeBackupPoliciesResponse |
listVolumeBackupPolicies(ListVolumeBackupPoliciesRequest request)
Lists all the volume backup policies available in the specified compartment.
|
ListVolumeBackupsResponse |
listVolumeBackups(ListVolumeBackupsRequest request)
Lists the volume backups in the specified compartment.
|
ListVolumeGroupBackupsResponse |
listVolumeGroupBackups(ListVolumeGroupBackupsRequest request)
Lists the volume group backups in the specified compartment.
|
ListVolumeGroupsResponse |
listVolumeGroups(ListVolumeGroupsRequest request)
Lists the volume groups in the specified compartment and availability domain.
|
ListVolumesResponse |
listVolumes(ListVolumesRequest request)
Lists the volumes in the specified compartment and availability domain.
|
BlockstorageWaiters |
newWaiters(WorkRequest workRequestClient)
Creates a new
BlockstorageWaiters for resources for this service. |
void |
setEndpoint(String endpoint)
Sets the endpoint to call (ex, https://www.example.com).
|
void |
setRegion(Region region)
Sets the region to call (ex, Region.US_PHOENIX_1).
|
void |
setRegion(String regionId)
Sets the region to call (ex, ‘us-phoenix-1’).
|
UpdateBootVolumeResponse |
updateBootVolume(UpdateBootVolumeRequest request)
Updates the specified boot volume’s display name, defined tags, and free-form tags.
|
UpdateBootVolumeBackupResponse |
updateBootVolumeBackup(UpdateBootVolumeBackupRequest request)
Updates the display name for the specified boot volume backup.
|
UpdateBootVolumeKmsKeyResponse |
updateBootVolumeKmsKey(UpdateBootVolumeKmsKeyRequest request)
Updates the specified volume with a new Key Management master encryption key.
|
UpdateVolumeResponse |
updateVolume(UpdateVolumeRequest request)
Updates the specified volume’s display name.
|
UpdateVolumeBackupResponse |
updateVolumeBackup(UpdateVolumeBackupRequest request)
Updates the display name for the specified volume backup.
|
UpdateVolumeBackupPolicyResponse |
updateVolumeBackupPolicy(UpdateVolumeBackupPolicyRequest request)
Updates a user defined backup policy.
|
UpdateVolumeGroupResponse |
updateVolumeGroup(UpdateVolumeGroupRequest request)
Updates the set of volumes in a volume group along with the display name.
|
UpdateVolumeGroupBackupResponse |
updateVolumeGroupBackup(UpdateVolumeGroupBackupRequest request)
Updates the display name for the specified volume group backup.
|
UpdateVolumeKmsKeyResponse |
updateVolumeKmsKey(UpdateVolumeKmsKeyRequest request)
Updates the specified volume with a new Key Management master encryption key.
|
public static final Service SERVICE
Service instance for Blockstorage.
public BlockstorageClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider)
Creates a new service instance using the given authentication provider.
authenticationDetailsProvider - The authentication details provider, required.public BlockstorageClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration)
Creates a new service instance using the given authentication provider and client configuration.
authenticationDetailsProvider - The authentication details provider, required.configuration - The client configuration, optional.public BlockstorageClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator)
Creates a new service instance using the given authentication provider and client configuration. Additionally, a Consumer can be provided that will be invoked whenever a REST Client is created to allow for additional configuration/customization.
authenticationDetailsProvider - The authentication details provider, required.configuration - The client configuration, optional.clientConfigurator - ClientConfigurator that will be invoked for additional configuration of a REST client, optional.public BlockstorageClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory)
Creates a new service instance using the given authentication provider and client configuration. Additionally, a Consumer can be provided that will be invoked whenever a REST Client is created to allow for additional configuration/customization.
This is an advanced constructor for clients that want to take control over how requests are signed.
authenticationDetailsProvider - The authentication details provider, required.configuration - The client configuration, optional.clientConfigurator - ClientConfigurator that will be invoked for additional configuration of a REST client, optional.defaultRequestSignerFactory - The request signer factory used to create the request signer for this service.public BlockstorageClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators)
Creates a new service instance using the given authentication provider and client configuration. Additionally, a Consumer can be provided that will be invoked whenever a REST Client is created to allow for additional configuration/customization.
This is an advanced constructor for clients that want to take control over how requests are signed.
authenticationDetailsProvider - The authentication details provider, required.configuration - The client configuration, optional.clientConfigurator - ClientConfigurator that will be invoked for additional configuration of a REST client, optional.defaultRequestSignerFactory - The request signer factory used to create the request signer for this service.additionalClientConfigurators - Additional client configurators to be run after the primary configurator.public BlockstorageClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators, String endpoint)
Creates a new service instance using the given authentication provider and client configuration. Additionally, a Consumer can be provided that will be invoked whenever a REST Client is created to allow for additional configuration/customization.
This is an advanced constructor for clients that want to take control over how requests are signed.
authenticationDetailsProvider - The authentication details provider, required.configuration - The client configuration, optional.clientConfigurator - ClientConfigurator that will be invoked for additional configuration of a REST client, optional.defaultRequestSignerFactory - The request signer factory used to create the request signer for this service.additionalClientConfigurators - Additional client configurators to be run after the primary configurator.endpoint - Endpoint, or null to leave unset (note, may be overridden by authenticationDetailsProvider)public BlockstorageClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint)
Creates a new service instance using the given authentication provider and client configuration. Additionally, a Consumer can be provided that will be invoked whenever a REST Client is created to allow for additional configuration/customization.
This is an advanced constructor for clients that want to take control over how requests are signed.
authenticationDetailsProvider - The authentication details provider, required.configuration - The client configuration, optional.clientConfigurator - ClientConfigurator that will be invoked for additional configuration of a REST client, optional.defaultRequestSignerFactory - The request signer factory used to create the request signer for this service.signingStrategyRequestSignerFactories - The request signer factories for each signing strategy used to create the request signeradditionalClientConfigurators - Additional client configurators to be run after the primary configurator.endpoint - Endpoint, or null to leave unset (note, may be overridden by authenticationDetailsProvider)public BlockstorageClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint, ExecutorService executorService)
Creates a new service instance using the given authentication provider and client configuration. Additionally, a Consumer can be provided that will be invoked whenever a REST Client is created to allow for additional configuration/customization.
This is an advanced constructor for clients that want to take control over how requests are signed.
authenticationDetailsProvider - The authentication details provider, required.configuration - The client configuration, optional.clientConfigurator - ClientConfigurator that will be invoked for additional configuration of a REST client, optional.defaultRequestSignerFactory - The request signer factory used to create the request signer for this service.signingStrategyRequestSignerFactories - The request signer factories for each signing strategy used to create the request signeradditionalClientConfigurators - Additional client configurators to be run after the primary configurator.endpoint - Endpoint, or null to leave unset (note, may be overridden by authenticationDetailsProvider)executorService - ExecutorService used by the client, or null to use the default configured ThreadPoolExecutorprotected BlockstorageClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint, ExecutorService executorService, com.oracle.bmc.http.internal.RestClientFactoryBuilder restClientFactoryBuilder)
Creates a new service instance using the given authentication provider and client configuration. Additionally, a Consumer can be provided that will be invoked whenever a REST Client is created to allow for additional configuration/customization.
This is an advanced constructor for clients that want to take control over how requests are signed.
Use the BlockstorageClient.Builder to get access to all these parameters.
authenticationDetailsProvider - The authentication details provider, required.configuration - The client configuration, optional.clientConfigurator - ClientConfigurator that will be invoked for additional configuration of a REST client, optional.defaultRequestSignerFactory - The request signer factory used to create the request signer for this service.signingStrategyRequestSignerFactories - The request signer factories for each signing strategy used to create the request signeradditionalClientConfigurators - Additional client configurators to be run after the primary configurator.endpoint - Endpoint, or null to leave unset (note, may be overridden by authenticationDetailsProvider)executorService - ExecutorService used by the client, or null to use the default configured ThreadPoolExecutorrestClientFactoryBuilder - the builder for the RestClientFactorypublic static BlockstorageClient.Builder builder()
Create a builder for this client.
public void setEndpoint(String endpoint)
BlockstorageSets the endpoint to call (ex, https://www.example.com).
setEndpoint in interface Blockstorageendpoint - The endpoint of the service.public String getEndpoint()
BlockstorageGets the set endpoint for REST call (ex, https://www.example.com)
getEndpoint in interface Blockstoragepublic void setRegion(Region region)
BlockstorageSets the region to call (ex, Region.US_PHOENIX_1).
Note, this will call setEndpoint after resolving the endpoint. If the service is not available in this Region, however, an IllegalArgumentException will be raised.
setRegion in interface Blockstorageregion - The region of the service.public void setRegion(String regionId)
BlockstorageSets the region to call (ex, ‘us-phoenix-1’).
Note, this will first try to map the region ID to a known Region and call
setRegion.
If no known Region could be determined, it will create an endpoint based on the
default endpoint format (Region.formatDefaultRegionEndpoint(Service, String)
and then call setEndpoint.
setRegion in interface BlockstorageregionId - The public region ID.public void close()
close in interface AutoCloseablepublic ChangeBootVolumeBackupCompartmentResponse changeBootVolumeBackupCompartment(ChangeBootVolumeBackupCompartmentRequest request)
BlockstorageMoves a boot volume backup into a different compartment within the same tenancy. For information about moving resources between compartments, see Moving Resources to a Different Compartment.
changeBootVolumeBackupCompartment in interface Blockstoragerequest - The request object containing the details to sendpublic ChangeBootVolumeCompartmentResponse changeBootVolumeCompartment(ChangeBootVolumeCompartmentRequest request)
BlockstorageMoves a boot volume into a different compartment within the same tenancy. For information about moving resources between compartments, see Moving Resources to a Different Compartment.
changeBootVolumeCompartment in interface Blockstoragerequest - The request object containing the details to sendpublic ChangeVolumeBackupCompartmentResponse changeVolumeBackupCompartment(ChangeVolumeBackupCompartmentRequest request)
BlockstorageMoves a volume backup into a different compartment within the same tenancy. For information about moving resources between compartments, see Moving Resources to a Different Compartment.
changeVolumeBackupCompartment in interface Blockstoragerequest - The request object containing the details to sendpublic ChangeVolumeCompartmentResponse changeVolumeCompartment(ChangeVolumeCompartmentRequest request)
BlockstorageMoves a volume into a different compartment within the same tenancy. For information about moving resources between compartments, see Moving Resources to a Different Compartment.
changeVolumeCompartment in interface Blockstoragerequest - The request object containing the details to sendpublic ChangeVolumeGroupBackupCompartmentResponse changeVolumeGroupBackupCompartment(ChangeVolumeGroupBackupCompartmentRequest request)
BlockstorageMoves a volume group backup into a different compartment within the same tenancy. For information about moving resources between compartments, see Moving Resources to a Different Compartment.
changeVolumeGroupBackupCompartment in interface Blockstoragerequest - The request object containing the details to sendpublic ChangeVolumeGroupCompartmentResponse changeVolumeGroupCompartment(ChangeVolumeGroupCompartmentRequest request)
BlockstorageMoves a volume group into a different compartment within the same tenancy. For information about moving resources between compartments, see Moving Resources to a Different Compartment.
changeVolumeGroupCompartment in interface Blockstoragerequest - The request object containing the details to sendpublic CopyBootVolumeBackupResponse copyBootVolumeBackup(CopyBootVolumeBackupRequest request)
BlockstorageCreates a boot volume backup copy in specified region. For general information about volume backups, see Overview of Boot Volume Backups
copyBootVolumeBackup in interface Blockstoragerequest - The request object containing the details to sendpublic CopyVolumeBackupResponse copyVolumeBackup(CopyVolumeBackupRequest request)
BlockstorageCreates a volume backup copy in specified region. For general information about volume backups, see Overview of Block Volume Service Backups
copyVolumeBackup in interface Blockstoragerequest - The request object containing the details to sendpublic CreateBootVolumeResponse createBootVolume(CreateBootVolumeRequest request)
BlockstorageCreates a new boot volume in the specified compartment from an existing boot volume or a boot volume backup. For general information about boot volumes, see Boot Volumes. You may optionally specify a display name for the volume, which is simply a friendly name or description. It does not have to be unique, and you can change it. Avoid entering confidential information.
createBootVolume in interface Blockstoragerequest - The request object containing the details to sendpublic CreateBootVolumeBackupResponse createBootVolumeBackup(CreateBootVolumeBackupRequest request)
BlockstorageCreates a new boot volume backup of the specified boot volume. For general information about boot volume backups, see Overview of Boot Volume Backups
When the request is received, the backup object is in a REQUEST_RECEIVED state. When the data is imaged, it goes into a CREATING state. After the backup is fully uploaded to the cloud, it goes into an AVAILABLE state.
createBootVolumeBackup in interface Blockstoragerequest - The request object containing the details to sendpublic CreateVolumeResponse createVolume(CreateVolumeRequest request)
BlockstorageCreates a new volume in the specified compartment. Volumes can be created in sizes ranging from 50 GB (51200 MB) to 32 TB (33554432 MB), in 1 GB (1024 MB) increments. By default, volumes are 1 TB (1048576 MB). For general information about block volumes, see Overview of Block Volume Service.
A volume and instance can be in separate compartments but must be in the same availability domain. For information about access control and compartments, see [Overview of the IAM Service](https://docs.cloud.oracle.com/Content/Identity/Concepts/overview.htm). For information about availability domains, see [Regions and Availability Domains](https://docs.cloud.oracle.com/Content/General/Concepts/regions.htm). To get a list of availability domains, use the `ListAvailabilityDomains` operation in the Identity and Access Management Service API.
You may optionally specify a *display name* for the volume, which is simply a friendly name or description. It does not have to be unique, and you can change it. Avoid entering confidential information.
createVolume in interface Blockstoragerequest - The request object containing the details to sendpublic CreateVolumeBackupResponse createVolumeBackup(CreateVolumeBackupRequest request)
BlockstorageCreates a new backup of the specified volume. For general information about volume backups, see Overview of Block Volume Service Backups
When the request is received, the backup object is in a REQUEST_RECEIVED state. When the data is imaged, it goes into a CREATING state. After the backup is fully uploaded to the cloud, it goes into an AVAILABLE state.
createVolumeBackup in interface Blockstoragerequest - The request object containing the details to sendpublic CreateVolumeBackupPolicyResponse createVolumeBackupPolicy(CreateVolumeBackupPolicyRequest request)
BlockstorageCreates a new user defined backup policy.
For more information about Oracle defined backup policies and user defined backup policies, see [Policy-Based Backups](https://docs.cloud.oracle.com/iaas/Content/Block/Tasks/schedulingvolumebackups.htm).
createVolumeBackupPolicy in interface Blockstoragerequest - The request object containing the details to sendpublic CreateVolumeBackupPolicyAssignmentResponse createVolumeBackupPolicyAssignment(CreateVolumeBackupPolicyAssignmentRequest request)
BlockstorageAssigns a volume backup policy to the specified volume. Note that a given volume can only have one backup policy assigned to it. If this operation is used for a volume that already has a different backup policy assigned, the prior backup policy will be silently unassigned.
createVolumeBackupPolicyAssignment in interface Blockstoragerequest - The request object containing the details to sendpublic CreateVolumeGroupResponse createVolumeGroup(CreateVolumeGroupRequest request)
BlockstorageCreates a new volume group in the specified compartment. A volume group is a collection of volumes and may be created from a list of volumes, cloning an existing volume group, or by restoring a volume group backup. A volume group can contain up to 64 volumes. You may optionally specify a display name for the volume group, which is simply a friendly name or description. It does not have to be unique, and you can change it. Avoid entering confidential information.
For more information, see [Volume Groups](https://docs.cloud.oracle.com/Content/Block/Concepts/volumegroups.htm).
createVolumeGroup in interface Blockstoragerequest - The request object containing the details to sendpublic CreateVolumeGroupBackupResponse createVolumeGroupBackup(CreateVolumeGroupBackupRequest request)
BlockstorageCreates a new backup volume group of the specified volume group. For more information, see Volume Groups.
createVolumeGroupBackup in interface Blockstoragerequest - The request object containing the details to sendpublic DeleteBootVolumeResponse deleteBootVolume(DeleteBootVolumeRequest request)
BlockstorageDeletes the specified boot volume. The volume cannot have an active connection to an instance. To disconnect the boot volume from a connected instance, see Disconnecting From a Boot Volume. Warning: All data on the boot volume will be permanently lost when the boot volume is deleted.
deleteBootVolume in interface Blockstoragerequest - The request object containing the details to sendpublic DeleteBootVolumeBackupResponse deleteBootVolumeBackup(DeleteBootVolumeBackupRequest request)
BlockstorageDeletes a boot volume backup.
deleteBootVolumeBackup in interface Blockstoragerequest - The request object containing the details to sendpublic DeleteBootVolumeKmsKeyResponse deleteBootVolumeKmsKey(DeleteBootVolumeKmsKeyRequest request)
BlockstorageRemoves the specified boot volume’s assigned Key Management encryption key.
deleteBootVolumeKmsKey in interface Blockstoragerequest - The request object containing the details to sendpublic DeleteVolumeResponse deleteVolume(DeleteVolumeRequest request)
BlockstorageDeletes the specified volume. The volume cannot have an active connection to an instance. To disconnect the volume from a connected instance, see Disconnecting From a Volume. Warning: All data on the volume will be permanently lost when the volume is deleted.
deleteVolume in interface Blockstoragerequest - The request object containing the details to sendpublic DeleteVolumeBackupResponse deleteVolumeBackup(DeleteVolumeBackupRequest request)
BlockstorageDeletes a volume backup.
deleteVolumeBackup in interface Blockstoragerequest - The request object containing the details to sendpublic DeleteVolumeBackupPolicyResponse deleteVolumeBackupPolicy(DeleteVolumeBackupPolicyRequest request)
BlockstorageDeletes a user defined backup policy. For more information about user defined backup policies, see Policy-Based Backups.
Avoid entering confidential information.
deleteVolumeBackupPolicy in interface Blockstoragerequest - The request object containing the details to sendpublic DeleteVolumeBackupPolicyAssignmentResponse deleteVolumeBackupPolicyAssignment(DeleteVolumeBackupPolicyAssignmentRequest request)
BlockstorageDeletes a volume backup policy assignment.
deleteVolumeBackupPolicyAssignment in interface Blockstoragerequest - The request object containing the details to sendpublic DeleteVolumeGroupResponse deleteVolumeGroup(DeleteVolumeGroupRequest request)
BlockstorageDeletes the specified volume group. Individual volumes are not deleted, only the volume group is deleted. For more information, see Volume Groups.
deleteVolumeGroup in interface Blockstoragerequest - The request object containing the details to sendpublic DeleteVolumeGroupBackupResponse deleteVolumeGroupBackup(DeleteVolumeGroupBackupRequest request)
BlockstorageDeletes a volume group backup. This operation deletes all the backups in the volume group. For more information, see Volume Groups.
deleteVolumeGroupBackup in interface Blockstoragerequest - The request object containing the details to sendpublic DeleteVolumeKmsKeyResponse deleteVolumeKmsKey(DeleteVolumeKmsKeyRequest request)
BlockstorageRemoves the specified volume’s assigned Key Management encryption key.
deleteVolumeKmsKey in interface Blockstoragerequest - The request object containing the details to sendpublic GetBootVolumeResponse getBootVolume(GetBootVolumeRequest request)
BlockstorageGets information for the specified boot volume.
getBootVolume in interface Blockstoragerequest - The request object containing the details to sendpublic GetBootVolumeBackupResponse getBootVolumeBackup(GetBootVolumeBackupRequest request)
BlockstorageGets information for the specified boot volume backup.
getBootVolumeBackup in interface Blockstoragerequest - The request object containing the details to sendpublic GetBootVolumeKmsKeyResponse getBootVolumeKmsKey(GetBootVolumeKmsKeyRequest request)
BlockstorageGets the Key Management encryption key assigned to the specified boot volume.
getBootVolumeKmsKey in interface Blockstoragerequest - The request object containing the details to sendpublic GetVolumeResponse getVolume(GetVolumeRequest request)
BlockstorageGets information for the specified volume.
getVolume in interface Blockstoragerequest - The request object containing the details to sendpublic GetVolumeBackupResponse getVolumeBackup(GetVolumeBackupRequest request)
BlockstorageGets information for the specified volume backup.
getVolumeBackup in interface Blockstoragerequest - The request object containing the details to sendpublic GetVolumeBackupPolicyResponse getVolumeBackupPolicy(GetVolumeBackupPolicyRequest request)
BlockstorageGets information for the specified volume backup policy.
getVolumeBackupPolicy in interface Blockstoragerequest - The request object containing the details to sendpublic GetVolumeBackupPolicyAssetAssignmentResponse getVolumeBackupPolicyAssetAssignment(GetVolumeBackupPolicyAssetAssignmentRequest request)
BlockstorageGets the volume backup policy assignment for the specified volume. The
assetId query parameter is required, and the returned list will contain at most
one item, since volume can only have one volume backup policy assigned at a time.
getVolumeBackupPolicyAssetAssignment in interface Blockstoragerequest - The request object containing the details to sendpublic GetVolumeBackupPolicyAssignmentResponse getVolumeBackupPolicyAssignment(GetVolumeBackupPolicyAssignmentRequest request)
BlockstorageGets information for the specified volume backup policy assignment.
getVolumeBackupPolicyAssignment in interface Blockstoragerequest - The request object containing the details to sendpublic GetVolumeGroupResponse getVolumeGroup(GetVolumeGroupRequest request)
BlockstorageGets information for the specified volume group. For more information, see Volume Groups.
getVolumeGroup in interface Blockstoragerequest - The request object containing the details to sendpublic GetVolumeGroupBackupResponse getVolumeGroupBackup(GetVolumeGroupBackupRequest request)
BlockstorageGets information for the specified volume group backup. For more information, see Volume Groups.
getVolumeGroupBackup in interface Blockstoragerequest - The request object containing the details to sendpublic GetVolumeKmsKeyResponse getVolumeKmsKey(GetVolumeKmsKeyRequest request)
BlockstorageGets the Key Management encryption key assigned to the specified volume.
getVolumeKmsKey in interface Blockstoragerequest - The request object containing the details to sendpublic ListBootVolumeBackupsResponse listBootVolumeBackups(ListBootVolumeBackupsRequest request)
BlockstorageLists the boot volume backups in the specified compartment. You can filter the results by boot volume.
listBootVolumeBackups in interface Blockstoragerequest - The request object containing the details to sendpublic ListBootVolumesResponse listBootVolumes(ListBootVolumesRequest request)
BlockstorageLists the boot volumes in the specified compartment and availability domain.
listBootVolumes in interface Blockstoragerequest - The request object containing the details to sendpublic ListVolumeBackupPoliciesResponse listVolumeBackupPolicies(ListVolumeBackupPoliciesRequest request)
BlockstorageLists all the volume backup policies available in the specified compartment.
For more information about Oracle defined backup policies and user defined backup policies, see [Policy-Based Backups](https://docs.cloud.oracle.com/iaas/Content/Block/Tasks/schedulingvolumebackups.htm).
listVolumeBackupPolicies in interface Blockstoragerequest - The request object containing the details to sendpublic ListVolumeBackupsResponse listVolumeBackups(ListVolumeBackupsRequest request)
BlockstorageLists the volume backups in the specified compartment. You can filter the results by volume.
listVolumeBackups in interface Blockstoragerequest - The request object containing the details to sendpublic ListVolumeGroupBackupsResponse listVolumeGroupBackups(ListVolumeGroupBackupsRequest request)
BlockstorageLists the volume group backups in the specified compartment. You can filter the results by volume group. For more information, see Volume Groups.
listVolumeGroupBackups in interface Blockstoragerequest - The request object containing the details to sendpublic ListVolumeGroupsResponse listVolumeGroups(ListVolumeGroupsRequest request)
BlockstorageLists the volume groups in the specified compartment and availability domain. For more information, see Volume Groups.
listVolumeGroups in interface Blockstoragerequest - The request object containing the details to sendpublic ListVolumesResponse listVolumes(ListVolumesRequest request)
BlockstorageLists the volumes in the specified compartment and availability domain.
listVolumes in interface Blockstoragerequest - The request object containing the details to sendpublic UpdateBootVolumeResponse updateBootVolume(UpdateBootVolumeRequest request)
BlockstorageUpdates the specified boot volume’s display name, defined tags, and free-form tags.
updateBootVolume in interface Blockstoragerequest - The request object containing the details to sendpublic UpdateBootVolumeBackupResponse updateBootVolumeBackup(UpdateBootVolumeBackupRequest request)
BlockstorageUpdates the display name for the specified boot volume backup. Avoid entering confidential information.
updateBootVolumeBackup in interface Blockstoragerequest - The request object containing the details to sendpublic UpdateBootVolumeKmsKeyResponse updateBootVolumeKmsKey(UpdateBootVolumeKmsKeyRequest request)
BlockstorageUpdates the specified volume with a new Key Management master encryption key.
updateBootVolumeKmsKey in interface Blockstoragerequest - The request object containing the details to sendpublic UpdateVolumeResponse updateVolume(UpdateVolumeRequest request)
BlockstorageUpdates the specified volume’s display name. Avoid entering confidential information.
updateVolume in interface Blockstoragerequest - The request object containing the details to sendpublic UpdateVolumeBackupResponse updateVolumeBackup(UpdateVolumeBackupRequest request)
BlockstorageUpdates the display name for the specified volume backup. Avoid entering confidential information.
updateVolumeBackup in interface Blockstoragerequest - The request object containing the details to sendpublic UpdateVolumeBackupPolicyResponse updateVolumeBackupPolicy(UpdateVolumeBackupPolicyRequest request)
BlockstorageUpdates a user defined backup policy. For more information about user defined backup policies, see Policy-Based Backups.
Avoid entering confidential information.
updateVolumeBackupPolicy in interface Blockstoragerequest - The request object containing the details to sendpublic UpdateVolumeGroupResponse updateVolumeGroup(UpdateVolumeGroupRequest request)
BlockstorageUpdates the set of volumes in a volume group along with the display name. Use this operation to add or remove volumes in a volume group. Specify the full list of volume IDs to include in the volume group. If the volume ID is not specified in the call, it will be removed from the volume group. Avoid entering confidential information.
For more information, see [Volume Groups](https://docs.cloud.oracle.com/Content/Block/Concepts/volumegroups.htm).
updateVolumeGroup in interface Blockstoragerequest - The request object containing the details to sendpublic UpdateVolumeGroupBackupResponse updateVolumeGroupBackup(UpdateVolumeGroupBackupRequest request)
BlockstorageUpdates the display name for the specified volume group backup. For more information, see Volume Groups.
updateVolumeGroupBackup in interface Blockstoragerequest - The request object containing the details to sendpublic UpdateVolumeKmsKeyResponse updateVolumeKmsKey(UpdateVolumeKmsKeyRequest request)
BlockstorageUpdates the specified volume with a new Key Management master encryption key.
updateVolumeKmsKey in interface Blockstoragerequest - The request object containing the details to sendpublic BlockstorageWaiters getWaiters()
BlockstorageGets the pre-configured waiters available for resources for this service.
getWaiters in interface Blockstoragepublic BlockstorageWaiters newWaiters(WorkRequest workRequestClient)
BlockstorageCreates a new BlockstorageWaiters for resources for this service.
newWaiters in interface BlockstorageworkRequestClient - The work request service client used to query for work request statuspublic BlockstoragePaginators getPaginators()
BlockstorageGets the pre-configured paginators available for list operations in this service which may return multiple
pages of data. These paginators provide an Iterable interface so that service responses, or
resources/records, can be iterated through without having to manually deal with pagination and page tokens.
getPaginators in interface BlockstorageCopyright © 2016–2021. All rights reserved.