DataFeed

Provides a NS1 Data Feed resource. This can be used to create, modify, and delete data feeds.

NS1 Documentation

Datafeed Api Doc

Create a DataFeed Resource

def DataFeed(resource_name, opts=None, config=None, name=None, source_id=None, __props__=None);
func NewDataFeed(ctx *Context, name string, args DataFeedArgs, opts ...ResourceOption) (*DataFeed, error)
public DataFeed(string name, DataFeedArgs args, CustomResourceOptions? opts = null)
name string
The unique name of the resource.
args DataFeedArgs
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 DataFeedArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args DataFeedArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

DataFeed Resource Properties

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

Inputs

The DataFeed resource accepts the following input properties:

SourceId string

The data source id that this feed is connected to.

Config Dictionary<string, object>

The feeds configuration matching the specification in feed_config from /data/sourcetypes.

Name string

The free form name of the data feed.

SourceId string

The data source id that this feed is connected to.

Config map[string]interface{}

The feeds configuration matching the specification in feed_config from /data/sourcetypes.

Name string

The free form name of the data feed.

sourceId string

The data source id that this feed is connected to.

config {[key: string]: any}

The feeds configuration matching the specification in feed_config from /data/sourcetypes.

name string

The free form name of the data feed.

source_id str

The data source id that this feed is connected to.

config Dict[str, Any]

The feeds configuration matching the specification in feed_config from /data/sourcetypes.

name str

The free form name of the data feed.

Outputs

All input properties are implicitly available as output properties. Additionally, the DataFeed 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 DataFeed Resource

Get an existing DataFeed 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?: DataFeedState, opts?: CustomResourceOptions): DataFeed
static get(resource_name, id, opts=None, config=None, name=None, source_id=None, __props__=None);
func GetDataFeed(ctx *Context, name string, id IDInput, state *DataFeedState, opts ...ResourceOption) (*DataFeed, error)
public static DataFeed Get(string name, Input<string> id, DataFeedState? 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:

Config Dictionary<string, object>

The feeds configuration matching the specification in feed_config from /data/sourcetypes.

Name string

The free form name of the data feed.

SourceId string

The data source id that this feed is connected to.

Config map[string]interface{}

The feeds configuration matching the specification in feed_config from /data/sourcetypes.

Name string

The free form name of the data feed.

SourceId string

The data source id that this feed is connected to.

config {[key: string]: any}

The feeds configuration matching the specification in feed_config from /data/sourcetypes.

name string

The free form name of the data feed.

sourceId string

The data source id that this feed is connected to.

config Dict[str, Any]

The feeds configuration matching the specification in feed_config from /data/sourcetypes.

name str

The free form name of the data feed.

source_id str

The data source id that this feed is connected to.

Package Details

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