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

Update Segment Security Profile

Description

Create a new segment security profile if the segment security profile with given id does not exist. Otherwise, PATCH the existing segment security profile

Request

Request

URL

URL


patch
https://nsxmanager.your.domain/policy/api/v1/infra/segment-security-profiles/{segment-security-profile-id}
Copy

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

Authentication

This operation uses the following authentication methods.

Response

Response

200 OK

OK

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-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

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


Feedback

Was this page helpful?