REST Resource: projects.locations.discoveredprofiles

Resource: WorkloadProfile

Workload resource.

JSON representation
{
  "name": string,
  "labels": {
    string: string,
    ...
  },
  "refreshedTime": string,
  "workloadType": enum (WorkloadType),

  // Union field workload can be only one of the following:
  "sapWorkload": {
    object (SapWorkload)
  }
  // End of list of possible types for union field workload.
}
Fields
name

string

Identifier. name of resource names have the form 'projects/{projectId}/locations/{location}/workloadProfiles/{workloadId}'

labels

map (key: string, value: string)

Optional. such as name, description, version. More example can be found in deployment

An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.

refreshedTime

string (Timestamp format)

Required. time when the workload data was refreshed

Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: "2014-10-02T15:01:23Z", "2014-10-02T15:01:23.045123456Z" or "2014-10-02T15:01:23+05:30".

workloadType

enum (WorkloadType)

Required. The type of the workload

Union field workload. content of the workload workload can be only one of the following:
sapWorkload

object (SapWorkload)

The sap workload content

WorkloadType

Indicate the workload type

Enums
WORKLOAD_TYPE_UNSPECIFIED unspecified workload type
S4_HANA running sap workload s4/hana

SapWorkload

The body of sap workload

JSON representation
{
  "metadata": {
    string: string,
    ...
  },
  "database": {
    object (SapComponent)
  },
  "application": {
    object (SapComponent)
  },
  "products": [
    {
      object (Product)
    }
  ],
  "architecture": enum (Architecture)
}
Fields
metadata

map (key: string, value: string)

Output only. The metadata for SAP workload.

An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.

database

object (SapComponent)

Output only. database component

application

object (SapComponent)

Output only. application component

products[]

object (Product)

Output only. The products on this workload.

architecture

enum (Architecture)

Output only. The architecture.

SapComponent

The component of sap workload

JSON representation
{
  "sid": string,
  "resources": [
    {
      object (CloudResource)
    }
  ],
  "haHosts": [
    string
  ],
  "topologyType": enum (TopologyType),

  // Union field properties can be only one of the following:
  "databaseProperties": {
    object (DatabaseProperties)
  }
  // End of list of possible types for union field properties.
}
Fields
sid

string

Output only. sid is the sap component identificator

resources[]

object (CloudResource)

Output only. resources in the component

haHosts[]

string

List of host URIs that are part of the HA configuration if present. An empty list indicates the component is not configured for HA.

topologyType

enum (TopologyType)

The detected topology of the component.

Union field properties. One of the properties of resource. properties can be only one of the following:
databaseProperties

object (DatabaseProperties)

Output only. All instance properties.

TopologyType

Different types of system topology.

Enums
TOPOLOGY_TYPE_UNSPECIFIED Unspecified topology.
TOPOLOGY_SCALE_UP A scale-up single node system.
TOPOLOGY_SCALE_OUT A scale-out multi-node system.

DatabaseProperties

Database Properties.

JSON representation
{
  "backupProperties": {
    object (BackupProperties)
  },
  "databaseType": enum (DatabaseType)
}
Fields
backupProperties

object (BackupProperties)

Output only. Backup properties.

databaseType

enum (DatabaseType)

Output only. Type of the database. HANA, DB2, etc.

BackupProperties

Backup properties.

JSON representation
{
  "latestBackupTime": string,
  "latestBackupStatus": enum (BackupState)
}
Fields
latestBackupTime

string (Timestamp format)

The time when the latest backup was performed.

Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: "2014-10-02T15:01:23Z", "2014-10-02T15:01:23.045123456Z" or "2014-10-02T15:01:23+05:30".

latestBackupStatus

enum (BackupState)

Output only. The state of the latest backup.

BackupState

the state of backup

Enums
BACKUP_STATE_UNSPECIFIED unspecified
BACKUP_STATE_SUCCESS SUCCESS state
BACKUP_STATE_FAILURE FAILURE state

DatabaseType

Type of the database. HANA, DB2, etc.

Enums
DATABASE_TYPE_UNSPECIFIED unspecified
HANA SAP HANA
MAX_DB SAP MAX_DB
DB2 IBM DB2
ORACLE Oracle Database
SQLSERVER Microsoft SQL Server
ASE SAP Sybase ASE

Product

Contains the details of a product.

JSON representation
{
  "name": string,
  "version": string
}
Fields
name

string

Optional. Name of the product.

version

string

Optional. Version of the product.

Architecture

Different types of system architecture.

Enums
ARCHITECTURE_UNSPECIFIED Unspecified architecture.
INVALID Invaliad architecture.
CENTRALIZED A centralized system.
DISTRIBUTED A distributed system.
DISTRIBUTED_HA A distributed with HA system.
STANDALONE_DATABASE A standalone database system.
STANDALONE_DATABASE_HA A standalone database with HA system.

Methods

get

Gets details of a discovered workload profile.

list

List discovered workload profiles