Class VolumeMount
java.lang.Object
com.azure.resourcemanager.appservice.models.VolumeMount
The VolumeMount model.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the containerMountPath property: Target path on the container where volume is mounted on.data()Get the data property: Config Data to be mounted on the volume.readOnly()Get the readOnly property: Boolean to specify if the mount is read only on the container.voidvalidate()Validates the instance.Get the volumeSubPath property: Sub path in the volume where volume is mounted from.withContainerMountPath(String containerMountPath) Set the containerMountPath property: Target path on the container where volume is mounted on.Set the data property: Config Data to be mounted on the volume.withReadOnly(Boolean readOnly) Set the readOnly property: Boolean to specify if the mount is read only on the container.withVolumeSubPath(String volumeSubPath) Set the volumeSubPath property: Sub path in the volume where volume is mounted from.
-
Constructor Details
-
VolumeMount
public VolumeMount()Creates an instance of VolumeMount class.
-
-
Method Details
-
volumeSubPath
Get the volumeSubPath property: Sub path in the volume where volume is mounted from.- Returns:
- the volumeSubPath value.
-
withVolumeSubPath
Set the volumeSubPath property: Sub path in the volume where volume is mounted from.- Parameters:
volumeSubPath- the volumeSubPath value to set.- Returns:
- the VolumeMount object itself.
-
containerMountPath
Get the containerMountPath property: Target path on the container where volume is mounted on.- Returns:
- the containerMountPath value.
-
withContainerMountPath
Set the containerMountPath property: Target path on the container where volume is mounted on.- Parameters:
containerMountPath- the containerMountPath value to set.- Returns:
- the VolumeMount object itself.
-
data
Get the data property: Config Data to be mounted on the volume.- Returns:
- the data value.
-
withData
Set the data property: Config Data to be mounted on the volume.- Parameters:
data- the data value to set.- Returns:
- the VolumeMount object itself.
-
readOnly
Get the readOnly property: Boolean to specify if the mount is read only on the container.- Returns:
- the readOnly value.
-
withReadOnly
Set the readOnly property: Boolean to specify if the mount is read only on the container.- Parameters:
readOnly- the readOnly value to set.- Returns:
- the VolumeMount object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-