Alibaba Cloud v3.66.0 published on Friday, Nov 15, 2024 by Pulumi
alicloud.bss.getOpenApiProducts
Explore with Pulumi AI
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.
- Name
Regex string - A regex string to filter results by Product name.
- Output
File string - File name where to save data source results (after running
pulumi preview
).
- Ids []string
- A list of product IDs.
- Name
Regex string - A regex string to filter results by Product name.
- Output
File string - File name where to save data source results (after running
pulumi preview
).
- ids List<String>
- A list of product IDs.
- name
Regex String - A regex string to filter results by Product name.
- output
File String - File name where to save data source results (after running
pulumi preview
).
- ids string[]
- A list of product IDs.
- name
Regex string - A regex string to filter results by Product name.
- output
File 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.
- name
Regex String - A regex string to filter results by Product name.
- output
File 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.
Ali Cloud. Bss. Outputs. Get Open Api Products Product> - A list of Product Entries. Each element contains the following attributes:
- Name
Regex string - Output
File string
- Id string
- The provider-assigned unique ID for this managed resource.
- Ids []string
- Names []string
- A list of name of Products.
- Products
[]Get
Open Api Products Product - A list of Product Entries. Each element contains the following attributes:
- Name
Regex string - Output
File 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<Get
Open Api Products Product> - A list of Product Entries. Each element contains the following attributes:
- name
Regex String - output
File String
- id string
- The provider-assigned unique ID for this managed resource.
- ids string[]
- names string[]
- A list of name of Products.
- products
Get
Open Api Products Product[] - A list of Product Entries. Each element contains the following attributes:
- name
Regex string - output
File 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[Get
Open Api Products Product] - 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:
- name
Regex String - output
File String
Supporting Types
GetOpenApiProductsProduct
- Id string
- The ID of the product. The value is formulated as
<product_code>:<product_type>:<subscription_type>
. - Product
Code string - Product code.
- Product
Name string - Product name.
- Product
Type string - Type of product.
- Subscription
Type 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>
. - Product
Code string - Product code.
- Product
Name string - Product name.
- Product
Type string - Type of product.
- Subscription
Type 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>
. - product
Code String - Product code.
- product
Name String - Product name.
- product
Type String - Type of product.
- subscription
Type 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>
. - product
Code string - Product code.
- product
Name string - Product name.
- product
Type string - Type of product.
- subscription
Type 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>
. - product
Code String - Product code.
- product
Name String - Product name.
- product
Type String - Type of product.
- subscription
Type 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.