1. Packages
  2. Google Cloud (GCP) Classic
  3. API Docs
  4. chronicle
  5. Retrohunt
Google Cloud v8.26.0 published on Thursday, Apr 10, 2025 by Pulumi

gcp.chronicle.Retrohunt

Explore with Pulumi AI

Retrohunt is an execution of a Rule over a time range in the past.

To get more information about Retrohunt, see:

Example Usage

Create Retrohunt Resource

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

Constructor syntax

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

@overload
def Retrohunt(resource_name: str,
              opts: Optional[ResourceOptions] = None,
              instance: Optional[str] = None,
              location: Optional[str] = None,
              process_interval: Optional[RetrohuntProcessIntervalArgs] = None,
              rule: Optional[str] = None,
              retrohunt_id: Optional[str] = None,
              project: Optional[str] = None)
func NewRetrohunt(ctx *Context, name string, args RetrohuntArgs, opts ...ResourceOption) (*Retrohunt, error)
public Retrohunt(string name, RetrohuntArgs args, CustomResourceOptions? opts = null)
public Retrohunt(String name, RetrohuntArgs args)
public Retrohunt(String name, RetrohuntArgs args, CustomResourceOptions options)
type: gcp:chronicle:Retrohunt
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. RetrohuntArgs
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. RetrohuntArgs
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. RetrohuntArgs
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. RetrohuntArgs
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. RetrohuntArgs
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 retrohuntResource = new Gcp.Chronicle.Retrohunt("retrohuntResource", new()
{
    Instance = "string",
    Location = "string",
    ProcessInterval = new Gcp.Chronicle.Inputs.RetrohuntProcessIntervalArgs
    {
        EndTime = "string",
        StartTime = "string",
    },
    Rule = "string",
    RetrohuntId = "string",
    Project = "string",
});
Copy
example, err := chronicle.NewRetrohunt(ctx, "retrohuntResource", &chronicle.RetrohuntArgs{
	Instance: pulumi.String("string"),
	Location: pulumi.String("string"),
	ProcessInterval: &chronicle.RetrohuntProcessIntervalArgs{
		EndTime:   pulumi.String("string"),
		StartTime: pulumi.String("string"),
	},
	Rule:        pulumi.String("string"),
	RetrohuntId: pulumi.String("string"),
	Project:     pulumi.String("string"),
})
Copy
var retrohuntResource = new Retrohunt("retrohuntResource", RetrohuntArgs.builder()
    .instance("string")
    .location("string")
    .processInterval(RetrohuntProcessIntervalArgs.builder()
        .endTime("string")
        .startTime("string")
        .build())
    .rule("string")
    .RetrohuntId("string")
    .project("string")
    .build());
Copy
retrohunt_resource = gcp.chronicle.Retrohunt("retrohuntResource",
    instance="string",
    location="string",
    process_interval={
        "end_time": "string",
        "start_time": "string",
    },
    rule="string",
    retrohunt_id="string",
    project="string")
Copy
const retrohuntResource = new gcp.chronicle.Retrohunt("retrohuntResource", {
    instance: "string",
    location: "string",
    processInterval: {
        endTime: "string",
        startTime: "string",
    },
    rule: "string",
    RetrohuntId: "string",
    project: "string",
});
Copy
type: gcp:chronicle:Retrohunt
properties:
    RetrohuntId: string
    instance: string
    location: string
    processInterval:
        endTime: string
        startTime: string
    project: string
    rule: string
Copy

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

Instance
This property is required.
Changes to this property will trigger replacement.
string
The unique identifier for the Chronicle instance, which is the same as the customer ID.
Location
This property is required.
Changes to this property will trigger replacement.
string
The location of the resource. This is the geographical region where the Chronicle instance resides, such as "us" or "europe-west2".
ProcessInterval
This property is required.
Changes to this property will trigger replacement.
RetrohuntProcessInterval
Represents a time interval, encoded as a Timestamp start (inclusive) and a Timestamp end (exclusive). The start must be less than or equal to the end. When the start equals the end, the interval is empty (matches no time). When both start and end are unspecified, the interval matches any time. Structure is documented below.
Rule
This property is required.
Changes to this property will trigger replacement.
string
The Rule ID of the rule.
Project Changes to this property will trigger replacement. string
RetrohuntId Changes to this property will trigger replacement. string
The retrohunt ID of the Retrohunt. A retrohunt is an execution of a Rule over a time range in the past.
Instance
This property is required.
Changes to this property will trigger replacement.
string
The unique identifier for the Chronicle instance, which is the same as the customer ID.
Location
This property is required.
Changes to this property will trigger replacement.
string
The location of the resource. This is the geographical region where the Chronicle instance resides, such as "us" or "europe-west2".
ProcessInterval
This property is required.
Changes to this property will trigger replacement.
RetrohuntProcessIntervalArgs
Represents a time interval, encoded as a Timestamp start (inclusive) and a Timestamp end (exclusive). The start must be less than or equal to the end. When the start equals the end, the interval is empty (matches no time). When both start and end are unspecified, the interval matches any time. Structure is documented below.
Rule
This property is required.
Changes to this property will trigger replacement.
string
The Rule ID of the rule.
Project Changes to this property will trigger replacement. string
RetrohuntId Changes to this property will trigger replacement. string
The retrohunt ID of the Retrohunt. A retrohunt is an execution of a Rule over a time range in the past.
instance
This property is required.
Changes to this property will trigger replacement.
String
The unique identifier for the Chronicle instance, which is the same as the customer ID.
location
This property is required.
Changes to this property will trigger replacement.
String
The location of the resource. This is the geographical region where the Chronicle instance resides, such as "us" or "europe-west2".
processInterval
This property is required.
Changes to this property will trigger replacement.
RetrohuntProcessInterval
Represents a time interval, encoded as a Timestamp start (inclusive) and a Timestamp end (exclusive). The start must be less than or equal to the end. When the start equals the end, the interval is empty (matches no time). When both start and end are unspecified, the interval matches any time. Structure is documented below.
rule
This property is required.
Changes to this property will trigger replacement.
String
The Rule ID of the rule.
RetrohuntId Changes to this property will trigger replacement. String
The retrohunt ID of the Retrohunt. A retrohunt is an execution of a Rule over a time range in the past.
project Changes to this property will trigger replacement. String
instance
This property is required.
Changes to this property will trigger replacement.
string
The unique identifier for the Chronicle instance, which is the same as the customer ID.
location
This property is required.
Changes to this property will trigger replacement.
string
The location of the resource. This is the geographical region where the Chronicle instance resides, such as "us" or "europe-west2".
processInterval
This property is required.
Changes to this property will trigger replacement.
RetrohuntProcessInterval
Represents a time interval, encoded as a Timestamp start (inclusive) and a Timestamp end (exclusive). The start must be less than or equal to the end. When the start equals the end, the interval is empty (matches no time). When both start and end are unspecified, the interval matches any time. Structure is documented below.
rule
This property is required.
Changes to this property will trigger replacement.
string
The Rule ID of the rule.
RetrohuntId Changes to this property will trigger replacement. string
The retrohunt ID of the Retrohunt. A retrohunt is an execution of a Rule over a time range in the past.
project Changes to this property will trigger replacement. string
instance
This property is required.
Changes to this property will trigger replacement.
str
The unique identifier for the Chronicle instance, which is the same as the customer ID.
location
This property is required.
Changes to this property will trigger replacement.
str
The location of the resource. This is the geographical region where the Chronicle instance resides, such as "us" or "europe-west2".
process_interval
This property is required.
Changes to this property will trigger replacement.
RetrohuntProcessIntervalArgs
Represents a time interval, encoded as a Timestamp start (inclusive) and a Timestamp end (exclusive). The start must be less than or equal to the end. When the start equals the end, the interval is empty (matches no time). When both start and end are unspecified, the interval matches any time. Structure is documented below.
rule
This property is required.
Changes to this property will trigger replacement.
str
The Rule ID of the rule.
project Changes to this property will trigger replacement. str
retrohunt_id Changes to this property will trigger replacement. str
The retrohunt ID of the Retrohunt. A retrohunt is an execution of a Rule over a time range in the past.
instance
This property is required.
Changes to this property will trigger replacement.
String
The unique identifier for the Chronicle instance, which is the same as the customer ID.
location
This property is required.
Changes to this property will trigger replacement.
String
The location of the resource. This is the geographical region where the Chronicle instance resides, such as "us" or "europe-west2".
processInterval
This property is required.
Changes to this property will trigger replacement.
Property Map
Represents a time interval, encoded as a Timestamp start (inclusive) and a Timestamp end (exclusive). The start must be less than or equal to the end. When the start equals the end, the interval is empty (matches no time). When both start and end are unspecified, the interval matches any time. Structure is documented below.
rule
This property is required.
Changes to this property will trigger replacement.
String
The Rule ID of the rule.
RetrohuntId Changes to this property will trigger replacement. String
The retrohunt ID of the Retrohunt. A retrohunt is an execution of a Rule over a time range in the past.
project Changes to this property will trigger replacement. String

Outputs

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

ExecutionIntervals List<RetrohuntExecutionInterval>
Represents a time interval, encoded as a Timestamp start (inclusive) and a Timestamp end (exclusive). The start must be less than or equal to the end. When the start equals the end, the interval is empty (matches no time). When both start and end are unspecified, the interval matches any time. Structure is documented below.
Id string
The provider-assigned unique ID for this managed resource.
Name string
The resource name of the retrohunt. Retrohunt is the child of a rule revision. {rule} in the format below is structured as {rule_id@revision_id}. Format: projects/{project}/locations/{location}/instances/{instance}/rules/{rule}/retrohunts/{retrohunt}
ProgressPercentage double
Output only. Percent progress of the retrohunt towards completion, from 0.00 to 100.00.
State string
Output only. The state of the retrohunt. Possible values: RUNNING DONE CANCELLED FAILED
ExecutionIntervals []RetrohuntExecutionInterval
Represents a time interval, encoded as a Timestamp start (inclusive) and a Timestamp end (exclusive). The start must be less than or equal to the end. When the start equals the end, the interval is empty (matches no time). When both start and end are unspecified, the interval matches any time. Structure is documented below.
Id string
The provider-assigned unique ID for this managed resource.
Name string
The resource name of the retrohunt. Retrohunt is the child of a rule revision. {rule} in the format below is structured as {rule_id@revision_id}. Format: projects/{project}/locations/{location}/instances/{instance}/rules/{rule}/retrohunts/{retrohunt}
ProgressPercentage float64
Output only. Percent progress of the retrohunt towards completion, from 0.00 to 100.00.
State string
Output only. The state of the retrohunt. Possible values: RUNNING DONE CANCELLED FAILED
executionIntervals List<RetrohuntExecutionInterval>
Represents a time interval, encoded as a Timestamp start (inclusive) and a Timestamp end (exclusive). The start must be less than or equal to the end. When the start equals the end, the interval is empty (matches no time). When both start and end are unspecified, the interval matches any time. Structure is documented below.
id String
The provider-assigned unique ID for this managed resource.
name String
The resource name of the retrohunt. Retrohunt is the child of a rule revision. {rule} in the format below is structured as {rule_id@revision_id}. Format: projects/{project}/locations/{location}/instances/{instance}/rules/{rule}/retrohunts/{retrohunt}
progressPercentage Double
Output only. Percent progress of the retrohunt towards completion, from 0.00 to 100.00.
state String
Output only. The state of the retrohunt. Possible values: RUNNING DONE CANCELLED FAILED
executionIntervals RetrohuntExecutionInterval[]
Represents a time interval, encoded as a Timestamp start (inclusive) and a Timestamp end (exclusive). The start must be less than or equal to the end. When the start equals the end, the interval is empty (matches no time). When both start and end are unspecified, the interval matches any time. Structure is documented below.
id string
The provider-assigned unique ID for this managed resource.
name string
The resource name of the retrohunt. Retrohunt is the child of a rule revision. {rule} in the format below is structured as {rule_id@revision_id}. Format: projects/{project}/locations/{location}/instances/{instance}/rules/{rule}/retrohunts/{retrohunt}
progressPercentage number
Output only. Percent progress of the retrohunt towards completion, from 0.00 to 100.00.
state string
Output only. The state of the retrohunt. Possible values: RUNNING DONE CANCELLED FAILED
execution_intervals Sequence[RetrohuntExecutionInterval]
Represents a time interval, encoded as a Timestamp start (inclusive) and a Timestamp end (exclusive). The start must be less than or equal to the end. When the start equals the end, the interval is empty (matches no time). When both start and end are unspecified, the interval matches any time. Structure is documented below.
id str
The provider-assigned unique ID for this managed resource.
name str
The resource name of the retrohunt. Retrohunt is the child of a rule revision. {rule} in the format below is structured as {rule_id@revision_id}. Format: projects/{project}/locations/{location}/instances/{instance}/rules/{rule}/retrohunts/{retrohunt}
progress_percentage float
Output only. Percent progress of the retrohunt towards completion, from 0.00 to 100.00.
state str
Output only. The state of the retrohunt. Possible values: RUNNING DONE CANCELLED FAILED
executionIntervals List<Property Map>
Represents a time interval, encoded as a Timestamp start (inclusive) and a Timestamp end (exclusive). The start must be less than or equal to the end. When the start equals the end, the interval is empty (matches no time). When both start and end are unspecified, the interval matches any time. Structure is documented below.
id String
The provider-assigned unique ID for this managed resource.
name String
The resource name of the retrohunt. Retrohunt is the child of a rule revision. {rule} in the format below is structured as {rule_id@revision_id}. Format: projects/{project}/locations/{location}/instances/{instance}/rules/{rule}/retrohunts/{retrohunt}
progressPercentage Number
Output only. Percent progress of the retrohunt towards completion, from 0.00 to 100.00.
state String
Output only. The state of the retrohunt. Possible values: RUNNING DONE CANCELLED FAILED

Look up Existing Retrohunt Resource

Get an existing Retrohunt 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?: RetrohuntState, opts?: CustomResourceOptions): Retrohunt
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        retrohunt_id: Optional[str] = None,
        execution_intervals: Optional[Sequence[RetrohuntExecutionIntervalArgs]] = None,
        instance: Optional[str] = None,
        location: Optional[str] = None,
        name: Optional[str] = None,
        process_interval: Optional[RetrohuntProcessIntervalArgs] = None,
        progress_percentage: Optional[float] = None,
        project: Optional[str] = None,
        rule: Optional[str] = None,
        state: Optional[str] = None) -> Retrohunt
func GetRetrohunt(ctx *Context, name string, id IDInput, state *RetrohuntState, opts ...ResourceOption) (*Retrohunt, error)
public static Retrohunt Get(string name, Input<string> id, RetrohuntState? state, CustomResourceOptions? opts = null)
public static Retrohunt get(String name, Output<String> id, RetrohuntState state, CustomResourceOptions options)
resources:  _:    type: gcp:chronicle:Retrohunt    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:
ExecutionIntervals List<RetrohuntExecutionInterval>
Represents a time interval, encoded as a Timestamp start (inclusive) and a Timestamp end (exclusive). The start must be less than or equal to the end. When the start equals the end, the interval is empty (matches no time). When both start and end are unspecified, the interval matches any time. Structure is documented below.
Instance Changes to this property will trigger replacement. string
The unique identifier for the Chronicle instance, which is the same as the customer ID.
Location Changes to this property will trigger replacement. string
The location of the resource. This is the geographical region where the Chronicle instance resides, such as "us" or "europe-west2".
Name string
The resource name of the retrohunt. Retrohunt is the child of a rule revision. {rule} in the format below is structured as {rule_id@revision_id}. Format: projects/{project}/locations/{location}/instances/{instance}/rules/{rule}/retrohunts/{retrohunt}
ProcessInterval Changes to this property will trigger replacement. RetrohuntProcessInterval
Represents a time interval, encoded as a Timestamp start (inclusive) and a Timestamp end (exclusive). The start must be less than or equal to the end. When the start equals the end, the interval is empty (matches no time). When both start and end are unspecified, the interval matches any time. Structure is documented below.
ProgressPercentage double
Output only. Percent progress of the retrohunt towards completion, from 0.00 to 100.00.
Project Changes to this property will trigger replacement. string
RetrohuntId Changes to this property will trigger replacement. string
The retrohunt ID of the Retrohunt. A retrohunt is an execution of a Rule over a time range in the past.
Rule Changes to this property will trigger replacement. string
The Rule ID of the rule.
State string
Output only. The state of the retrohunt. Possible values: RUNNING DONE CANCELLED FAILED
ExecutionIntervals []RetrohuntExecutionIntervalArgs
Represents a time interval, encoded as a Timestamp start (inclusive) and a Timestamp end (exclusive). The start must be less than or equal to the end. When the start equals the end, the interval is empty (matches no time). When both start and end are unspecified, the interval matches any time. Structure is documented below.
Instance Changes to this property will trigger replacement. string
The unique identifier for the Chronicle instance, which is the same as the customer ID.
Location Changes to this property will trigger replacement. string
The location of the resource. This is the geographical region where the Chronicle instance resides, such as "us" or "europe-west2".
Name string
The resource name of the retrohunt. Retrohunt is the child of a rule revision. {rule} in the format below is structured as {rule_id@revision_id}. Format: projects/{project}/locations/{location}/instances/{instance}/rules/{rule}/retrohunts/{retrohunt}
ProcessInterval Changes to this property will trigger replacement. RetrohuntProcessIntervalArgs
Represents a time interval, encoded as a Timestamp start (inclusive) and a Timestamp end (exclusive). The start must be less than or equal to the end. When the start equals the end, the interval is empty (matches no time). When both start and end are unspecified, the interval matches any time. Structure is documented below.
ProgressPercentage float64
Output only. Percent progress of the retrohunt towards completion, from 0.00 to 100.00.
Project Changes to this property will trigger replacement. string
RetrohuntId Changes to this property will trigger replacement. string
The retrohunt ID of the Retrohunt. A retrohunt is an execution of a Rule over a time range in the past.
Rule Changes to this property will trigger replacement. string
The Rule ID of the rule.
State string
Output only. The state of the retrohunt. Possible values: RUNNING DONE CANCELLED FAILED
RetrohuntId Changes to this property will trigger replacement. String
The retrohunt ID of the Retrohunt. A retrohunt is an execution of a Rule over a time range in the past.
executionIntervals List<RetrohuntExecutionInterval>
Represents a time interval, encoded as a Timestamp start (inclusive) and a Timestamp end (exclusive). The start must be less than or equal to the end. When the start equals the end, the interval is empty (matches no time). When both start and end are unspecified, the interval matches any time. Structure is documented below.
instance Changes to this property will trigger replacement. String
The unique identifier for the Chronicle instance, which is the same as the customer ID.
location Changes to this property will trigger replacement. String
The location of the resource. This is the geographical region where the Chronicle instance resides, such as "us" or "europe-west2".
name String
The resource name of the retrohunt. Retrohunt is the child of a rule revision. {rule} in the format below is structured as {rule_id@revision_id}. Format: projects/{project}/locations/{location}/instances/{instance}/rules/{rule}/retrohunts/{retrohunt}
processInterval Changes to this property will trigger replacement. RetrohuntProcessInterval
Represents a time interval, encoded as a Timestamp start (inclusive) and a Timestamp end (exclusive). The start must be less than or equal to the end. When the start equals the end, the interval is empty (matches no time). When both start and end are unspecified, the interval matches any time. Structure is documented below.
progressPercentage Double
Output only. Percent progress of the retrohunt towards completion, from 0.00 to 100.00.
project Changes to this property will trigger replacement. String
rule Changes to this property will trigger replacement. String
The Rule ID of the rule.
state String
Output only. The state of the retrohunt. Possible values: RUNNING DONE CANCELLED FAILED
RetrohuntId Changes to this property will trigger replacement. string
The retrohunt ID of the Retrohunt. A retrohunt is an execution of a Rule over a time range in the past.
executionIntervals RetrohuntExecutionInterval[]
Represents a time interval, encoded as a Timestamp start (inclusive) and a Timestamp end (exclusive). The start must be less than or equal to the end. When the start equals the end, the interval is empty (matches no time). When both start and end are unspecified, the interval matches any time. Structure is documented below.
instance Changes to this property will trigger replacement. string
The unique identifier for the Chronicle instance, which is the same as the customer ID.
location Changes to this property will trigger replacement. string
The location of the resource. This is the geographical region where the Chronicle instance resides, such as "us" or "europe-west2".
name string
The resource name of the retrohunt. Retrohunt is the child of a rule revision. {rule} in the format below is structured as {rule_id@revision_id}. Format: projects/{project}/locations/{location}/instances/{instance}/rules/{rule}/retrohunts/{retrohunt}
processInterval Changes to this property will trigger replacement. RetrohuntProcessInterval
Represents a time interval, encoded as a Timestamp start (inclusive) and a Timestamp end (exclusive). The start must be less than or equal to the end. When the start equals the end, the interval is empty (matches no time). When both start and end are unspecified, the interval matches any time. Structure is documented below.
progressPercentage number
Output only. Percent progress of the retrohunt towards completion, from 0.00 to 100.00.
project Changes to this property will trigger replacement. string
rule Changes to this property will trigger replacement. string
The Rule ID of the rule.
state string
Output only. The state of the retrohunt. Possible values: RUNNING DONE CANCELLED FAILED
execution_intervals Sequence[RetrohuntExecutionIntervalArgs]
Represents a time interval, encoded as a Timestamp start (inclusive) and a Timestamp end (exclusive). The start must be less than or equal to the end. When the start equals the end, the interval is empty (matches no time). When both start and end are unspecified, the interval matches any time. Structure is documented below.
instance Changes to this property will trigger replacement. str
The unique identifier for the Chronicle instance, which is the same as the customer ID.
location Changes to this property will trigger replacement. str
The location of the resource. This is the geographical region where the Chronicle instance resides, such as "us" or "europe-west2".
name str
The resource name of the retrohunt. Retrohunt is the child of a rule revision. {rule} in the format below is structured as {rule_id@revision_id}. Format: projects/{project}/locations/{location}/instances/{instance}/rules/{rule}/retrohunts/{retrohunt}
process_interval Changes to this property will trigger replacement. RetrohuntProcessIntervalArgs
Represents a time interval, encoded as a Timestamp start (inclusive) and a Timestamp end (exclusive). The start must be less than or equal to the end. When the start equals the end, the interval is empty (matches no time). When both start and end are unspecified, the interval matches any time. Structure is documented below.
progress_percentage float
Output only. Percent progress of the retrohunt towards completion, from 0.00 to 100.00.
project Changes to this property will trigger replacement. str
retrohunt_id Changes to this property will trigger replacement. str
The retrohunt ID of the Retrohunt. A retrohunt is an execution of a Rule over a time range in the past.
rule Changes to this property will trigger replacement. str
The Rule ID of the rule.
state str
Output only. The state of the retrohunt. Possible values: RUNNING DONE CANCELLED FAILED
RetrohuntId Changes to this property will trigger replacement. String
The retrohunt ID of the Retrohunt. A retrohunt is an execution of a Rule over a time range in the past.
executionIntervals List<Property Map>
Represents a time interval, encoded as a Timestamp start (inclusive) and a Timestamp end (exclusive). The start must be less than or equal to the end. When the start equals the end, the interval is empty (matches no time). When both start and end are unspecified, the interval matches any time. Structure is documented below.
instance Changes to this property will trigger replacement. String
The unique identifier for the Chronicle instance, which is the same as the customer ID.
location Changes to this property will trigger replacement. String
The location of the resource. This is the geographical region where the Chronicle instance resides, such as "us" or "europe-west2".
name String
The resource name of the retrohunt. Retrohunt is the child of a rule revision. {rule} in the format below is structured as {rule_id@revision_id}. Format: projects/{project}/locations/{location}/instances/{instance}/rules/{rule}/retrohunts/{retrohunt}
processInterval Changes to this property will trigger replacement. Property Map
Represents a time interval, encoded as a Timestamp start (inclusive) and a Timestamp end (exclusive). The start must be less than or equal to the end. When the start equals the end, the interval is empty (matches no time). When both start and end are unspecified, the interval matches any time. Structure is documented below.
progressPercentage Number
Output only. Percent progress of the retrohunt towards completion, from 0.00 to 100.00.
project Changes to this property will trigger replacement. String
rule Changes to this property will trigger replacement. String
The Rule ID of the rule.
state String
Output only. The state of the retrohunt. Possible values: RUNNING DONE CANCELLED FAILED

Supporting Types

RetrohuntExecutionInterval
, RetrohuntExecutionIntervalArgs

EndTime string
Optional. Exclusive end of the interval. If specified, a Timestamp matching this interval will have to be before the end.
StartTime string
Optional. Inclusive start of the interval. If specified, a Timestamp matching this interval will have to be the same or after the start.
EndTime string
Optional. Exclusive end of the interval. If specified, a Timestamp matching this interval will have to be before the end.
StartTime string
Optional. Inclusive start of the interval. If specified, a Timestamp matching this interval will have to be the same or after the start.
endTime String
Optional. Exclusive end of the interval. If specified, a Timestamp matching this interval will have to be before the end.
startTime String
Optional. Inclusive start of the interval. If specified, a Timestamp matching this interval will have to be the same or after the start.
endTime string
Optional. Exclusive end of the interval. If specified, a Timestamp matching this interval will have to be before the end.
startTime string
Optional. Inclusive start of the interval. If specified, a Timestamp matching this interval will have to be the same or after the start.
end_time str
Optional. Exclusive end of the interval. If specified, a Timestamp matching this interval will have to be before the end.
start_time str
Optional. Inclusive start of the interval. If specified, a Timestamp matching this interval will have to be the same or after the start.
endTime String
Optional. Exclusive end of the interval. If specified, a Timestamp matching this interval will have to be before the end.
startTime String
Optional. Inclusive start of the interval. If specified, a Timestamp matching this interval will have to be the same or after the start.

RetrohuntProcessInterval
, RetrohuntProcessIntervalArgs

EndTime
This property is required.
Changes to this property will trigger replacement.
string
Exclusive end of the interval.


StartTime
This property is required.
Changes to this property will trigger replacement.
string
Inclusive start of the interval.
EndTime
This property is required.
Changes to this property will trigger replacement.
string
Exclusive end of the interval.


StartTime
This property is required.
Changes to this property will trigger replacement.
string
Inclusive start of the interval.
endTime
This property is required.
Changes to this property will trigger replacement.
String
Exclusive end of the interval.


startTime
This property is required.
Changes to this property will trigger replacement.
String
Inclusive start of the interval.
endTime
This property is required.
Changes to this property will trigger replacement.
string
Exclusive end of the interval.


startTime
This property is required.
Changes to this property will trigger replacement.
string
Inclusive start of the interval.
end_time
This property is required.
Changes to this property will trigger replacement.
str
Exclusive end of the interval.


start_time
This property is required.
Changes to this property will trigger replacement.
str
Inclusive start of the interval.
endTime
This property is required.
Changes to this property will trigger replacement.
String
Exclusive end of the interval.


startTime
This property is required.
Changes to this property will trigger replacement.
String
Inclusive start of the interval.

Import

Retrohunt can be imported using any of these accepted formats:

  • projects/{{project}}/locations/{{location}}/instances/{{instance}}/rules/{{rule}}/retrohunts/{{retrohunt}}

  • {{project}}/{{location}}/{{instance}}/{{rule}}/{{retrohunt}}

  • {{location}}/{{instance}}/{{rule}}/{{retrohunt}}

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

$ pulumi import gcp:chronicle/retrohunt:Retrohunt default projects/{{project}}/locations/{{location}}/instances/{{instance}}/rules/{{rule}}/retrohunts/{{retrohunt}}
Copy
$ pulumi import gcp:chronicle/retrohunt:Retrohunt default {{project}}/{{location}}/{{instance}}/{{rule}}/{{retrohunt}}
Copy
$ pulumi import gcp:chronicle/retrohunt:Retrohunt default {{location}}/{{instance}}/{{rule}}/{{retrohunt}}
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.