1. Packages
  2. Alibaba Cloud
  3. API Docs
  4. dts
  5. getSubscriptionJobs
Alibaba Cloud v3.57.1 published on Wednesday, Jun 26, 2024 by Pulumi

alicloud.dts.getSubscriptionJobs

Explore with Pulumi AI

alicloud logo
Alibaba Cloud v3.57.1 published on Wednesday, Jun 26, 2024 by Pulumi

    This data source provides the Dts Subscription Jobs of the current Alibaba Cloud user.

    NOTE: Available in v1.138.0+.

    Example Usage

    Basic Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as alicloud from "@pulumi/alicloud";
    
    const ids = alicloud.dts.getSubscriptionJobs({});
    export const dtsSubscriptionJobId1 = ids.then(ids => ids.jobs?.[0]?.id);
    
    import pulumi
    import pulumi_alicloud as alicloud
    
    ids = alicloud.dts.get_subscription_jobs()
    pulumi.export("dtsSubscriptionJobId1", ids.jobs[0].id)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/dts"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		ids, err := dts.GetSubscriptionJobs(ctx, nil, nil)
    		if err != nil {
    			return err
    		}
    		ctx.Export("dtsSubscriptionJobId1", ids.Jobs[0].Id)
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AliCloud = Pulumi.AliCloud;
    
    return await Deployment.RunAsync(() => 
    {
        var ids = AliCloud.Dts.GetSubscriptionJobs.Invoke();
    
        return new Dictionary<string, object?>
        {
            ["dtsSubscriptionJobId1"] = ids.Apply(getSubscriptionJobsResult => getSubscriptionJobsResult.Jobs[0]?.Id),
        };
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.alicloud.dts.DtsFunctions;
    import com.pulumi.alicloud.dts.inputs.GetSubscriptionJobsArgs;
    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 ids = DtsFunctions.getSubscriptionJobs();
    
            ctx.export("dtsSubscriptionJobId1", ids.applyValue(getSubscriptionJobsResult -> getSubscriptionJobsResult.jobs()[0].id()));
        }
    }
    
    variables:
      ids:
        fn::invoke:
          Function: alicloud:dts:getSubscriptionJobs
          Arguments: {}
    outputs:
      dtsSubscriptionJobId1: ${ids.jobs[0].id}
    

    Using getSubscriptionJobs

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getSubscriptionJobs(args: GetSubscriptionJobsArgs, opts?: InvokeOptions): Promise<GetSubscriptionJobsResult>
    function getSubscriptionJobsOutput(args: GetSubscriptionJobsOutputArgs, opts?: InvokeOptions): Output<GetSubscriptionJobsResult>
    def get_subscription_jobs(enable_details: Optional[bool] = None,
                              ids: Optional[Sequence[str]] = None,
                              name_regex: Optional[str] = None,
                              output_file: Optional[str] = None,
                              status: Optional[str] = None,
                              tags: Optional[Mapping[str, Any]] = None,
                              opts: Optional[InvokeOptions] = None) -> GetSubscriptionJobsResult
    def get_subscription_jobs_output(enable_details: Optional[pulumi.Input[bool]] = None,
                              ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                              name_regex: Optional[pulumi.Input[str]] = None,
                              output_file: Optional[pulumi.Input[str]] = None,
                              status: Optional[pulumi.Input[str]] = None,
                              tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
                              opts: Optional[InvokeOptions] = None) -> Output[GetSubscriptionJobsResult]
    func GetSubscriptionJobs(ctx *Context, args *GetSubscriptionJobsArgs, opts ...InvokeOption) (*GetSubscriptionJobsResult, error)
    func GetSubscriptionJobsOutput(ctx *Context, args *GetSubscriptionJobsOutputArgs, opts ...InvokeOption) GetSubscriptionJobsResultOutput

    > Note: This function is named GetSubscriptionJobs in the Go SDK.

    public static class GetSubscriptionJobs 
    {
        public static Task<GetSubscriptionJobsResult> InvokeAsync(GetSubscriptionJobsArgs args, InvokeOptions? opts = null)
        public static Output<GetSubscriptionJobsResult> Invoke(GetSubscriptionJobsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetSubscriptionJobsResult> getSubscriptionJobs(GetSubscriptionJobsArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: alicloud:dts/getSubscriptionJobs:getSubscriptionJobs
      arguments:
        # arguments dictionary

    The following arguments are supported:

    EnableDetails bool
    Ids List<string>
    A list of Subscription Job IDs.
    NameRegex string
    A regex string to filter results by subscription job name.
    OutputFile string
    File name where to save data source results (after running pulumi preview).
    Status string
    The status of the task. Valid values: Abnormal, Downgrade, Locked, Normal, NotStarted, NotStarted, PreCheckPass, PrecheckFailed, Prechecking, Retrying, Starting, Upgrade.
    Tags Dictionary<string, object>
    EnableDetails bool
    Ids []string
    A list of Subscription Job IDs.
    NameRegex string
    A regex string to filter results by subscription job name.
    OutputFile string
    File name where to save data source results (after running pulumi preview).
    Status string
    The status of the task. Valid values: Abnormal, Downgrade, Locked, Normal, NotStarted, NotStarted, PreCheckPass, PrecheckFailed, Prechecking, Retrying, Starting, Upgrade.
    Tags map[string]interface{}
    enableDetails Boolean
    ids List<String>
    A list of Subscription Job IDs.
    nameRegex String
    A regex string to filter results by subscription job name.
    outputFile String
    File name where to save data source results (after running pulumi preview).
    status String
    The status of the task. Valid values: Abnormal, Downgrade, Locked, Normal, NotStarted, NotStarted, PreCheckPass, PrecheckFailed, Prechecking, Retrying, Starting, Upgrade.
    tags Map<String,Object>
    enableDetails boolean
    ids string[]
    A list of Subscription Job IDs.
    nameRegex string
    A regex string to filter results by subscription job name.
    outputFile string
    File name where to save data source results (after running pulumi preview).
    status string
    The status of the task. Valid values: Abnormal, Downgrade, Locked, Normal, NotStarted, NotStarted, PreCheckPass, PrecheckFailed, Prechecking, Retrying, Starting, Upgrade.
    tags {[key: string]: any}
    enable_details bool
    ids Sequence[str]
    A list of Subscription Job IDs.
    name_regex str
    A regex string to filter results by subscription job name.
    output_file str
    File name where to save data source results (after running pulumi preview).
    status str
    The status of the task. Valid values: Abnormal, Downgrade, Locked, Normal, NotStarted, NotStarted, PreCheckPass, PrecheckFailed, Prechecking, Retrying, Starting, Upgrade.
    tags Mapping[str, Any]
    enableDetails Boolean
    ids List<String>
    A list of Subscription Job IDs.
    nameRegex String
    A regex string to filter results by subscription job name.
    outputFile String
    File name where to save data source results (after running pulumi preview).
    status String
    The status of the task. Valid values: Abnormal, Downgrade, Locked, Normal, NotStarted, NotStarted, PreCheckPass, PrecheckFailed, Prechecking, Retrying, Starting, Upgrade.
    tags Map<Any>

    getSubscriptionJobs Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    Ids List<string>
    Jobs List<Pulumi.AliCloud.Dts.Outputs.GetSubscriptionJobsJob>
    Names List<string>
    EnableDetails bool
    NameRegex string
    OutputFile string
    Status string
    Tags Dictionary<string, object>
    Id string
    The provider-assigned unique ID for this managed resource.
    Ids []string
    Jobs []GetSubscriptionJobsJob
    Names []string
    EnableDetails bool
    NameRegex string
    OutputFile string
    Status string
    Tags map[string]interface{}
    id String
    The provider-assigned unique ID for this managed resource.
    ids List<String>
    jobs List<GetSubscriptionJobsJob>
    names List<String>
    enableDetails Boolean
    nameRegex String
    outputFile String
    status String
    tags Map<String,Object>
    id string
    The provider-assigned unique ID for this managed resource.
    ids string[]
    jobs GetSubscriptionJobsJob[]
    names string[]
    enableDetails boolean
    nameRegex string
    outputFile string
    status string
    tags {[key: string]: any}
    id str
    The provider-assigned unique ID for this managed resource.
    ids Sequence[str]
    jobs Sequence[GetSubscriptionJobsJob]
    names Sequence[str]
    enable_details bool
    name_regex str
    output_file str
    status str
    tags Mapping[str, Any]
    id String
    The provider-assigned unique ID for this managed resource.
    ids List<String>
    jobs List<Property Map>
    names List<String>
    enableDetails Boolean
    nameRegex String
    outputFile String
    status String
    tags Map<Any>

    Supporting Types

    GetSubscriptionJobsJob

    Checkpoint string
    Subscription start time in Unix timestamp format.
    CreateTime string
    The creation time of subscription job instance.
    DbList string
    Subscription object, in the format of JSON strings.
    DtsInstanceId string
    The ID of subscription job instance.
    DtsJobId string
    The ID of subscription job instance.
    DtsJobName string
    The name of subscription job instance.
    ExpireTime string
    The Expiration Time. Formatting with yyyy-MM-ddTHH:mm:ssZ(UTC time).
    Id string
    The ID of the Subscription Job.
    PaymentType string
    The payment type of the resource. Valid values: Subscription, PayAsYouGo.
    SourceEndpointDatabaseName string
    To subscribe to the name of the database.
    SourceEndpointEngineName string
    The source database type value is MySQL or Oracle.
    SourceEndpointInstanceId string
    The ID of source instance. Only when the type of source database instance was RDS MySQL, PolarDB-X 1.0, PolarDB MySQL, this parameter can be available and must be set.
    SourceEndpointInstanceType string
    The type of source instance. Valid values: RDS, PolarDB, DRDS, LocalInstance, ECS, Express, CEN, dg.
    SourceEndpointIp string
    The IP of source endpoint.
    SourceEndpointOracleSid string
    The SID of Oracle Database. When the source database is self-built Oracle and the Oracle database is a non-RAC instance, this parameter is available and must be passed in.
    SourceEndpointOwnerId string
    The Alibaba Cloud account ID to which the source instance belongs. This parameter is only available when configuring data subscriptions across Alibaba Cloud accounts and must be passed in.
    SourceEndpointPort string
    The port of source database.
    SourceEndpointRegion string
    The region of source database.
    SourceEndpointRole string
    Both the authorization roles. When the source instance and configure subscriptions task of the Alibaba Cloud account is not the same as the need to pass the parameter, to specify the source of the authorization roles, to allow configuration subscription task of the Alibaba Cloud account to access the source of the source instance information.
    SourceEndpointUserName string
    The username of source database instance account.
    Status string
    The status of the task. Valid values: NotStarted, Normal, Abnormal. When a task created, it is in this state of NotStarted. You can specify this state of Normal to start the job, and specify this state of Abnormal to stop the job.
    SubscriptionDataTypeDdl bool
    Whether to subscribe the DDL type of data. Valid values: true, false.
    SubscriptionDataTypeDml bool
    Whether to subscribe the DML type of data. Valid values: true, false.
    SubscriptionHosts List<Pulumi.AliCloud.Dts.Inputs.GetSubscriptionJobsJobSubscriptionHost>
    Network information.
    SubscriptionInstanceNetworkType string
    The type of subscription instance network. Valid value: classic, vpc.
    SubscriptionInstanceVpcId string
    The ID of subscription instance vpc.
    SubscriptionInstanceVswitchId string
    The ID of subscription instance vswitch.
    Tags Dictionary<string, object>
    The tag of the resource.
    Checkpoint string
    Subscription start time in Unix timestamp format.
    CreateTime string
    The creation time of subscription job instance.
    DbList string
    Subscription object, in the format of JSON strings.
    DtsInstanceId string
    The ID of subscription job instance.
    DtsJobId string
    The ID of subscription job instance.
    DtsJobName string
    The name of subscription job instance.
    ExpireTime string
    The Expiration Time. Formatting with yyyy-MM-ddTHH:mm:ssZ(UTC time).
    Id string
    The ID of the Subscription Job.
    PaymentType string
    The payment type of the resource. Valid values: Subscription, PayAsYouGo.
    SourceEndpointDatabaseName string
    To subscribe to the name of the database.
    SourceEndpointEngineName string
    The source database type value is MySQL or Oracle.
    SourceEndpointInstanceId string
    The ID of source instance. Only when the type of source database instance was RDS MySQL, PolarDB-X 1.0, PolarDB MySQL, this parameter can be available and must be set.
    SourceEndpointInstanceType string
    The type of source instance. Valid values: RDS, PolarDB, DRDS, LocalInstance, ECS, Express, CEN, dg.
    SourceEndpointIp string
    The IP of source endpoint.
    SourceEndpointOracleSid string
    The SID of Oracle Database. When the source database is self-built Oracle and the Oracle database is a non-RAC instance, this parameter is available and must be passed in.
    SourceEndpointOwnerId string
    The Alibaba Cloud account ID to which the source instance belongs. This parameter is only available when configuring data subscriptions across Alibaba Cloud accounts and must be passed in.
    SourceEndpointPort string
    The port of source database.
    SourceEndpointRegion string
    The region of source database.
    SourceEndpointRole string
    Both the authorization roles. When the source instance and configure subscriptions task of the Alibaba Cloud account is not the same as the need to pass the parameter, to specify the source of the authorization roles, to allow configuration subscription task of the Alibaba Cloud account to access the source of the source instance information.
    SourceEndpointUserName string
    The username of source database instance account.
    Status string
    The status of the task. Valid values: NotStarted, Normal, Abnormal. When a task created, it is in this state of NotStarted. You can specify this state of Normal to start the job, and specify this state of Abnormal to stop the job.
    SubscriptionDataTypeDdl bool
    Whether to subscribe the DDL type of data. Valid values: true, false.
    SubscriptionDataTypeDml bool
    Whether to subscribe the DML type of data. Valid values: true, false.
    SubscriptionHosts []GetSubscriptionJobsJobSubscriptionHost
    Network information.
    SubscriptionInstanceNetworkType string
    The type of subscription instance network. Valid value: classic, vpc.
    SubscriptionInstanceVpcId string
    The ID of subscription instance vpc.
    SubscriptionInstanceVswitchId string
    The ID of subscription instance vswitch.
    Tags map[string]interface{}
    The tag of the resource.
    checkpoint String
    Subscription start time in Unix timestamp format.
    createTime String
    The creation time of subscription job instance.
    dbList String
    Subscription object, in the format of JSON strings.
    dtsInstanceId String
    The ID of subscription job instance.
    dtsJobId String
    The ID of subscription job instance.
    dtsJobName String
    The name of subscription job instance.
    expireTime String
    The Expiration Time. Formatting with yyyy-MM-ddTHH:mm:ssZ(UTC time).
    id String
    The ID of the Subscription Job.
    paymentType String
    The payment type of the resource. Valid values: Subscription, PayAsYouGo.
    sourceEndpointDatabaseName String
    To subscribe to the name of the database.
    sourceEndpointEngineName String
    The source database type value is MySQL or Oracle.
    sourceEndpointInstanceId String
    The ID of source instance. Only when the type of source database instance was RDS MySQL, PolarDB-X 1.0, PolarDB MySQL, this parameter can be available and must be set.
    sourceEndpointInstanceType String
    The type of source instance. Valid values: RDS, PolarDB, DRDS, LocalInstance, ECS, Express, CEN, dg.
    sourceEndpointIp String
    The IP of source endpoint.
    sourceEndpointOracleSid String
    The SID of Oracle Database. When the source database is self-built Oracle and the Oracle database is a non-RAC instance, this parameter is available and must be passed in.
    sourceEndpointOwnerId String
    The Alibaba Cloud account ID to which the source instance belongs. This parameter is only available when configuring data subscriptions across Alibaba Cloud accounts and must be passed in.
    sourceEndpointPort String
    The port of source database.
    sourceEndpointRegion String
    The region of source database.
    sourceEndpointRole String
    Both the authorization roles. When the source instance and configure subscriptions task of the Alibaba Cloud account is not the same as the need to pass the parameter, to specify the source of the authorization roles, to allow configuration subscription task of the Alibaba Cloud account to access the source of the source instance information.
    sourceEndpointUserName String
    The username of source database instance account.
    status String
    The status of the task. Valid values: NotStarted, Normal, Abnormal. When a task created, it is in this state of NotStarted. You can specify this state of Normal to start the job, and specify this state of Abnormal to stop the job.
    subscriptionDataTypeDdl Boolean
    Whether to subscribe the DDL type of data. Valid values: true, false.
    subscriptionDataTypeDml Boolean
    Whether to subscribe the DML type of data. Valid values: true, false.
    subscriptionHosts List<GetSubscriptionJobsJobSubscriptionHost>
    Network information.
    subscriptionInstanceNetworkType String
    The type of subscription instance network. Valid value: classic, vpc.
    subscriptionInstanceVpcId String
    The ID of subscription instance vpc.
    subscriptionInstanceVswitchId String
    The ID of subscription instance vswitch.
    tags Map<String,Object>
    The tag of the resource.
    checkpoint string
    Subscription start time in Unix timestamp format.
    createTime string
    The creation time of subscription job instance.
    dbList string
    Subscription object, in the format of JSON strings.
    dtsInstanceId string
    The ID of subscription job instance.
    dtsJobId string
    The ID of subscription job instance.
    dtsJobName string
    The name of subscription job instance.
    expireTime string
    The Expiration Time. Formatting with yyyy-MM-ddTHH:mm:ssZ(UTC time).
    id string
    The ID of the Subscription Job.
    paymentType string
    The payment type of the resource. Valid values: Subscription, PayAsYouGo.
    sourceEndpointDatabaseName string
    To subscribe to the name of the database.
    sourceEndpointEngineName string
    The source database type value is MySQL or Oracle.
    sourceEndpointInstanceId string
    The ID of source instance. Only when the type of source database instance was RDS MySQL, PolarDB-X 1.0, PolarDB MySQL, this parameter can be available and must be set.
    sourceEndpointInstanceType string
    The type of source instance. Valid values: RDS, PolarDB, DRDS, LocalInstance, ECS, Express, CEN, dg.
    sourceEndpointIp string
    The IP of source endpoint.
    sourceEndpointOracleSid string
    The SID of Oracle Database. When the source database is self-built Oracle and the Oracle database is a non-RAC instance, this parameter is available and must be passed in.
    sourceEndpointOwnerId string
    The Alibaba Cloud account ID to which the source instance belongs. This parameter is only available when configuring data subscriptions across Alibaba Cloud accounts and must be passed in.
    sourceEndpointPort string
    The port of source database.
    sourceEndpointRegion string
    The region of source database.
    sourceEndpointRole string
    Both the authorization roles. When the source instance and configure subscriptions task of the Alibaba Cloud account is not the same as the need to pass the parameter, to specify the source of the authorization roles, to allow configuration subscription task of the Alibaba Cloud account to access the source of the source instance information.
    sourceEndpointUserName string
    The username of source database instance account.
    status string
    The status of the task. Valid values: NotStarted, Normal, Abnormal. When a task created, it is in this state of NotStarted. You can specify this state of Normal to start the job, and specify this state of Abnormal to stop the job.
    subscriptionDataTypeDdl boolean
    Whether to subscribe the DDL type of data. Valid values: true, false.
    subscriptionDataTypeDml boolean
    Whether to subscribe the DML type of data. Valid values: true, false.
    subscriptionHosts GetSubscriptionJobsJobSubscriptionHost[]
    Network information.
    subscriptionInstanceNetworkType string
    The type of subscription instance network. Valid value: classic, vpc.
    subscriptionInstanceVpcId string
    The ID of subscription instance vpc.
    subscriptionInstanceVswitchId string
    The ID of subscription instance vswitch.
    tags {[key: string]: any}
    The tag of the resource.
    checkpoint str
    Subscription start time in Unix timestamp format.
    create_time str
    The creation time of subscription job instance.
    db_list str
    Subscription object, in the format of JSON strings.
    dts_instance_id str
    The ID of subscription job instance.
    dts_job_id str
    The ID of subscription job instance.
    dts_job_name str
    The name of subscription job instance.
    expire_time str
    The Expiration Time. Formatting with yyyy-MM-ddTHH:mm:ssZ(UTC time).
    id str
    The ID of the Subscription Job.
    payment_type str
    The payment type of the resource. Valid values: Subscription, PayAsYouGo.
    source_endpoint_database_name str
    To subscribe to the name of the database.
    source_endpoint_engine_name str
    The source database type value is MySQL or Oracle.
    source_endpoint_instance_id str
    The ID of source instance. Only when the type of source database instance was RDS MySQL, PolarDB-X 1.0, PolarDB MySQL, this parameter can be available and must be set.
    source_endpoint_instance_type str
    The type of source instance. Valid values: RDS, PolarDB, DRDS, LocalInstance, ECS, Express, CEN, dg.
    source_endpoint_ip str
    The IP of source endpoint.
    source_endpoint_oracle_sid str
    The SID of Oracle Database. When the source database is self-built Oracle and the Oracle database is a non-RAC instance, this parameter is available and must be passed in.
    source_endpoint_owner_id str
    The Alibaba Cloud account ID to which the source instance belongs. This parameter is only available when configuring data subscriptions across Alibaba Cloud accounts and must be passed in.
    source_endpoint_port str
    The port of source database.
    source_endpoint_region str
    The region of source database.
    source_endpoint_role str
    Both the authorization roles. When the source instance and configure subscriptions task of the Alibaba Cloud account is not the same as the need to pass the parameter, to specify the source of the authorization roles, to allow configuration subscription task of the Alibaba Cloud account to access the source of the source instance information.
    source_endpoint_user_name str
    The username of source database instance account.
    status str
    The status of the task. Valid values: NotStarted, Normal, Abnormal. When a task created, it is in this state of NotStarted. You can specify this state of Normal to start the job, and specify this state of Abnormal to stop the job.
    subscription_data_type_ddl bool
    Whether to subscribe the DDL type of data. Valid values: true, false.
    subscription_data_type_dml bool
    Whether to subscribe the DML type of data. Valid values: true, false.
    subscription_hosts Sequence[GetSubscriptionJobsJobSubscriptionHost]
    Network information.
    subscription_instance_network_type str
    The type of subscription instance network. Valid value: classic, vpc.
    subscription_instance_vpc_id str
    The ID of subscription instance vpc.
    subscription_instance_vswitch_id str
    The ID of subscription instance vswitch.
    tags Mapping[str, Any]
    The tag of the resource.
    checkpoint String
    Subscription start time in Unix timestamp format.
    createTime String
    The creation time of subscription job instance.
    dbList String
    Subscription object, in the format of JSON strings.
    dtsInstanceId String
    The ID of subscription job instance.
    dtsJobId String
    The ID of subscription job instance.
    dtsJobName String
    The name of subscription job instance.
    expireTime String
    The Expiration Time. Formatting with yyyy-MM-ddTHH:mm:ssZ(UTC time).
    id String
    The ID of the Subscription Job.
    paymentType String
    The payment type of the resource. Valid values: Subscription, PayAsYouGo.
    sourceEndpointDatabaseName String
    To subscribe to the name of the database.
    sourceEndpointEngineName String
    The source database type value is MySQL or Oracle.
    sourceEndpointInstanceId String
    The ID of source instance. Only when the type of source database instance was RDS MySQL, PolarDB-X 1.0, PolarDB MySQL, this parameter can be available and must be set.
    sourceEndpointInstanceType String
    The type of source instance. Valid values: RDS, PolarDB, DRDS, LocalInstance, ECS, Express, CEN, dg.
    sourceEndpointIp String
    The IP of source endpoint.
    sourceEndpointOracleSid String
    The SID of Oracle Database. When the source database is self-built Oracle and the Oracle database is a non-RAC instance, this parameter is available and must be passed in.
    sourceEndpointOwnerId String
    The Alibaba Cloud account ID to which the source instance belongs. This parameter is only available when configuring data subscriptions across Alibaba Cloud accounts and must be passed in.
    sourceEndpointPort String
    The port of source database.
    sourceEndpointRegion String
    The region of source database.
    sourceEndpointRole String
    Both the authorization roles. When the source instance and configure subscriptions task of the Alibaba Cloud account is not the same as the need to pass the parameter, to specify the source of the authorization roles, to allow configuration subscription task of the Alibaba Cloud account to access the source of the source instance information.
    sourceEndpointUserName String
    The username of source database instance account.
    status String
    The status of the task. Valid values: NotStarted, Normal, Abnormal. When a task created, it is in this state of NotStarted. You can specify this state of Normal to start the job, and specify this state of Abnormal to stop the job.
    subscriptionDataTypeDdl Boolean
    Whether to subscribe the DDL type of data. Valid values: true, false.
    subscriptionDataTypeDml Boolean
    Whether to subscribe the DML type of data. Valid values: true, false.
    subscriptionHosts List<Property Map>
    Network information.
    subscriptionInstanceNetworkType String
    The type of subscription instance network. Valid value: classic, vpc.
    subscriptionInstanceVpcId String
    The ID of subscription instance vpc.
    subscriptionInstanceVswitchId String
    The ID of subscription instance vswitch.
    tags Map<Any>
    The tag of the resource.

    GetSubscriptionJobsJobSubscriptionHost

    PrivateHost string
    Classic network address.
    PublicHost string
    Public network address.
    VpcHost string
    VPC network address.
    PrivateHost string
    Classic network address.
    PublicHost string
    Public network address.
    VpcHost string
    VPC network address.
    privateHost String
    Classic network address.
    publicHost String
    Public network address.
    vpcHost String
    VPC network address.
    privateHost string
    Classic network address.
    publicHost string
    Public network address.
    vpcHost string
    VPC network address.
    private_host str
    Classic network address.
    public_host str
    Public network address.
    vpc_host str
    VPC network address.
    privateHost String
    Classic network address.
    publicHost String
    Public network address.
    vpcHost String
    VPC network address.

    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.57.1 published on Wednesday, Jun 26, 2024 by Pulumi