GET /vCloud/orgConfigs/{ID}

In this article

    Returns a resource representation of a vCloud Director organization configuration with the specified ID.

    Request

    To get a resource representation of the vCloud Director organization configuration, send the GET HTTP request to the URL of the /vCloud/orgConfigs/{ID} resource:

    HTTP Request

    GET https://<Enterprise-Manager>:9398/api/vCloud/orgConfigs/{ID}

    or

    GET https://<Enterprise-Manager>:9398/api/vCloud/orgConfigs/{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 /vCloud/orgConfigs/{ID} resource.

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

    Parameter

    Type

    Description

    Can Be Used for Filtering

    Can Be Used for Sorting

    Uid

    URN

    ID of the vCloud Director organization configuration resource, for example: urn:veeam:BackupFile:0874ab95-10e5-4f25-84df-2782ad81f3e5.

    True

    True

    Name

    String

    Name of the vCloud Director organization configuration resource, for example: org1.

    True

    True

    RepositoryUid

    URN

    ID of the backup repository on which the storage quota for the vCloud Director organization is created, for example: urn:veeam:Repository:82db96c3-445c-4a7e-9587-f2d523e839f4.

    True

    True

    QuotaGb

    Long

    Size of the storage quota assigned to the vCloud Director organization (in GB).

    True

    True

    Disabled

    Boolean

    Defines if the default vCloud Director organization configuration is in the disabled or enabled state. Possible values:

    • True — the default configuration is disabled. Self-service backup is unavailable for vCloud Director organizations that do not have individual configurations.
    • False — the default configuration is enabled. vCloud Director organizations for which individual configurations were not created can perform self-service backup.

    True

    True

    JobSchedulerType

    String

    Job scheduling options. Possible values:

    • Full — vCloud Director organization members have full access to all job scheduling options.
    • Partial — vCloud Director organization members can create daily and monthly jobs only.
    • Random — vCloud Director organization members can create daily jobs with randomized start time within the backup window.
    • Disabled — vCloud Director organization members can create only jobs with no schedule assigned.

    True

    True

    UsedQuota

    Long

    Amount of space on the storage quota consumed by the vCloud Director organization (in MB).

    True

    True

    BackupServerUid

    URN

    ID of the backup server parent to the vCloud Director organization configuration resource.

    True

    True

    BackupServerName

    String

    Name of the backup server parent to the vCloud Director organization configuration resource.

    True

    True

    Example

    The example below returns an entity representation of the configuration with ID ee1018b4-6f52-489e-80b7-8005e0b2d640.

    Request:

    GET https://localhost:9398/api/vCloud/orgConfigs/ee1018b4-6f52-489e-80b7-8005e0b2d640?format=Entity

     

    Request Header:

    X-RestSvcSessionId   NDRjZmJkYmUtNWE5NS00MTU2LTg4NjctOTFmMDY5YjdjMmNj

     

    Response:

    200 OK

     

    Response Body:

    <VCloudOrganizationConfig xmlns="http://www.veeam.com/ent/v1.0" Type="VCloudOrganizationConfig" Href="https://localhost:9398/api/vCloud/orgConfigs/ee1018b4-6f52-489e-80b7-8005e0b2d640?format=Entity" Name="org1" UID="urn:veeam:VCloudOrganizationConfig:ee1018b4-6f52-489e-80b7-8005e0b2d640">
     <Links>
       <Link Rel="Up" Type="BackupServerReference" Href="https://localhost:9398/api/backupServers/1cf4ea89-89d9-4b4e-a285-71bd8c705222" Name="172.17.53.2" />
       <Link Rel="Alternate" Type="VCloudOrganizationConfigReference" Href="https://localhost:9398/api/vCloud/orgConfigs/ee1018b4-6f52-489e-80b7-8005e0b2d640" Name="org1" />
       <Link Rel="Edit" Type="VCloudOrganizationConfigReference" Href="https://localhost:9398/api/vCloud/orgConfigs/ee1018b4-6f52-489e-80b7-8005e0b2d640" Name="org1" />
       <Link Rel="Disable" Href="https://localhost:9398/api/vCloud/orgConfigs/ee1018b4-6f52-489e-80b7-8005e0b2d640?action=disable" />
       <Link Rel="Delete" Href="https://localhost:9398/api/vCloud/orgConfigs/ee1018b4-6f52-489e-80b7-8005e0b2d640" />
       <Link Rel="Down" Type="VCloudOrganizationConfigBackupJobSettings" Href="https://localhost:9398/api/vCloud/orgConfigs/ee1018b4-6f52-489e-80b7-8005e0b2d640/backupJobSettings" Name="org1" />
     </Links>
     <BackupServerUid>urn:veeam:BackupServer:1cf4ea89-89d9-4b4e-a285-71bd8c705222</BackupServerUid>
     <RepositoryUid>urn:veeam:Repository:df9903aa-d2b6-4edd-9a0b-057bc8dd4451</RepositoryUid>
     <QuotaGb>100</QuotaGb>
     <IsDisabled>false</IsDisabled>
     <JobSettings>
       <CustomSettings>true</CustomSettings>
       <JobSchedulerType>Full</JobSchedulerType>
       <HighPriorityJob>false</HighPriorityJob>
     </JobSettings>
     <UsedQuotaMb>120</UsedQuotaMb>
    </VCloudOrganizationConfig>