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

Get Policy Draft Preview

Description

Get a preview of a configuration which will be present after publish of a specified draft. The response essentially is a hierarichal payload containing the configuration, which will be in active after a specified draft gets published onto current configuration.

Request

Request

URL

URL


get
https://nsxmanager.your.domain/policy/api/v1/infra/drafts/{draft-id}/complete
Copy

Path Parameters

Path Parameters

string
draft-id Required

Authentication

Authentication

This operation uses the following authentication methods.

Response

Response

Response Body

Response Body

200 OK

Returns Infra of type(s) application/json
This response body class contains all of the following: AbstractSpace, InlineInfra1
Errors

Errors

400

Bad Request


403

Forbidden


404

Not Found


412

Precondition Failed


500

Internal Server Error


503

Service Unavailable

Code Samples

Code Samples

PowerCLI Client SDK Example

Invoke-GetPreviewOfConfigurationAfterPublishOfDraft -draftId "MydraftId"

cURL Command

curl https://nsxmanager.your.domain/policy/api/v1/infra/drafts/{draft-id}/complete
Vendor Extensions

Vendor Extensions

This operation contains the following vendor extensions defined in the spec:
x-vmw-doc-operation: get-policy-draft-preview
x-vmw-nsx-module: PolicyDraft


Feedback

Was this page helpful?