GET /selfService/vSphere/Configs/{ID}
Returns a resource representation of a vSphere Self-Service Backup Portal tenant access configuration with the specified ID.
Request
To get a resource representation of the vSphere Self-Service Backup Portal tenant access configuration, send the GET HTTP request to the URL of the /selfService/vSphere/Configs/{ID} resource:
HTTP Request
GET https://<Enterprise-Manager>:9398/api/selfService/vSphere/Configs/{ID} |
or
GET https://<Enterprise-Manager>:9398/api/selfService/vSphere/Configs/{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:
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:
|
Response Body
In the response body, the REST API returns an entity or an entity reference of the /selfService/vSphere/Configs/{ID} resource. The resource entity contains the following parameters and links.
Parameters
Element | Type | Description |
---|---|---|
UID | UidType | UID of the tenant access configuration resource. |
Name | String | Name of the tenant access configuration, for example: tech\william.fox. |
BackupServerUid | UidType | UID of the backup server parent to the access configuration resource, for example: urn:veeam:BackupServer:0874ab95-10e5-4f25-84df-2782ad81f3e5. |
RepositoryUid | UidType | UID of the backup repository on which the storage quota for the tenant is created, for example: urn:veeam:Repository:82db96c3-445c-4a7e-9587-f2d523e839f4. |
QuotaGb | Long | Size of the storage quota assigned to the tenant (in GB). |
PerUser | Boolean | Defines whether users of the group for which the tenant access configuration is created will have separate quotas on the backup repository and what backup jobs will be available to users. Possible values:
|
Account | VSphereSelfServiceConfigAccountInfoType | Tenant access configuration settings. For details, see vSphere Self-Service Account Settings |
JobSettings | — | vSphere backup job options set for the organization. For details, see vSphere Self-Service Backup Job Settings. |
VCentersScope | VCentersScopeListType | List of vCenter Servers whose VMs are available to the tenant. By default, the tenant has access to all vCenter Servers. For details, see vCenters Scope Settings. |
Tags | TagsListType | vSphere tags that define what VMs are available to the tenant. For details, see vSphere Tags. |
UsedQuota | Long | Amount of space on the storage quota consumed by the tenant (in MB). |
To view query parameters that you can use for filtering or sorting, see GET /query?type=VsphereSelfServiceConfig.
vSphere Self-Service Account Settings
The Account element contains the following tenant access configuration settings.
Element | Type | Description |
---|---|---|
AccountName | String | Name of the tenant access configuration. |
AccountSid | String | ID of the tenant access configuration, for example: S-1-5-21-2710250414-1144789048-1111555807-25028. |
AccountType | String | Type of the tenant access configuration. Possible values:
|
vSphere Self-Service Backup Job Settings
The JobSettings element contains the following backup job settings.
Element | Type | Description |
---|---|---|
DefaultSettings | Boolean | Defines what settings are applied to backup jobs created by the tenant of vSphere Self-Service Backup Portal. Possible values:
|
JobSchedulerType | String | Job scheduling options. Possible values:
|
HighPriorityJob | Boolean | Defines whether the backup job has a high priority. Possible values:
|
The VCentersScope element contains the following vCenters Scope settings.
Element | Type | Description |
---|---|---|
VCenterUid | UidType | UID of the vCenter Server that must be available to the tenant, for example: urn:veeam:ManagedServer:6edb23da-560b-4759-951f-1da6aca08169. |
The Tags element contains a list of Tag elements.
Element | Type | Description |
---|---|---|
Tag | String | vSphere tag assigned to a VM that must be available to the tenant. If tags are specified in the tenant access configuration, the vSphere tags delegation mode is selected in Veeam Backup Enterprise Manager. The tenant is able to back up only those VMs to which the specified tags are assigned. |
Links
Reference | Relationship | Description |
---|---|---|
/backupServers/{ID} | Up | URL of the /backupServers/{ID} resource — a backup server that contains the VMware Cloud Director server in its infrastructure. |
/vCloud/orgConfigs/{ID} | Alternate | Alternate URL of the /vCloud/orgConfigs/{ID} resource. |
/vCloud/orgConfigs/{ID} | Edit | URL for the PUT /vCloud/orgConfigs/{ID} request. |
/vCloud/orgConfigs/{ID} | Delete | URL for the DELETE /vCloud/orgConfigs/{ID} request. |
/vCloud/orgConfigs/{ID}/backupJobSettings | Down | URL of the /vCloud/orgConfigs/{ID}/backupJobSettings resource — job settings applied to backup jobs for the VMware Cloud Director organization. |
Example
The example below returns an entity representation of the configuration with ID c6a041d0-36a1-47c7-9f4b-a12327796c68.
Request: GET https://localhost:9398/api/selfService/vSphere/Configs/c6a041d0-36a1-47c7-9f4b-a12327796c68?format=Entity
Request Header: X-RestSvcSessionId NDRjZmJkYmUtNWE5NS00MTU2LTg4NjctOTFmMDY5YjdjMmNj
Response: 200 OK
Response Body: <VSphereSelfServiceConfig xmlns="http://www.veeam.com/ent/v1.0" Type="VSphereSelfServiceConfig" Href="https://localhost:9398/api/selfService/vSphere/Configs/c6a041d0-36a1-47c7-9f4b-a12327796c68?format=Entity" Name="Administrators" UID="urn:veeam:VSphereSelfServiceConfig:c6a041d0-36a1-47c7-9f4b-a12327796c68"> |