coralogix 2.0.16 published on Monday, Apr 14, 2025 by coralogix
coralogix.getTcoPoliciesLogs
Explore with Pulumi AI
coralogix 2.0.16 published on Monday, Apr 14, 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 dataTcoPolicies = coralogix.getTcoPoliciesLogs({});
import pulumi
import pulumi_coralogix as coralogix
data_tco_policies = coralogix.get_tco_policies_logs()
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.LookupTcoPoliciesLogs(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 dataTcoPolicies = Coralogix.GetTcoPoliciesLogs.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 dataTcoPolicies = CoralogixFunctions.getTcoPoliciesLogs();
}
}
variables:
dataTcoPolicies:
fn::invoke:
function: coralogix:getTcoPoliciesLogs
arguments: {}
Using getTcoPoliciesLogs
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 getTcoPoliciesLogs(opts?: InvokeOptions): Promise<GetTcoPoliciesLogsResult>
function getTcoPoliciesLogsOutput(opts?: InvokeOptions): Output<GetTcoPoliciesLogsResult>
def get_tco_policies_logs(opts: Optional[InvokeOptions] = None) -> GetTcoPoliciesLogsResult
def get_tco_policies_logs_output(opts: Optional[InvokeOptions] = None) -> Output[GetTcoPoliciesLogsResult]
func LookupTcoPoliciesLogs(ctx *Context, opts ...InvokeOption) (*LookupTcoPoliciesLogsResult, error)
func LookupTcoPoliciesLogsOutput(ctx *Context, opts ...InvokeOption) LookupTcoPoliciesLogsResultOutput
> Note: This function is named LookupTcoPoliciesLogs
in the Go SDK.
public static class GetTcoPoliciesLogs
{
public static Task<GetTcoPoliciesLogsResult> InvokeAsync(InvokeOptions? opts = null)
public static Output<GetTcoPoliciesLogsResult> Invoke(InvokeOptions? opts = null)
}
public static CompletableFuture<GetTcoPoliciesLogsResult> getTcoPoliciesLogs(InvokeOptions options)
public static Output<GetTcoPoliciesLogsResult> getTcoPoliciesLogs(InvokeOptions options)
fn::invoke:
function: coralogix:index/getTcoPoliciesLogs:getTcoPoliciesLogs
arguments:
# arguments dictionary
getTcoPoliciesLogs Result
The following output properties are available:
- Id string
- This field can be ignored
- Policies
List<Get
Tco Policies Logs Policy>
- Id string
- This field can be ignored
- Policies
[]Get
Tco Policies Logs Policy
- id String
- This field can be ignored
- policies
List<Get
Tco Policies Logs Policy>
- id string
- This field can be ignored
- policies
Get
Tco Policies Logs Policy[]
- id str
- This field can be ignored
- policies
Sequence[Get
Tco Policies Logs Policy]
- id String
- This field can be ignored
- policies List<Property Map>
Supporting Types
GetTcoPoliciesLogsPolicy
- Applications
This property is required. GetTco Policies Logs Policy Applications - The applications to apply the policy on. Applies the policy on all the applications by default.
- Archive
Retention Id This property is required. string - Allowing logs with a specific retention to be tagged.
- Description
This property is required. string - The policy description
- Enabled
This property is required. bool - Determines weather the policy will be enabled. True by default.
- Id
This property is required. string - tco-policy ID.
- Name
This property is required. string - tco-policy name.
- Order
This property is required. double - The policy's order between the other policies.
- Priority
This property is required. string - The policy priority. Can be one of ["block" "high" "low" "medium"].
- Severities
This property is required. List<string> - The severities to apply the policy on. Valid severities are ["critical" "debug" "error" "info" "verbose" "warning"].
- Subsystems
This property is required. GetTco Policies Logs Policy Subsystems - The subsystems to apply the policy on. Applies the policy on all the subsystems by default.
- Applications
This property is required. GetTco Policies Logs Policy Applications - The applications to apply the policy on. Applies the policy on all the applications by default.
- Archive
Retention Id This property is required. string - Allowing logs with a specific retention to be tagged.
- Description
This property is required. string - The policy description
- Enabled
This property is required. bool - Determines weather the policy will be enabled. True by default.
- Id
This property is required. string - tco-policy ID.
- Name
This property is required. string - tco-policy name.
- Order
This property is required. float64 - The policy's order between the other policies.
- Priority
This property is required. string - The policy priority. Can be one of ["block" "high" "low" "medium"].
- Severities
This property is required. []string - The severities to apply the policy on. Valid severities are ["critical" "debug" "error" "info" "verbose" "warning"].
- Subsystems
This property is required. GetTco Policies Logs Policy Subsystems - The subsystems to apply the policy on. Applies the policy on all the subsystems by default.
- applications
This property is required. GetTco Policies Logs Policy Applications - The applications to apply the policy on. Applies the policy on all the applications by default.
- archive
Retention Id This property is required. String - Allowing logs with a specific retention to be tagged.
- description
This property is required. String - The policy description
- enabled
This property is required. Boolean - Determines weather the policy will be enabled. True by default.
- id
This property is required. String - tco-policy ID.
- name
This property is required. String - tco-policy name.
- order
This property is required. Double - The policy's order between the other policies.
- priority
This property is required. String - The policy priority. Can be one of ["block" "high" "low" "medium"].
- severities
This property is required. List<String> - The severities to apply the policy on. Valid severities are ["critical" "debug" "error" "info" "verbose" "warning"].
- subsystems
This property is required. GetTco Policies Logs Policy Subsystems - The subsystems to apply the policy on. Applies the policy on all the subsystems by default.
- applications
This property is required. GetTco Policies Logs Policy Applications - The applications to apply the policy on. Applies the policy on all the applications by default.
- archive
Retention Id This property is required. string - Allowing logs with a specific retention to be tagged.
- description
This property is required. string - The policy description
- enabled
This property is required. boolean - Determines weather the policy will be enabled. True by default.
- id
This property is required. string - tco-policy ID.
- name
This property is required. string - tco-policy name.
- order
This property is required. number - The policy's order between the other policies.
- priority
This property is required. string - The policy priority. Can be one of ["block" "high" "low" "medium"].
- severities
This property is required. string[] - The severities to apply the policy on. Valid severities are ["critical" "debug" "error" "info" "verbose" "warning"].
- subsystems
This property is required. GetTco Policies Logs Policy Subsystems - The subsystems to apply the policy on. Applies the policy on all the subsystems by default.
- applications
This property is required. GetTco Policies Logs Policy Applications - The applications to apply the policy on. Applies the policy on all the applications by default.
- archive_
retention_ id This property is required. str - Allowing logs with a specific retention to be tagged.
- description
This property is required. str - The policy description
- enabled
This property is required. bool - Determines weather the policy will be enabled. True by default.
- id
This property is required. str - tco-policy ID.
- name
This property is required. str - tco-policy name.
- order
This property is required. float - The policy's order between the other policies.
- priority
This property is required. str - The policy priority. Can be one of ["block" "high" "low" "medium"].
- severities
This property is required. Sequence[str] - The severities to apply the policy on. Valid severities are ["critical" "debug" "error" "info" "verbose" "warning"].
- subsystems
This property is required. GetTco Policies Logs Policy Subsystems - The subsystems to apply the policy on. Applies the policy on all the subsystems by default.
- applications
This property is required. Property Map - The applications to apply the policy on. Applies the policy on all the applications by default.
- archive
Retention Id This property is required. String - Allowing logs with a specific retention to be tagged.
- description
This property is required. String - The policy description
- enabled
This property is required. Boolean - Determines weather the policy will be enabled. True by default.
- id
This property is required. String - tco-policy ID.
- name
This property is required. String - tco-policy name.
- order
This property is required. Number - The policy's order between the other policies.
- priority
This property is required. String - The policy priority. Can be one of ["block" "high" "low" "medium"].
- severities
This property is required. List<String> - The severities to apply the policy on. Valid severities are ["critical" "debug" "error" "info" "verbose" "warning"].
- subsystems
This property is required. Property Map - The subsystems to apply the policy on. Applies the policy on all the subsystems by default.
GetTcoPoliciesLogsPolicyApplications
GetTcoPoliciesLogsPolicySubsystems
Package Details
- Repository
- coralogix coralogix/terraform-provider-coralogix
- License
- Notes
- This Pulumi package is based on the
coralogix
Terraform Provider.
coralogix 2.0.16 published on Monday, Apr 14, 2025 by coralogix