Class UssCreate
- java.lang.Object
-
- zowe.client.sdk.zosfiles.uss.methods.UssCreate
-
public class UssCreate extends Object
Provides Unix System Services (USS) create object functionality- Version:
- 4.0
- Author:
- James Kostrewski, Frank Giordano
-
-
Constructor Summary
Constructors Constructor Description UssCreate(ZosConnection connection)UssCreate Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Responsecreate(String targetPath, UssCreateInputData params)Perform UNIX create a file or directory name request driven by CreateParams object settings.ResponsecreateZfs(String fileSystemName)Create a ZFS using default values of 755 permissions, 10 primary and 2 secondary cylinders allocated, and a timeout of 20 seconds.ResponsecreateZfsCommon(String fileSystemName, UssCreateZfsInputData params)Create a ZFS request driven by the CreateZfsParams object settings.
-
-
-
Constructor Detail
-
UssCreate
public UssCreate(ZosConnection connection)
UssCreate Constructor- Parameters:
connection- for connection information, see ZosConnection object
-
-
Method Detail
-
create
public Response create(String targetPath, UssCreateInputData params) throws ZosmfRequestException
Perform UNIX create a file or directory name request driven by CreateParams object settings.- Parameters:
targetPath- the name of the file or directory you are going to createparams- to create response parameters, see CreateParams object- Returns:
- Response object
- Throws:
ZosmfRequestException- request error state
-
createZfs
public Response createZfs(String fileSystemName) throws ZosmfRequestException
Create a ZFS using default values of 755 permissions, 10 primary and 2 secondary cylinders allocated, and a timeout of 20 seconds.- Parameters:
fileSystemName- ZFS file system name- Returns:
- Response object
- Throws:
ZosmfRequestException- request error state
-
createZfsCommon
public Response createZfsCommon(String fileSystemName, UssCreateZfsInputData params) throws ZosmfRequestException
Create a ZFS request driven by the CreateZfsParams object settings.- Parameters:
fileSystemName- ZFS file system nameparams- create ZFS response parameters, see CreateZfsParams object- Returns:
- Response object
- Throws:
ZosmfRequestException- request error state
-
-