1. Packages
  2. Harness
  3. API Docs
  4. autostopping
  5. getRuleRds
Harness v0.3.2 published on Monday, Sep 16, 2024 by Pulumi

harness.autostopping.getRuleRds

Explore with Pulumi AI

harness logo
Harness v0.3.2 published on Monday, Sep 16, 2024 by Pulumi

    Data source for retrieving a Harness Variable.

    Example Usage

    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.harness.autostopping.AutostoppingFunctions;
    import com.pulumi.harness.autostopping.inputs.GetRuleRdsArgs;
    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 example = AutostoppingFunctions.getRuleRds(GetRuleRdsArgs.builder()
                .identifier("identifier")
                .build());
    
        }
    }
    
    variables:
      example:
        fn::invoke:
          Function: harness:autostopping:getRuleRds
          Arguments:
            identifier: identifier
    

    Using getRuleRds

    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 getRuleRds(args: GetRuleRdsArgs, opts?: InvokeOptions): Promise<GetRuleRdsResult>
    function getRuleRdsOutput(args: GetRuleRdsOutputArgs, opts?: InvokeOptions): Output<GetRuleRdsResult>
    def get_rule_rds(cloud_connector_id: Optional[str] = None,
                     database: Optional[GetRuleRdsDatabase] = None,
                     depends: Optional[Sequence[GetRuleRdsDepend]] = None,
                     idle_time_mins: Optional[int] = None,
                     name: Optional[str] = None,
                     tcps: Optional[Sequence[GetRuleRdsTcp]] = None,
                     opts: Optional[InvokeOptions] = None) -> GetRuleRdsResult
    def get_rule_rds_output(cloud_connector_id: Optional[pulumi.Input[str]] = None,
                     database: Optional[pulumi.Input[GetRuleRdsDatabaseArgs]] = None,
                     depends: Optional[pulumi.Input[Sequence[pulumi.Input[GetRuleRdsDependArgs]]]] = None,
                     idle_time_mins: Optional[pulumi.Input[int]] = None,
                     name: Optional[pulumi.Input[str]] = None,
                     tcps: Optional[pulumi.Input[Sequence[pulumi.Input[GetRuleRdsTcpArgs]]]] = None,
                     opts: Optional[InvokeOptions] = None) -> Output[GetRuleRdsResult]
    func LookupRuleRds(ctx *Context, args *LookupRuleRdsArgs, opts ...InvokeOption) (*LookupRuleRdsResult, error)
    func LookupRuleRdsOutput(ctx *Context, args *LookupRuleRdsOutputArgs, opts ...InvokeOption) LookupRuleRdsResultOutput

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

    public static class GetRuleRds 
    {
        public static Task<GetRuleRdsResult> InvokeAsync(GetRuleRdsArgs args, InvokeOptions? opts = null)
        public static Output<GetRuleRdsResult> Invoke(GetRuleRdsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetRuleRdsResult> getRuleRds(GetRuleRdsArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: harness:autostopping/getRuleRds:getRuleRds
      arguments:
        # arguments dictionary

    The following arguments are supported:

    CloudConnectorId string
    Id of the cloud connector
    Database GetRuleRdsDatabase
    Name string
    Name of the rule
    Depends List<GetRuleRdsDepend>
    Dependent rules
    IdleTimeMins int
    Idle time in minutes. This is the time that the AutoStopping rule waits before stopping the idle instances.
    Tcps List<GetRuleRdsTcp>
    TCP routing configuration
    CloudConnectorId string
    Id of the cloud connector
    Database GetRuleRdsDatabase
    Name string
    Name of the rule
    Depends []GetRuleRdsDepend
    Dependent rules
    IdleTimeMins int
    Idle time in minutes. This is the time that the AutoStopping rule waits before stopping the idle instances.
    Tcps []GetRuleRdsTcp
    TCP routing configuration
    cloudConnectorId String
    Id of the cloud connector
    database GetRuleRdsDatabase
    name String
    Name of the rule
    depends List<GetRuleRdsDepend>
    Dependent rules
    idleTimeMins Integer
    Idle time in minutes. This is the time that the AutoStopping rule waits before stopping the idle instances.
    tcps List<GetRuleRdsTcp>
    TCP routing configuration
    cloudConnectorId string
    Id of the cloud connector
    database GetRuleRdsDatabase
    name string
    Name of the rule
    depends GetRuleRdsDepend[]
    Dependent rules
    idleTimeMins number
    Idle time in minutes. This is the time that the AutoStopping rule waits before stopping the idle instances.
    tcps GetRuleRdsTcp[]
    TCP routing configuration
    cloud_connector_id str
    Id of the cloud connector
    database GetRuleRdsDatabase
    name str
    Name of the rule
    depends Sequence[GetRuleRdsDepend]
    Dependent rules
    idle_time_mins int
    Idle time in minutes. This is the time that the AutoStopping rule waits before stopping the idle instances.
    tcps Sequence[GetRuleRdsTcp]
    TCP routing configuration
    cloudConnectorId String
    Id of the cloud connector
    database Property Map
    name String
    Name of the rule
    depends List<Property Map>
    Dependent rules
    idleTimeMins Number
    Idle time in minutes. This is the time that the AutoStopping rule waits before stopping the idle instances.
    tcps List<Property Map>
    TCP routing configuration

    getRuleRds Result

    The following output properties are available:

    CloudConnectorId string
    Id of the cloud connector
    Database GetRuleRdsDatabase
    Id string
    The provider-assigned unique ID for this managed resource.
    Identifier double
    Unique identifier of the resource
    Name string
    Name of the rule
    Depends List<GetRuleRdsDepend>
    Dependent rules
    IdleTimeMins int
    Idle time in minutes. This is the time that the AutoStopping rule waits before stopping the idle instances.
    Tcps List<GetRuleRdsTcp>
    TCP routing configuration
    CloudConnectorId string
    Id of the cloud connector
    Database GetRuleRdsDatabase
    Id string
    The provider-assigned unique ID for this managed resource.
    Identifier float64
    Unique identifier of the resource
    Name string
    Name of the rule
    Depends []GetRuleRdsDepend
    Dependent rules
    IdleTimeMins int
    Idle time in minutes. This is the time that the AutoStopping rule waits before stopping the idle instances.
    Tcps []GetRuleRdsTcp
    TCP routing configuration
    cloudConnectorId String
    Id of the cloud connector
    database GetRuleRdsDatabase
    id String
    The provider-assigned unique ID for this managed resource.
    identifier Double
    Unique identifier of the resource
    name String
    Name of the rule
    depends List<GetRuleRdsDepend>
    Dependent rules
    idleTimeMins Integer
    Idle time in minutes. This is the time that the AutoStopping rule waits before stopping the idle instances.
    tcps List<GetRuleRdsTcp>
    TCP routing configuration
    cloudConnectorId string
    Id of the cloud connector
    database GetRuleRdsDatabase
    id string
    The provider-assigned unique ID for this managed resource.
    identifier number
    Unique identifier of the resource
    name string
    Name of the rule
    depends GetRuleRdsDepend[]
    Dependent rules
    idleTimeMins number
    Idle time in minutes. This is the time that the AutoStopping rule waits before stopping the idle instances.
    tcps GetRuleRdsTcp[]
    TCP routing configuration
    cloud_connector_id str
    Id of the cloud connector
    database GetRuleRdsDatabase
    id str
    The provider-assigned unique ID for this managed resource.
    identifier float
    Unique identifier of the resource
    name str
    Name of the rule
    depends Sequence[GetRuleRdsDepend]
    Dependent rules
    idle_time_mins int
    Idle time in minutes. This is the time that the AutoStopping rule waits before stopping the idle instances.
    tcps Sequence[GetRuleRdsTcp]
    TCP routing configuration
    cloudConnectorId String
    Id of the cloud connector
    database Property Map
    id String
    The provider-assigned unique ID for this managed resource.
    identifier Number
    Unique identifier of the resource
    name String
    Name of the rule
    depends List<Property Map>
    Dependent rules
    idleTimeMins Number
    Idle time in minutes. This is the time that the AutoStopping rule waits before stopping the idle instances.
    tcps List<Property Map>
    TCP routing configuration

    Supporting Types

    GetRuleRdsDatabase

    Id string
    ID of the database
    Region string
    Region to which database belong to
    Id string
    ID of the database
    Region string
    Region to which database belong to
    id String
    ID of the database
    region String
    Region to which database belong to
    id string
    ID of the database
    region string
    Region to which database belong to
    id str
    ID of the database
    region str
    Region to which database belong to
    id String
    ID of the database
    region String
    Region to which database belong to

    GetRuleRdsDepend

    RuleId int
    Rule id of the dependent rule
    DelayInSec int
    Number of seconds the rule should wait after warming up the dependent rule
    RuleId int
    Rule id of the dependent rule
    DelayInSec int
    Number of seconds the rule should wait after warming up the dependent rule
    ruleId Integer
    Rule id of the dependent rule
    delayInSec Integer
    Number of seconds the rule should wait after warming up the dependent rule
    ruleId number
    Rule id of the dependent rule
    delayInSec number
    Number of seconds the rule should wait after warming up the dependent rule
    rule_id int
    Rule id of the dependent rule
    delay_in_sec int
    Number of seconds the rule should wait after warming up the dependent rule
    ruleId Number
    Rule id of the dependent rule
    delayInSec Number
    Number of seconds the rule should wait after warming up the dependent rule

    GetRuleRdsTcp

    ProxyId string
    Id of the Proxy
    ForwardRules List<GetRuleRdsTcpForwardRule>
    Additional tcp forwarding rules
    ProxyId string
    Id of the Proxy
    ForwardRules []GetRuleRdsTcpForwardRule
    Additional tcp forwarding rules
    proxyId String
    Id of the Proxy
    forwardRules List<GetRuleRdsTcpForwardRule>
    Additional tcp forwarding rules
    proxyId string
    Id of the Proxy
    forwardRules GetRuleRdsTcpForwardRule[]
    Additional tcp forwarding rules
    proxy_id str
    Id of the Proxy
    forward_rules Sequence[GetRuleRdsTcpForwardRule]
    Additional tcp forwarding rules
    proxyId String
    Id of the Proxy
    forwardRules List<Property Map>
    Additional tcp forwarding rules

    GetRuleRdsTcpForwardRule

    Port int
    Port to listen on the vm
    ConnectOn int
    Port to listen on the proxy
    Port int
    Port to listen on the vm
    ConnectOn int
    Port to listen on the proxy
    port Integer
    Port to listen on the vm
    connectOn Integer
    Port to listen on the proxy
    port number
    Port to listen on the vm
    connectOn number
    Port to listen on the proxy
    port int
    Port to listen on the vm
    connect_on int
    Port to listen on the proxy
    port Number
    Port to listen on the vm
    connectOn Number
    Port to listen on the proxy

    Package Details

    Repository
    harness pulumi/pulumi-harness
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the harness Terraform Provider.
    harness logo
    Harness v0.3.2 published on Monday, Sep 16, 2024 by Pulumi