sysdig.SecureVulnerabilityExceptionList
Explore with Pulumi AI
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as sysdig from "@pulumi/sysdig";
const sample = new sysdig.SecureVulnerabilityExceptionList("sample", {description: "Linux vulnerabilities exceptions"});
import pulumi
import pulumi_sysdig as sysdig
sample = sysdig.SecureVulnerabilityExceptionList("sample", description="Linux vulnerabilities exceptions")
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.NewSecureVulnerabilityExceptionList(ctx, "sample", &sysdig.SecureVulnerabilityExceptionListArgs{
Description: pulumi.String("Linux vulnerabilities exceptions"),
})
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 sample = new Sysdig.SecureVulnerabilityExceptionList("sample", new()
{
Description = "Linux vulnerabilities exceptions",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.sysdig.SecureVulnerabilityExceptionList;
import com.pulumi.sysdig.SecureVulnerabilityExceptionListArgs;
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) {
var sample = new SecureVulnerabilityExceptionList("sample", SecureVulnerabilityExceptionListArgs.builder()
.description("Linux vulnerabilities exceptions")
.build());
}
}
resources:
sample:
type: sysdig:SecureVulnerabilityExceptionList
properties:
description: Linux vulnerabilities exceptions
Create SecureVulnerabilityExceptionList Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new SecureVulnerabilityExceptionList(name: string, args?: SecureVulnerabilityExceptionListArgs, opts?: CustomResourceOptions);
@overload
def SecureVulnerabilityExceptionList(resource_name: str,
args: Optional[SecureVulnerabilityExceptionListArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def SecureVulnerabilityExceptionList(resource_name: str,
opts: Optional[ResourceOptions] = None,
description: Optional[str] = None,
name: Optional[str] = None,
secure_vulnerability_exception_list_id: Optional[str] = None,
timeouts: Optional[SecureVulnerabilityExceptionListTimeoutsArgs] = None)
func NewSecureVulnerabilityExceptionList(ctx *Context, name string, args *SecureVulnerabilityExceptionListArgs, opts ...ResourceOption) (*SecureVulnerabilityExceptionList, error)
public SecureVulnerabilityExceptionList(string name, SecureVulnerabilityExceptionListArgs? args = null, CustomResourceOptions? opts = null)
public SecureVulnerabilityExceptionList(String name, SecureVulnerabilityExceptionListArgs args)
public SecureVulnerabilityExceptionList(String name, SecureVulnerabilityExceptionListArgs args, CustomResourceOptions options)
type: sysdig:SecureVulnerabilityExceptionList
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args SecureVulnerabilityExceptionListArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args SecureVulnerabilityExceptionListArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args SecureVulnerabilityExceptionListArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SecureVulnerabilityExceptionListArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SecureVulnerabilityExceptionListArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var secureVulnerabilityExceptionListResource = new Sysdig.SecureVulnerabilityExceptionList("secureVulnerabilityExceptionListResource", new()
{
Description = "string",
Name = "string",
SecureVulnerabilityExceptionListId = "string",
Timeouts = new Sysdig.Inputs.SecureVulnerabilityExceptionListTimeoutsArgs
{
Create = "string",
Delete = "string",
Read = "string",
Update = "string",
},
});
example, err := sysdig.NewSecureVulnerabilityExceptionList(ctx, "secureVulnerabilityExceptionListResource", &sysdig.SecureVulnerabilityExceptionListArgs{
Description: pulumi.String("string"),
Name: pulumi.String("string"),
SecureVulnerabilityExceptionListId: pulumi.String("string"),
Timeouts: &sysdig.SecureVulnerabilityExceptionListTimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
Read: pulumi.String("string"),
Update: pulumi.String("string"),
},
})
var secureVulnerabilityExceptionListResource = new SecureVulnerabilityExceptionList("secureVulnerabilityExceptionListResource", SecureVulnerabilityExceptionListArgs.builder()
.description("string")
.name("string")
.secureVulnerabilityExceptionListId("string")
.timeouts(SecureVulnerabilityExceptionListTimeoutsArgs.builder()
.create("string")
.delete("string")
.read("string")
.update("string")
.build())
.build());
secure_vulnerability_exception_list_resource = sysdig.SecureVulnerabilityExceptionList("secureVulnerabilityExceptionListResource",
description="string",
name="string",
secure_vulnerability_exception_list_id="string",
timeouts={
"create": "string",
"delete": "string",
"read": "string",
"update": "string",
})
const secureVulnerabilityExceptionListResource = new sysdig.SecureVulnerabilityExceptionList("secureVulnerabilityExceptionListResource", {
description: "string",
name: "string",
secureVulnerabilityExceptionListId: "string",
timeouts: {
create: "string",
"delete": "string",
read: "string",
update: "string",
},
});
type: sysdig:SecureVulnerabilityExceptionList
properties:
description: string
name: string
secureVulnerabilityExceptionListId: string
timeouts:
create: string
delete: string
read: string
update: string
SecureVulnerabilityExceptionList Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The SecureVulnerabilityExceptionList resource accepts the following input properties:
- Description string
- The description of Vulnerability Exception list.
- Name string
- The name of the Vulnerability Exception list.
- Secure
Vulnerability stringException List Id - Timeouts
Secure
Vulnerability Exception List Timeouts
- Description string
- The description of Vulnerability Exception list.
- Name string
- The name of the Vulnerability Exception list.
- Secure
Vulnerability stringException List Id - Timeouts
Secure
Vulnerability Exception List Timeouts Args
- description String
- The description of Vulnerability Exception list.
- name String
- The name of the Vulnerability Exception list.
- secure
Vulnerability StringException List Id - timeouts
Secure
Vulnerability Exception List Timeouts
- description string
- The description of Vulnerability Exception list.
- name string
- The name of the Vulnerability Exception list.
- secure
Vulnerability stringException List Id - timeouts
Secure
Vulnerability Exception List Timeouts
- description str
- The description of Vulnerability Exception list.
- name str
- The name of the Vulnerability Exception list.
- secure_
vulnerability_ strexception_ list_ id - timeouts
Secure
Vulnerability Exception List Timeouts Args
- description String
- The description of Vulnerability Exception list.
- name String
- The name of the Vulnerability Exception list.
- secure
Vulnerability StringException List Id - timeouts Property Map
Outputs
All input properties are implicitly available as output properties. Additionally, the SecureVulnerabilityExceptionList resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing SecureVulnerabilityExceptionList Resource
Get an existing SecureVulnerabilityExceptionList resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: SecureVulnerabilityExceptionListState, opts?: CustomResourceOptions): SecureVulnerabilityExceptionList
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
description: Optional[str] = None,
name: Optional[str] = None,
secure_vulnerability_exception_list_id: Optional[str] = None,
timeouts: Optional[SecureVulnerabilityExceptionListTimeoutsArgs] = None) -> SecureVulnerabilityExceptionList
func GetSecureVulnerabilityExceptionList(ctx *Context, name string, id IDInput, state *SecureVulnerabilityExceptionListState, opts ...ResourceOption) (*SecureVulnerabilityExceptionList, error)
public static SecureVulnerabilityExceptionList Get(string name, Input<string> id, SecureVulnerabilityExceptionListState? state, CustomResourceOptions? opts = null)
public static SecureVulnerabilityExceptionList get(String name, Output<String> id, SecureVulnerabilityExceptionListState state, CustomResourceOptions options)
resources: _: type: sysdig:SecureVulnerabilityExceptionList get: id: ${id}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Description string
- The description of Vulnerability Exception list.
- Name string
- The name of the Vulnerability Exception list.
- Secure
Vulnerability stringException List Id - Timeouts
Secure
Vulnerability Exception List Timeouts
- Description string
- The description of Vulnerability Exception list.
- Name string
- The name of the Vulnerability Exception list.
- Secure
Vulnerability stringException List Id - Timeouts
Secure
Vulnerability Exception List Timeouts Args
- description String
- The description of Vulnerability Exception list.
- name String
- The name of the Vulnerability Exception list.
- secure
Vulnerability StringException List Id - timeouts
Secure
Vulnerability Exception List Timeouts
- description string
- The description of Vulnerability Exception list.
- name string
- The name of the Vulnerability Exception list.
- secure
Vulnerability stringException List Id - timeouts
Secure
Vulnerability Exception List Timeouts
- description str
- The description of Vulnerability Exception list.
- name str
- The name of the Vulnerability Exception list.
- secure_
vulnerability_ strexception_ list_ id - timeouts
Secure
Vulnerability Exception List Timeouts Args
- description String
- The description of Vulnerability Exception list.
- name String
- The name of the Vulnerability Exception list.
- secure
Vulnerability StringException List Id - timeouts Property Map
Supporting Types
SecureVulnerabilityExceptionListTimeouts, SecureVulnerabilityExceptionListTimeoutsArgs
Import
Vulnerability exception lists can be imported using the ID, e.g.
$ pulumi import sysdig:index/secureVulnerabilityExceptionList:SecureVulnerabilityExceptionList example vulnexception_1iTWe5s3qFivOW4jcj5X8nnG3hn
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- sysdig sysdiglabs/terraform-provider-sysdig
- License
- Notes
- This Pulumi package is based on the
sysdig
Terraform Provider.