1. Packages
  2. Akamai
  3. API Docs
  4. getCpCodes
Akamai v8.1.0 published on Friday, Apr 11, 2025 by Pulumi

akamai.getCpCodes

Explore with Pulumi AI

akamai logo
Akamai v8.1.0 published on Friday, Apr 11, 2025 by Pulumi

    Using getCpCodes

    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 getCpCodes(args: GetCpCodesArgs, opts?: InvokeOptions): Promise<GetCpCodesResult>
    function getCpCodesOutput(args: GetCpCodesOutputArgs, opts?: InvokeOptions): Output<GetCpCodesResult>
    def get_cp_codes(contract_id: Optional[str] = None,
                     filter_by_name: Optional[str] = None,
                     filter_by_product_id: Optional[str] = None,
                     group_id: Optional[str] = None,
                     opts: Optional[InvokeOptions] = None) -> GetCpCodesResult
    def get_cp_codes_output(contract_id: Optional[pulumi.Input[str]] = None,
                     filter_by_name: Optional[pulumi.Input[str]] = None,
                     filter_by_product_id: Optional[pulumi.Input[str]] = None,
                     group_id: Optional[pulumi.Input[str]] = None,
                     opts: Optional[InvokeOptions] = None) -> Output[GetCpCodesResult]
    func GetCpCodes(ctx *Context, args *GetCpCodesArgs, opts ...InvokeOption) (*GetCpCodesResult, error)
    func GetCpCodesOutput(ctx *Context, args *GetCpCodesOutputArgs, opts ...InvokeOption) GetCpCodesResultOutput

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

    public static class GetCpCodes 
    {
        public static Task<GetCpCodesResult> InvokeAsync(GetCpCodesArgs args, InvokeOptions? opts = null)
        public static Output<GetCpCodesResult> Invoke(GetCpCodesInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetCpCodesResult> getCpCodes(GetCpCodesArgs args, InvokeOptions options)
    public static Output<GetCpCodesResult> getCpCodes(GetCpCodesArgs args, InvokeOptions options)
    
    fn::invoke:
      function: akamai:index/getCpCodes:getCpCodes
      arguments:
        # arguments dictionary

    The following arguments are supported:

    getCpCodes Result

    The following output properties are available:

    AccountId string
    ContractId string
    CpCodes List<GetCpCodesCpCode>
    GroupId string
    Id string
    The provider-assigned unique ID for this managed resource.
    FilterByName string
    FilterByProductId string
    AccountId string
    ContractId string
    CpCodes []GetCpCodesCpCode
    GroupId string
    Id string
    The provider-assigned unique ID for this managed resource.
    FilterByName string
    FilterByProductId string
    accountId String
    contractId String
    cpCodes List<GetCpCodesCpCode>
    groupId String
    id String
    The provider-assigned unique ID for this managed resource.
    filterByName String
    filterByProductId String
    accountId string
    contractId string
    cpCodes GetCpCodesCpCode[]
    groupId string
    id string
    The provider-assigned unique ID for this managed resource.
    filterByName string
    filterByProductId string
    account_id str
    contract_id str
    cp_codes Sequence[GetCpCodesCpCode]
    group_id str
    id str
    The provider-assigned unique ID for this managed resource.
    filter_by_name str
    filter_by_product_id str
    accountId String
    contractId String
    cpCodes List<Property Map>
    groupId String
    id String
    The provider-assigned unique ID for this managed resource.
    filterByName String
    filterByProductId String

    Supporting Types

    GetCpCodesCpCode

    CpCodeId string
    The ID of a specific CP code.
    CreatedDate string
    The date and time when the CP code was created.
    Name string
    Name of the CP code.
    ProductIds List<string>
    A list of of product IDs for a given CP code.
    CpCodeId string
    The ID of a specific CP code.
    CreatedDate string
    The date and time when the CP code was created.
    Name string
    Name of the CP code.
    ProductIds []string
    A list of of product IDs for a given CP code.
    cpCodeId String
    The ID of a specific CP code.
    createdDate String
    The date and time when the CP code was created.
    name String
    Name of the CP code.
    productIds List<String>
    A list of of product IDs for a given CP code.
    cpCodeId string
    The ID of a specific CP code.
    createdDate string
    The date and time when the CP code was created.
    name string
    Name of the CP code.
    productIds string[]
    A list of of product IDs for a given CP code.
    cp_code_id str
    The ID of a specific CP code.
    created_date str
    The date and time when the CP code was created.
    name str
    Name of the CP code.
    product_ids Sequence[str]
    A list of of product IDs for a given CP code.
    cpCodeId String
    The ID of a specific CP code.
    createdDate String
    The date and time when the CP code was created.
    name String
    Name of the CP code.
    productIds List<String>
    A list of of product IDs for a given CP code.

    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 v8.1.0 published on Friday, Apr 11, 2025 by Pulumi