Skip to content

Latest commit

 

History

History
278 lines (153 loc) · 11.6 KB

DataStreamingPostBody.md

File metadata and controls

278 lines (153 loc) · 11.6 KB

DataStreamingPostBody

Properties

Name Type Description Notes
Name Pointer to string [optional]
TemplateId Pointer to int32 Options: * `2` - Edge Applications Event Collector * `4` - WAF Event Collector * `86` - Edge Functions Event Collector * `184` - Edge Applications + WAF Event Collector * `251` - Activity History Collector [optional]
DataSource Pointer to NullableString Options: * `http` - Edge Applications (default) * `waf` - WAF Events * `cells_console` - Edge Functions * `rtm_activity` - Activity History [optional]
Active Pointer to NullableBool [optional] [default to true]
Endpoint Pointer to string Options' examples: - `Standard HTTP/HTTPS POST` - { "endpoint_type": "standard", "url": "http://example.com\", "log_line_separator": "\n", "payload_format": "$dataset", "max_size": 1000024 } - `Apache Kafka` - { "endpoint_type": "kafka", "kafka_topic": "example_topic", "bootstrap_servers": "kafka-server.com:9092,kafka-server-2.com:9092", "use_tls":true } - `Simple Storage Service (S3)` - { "endpoint_type": "s3", "access_key": "MYACCESSKEY", "region": "us-east-1", "object_key_prefix": "my_prefix_", "bucket_name": "bucket_example", "content_type": "plain/text", "host_url": "http://aws-host.com\", "secret_key": "MYSECRETKEY" } - `Google BigQuery` - { "endpoint_type": "big_query", "dataset_id": "my_dataset", "project_id": "my_project", "table_id": "my_table", "service_account_key": "{ "service_account_key": "key_content" }" } - `Elasticsearch` - { “endpoint_type”: "elasticsearch", “url”: “http://elasticsearch.com”, “api_key”: “XYZ_API_KEY” } - `AWS Kinesis Data Firehose` - { "endpoint_type": "aws_kinesis_firehose", "access_key": "MYACCESSKEY", "stream_name": "my_stream_name", "region": "us-east-1", "secret_key": "MYSECRETKEY" } - `Datadog` - { "endpoint_type": "datadog", "url": "https://http-intake.logs.datadoghq.com/v1/input\", "api_key": "MYAPIKEY" } - `IBM QRadar` - { "endpoint_type": "qradar", "url": "http://137.15.824.10:14440” } - `Azure Monitor` - { "endpoint_type": "azure_monitor", "log_type": "myLogType", "shared_key": "mysharedkey", "time_generated_field": "timeGeneratedField", "workspace_id": "anfhw-123sd-466gcs"} - `Azure Blob Storage` - { "endpoint_type": "azure_blob_storage", "storage_account": "mystorageaccount", "container_name": "log_container", "blob_sas_token": "fd56e23e1f12efe" } - `Splunk` - { "endpoint_type": "splunk", "url": "https://inputs.splunk-client.splunkcloud.com:1337/services/collector\", "api_key": "MYAPIKEY" } [optional]
DomainsIds Pointer to []int32 Note: * Field not used with the rtm_activity data source. [optional]
AllDomains Pointer to NullableBool Note: * Field not used with the rtm_activity data source. [optional] [default to false]
SamplingPercentage Pointer to NullableInt32 Note: * `Range` - From 0 to 100. * `To use:` Contact the sales team to activate this feature in your account. [optional]

Methods

NewDataStreamingPostBody

func NewDataStreamingPostBody() *DataStreamingPostBody

NewDataStreamingPostBody instantiates a new DataStreamingPostBody object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

NewDataStreamingPostBodyWithDefaults

func NewDataStreamingPostBodyWithDefaults() *DataStreamingPostBody

NewDataStreamingPostBodyWithDefaults instantiates a new DataStreamingPostBody object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

GetName

func (o *DataStreamingPostBody) GetName() string

GetName returns the Name field if non-nil, zero value otherwise.

GetNameOk

func (o *DataStreamingPostBody) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetName

func (o *DataStreamingPostBody) SetName(v string)

SetName sets Name field to given value.

HasName

func (o *DataStreamingPostBody) HasName() bool

HasName returns a boolean if a field has been set.

GetTemplateId

func (o *DataStreamingPostBody) GetTemplateId() int32

GetTemplateId returns the TemplateId field if non-nil, zero value otherwise.

GetTemplateIdOk

func (o *DataStreamingPostBody) GetTemplateIdOk() (*int32, bool)

GetTemplateIdOk returns a tuple with the TemplateId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetTemplateId

func (o *DataStreamingPostBody) SetTemplateId(v int32)

SetTemplateId sets TemplateId field to given value.

HasTemplateId

func (o *DataStreamingPostBody) HasTemplateId() bool

HasTemplateId returns a boolean if a field has been set.

GetDataSource

func (o *DataStreamingPostBody) GetDataSource() string

GetDataSource returns the DataSource field if non-nil, zero value otherwise.

GetDataSourceOk

func (o *DataStreamingPostBody) GetDataSourceOk() (*string, bool)

GetDataSourceOk returns a tuple with the DataSource field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetDataSource

func (o *DataStreamingPostBody) SetDataSource(v string)

SetDataSource sets DataSource field to given value.

HasDataSource

func (o *DataStreamingPostBody) HasDataSource() bool

HasDataSource returns a boolean if a field has been set.

SetDataSourceNil

func (o *DataStreamingPostBody) SetDataSourceNil(b bool)

SetDataSourceNil sets the value for DataSource to be an explicit nil

UnsetDataSource

func (o *DataStreamingPostBody) UnsetDataSource()

UnsetDataSource ensures that no value is present for DataSource, not even an explicit nil

GetActive

func (o *DataStreamingPostBody) GetActive() bool

GetActive returns the Active field if non-nil, zero value otherwise.

GetActiveOk

func (o *DataStreamingPostBody) GetActiveOk() (*bool, bool)

GetActiveOk returns a tuple with the Active field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetActive

func (o *DataStreamingPostBody) SetActive(v bool)

SetActive sets Active field to given value.

HasActive

func (o *DataStreamingPostBody) HasActive() bool

HasActive returns a boolean if a field has been set.

SetActiveNil

func (o *DataStreamingPostBody) SetActiveNil(b bool)

SetActiveNil sets the value for Active to be an explicit nil

UnsetActive

func (o *DataStreamingPostBody) UnsetActive()

UnsetActive ensures that no value is present for Active, not even an explicit nil

GetEndpoint

func (o *DataStreamingPostBody) GetEndpoint() string

GetEndpoint returns the Endpoint field if non-nil, zero value otherwise.

GetEndpointOk

func (o *DataStreamingPostBody) GetEndpointOk() (*string, bool)

GetEndpointOk returns a tuple with the Endpoint field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetEndpoint

func (o *DataStreamingPostBody) SetEndpoint(v string)

SetEndpoint sets Endpoint field to given value.

HasEndpoint

func (o *DataStreamingPostBody) HasEndpoint() bool

HasEndpoint returns a boolean if a field has been set.

GetDomainsIds

func (o *DataStreamingPostBody) GetDomainsIds() []int32

GetDomainsIds returns the DomainsIds field if non-nil, zero value otherwise.

GetDomainsIdsOk

func (o *DataStreamingPostBody) GetDomainsIdsOk() (*[]int32, bool)

GetDomainsIdsOk returns a tuple with the DomainsIds field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetDomainsIds

func (o *DataStreamingPostBody) SetDomainsIds(v []int32)

SetDomainsIds sets DomainsIds field to given value.

HasDomainsIds

func (o *DataStreamingPostBody) HasDomainsIds() bool

HasDomainsIds returns a boolean if a field has been set.

GetAllDomains

func (o *DataStreamingPostBody) GetAllDomains() bool

GetAllDomains returns the AllDomains field if non-nil, zero value otherwise.

GetAllDomainsOk

func (o *DataStreamingPostBody) GetAllDomainsOk() (*bool, bool)

GetAllDomainsOk returns a tuple with the AllDomains field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetAllDomains

func (o *DataStreamingPostBody) SetAllDomains(v bool)

SetAllDomains sets AllDomains field to given value.

HasAllDomains

func (o *DataStreamingPostBody) HasAllDomains() bool

HasAllDomains returns a boolean if a field has been set.

SetAllDomainsNil

func (o *DataStreamingPostBody) SetAllDomainsNil(b bool)

SetAllDomainsNil sets the value for AllDomains to be an explicit nil

UnsetAllDomains

func (o *DataStreamingPostBody) UnsetAllDomains()

UnsetAllDomains ensures that no value is present for AllDomains, not even an explicit nil

GetSamplingPercentage

func (o *DataStreamingPostBody) GetSamplingPercentage() int32

GetSamplingPercentage returns the SamplingPercentage field if non-nil, zero value otherwise.

GetSamplingPercentageOk

func (o *DataStreamingPostBody) GetSamplingPercentageOk() (*int32, bool)

GetSamplingPercentageOk returns a tuple with the SamplingPercentage field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetSamplingPercentage

func (o *DataStreamingPostBody) SetSamplingPercentage(v int32)

SetSamplingPercentage sets SamplingPercentage field to given value.

HasSamplingPercentage

func (o *DataStreamingPostBody) HasSamplingPercentage() bool

HasSamplingPercentage returns a boolean if a field has been set.

SetSamplingPercentageNil

func (o *DataStreamingPostBody) SetSamplingPercentageNil(b bool)

SetSamplingPercentageNil sets the value for SamplingPercentage to be an explicit nil

UnsetSamplingPercentage

func (o *DataStreamingPostBody) UnsetSamplingPercentage()

UnsetSamplingPercentage ensures that no value is present for SamplingPercentage, not even an explicit nil

[Back to Model list] [Back to API list] [Back to README]