Getting Instance Types
You can get a list of instance types that the Amazon archiver appliance will use.
Request
GET https://<hostname>:4443/v6/EC2Resources/InstanceType |
Request Headers
The request header must contain an authorization token of the current session.
Request Parameters
The following parameters must be specified in the URL of the request:
Parameter | Type | Description |
---|---|---|
accountId | string | Specifies the identification number of a cloud account. For more information on how to get this parameter, see Getting Accounts. |
regionId | string | Specifies the region ID of Amazon S3 object storage. For more information, see this Amazon article. |
Request Body
None.
Response
The server returns the following response to the client.
Response Codes
A successfully completed operation returns a response code 200 OK.
Response Headers
The response to this request contains the following headers. The response may also include additional standard HTTPS headers.
Header | Description |
---|---|
Content-length | The length of the response body. |
Content-type | The media type and syntax of the response body message: application/json; charset=utf-8 |
Response Body
In the response body, the server returns a resource representation of the /EC2Resources/InstanceType resource. The response body contains the following properties:
Property | Type | Description |
---|---|---|
type | string | Specifies an instance type. For more information on instance types, see this Amazon article. |
cores | integer | Specifies a number of processor cores. |
memory | integer | Specifies the instance memory in Bytes. |
Example
The example returns a resource representation of instance types that the Amazon archiver appliance can use.
Request: GET https://abc.tech.local:4443/v6/EC2Resources/InstanceType?accountId=c0f030cb-a43a-4713-8da8-717c62a0b4f7®ionId=us-east-2
Request Header: Authorization: Bearer <Access-Token>
Response: 200 OK
Response Body: [ { "type": "c5ad.12xlarge", "cores": 48, "memory": 103079215104 }, { "type": "r3.8xlarge", "cores": 32, "memory": 261993005056 }, { "type": "c5d.12xlarge", "cores": 48, "memory": 103079215104 }, { "type": "c6i.24xlarge", "cores": 96, "memory": 206158430208 }, { "type": "r5n.12xlarge", "cores": 48, "memory": 412316860416 }, { "type": "m5dn.2xlarge", "cores": 8, "memory": 34359738368 }, ... ] |