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 TCO-Policies-List. For more information - https://coralogix.com/docs/tco-optimizer-api.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as coralogix from "@pulumi/coralogix";
const tcoPoliciesData = coralogix.getTcoPoliciesTraces({});
import pulumi
import pulumi_coralogix as coralogix
tco_policies_data = coralogix.get_tco_policies_traces()
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.LookupTcoPoliciesTraces(ctx, map[string]interface{}{}, 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 tcoPoliciesData = Coralogix.GetTcoPoliciesTraces.Invoke();
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.coralogix.CoralogixFunctions;
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 tcoPoliciesData = CoralogixFunctions.getTcoPoliciesTraces();
}
}
variables:
tcoPoliciesData:
fn::invoke:
function: coralogix:getTcoPoliciesTraces
arguments: {}
Using getTcoPoliciesTraces
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 getTcoPoliciesTraces(opts?: InvokeOptions): Promise<GetTcoPoliciesTracesResult>
function getTcoPoliciesTracesOutput(opts?: InvokeOptions): Output<GetTcoPoliciesTracesResult>def get_tco_policies_traces(opts: Optional[InvokeOptions] = None) -> GetTcoPoliciesTracesResult
def get_tco_policies_traces_output(opts: Optional[InvokeOptions] = None) -> Output[GetTcoPoliciesTracesResult]func LookupTcoPoliciesTraces(ctx *Context, opts ...InvokeOption) (*LookupTcoPoliciesTracesResult, error)
func LookupTcoPoliciesTracesOutput(ctx *Context, opts ...InvokeOption) LookupTcoPoliciesTracesResultOutput> Note: This function is named LookupTcoPoliciesTraces in the Go SDK.
public static class GetTcoPoliciesTraces
{
public static Task<GetTcoPoliciesTracesResult> InvokeAsync(InvokeOptions? opts = null)
public static Output<GetTcoPoliciesTracesResult> Invoke(InvokeOptions? opts = null)
}public static CompletableFuture<GetTcoPoliciesTracesResult> getTcoPoliciesTraces(InvokeOptions options)
public static Output<GetTcoPoliciesTracesResult> getTcoPoliciesTraces(InvokeOptions options)
fn::invoke:
function: coralogix:index/getTcoPoliciesTraces:getTcoPoliciesTraces
arguments:
# arguments dictionarygetTcoPoliciesTraces Result
The following output properties are available:
- Id string
- This field can be ignored
- Policies
List<Get
Tco Policies Traces Policy>
- Id string
- This field can be ignored
- Policies
[]Get
Tco Policies Traces Policy
- id String
- This field can be ignored
- policies
List<Get
Tco Policies Traces Policy>
- id string
- This field can be ignored
- policies
Get
Tco Policies Traces Policy[]
- id str
- This field can be ignored
- policies
Sequence[Get
Tco Policies Traces Policy]
- id String
- This field can be ignored
- policies List<Property Map>
Supporting Types
GetTcoPoliciesTracesPolicy
- Actions
Get
Tco Policies Traces Policy Actions - The actions to apply the policy on. Applies the policy on all the actions by default.
- Applications
Get
Tco Policies Traces Policy Applications - The applications to apply the policy on. Applies the policy on all the applications by default.
- Archive
Retention stringId - Allowing logs with a specific retention to be tagged.
- Description string
- The policy description
- Enabled bool
- Determines weather the policy will be enabled. True by default.
- Id string
- tco-policy ID.
- Name string
- tco-policy name.
- Order double
- The policy's order between the other policies.
- Priority string
- The policy priority. Can be one of ["block" "high" "low" "medium"].
- Services
Get
Tco Policies Traces Policy Services - The services to apply the policy on. Applies the policy on all the services by default.
- Subsystems
Get
Tco Policies Traces Policy Subsystems - The subsystems to apply the policy on. Applies the policy on all the subsystems by default.
-
Dictionary<string, Get
Tco Policies Traces Policy Tags> - The tags to apply the policy on. Applies the policy on all the tags by default.
- Actions
Get
Tco Policies Traces Policy Actions - The actions to apply the policy on. Applies the policy on all the actions by default.
- Applications
Get
Tco Policies Traces Policy Applications - The applications to apply the policy on. Applies the policy on all the applications by default.
- Archive
Retention stringId - Allowing logs with a specific retention to be tagged.
- Description string
- The policy description
- Enabled bool
- Determines weather the policy will be enabled. True by default.
- Id string
- tco-policy ID.
- Name string
- tco-policy name.
- Order float64
- The policy's order between the other policies.
- Priority string
- The policy priority. Can be one of ["block" "high" "low" "medium"].
- Services
Get
Tco Policies Traces Policy Services - The services to apply the policy on. Applies the policy on all the services by default.
- Subsystems
Get
Tco Policies Traces Policy Subsystems - The subsystems to apply the policy on. Applies the policy on all the subsystems by default.
-
map[string]Get
Tco Policies Traces Policy Tags - The tags to apply the policy on. Applies the policy on all the tags by default.
- actions
Get
Tco Policies Traces Policy Actions - The actions to apply the policy on. Applies the policy on all the actions by default.
- applications
Get
Tco Policies Traces Policy Applications - The applications to apply the policy on. Applies the policy on all the applications by default.
- archive
Retention StringId - Allowing logs with a specific retention to be tagged.
- description String
- The policy description
- enabled Boolean
- Determines weather the policy will be enabled. True by default.
- id String
- tco-policy ID.
- name String
- tco-policy name.
- order Double
- The policy's order between the other policies.
- priority String
- The policy priority. Can be one of ["block" "high" "low" "medium"].
- services
Get
Tco Policies Traces Policy Services - The services to apply the policy on. Applies the policy on all the services by default.
- subsystems
Get
Tco Policies Traces Policy Subsystems - The subsystems to apply the policy on. Applies the policy on all the subsystems by default.
-
Map<String,Get
Tco Policies Traces Policy Tags> - The tags to apply the policy on. Applies the policy on all the tags by default.
- actions
Get
Tco Policies Traces Policy Actions - The actions to apply the policy on. Applies the policy on all the actions by default.
- applications
Get
Tco Policies Traces Policy Applications - The applications to apply the policy on. Applies the policy on all the applications by default.
- archive
Retention stringId - Allowing logs with a specific retention to be tagged.
- description string
- The policy description
- enabled boolean
- Determines weather the policy will be enabled. True by default.
- id string
- tco-policy ID.
- name string
- tco-policy name.
- order number
- The policy's order between the other policies.
- priority string
- The policy priority. Can be one of ["block" "high" "low" "medium"].
- services
Get
Tco Policies Traces Policy Services - The services to apply the policy on. Applies the policy on all the services by default.
- subsystems
Get
Tco Policies Traces Policy Subsystems - The subsystems to apply the policy on. Applies the policy on all the subsystems by default.
-
{[key: string]: Get
Tco Policies Traces Policy Tags} - The tags to apply the policy on. Applies the policy on all the tags by default.
- actions
Get
Tco Policies Traces Policy Actions - The actions to apply the policy on. Applies the policy on all the actions by default.
- applications
Get
Tco Policies Traces Policy Applications - The applications to apply the policy on. Applies the policy on all the applications by default.
- archive_
retention_ strid - Allowing logs with a specific retention to be tagged.
- description str
- The policy description
- enabled bool
- Determines weather the policy will be enabled. True by default.
- id str
- tco-policy ID.
- name str
- tco-policy name.
- order float
- The policy's order between the other policies.
- priority str
- The policy priority. Can be one of ["block" "high" "low" "medium"].
- services
Get
Tco Policies Traces Policy Services - The services to apply the policy on. Applies the policy on all the services by default.
- subsystems
Get
Tco Policies Traces Policy Subsystems - The subsystems to apply the policy on. Applies the policy on all the subsystems by default.
-
Mapping[str, Get
Tco Policies Traces Policy Tags] - The tags to apply the policy on. Applies the policy on all the tags by default.
- actions Property Map
- The actions to apply the policy on. Applies the policy on all the actions by default.
- applications Property Map
- The applications to apply the policy on. Applies the policy on all the applications by default.
- archive
Retention StringId - Allowing logs with a specific retention to be tagged.
- description String
- The policy description
- enabled Boolean
- Determines weather the policy will be enabled. True by default.
- id String
- tco-policy ID.
- name String
- tco-policy name.
- order Number
- The policy's order between the other policies.
- priority String
- The policy priority. Can be one of ["block" "high" "low" "medium"].
- services Property Map
- The services to apply the policy on. Applies the policy on all the services by default.
- subsystems Property Map
- The subsystems to apply the policy on. Applies the policy on all the subsystems by default.
- Map<Property Map>
- The tags to apply the policy on. Applies the policy on all the tags by default.
GetTcoPoliciesTracesPolicyActions
GetTcoPoliciesTracesPolicyApplications
GetTcoPoliciesTracesPolicyServices
GetTcoPoliciesTracesPolicySubsystems
GetTcoPoliciesTracesPolicyTags
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
