Get Page 6

Get Page 6

Use this endpoint to get all logs available for the database
Authorized Roles : PROVIDER or ORG_ADMIN or ORG_USER

Request
URI
GET
https://{api_host}/provider/databases/{dbUuid}/logs
COPY
Path Parameters
string
dbUuid
Required

ID of the database

Query Parameters
integer
page
Optional

Zero-based page index (0..N)

integer
size
Optional

The size of the page to be returned

string of array
sort
Optional

Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported.


Authentication
This operation uses the following authentication methods.
Responses
200

OK

Returns PageDbLogMetadata of type(s) application/vnd.vmware.dms-v1+json
{
    "totalPages": 0,
    "totalElements": 0,
    "first": false,
    "sort": {
        "sorted": false,
        "unsorted": false,
        "empty": false
    },
    "pageable": {
        "page": 0,
        "size": 0,
        "sort": [
            "string"
        ]
    },
    "numberOfElements": 0,
    "last": false,
    "size": 0,
    "content": [
        {
            "id": "string",
            "logName": "string",
            "s3FilePath": "string",
            "logExtractionTime": "string",
            "managedDb": {
                "id": "string",
                "instanceName": "string",
                "dbCluster": "DbCluster Object",
                "role": "string",
                "environment": {
                    "id": "string",
                    "tenant": {
                        "id": "string",
                        "companyName": "string",
                        "email": "string",
                        "instanceMode": "string",
                        "deleted": false,
                        "orgType": "string",
                        "dbFqdnSuffix": "string"
                    },
                    "vcInstanceUuid": "string",
                    "namespaces": [
                        "Namespace Object"
                    ],
                    "vcIpAddress": "string",
                    "vcThumbprint": "string",
                    "pscFqdn": "string",
                    "pscThumbprint": "string",
                    "vcDatacenter": "VcManagedObject Object",
                    "vcVMFolder": "VcManagedObject Object",
                    "templateStorage": "S3StorageDetails Object",
                    "vcCluster": "VcManagedObject Object",
                    "vcNetworkList": [
                        {
                            "networkName": "string",
                            "morId": "string"
                        }
                    ],
                    "vcDatastoreList": [
                        {
                            "datastoreName": "string",
                            "morId": "string"
                        }
                    ],
                    "vcManagedObjects": [
                        "VcManagedObject Object"
                    ],
                    "vcNetworkControl": "VcManagedObject Object",
                    "vcSsoUsername": "string",
                    "vcSolutionUsername": "string",
                    "vcSsoPassword": "string",
                    "tenantNtp": "string",
                    "tenantIpAddress": "string",
                    "rabbitmqUser": "string",
                    "rabbitmqPassword": "string",
                    "status": "string",
                    "deleted": false,
                    "version": "string",
                    "statusUpdatedTimestamp": "string",
                    "vmRootPassword": "string",
                    "vcDmsUsername": "string",
                    "vcDmsUserPassword": "string",
                    "vcDmsROUsername": "string",
                    "vcDmsROUserPassword": "string",
                    "clusterType": "string",
                    "logForwardingStatus": false,
                    "displayName": "string",
                    "datastores": [
                        "VcManagedObject Object"
                    ],
                    "appNetworks": [
                        "VcManagedObject Object"
                    ],
                    "logStorage": "S3StorageDetails Object"
                },
                "logicalBuildId": "string",
                "user": {
                    "id": 0,
                    "firstName": "string",
                    "lastName": "string",
                    "password": "string",
                    "contactNumber": "string",
                    "deleted": false,
                    "email": "string",
                    "type": "string",
                    "userRoles": [
                        {
                            "role": "string"
                        }
                    ],
                    "failedLoginCount": 0,
                    "lockedStateStartTime": "string",
                    "firstFailedLoginTime": "string",
                    "lastFailedLoginTime": "string",
                    "forcePasswordChange": false
                },
                "status": "string",
                "fqdn": "string",
                "primaryFqdn": "string",
                "ip": "string",
                "dbMgmtIp": "string",
                "vmId": "string",
                "deleted": false,
                "createdTimestamp": "string",
                "datastoreId": "string",
                "appNetworkId": "string",
                "dbInstanceConfig": {
                    "id": "string",
                    "port": 0,
                    "rootUser": "string",
                    "rootPassword": "string",
                    "adminUser": "string",
                    "adminPassword": "string",
                    "replicationUser": "string",
                    "replicationPassword": "string",
                    "dbName": "string",
                    "monitoringType": "string",
                    "dbId": 0,
                    "edition": "string",
                    "dbVersion": "string"
                },
                "hwConfig": {
                    "id": "string",
                    "hdDiskSizeGB": 0,
                    "cpuCores": 0,
                    "memoryGB": 0,
                    "thinDisk": false
                },
                "backupConfig": {
                    "id": "string",
                    "numLocalBackupDays": 0,
                    "numRemoteBackupDays": 0,
                    "autoBackupsEnabled": false,
                    "automatedBackupStartTime": "string"
                },
                "maintenanceConfig": {
                    "id": "string",
                    "maintenanceWindowStartDay": "string",
                    "maintenanceWindowStartTime": "string",
                    "maintenanceWindowDuration": 0,
                    "minorVersionUpgradeEnabled": false,
                    "maintenanceWindowSelected": false
                },
                "enableProtection": false,
                "requireClientSsl": false,
                "dbVmRootPassword": "string",
                "shellOvaVersion": "string",
                "dbAdapterRpmVersion": "string",
                "dbEngineRpmVersion": "string",
                "coreRpmVersion": "string",
                "dbVmProviderAdminUser": "string",
                "dbVmProviderAdminPassword": "string",
                "dbVmTenantAdminUser": "string",
                "dbVmTenantAdminPassword": "string",
                "dbVmProviderAdminSshExpiryTime": "string",
                "dbVmTenantAdminSshExpiryTime": "string",
                "sshKey": "string",
                "dbOptions": [
                    {
                        "key": "string",
                        "value": "string",
                        "type": "string",
                        "url": "string"
                    }
                ],
                "logForwardingStatus": false,
                "syncReplicationEnabled": false,
                "memberPriority": 0
            }
        }
    ],
    "number": 0,
    "empty": false
}
integer As int32 As int32
totalPages
Optional

totalPages

integer As int64 As int64
totalElements
Optional

totalElements

boolean
first
Optional

first

sort
Optional

sort

pageable
Optional

pageable

integer As int32 As int32
numberOfElements
Optional

numberOfElements

boolean
last
Optional

last

integer As int32 As int32
size
Optional

size

content
Optional

content

integer As int32 As int32
number
Optional

number

boolean
empty
Optional

empty


400

Bad Request

Operation doesn't return any data structure