Approve Link Request from Child CCM

Details

API Details
NameApprove Link Request from Child CCM
DescriptionThe tenant admin for the Child CCM receives a request and can decide the permissions to provide to the Parent CCM when approving the request.
MethodPUT
URI

v1/tenants/tenantId/links/linkId

CloudCenter ReleaseIntroduced in CloudCenter 4.3.
Notes
  • Available in CloudCenter 4.3 to 4.5.
  • For additional context on <PORT> usage in the following example(s), see Base URI Format.
  • The Child CCM tenant admin can change the assigned permissions even after the link exchange is established.
  • Other than these permission options, all other information is visible and accessible by the Parent CCM
ESB Header

action: update.tenants.tenantId.links.linkId

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

Example

curl -k -X PUT -H "Accept: application/json" -H "Content-Type: application/json" -u cloudcenteradmin:40E45DBE57E35ECB "https://<ChildCCM_HOST>:<PORT>/v1/tenants/1/links/3"

Request Body

{
    "id": "3",
    "name": "CCM4-T0",
    "description": null,
    "status": "APPROVED",
    "remoteCloudCenterId": "ccm3",
    "remoteTenantShortName": "CloudCenter",
    "relation": "CLOUD_CENTER_LINK_TO_PARENT",
    "remoteEndpoint": "https://<ParentCCM_HOST>:<PORT>",
    "tenantId": 1,
    "remoteLinkId": "7",
    "remoteTenantId": "1",
    "requestComment": "",
    "rejectReason": null,
    "requesterName": "CloudCenter Admin",
    "disabled": false,
    "remoteLaunchOk": true,
    "remoteTerminationOk": true,
    "remotePolicyCreationOk": true,
    "remoteAppProfileCreationOk": true
}

Response

{
    "id": "3",
    "resource": "https://<ChildCCM_HOST>:<PORT>/v1/tenants/1/links/3",
    "perms": [],
    "name": "CCM4-T0",
    "description": null,
    "tenantId": "1",
    "disabled": false,
    "status": "PENDING_ACK",
    "lastApproved": null,
    "lastUpdated": 1464898037366,
    "created": 1464897594000,
    "remoteTenantId": "1",
    "remoteTenantShortName": "CloudCenter",
    "remoteCloudCenterId": "ccm3",
    "remoteEndpoint": "https://<ParentCCM_HOST>:<PORT>",
    "remoteLinkId": "7",
    "relation": "CLOUD_CENTER_LINK_TO_PARENT",
    "approvedLinkState": "DID_NOT_CHECK",
    "requestComment": "",
    "rejectReason": null,
    "requesterName": "CloudCenter Admin",
    "userName": null,
    "password": null,
    "remoteCaCert": "[\n[\n  Version: V3\n  Subject: C=US, ST=CA, L=Santa Clara,
     .......C.C4...T.]..\n\n]",
    "remoteLaunchOk": true,
    "remoteTerminationOk": true,
    "remotePolicyCreationOk": true,
    "remoteAppProfileCreationOk": true
} 

Request Attributes

Response Attributes

See pageResource or Pagination for additional context