HPE Greenlake For Object Storage REST APIs
HPE Greenlake For Object Storage REST APIs. (1.2.0)
The offset of the first item in the collection to return
A query to retrieve only the specified parameters. Use . to denote nested fields.
A list of properties defining the sort order. This takes a single property name followed by the direction to sort in, separated by a space. The supported properties are systemUid, id and generation. If not specified, the default behaviour is to sort by generation. The supported directions are asc and desc for ascending and descending respectively.
- https://eu1.data.cloud.hpe.com/object-storage/v1alpha1/devtype7-storage-systems/{systemId}/protection-policies
- https://us1.data.cloud.hpe.com/object-storage/v1alpha1/devtype7-storage-systems/{systemId}/protection-policies
- https://jp1.data.cloud.hpe.com/object-storage/v1alpha1/devtype7-storage-systems/{systemId}/protection-policies
- Mock serverhttps://developer.greenlake.hpe.com/_mock/docs/greenlake/services/object-storage/public/openapi/object-storage-public-v1alpha1/object-storage-api/object-storage/v1alpha1/devtype7-storage-systems/{systemId}/protection-policies
- curl
- JavaScript
- Node.js
- Python
- Java
- Go
- C#
- PHP
curl -i -X GET \
https://eu1.data.cloud.hpe.com/object-storage/v1alpha1/devtype7-storage-systems/8UW0002928/protection-policies \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'Success
The customer application identifier
A number that changes every time the resource is modified. This can be used to determine if the local representation of a resource is more up to date. Filter, Sort
Partner system name to which the destination bucket belongs. Filter, Sort
Source bucket name for which the protection policy is created. Filter, Sort
Source bucket UUID for which the protection policy is created. Filter
{ "count": 0, "offset": 0, "total": 0, "items": [ { … } ] }
Source bucket name for which the protection policy needs to be created
Name of the Partner system to which the destination bucket belongs
- https://eu1.data.cloud.hpe.com/object-storage/v1alpha1/devtype7-storage-systems/{systemId}/protection-policies
- https://us1.data.cloud.hpe.com/object-storage/v1alpha1/devtype7-storage-systems/{systemId}/protection-policies
- https://jp1.data.cloud.hpe.com/object-storage/v1alpha1/devtype7-storage-systems/{systemId}/protection-policies
- Mock serverhttps://developer.greenlake.hpe.com/_mock/docs/greenlake/services/object-storage/public/openapi/object-storage-public-v1alpha1/object-storage-api/object-storage/v1alpha1/devtype7-storage-systems/{systemId}/protection-policies
- curl
- JavaScript
- Node.js
- Python
- Java
- Go
- C#
- PHP
curl -i -X POST \
https://eu1.data.cloud.hpe.com/object-storage/v1alpha1/devtype7-storage-systems/8UW0002928/protection-policies \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"destinationBucket": "mybuck1",
"name": "mypolicy1",
"partner": "hf-system1",
"sourceBucket": "mybuck",
"type": "s3"
}'{ "message": "Successfully submitted", "status": "SUBMITTED", "taskUri": "/rest/vega/v1/tasks/4969a568-6fed-4915-bcd5-e4566a75e00c" }
- https://eu1.data.cloud.hpe.com/object-storage/v1alpha1/devtype7-storage-systems/{systemId}/protection-policies/{policyId}
- https://us1.data.cloud.hpe.com/object-storage/v1alpha1/devtype7-storage-systems/{systemId}/protection-policies/{policyId}
- https://jp1.data.cloud.hpe.com/object-storage/v1alpha1/devtype7-storage-systems/{systemId}/protection-policies/{policyId}
- Mock serverhttps://developer.greenlake.hpe.com/_mock/docs/greenlake/services/object-storage/public/openapi/object-storage-public-v1alpha1/object-storage-api/object-storage/v1alpha1/devtype7-storage-systems/{systemId}/protection-policies/{policyId}
- curl
- JavaScript
- Node.js
- Python
- Java
- Go
- C#
- PHP
curl -i -X DELETE \
https://eu1.data.cloud.hpe.com/object-storage/v1alpha1/devtype7-storage-systems/8UW0002928/protection-policies/policy1 \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'{ "message": "Successfully submitted", "status": "SUBMITTED", "taskUri": "/rest/vega/v1/tasks/4969a568-6fed-4915-bcd5-e4566a75e00c" }
- https://eu1.data.cloud.hpe.com/object-storage/v1alpha1/devtype7-storage-systems/{systemId}/protection-policies/{policyId}
- https://us1.data.cloud.hpe.com/object-storage/v1alpha1/devtype7-storage-systems/{systemId}/protection-policies/{policyId}
- https://jp1.data.cloud.hpe.com/object-storage/v1alpha1/devtype7-storage-systems/{systemId}/protection-policies/{policyId}
- Mock serverhttps://developer.greenlake.hpe.com/_mock/docs/greenlake/services/object-storage/public/openapi/object-storage-public-v1alpha1/object-storage-api/object-storage/v1alpha1/devtype7-storage-systems/{systemId}/protection-policies/{policyId}
- curl
- JavaScript
- Node.js
- Python
- Java
- Go
- C#
- PHP
curl -i -X GET \
https://eu1.data.cloud.hpe.com/object-storage/v1alpha1/devtype7-storage-systems/8UW0002928/protection-policies/policy1 \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'Success
A number that changes every time the resource is modified. This can be used to determine if the local representation of a resource is more up to date. Filter, Sort
Partner system name to which the destination bucket belongs. Filter, Sort
Source bucket name for which the protection policy is created. Filter, Sort
Source bucket UUID for which the protection policy is created. Filter
{ "commonResourceAttributes": { "cloudState": "CONNECTED", "errCode": "E01", "errMessage": "This storage system is not actively monitored in the cloud portal. Data Services Cloud Console proactively disabled monitoring and management of storage system with serial number {systemId} for sending excessive cloud events or for not responding to requests." }, "creationTimeMs": "string", "customerId": "fc5f41652a53497e88cdcebc715cc1sd", "destinationBucket": "buck1", "destinationBucketUuid": "buck1", "generation": 0, "id": "id1", "modificationTimeMs": "string", "name": "myPolicyName", "partner": "sys1", "protectionConfigType": "s3", "s3Configuration": { "deleteMarkerReplication": false, "deleteReplication": false }, "sourceBucket": "buck1", "sourceBucketUuid": "buck1", "systemUid": "system1", "type": "string" }
- https://eu1.data.cloud.hpe.com/object-storage/v1alpha1/devtype7-storage-systems/{systemId}/protection-policies/{policyId}
- https://us1.data.cloud.hpe.com/object-storage/v1alpha1/devtype7-storage-systems/{systemId}/protection-policies/{policyId}
- https://jp1.data.cloud.hpe.com/object-storage/v1alpha1/devtype7-storage-systems/{systemId}/protection-policies/{policyId}
- Mock serverhttps://developer.greenlake.hpe.com/_mock/docs/greenlake/services/object-storage/public/openapi/object-storage-public-v1alpha1/object-storage-api/object-storage/v1alpha1/devtype7-storage-systems/{systemId}/protection-policies/{policyId}
- curl
- JavaScript
- Node.js
- Python
- Java
- Go
- C#
- PHP
curl -i -X PUT \
https://eu1.data.cloud.hpe.com/object-storage/v1alpha1/devtype7-storage-systems/8UW0002928/protection-policies/policy1 \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{}'{ "message": "Successfully submitted", "status": "SUBMITTED", "taskUri": "/rest/vega/v1/tasks/4969a568-6fed-4915-bcd5-e4566a75e00c" }