@Generated(value="OracleSDKGenerator", comments="API Version: 20230701") public interface Sddc extends AutoCloseable
Use the Oracle Cloud VMware API to create SDDCs and manage ESXi hosts and software. For more information, see Oracle Cloud VMware Solution.
This service client uses CircuitBreakerUtils.DEFAULT_CIRCUIT_BREAKER for all the operations by default if no circuit breaker configuration is defined by the user.
Modifier and Type | Method and Description |
---|---|
CancelDowngradeHcxResponse |
cancelDowngradeHcx(CancelDowngradeHcxRequest request)
Cancel the pending SDDC downgrade from HCX Enterprise to HCX Advanced.
|
ChangeSddcCompartmentResponse |
changeSddcCompartment(ChangeSddcCompartmentRequest request)
Moves an SDDC into a different compartment within the same tenancy.
|
CreateSddcResponse |
createSddc(CreateSddcRequest request)
Creates an Oracle Cloud VMware Solution software-defined data center (SDDC).
|
DeleteSddcResponse |
deleteSddc(DeleteSddcRequest request)
Deletes the specified SDDC, along with the other resources that were created with the SDDC.
|
DowngradeHcxResponse |
downgradeHcx(DowngradeHcxRequest request)
Downgrade the specified SDDC from HCX Enterprise to HCX Advanced.
|
String |
getEndpoint()
Gets the set endpoint for REST call (ex, https://www.example.com)
|
SddcPaginators |
getPaginators()
Gets the pre-configured paginators available for list operations in this service which may
return multiple pages of data.
|
GetSddcResponse |
getSddc(GetSddcRequest request)
Gets the specified SDDC’s information.
|
SddcWaiters |
getWaiters()
Gets the pre-configured waiters available for resources for this service.
|
ListSddcsResponse |
listSddcs(ListSddcsRequest request)
Lists the SDDCs in the specified compartment.
|
ListSupportedCommitmentsResponse |
listSupportedCommitments(ListSupportedCommitmentsRequest request)
Lists supported Commitments.
|
ListSupportedHostShapesResponse |
listSupportedHostShapes(ListSupportedHostShapesRequest request)
Lists supported compute shapes for ESXi hosts.
|
ListSupportedVmwareSoftwareVersionsResponse |
listSupportedVmwareSoftwareVersions(ListSupportedVmwareSoftwareVersionsRequest request)
Lists the versions of bundled VMware software supported by the Oracle Cloud VMware Solution.
|
void |
refreshClient()
Rebuilds the client from scratch.
|
RefreshHcxLicenseStatusResponse |
refreshHcxLicenseStatus(RefreshHcxLicenseStatusRequest request)
Refresh HCX on-premise licenses status of the specified SDDC.
|
RetrievePasswordResponse |
retrievePassword(RetrievePasswordRequest request)
Retrieve the SDDC password.
|
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’).
|
UpdateSddcResponse |
updateSddc(UpdateSddcRequest request)
Updates the specified SDDC.
|
UpgradeHcxResponse |
upgradeHcx(UpgradeHcxRequest request)
Upgrade the specified SDDC from HCX Advanced to HCX Enterprise.
|
void |
useRealmSpecificEndpointTemplate(boolean realmSpecificEndpointTemplateEnabled)
Determines whether realm specific endpoint should be used or not.
|
close
void refreshClient()
Rebuilds the client from scratch. Useful to refresh certificates.
void setEndpoint(String endpoint)
Sets the endpoint to call (ex, https://www.example.com).
endpoint
- The endpoint of the service.String getEndpoint()
Gets the set endpoint for REST call (ex, https://www.example.com)
void setRegion(Region region)
Sets 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.
region
- The region of the service.void setRegion(String regionId)
Sets 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
.
regionId
- The public region ID.void useRealmSpecificEndpointTemplate(boolean realmSpecificEndpointTemplateEnabled)
Determines whether realm specific endpoint should be used or not. Set realmSpecificEndpointTemplateEnabled to “true” if the user wants to enable use of realm specific endpoint template, otherwise set it to “false”
realmSpecificEndpointTemplateEnabled
- flag to enable the use of realm specific endpoint
templateCancelDowngradeHcxResponse cancelDowngradeHcx(CancelDowngradeHcxRequest request)
Cancel the pending SDDC downgrade from HCX Enterprise to HCX Advanced.
request
- The request object containing the details to sendBmcException
- when an error occurs. This operation uses
RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is
provided. The specifics of the default retry strategy are described here
https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
Example: Click here to see how to use CancelDowngradeHcx API.
ChangeSddcCompartmentResponse changeSddcCompartment(ChangeSddcCompartmentRequest request)
Moves an SDDC into a different compartment within the same tenancy. For information about moving resources between compartments, see Moving Resources to a Different Compartment.
request
- The request object containing the details to sendBmcException
- when an error occurs. This operation uses
RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is
provided. The specifics of the default retry strategy are described here
https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
Example: Click here to see how to use ChangeSddcCompartment API.
CreateSddcResponse createSddc(CreateSddcRequest request)
Creates an Oracle Cloud VMware Solution software-defined data center (SDDC).
Use the WorkRequest
operations to track the creation of the SDDC.
*Important:** You must configure the SDDC's networking resources with the security rules detailed in [Security Rules for Oracle Cloud VMware Solution SDDCs](https://docs.cloud.oracle.com/iaas/Content/VMware/Reference/ocvssecurityrules.htm). Otherwise, provisioning the SDDC will fail. The rules are based on the requirements set by VMware.
request
- The request object containing the details to sendBmcException
- when an error occurs. This operation uses
RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is
provided. The specifics of the default retry strategy are described here
https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
Example: Click here to see how to use CreateSddc API.
DeleteSddcResponse deleteSddc(DeleteSddcRequest request)
Deletes the specified SDDC, along with the other resources that were created with the SDDC. For example: the Compute instances, DNS records, and so on.
Use the WorkRequest
operations to track the deletion of the SDDC.
request
- The request object containing the details to sendBmcException
- when an error occurs. This operation uses
RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is
provided. The specifics of the default retry strategy are described here
https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
Example: Click here to see how to use DeleteSddc API.
DowngradeHcxResponse downgradeHcx(DowngradeHcxRequest request)
Downgrade the specified SDDC from HCX Enterprise to HCX Advanced. SDDC with standard compute
shapes will always use HCX Enterprise if HCX is enabled and cannot be downgraded. Downgrading
from HCX Enterprise to HCX Advanced reduces the number of provided license keys from 10 to 3.
Downgrade remains in a PENDING
state until the end of the current billing cycle. You can
use cancelDowngradeHcx
to cancel the
downgrade while it’s still in a PENDING
state.
request
- The request object containing the details to sendBmcException
- when an error occurs. This operation uses
RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is
provided. The specifics of the default retry strategy are described here
https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
Example: Click here to see how to use DowngradeHcx API.
GetSddcResponse getSddc(GetSddcRequest request)
Gets the specified SDDC’s information.
request
- The request object containing the details to sendBmcException
- when an error occurs. This operation uses
RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is
provided. The specifics of the default retry strategy are described here
https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
Example: Click here to see how to use GetSddc API.
ListSddcsResponse listSddcs(ListSddcsRequest request)
Lists the SDDCs in the specified compartment. The list can be filtered by display name or availability domain.
request
- The request object containing the details to sendBmcException
- when an error occurs. This operation uses
RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is
provided. The specifics of the default retry strategy are described here
https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
Example: Click here to see how to use ListSddcs API.
ListSupportedCommitmentsResponse listSupportedCommitments(ListSupportedCommitmentsRequest request)
Lists supported Commitments.
request
- The request object containing the details to sendBmcException
- when an error occurs. This operation uses
RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is
provided. The specifics of the default retry strategy are described here
https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
Example: Click here to see how to use ListSupportedCommitments API.
ListSupportedHostShapesResponse listSupportedHostShapes(ListSupportedHostShapesRequest request)
Lists supported compute shapes for ESXi hosts.
request
- The request object containing the details to sendBmcException
- when an error occurs. This operation uses
RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is
provided. The specifics of the default retry strategy are described here
https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
Example: Click here to see how to use ListSupportedHostShapes API.
ListSupportedVmwareSoftwareVersionsResponse listSupportedVmwareSoftwareVersions(ListSupportedVmwareSoftwareVersionsRequest request)
Lists the versions of bundled VMware software supported by the Oracle Cloud VMware Solution.
request
- The request object containing the details to sendBmcException
- when an error occurs. This operation uses
RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is
provided. The specifics of the default retry strategy are described here
https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
Example: Click here to see how to use ListSupportedVmwareSoftwareVersions API.
RefreshHcxLicenseStatusResponse refreshHcxLicenseStatus(RefreshHcxLicenseStatusRequest request)
Refresh HCX on-premise licenses status of the specified SDDC.
request
- The request object containing the details to sendBmcException
- when an error occurs. This operation uses
RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is
provided. The specifics of the default retry strategy are described here
https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
Example: Click here to see how to use RefreshHcxLicenseStatus API.
RetrievePasswordResponse retrievePassword(RetrievePasswordRequest request)
Retrieve the SDDC password.
request
- The request object containing the details to sendBmcException
- when an error occurs. This operation uses
RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is
provided. The specifics of the default retry strategy are described here
https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
Example: Click here to see how to use RetrievePassword API.
UpdateSddcResponse updateSddc(UpdateSddcRequest request)
Updates the specified SDDC.
*Important:** Updating an SDDC affects only certain attributes in the `Sddc` object and
does not affect the VMware environment currently running in the SDDC. For more information,
see updateSddcDetails
.
request
- The request object containing the details to sendBmcException
- when an error occurs. This operation uses
RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is
provided. The specifics of the default retry strategy are described here
https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
Example: Click here to see how to use UpdateSddc API.
UpgradeHcxResponse upgradeHcx(UpgradeHcxRequest request)
Upgrade the specified SDDC from HCX Advanced to HCX Enterprise.
request
- The request object containing the details to sendBmcException
- when an error occurs. This operation uses
RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is
provided. The specifics of the default retry strategy are described here
https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
Example: Click here to see how to use UpgradeHcx API.
SddcWaiters getWaiters()
Gets the pre-configured waiters available for resources for this service.
SddcPaginators getPaginators()
Gets 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.
Copyright © 2016–2024. All rights reserved.