Accept Link Confirmation from Parent CCM

Details

API Details
NameAccept Link Confirmation from Parent CCM
DescriptionThe tenant admin for the Parent CCM accepts the confirmation that is received from the Child CCM's tenant adminstrator
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.
  • If this handshake using each other's certificate is mutually authenticated, the link is successfully established.
  • Once a link request is approved between the parent and the subordinate, the Child CCM admin must import the parent certificate (Upload Link Certificate) to its trust store and sends its own certificate back to the parent.

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://<ParentCCM_HOST>:<PORT>/v1/tenants/1/links/3"

Request Body

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

Response

{
    "id": "7",
    "resource": "https://<ParentCCM_HOST>:<PORT>/v1/tenants/1/links/7",
    "perms": ["read", "delete", "remote_app_profile_creation", "manage", "remote_termination", "administration", "remote_launch", "remote_policy_creation", "write"],
    "name": "CCM4-T0",
    "description": null,
    "tenantId": "1",
    "disabled": false,
    "status": "APPROVED",
    "lastApproved": 1464898408297,
    "lastUpdated": 1464898408297,
    "created": 1464897594000,
    "remoteTenantId": "1",
    "remoteTenantShortName": "CloudCenter",
    "remoteCloudCenterId": "ccm4",
    "remoteEndpoint": "https://<ChildCCM_HOST>:<PORT>",
    "remoteLinkId": "3",
    "relation": "CLOUD_CENTER_LINK_TO_CHILD",
    "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,
     ..L..L.z......u.\n\ n]",
    "remoteLaunchOk": true,
    "remoteTerminationOk": true,
    "remotePolicyCreationOk": true,
    "remoteAppProfileCreationOk": true
}

Request Attributes

Response Attributes

See pageResource or Pagination for additional context