Skip to content

Latest commit

 

History

History
28 lines (21 loc) · 1.24 KB

File metadata and controls

28 lines (21 loc) · 1.24 KB

V1AggregationRule

AggregationRule describes how to locate ClusterRoles to aggregate into the ClusterRole

Properties

Name Type Description Notes
cluster_role_selectors List[V1LabelSelector] ClusterRoleSelectors holds a list of selectors which will be used to find ClusterRoles and create the rules. If any of the selectors match, then the ClusterRole's permissions will be added [optional]

Example

from kubernetes.client.models.v1_aggregation_rule import V1AggregationRule

# TODO update the JSON string below
json = "{}"
# create an instance of V1AggregationRule from a JSON string
v1_aggregation_rule_instance = V1AggregationRule.from_json(json)
# print the JSON string representation of the object
print(V1AggregationRule.to_json())

# convert the object into a dict
v1_aggregation_rule_dict = v1_aggregation_rule_instance.to_dict()
# create an instance of V1AggregationRule from a dict
v1_aggregation_rule_from_dict = V1AggregationRule.from_dict(v1_aggregation_rule_dict)

[Back to Model list] [Back to API list] [Back to README]