## zowe › provisioning › provision › template

Using z/OSMF cloud provisioning services, provision available templates.
You can view available templates using the zowe provisioning list catalog-templates command.

#### Usage

zowe provisioning provision template <name> [options]

#### Positional Arguments

- `name` (string)

  - The name of a z/OSMF cloud provisioning template.

#### Options

- `--properties` | `-p` (string)

  - A sequence of string enclosed "name=value" pairs of prompt variables.
    e.g: "CSQ_MQ_SSID=ZCT1,CSQ_CMD_PFX=!ZCT1".

- `--properties-file` | `--pf` (string)

  - Path to .yml file containing properties.

- `--domain-name` | `--dn` (string)

  - Required if the user has consumer authorization to more than one domain with this template name.

- `--tenant-name` | `--tn` (string)

  - Required if the user has consumer authorization to more than one tenant in the same domain that contains this template name.

- `--user-data-id` | `--udi` (string)

  - ID for the user data specified with user-data. Passed into the software services registry.

- `--user-data` | `--ud` (string)

  - User data that is passed into the software services registry. Can be specified only if user-data-id is provided.

- `--account-info` | `--ai` (string)

  - Account information to use in the JCL JOB statement. The default is the account information that is associated with the resource pool for the tenant.

- `--system-nick-names` | `--snn` (string)

  - Each string is the nickname of the system upon which to provision the software service defined by the template. The field is required if the resource pool associated with the tenant used for this operation is not set up to automatically select a system. Only one nickname is allowed.If the field is provided it is validated.
    e.g: "SYSNAME1,SYSNAME2".

#### Zosmf Connection Options

- `--host` | `-H` (string)

  - The z/OSMF server host name.

- `--port` | `-P` (number)

  - The z/OSMF server port.

    Default value: 443

- `--user` | `-u` (string)

  - Mainframe (z/OSMF) user name, which can be the same as your TSO login.

- `--password` | `--pass` | `--pw` (string)

  - Mainframe (z/OSMF) password, which can be the same as your TSO password.

- `--reject-unauthorized` | `--ru` (boolean)

  - Reject self-signed certificates.

    Default value: true

- `--base-path` | `--bp` (string)

  - The base path for your API mediation layer instance. Specify this option to prepend the base path to all z/OSMF resources when making REST requests. Do not specify this option if you are not using an API mediation layer.

- `--protocol` (string)

  - The protocol used (HTTP or HTTPS)

    Default value: https
    Allowed values: http, https

- `--cert-file` (local file path)

  - The file path to a certificate file to use for authentication

- `--cert-key-file` (local file path)

  - The file path to a certificate key file to use for authentication

#### Profile Options

- `--zosmf-profile` | `--zosmf-p` (string)

  - The name of a (zosmf) profile to load for this command execution.

- `--base-profile` | `--base-p` (string)

  - The name of a (base) profile to load for this command execution.

#### Base Connection Options

- `--token-type` | `--tt` (string)

  - The type of token to get and use for the API. Omit this option to use the default token type, which is provided by 'zowe auth login'.

- `--token-value` | `--tv` (string)

  - The value of the token to pass to the API.

#### Examples

- Provision a published software service template.:

  - `zowe provisioning provision template template1`