IBM Cloud Docs
Manage classic infrastructure account (ibmcloud sl account)

Manage classic infrastructure account (ibmcloud sl account)

Use the following command from the IBM Cloud® Command Line Interface to manage your classic infrastructure account. Billing items, invoices, licenses, orders, and events.

ibmcloud sl account billing-items

Lists billing items with some other useful information.

ibmcloud sl account billing-items [flags]

Command options:

--category
Category name.
--create
The date the billing item was created (YYYY-MM-DD).
--ordered
Name that ordered the item.

ibmcloud sl account cancel-item

Cancels a billing item.

Cancel the resource or service for a billing Item. By default the billing item will be canceled on the next bill date and reclaim of the resource will begin shortly after the cancellation

ibmcloud sl account cancel-item IDENTIFIER

ibmcloud sl account event-detail

Details of a specific event, and ability to acknowledge event.

ibmcloud sl account event-detail IDENTIFIER [flags]

Command options:

--ack
Acknowledge Event. Doing so will turn off the popup in the control portal.

ibmcloud sl account events

Summary and acknowledgement of upcoming and ongoing maintenance events.

ibmcloud sl account events [flags]

Command options:

--ack-all
Acknowledge every upcoming event. Doing so will turn off the popup in the control portal.
--announcement
Show only announcement events.
--d, date-min
Earliest date to retrieve events for [YYYY-MM-DD]. Default: 2 days ago.
--planned
Show only planned events.
--unplanned
Show only unplanned events.

ibmcloud sl account hook-create

Order/create a provisioning script.

ibmcloud sl account hook-create [flags]

Command options:

--N, name
The name of the hook. [required]
--U, uri
The endpoint that the script will be downloaded. [required]

ibmcloud sl account hook-delete

Delete a provisioning scriptt.

ibmcloud sl account hook-delete IDENTIFIER

ibmcloud sl account hooks

Show all Provisioning Scripts.

ibmcloud sl account hooks

ibmcloud sl account invoice-detail

Invoice details.

ibmcloud sl account invoice-detail IDENTIFIER [flags]

Command options:

--details
Shows a very detailed list of charges.

ibmcloud sl account invoices

List invoices.

ibmcloud sl account invoices [flags]

Command options:

--all
Return ALL invoices. There may be a lot of these.
--closed
Include invoices with a CLOSED status.
--limit
How many invoices to get back.

ibmcloud sl account item-detail

Gets detailed information about a billing item.

ibmcloud sl account item-detail IDENTIFIER

ibmcloud sl account licenses

Show all licenses.

ibmcloud sl account licenses

ibmcloud sl account orders

Lists account orders.

Lists account orders. Use ibmcloud sl order lookup ID to find more details about a specific order.

ibmcloud sl account orders [flags]

Command options:

--limit
How many results to get in one api call.
--upgrades
Show upgrades orders.

ibmcloud sl account summary

Prints some various bits of information about an account.

ibmcloud sl account summary