airbyte.SourceNasa
Explore with Pulumi AI
SourceNasa 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.SourceNasa;
import com.pulumi.airbyte.SourceNasaArgs;
import com.pulumi.airbyte.inputs.SourceNasaConfigurationArgs;
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 mySourceNasa = new SourceNasa("mySourceNasa", SourceNasaArgs.builder()
            .configuration(SourceNasaConfigurationArgs.builder()
                .api_key("...my_api_key...")
                .concept_tags(false)
                .count(93)
                .end_date("2022-10-20")
                .start_date("2022-10-20")
                .thumbs(false)
                .build())
            .definitionId("93590b9d-1655-48aa-8785-d58907260d78")
            .secretId("...my_secret_id...")
            .workspaceId("5ecbeb7a-01f7-4d75-abde-9e3c07f8aaf8")
            .build());
    }
}
resources:
  mySourceNasa:
    type: airbyte:SourceNasa
    properties:
      configuration:
        api_key: '...my_api_key...'
        concept_tags: false
        count: 93
        end_date: 2022-10-20
        start_date: 2022-10-20
        thumbs: false
      definitionId: 93590b9d-1655-48aa-8785-d58907260d78
      secretId: '...my_secret_id...'
      workspaceId: 5ecbeb7a-01f7-4d75-abde-9e3c07f8aaf8
Create SourceNasa Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new SourceNasa(name: string, args: SourceNasaArgs, opts?: CustomResourceOptions);@overload
def SourceNasa(resource_name: str,
               args: SourceNasaArgs,
               opts: Optional[ResourceOptions] = None)
@overload
def SourceNasa(resource_name: str,
               opts: Optional[ResourceOptions] = None,
               configuration: Optional[SourceNasaConfigurationArgs] = None,
               workspace_id: Optional[str] = None,
               definition_id: Optional[str] = None,
               name: Optional[str] = None,
               secret_id: Optional[str] = None)func NewSourceNasa(ctx *Context, name string, args SourceNasaArgs, opts ...ResourceOption) (*SourceNasa, error)public SourceNasa(string name, SourceNasaArgs args, CustomResourceOptions? opts = null)
public SourceNasa(String name, SourceNasaArgs args)
public SourceNasa(String name, SourceNasaArgs args, CustomResourceOptions options)
type: airbyte:SourceNasa
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 SourceNasaArgs
- 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 SourceNasaArgs
- 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 SourceNasaArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SourceNasaArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SourceNasaArgs
- 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 sourceNasaResource = new Airbyte.SourceNasa("sourceNasaResource", new()
{
    Configuration = new Airbyte.Inputs.SourceNasaConfigurationArgs
    {
        ApiKey = "string",
        ConceptTags = false,
        Count = 0,
        EndDate = "string",
        StartDate = "string",
        Thumbs = false,
    },
    WorkspaceId = "string",
    DefinitionId = "string",
    Name = "string",
    SecretId = "string",
});
example, err := airbyte.NewSourceNasa(ctx, "sourceNasaResource", &airbyte.SourceNasaArgs{
Configuration: &.SourceNasaConfigurationArgs{
ApiKey: pulumi.String("string"),
ConceptTags: pulumi.Bool(false),
Count: pulumi.Float64(0),
EndDate: pulumi.String("string"),
StartDate: pulumi.String("string"),
Thumbs: pulumi.Bool(false),
},
WorkspaceId: pulumi.String("string"),
DefinitionId: pulumi.String("string"),
Name: pulumi.String("string"),
SecretId: pulumi.String("string"),
})
var sourceNasaResource = new SourceNasa("sourceNasaResource", SourceNasaArgs.builder()
    .configuration(SourceNasaConfigurationArgs.builder()
        .apiKey("string")
        .conceptTags(false)
        .count(0)
        .endDate("string")
        .startDate("string")
        .thumbs(false)
        .build())
    .workspaceId("string")
    .definitionId("string")
    .name("string")
    .secretId("string")
    .build());
source_nasa_resource = airbyte.SourceNasa("sourceNasaResource",
    configuration={
        "api_key": "string",
        "concept_tags": False,
        "count": 0,
        "end_date": "string",
        "start_date": "string",
        "thumbs": False,
    },
    workspace_id="string",
    definition_id="string",
    name="string",
    secret_id="string")
const sourceNasaResource = new airbyte.SourceNasa("sourceNasaResource", {
    configuration: {
        apiKey: "string",
        conceptTags: false,
        count: 0,
        endDate: "string",
        startDate: "string",
        thumbs: false,
    },
    workspaceId: "string",
    definitionId: "string",
    name: "string",
    secretId: "string",
});
type: airbyte:SourceNasa
properties:
    configuration:
        apiKey: string
        conceptTags: false
        count: 0
        endDate: string
        startDate: string
        thumbs: false
    definitionId: string
    name: string
    secretId: string
    workspaceId: string
SourceNasa 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 SourceNasa resource accepts the following input properties:
- Configuration
SourceNasa 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
SourceNasa 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
SourceNasa 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
SourceNasa 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
SourceNasa 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 SourceNasa 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 SourceNasa Resource
Get an existing SourceNasa 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?: SourceNasaState, opts?: CustomResourceOptions): SourceNasa@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        configuration: Optional[SourceNasaConfigurationArgs] = 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) -> SourceNasafunc GetSourceNasa(ctx *Context, name string, id IDInput, state *SourceNasaState, opts ...ResourceOption) (*SourceNasa, error)public static SourceNasa Get(string name, Input<string> id, SourceNasaState? state, CustomResourceOptions? opts = null)public static SourceNasa get(String name, Output<String> id, SourceNasaState state, CustomResourceOptions options)resources:  _:    type: airbyte:SourceNasa    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
SourceNasa 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
SourceNasa 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
SourceNasa 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
SourceNasa 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
SourceNasa 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
SourceNasaConfiguration, SourceNasaConfigurationArgs      
- ApiKey string
- API access key used to retrieve data from the NASA APOD API.
- bool
- Indicates whether concept tags should be returned with the rest of the response. The concept tags are not necessarily included in the explanation, but rather derived from common search tags that are associated with the description text. (Better than just pure text search.) Defaults to False. Default: false
- Count double
- A positive integer, no greater than 100. If this is specified then countrandomly chosen images will be returned in a JSON array. Cannot be used in conjunction withdateorstart_dateandend_date.
- EndDate string
- Indicates that end of a date range. If start_dateis specified without anend_datethenend_datedefaults to the current date.
- StartDate string
- Indicates the start of a date range. All images in the range from start_datetoend_datewill be returned in a JSON array. Must be after 1995-06-16, the first day an APOD picture was posted. There are no images for tomorrow available through this API.
- Thumbs bool
- Indicates whether the API should return a thumbnail image URL for video files. If set to True, the API returns URL of video thumbnail. If an APOD is not a video, this parameter is ignored. Default: false
- ApiKey string
- API access key used to retrieve data from the NASA APOD API.
- bool
- Indicates whether concept tags should be returned with the rest of the response. The concept tags are not necessarily included in the explanation, but rather derived from common search tags that are associated with the description text. (Better than just pure text search.) Defaults to False. Default: false
- Count float64
- A positive integer, no greater than 100. If this is specified then countrandomly chosen images will be returned in a JSON array. Cannot be used in conjunction withdateorstart_dateandend_date.
- EndDate string
- Indicates that end of a date range. If start_dateis specified without anend_datethenend_datedefaults to the current date.
- StartDate string
- Indicates the start of a date range. All images in the range from start_datetoend_datewill be returned in a JSON array. Must be after 1995-06-16, the first day an APOD picture was posted. There are no images for tomorrow available through this API.
- Thumbs bool
- Indicates whether the API should return a thumbnail image URL for video files. If set to True, the API returns URL of video thumbnail. If an APOD is not a video, this parameter is ignored. Default: false
- apiKey String
- API access key used to retrieve data from the NASA APOD API.
- Boolean
- Indicates whether concept tags should be returned with the rest of the response. The concept tags are not necessarily included in the explanation, but rather derived from common search tags that are associated with the description text. (Better than just pure text search.) Defaults to False. Default: false
- count Double
- A positive integer, no greater than 100. If this is specified then countrandomly chosen images will be returned in a JSON array. Cannot be used in conjunction withdateorstart_dateandend_date.
- endDate String
- Indicates that end of a date range. If start_dateis specified without anend_datethenend_datedefaults to the current date.
- startDate String
- Indicates the start of a date range. All images in the range from start_datetoend_datewill be returned in a JSON array. Must be after 1995-06-16, the first day an APOD picture was posted. There are no images for tomorrow available through this API.
- thumbs Boolean
- Indicates whether the API should return a thumbnail image URL for video files. If set to True, the API returns URL of video thumbnail. If an APOD is not a video, this parameter is ignored. Default: false
- apiKey string
- API access key used to retrieve data from the NASA APOD API.
- boolean
- Indicates whether concept tags should be returned with the rest of the response. The concept tags are not necessarily included in the explanation, but rather derived from common search tags that are associated with the description text. (Better than just pure text search.) Defaults to False. Default: false
- count number
- A positive integer, no greater than 100. If this is specified then countrandomly chosen images will be returned in a JSON array. Cannot be used in conjunction withdateorstart_dateandend_date.
- endDate string
- Indicates that end of a date range. If start_dateis specified without anend_datethenend_datedefaults to the current date.
- startDate string
- Indicates the start of a date range. All images in the range from start_datetoend_datewill be returned in a JSON array. Must be after 1995-06-16, the first day an APOD picture was posted. There are no images for tomorrow available through this API.
- thumbs boolean
- Indicates whether the API should return a thumbnail image URL for video files. If set to True, the API returns URL of video thumbnail. If an APOD is not a video, this parameter is ignored. Default: false
- api_key str
- API access key used to retrieve data from the NASA APOD API.
- bool
- Indicates whether concept tags should be returned with the rest of the response. The concept tags are not necessarily included in the explanation, but rather derived from common search tags that are associated with the description text. (Better than just pure text search.) Defaults to False. Default: false
- count float
- A positive integer, no greater than 100. If this is specified then countrandomly chosen images will be returned in a JSON array. Cannot be used in conjunction withdateorstart_dateandend_date.
- end_date str
- Indicates that end of a date range. If start_dateis specified without anend_datethenend_datedefaults to the current date.
- start_date str
- Indicates the start of a date range. All images in the range from start_datetoend_datewill be returned in a JSON array. Must be after 1995-06-16, the first day an APOD picture was posted. There are no images for tomorrow available through this API.
- thumbs bool
- Indicates whether the API should return a thumbnail image URL for video files. If set to True, the API returns URL of video thumbnail. If an APOD is not a video, this parameter is ignored. Default: false
- apiKey String
- API access key used to retrieve data from the NASA APOD API.
- Boolean
- Indicates whether concept tags should be returned with the rest of the response. The concept tags are not necessarily included in the explanation, but rather derived from common search tags that are associated with the description text. (Better than just pure text search.) Defaults to False. Default: false
- count Number
- A positive integer, no greater than 100. If this is specified then countrandomly chosen images will be returned in a JSON array. Cannot be used in conjunction withdateorstart_dateandend_date.
- endDate String
- Indicates that end of a date range. If start_dateis specified without anend_datethenend_datedefaults to the current date.
- startDate String
- Indicates the start of a date range. All images in the range from start_datetoend_datewill be returned in a JSON array. Must be after 1995-06-16, the first day an APOD picture was posted. There are no images for tomorrow available through this API.
- thumbs Boolean
- Indicates whether the API should return a thumbnail image URL for video files. If set to True, the API returns URL of video thumbnail. If an APOD is not a video, this parameter is ignored. Default: false
Import
$ pulumi import airbyte:index/sourceNasa:SourceNasa my_airbyte_source_nasa ""
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.