akamai.getContract
Use the akamai.getContract
data source to find a contract ID.
Attributes reference
id
- The contract’s unique ID, including thectr_
prefix.
Using getContract
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 getContract(args: GetContractArgs, opts?: InvokeOptions): Promise<GetContractResult>
function getContractOutput(args: GetContractOutputArgs, opts?: InvokeOptions): Output<GetContractResult>
def get_contract(group: Optional[str] = None,
group_id: Optional[str] = None,
group_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetContractResult
def get_contract_output(group: Optional[pulumi.Input[str]] = None,
group_id: Optional[pulumi.Input[str]] = None,
group_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetContractResult]
func GetContract(ctx *Context, args *GetContractArgs, opts ...InvokeOption) (*GetContractResult, error)
func GetContractOutput(ctx *Context, args *GetContractOutputArgs, opts ...InvokeOption) GetContractResultOutput
> Note: This function is named GetContract
in the Go SDK.
public static class GetContract
{
public static Task<GetContractResult> InvokeAsync(GetContractArgs args, InvokeOptions? opts = null)
public static Output<GetContractResult> Invoke(GetContractInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetContractResult> getContract(GetContractArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: akamai:index/getContract:getContract
arguments:
# arguments dictionary
The following arguments are supported:
- Group string
Either the group ID or the group name that includes the contract. You can't use this argument with
group_id
andgroup_name
.The setting "group" has been deprecated.
- Group
Id string The unique ID of the group containing the contract, including the
grp_
prefix.- Group
Name string The name of the group containing the contract.
- Group string
Either the group ID or the group name that includes the contract. You can't use this argument with
group_id
andgroup_name
.The setting "group" has been deprecated.
- Group
Id string The unique ID of the group containing the contract, including the
grp_
prefix.- Group
Name string The name of the group containing the contract.
- group String
Either the group ID or the group name that includes the contract. You can't use this argument with
group_id
andgroup_name
.The setting "group" has been deprecated.
- group
Id String The unique ID of the group containing the contract, including the
grp_
prefix.- group
Name String The name of the group containing the contract.
- group string
Either the group ID or the group name that includes the contract. You can't use this argument with
group_id
andgroup_name
.The setting "group" has been deprecated.
- group
Id string The unique ID of the group containing the contract, including the
grp_
prefix.- group
Name string The name of the group containing the contract.
- group str
Either the group ID or the group name that includes the contract. You can't use this argument with
group_id
andgroup_name
.The setting "group" has been deprecated.
- group_
id str The unique ID of the group containing the contract, including the
grp_
prefix.- group_
name str The name of the group containing the contract.
- group String
Either the group ID or the group name that includes the contract. You can't use this argument with
group_id
andgroup_name
.The setting "group" has been deprecated.
- group
Id String The unique ID of the group containing the contract, including the
grp_
prefix.- group
Name String The name of the group containing the contract.
getContract Result
The following output properties are available:
- group_
id str - group_
name str - id str
The provider-assigned unique ID for this managed resource.
- group str
The setting "group" has been deprecated.
Package Details
- Repository
- Akamai pulumi/pulumi-akamai
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
akamai
Terraform Provider.