Skip to content

Commit

Permalink
Merge branch 'master' into v1.6205.0
Browse files Browse the repository at this point in the history
  • Loading branch information
yfodil authored Mar 7, 2025
2 parents c0be288 + a4eb6fd commit 3324924
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
9 changes: 8 additions & 1 deletion internal/namespaces/audit_trail/v1alpha1/audit_trail_cli.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ func auditTrailEventList() *core.Command {
},
{
Name: "method-name",
Short: `(Optional) Name of the method or the API call performed`,
Short: `(Optional) Name of the method of the API call performed`,
Required: false,
Deprecated: false,
Positional: false,
Expand Down Expand Up @@ -131,6 +131,13 @@ func auditTrailEventList() *core.Command {
Deprecated: false,
Positional: false,
},
{
Name: "service-name",
Short: `(Optional) Name of the service of the API call performed`,
Required: false,
Deprecated: false,
Positional: false,
},
core.OrganizationIDArgSpec(),
core.RegionArgSpec(scw.RegionFrPar, scw.RegionNlAms),
},
Expand Down
7 changes: 5 additions & 2 deletions internal/namespaces/billing/v2beta1/billing_cli.go
Original file line number Diff line number Diff line change
Expand Up @@ -376,8 +376,11 @@ func billingInvoiceDownload() *core.Command {

func billingDiscountList() *core.Command {
return &core.Command{
Short: `List discounts`,
Long: `List all discounts for your organization and usable categories, products, offers, references, regions and zones where the discount can be applied.`,
Short: `List discounts`,
Long: `List all discounts for your Organization and usable categories, products, offers, references, regions and zones where the discount can be applied. As a reseller:
- If you do not specify an ` + "`" + `organization_id` + "`" + ` you will list the discounts applied to your own Organization and your customers
- If you indicate your ` + "`" + `organization_id` + "`" + ` you will list only the discounts applied to your Organization
- If you indicate ` + "`" + `the organization_id` + "`" + ` of one of your customers, you will list the discounts applied to their Organization.`,
Namespace: "billing",
Resource: "discount",
Verb: "list",
Expand Down

0 comments on commit 3324924

Please sign in to comment.