_asadmin 70 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150
  1. #compdef asadmin
  2. #autoload
  3. local -a _1st_arguments
  4. _1st_arguments=(
  5. "add-library:adds one or more library JAR files to GlassFish Server"
  6. "add-resources:creates the resources specified in an XML file"
  7. "apply-http-lb-changes:applies load balancer configuration changes to the load balancer"
  8. "backup-domain:performs a backup on the domain"
  9. "change-admin-password:changes the administrator password"
  10. "change-master-broker:changes the master broker in a Message Queue cluster providing JMS services for a GlassFish Server cluster."
  11. "change-master-password:changes the master password"
  12. "collect-log-files:creates a ZIP archive of all available log files"
  13. "configure-jms-cluster:configures the Message Queue cluster providing JMS services to a GlassFish Server cluster"
  14. "configure-lb-weight:sets load balancing weights for clustered instances"
  15. "configure-ldap-for-admin:configures the authentication realm named admin-realm for the given LDAP"
  16. "copy-config:copies an existing named configuration to create another configuration"
  17. "create-admin-object:adds the administered object with the specified JNDI name for a resource adapter"
  18. "create-application-ref:creates a reference to an application"
  19. "create-audit-module:adds an audit module"
  20. "create-auth-realm:adds the named authentication realm"
  21. "create-cluster:creates a GlassFish Server cluster"
  22. "create-connector-connection-pool:adds a connection pool with the specified connection pool name"
  23. "create-connector-resource:registers the connector resource with the specified JNDI name"
  24. "create-connector-security-map:creates a security map for the specified connector connection pool"
  25. "create-connector-work-security-map:creates a work security map for the specified resource adapter"
  26. "create-custom-resource:creates a custom resource"
  27. "create-domain:creates a domain"
  28. "create-file-user:creates a new file user"
  29. "create-http:sets HTTP parameters for a protocol"
  30. "create-http-health-checker:creates a health-checker for a specified load balancer configuration"
  31. "create-http-lb:creates a load balancer"
  32. "create-http-lb-config:creates a configuration for the load balancer"
  33. "create-http-lb-ref:adds an existing cluster or server instance to an existing load balancer configuration or load balancer"
  34. "create-http-listener:adds a new HTTP network listener socket"
  35. "create-http-redirect:adds a new HTTP redirect"
  36. "create-iiop-listener:adds an IIOP listener"
  37. "create-instance:creates a GlassFish Server instance"
  38. "create-jacc-provider:enables administrators to create a JACC provider that can be used by third-party authorization modules for applications running in GlassFish Server"
  39. "create-javamail-resource:creates a JavaMail session resource"
  40. "create-jdbc-connection-pool:registers a JDBC connection pool"
  41. "create-jdbc-resource:creates a JDBC resource with the specified JNDI name"
  42. "create-jms-host:creates a JMS host"
  43. "create-jms-resource:creates a JMS resource"
  44. "create-jmsdest:creates a JMS physical destination"
  45. "create-jndi-resource:registers a JNDI resource"
  46. "create-jvm-options:creates options for the Java application launcher"
  47. "create-lifecycle-module:creates a lifecycle module"
  48. "create-local-instance:creates a GlassFish Server instance on the host where the subcommand is run"
  49. "create-message-security-provider:enables administrators to create a message security provider, which specifies how SOAP messages will be secured."
  50. "create-network-listener:adds a new network listener socket"
  51. "create-node-config:creates a node that is not enabled for remote communication"
  52. "create-node-dcom:creates a node that is enabled for com munication over DCOM"
  53. "create-node-ssh:creates a node that is enabled for communication over SSH"
  54. "create-password-alias:creates a password alias"
  55. "create-profiler:creates the profiler element"
  56. "create-protocol:adds a new protocol"
  57. "create-protocol-filter:adds a new protocol filter"
  58. "create-protocol-finder:adds a new protocol finder"
  59. "create-resource-adapter-config:creates the configuration information for the connector module"
  60. "create-resource-ref:creates a reference to a resource"
  61. "create-service:configures the starting of a DAS or a GlassFish Server instance on an unattended boot"
  62. "create-ssl:creates and configures the SSL element in the selected HTTP listener, IIOP listener, or IIOP service"
  63. "create-system-properties:adds one or more system property elements that can be referenced elsewhere in the configuration."
  64. "create-threadpool:adds a thread pool"
  65. "create-transport:adds a new transport"
  66. "create-virtual-server:creates the named virtual server"
  67. "delete-admin-object:removes the administered object with the specified JNDI name."
  68. "delete-application-ref:removes a reference to an applica tion"
  69. "delete-audit-module:removes the named audit-module"
  70. "delete-auth-realm:removes the named authentication realm"
  71. "delete-cluster:deletes a GlassFish Server cluster"
  72. "delete-config:deletes an existing named configuration"
  73. "delete-connector-connection-pool:removes the specified connector connection pool"
  74. "delete-connector-resource:removes the connector resource with the specified JNDI name"
  75. "delete-connector-security-map:deletes a security map for the specified connector connection pool"
  76. "delete-connector-work-security-map:deletes a work security map for the specified resource adapter"
  77. "delete-custom-resource:removes a custom resource"
  78. "delete-domain:deletes a domain"
  79. "delete-file-user:removes the named file user"
  80. "delete-http:removes HTTP parameters from a protocol"
  81. "delete-http-health-checker:deletes the health-checker for a specified load balancer configuration"
  82. "delete-http-lb:deletes a load balancer"
  83. "delete-http-lb-config:deletes a load balancer configuration"
  84. "delete-http-lb-ref:deletes the cluster or server instance from a load balancer"
  85. "delete-http-listener:removes a network listener"
  86. "delete-http-redirect:removes an HTTP redirect"
  87. "delete-iiop-listener:removes an IIOP listener"
  88. "delete-instance:deletes a GlassFish Server instance"
  89. "delete-jacc-provider:enables administrators to delete JACC providers defined for a domain"
  90. "delete-javamail-resource:removes a JavaMail session resource"
  91. "delete-jdbc-connection-pool:removes the specified JDBC connection pool"
  92. "delete-jdbc-resource:removes a JDBC resource with the specified JNDI name"
  93. "delete-jms-host:removes a JMS host"
  94. "delete-jms-resource:removes a JMS resource"
  95. "delete-jmsdest:removes a JMS physical destination"
  96. "delete-jndi-resource:removes a JNDI resource"
  97. "delete-jvm-options:removes one or more options for the Java application launcher"
  98. "delete-lifecycle-module:removes the lifecycle module"
  99. "delete-local-instance:deletes a GlassFish Server instance on the machine where the subcommand is run"
  100. "delete-log-levels:"
  101. "delete-message-security-provider:enables administrators to delete a message security provider"
  102. "delete-network-listener:removes a network listener"
  103. "delete-node-config:deletes a node that is not enabled for remote communication"
  104. "delete-node-dcom:deletes a node that is enabled for communication over DCOM"
  105. "delete-node-ssh:deletes a node that is enabled for communication over SSH"
  106. "delete-password-alias:deletes a password alias"
  107. "delete-profiler:removes the profiler element"
  108. "delete-protocol:removes a protocol"
  109. "delete-protocol-filter:removes a protocol filter"
  110. "delete-protocol-finder:removes a protocol finder"
  111. "delete-resource-adapter-config:deletes the resource adapter configuration"
  112. "delete-resource-ref:removes a reference to a resource"
  113. "delete-ssl:deletes the SSL element in the selected HTTP listener, IIOP listener, or IIOP service"
  114. "delete-system-property:removes a system property of the domain, configuration, cluster, or server instance, one at a time"
  115. "delete-threadpool:removes a thread pool"
  116. "delete-transport:removes a transport"
  117. "delete-virtual-server:removes a virtual server"
  118. "deploy:deploys the specified component"
  119. "deploydir:deploys an exploded format of application archive"
  120. "environment variable"
  121. "disable:disables the component"
  122. "disable-http-lb-application:disables an application managed by a load balancer"
  123. "disable-http-lb-server:disables a sever or cluster managed by a load balancer"
  124. "disable-monitoring:disables monitoring for the server or for specific monitorable modules"
  125. "disable-secure-admin:disables secure admin if it is already enabled."
  126. "disable-secure-admin-internal-user:Instructs the GlassFish Server DAS and instances to not use the specified admin user to authenticate with each other and to authorize admin operations."
  127. "disable-secure-admin-principal:disables the certificate for authorizing access in secure administration."
  128. "enable:enables the component"
  129. "enable-http-lb-application:enables a previously-disabled application managed by a load balancer"
  130. "enable-http-lb-server:enables a previously disabled sever or cluster managed by a load balancer"
  131. "enable-monitoring:enables monitoring for the server or for specific monitorable modules"
  132. "enable-secure-admin:enables secure admin (if it is not already enabled), optionally changing the alias used for DAS-to-instance admin messages or the alias used for instance-to-DAS admin messages."
  133. "enable-secure-admin-internal-user:Instructs the GlassFish Server DAS and instances to use the specified admin user and the password associated with the password alias to authenticate with each other and to authorize admin operations."
  134. "enable-secure-admin-principal:Instructs GlassFish Server, when secure admin is enabled, to accept admin requests from clients identified by the specified SSL certificate."
  135. "export:marks a variable name for automatic export to the environment of subsequent commands in multimode"
  136. "export-http-lb-config:exports the load balancer configuration or load balancer to a file"
  137. "export-sync-bundle:exports the configuration data of a cluster or standalone instance to an archive file"
  138. "flush-connection-pool:reintializes all connections established in the specified connection pool"
  139. "flush-jmsdest:purges messages in a JMS destination."
  140. "freeze-transaction-service:freezes the transaction subsystem"
  141. "generate-domain-schema:"
  142. "generate-jvm-report:shows the JVM machine statistics for a given target instance"
  143. "get:gets the values of configurable or monitorable attributes"
  144. "get-client-stubs:retrieves the application JAR files needed to launch the application client."
  145. "get-health:provides information on the cluster health"
  146. "help"
  147. "asadmin:utility for performing administrative tasks for Oracle GlassFish Server"
  148. "import-sync-bundle:imports the configuration data of a clustered instance or standalone instance from an archive file"
  149. "install-node:installs GlassFish Server software on specified SSH-enabled hosts"
  150. "install-node-dcom:installs GlassFish Server software on specified DCOM-enabled hosts"
  151. "install-node-ssh:installs GlassFish Server software on specified SSH-enabled hosts"
  152. "jms-ping:checks if the JMS service is up and running"
  153. "list:lists configurable or monitorable elements"
  154. "list-admin-objects:gets all the administered objects"
  155. "list-application-refs:lists the existing application references"
  156. "list-applications:lists deployed applications"
  157. "list-audit-modules:gets all audit modules and displays them"
  158. "list-auth-realms:lists the authentication realms"
  159. "list-backups:lists all backups"
  160. "list-clusters:lists existing clusters in a domain"
  161. "list-commands:lists available commands"
  162. "list-components:lists deployed components"
  163. "list-configs:lists named configurations"
  164. "list-connector-connection-pools:lists the existing connector connection pools"
  165. "list-connector-resources:lists all connector resources"
  166. "list-connector-security-maps:lists the security maps belonging to the specified connector connection pool"
  167. "list-connector-work-security-maps:lists the work security maps belonging to the specified resource adapter"
  168. "list-containers:lists application containers"
  169. "list-custom-resources:gets all custom resources"
  170. "list-domains:lists the domains in the specified directory"
  171. "list-file-groups:lists file groups"
  172. "list-file-users:lists the file users"
  173. "list-http-lb-configs:lists load balancer configurations"
  174. "list-http-lbs:lists load balancers"
  175. "list-http-listeners:lists the existing network listeners"
  176. "list-iiop-listeners:lists the existing IIOP listeners"
  177. "list-instances:lists GlassFish Server instances in a domain"
  178. "list-jacc-providers:enables administrators to list JACC providers defined for a domain"
  179. "list-javamail-resources:lists the existing JavaMail session resources"
  180. "list-jdbc-connection-pools:lists all JDBC connection pools"
  181. "list-jdbc-resources:lists all JDBC resources"
  182. "list-jms-hosts:lists the existing JMS hosts"
  183. "list-jms-resources:lists the JMS resources"
  184. "list-jmsdest:lists the existing JMS physical destinations"
  185. "list-jndi-entries:browses and queries the JNDI tree"
  186. "list-jndi-resources:lists all existing JNDI resources"
  187. "list-jvm-options:lists options for the Java application launcher"
  188. "list-libraries:lists library JAR files on GlassFish Server"
  189. "list-lifecycle-modules:lists the lifecycle modules"
  190. "list-log-attributes:lists all logging attributes defined for a specified target in a domain"
  191. "list-log-levels:lists the loggers and their log levels"
  192. "list-message-security-providers:lists all security message providers for the given message layer"
  193. "list-modules:lists GlassFish Server modules"
  194. "list-network-listeners:lists the existing network listeners"
  195. "list-nodes:lists all GlassFish Server nodes in a domain"
  196. "list-nodes-config:lists all GlassFish Server nodes that do not support remote communication in a domain"
  197. "list-nodes-dcom:lists all GlassFish Server nodes that support communication over DCOM in a domain"
  198. "list-nodes-ssh:lists all GlassFish Server nodes that support communication over SSH in a domain"
  199. "list-password-aliases:lists all password aliases"
  200. "list-persistence-types:lists registered persistence types for HTTP sessions and SFSB instances"
  201. "list-protocol-filters:lists the existing protocol filters"
  202. "list-protocol-finders:lists the existing protocol finders"
  203. "list-protocols:lists the existing protocols"
  204. "list-resource-adapter-configs:lists the names of the current resource adapter configurations"
  205. "list-resource-refs:lists existing resource references"
  206. "list-secure-admin-internal-users:lists the user names that the GlassFish Server DAS and instances use to authenticate with each other and to authorize admin operations."
  207. "list-secure-admin-principals:lists the certificates for which GlassFish Server accepts admin requests from clients."
  208. "list-sub-components:lists EJB or servlet components in a deployed module or module of a deployed application"
  209. "list-supported-cipher-suites:enables administrators to list the cipher suites that are supported and available to a specified GlassFish Server target"
  210. "list-system-properties:lists the system properties of the domain, configuration, cluster, or server instance"
  211. "list-threadpools:lists all the thread pools"
  212. "list-timers:lists all of the persistent timers owned by server instance(s)"
  213. "list-transports:lists the existing transports"
  214. "list-virtual-servers:lists the existing virtual servers"
  215. "list-web-context-param:lists servlet contextinitialization parameters of a deployed web application or module"
  216. "list-web-env-entry:lists environment entries for a deployed web application or module"
  217. "login:logs you into a domain"
  218. "migrate-timers:moves EJB timers when a clustered instance was stopped or has crashed"
  219. "monitor:displays monitoring data for commonly used components and services"
  220. "multimode:allows multiple subcommands to be run while preserving environment settings and remaining in the asadmin utility"
  221. "ping-connection-pool:tests if a connection pool is usable"
  222. "ping-node-dcom:tests if a node that is enabled for communication over DCOM is usable"
  223. "ping-node-ssh:tests if a node that is enabled for communication over SSH is usable"
  224. "recover-transactions:manually recovers pending transactions"
  225. "redeploy:redeploys the specified component"
  226. "remove-library:removes one or more library JAR files from GlassFish Server"
  227. "restart-domain:restarts the DAS of the specified domain"
  228. "restart-instance:restarts a running GlassFish Server instance"
  229. "restart-local-instance:restarts a running GlassFish Server instance on the host where the subcommand is run"
  230. "restore-domain:restores files from backup"
  231. "rollback-transaction:rolls back the named transaction"
  232. "rotate-log:rotates the log file"
  233. "set:sets the values of configurable attributes"
  234. "set-log-attributes:sets the logging attributes for one or more loggers"
  235. "set-log-levels:sets the log level for one or more loggers"
  236. "set-web-context-param:sets a servlet context initialization parameter of a deployed web application or module"
  237. "set-web-env-entry:sets an environment entry for a deployed web application or module"
  238. "setup-ssh:sets up an SSH key on specified hosts"
  239. "show-component-status:displays the status of the deployed component"
  240. "start-cluster:starts a cluster"
  241. "start-database:starts the Java DB"
  242. "start-domain:starts the DAS of the specified domain"
  243. "start-instance:starts a GlassFish Server instance"
  244. "start-local-instance:starts a GlassFish Server instance on the host where the subcommand is run"
  245. "stop-cluster:stops a GlassFish Server cluster"
  246. "stop-database:stops the Java DB"
  247. "stop-domain:stops the Domain Administration Server of the specified domain"
  248. "stop-instance:stops a running GlassFish Server instance"
  249. "stop-local-instance:stops a GlassFish Server instance on the machine where the subcommand is run"
  250. "undeploy:removes a deployed component"
  251. "unfreeze-transaction-service:resumes all suspended transactions"
  252. "uninstall-node:uninstalls GlassFish Server software from specified hosts"
  253. "uninstall-node-dcom:uninstalls GlassFish Server software from specified DCOM-enabled hosts"
  254. "uninstall-node-ssh:uninstalls GlassFish Server software from specified SSH-enabled hosts"
  255. "unset:removes one or more variables from the multimode environment"
  256. "unset-web-context-param:unsets a servlet context initialization parameter of a deployed web application or module"
  257. "unset-web-env-entry:unsets an environment entry for a deployed web application or module"
  258. "update-connector-security-map:modifies a security map for the specified connector connection pool"
  259. "update-connector-work-security-map:modifies a work security map for the specified resource adapter"
  260. "update-file-user:updates a current file user as specified"
  261. "update-node-config:updates the configuration data of anode"
  262. "update-node-dcom:updates the configuration data of a node"
  263. "update-node-ssh:updates the configuration data of a node"
  264. "update-password-alias:updates a password alias"
  265. "uptime:returns the length of time that the DAS has been running"
  266. "validate-dcom:tests the connection over DCOM to a remote host"
  267. "validate-multicast:validates that multicast transport is available for clusters"
  268. "verify-domain-xml:verifies the content of the domain.xml file"
  269. "version:displays version information forGlassFish Server"
  270. )
  271. _arguments '*:: :->command'
  272. if (( CURRENT == 1 )); then
  273. _describe -t commands "asadmin command" _1st_arguments
  274. return
  275. fi
  276. local -a _command_args
  277. case "$words[1]" in
  278. add-library)
  279. _command_args=('*:directory:_files' '--host+:' '--port+:' '--type+:type:(common ext app)')
  280. ;;
  281. add-resources)
  282. _command_args=('*:directory:_files' '--host+:' '--port+:' '--target+:target:_asadmin_targets_cluster_das_domain_standalone_instance')
  283. ;;
  284. apply-http-lb-changes)
  285. _command_args=('--host+:' '--ping+:' '--port+:')
  286. ;;
  287. backup-domain)
  288. _command_args=('--backupconfig+:' '--backupdir+:' '--description+:' '--domaindir+:' '--long+:long:(true false)')
  289. ;;
  290. change-admin-password)
  291. _command_args=('--domain_name+:' '--domaindir+:')
  292. ;;
  293. change-master-broker)
  294. _command_args=('--host+:' '--port+:')
  295. ;;
  296. change-master-password)
  297. _command_args=('--domaindir+:' '--nodedir+:' '--savemasterpassword+:savemasterpassword:(true false)')
  298. ;;
  299. collect-log-files)
  300. _command_args=('--host+:' '--port+:' '--retrieve+:retrieve:(true false)' '--target+:')
  301. ;;
  302. configure-jms-cluster)
  303. _command_args=('--clustertype+:' '--configstoretype+:' '--dburl+:' '--dbuser+:' '--dbvendor+:' '--host+:' '--jmsdbpassword+:' '--messagestoretype+:' '--port+:' '--property+:')
  304. ;;
  305. configure-lb-weight)
  306. _command_args=('--cluster+:cluster:_asadmin_clusters' '--host+:' '--port+:')
  307. ;;
  308. configure-ldap-for-admin)
  309. _command_args=('--basedn+:' '--host+:' '--ldap-group+:' '--port+:' '--target+:target:_asadmin_targets_cluster_config_das_standalone_instance' '--url+:')
  310. ;;
  311. copy-config)
  312. _command_args=('--host+:' '--port+:' '--systemproperties+:')
  313. ;;
  314. create-admin-object)
  315. _command_args=('--classname+:' '--description+:' '--enabled+:enabled:(true false)' '--host+:' '--port+:' '--property+:' '--raname+:' '--restype+:' '--target+:target:_asadmin_targets_cluster_config_das_standalone_instance')
  316. ;;
  317. create-application-ref)
  318. _command_args=('--enabled+:enabled:(true false)' '--host+:' '--lbenabled+:lbenabled:(true false)' '--port+:' '--target+:target:_asadmin_targets_cluster_das_standalone_instance' '--virtualservers+:')
  319. ;;
  320. create-audit-module)
  321. _command_args=('--classname+:' '--host+:' '--port+:' '--property+:' '--target+:target:_asadmin_targets_cluster_config_das_standalone_instance')
  322. ;;
  323. create-auth-realm)
  324. _command_args=('--classname+:' '--host+:' '--port+:' '--property+:' '--target+:target:_asadmin_targets_cluster_config_das_standalone_instance')
  325. ;;
  326. create-connector-connection-pool)
  327. _command_args=('--associatewiththread+:associatewiththread:(true false)' '--connectiondefinition+:' '--creationretryattempts+:' '--creationretryinterval+:' '--description+:' '--failconnection+:failconnection:(true false)' '--host+:' '--idletimeout+:' '--isconnectvalidatereq+:isconnectvalidatereq:(true false)' '--lazyconnectionassociation+:lazyconnectionassociation:(true false)' '--lazyconnectionenlistment+:lazyconnectionenlistment:(true false)' '--leakreclaim+:leakreclaim:(true false)' '--leaktimeout+:' '--matchconnections+:matchconnections:(true false)' '--maxconnectionusagecount+:' '--maxpoolsize+:' '--maxwait+:' '--ping+:ping:(true false)' '--pooling+:pooling:(true false)' '--poolresize+:' '--port+:' '--property+:' '--raname+:' '--steadypoolsize+:' '--target+:' '--transactionsupport+:transactionsupport:(XATransaction LocalTransaction NoTransaction)' '--validateatmostonceperiod+:')
  328. ;;
  329. create-connector-resource)
  330. _command_args=('--description+:' '--enabled+:enabled:(true false)' '--host+:' '--objecttype+:' '--poolname+:' '--port+:' '--property+:' '--target+:target:_asadmin_targets_cluster_das_domain_standalone_instance')
  331. ;;
  332. create-connector-security-map)
  333. _command_args=('--host+:' '--mappedpassword+:' '--mappedusername+:' '--poolname+:' '--port+:' '--principals+:' '--target+:' '--usergroups+:')
  334. ;;
  335. create-connector-work-security-map)
  336. _command_args=('--description+:' '--groupsmap+:' '--host+:' '--port+:' '--principalsmap+:' '--raname+:')
  337. ;;
  338. create-custom-resource)
  339. _command_args=('--description+:' '--enabled+:enabled:(true false)' '--factoryclass+:' '--host+:' '--port+:' '--property+:' '--restype+:' '--target+:target:_asadmin_targets_cluster_das_domain_standalone_instance')
  340. ;;
  341. create-domain)
  342. _command_args=('--adminport+:' '--checkports+:checkports:(true false)' '--domaindir+:' '--domainproperties+:' '--instanceport+:' '--keytooloptions+:' '--nopassword+:nopassword:(true false)' '--portbase+:' '--profile+:' '--savelogin+:savelogin:(true false)' '--savemasterpassword+:savemasterpassword:(true false)' '--template+:' '--usemasterpassword+:usemasterpassword:(true false)')
  343. ;;
  344. create-file-user)
  345. _command_args=('--authrealmname+:' '--groups+:' '--host+:' '--port+:' '--target+:target:_asadmin_targets_cluster_config_das_standalone_instance' '--userpassword+:')
  346. ;;
  347. create-http)
  348. _command_args=('--default-virtual-server+:' '--dns-lookup-enabled+:dns-lookup-enabled:(true false)' '--host+:' '--max-connection+:' '--port+:' '--request-timeout-seconds+:' '--servername+:' '--target+:target:_asadmin_targets_cluster_config_das_standalone_instance' '--timeout-seconds+:' '--xpowered+:xpowered:(true false)')
  349. ;;
  350. create-http-health-checker)
  351. _command_args=('--config+:' '--host+:' '--interval+:' '--port+:' '--timeout+:' '--url+:')
  352. ;;
  353. create-http-lb)
  354. _command_args=('--autoapplyenabled+:autoapplyenabled:(true false)' '--devicehost+:' '--deviceport+:' '--healthcheckerinterval+:' '--healthcheckertimeout+:' '--healthcheckerurl+:' '--host+:' '--httpsrouting+:httpsrouting:(true false)' '--lbenableallapplications+:' '--lbenableallinstances+:' '--lbpolicy+:' '--lbpolicymodule+:' '--lbweight+:' '--monitor+:monitor:(true false)' '--port+:' '--property+:' '--reloadinterval+:' '--responsetimeout+:' '--routecookie+:routecookie:(true false)' '--sslproxyhost+:' '--sslproxyport+:' '--target+:target:_asadmin_targets_cluster_standalone_instance')
  355. ;;
  356. create-http-lb-ref)
  357. _command_args=('--config+:' '--healthcheckerinterval+:' '--healthcheckertimeout+:' '--healthcheckerurl+:' '--host+:' '--lbenableallapplications+:' '--lbenableallinstances+:' '--lbname+:' '--lbpolicy+:' '--lbpolicymodule+:' '--lbweight+:' '--port+:')
  358. ;;
  359. create-http-listener)
  360. _command_args=('--acceptorthreads+:' '--default-virtual-server+:' '--defaultvs+:' '--enabled+:enabled:(true false)' '--host+:' '--listeneraddress+:' '--listenerport+:' '--port+:' '--redirectport+:' '--secure+:secure:(true false)' '--securityenabled+:securityenabled:(true false)' '--servername+:' '--target+:target:_asadmin_targets_cluster_config_das_standalone_instance' '--xpowered+:xpowered:(true false)')
  361. ;;
  362. create-http-redirect)
  363. _command_args=('--host+:' '--port+:' '--redirect-port+:' '--secure-redirect+:' '--target+:target:_asadmin_targets_cluster_config_das_standalone_instance')
  364. ;;
  365. create-iiop-listener)
  366. _command_args=('--enabled+:enabled:(true false)' '--host+:' '--iiopport+:' '--listeneraddress+:' '--port+:' '--property+:' '--securityenabled+:securityenabled:(true false)' '--target+:target:_asadmin_targets_cluster_config_das_standalone_instance')
  367. ;;
  368. create-instance)
  369. _command_args=('--checkports+:checkports:(true false)' '--cluster+:cluster:_asadmin_clusters' '--config+:' '--host+:' '--lbenabled+:lbenabled:(true false)' '--node+:node:_asadmin_nodes' '--port+:' '--portbase+:' '--systemproperties+:' '--terse+:terse:(true false)')
  370. ;;
  371. create-jacc-provider)
  372. _command_args=('--host+:' '--policyconfigfactoryclass+:' '--policyproviderclass+:' '--port+:' '--property+:' '--target+:target:_asadmin_targets_cluster_config_das_standalone_instance')
  373. ;;
  374. create-javamail-resource)
  375. _command_args=('--debug+:debug:(true false)' '--description+:' '--enabled+:enabled:(true false)' '--fromaddress+:' '--host+:' '--mailhost+:' '--mailuser+:' '--port+:' '--property+:' '--storeprotocol+:' '--storeprotocolclass+:' '--target+:target:_asadmin_targets_cluster_das_domain_standalone_instance' '--transprotocol+:' '--transprotocolclass+:')
  376. ;;
  377. create-jdbc-connection-pool)
  378. _command_args=('--allownoncomponentcallers+:allownoncomponentcallers:(true false)' '--associatewiththread+:associatewiththread:(true false)' '--creationretryattempts+:' '--creationretryinterval+:' '--datasourceclassname+:' '--description+:' '--driverclassname+:' '--failconnection+:failconnection:(true false)' '--host+:' '--idletimeout+:' '--initsql+:' '--isconnectvalidatereq+:isconnectvalidatereq:(true false)' '--isisolationguaranteed+:isisolationguaranteed:(true false)' '--isolationlevel+:' '--lazyconnectionassociation+:lazyconnectionassociation:(true false)' '--lazyconnectionenlistment+:lazyconnectionenlistment:(true false)' '--leakreclaim+:leakreclaim:(true false)' '--leaktimeout+:' '--matchconnections+:matchconnections:(true false)' '--maxconnectionusagecount+:' '--maxpoolsize+:' '--maxwait+:' '--nontransactionalconnections+:nontransactionalconnections:(true false)' '--ping+:ping:(true false)' '--pooling+:pooling:(true false)' '--poolresize+:' '--port+:' '--property+:' '--restype+:restype:(javax.sql.DataSource javax.sql.XADataSource javax.sql.ConnectionPoolDataSource java.sql.Driver)' '--sqltracelisteners+:' '--statementcachesize+:' '--statementleakreclaim+:statementleakreclaim:(true false)' '--statementleaktimeout+:' '--statementtimeout+:' '--steadypoolsize+:' '--target+:' '--validateatmostonceperiod+:' '--validationclassname+:' '--validationmethod+:validationmethod:(auto-commit meta-data table custom-validation)' '--validationtable+:' '--wrapjdbcobjects+:wrapjdbcobjects:(true false)')
  379. ;;
  380. create-jdbc-resource)
  381. _command_args=('--connectionpoolid+:' '--description+:' '--enabled+:enabled:(true false)' '--host+:' '--port+:' '--property+:' '--target+:target:_asadmin_targets_cluster_das_domain_standalone_instance')
  382. ;;
  383. create-jms-host)
  384. _command_args=('--host+:' '--mqhost+:' '--mqpassword+:' '--mqport+:' '--mquser+:' '--port+:' '--property+:' '--target+:target:_asadmin_targets_cluster_config_das_standalone_instance')
  385. ;;
  386. create-jms-resource)
  387. _command_args=('--description+:' '--enabled+:enabled:(true false)' '--host+:' '--port+:' '--property+:' '--restype+:' '--target+:target:_asadmin_targets_cluster_das_domain_standalone_instance')
  388. ;;
  389. create-jmsdest)
  390. _command_args=('--desttype+:' '--host+:' '--port+:' '--property+:' '--target+:target:_asadmin_targets_cluster_config_das_standalone_instance')
  391. ;;
  392. create-jndi-resource)
  393. _command_args=('--description+:' '--enabled+:enabled:(true false)' '--factoryclass+:' '--host+:' '--jndilookupname+:' '--port+:' '--property+:' '--restype+:' '--target+:target:_asadmin_targets_cluster_das_domain_standalone_instance')
  394. ;;
  395. create-jvm-options)
  396. _command_args=('--host+:' '--port+:' '--profiler+:profiler:(true false)' '--target+:target:_asadmin_targets_cluster_config_das_standalone_instance')
  397. ;;
  398. create-lifecycle-module)
  399. _command_args=('--classname+:' '--classpath+:' '--description+:' '--enabled+:enabled:(true false)' '--failurefatal+:failurefatal:(true false)' '--host+:' '--loadorder+:' '--port+:' '--property+:' '--target+:target:_asadmin_targets_cluster_das_domain_standalone_instance')
  400. ;;
  401. create-local-instance)
  402. _command_args=('--checkports+:checkports:(true false)' '--cluster+:cluster:_asadmin_clusters' '--config+:' '--lbenabled+:lbenabled:(true false)' '--node+:node:_asadmin_nodes' '--nodedir+:' '--portbase+:' '--savemasterpassword+:savemasterpassword:(true false)' '--systemproperties+:' '--usemasterpassword+:usemasterpassword:(true false)')
  403. ;;
  404. create-message-security-provider)
  405. _command_args=('--classname+:' '--host+:' '--isdefaultprovider+:isdefaultprovider:(true false)' '--layer+:layer:(SOAP HttpServlet)' '--port+:' '--property+:' '--providertype+:providertype:(client server client-server)' '--requestauthrecipient+:' '--requestauthsource+:' '--responseauthrecipient+:' '--responseauthsource+:' '--target+:target:_asadmin_targets_cluster_config_das_standalone_instance')
  406. ;;
  407. create-network-listener)
  408. _command_args=('--address+:' '--enabled+:enabled:(true false)' '--host+:' '--jkenabled+:jkenabled:(true false)' '--listenerport+:' '--port+:' '--protocol+:' '--target+:target:_asadmin_targets_cluster_config_das_standalone_instance' '--threadpool+:' '--transport+:')
  409. ;;
  410. create-node-config)
  411. _command_args=('--host+:' '--installdir+:' '--nodedir+:' '--nodehost+:' '--port+:')
  412. ;;
  413. create-node-dcom)
  414. _command_args=('--archive+:' '--force+:force:(true false)' '--host+:' '--install+:install:(true false)' '--installdir+:' '--nodedir+:' '--nodehost+:' '--port+:' '--windowsdomain+:' '--windowspassword+:' '--windowsuser+:')
  415. ;;
  416. create-node-ssh)
  417. _command_args=('--archive+:' '--force+:force:(true false)' '--host+:' '--install+:install:(true false)' '--installdir+:' '--nodedir+:' '--nodehost+:' '--port+:' '--sshkeyfile+:' '--sshkeypassphrase+:' '--sshpassword+:' '--sshport+:' '--sshuser+:')
  418. ;;
  419. create-password-alias)
  420. _command_args=('--aliaspassword+:' '--host+:' '--port+:')
  421. ;;
  422. create-profiler)
  423. _command_args=('--classpath+:' '--enabled+:enabled:(true false)' '--host+:' '--nativelibrarypath+:' '--port+:' '--property+:' '--target+:target:_asadmin_targets_cluster_config_das_standalone_instance')
  424. ;;
  425. create-protocol)
  426. _command_args=('--host+:' '--port+:' '--securityenabled+:securityenabled:(true false)' '--target+:target:_asadmin_targets_cluster_config_das_standalone_instance')
  427. ;;
  428. create-protocol-filter)
  429. _command_args=('--classname+:' '--host+:' '--port+:' '--protocol+:' '--target+:target:_asadmin_targets_cluster_config_das_standalone_instance')
  430. ;;
  431. create-protocol-finder)
  432. _command_args=('--classname+:' '--host+:' '--port+:' '--protocol+:' '--target+:target:_asadmin_targets_cluster_config_das_standalone_instance' '--targetprotocol+:')
  433. ;;
  434. create-resource-adapter-config)
  435. _command_args=('--host+:' '--objecttype+:' '--port+:' '--property+:' '--target+:' '--threadpoolid+:')
  436. ;;
  437. create-resource-ref)
  438. _command_args=('--enabled+:enabled:(true false)' '--host+:' '--port+:' '--target+:target:_asadmin_targets_cluster_das_standalone_instance')
  439. ;;
  440. create-service)
  441. _command_args=('*:instances:_asadmin_instances' '--domaindir+:domaindir:directory:_files' '--dry-run+:dry-run:(true false)' '--force+:force:(true false)' '--name+:' '--node+:node:_asadmin_nodes' '--nodedir+:' '--serviceproperties+:' '--serviceuser+:')
  442. ;;
  443. create-ssl)
  444. _command_args=('--certname+:' '--clientauthenabled+:clientauthenabled:(true false)' '--host+:' '--port+:' '--ssl2ciphers+:' '--ssl2enabled+:ssl2enabled:(true false)' '--ssl3enabled+:ssl3enabled:(true false)' '--ssl3tlsciphers+:' '--target+:target:_asadmin_targets_cluster_config_das_standalone_instance' '--tlsenabled+:tlsenabled:(true false)' '--tlsrollbackenabled+:tlsrollbackenabled:(true false)' '--type+:type:(network-listener http-listener iiop-listener iiop-service jmx-connector)')
  445. ;;
  446. create-system-properties)
  447. _command_args=('--host+:' '--port+:' '--target+:target:_asadmin_targets_cluster_clustered_instance_config_das_domain_standalone_instance')
  448. ;;
  449. create-threadpool)
  450. _command_args=('--host+:' '--idletimeout+:' '--maxqueuesize+:' '--maxthreadpoolsize+:' '--minthreadpoolsize+:' '--port+:' '--target+:target:_asadmin_targets_cluster_config_das_standalone_instance' '--workqueues+:')
  451. ;;
  452. create-transport)
  453. _command_args=('--acceptorthreads+:' '--buffersizebytes+:' '--bytebuffertype+:' '--classname+:' '--displayconfiguration+:displayconfiguration:(true false)' '--enablesnoop+:enablesnoop:(true false)' '--host+:' '--idlekeytimeoutseconds+:' '--maxconnectionscount+:' '--port+:' '--readtimeoutmillis+:' '--selectionkeyhandler+:' '--selectorpolltimeoutmillis+:' '--target+:target:_asadmin_targets_cluster_config_das_standalone_instance' '--tcpnodelay+:tcpnodelay:(true false)' '--writetimeoutmillis+:')
  454. ;;
  455. create-virtual-server)
  456. _command_args=('--defaultwebmodule+:' '--host+:' '--hosts+:' '--httplisteners+:' '--logfile+:' '--networklisteners+:' '--port+:' '--property+:' '--state+:state:(on off disabled)' '--target+:target:_asadmin_targets_cluster_config_das_standalone_instance')
  457. ;;
  458. delete-admin-object)
  459. _command_args=('--host+:' '--port+:' '--target+:target:_asadmin_targets_cluster_config_das_standalone_instance')
  460. ;;
  461. delete-application-ref)
  462. _command_args=('--cascade+:cascade:(true false)' '--host+:' '--port+:' '--target+:target:_asadmin_targets_cluster_das_standalone_instance')
  463. ;;
  464. delete-audit-module)
  465. _command_args=('--host+:' '--port+:' '--target+:target:_asadmin_targets_cluster_config_das_standalone_instance')
  466. ;;
  467. delete-auth-realm)
  468. _command_args=('--host+:' '--port+:' '--target+:target:_asadmin_targets_cluster_config_das_standalone_instance')
  469. ;;
  470. delete-config)
  471. _command_args=('--host+:' '--port+:')
  472. ;;
  473. delete-connector-connection-pool)
  474. _command_args=('--cascade+:cascade:(true false)' '--host+:' '--port+:' '--target+:')
  475. ;;
  476. delete-connector-resource)
  477. _command_args=('--host+:' '--port+:' '--target+:target:_asadmin_targets_cluster_das_domain_standalone_instance')
  478. ;;
  479. delete-connector-security-map)
  480. _command_args=('--host+:' '--poolname+:' '--port+:' '--target+:')
  481. ;;
  482. delete-connector-work-security-map)
  483. _command_args=('--host+:' '--port+:' '--raname+:')
  484. ;;
  485. delete-custom-resource)
  486. _command_args=('--host+:' '--port+:' '--target+:target:_asadmin_targets_cluster_das_domain_standalone_instance')
  487. ;;
  488. delete-domain)
  489. _command_args=('--domaindir+:')
  490. ;;
  491. delete-file-user)
  492. _command_args=('--authrealmname+:' '--host+:' '--port+:' '--target+:target:_asadmin_targets_cluster_config_das_standalone_instance')
  493. ;;
  494. delete-http)
  495. _command_args=('--host+:' '--port+:' '--target+:target:_asadmin_targets_cluster_config_das_standalone_instance')
  496. ;;
  497. delete-http-health-checker)
  498. _command_args=('--config+:' '--host+:' '--port+:')
  499. ;;
  500. delete-http-lb-ref)
  501. _command_args=('--config+:' '--force+:' '--host+:' '--lbname+:' '--port+:')
  502. ;;
  503. delete-http-listener)
  504. _command_args=('--host+:' '--port+:' '--secure+:' '--target+:target:_asadmin_targets_cluster_config_das_standalone_instance')
  505. ;;
  506. delete-http-redirect)
  507. _command_args=('--host+:' '--port+:' '--target+:target:_asadmin_targets_cluster_config_das_standalone_instance')
  508. ;;
  509. delete-iiop-listener)
  510. _command_args=('--host+:' '--port+:' '--target+:target:_asadmin_targets_cluster_config_das_standalone_instance')
  511. ;;
  512. delete-instance)
  513. _command_args=('*:instances:_asadmin_instances' '--host+:' '--port+:' '--terse+:terse:(true false)')
  514. ;;
  515. delete-jacc-provider)
  516. _command_args=('--host+:' '--port+:' '--target+:target:_asadmin_targets_cluster_config_das_standalone_instance')
  517. ;;
  518. delete-javamail-resource)
  519. _command_args=('--host+:' '--port+:' '--target+:target:_asadmin_targets_cluster_das_domain_standalone_instance')
  520. ;;
  521. delete-jdbc-connection-pool)
  522. _command_args=('--cascade+:cascade:(true false)' '--host+:' '--port+:' '--target+:')
  523. ;;
  524. delete-jdbc-resource)
  525. _command_args=('--host+:' '--port+:' '--target+:target:_asadmin_targets_cluster_das_domain_standalone_instance')
  526. ;;
  527. delete-jms-host)
  528. _command_args=('--host+:' '--port+:' '--target+:target:_asadmin_targets_cluster_config_das_standalone_instance')
  529. ;;
  530. delete-jms-resource)
  531. _command_args=('--host+:' '--port+:' '--target+:target:_asadmin_targets_cluster_das_domain_standalone_instance')
  532. ;;
  533. delete-jmsdest)
  534. _command_args=('--desttype+:' '--host+:' '--port+:' '--target+:target:_asadmin_targets_cluster_config_das_standalone_instance')
  535. ;;
  536. delete-jndi-resource)
  537. _command_args=('--host+:' '--port+:' '--target+:target:_asadmin_targets_cluster_das_domain_standalone_instance')
  538. ;;
  539. delete-jvm-options)
  540. _command_args=('--host+:' '--port+:' '--profiler+:profiler:(true false)' '--target+:target:_asadmin_targets_cluster_config_das_standalone_instance')
  541. ;;
  542. delete-lifecycle-module)
  543. _command_args=('--host+:' '--port+:' '--target+:target:_asadmin_targets_cluster_das_domain_standalone_instance')
  544. ;;
  545. delete-local-instance)
  546. _command_args=('*:instances:_asadmin_instances' '--node+:node:_asadmin_nodes' '--nodedir+:')
  547. ;;
  548. delete-log-levels)
  549. _command_args=('--host+:' '--port+:' '--target+:target:_asadmin_targets_cluster_config_das_standalone_instance')
  550. ;;
  551. delete-message-security-provider)
  552. _command_args=('--host+:' '--layer+:' '--port+:' '--target+:target:_asadmin_targets_cluster_config_das_standalone_instance')
  553. ;;
  554. delete-network-listener)
  555. _command_args=('--host+:' '--port+:' '--target+:target:_asadmin_targets_cluster_config_das_standalone_instance')
  556. ;;
  557. delete-node-config)
  558. _command_args=('*:nodes:_asadmin_nodes_config' '--host+:' '--port+:')
  559. ;;
  560. delete-node-dcom)
  561. _command_args=('*:nodes:_asadmin_nodes_dcom' '--force+:force:(true false)' '--host+:' '--port+:' '--uninstall+:uninstall:(true false)')
  562. ;;
  563. delete-node-ssh)
  564. _command_args=('*:nodes:_asadmin_nodes_ssh' '--force+:force:(true false)' '--host+:' '--port+:' '--uninstall+:uninstall:(true false)')
  565. ;;
  566. delete-password-alias)
  567. _command_args=('--host+:' '--port+:')
  568. ;;
  569. delete-profiler)
  570. _command_args=('--host+:' '--port+:' '--target+:target:_asadmin_targets_cluster_config_das_standalone_instance')
  571. ;;
  572. delete-protocol)
  573. _command_args=('--host+:' '--port+:' '--target+:target:_asadmin_targets_cluster_config_das_standalone_instance')
  574. ;;
  575. delete-protocol-filter)
  576. _command_args=('--host+:' '--port+:' '--protocol+:' '--target+:target:_asadmin_targets_cluster_config_das_standalone_instance')
  577. ;;
  578. delete-protocol-finder)
  579. _command_args=('--host+:' '--port+:' '--protocol+:' '--target+:target:_asadmin_targets_cluster_config_das_standalone_instance')
  580. ;;
  581. delete-resource-adapter-config)
  582. _command_args=('--host+:' '--port+:' '--target+:')
  583. ;;
  584. delete-resource-ref)
  585. _command_args=('--host+:' '--port+:' '--target+:target:_asadmin_targets_cluster_das_standalone_instance')
  586. ;;
  587. delete-ssl)
  588. _command_args=('--host+:' '--port+:' '--target+:target:_asadmin_targets_cluster_config_das_standalone_instance' '--type+:type:(network-listener http-listener iiop-listener iiop-service jmx-connector)')
  589. ;;
  590. delete-system-property)
  591. _command_args=('--host+:' '--port+:' '--target+:target:_asadmin_targets_cluster_clustered_instance_config_das_domain_standalone_instance')
  592. ;;
  593. delete-threadpool)
  594. _command_args=('--host+:' '--port+:' '--target+:target:_asadmin_targets_cluster_config_das_standalone_instance')
  595. ;;
  596. delete-transport)
  597. _command_args=('--host+:' '--port+:' '--target+:target:_asadmin_targets_cluster_config_das_standalone_instance')
  598. ;;
  599. delete-virtual-server)
  600. _command_args=('--host+:' '--port+:' '--target+:target:_asadmin_targets_cluster_config_das_standalone_instance')
  601. ;;
  602. deploy)
  603. _command_args=('*:directory:_files' '--asyncreplication+:asyncreplication:(true false)' '--availabilityenabled+:availabilityenabled:(true false)' '--contextroot+:' '--createtables+:createtables:(true false)' '--dbvendorname+:' '--deploymentplan+:deploymentplan:directory:_files' '--description+:' '--dropandcreatetables+:dropandcreatetables:(true false)' '--enabled+:enabled:(true false)' '--force+:force:(true false)' '--generatermistubs+:generatermistubs:(true false)' '--host+:' '--isredeploy+:isredeploy:(true false)' '--keepfailedstubs+:keepfailedstubs:(true false)' '--keepreposdir+:keepreposdir:(true false)' '--keepstate+:keepstate:(true false)' '--lbenabled+:lbenabled:(true false)' '--libraries+:' '--logreportederrors+:logreportederrors:(true false)' '--name+:' '--port+:' '--precompilejsp+:precompilejsp:(true false)' '--properties+:' '--property+:' '--retrieve+:' '--target+:target:_asadmin_targets_cluster_das_domain_standalone_instance' '--type+:' '--uniquetablenames+:uniquetablenames:(true false)' '--verify+:verify:(true false)' '--virtualservers+:')
  604. ;;
  605. deploydir)
  606. _command_args=('*:directory:_files' '--asyncreplication+:asyncreplication:(true false)' '--availabilityenabled+:availabilityenabled:(true false)' '--contextroot+:' '--createtables+:createtables:(true false)' '--dbvendorname+:' '--deploymentplan+:deploymentplan:directory:_files' '--description+:' '--dropandcreatetables+:dropandcreatetables:(true false)' '--enabled+:enabled:(true false)' '--force+:force:(true false)' '--generatermistubs+:generatermistubs:(true false)' '--host+:' '--isredeploy+:isredeploy:(true false)' '--keepfailedstubs+:keepfailedstubs:(true false)' '--keepreposdir+:keepreposdir:(true false)' '--keepstate+:keepstate:(true false)' '--lbenabled+:lbenabled:(true false)' '--libraries+:' '--logreportederrors+:logreportederrors:(true false)' '--name+:' '--port+:' '--precompilejsp+:precompilejsp:(true false)' '--properties+:' '--property+:' '--retrieve+:' '--target+:target:_asadmin_targets_cluster_das_domain_standalone_instance' '--type+:' '--uniquetablenames+:uniquetablenames:(true false)' '--verify+:verify:(true false)' '--virtualservers+:')
  607. ;;
  608. disable)
  609. _command_args=('--cascade+:cascade:(true false)' '--droptables+:droptables:(true false)' '--host+:' '--isredeploy+:isredeploy:(true false)' '--isundeploy+:isundeploy:(true false)' '--keepreposdir+:keepreposdir:(true false)' '--keepstate+:keepstate:(true false)' '--port+:' '--properties+:' '--target+:target:_asadmin_targets_cluster_clustered_instance_das_domain_standalone_instance')
  610. ;;
  611. disable-http-lb-application)
  612. _command_args=('--host+:' '--name+:' '--port+:' '--timeout+:')
  613. ;;
  614. disable-http-lb-server)
  615. _command_args=('--host+:' '--port+:' '--timeout+:')
  616. ;;
  617. disable-monitoring)
  618. _command_args=('--host+:' '--modules+:' '--port+:' '--target+:target:_asadmin_targets_cluster_config_das_standalone_instance')
  619. ;;
  620. disable-secure-admin)
  621. _command_args=('--host+:' '--port+:')
  622. ;;
  623. enable)
  624. _command_args=('--host+:' '--port+:' '--target+:target:_asadmin_targets_cluster_clustered_instance_das_domain_standalone_instance')
  625. ;;
  626. enable-http-lb-application)
  627. _command_args=('--host+:' '--name+:' '--port+:')
  628. ;;
  629. enable-http-lb-server)
  630. _command_args=('--host+:' '--port+:')
  631. ;;
  632. enable-monitoring)
  633. _command_args=('--dtrace+:dtrace:(true false)' '--host+:' '--mbean+:mbean:(true false)' '--modules+:' '--options+:' '--pid+:' '--port+:' '--target+:target:_asadmin_targets_cluster_config_das_standalone_instance')
  634. ;;
  635. enable-secure-admin)
  636. _command_args=('--adminalias+:' '--host+:' '--instancealias+:' '--port+:')
  637. ;;
  638. export-http-lb-config)
  639. _command_args=('--config+:' '--host+:' '--lbname+:' '--lbtargets+:' '--port+:' '--property+:' '--retrievefile+:retrievefile:(true false)')
  640. ;;
  641. export-sync-bundle)
  642. _command_args=('--host+:' '--port+:' '--retrieve+:retrieve:(true false)' '--target+:')
  643. ;;
  644. flush-connection-pool)
  645. _command_args=('--appname+:' '--host+:' '--modulename+:' '--port+:')
  646. ;;
  647. flush-jmsdest)
  648. _command_args=('--desttype+:' '--host+:' '--port+:' '--target+:target:_asadmin_targets_cluster_config_das_standalone_instance')
  649. ;;
  650. freeze-transaction-service)
  651. _command_args=('--host+:' '--port+:' '--target+:target:_asadmin_targets_cluster_clustered_instance_config_das_standalone_instance')
  652. ;;
  653. generate-domain-schema)
  654. _command_args=('--format+:' '--host+:' '--port+:' '--showdeprecated+:showdeprecated:(true false)' '--showsubclasses+:showsubclasses:(true false)')
  655. ;;
  656. generate-jvm-report)
  657. _command_args=('--host+:' '--port+:' '--target+:target:_asadmin_targets_clustered_instance_das_standalone_instance' '--type+:type:(summary thread class memory log)')
  658. ;;
  659. get)
  660. _command_args=('--host+:' '--monitor+:monitor:(true false)' '--port+:')
  661. ;;
  662. get-client-stubs)
  663. _command_args=('--appname+:' '--host+:' '--port+:')
  664. ;;
  665. get-health)
  666. _command_args=('--host+:' '--port+:')
  667. ;;
  668. help)
  669. _describe -t help-commands "asadmin help command" _1st_arguments
  670. ;;
  671. import-sync-bundle)
  672. _command_args=('--instance+:' '--node+:node:_asadmin_nodes' '--nodedir+:')
  673. ;;
  674. install-node)
  675. _command_args=('--archive+:' '--create+:create:(true false)' '--force+:force:(true false)' '--installdir+:' '--save+:save:(true false)' '--sshkeyfile+:' '--sshport+:' '--sshuser+:')
  676. ;;
  677. install-node-dcom)
  678. _command_args=('--archive+:' '--create+:create:(true false)' '--force+:force:(true false)' '--installdir+:' '--save+:save:(true false)' '--windowsdomain+:' '--windowsuser+:')
  679. ;;
  680. install-node-ssh)
  681. _command_args=('--archive+:' '--create+:create:(true false)' '--force+:force:(true false)' '--installdir+:' '--save+:save:(true false)' '--sshkeyfile+:' '--sshport+:' '--sshuser+:')
  682. ;;
  683. jms-ping)
  684. _command_args=('--host+:' '--port+:' '--target+:target:_asadmin_targets_cluster_clustered_instance_config_das_standalone_instance')
  685. ;;
  686. list)
  687. _command_args=('--host+:' '--monitor+:monitor:(true false)' '--port+:')
  688. ;;
  689. list-admin-objects)
  690. _command_args=('*:targets:_asadmin_targets_cluster_clustered_instance_config_das_standalone_instance' '--host+:' '--port+:')
  691. ;;
  692. list-application-refs)
  693. _command_args=('*:targets:_asadmin_targets_cluster_das_standalone_instance' '--host+:' '--long+:long:(true false)' '--port+:' '--terse+:terse:(true false)')
  694. ;;
  695. list-applications)
  696. _command_args=('*:targets:_asadmin_targets_cluster_das_domain_standalone_instance' '--host+:' '--long+:long:(true false)' '--port+:' '--resources+:resources:(true false)' '--subcomponents+:subcomponents:(true false)' '--terse+:terse:(true false)' '--type+:')
  697. ;;
  698. list-audit-modules)
  699. _command_args=('*:targets:_asadmin_targets_cluster_clustered_instance_config_das_standalone_instance' '--host+:' '--port+:')
  700. ;;
  701. list-auth-realms)
  702. _command_args=('*:targets:_asadmin_targets_cluster_clustered_instance_config_das_standalone_instance' '--host+:' '--port+:')
  703. ;;
  704. list-backups)
  705. _command_args=('--backupconfig+:' '--backupdir+:' '--domaindir+:' '--long+:long:(true false)')
  706. ;;
  707. list-clusters)
  708. _command_args=('--host+:' '--port+:')
  709. ;;
  710. list-commands)
  711. _command_args=('--localonly+:localonly:(true false)' '--remoteonly+:remoteonly:(true false)')
  712. ;;
  713. list-components)
  714. _command_args=('*:targets:_asadmin_targets_cluster_das_domain_standalone_instance' '--host+:' '--long+:long:(true false)' '--port+:' '--resources+:resources:(true false)' '--subcomponents+:subcomponents:(true false)' '--terse+:terse:(true false)' '--type+:')
  715. ;;
  716. list-configs)
  717. _command_args=('*:targets:_asadmin_targets_cluster_clustered_instance_config_das_domain_standalone_instance' '--host+:' '--port+:')
  718. ;;
  719. list-connector-connection-pools)
  720. _command_args=('--host+:' '--port+:')
  721. ;;
  722. list-connector-resources)
  723. _command_args=('*:targets:_asadmin_targets_cluster_clustered_instance_das_domain_standalone_instance' '--host+:' '--port+:')
  724. ;;
  725. list-connector-security-maps)
  726. _command_args=('--host+:' '--long+:long:(true false)' '--port+:' '--securitymap+:' '--target+:target:_asadmin_targets_cluster_clustered_instance_das_domain_standalone_instance')
  727. ;;
  728. list-connector-work-security-maps)
  729. _command_args=('--host+:' '--port+:' '--securitymap+:')
  730. ;;
  731. list-containers)
  732. _command_args=('--host+:' '--port+:')
  733. ;;
  734. list-custom-resources)
  735. _command_args=('*:targets:_asadmin_targets_cluster_clustered_instance_das_domain_standalone_instance' '--host+:' '--port+:' '--target+:target:_asadmin_targets_cluster_clustered_instance_das_domain_standalone_instance')
  736. ;;
  737. list-descriptors)
  738. _command_args=('--host+:' '--port+:')
  739. ;;
  740. list-domains)
  741. _command_args=('--domaindir+:')
  742. ;;
  743. list-file-groups)
  744. _command_args=('--authrealmname+:' '--host+:' '--name+:' '--port+:')
  745. ;;
  746. list-file-users)
  747. _command_args=('*:targets:_asadmin_targets_cluster_clustered_instance_config_das_standalone_instance' '--authrealmname+:' '--host+:' '--port+:')
  748. ;;
  749. list-http-lb-configs)
  750. _command_args=('--host+:' '--port+:')
  751. ;;
  752. list-http-listeners)
  753. _command_args=('*:targets:_asadmin_targets_cluster_config_das_standalone_instance' '--host+:' '--long+:long:(true false)' '--port+:')
  754. ;;
  755. list-iiop-listeners)
  756. _command_args=('*:targets:_asadmin_targets_cluster_clustered_instance_config_das_domain_standalone_instance' '--host+:' '--port+:')
  757. ;;
  758. list-instances)
  759. _command_args=('--host+:' '--long+:long:(true false)' '--nostatus+:nostatus:(true false)' '--port+:' '--standaloneonly+:standaloneonly:(true false)' '--timeoutmsec+:')
  760. ;;
  761. list-jacc-providers)
  762. _command_args=('*:targets:_asadmin_targets_cluster_clustered_instance_config_das_standalone_instance' '--host+:' '--port+:')
  763. ;;
  764. list-javamail-resources)
  765. _command_args=('*:targets:_asadmin_targets_cluster_clustered_instance_das_domain_standalone_instance' '--host+:' '--port+:' '--target+:target:_asadmin_targets_cluster_clustered_instance_das_domain_standalone_instance')
  766. ;;
  767. list-jdbc-connection-pools)
  768. _command_args=('--host+:' '--port+:')
  769. ;;
  770. list-jdbc-resources)
  771. _command_args=('--host+:' '--port+:')
  772. ;;
  773. list-jms-hosts)
  774. _command_args=('--host+:' '--port+:' '--target+:target:_asadmin_targets_cluster_config_das_standalone_instance')
  775. ;;
  776. list-jms-resources)
  777. _command_args=('*:targets:_asadmin_targets_cluster_das_domain_standalone_instance' '--host+:' '--port+:' '--restype+:')
  778. ;;
  779. list-jmsdest)
  780. _command_args=('*:targets:_asadmin_targets_cluster_config_das_standalone_instance' '--desttype+:' '--host+:' '--port+:' '--property+:')
  781. ;;
  782. list-jndi-entries)
  783. _command_args=('*:targets:_asadmin_targets_cluster_clustered_instance_das_domain_standalone_instance' '--context+:' '--host+:' '--port+:')
  784. ;;
  785. list-jndi-resources)
  786. _command_args=('*:targets:_asadmin_targets_cluster_clustered_instance_das_domain_standalone_instance' '--host+:' '--port+:' '--target+:target:_asadmin_targets_cluster_clustered_instance_das_domain_standalone_instance')
  787. ;;
  788. list-jvm-options)
  789. _command_args=('--host+:' '--port+:' '--profiler+:profiler:(true false)' '--target+:target:_asadmin_targets_cluster_config_das_standalone_instance')
  790. ;;
  791. list-libraries)
  792. _command_args=('--host+:' '--port+:' '--type+:type:(common ext app)')
  793. ;;
  794. list-lifecycle-modules)
  795. _command_args=('*:targets:_asadmin_targets_cluster_das_domain_standalone_instance' '--host+:' '--port+:' '--terse+:terse:(true false)')
  796. ;;
  797. list-log-attributes)
  798. _command_args=('*:targets:_asadmin_targets_cluster_clustered_instance_config_das_standalone_instance' '--host+:' '--port+:')
  799. ;;
  800. list-log-levels)
  801. _command_args=('--host+:' '--port+:')
  802. ;;
  803. list-message-security-providers)
  804. _command_args=('*:targets:_asadmin_targets_cluster_clustered_instance_config_das_standalone_instance' '--host+:' '--layer+:layer:(SOAP HttpServlet)' '--port+:')
  805. ;;
  806. list-modules)
  807. _command_args=('--host+:' '--port+:')
  808. ;;
  809. list-network-listeners)
  810. _command_args=('*:targets:_asadmin_targets_cluster_config_das_standalone_instance' '--host+:' '--port+:')
  811. ;;
  812. list-nodes)
  813. _command_args=('--host+:' '--long+:long:(true false)' '--port+:' '--terse+:terse:(true false)')
  814. ;;
  815. list-nodes-config)
  816. _command_args=('--host+:' '--long+:long:(true false)' '--port+:' '--terse+:terse:(true false)')
  817. ;;
  818. list-nodes-dcom)
  819. _command_args=('--host+:' '--long+:long:(true false)' '--port+:' '--terse+:terse:(true false)')
  820. ;;
  821. list-nodes-ssh)
  822. _command_args=('--host+:' '--long+:long:(true false)' '--port+:' '--terse+:terse:(true false)')
  823. ;;
  824. list-password-aliases)
  825. _command_args=('--host+:' '--port+:')
  826. ;;
  827. list-persistence-types)
  828. _command_args=('--host+:' '--port+:' '--type+:')
  829. ;;
  830. list-protocol-filters)
  831. _command_args=('--host+:' '--port+:' '--target+:target:_asadmin_targets_cluster_config_das_standalone_instance')
  832. ;;
  833. list-protocol-finders)
  834. _command_args=('--host+:' '--port+:' '--target+:target:_asadmin_targets_cluster_config_das_standalone_instance')
  835. ;;
  836. list-protocols)
  837. _command_args=('*:targets:_asadmin_targets_cluster_config_das_standalone_instance' '--host+:' '--port+:')
  838. ;;
  839. list-resource-adapter-configs)
  840. _command_args=('--host+:' '--long+:long:(true false)' '--port+:' '--raname+:')
  841. ;;
  842. list-resource-refs)
  843. _command_args=('*:targets:_asadmin_targets_cluster_clustered_instance_das_standalone_instance' '--host+:' '--port+:')
  844. ;;
  845. list-sub-components)
  846. _command_args=('--appname+:' '--host+:' '--port+:' '--resources+:resources:(true false)' '--terse+:terse:(true false)' '--type+:')
  847. ;;
  848. list-supported-cipher-suites)
  849. _command_args=('--host+:' '--port+:')
  850. ;;
  851. list-system-properties)
  852. _command_args=('*:targets:_asadmin_targets_cluster_clustered_instance_config_das_domain_standalone_instance' '--host+:' '--port+:')
  853. ;;
  854. list-threadpools)
  855. _command_args=('--host+:' '--port+:')
  856. ;;
  857. list-timers)
  858. _command_args=('*:targets:_asadmin_targets_cluster_das_standalone_instance' '--host+:' '--port+:')
  859. ;;
  860. list-transports)
  861. _command_args=('*:targets:_asadmin_targets_cluster_config_das_standalone_instance' '--host+:' '--port+:')
  862. ;;
  863. list-virtual-servers)
  864. _command_args=('*:targets:_asadmin_targets_cluster_config_das_standalone_instance' '--host+:' '--port+:' '--target+:target:_asadmin_targets_cluster_config_das_standalone_instance')
  865. ;;
  866. list-web-context-param)
  867. _command_args=('--host+:' '--name+:' '--port+:')
  868. ;;
  869. list-web-env-entry)
  870. _command_args=('--host+:' '--name+:' '--port+:')
  871. ;;
  872. login)
  873. _command_args=('--host+:' '--port+:' '--target+:target:_asadmin_targets_cluster_das_standalone_instance')
  874. ;;
  875. migrate-timers)
  876. _command_args=('--host+:' '--port+:' '--target+:target:_asadmin_targets_clustered_instance_das')
  877. ;;
  878. monitor)
  879. _command_args=('--filename+:filename:directory:_files' '--filter+:' '--interval+:' '--type+:')
  880. ;;
  881. multimode)
  882. _command_args=('--encoding+:' '--file+:file:directory:_files' '--printprompt+:printprompt:(true false)')
  883. ;;
  884. ping-connection-pool)
  885. _command_args=('--appname+:' '--host+:' '--modulename+:' '--port+:' '--target+:')
  886. ;;
  887. ping-node-dcom)
  888. _command_args=('*:nodes:_asadmin_nodes_dcom' '--host+:' '--port+:' '--validate+:validate:(true false)')
  889. ;;
  890. ping-node-ssh)
  891. _command_args=('*:nodes:_asadmin_nodes_ssh' '--host+:' '--port+:' '--validate+:validate:(true false)')
  892. ;;
  893. recover-transactions)
  894. _command_args=('--host+:' '--port+:' '--target+:target:_asadmin_targets_clustered_instance_das_standalone_instance' '--transactionlogdir+:')
  895. ;;
  896. redeploy)
  897. _command_args=('*:directory:_files' '--asyncreplication+:asyncreplication:(true false)' '--availabilityenabled+:availabilityenabled:(true false)' '--contextroot+:' '--createtables+:createtables:(true false)' '--dbvendorname+:' '--deploymentplan+:deploymentplan:directory:_files' '--description+:' '--dropandcreatetables+:dropandcreatetables:(true false)' '--enabled+:enabled:(true false)' '--force+:force:(true false)' '--generatermistubs+:generatermistubs:(true false)' '--host+:' '--isredeploy+:isredeploy:(true false)' '--keepfailedstubs+:keepfailedstubs:(true false)' '--keepreposdir+:keepreposdir:(true false)' '--keepstate+:keepstate:(true false)' '--lbenabled+:lbenabled:(true false)' '--libraries+:' '--logreportederrors+:logreportederrors:(true false)' '--name+:' '--port+:' '--precompilejsp+:precompilejsp:(true false)' '--properties+:' '--property+:' '--retrieve+:' '--target+:target:_asadmin_targets_cluster_das_domain_standalone_instance' '--type+:' '--uniquetablenames+:uniquetablenames:(true false)' '--verify+:verify:(true false)' '--virtualservers+:')
  898. ;;
  899. remove-library)
  900. _command_args=('*:libraries:_asadmin_libraries' '--host+:' '--port+:' '--type+:type:(common ext app)')
  901. ;;
  902. restart-domain)
  903. _command_args=('--debug+:debug:(true false)' '--domaindir+:' '--force+:force:(true false)' '--kill+:kill:(true false)')
  904. ;;
  905. restart-instance)
  906. _command_args=('*:instances:_asadmin_instances' '--debug+:' '--host+:' '--port+:')
  907. ;;
  908. restart-local-instance)
  909. _command_args=('*:instances:_asadmin_instances' '--debug+:debug:(true false)' '--force+:force:(true false)' '--kill+:kill:(true false)' '--node+:node:_asadmin_nodes' '--nodedir+:')
  910. ;;
  911. restore-domain)
  912. _command_args=('--backupconfig+:' '--backupdir+:' '--description+:' '--domaindir+:' '--filename+:' '--force+:force:(true false)' '--long+:long:(true false)')
  913. ;;
  914. rollback-transaction)
  915. _command_args=('--host+:' '--port+:' '--target+:target:_asadmin_targets_clustered_instance_das_standalone_instance' '--transaction_id+:')
  916. ;;
  917. rotate-log)
  918. _command_args=('--host+:' '--port+:' '--target+:target:_asadmin_targets_cluster_clustered_instance_das_standalone_instance')
  919. ;;
  920. set)
  921. _command_args=('--host+:' '--port+:')
  922. ;;
  923. set-log-attributes)
  924. _command_args=('--host+:' '--port+:' '--target+:target:_asadmin_targets_cluster_config_das_standalone_instance')
  925. ;;
  926. set-log-levels)
  927. _command_args=('--host+:' '--port+:' '--target+:target:_asadmin_targets_cluster_config_das_standalone_instance')
  928. ;;
  929. set-web-context-param)
  930. _command_args=('--description+:' '--host+:' '--ignoredescriptoritem+:ignoredescriptoritem:(true false)' '--name+:' '--port+:' '--value+:')
  931. ;;
  932. set-web-env-entry)
  933. _command_args=('--description+:' '--host+:' '--ignoredescriptoritem+:ignoredescriptoritem:(true false)' '--name+:' '--port+:' '--type+:' '--value+:')
  934. ;;
  935. setup-ssh)
  936. _command_args=('--generatekey+:generatekey:(true false)' '--sshkeyfile+:' '--sshport+:' '--sshpublickeyfile+:' '--sshuser+:')
  937. ;;
  938. show-component-status)
  939. _command_args=('--host+:' '--port+:' '--target+:target:_asadmin_targets_cluster_clustered_instance_das_domain_standalone_instance')
  940. ;;
  941. start-cluster)
  942. _command_args=('*:clusters:_asadmin_clusters' '--autohadboverride+:autohadboverride:(true false)' '--host+:' '--port+:' '--verbose+:verbose:(true false)')
  943. ;;
  944. start-database)
  945. _command_args=('--dbhome+:' '--dbhost+:' '--dbport+:' '--jvmoptions+:')
  946. ;;
  947. start-domain)
  948. _command_args=('--debug+:debug:(true false)' '--domaindir+:' '--upgrade+:upgrade:(true false)' '--verbose+:verbose:(true false)')
  949. ;;
  950. start-instance)
  951. _command_args=('*:instances:_asadmin_instances' '--debug+:debug:(true false)' '--host+:' '--port+:' '--setenv+:' '--sync+:sync:(none normal full)' '--terse+:terse:(true false)')
  952. ;;
  953. start-local-instance)
  954. _command_args=('*:instances:_asadmin_instances' '--debug+:debug:(true false)' '--node+:node:_asadmin_nodes' '--nodedir+:' '--sync+:sync:(none normal full)' '--verbose+:verbose:(true false)')
  955. ;;
  956. stop-cluster)
  957. _command_args=('*:clusters:_asadmin_clusters' '--autohadboverride+:autohadboverride:(true false)' '--host+:' '--kill+:kill:(true false)' '--port+:' '--verbose+:verbose:(true false)')
  958. ;;
  959. stop-database)
  960. _command_args=('--dbhost+:' '--dbport+:' '--dbuser+:')
  961. ;;
  962. stop-domain)
  963. _command_args=('--domaindir+:' '--force+:force:(true false)' '--kill+:kill:(true false)')
  964. ;;
  965. stop-instance)
  966. _command_args=('*:instances:_asadmin_instances' '--force+:force:(true false)' '--host+:' '--kill+:kill:(true false)' '--port+:')
  967. ;;
  968. stop-local-instance)
  969. _command_args=('*:instances:_asadmin_instances' '--force+:force:(true false)' '--kill+:kill:(true false)' '--node+:node:_asadmin_nodes' '--nodedir+:')
  970. ;;
  971. test-upgrade)
  972. _command_args=('--host+:' '--port+:')
  973. ;;
  974. undeploy)
  975. _command_args=('*:applications:_asadmin_applications' '--cascade+:cascade:(true false)' '--droptables+:droptables:(true false)' '--host+:' '--isredeploy+:isredeploy:(true false)' '--keepreposdir+:keepreposdir:(true false)' '--keepstate+:keepstate:(true false)' '--port+:' '--properties+:' '--target+:target:_asadmin_targets_cluster_das_domain_standalone_instance')
  976. ;;
  977. unfreeze-transaction-service)
  978. _command_args=('--host+:' '--port+:' '--target+:target:_asadmin_targets_cluster_clustered_instance_config_das_standalone_instance')
  979. ;;
  980. uninstall-node)
  981. _command_args=('--force+:force:(true false)' '--installdir+:' '--sshkeyfile+:' '--sshport+:' '--sshuser+:')
  982. ;;
  983. uninstall-node-dcom)
  984. _command_args=('--force+:force:(true false)' '--installdir+:' '--windowsdomain+:' '--windowsuser+:')
  985. ;;
  986. uninstall-node-ssh)
  987. _command_args=('--force+:force:(true false)' '--installdir+:' '--sshkeyfile+:' '--sshport+:' '--sshuser+:')
  988. ;;
  989. unset-web-context-param)
  990. _command_args=('--host+:' '--name+:' '--port+:')
  991. ;;
  992. unset-web-env-entry)
  993. _command_args=('--host+:' '--name+:' '--port+:')
  994. ;;
  995. update-connector-security-map)
  996. _command_args=('--addprincipals+:' '--addusergroups+:' '--host+:' '--mappedpassword+:' '--mappedusername+:' '--poolname+:' '--port+:' '--removeprincipals+:' '--removeusergroups+:' '--target+:')
  997. ;;
  998. update-connector-work-security-map)
  999. _command_args=('--addgroups+:' '--addprincipals+:' '--host+:' '--port+:' '--raname+:' '--removegroups+:' '--removeprincipals+:')
  1000. ;;
  1001. update-file-user)
  1002. _command_args=('--authrealmname+:' '--groups+:' '--host+:' '--port+:' '--target+:target:_asadmin_targets_cluster_config_das_standalone_instance' '--userpassword+:')
  1003. ;;
  1004. update-node-config)
  1005. _command_args=('*:nodes:_asadmin_nodes_config' '--host+:' '--installdir+:' '--nodedir+:' '--nodehost+:' '--port+:')
  1006. ;;
  1007. update-node-dcom)
  1008. _command_args=('*:nodes:_asadmin_nodes_dcom' '--force+:force:(true false)' '--host+:' '--installdir+:' '--nodedir+:' '--nodehost+:' '--port+:' '--windowsdomain+:' '--windowspassword+:' '--windowsuser+:')
  1009. ;;
  1010. update-node-ssh)
  1011. _command_args=('*:nodes:_asadmin_nodes_ssh' '--force+:force:(true false)' '--host+:' '--installdir+:' '--nodedir+:' '--nodehost+:' '--port+:' '--sshkeyfile+:' '--sshkeypassphrase+:' '--sshpassword+:' '--sshport+:' '--sshuser+:')
  1012. ;;
  1013. update-password-alias)
  1014. _command_args=('--aliaspassword+:' '--host+:' '--port+:')
  1015. ;;
  1016. uptime)
  1017. _command_args=('--host+:' '--milliseconds+:milliseconds:(true false)' '--port+:')
  1018. ;;
  1019. validate-dcom)
  1020. _command_args=('--host+:' '--port+:' '--remotetestdir+:' '--verbose+:verbose:(true false)' '--windowsdomain+:' '--windowspassword+:' '--windowsuser+:')
  1021. ;;
  1022. validate-multicast)
  1023. _command_args=('--bindaddress+:' '--multicastaddress+:' '--multicastport+:' '--sendperiod+:' '--timeout+:' '--timetolive+:' '--verbose+:verbose:(true false)')
  1024. ;;
  1025. verify-domain-xml)
  1026. _command_args=('--domaindir+:')
  1027. ;;
  1028. version)
  1029. _command_args=('--local+:local:(true false)' '--terse+:terse:(true false)' '--verbose+:verbose:(true false)')
  1030. ;;
  1031. esac
  1032. _asadmin_applications() {
  1033. compadd $(command asadmin list-applications --terse | sed 's/\s.*//')
  1034. }
  1035. _asadmin_clusters() {
  1036. compadd $(command asadmin list-clusters --terse | sed 's/\s.*//')
  1037. }
  1038. _asadmin_configs() {
  1039. compadd $(command asadmin list-configs --terse)
  1040. }
  1041. _asadmin_instances() {
  1042. compadd $(command asadmin list-instances --terse --nostatus domain)
  1043. }
  1044. _asadmin_instances_standalone() {
  1045. compadd $(command asadmin list-instances --terse --standaloneonly --nostatus domain)
  1046. }
  1047. _asadmin_libraries() {
  1048. compadd $(command asadmin list-libraries --terse)
  1049. }
  1050. _asadmin_nodes() {
  1051. compadd $(command asadmin list-nodes --terse)
  1052. }
  1053. _asadmin_nodes_config() {
  1054. compadd $(command asadmin list-nodes-config --terse)
  1055. }
  1056. _asadmin_nodes_dcom() {
  1057. compadd $(command asadmin list-nodes-dcom --terse)
  1058. }
  1059. _asadmin_nodes_ssh() {
  1060. compadd $(command asadmin list-nodes-ssh --terse)
  1061. }
  1062. _asadmin_targets() {
  1063. _asadmin_instances
  1064. _asadmin_clusters
  1065. _asadmin_configs
  1066. compadd domain server
  1067. }
  1068. _asadmin_targets_cluster_clustered_instance_config_das_domain_standalone_instance() {
  1069. _asadmin_instances
  1070. _asadmin_clusters
  1071. _asadmin_configs
  1072. compadd domain server
  1073. }
  1074. _asadmin_targets_cluster_clustered_instance_config_das_standalone_instance() {
  1075. _asadmin_instances
  1076. _asadmin_clusters
  1077. _asadmin_configs
  1078. compadd server
  1079. }
  1080. _asadmin_targets_cluster_clustered_instance_das_domain_standalone_instance() {
  1081. _asadmin_instances
  1082. _asadmin_clusters
  1083. compadd domain server
  1084. }
  1085. _asadmin_targets_cluster_clustered_instance_das_standalone_instance() {
  1086. _asadmin_instances
  1087. _asadmin_clusters
  1088. _asadmin_configs
  1089. compadd server
  1090. }
  1091. _asadmin_targets_cluster_config_das_standalone_instance() {
  1092. _asadmin_instances_standalone
  1093. _asadmin_clusters
  1094. _asadmin_configs
  1095. compadd server
  1096. }
  1097. _asadmin_targets_cluster_das_domain_standalone_instance() {
  1098. _asadmin_instances_standalone
  1099. _asadmin_clusters
  1100. compadd domain server
  1101. }
  1102. _asadmin_targets_cluster_das_standalone_instance() {
  1103. _asadmin_instances_standalone
  1104. _asadmin_clusters
  1105. compadd server
  1106. }
  1107. _asadmin_targets_clustered_instance_das() {
  1108. _asadmin_instances
  1109. compadd server
  1110. }
  1111. _asadmin_targets_clustered_instance_das_standalone_instance() {
  1112. _asadmin_instances
  1113. compadd server
  1114. }
  1115. _asadmin_targets_cluster_standalone_instance() {
  1116. _asadmin_clusters
  1117. _asadmin_instances_standalone
  1118. }
  1119. compadd '--help'
  1120. _arguments \
  1121. $_command_args \
  1122. && return 0;