[{"label":"Latest (v1.0)","version":"latest"}]
nsx-vmc-policy
Update Segment Security Profile
DescriptionCreate a new segment security profile if the segment security profile with given id does not exist. Otherwise, PATCH the existing segment security profile
Request
URLURL
https://nsxmanager.your.domain/policy/api/v1/infra/segment-security-profiles/{segment-security-profile-id}
Path Parameters
Path Parameters
string
segment-security-profile-id
Required
Segment security profile id
Request Body
Request Body
SegmentSecurityProfile
of type(s) application/json
Required
This request body class requires all of the following:
PolicyConfigResource, InlineSegmentSecurityProfile1
Authentication
This operation uses the following authentication methods.
Errors
Errors
Code Samples
Code Samples
PowerCLI Client SDK Example
Invoke-PatchSegmentSecurityProfile -segmentSecurityProfileId -segmentSecurityProfile $segmentSecurityProfile -_override
cURL Command
curl -X PATCH -H "Content-Type: application/json" -d '{}' https://nsxmanager.your.domain/policy/api/v1/infra/segment-security-profiles/{segment-security-profile-id}
Vendor Extensions
This operation contains the following vendor extensions defined in the spec:
x-vmw-doc-operation: update-segment-security-profile
x-vmw-nsx-module: PolicySegmentSecurity
[{"label":"Latest (v1.0)","version":"latest"}]
nsx-vmc-policy