ibm.CisLogpushJob
Explore with Pulumi AI
Create CisLogpushJob Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new CisLogpushJob(name: string, args: CisLogpushJobArgs, opts?: CustomResourceOptions);
@overload
def CisLogpushJob(resource_name: str,
args: CisLogpushJobArgs,
opts: Optional[ResourceOptions] = None)
@overload
def CisLogpushJob(resource_name: str,
opts: Optional[ResourceOptions] = None,
dataset: Optional[str] = None,
cis_id: Optional[str] = None,
domain_id: Optional[str] = None,
enabled: Optional[bool] = None,
destination_conf: Optional[str] = None,
cos: Optional[str] = None,
cis_logpush_job_id: Optional[str] = None,
frequency: Optional[str] = None,
ibmcl: Optional[CisLogpushJobIbmclArgs] = None,
logdna: Optional[str] = None,
logpull_options: Optional[str] = None,
name: Optional[str] = None,
ownership_challenge: Optional[str] = None)
func NewCisLogpushJob(ctx *Context, name string, args CisLogpushJobArgs, opts ...ResourceOption) (*CisLogpushJob, error)
public CisLogpushJob(string name, CisLogpushJobArgs args, CustomResourceOptions? opts = null)
public CisLogpushJob(String name, CisLogpushJobArgs args)
public CisLogpushJob(String name, CisLogpushJobArgs args, CustomResourceOptions options)
type: ibm:CisLogpushJob
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 CisLogpushJobArgs
- 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 CisLogpushJobArgs
- 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 CisLogpushJobArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args CisLogpushJobArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args CisLogpushJobArgs
- 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 cisLogpushJobResource = new Ibm.CisLogpushJob("cisLogpushJobResource", new()
{
Dataset = "string",
CisId = "string",
DomainId = "string",
Enabled = false,
DestinationConf = "string",
Cos = "string",
CisLogpushJobId = "string",
Frequency = "string",
Ibmcl = new Ibm.Inputs.CisLogpushJobIbmclArgs
{
InstanceId = "string",
ApiKey = "string",
Region = "string",
},
Logdna = "string",
LogpullOptions = "string",
Name = "string",
OwnershipChallenge = "string",
});
example, err := ibm.NewCisLogpushJob(ctx, "cisLogpushJobResource", &ibm.CisLogpushJobArgs{
Dataset: pulumi.String("string"),
CisId: pulumi.String("string"),
DomainId: pulumi.String("string"),
Enabled: pulumi.Bool(false),
DestinationConf: pulumi.String("string"),
Cos: pulumi.String("string"),
CisLogpushJobId: pulumi.String("string"),
Frequency: pulumi.String("string"),
Ibmcl: &ibm.CisLogpushJobIbmclArgs{
InstanceId: pulumi.String("string"),
ApiKey: pulumi.String("string"),
Region: pulumi.String("string"),
},
Logdna: pulumi.String("string"),
LogpullOptions: pulumi.String("string"),
Name: pulumi.String("string"),
OwnershipChallenge: pulumi.String("string"),
})
var cisLogpushJobResource = new CisLogpushJob("cisLogpushJobResource", CisLogpushJobArgs.builder()
.dataset("string")
.cisId("string")
.domainId("string")
.enabled(false)
.destinationConf("string")
.cos("string")
.cisLogpushJobId("string")
.frequency("string")
.ibmcl(CisLogpushJobIbmclArgs.builder()
.instanceId("string")
.apiKey("string")
.region("string")
.build())
.logdna("string")
.logpullOptions("string")
.name("string")
.ownershipChallenge("string")
.build());
cis_logpush_job_resource = ibm.CisLogpushJob("cisLogpushJobResource",
dataset="string",
cis_id="string",
domain_id="string",
enabled=False,
destination_conf="string",
cos="string",
cis_logpush_job_id="string",
frequency="string",
ibmcl={
"instance_id": "string",
"api_key": "string",
"region": "string",
},
logdna="string",
logpull_options="string",
name="string",
ownership_challenge="string")
const cisLogpushJobResource = new ibm.CisLogpushJob("cisLogpushJobResource", {
dataset: "string",
cisId: "string",
domainId: "string",
enabled: false,
destinationConf: "string",
cos: "string",
cisLogpushJobId: "string",
frequency: "string",
ibmcl: {
instanceId: "string",
apiKey: "string",
region: "string",
},
logdna: "string",
logpullOptions: "string",
name: "string",
ownershipChallenge: "string",
});
type: ibm:CisLogpushJob
properties:
cisId: string
cisLogpushJobId: string
cos: string
dataset: string
destinationConf: string
domainId: string
enabled: false
frequency: string
ibmcl:
apiKey: string
instanceId: string
region: string
logdna: string
logpullOptions: string
name: string
ownershipChallenge: string
CisLogpushJob 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 CisLogpushJob resource accepts the following input properties:
- Cis
Id string - CIS instance crn
- Dataset string
- Dataset to be pulled
- Domain
Id string - Associated CIS domain
- Cis
Logpush stringJob Id - Cos string
- Information to identify the COS bucket where the data will be pushed.
- Destination
Conf string - Uniquely identifies a resource (such as an s3 bucket) where data will be pushed.
- Enabled bool
- Whether the logpush job enabled or not
- Frequency string
- The frequency at which CIS sends batches of logs to your destination
- Ibmcl
Cis
Logpush Job Ibmcl - Information to identify the IBM Cloud Log instance where the data will be pushed.
- Logdna string
- Information to identify the LogDNA instance the data will be pushed.
- Logpull
Options string - Configuration string
- Name string
- Logpush Job Name
- Ownership
Challenge string - Ownership challenge token to prove destination ownership.
- Cis
Id string - CIS instance crn
- Dataset string
- Dataset to be pulled
- Domain
Id string - Associated CIS domain
- Cis
Logpush stringJob Id - Cos string
- Information to identify the COS bucket where the data will be pushed.
- Destination
Conf string - Uniquely identifies a resource (such as an s3 bucket) where data will be pushed.
- Enabled bool
- Whether the logpush job enabled or not
- Frequency string
- The frequency at which CIS sends batches of logs to your destination
- Ibmcl
Cis
Logpush Job Ibmcl Args - Information to identify the IBM Cloud Log instance where the data will be pushed.
- Logdna string
- Information to identify the LogDNA instance the data will be pushed.
- Logpull
Options string - Configuration string
- Name string
- Logpush Job Name
- Ownership
Challenge string - Ownership challenge token to prove destination ownership.
- cis
Id String - CIS instance crn
- dataset String
- Dataset to be pulled
- domain
Id String - Associated CIS domain
- cis
Logpush StringJob Id - cos String
- Information to identify the COS bucket where the data will be pushed.
- destination
Conf String - Uniquely identifies a resource (such as an s3 bucket) where data will be pushed.
- enabled Boolean
- Whether the logpush job enabled or not
- frequency String
- The frequency at which CIS sends batches of logs to your destination
- ibmcl
Cis
Logpush Job Ibmcl - Information to identify the IBM Cloud Log instance where the data will be pushed.
- logdna String
- Information to identify the LogDNA instance the data will be pushed.
- logpull
Options String - Configuration string
- name String
- Logpush Job Name
- ownership
Challenge String - Ownership challenge token to prove destination ownership.
- cis
Id string - CIS instance crn
- dataset string
- Dataset to be pulled
- domain
Id string - Associated CIS domain
- cis
Logpush stringJob Id - cos string
- Information to identify the COS bucket where the data will be pushed.
- destination
Conf string - Uniquely identifies a resource (such as an s3 bucket) where data will be pushed.
- enabled boolean
- Whether the logpush job enabled or not
- frequency string
- The frequency at which CIS sends batches of logs to your destination
- ibmcl
Cis
Logpush Job Ibmcl - Information to identify the IBM Cloud Log instance where the data will be pushed.
- logdna string
- Information to identify the LogDNA instance the data will be pushed.
- logpull
Options string - Configuration string
- name string
- Logpush Job Name
- ownership
Challenge string - Ownership challenge token to prove destination ownership.
- cis_
id str - CIS instance crn
- dataset str
- Dataset to be pulled
- domain_
id str - Associated CIS domain
- cis_
logpush_ strjob_ id - cos str
- Information to identify the COS bucket where the data will be pushed.
- destination_
conf str - Uniquely identifies a resource (such as an s3 bucket) where data will be pushed.
- enabled bool
- Whether the logpush job enabled or not
- frequency str
- The frequency at which CIS sends batches of logs to your destination
- ibmcl
Cis
Logpush Job Ibmcl Args - Information to identify the IBM Cloud Log instance where the data will be pushed.
- logdna str
- Information to identify the LogDNA instance the data will be pushed.
- logpull_
options str - Configuration string
- name str
- Logpush Job Name
- ownership_
challenge str - Ownership challenge token to prove destination ownership.
- cis
Id String - CIS instance crn
- dataset String
- Dataset to be pulled
- domain
Id String - Associated CIS domain
- cis
Logpush StringJob Id - cos String
- Information to identify the COS bucket where the data will be pushed.
- destination
Conf String - Uniquely identifies a resource (such as an s3 bucket) where data will be pushed.
- enabled Boolean
- Whether the logpush job enabled or not
- frequency String
- The frequency at which CIS sends batches of logs to your destination
- ibmcl Property Map
- Information to identify the IBM Cloud Log instance where the data will be pushed.
- logdna String
- Information to identify the LogDNA instance the data will be pushed.
- logpull
Options String - Configuration string
- name String
- Logpush Job Name
- ownership
Challenge String - Ownership challenge token to prove destination ownership.
Outputs
All input properties are implicitly available as output properties. Additionally, the CisLogpushJob resource produces the following output properties:
- Error
Message string - The last failure message.
- Id string
- The provider-assigned unique ID for this managed resource.
- Job
Id double - Associated CIS domain
- Last
Complete string - Records the last time that logs have been successfully pushed.
- Last
Error string - Records the last time the job failed.
- Error
Message string - The last failure message.
- Id string
- The provider-assigned unique ID for this managed resource.
- Job
Id float64 - Associated CIS domain
- Last
Complete string - Records the last time that logs have been successfully pushed.
- Last
Error string - Records the last time the job failed.
- error
Message String - The last failure message.
- id String
- The provider-assigned unique ID for this managed resource.
- job
Id Double - Associated CIS domain
- last
Complete String - Records the last time that logs have been successfully pushed.
- last
Error String - Records the last time the job failed.
- error
Message string - The last failure message.
- id string
- The provider-assigned unique ID for this managed resource.
- job
Id number - Associated CIS domain
- last
Complete string - Records the last time that logs have been successfully pushed.
- last
Error string - Records the last time the job failed.
- error_
message str - The last failure message.
- id str
- The provider-assigned unique ID for this managed resource.
- job_
id float - Associated CIS domain
- last_
complete str - Records the last time that logs have been successfully pushed.
- last_
error str - Records the last time the job failed.
- error
Message String - The last failure message.
- id String
- The provider-assigned unique ID for this managed resource.
- job
Id Number - Associated CIS domain
- last
Complete String - Records the last time that logs have been successfully pushed.
- last
Error String - Records the last time the job failed.
Look up Existing CisLogpushJob Resource
Get an existing CisLogpushJob 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?: CisLogpushJobState, opts?: CustomResourceOptions): CisLogpushJob
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
cis_id: Optional[str] = None,
cis_logpush_job_id: Optional[str] = None,
cos: Optional[str] = None,
dataset: Optional[str] = None,
destination_conf: Optional[str] = None,
domain_id: Optional[str] = None,
enabled: Optional[bool] = None,
error_message: Optional[str] = None,
frequency: Optional[str] = None,
ibmcl: Optional[CisLogpushJobIbmclArgs] = None,
job_id: Optional[float] = None,
last_complete: Optional[str] = None,
last_error: Optional[str] = None,
logdna: Optional[str] = None,
logpull_options: Optional[str] = None,
name: Optional[str] = None,
ownership_challenge: Optional[str] = None) -> CisLogpushJob
func GetCisLogpushJob(ctx *Context, name string, id IDInput, state *CisLogpushJobState, opts ...ResourceOption) (*CisLogpushJob, error)
public static CisLogpushJob Get(string name, Input<string> id, CisLogpushJobState? state, CustomResourceOptions? opts = null)
public static CisLogpushJob get(String name, Output<String> id, CisLogpushJobState state, CustomResourceOptions options)
resources: _: type: ibm:CisLogpushJob 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.
- Cis
Id string - CIS instance crn
- Cis
Logpush stringJob Id - Cos string
- Information to identify the COS bucket where the data will be pushed.
- Dataset string
- Dataset to be pulled
- Destination
Conf string - Uniquely identifies a resource (such as an s3 bucket) where data will be pushed.
- Domain
Id string - Associated CIS domain
- Enabled bool
- Whether the logpush job enabled or not
- Error
Message string - The last failure message.
- Frequency string
- The frequency at which CIS sends batches of logs to your destination
- Ibmcl
Cis
Logpush Job Ibmcl - Information to identify the IBM Cloud Log instance where the data will be pushed.
- Job
Id double - Associated CIS domain
- Last
Complete string - Records the last time that logs have been successfully pushed.
- Last
Error string - Records the last time the job failed.
- Logdna string
- Information to identify the LogDNA instance the data will be pushed.
- Logpull
Options string - Configuration string
- Name string
- Logpush Job Name
- Ownership
Challenge string - Ownership challenge token to prove destination ownership.
- Cis
Id string - CIS instance crn
- Cis
Logpush stringJob Id - Cos string
- Information to identify the COS bucket where the data will be pushed.
- Dataset string
- Dataset to be pulled
- Destination
Conf string - Uniquely identifies a resource (such as an s3 bucket) where data will be pushed.
- Domain
Id string - Associated CIS domain
- Enabled bool
- Whether the logpush job enabled or not
- Error
Message string - The last failure message.
- Frequency string
- The frequency at which CIS sends batches of logs to your destination
- Ibmcl
Cis
Logpush Job Ibmcl Args - Information to identify the IBM Cloud Log instance where the data will be pushed.
- Job
Id float64 - Associated CIS domain
- Last
Complete string - Records the last time that logs have been successfully pushed.
- Last
Error string - Records the last time the job failed.
- Logdna string
- Information to identify the LogDNA instance the data will be pushed.
- Logpull
Options string - Configuration string
- Name string
- Logpush Job Name
- Ownership
Challenge string - Ownership challenge token to prove destination ownership.
- cis
Id String - CIS instance crn
- cis
Logpush StringJob Id - cos String
- Information to identify the COS bucket where the data will be pushed.
- dataset String
- Dataset to be pulled
- destination
Conf String - Uniquely identifies a resource (such as an s3 bucket) where data will be pushed.
- domain
Id String - Associated CIS domain
- enabled Boolean
- Whether the logpush job enabled or not
- error
Message String - The last failure message.
- frequency String
- The frequency at which CIS sends batches of logs to your destination
- ibmcl
Cis
Logpush Job Ibmcl - Information to identify the IBM Cloud Log instance where the data will be pushed.
- job
Id Double - Associated CIS domain
- last
Complete String - Records the last time that logs have been successfully pushed.
- last
Error String - Records the last time the job failed.
- logdna String
- Information to identify the LogDNA instance the data will be pushed.
- logpull
Options String - Configuration string
- name String
- Logpush Job Name
- ownership
Challenge String - Ownership challenge token to prove destination ownership.
- cis
Id string - CIS instance crn
- cis
Logpush stringJob Id - cos string
- Information to identify the COS bucket where the data will be pushed.
- dataset string
- Dataset to be pulled
- destination
Conf string - Uniquely identifies a resource (such as an s3 bucket) where data will be pushed.
- domain
Id string - Associated CIS domain
- enabled boolean
- Whether the logpush job enabled or not
- error
Message string - The last failure message.
- frequency string
- The frequency at which CIS sends batches of logs to your destination
- ibmcl
Cis
Logpush Job Ibmcl - Information to identify the IBM Cloud Log instance where the data will be pushed.
- job
Id number - Associated CIS domain
- last
Complete string - Records the last time that logs have been successfully pushed.
- last
Error string - Records the last time the job failed.
- logdna string
- Information to identify the LogDNA instance the data will be pushed.
- logpull
Options string - Configuration string
- name string
- Logpush Job Name
- ownership
Challenge string - Ownership challenge token to prove destination ownership.
- cis_
id str - CIS instance crn
- cis_
logpush_ strjob_ id - cos str
- Information to identify the COS bucket where the data will be pushed.
- dataset str
- Dataset to be pulled
- destination_
conf str - Uniquely identifies a resource (such as an s3 bucket) where data will be pushed.
- domain_
id str - Associated CIS domain
- enabled bool
- Whether the logpush job enabled or not
- error_
message str - The last failure message.
- frequency str
- The frequency at which CIS sends batches of logs to your destination
- ibmcl
Cis
Logpush Job Ibmcl Args - Information to identify the IBM Cloud Log instance where the data will be pushed.
- job_
id float - Associated CIS domain
- last_
complete str - Records the last time that logs have been successfully pushed.
- last_
error str - Records the last time the job failed.
- logdna str
- Information to identify the LogDNA instance the data will be pushed.
- logpull_
options str - Configuration string
- name str
- Logpush Job Name
- ownership_
challenge str - Ownership challenge token to prove destination ownership.
- cis
Id String - CIS instance crn
- cis
Logpush StringJob Id - cos String
- Information to identify the COS bucket where the data will be pushed.
- dataset String
- Dataset to be pulled
- destination
Conf String - Uniquely identifies a resource (such as an s3 bucket) where data will be pushed.
- domain
Id String - Associated CIS domain
- enabled Boolean
- Whether the logpush job enabled or not
- error
Message String - The last failure message.
- frequency String
- The frequency at which CIS sends batches of logs to your destination
- ibmcl Property Map
- Information to identify the IBM Cloud Log instance where the data will be pushed.
- job
Id Number - Associated CIS domain
- last
Complete String - Records the last time that logs have been successfully pushed.
- last
Error String - Records the last time the job failed.
- logdna String
- Information to identify the LogDNA instance the data will be pushed.
- logpull
Options String - Configuration string
- name String
- Logpush Job Name
- ownership
Challenge String - Ownership challenge token to prove destination ownership.
Supporting Types
CisLogpushJobIbmcl, CisLogpushJobIbmclArgs
- Instance
Id string - ID of the IBM Cloud Log instance where you want to send logs.
- Api
Key string - IBM Cloud API key used to generate a token for pushing to your IBM Cloud Log instance.
- Region string
- Region where the IBM Cloud Log instance is located.
- Instance
Id string - ID of the IBM Cloud Log instance where you want to send logs.
- Api
Key string - IBM Cloud API key used to generate a token for pushing to your IBM Cloud Log instance.
- Region string
- Region where the IBM Cloud Log instance is located.
- instance
Id String - ID of the IBM Cloud Log instance where you want to send logs.
- api
Key String - IBM Cloud API key used to generate a token for pushing to your IBM Cloud Log instance.
- region String
- Region where the IBM Cloud Log instance is located.
- instance
Id string - ID of the IBM Cloud Log instance where you want to send logs.
- api
Key string - IBM Cloud API key used to generate a token for pushing to your IBM Cloud Log instance.
- region string
- Region where the IBM Cloud Log instance is located.
- instance_
id str - ID of the IBM Cloud Log instance where you want to send logs.
- api_
key str - IBM Cloud API key used to generate a token for pushing to your IBM Cloud Log instance.
- region str
- Region where the IBM Cloud Log instance is located.
- instance
Id String - ID of the IBM Cloud Log instance where you want to send logs.
- api
Key String - IBM Cloud API key used to generate a token for pushing to your IBM Cloud Log instance.
- region String
- Region where the IBM Cloud Log instance is located.
Package Details
- Repository
- ibm ibm-cloud/terraform-provider-ibm
- License
- Notes
- This Pulumi package is based on the
ibm
Terraform Provider.