ZprPolicy

class oci.vn_monitoring.models.ZprPolicy(**kwargs)

Bases: object

Defines the zpr policy object.

Methods:

__init__(**kwargs)

Initializes a new ZprPolicy object with values from keyword arguments.

Attributes:

id

[Required] Gets the id of this ZprPolicy.

policy_statements

[Required] Gets the policy_statements of this ZprPolicy.

__init__(**kwargs)

Initializes a new ZprPolicy object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters
  • id (str) – The value to assign to the id property of this ZprPolicy.

  • policy_statements (list[str]) – The value to assign to the policy_statements property of this ZprPolicy.

property id

[Required] Gets the id of this ZprPolicy. OCID of the zpr policy

Returns

The id of this ZprPolicy.

Return type

str

property policy_statements

[Required] Gets the policy_statements of this ZprPolicy. List of policy statements allowing/denying the traffic

Returns

The policy_statements of this ZprPolicy.

Return type

list[str]