Package io.fabric8.kubernetes.api.model
Class AzureFileVolumeSource
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.AzureFileVolumeSource
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<AzureFileVolumeSourceBuilder>
,KubernetesResource
,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class AzureFileVolumeSource extends Object implements io.fabric8.kubernetes.api.builder.Editable<AzureFileVolumeSourceBuilder>, 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 AzureFileVolumeSource()
No args constructor for use in serializationAzureFileVolumeSource(Boolean readOnly, String secretName, String shareName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AzureFileVolumeSourceBuilder
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
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
setShareName(String shareName)
shareName is the azure share NameAzureFileVolumeSourceBuilder
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
-
getShareName
public String getShareName()
shareName is the azure share Name
-
setShareName
public void setShareName(String shareName)
shareName is the azure share Name
-
edit
public AzureFileVolumeSourceBuilder edit()
- Specified by:
edit
in interfaceio.fabric8.kubernetes.api.builder.Editable<AzureFileVolumeSourceBuilder>
-
toBuilder
public AzureFileVolumeSourceBuilder toBuilder()
-
-