Manually Synchronizing User Resources from a Cloud Vendor
Function
This API is used to manually synchronize user resources from a cloud vendor.
Authorization Information
Each account has all the permissions required to call all APIs, but IAM users must be assigned the required permissions.
- If you are using role/policy-based authorization, see Permissions Policies and Supported Actions for details on the required permissions.
- If you are using identity policy-based authorization, the following identity policy-based permissions are required.
Action
Access Level
Resource Type (*: required)
Condition Key
Alias
Dependencies
coc:instance:syncResources
Write
-
-
-
-
URI
POST /v1/multicloud-resources/sync
Request Parameters
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
vendor |
Yes |
String |
Definition: Cloud vendor information. Constraints: N/A Value range: AWS: Amazon Web Services (AWS) Default value: N/A |
|
account_id |
No |
String |
Definition: Account ID of a supplier. Constraints: N/A Value range: The value is a string. It contains 0 to 64 characters. Default value: N/A |
Response Parameters
Status code: 200
|
Parameter |
Type |
Description |
|---|---|---|
|
data |
String |
Definition: Task ID. Value range: N/A |
Example Requests
This API is used to manually synchronize user resources from a cloud vendor.
POST https://{Endpoint}/v1/multicloud-resources/sync
{
"vendor" : "HCS",
"account_id" : "ssstest21321"
}
Example Responses
Status code: 200
Request body for manually synchronizing user resources from a cloud vendor successfully.
{
"data" : "d8503bdd-8482-4e69-812e-68600bcc1142"
}
Status Codes
|
Status Code |
Description |
|---|---|
|
200 |
Request body for manually synchronizing user resources from a cloud vendor successfully. |
Error Codes
See Error Codes.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot