gcore.WaapSecurityInsightSilence
Explore with Pulumi AI
Represent Security Insight Silence for a specific WAAP domain
Create WaapSecurityInsightSilence Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new WaapSecurityInsightSilence(name: string, args: WaapSecurityInsightSilenceArgs, opts?: CustomResourceOptions);
@overload
def WaapSecurityInsightSilence(resource_name: str,
args: WaapSecurityInsightSilenceArgs,
opts: Optional[ResourceOptions] = None)
@overload
def WaapSecurityInsightSilence(resource_name: str,
opts: Optional[ResourceOptions] = None,
author: Optional[str] = None,
comment: Optional[str] = None,
domain_id: Optional[float] = None,
insight_type: Optional[str] = None,
labels: Optional[Mapping[str, str]] = None,
expire_at: Optional[str] = None,
waap_security_insight_silence_id: Optional[str] = None)
func NewWaapSecurityInsightSilence(ctx *Context, name string, args WaapSecurityInsightSilenceArgs, opts ...ResourceOption) (*WaapSecurityInsightSilence, error)
public WaapSecurityInsightSilence(string name, WaapSecurityInsightSilenceArgs args, CustomResourceOptions? opts = null)
public WaapSecurityInsightSilence(String name, WaapSecurityInsightSilenceArgs args)
public WaapSecurityInsightSilence(String name, WaapSecurityInsightSilenceArgs args, CustomResourceOptions options)
type: gcore:WaapSecurityInsightSilence
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 WaapSecurityInsightSilenceArgs
- 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 WaapSecurityInsightSilenceArgs
- 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 WaapSecurityInsightSilenceArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args WaapSecurityInsightSilenceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args WaapSecurityInsightSilenceArgs
- 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 waapSecurityInsightSilenceResource = new Gcore.WaapSecurityInsightSilence("waapSecurityInsightSilenceResource", new()
{
Author = "string",
Comment = "string",
DomainId = 0,
InsightType = "string",
Labels =
{
{ "string", "string" },
},
ExpireAt = "string",
WaapSecurityInsightSilenceId = "string",
});
example, err := gcore.NewWaapSecurityInsightSilence(ctx, "waapSecurityInsightSilenceResource", &gcore.WaapSecurityInsightSilenceArgs{
Author: pulumi.String("string"),
Comment: pulumi.String("string"),
DomainId: pulumi.Float64(0),
InsightType: pulumi.String("string"),
Labels: pulumi.StringMap{
"string": pulumi.String("string"),
},
ExpireAt: pulumi.String("string"),
WaapSecurityInsightSilenceId: pulumi.String("string"),
})
var waapSecurityInsightSilenceResource = new WaapSecurityInsightSilence("waapSecurityInsightSilenceResource", WaapSecurityInsightSilenceArgs.builder()
.author("string")
.comment("string")
.domainId(0.0)
.insightType("string")
.labels(Map.of("string", "string"))
.expireAt("string")
.waapSecurityInsightSilenceId("string")
.build());
waap_security_insight_silence_resource = gcore.WaapSecurityInsightSilence("waapSecurityInsightSilenceResource",
author="string",
comment="string",
domain_id=0,
insight_type="string",
labels={
"string": "string",
},
expire_at="string",
waap_security_insight_silence_id="string")
const waapSecurityInsightSilenceResource = new gcore.WaapSecurityInsightSilence("waapSecurityInsightSilenceResource", {
author: "string",
comment: "string",
domainId: 0,
insightType: "string",
labels: {
string: "string",
},
expireAt: "string",
waapSecurityInsightSilenceId: "string",
});
type: gcore:WaapSecurityInsightSilence
properties:
author: string
comment: string
domainId: 0
expireAt: string
insightType: string
labels:
string: string
waapSecurityInsightSilenceId: string
WaapSecurityInsightSilence 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 WaapSecurityInsightSilence resource accepts the following input properties:
- string
- The author of the silence.
- Comment string
- A comment explaining the reason for the silence.
- Domain
Id double - The WAAP domain ID for which the insight silence is configured.
- Insight
Type string - The slug of the insight type. The insight type can be obtained from the API endpoint /v1/security-insights/types or you can use the gcorewaapsecurityinsighttype data source.
- Labels Dictionary<string, string>
- A hash table of label names and values that apply to the insight silence.
- Expire
At string - The date and time the silence expires in ISO 8601 format.
- Waap
Security stringInsight Silence Id - The ID of this resource.
- string
- The author of the silence.
- Comment string
- A comment explaining the reason for the silence.
- Domain
Id float64 - The WAAP domain ID for which the insight silence is configured.
- Insight
Type string - The slug of the insight type. The insight type can be obtained from the API endpoint /v1/security-insights/types or you can use the gcorewaapsecurityinsighttype data source.
- Labels map[string]string
- A hash table of label names and values that apply to the insight silence.
- Expire
At string - The date and time the silence expires in ISO 8601 format.
- Waap
Security stringInsight Silence Id - The ID of this resource.
- String
- The author of the silence.
- comment String
- A comment explaining the reason for the silence.
- domain
Id Double - The WAAP domain ID for which the insight silence is configured.
- insight
Type String - The slug of the insight type. The insight type can be obtained from the API endpoint /v1/security-insights/types or you can use the gcorewaapsecurityinsighttype data source.
- labels Map<String,String>
- A hash table of label names and values that apply to the insight silence.
- expire
At String - The date and time the silence expires in ISO 8601 format.
- waap
Security StringInsight Silence Id - The ID of this resource.
- string
- The author of the silence.
- comment string
- A comment explaining the reason for the silence.
- domain
Id number - The WAAP domain ID for which the insight silence is configured.
- insight
Type string - The slug of the insight type. The insight type can be obtained from the API endpoint /v1/security-insights/types or you can use the gcorewaapsecurityinsighttype data source.
- labels {[key: string]: string}
- A hash table of label names and values that apply to the insight silence.
- expire
At string - The date and time the silence expires in ISO 8601 format.
- waap
Security stringInsight Silence Id - The ID of this resource.
- str
- The author of the silence.
- comment str
- A comment explaining the reason for the silence.
- domain_
id float - The WAAP domain ID for which the insight silence is configured.
- insight_
type str - The slug of the insight type. The insight type can be obtained from the API endpoint /v1/security-insights/types or you can use the gcorewaapsecurityinsighttype data source.
- labels Mapping[str, str]
- A hash table of label names and values that apply to the insight silence.
- expire_
at str - The date and time the silence expires in ISO 8601 format.
- waap_
security_ strinsight_ silence_ id - The ID of this resource.
- String
- The author of the silence.
- comment String
- A comment explaining the reason for the silence.
- domain
Id Number - The WAAP domain ID for which the insight silence is configured.
- insight
Type String - The slug of the insight type. The insight type can be obtained from the API endpoint /v1/security-insights/types or you can use the gcorewaapsecurityinsighttype data source.
- labels Map<String>
- A hash table of label names and values that apply to the insight silence.
- expire
At String - The date and time the silence expires in ISO 8601 format.
- waap
Security StringInsight Silence Id - The ID of this resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the WaapSecurityInsightSilence 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 WaapSecurityInsightSilence Resource
Get an existing WaapSecurityInsightSilence 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?: WaapSecurityInsightSilenceState, opts?: CustomResourceOptions): WaapSecurityInsightSilence
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
author: Optional[str] = None,
comment: Optional[str] = None,
domain_id: Optional[float] = None,
expire_at: Optional[str] = None,
insight_type: Optional[str] = None,
labels: Optional[Mapping[str, str]] = None,
waap_security_insight_silence_id: Optional[str] = None) -> WaapSecurityInsightSilence
func GetWaapSecurityInsightSilence(ctx *Context, name string, id IDInput, state *WaapSecurityInsightSilenceState, opts ...ResourceOption) (*WaapSecurityInsightSilence, error)
public static WaapSecurityInsightSilence Get(string name, Input<string> id, WaapSecurityInsightSilenceState? state, CustomResourceOptions? opts = null)
public static WaapSecurityInsightSilence get(String name, Output<String> id, WaapSecurityInsightSilenceState state, CustomResourceOptions options)
resources: _: type: gcore:WaapSecurityInsightSilence 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.
- string
- The author of the silence.
- Comment string
- A comment explaining the reason for the silence.
- Domain
Id double - The WAAP domain ID for which the insight silence is configured.
- Expire
At string - The date and time the silence expires in ISO 8601 format.
- Insight
Type string - The slug of the insight type. The insight type can be obtained from the API endpoint /v1/security-insights/types or you can use the gcorewaapsecurityinsighttype data source.
- Labels Dictionary<string, string>
- A hash table of label names and values that apply to the insight silence.
- Waap
Security stringInsight Silence Id - The ID of this resource.
- string
- The author of the silence.
- Comment string
- A comment explaining the reason for the silence.
- Domain
Id float64 - The WAAP domain ID for which the insight silence is configured.
- Expire
At string - The date and time the silence expires in ISO 8601 format.
- Insight
Type string - The slug of the insight type. The insight type can be obtained from the API endpoint /v1/security-insights/types or you can use the gcorewaapsecurityinsighttype data source.
- Labels map[string]string
- A hash table of label names and values that apply to the insight silence.
- Waap
Security stringInsight Silence Id - The ID of this resource.
- String
- The author of the silence.
- comment String
- A comment explaining the reason for the silence.
- domain
Id Double - The WAAP domain ID for which the insight silence is configured.
- expire
At String - The date and time the silence expires in ISO 8601 format.
- insight
Type String - The slug of the insight type. The insight type can be obtained from the API endpoint /v1/security-insights/types or you can use the gcorewaapsecurityinsighttype data source.
- labels Map<String,String>
- A hash table of label names and values that apply to the insight silence.
- waap
Security StringInsight Silence Id - The ID of this resource.
- string
- The author of the silence.
- comment string
- A comment explaining the reason for the silence.
- domain
Id number - The WAAP domain ID for which the insight silence is configured.
- expire
At string - The date and time the silence expires in ISO 8601 format.
- insight
Type string - The slug of the insight type. The insight type can be obtained from the API endpoint /v1/security-insights/types or you can use the gcorewaapsecurityinsighttype data source.
- labels {[key: string]: string}
- A hash table of label names and values that apply to the insight silence.
- waap
Security stringInsight Silence Id - The ID of this resource.
- str
- The author of the silence.
- comment str
- A comment explaining the reason for the silence.
- domain_
id float - The WAAP domain ID for which the insight silence is configured.
- expire_
at str - The date and time the silence expires in ISO 8601 format.
- insight_
type str - The slug of the insight type. The insight type can be obtained from the API endpoint /v1/security-insights/types or you can use the gcorewaapsecurityinsighttype data source.
- labels Mapping[str, str]
- A hash table of label names and values that apply to the insight silence.
- waap_
security_ strinsight_ silence_ id - The ID of this resource.
- String
- The author of the silence.
- comment String
- A comment explaining the reason for the silence.
- domain
Id Number - The WAAP domain ID for which the insight silence is configured.
- expire
At String - The date and time the silence expires in ISO 8601 format.
- insight
Type String - The slug of the insight type. The insight type can be obtained from the API endpoint /v1/security-insights/types or you can use the gcorewaapsecurityinsighttype data source.
- labels Map<String>
- A hash table of label names and values that apply to the insight silence.
- waap
Security StringInsight Silence Id - The ID of this resource.
Package Details
- Repository
- gcore g-core/terraform-provider-gcore
- License
- Notes
- This Pulumi package is based on the
gcore
Terraform Provider.