kubernetes_asyncio.client.models.v1_volume_attributes_class 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_volume_attributes_class.V1VolumeAttributesClass(api_version=None, driver_name=None, kind=None, metadata=None, parameters=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.
- property api_version
Gets the api_version of this V1VolumeAttributesClass. # noqa: E501
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources # noqa: E501
- Returns:
The api_version of this V1VolumeAttributesClass. # noqa: E501
- Return type:
str
- attribute_map = {'api_version': 'apiVersion', 'driver_name': 'driverName', 'kind': 'kind', 'metadata': 'metadata', 'parameters': 'parameters'}
- property driver_name
Gets the driver_name of this V1VolumeAttributesClass. # noqa: E501
Name of the CSI driver This field is immutable. # noqa: E501
- Returns:
The driver_name of this V1VolumeAttributesClass. # noqa: E501
- Return type:
str
- property kind
Gets the kind of this V1VolumeAttributesClass. # noqa: E501
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds # noqa: E501
- Returns:
The kind of this V1VolumeAttributesClass. # noqa: E501
- Return type:
str
- property metadata
Gets the metadata of this V1VolumeAttributesClass. # noqa: E501
- Returns:
The metadata of this V1VolumeAttributesClass. # noqa: E501
- Return type:
- openapi_types = {'api_version': 'str', 'driver_name': 'str', 'kind': 'str', 'metadata': 'V1ObjectMeta', 'parameters': 'dict(str, str)'}
- property parameters
Gets the parameters of this V1VolumeAttributesClass. # noqa: E501
parameters hold volume attributes defined by the CSI driver. These values are opaque to the Kubernetes and are passed directly to the CSI driver. The underlying storage provider supports changing these attributes on an existing volume, however the parameters field itself is immutable. To invoke a volume update, a new VolumeAttributesClass should be created with new parameters, and the PersistentVolumeClaim should be updated to reference the new VolumeAttributesClass. This field is required and must contain at least one key/value pair. The keys cannot be empty, and the maximum number of parameters is 512, with a cumulative max size of 256K. If the CSI driver rejects invalid parameters, the target PersistentVolumeClaim will be set to an “Infeasible” state in the modifyVolumeStatus field. # noqa: E501
- Returns:
The parameters of this V1VolumeAttributesClass. # noqa: E501
- Return type:
dict(str, str)
- to_dict(serialize=False)
Returns the model properties as a dict
- to_str()
Returns the string representation of the model