Create a New Firewall
Creates a new firewall. must contain at least one inbound or outbound access rule.
Authorization
AuthorizationRequiredBearer <token>OAuth Authentication
OpenScaler API uses OAuth, a standard for secure authorization. To access the API, obtain a token via the OpenScaler Platform.
Use the access_token in the Authorization header for requests:
Always keep your token secure and do not share it with anyone.
In: header
Request Body
application/jsonOptionalidRequiredstringA unique ID that can be used to identify a firewall.
project_idstringA globally unique identifier for a project (where resource is placed) - or "default" for your default project. Projects are used as workspaces to organize things and separate resources for different independent purposes.
created_atstringA time value given in ISO8601 combined date and time format that represents when the firewall was created.
"date-time"pending_changesarray<object>An array of objects each containing the fields "vm_id", "removing", and "status". It is provided to detail exactly which VMs are having their security policies updated. When empty, all changes have been successfully applied.
nameRequiredstringA human-readable name for a firewall. The name must begin with an alphanumeric character. Subsequent characters must either be alphanumeric characters, a period (.), or a dash (-).
"^[a-zA-Z0-9][a-zA-Z0-9\\.-]+$"vm_idsarray | nullAn array containing the IDs of the VMs assigned to the firewall.
inbound_rulesarray | nulloutbound_rulesarray | nullThe response contain information related to created firewall.