gcp.networksecurity.DnsThreatDetector
DNS Armor is a fully-managed service that provides DNS-layer security for your Google Cloud workloads.
To get more information about DnsThreatDetector, see:
- API documentation
- How-to Guides
Example Usage
Network Security Dns Threat Detector Basic
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";
const foobar = new gcp.compute.Network("foobar", {
name: "my-vpc",
autoCreateSubnetworks: false,
});
const _default = new gcp.networksecurity.DnsThreatDetector("default", {
name: "my-threat-detector",
location: "global",
threatDetectorProvider: "INFOBLOX",
excludedNetworks: [foobar.id],
labels: {
foo: "bar",
},
});
import pulumi
import pulumi_gcp as gcp
foobar = gcp.compute.Network("foobar",
name="my-vpc",
auto_create_subnetworks=False)
default = gcp.networksecurity.DnsThreatDetector("default",
name="my-threat-detector",
location="global",
threat_detector_provider="INFOBLOX",
excluded_networks=[foobar.id],
labels={
"foo": "bar",
})
package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v9/go/gcp/compute"
"github.com/pulumi/pulumi-gcp/sdk/v9/go/gcp/networksecurity"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
foobar, err := compute.NewNetwork(ctx, "foobar", &compute.NetworkArgs{
Name: pulumi.String("my-vpc"),
AutoCreateSubnetworks: pulumi.Bool(false),
})
if err != nil {
return err
}
_, err = networksecurity.NewDnsThreatDetector(ctx, "default", &networksecurity.DnsThreatDetectorArgs{
Name: pulumi.String("my-threat-detector"),
Location: pulumi.String("global"),
ThreatDetectorProvider: pulumi.String("INFOBLOX"),
ExcludedNetworks: pulumi.StringArray{
foobar.ID(),
},
Labels: pulumi.StringMap{
"foo": pulumi.String("bar"),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;
return await Deployment.RunAsync(() =>
{
var foobar = new Gcp.Compute.Network("foobar", new()
{
Name = "my-vpc",
AutoCreateSubnetworks = false,
});
var @default = new Gcp.NetworkSecurity.DnsThreatDetector("default", new()
{
Name = "my-threat-detector",
Location = "global",
ThreatDetectorProvider = "INFOBLOX",
ExcludedNetworks = new[]
{
foobar.Id,
},
Labels =
{
{ "foo", "bar" },
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.compute.Network;
import com.pulumi.gcp.compute.NetworkArgs;
import com.pulumi.gcp.networksecurity.DnsThreatDetector;
import com.pulumi.gcp.networksecurity.DnsThreatDetectorArgs;
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 foobar = new Network("foobar", NetworkArgs.builder()
.name("my-vpc")
.autoCreateSubnetworks(false)
.build());
var default_ = new DnsThreatDetector("default", DnsThreatDetectorArgs.builder()
.name("my-threat-detector")
.location("global")
.threatDetectorProvider("INFOBLOX")
.excludedNetworks(foobar.id())
.labels(Map.of("foo", "bar"))
.build());
}
}
resources:
foobar:
type: gcp:compute:Network
properties:
name: my-vpc
autoCreateSubnetworks: false
default:
type: gcp:networksecurity:DnsThreatDetector
properties:
name: my-threat-detector
location: global
threatDetectorProvider: INFOBLOX
excludedNetworks:
- ${foobar.id}
labels:
foo: bar
Create DnsThreatDetector Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new DnsThreatDetector(name: string, args?: DnsThreatDetectorArgs, opts?: CustomResourceOptions);@overload
def DnsThreatDetector(resource_name: str,
args: Optional[DnsThreatDetectorArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def DnsThreatDetector(resource_name: str,
opts: Optional[ResourceOptions] = None,
excluded_networks: Optional[Sequence[str]] = None,
labels: Optional[Mapping[str, str]] = None,
location: Optional[str] = None,
name: Optional[str] = None,
project: Optional[str] = None,
threat_detector_provider: Optional[str] = None)func NewDnsThreatDetector(ctx *Context, name string, args *DnsThreatDetectorArgs, opts ...ResourceOption) (*DnsThreatDetector, error)public DnsThreatDetector(string name, DnsThreatDetectorArgs? args = null, CustomResourceOptions? opts = null)
public DnsThreatDetector(String name, DnsThreatDetectorArgs args)
public DnsThreatDetector(String name, DnsThreatDetectorArgs args, CustomResourceOptions options)
type: gcp:networksecurity:DnsThreatDetector
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 DnsThreatDetectorArgs
- 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 DnsThreatDetectorArgs
- 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 DnsThreatDetectorArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DnsThreatDetectorArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args DnsThreatDetectorArgs
- 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 dnsThreatDetectorResource = new Gcp.NetworkSecurity.DnsThreatDetector("dnsThreatDetectorResource", new()
{
ExcludedNetworks = new[]
{
"string",
},
Labels =
{
{ "string", "string" },
},
Location = "string",
Name = "string",
Project = "string",
ThreatDetectorProvider = "string",
});
example, err := networksecurity.NewDnsThreatDetector(ctx, "dnsThreatDetectorResource", &networksecurity.DnsThreatDetectorArgs{
ExcludedNetworks: pulumi.StringArray{
pulumi.String("string"),
},
Labels: pulumi.StringMap{
"string": pulumi.String("string"),
},
Location: pulumi.String("string"),
Name: pulumi.String("string"),
Project: pulumi.String("string"),
ThreatDetectorProvider: pulumi.String("string"),
})
var dnsThreatDetectorResource = new DnsThreatDetector("dnsThreatDetectorResource", DnsThreatDetectorArgs.builder()
.excludedNetworks("string")
.labels(Map.of("string", "string"))
.location("string")
.name("string")
.project("string")
.threatDetectorProvider("string")
.build());
dns_threat_detector_resource = gcp.networksecurity.DnsThreatDetector("dnsThreatDetectorResource",
excluded_networks=["string"],
labels={
"string": "string",
},
location="string",
name="string",
project="string",
threat_detector_provider="string")
const dnsThreatDetectorResource = new gcp.networksecurity.DnsThreatDetector("dnsThreatDetectorResource", {
excludedNetworks: ["string"],
labels: {
string: "string",
},
location: "string",
name: "string",
project: "string",
threatDetectorProvider: "string",
});
type: gcp:networksecurity:DnsThreatDetector
properties:
excludedNetworks:
- string
labels:
string: string
location: string
name: string
project: string
threatDetectorProvider: string
DnsThreatDetector 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 DnsThreatDetector resource accepts the following input properties:
- Excluded
Networks List<string> - List of networks that are excluded from detection. Format: projects/{project}/global/networks/{name}.
- Labels Dictionary<string, string>
Set of label tags associated with the DNS Threat Detector resource. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field
effective_labelsfor all of the labels present on the resource.- Location string
- The location of the DNS Threat Detector. The only supported value is
global. - Name string
- Name of the DnsThreatDetector resource.
- Project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- Threat
Detector stringProvider - DNS Threat Detection provider. The only supported value is
INFOBLOX.
- Excluded
Networks []string - List of networks that are excluded from detection. Format: projects/{project}/global/networks/{name}.
- Labels map[string]string
Set of label tags associated with the DNS Threat Detector resource. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field
effective_labelsfor all of the labels present on the resource.- Location string
- The location of the DNS Threat Detector. The only supported value is
global. - Name string
- Name of the DnsThreatDetector resource.
- Project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- Threat
Detector stringProvider - DNS Threat Detection provider. The only supported value is
INFOBLOX.
- excluded
Networks List<String> - List of networks that are excluded from detection. Format: projects/{project}/global/networks/{name}.
- labels Map<String,String>
Set of label tags associated with the DNS Threat Detector resource. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field
effective_labelsfor all of the labels present on the resource.- location String
- The location of the DNS Threat Detector. The only supported value is
global. - name String
- Name of the DnsThreatDetector resource.
- project String
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- threat
Detector StringProvider - DNS Threat Detection provider. The only supported value is
INFOBLOX.
- excluded
Networks string[] - List of networks that are excluded from detection. Format: projects/{project}/global/networks/{name}.
- labels {[key: string]: string}
Set of label tags associated with the DNS Threat Detector resource. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field
effective_labelsfor all of the labels present on the resource.- location string
- The location of the DNS Threat Detector. The only supported value is
global. - name string
- Name of the DnsThreatDetector resource.
- project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- threat
Detector stringProvider - DNS Threat Detection provider. The only supported value is
INFOBLOX.
- excluded_
networks Sequence[str] - List of networks that are excluded from detection. Format: projects/{project}/global/networks/{name}.
- labels Mapping[str, str]
Set of label tags associated with the DNS Threat Detector resource. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field
effective_labelsfor all of the labels present on the resource.- location str
- The location of the DNS Threat Detector. The only supported value is
global. - name str
- Name of the DnsThreatDetector resource.
- project str
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- threat_
detector_ strprovider - DNS Threat Detection provider. The only supported value is
INFOBLOX.
- excluded
Networks List<String> - List of networks that are excluded from detection. Format: projects/{project}/global/networks/{name}.
- labels Map<String>
Set of label tags associated with the DNS Threat Detector resource. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field
effective_labelsfor all of the labels present on the resource.- location String
- The location of the DNS Threat Detector. The only supported value is
global. - name String
- Name of the DnsThreatDetector resource.
- project String
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- threat
Detector StringProvider - DNS Threat Detection provider. The only supported value is
INFOBLOX.
Outputs
All input properties are implicitly available as output properties. Additionally, the DnsThreatDetector resource produces the following output properties:
- Create
Time string - The timestamp when the resource was created. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z"
- Effective
Labels Dictionary<string, string> - All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- Id string
- The provider-assigned unique ID for this managed resource.
- Pulumi
Labels Dictionary<string, string> - The combination of labels configured directly on the resource and default labels configured on the provider.
- Update
Time string - The timestamp when the resource was updated. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
- Create
Time string - The timestamp when the resource was created. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z"
- Effective
Labels map[string]string - All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- Id string
- The provider-assigned unique ID for this managed resource.
- Pulumi
Labels map[string]string - The combination of labels configured directly on the resource and default labels configured on the provider.
- Update
Time string - The timestamp when the resource was updated. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
- create
Time String - The timestamp when the resource was created. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z"
- effective
Labels Map<String,String> - All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- id String
- The provider-assigned unique ID for this managed resource.
- pulumi
Labels Map<String,String> - The combination of labels configured directly on the resource and default labels configured on the provider.
- update
Time String - The timestamp when the resource was updated. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
- create
Time string - The timestamp when the resource was created. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z"
- effective
Labels {[key: string]: string} - All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- id string
- The provider-assigned unique ID for this managed resource.
- pulumi
Labels {[key: string]: string} - The combination of labels configured directly on the resource and default labels configured on the provider.
- update
Time string - The timestamp when the resource was updated. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
- create_
time str - The timestamp when the resource was created. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z"
- effective_
labels Mapping[str, str] - All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- id str
- The provider-assigned unique ID for this managed resource.
- pulumi_
labels Mapping[str, str] - The combination of labels configured directly on the resource and default labels configured on the provider.
- update_
time str - The timestamp when the resource was updated. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
- create
Time String - The timestamp when the resource was created. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z"
- effective
Labels Map<String> - All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- id String
- The provider-assigned unique ID for this managed resource.
- pulumi
Labels Map<String> - The combination of labels configured directly on the resource and default labels configured on the provider.
- update
Time String - The timestamp when the resource was updated. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
Look up Existing DnsThreatDetector Resource
Get an existing DnsThreatDetector 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?: DnsThreatDetectorState, opts?: CustomResourceOptions): DnsThreatDetector@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
create_time: Optional[str] = None,
effective_labels: Optional[Mapping[str, str]] = None,
excluded_networks: Optional[Sequence[str]] = None,
labels: Optional[Mapping[str, str]] = None,
location: Optional[str] = None,
name: Optional[str] = None,
project: Optional[str] = None,
pulumi_labels: Optional[Mapping[str, str]] = None,
threat_detector_provider: Optional[str] = None,
update_time: Optional[str] = None) -> DnsThreatDetectorfunc GetDnsThreatDetector(ctx *Context, name string, id IDInput, state *DnsThreatDetectorState, opts ...ResourceOption) (*DnsThreatDetector, error)public static DnsThreatDetector Get(string name, Input<string> id, DnsThreatDetectorState? state, CustomResourceOptions? opts = null)public static DnsThreatDetector get(String name, Output<String> id, DnsThreatDetectorState state, CustomResourceOptions options)resources: _: type: gcp:networksecurity:DnsThreatDetector 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.
- Create
Time string - The timestamp when the resource was created. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z"
- Effective
Labels Dictionary<string, string> - All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- Excluded
Networks List<string> - List of networks that are excluded from detection. Format: projects/{project}/global/networks/{name}.
- Labels Dictionary<string, string>
Set of label tags associated with the DNS Threat Detector resource. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field
effective_labelsfor all of the labels present on the resource.- Location string
- The location of the DNS Threat Detector. The only supported value is
global. - Name string
- Name of the DnsThreatDetector resource.
- Project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- Pulumi
Labels Dictionary<string, string> - The combination of labels configured directly on the resource and default labels configured on the provider.
- Threat
Detector stringProvider - DNS Threat Detection provider. The only supported value is
INFOBLOX. - Update
Time string - The timestamp when the resource was updated. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
- Create
Time string - The timestamp when the resource was created. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z"
- Effective
Labels map[string]string - All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- Excluded
Networks []string - List of networks that are excluded from detection. Format: projects/{project}/global/networks/{name}.
- Labels map[string]string
Set of label tags associated with the DNS Threat Detector resource. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field
effective_labelsfor all of the labels present on the resource.- Location string
- The location of the DNS Threat Detector. The only supported value is
global. - Name string
- Name of the DnsThreatDetector resource.
- Project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- Pulumi
Labels map[string]string - The combination of labels configured directly on the resource and default labels configured on the provider.
- Threat
Detector stringProvider - DNS Threat Detection provider. The only supported value is
INFOBLOX. - Update
Time string - The timestamp when the resource was updated. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
- create
Time String - The timestamp when the resource was created. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z"
- effective
Labels Map<String,String> - All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- excluded
Networks List<String> - List of networks that are excluded from detection. Format: projects/{project}/global/networks/{name}.
- labels Map<String,String>
Set of label tags associated with the DNS Threat Detector resource. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field
effective_labelsfor all of the labels present on the resource.- location String
- The location of the DNS Threat Detector. The only supported value is
global. - name String
- Name of the DnsThreatDetector resource.
- project String
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- pulumi
Labels Map<String,String> - The combination of labels configured directly on the resource and default labels configured on the provider.
- threat
Detector StringProvider - DNS Threat Detection provider. The only supported value is
INFOBLOX. - update
Time String - The timestamp when the resource was updated. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
- create
Time string - The timestamp when the resource was created. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z"
- effective
Labels {[key: string]: string} - All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- excluded
Networks string[] - List of networks that are excluded from detection. Format: projects/{project}/global/networks/{name}.
- labels {[key: string]: string}
Set of label tags associated with the DNS Threat Detector resource. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field
effective_labelsfor all of the labels present on the resource.- location string
- The location of the DNS Threat Detector. The only supported value is
global. - name string
- Name of the DnsThreatDetector resource.
- project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- pulumi
Labels {[key: string]: string} - The combination of labels configured directly on the resource and default labels configured on the provider.
- threat
Detector stringProvider - DNS Threat Detection provider. The only supported value is
INFOBLOX. - update
Time string - The timestamp when the resource was updated. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
- create_
time str - The timestamp when the resource was created. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z"
- effective_
labels Mapping[str, str] - All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- excluded_
networks Sequence[str] - List of networks that are excluded from detection. Format: projects/{project}/global/networks/{name}.
- labels Mapping[str, str]
Set of label tags associated with the DNS Threat Detector resource. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field
effective_labelsfor all of the labels present on the resource.- location str
- The location of the DNS Threat Detector. The only supported value is
global. - name str
- Name of the DnsThreatDetector resource.
- project str
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- pulumi_
labels Mapping[str, str] - The combination of labels configured directly on the resource and default labels configured on the provider.
- threat_
detector_ strprovider - DNS Threat Detection provider. The only supported value is
INFOBLOX. - update_
time str - The timestamp when the resource was updated. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
- create
Time String - The timestamp when the resource was created. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z"
- effective
Labels Map<String> - All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- excluded
Networks List<String> - List of networks that are excluded from detection. Format: projects/{project}/global/networks/{name}.
- labels Map<String>
Set of label tags associated with the DNS Threat Detector resource. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field
effective_labelsfor all of the labels present on the resource.- location String
- The location of the DNS Threat Detector. The only supported value is
global. - name String
- Name of the DnsThreatDetector resource.
- project String
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- pulumi
Labels Map<String> - The combination of labels configured directly on the resource and default labels configured on the provider.
- threat
Detector StringProvider - DNS Threat Detection provider. The only supported value is
INFOBLOX. - update
Time String - The timestamp when the resource was updated. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
Import
DnsThreatDetector can be imported using any of these accepted formats:
projects/{{project}}/locations/{{location}}/dnsThreatDetectors/{{name}}{{project}}/{{location}}/{{name}}{{location}}/{{name}}{{name}}
When using the pulumi import command, DnsThreatDetector can be imported using one of the formats above. For example:
$ pulumi import gcp:networksecurity/dnsThreatDetector:DnsThreatDetector default projects/{{project}}/locations/{{location}}/dnsThreatDetectors/{{name}}
$ pulumi import gcp:networksecurity/dnsThreatDetector:DnsThreatDetector default {{project}}/{{location}}/{{name}}
$ pulumi import gcp:networksecurity/dnsThreatDetector:DnsThreatDetector default {{location}}/{{name}}
$ pulumi import gcp:networksecurity/dnsThreatDetector:DnsThreatDetector default {{name}}
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-betaTerraform Provider.
