Overview
Amazon FSx for NetApp ONTAP is a Cloud Manager service that enables you to create, operate, and delete Amazon FSx storage facilities for ONTAP systems.
For more information about FSx for ONTAP, see Cloud Manager FSx ONTAP.
There are four categories of API endpoints defined within the FSx for ONTAP service:
-
AWS operations
-
AWS credentials
-
Working environments
-
FSx ONTAP discovery
References
REST implementation
HTTP methods
Method | Description |
---|---|
|
Create an object instance |
|
Retrieve an object instance or collection |
|
Update specified properties of existing objects |
|
Remove an existing object |
Request headers
Request Header | Description |
---|---|
|
Required. Contains a JWT access token |
|
Request ID to use in logs |
|
Indicates whether this API call is simulated or real |
Query parameters
You can use query parameters with endpoints in the following components:
Component | Query Parameter |
---|---|
|
- Used to decide whether FSx storage is located in the governed location |
|
- The API will be executed in the specified region |
|
- The Cloud Manager workspace |
Path parameters
You can use path parameters with endpoints.
Component | Query Parameter |
---|---|
|
Tenancy account ID for this API |
|
FSx working environment ID used to execute this API |
Response headers
This API uses the standard HTTP response headers common with all Cloud Manager APIs. See REST implementation for more information.
HTTP status codes
HTTP Status Code | Description |
---|---|
|
OK: Returned for successful operation completion |
|
Bad Request: Returned if the input is malformed and could not be parsed |
|
Unauthorized: Returned if user authentication failed or the token has expired |
|
Forbidden: Returned for authorization errors depending on the resource and token |
|
Not Found: Returned if the requested resource could not be found |
|
Processing Error: Returned if an error occurs on the server while processing the API call |
Error handling
There are three processes involved with error handling and processing:
-
The error is logged for supportability
-
The error is returned to the caller for specific handling
-
The database connection is rolled back
cURL examples
Retrieve FSx working environments for a specified account ID
This cURL example retrieves FSx working environments for a specified account ID.
curl -X GET "https://staging.cloudmanager.cloud.netapp.com/fsx-ontap/working-environments/<accountId>" -H "accept: application/json" -H "authorization: <user token>"