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 AzureFilePersistentVolumeSourceBuilder
edit()
Map<String,Object>
getAdditionalProperties()
Boolean
getReadOnly()
readOnly defaults to false (read/write).String
getSecretName()
secretName is the name of secret that contains Azure Storage Account Name and KeyString
getSecretNamespace()
secretNamespace is the namespace of the secret that contains Azure Storage Account Name and Key default is the same as the PodString
getShareName()
shareName is the azure Share Namevoid
setAdditionalProperties(Map<String,Object> additionalProperties)
void
setAdditionalProperty(String name, Object value)
void
setReadOnly(Boolean readOnly)
readOnly defaults to false (read/write).void
setSecretName(String secretName)
secretName is the name of secret that contains Azure Storage Account Name and Keyvoid
setSecretNamespace(String secretNamespace)
secretNamespace is the namespace of the secret that contains Azure Storage Account Name and Key default is the same as the Podvoid
setShareName(String shareName)
shareName is the azure Share NameAzureFilePersistentVolumeSourceBuilder
toBuilder()
-
-
-
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:
edit
in interfaceio.fabric8.kubernetes.api.builder.Editable<AzureFilePersistentVolumeSourceBuilder>
-
toBuilder
public AzureFilePersistentVolumeSourceBuilder toBuilder()
-
-