kubernetes.aio.client.models.v2_container_resource_metric_source module¶
Kubernetes
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
The version of the OpenAPI document: release-1.36 Generated by: https://openapi-generator.tech
- class kubernetes.aio.client.models.v2_container_resource_metric_source.V2ContainerResourceMetricSource(container=None, name=None, target=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 = {'container': 'container', 'name': 'name', 'target': 'target'}¶
- property container¶
Gets the container of this V2ContainerResourceMetricSource. # noqa: E501
container is the name of the container in the pods of the scaling target # noqa: E501
- Returns:
The container of this V2ContainerResourceMetricSource. # noqa: E501
- Return type:
str
- property name¶
Gets the name of this V2ContainerResourceMetricSource. # noqa: E501
name is the name of the resource in question. # noqa: E501
- Returns:
The name of this V2ContainerResourceMetricSource. # noqa: E501
- Return type:
str
- openapi_types = {'container': 'str', 'name': 'str', 'target': 'V2MetricTarget'}¶
- property target¶
Gets the target of this V2ContainerResourceMetricSource. # noqa: E501
- Returns:
The target of this V2ContainerResourceMetricSource. # noqa: E501
- Return type:
- to_dict(serialize=False)¶
Returns the model properties as a dict
- to_str()¶
Returns the string representation of the model