Akamai

Pulumi Official
Package maintained by Pulumi
v3.0.0 published on Monday, Jul 25, 2022 by Pulumi

getPropertyProducts

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

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
	})
}
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        ctx.export("propertyMatch", data.akamai_property_products().my-example());
    }
}
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"];
outputs:
  propertyMatch: ${data.akamai_property_products"my-example"[%!s(MISSING)]}

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)
}
public static CompletableFuture<GetPropertyProductsResult> getPropertyProducts(GetPropertyProductsArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
  Function: akamai:index/getPropertyProducts:getPropertyProducts
  Arguments:
    # Arguments dictionary

The following arguments are supported:

ContractId string

- (Required) A contract's unique ID, including the ctr_ prefix.

ContractId string

- (Required) A contract's unique ID, including the ctr_ prefix.

contractId String

- (Required) A contract's unique ID, including the ctr_ prefix.

contractId string

- (Required) A contract's unique ID, including the ctr_ prefix.

contract_id str

- (Required) A contract's unique ID, including the ctr_ prefix.

contractId String

- (Required) A contract's unique ID, including the ctr_ prefix.

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 List<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]
contractId String
id String

The provider-assigned unique ID for this managed resource.

products List<Property Map>

Supporting Types

GetPropertyProductsProduct

ProductId string
ProductName string
ProductId string
ProductName string
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.