ListAutonomousVirtualMachines
Lists all Autonomous VMs in an Autonomous VM cluster.
Request Syntax
{
"cloudAutonomousVmClusterId": "string
",
"maxResults": number
,
"nextToken": "string
"
}
Request Parameters
For information about the parameters that are common to all actions, see Common Parameters.
The request accepts the following data in JSON format.
- cloudAutonomousVmClusterId
-
The unique identifier of the Autonomous VM cluster whose virtual machines you're listing.
Type: String
Length Constraints: Minimum length of 6. Maximum length of 64.
Pattern:
[a-zA-Z0-9_~.-]+
Required: Yes
- maxResults
-
The maximum number of items to return per page.
Type: Integer
Valid Range: Minimum value of 1. Maximum value of 1000.
Required: No
- nextToken
-
The pagination token to continue listing from.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 8192.
Required: No
Response Syntax
{
"autonomousVirtualMachines": [
{
"autonomousVirtualMachineId": "string",
"clientIpAddress": "string",
"cloudAutonomousVmClusterId": "string",
"cpuCoreCount": number,
"dbNodeStorageSizeInGBs": number,
"dbServerDisplayName": "string",
"dbServerId": "string",
"memorySizeInGBs": number,
"ocid": "string",
"ociResourceAnchorName": "string",
"status": "string",
"statusReason": "string",
"vmName": "string"
}
],
"nextToken": "string"
}
Response Elements
If the action is successful, the service sends back an HTTP 200 response.
The following data is returned in JSON format by the service.
- autonomousVirtualMachines
-
The list of Autonomous VMs in the specified Autonomous VM cluster.
Type: Array of AutonomousVirtualMachineSummary objects
- nextToken
-
The pagination token from which to continue listing.
Type: String
Errors
For information about the errors that are common to all actions, see Common Errors.
- AccessDeniedException
-
You don't have sufficient access to perform this action. Make sure you have the required permissions and try again.
HTTP Status Code: 400
- InternalServerException
-
Occurs when there is an internal failure in the Oracle Database@AWS service. Wait and try again.
HTTP Status Code: 500
- ResourceNotFoundException
-
The operation tried to access a resource that doesn't exist. Make sure you provided the correct resource and try again.
HTTP Status Code: 400
- ThrottlingException
-
The request was denied due to request throttling.
HTTP Status Code: 400
- ValidationException
-
The request has failed validation because it is missing required fields or has invalid inputs.
HTTP Status Code: 400
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: