Edit a global Caslib
Edits properties of an existing global Caslib. Session Caslib properties cannot be edited. Editable properties include the following: * description * path
Name | Type | Required | Description |
---|---|---|---|
caslibName | string | true | The name of the global Caslib to be edited. |
serverName | string | true | Server name containing the global Caslib to be edited. |
Name | Type | Required | Description |
---|---|---|---|
createDirectory | string | false | Indicates whether the leaf subdirectory of the path specified should be created when changing the path. If set to true, the directory will be created if it does not exist. Defaults to false. |
sessionId | string | false | Session ID. Note that editing session-based caslibs is not supported. Passing sessionId is provided to avoid creating a new CAS session, improving performance of the call. |
A caslib object.
The representation of a caslib. Note that links are returned only for GET calls.
Name | Type | Required | Description |
---|---|---|---|
attributes | array [Key/Value Array] | false | Contains an array of key/object pairs related to caslib type-specific settings. Supports simple object types (string, boolean, integer, long) as well as nested arrays. See reference documentation for specific caslib types to determine proper key/object pairs for defining a specific caslib. |
description | string | false | Description of the caslib. |
name | string | true | Name of the caslib. |
metadataId | string | false | A read-only property containing the metadata ID assigned to this caslib. |
path | string | false | The path of the caslib. |
scope | string | false | The scope of the caslib. Valid values include session or global. |
hidden | boolean | false | The hidden value of the caslib. True if this is a hidden caslib. False otherwise. |
transient | boolean | false | The transient value of the caslib. True if this is a transient caslib. False otherwise. |
type | string | true | Type of the Caslib. Valid values include any caslib type supported by the CAS server, such as Path, HDFS, DNFS, LASR, Teradata, Greenplum, and Oracle. |
version | integer | false | The version of this object. |
Status | Meaning | Description | ||
---|---|---|---|---|
200 | OK | The Caslib was edited successfully. | ||
400 | Bad Request | The request was invalid. | Schema | |
404 | Not Found | The requested CAS server or Caslib does not exist. | ||
409 | Conflict | The request could not be completed due to a conflict with the current state of the resource. Details are included in the response body. | ||
412 | Precondition Failed | Precondition Failed. | Schema |