Create an external resource

Contributors

POST /tenancy/resource

Creates an external resource as a Cloud Manager resource. resourceType must be passed to the request.
Token usage: Cloud Manager user token.

Parameters

Name Type In Required Description

authorization

string

header

True

Authorization JWT access token

X-Service-Request-Id

string

header

False

Request identifier

Request Body

Name Type Required Description

workspacePublicId

string

False

agentId

string

True

resourceIdentifier

string

False

resourceType

string

False

resourceClass

string

False

cloudId

string

False

name

string

False

Response

Status: 200, Default response
Name Type Required Description

accountPublicId

string

False

resourcePublicId

string

False

resourceIdentifier

string

False

resourceType

string

False

agentId

string

False

resourceClass

string

False

name

string

False

cloudId

string

False

agentIds

array[string]

False

Definitions

body
Name Type Required Description

workspacePublicId

string

False

agentId

string

True

resourceIdentifier

string

False

resourceType

string

False

resourceClass

string

False

cloudId

string

False

name

string

False

Close
Try it out

Sign in with your NetApp Cloud Central credentials.

Try this API

Parameters

Headers

Body

Code

Response