kubernetes_asyncio.client.models.v1_volume 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.V1Volume(aws_elastic_block_store=None, azure_disk=None, azure_file=None, cephfs=None, cinder=None, config_map=None, csi=None, downward_api=None, empty_dir=None, ephemeral=None, fc=None, flex_volume=None, flocker=None, gce_persistent_disk=None, git_repo=None, glusterfs=None, host_path=None, image=None, iscsi=None, name=None, nfs=None, persistent_volume_claim=None, photon_persistent_disk=None, portworx_volume=None, projected=None, quobyte=None, rbd=None, scale_io=None, secret=None, storageos=None, vsphere_volume=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 = {'aws_elastic_block_store': 'awsElasticBlockStore', 'azure_disk': 'azureDisk', 'azure_file': 'azureFile', 'cephfs': 'cephfs', 'cinder': 'cinder', 'config_map': 'configMap', 'csi': 'csi', 'downward_api': 'downwardAPI', 'empty_dir': 'emptyDir', 'ephemeral': 'ephemeral', 'fc': 'fc', 'flex_volume': 'flexVolume', 'flocker': 'flocker', 'gce_persistent_disk': 'gcePersistentDisk', 'git_repo': 'gitRepo', 'glusterfs': 'glusterfs', 'host_path': 'hostPath', 'image': 'image', 'iscsi': 'iscsi', 'name': 'name', 'nfs': 'nfs', 'persistent_volume_claim': 'persistentVolumeClaim', 'photon_persistent_disk': 'photonPersistentDisk', 'portworx_volume': 'portworxVolume', 'projected': 'projected', 'quobyte': 'quobyte', 'rbd': 'rbd', 'scale_io': 'scaleIO', 'secret': 'secret', 'storageos': 'storageos', 'vsphere_volume': 'vsphereVolume'}
property aws_elastic_block_store

Gets the aws_elastic_block_store of this V1Volume. # noqa: E501

Returns:

The aws_elastic_block_store of this V1Volume. # noqa: E501

Return type:

V1AWSElasticBlockStoreVolumeSource

property azure_disk

Gets the azure_disk of this V1Volume. # noqa: E501

Returns:

The azure_disk of this V1Volume. # noqa: E501

Return type:

V1AzureDiskVolumeSource

property azure_file

Gets the azure_file of this V1Volume. # noqa: E501

Returns:

The azure_file of this V1Volume. # noqa: E501

Return type:

V1AzureFileVolumeSource

property cephfs

Gets the cephfs of this V1Volume. # noqa: E501

Returns:

The cephfs of this V1Volume. # noqa: E501

Return type:

V1CephFSVolumeSource

property cinder

Gets the cinder of this V1Volume. # noqa: E501

Returns:

The cinder of this V1Volume. # noqa: E501

Return type:

V1CinderVolumeSource

property config_map

Gets the config_map of this V1Volume. # noqa: E501

Returns:

The config_map of this V1Volume. # noqa: E501

Return type:

V1ConfigMapVolumeSource

property csi

Gets the csi of this V1Volume. # noqa: E501

Returns:

The csi of this V1Volume. # noqa: E501

Return type:

V1CSIVolumeSource

property downward_api

Gets the downward_api of this V1Volume. # noqa: E501

Returns:

The downward_api of this V1Volume. # noqa: E501

Return type:

V1DownwardAPIVolumeSource

property empty_dir

Gets the empty_dir of this V1Volume. # noqa: E501

Returns:

The empty_dir of this V1Volume. # noqa: E501

Return type:

V1EmptyDirVolumeSource

property ephemeral

Gets the ephemeral of this V1Volume. # noqa: E501

Returns:

The ephemeral of this V1Volume. # noqa: E501

Return type:

V1EphemeralVolumeSource

property fc

Gets the fc of this V1Volume. # noqa: E501

Returns:

The fc of this V1Volume. # noqa: E501

Return type:

V1FCVolumeSource

property flex_volume

Gets the flex_volume of this V1Volume. # noqa: E501

Returns:

The flex_volume of this V1Volume. # noqa: E501

Return type:

V1FlexVolumeSource

property flocker

Gets the flocker of this V1Volume. # noqa: E501

Returns:

The flocker of this V1Volume. # noqa: E501

Return type:

V1FlockerVolumeSource

property gce_persistent_disk

Gets the gce_persistent_disk of this V1Volume. # noqa: E501

Returns:

The gce_persistent_disk of this V1Volume. # noqa: E501

Return type:

V1GCEPersistentDiskVolumeSource

property git_repo

Gets the git_repo of this V1Volume. # noqa: E501

Returns:

The git_repo of this V1Volume. # noqa: E501

Return type:

V1GitRepoVolumeSource

property glusterfs

Gets the glusterfs of this V1Volume. # noqa: E501

Returns:

The glusterfs of this V1Volume. # noqa: E501

Return type:

V1GlusterfsVolumeSource

property host_path

Gets the host_path of this V1Volume. # noqa: E501

Returns:

The host_path of this V1Volume. # noqa: E501

Return type:

V1HostPathVolumeSource

property image

Gets the image of this V1Volume. # noqa: E501

Returns:

The image of this V1Volume. # noqa: E501

Return type:

V1ImageVolumeSource

property iscsi

Gets the iscsi of this V1Volume. # noqa: E501

Returns:

The iscsi of this V1Volume. # noqa: E501

Return type:

V1ISCSIVolumeSource

property name

Gets the name of this V1Volume. # noqa: E501

name of the volume. Must be a DNS_LABEL and unique within the pod. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names # noqa: E501

Returns:

The name of this V1Volume. # noqa: E501

Return type:

str

property nfs

Gets the nfs of this V1Volume. # noqa: E501

Returns:

The nfs of this V1Volume. # noqa: E501

Return type:

V1NFSVolumeSource

openapi_types = {'aws_elastic_block_store': 'V1AWSElasticBlockStoreVolumeSource', 'azure_disk': 'V1AzureDiskVolumeSource', 'azure_file': 'V1AzureFileVolumeSource', 'cephfs': 'V1CephFSVolumeSource', 'cinder': 'V1CinderVolumeSource', 'config_map': 'V1ConfigMapVolumeSource', 'csi': 'V1CSIVolumeSource', 'downward_api': 'V1DownwardAPIVolumeSource', 'empty_dir': 'V1EmptyDirVolumeSource', 'ephemeral': 'V1EphemeralVolumeSource', 'fc': 'V1FCVolumeSource', 'flex_volume': 'V1FlexVolumeSource', 'flocker': 'V1FlockerVolumeSource', 'gce_persistent_disk': 'V1GCEPersistentDiskVolumeSource', 'git_repo': 'V1GitRepoVolumeSource', 'glusterfs': 'V1GlusterfsVolumeSource', 'host_path': 'V1HostPathVolumeSource', 'image': 'V1ImageVolumeSource', 'iscsi': 'V1ISCSIVolumeSource', 'name': 'str', 'nfs': 'V1NFSVolumeSource', 'persistent_volume_claim': 'V1PersistentVolumeClaimVolumeSource', 'photon_persistent_disk': 'V1PhotonPersistentDiskVolumeSource', 'portworx_volume': 'V1PortworxVolumeSource', 'projected': 'V1ProjectedVolumeSource', 'quobyte': 'V1QuobyteVolumeSource', 'rbd': 'V1RBDVolumeSource', 'scale_io': 'V1ScaleIOVolumeSource', 'secret': 'V1SecretVolumeSource', 'storageos': 'V1StorageOSVolumeSource', 'vsphere_volume': 'V1VsphereVirtualDiskVolumeSource'}
property persistent_volume_claim

Gets the persistent_volume_claim of this V1Volume. # noqa: E501

Returns:

The persistent_volume_claim of this V1Volume. # noqa: E501

Return type:

V1PersistentVolumeClaimVolumeSource

property photon_persistent_disk

Gets the photon_persistent_disk of this V1Volume. # noqa: E501

Returns:

The photon_persistent_disk of this V1Volume. # noqa: E501

Return type:

V1PhotonPersistentDiskVolumeSource

property portworx_volume

Gets the portworx_volume of this V1Volume. # noqa: E501

Returns:

The portworx_volume of this V1Volume. # noqa: E501

Return type:

V1PortworxVolumeSource

property projected

Gets the projected of this V1Volume. # noqa: E501

Returns:

The projected of this V1Volume. # noqa: E501

Return type:

V1ProjectedVolumeSource

property quobyte

Gets the quobyte of this V1Volume. # noqa: E501

Returns:

The quobyte of this V1Volume. # noqa: E501

Return type:

V1QuobyteVolumeSource

property rbd

Gets the rbd of this V1Volume. # noqa: E501

Returns:

The rbd of this V1Volume. # noqa: E501

Return type:

V1RBDVolumeSource

property scale_io

Gets the scale_io of this V1Volume. # noqa: E501

Returns:

The scale_io of this V1Volume. # noqa: E501

Return type:

V1ScaleIOVolumeSource

property secret

Gets the secret of this V1Volume. # noqa: E501

Returns:

The secret of this V1Volume. # noqa: E501

Return type:

V1SecretVolumeSource

property storageos

Gets the storageos of this V1Volume. # noqa: E501

Returns:

The storageos of this V1Volume. # noqa: E501

Return type:

V1StorageOSVolumeSource

to_dict(serialize=False)

Returns the model properties as a dict

to_str()

Returns the string representation of the model

property vsphere_volume

Gets the vsphere_volume of this V1Volume. # noqa: E501

Returns:

The vsphere_volume of this V1Volume. # noqa: E501

Return type:

V1VsphereVirtualDiskVolumeSource