Update Project Resource Metadata

Update Project Resource Metadata

Update project resource metadata by a given project id

Request
URI
PATCH
https://vra-interop-222-139.lvn.broadcom.net/iaas/api/projects/{id}/resource-metadata
COPY
Path Parameters
string
id
Required

The ID of the project.

Query Parameters
string
apiVersion
Optional

The version of the API in yyyy-MM-dd format (UTC). For versioning information refer to /iaas/api/about


Request Body

Project specification

ProjectResourceMetadataSpecification of type(s) application/json
Required
{
    "tags": [
        {
            "key": "env",
            "value": "dev"
        }
    ]
}
array of object
tags
Optional

A list of keys and optional values to be applied to compute resources provisioned in a project

Authentication
This operation uses the following authentication methods.
Responses
200

Successful operation

Returns Project of type(s) application/json
"Project Object"
string
id
Required

The id of this resource instance

string
createdAt
Optional

Date when the entity was created. The date is in ISO 8601 and UTC.

string
updatedAt
Optional

Date when the entity was last updated. The date is ISO 8601 and UTC.

string
owner
Optional

Email of the user or display name of the group that owns the entity.

string
ownerType
Optional

Type of a owner(user/ad_group) that owns the entity.

string
orgId
Optional

The id of the organization this entity belongs to.

object
_links
Required

HATEOAS of the entity

string
name
Optional

A human-friendly name used as an identifier in APIs that support this option.

string
description
Optional

A human-friendly description.

array of object
administrators
Optional

List of administrator users associated with the project. Only administrators can manage project's configuration.

array of object
members
Optional

List of member users associated with the project.

array of object
viewers
Optional

List of viewer users associated with the project.

array of object
supervisors
Optional

List of supervisor users associated with the project.

array of object
zones
Optional

List of Cloud Zones assigned to this project. You can limit deployment to a single region or allow multi-region placement by adding more than one cloud zone to a project. A cloud zone lists available resources. Use tags on resources to control workload placement.

object
constraints
Optional

List of storage, network and extensibility constraints to be applied when provisioning through this project.

integer As int64 As int64
operationTimeout
Optional

The timeout that should be used for Blueprint operations and Provisioning tasks. The timeout is in seconds

string
machineNamingTemplate
Optional

The naming template to be used for machines provisioned in this project

boolean
sharedResources
Optional

Specifies whether the resources in this projects are shared or not.

string
placementPolicy
Optional

Placement policy for the project. Determines how a zone will be selected for provisioning. DEFAULT or SPREAD.

object
customProperties
Optional

The project custom properties which are added to all requests in this project


400

Invalid Request - bad data

Returns ServiceErrorResponse of type(s) application/json
"ServiceErrorResponse Object"
string
message
Optional

message

string
messageId
Optional

messageId

array of string
stackTrace
Optional

stackTrace

integer As int32 As int32
statusCode
Optional

statusCode

integer As int32 As int32
errorCode
Optional

errorCode

array of string
details
Optional

details

string
serverErrorId
Optional

serverErrorId

string
documentKind
Optional

documentKind

integer As int32 As int32
internalErrorCode
Optional

internalErrorCode


403

Forbidden

Returns ServiceErrorResponse of type(s) application/json
"ServiceErrorResponse Object"
string
message
Optional

message

string
messageId
Optional

messageId

array of string
stackTrace
Optional

stackTrace

integer As int32 As int32
statusCode
Optional

statusCode

integer As int32 As int32
errorCode
Optional

errorCode

array of string
details
Optional

details

string
serverErrorId
Optional

serverErrorId

string
documentKind
Optional

documentKind

integer As int32 As int32
internalErrorCode
Optional

internalErrorCode


Code Samples
COPY
                    curl -X PATCH -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{}'