command:library

libraryGetStatus

libraryGetStatus [--libraries=] [--direction=] [--target=] [--zsurl=] [--zskey=] [--zssecret=] [--zsversion=] [--http=] [--output-format=] 

Get the list of libraries currently deployed on the server or the cluster, and information about each library’s available versions.

  • --libraries
    List of library IDs. If specified, information will be returned about these applications only. If not specified, information about all applications will be returned. Note that if a non-existing application ID is provided, this action will not fail but instead will return no information about the specific app.
  • --direction
    One of ASC|DESC. Sets the ordering direction. Ordering is always by User application name
  • --output-format
    Output format. Default is "xml", but you can use "json", or "kv" for key-value.

libraryVersionCheckDependents

libraryVersionCheckDependents --libraryVersionId= [--target=] [--zsurl=] [--zskey=] [--zssecret=] [--zsversion=] [--http=] [--output-format=] 

Check if a library version has another application or library which depends on it.

  • --libraryVersionId
    A library version id for checking prerequisites.
  • --output-format
    Output format. Default is "xml", but you can use "json", or "kv" for key-value.

libraryCheckDependents

libraryCheckDependents --libraryId= [--target=] [--zsurl=] [--zskey=] [--zssecret=] [--zsversion=] [--http=] [--output-format=] 

Check if a library has another application or library which depends on it.

  • --libraryId
    A library version id for checking prerequisites.
  • --output-format
    Output format. Default is "xml", but you can use "json", or "kv" for key-value.

libraryVersionRemove

libraryVersionRemove --libraryVersionId= [--ignoreFailures=] [--target=] [--zsurl=] [--zskey=] [--zssecret=] [--zsversion=] [--http=] [--output-format=] 

Remove existing library versions.

  • --libraryVersionId
    Library Version IDs to remove. In case of empty array no version is not removed.
  • --ignoreFailures
    Ignore failures during removing library versions if only some servers reported failures. If all servers report failures the operation will fail in any case. The default value is FALSE, meaning any failure will return an error.
  • --output-format
    Output format. Default is "xml", but you can use "json", or "kv" for key-value.

libraryVersionDeploy

libraryVersionDeploy --libPackage= [--ignoreFailures=] [--target=] [--zsurl=] [--zskey=] [--zssecret=] [--zsversion=] [--http=] [--output-format=] 

Deploy a new library version to the server or cluster.

  • --libPackage
    Library package file.
  • --ignoreFailures
    Ignore failures during removing library versions if only some servers reported failures. If all servers report failures the operation will fail in any case. The default value is FALSE, meaning any failure will return an error.
  • --output-format
    Output format. Default is "xml", but you can use "json", or "kv" for key-value.

libraryRemove

libraryRemove --libraryIds= [--ignoreFailures=] [--target=] [--zsurl=] [--zskey=] [--zssecret=] [--zsversion=] [--http=] [--output-format=] 

Remove existing libraries

  • --libraryIds
    Library IDs to remove. In case of empty array, no library is removed.
  • --ignoreFailures
    Ignore failures during removing library versions if only some servers reported failures. If all servers report failures, the operation will fail in any case. The default value is FALSE, meaning any failure will return an error.
  • --output-format
    Output format. Default is "xml", but you can use "json", or "kv" for key-value.

libraryVersionSynchronize

libraryVersionSynchronize --libraryVersionId= [--target=] [--zsurl=] [--zskey=] [--zssecret=] [--zsversion=] [--http=] [--output-format=] 

Cause the library version to be deployed again from its original package file.

  • --libraryVersionId
    Library version ID.
  • --output-format
    Output format. Default is "xml", but you can use "json", or "kv" for key-value.

downloadLibraryVersionFile

downloadLibraryVersionFile --libraryVersionId= [--target=] [--zsurl=] [--zskey=] [--zssecret=] [--zsversion=] [--http=] [--output-format=] 

Download the .zpk file specified by the library version identifier.

  • --libraryVersionId
    A library version ID.
  • --output-format
    Output format. Default is "xml", but you can use "json", or "kv" for key-value.

libraryVersionGetStatus

libraryVersionGetStatus --libraryVersionId= [--target=] [--zsurl=] [--zskey=] [--zssecret=] [--zsversion=] [--http=] [--output-format=] 

Get the library version ID that is deployed on the server or the cluster, and information about that version and its library.

  • --libraryVersionId
    Library version identifier. Note that a codetracing identifier is provided as part of the LibraryGetStatus xml response.
  • --output-format
    Output format. Default is "xml", but you can use "json", or "kv" for key-value.

librarySetDefault

librarySetDefault --libraryVersionId= [--target=] [--zsurl=] [--zskey=] [--zssecret=] [--zsversion=] [--http=] [--output-format=] 

Change library version to be the default version for the library.

  • --libraryVersionId
    A library version ID.
  • --output-format
    Output format. Default is "xml", but you can use "json", or "kv" for key-value.