kubernetes_asyncio.client.models.v1_scale_spec 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_spec.V1ScaleSpec(replicas=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 = {'replicas': 'replicas'}
openapi_types = {'replicas': 'int'}
property replicas

Gets the replicas of this V1ScaleSpec. # noqa: E501

replicas is the desired number of instances for the scaled object. # noqa: E501

Returns:

The replicas of this V1ScaleSpec. # noqa: E501

Return type:

int

to_dict(serialize=False)

Returns the model properties as a dict

to_str()

Returns the string representation of the model