PolicyCollection¶
-
class
oci.cloud_guard.models.PolicyCollection(**kwargs)¶ Bases:
objectCollection of policy statements required by Cloud Guard.
Methods
__init__(**kwargs)Initializes a new PolicyCollection object with values from keyword arguments. Attributes
items[Required] Gets the items of this PolicyCollection. locksGets the locks of this PolicyCollection. -
__init__(**kwargs)¶ Initializes a new PolicyCollection object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - items (list[oci.cloud_guard.models.PolicySummary]) – The value to assign to the items property of this PolicyCollection.
- locks (list[oci.cloud_guard.models.ResourceLock]) – The value to assign to the locks property of this PolicyCollection.
-
items¶ [Required] Gets the items of this PolicyCollection. List of global policy statements
Returns: The items of this PolicyCollection. Return type: list[oci.cloud_guard.models.PolicySummary]
-
locks¶ Gets the locks of this PolicyCollection. Locks associated with this resource.
Returns: The locks of this PolicyCollection. Return type: list[oci.cloud_guard.models.ResourceLock]
-