akamai logo
Akamai v4.4.0, Apr 18 23

akamai.getCpCode

Explore with Pulumi AI

Using getCpCode

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 getCpCode(args: GetCpCodeArgs, opts?: InvokeOptions): Promise<GetCpCodeResult>
function getCpCodeOutput(args: GetCpCodeOutputArgs, opts?: InvokeOptions): Output<GetCpCodeResult>
def get_cp_code(contract: Optional[str] = None,
                contract_id: Optional[str] = None,
                group: Optional[str] = None,
                group_id: Optional[str] = None,
                name: Optional[str] = None,
                opts: Optional[InvokeOptions] = None) -> GetCpCodeResult
def get_cp_code_output(contract: Optional[pulumi.Input[str]] = None,
                contract_id: Optional[pulumi.Input[str]] = None,
                group: Optional[pulumi.Input[str]] = None,
                group_id: Optional[pulumi.Input[str]] = None,
                name: Optional[pulumi.Input[str]] = None,
                opts: Optional[InvokeOptions] = None) -> Output[GetCpCodeResult]
func LookupCpCode(ctx *Context, args *LookupCpCodeArgs, opts ...InvokeOption) (*LookupCpCodeResult, error)
func LookupCpCodeOutput(ctx *Context, args *LookupCpCodeOutputArgs, opts ...InvokeOption) LookupCpCodeResultOutput

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

public static class GetCpCode 
{
    public static Task<GetCpCodeResult> InvokeAsync(GetCpCodeArgs args, InvokeOptions? opts = null)
    public static Output<GetCpCodeResult> Invoke(GetCpCodeInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetCpCodeResult> getCpCode(GetCpCodeArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: akamai:index/getCpCode:getCpCode
  arguments:
    # arguments dictionary

The following arguments are supported:

Name string
Contract string

Deprecated:

The setting "contract" has been deprecated.

ContractId string
Group string

Deprecated:

The setting "group" has been deprecated.

GroupId string
Name string
Contract string

Deprecated:

The setting "contract" has been deprecated.

ContractId string
Group string

Deprecated:

The setting "group" has been deprecated.

GroupId string
name String
contract String

Deprecated:

The setting "contract" has been deprecated.

contractId String
group String

Deprecated:

The setting "group" has been deprecated.

groupId String
name string
contract string

Deprecated:

The setting "contract" has been deprecated.

contractId string
group string

Deprecated:

The setting "group" has been deprecated.

groupId string
name str
contract str

Deprecated:

The setting "contract" has been deprecated.

contract_id str
group str

Deprecated:

The setting "group" has been deprecated.

group_id str
name String
contract String

Deprecated:

The setting "contract" has been deprecated.

contractId String
group String

Deprecated:

The setting "group" has been deprecated.

groupId String

getCpCode Result

The following output properties are available:

Contract string

Deprecated:

The setting "contract" has been deprecated.

ContractId string
Group string

Deprecated:

The setting "group" has been deprecated.

GroupId string
Id string

The provider-assigned unique ID for this managed resource.

Name string
ProductIds List<string>
Contract string

Deprecated:

The setting "contract" has been deprecated.

ContractId string
Group string

Deprecated:

The setting "group" has been deprecated.

GroupId string
Id string

The provider-assigned unique ID for this managed resource.

Name string
ProductIds []string
contract String

Deprecated:

The setting "contract" has been deprecated.

contractId String
group String

Deprecated:

The setting "group" has been deprecated.

groupId String
id String

The provider-assigned unique ID for this managed resource.

name String
productIds List<String>
contract string

Deprecated:

The setting "contract" has been deprecated.

contractId string
group string

Deprecated:

The setting "group" has been deprecated.

groupId string
id string

The provider-assigned unique ID for this managed resource.

name string
productIds string[]
contract str

Deprecated:

The setting "contract" has been deprecated.

contract_id str
group str

Deprecated:

The setting "group" has been deprecated.

group_id str
id str

The provider-assigned unique ID for this managed resource.

name str
product_ids Sequence[str]
contract String

Deprecated:

The setting "contract" has been deprecated.

contractId String
group String

Deprecated:

The setting "group" has been deprecated.

groupId String
id String

The provider-assigned unique ID for this managed resource.

name String
productIds List<String>

Package Details

Repository
Akamai pulumi/pulumi-akamai
License
Apache-2.0
Notes

This Pulumi package is based on the akamai Terraform Provider.