1. Packages
  2. Packages
  3. Akamai
  4. API Docs
  5. ReportinggroupsGroup
Viewing docs for Akamai v11.2.0
published on Thursday, May 14, 2026 by Pulumi
akamai logo
Viewing docs for Akamai v11.2.0
published on Thursday, May 14, 2026 by Pulumi

    Create ReportinggroupsGroup Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new ReportinggroupsGroup(name: string, args: ReportinggroupsGroupArgs, opts?: CustomResourceOptions);
    @overload
    def ReportinggroupsGroup(resource_name: str,
                             args: ReportinggroupsGroupArgs,
                             opts: Optional[ResourceOptions] = None)
    
    @overload
    def ReportinggroupsGroup(resource_name: str,
                             opts: Optional[ResourceOptions] = None,
                             access_group: Optional[ReportinggroupsGroupAccessGroupArgs] = None,
                             contract: Optional[ReportinggroupsGroupContractArgs] = None,
                             reporting_group_name: Optional[str] = None)
    func NewReportinggroupsGroup(ctx *Context, name string, args ReportinggroupsGroupArgs, opts ...ResourceOption) (*ReportinggroupsGroup, error)
    public ReportinggroupsGroup(string name, ReportinggroupsGroupArgs args, CustomResourceOptions? opts = null)
    public ReportinggroupsGroup(String name, ReportinggroupsGroupArgs args)
    public ReportinggroupsGroup(String name, ReportinggroupsGroupArgs args, CustomResourceOptions options)
    
    type: akamai:ReportinggroupsGroup
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "akamai_reportinggroupsgroup" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args ReportinggroupsGroupArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args ReportinggroupsGroupArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args ReportinggroupsGroupArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ReportinggroupsGroupArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ReportinggroupsGroupArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var reportinggroupsGroupResource = new Akamai.ReportinggroupsGroup("reportinggroupsGroupResource", new()
    {
        AccessGroup = new Akamai.Inputs.ReportinggroupsGroupAccessGroupArgs
        {
            ContractId = "string",
            GroupId = "string",
        },
        Contract = new Akamai.Inputs.ReportinggroupsGroupContractArgs
        {
            ContractId = "string",
            CpCodes = new[]
            {
                new Akamai.Inputs.ReportinggroupsGroupContractCpCodeArgs
                {
                    CpCodeId = "string",
                    CpCodeName = "string",
                },
            },
        },
        ReportingGroupName = "string",
    });
    
    example, err := akamai.NewReportinggroupsGroup(ctx, "reportinggroupsGroupResource", &akamai.ReportinggroupsGroupArgs{
    	AccessGroup: &akamai.ReportinggroupsGroupAccessGroupArgs{
    		ContractId: pulumi.String("string"),
    		GroupId:    pulumi.String("string"),
    	},
    	Contract: &akamai.ReportinggroupsGroupContractArgs{
    		ContractId: pulumi.String("string"),
    		CpCodes: akamai.ReportinggroupsGroupContractCpCodeArray{
    			&akamai.ReportinggroupsGroupContractCpCodeArgs{
    				CpCodeId:   pulumi.String("string"),
    				CpCodeName: pulumi.String("string"),
    			},
    		},
    	},
    	ReportingGroupName: pulumi.String("string"),
    })
    
    resource "akamai_reportinggroupsgroup" "reportinggroupsGroupResource" {
      access_group = {
        contract_id = "string"
        group_id    = "string"
      }
      contract = {
        contract_id = "string"
        cp_codes = [{
          "cpCodeId"   = "string"
          "cpCodeName" = "string"
        }]
      }
      reporting_group_name = "string"
    }
    
    var reportinggroupsGroupResource = new ReportinggroupsGroup("reportinggroupsGroupResource", ReportinggroupsGroupArgs.builder()
        .accessGroup(ReportinggroupsGroupAccessGroupArgs.builder()
            .contractId("string")
            .groupId("string")
            .build())
        .contract(ReportinggroupsGroupContractArgs.builder()
            .contractId("string")
            .cpCodes(ReportinggroupsGroupContractCpCodeArgs.builder()
                .cpCodeId("string")
                .cpCodeName("string")
                .build())
            .build())
        .reportingGroupName("string")
        .build());
    
    reportinggroups_group_resource = akamai.ReportinggroupsGroup("reportinggroupsGroupResource",
        access_group={
            "contract_id": "string",
            "group_id": "string",
        },
        contract={
            "contract_id": "string",
            "cp_codes": [{
                "cp_code_id": "string",
                "cp_code_name": "string",
            }],
        },
        reporting_group_name="string")
    
    const reportinggroupsGroupResource = new akamai.ReportinggroupsGroup("reportinggroupsGroupResource", {
        accessGroup: {
            contractId: "string",
            groupId: "string",
        },
        contract: {
            contractId: "string",
            cpCodes: [{
                cpCodeId: "string",
                cpCodeName: "string",
            }],
        },
        reportingGroupName: "string",
    });
    
    type: akamai:ReportinggroupsGroup
    properties:
        accessGroup:
            contractId: string
            groupId: string
        contract:
            contractId: string
            cpCodes:
                - cpCodeId: string
                  cpCodeName: string
        reportingGroupName: string
    

    ReportinggroupsGroup Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The ReportinggroupsGroup resource accepts the following input properties:

    AccessGroup ReportinggroupsGroupAccessGroup
    The access control group that controls access to specific CP codes.
    Contract ReportinggroupsGroupContract
    A collection of contracts and CP codes assigned to the reporting group. Exactly one contract is allowed.
    ReportingGroupName string
    The descriptive label for the reporting group.
    AccessGroup ReportinggroupsGroupAccessGroupArgs
    The access control group that controls access to specific CP codes.
    Contract ReportinggroupsGroupContractArgs
    A collection of contracts and CP codes assigned to the reporting group. Exactly one contract is allowed.
    ReportingGroupName string
    The descriptive label for the reporting group.
    access_group object
    The access control group that controls access to specific CP codes.
    contract object
    A collection of contracts and CP codes assigned to the reporting group. Exactly one contract is allowed.
    reporting_group_name string
    The descriptive label for the reporting group.
    accessGroup ReportinggroupsGroupAccessGroup
    The access control group that controls access to specific CP codes.
    contract ReportinggroupsGroupContract
    A collection of contracts and CP codes assigned to the reporting group. Exactly one contract is allowed.
    reportingGroupName String
    The descriptive label for the reporting group.
    accessGroup ReportinggroupsGroupAccessGroup
    The access control group that controls access to specific CP codes.
    contract ReportinggroupsGroupContract
    A collection of contracts and CP codes assigned to the reporting group. Exactly one contract is allowed.
    reportingGroupName string
    The descriptive label for the reporting group.
    access_group ReportinggroupsGroupAccessGroupArgs
    The access control group that controls access to specific CP codes.
    contract ReportinggroupsGroupContractArgs
    A collection of contracts and CP codes assigned to the reporting group. Exactly one contract is allowed.
    reporting_group_name str
    The descriptive label for the reporting group.
    accessGroup Property Map
    The access control group that controls access to specific CP codes.
    contract Property Map
    A collection of contracts and CP codes assigned to the reporting group. Exactly one contract is allowed.
    reportingGroupName String
    The descriptive label for the reporting group.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the ReportinggroupsGroup resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    ReportingGroupId int
    Unique identifier of the reporting group. Populated after creation.
    Id string
    The provider-assigned unique ID for this managed resource.
    ReportingGroupId int
    Unique identifier of the reporting group. Populated after creation.
    id string
    The provider-assigned unique ID for this managed resource.
    reporting_group_id number
    Unique identifier of the reporting group. Populated after creation.
    id String
    The provider-assigned unique ID for this managed resource.
    reportingGroupId Integer
    Unique identifier of the reporting group. Populated after creation.
    id string
    The provider-assigned unique ID for this managed resource.
    reportingGroupId number
    Unique identifier of the reporting group. Populated after creation.
    id str
    The provider-assigned unique ID for this managed resource.
    reporting_group_id int
    Unique identifier of the reporting group. Populated after creation.
    id String
    The provider-assigned unique ID for this managed resource.
    reportingGroupId Number
    Unique identifier of the reporting group. Populated after creation.

    Look up Existing ReportinggroupsGroup Resource

    Get an existing ReportinggroupsGroup resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: ReportinggroupsGroupState, opts?: CustomResourceOptions): ReportinggroupsGroup
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            access_group: Optional[ReportinggroupsGroupAccessGroupArgs] = None,
            contract: Optional[ReportinggroupsGroupContractArgs] = None,
            reporting_group_id: Optional[int] = None,
            reporting_group_name: Optional[str] = None) -> ReportinggroupsGroup
    func GetReportinggroupsGroup(ctx *Context, name string, id IDInput, state *ReportinggroupsGroupState, opts ...ResourceOption) (*ReportinggroupsGroup, error)
    public static ReportinggroupsGroup Get(string name, Input<string> id, ReportinggroupsGroupState? state, CustomResourceOptions? opts = null)
    public static ReportinggroupsGroup get(String name, Output<String> id, ReportinggroupsGroupState state, CustomResourceOptions options)
    resources:  _:    type: akamai:ReportinggroupsGroup    get:      id: ${id}
    import {
      to = akamai_reportinggroupsgroup.example
      id = "${id}"
    }
    
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    AccessGroup ReportinggroupsGroupAccessGroup
    The access control group that controls access to specific CP codes.
    Contract ReportinggroupsGroupContract
    A collection of contracts and CP codes assigned to the reporting group. Exactly one contract is allowed.
    ReportingGroupId int
    Unique identifier of the reporting group. Populated after creation.
    ReportingGroupName string
    The descriptive label for the reporting group.
    AccessGroup ReportinggroupsGroupAccessGroupArgs
    The access control group that controls access to specific CP codes.
    Contract ReportinggroupsGroupContractArgs
    A collection of contracts and CP codes assigned to the reporting group. Exactly one contract is allowed.
    ReportingGroupId int
    Unique identifier of the reporting group. Populated after creation.
    ReportingGroupName string
    The descriptive label for the reporting group.
    access_group object
    The access control group that controls access to specific CP codes.
    contract object
    A collection of contracts and CP codes assigned to the reporting group. Exactly one contract is allowed.
    reporting_group_id number
    Unique identifier of the reporting group. Populated after creation.
    reporting_group_name string
    The descriptive label for the reporting group.
    accessGroup ReportinggroupsGroupAccessGroup
    The access control group that controls access to specific CP codes.
    contract ReportinggroupsGroupContract
    A collection of contracts and CP codes assigned to the reporting group. Exactly one contract is allowed.
    reportingGroupId Integer
    Unique identifier of the reporting group. Populated after creation.
    reportingGroupName String
    The descriptive label for the reporting group.
    accessGroup ReportinggroupsGroupAccessGroup
    The access control group that controls access to specific CP codes.
    contract ReportinggroupsGroupContract
    A collection of contracts and CP codes assigned to the reporting group. Exactly one contract is allowed.
    reportingGroupId number
    Unique identifier of the reporting group. Populated after creation.
    reportingGroupName string
    The descriptive label for the reporting group.
    access_group ReportinggroupsGroupAccessGroupArgs
    The access control group that controls access to specific CP codes.
    contract ReportinggroupsGroupContractArgs
    A collection of contracts and CP codes assigned to the reporting group. Exactly one contract is allowed.
    reporting_group_id int
    Unique identifier of the reporting group. Populated after creation.
    reporting_group_name str
    The descriptive label for the reporting group.
    accessGroup Property Map
    The access control group that controls access to specific CP codes.
    contract Property Map
    A collection of contracts and CP codes assigned to the reporting group. Exactly one contract is allowed.
    reportingGroupId Number
    Unique identifier of the reporting group. Populated after creation.
    reportingGroupName String
    The descriptive label for the reporting group.

    Supporting Types

    ReportinggroupsGroupAccessGroup, ReportinggroupsGroupAccessGroupArgs

    ContractId string
    Identifies the contract assigned to the access control group.
    GroupId string
    Identifies the access control group. It is required for reporting group creation and cannot be updated.
    ContractId string
    Identifies the contract assigned to the access control group.
    GroupId string
    Identifies the access control group. It is required for reporting group creation and cannot be updated.
    contract_id string
    Identifies the contract assigned to the access control group.
    group_id string
    Identifies the access control group. It is required for reporting group creation and cannot be updated.
    contractId String
    Identifies the contract assigned to the access control group.
    groupId String
    Identifies the access control group. It is required for reporting group creation and cannot be updated.
    contractId string
    Identifies the contract assigned to the access control group.
    groupId string
    Identifies the access control group. It is required for reporting group creation and cannot be updated.
    contract_id str
    Identifies the contract assigned to the access control group.
    group_id str
    Identifies the access control group. It is required for reporting group creation and cannot be updated.
    contractId String
    Identifies the contract assigned to the access control group.
    groupId String
    Identifies the access control group. It is required for reporting group creation and cannot be updated.

    ReportinggroupsGroupContract, ReportinggroupsGroupContractArgs

    ContractId string
    Identifies the contract assigned to the reporting group.
    CpCodes List<ReportinggroupsGroupContractCpCode>
    A collection of CP codes assigned to the reporting group.
    ContractId string
    Identifies the contract assigned to the reporting group.
    CpCodes []ReportinggroupsGroupContractCpCode
    A collection of CP codes assigned to the reporting group.
    contract_id string
    Identifies the contract assigned to the reporting group.
    cp_codes list(object)
    A collection of CP codes assigned to the reporting group.
    contractId String
    Identifies the contract assigned to the reporting group.
    cpCodes List<ReportinggroupsGroupContractCpCode>
    A collection of CP codes assigned to the reporting group.
    contractId string
    Identifies the contract assigned to the reporting group.
    cpCodes ReportinggroupsGroupContractCpCode[]
    A collection of CP codes assigned to the reporting group.
    contract_id str
    Identifies the contract assigned to the reporting group.
    cp_codes Sequence[ReportinggroupsGroupContractCpCode]
    A collection of CP codes assigned to the reporting group.
    contractId String
    Identifies the contract assigned to the reporting group.
    cpCodes List<Property Map>
    A collection of CP codes assigned to the reporting group.

    ReportinggroupsGroupContractCpCode, ReportinggroupsGroupContractCpCodeArgs

    CpCodeId string
    Identifies a CP code.
    CpCodeName string
    The descriptive label for the CP code.
    CpCodeId string
    Identifies a CP code.
    CpCodeName string
    The descriptive label for the CP code.
    cp_code_id string
    Identifies a CP code.
    cp_code_name string
    The descriptive label for the CP code.
    cpCodeId String
    Identifies a CP code.
    cpCodeName String
    The descriptive label for the CP code.
    cpCodeId string
    Identifies a CP code.
    cpCodeName string
    The descriptive label for the CP code.
    cp_code_id str
    Identifies a CP code.
    cp_code_name str
    The descriptive label for the CP code.
    cpCodeId String
    Identifies a CP code.
    cpCodeName String
    The descriptive label for the CP code.

    Package Details

    Repository
    Akamai pulumi/pulumi-akamai
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the akamai Terraform Provider.
    akamai logo
    Viewing docs for Akamai v11.2.0
    published on Thursday, May 14, 2026 by Pulumi
      Try Pulumi Cloud free. Your team will thank you.