// removed jquery ui css and js

View Propagated Link Details

Details

API Details
Name

View Propagated Link Details

Description
MethodGET
URI
  • v1/resources/resourceId/type/propagatableResourceType
  • v1/resources/resourceId/type/propagatableResourceType/?resourceIds=resourceId,resourceId,...
CloudCenter ReleaseIntroduced in CloudCenter 4.5.2.
Notes
  • Available in CloudCenter 4.5.2.
     
  • For additional context on <PORT> usage in the following example(s), see Base URI Format.
  • 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. 
  • You can only propagate the following CloudCenter resources. See the Federated CCM Management section for the relevant release for additional context.
    • Applications
    • Application Profiles
    • Services
    • Policies (action, custom, scaling, and aging policies)
  • When you propagate a resource from the parent to the child CCM, CloudCenter adds the propagated resource details to both sides.
ESB Header

action: get.resources.resourceId.type.propagatableResource

See the Enterprise Service Bus (ESB) section for the relevant release for additional context.

Example 1 – Propagated Link Details (Managed VMs)

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

Response

{
    "propagatableLinks": [{
        "id": "6",
        "resource": "https://<HOST>:<PORT>/v1/resources/6/type/AGING_POLICY/6",
        "perms": [],
        "type": "AGING_POLICY",
        "linkId": "7",
        "linkDisplayName": "CCM4-T0",
        "linkURL": "https://<HOST>:<PORT>",
        "selected": true,
        "syncType": "AUTO",
        "resourceId": "6"
    }]
}

Example 1 – Propagated Resource Status (from the Child CCM)

curl -k -X GET -H "Accept: application/json" -u cloudcenteradmin:40E45DBE57E35ECB "https://<HOST>:<PORT>/v1/resources/type/CUSTOM_POLICY?resourceIds=1,2,3,8,14,15"
If the linked resources resides on the Child CMM, issue this request from the Child CCM.
Even if multiple custom policy IDs (for example 1,2,3,8,14,15 in the following response) are provided in this request, the status is only provided for the linked custom policies (for example, 8 and 15 in the following response).

Response

{
    "propagatableLinks": [{
        "id": "10",
        "resource": "https://<HOST>:<PORT>/v1/resources/type/CUSTOM_POLICY/10?resourceIds=1,2,3,8,14,15",
        "perms": [],
        "type": "CUSTOM_POLICY",
        "linkId": "3",
        "linkDisplayName": "CCM4-T0",
        "linkURL": "https://<HOST>:<PORT>",
        "selected": false,
        "syncType": "AUTO",
        "resourceId": "8"
    }, {
        "id": "20",
        "resource": "https://<HOST>:<PORT>/v1/resources/type/CUSTOM_POLICY/20?resourceIds=1,2,3,8,14,15",
        "perms": [],
        "type": "CUSTOM_POLICY",
        "linkId": "3",
        "linkDisplayName": "CCM4-T0",
        "linkURL": "https://<HOST>:<PORT>",
        "selected": false,
        "syncType": "AUTO",
        "resourceId": "15"
    }]
}


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
  • Type: Enumeration

    EnumerationDescription
    APPSee the Application Lifecycle Management section for the relevant release for additional context.
    APP_TEMPLATE See the Application Profiles section for the relevant release for additional context.
    SERVICESee the Service Properties section for the relevant release for additional context.
    AGING_POLICY
    See the Policy Management section for the relevant release for additional context.
    SCALING_POLICY
    CUSTOM_POLICY
    ACTION_POLICY

Required.  

Response Attributes

  • Description: Details on the propagated links for each Child CCM.
  • Type: Array of propagated link details

    id
    • DescriptionUnique, system-generated identifier for this CloudCenter Resource.

    • Type: String
    resource
    • Description: Unique URL to access this resource.
    • Type: String

    See pageResource or Pagination for additional context

     propagatableResourceType
    • Type: Enumeration

      EnumerationDescription
      APPSee the Application Lifecycle Management section for the relevant release for additional context.
      APP_TEMPLATE See the Application Profiles section for the relevant release for additional context.
      SERVICESee the Service Properties section for the relevant release for additional context.
      AGING_POLICY
      See the Policy Management section for the relevant release for additional context.
      SCALING_POLICY
      CUSTOM_POLICY
      ACTION_POLICY
    linkId
    • Description: Unique identifier for a CloudCenter link within a federated tenant. This ID is generated automatically by the CloudCenter platform when the link is created.
    • Type: String
    linkDisplayName
    • Description: The display name for a CloudCenter link within a federated tenant. This value is provided by the user when creating the link.
    • Type: String
    linkURL
    • Description: The Child CCM URL used to initiate a CloudCenter link for a federated setup. This value is provided by the user when creating the link.
    • Type: String
     selected 
    • Description: Identifies if the Child CCM used to initiate a CloudCenter link for a federated setup was selected. This selection is done by the user when propagating the resource. See the Resource Propagation for Federated CCMs for the relevant release for additional context.
    • Type: Boolean
      • true = The Child CCM with the identified URL was selected for this resource propagation.
      • false = The Child CCM with the identified URL was not selected for this resource propagation.
    syncType 
    • Description: Identifies if the Child CCM used to initiate a CloudCenter link for a federated setup was set up to be automatically or manually propagated. This selection is done by the user when propagating the resource. See the Resource Propagation for Federated CCMs lnk for the relevant release for additional context.
    • Type: Enumeration

      EnumerationDescription
      MANUALThe change is not propagated automatically and the resource owner must manually propagate changes to the Child CCM.
      AUTOThe change is automatically propagated to the corresponding Child CCM.

    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


© 2017-2019 Cisco Systems, Inc. All rights reserved