Want to learn about running containers in Lambda? Join our free hands-on workshop. Register Now

GetCpCode

Use akamai.properties.CpCode data source to retrieve a group id.

Using GetCpCode

function getCpCode(args: GetCpCodeArgs, opts?: InvokeOptions): Promise<GetCpCodeResult>
function  get_cp_code(contract=None, group=None, name=None, opts=None)
func LookupCpCode(ctx *Context, args *LookupCpCodeArgs, opts ...InvokeOption) (*LookupCpCodeResult, error)

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

public static class GetCpCode {
    public static Task<GetCpCodeResult> InvokeAsync(GetCpCodeArgs args, InvokeOptions? opts = null)
}

The following arguments are supported:

Contract string

— (Required) The contract ID

Group string

— (Required) The group ID

Name string

— (Required) The CP code name.

Contract string

— (Required) The contract ID

Group string

— (Required) The group ID

Name string

— (Required) The CP code name.

contract string

— (Required) The contract ID

group string

— (Required) The group ID

name string

— (Required) The CP code name.

contract str

— (Required) The contract ID

group str

— (Required) The group ID

name str

— (Required) The CP code name.

GetCpCode Result

The following output properties are available:

Contract string
Group string
Id string

The provider-assigned unique ID for this managed resource.

Name string
Contract string
Group string
Id string

The provider-assigned unique ID for this managed resource.

Name string
contract string
group string
id string

The provider-assigned unique ID for this managed resource.

name string
contract str
group str
id str

The provider-assigned unique ID for this managed resource.

name str

Package Details

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