Akamai

v3.0.0 published on Monday, Jul 25, 2022 by Pulumi

getContract

Use the akamai.getContract data source to find a contract ID.

Attributes reference

  • id - The contract’s unique ID, including the ctr_ prefix.

Example Usage

Coming soon!

Coming soon!

Coming soon!

Coming soon!

import * as pulumi from "@pulumi/pulumi";
import * as akamai from "@pulumi/akamai";

const exampleContract = pulumi.output(akamai.getContract({
    groupName: "example group name",
}));
const exampleProperty = new akamai.Property("example", {
    contractId: "",
    "data.akamai_contract.example.id": [{}],
});

Coming soon!

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 and group_name.

Deprecated:

The setting "group" has been deprecated.

GroupId string

The unique ID of the group containing the contract, including the grp_ prefix.

GroupName 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 and group_name.

Deprecated:

The setting "group" has been deprecated.

GroupId string

The unique ID of the group containing the contract, including the grp_ prefix.

GroupName 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 and group_name.

Deprecated:

The setting "group" has been deprecated.

groupId String

The unique ID of the group containing the contract, including the grp_ prefix.

groupName 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 and group_name.

Deprecated:

The setting "group" has been deprecated.

groupId string

The unique ID of the group containing the contract, including the grp_ prefix.

groupName 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 and group_name.

Deprecated:

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 and group_name.

Deprecated:

The setting "group" has been deprecated.

groupId String

The unique ID of the group containing the contract, including the grp_ prefix.

groupName String

The name of the group containing the contract.

getContract Result

The following output properties are available:

GroupId string
GroupName string
Id string

The provider-assigned unique ID for this managed resource.

Group string

Deprecated:

The setting "group" has been deprecated.

GroupId string
GroupName string
Id string

The provider-assigned unique ID for this managed resource.

Group string

Deprecated:

The setting "group" has been deprecated.

groupId String
groupName String
id String

The provider-assigned unique ID for this managed resource.

group String

Deprecated:

The setting "group" has been deprecated.

groupId string
groupName string
id string

The provider-assigned unique ID for this managed resource.

group string

Deprecated:

The setting "group" has been deprecated.

group_id str
group_name str
id str

The provider-assigned unique ID for this managed resource.

group str

Deprecated:

The setting "group" has been deprecated.

groupId String
groupName String
id String

The provider-assigned unique ID for this managed resource.

group String

Deprecated:

The setting "group" has been deprecated.

Package Details

Repository
https://github.com/pulumi/pulumi-akamai
License
Apache-2.0
Notes

This Pulumi package is based on the akamai Terraform Provider.