[{"label":"Latest (V1)","version":"latest"}]
horizon-cloud-nextgen

Create And Upload Logs

Description

Create edge deployment log via runCommand

Request

Request

URL

URL


post
https://cloud.vmwarehorizon.com/admin/v2/edge-deployments/{id}/logs
Copy

Path Parameters

Path Parameters

string
id Required

Edge deployment ID


Query Parameters

Query Parameters

string
org_id Optional

Organization ID: non-super users can only access their own organization


Authentication

Authentication

This operation uses the following authentication methods.

Response

Response

Response Body

Response Body

201 Created

Returns EdgeDeploymentLogTO of type */*

Successfully created log for edge deployment

{
	"createdAt": "string",
	"credentialId": "string",
	"edgeDeploymentId": "string",
	"errorDetail": [
		{
			"cause": "ErrorDetail Object",
			"code": "string",
			"detail": "string",
			"domain": "string",
			"message": "string",
			"parameters": {
				"key": "string"
			},
			"severity": "string",
			"timestampInUtc": "string"
		}
	],
	"location": "string",
	"logId": "string",
	"logStatus": "string",
	"orgId": "string",
	"readAccessUri": "string"
}
string
createdAt Optional

string
credentialId Optional

string
edgeDeploymentId Optional

array of ErrorDetail
errorDetail Optional

string
location Optional

string
logId Optional

string
logStatus Optional

string
orgId Optional

string
readAccessUri Optional
Errors

Errors

ErrorResponse
401

Unauthorized


ErrorResponse
403

Forbidden


ErrorResponse
404

Not Found


ErrorResponse
500

Unexpected internal server error

Code Samples

Code Samples

cURL Command

curl -X POST https://cloud.vmwarehorizon.com/admin/v2/edge-deployments/{id}/logs


Feedback

Was this page helpful?