airbyte.SourceStockdata
Explore with Pulumi AI
SourceStockdata Resource
Example Usage
Coming soon!
Coming soon!
Coming soon!
Coming soon!
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.airbyte.SourceStockdata;
import com.pulumi.airbyte.SourceStockdataArgs;
import com.pulumi.airbyte.inputs.SourceStockdataConfigurationArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }
    public static void stack(Context ctx) {
        var mySourceStockdata = new SourceStockdata("mySourceStockdata", SourceStockdataArgs.builder()
            .configuration(SourceStockdataConfigurationArgs.builder()
                .api_key("...my_api_key...")
                .filter_entities(false)
                .industries("{ \"see\": \"documentation\" }")
                .start_date("2020-03-12T00:18:35.880Z")
                .symbols("{ \"see\": \"documentation\" }")
                .build())
            .definitionId("2285839c-63a1-44fe-a042-843a2638ff46")
            .secretId("...my_secret_id...")
            .workspaceId("1c13c3fa-3cb8-4eaf-9c13-a41910c86205")
            .build());
    }
}
resources:
  mySourceStockdata:
    type: airbyte:SourceStockdata
    properties:
      configuration:
        api_key: '...my_api_key...'
        filter_entities: false
        industries:
          - '{ "see": "documentation" }'
        start_date: 2020-03-12T00:18:35.880Z
        symbols:
          - '{ "see": "documentation" }'
      definitionId: 2285839c-63a1-44fe-a042-843a2638ff46
      secretId: '...my_secret_id...'
      workspaceId: 1c13c3fa-3cb8-4eaf-9c13-a41910c86205
Create SourceStockdata Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new SourceStockdata(name: string, args: SourceStockdataArgs, opts?: CustomResourceOptions);@overload
def SourceStockdata(resource_name: str,
                    args: SourceStockdataArgs,
                    opts: Optional[ResourceOptions] = None)
@overload
def SourceStockdata(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    configuration: Optional[SourceStockdataConfigurationArgs] = None,
                    workspace_id: Optional[str] = None,
                    definition_id: Optional[str] = None,
                    name: Optional[str] = None,
                    secret_id: Optional[str] = None)func NewSourceStockdata(ctx *Context, name string, args SourceStockdataArgs, opts ...ResourceOption) (*SourceStockdata, error)public SourceStockdata(string name, SourceStockdataArgs args, CustomResourceOptions? opts = null)
public SourceStockdata(String name, SourceStockdataArgs args)
public SourceStockdata(String name, SourceStockdataArgs args, CustomResourceOptions options)
type: airbyte:SourceStockdata
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 SourceStockdataArgs
- 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 SourceStockdataArgs
- 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 SourceStockdataArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SourceStockdataArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SourceStockdataArgs
- 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 sourceStockdataResource = new Airbyte.SourceStockdata("sourceStockdataResource", new()
{
    Configuration = new Airbyte.Inputs.SourceStockdataConfigurationArgs
    {
        ApiKey = "string",
        StartDate = "string",
        FilterEntities = false,
        Industries = new[]
        {
            "string",
        },
        Symbols = new[]
        {
            "string",
        },
    },
    WorkspaceId = "string",
    DefinitionId = "string",
    Name = "string",
    SecretId = "string",
});
example, err := airbyte.NewSourceStockdata(ctx, "sourceStockdataResource", &airbyte.SourceStockdataArgs{
Configuration: &.SourceStockdataConfigurationArgs{
ApiKey: pulumi.String("string"),
StartDate: pulumi.String("string"),
FilterEntities: pulumi.Bool(false),
Industries: pulumi.StringArray{
pulumi.String("string"),
},
Symbols: pulumi.StringArray{
pulumi.String("string"),
},
},
WorkspaceId: pulumi.String("string"),
DefinitionId: pulumi.String("string"),
Name: pulumi.String("string"),
SecretId: pulumi.String("string"),
})
var sourceStockdataResource = new SourceStockdata("sourceStockdataResource", SourceStockdataArgs.builder()
    .configuration(SourceStockdataConfigurationArgs.builder()
        .apiKey("string")
        .startDate("string")
        .filterEntities(false)
        .industries("string")
        .symbols("string")
        .build())
    .workspaceId("string")
    .definitionId("string")
    .name("string")
    .secretId("string")
    .build());
source_stockdata_resource = airbyte.SourceStockdata("sourceStockdataResource",
    configuration={
        "api_key": "string",
        "start_date": "string",
        "filter_entities": False,
        "industries": ["string"],
        "symbols": ["string"],
    },
    workspace_id="string",
    definition_id="string",
    name="string",
    secret_id="string")
const sourceStockdataResource = new airbyte.SourceStockdata("sourceStockdataResource", {
    configuration: {
        apiKey: "string",
        startDate: "string",
        filterEntities: false,
        industries: ["string"],
        symbols: ["string"],
    },
    workspaceId: "string",
    definitionId: "string",
    name: "string",
    secretId: "string",
});
type: airbyte:SourceStockdata
properties:
    configuration:
        apiKey: string
        filterEntities: false
        industries:
            - string
        startDate: string
        symbols:
            - string
    definitionId: string
    name: string
    secretId: string
    workspaceId: string
SourceStockdata 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 SourceStockdata resource accepts the following input properties:
- Configuration
SourceStockdata Configuration 
- WorkspaceId string
- DefinitionId string
- The UUID of the connector definition. One of configuration.sourceType or definitionId must be provided. Requires replacement if changed.
- Name string
- Name of the source e.g. dev-mysql-instance.
- SecretId string
- Optional secretID obtained through the public API OAuth redirect flow. Requires replacement if changed.
- Configuration
SourceStockdata Configuration Args 
- WorkspaceId string
- DefinitionId string
- The UUID of the connector definition. One of configuration.sourceType or definitionId must be provided. Requires replacement if changed.
- Name string
- Name of the source e.g. dev-mysql-instance.
- SecretId string
- Optional secretID obtained through the public API OAuth redirect flow. Requires replacement if changed.
- configuration
SourceStockdata Configuration 
- workspaceId String
- definitionId String
- The UUID of the connector definition. One of configuration.sourceType or definitionId must be provided. Requires replacement if changed.
- name String
- Name of the source e.g. dev-mysql-instance.
- secretId String
- Optional secretID obtained through the public API OAuth redirect flow. Requires replacement if changed.
- configuration
SourceStockdata Configuration 
- workspaceId string
- definitionId string
- The UUID of the connector definition. One of configuration.sourceType or definitionId must be provided. Requires replacement if changed.
- name string
- Name of the source e.g. dev-mysql-instance.
- secretId string
- Optional secretID obtained through the public API OAuth redirect flow. Requires replacement if changed.
- configuration
SourceStockdata Configuration Args 
- workspace_id str
- definition_id str
- The UUID of the connector definition. One of configuration.sourceType or definitionId must be provided. Requires replacement if changed.
- name str
- Name of the source e.g. dev-mysql-instance.
- secret_id str
- Optional secretID obtained through the public API OAuth redirect flow. Requires replacement if changed.
- configuration Property Map
- workspaceId String
- definitionId String
- The UUID of the connector definition. One of configuration.sourceType or definitionId must be provided. Requires replacement if changed.
- name String
- Name of the source e.g. dev-mysql-instance.
- secretId String
- Optional secretID obtained through the public API OAuth redirect flow. Requires replacement if changed.
Outputs
All input properties are implicitly available as output properties. Additionally, the SourceStockdata resource produces the following output properties:
- CreatedAt double
- Id string
- The provider-assigned unique ID for this managed resource.
- SourceId string
- SourceType string
- CreatedAt float64
- Id string
- The provider-assigned unique ID for this managed resource.
- SourceId string
- SourceType string
- createdAt Double
- id String
- The provider-assigned unique ID for this managed resource.
- sourceId String
- sourceType String
- createdAt number
- id string
- The provider-assigned unique ID for this managed resource.
- sourceId string
- sourceType string
- created_at float
- id str
- The provider-assigned unique ID for this managed resource.
- source_id str
- source_type str
- createdAt Number
- id String
- The provider-assigned unique ID for this managed resource.
- sourceId String
- sourceType String
Look up Existing SourceStockdata Resource
Get an existing SourceStockdata 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?: SourceStockdataState, opts?: CustomResourceOptions): SourceStockdata@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        configuration: Optional[SourceStockdataConfigurationArgs] = None,
        created_at: Optional[float] = None,
        definition_id: Optional[str] = None,
        name: Optional[str] = None,
        secret_id: Optional[str] = None,
        source_id: Optional[str] = None,
        source_type: Optional[str] = None,
        workspace_id: Optional[str] = None) -> SourceStockdatafunc GetSourceStockdata(ctx *Context, name string, id IDInput, state *SourceStockdataState, opts ...ResourceOption) (*SourceStockdata, error)public static SourceStockdata Get(string name, Input<string> id, SourceStockdataState? state, CustomResourceOptions? opts = null)public static SourceStockdata get(String name, Output<String> id, SourceStockdataState state, CustomResourceOptions options)resources:  _:    type: airbyte:SourceStockdata    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.
- Configuration
SourceStockdata Configuration 
- CreatedAt double
- DefinitionId string
- The UUID of the connector definition. One of configuration.sourceType or definitionId must be provided. Requires replacement if changed.
- Name string
- Name of the source e.g. dev-mysql-instance.
- SecretId string
- Optional secretID obtained through the public API OAuth redirect flow. Requires replacement if changed.
- SourceId string
- SourceType string
- WorkspaceId string
- Configuration
SourceStockdata Configuration Args 
- CreatedAt float64
- DefinitionId string
- The UUID of the connector definition. One of configuration.sourceType or definitionId must be provided. Requires replacement if changed.
- Name string
- Name of the source e.g. dev-mysql-instance.
- SecretId string
- Optional secretID obtained through the public API OAuth redirect flow. Requires replacement if changed.
- SourceId string
- SourceType string
- WorkspaceId string
- configuration
SourceStockdata Configuration 
- createdAt Double
- definitionId String
- The UUID of the connector definition. One of configuration.sourceType or definitionId must be provided. Requires replacement if changed.
- name String
- Name of the source e.g. dev-mysql-instance.
- secretId String
- Optional secretID obtained through the public API OAuth redirect flow. Requires replacement if changed.
- sourceId String
- sourceType String
- workspaceId String
- configuration
SourceStockdata Configuration 
- createdAt number
- definitionId string
- The UUID of the connector definition. One of configuration.sourceType or definitionId must be provided. Requires replacement if changed.
- name string
- Name of the source e.g. dev-mysql-instance.
- secretId string
- Optional secretID obtained through the public API OAuth redirect flow. Requires replacement if changed.
- sourceId string
- sourceType string
- workspaceId string
- configuration
SourceStockdata Configuration Args 
- created_at float
- definition_id str
- The UUID of the connector definition. One of configuration.sourceType or definitionId must be provided. Requires replacement if changed.
- name str
- Name of the source e.g. dev-mysql-instance.
- secret_id str
- Optional secretID obtained through the public API OAuth redirect flow. Requires replacement if changed.
- source_id str
- source_type str
- workspace_id str
- configuration Property Map
- createdAt Number
- definitionId String
- The UUID of the connector definition. One of configuration.sourceType or definitionId must be provided. Requires replacement if changed.
- name String
- Name of the source e.g. dev-mysql-instance.
- secretId String
- Optional secretID obtained through the public API OAuth redirect flow. Requires replacement if changed.
- sourceId String
- sourceType String
- workspaceId String
Supporting Types
SourceStockdataConfiguration, SourceStockdataConfigurationArgs      
- ApiKey string
- StartDate string
- FilterEntities bool
- Default: false
- Industries List<string>
- Specify the industries of entities which have been identified within the article.
- Symbols List<string>
- ApiKey string
- StartDate string
- FilterEntities bool
- Default: false
- Industries []string
- Specify the industries of entities which have been identified within the article.
- Symbols []string
- apiKey String
- startDate String
- filterEntities Boolean
- Default: false
- industries List<String>
- Specify the industries of entities which have been identified within the article.
- symbols List<String>
- apiKey string
- startDate string
- filterEntities boolean
- Default: false
- industries string[]
- Specify the industries of entities which have been identified within the article.
- symbols string[]
- api_key str
- start_date str
- filter_entities bool
- Default: false
- industries Sequence[str]
- Specify the industries of entities which have been identified within the article.
- symbols Sequence[str]
- apiKey String
- startDate String
- filterEntities Boolean
- Default: false
- industries List<String>
- Specify the industries of entities which have been identified within the article.
- symbols List<String>
Import
$ pulumi import airbyte:index/sourceStockdata:SourceStockdata my_airbyte_source_stockdata ""
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- airbyte airbytehq/terraform-provider-airbyte
- License
- Notes
- This Pulumi package is based on the airbyteTerraform Provider.