Harness v0.5.7 published on Saturday, Mar 8, 2025 by Pulumi
harness.autostopping.getRuleRds
Explore with Pulumi AI
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)
public static Output<GetRuleRdsResult> getRuleRds(GetRuleRdsArgs args, InvokeOptions options)
fn::invoke:
  function: harness:autostopping/getRuleRds:getRuleRds
  arguments:
    # arguments dictionaryThe following arguments are supported:
- CloudConnector stringId 
- Id of the cloud connector
- Database
GetRule Rds Database 
- Name string
- Name of the rule
- Depends
List<GetRule Rds Depend> 
- Dependent rules
- IdleTime intMins 
- Idle time in minutes. This is the time that the AutoStopping rule waits before stopping the idle instances.
- Tcps
List<GetRule Rds Tcp> 
- TCP routing configuration
- CloudConnector stringId 
- Id of the cloud connector
- Database
GetRule Rds Database 
- Name string
- Name of the rule
- Depends
[]GetRule Rds Depend 
- Dependent rules
- IdleTime intMins 
- Idle time in minutes. This is the time that the AutoStopping rule waits before stopping the idle instances.
- Tcps
[]GetRule Rds Tcp 
- TCP routing configuration
- cloudConnector StringId 
- Id of the cloud connector
- database
GetRule Rds Database 
- name String
- Name of the rule
- depends
List<GetRule Rds Depend> 
- Dependent rules
- idleTime IntegerMins 
- Idle time in minutes. This is the time that the AutoStopping rule waits before stopping the idle instances.
- tcps
List<GetRule Rds Tcp> 
- TCP routing configuration
- cloudConnector stringId 
- Id of the cloud connector
- database
GetRule Rds Database 
- name string
- Name of the rule
- depends
GetRule Rds Depend[] 
- Dependent rules
- idleTime numberMins 
- Idle time in minutes. This is the time that the AutoStopping rule waits before stopping the idle instances.
- tcps
GetRule Rds Tcp[] 
- TCP routing configuration
- cloud_connector_ strid 
- Id of the cloud connector
- database
GetRule Rds Database 
- name str
- Name of the rule
- depends
Sequence[GetRule Rds Depend] 
- Dependent rules
- idle_time_ intmins 
- Idle time in minutes. This is the time that the AutoStopping rule waits before stopping the idle instances.
- tcps
Sequence[GetRule Rds Tcp] 
- TCP routing configuration
- cloudConnector StringId 
- Id of the cloud connector
- database Property Map
- name String
- Name of the rule
- depends List<Property Map>
- Dependent rules
- idleTime NumberMins 
- 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:
- CloudConnector stringId 
- Id of the cloud connector
- Database
GetRule Rds Database 
- 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<GetRule Rds Depend> 
- Dependent rules
- IdleTime intMins 
- Idle time in minutes. This is the time that the AutoStopping rule waits before stopping the idle instances.
- Tcps
List<GetRule Rds Tcp> 
- TCP routing configuration
- CloudConnector stringId 
- Id of the cloud connector
- Database
GetRule Rds Database 
- 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
[]GetRule Rds Depend 
- Dependent rules
- IdleTime intMins 
- Idle time in minutes. This is the time that the AutoStopping rule waits before stopping the idle instances.
- Tcps
[]GetRule Rds Tcp 
- TCP routing configuration
- cloudConnector StringId 
- Id of the cloud connector
- database
GetRule Rds Database 
- 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<GetRule Rds Depend> 
- Dependent rules
- idleTime IntegerMins 
- Idle time in minutes. This is the time that the AutoStopping rule waits before stopping the idle instances.
- tcps
List<GetRule Rds Tcp> 
- TCP routing configuration
- cloudConnector stringId 
- Id of the cloud connector
- database
GetRule Rds Database 
- 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
GetRule Rds Depend[] 
- Dependent rules
- idleTime numberMins 
- Idle time in minutes. This is the time that the AutoStopping rule waits before stopping the idle instances.
- tcps
GetRule Rds Tcp[] 
- TCP routing configuration
- cloud_connector_ strid 
- Id of the cloud connector
- database
GetRule Rds Database 
- 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[GetRule Rds Depend] 
- Dependent rules
- idle_time_ intmins 
- Idle time in minutes. This is the time that the AutoStopping rule waits before stopping the idle instances.
- tcps
Sequence[GetRule Rds Tcp] 
- TCP routing configuration
- cloudConnector StringId 
- 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
- idleTime NumberMins 
- 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   
GetRuleRdsDepend   
- RuleId int
- Rule id of the dependent rule
- DelayIn intSec 
- Number of seconds the rule should wait after warming up the dependent rule
- RuleId int
- Rule id of the dependent rule
- DelayIn intSec 
- Number of seconds the rule should wait after warming up the dependent rule
- ruleId Integer
- Rule id of the dependent rule
- delayIn IntegerSec 
- Number of seconds the rule should wait after warming up the dependent rule
- ruleId number
- Rule id of the dependent rule
- delayIn numberSec 
- Number of seconds the rule should wait after warming up the dependent rule
- rule_id int
- Rule id of the dependent rule
- delay_in_ intsec 
- Number of seconds the rule should wait after warming up the dependent rule
- ruleId Number
- Rule id of the dependent rule
- delayIn NumberSec 
- Number of seconds the rule should wait after warming up the dependent rule
GetRuleRdsTcp   
- ProxyId string
- Id of the Proxy
- ForwardRules List<GetRule Rds Tcp Forward Rule> 
- Additional tcp forwarding rules
- ProxyId string
- Id of the Proxy
- ForwardRules []GetRule Rds Tcp Forward Rule 
- Additional tcp forwarding rules
- proxyId String
- Id of the Proxy
- forwardRules List<GetRule Rds Tcp Forward Rule> 
- Additional tcp forwarding rules
- proxyId string
- Id of the Proxy
- forwardRules GetRule Rds Tcp Forward Rule[] 
- Additional tcp forwarding rules
- proxy_id str
- Id of the Proxy
- forward_rules Sequence[GetRule Rds Tcp Forward Rule] 
- 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
- connect_on int
- 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 harnessTerraform Provider.
