coralogix 2.0.16 published on Monday, Apr 14, 2025 by coralogix
coralogix.getRecordingRulesGroupsSet
Explore with Pulumi AI
coralogix 2.0.16 published on Monday, Apr 14, 2025 by coralogix
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as coralogix from "@pulumi/coralogix";
const importedRecordingRulesGroupsSet = coralogix.getRecordingRulesGroupsSet({
    id: coralogix_recording_rules_groups_set.recording_rules_groups_set_explicit.id,
});
import pulumi
import pulumi_coralogix as coralogix
imported_recording_rules_groups_set = coralogix.get_recording_rules_groups_set(id=coralogix_recording_rules_groups_set["recording_rules_groups_set_explicit"]["id"])
package main
import (
	"github.com/pulumi/pulumi-terraform-provider/sdks/go/coralogix/v2/coralogix"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := coralogix.LookupRecordingRulesGroupsSet(ctx, &coralogix.LookupRecordingRulesGroupsSetArgs{
			Id: coralogix_recording_rules_groups_set.Recording_rules_groups_set_explicit.Id,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Coralogix = Pulumi.Coralogix;
return await Deployment.RunAsync(() => 
{
    var importedRecordingRulesGroupsSet = Coralogix.GetRecordingRulesGroupsSet.Invoke(new()
    {
        Id = coralogix_recording_rules_groups_set.Recording_rules_groups_set_explicit.Id,
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.coralogix.CoralogixFunctions;
import com.pulumi.coralogix.inputs.GetRecordingRulesGroupsSetArgs;
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 importedRecordingRulesGroupsSet = CoralogixFunctions.getRecordingRulesGroupsSet(GetRecordingRulesGroupsSetArgs.builder()
            .id(coralogix_recording_rules_groups_set.recording_rules_groups_set_explicit().id())
            .build());
    }
}
variables:
  importedRecordingRulesGroupsSet:
    fn::invoke:
      function: coralogix:getRecordingRulesGroupsSet
      arguments:
        id: ${coralogix_recording_rules_groups_set.recording_rules_groups_set_explicit.id}
Using getRecordingRulesGroupsSet
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 getRecordingRulesGroupsSet(args: GetRecordingRulesGroupsSetArgs, opts?: InvokeOptions): Promise<GetRecordingRulesGroupsSetResult>
function getRecordingRulesGroupsSetOutput(args: GetRecordingRulesGroupsSetOutputArgs, opts?: InvokeOptions): Output<GetRecordingRulesGroupsSetResult>def get_recording_rules_groups_set(id: Optional[str] = None,
                                   opts: Optional[InvokeOptions] = None) -> GetRecordingRulesGroupsSetResult
def get_recording_rules_groups_set_output(id: Optional[pulumi.Input[str]] = None,
                                   opts: Optional[InvokeOptions] = None) -> Output[GetRecordingRulesGroupsSetResult]func LookupRecordingRulesGroupsSet(ctx *Context, args *LookupRecordingRulesGroupsSetArgs, opts ...InvokeOption) (*LookupRecordingRulesGroupsSetResult, error)
func LookupRecordingRulesGroupsSetOutput(ctx *Context, args *LookupRecordingRulesGroupsSetOutputArgs, opts ...InvokeOption) LookupRecordingRulesGroupsSetResultOutput> Note: This function is named LookupRecordingRulesGroupsSet in the Go SDK.
public static class GetRecordingRulesGroupsSet 
{
    public static Task<GetRecordingRulesGroupsSetResult> InvokeAsync(GetRecordingRulesGroupsSetArgs args, InvokeOptions? opts = null)
    public static Output<GetRecordingRulesGroupsSetResult> Invoke(GetRecordingRulesGroupsSetInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetRecordingRulesGroupsSetResult> getRecordingRulesGroupsSet(GetRecordingRulesGroupsSetArgs args, InvokeOptions options)
public static Output<GetRecordingRulesGroupsSetResult> getRecordingRulesGroupsSet(GetRecordingRulesGroupsSetArgs args, InvokeOptions options)
fn::invoke:
  function: coralogix:index/getRecordingRulesGroupsSet:getRecordingRulesGroupsSet
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Id string
- The ID of this resource.
- Id string
- The ID of this resource.
- id String
- The ID of this resource.
- id string
- The ID of this resource.
- id str
- The ID of this resource.
- id String
- The ID of this resource.
getRecordingRulesGroupsSet Result
The following output properties are available:
- Groups
List<GetRecording Rules Groups Set Group> 
- Id string
- The ID of this resource.
- Name string
- The name of the rule group. Overrides the name specified in the YAML if provided.
- YamlContent string
- YAML specification of rules. Cannot be used together with groups.
- Groups
[]GetRecording Rules Groups Set Group 
- Id string
- The ID of this resource.
- Name string
- The name of the rule group. Overrides the name specified in the YAML if provided.
- YamlContent string
- YAML specification of rules. Cannot be used together with groups.
- groups
List<GetRecording Rules Groups Set Group> 
- id String
- The ID of this resource.
- name String
- The name of the rule group. Overrides the name specified in the YAML if provided.
- yamlContent String
- YAML specification of rules. Cannot be used together with groups.
- groups
GetRecording Rules Groups Set Group[] 
- id string
- The ID of this resource.
- name string
- The name of the rule group. Overrides the name specified in the YAML if provided.
- yamlContent string
- YAML specification of rules. Cannot be used together with groups.
- groups
Sequence[GetRecording Rules Groups Set Group] 
- id str
- The ID of this resource.
- name str
- The name of the rule group. Overrides the name specified in the YAML if provided.
- yaml_content str
- YAML specification of rules. Cannot be used together with groups.
- groups List<Property Map>
- id String
- The ID of this resource.
- name String
- The name of the rule group. Overrides the name specified in the YAML if provided.
- yamlContent String
- YAML specification of rules. Cannot be used together with groups.
Supporting Types
GetRecordingRulesGroupsSetGroup     
- Interval double
- How often rules in the group are evaluated (in seconds). Default is 60 seconds.
- Limit double
- Limits the number of alerts an alerting rule and series a recording-rule can produce. 0 is no limit.
- Name string
- The (unique) rule-group name.
- Rules
List<GetRecording Rules Groups Set Group Rule> 
- Interval float64
- How often rules in the group are evaluated (in seconds). Default is 60 seconds.
- Limit float64
- Limits the number of alerts an alerting rule and series a recording-rule can produce. 0 is no limit.
- Name string
- The (unique) rule-group name.
- Rules
[]GetRecording Rules Groups Set Group Rule 
- interval Double
- How often rules in the group are evaluated (in seconds). Default is 60 seconds.
- limit Double
- Limits the number of alerts an alerting rule and series a recording-rule can produce. 0 is no limit.
- name String
- The (unique) rule-group name.
- rules
List<GetRecording Rules Groups Set Group Rule> 
- interval number
- How often rules in the group are evaluated (in seconds). Default is 60 seconds.
- limit number
- Limits the number of alerts an alerting rule and series a recording-rule can produce. 0 is no limit.
- name string
- The (unique) rule-group name.
- rules
GetRecording Rules Groups Set Group Rule[] 
- interval float
- How often rules in the group are evaluated (in seconds). Default is 60 seconds.
- limit float
- Limits the number of alerts an alerting rule and series a recording-rule can produce. 0 is no limit.
- name str
- The (unique) rule-group name.
- rules
Sequence[GetRecording Rules Groups Set Group Rule] 
- interval Number
- How often rules in the group are evaluated (in seconds). Default is 60 seconds.
- limit Number
- Limits the number of alerts an alerting rule and series a recording-rule can produce. 0 is no limit.
- name String
- The (unique) rule-group name.
- rules List<Property Map>
GetRecordingRulesGroupsSetGroupRule      
- Expr string
- The PromQL expression to evaluate. Every evaluation cycle this is evaluated at the current time, and the result recorded as a new set of time series with the metric name as given by 'record'.
- Labels Dictionary<string, string>
- Labels to add or overwrite before storing the result.
- Record string
- The name of the time series to output to. Must be a valid metric name.
- Expr string
- The PromQL expression to evaluate. Every evaluation cycle this is evaluated at the current time, and the result recorded as a new set of time series with the metric name as given by 'record'.
- Labels map[string]string
- Labels to add or overwrite before storing the result.
- Record string
- The name of the time series to output to. Must be a valid metric name.
- expr String
- The PromQL expression to evaluate. Every evaluation cycle this is evaluated at the current time, and the result recorded as a new set of time series with the metric name as given by 'record'.
- labels Map<String,String>
- Labels to add or overwrite before storing the result.
- record String
- The name of the time series to output to. Must be a valid metric name.
- expr string
- The PromQL expression to evaluate. Every evaluation cycle this is evaluated at the current time, and the result recorded as a new set of time series with the metric name as given by 'record'.
- labels {[key: string]: string}
- Labels to add or overwrite before storing the result.
- record string
- The name of the time series to output to. Must be a valid metric name.
- expr str
- The PromQL expression to evaluate. Every evaluation cycle this is evaluated at the current time, and the result recorded as a new set of time series with the metric name as given by 'record'.
- labels Mapping[str, str]
- Labels to add or overwrite before storing the result.
- record str
- The name of the time series to output to. Must be a valid metric name.
- expr String
- The PromQL expression to evaluate. Every evaluation cycle this is evaluated at the current time, and the result recorded as a new set of time series with the metric name as given by 'record'.
- labels Map<String>
- Labels to add or overwrite before storing the result.
- record String
- The name of the time series to output to. Must be a valid metric name.
Package Details
- Repository
- coralogix coralogix/terraform-provider-coralogix
- License
- Notes
- This Pulumi package is based on the coralogixTerraform Provider.
coralogix 2.0.16 published on Monday, Apr 14, 2025 by coralogix