kubernetes.aio.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: release-1.36 Generated by: https://openapi-generator.tech
- class kubernetes.aio.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:
objectNOTE: 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:
- property azure_disk¶
Gets the azure_disk of this V1Volume. # noqa: E501
- Returns:
The azure_disk of this V1Volume. # noqa: E501
- Return type:
- property azure_file¶
Gets the azure_file of this V1Volume. # noqa: E501
- Returns:
The azure_file of this V1Volume. # noqa: E501
- Return type:
- property cephfs¶
Gets the cephfs of this V1Volume. # noqa: E501
- Returns:
The cephfs of this V1Volume. # noqa: E501
- Return type:
- property cinder¶
Gets the cinder of this V1Volume. # noqa: E501
- Returns:
The cinder of this V1Volume. # noqa: E501
- Return type:
- property config_map¶
Gets the config_map of this V1Volume. # noqa: E501
- Returns:
The config_map of this V1Volume. # noqa: E501
- Return type:
- property csi¶
Gets the csi of this V1Volume. # noqa: E501
- Returns:
The csi of this V1Volume. # noqa: E501
- Return type:
- property downward_api¶
Gets the downward_api of this V1Volume. # noqa: E501
- Returns:
The downward_api of this V1Volume. # noqa: E501
- Return type:
- property empty_dir¶
Gets the empty_dir of this V1Volume. # noqa: E501
- Returns:
The empty_dir of this V1Volume. # noqa: E501
- Return type:
- property ephemeral¶
Gets the ephemeral of this V1Volume. # noqa: E501
- Returns:
The ephemeral of this V1Volume. # noqa: E501
- Return type:
- property fc¶
Gets the fc of this V1Volume. # noqa: E501
- Returns:
The fc of this V1Volume. # noqa: E501
- Return type:
- property flex_volume¶
Gets the flex_volume of this V1Volume. # noqa: E501
- Returns:
The flex_volume of this V1Volume. # noqa: E501
- Return type:
- property flocker¶
Gets the flocker of this V1Volume. # noqa: E501
- Returns:
The flocker of this V1Volume. # noqa: E501
- Return type:
- 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:
- property git_repo¶
Gets the git_repo of this V1Volume. # noqa: E501
- Returns:
The git_repo of this V1Volume. # noqa: E501
- Return type:
- property glusterfs¶
Gets the glusterfs of this V1Volume. # noqa: E501
- Returns:
The glusterfs of this V1Volume. # noqa: E501
- Return type:
- property host_path¶
Gets the host_path of this V1Volume. # noqa: E501
- Returns:
The host_path of this V1Volume. # noqa: E501
- Return type:
- property image¶
Gets the image of this V1Volume. # noqa: E501
- Returns:
The image of this V1Volume. # noqa: E501
- Return type:
- property iscsi¶
Gets the iscsi of this V1Volume. # noqa: E501
- Returns:
The iscsi of this V1Volume. # noqa: E501
- Return type:
- 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:
- 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:
- 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:
- property portworx_volume¶
Gets the portworx_volume of this V1Volume. # noqa: E501
- Returns:
The portworx_volume of this V1Volume. # noqa: E501
- Return type:
- property projected¶
Gets the projected of this V1Volume. # noqa: E501
- Returns:
The projected of this V1Volume. # noqa: E501
- Return type:
- property quobyte¶
Gets the quobyte of this V1Volume. # noqa: E501
- Returns:
The quobyte of this V1Volume. # noqa: E501
- Return type:
- property rbd¶
Gets the rbd of this V1Volume. # noqa: E501
- Returns:
The rbd of this V1Volume. # noqa: E501
- Return type:
- property scale_io¶
Gets the scale_io of this V1Volume. # noqa: E501
- Returns:
The scale_io of this V1Volume. # noqa: E501
- Return type:
- property secret¶
Gets the secret of this V1Volume. # noqa: E501
- Returns:
The secret of this V1Volume. # noqa: E501
- Return type:
- property storageos¶
Gets the storageos of this V1Volume. # noqa: E501
- Returns:
The storageos of this V1Volume. # noqa: E501
- Return type:
- 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: