alicloud.dms.Airflow
Explore with Pulumi AI
Provides a Dms Airflow resource.
Airflow instance, used to schedule jobs.
For information about Dms Airflow and how to use it, see What is Airflow.
NOTE: Available since v1.260.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 _default = alicloud.vpc.getNetworks({
nameRegex: "^default-NODELETING$",
});
const defaultGetSwitches = _default.then(_default => alicloud.vpc.getSwitches({
vpcId: _default.ids?.[0],
zoneId: "cn-hangzhou-h",
}));
const securityGroup = new alicloud.ecs.SecurityGroup("security_group", {
description: "terraform_example_group",
securityGroupName: "terraform_example_group",
vpcId: _default.then(_default => _default.ids?.[0]),
securityGroupType: "normal",
innerAccessPolicy: "Accept",
});
const workspace = new alicloud.dms.EnterpriseWorkspace("workspace", {
description: "terraform-example",
vpcId: _default.then(_default => _default.ids?.[0]),
workspaceName: "terraform-example",
});
const defaultAirflow = new alicloud.dms.Airflow("default", {
vpcId: _default.then(_default => _default.ids?.[0]),
ossPath: "/",
dagsDir: "default/dags",
zoneId: "cn-hangzhou-h",
workerServerlessReplicas: 0,
description: "terraform-example",
securityGroupId: securityGroup.id,
requirementFile: "default/requirements.txt",
airflowName: "tfaccdms6513",
pluginsDir: "default/plugins",
startupFile: "default/startup.sh",
appSpec: "SMALL",
ossBucketName: "hansheng",
vswitchId: defaultGetSwitches.then(defaultGetSwitches => defaultGetSwitches.ids?.[0]),
workspaceId: workspace.id,
});
import pulumi
import pulumi_alicloud as alicloud
config = pulumi.Config()
name = config.get("name")
if name is None:
name = "terraform-example"
default = alicloud.vpc.get_networks(name_regex="^default-NODELETING$")
default_get_switches = alicloud.vpc.get_switches(vpc_id=default.ids[0],
zone_id="cn-hangzhou-h")
security_group = alicloud.ecs.SecurityGroup("security_group",
description="terraform_example_group",
security_group_name="terraform_example_group",
vpc_id=default.ids[0],
security_group_type="normal",
inner_access_policy="Accept")
workspace = alicloud.dms.EnterpriseWorkspace("workspace",
description="terraform-example",
vpc_id=default.ids[0],
workspace_name="terraform-example")
default_airflow = alicloud.dms.Airflow("default",
vpc_id=default.ids[0],
oss_path="/",
dags_dir="default/dags",
zone_id="cn-hangzhou-h",
worker_serverless_replicas=0,
description="terraform-example",
security_group_id=security_group.id,
requirement_file="default/requirements.txt",
airflow_name="tfaccdms6513",
plugins_dir="default/plugins",
startup_file="default/startup.sh",
app_spec="SMALL",
oss_bucket_name="hansheng",
vswitch_id=default_get_switches.ids[0],
workspace_id=workspace.id)
package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/dms"
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ecs"
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/vpc"
"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
}
_default, err := vpc.GetNetworks(ctx, &vpc.GetNetworksArgs{
NameRegex: pulumi.StringRef("^default-NODELETING$"),
}, nil)
if err != nil {
return err
}
defaultGetSwitches, err := vpc.GetSwitches(ctx, &vpc.GetSwitchesArgs{
VpcId: pulumi.StringRef(_default.Ids[0]),
ZoneId: pulumi.StringRef("cn-hangzhou-h"),
}, nil)
if err != nil {
return err
}
securityGroup, err := ecs.NewSecurityGroup(ctx, "security_group", &ecs.SecurityGroupArgs{
Description: pulumi.String("terraform_example_group"),
SecurityGroupName: pulumi.String("terraform_example_group"),
VpcId: pulumi.String(_default.Ids[0]),
SecurityGroupType: pulumi.String("normal"),
InnerAccessPolicy: pulumi.String("Accept"),
})
if err != nil {
return err
}
workspace, err := dms.NewEnterpriseWorkspace(ctx, "workspace", &dms.EnterpriseWorkspaceArgs{
Description: pulumi.String("terraform-example"),
VpcId: pulumi.String(_default.Ids[0]),
WorkspaceName: pulumi.String("terraform-example"),
})
if err != nil {
return err
}
_, err = dms.NewAirflow(ctx, "default", &dms.AirflowArgs{
VpcId: pulumi.String(_default.Ids[0]),
OssPath: pulumi.String("/"),
DagsDir: pulumi.String("default/dags"),
ZoneId: pulumi.String("cn-hangzhou-h"),
WorkerServerlessReplicas: pulumi.Int(0),
Description: pulumi.String("terraform-example"),
SecurityGroupId: securityGroup.ID(),
RequirementFile: pulumi.String("default/requirements.txt"),
AirflowName: pulumi.String("tfaccdms6513"),
PluginsDir: pulumi.String("default/plugins"),
StartupFile: pulumi.String("default/startup.sh"),
AppSpec: pulumi.String("SMALL"),
OssBucketName: pulumi.String("hansheng"),
VswitchId: pulumi.String(defaultGetSwitches.Ids[0]),
WorkspaceId: workspace.ID(),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AliCloud = Pulumi.AliCloud;
return await Deployment.RunAsync(() =>
{
var config = new Config();
var name = config.Get("name") ?? "terraform-example";
var @default = AliCloud.Vpc.GetNetworks.Invoke(new()
{
NameRegex = "^default-NODELETING$",
});
var defaultGetSwitches = AliCloud.Vpc.GetSwitches.Invoke(new()
{
VpcId = @default.Apply(getNetworksResult => getNetworksResult.Ids[0]),
ZoneId = "cn-hangzhou-h",
});
var securityGroup = new AliCloud.Ecs.SecurityGroup("security_group", new()
{
Description = "terraform_example_group",
SecurityGroupName = "terraform_example_group",
VpcId = @default.Apply(@default => @default.Apply(getNetworksResult => getNetworksResult.Ids[0])),
SecurityGroupType = "normal",
InnerAccessPolicy = "Accept",
});
var workspace = new AliCloud.Dms.EnterpriseWorkspace("workspace", new()
{
Description = "terraform-example",
VpcId = @default.Apply(@default => @default.Apply(getNetworksResult => getNetworksResult.Ids[0])),
WorkspaceName = "terraform-example",
});
var defaultAirflow = new AliCloud.Dms.Airflow("default", new()
{
VpcId = @default.Apply(@default => @default.Apply(getNetworksResult => getNetworksResult.Ids[0])),
OssPath = "/",
DagsDir = "default/dags",
ZoneId = "cn-hangzhou-h",
WorkerServerlessReplicas = 0,
Description = "terraform-example",
SecurityGroupId = securityGroup.Id,
RequirementFile = "default/requirements.txt",
AirflowName = "tfaccdms6513",
PluginsDir = "default/plugins",
StartupFile = "default/startup.sh",
AppSpec = "SMALL",
OssBucketName = "hansheng",
VswitchId = defaultGetSwitches.Apply(getSwitchesResult => getSwitchesResult.Ids[0]),
WorkspaceId = workspace.Id,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.vpc.VpcFunctions;
import com.pulumi.alicloud.vpc.inputs.GetNetworksArgs;
import com.pulumi.alicloud.vpc.inputs.GetSwitchesArgs;
import com.pulumi.alicloud.ecs.SecurityGroup;
import com.pulumi.alicloud.ecs.SecurityGroupArgs;
import com.pulumi.alicloud.dms.EnterpriseWorkspace;
import com.pulumi.alicloud.dms.EnterpriseWorkspaceArgs;
import com.pulumi.alicloud.dms.Airflow;
import com.pulumi.alicloud.dms.AirflowArgs;
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");
final var default = VpcFunctions.getNetworks(GetNetworksArgs.builder()
.nameRegex("^default-NODELETING$")
.build());
final var defaultGetSwitches = VpcFunctions.getSwitches(GetSwitchesArgs.builder()
.vpcId(default_.ids()[0])
.zoneId("cn-hangzhou-h")
.build());
var securityGroup = new SecurityGroup("securityGroup", SecurityGroupArgs.builder()
.description("terraform_example_group")
.securityGroupName("terraform_example_group")
.vpcId(default_.ids()[0])
.securityGroupType("normal")
.innerAccessPolicy("Accept")
.build());
var workspace = new EnterpriseWorkspace("workspace", EnterpriseWorkspaceArgs.builder()
.description("terraform-example")
.vpcId(default_.ids()[0])
.workspaceName("terraform-example")
.build());
var defaultAirflow = new Airflow("defaultAirflow", AirflowArgs.builder()
.vpcId(default_.ids()[0])
.ossPath("/")
.dagsDir("default/dags")
.zoneId("cn-hangzhou-h")
.workerServerlessReplicas(0)
.description("terraform-example")
.securityGroupId(securityGroup.id())
.requirementFile("default/requirements.txt")
.airflowName("tfaccdms6513")
.pluginsDir("default/plugins")
.startupFile("default/startup.sh")
.appSpec("SMALL")
.ossBucketName("hansheng")
.vswitchId(defaultGetSwitches.ids()[0])
.workspaceId(workspace.id())
.build());
}
}
configuration:
name:
type: string
default: terraform-example
resources:
securityGroup:
type: alicloud:ecs:SecurityGroup
name: security_group
properties:
description: terraform_example_group
securityGroupName: terraform_example_group
vpcId: ${default.ids[0]}
securityGroupType: normal
innerAccessPolicy: Accept
workspace:
type: alicloud:dms:EnterpriseWorkspace
properties:
description: terraform-example
vpcId: ${default.ids[0]}
workspaceName: terraform-example
defaultAirflow:
type: alicloud:dms:Airflow
name: default
properties:
vpcId: ${default.ids[0]}
ossPath: /
dagsDir: default/dags
zoneId: cn-hangzhou-h
workerServerlessReplicas: '0'
description: terraform-example
securityGroupId: ${securityGroup.id}
requirementFile: default/requirements.txt
airflowName: tfaccdms6513
pluginsDir: default/plugins
startupFile: default/startup.sh
appSpec: SMALL
ossBucketName: hansheng
vswitchId: ${defaultGetSwitches.ids[0]}
workspaceId: ${workspace.id}
variables:
default:
fn::invoke:
function: alicloud:vpc:getNetworks
arguments:
nameRegex: ^default-NODELETING$
defaultGetSwitches:
fn::invoke:
function: alicloud:vpc:getSwitches
arguments:
vpcId: ${default.ids[0]}
zoneId: cn-hangzhou-h
Create Airflow Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Airflow(name: string, args: AirflowArgs, opts?: CustomResourceOptions);
@overload
def Airflow(resource_name: str,
args: AirflowArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Airflow(resource_name: str,
opts: Optional[ResourceOptions] = None,
vswitch_id: Optional[str] = None,
app_spec: Optional[str] = None,
zone_id: Optional[str] = None,
description: Optional[str] = None,
oss_bucket_name: Optional[str] = None,
oss_path: Optional[str] = None,
airflow_name: Optional[str] = None,
workspace_id: Optional[str] = None,
security_group_id: Optional[str] = None,
worker_serverless_replicas: Optional[int] = None,
vpc_id: Optional[str] = None,
plugins_dir: Optional[str] = None,
startup_file: Optional[str] = None,
requirement_file: Optional[str] = None,
dags_dir: Optional[str] = None)
func NewAirflow(ctx *Context, name string, args AirflowArgs, opts ...ResourceOption) (*Airflow, error)
public Airflow(string name, AirflowArgs args, CustomResourceOptions? opts = null)
public Airflow(String name, AirflowArgs args)
public Airflow(String name, AirflowArgs args, CustomResourceOptions options)
type: alicloud:dms:Airflow
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 AirflowArgs
- 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 AirflowArgs
- 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 AirflowArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AirflowArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AirflowArgs
- 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 airflowResource = new AliCloud.Dms.Airflow("airflowResource", new()
{
VswitchId = "string",
AppSpec = "string",
ZoneId = "string",
Description = "string",
OssBucketName = "string",
OssPath = "string",
AirflowName = "string",
WorkspaceId = "string",
SecurityGroupId = "string",
WorkerServerlessReplicas = 0,
VpcId = "string",
PluginsDir = "string",
StartupFile = "string",
RequirementFile = "string",
DagsDir = "string",
});
example, err := dms.NewAirflow(ctx, "airflowResource", &dms.AirflowArgs{
VswitchId: pulumi.String("string"),
AppSpec: pulumi.String("string"),
ZoneId: pulumi.String("string"),
Description: pulumi.String("string"),
OssBucketName: pulumi.String("string"),
OssPath: pulumi.String("string"),
AirflowName: pulumi.String("string"),
WorkspaceId: pulumi.String("string"),
SecurityGroupId: pulumi.String("string"),
WorkerServerlessReplicas: pulumi.Int(0),
VpcId: pulumi.String("string"),
PluginsDir: pulumi.String("string"),
StartupFile: pulumi.String("string"),
RequirementFile: pulumi.String("string"),
DagsDir: pulumi.String("string"),
})
var airflowResource = new Airflow("airflowResource", AirflowArgs.builder()
.vswitchId("string")
.appSpec("string")
.zoneId("string")
.description("string")
.ossBucketName("string")
.ossPath("string")
.airflowName("string")
.workspaceId("string")
.securityGroupId("string")
.workerServerlessReplicas(0)
.vpcId("string")
.pluginsDir("string")
.startupFile("string")
.requirementFile("string")
.dagsDir("string")
.build());
airflow_resource = alicloud.dms.Airflow("airflowResource",
vswitch_id="string",
app_spec="string",
zone_id="string",
description="string",
oss_bucket_name="string",
oss_path="string",
airflow_name="string",
workspace_id="string",
security_group_id="string",
worker_serverless_replicas=0,
vpc_id="string",
plugins_dir="string",
startup_file="string",
requirement_file="string",
dags_dir="string")
const airflowResource = new alicloud.dms.Airflow("airflowResource", {
vswitchId: "string",
appSpec: "string",
zoneId: "string",
description: "string",
ossBucketName: "string",
ossPath: "string",
airflowName: "string",
workspaceId: "string",
securityGroupId: "string",
workerServerlessReplicas: 0,
vpcId: "string",
pluginsDir: "string",
startupFile: "string",
requirementFile: "string",
dagsDir: "string",
});
type: alicloud:dms:Airflow
properties:
airflowName: string
appSpec: string
dagsDir: string
description: string
ossBucketName: string
ossPath: string
pluginsDir: string
requirementFile: string
securityGroupId: string
startupFile: string
vpcId: string
vswitchId: string
workerServerlessReplicas: 0
workspaceId: string
zoneId: string
Airflow 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 Airflow resource accepts the following input properties:
- Airflow
Name string - Name of the Airflow instance
- App
Spec string - Airflow instance specifications
- Description string
- Description of the airflow instance
- Oss
Bucket stringName - OSS bucket name
- Oss
Path string - OSS path
- Security
Group stringId - Security group ID
- Vpc
Id string - Vpc id
- Vswitch
Id string - Switch ID
- Worker
Serverless intReplicas - Worker Node extension
- Workspace
Id string - DMS workspace ID
- Zone
Id string - Zone ID in the region
- Dags
Dir string - Dag scan path
- Plugins
Dir string - The path of the plugin scanned by the airflow instance.
- Requirement
File string - Path to installable package
- Startup
File string - Launch script for the airflow container
- Airflow
Name string - Name of the Airflow instance
- App
Spec string - Airflow instance specifications
- Description string
- Description of the airflow instance
- Oss
Bucket stringName - OSS bucket name
- Oss
Path string - OSS path
- Security
Group stringId - Security group ID
- Vpc
Id string - Vpc id
- Vswitch
Id string - Switch ID
- Worker
Serverless intReplicas - Worker Node extension
- Workspace
Id string - DMS workspace ID
- Zone
Id string - Zone ID in the region
- Dags
Dir string - Dag scan path
- Plugins
Dir string - The path of the plugin scanned by the airflow instance.
- Requirement
File string - Path to installable package
- Startup
File string - Launch script for the airflow container
- airflow
Name String - Name of the Airflow instance
- app
Spec String - Airflow instance specifications
- description String
- Description of the airflow instance
- oss
Bucket StringName - OSS bucket name
- oss
Path String - OSS path
- security
Group StringId - Security group ID
- vpc
Id String - Vpc id
- vswitch
Id String - Switch ID
- worker
Serverless IntegerReplicas - Worker Node extension
- workspace
Id String - DMS workspace ID
- zone
Id String - Zone ID in the region
- dags
Dir String - Dag scan path
- plugins
Dir String - The path of the plugin scanned by the airflow instance.
- requirement
File String - Path to installable package
- startup
File String - Launch script for the airflow container
- airflow
Name string - Name of the Airflow instance
- app
Spec string - Airflow instance specifications
- description string
- Description of the airflow instance
- oss
Bucket stringName - OSS bucket name
- oss
Path string - OSS path
- security
Group stringId - Security group ID
- vpc
Id string - Vpc id
- vswitch
Id string - Switch ID
- worker
Serverless numberReplicas - Worker Node extension
- workspace
Id string - DMS workspace ID
- zone
Id string - Zone ID in the region
- dags
Dir string - Dag scan path
- plugins
Dir string - The path of the plugin scanned by the airflow instance.
- requirement
File string - Path to installable package
- startup
File string - Launch script for the airflow container
- airflow_
name str - Name of the Airflow instance
- app_
spec str - Airflow instance specifications
- description str
- Description of the airflow instance
- oss_
bucket_ strname - OSS bucket name
- oss_
path str - OSS path
- security_
group_ strid - Security group ID
- vpc_
id str - Vpc id
- vswitch_
id str - Switch ID
- worker_
serverless_ intreplicas - Worker Node extension
- workspace_
id str - DMS workspace ID
- zone_
id str - Zone ID in the region
- dags_
dir str - Dag scan path
- plugins_
dir str - The path of the plugin scanned by the airflow instance.
- requirement_
file str - Path to installable package
- startup_
file str - Launch script for the airflow container
- airflow
Name String - Name of the Airflow instance
- app
Spec String - Airflow instance specifications
- description String
- Description of the airflow instance
- oss
Bucket StringName - OSS bucket name
- oss
Path String - OSS path
- security
Group StringId - Security group ID
- vpc
Id String - Vpc id
- vswitch
Id String - Switch ID
- worker
Serverless NumberReplicas - Worker Node extension
- workspace
Id String - DMS workspace ID
- zone
Id String - Zone ID in the region
- dags
Dir String - Dag scan path
- plugins
Dir String - The path of the plugin scanned by the airflow instance.
- requirement
File String - Path to installable package
- startup
File String - Launch script for the airflow container
Outputs
All input properties are implicitly available as output properties. Additionally, the Airflow resource produces the following output properties:
- airflow_
id str - AirflowId
- id str
- The provider-assigned unique ID for this managed resource.
- region_
id str - The region ID of the resource
Look up Existing Airflow Resource
Get an existing Airflow 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?: AirflowState, opts?: CustomResourceOptions): Airflow
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
airflow_id: Optional[str] = None,
airflow_name: Optional[str] = None,
app_spec: Optional[str] = None,
dags_dir: Optional[str] = None,
description: Optional[str] = None,
oss_bucket_name: Optional[str] = None,
oss_path: Optional[str] = None,
plugins_dir: Optional[str] = None,
region_id: Optional[str] = None,
requirement_file: Optional[str] = None,
security_group_id: Optional[str] = None,
startup_file: Optional[str] = None,
vpc_id: Optional[str] = None,
vswitch_id: Optional[str] = None,
worker_serverless_replicas: Optional[int] = None,
workspace_id: Optional[str] = None,
zone_id: Optional[str] = None) -> Airflow
func GetAirflow(ctx *Context, name string, id IDInput, state *AirflowState, opts ...ResourceOption) (*Airflow, error)
public static Airflow Get(string name, Input<string> id, AirflowState? state, CustomResourceOptions? opts = null)
public static Airflow get(String name, Output<String> id, AirflowState state, CustomResourceOptions options)
resources: _: type: alicloud:dms:Airflow 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.
- Airflow
Id string - AirflowId
- Airflow
Name string - Name of the Airflow instance
- App
Spec string - Airflow instance specifications
- Dags
Dir string - Dag scan path
- Description string
- Description of the airflow instance
- Oss
Bucket stringName - OSS bucket name
- Oss
Path string - OSS path
- Plugins
Dir string - The path of the plugin scanned by the airflow instance.
- Region
Id string - The region ID of the resource
- Requirement
File string - Path to installable package
- Security
Group stringId - Security group ID
- Startup
File string - Launch script for the airflow container
- Vpc
Id string - Vpc id
- Vswitch
Id string - Switch ID
- Worker
Serverless intReplicas - Worker Node extension
- Workspace
Id string - DMS workspace ID
- Zone
Id string - Zone ID in the region
- Airflow
Id string - AirflowId
- Airflow
Name string - Name of the Airflow instance
- App
Spec string - Airflow instance specifications
- Dags
Dir string - Dag scan path
- Description string
- Description of the airflow instance
- Oss
Bucket stringName - OSS bucket name
- Oss
Path string - OSS path
- Plugins
Dir string - The path of the plugin scanned by the airflow instance.
- Region
Id string - The region ID of the resource
- Requirement
File string - Path to installable package
- Security
Group stringId - Security group ID
- Startup
File string - Launch script for the airflow container
- Vpc
Id string - Vpc id
- Vswitch
Id string - Switch ID
- Worker
Serverless intReplicas - Worker Node extension
- Workspace
Id string - DMS workspace ID
- Zone
Id string - Zone ID in the region
- airflow
Id String - AirflowId
- airflow
Name String - Name of the Airflow instance
- app
Spec String - Airflow instance specifications
- dags
Dir String - Dag scan path
- description String
- Description of the airflow instance
- oss
Bucket StringName - OSS bucket name
- oss
Path String - OSS path
- plugins
Dir String - The path of the plugin scanned by the airflow instance.
- region
Id String - The region ID of the resource
- requirement
File String - Path to installable package
- security
Group StringId - Security group ID
- startup
File String - Launch script for the airflow container
- vpc
Id String - Vpc id
- vswitch
Id String - Switch ID
- worker
Serverless IntegerReplicas - Worker Node extension
- workspace
Id String - DMS workspace ID
- zone
Id String - Zone ID in the region
- airflow
Id string - AirflowId
- airflow
Name string - Name of the Airflow instance
- app
Spec string - Airflow instance specifications
- dags
Dir string - Dag scan path
- description string
- Description of the airflow instance
- oss
Bucket stringName - OSS bucket name
- oss
Path string - OSS path
- plugins
Dir string - The path of the plugin scanned by the airflow instance.
- region
Id string - The region ID of the resource
- requirement
File string - Path to installable package
- security
Group stringId - Security group ID
- startup
File string - Launch script for the airflow container
- vpc
Id string - Vpc id
- vswitch
Id string - Switch ID
- worker
Serverless numberReplicas - Worker Node extension
- workspace
Id string - DMS workspace ID
- zone
Id string - Zone ID in the region
- airflow_
id str - AirflowId
- airflow_
name str - Name of the Airflow instance
- app_
spec str - Airflow instance specifications
- dags_
dir str - Dag scan path
- description str
- Description of the airflow instance
- oss_
bucket_ strname - OSS bucket name
- oss_
path str - OSS path
- plugins_
dir str - The path of the plugin scanned by the airflow instance.
- region_
id str - The region ID of the resource
- requirement_
file str - Path to installable package
- security_
group_ strid - Security group ID
- startup_
file str - Launch script for the airflow container
- vpc_
id str - Vpc id
- vswitch_
id str - Switch ID
- worker_
serverless_ intreplicas - Worker Node extension
- workspace_
id str - DMS workspace ID
- zone_
id str - Zone ID in the region
- airflow
Id String - AirflowId
- airflow
Name String - Name of the Airflow instance
- app
Spec String - Airflow instance specifications
- dags
Dir String - Dag scan path
- description String
- Description of the airflow instance
- oss
Bucket StringName - OSS bucket name
- oss
Path String - OSS path
- plugins
Dir String - The path of the plugin scanned by the airflow instance.
- region
Id String - The region ID of the resource
- requirement
File String - Path to installable package
- security
Group StringId - Security group ID
- startup
File String - Launch script for the airflow container
- vpc
Id String - Vpc id
- vswitch
Id String - Switch ID
- worker
Serverless NumberReplicas - Worker Node extension
- workspace
Id String - DMS workspace ID
- zone
Id String - Zone ID in the region
Import
Dms Airflow can be imported using the id, e.g.
$ pulumi import alicloud:dms/airflow:Airflow example <workspace_id>:<airflow_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.