kubernetes_asyncio.client.models.v1alpha1_param_ref 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_param_ref.V1alpha1ParamRef(name=None, namespace=None, parameter_not_found_action=None, selector=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 = {'name': 'name', 'namespace': 'namespace', 'parameter_not_found_action': 'parameterNotFoundAction', 'selector': 'selector'}
property name

Gets the name of this V1alpha1ParamRef. # noqa: E501

name is the name of the resource being referenced. name and selector are mutually exclusive properties. If one is set, the other must be unset. # noqa: E501

Returns:

The name of this V1alpha1ParamRef. # noqa: E501

Return type:

str

property namespace

Gets the namespace of this V1alpha1ParamRef. # noqa: E501

namespace is the namespace of the referenced resource. Allows limiting the search for params to a specific namespace. Applies to both name and selector fields. A per-namespace parameter may be used by specifying a namespace-scoped paramKind in the policy and leaving this field empty. - If paramKind is cluster-scoped, this field MUST be unset. Setting this field results in a configuration error. - If paramKind is namespace-scoped, the namespace of the object being evaluated for admission will be used when this field is left unset. Take care that if this is left empty the binding must not match any cluster-scoped resources, which will result in an error. # noqa: E501

Returns:

The namespace of this V1alpha1ParamRef. # noqa: E501

Return type:

str

openapi_types = {'name': 'str', 'namespace': 'str', 'parameter_not_found_action': 'str', 'selector': 'V1LabelSelector'}
property parameter_not_found_action

Gets the parameter_not_found_action of this V1alpha1ParamRef. # noqa: E501

parameterNotFoundAction controls the behavior of the binding when the resource exists, and name or selector is valid, but there are no parameters matched by the binding. If the value is set to Allow, then no matched parameters will be treated as successful validation by the binding. If set to Deny, then no matched parameters will be subject to the failurePolicy of the policy. Allowed values are Allow or Deny Default to Deny # noqa: E501

Returns:

The parameter_not_found_action of this V1alpha1ParamRef. # noqa: E501

Return type:

str

property selector

Gets the selector of this V1alpha1ParamRef. # noqa: E501

Returns:

The selector of this V1alpha1ParamRef. # noqa: E501

Return type:

V1LabelSelector

to_dict(serialize=False)

Returns the model properties as a dict

to_str()

Returns the string representation of the model