sysdig 1.56.0 published on Wednesday, Apr 30, 2025 by sysdiglabs
sysdig.getSecureRuleContainer
Explore with Pulumi AI
sysdig 1.56.0 published on Wednesday, Apr 30, 2025 by sysdiglabs
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as sysdig from "@pulumi/sysdig";
const example = sysdig.getSecureRuleContainer({
name: "Nginx container spawned",
});
import pulumi
import pulumi_sysdig as sysdig
example = sysdig.get_secure_rule_container(name="Nginx container spawned")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/sysdig/sysdig"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := sysdig.LookupSecureRuleContainer(ctx, &sysdig.LookupSecureRuleContainerArgs{
Name: "Nginx container spawned",
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Sysdig = Pulumi.Sysdig;
return await Deployment.RunAsync(() =>
{
var example = Sysdig.GetSecureRuleContainer.Invoke(new()
{
Name = "Nginx container spawned",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.sysdig.SysdigFunctions;
import com.pulumi.sysdig.inputs.GetSecureRuleContainerArgs;
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 example = SysdigFunctions.getSecureRuleContainer(GetSecureRuleContainerArgs.builder()
.name("Nginx container spawned")
.build());
}
}
variables:
example:
fn::invoke:
function: sysdig:getSecureRuleContainer
arguments:
name: Nginx container spawned
Using getSecureRuleContainer
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 getSecureRuleContainer(args: GetSecureRuleContainerArgs, opts?: InvokeOptions): Promise<GetSecureRuleContainerResult>
function getSecureRuleContainerOutput(args: GetSecureRuleContainerOutputArgs, opts?: InvokeOptions): Output<GetSecureRuleContainerResult>
def get_secure_rule_container(name: Optional[str] = None,
timeouts: Optional[GetSecureRuleContainerTimeouts] = None,
opts: Optional[InvokeOptions] = None) -> GetSecureRuleContainerResult
def get_secure_rule_container_output(name: Optional[pulumi.Input[str]] = None,
timeouts: Optional[pulumi.Input[GetSecureRuleContainerTimeoutsArgs]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetSecureRuleContainerResult]
func LookupSecureRuleContainer(ctx *Context, args *LookupSecureRuleContainerArgs, opts ...InvokeOption) (*LookupSecureRuleContainerResult, error)
func LookupSecureRuleContainerOutput(ctx *Context, args *LookupSecureRuleContainerOutputArgs, opts ...InvokeOption) LookupSecureRuleContainerResultOutput
> Note: This function is named LookupSecureRuleContainer
in the Go SDK.
public static class GetSecureRuleContainer
{
public static Task<GetSecureRuleContainerResult> InvokeAsync(GetSecureRuleContainerArgs args, InvokeOptions? opts = null)
public static Output<GetSecureRuleContainerResult> Invoke(GetSecureRuleContainerInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetSecureRuleContainerResult> getSecureRuleContainer(GetSecureRuleContainerArgs args, InvokeOptions options)
public static Output<GetSecureRuleContainerResult> getSecureRuleContainer(GetSecureRuleContainerArgs args, InvokeOptions options)
fn::invoke:
function: sysdig:index/getSecureRuleContainer:getSecureRuleContainer
arguments:
# arguments dictionary
The following arguments are supported:
- Name string
- The name of the Secure rule to retrieve.
- Timeouts
Get
Secure Rule Container Timeouts
- Name string
- The name of the Secure rule to retrieve.
- Timeouts
Get
Secure Rule Container Timeouts
- name String
- The name of the Secure rule to retrieve.
- timeouts
Get
Secure Rule Container Timeouts
- name string
- The name of the Secure rule to retrieve.
- timeouts
Get
Secure Rule Container Timeouts
- name str
- The name of the Secure rule to retrieve.
- timeouts
Get
Secure Rule Container Timeouts
- name String
- The name of the Secure rule to retrieve.
- timeouts Property Map
getSecureRuleContainer Result
The following output properties are available:
- Containers List<string>
- List of containers to match.
- Description string
- The description of Secure rule.
- Id double
- Matching bool
- Defines if the image name matches or not with the provided list. Default is true.
- Name string
- List<string>
- A list of tags for this rule.
- Version double
- Current version of the resource in Sysdig Secure.
- Timeouts
Get
Secure Rule Container Timeouts
- Containers []string
- List of containers to match.
- Description string
- The description of Secure rule.
- Id float64
- Matching bool
- Defines if the image name matches or not with the provided list. Default is true.
- Name string
- []string
- A list of tags for this rule.
- Version float64
- Current version of the resource in Sysdig Secure.
- Timeouts
Get
Secure Rule Container Timeouts
- containers List<String>
- List of containers to match.
- description String
- The description of Secure rule.
- id Double
- matching Boolean
- Defines if the image name matches or not with the provided list. Default is true.
- name String
- List<String>
- A list of tags for this rule.
- version Double
- Current version of the resource in Sysdig Secure.
- timeouts
Get
Secure Rule Container Timeouts
- containers string[]
- List of containers to match.
- description string
- The description of Secure rule.
- id number
- matching boolean
- Defines if the image name matches or not with the provided list. Default is true.
- name string
- string[]
- A list of tags for this rule.
- version number
- Current version of the resource in Sysdig Secure.
- timeouts
Get
Secure Rule Container Timeouts
- containers Sequence[str]
- List of containers to match.
- description str
- The description of Secure rule.
- id float
- matching bool
- Defines if the image name matches or not with the provided list. Default is true.
- name str
- Sequence[str]
- A list of tags for this rule.
- version float
- Current version of the resource in Sysdig Secure.
- timeouts
Get
Secure Rule Container Timeouts
- containers List<String>
- List of containers to match.
- description String
- The description of Secure rule.
- id Number
- matching Boolean
- Defines if the image name matches or not with the provided list. Default is true.
- name String
- List<String>
- A list of tags for this rule.
- version Number
- Current version of the resource in Sysdig Secure.
- timeouts Property Map
Supporting Types
GetSecureRuleContainerTimeouts
- Read string
- Read string
- read String
- read string
- read str
- read String
Package Details
- Repository
- sysdig sysdiglabs/terraform-provider-sysdig
- License
- Notes
- This Pulumi package is based on the
sysdig
Terraform Provider.
sysdig 1.56.0 published on Wednesday, Apr 30, 2025 by sysdiglabs