kubernetes.aio.client.models.v1alpha2_workload_spec 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.v1alpha2_workload_spec.V1alpha2WorkloadSpec(controller_ref=None, pod_group_templates=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 = {'controller_ref': 'controllerRef', 'pod_group_templates': 'podGroupTemplates'}¶
- property controller_ref¶
Gets the controller_ref of this V1alpha2WorkloadSpec. # noqa: E501
- Returns:
The controller_ref of this V1alpha2WorkloadSpec. # noqa: E501
- Return type:
- openapi_types = {'controller_ref': 'V1alpha2TypedLocalObjectReference', 'pod_group_templates': 'list[V1alpha2PodGroupTemplate]'}¶
- property pod_group_templates¶
Gets the pod_group_templates of this V1alpha2WorkloadSpec. # noqa: E501
PodGroupTemplates is the list of templates that make up the Workload. The maximum number of templates is 8. This field is immutable. # noqa: E501
- Returns:
The pod_group_templates of this V1alpha2WorkloadSpec. # noqa: E501
- Return type:
list[V1alpha2PodGroupTemplate]
- to_dict(serialize=False)¶
Returns the model properties as a dict
- to_str()¶
Returns the string representation of the model