1. Packages
  2. Google Cloud (GCP) Classic
  3. API Docs
  4. securitycenter
  5. V2ProjectMuteConfig
Google Cloud v8.23.0 published on Monday, Mar 24, 2025 by Pulumi

gcp.securitycenter.V2ProjectMuteConfig

Explore with Pulumi AI

Mute Findings is a volume management feature in Security Command Center that lets you manually or programmatically hide irrelevant findings, and create filters to automatically silence existing and future findings based on criteria you specify.

To get more information about ProjectMuteConfig, see:

Example Usage

Scc V2 Project Mute Config Basic

import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";

const _default = new gcp.securitycenter.V2ProjectMuteConfig("default", {
    muteConfigId: "my-config",
    project: "my-project-name",
    location: "global",
    description: "My custom Cloud Security Command Center Finding Project mute Configuration",
    filter: "severity = \"HIGH\"",
    type: "STATIC",
});
Copy
import pulumi
import pulumi_gcp as gcp

default = gcp.securitycenter.V2ProjectMuteConfig("default",
    mute_config_id="my-config",
    project="my-project-name",
    location="global",
    description="My custom Cloud Security Command Center Finding Project mute Configuration",
    filter="severity = \"HIGH\"",
    type="STATIC")
Copy
package main

import (
	"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/securitycenter"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := securitycenter.NewV2ProjectMuteConfig(ctx, "default", &securitycenter.V2ProjectMuteConfigArgs{
			MuteConfigId: pulumi.String("my-config"),
			Project:      pulumi.String("my-project-name"),
			Location:     pulumi.String("global"),
			Description:  pulumi.String("My custom Cloud Security Command Center Finding Project mute Configuration"),
			Filter:       pulumi.String("severity = \"HIGH\""),
			Type:         pulumi.String("STATIC"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;

return await Deployment.RunAsync(() => 
{
    var @default = new Gcp.SecurityCenter.V2ProjectMuteConfig("default", new()
    {
        MuteConfigId = "my-config",
        Project = "my-project-name",
        Location = "global",
        Description = "My custom Cloud Security Command Center Finding Project mute Configuration",
        Filter = "severity = \"HIGH\"",
        Type = "STATIC",
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.securitycenter.V2ProjectMuteConfig;
import com.pulumi.gcp.securitycenter.V2ProjectMuteConfigArgs;
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 default_ = new V2ProjectMuteConfig("default", V2ProjectMuteConfigArgs.builder()
            .muteConfigId("my-config")
            .project("my-project-name")
            .location("global")
            .description("My custom Cloud Security Command Center Finding Project mute Configuration")
            .filter("severity = \"HIGH\"")
            .type("STATIC")
            .build());

    }
}
Copy
resources:
  default:
    type: gcp:securitycenter:V2ProjectMuteConfig
    properties:
      muteConfigId: my-config
      project: my-project-name
      location: global
      description: My custom Cloud Security Command Center Finding Project mute Configuration
      filter: severity = "HIGH"
      type: STATIC
Copy

Create V2ProjectMuteConfig Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new V2ProjectMuteConfig(name: string, args: V2ProjectMuteConfigArgs, opts?: CustomResourceOptions);
@overload
def V2ProjectMuteConfig(resource_name: str,
                        args: V2ProjectMuteConfigArgs,
                        opts: Optional[ResourceOptions] = None)

@overload
def V2ProjectMuteConfig(resource_name: str,
                        opts: Optional[ResourceOptions] = None,
                        filter: Optional[str] = None,
                        mute_config_id: Optional[str] = None,
                        type: Optional[str] = None,
                        description: Optional[str] = None,
                        location: Optional[str] = None,
                        project: Optional[str] = None)
func NewV2ProjectMuteConfig(ctx *Context, name string, args V2ProjectMuteConfigArgs, opts ...ResourceOption) (*V2ProjectMuteConfig, error)
public V2ProjectMuteConfig(string name, V2ProjectMuteConfigArgs args, CustomResourceOptions? opts = null)
public V2ProjectMuteConfig(String name, V2ProjectMuteConfigArgs args)
public V2ProjectMuteConfig(String name, V2ProjectMuteConfigArgs args, CustomResourceOptions options)
type: gcp:securitycenter:V2ProjectMuteConfig
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. V2ProjectMuteConfigArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. V2ProjectMuteConfigArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. V2ProjectMuteConfigArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. V2ProjectMuteConfigArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. V2ProjectMuteConfigArgs
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 v2projectMuteConfigResource = new Gcp.SecurityCenter.V2ProjectMuteConfig("v2projectMuteConfigResource", new()
{
    Filter = "string",
    MuteConfigId = "string",
    Type = "string",
    Description = "string",
    Location = "string",
    Project = "string",
});
Copy
example, err := securitycenter.NewV2ProjectMuteConfig(ctx, "v2projectMuteConfigResource", &securitycenter.V2ProjectMuteConfigArgs{
	Filter:       pulumi.String("string"),
	MuteConfigId: pulumi.String("string"),
	Type:         pulumi.String("string"),
	Description:  pulumi.String("string"),
	Location:     pulumi.String("string"),
	Project:      pulumi.String("string"),
})
Copy
var v2projectMuteConfigResource = new V2ProjectMuteConfig("v2projectMuteConfigResource", V2ProjectMuteConfigArgs.builder()
    .filter("string")
    .muteConfigId("string")
    .type("string")
    .description("string")
    .location("string")
    .project("string")
    .build());
Copy
v2project_mute_config_resource = gcp.securitycenter.V2ProjectMuteConfig("v2projectMuteConfigResource",
    filter="string",
    mute_config_id="string",
    type="string",
    description="string",
    location="string",
    project="string")
Copy
const v2projectMuteConfigResource = new gcp.securitycenter.V2ProjectMuteConfig("v2projectMuteConfigResource", {
    filter: "string",
    muteConfigId: "string",
    type: "string",
    description: "string",
    location: "string",
    project: "string",
});
Copy
type: gcp:securitycenter:V2ProjectMuteConfig
properties:
    description: string
    filter: string
    location: string
    muteConfigId: string
    project: string
    type: string
Copy

V2ProjectMuteConfig 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 V2ProjectMuteConfig resource accepts the following input properties:

Filter This property is required. string
An expression that defines the filter to apply across create/update events of findings. While creating a filter string, be mindful of the scope in which the mute configuration is being created. E.g., If a filter contains project = X but is created under the project = Y scope, it might not match any findings.
MuteConfigId
This property is required.
Changes to this property will trigger replacement.
string
Unique identifier provided by the client within the parent scope.


Type This property is required. string
The type of the mute config.
Description string
A description of the mute config.
Location Changes to this property will trigger replacement. string
location Id is provided by project. If not provided, Use global as default.
Project Changes to this property will trigger replacement. string
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
Filter This property is required. string
An expression that defines the filter to apply across create/update events of findings. While creating a filter string, be mindful of the scope in which the mute configuration is being created. E.g., If a filter contains project = X but is created under the project = Y scope, it might not match any findings.
MuteConfigId
This property is required.
Changes to this property will trigger replacement.
string
Unique identifier provided by the client within the parent scope.


Type This property is required. string
The type of the mute config.
Description string
A description of the mute config.
Location Changes to this property will trigger replacement. string
location Id is provided by project. If not provided, Use global as default.
Project Changes to this property will trigger replacement. string
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
filter This property is required. String
An expression that defines the filter to apply across create/update events of findings. While creating a filter string, be mindful of the scope in which the mute configuration is being created. E.g., If a filter contains project = X but is created under the project = Y scope, it might not match any findings.
muteConfigId
This property is required.
Changes to this property will trigger replacement.
String
Unique identifier provided by the client within the parent scope.


type This property is required. String
The type of the mute config.
description String
A description of the mute config.
location Changes to this property will trigger replacement. String
location Id is provided by project. If not provided, Use global as default.
project Changes to this property will trigger replacement. String
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
filter This property is required. string
An expression that defines the filter to apply across create/update events of findings. While creating a filter string, be mindful of the scope in which the mute configuration is being created. E.g., If a filter contains project = X but is created under the project = Y scope, it might not match any findings.
muteConfigId
This property is required.
Changes to this property will trigger replacement.
string
Unique identifier provided by the client within the parent scope.


type This property is required. string
The type of the mute config.
description string
A description of the mute config.
location Changes to this property will trigger replacement. string
location Id is provided by project. If not provided, Use global as default.
project Changes to this property will trigger replacement. string
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
filter This property is required. str
An expression that defines the filter to apply across create/update events of findings. While creating a filter string, be mindful of the scope in which the mute configuration is being created. E.g., If a filter contains project = X but is created under the project = Y scope, it might not match any findings.
mute_config_id
This property is required.
Changes to this property will trigger replacement.
str
Unique identifier provided by the client within the parent scope.


type This property is required. str
The type of the mute config.
description str
A description of the mute config.
location Changes to this property will trigger replacement. str
location Id is provided by project. If not provided, Use global as default.
project Changes to this property will trigger replacement. str
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
filter This property is required. String
An expression that defines the filter to apply across create/update events of findings. While creating a filter string, be mindful of the scope in which the mute configuration is being created. E.g., If a filter contains project = X but is created under the project = Y scope, it might not match any findings.
muteConfigId
This property is required.
Changes to this property will trigger replacement.
String
Unique identifier provided by the client within the parent scope.


type This property is required. String
The type of the mute config.
description String
A description of the mute config.
location Changes to this property will trigger replacement. String
location Id is provided by project. If not provided, Use global as default.
project Changes to this property will trigger replacement. String
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

Outputs

All input properties are implicitly available as output properties. Additionally, the V2ProjectMuteConfig resource produces the following output properties:

CreateTime string
The time at which the mute config was created. This field is set by the server and will be ignored if provided on config creation.
Id string
The provider-assigned unique ID for this managed resource.
MostRecentEditor string
Email address of the user who last edited the mute config. This field is set by the server and will be ignored if provided on config creation or update.
Name string
Name of the mute config. Its format is projects/{project}/locations/global/muteConfigs/{configId}, folders/{folder}/locations/global/muteConfigs/{configId}, or organizations/{organization}/locations/global/muteConfigs/{configId}
UpdateTime string
Output only. The most recent time at which the mute config was updated. This field is set by the server and will be ignored if provided on config creation or update.
CreateTime string
The time at which the mute config was created. This field is set by the server and will be ignored if provided on config creation.
Id string
The provider-assigned unique ID for this managed resource.
MostRecentEditor string
Email address of the user who last edited the mute config. This field is set by the server and will be ignored if provided on config creation or update.
Name string
Name of the mute config. Its format is projects/{project}/locations/global/muteConfigs/{configId}, folders/{folder}/locations/global/muteConfigs/{configId}, or organizations/{organization}/locations/global/muteConfigs/{configId}
UpdateTime string
Output only. The most recent time at which the mute config was updated. This field is set by the server and will be ignored if provided on config creation or update.
createTime String
The time at which the mute config was created. This field is set by the server and will be ignored if provided on config creation.
id String
The provider-assigned unique ID for this managed resource.
mostRecentEditor String
Email address of the user who last edited the mute config. This field is set by the server and will be ignored if provided on config creation or update.
name String
Name of the mute config. Its format is projects/{project}/locations/global/muteConfigs/{configId}, folders/{folder}/locations/global/muteConfigs/{configId}, or organizations/{organization}/locations/global/muteConfigs/{configId}
updateTime String
Output only. The most recent time at which the mute config was updated. This field is set by the server and will be ignored if provided on config creation or update.
createTime string
The time at which the mute config was created. This field is set by the server and will be ignored if provided on config creation.
id string
The provider-assigned unique ID for this managed resource.
mostRecentEditor string
Email address of the user who last edited the mute config. This field is set by the server and will be ignored if provided on config creation or update.
name string
Name of the mute config. Its format is projects/{project}/locations/global/muteConfigs/{configId}, folders/{folder}/locations/global/muteConfigs/{configId}, or organizations/{organization}/locations/global/muteConfigs/{configId}
updateTime string
Output only. The most recent time at which the mute config was updated. This field is set by the server and will be ignored if provided on config creation or update.
create_time str
The time at which the mute config was created. This field is set by the server and will be ignored if provided on config creation.
id str
The provider-assigned unique ID for this managed resource.
most_recent_editor str
Email address of the user who last edited the mute config. This field is set by the server and will be ignored if provided on config creation or update.
name str
Name of the mute config. Its format is projects/{project}/locations/global/muteConfigs/{configId}, folders/{folder}/locations/global/muteConfigs/{configId}, or organizations/{organization}/locations/global/muteConfigs/{configId}
update_time str
Output only. The most recent time at which the mute config was updated. This field is set by the server and will be ignored if provided on config creation or update.
createTime String
The time at which the mute config was created. This field is set by the server and will be ignored if provided on config creation.
id String
The provider-assigned unique ID for this managed resource.
mostRecentEditor String
Email address of the user who last edited the mute config. This field is set by the server and will be ignored if provided on config creation or update.
name String
Name of the mute config. Its format is projects/{project}/locations/global/muteConfigs/{configId}, folders/{folder}/locations/global/muteConfigs/{configId}, or organizations/{organization}/locations/global/muteConfigs/{configId}
updateTime String
Output only. The most recent time at which the mute config was updated. This field is set by the server and will be ignored if provided on config creation or update.

Look up Existing V2ProjectMuteConfig Resource

Get an existing V2ProjectMuteConfig 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?: V2ProjectMuteConfigState, opts?: CustomResourceOptions): V2ProjectMuteConfig
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        create_time: Optional[str] = None,
        description: Optional[str] = None,
        filter: Optional[str] = None,
        location: Optional[str] = None,
        most_recent_editor: Optional[str] = None,
        mute_config_id: Optional[str] = None,
        name: Optional[str] = None,
        project: Optional[str] = None,
        type: Optional[str] = None,
        update_time: Optional[str] = None) -> V2ProjectMuteConfig
func GetV2ProjectMuteConfig(ctx *Context, name string, id IDInput, state *V2ProjectMuteConfigState, opts ...ResourceOption) (*V2ProjectMuteConfig, error)
public static V2ProjectMuteConfig Get(string name, Input<string> id, V2ProjectMuteConfigState? state, CustomResourceOptions? opts = null)
public static V2ProjectMuteConfig get(String name, Output<String> id, V2ProjectMuteConfigState state, CustomResourceOptions options)
resources:  _:    type: gcp:securitycenter:V2ProjectMuteConfig    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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.
The following state arguments are supported:
CreateTime string
The time at which the mute config was created. This field is set by the server and will be ignored if provided on config creation.
Description string
A description of the mute config.
Filter string
An expression that defines the filter to apply across create/update events of findings. While creating a filter string, be mindful of the scope in which the mute configuration is being created. E.g., If a filter contains project = X but is created under the project = Y scope, it might not match any findings.
Location Changes to this property will trigger replacement. string
location Id is provided by project. If not provided, Use global as default.
MostRecentEditor string
Email address of the user who last edited the mute config. This field is set by the server and will be ignored if provided on config creation or update.
MuteConfigId Changes to this property will trigger replacement. string
Unique identifier provided by the client within the parent scope.


Name string
Name of the mute config. Its format is projects/{project}/locations/global/muteConfigs/{configId}, folders/{folder}/locations/global/muteConfigs/{configId}, or organizations/{organization}/locations/global/muteConfigs/{configId}
Project Changes to this property will trigger replacement. string
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
Type string
The type of the mute config.
UpdateTime string
Output only. The most recent time at which the mute config was updated. This field is set by the server and will be ignored if provided on config creation or update.
CreateTime string
The time at which the mute config was created. This field is set by the server and will be ignored if provided on config creation.
Description string
A description of the mute config.
Filter string
An expression that defines the filter to apply across create/update events of findings. While creating a filter string, be mindful of the scope in which the mute configuration is being created. E.g., If a filter contains project = X but is created under the project = Y scope, it might not match any findings.
Location Changes to this property will trigger replacement. string
location Id is provided by project. If not provided, Use global as default.
MostRecentEditor string
Email address of the user who last edited the mute config. This field is set by the server and will be ignored if provided on config creation or update.
MuteConfigId Changes to this property will trigger replacement. string
Unique identifier provided by the client within the parent scope.


Name string
Name of the mute config. Its format is projects/{project}/locations/global/muteConfigs/{configId}, folders/{folder}/locations/global/muteConfigs/{configId}, or organizations/{organization}/locations/global/muteConfigs/{configId}
Project Changes to this property will trigger replacement. string
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
Type string
The type of the mute config.
UpdateTime string
Output only. The most recent time at which the mute config was updated. This field is set by the server and will be ignored if provided on config creation or update.
createTime String
The time at which the mute config was created. This field is set by the server and will be ignored if provided on config creation.
description String
A description of the mute config.
filter String
An expression that defines the filter to apply across create/update events of findings. While creating a filter string, be mindful of the scope in which the mute configuration is being created. E.g., If a filter contains project = X but is created under the project = Y scope, it might not match any findings.
location Changes to this property will trigger replacement. String
location Id is provided by project. If not provided, Use global as default.
mostRecentEditor String
Email address of the user who last edited the mute config. This field is set by the server and will be ignored if provided on config creation or update.
muteConfigId Changes to this property will trigger replacement. String
Unique identifier provided by the client within the parent scope.


name String
Name of the mute config. Its format is projects/{project}/locations/global/muteConfigs/{configId}, folders/{folder}/locations/global/muteConfigs/{configId}, or organizations/{organization}/locations/global/muteConfigs/{configId}
project Changes to this property will trigger replacement. String
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
type String
The type of the mute config.
updateTime String
Output only. The most recent time at which the mute config was updated. This field is set by the server and will be ignored if provided on config creation or update.
createTime string
The time at which the mute config was created. This field is set by the server and will be ignored if provided on config creation.
description string
A description of the mute config.
filter string
An expression that defines the filter to apply across create/update events of findings. While creating a filter string, be mindful of the scope in which the mute configuration is being created. E.g., If a filter contains project = X but is created under the project = Y scope, it might not match any findings.
location Changes to this property will trigger replacement. string
location Id is provided by project. If not provided, Use global as default.
mostRecentEditor string
Email address of the user who last edited the mute config. This field is set by the server and will be ignored if provided on config creation or update.
muteConfigId Changes to this property will trigger replacement. string
Unique identifier provided by the client within the parent scope.


name string
Name of the mute config. Its format is projects/{project}/locations/global/muteConfigs/{configId}, folders/{folder}/locations/global/muteConfigs/{configId}, or organizations/{organization}/locations/global/muteConfigs/{configId}
project Changes to this property will trigger replacement. string
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
type string
The type of the mute config.
updateTime string
Output only. The most recent time at which the mute config was updated. This field is set by the server and will be ignored if provided on config creation or update.
create_time str
The time at which the mute config was created. This field is set by the server and will be ignored if provided on config creation.
description str
A description of the mute config.
filter str
An expression that defines the filter to apply across create/update events of findings. While creating a filter string, be mindful of the scope in which the mute configuration is being created. E.g., If a filter contains project = X but is created under the project = Y scope, it might not match any findings.
location Changes to this property will trigger replacement. str
location Id is provided by project. If not provided, Use global as default.
most_recent_editor str
Email address of the user who last edited the mute config. This field is set by the server and will be ignored if provided on config creation or update.
mute_config_id Changes to this property will trigger replacement. str
Unique identifier provided by the client within the parent scope.


name str
Name of the mute config. Its format is projects/{project}/locations/global/muteConfigs/{configId}, folders/{folder}/locations/global/muteConfigs/{configId}, or organizations/{organization}/locations/global/muteConfigs/{configId}
project Changes to this property will trigger replacement. str
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
type str
The type of the mute config.
update_time str
Output only. The most recent time at which the mute config was updated. This field is set by the server and will be ignored if provided on config creation or update.
createTime String
The time at which the mute config was created. This field is set by the server and will be ignored if provided on config creation.
description String
A description of the mute config.
filter String
An expression that defines the filter to apply across create/update events of findings. While creating a filter string, be mindful of the scope in which the mute configuration is being created. E.g., If a filter contains project = X but is created under the project = Y scope, it might not match any findings.
location Changes to this property will trigger replacement. String
location Id is provided by project. If not provided, Use global as default.
mostRecentEditor String
Email address of the user who last edited the mute config. This field is set by the server and will be ignored if provided on config creation or update.
muteConfigId Changes to this property will trigger replacement. String
Unique identifier provided by the client within the parent scope.


name String
Name of the mute config. Its format is projects/{project}/locations/global/muteConfigs/{configId}, folders/{folder}/locations/global/muteConfigs/{configId}, or organizations/{organization}/locations/global/muteConfigs/{configId}
project Changes to this property will trigger replacement. String
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
type String
The type of the mute config.
updateTime String
Output only. The most recent time at which the mute config was updated. This field is set by the server and will be ignored if provided on config creation or update.

Import

ProjectMuteConfig can be imported using any of these accepted formats:

  • projects/{{project}}/locations/{{location}}/muteConfigs/{{mute_config_id}}

  • {{project}}/{{location}}/{{mute_config_id}}

  • {{location}}/{{mute_config_id}}

When using the pulumi import command, ProjectMuteConfig can be imported using one of the formats above. For example:

$ pulumi import gcp:securitycenter/v2ProjectMuteConfig:V2ProjectMuteConfig default projects/{{project}}/locations/{{location}}/muteConfigs/{{mute_config_id}}
Copy
$ pulumi import gcp:securitycenter/v2ProjectMuteConfig:V2ProjectMuteConfig default {{project}}/{{location}}/{{mute_config_id}}
Copy
$ pulumi import gcp:securitycenter/v2ProjectMuteConfig:V2ProjectMuteConfig default {{location}}/{{mute_config_id}}
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
Google Cloud (GCP) Classic pulumi/pulumi-gcp
License
Apache-2.0
Notes
This Pulumi package is based on the google-beta Terraform Provider.