Akamai v8.1.0 published on Friday, Apr 11, 2025 by Pulumi
akamai.getCpCodes
Explore with Pulumi AI
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 dictionaryThe following arguments are supported:
- ContractId string
- GroupId string
- FilterBy stringName 
- FilterBy stringProduct Id 
- ContractId string
- GroupId string
- FilterBy stringName 
- FilterBy stringProduct Id 
- contractId String
- groupId String
- filterBy StringName 
- filterBy StringProduct Id 
- contractId string
- groupId string
- filterBy stringName 
- filterBy stringProduct Id 
- contract_id str
- group_id str
- filter_by_ strname 
- filter_by_ strproduct_ id 
- contractId String
- groupId String
- filterBy StringName 
- filterBy StringProduct Id 
getCpCodes Result
The following output properties are available:
- AccountId string
- ContractId string
- CpCodes List<GetCp Codes Cp Code> 
- GroupId string
- Id string
- The provider-assigned unique ID for this managed resource.
- FilterBy stringName 
- FilterBy stringProduct Id 
- AccountId string
- ContractId string
- CpCodes []GetCp Codes Cp Code 
- GroupId string
- Id string
- The provider-assigned unique ID for this managed resource.
- FilterBy stringName 
- FilterBy stringProduct Id 
- accountId String
- contractId String
- cpCodes List<GetCp Codes Cp Code> 
- groupId String
- id String
- The provider-assigned unique ID for this managed resource.
- filterBy StringName 
- filterBy StringProduct Id 
- accountId string
- contractId string
- cpCodes GetCp Codes Cp Code[] 
- groupId string
- id string
- The provider-assigned unique ID for this managed resource.
- filterBy stringName 
- filterBy stringProduct Id 
- account_id str
- contract_id str
- cp_codes Sequence[GetCp Codes Cp Code] 
- group_id str
- id str
- The provider-assigned unique ID for this managed resource.
- filter_by_ strname 
- filter_by_ strproduct_ id 
- accountId String
- contractId String
- cpCodes List<Property Map>
- groupId String
- id String
- The provider-assigned unique ID for this managed resource.
- filterBy StringName 
- filterBy StringProduct Id 
Supporting Types
GetCpCodesCpCode    
- CpCode stringId 
- 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.
- CpCode stringId 
- 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.
- cpCode StringId 
- 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.
- cpCode stringId 
- 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_ strid 
- 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.
- cpCode StringId 
- 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 akamaiTerraform Provider.