1. Packages
  2. Flexibleengine Provider
  3. API Docs
  4. ApigGroup
flexibleengine 1.46.0 published on Monday, Apr 14, 2025 by flexibleenginecloud

flexibleengine.ApigGroup

Explore with Pulumi AI

flexibleengine logo
flexibleengine 1.46.0 published on Monday, Apr 14, 2025 by flexibleenginecloud

    Manages an APIG (API) group resource within FlexibleEngine.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as flexibleengine from "@pulumi/flexibleengine";
    
    const config = new pulumi.Config();
    const instanceId = config.requireObject("instanceId");
    const groupName = config.requireObject("groupName");
    const description = config.requireObject("description");
    const environmentId = config.requireObject("environmentId");
    const test = new flexibleengine.ApigGroup("test", {
        instanceId: instanceId,
        description: description,
        environments: [{
            variables: [{
                name: "TERRAFORM",
                value: "/stage/terraform",
            }],
            environmentId: environmentId,
        }],
    });
    
    import pulumi
    import pulumi_flexibleengine as flexibleengine
    
    config = pulumi.Config()
    instance_id = config.require_object("instanceId")
    group_name = config.require_object("groupName")
    description = config.require_object("description")
    environment_id = config.require_object("environmentId")
    test = flexibleengine.ApigGroup("test",
        instance_id=instance_id,
        description=description,
        environments=[{
            "variables": [{
                "name": "TERRAFORM",
                "value": "/stage/terraform",
            }],
            "environment_id": environment_id,
        }])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/flexibleengine/flexibleengine"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		cfg := config.New(ctx, "")
    		instanceId := cfg.RequireObject("instanceId")
    		groupName := cfg.RequireObject("groupName")
    		description := cfg.RequireObject("description")
    		environmentId := cfg.RequireObject("environmentId")
    		_, err := flexibleengine.NewApigGroup(ctx, "test", &flexibleengine.ApigGroupArgs{
    			InstanceId:  pulumi.Any(instanceId),
    			Description: pulumi.Any(description),
    			Environments: flexibleengine.ApigGroupEnvironmentArray{
    				&flexibleengine.ApigGroupEnvironmentArgs{
    					Variables: flexibleengine.ApigGroupEnvironmentVariableArray{
    						&flexibleengine.ApigGroupEnvironmentVariableArgs{
    							Name:  pulumi.String("TERRAFORM"),
    							Value: pulumi.String("/stage/terraform"),
    						},
    					},
    					EnvironmentId: pulumi.Any(environmentId),
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Flexibleengine = Pulumi.Flexibleengine;
    
    return await Deployment.RunAsync(() => 
    {
        var config = new Config();
        var instanceId = config.RequireObject<dynamic>("instanceId");
        var groupName = config.RequireObject<dynamic>("groupName");
        var description = config.RequireObject<dynamic>("description");
        var environmentId = config.RequireObject<dynamic>("environmentId");
        var test = new Flexibleengine.ApigGroup("test", new()
        {
            InstanceId = instanceId,
            Description = description,
            Environments = new[]
            {
                new Flexibleengine.Inputs.ApigGroupEnvironmentArgs
                {
                    Variables = new[]
                    {
                        new Flexibleengine.Inputs.ApigGroupEnvironmentVariableArgs
                        {
                            Name = "TERRAFORM",
                            Value = "/stage/terraform",
                        },
                    },
                    EnvironmentId = environmentId,
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.flexibleengine.ApigGroup;
    import com.pulumi.flexibleengine.ApigGroupArgs;
    import com.pulumi.flexibleengine.inputs.ApigGroupEnvironmentArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var config = ctx.config();
            final var instanceId = config.get("instanceId");
            final var groupName = config.get("groupName");
            final var description = config.get("description");
            final var environmentId = config.get("environmentId");
            var test = new ApigGroup("test", ApigGroupArgs.builder()
                .instanceId(instanceId)
                .description(description)
                .environments(ApigGroupEnvironmentArgs.builder()
                    .variables(ApigGroupEnvironmentVariableArgs.builder()
                        .name("TERRAFORM")
                        .value("/stage/terraform")
                        .build())
                    .environmentId(environmentId)
                    .build())
                .build());
    
        }
    }
    
    configuration:
      instanceId:
        type: dynamic
      groupName:
        type: dynamic
      description:
        type: dynamic
      environmentId:
        type: dynamic
    resources:
      test:
        type: flexibleengine:ApigGroup
        properties:
          instanceId: ${instanceId}
          description: ${description}
          environments:
            - variables:
                - name: TERRAFORM
                  value: /stage/terraform
              environmentId: ${environmentId}
    

    Create ApigGroup Resource

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

    Constructor syntax

    new ApigGroup(name: string, args: ApigGroupArgs, opts?: CustomResourceOptions);
    @overload
    def ApigGroup(resource_name: str,
                  args: ApigGroupArgs,
                  opts: Optional[ResourceOptions] = None)
    
    @overload
    def ApigGroup(resource_name: str,
                  opts: Optional[ResourceOptions] = None,
                  instance_id: Optional[str] = None,
                  apig_group_id: Optional[str] = None,
                  description: Optional[str] = None,
                  environments: Optional[Sequence[ApigGroupEnvironmentArgs]] = None,
                  name: Optional[str] = None,
                  region: Optional[str] = None)
    func NewApigGroup(ctx *Context, name string, args ApigGroupArgs, opts ...ResourceOption) (*ApigGroup, error)
    public ApigGroup(string name, ApigGroupArgs args, CustomResourceOptions? opts = null)
    public ApigGroup(String name, ApigGroupArgs args)
    public ApigGroup(String name, ApigGroupArgs args, CustomResourceOptions options)
    
    type: flexibleengine:ApigGroup
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args ApigGroupArgs
    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 ApigGroupArgs
    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 ApigGroupArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ApigGroupArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ApigGroupArgs
    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 apigGroupResource = new Flexibleengine.ApigGroup("apigGroupResource", new()
    {
        InstanceId = "string",
        ApigGroupId = "string",
        Description = "string",
        Environments = new[]
        {
            new Flexibleengine.Inputs.ApigGroupEnvironmentArgs
            {
                EnvironmentId = "string",
                Variables = new[]
                {
                    new Flexibleengine.Inputs.ApigGroupEnvironmentVariableArgs
                    {
                        Name = "string",
                        Value = "string",
                        Id = "string",
                    },
                },
            },
        },
        Name = "string",
        Region = "string",
    });
    
    example, err := flexibleengine.NewApigGroup(ctx, "apigGroupResource", &flexibleengine.ApigGroupArgs{
    	InstanceId:  pulumi.String("string"),
    	ApigGroupId: pulumi.String("string"),
    	Description: pulumi.String("string"),
    	Environments: flexibleengine.ApigGroupEnvironmentArray{
    		&flexibleengine.ApigGroupEnvironmentArgs{
    			EnvironmentId: pulumi.String("string"),
    			Variables: flexibleengine.ApigGroupEnvironmentVariableArray{
    				&flexibleengine.ApigGroupEnvironmentVariableArgs{
    					Name:  pulumi.String("string"),
    					Value: pulumi.String("string"),
    					Id:    pulumi.String("string"),
    				},
    			},
    		},
    	},
    	Name:   pulumi.String("string"),
    	Region: pulumi.String("string"),
    })
    
    var apigGroupResource = new ApigGroup("apigGroupResource", ApigGroupArgs.builder()
        .instanceId("string")
        .apigGroupId("string")
        .description("string")
        .environments(ApigGroupEnvironmentArgs.builder()
            .environmentId("string")
            .variables(ApigGroupEnvironmentVariableArgs.builder()
                .name("string")
                .value("string")
                .id("string")
                .build())
            .build())
        .name("string")
        .region("string")
        .build());
    
    apig_group_resource = flexibleengine.ApigGroup("apigGroupResource",
        instance_id="string",
        apig_group_id="string",
        description="string",
        environments=[{
            "environment_id": "string",
            "variables": [{
                "name": "string",
                "value": "string",
                "id": "string",
            }],
        }],
        name="string",
        region="string")
    
    const apigGroupResource = new flexibleengine.ApigGroup("apigGroupResource", {
        instanceId: "string",
        apigGroupId: "string",
        description: "string",
        environments: [{
            environmentId: "string",
            variables: [{
                name: "string",
                value: "string",
                id: "string",
            }],
        }],
        name: "string",
        region: "string",
    });
    
    type: flexibleengine:ApigGroup
    properties:
        apigGroupId: string
        description: string
        environments:
            - environmentId: string
              variables:
                - id: string
                  name: string
                  value: string
        instanceId: string
        name: string
        region: string
    

    ApigGroup 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 ApigGroup resource accepts the following input properties:

    InstanceId string
    Specifies an ID of the APIG dedicated instance to which the API group belongs to. Changing this will create a new API group resource.
    ApigGroupId string
    The variable ID.
    Description string
    Specifies the description about the API group. The description contain a maximum of 255 characters and the angle brackets (< and >) are not allowed. Chinese characters must be in UTF-8 or Unicode format.
    Environments List<ApigGroupEnvironment>
    Specifies an array of one or more APIG environments of the associated APIG group. The object structure is documented below.
    Name string
    Specifies the name of the API group. The API group name consists of 3 to 64 characters, starting with a letter. Only letters, digits and underscores (_) are allowed. Chinese characters must be in UTF-8 or Unicode format.
    Region string
    Specifies the region in which to create the API group resource. If omitted, the provider-level region will be used. Changing this will create a new API group resource.
    InstanceId string
    Specifies an ID of the APIG dedicated instance to which the API group belongs to. Changing this will create a new API group resource.
    ApigGroupId string
    The variable ID.
    Description string
    Specifies the description about the API group. The description contain a maximum of 255 characters and the angle brackets (< and >) are not allowed. Chinese characters must be in UTF-8 or Unicode format.
    Environments []ApigGroupEnvironmentArgs
    Specifies an array of one or more APIG environments of the associated APIG group. The object structure is documented below.
    Name string
    Specifies the name of the API group. The API group name consists of 3 to 64 characters, starting with a letter. Only letters, digits and underscores (_) are allowed. Chinese characters must be in UTF-8 or Unicode format.
    Region string
    Specifies the region in which to create the API group resource. If omitted, the provider-level region will be used. Changing this will create a new API group resource.
    instanceId String
    Specifies an ID of the APIG dedicated instance to which the API group belongs to. Changing this will create a new API group resource.
    apigGroupId String
    The variable ID.
    description String
    Specifies the description about the API group. The description contain a maximum of 255 characters and the angle brackets (< and >) are not allowed. Chinese characters must be in UTF-8 or Unicode format.
    environments List<ApigGroupEnvironment>
    Specifies an array of one or more APIG environments of the associated APIG group. The object structure is documented below.
    name String
    Specifies the name of the API group. The API group name consists of 3 to 64 characters, starting with a letter. Only letters, digits and underscores (_) are allowed. Chinese characters must be in UTF-8 or Unicode format.
    region String
    Specifies the region in which to create the API group resource. If omitted, the provider-level region will be used. Changing this will create a new API group resource.
    instanceId string
    Specifies an ID of the APIG dedicated instance to which the API group belongs to. Changing this will create a new API group resource.
    apigGroupId string
    The variable ID.
    description string
    Specifies the description about the API group. The description contain a maximum of 255 characters and the angle brackets (< and >) are not allowed. Chinese characters must be in UTF-8 or Unicode format.
    environments ApigGroupEnvironment[]
    Specifies an array of one or more APIG environments of the associated APIG group. The object structure is documented below.
    name string
    Specifies the name of the API group. The API group name consists of 3 to 64 characters, starting with a letter. Only letters, digits and underscores (_) are allowed. Chinese characters must be in UTF-8 or Unicode format.
    region string
    Specifies the region in which to create the API group resource. If omitted, the provider-level region will be used. Changing this will create a new API group resource.
    instance_id str
    Specifies an ID of the APIG dedicated instance to which the API group belongs to. Changing this will create a new API group resource.
    apig_group_id str
    The variable ID.
    description str
    Specifies the description about the API group. The description contain a maximum of 255 characters and the angle brackets (< and >) are not allowed. Chinese characters must be in UTF-8 or Unicode format.
    environments Sequence[ApigGroupEnvironmentArgs]
    Specifies an array of one or more APIG environments of the associated APIG group. The object structure is documented below.
    name str
    Specifies the name of the API group. The API group name consists of 3 to 64 characters, starting with a letter. Only letters, digits and underscores (_) are allowed. Chinese characters must be in UTF-8 or Unicode format.
    region str
    Specifies the region in which to create the API group resource. If omitted, the provider-level region will be used. Changing this will create a new API group resource.
    instanceId String
    Specifies an ID of the APIG dedicated instance to which the API group belongs to. Changing this will create a new API group resource.
    apigGroupId String
    The variable ID.
    description String
    Specifies the description about the API group. The description contain a maximum of 255 characters and the angle brackets (< and >) are not allowed. Chinese characters must be in UTF-8 or Unicode format.
    environments List<Property Map>
    Specifies an array of one or more APIG environments of the associated APIG group. The object structure is documented below.
    name String
    Specifies the name of the API group. The API group name consists of 3 to 64 characters, starting with a letter. Only letters, digits and underscores (_) are allowed. Chinese characters must be in UTF-8 or Unicode format.
    region String
    Specifies the region in which to create the API group resource. If omitted, the provider-level region will be used. Changing this will create a new API group resource.

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    RegistrationTime string
    The registration time.
    UpdateTime string
    schema: Deprecated; The latest update time of the group.

    Deprecated: Deprecated

    UpdatedAt string
    The latest update time of the group.
    Id string
    The provider-assigned unique ID for this managed resource.
    RegistrationTime string
    The registration time.
    UpdateTime string
    schema: Deprecated; The latest update time of the group.

    Deprecated: Deprecated

    UpdatedAt string
    The latest update time of the group.
    id String
    The provider-assigned unique ID for this managed resource.
    registrationTime String
    The registration time.
    updateTime String
    schema: Deprecated; The latest update time of the group.

    Deprecated: Deprecated

    updatedAt String
    The latest update time of the group.
    id string
    The provider-assigned unique ID for this managed resource.
    registrationTime string
    The registration time.
    updateTime string
    schema: Deprecated; The latest update time of the group.

    Deprecated: Deprecated

    updatedAt string
    The latest update time of the group.
    id str
    The provider-assigned unique ID for this managed resource.
    registration_time str
    The registration time.
    update_time str
    schema: Deprecated; The latest update time of the group.

    Deprecated: Deprecated

    updated_at str
    The latest update time of the group.
    id String
    The provider-assigned unique ID for this managed resource.
    registrationTime String
    The registration time.
    updateTime String
    schema: Deprecated; The latest update time of the group.

    Deprecated: Deprecated

    updatedAt String
    The latest update time of the group.

    Look up Existing ApigGroup Resource

    Get an existing ApigGroup 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?: ApigGroupState, opts?: CustomResourceOptions): ApigGroup
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            apig_group_id: Optional[str] = None,
            description: Optional[str] = None,
            environments: Optional[Sequence[ApigGroupEnvironmentArgs]] = None,
            instance_id: Optional[str] = None,
            name: Optional[str] = None,
            region: Optional[str] = None,
            registration_time: Optional[str] = None,
            update_time: Optional[str] = None,
            updated_at: Optional[str] = None) -> ApigGroup
    func GetApigGroup(ctx *Context, name string, id IDInput, state *ApigGroupState, opts ...ResourceOption) (*ApigGroup, error)
    public static ApigGroup Get(string name, Input<string> id, ApigGroupState? state, CustomResourceOptions? opts = null)
    public static ApigGroup get(String name, Output<String> id, ApigGroupState state, CustomResourceOptions options)
    resources:  _:    type: flexibleengine:ApigGroup    get:      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:
    ApigGroupId string
    The variable ID.
    Description string
    Specifies the description about the API group. The description contain a maximum of 255 characters and the angle brackets (< and >) are not allowed. Chinese characters must be in UTF-8 or Unicode format.
    Environments List<ApigGroupEnvironment>
    Specifies an array of one or more APIG environments of the associated APIG group. The object structure is documented below.
    InstanceId string
    Specifies an ID of the APIG dedicated instance to which the API group belongs to. Changing this will create a new API group resource.
    Name string
    Specifies the name of the API group. The API group name consists of 3 to 64 characters, starting with a letter. Only letters, digits and underscores (_) are allowed. Chinese characters must be in UTF-8 or Unicode format.
    Region string
    Specifies the region in which to create the API group resource. If omitted, the provider-level region will be used. Changing this will create a new API group resource.
    RegistrationTime string
    The registration time.
    UpdateTime string
    schema: Deprecated; The latest update time of the group.

    Deprecated: Deprecated

    UpdatedAt string
    The latest update time of the group.
    ApigGroupId string
    The variable ID.
    Description string
    Specifies the description about the API group. The description contain a maximum of 255 characters and the angle brackets (< and >) are not allowed. Chinese characters must be in UTF-8 or Unicode format.
    Environments []ApigGroupEnvironmentArgs
    Specifies an array of one or more APIG environments of the associated APIG group. The object structure is documented below.
    InstanceId string
    Specifies an ID of the APIG dedicated instance to which the API group belongs to. Changing this will create a new API group resource.
    Name string
    Specifies the name of the API group. The API group name consists of 3 to 64 characters, starting with a letter. Only letters, digits and underscores (_) are allowed. Chinese characters must be in UTF-8 or Unicode format.
    Region string
    Specifies the region in which to create the API group resource. If omitted, the provider-level region will be used. Changing this will create a new API group resource.
    RegistrationTime string
    The registration time.
    UpdateTime string
    schema: Deprecated; The latest update time of the group.

    Deprecated: Deprecated

    UpdatedAt string
    The latest update time of the group.
    apigGroupId String
    The variable ID.
    description String
    Specifies the description about the API group. The description contain a maximum of 255 characters and the angle brackets (< and >) are not allowed. Chinese characters must be in UTF-8 or Unicode format.
    environments List<ApigGroupEnvironment>
    Specifies an array of one or more APIG environments of the associated APIG group. The object structure is documented below.
    instanceId String
    Specifies an ID of the APIG dedicated instance to which the API group belongs to. Changing this will create a new API group resource.
    name String
    Specifies the name of the API group. The API group name consists of 3 to 64 characters, starting with a letter. Only letters, digits and underscores (_) are allowed. Chinese characters must be in UTF-8 or Unicode format.
    region String
    Specifies the region in which to create the API group resource. If omitted, the provider-level region will be used. Changing this will create a new API group resource.
    registrationTime String
    The registration time.
    updateTime String
    schema: Deprecated; The latest update time of the group.

    Deprecated: Deprecated

    updatedAt String
    The latest update time of the group.
    apigGroupId string
    The variable ID.
    description string
    Specifies the description about the API group. The description contain a maximum of 255 characters and the angle brackets (< and >) are not allowed. Chinese characters must be in UTF-8 or Unicode format.
    environments ApigGroupEnvironment[]
    Specifies an array of one or more APIG environments of the associated APIG group. The object structure is documented below.
    instanceId string
    Specifies an ID of the APIG dedicated instance to which the API group belongs to. Changing this will create a new API group resource.
    name string
    Specifies the name of the API group. The API group name consists of 3 to 64 characters, starting with a letter. Only letters, digits and underscores (_) are allowed. Chinese characters must be in UTF-8 or Unicode format.
    region string
    Specifies the region in which to create the API group resource. If omitted, the provider-level region will be used. Changing this will create a new API group resource.
    registrationTime string
    The registration time.
    updateTime string
    schema: Deprecated; The latest update time of the group.

    Deprecated: Deprecated

    updatedAt string
    The latest update time of the group.
    apig_group_id str
    The variable ID.
    description str
    Specifies the description about the API group. The description contain a maximum of 255 characters and the angle brackets (< and >) are not allowed. Chinese characters must be in UTF-8 or Unicode format.
    environments Sequence[ApigGroupEnvironmentArgs]
    Specifies an array of one or more APIG environments of the associated APIG group. The object structure is documented below.
    instance_id str
    Specifies an ID of the APIG dedicated instance to which the API group belongs to. Changing this will create a new API group resource.
    name str
    Specifies the name of the API group. The API group name consists of 3 to 64 characters, starting with a letter. Only letters, digits and underscores (_) are allowed. Chinese characters must be in UTF-8 or Unicode format.
    region str
    Specifies the region in which to create the API group resource. If omitted, the provider-level region will be used. Changing this will create a new API group resource.
    registration_time str
    The registration time.
    update_time str
    schema: Deprecated; The latest update time of the group.

    Deprecated: Deprecated

    updated_at str
    The latest update time of the group.
    apigGroupId String
    The variable ID.
    description String
    Specifies the description about the API group. The description contain a maximum of 255 characters and the angle brackets (< and >) are not allowed. Chinese characters must be in UTF-8 or Unicode format.
    environments List<Property Map>
    Specifies an array of one or more APIG environments of the associated APIG group. The object structure is documented below.
    instanceId String
    Specifies an ID of the APIG dedicated instance to which the API group belongs to. Changing this will create a new API group resource.
    name String
    Specifies the name of the API group. The API group name consists of 3 to 64 characters, starting with a letter. Only letters, digits and underscores (_) are allowed. Chinese characters must be in UTF-8 or Unicode format.
    region String
    Specifies the region in which to create the API group resource. If omitted, the provider-level region will be used. Changing this will create a new API group resource.
    registrationTime String
    The registration time.
    updateTime String
    schema: Deprecated; The latest update time of the group.

    Deprecated: Deprecated

    updatedAt String
    The latest update time of the group.

    Supporting Types

    ApigGroupEnvironment, ApigGroupEnvironmentArgs

    EnvironmentId string
    Specifies the APIG environment ID of the associated APIG group.
    Variables List<ApigGroupEnvironmentVariable>
    Specifies an array of one or more APIG environment variables. The object structure is documented below. The environment variables of different groups are isolated in the same environment.
    EnvironmentId string
    Specifies the APIG environment ID of the associated APIG group.
    Variables []ApigGroupEnvironmentVariable
    Specifies an array of one or more APIG environment variables. The object structure is documented below. The environment variables of different groups are isolated in the same environment.
    environmentId String
    Specifies the APIG environment ID of the associated APIG group.
    variables List<ApigGroupEnvironmentVariable>
    Specifies an array of one or more APIG environment variables. The object structure is documented below. The environment variables of different groups are isolated in the same environment.
    environmentId string
    Specifies the APIG environment ID of the associated APIG group.
    variables ApigGroupEnvironmentVariable[]
    Specifies an array of one or more APIG environment variables. The object structure is documented below. The environment variables of different groups are isolated in the same environment.
    environment_id str
    Specifies the APIG environment ID of the associated APIG group.
    variables Sequence[ApigGroupEnvironmentVariable]
    Specifies an array of one or more APIG environment variables. The object structure is documented below. The environment variables of different groups are isolated in the same environment.
    environmentId String
    Specifies the APIG environment ID of the associated APIG group.
    variables List<Property Map>
    Specifies an array of one or more APIG environment variables. The object structure is documented below. The environment variables of different groups are isolated in the same environment.

    ApigGroupEnvironmentVariable, ApigGroupEnvironmentVariableArgs

    Name string
    Specifies the variable name, which can contains of 3 to 32 characters, starting with a letter. Only letters, digits, hyphens (-), and underscores (_) are allowed. In the definition of an API, name ( case-sensitive) indicates a variable, such as #Name#. It is replaced by the actual value when the API is published in an environment. The variable names are not allowed to be repeated for an API group.
    Value string

    Specifies the environment ariable value, which can contains of 1 to 255 characters. Only letters, digits and special characters (_-/.:) are allowed.

    NOTE: The variable value will be displayed in plain text on the console.

    Id string
    The variable ID.
    VariableId string
    schema: Deprecated; The ID of the variable that the group has.

    Deprecated: Deprecated

    Name string
    Specifies the variable name, which can contains of 3 to 32 characters, starting with a letter. Only letters, digits, hyphens (-), and underscores (_) are allowed. In the definition of an API, name ( case-sensitive) indicates a variable, such as #Name#. It is replaced by the actual value when the API is published in an environment. The variable names are not allowed to be repeated for an API group.
    Value string

    Specifies the environment ariable value, which can contains of 1 to 255 characters. Only letters, digits and special characters (_-/.:) are allowed.

    NOTE: The variable value will be displayed in plain text on the console.

    Id string
    The variable ID.
    VariableId string
    schema: Deprecated; The ID of the variable that the group has.

    Deprecated: Deprecated

    name String
    Specifies the variable name, which can contains of 3 to 32 characters, starting with a letter. Only letters, digits, hyphens (-), and underscores (_) are allowed. In the definition of an API, name ( case-sensitive) indicates a variable, such as #Name#. It is replaced by the actual value when the API is published in an environment. The variable names are not allowed to be repeated for an API group.
    value String

    Specifies the environment ariable value, which can contains of 1 to 255 characters. Only letters, digits and special characters (_-/.:) are allowed.

    NOTE: The variable value will be displayed in plain text on the console.

    id String
    The variable ID.
    variableId String
    schema: Deprecated; The ID of the variable that the group has.

    Deprecated: Deprecated

    name string
    Specifies the variable name, which can contains of 3 to 32 characters, starting with a letter. Only letters, digits, hyphens (-), and underscores (_) are allowed. In the definition of an API, name ( case-sensitive) indicates a variable, such as #Name#. It is replaced by the actual value when the API is published in an environment. The variable names are not allowed to be repeated for an API group.
    value string

    Specifies the environment ariable value, which can contains of 1 to 255 characters. Only letters, digits and special characters (_-/.:) are allowed.

    NOTE: The variable value will be displayed in plain text on the console.

    id string
    The variable ID.
    variableId string
    schema: Deprecated; The ID of the variable that the group has.

    Deprecated: Deprecated

    name str
    Specifies the variable name, which can contains of 3 to 32 characters, starting with a letter. Only letters, digits, hyphens (-), and underscores (_) are allowed. In the definition of an API, name ( case-sensitive) indicates a variable, such as #Name#. It is replaced by the actual value when the API is published in an environment. The variable names are not allowed to be repeated for an API group.
    value str

    Specifies the environment ariable value, which can contains of 1 to 255 characters. Only letters, digits and special characters (_-/.:) are allowed.

    NOTE: The variable value will be displayed in plain text on the console.

    id str
    The variable ID.
    variable_id str
    schema: Deprecated; The ID of the variable that the group has.

    Deprecated: Deprecated

    name String
    Specifies the variable name, which can contains of 3 to 32 characters, starting with a letter. Only letters, digits, hyphens (-), and underscores (_) are allowed. In the definition of an API, name ( case-sensitive) indicates a variable, such as #Name#. It is replaced by the actual value when the API is published in an environment. The variable names are not allowed to be repeated for an API group.
    value String

    Specifies the environment ariable value, which can contains of 1 to 255 characters. Only letters, digits and special characters (_-/.:) are allowed.

    NOTE: The variable value will be displayed in plain text on the console.

    id String
    The variable ID.
    variableId String
    schema: Deprecated; The ID of the variable that the group has.

    Deprecated: Deprecated

    Import

    API groups of the APIG can be imported using the ID of the APIG instance to which the group belongs and API group ID,

    separated by a slash, e.g.

    $ pulumi import flexibleengine:index/apigGroup:ApigGroup test <instance_id>/<id>
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    flexibleengine flexibleenginecloud/terraform-provider-flexibleengine
    License
    Notes
    This Pulumi package is based on the flexibleengine Terraform Provider.
    flexibleengine logo
    flexibleengine 1.46.0 published on Monday, Apr 14, 2025 by flexibleenginecloud