Skip to main content

REST APIs for 24.5

Provisioning (Public Stable)

This Public Stable API provisions all current changes (additions, changes, and deletions) to your security policy.

This API can also return a collection of provisioning or individual provisioning versions.

To get information about un-provisioned changes to security policy items, find provisioning dependencies, delete un-provisioned security policy items, revert the last provisioned items, and check whether a security rule exists that allows communications between two workloads. See Provisioning - Public Experimental.

Provisioning API Methods

Functionality

HTTP

URI

Provision of the current set of modified security policy items.

POST

[api_version][org_href]/sec_policy

Get a list of all provisioned security policy versions.

GET

[api_version][org_href]/sec_policy

Get a specific version of a provisioned security policy.

GET

[api_version][sec_policy_version_href]

Provision All Items

Policy item additions, modifications, and deletions must be provisioned before they affect workloads.

URI to Provision All Items

POST api_version][org_href]/sec_policy
Get an Individual Provision Version

This method gets a specific version of a provisioned policy.

Every time a security policy is provisioned, it gets a unique version ID, which takes the form of an HREF. This HREF can be obtained from a GET of all security policy provisioned versions and then used in this call.

URI to Get an Individual Version of a Provisioned Policy

GET  [api_version][sec_policy_version_href]