Ready to level-up your engineering skills? Join a Pulumi Workshop. Register Now

LogpushJob

Create a LogpushJob Resource

new LogpushJob(name: string, args: LogpushJobArgs, opts?: CustomResourceOptions);
def LogpushJob(resource_name: str, opts: Optional[ResourceOptions] = None, dataset: Optional[str] = None, destination_conf: Optional[str] = None, enabled: Optional[bool] = None, logpull_options: Optional[str] = None, name: Optional[str] = None, ownership_challenge: Optional[str] = None, zone_id: Optional[str] = None)
func NewLogpushJob(ctx *Context, name string, args LogpushJobArgs, opts ...ResourceOption) (*LogpushJob, error)
public LogpushJob(string name, LogpushJobArgs args, CustomResourceOptions? opts = null)
name string
The unique name of the resource.
args LogpushJobArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
opts ResourceOptions
A bag of options that control this resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args LogpushJobArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args LogpushJobArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

LogpushJob Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.

Inputs

The LogpushJob resource accepts the following input properties:

Dataset string

Which type of dataset resource to use. Available values are "firewall_events", "http_requests", and "spectrum_events".

DestinationConf string

Uniquely identifies a resource (such as an s3 bucket) where data will be pushed. Additional configuration parameters supported by the destination may be included. See Logpush destination documentation.

OwnershipChallenge string

Ownership challenge token to prove destination ownership. See Developer documentation.

ZoneId string

The zone ID where the logpush job should be created.

Enabled bool

Whether to enable the job.

LogpullOptions string

Configuration string for the Logshare API. It specifies things like requested fields and timestamp formats. See Logpull options documentation.

Name string

The name of the logpush job to create. Must match the regular expression ^[a-zA-Z0-9\-\.]*$.

Dataset string

Which type of dataset resource to use. Available values are "firewall_events", "http_requests", and "spectrum_events".

DestinationConf string

Uniquely identifies a resource (such as an s3 bucket) where data will be pushed. Additional configuration parameters supported by the destination may be included. See Logpush destination documentation.

OwnershipChallenge string

Ownership challenge token to prove destination ownership. See Developer documentation.

ZoneId string

The zone ID where the logpush job should be created.

Enabled bool

Whether to enable the job.

LogpullOptions string

Configuration string for the Logshare API. It specifies things like requested fields and timestamp formats. See Logpull options documentation.

Name string

The name of the logpush job to create. Must match the regular expression ^[a-zA-Z0-9\-\.]*$.

dataset string

Which type of dataset resource to use. Available values are "firewall_events", "http_requests", and "spectrum_events".

destinationConf string

Uniquely identifies a resource (such as an s3 bucket) where data will be pushed. Additional configuration parameters supported by the destination may be included. See Logpush destination documentation.

ownershipChallenge string

Ownership challenge token to prove destination ownership. See Developer documentation.

zoneId string

The zone ID where the logpush job should be created.

enabled boolean

Whether to enable the job.

logpullOptions string

Configuration string for the Logshare API. It specifies things like requested fields and timestamp formats. See Logpull options documentation.

name string

The name of the logpush job to create. Must match the regular expression ^[a-zA-Z0-9\-\.]*$.

dataset str

Which type of dataset resource to use. Available values are "firewall_events", "http_requests", and "spectrum_events".

destination_conf str

Uniquely identifies a resource (such as an s3 bucket) where data will be pushed. Additional configuration parameters supported by the destination may be included. See Logpush destination documentation.

ownership_challenge str

Ownership challenge token to prove destination ownership. See Developer documentation.

zone_id str

The zone ID where the logpush job should be created.

enabled bool

Whether to enable the job.

logpull_options str

Configuration string for the Logshare API. It specifies things like requested fields and timestamp formats. See Logpull options documentation.

name str

The name of the logpush job to create. Must match the regular expression ^[a-zA-Z0-9\-\.]*$.

Outputs

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

Id string
The provider-assigned unique ID for this managed resource.
Id string
The provider-assigned unique ID for this managed resource.
id string
The provider-assigned unique ID for this managed resource.
id str
The provider-assigned unique ID for this managed resource.

Look up an Existing LogpushJob Resource

Get an existing LogpushJob 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?: LogpushJobState, opts?: CustomResourceOptions): LogpushJob
@staticmethod
def get(resource_name: str, id: str, opts: Optional[ResourceOptions] = None, dataset: Optional[str] = None, destination_conf: Optional[str] = None, enabled: Optional[bool] = None, logpull_options: Optional[str] = None, name: Optional[str] = None, ownership_challenge: Optional[str] = None, zone_id: Optional[str] = None) -> LogpushJob
func GetLogpushJob(ctx *Context, name string, id IDInput, state *LogpushJobState, opts ...ResourceOption) (*LogpushJob, error)
public static LogpushJob Get(string name, Input<string> id, LogpushJobState? state, CustomResourceOptions? opts = null)
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.

The following state arguments are supported:

Dataset string

Which type of dataset resource to use. Available values are "firewall_events", "http_requests", and "spectrum_events".

DestinationConf string

Uniquely identifies a resource (such as an s3 bucket) where data will be pushed. Additional configuration parameters supported by the destination may be included. See Logpush destination documentation.

Enabled bool

Whether to enable the job.

LogpullOptions string

Configuration string for the Logshare API. It specifies things like requested fields and timestamp formats. See Logpull options documentation.

Name string

The name of the logpush job to create. Must match the regular expression ^[a-zA-Z0-9\-\.]*$.

OwnershipChallenge string

Ownership challenge token to prove destination ownership. See Developer documentation.

ZoneId string

The zone ID where the logpush job should be created.

Dataset string

Which type of dataset resource to use. Available values are "firewall_events", "http_requests", and "spectrum_events".

DestinationConf string

Uniquely identifies a resource (such as an s3 bucket) where data will be pushed. Additional configuration parameters supported by the destination may be included. See Logpush destination documentation.

Enabled bool

Whether to enable the job.

LogpullOptions string

Configuration string for the Logshare API. It specifies things like requested fields and timestamp formats. See Logpull options documentation.

Name string

The name of the logpush job to create. Must match the regular expression ^[a-zA-Z0-9\-\.]*$.

OwnershipChallenge string

Ownership challenge token to prove destination ownership. See Developer documentation.

ZoneId string

The zone ID where the logpush job should be created.

dataset string

Which type of dataset resource to use. Available values are "firewall_events", "http_requests", and "spectrum_events".

destinationConf string

Uniquely identifies a resource (such as an s3 bucket) where data will be pushed. Additional configuration parameters supported by the destination may be included. See Logpush destination documentation.

enabled boolean

Whether to enable the job.

logpullOptions string

Configuration string for the Logshare API. It specifies things like requested fields and timestamp formats. See Logpull options documentation.

name string

The name of the logpush job to create. Must match the regular expression ^[a-zA-Z0-9\-\.]*$.

ownershipChallenge string

Ownership challenge token to prove destination ownership. See Developer documentation.

zoneId string

The zone ID where the logpush job should be created.

dataset str

Which type of dataset resource to use. Available values are "firewall_events", "http_requests", and "spectrum_events".

destination_conf str

Uniquely identifies a resource (such as an s3 bucket) where data will be pushed. Additional configuration parameters supported by the destination may be included. See Logpush destination documentation.

enabled bool

Whether to enable the job.

logpull_options str

Configuration string for the Logshare API. It specifies things like requested fields and timestamp formats. See Logpull options documentation.

name str

The name of the logpush job to create. Must match the regular expression ^[a-zA-Z0-9\-\.]*$.

ownership_challenge str

Ownership challenge token to prove destination ownership. See Developer documentation.

zone_id str

The zone ID where the logpush job should be created.

Package Details

Repository
https://github.com/pulumi/pulumi-cloudflare
License
Apache-2.0
Notes
This Pulumi package is based on the cloudflare Terraform Provider.