Chargeback Reporting Controller Resource

[SVP-3429] API to get the backup-size report (usage of backup files) for specified query parameters

POST /chargeback-reporting/backup-size/app

Request Parameters
name type description default constraints
count-type query STORED_BYTES "FRONTEND_BYTES" or "STORED_BYTES"
project-uuid query    
Request Body
media type data type
application/json ChargebackAppRequest (JSON)
Response Body
media type data type description
application/json array of ChargebackDTO (JSON)

Example

Request
POST /chargeback-reporting/backup-size/app
Content-Type: application/json
Accept: application/json

                
{
  "applicationGuids" : [ "...", "..." ],
  "commandLineExecutionConfigGuids" : [ "...", "..." ],
  "backupDestinationGuids" : [ "...", "..." ],
  "backupPolicyGuids" : [ "...", "..." ],
  "guids" : [ "...", "..." ],
  "uuids" : [ "...", "..." ],
  "groupBy" : "...",
  "valid" : true,
  "cloud" : true,
  "OS" : true
}
                
              
Response
HTTP/1.1 201 Created
Content-Type: application/json

                
[ {
  "guid" : "...",
  "uuid" : "...",
  "name" : "...",
  "size" : 12345
} ]
                
              

POST /chargeback-reporting/backup-size/cloud

Request Parameters
name type description default constraints
count-type query STORED_BYTES "FRONTEND_BYTES" or "STORED_BYTES"
project-uuid query    
Request Body
media type data type
application/json ChargebackCloudRequest (JSON)
Response Body
media type data type description
application/json array of ChargebackDTO (JSON)

Example

Request
POST /chargeback-reporting/backup-size/cloud
Content-Type: application/json
Accept: application/json

                
{
  "cloudFeatures" : [ "SHAREPOINT", "SHAREPOINT_DOCUMENT_LIBRARY" ],
  "cloudUserGuids" : [ "...", "..." ],
  "cloudSiteGuids" : [ "...", "..." ],
  "cloudTeamsGuids" : [ "...", "..." ],
  "cloudGroupsGuids" : [ "...", "..." ],
  "cloudBackupDestinationGuids" : [ "...", "..." ],
  "cloudBackupPolicyGuids" : [ "...", "..." ],
  "cloudServiceProviderGuids" : [ "...", "..." ],
  "cloud" : true,
  "backupDestinationGuids" : [ "...", "..." ],
  "backupPolicyGuids" : [ "...", "..." ],
  "guids" : [ "...", "..." ],
  "uuids" : [ "...", "..." ],
  "groupBy" : "...",
  "valid" : true,
  "OS" : true
}
                
              
Response
HTTP/1.1 201 Created
Content-Type: application/json

                
[ {
  "guid" : "...",
  "uuid" : "...",
  "name" : "...",
  "size" : 12345
} ]
                
              

POST /chargeback-reporting/backup-size/os

Request Parameters
name type description default constraints
count-type query STORED_BYTES "FRONTEND_BYTES" or "STORED_BYTES"
project-uuid query    
Request Body
media type data type
application/json ChargebackOSRequest (JSON)
Response Body
media type data type description
application/json array of ChargebackDTO (JSON)

Example

Request
POST /chargeback-reporting/backup-size/os
Content-Type: application/json
Accept: application/json

                
{
  "osAgentGuids" : [ "...", "..." ],
  "osBackupPolicyGuids" : [ "...", "..." ],
  "osBackupDestinationGuids" : [ "...", "..." ],
  "OS" : true,
  "backupDestinationGuids" : [ "...", "..." ],
  "backupPolicyGuids" : [ "...", "..." ],
  "guids" : [ "...", "..." ],
  "uuids" : [ "...", "..." ],
  "groupBy" : "...",
  "valid" : true,
  "cloud" : true
}
                
              
Response
HTTP/1.1 201 Created
Content-Type: application/json

                
[ {
  "guid" : "...",
  "uuid" : "...",
  "name" : "...",
  "size" : 12345
} ]
                
              

POST /chargeback-reporting/backup-size/storage

Request Parameters
name type description default constraints
count-type query STORED_BYTES "FRONTEND_BYTES" or "STORED_BYTES"
project-uuid query    
Request Body
media type data type
application/json ChargebackStorageRequest (JSON)
Response Body
media type data type description
application/json array of ChargebackDTO (JSON)

Example

Request
POST /chargeback-reporting/backup-size/storage
Content-Type: application/json
Accept: application/json

                
{
  "storageGuids" : [ "...", "..." ],
  "providerGuids" : [ "...", "..." ],
  "poolGuids" : [ "...", "..." ],
  "backupDestinationGuids" : [ "...", "..." ],
  "backupPolicyGuids" : [ "...", "..." ],
  "guids" : [ "...", "..." ],
  "uuids" : [ "...", "..." ],
  "groupBy" : "...",
  "valid" : true,
  "cloud" : true,
  "OS" : true
}
                
              
Response
HTTP/1.1 201 Created
Content-Type: application/json

                
[ {
  "guid" : "...",
  "uuid" : "...",
  "name" : "...",
  "size" : 12345
} ]
                
              

POST /chargeback-reporting/backup-size/vm

Request Parameters
name type description default constraints
count-type query STORED_BYTES "FRONTEND_BYTES" or "STORED_BYTES"
project-uuid query    
Request Body
media type data type
application/json ChargebackVmRequest (JSON)
Response Body
media type data type description
application/json array of ChargebackDTO (JSON)

Example

Request
POST /chargeback-reporting/backup-size/vm
Content-Type: application/json
Accept: application/json

                
{
  "hypervisorClusterGuids" : [ "...", "..." ],
  "hypervisorManagerGuids" : [ "...", "..." ],
  "hypervisorGuids" : [ "...", "..." ],
  "virtualMachineGuids" : [ "...", "..." ],
  "projectGuids" : [ "...", "..." ],
  "projectUuid" : "...",
  "backupDestinationGuids" : [ "...", "..." ],
  "backupPolicyGuids" : [ "...", "..." ],
  "guids" : [ "...", "..." ],
  "uuids" : [ "...", "..." ],
  "groupBy" : "...",
  "valid" : true,
  "cloud" : true,
  "OS" : true
}
                
              
Response
HTTP/1.1 201 Created
Content-Type: application/json

                
[ {
  "guid" : "...",
  "uuid" : "...",
  "name" : "...",
  "size" : 12345
} ]
                
              

POST /chargeback-reporting/transfer-size/app

Request Parameters
name type description default constraints
count-type query STORED_BYTES "FRONTEND_BYTES" or "STORED_BYTES"
from query   long
project-uuid query    
to query   long
Request Body
media type data type
application/json ChargebackAppRequest (JSON)
Response Body
media type data type description
application/json array of ChargebackDTO (JSON)

Example

Request
POST /chargeback-reporting/transfer-size/app
Content-Type: application/json
Accept: application/json

                
{
  "applicationGuids" : [ "...", "..." ],
  "commandLineExecutionConfigGuids" : [ "...", "..." ],
  "backupDestinationGuids" : [ "...", "..." ],
  "backupPolicyGuids" : [ "...", "..." ],
  "guids" : [ "...", "..." ],
  "uuids" : [ "...", "..." ],
  "groupBy" : "...",
  "valid" : true,
  "cloud" : true,
  "OS" : true
}
                
              
Response
HTTP/1.1 201 Created
Content-Type: application/json

                
[ {
  "guid" : "...",
  "uuid" : "...",
  "name" : "...",
  "size" : 12345
} ]
                
              

POST /chargeback-reporting/transfer-size/cloud

Request Parameters
name type description default constraints
count-type query STORED_BYTES "FRONTEND_BYTES" or "STORED_BYTES"
from query   long
project-uuid query    
to query   long
Request Body
media type data type
application/json ChargebackCloudRequest (JSON)
Response Body
media type data type description
application/json array of ChargebackDTO (JSON)

Example

Request
POST /chargeback-reporting/transfer-size/cloud
Content-Type: application/json
Accept: application/json

                
{
  "cloudFeatures" : [ "TEAMS_MEMBERS", "SHAREPOINT" ],
  "cloudUserGuids" : [ "...", "..." ],
  "cloudSiteGuids" : [ "...", "..." ],
  "cloudTeamsGuids" : [ "...", "..." ],
  "cloudGroupsGuids" : [ "...", "..." ],
  "cloudBackupDestinationGuids" : [ "...", "..." ],
  "cloudBackupPolicyGuids" : [ "...", "..." ],
  "cloudServiceProviderGuids" : [ "...", "..." ],
  "cloud" : true,
  "backupDestinationGuids" : [ "...", "..." ],
  "backupPolicyGuids" : [ "...", "..." ],
  "guids" : [ "...", "..." ],
  "uuids" : [ "...", "..." ],
  "groupBy" : "...",
  "valid" : true,
  "OS" : true
}
                
              
Response
HTTP/1.1 201 Created
Content-Type: application/json

                
[ {
  "guid" : "...",
  "uuid" : "...",
  "name" : "...",
  "size" : 12345
} ]
                
              

POST /chargeback-reporting/transfer-size/os

Request Parameters
name type description default constraints
count-type query STORED_BYTES "FRONTEND_BYTES" or "STORED_BYTES"
from query   long
project-uuid query    
to query   long
Request Body
media type data type
application/json ChargebackOSRequest (JSON)
Response Body
media type data type description
application/json array of ChargebackDTO (JSON)

Example

Request
POST /chargeback-reporting/transfer-size/os
Content-Type: application/json
Accept: application/json

                
{
  "osAgentGuids" : [ "...", "..." ],
  "osBackupPolicyGuids" : [ "...", "..." ],
  "osBackupDestinationGuids" : [ "...", "..." ],
  "OS" : true,
  "backupDestinationGuids" : [ "...", "..." ],
  "backupPolicyGuids" : [ "...", "..." ],
  "guids" : [ "...", "..." ],
  "uuids" : [ "...", "..." ],
  "groupBy" : "...",
  "valid" : true,
  "cloud" : true
}
                
              
Response
HTTP/1.1 201 Created
Content-Type: application/json

                
[ {
  "guid" : "...",
  "uuid" : "...",
  "name" : "...",
  "size" : 12345
} ]
                
              

POST /chargeback-reporting/transfer-size/storage

Request Parameters
name type description default constraints
count-type query STORED_BYTES "FRONTEND_BYTES" or "STORED_BYTES"
from query   long
project-uuid query    
to query   long
Request Body
media type data type
application/json ChargebackStorageRequest (JSON)
Response Body
media type data type description
application/json array of ChargebackDTO (JSON)

Example

Request
POST /chargeback-reporting/transfer-size/storage
Content-Type: application/json
Accept: application/json

                
{
  "storageGuids" : [ "...", "..." ],
  "providerGuids" : [ "...", "..." ],
  "poolGuids" : [ "...", "..." ],
  "backupDestinationGuids" : [ "...", "..." ],
  "backupPolicyGuids" : [ "...", "..." ],
  "guids" : [ "...", "..." ],
  "uuids" : [ "...", "..." ],
  "groupBy" : "...",
  "valid" : true,
  "cloud" : true,
  "OS" : true
}
                
              
Response
HTTP/1.1 201 Created
Content-Type: application/json

                
[ {
  "guid" : "...",
  "uuid" : "...",
  "name" : "...",
  "size" : 12345
} ]
                
              

POST /chargeback-reporting/transfer-size/vm

Request Parameters
name type description default constraints
count-type query STORED_BYTES "FRONTEND_BYTES" or "STORED_BYTES"
from query   long
project-uuid query    
to query   long
Request Body
media type data type
application/json ChargebackVmRequest (JSON)
Response Body
media type data type description
application/json array of ChargebackDTO (JSON)

Example

Request
POST /chargeback-reporting/transfer-size/vm
Content-Type: application/json
Accept: application/json

                
{
  "hypervisorClusterGuids" : [ "...", "..." ],
  "hypervisorManagerGuids" : [ "...", "..." ],
  "hypervisorGuids" : [ "...", "..." ],
  "virtualMachineGuids" : [ "...", "..." ],
  "projectGuids" : [ "...", "..." ],
  "projectUuid" : "...",
  "backupDestinationGuids" : [ "...", "..." ],
  "backupPolicyGuids" : [ "...", "..." ],
  "guids" : [ "...", "..." ],
  "uuids" : [ "...", "..." ],
  "groupBy" : "...",
  "valid" : true,
  "cloud" : true,
  "OS" : true
}
                
              
Response
HTTP/1.1 201 Created
Content-Type: application/json

                
[ {
  "guid" : "...",
  "uuid" : "...",
  "name" : "...",
  "size" : 12345
} ]