Analysis: Cloud

Analysis: Cloud

#340590

Description

The /analysis/cloud resource is used to return a list of all cloud optimization analysis entities currently in Densify. An analysis entity encompasses cloud resources within a predefined environment scope, specific to the cloud vendor. Typically, the scope of a cloud analysis entity corresponds to the resources within an account, subscription, or project discovered through Densify data collection.

Resource

/analysis/cloud

Supported Operations

Table: Cloud Analysis Supported Operations

Operation

HTTP Method

Input

Output

Description

List all cloud analyses in Densify

GET /analysis/cloud

 

Collection of:

Use this resource to return a list of existing cloud analyses in Densify.

Example: Listing All Cloud Analyses

Response

Table:Cloud Analysis Response Schema

Element

Type

Filter/Sort

Description

analysisId

string

 

The unique identifier for the cloud analysis entity in Densify.

analysisName

string

Filter by:

  • analysisName
  • analysisName_like

The name given to the cloud analysis entity.

The analysis name typically corresponds to the account ID, subcription ID, or project ID from the infrastructure data collected.

Use the analysisName and analysisName_like filter to return only cloud analyses you are interested in. For example, /cloud/aws?analysisName_like=bob will return all AWS analyses with a "bob" substring in the analysis name.

analysisCompletedOn

string

 

The date and time (in milliseconds) when the last analysis completed.

If an analysis has never been completed, "0" is returned.

href

string

 

The referenced resource to the analysis entity.

See Analysis: Entity for details of the analysis entity resource.

analysisResults

string

 

The referenced resource to the recommendations of the analysis.

For details of the various cloud analysis recommendations, see:

analysisStatus

string

 

The referenced resource to the status of the analysis.

See Analysis: Status for details.

message

string

 

For errors, the message for the status response is returned.

status

number

 

The HTTP response code of the request error. Possible status values include:

  • 200—success with request;
  • 400—invalid parameters;
  • 401—authentication failed;
  • 404—resource not found;
  • 500—internal server error.

Examples

Example: Listing All Cloud Analyses

The following example shows you how to list all cloud analyses in Densify.