kubernetes_asyncio.client.models.v1alpha1_mutating_admission_policy_binding_spec module

Kubernetes

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501

The version of the OpenAPI document: v1.34.3 Generated by: https://openapi-generator.tech

class kubernetes_asyncio.client.models.v1alpha1_mutating_admission_policy_binding_spec.V1alpha1MutatingAdmissionPolicyBindingSpec(match_resources=None, param_ref=None, policy_name=None, local_vars_configuration=None)

Bases: object

NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech

Do not edit the class manually.

attribute_map = {'match_resources': 'matchResources', 'param_ref': 'paramRef', 'policy_name': 'policyName'}
property match_resources

Gets the match_resources of this V1alpha1MutatingAdmissionPolicyBindingSpec. # noqa: E501

Returns:

The match_resources of this V1alpha1MutatingAdmissionPolicyBindingSpec. # noqa: E501

Return type:

V1alpha1MatchResources

openapi_types = {'match_resources': 'V1alpha1MatchResources', 'param_ref': 'V1alpha1ParamRef', 'policy_name': 'str'}
property param_ref

Gets the param_ref of this V1alpha1MutatingAdmissionPolicyBindingSpec. # noqa: E501

Returns:

The param_ref of this V1alpha1MutatingAdmissionPolicyBindingSpec. # noqa: E501

Return type:

V1alpha1ParamRef

property policy_name

Gets the policy_name of this V1alpha1MutatingAdmissionPolicyBindingSpec. # noqa: E501

policyName references a MutatingAdmissionPolicy name which the MutatingAdmissionPolicyBinding binds to. If the referenced resource does not exist, this binding is considered invalid and will be ignored Required. # noqa: E501

Returns:

The policy_name of this V1alpha1MutatingAdmissionPolicyBindingSpec. # noqa: E501

Return type:

str

to_dict(serialize=False)

Returns the model properties as a dict

to_str()

Returns the string representation of the model