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

flexibleengine.ApigApplication

Explore with Pulumi AI

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

    Manages an APIG application 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 appName = config.requireObject("appName");
    const appCode = config.requireObject("appCode");
    const test = new flexibleengine.ApigApplication("test", {
        instanceId: instanceId,
        description: "Created by script",
        appCodes: [appCode],
    });
    
    import pulumi
    import pulumi_flexibleengine as flexibleengine
    
    config = pulumi.Config()
    instance_id = config.require_object("instanceId")
    app_name = config.require_object("appName")
    app_code = config.require_object("appCode")
    test = flexibleengine.ApigApplication("test",
        instance_id=instance_id,
        description="Created by script",
        app_codes=[app_code])
    
    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")
    		appName := cfg.RequireObject("appName")
    		appCode := cfg.RequireObject("appCode")
    		_, err := flexibleengine.NewApigApplication(ctx, "test", &flexibleengine.ApigApplicationArgs{
    			InstanceId:  pulumi.Any(instanceId),
    			Description: pulumi.String("Created by script"),
    			AppCodes: pulumi.StringArray{
    				appCode,
    			},
    		})
    		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 appName = config.RequireObject<dynamic>("appName");
        var appCode = config.RequireObject<dynamic>("appCode");
        var test = new Flexibleengine.ApigApplication("test", new()
        {
            InstanceId = instanceId,
            Description = "Created by script",
            AppCodes = new[]
            {
                appCode,
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.flexibleengine.ApigApplication;
    import com.pulumi.flexibleengine.ApigApplicationArgs;
    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 appName = config.get("appName");
            final var appCode = config.get("appCode");
            var test = new ApigApplication("test", ApigApplicationArgs.builder()
                .instanceId(instanceId)
                .description("Created by script")
                .appCodes(appCode)
                .build());
    
        }
    }
    
    configuration:
      instanceId:
        type: dynamic
      appName:
        type: dynamic
      appCode:
        type: dynamic
    resources:
      test:
        type: flexibleengine:ApigApplication
        properties:
          instanceId: ${instanceId}
          description: Created by script
          appCodes:
            - ${appCode}
    

    Create ApigApplication Resource

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

    Constructor syntax

    new ApigApplication(name: string, args: ApigApplicationArgs, opts?: CustomResourceOptions);
    @overload
    def ApigApplication(resource_name: str,
                        args: ApigApplicationArgs,
                        opts: Optional[ResourceOptions] = None)
    
    @overload
    def ApigApplication(resource_name: str,
                        opts: Optional[ResourceOptions] = None,
                        instance_id: Optional[str] = None,
                        apig_application_id: Optional[str] = None,
                        app_codes: Optional[Sequence[str]] = None,
                        description: Optional[str] = None,
                        name: Optional[str] = None,
                        region: Optional[str] = None,
                        secret_action: Optional[str] = None)
    func NewApigApplication(ctx *Context, name string, args ApigApplicationArgs, opts ...ResourceOption) (*ApigApplication, error)
    public ApigApplication(string name, ApigApplicationArgs args, CustomResourceOptions? opts = null)
    public ApigApplication(String name, ApigApplicationArgs args)
    public ApigApplication(String name, ApigApplicationArgs args, CustomResourceOptions options)
    
    type: flexibleengine:ApigApplication
    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 ApigApplicationArgs
    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 ApigApplicationArgs
    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 ApigApplicationArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ApigApplicationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ApigApplicationArgs
    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 apigApplicationResource = new Flexibleengine.ApigApplication("apigApplicationResource", new()
    {
        InstanceId = "string",
        ApigApplicationId = "string",
        AppCodes = new[]
        {
            "string",
        },
        Description = "string",
        Name = "string",
        Region = "string",
        SecretAction = "string",
    });
    
    example, err := flexibleengine.NewApigApplication(ctx, "apigApplicationResource", &flexibleengine.ApigApplicationArgs{
    	InstanceId:        pulumi.String("string"),
    	ApigApplicationId: pulumi.String("string"),
    	AppCodes: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Description:  pulumi.String("string"),
    	Name:         pulumi.String("string"),
    	Region:       pulumi.String("string"),
    	SecretAction: pulumi.String("string"),
    })
    
    var apigApplicationResource = new ApigApplication("apigApplicationResource", ApigApplicationArgs.builder()
        .instanceId("string")
        .apigApplicationId("string")
        .appCodes("string")
        .description("string")
        .name("string")
        .region("string")
        .secretAction("string")
        .build());
    
    apig_application_resource = flexibleengine.ApigApplication("apigApplicationResource",
        instance_id="string",
        apig_application_id="string",
        app_codes=["string"],
        description="string",
        name="string",
        region="string",
        secret_action="string")
    
    const apigApplicationResource = new flexibleengine.ApigApplication("apigApplicationResource", {
        instanceId: "string",
        apigApplicationId: "string",
        appCodes: ["string"],
        description: "string",
        name: "string",
        region: "string",
        secretAction: "string",
    });
    
    type: flexibleengine:ApigApplication
    properties:
        apigApplicationId: string
        appCodes:
            - string
        description: string
        instanceId: string
        name: string
        region: string
        secretAction: string
    

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

    InstanceId string
    Specifies an ID of the APIG dedicated instance to which the APIG application belongs to. Changing this will create a new APIG application resource.
    ApigApplicationId string
    ID of the APIG application.
    AppCodes List<string>
    Specifies an array of one or more application codes which the APIG application belongs to. Up to five application codes can be created. The code consists of 64 to 180 characters, starting with a letter, digit, plus sign (+) or slash (/). Only letters, digits and following special special characters are allowed: !@#$%+-_ /=
    Description string
    Specifies the description about the APIG application. 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.
    Name string
    Specifies the name of the API application. 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 APIG application resource. If omitted, the provider-level region will be used. Changing this will create a new APIG application resource.
    SecretAction string

    Specifies the secret action to be done for the APIG application. The valid action is RESET.

    NOTE: The secret_action is a one-time action.

    InstanceId string
    Specifies an ID of the APIG dedicated instance to which the APIG application belongs to. Changing this will create a new APIG application resource.
    ApigApplicationId string
    ID of the APIG application.
    AppCodes []string
    Specifies an array of one or more application codes which the APIG application belongs to. Up to five application codes can be created. The code consists of 64 to 180 characters, starting with a letter, digit, plus sign (+) or slash (/). Only letters, digits and following special special characters are allowed: !@#$%+-_ /=
    Description string
    Specifies the description about the APIG application. 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.
    Name string
    Specifies the name of the API application. 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 APIG application resource. If omitted, the provider-level region will be used. Changing this will create a new APIG application resource.
    SecretAction string

    Specifies the secret action to be done for the APIG application. The valid action is RESET.

    NOTE: The secret_action is a one-time action.

    instanceId String
    Specifies an ID of the APIG dedicated instance to which the APIG application belongs to. Changing this will create a new APIG application resource.
    apigApplicationId String
    ID of the APIG application.
    appCodes List<String>
    Specifies an array of one or more application codes which the APIG application belongs to. Up to five application codes can be created. The code consists of 64 to 180 characters, starting with a letter, digit, plus sign (+) or slash (/). Only letters, digits and following special special characters are allowed: !@#$%+-_ /=
    description String
    Specifies the description about the APIG application. 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.
    name String
    Specifies the name of the API application. 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 APIG application resource. If omitted, the provider-level region will be used. Changing this will create a new APIG application resource.
    secretAction String

    Specifies the secret action to be done for the APIG application. The valid action is RESET.

    NOTE: The secret_action is a one-time action.

    instanceId string
    Specifies an ID of the APIG dedicated instance to which the APIG application belongs to. Changing this will create a new APIG application resource.
    apigApplicationId string
    ID of the APIG application.
    appCodes string[]
    Specifies an array of one or more application codes which the APIG application belongs to. Up to five application codes can be created. The code consists of 64 to 180 characters, starting with a letter, digit, plus sign (+) or slash (/). Only letters, digits and following special special characters are allowed: !@#$%+-_ /=
    description string
    Specifies the description about the APIG application. 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.
    name string
    Specifies the name of the API application. 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 APIG application resource. If omitted, the provider-level region will be used. Changing this will create a new APIG application resource.
    secretAction string

    Specifies the secret action to be done for the APIG application. The valid action is RESET.

    NOTE: The secret_action is a one-time action.

    instance_id str
    Specifies an ID of the APIG dedicated instance to which the APIG application belongs to. Changing this will create a new APIG application resource.
    apig_application_id str
    ID of the APIG application.
    app_codes Sequence[str]
    Specifies an array of one or more application codes which the APIG application belongs to. Up to five application codes can be created. The code consists of 64 to 180 characters, starting with a letter, digit, plus sign (+) or slash (/). Only letters, digits and following special special characters are allowed: !@#$%+-_ /=
    description str
    Specifies the description about the APIG application. 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.
    name str
    Specifies the name of the API application. 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 APIG application resource. If omitted, the provider-level region will be used. Changing this will create a new APIG application resource.
    secret_action str

    Specifies the secret action to be done for the APIG application. The valid action is RESET.

    NOTE: The secret_action is a one-time action.

    instanceId String
    Specifies an ID of the APIG dedicated instance to which the APIG application belongs to. Changing this will create a new APIG application resource.
    apigApplicationId String
    ID of the APIG application.
    appCodes List<String>
    Specifies an array of one or more application codes which the APIG application belongs to. Up to five application codes can be created. The code consists of 64 to 180 characters, starting with a letter, digit, plus sign (+) or slash (/). Only letters, digits and following special special characters are allowed: !@#$%+-_ /=
    description String
    Specifies the description about the APIG application. 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.
    name String
    Specifies the name of the API application. 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 APIG application resource. If omitted, the provider-level region will be used. Changing this will create a new APIG application resource.
    secretAction String

    Specifies the secret action to be done for the APIG application. The valid action is RESET.

    NOTE: The secret_action is a one-time action.

    Outputs

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

    AppKey string
    App key.
    AppSecret string
    App secret.
    Id string
    The provider-assigned unique ID for this managed resource.
    RegistrationTime string
    Registration time, in RFC-3339 format.
    UpdatedAt string
    The latest update time of the application.
    AppKey string
    App key.
    AppSecret string
    App secret.
    Id string
    The provider-assigned unique ID for this managed resource.
    RegistrationTime string
    Registration time, in RFC-3339 format.
    UpdatedAt string
    The latest update time of the application.
    appKey String
    App key.
    appSecret String
    App secret.
    id String
    The provider-assigned unique ID for this managed resource.
    registrationTime String
    Registration time, in RFC-3339 format.
    updatedAt String
    The latest update time of the application.
    appKey string
    App key.
    appSecret string
    App secret.
    id string
    The provider-assigned unique ID for this managed resource.
    registrationTime string
    Registration time, in RFC-3339 format.
    updatedAt string
    The latest update time of the application.
    app_key str
    App key.
    app_secret str
    App secret.
    id str
    The provider-assigned unique ID for this managed resource.
    registration_time str
    Registration time, in RFC-3339 format.
    updated_at str
    The latest update time of the application.
    appKey String
    App key.
    appSecret String
    App secret.
    id String
    The provider-assigned unique ID for this managed resource.
    registrationTime String
    Registration time, in RFC-3339 format.
    updatedAt String
    The latest update time of the application.

    Look up Existing ApigApplication Resource

    Get an existing ApigApplication 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?: ApigApplicationState, opts?: CustomResourceOptions): ApigApplication
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            apig_application_id: Optional[str] = None,
            app_codes: Optional[Sequence[str]] = None,
            app_key: Optional[str] = None,
            app_secret: Optional[str] = None,
            description: Optional[str] = None,
            instance_id: Optional[str] = None,
            name: Optional[str] = None,
            region: Optional[str] = None,
            registration_time: Optional[str] = None,
            secret_action: Optional[str] = None,
            updated_at: Optional[str] = None) -> ApigApplication
    func GetApigApplication(ctx *Context, name string, id IDInput, state *ApigApplicationState, opts ...ResourceOption) (*ApigApplication, error)
    public static ApigApplication Get(string name, Input<string> id, ApigApplicationState? state, CustomResourceOptions? opts = null)
    public static ApigApplication get(String name, Output<String> id, ApigApplicationState state, CustomResourceOptions options)
    resources:  _:    type: flexibleengine:ApigApplication    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:
    ApigApplicationId string
    ID of the APIG application.
    AppCodes List<string>
    Specifies an array of one or more application codes which the APIG application belongs to. Up to five application codes can be created. The code consists of 64 to 180 characters, starting with a letter, digit, plus sign (+) or slash (/). Only letters, digits and following special special characters are allowed: !@#$%+-_ /=
    AppKey string
    App key.
    AppSecret string
    App secret.
    Description string
    Specifies the description about the APIG application. 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.
    InstanceId string
    Specifies an ID of the APIG dedicated instance to which the APIG application belongs to. Changing this will create a new APIG application resource.
    Name string
    Specifies the name of the API application. 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 APIG application resource. If omitted, the provider-level region will be used. Changing this will create a new APIG application resource.
    RegistrationTime string
    Registration time, in RFC-3339 format.
    SecretAction string

    Specifies the secret action to be done for the APIG application. The valid action is RESET.

    NOTE: The secret_action is a one-time action.

    UpdatedAt string
    The latest update time of the application.
    ApigApplicationId string
    ID of the APIG application.
    AppCodes []string
    Specifies an array of one or more application codes which the APIG application belongs to. Up to five application codes can be created. The code consists of 64 to 180 characters, starting with a letter, digit, plus sign (+) or slash (/). Only letters, digits and following special special characters are allowed: !@#$%+-_ /=
    AppKey string
    App key.
    AppSecret string
    App secret.
    Description string
    Specifies the description about the APIG application. 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.
    InstanceId string
    Specifies an ID of the APIG dedicated instance to which the APIG application belongs to. Changing this will create a new APIG application resource.
    Name string
    Specifies the name of the API application. 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 APIG application resource. If omitted, the provider-level region will be used. Changing this will create a new APIG application resource.
    RegistrationTime string
    Registration time, in RFC-3339 format.
    SecretAction string

    Specifies the secret action to be done for the APIG application. The valid action is RESET.

    NOTE: The secret_action is a one-time action.

    UpdatedAt string
    The latest update time of the application.
    apigApplicationId String
    ID of the APIG application.
    appCodes List<String>
    Specifies an array of one or more application codes which the APIG application belongs to. Up to five application codes can be created. The code consists of 64 to 180 characters, starting with a letter, digit, plus sign (+) or slash (/). Only letters, digits and following special special characters are allowed: !@#$%+-_ /=
    appKey String
    App key.
    appSecret String
    App secret.
    description String
    Specifies the description about the APIG application. 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.
    instanceId String
    Specifies an ID of the APIG dedicated instance to which the APIG application belongs to. Changing this will create a new APIG application resource.
    name String
    Specifies the name of the API application. 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 APIG application resource. If omitted, the provider-level region will be used. Changing this will create a new APIG application resource.
    registrationTime String
    Registration time, in RFC-3339 format.
    secretAction String

    Specifies the secret action to be done for the APIG application. The valid action is RESET.

    NOTE: The secret_action is a one-time action.

    updatedAt String
    The latest update time of the application.
    apigApplicationId string
    ID of the APIG application.
    appCodes string[]
    Specifies an array of one or more application codes which the APIG application belongs to. Up to five application codes can be created. The code consists of 64 to 180 characters, starting with a letter, digit, plus sign (+) or slash (/). Only letters, digits and following special special characters are allowed: !@#$%+-_ /=
    appKey string
    App key.
    appSecret string
    App secret.
    description string
    Specifies the description about the APIG application. 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.
    instanceId string
    Specifies an ID of the APIG dedicated instance to which the APIG application belongs to. Changing this will create a new APIG application resource.
    name string
    Specifies the name of the API application. 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 APIG application resource. If omitted, the provider-level region will be used. Changing this will create a new APIG application resource.
    registrationTime string
    Registration time, in RFC-3339 format.
    secretAction string

    Specifies the secret action to be done for the APIG application. The valid action is RESET.

    NOTE: The secret_action is a one-time action.

    updatedAt string
    The latest update time of the application.
    apig_application_id str
    ID of the APIG application.
    app_codes Sequence[str]
    Specifies an array of one or more application codes which the APIG application belongs to. Up to five application codes can be created. The code consists of 64 to 180 characters, starting with a letter, digit, plus sign (+) or slash (/). Only letters, digits and following special special characters are allowed: !@#$%+-_ /=
    app_key str
    App key.
    app_secret str
    App secret.
    description str
    Specifies the description about the APIG application. 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.
    instance_id str
    Specifies an ID of the APIG dedicated instance to which the APIG application belongs to. Changing this will create a new APIG application resource.
    name str
    Specifies the name of the API application. 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 APIG application resource. If omitted, the provider-level region will be used. Changing this will create a new APIG application resource.
    registration_time str
    Registration time, in RFC-3339 format.
    secret_action str

    Specifies the secret action to be done for the APIG application. The valid action is RESET.

    NOTE: The secret_action is a one-time action.

    updated_at str
    The latest update time of the application.
    apigApplicationId String
    ID of the APIG application.
    appCodes List<String>
    Specifies an array of one or more application codes which the APIG application belongs to. Up to five application codes can be created. The code consists of 64 to 180 characters, starting with a letter, digit, plus sign (+) or slash (/). Only letters, digits and following special special characters are allowed: !@#$%+-_ /=
    appKey String
    App key.
    appSecret String
    App secret.
    description String
    Specifies the description about the APIG application. 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.
    instanceId String
    Specifies an ID of the APIG dedicated instance to which the APIG application belongs to. Changing this will create a new APIG application resource.
    name String
    Specifies the name of the API application. 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 APIG application resource. If omitted, the provider-level region will be used. Changing this will create a new APIG application resource.
    registrationTime String
    Registration time, in RFC-3339 format.
    secretAction String

    Specifies the secret action to be done for the APIG application. The valid action is RESET.

    NOTE: The secret_action is a one-time action.

    updatedAt String
    The latest update time of the application.

    Import

    APIG Applications can be imported using the ID of the APIG dedicated instance to which the application

    belongs and APIG Application ID, separated by a slash, e.g.

    $ pulumi import flexibleengine:index/apigApplication:ApigApplication 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