Akamai

Pulumi Official
Package maintained by Pulumi
v2.9.0 published on Wednesday, Apr 6, 2022 by Pulumi

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.

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
	})
}

Coming soon!

import pulumi

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

export const myPropertyList = data.akamai_properties.example;

Coming soon!

Using getProperties

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 getProperties(args: GetPropertiesArgs, opts?: InvokeOptions): Promise<GetPropertiesResult>
function getPropertiesOutput(args: GetPropertiesOutputArgs, opts?: InvokeOptions): Output<GetPropertiesResult>
def get_properties(contract_id: Optional[str] = None,
                   group_id: Optional[str] = None,
                   opts: Optional[InvokeOptions] = None) -> GetPropertiesResult
def get_properties_output(contract_id: Optional[pulumi.Input[str]] = None,
                   group_id: Optional[pulumi.Input[str]] = None,
                   opts: Optional[InvokeOptions] = None) -> Output[GetPropertiesResult]
func GetProperties(ctx *Context, args *GetPropertiesArgs, opts ...InvokeOption) (*GetPropertiesResult, error)
func GetPropertiesOutput(ctx *Context, args *GetPropertiesOutputArgs, opts ...InvokeOption) GetPropertiesResultOutput

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

public static class GetProperties 
{
    public static Task<GetPropertiesResult> InvokeAsync(GetPropertiesArgs args, InvokeOptions? opts = null)
    public static Output<GetPropertiesResult> Invoke(GetPropertiesInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetPropertiesResult> getProperties(GetPropertiesArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
  Function: akamai:index/getProperties:getProperties
  Arguments:
    # Arguments dictionary

The following arguments are supported:

ContractId string

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

GroupId string

- (Required) A group's unique ID, including the grp_ prefix.

ContractId string

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

GroupId string

- (Required) A group's unique ID, including the grp_ prefix.

contractId String

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

groupId String

- (Required) A group's unique ID, including the grp_ prefix.

contractId string

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

groupId string

- (Required) A group's unique ID, including the grp_ prefix.

contract_id str

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

group_id str

- (Required) A group's unique ID, including the grp_ prefix.

contractId String

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

groupId String

- (Required) A group's unique ID, including the grp_ prefix.

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

The provider-assigned unique ID for this managed resource.

properties List

Supporting Types

GetPropertiesProperty

ContractId string

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

GroupId string

- (Required) A group's unique ID, including the grp_ prefix.

LatestVersion int
Note string
ProductId string
ProductionVersion int
PropertyId string
PropertyName string
RuleFormat string
StagingVersion int
ContractId string

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

GroupId string

- (Required) A group's unique ID, including the grp_ prefix.

LatestVersion int
Note string
ProductId string
ProductionVersion int
PropertyId string
PropertyName string
RuleFormat string
StagingVersion int
contractId String

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

groupId String

- (Required) A group's unique ID, including the grp_ prefix.

latestVersion Integer
note String
productId String
productionVersion Integer
propertyId String
propertyName String
ruleFormat String
stagingVersion Integer
contractId string

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

groupId string

- (Required) A group's unique ID, including the grp_ prefix.

latestVersion number
note string
productId string
productionVersion number
propertyId string
propertyName string
ruleFormat string
stagingVersion number
contract_id str

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

group_id str

- (Required) A group's unique ID, including the grp_ prefix.

latest_version int
note str
product_id str
production_version int
property_id str
property_name str
rule_format str
staging_version int
contractId String

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

groupId String

- (Required) A group's unique ID, including the grp_ prefix.

latestVersion Number
note String
productId String
productionVersion Number
propertyId String
propertyName String
ruleFormat String
stagingVersion Number

Package Details

Repository
https://github.com/pulumi/pulumi-akamai
License
Apache-2.0
Notes

This Pulumi package is based on the akamai Terraform Provider.