kubernetes.aio.client.models.v1_resource_field_selector 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.v1_resource_field_selector.V1ResourceFieldSelector(container_name=None, divisor=None, resource=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_name': 'containerName', 'divisor': 'divisor', 'resource': 'resource'}¶
- property container_name¶
Gets the container_name of this V1ResourceFieldSelector. # noqa: E501
Container name: required for volumes, optional for env vars # noqa: E501
- Returns:
The container_name of this V1ResourceFieldSelector. # noqa: E501
- Return type:
str
- property divisor¶
Gets the divisor of this V1ResourceFieldSelector. # noqa: E501
Specifies the output format of the exposed resources, defaults to “1” # noqa: E501
- Returns:
The divisor of this V1ResourceFieldSelector. # noqa: E501
- Return type:
str
- openapi_types = {'container_name': 'str', 'divisor': 'str', 'resource': 'str'}¶
- property resource¶
Gets the resource of this V1ResourceFieldSelector. # noqa: E501
Required: resource to select # noqa: E501
- Returns:
The resource of this V1ResourceFieldSelector. # 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