Viewing docs for coralogix 2.0.20
published on Tuesday, May 20, 2025 by coralogix
published on Tuesday, May 20, 2025 by coralogix
Viewing docs for coralogix 2.0.20
published on Tuesday, May 20, 2025 by coralogix
published on Tuesday, May 20, 2025 by coralogix
Coralogix Scope.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as coralogix from "@pulumi/coralogix";
const dataExample = coralogix.getScope({
id: coralogix_scope.example.id,
});
import pulumi
import pulumi_coralogix as coralogix
data_example = coralogix.get_scope(id=coralogix_scope["example"]["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.LookupScope(ctx, &coralogix.LookupScopeArgs{
Id: coralogix_scope.Example.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 dataExample = Coralogix.GetScope.Invoke(new()
{
Id = coralogix_scope.Example.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.GetScopeArgs;
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 dataExample = CoralogixFunctions.getScope(GetScopeArgs.builder()
.id(coralogix_scope.example().id())
.build());
}
}
variables:
dataExample:
fn::invoke:
function: coralogix:getScope
arguments:
id: ${coralogix_scope.example.id}
Using getScope
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 getScope(args: GetScopeArgs, opts?: InvokeOptions): Promise<GetScopeResult>
function getScopeOutput(args: GetScopeOutputArgs, opts?: InvokeOptions): Output<GetScopeResult>def get_scope(id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetScopeResult
def get_scope_output(id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetScopeResult]func LookupScope(ctx *Context, args *LookupScopeArgs, opts ...InvokeOption) (*LookupScopeResult, error)
func LookupScopeOutput(ctx *Context, args *LookupScopeOutputArgs, opts ...InvokeOption) LookupScopeResultOutput> Note: This function is named LookupScope in the Go SDK.
public static class GetScope
{
public static Task<GetScopeResult> InvokeAsync(GetScopeArgs args, InvokeOptions? opts = null)
public static Output<GetScopeResult> Invoke(GetScopeInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetScopeResult> getScope(GetScopeArgs args, InvokeOptions options)
public static Output<GetScopeResult> getScope(GetScopeArgs args, InvokeOptions options)
fn::invoke:
function: coralogix:index/getScope:getScope
arguments:
# arguments dictionaryThe following arguments are supported:
- Id string
- Scope ID.
- Id string
- Scope ID.
- id String
- Scope ID.
- id string
- Scope ID.
- id str
- Scope ID.
- id String
- Scope ID.
getScope Result
The following output properties are available:
- Default
Expression string - Default expression to use when no filter matches the query. Until further notice, this is limited to
true(everything is included) orfalse(nothing is included). Use a version tag (e.g<v1>trueor<v1>false) - Description string
- Description of the scope. Optional.
- Display
Name string - Scope display name.
- Filters
List<Get
Scope Filter> - Filters applied to include data in the scope.
- Id string
- Scope ID.
- Team
Id string - Associated team.
- Default
Expression string - Default expression to use when no filter matches the query. Until further notice, this is limited to
true(everything is included) orfalse(nothing is included). Use a version tag (e.g<v1>trueor<v1>false) - Description string
- Description of the scope. Optional.
- Display
Name string - Scope display name.
- Filters
[]Get
Scope Filter - Filters applied to include data in the scope.
- Id string
- Scope ID.
- Team
Id string - Associated team.
- default
Expression String - Default expression to use when no filter matches the query. Until further notice, this is limited to
true(everything is included) orfalse(nothing is included). Use a version tag (e.g<v1>trueor<v1>false) - description String
- Description of the scope. Optional.
- display
Name String - Scope display name.
- filters
List<Get
Scope Filter> - Filters applied to include data in the scope.
- id String
- Scope ID.
- team
Id String - Associated team.
- default
Expression string - Default expression to use when no filter matches the query. Until further notice, this is limited to
true(everything is included) orfalse(nothing is included). Use a version tag (e.g<v1>trueor<v1>false) - description string
- Description of the scope. Optional.
- display
Name string - Scope display name.
- filters
Get
Scope Filter[] - Filters applied to include data in the scope.
- id string
- Scope ID.
- team
Id string - Associated team.
- default_
expression str - Default expression to use when no filter matches the query. Until further notice, this is limited to
true(everything is included) orfalse(nothing is included). Use a version tag (e.g<v1>trueor<v1>false) - description str
- Description of the scope. Optional.
- display_
name str - Scope display name.
- filters
Sequence[Get
Scope Filter] - Filters applied to include data in the scope.
- id str
- Scope ID.
- team_
id str - Associated team.
- default
Expression String - Default expression to use when no filter matches the query. Until further notice, this is limited to
true(everything is included) orfalse(nothing is included). Use a version tag (e.g<v1>trueor<v1>false) - description String
- Description of the scope. Optional.
- display
Name String - Scope display name.
- filters List<Property Map>
- Filters applied to include data in the scope.
- id String
- Scope ID.
- team
Id String - Associated team.
Supporting Types
GetScopeFilter
- Entity
Type string - Entity type to apply the expression on
- Expression string
- Expression to run
- Entity
Type string - Entity type to apply the expression on
- Expression string
- Expression to run
- entity
Type String - Entity type to apply the expression on
- expression String
- Expression to run
- entity
Type string - Entity type to apply the expression on
- expression string
- Expression to run
- entity_
type str - Entity type to apply the expression on
- expression str
- Expression to run
- entity
Type String - Entity type to apply the expression on
- expression String
- Expression to run
Package Details
- Repository
- coralogix coralogix/terraform-provider-coralogix
- License
- Notes
- This Pulumi package is based on the
coralogixTerraform Provider.
Viewing docs for coralogix 2.0.20
published on Tuesday, May 20, 2025 by coralogix
published on Tuesday, May 20, 2025 by coralogix
