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

function getPropertyProducts(args: GetPropertyProductsArgs, opts?: InvokeOptions): Promise<GetPropertyProductsResult>
def get_property_products(contract_id: Optional[str] = None,
                          opts: Optional[InvokeOptions] = None) -> GetPropertyProductsResult
func GetPropertyProducts(ctx *Context, args *GetPropertyProductsArgs, opts ...InvokeOption) (*GetPropertyProductsResult, error)

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

public static class GetPropertyProducts {
    public static Task<GetPropertyProductsResult> InvokeAsync(GetPropertyProductsArgs 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.