CloudResource

The resource on GCP

JSON representation
{
  "name": string,
  "kind": enum (ResourceKind),

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

string

Output only. resource name Example: compute.googleapis.com/projects/wlm-obs-dev/zones/us-central1-a/instances/sap-pri

kind

enum (ResourceKind)

Output only.

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

object (InstanceProperties)

Output only. All instance properties.

ResourceKind

Different kinds of resources in the SAP System.

Enums
RESOURCE_KIND_UNSPECIFIED Unspecified resource kind.
RESOURCE_KIND_INSTANCE This is a compute instance.
RESOURCE_KIND_DISK This is a compute disk.
RESOURCE_KIND_ADDRESS This is a compute address.
RESOURCE_KIND_FILESTORE This is a filestore instance.
RESOURCE_KIND_HEALTH_CHECK This is a compute health check.
RESOURCE_KIND_FORWARDING_RULE This is a compute forwarding rule.
RESOURCE_KIND_BACKEND_SERVICE This is a compute backend service.
RESOURCE_KIND_SUBNETWORK This is a compute subnetwork.
RESOURCE_KIND_NETWORK This is a compute network.
RESOURCE_KIND_PUBLIC_ADDRESS This is a public accessible IP Address.
RESOURCE_KIND_INSTANCE_GROUP This is a compute instance group.

InstanceProperties

Instance Properties.

JSON representation
{
  "status": string,
  "machineType": string,
  "instanceNumber": string,
  "upcomingMaintenanceEvent": {
    object (UpcomingMaintenanceEvent)
  },
  "roles": [
    enum (InstanceRole)
  ],
  "sapInstanceProperties": {
    object (SapInstanceProperties)
  }
}
Fields
status

string

Optional. Instance status.

machineType

string

Optional. Instance machine type.

instanceNumber

string

Optional. Instance number.

upcomingMaintenanceEvent

object (UpcomingMaintenanceEvent)

Optional. the next maintenance event on VM

roles[]

enum (InstanceRole)

Optional. Instance roles.

sapInstanceProperties

object (SapInstanceProperties)

Optional. SAP Instance properties.

UpcomingMaintenanceEvent

Maintenance Event

JSON representation
{
  "startTime": string,
  "endTime": string,
  "maintenanceStatus": string,
  "type": string,
  "onHostMaintenance": string
}
Fields
startTime

string (Timestamp format)

Optional. Start time

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".

endTime

string (Timestamp format)

Optional. End time

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".

maintenanceStatus

string

Optional. Maintenance status

type

string

Optional. Type

onHostMaintenance

string

Optional. Instance maintenance behavior. Could be MIGRATE or TERMINATE.

SapInstanceProperties

SAP instance properties.

JSON representation
{
  "numbers": [
    string
  ],
  "agentStates": {
    object (AgentStates)
  }
}
Fields
numbers[]

string

Optional. SAP Instance numbers. They are from '00' to '99'.

agentStates

object (AgentStates)

Optional. Sap Instance Agent status.

AgentStates

Agent status.

JSON representation
{
  "installedVersion": string,
  "availableVersion": string,
  "isFullyEnabled": boolean,
  "processMetrics": {
    object (ServiceStates)
  },
  "systemDiscovery": {
    object (ServiceStates)
  },
  "hanaMonitoring": {
    object (ServiceStates)
  }
}
Fields
installedVersion

string

Optional. The installed version of the agent on the host.

availableVersion

string

Optional. The available version of the agent in artifact registry.

isFullyEnabled

boolean

Optional. Whether the agent is fully enabled. If false, the agent is has some issues.

processMetrics

object (ServiceStates)

Optional. The Process metrics of the agent.

systemDiscovery

object (ServiceStates)

Optional. The System discovery metrics of the agent.

hanaMonitoring

object (ServiceStates)

Optional. HANA monitoring metrics of the agent.

ServiceStates

The state of the service.

JSON representation
{
  "state": enum (State),
  "iamPermissions": [
    {
      object (IAMPermission)
    }
  ]
}
Fields
state

enum (State)

Output only. The overall state of the service.

iamPermissions[]

object (IAMPermission)

Optional. Output only. The IAM permissions for the service.

State

The state of the service.

Enums
STATE_UNSPECIFIED The state is unspecified.
CONFIG_FAILURE The state means the service has config errors.
IAM_FAILURE The state means the service has IAM permission errors.
FUNCTIONALITY_FAILURE The state means the service has functionality errors.
ENABLED The state means the service has no error.
DISABLED The state means the service disabled.

IAMPermission

The IAM permission status.

JSON representation
{
  "name": string,
  "granted": boolean
}
Fields
name

string

Output only. The name of the permission.

granted

boolean

Output only. Whether the permission is granted.

InstanceRole

Instance Role

Enums
INSTANCE_ROLE_UNSPECIFIED Unspecified role.
INSTANCE_ROLE_ASCS ASCS role.
INSTANCE_ROLE_ERS ERS role.
INSTANCE_ROLE_APP_SERVER APP server.
INSTANCE_ROLE_HANA_PRIMARY HANA primary role.
INSTANCE_ROLE_HANA_SECONDARY HANA secondary role.