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 thectr_
prefix.group_id
-Â (Required) A group’s unique ID, including thegrp_
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:
- Contract
Id string - Group
Id string
- Contract
Id string - Group
Id string
- contract
Id string - group
Id string
- contract_
id str - group_
id str
getProperties Result
The following output properties are available:
- Contract
Id string - Group
Id string - Id string
- The provider-assigned unique ID for this managed resource.
- Properties
List<Get
Properties Property>
- Contract
Id string - Group
Id string - Id string
- The provider-assigned unique ID for this managed resource.
- Properties
[]Get
Properties Property
- contract
Id string - group
Id string - id string
- The provider-assigned unique ID for this managed resource.
- properties
Get
Properties Property[]
- contract_
id str - group_
id str - id str
- The provider-assigned unique ID for this managed resource.
- properties
Sequence[Get
Properties Property]
Supporting Types
GetPropertiesProperty
- Contract
Id string - Group
Id string - Latest
Version int - Note string
- Product
Id string - Production
Version int - Property
Id string - Property
Name string - Rule
Format string - Staging
Version int
- Contract
Id string - Group
Id string - Latest
Version int - Note string
- Product
Id string - Production
Version int - Property
Id string - Property
Name string - Rule
Format string - Staging
Version int
- contract
Id string - group
Id string - latest
Version number - note string
- product
Id string - production
Version number - property
Id string - property
Name string - rule
Format string - staging
Version number
- contract_
id str - group_
id str - latest_
version int - note str
- product_
id str - production_
version int - property_
id str - property_
name str - rule_
format str - staging_
version int
Package Details
- Repository
- https://github.com/pulumi/pulumi-akamai
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
akamai
Terraform Provider.