airbyte.SourceLinkedinPages
Explore with Pulumi AI
SourceLinkedinPages 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.SourceLinkedinPages;
import com.pulumi.airbyte.SourceLinkedinPagesArgs;
import com.pulumi.airbyte.inputs.SourceLinkedinPagesConfigurationArgs;
import com.pulumi.airbyte.inputs.SourceLinkedinPagesConfigurationCredentialsArgs;
import com.pulumi.airbyte.inputs.SourceLinkedinPagesConfigurationCredentialsAccessTokenArgs;
import com.pulumi.airbyte.inputs.SourceLinkedinPagesConfigurationCredentialsOAuth20Args;
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 mySourceLinkedinpages = new SourceLinkedinPages("mySourceLinkedinpages", SourceLinkedinPagesArgs.builder()
            .configuration(SourceLinkedinPagesConfigurationArgs.builder()
                .credentials(SourceLinkedinPagesConfigurationCredentialsArgs.builder()
                    .accessToken(SourceLinkedinPagesConfigurationCredentialsAccessTokenArgs.builder()
                        .accessToken("...my_access_token...")
                        .build())
                    .oAuth20(SourceLinkedinPagesConfigurationCredentialsOAuth20Args.builder()
                        .clientId("...my_client_id...")
                        .clientSecret("...my_client_secret...")
                        .refreshToken("...my_refresh_token...")
                        .build())
                    .build())
                .org_id("123456789")
                .start_date("2021-01-19T08:22:37.981Z")
                .time_granularity_type("MONTH")
                .build())
            .definitionId("b7320995-89cb-4a35-929d-c298cd64bbd8")
            .secretId("...my_secret_id...")
            .workspaceId("25451ff1-20df-4bf1-bbc0-fffa15035a0e")
            .build());
    }
}
resources:
  mySourceLinkedinpages:
    type: airbyte:SourceLinkedinPages
    properties:
      configuration:
        credentials:
          accessToken:
            accessToken: '...my_access_token...'
          oAuth20:
            clientId: '...my_client_id...'
            clientSecret: '...my_client_secret...'
            refreshToken: '...my_refresh_token...'
        org_id: '123456789'
        start_date: 2021-01-19T08:22:37.981Z
        time_granularity_type: MONTH
      definitionId: b7320995-89cb-4a35-929d-c298cd64bbd8
      secretId: '...my_secret_id...'
      workspaceId: 25451ff1-20df-4bf1-bbc0-fffa15035a0e
Create SourceLinkedinPages Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new SourceLinkedinPages(name: string, args: SourceLinkedinPagesArgs, opts?: CustomResourceOptions);@overload
def SourceLinkedinPages(resource_name: str,
                        args: SourceLinkedinPagesArgs,
                        opts: Optional[ResourceOptions] = None)
@overload
def SourceLinkedinPages(resource_name: str,
                        opts: Optional[ResourceOptions] = None,
                        configuration: Optional[SourceLinkedinPagesConfigurationArgs] = None,
                        workspace_id: Optional[str] = None,
                        definition_id: Optional[str] = None,
                        name: Optional[str] = None,
                        secret_id: Optional[str] = None)func NewSourceLinkedinPages(ctx *Context, name string, args SourceLinkedinPagesArgs, opts ...ResourceOption) (*SourceLinkedinPages, error)public SourceLinkedinPages(string name, SourceLinkedinPagesArgs args, CustomResourceOptions? opts = null)
public SourceLinkedinPages(String name, SourceLinkedinPagesArgs args)
public SourceLinkedinPages(String name, SourceLinkedinPagesArgs args, CustomResourceOptions options)
type: airbyte:SourceLinkedinPages
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 SourceLinkedinPagesArgs
- 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 SourceLinkedinPagesArgs
- 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 SourceLinkedinPagesArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SourceLinkedinPagesArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SourceLinkedinPagesArgs
- 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 sourceLinkedinPagesResource = new Airbyte.SourceLinkedinPages("sourceLinkedinPagesResource", new()
{
    Configuration = new Airbyte.Inputs.SourceLinkedinPagesConfigurationArgs
    {
        OrgId = "string",
        Credentials = new Airbyte.Inputs.SourceLinkedinPagesConfigurationCredentialsArgs
        {
            AccessToken = new Airbyte.Inputs.SourceLinkedinPagesConfigurationCredentialsAccessTokenArgs
            {
                AccessToken = "string",
            },
            OAuth20 = new Airbyte.Inputs.SourceLinkedinPagesConfigurationCredentialsOAuth20Args
            {
                ClientId = "string",
                ClientSecret = "string",
                RefreshToken = "string",
            },
        },
        StartDate = "string",
        TimeGranularityType = "string",
    },
    WorkspaceId = "string",
    DefinitionId = "string",
    Name = "string",
    SecretId = "string",
});
example, err := airbyte.NewSourceLinkedinPages(ctx, "sourceLinkedinPagesResource", &airbyte.SourceLinkedinPagesArgs{
Configuration: &.SourceLinkedinPagesConfigurationArgs{
OrgId: pulumi.String("string"),
Credentials: &.SourceLinkedinPagesConfigurationCredentialsArgs{
AccessToken: &.SourceLinkedinPagesConfigurationCredentialsAccessTokenArgs{
AccessToken: pulumi.String("string"),
},
OAuth20: &.SourceLinkedinPagesConfigurationCredentialsOAuth20Args{
ClientId: pulumi.String("string"),
ClientSecret: pulumi.String("string"),
RefreshToken: pulumi.String("string"),
},
},
StartDate: pulumi.String("string"),
TimeGranularityType: pulumi.String("string"),
},
WorkspaceId: pulumi.String("string"),
DefinitionId: pulumi.String("string"),
Name: pulumi.String("string"),
SecretId: pulumi.String("string"),
})
var sourceLinkedinPagesResource = new SourceLinkedinPages("sourceLinkedinPagesResource", SourceLinkedinPagesArgs.builder()
    .configuration(SourceLinkedinPagesConfigurationArgs.builder()
        .orgId("string")
        .credentials(SourceLinkedinPagesConfigurationCredentialsArgs.builder()
            .accessToken(SourceLinkedinPagesConfigurationCredentialsAccessTokenArgs.builder()
                .accessToken("string")
                .build())
            .oAuth20(SourceLinkedinPagesConfigurationCredentialsOAuth20Args.builder()
                .clientId("string")
                .clientSecret("string")
                .refreshToken("string")
                .build())
            .build())
        .startDate("string")
        .timeGranularityType("string")
        .build())
    .workspaceId("string")
    .definitionId("string")
    .name("string")
    .secretId("string")
    .build());
source_linkedin_pages_resource = airbyte.SourceLinkedinPages("sourceLinkedinPagesResource",
    configuration={
        "org_id": "string",
        "credentials": {
            "access_token": {
                "access_token": "string",
            },
            "o_auth20": {
                "client_id": "string",
                "client_secret": "string",
                "refresh_token": "string",
            },
        },
        "start_date": "string",
        "time_granularity_type": "string",
    },
    workspace_id="string",
    definition_id="string",
    name="string",
    secret_id="string")
const sourceLinkedinPagesResource = new airbyte.SourceLinkedinPages("sourceLinkedinPagesResource", {
    configuration: {
        orgId: "string",
        credentials: {
            accessToken: {
                accessToken: "string",
            },
            oAuth20: {
                clientId: "string",
                clientSecret: "string",
                refreshToken: "string",
            },
        },
        startDate: "string",
        timeGranularityType: "string",
    },
    workspaceId: "string",
    definitionId: "string",
    name: "string",
    secretId: "string",
});
type: airbyte:SourceLinkedinPages
properties:
    configuration:
        credentials:
            accessToken:
                accessToken: string
            oAuth20:
                clientId: string
                clientSecret: string
                refreshToken: string
        orgId: string
        startDate: string
        timeGranularityType: string
    definitionId: string
    name: string
    secretId: string
    workspaceId: string
SourceLinkedinPages 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 SourceLinkedinPages resource accepts the following input properties:
- Configuration
SourceLinkedin Pages 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
SourceLinkedin Pages 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
SourceLinkedin Pages 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
SourceLinkedin Pages 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
SourceLinkedin Pages 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 SourceLinkedinPages 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 SourceLinkedinPages Resource
Get an existing SourceLinkedinPages 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?: SourceLinkedinPagesState, opts?: CustomResourceOptions): SourceLinkedinPages@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        configuration: Optional[SourceLinkedinPagesConfigurationArgs] = 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) -> SourceLinkedinPagesfunc GetSourceLinkedinPages(ctx *Context, name string, id IDInput, state *SourceLinkedinPagesState, opts ...ResourceOption) (*SourceLinkedinPages, error)public static SourceLinkedinPages Get(string name, Input<string> id, SourceLinkedinPagesState? state, CustomResourceOptions? opts = null)public static SourceLinkedinPages get(String name, Output<String> id, SourceLinkedinPagesState state, CustomResourceOptions options)resources:  _:    type: airbyte:SourceLinkedinPages    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
SourceLinkedin Pages 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
SourceLinkedin Pages 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
SourceLinkedin Pages 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
SourceLinkedin Pages 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
SourceLinkedin Pages 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
SourceLinkedinPagesConfiguration, SourceLinkedinPagesConfigurationArgs        
- OrgId string
- Specify the Organization ID
- Credentials
SourceLinkedin Pages Configuration Credentials 
- StartDate string
- Start date for getting metrics per time period. Must be atmost 12 months before the request date (UTC) and atleast 2 days prior to the request date (UTC). See https://bit.ly/linkedin-pages-date-rules {{ "\n" }} {{ response.errorDetails }}. Default: "2023-01-01T00:00:00Z"
- TimeGranularity stringType 
- Granularity of the statistics for metrics per time period. Must be either "DAY" or "MONTH". Default: "DAY"; must be one of ["DAY", "MONTH"]
- OrgId string
- Specify the Organization ID
- Credentials
SourceLinkedin Pages Configuration Credentials 
- StartDate string
- Start date for getting metrics per time period. Must be atmost 12 months before the request date (UTC) and atleast 2 days prior to the request date (UTC). See https://bit.ly/linkedin-pages-date-rules {{ "\n" }} {{ response.errorDetails }}. Default: "2023-01-01T00:00:00Z"
- TimeGranularity stringType 
- Granularity of the statistics for metrics per time period. Must be either "DAY" or "MONTH". Default: "DAY"; must be one of ["DAY", "MONTH"]
- orgId String
- Specify the Organization ID
- credentials
SourceLinkedin Pages Configuration Credentials 
- startDate String
- Start date for getting metrics per time period. Must be atmost 12 months before the request date (UTC) and atleast 2 days prior to the request date (UTC). See https://bit.ly/linkedin-pages-date-rules {{ "\n" }} {{ response.errorDetails }}. Default: "2023-01-01T00:00:00Z"
- timeGranularity StringType 
- Granularity of the statistics for metrics per time period. Must be either "DAY" or "MONTH". Default: "DAY"; must be one of ["DAY", "MONTH"]
- orgId string
- Specify the Organization ID
- credentials
SourceLinkedin Pages Configuration Credentials 
- startDate string
- Start date for getting metrics per time period. Must be atmost 12 months before the request date (UTC) and atleast 2 days prior to the request date (UTC). See https://bit.ly/linkedin-pages-date-rules {{ "\n" }} {{ response.errorDetails }}. Default: "2023-01-01T00:00:00Z"
- timeGranularity stringType 
- Granularity of the statistics for metrics per time period. Must be either "DAY" or "MONTH". Default: "DAY"; must be one of ["DAY", "MONTH"]
- org_id str
- Specify the Organization ID
- credentials
SourceLinkedin Pages Configuration Credentials 
- start_date str
- Start date for getting metrics per time period. Must be atmost 12 months before the request date (UTC) and atleast 2 days prior to the request date (UTC). See https://bit.ly/linkedin-pages-date-rules {{ "\n" }} {{ response.errorDetails }}. Default: "2023-01-01T00:00:00Z"
- time_granularity_ strtype 
- Granularity of the statistics for metrics per time period. Must be either "DAY" or "MONTH". Default: "DAY"; must be one of ["DAY", "MONTH"]
- orgId String
- Specify the Organization ID
- credentials Property Map
- startDate String
- Start date for getting metrics per time period. Must be atmost 12 months before the request date (UTC) and atleast 2 days prior to the request date (UTC). See https://bit.ly/linkedin-pages-date-rules {{ "\n" }} {{ response.errorDetails }}. Default: "2023-01-01T00:00:00Z"
- timeGranularity StringType 
- Granularity of the statistics for metrics per time period. Must be either "DAY" or "MONTH". Default: "DAY"; must be one of ["DAY", "MONTH"]
SourceLinkedinPagesConfigurationCredentials, SourceLinkedinPagesConfigurationCredentialsArgs          
SourceLinkedinPagesConfigurationCredentialsAccessToken, SourceLinkedinPagesConfigurationCredentialsAccessTokenArgs              
- AccessToken string
- The token value generated using the LinkedIn Developers OAuth Token Tools. See the \n\ndocs\n\n to obtain yours.
- AccessToken string
- The token value generated using the LinkedIn Developers OAuth Token Tools. See the \n\ndocs\n\n to obtain yours.
- accessToken String
- The token value generated using the LinkedIn Developers OAuth Token Tools. See the \n\ndocs\n\n to obtain yours.
- accessToken string
- The token value generated using the LinkedIn Developers OAuth Token Tools. See the \n\ndocs\n\n to obtain yours.
- access_token str
- The token value generated using the LinkedIn Developers OAuth Token Tools. See the \n\ndocs\n\n to obtain yours.
- accessToken String
- The token value generated using the LinkedIn Developers OAuth Token Tools. See the \n\ndocs\n\n to obtain yours.
SourceLinkedinPagesConfigurationCredentialsOAuth20, SourceLinkedinPagesConfigurationCredentialsOAuth20Args            
- ClientId string
- The client ID of the LinkedIn developer application.
- ClientSecret string
- The client secret of the LinkedIn developer application.
- RefreshToken string
- The token value generated using the LinkedIn Developers OAuth Token Tools. See the \n\ndocs\n\n to obtain yours.
- ClientId string
- The client ID of the LinkedIn developer application.
- ClientSecret string
- The client secret of the LinkedIn developer application.
- RefreshToken string
- The token value generated using the LinkedIn Developers OAuth Token Tools. See the \n\ndocs\n\n to obtain yours.
- clientId String
- The client ID of the LinkedIn developer application.
- clientSecret String
- The client secret of the LinkedIn developer application.
- refreshToken String
- The token value generated using the LinkedIn Developers OAuth Token Tools. See the \n\ndocs\n\n to obtain yours.
- clientId string
- The client ID of the LinkedIn developer application.
- clientSecret string
- The client secret of the LinkedIn developer application.
- refreshToken string
- The token value generated using the LinkedIn Developers OAuth Token Tools. See the \n\ndocs\n\n to obtain yours.
- client_id str
- The client ID of the LinkedIn developer application.
- client_secret str
- The client secret of the LinkedIn developer application.
- refresh_token str
- The token value generated using the LinkedIn Developers OAuth Token Tools. See the \n\ndocs\n\n to obtain yours.
- clientId String
- The client ID of the LinkedIn developer application.
- clientSecret String
- The client secret of the LinkedIn developer application.
- refreshToken String
- The token value generated using the LinkedIn Developers OAuth Token Tools. See the \n\ndocs\n\n to obtain yours.
Import
$ pulumi import airbyte:index/sourceLinkedinPages:SourceLinkedinPages my_airbyte_source_linkedin_pages ""
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.