kubernetes.aio.client.models.v1_non_resource_policy_rule module¶
Kubernetes
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
The version of the OpenAPI document: release-1.36 Generated by: https://openapi-generator.tech
- class kubernetes.aio.client.models.v1_non_resource_policy_rule.V1NonResourcePolicyRule(non_resource_urls=None, verbs=None, local_vars_configuration=None)¶
Bases:
objectNOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech
Do not edit the class manually.
- attribute_map = {'non_resource_urls': 'nonResourceURLs', 'verbs': 'verbs'}¶
- property non_resource_urls¶
Gets the non_resource_urls of this V1NonResourcePolicyRule. # noqa: E501
nonResourceURLs is a set of url prefixes that a user should have access to and may not be empty. For example: - “/healthz” is legal - “/hea*” is illegal - “/hea” is legal but matches nothing - “/hea/” also matches nothing - “/healthz/” matches all per-component health checks. “*” matches all non-resource urls. if it is present, it must be the only entry. Required. # noqa: E501
- Returns:
The non_resource_urls of this V1NonResourcePolicyRule. # noqa: E501
- Return type:
list[str]
- openapi_types = {'non_resource_urls': 'list[str]', 'verbs': 'list[str]'}¶
- to_dict(serialize=False)¶
Returns the model properties as a dict
- to_str()¶
Returns the string representation of the model
- property verbs¶
Gets the verbs of this V1NonResourcePolicyRule. # noqa: E501
verbs is a list of matching verbs and may not be empty. “*” matches all verbs. If it is present, it must be the only entry. Required. # noqa: E501
- Returns:
The verbs of this V1NonResourcePolicyRule. # noqa: E501
- Return type:
list[str]