NSX-T Data Center REST API
Project (type)
{ "additionalProperties": false, "description": "Project is a construct that provides network isolation for all its contents out of the box, where the compute and networking elements within are isolated from other Projects. The Project will also be used to provide hybridity across on-prem datacenters and the cloud, thus providing a means of building private clouds with elements both on-prem and in the cloud. The project can be created by users with Org Admin role and read access to Tier0s and Edge clusters. Read access to Tier0s and Edge clusters can be achieved by either associating the user with another role with the required permissions (say Auditor), or by sharing the Tier0s and Edge clusters with the Org before creating the project. The project can also be created by users with Enterprise Admin role without explicit sharing of Tier0s and Edge clusters.", "extends": { "$ref": "PolicyConfigResource }, "id": "Project", "module_id": "PolicyProject", "policy_hierarchical_children": [ "ChildVpc" ], "properties": { "_create_time": { "$ref": "EpochMsTimestamp, "can_sort": true, "description": "Timestamp of resource creation", "readonly": true }, "_create_user": { "description": "ID of the user who created this resource", "readonly": true, "type": "string" }, "_last_modified_time": { "$ref": "EpochMsTimestamp, "can_sort": true, "description": "Timestamp of last modification", "readonly": true }, "_last_modified_user": { "description": "ID of the user who last modified this resource", "readonly": true, "type": "string" }, "_links": { "description": "The server will populate this field when returing the resource. Ignored on PUT and POST.", "items": { "$ref": "ResourceLink }, "readonly": true, "title": "References related to this resource", "type": "array" }, "_protection": { "description": "Protection status is one of the following: PROTECTED - the client who retrieved the entity is not allowed to modify it. NOT_PROTECTED - the client who retrieved the entity is allowed to modify it REQUIRE_OVERRIDE - the client who retrieved the entity is a super user and can modify it, but only when providing the request header X-Allow-Overwrite=true. UNKNOWN - the _protection field could not be determined for this entity.", "readonly": true, "title": "Indicates protection status of this resource", "type": "string" }, "_revision": { "description": "The _revision property describes the current revision of the resource. To prevent clients from overwriting each other's changes, PUT operations must include the current _revision of the resource, which clients should obtain by issuing a GET operation. If the _revision provided in a PUT request is missing or stale, the operation will be rejected.", "title": "Generation of this resource config", "type": "int" }, "_schema": { "readonly": true, "title": "Schema for this resource", "type": "string" }, "_self": { "$ref": "SelfResourceLink, "readonly": true, "title": "Link to this resource" }, "_system_owned": { "description": "Indicates system owned resource", "readonly": true, "type": "boolean" }, "children": { "description": "Subtree for this type within policy tree containing nested elements. Note that this type is applicable to be used in Hierarchical API only.", "items": { "$ref": "ChildPolicyConfigResource }, "required": false, "title": "Subtree for this type within policy tree", "type": "array" }, "dedicated_resources": { "$ref": "DedicatedResources, "required": false }, "default": { "description": "true - the project is a default project. Default projects are non-editable, system create ones.", "readonly": true, "required": false, "title": "Flag to indicate that the project is a default project", "type": "boolean" }, "description": { "can_sort": true, "maxLength": 1024, "title": "Description of this resource", "type": "string" }, "display_name": { "can_sort": true, "description": "Defaults to ID if not set", "maxLength": 255, "title": "Identifier to use when displaying entity in logs or GUI", "type": "string" }, "external_ipv4_blocks": { "description": "IP block used for allocating CIDR blocks for public subnets. IP block can be consumed by all the VPCs under this project. CIDR that must be unique across Org/provider and will be auto advertised up to Org/Provider Tier0 gateway.", "items": { "type": "string" }, "maxItems": 5, "required": false, "title": "PolicyPath of public ip block", "type": "array", "x-vmw-cross-reference": [ { "leftType": [ "Project" ], "relationshipType": "PROJECT_EXTERNAL_IPV4BLOCK_RELATIONSHIP", "rightType": [ "IpAddressBlock" ] } ] }, "id": { "can_sort": true, "title": "Unique identifier of this resource", "type": "string" }, "marked_for_delete": { "default": false, "description": "Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects.", "readonly": true, "required": false, "title": "Indicates whether the intent object is marked for deletion", "type": "boolean" }, "origin_site_id": { "description": "This is a UUID generated by the system for knowing which site owns an object. This is used in NSX+.", "readonly": true, "required": false, "title": "A unique identifier assigned by the system for knowing which site owns an object", "type": "string" }, "overridden": { "default": false, "description": "Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties.", "readonly": true, "required": false, "title": "Indicates whether this object is the overridden intent object", "type": "boolean" }, "owner_id": { "description": "This is a UUID generated by the system for knowing who owns this object. This is used in NSX+.", "readonly": true, "required": false, "title": "A unique identifier assigned by the system for the ownership of an object", "type": "string" }, "parent_path": { "description": "Path of its parent", "readonly": true, "required": false, "title": "Path of its parent", "type": "string" }, "path": { "description": "Absolute path of this object", "readonly": true, "required": false, "title": "Absolute path of this object", "type": "string" }, "realization_id": { "description": "This is a UUID generated by the system for realizing the entity object. In most cases this should be same as 'unique_id' of the entity. However, in some cases this can be different because of entities have migrated their unique identifier to NSX Policy intent objects later in the timeline and did not use unique_id for realization. Realization id is helpful for users to debug data path to correlate the configuration with corresponding intent.", "readonly": true, "required": false, "title": "A unique identifier assigned by the system for realizing intent", "type": "string" }, "relative_path": { "description": "Path relative from its parent", "readonly": true, "required": false, "title": "Relative path of this object", "type": "string" }, "remote_path": { "description": "This is the path of the object on the local managers when queried on the NSX+ service, and path of the object on NSX+ service when queried from the local managers.", "readonly": true, "required": false, "title": "Path of the object on the remote end.", "type": "string" }, "resource_type": { "description": "The type of this resource.", "readonly": false, "type": "string" }, "short_id": { "description": "Defaults to id if id is less than equal to 8 characters or defaults to random generated id if not set.", "maxLength": 8, "title": "Identifier to use when displaying project context in logs", "type": "string" }, "site_infos": { "description": "Information related to sites applicable for given Project. For on-prem deployment, only 1 is allowed.", "items": { "$ref": "SiteInfo }, "maxItems": 16, "required": false, "title": "Collection of Site information", "type": "array" }, "tags": { "items": { "$ref": "Tag }, "maxItems": 30, "title": "Opaque identifiers meaningful to the API user", "type": "array" }, "tier_0s": { "description": "The tier 0 path or label of type Tier0 has to be pre-created before Project is created. The tier 0 typically provides connectivity to external world. List of sites for Project has to be subset of sites where the tier 0 spans. Label should have reference of Tier0 path.", "items": { "type": "string" }, "required": false, "title": "Array of Tier 0s path or label associated with this Project.", "type": "array", "x-vmw-cross-reference": [ { "leftType": [ "Project" ], "relationshipType": "PROJECT_TIER0_RELATIONSHIP", "rightType": [ "Tier0" ] }, { "leftType": [ "Project" ], "relationshipType": "PROJECT_TIER0_LABEL_RELATIONSHIP", "rightType": [ "Label" ] } ] }, "unique_id": { "description": "This is a UUID generated by the GM/LM to uniquely identify entities in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites.", "readonly": true, "required": false, "title": "A unique identifier assigned by the system", "type": "string" } }, "title": "Policy Project", "type": "object" }