akamai.properties.getCpCode
Deprecated:
akamai.properties.getCpCode has been deprecated in favor of akamai.getCpCode
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:properties/getCpCode:getCpCode
arguments:
# arguments dictionary
The following arguments are supported:
- Name string
The name of the CP code.
- Contract string
Replaced by
contract_id
. Maintained for legacy purposes.The setting "contract" has been deprecated.
- Contract
Id string (Required) A contract's unique ID, including the
ctr_
prefix.- Group string
Replaced by
group_id
. Maintained for legacy purposes.The setting "group" has been deprecated.
- Group
Id string The group's unique ID, including the
grp_
prefix.
- Name string
The name of the CP code.
- Contract string
Replaced by
contract_id
. Maintained for legacy purposes.The setting "contract" has been deprecated.
- Contract
Id string (Required) A contract's unique ID, including the
ctr_
prefix.- Group string
Replaced by
group_id
. Maintained for legacy purposes.The setting "group" has been deprecated.
- Group
Id string The group's unique ID, including the
grp_
prefix.
- name String
The name of the CP code.
- contract String
Replaced by
contract_id
. Maintained for legacy purposes.The setting "contract" has been deprecated.
- contract
Id String (Required) A contract's unique ID, including the
ctr_
prefix.- group String
Replaced by
group_id
. Maintained for legacy purposes.The setting "group" has been deprecated.
- group
Id String The group's unique ID, including the
grp_
prefix.
- name string
The name of the CP code.
- contract string
Replaced by
contract_id
. Maintained for legacy purposes.The setting "contract" has been deprecated.
- contract
Id string (Required) A contract's unique ID, including the
ctr_
prefix.- group string
Replaced by
group_id
. Maintained for legacy purposes.The setting "group" has been deprecated.
- group
Id string The group's unique ID, including the
grp_
prefix.
- name str
The name of the CP code.
- contract str
Replaced by
contract_id
. Maintained for legacy purposes.The setting "contract" has been deprecated.
- contract_
id str (Required) A contract's unique ID, including the
ctr_
prefix.- group str
Replaced by
group_id
. Maintained for legacy purposes.The setting "group" has been deprecated.
- group_
id str The group's unique ID, including the
grp_
prefix.
- name String
The name of the CP code.
- contract String
Replaced by
contract_id
. Maintained for legacy purposes.The setting "contract" has been deprecated.
- contract
Id String (Required) A contract's unique ID, including the
ctr_
prefix.- group String
Replaced by
group_id
. Maintained for legacy purposes.The setting "group" has been deprecated.
- group
Id String The group's unique ID, including the
grp_
prefix.
getCpCode Result
The following output properties are available:
- Contract string
The setting "contract" has been deprecated.
- Contract
Id string - Group string
The setting "group" has been deprecated.
- Group
Id string - Id string
The provider-assigned unique ID for this managed resource.
- Name string
- Product
Ids List<string>
- Contract string
The setting "contract" has been deprecated.
- Contract
Id string - Group string
The setting "group" has been deprecated.
- Group
Id string - Id string
The provider-assigned unique ID for this managed resource.
- Name string
- Product
Ids []string
- contract String
The setting "contract" has been deprecated.
- contract
Id String - group String
The setting "group" has been deprecated.
- group
Id String - id String
The provider-assigned unique ID for this managed resource.
- name String
- product
Ids List<String>
- contract string
The setting "contract" has been deprecated.
- contract
Id string - group string
The setting "group" has been deprecated.
- group
Id string - id string
The provider-assigned unique ID for this managed resource.
- name string
- product
Ids string[]
- contract str
The setting "contract" has been deprecated.
- contract_
id str - group str
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
The setting "contract" has been deprecated.
- contract
Id String - group String
The setting "group" has been deprecated.
- group
Id String - id String
The provider-assigned unique ID for this managed resource.
- name String
- product
Ids List<String>
Package Details
- Repository
- Akamai pulumi/pulumi-akamai
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
akamai
Terraform Provider.