kubernetes_asyncio.client.models.core_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.core_v1_event.CoreV1Event(action=None, api_version=None, count=None, event_time=None, first_timestamp=None, involved_object=None, kind=None, last_timestamp=None, message=None, metadata=None, reason=None, related=None, reporting_component=None, reporting_instance=None, series=None, source=None, type=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.
- property action
Gets the action of this CoreV1Event. # noqa: E501
What action was taken/failed regarding to the Regarding object. # noqa: E501
- Returns:
The action of this CoreV1Event. # noqa: E501
- Return type:
str
- property api_version
Gets the api_version of this CoreV1Event. # 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 CoreV1Event. # noqa: E501
- Return type:
str
- attribute_map = {'action': 'action', 'api_version': 'apiVersion', 'count': 'count', 'event_time': 'eventTime', 'first_timestamp': 'firstTimestamp', 'involved_object': 'involvedObject', 'kind': 'kind', 'last_timestamp': 'lastTimestamp', 'message': 'message', 'metadata': 'metadata', 'reason': 'reason', 'related': 'related', 'reporting_component': 'reportingComponent', 'reporting_instance': 'reportingInstance', 'series': 'series', 'source': 'source', 'type': 'type'}
- property count
Gets the count of this CoreV1Event. # noqa: E501
The number of times this event has occurred. # noqa: E501
- Returns:
The count of this CoreV1Event. # noqa: E501
- Return type:
int
- property event_time
Gets the event_time of this CoreV1Event. # noqa: E501
Time when this Event was first observed. # noqa: E501
- Returns:
The event_time of this CoreV1Event. # noqa: E501
- Return type:
datetime
- property first_timestamp
Gets the first_timestamp of this CoreV1Event. # noqa: E501
The time at which the event was first recorded. (Time of server receipt is in TypeMeta.) # noqa: E501
- Returns:
The first_timestamp of this CoreV1Event. # noqa: E501
- Return type:
datetime
- property involved_object
Gets the involved_object of this CoreV1Event. # noqa: E501
- Returns:
The involved_object of this CoreV1Event. # noqa: E501
- Return type:
- property kind
Gets the kind of this CoreV1Event. # 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 CoreV1Event. # noqa: E501
- Return type:
str
- property last_timestamp
Gets the last_timestamp of this CoreV1Event. # noqa: E501
The time at which the most recent occurrence of this event was recorded. # noqa: E501
- Returns:
The last_timestamp of this CoreV1Event. # noqa: E501
- Return type:
datetime
- property message
Gets the message of this CoreV1Event. # noqa: E501
A human-readable description of the status of this operation. # noqa: E501
- Returns:
The message of this CoreV1Event. # noqa: E501
- Return type:
str
- property metadata
Gets the metadata of this CoreV1Event. # noqa: E501
- Returns:
The metadata of this CoreV1Event. # noqa: E501
- Return type:
- openapi_types = {'action': 'str', 'api_version': 'str', 'count': 'int', 'event_time': 'datetime', 'first_timestamp': 'datetime', 'involved_object': 'V1ObjectReference', 'kind': 'str', 'last_timestamp': 'datetime', 'message': 'str', 'metadata': 'V1ObjectMeta', 'reason': 'str', 'related': 'V1ObjectReference', 'reporting_component': 'str', 'reporting_instance': 'str', 'series': 'CoreV1EventSeries', 'source': 'V1EventSource', 'type': 'str'}
- property reason
Gets the reason of this CoreV1Event. # noqa: E501
This should be a short, machine understandable string that gives the reason for the transition into the object’s current status. # noqa: E501
- Returns:
The reason of this CoreV1Event. # noqa: E501
- Return type:
str
Gets the related of this CoreV1Event. # noqa: E501
- Returns:
The related of this CoreV1Event. # noqa: E501
- Return type:
- property reporting_component
Gets the reporting_component of this CoreV1Event. # noqa: E501
Name of the controller that emitted this Event, e.g. kubernetes.io/kubelet. # noqa: E501
- Returns:
The reporting_component of this CoreV1Event. # noqa: E501
- Return type:
str
- property reporting_instance
Gets the reporting_instance of this CoreV1Event. # noqa: E501
ID of the controller instance, e.g. kubelet-xyzf. # noqa: E501
- Returns:
The reporting_instance of this CoreV1Event. # noqa: E501
- Return type:
str
- property series
Gets the series of this CoreV1Event. # noqa: E501
- Returns:
The series of this CoreV1Event. # noqa: E501
- Return type:
- property source
Gets the source of this CoreV1Event. # noqa: E501
- Returns:
The source of this CoreV1Event. # noqa: E501
- Return type:
- 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 CoreV1Event. # noqa: E501
Type of this event (Normal, Warning), new types could be added in the future # noqa: E501
- Returns:
The type of this CoreV1Event. # noqa: E501
- Return type:
str