getProperties

Use the akamai.getProperties data source to query and retrieve the list of properties for a group and contract based on the EdgeGrid API client token you’re using.

Argument reference

This data source supports these arguments:

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

Attributes reference

This data source returns this attribute:

  • properties - A list of properties available for the contract and group IDs provided.

Example Usage

using Pulumi;

class MyStack : Stack
{
    public MyStack()
    {
        this.MyPropertyList = data.Akamai_properties.Example;
    }

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

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

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		ctx.Export("myPropertyList", data.Akamai_properties.Example)
		return nil
	})
}
import pulumi

pulumi.export("myPropertyList", data["akamai_properties"]["example"])
import * as pulumi from "@pulumi/pulumi";

export const myPropertyList = data.akamai_properties.example;

Using getProperties

function getProperties(args: GetPropertiesArgs, opts?: InvokeOptions): Promise<GetPropertiesResult>
def get_properties(contract_id: Optional[str] = None,
                   group_id: Optional[str] = None,
                   opts: Optional[InvokeOptions] = None) -> GetPropertiesResult
func GetProperties(ctx *Context, args *GetPropertiesArgs, opts ...InvokeOption) (*GetPropertiesResult, error)

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

public static class GetProperties {
    public static Task<GetPropertiesResult> InvokeAsync(GetPropertiesArgs args, InvokeOptions? opts = null)
}

The following arguments are supported:

ContractId string
GroupId string
ContractId string
GroupId string
contractId string
groupId string

getProperties Result

The following output properties are available:

ContractId string
GroupId string
Id string
The provider-assigned unique ID for this managed resource.
Properties List<GetPropertiesProperty>
ContractId string
GroupId string
Id string
The provider-assigned unique ID for this managed resource.
Properties []GetPropertiesProperty
contractId string
groupId string
id string
The provider-assigned unique ID for this managed resource.
properties GetPropertiesProperty[]
contract_id str
group_id str
id str
The provider-assigned unique ID for this managed resource.
properties Sequence[GetPropertiesProperty]

Supporting Types

GetPropertiesProperty

Package Details

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