1. Packages
  2. Alibaba Cloud Provider
  3. API Docs
  4. bss
  5. getOpenApiProducts
Alibaba Cloud v3.66.0 published on Friday, Nov 15, 2024 by Pulumi

alicloud.bss.getOpenApiProducts

Explore with Pulumi AI

alicloud logo
Alibaba Cloud v3.66.0 published on Friday, Nov 15, 2024 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>
    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]
    func GetOpenApiProducts(ctx *Context, args *GetOpenApiProductsArgs, opts ...InvokeOption) (*GetOpenApiProductsResult, error)
    func GetOpenApiProductsOutput(ctx *Context, args *GetOpenApiProductsOutputArgs, opts ...InvokeOption) GetOpenApiProductsResultOutput

    > 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)
    }
    public static CompletableFuture<GetOpenApiProductsResult> getOpenApiProducts(GetOpenApiProductsArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: alicloud:bss/getOpenApiProducts:getOpenApiProducts
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Ids List<string>
    A list of product IDs.
    NameRegex 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 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 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 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 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 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 string
    The ID of the product. The value is formulated as <product_code>:<product_type>:<subscription_type>.
    ProductCode string
    Product code.
    ProductName string
    Product name.
    ProductType string
    Type of product.
    SubscriptionType string
    Subscription type. Value:

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

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

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

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

    • Subscription: Prepaid.
    • PayAsYouGo: postpaid.
    id String
    The ID of the product. The value is formulated as <product_code>:<product_type>:<subscription_type>.
    productCode String
    Product code.
    productName String
    Product name.
    productType String
    Type of product.
    subscriptionType 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.
    alicloud logo
    Alibaba Cloud v3.66.0 published on Friday, Nov 15, 2024 by Pulumi