Volume Class
- java.
lang. Object - com.
microsoft. azure. management. containerinstance. Volume
- com.
public class Volume
The properties of the volume.
Constructor Summary
Constructor | Description | |
---|---|---|
Volume() |
Method Summary
Modifier and Type | Method and Description |
---|---|
Azure |
azureFile()
Get the Azure File volume. |
java.lang.Object |
emptyDir()
Get the empty directory volume. |
Git |
gitRepo()
Get the git repo volume. |
java.lang.String |
name()
Get the name of the volume. |
java.util.Map<java.lang.String,java.lang.String> |
secret()
Get the secret volume. |
Volume |
withAzureFile(AzureFileVolume azureFile)
Set the Azure File volume. |
Volume |
withEmptyDir(Object emptyDir)
Set the empty directory volume. |
Volume |
withGitRepo(GitRepoVolume gitRepo)
Set the git repo volume. |
Volume |
withName(String name)
Set the name of the volume. |
Volume |
withSecret(Map<String,String> secret)
Set the secret volume. |
Methods inherited from java.lang.Object
Constructor Details
Volume
public Volume()
Method Details
azureFile
public AzureFileVolume azureFile()
Get the Azure File volume.
Returns:
emptyDir
public Object emptyDir()
Get the empty directory volume.
Returns:
gitRepo
public GitRepoVolume gitRepo()
Get the git repo volume.
Returns:
name
public String name()
Get the name of the volume.
Returns:
secret
public Map
Get the secret volume.
Returns:
withAzureFile
public Volume withAzureFile(AzureFileVolume azureFile)
Set the Azure File volume.
Parameters:
Returns:
withEmptyDir
public Volume withEmptyDir(Object emptyDir)
Set the empty directory volume.
Parameters:
Returns:
withGitRepo
public Volume withGitRepo(GitRepoVolume gitRepo)
Set the git repo volume.
Parameters:
Returns:
withName
public Volume withName(String name)
Set the name of the volume.
Parameters:
Returns:
withSecret
public Volume withSecret(Map
Set the secret volume.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for