offering
This topic describes the verbs, command-line arguments, and API parameters available for the offering noun in the BMC Cloud Lifecycle Management SDK.
create
Use offering-create from the command line to create a new service offering.
Use offering_create in the API to create a new service offering. This command returns a ServiceOffering API object with the same attributes and relationships.
obj.guid # returns the GUID
obj.name # returns the name
...
Command-line argument | API parameter | Description | Required? |
|---|---|---|---|
--offering | offering_name | Name of the new offering. | Yes |
--catalogservicename | catalog_service_name | Name of the new offering in the Service Catalog. | Yes |
--blueprintname | blueprint_name | Name of the service blueprint to apply to the offering. |
|
--deploymentmodelname | deployment_model_name | Name of the deployment definition to apply to the offering. |
|
--entitlementpackagename | entitlement_package_name | Name of an entitlement package to associate with the offering. |
|
--waitfor |
| Time in seconds to wait for a response from the server, otherwise return running task details |
|
| gcac | Instance of the gcac authentication instance. |
|
list
Use offering-list from the command line to list available service offerings.
Use offering_list in the API to list available service offerings. This command returns a list of ServiceOffering API objects with the same attributes and relationships.
obj[n].guid returns the GUID
obj[n].name returns the name
...
Command-line argument | API parameter | Description | Required? |
|---|---|---|---|
-l |
| List all fields. This parameter does not need a value. |
|
-u |
| List only GUIDs. This parameter does not need a value. |
|
-n |
| List only names. This parameter does not need a value. |
|
-s |
| List GUIDs, names, and status (if applicable). This parameter does not need a value. |
|
-k |
| List the field names specified in the value for this parameter. |
|
--filter | filters | List the output that matches the specified filters. |
|
| gcac | Instance of the gcac authentication instance. |
|