1. Packages
  2. Alibaba Cloud Provider
  3. API Docs
  4. schedulerx
  5. AppGroup
Alibaba Cloud v3.73.0 published on Wednesday, Jan 15, 2025 by Pulumi

alicloud.schedulerx.AppGroup

Explore with Pulumi AI

alicloud logo
Alibaba Cloud v3.73.0 published on Wednesday, Jan 15, 2025 by Pulumi

    Provides a Schedulerx App Group resource.

    For information about Schedulerx App Group and how to use it, see What is App Group.

    NOTE: Available since v1.240.0.

    Example Usage

    Basic Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as alicloud from "@pulumi/alicloud";
    
    const config = new pulumi.Config();
    const name = config.get("name") || "terraform-example";
    const createNameSpace = new alicloud.schedulerx.Namespace("CreateNameSpace", {
        namespaceName: name,
        description: name,
    });
    const _default = new alicloud.schedulerx.AppGroup("default", {
        maxJobs: 100,
        monitorContactsJson: JSON.stringify([
            {
                userName: "name1",
                userPhone: "89756******",
            },
            {
                userName: "name2",
                ding: "http://www.example.com",
            },
        ]),
        deleteJobs: false,
        appType: 1,
        namespaceSource: "schedulerx",
        groupId: "example-appgroup-pop-autoexample",
        namespaceName: "default",
        description: name,
        monitorConfigJson: JSON.stringify({
            sendChannel: "sms,ding",
        }),
        appVersion: "1",
        appName: "example-appgroup-pop-autoexample",
        namespace: createNameSpace.namespaceUid,
        enableLog: false,
        scheduleBusyWorkers: false,
    });
    
    import pulumi
    import json
    import pulumi_alicloud as alicloud
    
    config = pulumi.Config()
    name = config.get("name")
    if name is None:
        name = "terraform-example"
    create_name_space = alicloud.schedulerx.Namespace("CreateNameSpace",
        namespace_name=name,
        description=name)
    default = alicloud.schedulerx.AppGroup("default",
        max_jobs=100,
        monitor_contacts_json=json.dumps([
            {
                "userName": "name1",
                "userPhone": "89756******",
            },
            {
                "userName": "name2",
                "ding": "http://www.example.com",
            },
        ]),
        delete_jobs=False,
        app_type=1,
        namespace_source="schedulerx",
        group_id="example-appgroup-pop-autoexample",
        namespace_name="default",
        description=name,
        monitor_config_json=json.dumps({
            "sendChannel": "sms,ding",
        }),
        app_version="1",
        app_name="example-appgroup-pop-autoexample",
        namespace=create_name_space.namespace_uid,
        enable_log=False,
        schedule_busy_workers=False)
    
    package main
    
    import (
    	"encoding/json"
    
    	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/schedulerx"
    	"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, "")
    		name := "terraform-example"
    		if param := cfg.Get("name"); param != "" {
    			name = param
    		}
    		createNameSpace, err := schedulerx.NewNamespace(ctx, "CreateNameSpace", &schedulerx.NamespaceArgs{
    			NamespaceName: pulumi.String(name),
    			Description:   pulumi.String(name),
    		})
    		if err != nil {
    			return err
    		}
    		tmpJSON0, err := json.Marshal([]interface{}{
    			map[string]interface{}{
    				"userName":  "name1",
    				"userPhone": "89756******",
    			},
    			map[string]interface{}{
    				"userName": "name2",
    				"ding":     "http://www.example.com",
    			},
    		})
    		if err != nil {
    			return err
    		}
    		json0 := string(tmpJSON0)
    		tmpJSON1, err := json.Marshal(map[string]interface{}{
    			"sendChannel": "sms,ding",
    		})
    		if err != nil {
    			return err
    		}
    		json1 := string(tmpJSON1)
    		_, err = schedulerx.NewAppGroup(ctx, "default", &schedulerx.AppGroupArgs{
    			MaxJobs:             pulumi.Int(100),
    			MonitorContactsJson: pulumi.String(json0),
    			DeleteJobs:          pulumi.Bool(false),
    			AppType:             pulumi.Int(1),
    			NamespaceSource:     pulumi.String("schedulerx"),
    			GroupId:             pulumi.String("example-appgroup-pop-autoexample"),
    			NamespaceName:       pulumi.String("default"),
    			Description:         pulumi.String(name),
    			MonitorConfigJson:   pulumi.String(json1),
    			AppVersion:          pulumi.String("1"),
    			AppName:             pulumi.String("example-appgroup-pop-autoexample"),
    			Namespace:           createNameSpace.NamespaceUid,
    			EnableLog:           pulumi.Bool(false),
    			ScheduleBusyWorkers: pulumi.Bool(false),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using System.Text.Json;
    using Pulumi;
    using AliCloud = Pulumi.AliCloud;
    
    return await Deployment.RunAsync(() => 
    {
        var config = new Config();
        var name = config.Get("name") ?? "terraform-example";
        var createNameSpace = new AliCloud.SchedulerX.Namespace("CreateNameSpace", new()
        {
            NamespaceName = name,
            Description = name,
        });
    
        var @default = new AliCloud.SchedulerX.AppGroup("default", new()
        {
            MaxJobs = 100,
            MonitorContactsJson = JsonSerializer.Serialize(new[]
            {
                new Dictionary<string, object?>
                {
                    ["userName"] = "name1",
                    ["userPhone"] = "89756******",
                },
                new Dictionary<string, object?>
                {
                    ["userName"] = "name2",
                    ["ding"] = "http://www.example.com",
                },
            }),
            DeleteJobs = false,
            AppType = 1,
            NamespaceSource = "schedulerx",
            GroupId = "example-appgroup-pop-autoexample",
            NamespaceName = "default",
            Description = name,
            MonitorConfigJson = JsonSerializer.Serialize(new Dictionary<string, object?>
            {
                ["sendChannel"] = "sms,ding",
            }),
            AppVersion = "1",
            AppName = "example-appgroup-pop-autoexample",
            Namespace = createNameSpace.NamespaceUid,
            EnableLog = false,
            ScheduleBusyWorkers = false,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.alicloud.schedulerx.Namespace;
    import com.pulumi.alicloud.schedulerx.NamespaceArgs;
    import com.pulumi.alicloud.schedulerx.AppGroup;
    import com.pulumi.alicloud.schedulerx.AppGroupArgs;
    import static com.pulumi.codegen.internal.Serialization.*;
    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 name = config.get("name").orElse("terraform-example");
            var createNameSpace = new Namespace("createNameSpace", NamespaceArgs.builder()
                .namespaceName(name)
                .description(name)
                .build());
    
            var default_ = new AppGroup("default", AppGroupArgs.builder()
                .maxJobs("100")
                .monitorContactsJson(serializeJson(
                    jsonArray(
                        jsonObject(
                            jsonProperty("userName", "name1"),
                            jsonProperty("userPhone", "89756******")
                        ), 
                        jsonObject(
                            jsonProperty("userName", "name2"),
                            jsonProperty("ding", "http://www.example.com")
                        )
                    )))
                .deleteJobs("false")
                .appType("1")
                .namespaceSource("schedulerx")
                .groupId("example-appgroup-pop-autoexample")
                .namespaceName("default")
                .description(name)
                .monitorConfigJson(serializeJson(
                    jsonObject(
                        jsonProperty("sendChannel", "sms,ding")
                    )))
                .appVersion("1")
                .appName("example-appgroup-pop-autoexample")
                .namespace(createNameSpace.namespaceUid())
                .enableLog("false")
                .scheduleBusyWorkers("false")
                .build());
    
        }
    }
    
    configuration:
      name:
        type: string
        default: terraform-example
    resources:
      createNameSpace:
        type: alicloud:schedulerx:Namespace
        name: CreateNameSpace
        properties:
          namespaceName: ${name}
          description: ${name}
      default:
        type: alicloud:schedulerx:AppGroup
        properties:
          maxJobs: '100'
          monitorContactsJson:
            fn::toJSON:
              - userName: name1
                userPhone: 89756******
              - userName: name2
                ding: http://www.example.com
          deleteJobs: 'false'
          appType: '1'
          namespaceSource: schedulerx
          groupId: example-appgroup-pop-autoexample
          namespaceName: default
          description: ${name}
          monitorConfigJson:
            fn::toJSON:
              sendChannel: sms,ding
          appVersion: '1'
          appName: example-appgroup-pop-autoexample
          namespace: ${createNameSpace.namespaceUid}
          enableLog: 'false'
          scheduleBusyWorkers: 'false'
    

    Create AppGroup Resource

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

    Constructor syntax

    new AppGroup(name: string, args: AppGroupArgs, opts?: CustomResourceOptions);
    @overload
    def AppGroup(resource_name: str,
                 args: AppGroupArgs,
                 opts: Optional[ResourceOptions] = None)
    
    @overload
    def AppGroup(resource_name: str,
                 opts: Optional[ResourceOptions] = None,
                 group_id: Optional[str] = None,
                 namespace_name: Optional[str] = None,
                 namespace: Optional[str] = None,
                 app_name: Optional[str] = None,
                 delete_jobs: Optional[bool] = None,
                 enable_log: Optional[bool] = None,
                 description: Optional[str] = None,
                 max_concurrency: Optional[int] = None,
                 max_jobs: Optional[int] = None,
                 monitor_config_json: Optional[str] = None,
                 monitor_contacts_json: Optional[str] = None,
                 app_version: Optional[str] = None,
                 app_type: Optional[int] = None,
                 namespace_source: Optional[str] = None,
                 schedule_busy_workers: Optional[bool] = None)
    func NewAppGroup(ctx *Context, name string, args AppGroupArgs, opts ...ResourceOption) (*AppGroup, error)
    public AppGroup(string name, AppGroupArgs args, CustomResourceOptions? opts = null)
    public AppGroup(String name, AppGroupArgs args)
    public AppGroup(String name, AppGroupArgs args, CustomResourceOptions options)
    
    type: alicloud:schedulerx:AppGroup
    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 AppGroupArgs
    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 AppGroupArgs
    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 AppGroupArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args AppGroupArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args AppGroupArgs
    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 alicloudAppGroupResource = new AliCloud.SchedulerX.AppGroup("alicloudAppGroupResource", new()
    {
        GroupId = "string",
        NamespaceName = "string",
        Namespace = "string",
        AppName = "string",
        DeleteJobs = false,
        EnableLog = false,
        Description = "string",
        MaxConcurrency = 0,
        MaxJobs = 0,
        MonitorConfigJson = "string",
        MonitorContactsJson = "string",
        AppVersion = "string",
        AppType = 0,
        NamespaceSource = "string",
        ScheduleBusyWorkers = false,
    });
    
    example, err := schedulerx.NewAppGroup(ctx, "alicloudAppGroupResource", &schedulerx.AppGroupArgs{
    	GroupId:             pulumi.String("string"),
    	NamespaceName:       pulumi.String("string"),
    	Namespace:           pulumi.String("string"),
    	AppName:             pulumi.String("string"),
    	DeleteJobs:          pulumi.Bool(false),
    	EnableLog:           pulumi.Bool(false),
    	Description:         pulumi.String("string"),
    	MaxConcurrency:      pulumi.Int(0),
    	MaxJobs:             pulumi.Int(0),
    	MonitorConfigJson:   pulumi.String("string"),
    	MonitorContactsJson: pulumi.String("string"),
    	AppVersion:          pulumi.String("string"),
    	AppType:             pulumi.Int(0),
    	NamespaceSource:     pulumi.String("string"),
    	ScheduleBusyWorkers: pulumi.Bool(false),
    })
    
    var alicloudAppGroupResource = new AppGroup("alicloudAppGroupResource", AppGroupArgs.builder()
        .groupId("string")
        .namespaceName("string")
        .namespace("string")
        .appName("string")
        .deleteJobs(false)
        .enableLog(false)
        .description("string")
        .maxConcurrency(0)
        .maxJobs(0)
        .monitorConfigJson("string")
        .monitorContactsJson("string")
        .appVersion("string")
        .appType(0)
        .namespaceSource("string")
        .scheduleBusyWorkers(false)
        .build());
    
    alicloud_app_group_resource = alicloud.schedulerx.AppGroup("alicloudAppGroupResource",
        group_id="string",
        namespace_name="string",
        namespace="string",
        app_name="string",
        delete_jobs=False,
        enable_log=False,
        description="string",
        max_concurrency=0,
        max_jobs=0,
        monitor_config_json="string",
        monitor_contacts_json="string",
        app_version="string",
        app_type=0,
        namespace_source="string",
        schedule_busy_workers=False)
    
    const alicloudAppGroupResource = new alicloud.schedulerx.AppGroup("alicloudAppGroupResource", {
        groupId: "string",
        namespaceName: "string",
        namespace: "string",
        appName: "string",
        deleteJobs: false,
        enableLog: false,
        description: "string",
        maxConcurrency: 0,
        maxJobs: 0,
        monitorConfigJson: "string",
        monitorContactsJson: "string",
        appVersion: "string",
        appType: 0,
        namespaceSource: "string",
        scheduleBusyWorkers: false,
    });
    
    type: alicloud:schedulerx:AppGroup
    properties:
        appName: string
        appType: 0
        appVersion: string
        deleteJobs: false
        description: string
        enableLog: false
        groupId: string
        maxConcurrency: 0
        maxJobs: 0
        monitorConfigJson: string
        monitorContactsJson: string
        namespace: string
        namespaceName: string
        namespaceSource: string
        scheduleBusyWorkers: false
    

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

    AppName string
    Application Name
    GroupId string
    Application ID
    Namespace string
    The namespace ID, which is obtained on the namespace page of the console.
    NamespaceName string
    The namespace name.
    AppType int
    Application type.

    • 1, general application.
    • 2, k8s application.
    AppVersion string
    Application Version, 1: Basic Edition, 2: Professional Edition
    DeleteJobs bool
    Whether to delete the task in the application Group. The values are as follows:
    Description string
    Application Description
    EnableLog bool
    Whether to enable the log.

    • true: On
    • false: Close
    MaxConcurrency int
    The maximum number of instances running at the same time. The default value is 1, that is, the last trigger is not completed, and the next trigger will not be performed even at the running time.
    MaxJobs int
    Application Grouping Configurable Maximum Number of Tasks
    MonitorConfigJson string
    Alarm configuration JSON field. For more information about this field, see **Request Parameters * *.
    MonitorContactsJson string
    Alarm contact JSON format.
    NamespaceSource string
    Not supported for the time being, no need to fill in.
    ScheduleBusyWorkers bool
    Whether to schedule a busy machine.
    AppName string
    Application Name
    GroupId string
    Application ID
    Namespace string
    The namespace ID, which is obtained on the namespace page of the console.
    NamespaceName string
    The namespace name.
    AppType int
    Application type.

    • 1, general application.
    • 2, k8s application.
    AppVersion string
    Application Version, 1: Basic Edition, 2: Professional Edition
    DeleteJobs bool
    Whether to delete the task in the application Group. The values are as follows:
    Description string
    Application Description
    EnableLog bool
    Whether to enable the log.

    • true: On
    • false: Close
    MaxConcurrency int
    The maximum number of instances running at the same time. The default value is 1, that is, the last trigger is not completed, and the next trigger will not be performed even at the running time.
    MaxJobs int
    Application Grouping Configurable Maximum Number of Tasks
    MonitorConfigJson string
    Alarm configuration JSON field. For more information about this field, see **Request Parameters * *.
    MonitorContactsJson string
    Alarm contact JSON format.
    NamespaceSource string
    Not supported for the time being, no need to fill in.
    ScheduleBusyWorkers bool
    Whether to schedule a busy machine.
    appName String
    Application Name
    groupId String
    Application ID
    namespace String
    The namespace ID, which is obtained on the namespace page of the console.
    namespaceName String
    The namespace name.
    appType Integer
    Application type.

    • 1, general application.
    • 2, k8s application.
    appVersion String
    Application Version, 1: Basic Edition, 2: Professional Edition
    deleteJobs Boolean
    Whether to delete the task in the application Group. The values are as follows:
    description String
    Application Description
    enableLog Boolean
    Whether to enable the log.

    • true: On
    • false: Close
    maxConcurrency Integer
    The maximum number of instances running at the same time. The default value is 1, that is, the last trigger is not completed, and the next trigger will not be performed even at the running time.
    maxJobs Integer
    Application Grouping Configurable Maximum Number of Tasks
    monitorConfigJson String
    Alarm configuration JSON field. For more information about this field, see **Request Parameters * *.
    monitorContactsJson String
    Alarm contact JSON format.
    namespaceSource String
    Not supported for the time being, no need to fill in.
    scheduleBusyWorkers Boolean
    Whether to schedule a busy machine.
    appName string
    Application Name
    groupId string
    Application ID
    namespace string
    The namespace ID, which is obtained on the namespace page of the console.
    namespaceName string
    The namespace name.
    appType number
    Application type.

    • 1, general application.
    • 2, k8s application.
    appVersion string
    Application Version, 1: Basic Edition, 2: Professional Edition
    deleteJobs boolean
    Whether to delete the task in the application Group. The values are as follows:
    description string
    Application Description
    enableLog boolean
    Whether to enable the log.

    • true: On
    • false: Close
    maxConcurrency number
    The maximum number of instances running at the same time. The default value is 1, that is, the last trigger is not completed, and the next trigger will not be performed even at the running time.
    maxJobs number
    Application Grouping Configurable Maximum Number of Tasks
    monitorConfigJson string
    Alarm configuration JSON field. For more information about this field, see **Request Parameters * *.
    monitorContactsJson string
    Alarm contact JSON format.
    namespaceSource string
    Not supported for the time being, no need to fill in.
    scheduleBusyWorkers boolean
    Whether to schedule a busy machine.
    app_name str
    Application Name
    group_id str
    Application ID
    namespace str
    The namespace ID, which is obtained on the namespace page of the console.
    namespace_name str
    The namespace name.
    app_type int
    Application type.

    • 1, general application.
    • 2, k8s application.
    app_version str
    Application Version, 1: Basic Edition, 2: Professional Edition
    delete_jobs bool
    Whether to delete the task in the application Group. The values are as follows:
    description str
    Application Description
    enable_log bool
    Whether to enable the log.

    • true: On
    • false: Close
    max_concurrency int
    The maximum number of instances running at the same time. The default value is 1, that is, the last trigger is not completed, and the next trigger will not be performed even at the running time.
    max_jobs int
    Application Grouping Configurable Maximum Number of Tasks
    monitor_config_json str
    Alarm configuration JSON field. For more information about this field, see **Request Parameters * *.
    monitor_contacts_json str
    Alarm contact JSON format.
    namespace_source str
    Not supported for the time being, no need to fill in.
    schedule_busy_workers bool
    Whether to schedule a busy machine.
    appName String
    Application Name
    groupId String
    Application ID
    namespace String
    The namespace ID, which is obtained on the namespace page of the console.
    namespaceName String
    The namespace name.
    appType Number
    Application type.

    • 1, general application.
    • 2, k8s application.
    appVersion String
    Application Version, 1: Basic Edition, 2: Professional Edition
    deleteJobs Boolean
    Whether to delete the task in the application Group. The values are as follows:
    description String
    Application Description
    enableLog Boolean
    Whether to enable the log.

    • true: On
    • false: Close
    maxConcurrency Number
    The maximum number of instances running at the same time. The default value is 1, that is, the last trigger is not completed, and the next trigger will not be performed even at the running time.
    maxJobs Number
    Application Grouping Configurable Maximum Number of Tasks
    monitorConfigJson String
    Alarm configuration JSON field. For more information about this field, see **Request Parameters * *.
    monitorContactsJson String
    Alarm contact JSON format.
    namespaceSource String
    Not supported for the time being, no need to fill in.
    scheduleBusyWorkers Boolean
    Whether to schedule a busy machine.

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing AppGroup Resource

    Get an existing AppGroup 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?: AppGroupState, opts?: CustomResourceOptions): AppGroup
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            app_name: Optional[str] = None,
            app_type: Optional[int] = None,
            app_version: Optional[str] = None,
            delete_jobs: Optional[bool] = None,
            description: Optional[str] = None,
            enable_log: Optional[bool] = None,
            group_id: Optional[str] = None,
            max_concurrency: Optional[int] = None,
            max_jobs: Optional[int] = None,
            monitor_config_json: Optional[str] = None,
            monitor_contacts_json: Optional[str] = None,
            namespace: Optional[str] = None,
            namespace_name: Optional[str] = None,
            namespace_source: Optional[str] = None,
            schedule_busy_workers: Optional[bool] = None) -> AppGroup
    func GetAppGroup(ctx *Context, name string, id IDInput, state *AppGroupState, opts ...ResourceOption) (*AppGroup, error)
    public static AppGroup Get(string name, Input<string> id, AppGroupState? state, CustomResourceOptions? opts = null)
    public static AppGroup get(String name, Output<String> id, AppGroupState state, CustomResourceOptions options)
    resources:  _:    type: alicloud:schedulerx:AppGroup    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:
    AppName string
    Application Name
    AppType int
    Application type.

    • 1, general application.
    • 2, k8s application.
    AppVersion string
    Application Version, 1: Basic Edition, 2: Professional Edition
    DeleteJobs bool
    Whether to delete the task in the application Group. The values are as follows:
    Description string
    Application Description
    EnableLog bool
    Whether to enable the log.

    • true: On
    • false: Close
    GroupId string
    Application ID
    MaxConcurrency int
    The maximum number of instances running at the same time. The default value is 1, that is, the last trigger is not completed, and the next trigger will not be performed even at the running time.
    MaxJobs int
    Application Grouping Configurable Maximum Number of Tasks
    MonitorConfigJson string
    Alarm configuration JSON field. For more information about this field, see **Request Parameters * *.
    MonitorContactsJson string
    Alarm contact JSON format.
    Namespace string
    The namespace ID, which is obtained on the namespace page of the console.
    NamespaceName string
    The namespace name.
    NamespaceSource string
    Not supported for the time being, no need to fill in.
    ScheduleBusyWorkers bool
    Whether to schedule a busy machine.
    AppName string
    Application Name
    AppType int
    Application type.

    • 1, general application.
    • 2, k8s application.
    AppVersion string
    Application Version, 1: Basic Edition, 2: Professional Edition
    DeleteJobs bool
    Whether to delete the task in the application Group. The values are as follows:
    Description string
    Application Description
    EnableLog bool
    Whether to enable the log.

    • true: On
    • false: Close
    GroupId string
    Application ID
    MaxConcurrency int
    The maximum number of instances running at the same time. The default value is 1, that is, the last trigger is not completed, and the next trigger will not be performed even at the running time.
    MaxJobs int
    Application Grouping Configurable Maximum Number of Tasks
    MonitorConfigJson string
    Alarm configuration JSON field. For more information about this field, see **Request Parameters * *.
    MonitorContactsJson string
    Alarm contact JSON format.
    Namespace string
    The namespace ID, which is obtained on the namespace page of the console.
    NamespaceName string
    The namespace name.
    NamespaceSource string
    Not supported for the time being, no need to fill in.
    ScheduleBusyWorkers bool
    Whether to schedule a busy machine.
    appName String
    Application Name
    appType Integer
    Application type.

    • 1, general application.
    • 2, k8s application.
    appVersion String
    Application Version, 1: Basic Edition, 2: Professional Edition
    deleteJobs Boolean
    Whether to delete the task in the application Group. The values are as follows:
    description String
    Application Description
    enableLog Boolean
    Whether to enable the log.

    • true: On
    • false: Close
    groupId String
    Application ID
    maxConcurrency Integer
    The maximum number of instances running at the same time. The default value is 1, that is, the last trigger is not completed, and the next trigger will not be performed even at the running time.
    maxJobs Integer
    Application Grouping Configurable Maximum Number of Tasks
    monitorConfigJson String
    Alarm configuration JSON field. For more information about this field, see **Request Parameters * *.
    monitorContactsJson String
    Alarm contact JSON format.
    namespace String
    The namespace ID, which is obtained on the namespace page of the console.
    namespaceName String
    The namespace name.
    namespaceSource String
    Not supported for the time being, no need to fill in.
    scheduleBusyWorkers Boolean
    Whether to schedule a busy machine.
    appName string
    Application Name
    appType number
    Application type.

    • 1, general application.
    • 2, k8s application.
    appVersion string
    Application Version, 1: Basic Edition, 2: Professional Edition
    deleteJobs boolean
    Whether to delete the task in the application Group. The values are as follows:
    description string
    Application Description
    enableLog boolean
    Whether to enable the log.

    • true: On
    • false: Close
    groupId string
    Application ID
    maxConcurrency number
    The maximum number of instances running at the same time. The default value is 1, that is, the last trigger is not completed, and the next trigger will not be performed even at the running time.
    maxJobs number
    Application Grouping Configurable Maximum Number of Tasks
    monitorConfigJson string
    Alarm configuration JSON field. For more information about this field, see **Request Parameters * *.
    monitorContactsJson string
    Alarm contact JSON format.
    namespace string
    The namespace ID, which is obtained on the namespace page of the console.
    namespaceName string
    The namespace name.
    namespaceSource string
    Not supported for the time being, no need to fill in.
    scheduleBusyWorkers boolean
    Whether to schedule a busy machine.
    app_name str
    Application Name
    app_type int
    Application type.

    • 1, general application.
    • 2, k8s application.
    app_version str
    Application Version, 1: Basic Edition, 2: Professional Edition
    delete_jobs bool
    Whether to delete the task in the application Group. The values are as follows:
    description str
    Application Description
    enable_log bool
    Whether to enable the log.

    • true: On
    • false: Close
    group_id str
    Application ID
    max_concurrency int
    The maximum number of instances running at the same time. The default value is 1, that is, the last trigger is not completed, and the next trigger will not be performed even at the running time.
    max_jobs int
    Application Grouping Configurable Maximum Number of Tasks
    monitor_config_json str
    Alarm configuration JSON field. For more information about this field, see **Request Parameters * *.
    monitor_contacts_json str
    Alarm contact JSON format.
    namespace str
    The namespace ID, which is obtained on the namespace page of the console.
    namespace_name str
    The namespace name.
    namespace_source str
    Not supported for the time being, no need to fill in.
    schedule_busy_workers bool
    Whether to schedule a busy machine.
    appName String
    Application Name
    appType Number
    Application type.

    • 1, general application.
    • 2, k8s application.
    appVersion String
    Application Version, 1: Basic Edition, 2: Professional Edition
    deleteJobs Boolean
    Whether to delete the task in the application Group. The values are as follows:
    description String
    Application Description
    enableLog Boolean
    Whether to enable the log.

    • true: On
    • false: Close
    groupId String
    Application ID
    maxConcurrency Number
    The maximum number of instances running at the same time. The default value is 1, that is, the last trigger is not completed, and the next trigger will not be performed even at the running time.
    maxJobs Number
    Application Grouping Configurable Maximum Number of Tasks
    monitorConfigJson String
    Alarm configuration JSON field. For more information about this field, see **Request Parameters * *.
    monitorContactsJson String
    Alarm contact JSON format.
    namespace String
    The namespace ID, which is obtained on the namespace page of the console.
    namespaceName String
    The namespace name.
    namespaceSource String
    Not supported for the time being, no need to fill in.
    scheduleBusyWorkers Boolean
    Whether to schedule a busy machine.

    Import

    Schedulerx App Group can be imported using the id, e.g.

    $ pulumi import alicloud:schedulerx/appGroup:AppGroup example <namespace>:<group_id>
    

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

    Package Details

    Repository
    Alibaba Cloud pulumi/pulumi-alicloud
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the alicloud Terraform Provider.
    alicloud logo
    Alibaba Cloud v3.73.0 published on Wednesday, Jan 15, 2025 by Pulumi