[{"label":"Latest (v1.0)","version":"latest"}]
nsx-vmc-policy

InlinePolicyDraft1

Properties

boolean
is_auto_draft Optional

Flag to indicate whether draft is auto created. True indicates that the draft is an auto draft. False indicates that the draft is a manual draft.


string
lock_comments Optional

Comments for a policy draft lock/unlock.


string
lock_modified_by Optional

ID of the user who last modified the lock for a policy draft.


integer as int64
lock_modified_time Optional

Policy draft locked/unlocked time in epoch milliseconds.


boolean
locked Optional

Indicates whether a draft should be locked. If the draft is locked by an user, then no other user would be able to modify or publish this draft. Once the user releases the lock, other users can then modify or publish this draft.


string
ref_draft_path Optional

When specified, a manual draft will be created w.r.t. the specified draft. If not specified, manual draft will be created w.r.t. the current published configuration. For an auto draft, this will always be null.


system_area Optional

Configuration changes against the current configuration, tracked by the system. The value is stored in a hierarchical body format.


user_area Optional

These are user defined configuration changes, which are applicable only in case of manual drafts. During the publish of a draft, system_area changes gets applied first, and then these changes. The value must be in a hierarchical body format.

JSON Example

{
	"is_auto_draft": false,
	"lock_comments": "string",
	"lock_modified_by": "string",
	"lock_modified_time": 0,
	"locked": false,
	"ref_draft_path": "string",
	"system_area": {
		"_create_time": 0,
		"_create_user": "string",
		"_last_modified_time": 0,
		"_last_modified_user": "string",
		"_links": [
			{
				"action": "string",
				"href": "string",
				"rel": "string"
			}
		],
		"_protection": "string",
		"_revision": 0,
		"_schema": "string",
		"_self": {
			"action": "string",
			"href": "string",
			"rel": "string"
		},
		"_system_owned": false,
		"children": [
			{
				"_create_time": 0,
				"_create_user": "string",
				"_last_modified_time": 0,
				"_last_modified_user": "string",
				"_links": [
					{
						"action": "string",
						"href": "string",
						"rel": "string"
					}
				],
				"_protection": "string",
				"_revision": 0,
				"_schema": "string",
				"_self": {
					"action": "string",
					"href": "string",
					"rel": "string"
				},
				"_system_owned": false,
				"description": "string",
				"display_name": "string",
				"id": "string",
				"marked_for_delete": false,
				"resource_type": "string",
				"tags": [
					{
						"scope": "string",
						"tag": "string"
					}
				]
			}
		],
		"connectivity_strategy": "WHITELIST",
		"description": "string",
		"display_name": "string",
		"domains": [
			{
				"_create_time": 0,
				"_create_user": "string",
				"_last_modified_time": 0,
				"_last_modified_user": "string",
				"_links": [
					{
						"action": "string",
						"href": "string",
						"rel": "string"
					}
				],
				"_protection": "string",
				"_revision": 0,
				"_schema": "string",
				"_self": {
					"action": "string",
					"href": "string",
					"rel": "string"
				},
				"_system_owned": false,
				"children": [
					{
						"_create_time": 0,
						"_create_user": "string",
						"_last_modified_time": 0,
						"_last_modified_user": "string",
						"_links": [
							{
								"action": "string",
								"href": "string",
								"rel": "string"
							}
						],
						"_protection": "string",
						"_revision": 0,
						"_schema": "string",
						"_self": {
							"action": "string",
							"href": "string",
							"rel": "string"
						},
						"_system_owned": false,
						"description": "string",
						"display_name": "string",
						"id": "string",
						"marked_for_delete": false,
						"resource_type": "string",
						"tags": [
							{
								"scope": "string",
								"tag": "string"
							}
						]
					}
				],
				"description": "string",
				"display_name": "string",
				"id": "string",
				"marked_for_delete": false,
				"parent_path": "string",
				"path": "string",
				"relative_path": "string",
				"resource_type": "string",
				"tags": [
					{
						"scope": "string",
						"tag": "string"
					}
				]
			}
		],
		"id": "string",
		"marked_for_delete": false,
		"parent_path": "string",
		"path": "string",
		"relative_path": "string",
		"resource_type": "string",
		"tags": [
			{
				"scope": "string",
				"tag": "string"
			}
		]
	},
	"user_area": {
		"_create_time": 0,
		"_create_user": "string",
		"_last_modified_time": 0,
		"_last_modified_user": "string",
		"_links": [
			{
				"action": "string",
				"href": "string",
				"rel": "string"
			}
		],
		"_protection": "string",
		"_revision": 0,
		"_schema": "string",
		"_self": {
			"action": "string",
			"href": "string",
			"rel": "string"
		},
		"_system_owned": false,
		"children": [
			{
				"_create_time": 0,
				"_create_user": "string",
				"_last_modified_time": 0,
				"_last_modified_user": "string",
				"_links": [
					{
						"action": "string",
						"href": "string",
						"rel": "string"
					}
				],
				"_protection": "string",
				"_revision": 0,
				"_schema": "string",
				"_self": {
					"action": "string",
					"href": "string",
					"rel": "string"
				},
				"_system_owned": false,
				"description": "string",
				"display_name": "string",
				"id": "string",
				"marked_for_delete": false,
				"resource_type": "string",
				"tags": [
					{
						"scope": "string",
						"tag": "string"
					}
				]
			}
		],
		"connectivity_strategy": "WHITELIST",
		"description": "string",
		"display_name": "string",
		"domains": [
			{
				"_create_time": 0,
				"_create_user": "string",
				"_last_modified_time": 0,
				"_last_modified_user": "string",
				"_links": [
					{
						"action": "string",
						"href": "string",
						"rel": "string"
					}
				],
				"_protection": "string",
				"_revision": 0,
				"_schema": "string",
				"_self": {
					"action": "string",
					"href": "string",
					"rel": "string"
				},
				"_system_owned": false,
				"children": [
					{
						"_create_time": 0,
						"_create_user": "string",
						"_last_modified_time": 0,
						"_last_modified_user": "string",
						"_links": [
							{
								"action": "string",
								"href": "string",
								"rel": "string"
							}
						],
						"_protection": "string",
						"_revision": 0,
						"_schema": "string",
						"_self": {
							"action": "string",
							"href": "string",
							"rel": "string"
						},
						"_system_owned": false,
						"description": "string",
						"display_name": "string",
						"id": "string",
						"marked_for_delete": false,
						"resource_type": "string",
						"tags": [
							{
								"scope": "string",
								"tag": "string"
							}
						]
					}
				],
				"description": "string",
				"display_name": "string",
				"id": "string",
				"marked_for_delete": false,
				"parent_path": "string",
				"path": "string",
				"relative_path": "string",
				"resource_type": "string",
				"tags": [
					{
						"scope": "string",
						"tag": "string"
					}
				]
			}
		],
		"id": "string",
		"marked_for_delete": false,
		"parent_path": "string",
		"path": "string",
		"relative_path": "string",
		"resource_type": "string",
		"tags": [
			{
				"scope": "string",
				"tag": "string"
			}
		]
	}
}

Vendor Extensions

This class contains the following vendor extensions defined in the spec:
x-vmw-nsx-module: PolicyDraft
[{"label":"Latest (v1.0)","version":"latest"}]
nsx-vmc-policy
Used By

PolicyDraft

Feedback

Was this page helpful?