kubernetes_asyncio.client.models.v1_scale_status 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_scale_status.V1ScaleStatus(replicas=None, selector=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.
- attribute_map = {'replicas': 'replicas', 'selector': 'selector'}
- openapi_types = {'replicas': 'int', 'selector': 'str'}
- property replicas
Gets the replicas of this V1ScaleStatus. # noqa: E501
replicas is the actual number of observed instances of the scaled object. # noqa: E501
- Returns:
The replicas of this V1ScaleStatus. # noqa: E501
- Return type:
int
- property selector
Gets the selector of this V1ScaleStatus. # noqa: E501
selector is the label query over pods that should match the replicas count. This is same as the label selector but in the string format to avoid introspection by clients. The string will be in the same format as the query-param syntax. More info about label selectors: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/ # noqa: E501
- Returns:
The selector of this V1ScaleStatus. # 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