Class OutputDirectory
java.lang.Object
com.microsoft.azure.management.batchai.OutputDirectory
Output directory for the job.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionid()
Get the ID of the output directory.Get the prefix path where the output directory will be created.Get the suffix path where the output directory will be created.Set the ID of the output directory.withPathPrefix
(String pathPrefix) Set the prefix path where the output directory will be created.withPathSuffix
(String pathSuffix) Set the suffix path where the output directory will be created.
-
Constructor Details
-
OutputDirectory
public OutputDirectory()
-
-
Method Details
-
id
Get the ID of the output directory. The job can use AZ_BATCHAI_OUTPUT_<id> environment variale to find the directory path, where <id> is the value of id attribute.- Returns:
- the id value
-
withId
Set the ID of the output directory. The job can use AZ_BATCHAI_OUTPUT_<id> environment variale to find the directory path, where <id> is the value of id attribute.- Parameters:
id
- the id value to set- Returns:
- the OutputDirectory object itself.
-
pathPrefix
Get the prefix path where the output directory will be created. Note, this is an absolute path to prefix. E.g. $AZ_BATCHAI_MOUNT_ROOT/MyNFS/MyLogs. The full path to the output directory by combining pathPrefix, jobOutputDirectoryPathSegment (reported by get job) and pathSuffix.- Returns:
- the pathPrefix value
-
withPathPrefix
Set the prefix path where the output directory will be created. Note, this is an absolute path to prefix. E.g. $AZ_BATCHAI_MOUNT_ROOT/MyNFS/MyLogs. The full path to the output directory by combining pathPrefix, jobOutputDirectoryPathSegment (reported by get job) and pathSuffix.- Parameters:
pathPrefix
- the pathPrefix value to set- Returns:
- the OutputDirectory object itself.
-
pathSuffix
Get the suffix path where the output directory will be created. E.g. models. You can find the full path to the output directory by combining pathPrefix, jobOutputDirectoryPathSegment (reported by get job) and pathSuffix.- Returns:
- the pathSuffix value
-
withPathSuffix
Set the suffix path where the output directory will be created. E.g. models. You can find the full path to the output directory by combining pathPrefix, jobOutputDirectoryPathSegment (reported by get job) and pathSuffix.- Parameters:
pathSuffix
- the pathSuffix value to set- Returns:
- the OutputDirectory object itself.
-