Skip to main content

Create DB2 Instance

Select

SaaS
Customer Managed

This operation is used to create a DB2 instance for a DB2 client

Request Body
  • instanceProperties object required
  • instance object required
  • instanceId integer
  • instanceName string required

    Name of the instance to be created

  • applicationId integer required

    Possible values: [62, 37]

    application ID for DB2 Unix is 62 and application ID for DB2 windows is 37

  • clientId integer required

    Id of the client

  • clientName string
  • commCellId integer
  • planEntity object

    pass this object to associate a plan to the created instance

  • planId integer

    plan id of the plan to associate to the instance

  • db2Instance object required
  • homeDirectory string required

    db2 instance home directory path

  • userAccount object required

    pass the credentials to connect to the db2 instance

  • userName string required

    user name of the instance

  • password string required

    Base64 encoded password

  • DB2StorageDevice object required
  • dataBackupStoragePolicy object required

    storage policy for data backups

  • storagePolicyId integer required

    pass 1 if the same plan passed above needs to associated or pass the storage policy id that needs to be associated

  • logBackupStoragePolicy object required

    storage policy for log backups

  • storagePolicyId integer required

    pass 1 if the same plan passed above needs to associated or pass the storage policy id that needs to be associated

  • commandLineStoragePolicy object required

    storage policy for command line jobs

  • storagePolicyId integer required

    pass 1 if the same plan passed above needs to associated or pass the storage policy id that needs to be associated

Responses

OK


Schema
  • processinginstructioninfo object
  • attributes object[]
  • name string
  • value string
  • response object
  • warningCode integer
  • errorCode integer
  • warningMessage string
  • entity object

    General properties of instance created

  • subclientId integer
  • clientId integer
  • instanceName string
  • instanceId integer
  • _type_ integer
Loading...