Propagate Changes to Child CCM

Details

API Details
Name

Propagate Changes to Child CCM (Asynchronous API)

Description
MethodPOST
URIv1/resources/resourceId/type/propagatableResourceType
CloudCenter ReleaseIntroduced in CloudCenter 4.5.2.
Notes
  • Available in CloudCenter 4.5.2.
  • API Notes:

    • For additional context on <PORT> usage in the following example(s), see Base URI Format.
    • See Asynchronous APIs for additional context.
    • Provides a HTTP Location URL that you can use to query the system until this call returns a success or failure HTTP Status Codes. 
    • The CloudCenter GET APIs display up to 20 entities in the listing by default. If you have more than 20 entities in your resource listing, use the pagination query parameters to view them beyond the first 20 entities returned by default. See the CloudCenter API Overview  > Pagination  section for additional context.
  •  Propagation Notes:  
    • You can only propagate the following CloudCenter resources (see Federated CCM Management for additional context):
      • Applications
      • Application Profiles
      • Services
      • Policies (action, custom, scaling, and aging policies)
    • Each Child CCM has its own sub-task and corresponding Link ID for each sub-task listed in the subtaskResults section.
    • Once a link is established and a user has the required permission in a federated CCM environment, this user can use the Parent CCM credentials and DNS name to make REST calls to the Child CCM. Parent CCM users must remember to use the Child CCM Resource ID if they want to configure the corresponding resource on the Child CCM.

ESB Header

action: create.resources.resourceId.type.propagatableResource

Example: Managed VMs

curl -k -X GET -H "Accept: application/json" -u cloudcenteradmin:40E45DBE57E35ECB "https://<HOST>:<PORT>/v1/resources/6/type/AGING_POLICY"

Request Body

{
    "operationId": "63935296-fc5a-44cc-ae5f-ced5942e6f19",
    "status": "SUCCESS",
    "msg": "Finished",
    "progress": 100,
    "timestamp": 1464909277539,
    "additionalParameters": null,
    "operationHistory": [
        "submitting propagatable resource to child ccms",
        "submitting propagatable resource to child ccm: 3",
        "object propagated successfully to child ccm: 3",
        "Finished"
    ],
    "subtaskResults": {
        "7": {
            "operationId": "4d47ed8c-bc94-4964-a043-965353db823c",
            "status": "SUCCESS",
            "msg": "object propagated successfully to child ccm: 3",
            "progress": 100,
            "timestamp": 1464909277539,
            "additionalParameters": null,
            "operationHistory": [
                "submitting propagatable resource to child ccm: 3",
                "object propagated successfully to child ccm: 3"
            ],
            "subtaskResults": null,
            "resourceUrl": null
        }
    },
    "resourceUrl": null
}

Response

A success or failure HTTP Status Code.

See Asynchronous APIs for additional context.

Request Attributes

resourceId
  • Description: Unique identifier for a CloudCenter Resource managed by ACLs. This ID is generated automatically by the CloudCenter platform when the resource is created.  
  • Type: String

Required.

 propagatableResourceType

Required.  

Response Attributes

None.