Package io.fabric8.kubernetes.api.model
Class AzureFilePersistentVolumeSource
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.AzureFilePersistentVolumeSource
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<AzureFilePersistentVolumeSourceBuilder>,KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class AzureFilePersistentVolumeSource extends Object implements io.fabric8.kubernetes.api.builder.Editable<AzureFilePersistentVolumeSourceBuilder>, KubernetesResource
AzureFile represents an Azure File Service mount on the host and bind mount to the pod.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AzureFilePersistentVolumeSource()No args constructor for use in serializationAzureFilePersistentVolumeSource(Boolean readOnly, String secretName, String secretNamespace, String shareName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AzureFilePersistentVolumeSourceBuilderedit()Map<String,Object>getAdditionalProperties()BooleangetReadOnly()readOnly defaults to false (read/write).StringgetSecretName()secretName is the name of secret that contains Azure Storage Account Name and KeyStringgetSecretNamespace()secretNamespace is the namespace of the secret that contains Azure Storage Account Name and Key default is the same as the PodStringgetShareName()shareName is the azure Share NamevoidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetReadOnly(Boolean readOnly)readOnly defaults to false (read/write).voidsetSecretName(String secretName)secretName is the name of secret that contains Azure Storage Account Name and KeyvoidsetSecretNamespace(String secretNamespace)secretNamespace is the namespace of the secret that contains Azure Storage Account Name and Key default is the same as the PodvoidsetShareName(String shareName)shareName is the azure Share NameAzureFilePersistentVolumeSourceBuildertoBuilder()
-
-
-
Method Detail
-
getReadOnly
public Boolean getReadOnly()
readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.
-
setReadOnly
public void setReadOnly(Boolean readOnly)
readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.
-
getSecretName
public String getSecretName()
secretName is the name of secret that contains Azure Storage Account Name and Key
-
setSecretName
public void setSecretName(String secretName)
secretName is the name of secret that contains Azure Storage Account Name and Key
-
getSecretNamespace
public String getSecretNamespace()
secretNamespace is the namespace of the secret that contains Azure Storage Account Name and Key default is the same as the Pod
-
setSecretNamespace
public void setSecretNamespace(String secretNamespace)
secretNamespace is the namespace of the secret that contains Azure Storage Account Name and Key default is the same as the Pod
-
getShareName
public String getShareName()
shareName is the azure Share Name
-
setShareName
public void setShareName(String shareName)
shareName is the azure Share Name
-
edit
public AzureFilePersistentVolumeSourceBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<AzureFilePersistentVolumeSourceBuilder>
-
toBuilder
public AzureFilePersistentVolumeSourceBuilder toBuilder()
-
-