NSX-T Data Center REST API
Associated URIs:
| API Description | API Path |
|---|---|
List of SecurityProfileAttachmentsRetrieves a paginated collection of all Security Profile Attachments within a specified project, providing a comprehensive view of VPC-to-security-profile associations. Each attachment in the response includes details about the target VPC, the assigned security profile, and relevant metadata details. This API enables project administrators to understand current security posture assignments, and manage security configuration consistency within the project. The response supports standard pagination parameters and sorting capabilities for efficient data retrieval and analysis of security profile usage patterns. |
GET /policy/api/v1/orgs/{org-id}/projects/{project-id}/security-profile-attachments
|
Get SecurityProfileAttachmentRetrieves a specific Security Profile Attachment by its unique identifier, providing details about the association between a VPC and its assigned security profile. The response includes information about the target VPC, the attached security profile reference, and attachment metadata details. This API enables administrators to verify current security profile assignments and understand the security configuration applied to specific VPCs within a project. The attachment identifier typically corresponds to the VPC identifier for which the security profile is attached. |
GET /policy/api/v1/orgs/{org-id}/projects/{project-id}/security-profile-attachments/{security-profile-attachment-id}
|
Update Security ProfileCreates a new Security Profile Attachment or performs partial updates to an existing attachment using HTTP PATCH semantics. This operation enables project administrators to associate a VPC with a specific security profile or modify an existing attachment by changing the assigned security profile. The API supports attaching different security profiles to VPCs to customize their security posture based on workload requirements and compliance needs. When updating an existing attachment, only the provided fields in the request body will be modified while preserving other attachment properties. The operation ensures that each VPC maintains exactly one active security profile attachment at any time, automatically managing the association lifecycle. |
PATCH /policy/api/v1/orgs/{org-id}/projects/{project-id}/security-profile-attachments/{security-profile-attachment-id}
|
Update SecurityProfileAttachmentPerforms complete replacement of an existing Security Profile Attachment using HTTP PUT semantics. This operation requires a full attachment representation in the request body and will replace all modifiable properties of the target attachment. The API enables comprehensive updates to VPC-security-profile associations, allowing administrators to change the assigned security profile and update attachment metadata. All required fields must be provided in the request as omitted fields may be reset to default values. The response includes the updated attachment with current configuration, ensuring that the VPC's security posture is properly configured according to the new security profile assignment. |
PUT /policy/api/v1/orgs/{org-id}/projects/{project-id}/security-profile-attachments/{security-profile-attachment-id}
|