All Products
Search
Document Center

Service Catalog:ListLaunchOptions

Last Updated:Mar 03, 2024

Queries launch options.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
ProductIdstringYes

The ID of the product.

prod-bp18r7q127****

Response parameters

ParameterTypeDescriptionExample
object

The response parameters.

RequestIdstring

The ID of the request.

0FEEF92D-4052-5202-87D0-3D8EC16F81BF
LaunchOptionSummariesobject []

The launch options.

PortfolioIdstring

The ID of the product portfolio.

port-bp1yt7582g****
PortfolioNamestring

The name of the product portfolio.

DEMO-IT services
ConstraintSummariesobject []

The constraints.

ConstraintTypestring

The type of the constraint. Valid values:

  1. Launch
  2. Template
  3. Approval
  4. StackRegion
Launch
Descriptionstring

The description of the constraint.

Launch as local role TestRole
OperationTypesarray

The types of operations that require approval. If the type of the constraint is Approval, this parameter is not empty.

string

The type of the operation. If the type of the constraint is Approval, this parameter is not empty.

All,TerminateProvisionedProduct,UpdateProvisionedProduct,LaunchProduct
StackRegionsarray

The regions in which users can launch the service. If the type of the constraint is StackRegion, this parameter is not empty.

string

The region in which users can launch the service.

cn-hangzhou

Examples

Sample success responses

JSONformat

{
  "RequestId": "0FEEF92D-4052-5202-87D0-3D8EC16F81BF",
  "LaunchOptionSummaries": [
    {
      "PortfolioId": "port-bp1yt7582g****",
      "PortfolioName": "DEMO-IT services\n",
      "ConstraintSummaries": [
        {
          "ConstraintType": "Launch",
          "Description": "Launch as local role TestRole",
          "OperationTypes": [
            "All,TerminateProvisionedProduct,UpdateProvisionedProduct,LaunchProduct"
          ],
          "StackRegions": [
            "cn-hangzhou"
          ]
        }
      ]
    }
  ]
}

Error codes

HTTP status codeError codeError message
500InternalErrorA system error occurred.

For a list of error codes, visit the Service error codes.