getPropertyProducts

Use the akamai.getPropertyProducts data source to list the products included on a contract.

Argument reference

This data source supports this argument:

  • contract_id - (Required) A contract’s unique ID, including the ctr_ prefix.

Attributes reference

This data source returns these attributes:

  • products - A list of supported products for the contract, including:
    • product_id - The product’s unique ID, including the prd_ prefix.
    • product_name - A string containing the product name.

Example Usage

using Pulumi;

class MyStack : Stack
{
    public MyStack()
    {
        this.PropertyMatch = data.Akamai_property_products.My_example;
    }

    [Output("propertyMatch")]
    public Output<string> PropertyMatch { get; set; }
}
package main

import (
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		ctx.Export("propertyMatch", data.Akamai_property_products.My-example)
		return nil
	})
}
import pulumi

pulumi.export("propertyMatch", data["akamai_property_products"]["my-example"])
import * as pulumi from "@pulumi/pulumi";

export const propertyMatch = data.akamai_property_products["my-example"];

Using getPropertyProducts

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 getPropertyProducts(args: GetPropertyProductsArgs, opts?: InvokeOptions): Promise<GetPropertyProductsResult>
function getPropertyProductsOutput(args: GetPropertyProductsOutputArgs, opts?: InvokeOptions): Output<GetPropertyProductsResult>
def get_property_products(contract_id: Optional[str] = None,
                          opts: Optional[InvokeOptions] = None) -> GetPropertyProductsResult
def get_property_products_output(contract_id: Optional[pulumi.Input[str]] = None,
                          opts: Optional[InvokeOptions] = None) -> Output[GetPropertyProductsResult]
func GetPropertyProducts(ctx *Context, args *GetPropertyProductsArgs, opts ...InvokeOption) (*GetPropertyProductsResult, error)
func GetPropertyProductsOutput(ctx *Context, args *GetPropertyProductsOutputArgs, opts ...InvokeOption) GetPropertyProductsResultOutput

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

public static class GetPropertyProducts 
{
    public static Task<GetPropertyProductsResult> InvokeAsync(GetPropertyProductsArgs args, InvokeOptions? opts = null)
    public static Output<GetPropertyProductsResult> Invoke(GetPropertyProductsInvokeArgs args, InvokeOptions? opts = null)
}

The following arguments are supported:

ContractId string
ContractId string
contractId string

getPropertyProducts Result

The following output properties are available:

ContractId string
Id string
The provider-assigned unique ID for this managed resource.
Products List<GetPropertyProductsProduct>
ContractId string
Id string
The provider-assigned unique ID for this managed resource.
Products []GetPropertyProductsProduct
contractId string
id string
The provider-assigned unique ID for this managed resource.
products GetPropertyProductsProduct[]
contract_id str
id str
The provider-assigned unique ID for this managed resource.
products Sequence[GetPropertyProductsProduct]

Supporting Types

GetPropertyProductsProduct

ProductId string
ProductName string
ProductId string
ProductName string
productId string
productName string

Package Details

Repository
https://github.com/pulumi/pulumi-akamai
License
Apache-2.0
Notes
This Pulumi package is based on the akamai Terraform Provider.