{ "additionalProperties": false, "description": "Describes the configuration of a view to be displayed on the dashboard.", "extends": { "$ref": "ManagedResource }, "id": "View", "module_id": "NsxDashboard", "nsx_feature": "NsxDashboardWidgetConfig", "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" }, "description": { "can_sort": true, "maxLength": 1024, "title": "Description of this resource", "type": "string" }, "display_name": { "description": "Title of the widget.", "maxLength": 255, "required": true, "title": "Widget Title", "type": "string" }, "exclude_roles": { "description": "Comma separated list of roles to which the shared view is not visible. Allows user to prevent the visibility of a shared view to the specified roles. User defined roles can also be specified in the list. The roles can be obtained via GET /api/v1/aaa/roles. Please visit API documentation for details about roles. If include_roles is specified then exclude_roles cannot be specified.", "maxLength": 1024, "title": "Roles to which the shared view is not visible", "type": "string" }, "id": { "can_sort": true, "title": "Unique identifier of this resource", "type": "string" }, "include_roles": { "description": "Comma separated list of roles to which the shared view is visible. Allows user to specify the visibility of a shared view to the specified roles. User defined roles can also be specified in the list. The roles can be obtained via GET /api/v1/aaa/roles. Please visit API documentation for details about roles.", "maxLength": 1024, "title": "Roles to which the shared view is visible", "type": "string" }, "resource_type": { "description": "The type of this resource.", "readonly": false, "type": "string" }, "shared": { "default": false, "description": "Defaults to false. Set to true to publish the view to other users. The widgets of a shared view are visible to other users.", "title": "Share the view with other users", "type": "boolean" }, "tags": { "items": { "$ref": "Tag }, "maxItems": 30, "title": "Opaque identifiers meaningful to the API user", "type": "array" }, "weight": { "default": 10000, "description": "Determines placement of view relative to other views. The lower the weight, the higher it is in the placement order.", "title": "Weightage or placement of the view", "type": "int" }, "widgets": { "description": "Array of widgets that are part of the view.", "items": { "$ref": "WidgetItem }, "minItems": 0, "required": true, "title": "Widgets", "type": "array" } }, "title": "Dashboard View", "type": "object" }