Analysis: GCP Systems

Analysis: GCP Systems

#340640

Description

The /analysis/cloud/gcp/<analysisId>/systems resource is used to return a collection of all the systems that were included in the Google Cloud Platform (GCP) optimization analysis.

The recommendations from an GCP optimization analysis can be obtained using the /analysis/cloud/gcp/<analysisId>/results resource. See Analysis: GCP Recommendations for details on the GCP recommendations resource. The set of analyzed systems may be more than the set of recommendations produced, as there can be potentially no recommendations for some analyzed systems.

Resource

/analysis/cloud/gcp/<analysisId>/systems

Supported Operations

Table: GCP Systems Supported Operations

Operation

HTTP Method

Input

Output

Description

List all systems included in a GCP analysis

GET /analysis/cloud/gcp/<analysisId>/systems

Path Parameter:

analysisId

Collection of:

Use this resource to return a list of all systems included in the GCP analysis.

Example: Listing All Systems in a GCP Analysis

Parameters

Path Parameters

Table: GCP Systems Path Parameters

Parameter Name

Type

Description

analysisId

string

The unique referenced ID of the GCP analysis.

Response

Table: GCP Systems Response Schema

Element

Type

Filter/Sort

Description

serviceType

string

 

The cloud service type (i.e. Compute Engine).

resourceId

string

 

The GCP unique identifier assigned to the instance system.

powerState

string

 

The power state of the system.

currentType

string

 

The current instance type of the system.

displayName

string

 

The GCP name assigned to the system.

entityId

string

 

The Densify assigned entity ID of the system.

href

string

 

The referenced resource to the system entity.

See Systems for details of the /systems resource.

Examples

Example: Listing All Systems in a GCP Analysis

The following example shows you how to return all systems (instances) included in an GCP optimization analysis.