Information
Unsupported content This version of the documentation is no longer supported. However, the documentation is available for your convenience. You will not be able to leave comments.

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.

Command-line syntax
clm offering-create [-h] [--waitfor TIME_OUT_SECONDS] --offeringname NAME --catalogservicename NAME
[--blueprintname NAME] [--deploymentmodelname NAME] [--entitlementpackagename NAME]

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.

API syntax
obj = offering_create(gcac, offering_name=None, catalog_service_name=None, deployment_model_name=None,
blueprint_name=None, entitlement_package_name=None)

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

GenericCloudAPIClient instance/user authentication.

 

list

Use offering-list from the command line to list available service offerings.

Command-line syntax
clm offering-list [-h] [-l] [-u] [-n] [-s] [-k FIELD_NAME [FIELD_NAME ...]] [--filter FIELD_NAME=VALUE
[FIELD_NAME=VALUE ...]]

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.

API syntax
obj = offering_list(gcac, filters=None)

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

GenericCloudAPIClient instance/user authentication.

 

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*

BMC Cloud Lifecycle Management 4.6