GET /cloud/gatewayPools/{ID}

In this article

    Returns a resource representation of a cloud gateway pool with the specified ID.

    Request

    To get a resource representation of the cloud gateway pool, send the GET HTTP request to the URL of the /cloud/gatewayPools/{ID} resource:

    HTTP Request

    GET https://<Enterprise-Manager>:9398/api/cloud/gatewayPools/{ID}

    or

    GET https://<Enterprise-Manager>:9398/api/cloud/gatewayPools/{ID}?format=Entity

    Request Headers

    The request contains the following headers:

    Header

    Required

    Description

    X-RestSvcSessionId

    True

    The request requires authorization. In the header, the client must send a session ID copied from the server reply to the request creating a new logon session. For details, see Authentication and Security.

    Accept

    False

    Identifies the format of the response. Possible values:

    • application/xml — the client can send this value in the header to accept response in the XML format.
    • application/json — the client must send this value in the header to accept the request in the JSON format.

    If the request does not contain the header, the server will return the response in the XML format.

    Request Body

    None.

    Response

    The server returns the following response to the client.

    Response Codes

    A successfully completed operation returns response code 200 OK.

    Response Headers

    The response to this request contains the following headers. The response may also include additional standard HTTP headers.

    Header

    Description

    Content-length

    The length of the response body.

    Content-type

    The media type and syntax of the request body message. Possible values:

    • application/xml
    • application/json

    Response Body

    In the response body, Veeam Backup Enterprise Manager returns a representation of the /cloud/gatewayPools/{ID} resource.

    You can use the following parameters in the GET /query?type=CloudGatewayPool query:

    Parameter

    Type

    Description

    Can Be Used for Filtering

    Can Be Used for Sorting

    Uid

    URN

    ID of the cloud gateway pool resource, for example: 18b395e2-81ff-439c-ae8c-188d97274c15.

    True

    True

    Name

    String

    Name of the cloud gateway pool resource, for example: TechCompany Gateway Pool.

    True

    True

    Description

    String

    Description of the cloud gateway pool.

    True

    True

    BackupServerUid

    URN

    ID of the backup server parent to the cloud gateway pool.

    True

    True

    BackupServerName

    String

    Name of the backup server parent to the cloud gateway pool.

    True

    True

    Example

    The example below returns an entity reference representation of the cloud gateway pool with ID e326f422-ba2e-4764-896c-94251ac1886a.

    Request:

    GET https://localhost:9398/api/cloud/gatewayPools/e326f422-ba2e-4764-896c-94251ac1886a

     

    Request Header:

    X-RestSvcSessionId   NDRjZmJkYmUtNWE5NS00MTU2LTg4NjctOTFmMDY5YjdjMmNj

     

    Response:

    200 OK

     

    Response Body:

    <EntityRef xmlns="http://www.veeam.com/ent/v1.0" Type="CloudGatewayPoolReference" Href="https://localhost:9398/api/cloud/gatewayPools/e326f422-ba2e-4764-896c-94251ac1886a" Name="TechCompany Gateway Pool" UID="urn:veeam:CloudGatewayPool:e326f422-ba2e-4764-896c-94251ac1886a">
     <Links>
       <Link Rel="Up" Type="BackupServerReference" Href="https://localhost:9398/api/backupServers/b1011874-38e0-421e-b6a6-e8e5e4e9fe36" Name="srv14.tech.local" />
       <Link Rel="Alternate" Type="CloudGatewayPool" Href="https://localhost:9398/api/cloud/gatewayPools/e326f422-ba2e-4764-896c-94251ac1886a?format=Entity" Name="TechCompany Gateway Pool" />
     </Links>
    </EntityRef>