[{"label":"Latest (v1.0)","version":"latest"}]
nsx-vmc-policy
Get Policy Draft Preview
DescriptionGet 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
URLURL
https://nsxmanager.your.domain/policy/api/v1/infra/drafts/{draft-id}/complete
Path Parameters
Path Parameters
string
draft-id
Required
Authentication
This operation uses the following authentication methods.
Response
Response
Response BodyResponse Body
200 OK
Returns
Infra
of type(s) application/json
This response body class contains all of the following:
AbstractSpace, InlineInfra1
Errors
ApiError
400
Bad Request
ApiError
403
Forbidden
404
Not Found
ApiError
412
Precondition Failed
ApiError
500
Internal Server Error
ApiError
503
Service Unavailable
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
This operation contains the following vendor extensions defined in the spec:
x-vmw-doc-operation: get-policy-draft-preview
x-vmw-nsx-module: PolicyDraft
[{"label":"Latest (v1.0)","version":"latest"}]
nsx-vmc-policy
On This Page
Infrastructure Operations
post
delete
get
post
patch