SourceYoutubeData Resource
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as airbyte from "@pulumi/airbyte";
const mySourceYoutubedata = new airbyte.SourceYoutubeData("my_source_youtubedata", {
configuration: {
additionalProperties: "{ \"see\": \"documentation\" }",
channelIds: ["{ \"see\": \"documentation\" }"],
credentials: {
googleOAuth20: {
clientId: "...my_client_id...",
clientSecret: "...my_client_secret...",
refreshToken: "...my_refresh_token...",
},
},
},
definitionId: "cdb1bde2-4dc4-455f-8a7b-0a7d5c5c78df",
name: "...my_name...",
secretId: "...my_secret_id...",
workspaceId: "a1f932b4-fbce-40e0-ada1-22a9e36747d6",
});
import pulumi
import pulumi_airbyte as airbyte
my_source_youtubedata = airbyte.SourceYoutubeData("my_source_youtubedata",
configuration={
"additional_properties": "{ \"see\": \"documentation\" }",
"channel_ids": ["{ \"see\": \"documentation\" }"],
"credentials": {
"google_o_auth20": {
"client_id": "...my_client_id...",
"client_secret": "...my_client_secret...",
"refresh_token": "...my_refresh_token...",
},
},
},
definition_id="cdb1bde2-4dc4-455f-8a7b-0a7d5c5c78df",
name="...my_name...",
secret_id="...my_secret_id...",
workspace_id="a1f932b4-fbce-40e0-ada1-22a9e36747d6")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/airbyte/airbyte"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := airbyte.NewSourceYoutubeData(ctx, "my_source_youtubedata", &airbyte.SourceYoutubeDataArgs{
Configuration: &airbyte.SourceYoutubeDataConfigurationArgs{
AdditionalProperties: pulumi.String("{ \"see\": \"documentation\" }"),
ChannelIds: pulumi.StringArray{
pulumi.String("{ \"see\": \"documentation\" }"),
},
Credentials: &airbyte.SourceYoutubeDataConfigurationCredentialsArgs{
GoogleOAuth20: &airbyte.SourceYoutubeDataConfigurationCredentialsGoogleOAuth20Args{
ClientId: pulumi.String("...my_client_id..."),
ClientSecret: pulumi.String("...my_client_secret..."),
RefreshToken: pulumi.String("...my_refresh_token..."),
},
},
},
DefinitionId: pulumi.String("cdb1bde2-4dc4-455f-8a7b-0a7d5c5c78df"),
Name: pulumi.String("...my_name..."),
SecretId: pulumi.String("...my_secret_id..."),
WorkspaceId: pulumi.String("a1f932b4-fbce-40e0-ada1-22a9e36747d6"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Airbyte = Pulumi.Airbyte;
return await Deployment.RunAsync(() =>
{
var mySourceYoutubedata = new Airbyte.SourceYoutubeData("my_source_youtubedata", new()
{
Configuration = new Airbyte.Inputs.SourceYoutubeDataConfigurationArgs
{
AdditionalProperties = "{ \"see\": \"documentation\" }",
ChannelIds = new[]
{
"{ \"see\": \"documentation\" }",
},
Credentials = new Airbyte.Inputs.SourceYoutubeDataConfigurationCredentialsArgs
{
GoogleOAuth20 = new Airbyte.Inputs.SourceYoutubeDataConfigurationCredentialsGoogleOAuth20Args
{
ClientId = "...my_client_id...",
ClientSecret = "...my_client_secret...",
RefreshToken = "...my_refresh_token...",
},
},
},
DefinitionId = "cdb1bde2-4dc4-455f-8a7b-0a7d5c5c78df",
Name = "...my_name...",
SecretId = "...my_secret_id...",
WorkspaceId = "a1f932b4-fbce-40e0-ada1-22a9e36747d6",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.airbyte.SourceYoutubeData;
import com.pulumi.airbyte.SourceYoutubeDataArgs;
import com.pulumi.airbyte.inputs.SourceYoutubeDataConfigurationArgs;
import com.pulumi.airbyte.inputs.SourceYoutubeDataConfigurationCredentialsArgs;
import com.pulumi.airbyte.inputs.SourceYoutubeDataConfigurationCredentialsGoogleOAuth20Args;
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 mySourceYoutubedata = new SourceYoutubeData("mySourceYoutubedata", SourceYoutubeDataArgs.builder()
.configuration(SourceYoutubeDataConfigurationArgs.builder()
.additionalProperties("{ \"see\": \"documentation\" }")
.channelIds("{ \"see\": \"documentation\" }")
.credentials(SourceYoutubeDataConfigurationCredentialsArgs.builder()
.googleOAuth20(SourceYoutubeDataConfigurationCredentialsGoogleOAuth20Args.builder()
.clientId("...my_client_id...")
.clientSecret("...my_client_secret...")
.refreshToken("...my_refresh_token...")
.build())
.build())
.build())
.definitionId("cdb1bde2-4dc4-455f-8a7b-0a7d5c5c78df")
.name("...my_name...")
.secretId("...my_secret_id...")
.workspaceId("a1f932b4-fbce-40e0-ada1-22a9e36747d6")
.build());
}
}
resources:
mySourceYoutubedata:
type: airbyte:SourceYoutubeData
name: my_source_youtubedata
properties:
configuration:
additionalProperties: '{ "see": "documentation" }'
channelIds:
- '{ "see": "documentation" }'
credentials:
googleOAuth20:
clientId: '...my_client_id...'
clientSecret: '...my_client_secret...'
refreshToken: '...my_refresh_token...'
definitionId: cdb1bde2-4dc4-455f-8a7b-0a7d5c5c78df
name: '...my_name...'
secretId: '...my_secret_id...'
workspaceId: a1f932b4-fbce-40e0-ada1-22a9e36747d6
Create SourceYoutubeData Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new SourceYoutubeData(name: string, args: SourceYoutubeDataArgs, opts?: CustomResourceOptions);@overload
def SourceYoutubeData(resource_name: str,
args: SourceYoutubeDataArgs,
opts: Optional[ResourceOptions] = None)
@overload
def SourceYoutubeData(resource_name: str,
opts: Optional[ResourceOptions] = None,
configuration: Optional[SourceYoutubeDataConfigurationArgs] = None,
workspace_id: Optional[str] = None,
definition_id: Optional[str] = None,
name: Optional[str] = None,
secret_id: Optional[str] = None)func NewSourceYoutubeData(ctx *Context, name string, args SourceYoutubeDataArgs, opts ...ResourceOption) (*SourceYoutubeData, error)public SourceYoutubeData(string name, SourceYoutubeDataArgs args, CustomResourceOptions? opts = null)
public SourceYoutubeData(String name, SourceYoutubeDataArgs args)
public SourceYoutubeData(String name, SourceYoutubeDataArgs args, CustomResourceOptions options)
type: airbyte:SourceYoutubeData
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 SourceYoutubeDataArgs
- 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 SourceYoutubeDataArgs
- 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 SourceYoutubeDataArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SourceYoutubeDataArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SourceYoutubeDataArgs
- 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 sourceYoutubeDataResource = new Airbyte.SourceYoutubeData("sourceYoutubeDataResource", new()
{
Configuration = new Airbyte.Inputs.SourceYoutubeDataConfigurationArgs
{
ChannelIds = new[]
{
"string",
},
Credentials = new Airbyte.Inputs.SourceYoutubeDataConfigurationCredentialsArgs
{
ApiKey = new Airbyte.Inputs.SourceYoutubeDataConfigurationCredentialsApiKeyArgs
{
ApiKey = "string",
},
GoogleOAuth20 = new Airbyte.Inputs.SourceYoutubeDataConfigurationCredentialsGoogleOAuth20Args
{
ClientId = "string",
ClientSecret = "string",
RefreshToken = "string",
},
},
AdditionalProperties = "string",
},
WorkspaceId = "string",
DefinitionId = "string",
Name = "string",
SecretId = "string",
});
example, err := airbyte.NewSourceYoutubeData(ctx, "sourceYoutubeDataResource", &airbyte.SourceYoutubeDataArgs{
Configuration: &airbyte.SourceYoutubeDataConfigurationArgs{
ChannelIds: pulumi.StringArray{
pulumi.String("string"),
},
Credentials: &airbyte.SourceYoutubeDataConfigurationCredentialsArgs{
ApiKey: &airbyte.SourceYoutubeDataConfigurationCredentialsApiKeyArgs{
ApiKey: pulumi.String("string"),
},
GoogleOAuth20: &airbyte.SourceYoutubeDataConfigurationCredentialsGoogleOAuth20Args{
ClientId: pulumi.String("string"),
ClientSecret: pulumi.String("string"),
RefreshToken: pulumi.String("string"),
},
},
AdditionalProperties: pulumi.String("string"),
},
WorkspaceId: pulumi.String("string"),
DefinitionId: pulumi.String("string"),
Name: pulumi.String("string"),
SecretId: pulumi.String("string"),
})
var sourceYoutubeDataResource = new SourceYoutubeData("sourceYoutubeDataResource", SourceYoutubeDataArgs.builder()
.configuration(SourceYoutubeDataConfigurationArgs.builder()
.channelIds("string")
.credentials(SourceYoutubeDataConfigurationCredentialsArgs.builder()
.apiKey(SourceYoutubeDataConfigurationCredentialsApiKeyArgs.builder()
.apiKey("string")
.build())
.googleOAuth20(SourceYoutubeDataConfigurationCredentialsGoogleOAuth20Args.builder()
.clientId("string")
.clientSecret("string")
.refreshToken("string")
.build())
.build())
.additionalProperties("string")
.build())
.workspaceId("string")
.definitionId("string")
.name("string")
.secretId("string")
.build());
source_youtube_data_resource = airbyte.SourceYoutubeData("sourceYoutubeDataResource",
configuration={
"channel_ids": ["string"],
"credentials": {
"api_key": {
"api_key": "string",
},
"google_o_auth20": {
"client_id": "string",
"client_secret": "string",
"refresh_token": "string",
},
},
"additional_properties": "string",
},
workspace_id="string",
definition_id="string",
name="string",
secret_id="string")
const sourceYoutubeDataResource = new airbyte.SourceYoutubeData("sourceYoutubeDataResource", {
configuration: {
channelIds: ["string"],
credentials: {
apiKey: {
apiKey: "string",
},
googleOAuth20: {
clientId: "string",
clientSecret: "string",
refreshToken: "string",
},
},
additionalProperties: "string",
},
workspaceId: "string",
definitionId: "string",
name: "string",
secretId: "string",
});
type: airbyte:SourceYoutubeData
properties:
configuration:
additionalProperties: string
channelIds:
- string
credentials:
apiKey:
apiKey: string
googleOAuth20:
clientId: string
clientSecret: string
refreshToken: string
definitionId: string
name: string
secretId: string
workspaceId: string
SourceYoutubeData 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 SourceYoutubeData resource accepts the following input properties:
- Configuration
Source
Youtube Data Configuration - The values required to configure the source. The schema for this must match the schema return by sourcedefinitionspecifications/get for the source.
- Workspace
Id string - Definition
Id string - The UUID of the connector definition. One of configuration.sourceType or definitionId must be provided. Default: "743a2a44-fd13-4109-a8fe-fb0e68f467f5"; Requires replacement if changed.
- Name string
- Name of the source e.g. dev-mysql-instance.
- Secret
Id string - Optional secretID obtained through the public API OAuth redirect flow. Requires replacement if changed.
- Configuration
Source
Youtube Data Configuration Args - The values required to configure the source. The schema for this must match the schema return by sourcedefinitionspecifications/get for the source.
- Workspace
Id string - Definition
Id string - The UUID of the connector definition. One of configuration.sourceType or definitionId must be provided. Default: "743a2a44-fd13-4109-a8fe-fb0e68f467f5"; Requires replacement if changed.
- Name string
- Name of the source e.g. dev-mysql-instance.
- Secret
Id string - Optional secretID obtained through the public API OAuth redirect flow. Requires replacement if changed.
- configuration
Source
Youtube Data Configuration - The values required to configure the source. The schema for this must match the schema return by sourcedefinitionspecifications/get for the source.
- workspace
Id String - definition
Id String - The UUID of the connector definition. One of configuration.sourceType or definitionId must be provided. Default: "743a2a44-fd13-4109-a8fe-fb0e68f467f5"; Requires replacement if changed.
- name String
- Name of the source e.g. dev-mysql-instance.
- secret
Id String - Optional secretID obtained through the public API OAuth redirect flow. Requires replacement if changed.
- configuration
Source
Youtube Data Configuration - The values required to configure the source. The schema for this must match the schema return by sourcedefinitionspecifications/get for the source.
- workspace
Id string - definition
Id string - The UUID of the connector definition. One of configuration.sourceType or definitionId must be provided. Default: "743a2a44-fd13-4109-a8fe-fb0e68f467f5"; Requires replacement if changed.
- name string
- Name of the source e.g. dev-mysql-instance.
- secret
Id string - Optional secretID obtained through the public API OAuth redirect flow. Requires replacement if changed.
- configuration
Source
Youtube Data Configuration Args - The values required to configure the source. The schema for this must match the schema return by sourcedefinitionspecifications/get for the source.
- workspace_
id str - definition_
id str - The UUID of the connector definition. One of configuration.sourceType or definitionId must be provided. Default: "743a2a44-fd13-4109-a8fe-fb0e68f467f5"; 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
- The values required to configure the source. The schema for this must match the schema return by sourcedefinitionspecifications/get for the source.
- workspace
Id String - definition
Id String - The UUID of the connector definition. One of configuration.sourceType or definitionId must be provided. Default: "743a2a44-fd13-4109-a8fe-fb0e68f467f5"; Requires replacement if changed.
- name String
- Name of the source e.g. dev-mysql-instance.
- secret
Id 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 SourceYoutubeData resource produces the following output properties:
- Created
At double - Id string
- The provider-assigned unique ID for this managed resource.
- Resource
Allocation SourceYoutube Data Resource Allocation - actor or actor definition specific resource requirements. if default is set, these are the requirements that should be set for ALL jobs run for this actor definition. it is overriden by the job type specific configurations. if not set, the platform will use defaults. these values will be overriden by configuration at the connection level.
- Source
Id string - Source
Type string
- Created
At float64 - Id string
- The provider-assigned unique ID for this managed resource.
- Resource
Allocation SourceYoutube Data Resource Allocation - actor or actor definition specific resource requirements. if default is set, these are the requirements that should be set for ALL jobs run for this actor definition. it is overriden by the job type specific configurations. if not set, the platform will use defaults. these values will be overriden by configuration at the connection level.
- Source
Id string - Source
Type string
- created
At Double - id String
- The provider-assigned unique ID for this managed resource.
- resource
Allocation SourceYoutube Data Resource Allocation - actor or actor definition specific resource requirements. if default is set, these are the requirements that should be set for ALL jobs run for this actor definition. it is overriden by the job type specific configurations. if not set, the platform will use defaults. these values will be overriden by configuration at the connection level.
- source
Id String - source
Type String
- created
At number - id string
- The provider-assigned unique ID for this managed resource.
- resource
Allocation SourceYoutube Data Resource Allocation - actor or actor definition specific resource requirements. if default is set, these are the requirements that should be set for ALL jobs run for this actor definition. it is overriden by the job type specific configurations. if not set, the platform will use defaults. these values will be overriden by configuration at the connection level.
- source
Id string - source
Type string
- created_
at float - id str
- The provider-assigned unique ID for this managed resource.
- resource_
allocation SourceYoutube Data Resource Allocation - actor or actor definition specific resource requirements. if default is set, these are the requirements that should be set for ALL jobs run for this actor definition. it is overriden by the job type specific configurations. if not set, the platform will use defaults. these values will be overriden by configuration at the connection level.
- source_
id str - source_
type str
- created
At Number - id String
- The provider-assigned unique ID for this managed resource.
- resource
Allocation Property Map - actor or actor definition specific resource requirements. if default is set, these are the requirements that should be set for ALL jobs run for this actor definition. it is overriden by the job type specific configurations. if not set, the platform will use defaults. these values will be overriden by configuration at the connection level.
- source
Id String - source
Type String
Look up Existing SourceYoutubeData Resource
Get an existing SourceYoutubeData 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?: SourceYoutubeDataState, opts?: CustomResourceOptions): SourceYoutubeData@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
configuration: Optional[SourceYoutubeDataConfigurationArgs] = None,
created_at: Optional[float] = None,
definition_id: Optional[str] = None,
name: Optional[str] = None,
resource_allocation: Optional[SourceYoutubeDataResourceAllocationArgs] = None,
secret_id: Optional[str] = None,
source_id: Optional[str] = None,
source_type: Optional[str] = None,
workspace_id: Optional[str] = None) -> SourceYoutubeDatafunc GetSourceYoutubeData(ctx *Context, name string, id IDInput, state *SourceYoutubeDataState, opts ...ResourceOption) (*SourceYoutubeData, error)public static SourceYoutubeData Get(string name, Input<string> id, SourceYoutubeDataState? state, CustomResourceOptions? opts = null)public static SourceYoutubeData get(String name, Output<String> id, SourceYoutubeDataState state, CustomResourceOptions options)resources: _: type: airbyte:SourceYoutubeData 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
Source
Youtube Data Configuration - The values required to configure the source. The schema for this must match the schema return by sourcedefinitionspecifications/get for the source.
- Created
At double - Definition
Id string - The UUID of the connector definition. One of configuration.sourceType or definitionId must be provided. Default: "743a2a44-fd13-4109-a8fe-fb0e68f467f5"; Requires replacement if changed.
- Name string
- Name of the source e.g. dev-mysql-instance.
- Resource
Allocation SourceYoutube Data Resource Allocation - actor or actor definition specific resource requirements. if default is set, these are the requirements that should be set for ALL jobs run for this actor definition. it is overriden by the job type specific configurations. if not set, the platform will use defaults. these values will be overriden by configuration at the connection level.
- Secret
Id string - Optional secretID obtained through the public API OAuth redirect flow. Requires replacement if changed.
- Source
Id string - Source
Type string - Workspace
Id string
- Configuration
Source
Youtube Data Configuration Args - The values required to configure the source. The schema for this must match the schema return by sourcedefinitionspecifications/get for the source.
- Created
At float64 - Definition
Id string - The UUID of the connector definition. One of configuration.sourceType or definitionId must be provided. Default: "743a2a44-fd13-4109-a8fe-fb0e68f467f5"; Requires replacement if changed.
- Name string
- Name of the source e.g. dev-mysql-instance.
- Resource
Allocation SourceYoutube Data Resource Allocation Args - actor or actor definition specific resource requirements. if default is set, these are the requirements that should be set for ALL jobs run for this actor definition. it is overriden by the job type specific configurations. if not set, the platform will use defaults. these values will be overriden by configuration at the connection level.
- Secret
Id string - Optional secretID obtained through the public API OAuth redirect flow. Requires replacement if changed.
- Source
Id string - Source
Type string - Workspace
Id string
- configuration
Source
Youtube Data Configuration - The values required to configure the source. The schema for this must match the schema return by sourcedefinitionspecifications/get for the source.
- created
At Double - definition
Id String - The UUID of the connector definition. One of configuration.sourceType or definitionId must be provided. Default: "743a2a44-fd13-4109-a8fe-fb0e68f467f5"; Requires replacement if changed.
- name String
- Name of the source e.g. dev-mysql-instance.
- resource
Allocation SourceYoutube Data Resource Allocation - actor or actor definition specific resource requirements. if default is set, these are the requirements that should be set for ALL jobs run for this actor definition. it is overriden by the job type specific configurations. if not set, the platform will use defaults. these values will be overriden by configuration at the connection level.
- secret
Id String - Optional secretID obtained through the public API OAuth redirect flow. Requires replacement if changed.
- source
Id String - source
Type String - workspace
Id String
- configuration
Source
Youtube Data Configuration - The values required to configure the source. The schema for this must match the schema return by sourcedefinitionspecifications/get for the source.
- created
At number - definition
Id string - The UUID of the connector definition. One of configuration.sourceType or definitionId must be provided. Default: "743a2a44-fd13-4109-a8fe-fb0e68f467f5"; Requires replacement if changed.
- name string
- Name of the source e.g. dev-mysql-instance.
- resource
Allocation SourceYoutube Data Resource Allocation - actor or actor definition specific resource requirements. if default is set, these are the requirements that should be set for ALL jobs run for this actor definition. it is overriden by the job type specific configurations. if not set, the platform will use defaults. these values will be overriden by configuration at the connection level.
- secret
Id string - Optional secretID obtained through the public API OAuth redirect flow. Requires replacement if changed.
- source
Id string - source
Type string - workspace
Id string
- configuration
Source
Youtube Data Configuration Args - The values required to configure the source. The schema for this must match the schema return by sourcedefinitionspecifications/get for the source.
- created_
at float - definition_
id str - The UUID of the connector definition. One of configuration.sourceType or definitionId must be provided. Default: "743a2a44-fd13-4109-a8fe-fb0e68f467f5"; Requires replacement if changed.
- name str
- Name of the source e.g. dev-mysql-instance.
- resource_
allocation SourceYoutube Data Resource Allocation Args - actor or actor definition specific resource requirements. if default is set, these are the requirements that should be set for ALL jobs run for this actor definition. it is overriden by the job type specific configurations. if not set, the platform will use defaults. these values will be overriden by configuration at the connection level.
- 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
- The values required to configure the source. The schema for this must match the schema return by sourcedefinitionspecifications/get for the source.
- created
At Number - definition
Id String - The UUID of the connector definition. One of configuration.sourceType or definitionId must be provided. Default: "743a2a44-fd13-4109-a8fe-fb0e68f467f5"; Requires replacement if changed.
- name String
- Name of the source e.g. dev-mysql-instance.
- resource
Allocation Property Map - actor or actor definition specific resource requirements. if default is set, these are the requirements that should be set for ALL jobs run for this actor definition. it is overriden by the job type specific configurations. if not set, the platform will use defaults. these values will be overriden by configuration at the connection level.
- secret
Id String - Optional secretID obtained through the public API OAuth redirect flow. Requires replacement if changed.
- source
Id String - source
Type String - workspace
Id String
Supporting Types
SourceYoutubeDataConfiguration, SourceYoutubeDataConfigurationArgs
- Channel
Ids List<string> - Credentials
Source
Youtube Data Configuration Credentials - Authentication method
- Additional
Properties string - Parsed as JSON.
- Channel
Ids []string - Credentials
Source
Youtube Data Configuration Credentials - Authentication method
- Additional
Properties string - Parsed as JSON.
- channel
Ids List<String> - credentials
Source
Youtube Data Configuration Credentials - Authentication method
- additional
Properties String - Parsed as JSON.
- channel
Ids string[] - credentials
Source
Youtube Data Configuration Credentials - Authentication method
- additional
Properties string - Parsed as JSON.
- channel_
ids Sequence[str] - credentials
Source
Youtube Data Configuration Credentials - Authentication method
- additional_
properties str - Parsed as JSON.
- channel
Ids List<String> - credentials Property Map
- Authentication method
- additional
Properties String - Parsed as JSON.
SourceYoutubeDataConfigurationCredentials, SourceYoutubeDataConfigurationCredentialsArgs
SourceYoutubeDataConfigurationCredentialsApiKey, SourceYoutubeDataConfigurationCredentialsApiKeyArgs
- Api
Key string
- Api
Key string
- api
Key String
- api
Key string
- api_
key str
- api
Key String
SourceYoutubeDataConfigurationCredentialsGoogleOAuth20, SourceYoutubeDataConfigurationCredentialsGoogleOAuth20Args
- Client
Id string - Client
Secret string - Refresh
Token string
- Client
Id string - Client
Secret string - Refresh
Token string
- client
Id String - client
Secret String - refresh
Token String
- client
Id string - client
Secret string - refresh
Token string
- client_
id str - client_
secret str - refresh_
token str
- client
Id String - client
Secret String - refresh
Token String
SourceYoutubeDataResourceAllocation, SourceYoutubeDataResourceAllocationArgs
- Default
Source
Youtube Data Resource Allocation Default - optional resource requirements to run workers (blank for unbounded allocations)
- Job
Specifics List<SourceYoutube Data Resource Allocation Job Specific>
- Default
Source
Youtube Data Resource Allocation Default - optional resource requirements to run workers (blank for unbounded allocations)
- Job
Specifics []SourceYoutube Data Resource Allocation Job Specific
- default_
Source
Youtube Data Resource Allocation Default - optional resource requirements to run workers (blank for unbounded allocations)
- job
Specifics List<SourceYoutube Data Resource Allocation Job Specific>
- default
Source
Youtube Data Resource Allocation Default - optional resource requirements to run workers (blank for unbounded allocations)
- job
Specifics SourceYoutube Data Resource Allocation Job Specific[]
- default
Source
Youtube Data Resource Allocation Default - optional resource requirements to run workers (blank for unbounded allocations)
- job_
specifics Sequence[SourceYoutube Data Resource Allocation Job Specific]
- default Property Map
- optional resource requirements to run workers (blank for unbounded allocations)
- job
Specifics List<Property Map>
SourceYoutubeDataResourceAllocationDefault, SourceYoutubeDataResourceAllocationDefaultArgs
- Cpu
Limit string - Cpu
Request string - Ephemeral
Storage stringLimit - Ephemeral
Storage stringRequest - Memory
Limit string - Memory
Request string
- Cpu
Limit string - Cpu
Request string - Ephemeral
Storage stringLimit - Ephemeral
Storage stringRequest - Memory
Limit string - Memory
Request string
- cpu
Limit String - cpu
Request String - ephemeral
Storage StringLimit - ephemeral
Storage StringRequest - memory
Limit String - memory
Request String
- cpu
Limit string - cpu
Request string - ephemeral
Storage stringLimit - ephemeral
Storage stringRequest - memory
Limit string - memory
Request string
- cpu_
limit str - cpu_
request str - ephemeral_
storage_ strlimit - ephemeral_
storage_ strrequest - memory_
limit str - memory_
request str
- cpu
Limit String - cpu
Request String - ephemeral
Storage StringLimit - ephemeral
Storage StringRequest - memory
Limit String - memory
Request String
SourceYoutubeDataResourceAllocationJobSpecific, SourceYoutubeDataResourceAllocationJobSpecificArgs
- Job
Type string - enum that describes the different types of jobs that the platform runs.
- Resource
Requirements SourceYoutube Data Resource Allocation Job Specific Resource Requirements - optional resource requirements to run workers (blank for unbounded allocations)
- Job
Type string - enum that describes the different types of jobs that the platform runs.
- Resource
Requirements SourceYoutube Data Resource Allocation Job Specific Resource Requirements - optional resource requirements to run workers (blank for unbounded allocations)
- job
Type String - enum that describes the different types of jobs that the platform runs.
- resource
Requirements SourceYoutube Data Resource Allocation Job Specific Resource Requirements - optional resource requirements to run workers (blank for unbounded allocations)
- job
Type string - enum that describes the different types of jobs that the platform runs.
- resource
Requirements SourceYoutube Data Resource Allocation Job Specific Resource Requirements - optional resource requirements to run workers (blank for unbounded allocations)
- job_
type str - enum that describes the different types of jobs that the platform runs.
- resource_
requirements SourceYoutube Data Resource Allocation Job Specific Resource Requirements - optional resource requirements to run workers (blank for unbounded allocations)
- job
Type String - enum that describes the different types of jobs that the platform runs.
- resource
Requirements Property Map - optional resource requirements to run workers (blank for unbounded allocations)
SourceYoutubeDataResourceAllocationJobSpecificResourceRequirements, SourceYoutubeDataResourceAllocationJobSpecificResourceRequirementsArgs
- Cpu
Limit string - Cpu
Request string - Ephemeral
Storage stringLimit - Ephemeral
Storage stringRequest - Memory
Limit string - Memory
Request string
- Cpu
Limit string - Cpu
Request string - Ephemeral
Storage stringLimit - Ephemeral
Storage stringRequest - Memory
Limit string - Memory
Request string
- cpu
Limit String - cpu
Request String - ephemeral
Storage StringLimit - ephemeral
Storage StringRequest - memory
Limit String - memory
Request String
- cpu
Limit string - cpu
Request string - ephemeral
Storage stringLimit - ephemeral
Storage stringRequest - memory
Limit string - memory
Request string
- cpu_
limit str - cpu_
request str - ephemeral_
storage_ strlimit - ephemeral_
storage_ strrequest - memory_
limit str - memory_
request str
- cpu
Limit String - cpu
Request String - ephemeral
Storage StringLimit - ephemeral
Storage StringRequest - memory
Limit String - memory
Request String
Import
In Terraform v1.5.0 and later, the import block can be used with the id attribute, for example:
terraform
import {
to = airbyte_source_youtube_data.my_airbyte_source_youtube_data
id = “…”
}
The pulumi import command can be used, for example:
$ pulumi import airbyte:index/sourceYoutubeData:SourceYoutubeData my_airbyte_source_youtube_data "..."
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.
