kubernetes.aio.client.models.v1alpha2_pod_group_resource_claim 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_pod_group_resource_claim.V1alpha2PodGroupResourceClaim(name=None, resource_claim_name=None, resource_claim_template_name=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 = {'name': 'name', 'resource_claim_name': 'resourceClaimName', 'resource_claim_template_name': 'resourceClaimTemplateName'}
property name

Gets the name of this V1alpha2PodGroupResourceClaim. # noqa: E501

Name uniquely identifies this resource claim inside the PodGroup. This must be a DNS_LABEL. # noqa: E501

Returns:

The name of this V1alpha2PodGroupResourceClaim. # noqa: E501

Return type:

str

openapi_types = {'name': 'str', 'resource_claim_name': 'str', 'resource_claim_template_name': 'str'}
property resource_claim_name

Gets the resource_claim_name of this V1alpha2PodGroupResourceClaim. # noqa: E501

ResourceClaimName is the name of a ResourceClaim object in the same namespace as this PodGroup. The ResourceClaim will be reserved for the PodGroup instead of its individual pods. Exactly one of ResourceClaimName and ResourceClaimTemplateName must be set. # noqa: E501

Returns:

The resource_claim_name of this V1alpha2PodGroupResourceClaim. # noqa: E501

Return type:

str

property resource_claim_template_name

Gets the resource_claim_template_name of this V1alpha2PodGroupResourceClaim. # noqa: E501

ResourceClaimTemplateName is the name of a ResourceClaimTemplate object in the same namespace as this PodGroup. The template will be used to create a new ResourceClaim, which will be bound to this PodGroup. When this PodGroup is deleted, the ResourceClaim will also be deleted. The PodGroup name and resource name, along with a generated component, will be used to form a unique name for the ResourceClaim, which will be recorded in podgroup.status.resourceClaimStatuses. This field is immutable and no changes will be made to the corresponding ResourceClaim by the control plane after creating the ResourceClaim. Exactly one of ResourceClaimName and ResourceClaimTemplateName must be set. # noqa: E501

Returns:

The resource_claim_template_name of this V1alpha2PodGroupResourceClaim. # 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