[{"label":"Latest (v1.0)","version":"latest"}]
nsx-vmc-policy
Update Service Entry
DescriptionIf a service entry with the service-entry-id is not already present, create a new service entry. If it already exists, patch the service entry.
Request
URLURL
https://nsxmanager.your.domain/policy/api/v1/infra/services/{service-id}/service-entries/{service-entry-id}
Path Parameters
Path Parameters
string
service-id
Required
Service ID
string
service-entry-id
Required
Service entry ID
Request Body
Request Body
ServiceEntry
of type(s) application/json
Required
This request body class requires all of the following:
PolicyConfigResource, InlineServiceEntry1
Authentication
This operation uses the following authentication methods.
Errors
Errors
Code Samples
Code Samples
PowerCLI Client SDK Example
Invoke-PatchServiceEntry -serviceId -serviceEntryId -serviceEntry $serviceEntry
cURL Command
curl -X PATCH -H "Content-Type: application/json" -d '{}' https://nsxmanager.your.domain/policy/api/v1/infra/services/{service-id}/service-entries/{service-entry-id}
Vendor Extensions
This operation contains the following vendor extensions defined in the spec:
x-vmw-doc-operation: update-service-entry
x-vmw-nsx-module: Policy
[{"label":"Latest (v1.0)","version":"latest"}]
nsx-vmc-policy
On This Page
Infrastructure Operations
delete
delete
patch