smctl provision
Create a service instance in SAP Service Manager.
smctl provision [name] [offering] [plan] [flags]
|
Optional |
Global Flag |
|
|---|---|---|
|
|
Help for |
No |
|
|
Name of the broker that provides the service offering. Only required when the offering name is ambiguous. |
No |
|
|
How calls to SAP Service Manager are performed. Possible values: sync or async (the default is async). |
No |
|
|
A valid JSON object containing the instance parameters. |
No |
|
|
Output format of the command. Possible options: json, yaml, text |
No |
|
|
Set the path for the smctl |
Yes |
|
|
Use verbose mode. |
Yes |
async execution:
> smctl provision sample-instance overview-service simple
Service Instance sample-instance successfully scheduled for provisioning. To see status of the operation use:
smctl status /v1/service_instances/a6b0dfe6-1bd1-453f-a646-babd425b6b05/operations/32bbbee7-a9d0-48e4-a434-bf47bc471a48
> smctl status /v1/service_instances/a6b0dfe6-1bd1-453f-a646-babd425b6b05/operations/32bbbee7-a9d0-48e4-a434-bf47bc471a48
| ID | 32bbbee7-a9d0-48e4-a434-bf47bc471a48 |
| Type | create |
| State | succeeded |
sync execution:
> smctl provision sample-instance overview-service simple --mode sync
| ID | 0c170e73-28bd-47ea-b3f4-f1ad1dbf3e0a |
| Name | sample-instance |
| Service Plan ID | 25304783-2fc9-4f50-8dcb-0cbfe017ad15 |
| Platform ID | service-manager |
| Created | 2020-04-09T10:42:12.175051Z |
| Updated | 2020-04-09T10:42:13.2252101Z |
| Ready | true |
| Usable | true |
| Labels | subaccount_id=subacc-cfdev-tenant-id |
| Last Op | create succeeded |