Data source for retrieving a Harness Variable.
Example Usage
Example coming soon!
Example coming soon!
Example coming soon!
Example coming soon!
Example coming soon!
variables:
example:
fn::invoke:
function: harness:autostopping:getRuleScaleGroup
arguments:
identifier: identifier
Using getRuleScaleGroup
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 getRuleScaleGroup(args: GetRuleScaleGroupArgs, opts?: InvokeOptions): Promise<GetRuleScaleGroupResult>
function getRuleScaleGroupOutput(args: GetRuleScaleGroupOutputArgs, opts?: InvokeOptions): Output<GetRuleScaleGroupResult>def get_rule_scale_group(cloud_connector_id: Optional[str] = None,
custom_domains: Optional[Sequence[str]] = None,
depends: Optional[Sequence[GetRuleScaleGroupDepend]] = None,
dry_run: Optional[bool] = None,
https: Optional[Sequence[GetRuleScaleGroupHttp]] = None,
idle_time_mins: Optional[int] = None,
name: Optional[str] = None,
scale_group: Optional[GetRuleScaleGroupScaleGroup] = None,
opts: Optional[InvokeOptions] = None) -> GetRuleScaleGroupResult
def get_rule_scale_group_output(cloud_connector_id: Optional[pulumi.Input[str]] = None,
custom_domains: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
depends: Optional[pulumi.Input[Sequence[pulumi.Input[GetRuleScaleGroupDependArgs]]]] = None,
dry_run: Optional[pulumi.Input[bool]] = None,
https: Optional[pulumi.Input[Sequence[pulumi.Input[GetRuleScaleGroupHttpArgs]]]] = None,
idle_time_mins: Optional[pulumi.Input[int]] = None,
name: Optional[pulumi.Input[str]] = None,
scale_group: Optional[pulumi.Input[GetRuleScaleGroupScaleGroupArgs]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetRuleScaleGroupResult]func LookupRuleScaleGroup(ctx *Context, args *LookupRuleScaleGroupArgs, opts ...InvokeOption) (*LookupRuleScaleGroupResult, error)
func LookupRuleScaleGroupOutput(ctx *Context, args *LookupRuleScaleGroupOutputArgs, opts ...InvokeOption) LookupRuleScaleGroupResultOutput> Note: This function is named LookupRuleScaleGroup in the Go SDK.
public static class GetRuleScaleGroup
{
public static Task<GetRuleScaleGroupResult> InvokeAsync(GetRuleScaleGroupArgs args, InvokeOptions? opts = null)
public static Output<GetRuleScaleGroupResult> Invoke(GetRuleScaleGroupInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetRuleScaleGroupResult> getRuleScaleGroup(GetRuleScaleGroupArgs args, InvokeOptions options)
public static Output<GetRuleScaleGroupResult> getRuleScaleGroup(GetRuleScaleGroupArgs args, InvokeOptions options)
fn::invoke:
function: harness:autostopping/getRuleScaleGroup:getRuleScaleGroup
arguments:
# arguments dictionaryThe following arguments are supported:
- Cloud
Connector stringId - Id of the cloud connector
- Name string
- Name of the rule
- Scale
Group GetRule Scale Group Scale Group - Scaling Group configuration
- Custom
Domains List<string> - Custom URLs used to access the instances
- Depends
List<Get
Rule Scale Group Depend> - Dependent rules
- Dry
Run bool - Boolean that indicates whether the AutoStopping rule should be created in DryRun mode
- Https
List<Get
Rule Scale Group Http> - Http routing configuration
- Idle
Time intMins - Idle time in minutes. This is the time that the AutoStopping rule waits before stopping the idle instances.
- Cloud
Connector stringId - Id of the cloud connector
- Name string
- Name of the rule
- Scale
Group GetRule Scale Group Scale Group - Scaling Group configuration
- Custom
Domains []string - Custom URLs used to access the instances
- Depends
[]Get
Rule Scale Group Depend - Dependent rules
- Dry
Run bool - Boolean that indicates whether the AutoStopping rule should be created in DryRun mode
- Https
[]Get
Rule Scale Group Http - Http routing configuration
- Idle
Time intMins - Idle time in minutes. This is the time that the AutoStopping rule waits before stopping the idle instances.
- cloud
Connector StringId - Id of the cloud connector
- name String
- Name of the rule
- scale
Group GetRule Scale Group Scale Group - Scaling Group configuration
- custom
Domains List<String> - Custom URLs used to access the instances
- depends
List<Get
Rule Scale Group Depend> - Dependent rules
- dry
Run Boolean - Boolean that indicates whether the AutoStopping rule should be created in DryRun mode
- https
List<Get
Rule Scale Group Http> - Http routing configuration
- idle
Time IntegerMins - Idle time in minutes. This is the time that the AutoStopping rule waits before stopping the idle instances.
- cloud
Connector stringId - Id of the cloud connector
- name string
- Name of the rule
- scale
Group GetRule Scale Group Scale Group - Scaling Group configuration
- custom
Domains string[] - Custom URLs used to access the instances
- depends
Get
Rule Scale Group Depend[] - Dependent rules
- dry
Run boolean - Boolean that indicates whether the AutoStopping rule should be created in DryRun mode
- https
Get
Rule Scale Group Http[] - Http routing configuration
- idle
Time numberMins - Idle time in minutes. This is the time that the AutoStopping rule waits before stopping the idle instances.
- cloud_
connector_ strid - Id of the cloud connector
- name str
- Name of the rule
- scale_
group GetRule Scale Group Scale Group - Scaling Group configuration
- custom_
domains Sequence[str] - Custom URLs used to access the instances
- depends
Sequence[Get
Rule Scale Group Depend] - Dependent rules
- dry_
run bool - Boolean that indicates whether the AutoStopping rule should be created in DryRun mode
- https
Sequence[Get
Rule Scale Group Http] - Http routing configuration
- idle_
time_ intmins - Idle time in minutes. This is the time that the AutoStopping rule waits before stopping the idle instances.
- cloud
Connector StringId - Id of the cloud connector
- name String
- Name of the rule
- scale
Group Property Map - Scaling Group configuration
- custom
Domains List<String> - Custom URLs used to access the instances
- depends List<Property Map>
- Dependent rules
- dry
Run Boolean - Boolean that indicates whether the AutoStopping rule should be created in DryRun mode
- https List<Property Map>
- Http routing configuration
- idle
Time NumberMins - Idle time in minutes. This is the time that the AutoStopping rule waits before stopping the idle instances.
getRuleScaleGroup Result
The following output properties are available:
- Cloud
Connector stringId - Id of the cloud connector
- Id string
- The provider-assigned unique ID for this managed resource.
- Identifier double
- Unique identifier of the resource
- Name string
- Name of the rule
- Scale
Group GetRule Scale Group Scale Group - Scaling Group configuration
- Custom
Domains List<string> - Custom URLs used to access the instances
- Depends
List<Get
Rule Scale Group Depend> - Dependent rules
- Dry
Run bool - Boolean that indicates whether the AutoStopping rule should be created in DryRun mode
- Https
List<Get
Rule Scale Group Http> - Http routing configuration
- Idle
Time intMins - Idle time in minutes. This is the time that the AutoStopping rule waits before stopping the idle instances.
- Cloud
Connector stringId - Id of the cloud connector
- Id string
- The provider-assigned unique ID for this managed resource.
- Identifier float64
- Unique identifier of the resource
- Name string
- Name of the rule
- Scale
Group GetRule Scale Group Scale Group - Scaling Group configuration
- Custom
Domains []string - Custom URLs used to access the instances
- Depends
[]Get
Rule Scale Group Depend - Dependent rules
- Dry
Run bool - Boolean that indicates whether the AutoStopping rule should be created in DryRun mode
- Https
[]Get
Rule Scale Group Http - Http routing configuration
- Idle
Time intMins - Idle time in minutes. This is the time that the AutoStopping rule waits before stopping the idle instances.
- cloud
Connector StringId - Id of the cloud connector
- id String
- The provider-assigned unique ID for this managed resource.
- identifier Double
- Unique identifier of the resource
- name String
- Name of the rule
- scale
Group GetRule Scale Group Scale Group - Scaling Group configuration
- custom
Domains List<String> - Custom URLs used to access the instances
- depends
List<Get
Rule Scale Group Depend> - Dependent rules
- dry
Run Boolean - Boolean that indicates whether the AutoStopping rule should be created in DryRun mode
- https
List<Get
Rule Scale Group Http> - Http routing configuration
- idle
Time IntegerMins - Idle time in minutes. This is the time that the AutoStopping rule waits before stopping the idle instances.
- cloud
Connector stringId - Id of the cloud connector
- id string
- The provider-assigned unique ID for this managed resource.
- identifier number
- Unique identifier of the resource
- name string
- Name of the rule
- scale
Group GetRule Scale Group Scale Group - Scaling Group configuration
- custom
Domains string[] - Custom URLs used to access the instances
- depends
Get
Rule Scale Group Depend[] - Dependent rules
- dry
Run boolean - Boolean that indicates whether the AutoStopping rule should be created in DryRun mode
- https
Get
Rule Scale Group Http[] - Http routing configuration
- idle
Time numberMins - Idle time in minutes. This is the time that the AutoStopping rule waits before stopping the idle instances.
- cloud_
connector_ strid - Id of the cloud connector
- id str
- The provider-assigned unique ID for this managed resource.
- identifier float
- Unique identifier of the resource
- name str
- Name of the rule
- scale_
group GetRule Scale Group Scale Group - Scaling Group configuration
- custom_
domains Sequence[str] - Custom URLs used to access the instances
- depends
Sequence[Get
Rule Scale Group Depend] - Dependent rules
- dry_
run bool - Boolean that indicates whether the AutoStopping rule should be created in DryRun mode
- https
Sequence[Get
Rule Scale Group Http] - Http routing configuration
- idle_
time_ intmins - Idle time in minutes. This is the time that the AutoStopping rule waits before stopping the idle instances.
- cloud
Connector StringId - Id of the cloud connector
- id String
- The provider-assigned unique ID for this managed resource.
- identifier Number
- Unique identifier of the resource
- name String
- Name of the rule
- scale
Group Property Map - Scaling Group configuration
- custom
Domains List<String> - Custom URLs used to access the instances
- depends List<Property Map>
- Dependent rules
- dry
Run Boolean - Boolean that indicates whether the AutoStopping rule should be created in DryRun mode
- https List<Property Map>
- Http routing configuration
- idle
Time NumberMins - Idle time in minutes. This is the time that the AutoStopping rule waits before stopping the idle instances.
Supporting Types
GetRuleScaleGroupDepend
- 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
- 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
- rule
Id Integer - Rule id of the dependent rule
- delay
In IntegerSec - Number of seconds the rule should wait after warming up the dependent rule
- rule
Id number - Rule id of the dependent rule
- delay
In 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
- rule
Id Number - Rule id of the dependent rule
- delay
In NumberSec - Number of seconds the rule should wait after warming up the dependent rule
GetRuleScaleGroupHttp
- Proxy
Id string - Id of the proxy
- Healths
List<Get
Rule Scale Group Http Health> - Health Check Details
- Routings
List<Get
Rule Scale Group Http Routing> - Routing configuration used to access the scaling group
- Proxy
Id string - Id of the proxy
- Healths
[]Get
Rule Scale Group Http Health - Health Check Details
- Routings
[]Get
Rule Scale Group Http Routing - Routing configuration used to access the scaling group
- proxy
Id String - Id of the proxy
- healths
List<Get
Rule Scale Group Http Health> - Health Check Details
- routings
List<Get
Rule Scale Group Http Routing> - Routing configuration used to access the scaling group
- proxy
Id string - Id of the proxy
- healths
Get
Rule Scale Group Http Health[] - Health Check Details
- routings
Get
Rule Scale Group Http Routing[] - Routing configuration used to access the scaling group
- proxy_
id str - Id of the proxy
- healths
Sequence[Get
Rule Scale Group Http Health] - Health Check Details
- routings
Sequence[Get
Rule Scale Group Http Routing] - Routing configuration used to access the scaling group
- proxy
Id String - Id of the proxy
- healths List<Property Map>
- Health Check Details
- routings List<Property Map>
- Routing configuration used to access the scaling group
GetRuleScaleGroupHttpHealth
- Port int
- Health check port on the VM
- Protocol string
- Protocol can be http or https
- Path string
- API path to use for health check
- Status
Code intFrom - Lower limit for acceptable status code
- Status
Code intTo - Upper limit for acceptable status code
- Timeout int
- Health check timeout
- Port int
- Health check port on the VM
- Protocol string
- Protocol can be http or https
- Path string
- API path to use for health check
- Status
Code intFrom - Lower limit for acceptable status code
- Status
Code intTo - Upper limit for acceptable status code
- Timeout int
- Health check timeout
- port Integer
- Health check port on the VM
- protocol String
- Protocol can be http or https
- path String
- API path to use for health check
- status
Code IntegerFrom - Lower limit for acceptable status code
- status
Code IntegerTo - Upper limit for acceptable status code
- timeout Integer
- Health check timeout
- port number
- Health check port on the VM
- protocol string
- Protocol can be http or https
- path string
- API path to use for health check
- status
Code numberFrom - Lower limit for acceptable status code
- status
Code numberTo - Upper limit for acceptable status code
- timeout number
- Health check timeout
- port int
- Health check port on the VM
- protocol str
- Protocol can be http or https
- path str
- API path to use for health check
- status_
code_ intfrom - Lower limit for acceptable status code
- status_
code_ intto - Upper limit for acceptable status code
- timeout int
- Health check timeout
- port Number
- Health check port on the VM
- protocol String
- Protocol can be http or https
- path String
- API path to use for health check
- status
Code NumberFrom - Lower limit for acceptable status code
- status
Code NumberTo - Upper limit for acceptable status code
- timeout Number
- Health check timeout
GetRuleScaleGroupHttpRouting
- Source
Protocol string - Source protocol of the proxy can be http or https
- Target
Protocol string - Target protocol of the instance can be http or https
- Action string
- Organization Identifier for the Entity
- Source
Port int - Port on the proxy
- Target
Port int - Port on the VM
- Source
Protocol string - Source protocol of the proxy can be http or https
- Target
Protocol string - Target protocol of the instance can be http or https
- Action string
- Organization Identifier for the Entity
- Source
Port int - Port on the proxy
- Target
Port int - Port on the VM
- source
Protocol String - Source protocol of the proxy can be http or https
- target
Protocol String - Target protocol of the instance can be http or https
- action String
- Organization Identifier for the Entity
- source
Port Integer - Port on the proxy
- target
Port Integer - Port on the VM
- source
Protocol string - Source protocol of the proxy can be http or https
- target
Protocol string - Target protocol of the instance can be http or https
- action string
- Organization Identifier for the Entity
- source
Port number - Port on the proxy
- target
Port number - Port on the VM
- source_
protocol str - Source protocol of the proxy can be http or https
- target_
protocol str - Target protocol of the instance can be http or https
- action str
- Organization Identifier for the Entity
- source_
port int - Port on the proxy
- target_
port int - Port on the VM
- source
Protocol String - Source protocol of the proxy can be http or https
- target
Protocol String - Target protocol of the instance can be http or https
- action String
- Organization Identifier for the Entity
- source
Port Number - Port on the proxy
- target
Port Number - Port on the VM
GetRuleScaleGroupScaleGroup
- Desired int
- Desired capacity of the Scaling Group
- Id string
- ID of the Scaling Group
- Max int
- Maximum capacity of the Scaling Group
- Min int
- Minimum capacity of the Scaling Group
- Name string
- Name of the Scaling Group
- On
Demand int - On-demand capacity of the Scaling Group
- Region string
- Region of the Scaling Group
- Zone string
- Zone of the Scaling Group. Needed for GCP only
- Desired int
- Desired capacity of the Scaling Group
- Id string
- ID of the Scaling Group
- Max int
- Maximum capacity of the Scaling Group
- Min int
- Minimum capacity of the Scaling Group
- Name string
- Name of the Scaling Group
- On
Demand int - On-demand capacity of the Scaling Group
- Region string
- Region of the Scaling Group
- Zone string
- Zone of the Scaling Group. Needed for GCP only
- desired Integer
- Desired capacity of the Scaling Group
- id String
- ID of the Scaling Group
- max Integer
- Maximum capacity of the Scaling Group
- min Integer
- Minimum capacity of the Scaling Group
- name String
- Name of the Scaling Group
- on
Demand Integer - On-demand capacity of the Scaling Group
- region String
- Region of the Scaling Group
- zone String
- Zone of the Scaling Group. Needed for GCP only
- desired number
- Desired capacity of the Scaling Group
- id string
- ID of the Scaling Group
- max number
- Maximum capacity of the Scaling Group
- min number
- Minimum capacity of the Scaling Group
- name string
- Name of the Scaling Group
- on
Demand number - On-demand capacity of the Scaling Group
- region string
- Region of the Scaling Group
- zone string
- Zone of the Scaling Group. Needed for GCP only
- desired int
- Desired capacity of the Scaling Group
- id str
- ID of the Scaling Group
- max int
- Maximum capacity of the Scaling Group
- min int
- Minimum capacity of the Scaling Group
- name str
- Name of the Scaling Group
- on_
demand int - On-demand capacity of the Scaling Group
- region str
- Region of the Scaling Group
- zone str
- Zone of the Scaling Group. Needed for GCP only
- desired Number
- Desired capacity of the Scaling Group
- id String
- ID of the Scaling Group
- max Number
- Maximum capacity of the Scaling Group
- min Number
- Minimum capacity of the Scaling Group
- name String
- Name of the Scaling Group
- on
Demand Number - On-demand capacity of the Scaling Group
- region String
- Region of the Scaling Group
- zone String
- Zone of the Scaling Group. Needed for GCP only
Package Details
- Repository
- harness pulumi/pulumi-harness
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
harnessTerraform Provider.
