kubernetes_asyncio.client.models.v1_certificate_signing_request_condition 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.v1_certificate_signing_request_condition.V1CertificateSigningRequestCondition(last_transition_time=None, last_update_time=None, message=None, reason=None, status=None, type=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 = {'last_transition_time': 'lastTransitionTime', 'last_update_time': 'lastUpdateTime', 'message': 'message', 'reason': 'reason', 'status': 'status', 'type': 'type'}
property last_transition_time

Gets the last_transition_time of this V1CertificateSigningRequestCondition. # noqa: E501

lastTransitionTime is the time the condition last transitioned from one status to another. If unset, when a new condition type is added or an existing condition’s status is changed, the server defaults this to the current time. # noqa: E501

Returns:

The last_transition_time of this V1CertificateSigningRequestCondition. # noqa: E501

Return type:

datetime

property last_update_time

Gets the last_update_time of this V1CertificateSigningRequestCondition. # noqa: E501

lastUpdateTime is the time of the last update to this condition # noqa: E501

Returns:

The last_update_time of this V1CertificateSigningRequestCondition. # noqa: E501

Return type:

datetime

property message

Gets the message of this V1CertificateSigningRequestCondition. # noqa: E501

message contains a human readable message with details about the request state # noqa: E501

Returns:

The message of this V1CertificateSigningRequestCondition. # noqa: E501

Return type:

str

openapi_types = {'last_transition_time': 'datetime', 'last_update_time': 'datetime', 'message': 'str', 'reason': 'str', 'status': 'str', 'type': 'str'}
property reason

Gets the reason of this V1CertificateSigningRequestCondition. # noqa: E501

reason indicates a brief reason for the request state # noqa: E501

Returns:

The reason of this V1CertificateSigningRequestCondition. # noqa: E501

Return type:

str

property status

Gets the status of this V1CertificateSigningRequestCondition. # noqa: E501

status of the condition, one of True, False, Unknown. Approved, Denied, and Failed conditions may not be “False” or “Unknown”. # noqa: E501

Returns:

The status of this V1CertificateSigningRequestCondition. # 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

property type

Gets the type of this V1CertificateSigningRequestCondition. # noqa: E501

type of the condition. Known conditions are “Approved”, “Denied”, and “Failed”. An “Approved” condition is added via the /approval subresource, indicating the request was approved and should be issued by the signer. A “Denied” condition is added via the /approval subresource, indicating the request was denied and should not be issued by the signer. A “Failed” condition is added via the /status subresource, indicating the signer failed to issue the certificate. Approved and Denied conditions are mutually exclusive. Approved, Denied, and Failed conditions cannot be removed once added. Only one condition of a given type is allowed. # noqa: E501

Returns:

The type of this V1CertificateSigningRequestCondition. # noqa: E501

Return type:

str