github.com/vmware/govmomi@v0.51.0/cli/pool/help.go (about)

     1  // © Broadcom. All Rights Reserved.
     2  // The term “Broadcom” refers to Broadcom Inc. and/or its subsidiaries.
     3  // SPDX-License-Identifier: Apache-2.0
     4  
     5  package pool
     6  
     7  var poolNameHelp = `
     8  POOL may be an absolute or relative path to a resource pool or a (clustered)
     9  compute host. If it resolves to a compute host, the associated root resource
    10  pool is returned. If a relative path is specified, it is resolved with respect
    11  to the current datacenter's "host" folder (i.e. /ha-datacenter/host).
    12  
    13  Paths to nested resource pools must traverse through the root resource pool of
    14  the selected compute host, i.e. "compute-host/Resources/nested-pool".
    15  
    16  The same globbing rules that apply to the "ls" command apply here. For example,
    17  POOL may be specified as "*/Resources/*" to expand to all resource pools that
    18  are nested one level under the root resource pool, on all (clustered) compute
    19  hosts in the current datacenter.`
    20  
    21  var poolCreateHelp = `
    22  POOL may be an absolute or relative path to a resource pool. The parent of the
    23  specified POOL must be an existing resource pool. If a relative path is
    24  specified, it is resolved with respect to the current datacenter's "host"
    25  folder (i.e. /ha-datacenter/host). The basename of the specified POOL is used
    26  as the name for the new resource pool.
    27  
    28  The same globbing rules that apply to the "ls" command apply here. For example,
    29  the path to the parent resource pool in POOL may be specified as "*/Resources"
    30  to expand to the root resource pools on all (clustered) compute hosts in the
    31  current datacenter.
    32  
    33  For example:
    34    */Resources/test             Create resource pool "test" on all (clustered)
    35                                 compute hosts in the current datacenter.
    36    somehost/Resources/*/nested  Create resource pool "nested" in every
    37                                 resource pool that is a direct descendant of
    38                                 the root resource pool on "somehost".`