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:
- Contract
Id string - Group
Id string - Filter
By stringName - Filter
By stringProduct Id
- Contract
Id string - Group
Id string - Filter
By stringName - Filter
By stringProduct Id
- contract
Id String - group
Id String - filter
By StringName - filter
By StringProduct Id
- contract
Id string - group
Id string - filter
By stringName - filter
By stringProduct Id
- contract_
id str - group_
id str - filter_
by_ strname - filter_
by_ strproduct_ id
- contract
Id String - group
Id String - filter
By StringName - filter
By StringProduct Id
getCpCodes Result
The following output properties are available:
- Account
Id string - Contract
Id string - Cp
Codes List<GetCp Codes Cp Code> - Group
Id string - Id string
- The provider-assigned unique ID for this managed resource.
- Filter
By stringName - Filter
By stringProduct Id
- Account
Id string - Contract
Id string - Cp
Codes []GetCp Codes Cp Code - Group
Id string - Id string
- The provider-assigned unique ID for this managed resource.
- Filter
By stringName - Filter
By stringProduct Id
- account
Id String - contract
Id String - cp
Codes List<GetCp Codes Cp Code> - group
Id String - id String
- The provider-assigned unique ID for this managed resource.
- filter
By StringName - filter
By StringProduct Id
- account
Id string - contract
Id string - cp
Codes GetCp Codes Cp Code[] - group
Id string - id string
- The provider-assigned unique ID for this managed resource.
- filter
By stringName - filter
By 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
- account
Id String - contract
Id String - cp
Codes List<Property Map> - group
Id String - id String
- The provider-assigned unique ID for this managed resource.
- filter
By StringName - filter
By StringProduct Id
Supporting Types
GetCpCodesCpCode
- Cp
Code stringId - The ID of a specific CP code.
- Created
Date string - The date and time when the CP code was created.
- Name string
- Name of the CP code.
- Product
Ids List<string> - A list of of product IDs for a given CP code.
- Cp
Code stringId - The ID of a specific CP code.
- Created
Date string - The date and time when the CP code was created.
- Name string
- Name of the CP code.
- Product
Ids []string - A list of of product IDs for a given CP code.
- cp
Code StringId - The ID of a specific CP code.
- created
Date String - The date and time when the CP code was created.
- name String
- Name of the CP code.
- product
Ids List<String> - A list of of product IDs for a given CP code.
- cp
Code stringId - The ID of a specific CP code.
- created
Date string - The date and time when the CP code was created.
- name string
- Name of the CP code.
- product
Ids 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.
- cp
Code StringId - The ID of a specific CP code.
- created
Date String - The date and time when the CP code was created.
- name String
- Name of the CP code.
- product
Ids 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.
