1. Packages
  2. Akamai
  3. API Docs
  4. getCpCode
Akamai v7.5.0 published on Friday, Oct 11, 2024 by Pulumi

akamai.getCpCode

Explore with Pulumi AI

akamai logo
Akamai v7.5.0 published on Friday, Oct 11, 2024 by Pulumi

    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_id: Optional[str] = None,
                    group_id: Optional[str] = None,
                    name: Optional[str] = None,
                    opts: Optional[InvokeOptions] = None) -> GetCpCodeResult
    def get_cp_code_output(contract_id: 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:

    ContractId string
    GroupId string
    Name string
    ContractId string
    GroupId string
    Name string
    contractId String
    groupId String
    name String
    contractId string
    groupId string
    name string
    contractId String
    groupId String
    name String

    getCpCode Result

    The following output properties are available:

    ContractId string
    GroupId string
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    ProductIds List<string>
    ContractId string
    GroupId string
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    ProductIds []string
    contractId String
    groupId String
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    productIds List<String>
    contractId string
    groupId string
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    productIds string[]
    contract_id str
    group_id str
    id str
    The provider-assigned unique ID for this managed resource.
    name str
    product_ids Sequence[str]
    contractId String
    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.
    akamai logo
    Akamai v7.5.0 published on Friday, Oct 11, 2024 by Pulumi