Unsupported content

 

This version of the product has reached end of support. The documentation is available for your convenience. However, you must be logged in to access it. You will not be able to leave comments.

LogicalHostingEnvironment get request

Description

This API retrieves the LogicalHostingEnvironment object specified by the guid in the URI.

API stability classification

Unstable

API overview

 

HTTP
method

URI

Return
type

Return type
multiplicity

GET

csm/LogicalHostingEnvironment/guid

LogicalHostingEnvironment

0..1

 

HTTP request message

Query string parameters

This API does not use query string parameters.

Request message headers

This API uses only common headers listed in HTTP request and response headers.

HTTP response message

Response message headers

This API uses only common headers listed in HTTP request and response headers.

Response message body

The response message body contains a LogicalHostingEnvironment object.

Example

The following example shows an HTTP request that retrieves a logical hosting environment:


POST /csm/logicalhostingenvironment/1a14a5b0-296e-4667-b3f8-2e63bfce95ef
Host: apiServer.calbro.com:8080
Authentication-Token: AQIC5wM2LY4Sfcx705TK5UqUK6Ythuk1tVWjHMl7/rpY0Ys=@REGUSER232864

The following example shows a response to the previous HTTP request:


HTTP/1.1 200 OK
BMC-Transaction-ID: bacd4590-d442-4993-b7d8-ff7b73611d79
Content-Length: 1436
Content-Type: application/json; charset=UTF-8
Date: Wed, 07 Nov 2012 23:09:00 GMT
Server: Jetty(6.1.x)
Session-ID: 1626dbd5-9c9c-47a4-8ffb-ed7f33a3f3b3

[
  {
    "cloudClass":"com.bmc.cloud.model.beans.LogicalHostingEnvironment",
    "description":"Description new",
    "guid":"1a14a5b0-296e-4667-b3f8-2e63bfce95ef",
    "logicalNetwork":[
      "/logicalnetwork/4302be30-19b9-4d8a-9dad-fdfe6f8f9546",
      "/logicalnetwork/d21d876e-63de-499b-a977-dd4e8af720b4",
      "/logicalnetwork/42bb2ca0-508f-461a-bcb5-fef217fac9fa",
      "/logicalnetwork/e08922f5-7ddc-4e7d-87f2-55b54afadd91"
    ],
    "name":"AJ_NAT_v10",
    "owner":"sudesh_admin",
    "provider":"/provider/84745d70-d2cb-487c-b300-6ea60386ffcd",
    "reconciliationID":"OI-0c93deb8ba464d0d92827a6fcbbe1a37",
    "resourceHostingEnvironment":"/networkcontainer/19ced1aa-5a38-4e54-8746-92416003ae26",
    "state":"Active",
    "tags":[
      {
        "cloudClass":"com.bmc.cloud.model.beans.Tag",
        "guid":"561c7d3b-00cc-4cfd-8f9c-b6f307f822ce",
        "label":"Dynamic",
        "name":"Dynamic",
        "tagGroup":{
          "cloudClass":"com.bmc.cloud.model.beans.TagGroup",
          "guid":"3b297000-676d-4c82-b305-c674bdc33c2f",
          "name":"NetworkContainerType",
          "ownedTags":[
            "/tag/Compact Gold",
            "/tag/Compact",
            "/tag/Dynamic",
            "/tag/Multi"
          ]
        },
        "tagGroupObject":{
          "cloudClass":"com.bmc.cloud.model.beans.TagGroup",
          "description":"@circular-reference-placeholder@",
          "guid":"3b297000-676d-4c82-b305-c674bdc33c2f"
        }
      }
    ],
    "tokenID":"1a14a5b0-296e-4667-b3f8-2e63bfce95ef"
  }
]

This version of the documentation is no longer supported. However, the documentation is available for your convenience. You will not be able to leave comments.

Comments