NSX-T Data Center REST API
Get PolicyContextProfile
Get a single PolicyContextProfile by idRequest:
Method:
GET
URI Path(s):
/policy/api/v1/infra/context-profiles/{context-profile-id}
/policy/api/v1/global-infra/context-profiles/{context-profile-id}
/policy/api/v1/orgs/{org-id}/projects/{project-id}/infra/context-profiles/{context-profile-id}
/policy/api/v1/global-infra/context-profiles/{context-profile-id}
/policy/api/v1/orgs/{org-id}/projects/{project-id}/infra/context-profiles/{context-profile-id}
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
n/a
Example Request:
{ "resource_type":"PolicyContextProfile", "display_name":"testPolicyContextProfile", "description":"Test Policy Context Profile", "attributes":[ { "key":"APP_ID", "value":[ "TLS" ], "datatype":"STRING", "sub_attributes":[ { "key":"TLS_VERSION", "value": [ "TLS_V13" ], "datatype":"STRING" }, { "key":"ENCRYPTION_ALGORITHM", "value": [ "TLS_RSA_EXPORT_WITH_RC4_40_MD5" ], "datatype":"STRING" } ], }, { "key":"DOMAIN_NAME", "value": [ "*.office365.com" ], "datatype":"STRING" } ] }Successful Response:
Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
PolicyContextProfile+