1. Packages
  2. Alibaba Cloud Provider
  3. API Docs
  4. bss
  5. getOpenApiProducts
Alibaba Cloud v3.76.0 published on Tuesday, Apr 8, 2025 by Pulumi

alicloud.bss.getOpenApiProducts

Explore with Pulumi AI

Alibaba Cloud v3.76.0 published on Tuesday, Apr 8, 2025 by Pulumi

This data source provides Bss Open Api Product available to the user.What is Product

NOTE: Available since v1.195.0.

Using getOpenApiProducts

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getOpenApiProducts(args: GetOpenApiProductsArgs, opts?: InvokeOptions): Promise<GetOpenApiProductsResult>
function getOpenApiProductsOutput(args: GetOpenApiProductsOutputArgs, opts?: InvokeOptions): Output<GetOpenApiProductsResult>
Copy
def get_open_api_products(ids: Optional[Sequence[str]] = None,
                          name_regex: Optional[str] = None,
                          output_file: Optional[str] = None,
                          opts: Optional[InvokeOptions] = None) -> GetOpenApiProductsResult
def get_open_api_products_output(ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                          name_regex: Optional[pulumi.Input[str]] = None,
                          output_file: Optional[pulumi.Input[str]] = None,
                          opts: Optional[InvokeOptions] = None) -> Output[GetOpenApiProductsResult]
Copy
func GetOpenApiProducts(ctx *Context, args *GetOpenApiProductsArgs, opts ...InvokeOption) (*GetOpenApiProductsResult, error)
func GetOpenApiProductsOutput(ctx *Context, args *GetOpenApiProductsOutputArgs, opts ...InvokeOption) GetOpenApiProductsResultOutput
Copy

> Note: This function is named GetOpenApiProducts in the Go SDK.

public static class GetOpenApiProducts 
{
    public static Task<GetOpenApiProductsResult> InvokeAsync(GetOpenApiProductsArgs args, InvokeOptions? opts = null)
    public static Output<GetOpenApiProductsResult> Invoke(GetOpenApiProductsInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetOpenApiProductsResult> getOpenApiProducts(GetOpenApiProductsArgs args, InvokeOptions options)
public static Output<GetOpenApiProductsResult> getOpenApiProducts(GetOpenApiProductsArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: alicloud:bss/getOpenApiProducts:getOpenApiProducts
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Ids List<string>
A list of product IDs.
NameRegex Changes to this property will trigger replacement. string
A regex string to filter results by Product name.
OutputFile string
File name where to save data source results (after running pulumi preview).
Ids []string
A list of product IDs.
NameRegex Changes to this property will trigger replacement. string
A regex string to filter results by Product name.
OutputFile string
File name where to save data source results (after running pulumi preview).
ids List<String>
A list of product IDs.
nameRegex Changes to this property will trigger replacement. String
A regex string to filter results by Product name.
outputFile String
File name where to save data source results (after running pulumi preview).
ids string[]
A list of product IDs.
nameRegex Changes to this property will trigger replacement. string
A regex string to filter results by Product name.
outputFile string
File name where to save data source results (after running pulumi preview).
ids Sequence[str]
A list of product IDs.
name_regex Changes to this property will trigger replacement. str
A regex string to filter results by Product name.
output_file str
File name where to save data source results (after running pulumi preview).
ids List<String>
A list of product IDs.
nameRegex Changes to this property will trigger replacement. String
A regex string to filter results by Product name.
outputFile String
File name where to save data source results (after running pulumi preview).

getOpenApiProducts Result

The following output properties are available:

Id string
The provider-assigned unique ID for this managed resource.
Ids List<string>
Names List<string>
A list of name of Products.
Products List<Pulumi.AliCloud.Bss.Outputs.GetOpenApiProductsProduct>
A list of Product Entries. Each element contains the following attributes:
NameRegex string
OutputFile string
Id string
The provider-assigned unique ID for this managed resource.
Ids []string
Names []string
A list of name of Products.
Products []GetOpenApiProductsProduct
A list of Product Entries. Each element contains the following attributes:
NameRegex string
OutputFile string
id String
The provider-assigned unique ID for this managed resource.
ids List<String>
names List<String>
A list of name of Products.
products List<GetOpenApiProductsProduct>
A list of Product Entries. Each element contains the following attributes:
nameRegex String
outputFile String
id string
The provider-assigned unique ID for this managed resource.
ids string[]
names string[]
A list of name of Products.
products GetOpenApiProductsProduct[]
A list of Product Entries. Each element contains the following attributes:
nameRegex string
outputFile string
id str
The provider-assigned unique ID for this managed resource.
ids Sequence[str]
names Sequence[str]
A list of name of Products.
products Sequence[GetOpenApiProductsProduct]
A list of Product Entries. Each element contains the following attributes:
name_regex str
output_file str
id String
The provider-assigned unique ID for this managed resource.
ids List<String>
names List<String>
A list of name of Products.
products List<Property Map>
A list of Product Entries. Each element contains the following attributes:
nameRegex String
outputFile String

Supporting Types

GetOpenApiProductsProduct

Id This property is required. string
The ID of the product. The value is formulated as <product_code>:<product_type>:<subscription_type>.
ProductCode This property is required. string
Product code.
ProductName This property is required. string
Product name.
ProductType This property is required. string
Type of product.
SubscriptionType This property is required. string
Subscription type. Value:

  • Subscription: Prepaid.
  • PayAsYouGo: postpaid.
Id This property is required. string
The ID of the product. The value is formulated as <product_code>:<product_type>:<subscription_type>.
ProductCode This property is required. string
Product code.
ProductName This property is required. string
Product name.
ProductType This property is required. string
Type of product.
SubscriptionType This property is required. string
Subscription type. Value:

  • Subscription: Prepaid.
  • PayAsYouGo: postpaid.
id This property is required. String
The ID of the product. The value is formulated as <product_code>:<product_type>:<subscription_type>.
productCode This property is required. String
Product code.
productName This property is required. String
Product name.
productType This property is required. String
Type of product.
subscriptionType This property is required. String
Subscription type. Value:

  • Subscription: Prepaid.
  • PayAsYouGo: postpaid.
id This property is required. string
The ID of the product. The value is formulated as <product_code>:<product_type>:<subscription_type>.
productCode This property is required. string
Product code.
productName This property is required. string
Product name.
productType This property is required. string
Type of product.
subscriptionType This property is required. string
Subscription type. Value:

  • Subscription: Prepaid.
  • PayAsYouGo: postpaid.
id This property is required. str
The ID of the product. The value is formulated as <product_code>:<product_type>:<subscription_type>.
product_code This property is required. str
Product code.
product_name This property is required. str
Product name.
product_type This property is required. str
Type of product.
subscription_type This property is required. str
Subscription type. Value:

  • Subscription: Prepaid.
  • PayAsYouGo: postpaid.
id This property is required. String
The ID of the product. The value is formulated as <product_code>:<product_type>:<subscription_type>.
productCode This property is required. String
Product code.
productName This property is required. String
Product name.
productType This property is required. String
Type of product.
subscriptionType This property is required. String
Subscription type. Value:

  • Subscription: Prepaid.
  • PayAsYouGo: postpaid.

Package Details

Repository
Alibaba Cloud pulumi/pulumi-alicloud
License
Apache-2.0
Notes
This Pulumi package is based on the alicloud Terraform Provider.
Alibaba Cloud v3.76.0 published on Tuesday, Apr 8, 2025 by Pulumi