kubernetes_asyncio.client.models.events_v1_event 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.events_v1_event.EventsV1Event(action=None, api_version=None, deprecated_count=None, deprecated_first_timestamp=None, deprecated_last_timestamp=None, deprecated_source=None, event_time=None, kind=None, metadata=None, note=None, reason=None, regarding=None, related=None, reporting_controller=None, reporting_instance=None, series=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.

property action

Gets the action of this EventsV1Event. # noqa: E501

action is what action was taken/failed regarding to the regarding object. It is machine-readable. This field cannot be empty for new Events and it can have at most 128 characters. # noqa: E501

Returns:

The action of this EventsV1Event. # noqa: E501

Return type:

str

property api_version

Gets the api_version of this EventsV1Event. # noqa: E501

APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources # noqa: E501

Returns:

The api_version of this EventsV1Event. # noqa: E501

Return type:

str

attribute_map = {'action': 'action', 'api_version': 'apiVersion', 'deprecated_count': 'deprecatedCount', 'deprecated_first_timestamp': 'deprecatedFirstTimestamp', 'deprecated_last_timestamp': 'deprecatedLastTimestamp', 'deprecated_source': 'deprecatedSource', 'event_time': 'eventTime', 'kind': 'kind', 'metadata': 'metadata', 'note': 'note', 'reason': 'reason', 'regarding': 'regarding', 'related': 'related', 'reporting_controller': 'reportingController', 'reporting_instance': 'reportingInstance', 'series': 'series', 'type': 'type'}
property deprecated_count

Gets the deprecated_count of this EventsV1Event. # noqa: E501

deprecatedCount is the deprecated field assuring backward compatibility with core.v1 Event type. # noqa: E501

Returns:

The deprecated_count of this EventsV1Event. # noqa: E501

Return type:

int

property deprecated_first_timestamp

Gets the deprecated_first_timestamp of this EventsV1Event. # noqa: E501

deprecatedFirstTimestamp is the deprecated field assuring backward compatibility with core.v1 Event type. # noqa: E501

Returns:

The deprecated_first_timestamp of this EventsV1Event. # noqa: E501

Return type:

datetime

property deprecated_last_timestamp

Gets the deprecated_last_timestamp of this EventsV1Event. # noqa: E501

deprecatedLastTimestamp is the deprecated field assuring backward compatibility with core.v1 Event type. # noqa: E501

Returns:

The deprecated_last_timestamp of this EventsV1Event. # noqa: E501

Return type:

datetime

property deprecated_source

Gets the deprecated_source of this EventsV1Event. # noqa: E501

Returns:

The deprecated_source of this EventsV1Event. # noqa: E501

Return type:

V1EventSource

property event_time

Gets the event_time of this EventsV1Event. # noqa: E501

eventTime is the time when this Event was first observed. It is required. # noqa: E501

Returns:

The event_time of this EventsV1Event. # noqa: E501

Return type:

datetime

property kind

Gets the kind of this EventsV1Event. # noqa: E501

Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds # noqa: E501

Returns:

The kind of this EventsV1Event. # noqa: E501

Return type:

str

property metadata

Gets the metadata of this EventsV1Event. # noqa: E501

Returns:

The metadata of this EventsV1Event. # noqa: E501

Return type:

V1ObjectMeta

property note

Gets the note of this EventsV1Event. # noqa: E501

note is a human-readable description of the status of this operation. Maximal length of the note is 1kB, but libraries should be prepared to handle values up to 64kB. # noqa: E501

Returns:

The note of this EventsV1Event. # noqa: E501

Return type:

str

openapi_types = {'action': 'str', 'api_version': 'str', 'deprecated_count': 'int', 'deprecated_first_timestamp': 'datetime', 'deprecated_last_timestamp': 'datetime', 'deprecated_source': 'V1EventSource', 'event_time': 'datetime', 'kind': 'str', 'metadata': 'V1ObjectMeta', 'note': 'str', 'reason': 'str', 'regarding': 'V1ObjectReference', 'related': 'V1ObjectReference', 'reporting_controller': 'str', 'reporting_instance': 'str', 'series': 'EventsV1EventSeries', 'type': 'str'}
property reason

Gets the reason of this EventsV1Event. # noqa: E501

reason is why the action was taken. It is human-readable. This field cannot be empty for new Events and it can have at most 128 characters. # noqa: E501

Returns:

The reason of this EventsV1Event. # noqa: E501

Return type:

str

property regarding

Gets the regarding of this EventsV1Event. # noqa: E501

Returns:

The regarding of this EventsV1Event. # noqa: E501

Return type:

V1ObjectReference

property related

Gets the related of this EventsV1Event. # noqa: E501

Returns:

The related of this EventsV1Event. # noqa: E501

Return type:

V1ObjectReference

property reporting_controller

Gets the reporting_controller of this EventsV1Event. # noqa: E501

reportingController is the name of the controller that emitted this Event, e.g. kubernetes.io/kubelet. This field cannot be empty for new Events. # noqa: E501

Returns:

The reporting_controller of this EventsV1Event. # noqa: E501

Return type:

str

property reporting_instance

Gets the reporting_instance of this EventsV1Event. # noqa: E501

reportingInstance is the ID of the controller instance, e.g. kubelet-xyzf. This field cannot be empty for new Events and it can have at most 128 characters. # noqa: E501

Returns:

The reporting_instance of this EventsV1Event. # noqa: E501

Return type:

str

property series

Gets the series of this EventsV1Event. # noqa: E501

Returns:

The series of this EventsV1Event. # noqa: E501

Return type:

EventsV1EventSeries

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 EventsV1Event. # noqa: E501

type is the type of this event (Normal, Warning), new types could be added in the future. It is machine-readable. This field cannot be empty for new Events. # noqa: E501

Returns:

The type of this EventsV1Event. # noqa: E501

Return type:

str