Changed2
[{"label":"Latest (4.5.0)","version":"latest"},{"version":"4.4.0"},{"version":"4.3.1"},{"link":"https://developer.vmware.com/apis/1126/vmware-cloud-foundation","version":"4.3"},{"link":"https://developer.vmware.com/apis/1077/vmware-cloud-foundation","version":"4.2"},{"link":"https://developer.vmware.com/apis/1032/vmware-cloud-foundation","version":"4.1"},{"link":"https://developer.vmware.com/apis/1002/vmware-cloud-foundation","version":"4.0.1"},{"link":"https://developer.vmware.com/apis/921/vmware-cloud-foundation","version":"4.0"},{"link":"https://developer.vmware.com/apis/925/vmware-cloud-foundation","version":"3.10"},{"link":"https://developer.vmware.com/apis/891/vmware-cloud-foundation","version":"3.9.1"},{"link":"https://developer.vmware.com/apis/723/vmware-cloud-foundation","version":"3.9.0"},{"link":"https://developer.vmware.com/apis/711/vmware-cloud-foundation","version":"3.8.1"},{"link":"https://developer.vmware.com/apis/685/vmware-cloud-foundation","version":"3.8"}]
vcf

Get Resource Warning

Description

Get a Resource Warning by ID

Request

Request

URL

URL


get
https://sfo-vcf01.rainpole.io/v1/resource-warnings/{id}
Copy

Path Parameters

Path Parameters

string
id Required

id


Response

Response

Response Body

Response Body

200 OK

Returns ResourceWarning of type(s) application/json
{
    "resourceType": "One among: HOST, CLUSTER, DOMAIN",
    "severity": "One among: MINOR, MAJOR",
    "warningType": "One among: SKIPPED_RESOURCE, VALIDATION, CONFIGURATION, OTHER"
}
associatedTask Optional

Optional associated task where the warning occurred


map of string
context Optional

Optional additional context information in a key value form


string
id Optional

ID of the resource warning


string
message Optional

The localized warning message


string
occurredAtTimestamp Optional

Timestamp when the warning occurred


string
referenceToken Optional

A reference token correlating the warning with the relevant detailed logs. Should be sent to the service provider when reporting issues


string
remediationMessage Optional

The localized remediation warning message


string
resourceId Optional

ID of the associated resource


string
resourceName Optional

Name of the associated resource


string
resourceType Optional

Type of the associated resource


string
severity Optional

Severity of the warning


string
warningCode Optional

The warning code


string
warningType Optional

Type of the warning

Errors

Errors

404

Resource Warning not found


500

Internal Server Error

Code Samples

Code Samples

cURL Command

curl https://sfo-vcf01.rainpole.io/v1/resource-warnings/{id}


[{"label":"Latest (4.5.0)","version":"latest"},{"version":"4.4.0"},{"version":"4.3.1"},{"link":"https://developer.vmware.com/apis/1126/vmware-cloud-foundation","version":"4.3"},{"link":"https://developer.vmware.com/apis/1077/vmware-cloud-foundation","version":"4.2"},{"link":"https://developer.vmware.com/apis/1032/vmware-cloud-foundation","version":"4.1"},{"link":"https://developer.vmware.com/apis/1002/vmware-cloud-foundation","version":"4.0.1"},{"link":"https://developer.vmware.com/apis/921/vmware-cloud-foundation","version":"4.0"},{"link":"https://developer.vmware.com/apis/925/vmware-cloud-foundation","version":"3.10"},{"link":"https://developer.vmware.com/apis/891/vmware-cloud-foundation","version":"3.9.1"},{"link":"https://developer.vmware.com/apis/723/vmware-cloud-foundation","version":"3.9.0"},{"link":"https://developer.vmware.com/apis/711/vmware-cloud-foundation","version":"3.8.1"},{"link":"https://developer.vmware.com/apis/685/vmware-cloud-foundation","version":"3.8"}]
vcf
What's changed in 4.5.0?
INTRODUCED
New in this version
Resource Warnings Operations
Feedback

Was this page helpful?