From abf8d9a7e1cd13bfe9b3e17bb46822d830b8135c Mon Sep 17 00:00:00 2001 From: ryan-pip Date: Sat, 14 Dec 2024 05:06:46 +0000 Subject: [PATCH] make build_sdks --- sdk/go/fivetran/getConnector.go | 16 +++------------- sdk/go/fivetran/getConnectorCertificates.go | 16 +++------------- sdk/go/fivetran/getConnectorFingerprints.go | 16 +++------------- sdk/go/fivetran/getConnectorsMetadata.go | 16 +++------------- sdk/go/fivetran/getDbtModels.go | 16 +++------------- sdk/go/fivetran/getDbtProject.go | 16 +++------------- sdk/go/fivetran/getDbtProjects.go | 14 ++------------ sdk/go/fivetran/getDbtTransformation.go | 16 +++------------- sdk/go/fivetran/getDestination.go | 16 +++------------- sdk/go/fivetran/getDestinationCertificates.go | 16 +++------------- sdk/go/fivetran/getDestinationFingerprints.go | 16 +++------------- sdk/go/fivetran/getExternalLogging.go | 16 +++------------- sdk/go/fivetran/getGroup.go | 16 +++------------- sdk/go/fivetran/getGroupConnectors.go | 16 +++------------- sdk/go/fivetran/getGroupServiceAccount.go | 16 +++------------- sdk/go/fivetran/getGroupSshKey.go | 16 +++------------- sdk/go/fivetran/getGroupUsers.go | 16 +++------------- sdk/go/fivetran/getGroups.go | 16 +++------------- sdk/go/fivetran/getHybridDeploymentAgent.go | 16 +++------------- sdk/go/fivetran/getHybridDeploymentAgents.go | 14 ++------------ sdk/go/fivetran/getLocalProcessingAgent.go | 16 +++------------- sdk/go/fivetran/getLocalProcessingAgents.go | 14 ++------------ sdk/go/fivetran/getPrivateLink.go | 16 +++------------- sdk/go/fivetran/getPrivateLinks.go | 16 +++------------- sdk/go/fivetran/getProxyAgent.go | 16 +++------------- sdk/go/fivetran/getProxyAgents.go | 16 +++------------- sdk/go/fivetran/getRoles.go | 16 +++------------- sdk/go/fivetran/getTeam.go | 16 +++------------- sdk/go/fivetran/getTeamConnectorMemberships.go | 16 +++------------- sdk/go/fivetran/getTeamGroupMemberships.go | 16 +++------------- sdk/go/fivetran/getTeamUserMemberships.go | 16 +++------------- sdk/go/fivetran/getTeams.go | 16 +++------------- sdk/go/fivetran/getUser.go | 16 +++------------- sdk/go/fivetran/getUserConnectorMemberships.go | 16 +++------------- sdk/go/fivetran/getUserGroupMemberships.go | 16 +++------------- sdk/go/fivetran/getUsers.go | 16 +++------------- sdk/go/fivetran/getWebhook.go | 16 +++------------- sdk/go/fivetran/getWebhooks.go | 14 ++------------ sdk/nodejs/getConnector.ts | 2 +- sdk/nodejs/getConnectorCertificates.ts | 2 +- sdk/nodejs/getConnectorFingerprints.ts | 2 +- sdk/nodejs/getConnectorsMetadata.ts | 2 +- sdk/nodejs/getDbtModels.ts | 2 +- sdk/nodejs/getDbtProject.ts | 2 +- sdk/nodejs/getDbtProjects.ts | 2 +- sdk/nodejs/getDbtTransformation.ts | 2 +- sdk/nodejs/getDestination.ts | 2 +- sdk/nodejs/getDestinationCertificates.ts | 2 +- sdk/nodejs/getDestinationFingerprints.ts | 2 +- sdk/nodejs/getExternalLogging.ts | 2 +- sdk/nodejs/getGroup.ts | 2 +- sdk/nodejs/getGroupConnectors.ts | 2 +- sdk/nodejs/getGroupServiceAccount.ts | 2 +- sdk/nodejs/getGroupSshKey.ts | 2 +- sdk/nodejs/getGroupUsers.ts | 2 +- sdk/nodejs/getGroups.ts | 2 +- sdk/nodejs/getHybridDeploymentAgent.ts | 2 +- sdk/nodejs/getHybridDeploymentAgents.ts | 2 +- sdk/nodejs/getLocalProcessingAgent.ts | 2 +- sdk/nodejs/getLocalProcessingAgents.ts | 2 +- sdk/nodejs/getPrivateLink.ts | 2 +- sdk/nodejs/getPrivateLinks.ts | 2 +- sdk/nodejs/getProxyAgent.ts | 2 +- sdk/nodejs/getProxyAgents.ts | 2 +- sdk/nodejs/getRoles.ts | 2 +- sdk/nodejs/getTeam.ts | 2 +- sdk/nodejs/getTeamConnectorMemberships.ts | 2 +- sdk/nodejs/getTeamGroupMemberships.ts | 2 +- sdk/nodejs/getTeamUserMemberships.ts | 2 +- sdk/nodejs/getTeams.ts | 2 +- sdk/nodejs/getUser.ts | 2 +- sdk/nodejs/getUserConnectorMemberships.ts | 2 +- sdk/nodejs/getUserGroupMemberships.ts | 2 +- sdk/nodejs/getUsers.ts | 2 +- sdk/nodejs/getWebhook.ts | 2 +- sdk/nodejs/getWebhooks.ts | 2 +- .../pulumi_provider_fivetran/get_connector.py | 4 ++-- .../get_connector_certificates.py | 4 ++-- .../get_connector_fingerprints.py | 4 ++-- .../get_connectors_metadata.py | 4 ++-- .../pulumi_provider_fivetran/get_dbt_models.py | 4 ++-- .../pulumi_provider_fivetran/get_dbt_project.py | 4 ++-- .../pulumi_provider_fivetran/get_dbt_projects.py | 4 ++-- .../get_dbt_transformation.py | 4 ++-- .../pulumi_provider_fivetran/get_destination.py | 4 ++-- .../get_destination_certificates.py | 4 ++-- .../get_destination_fingerprints.py | 4 ++-- .../get_external_logging.py | 4 ++-- sdk/python/pulumi_provider_fivetran/get_group.py | 4 ++-- .../get_group_connectors.py | 4 ++-- .../get_group_service_account.py | 4 ++-- .../get_group_ssh_key.py | 4 ++-- .../pulumi_provider_fivetran/get_group_users.py | 4 ++-- .../pulumi_provider_fivetran/get_groups.py | 4 ++-- .../get_hybrid_deployment_agent.py | 4 ++-- .../get_hybrid_deployment_agents.py | 4 ++-- .../get_local_processing_agent.py | 4 ++-- .../get_local_processing_agents.py | 4 ++-- .../pulumi_provider_fivetran/get_private_link.py | 4 ++-- .../get_private_links.py | 4 ++-- .../pulumi_provider_fivetran/get_proxy_agent.py | 4 ++-- .../pulumi_provider_fivetran/get_proxy_agents.py | 4 ++-- sdk/python/pulumi_provider_fivetran/get_roles.py | 4 ++-- sdk/python/pulumi_provider_fivetran/get_team.py | 4 ++-- .../get_team_connector_memberships.py | 4 ++-- .../get_team_group_memberships.py | 4 ++-- .../get_team_user_memberships.py | 4 ++-- sdk/python/pulumi_provider_fivetran/get_teams.py | 4 ++-- sdk/python/pulumi_provider_fivetran/get_user.py | 4 ++-- .../get_user_connector_memberships.py | 4 ++-- .../get_user_group_memberships.py | 4 ++-- sdk/python/pulumi_provider_fivetran/get_users.py | 4 ++-- .../pulumi_provider_fivetran/get_webhook.py | 4 ++-- .../pulumi_provider_fivetran/get_webhooks.py | 4 ++-- sdk/python/setup.py | 2 +- 115 files changed, 225 insertions(+), 605 deletions(-) diff --git a/sdk/go/fivetran/getConnector.go b/sdk/go/fivetran/getConnector.go index 0d0db40..4abd0dc 100644 --- a/sdk/go/fivetran/getConnector.go +++ b/sdk/go/fivetran/getConnector.go @@ -83,21 +83,11 @@ type LookupConnectorResult struct { } func LookupConnectorOutput(ctx *pulumi.Context, args LookupConnectorOutputArgs, opts ...pulumi.InvokeOption) LookupConnectorResultOutput { - return pulumi.ToOutputWithContext(context.Background(), args). + return pulumi.ToOutputWithContext(ctx.Context(), args). ApplyT(func(v interface{}) (LookupConnectorResultOutput, error) { args := v.(LookupConnectorArgs) - opts = internal.PkgInvokeDefaultOpts(opts) - var rv LookupConnectorResult - secret, err := ctx.InvokePackageRaw("fivetran:index/getConnector:getConnector", args, &rv, "", opts...) - if err != nil { - return LookupConnectorResultOutput{}, err - } - - output := pulumi.ToOutput(rv).(LookupConnectorResultOutput) - if secret { - return pulumi.ToSecret(output).(LookupConnectorResultOutput), nil - } - return output, nil + options := pulumi.InvokeOutputOptions{InvokeOptions: internal.PkgInvokeDefaultOpts(opts)} + return ctx.InvokeOutput("fivetran:index/getConnector:getConnector", args, LookupConnectorResultOutput{}, options).(LookupConnectorResultOutput), nil }).(LookupConnectorResultOutput) } diff --git a/sdk/go/fivetran/getConnectorCertificates.go b/sdk/go/fivetran/getConnectorCertificates.go index 51640ae..1160a5c 100644 --- a/sdk/go/fivetran/getConnectorCertificates.go +++ b/sdk/go/fivetran/getConnectorCertificates.go @@ -38,21 +38,11 @@ type LookupConnectorCertificatesResult struct { } func LookupConnectorCertificatesOutput(ctx *pulumi.Context, args LookupConnectorCertificatesOutputArgs, opts ...pulumi.InvokeOption) LookupConnectorCertificatesResultOutput { - return pulumi.ToOutputWithContext(context.Background(), args). + return pulumi.ToOutputWithContext(ctx.Context(), args). ApplyT(func(v interface{}) (LookupConnectorCertificatesResultOutput, error) { args := v.(LookupConnectorCertificatesArgs) - opts = internal.PkgInvokeDefaultOpts(opts) - var rv LookupConnectorCertificatesResult - secret, err := ctx.InvokePackageRaw("fivetran:index/getConnectorCertificates:getConnectorCertificates", args, &rv, "", opts...) - if err != nil { - return LookupConnectorCertificatesResultOutput{}, err - } - - output := pulumi.ToOutput(rv).(LookupConnectorCertificatesResultOutput) - if secret { - return pulumi.ToSecret(output).(LookupConnectorCertificatesResultOutput), nil - } - return output, nil + options := pulumi.InvokeOutputOptions{InvokeOptions: internal.PkgInvokeDefaultOpts(opts)} + return ctx.InvokeOutput("fivetran:index/getConnectorCertificates:getConnectorCertificates", args, LookupConnectorCertificatesResultOutput{}, options).(LookupConnectorCertificatesResultOutput), nil }).(LookupConnectorCertificatesResultOutput) } diff --git a/sdk/go/fivetran/getConnectorFingerprints.go b/sdk/go/fivetran/getConnectorFingerprints.go index 357be11..6badd63 100644 --- a/sdk/go/fivetran/getConnectorFingerprints.go +++ b/sdk/go/fivetran/getConnectorFingerprints.go @@ -65,21 +65,11 @@ type LookupConnectorFingerprintsResult struct { } func LookupConnectorFingerprintsOutput(ctx *pulumi.Context, args LookupConnectorFingerprintsOutputArgs, opts ...pulumi.InvokeOption) LookupConnectorFingerprintsResultOutput { - return pulumi.ToOutputWithContext(context.Background(), args). + return pulumi.ToOutputWithContext(ctx.Context(), args). ApplyT(func(v interface{}) (LookupConnectorFingerprintsResultOutput, error) { args := v.(LookupConnectorFingerprintsArgs) - opts = internal.PkgInvokeDefaultOpts(opts) - var rv LookupConnectorFingerprintsResult - secret, err := ctx.InvokePackageRaw("fivetran:index/getConnectorFingerprints:getConnectorFingerprints", args, &rv, "", opts...) - if err != nil { - return LookupConnectorFingerprintsResultOutput{}, err - } - - output := pulumi.ToOutput(rv).(LookupConnectorFingerprintsResultOutput) - if secret { - return pulumi.ToSecret(output).(LookupConnectorFingerprintsResultOutput), nil - } - return output, nil + options := pulumi.InvokeOutputOptions{InvokeOptions: internal.PkgInvokeDefaultOpts(opts)} + return ctx.InvokeOutput("fivetran:index/getConnectorFingerprints:getConnectorFingerprints", args, LookupConnectorFingerprintsResultOutput{}, options).(LookupConnectorFingerprintsResultOutput), nil }).(LookupConnectorFingerprintsResultOutput) } diff --git a/sdk/go/fivetran/getConnectorsMetadata.go b/sdk/go/fivetran/getConnectorsMetadata.go index e6e4e96..1aac72f 100644 --- a/sdk/go/fivetran/getConnectorsMetadata.go +++ b/sdk/go/fivetran/getConnectorsMetadata.go @@ -59,21 +59,11 @@ type GetConnectorsMetadataResult struct { } func GetConnectorsMetadataOutput(ctx *pulumi.Context, args GetConnectorsMetadataOutputArgs, opts ...pulumi.InvokeOption) GetConnectorsMetadataResultOutput { - return pulumi.ToOutputWithContext(context.Background(), args). + return pulumi.ToOutputWithContext(ctx.Context(), args). ApplyT(func(v interface{}) (GetConnectorsMetadataResultOutput, error) { args := v.(GetConnectorsMetadataArgs) - opts = internal.PkgInvokeDefaultOpts(opts) - var rv GetConnectorsMetadataResult - secret, err := ctx.InvokePackageRaw("fivetran:index/getConnectorsMetadata:getConnectorsMetadata", args, &rv, "", opts...) - if err != nil { - return GetConnectorsMetadataResultOutput{}, err - } - - output := pulumi.ToOutput(rv).(GetConnectorsMetadataResultOutput) - if secret { - return pulumi.ToSecret(output).(GetConnectorsMetadataResultOutput), nil - } - return output, nil + options := pulumi.InvokeOutputOptions{InvokeOptions: internal.PkgInvokeDefaultOpts(opts)} + return ctx.InvokeOutput("fivetran:index/getConnectorsMetadata:getConnectorsMetadata", args, GetConnectorsMetadataResultOutput{}, options).(GetConnectorsMetadataResultOutput), nil }).(GetConnectorsMetadataResultOutput) } diff --git a/sdk/go/fivetran/getDbtModels.go b/sdk/go/fivetran/getDbtModels.go index 38c7f95..54b12c1 100644 --- a/sdk/go/fivetran/getDbtModels.go +++ b/sdk/go/fivetran/getDbtModels.go @@ -65,21 +65,11 @@ type GetDbtModelsResult struct { } func GetDbtModelsOutput(ctx *pulumi.Context, args GetDbtModelsOutputArgs, opts ...pulumi.InvokeOption) GetDbtModelsResultOutput { - return pulumi.ToOutputWithContext(context.Background(), args). + return pulumi.ToOutputWithContext(ctx.Context(), args). ApplyT(func(v interface{}) (GetDbtModelsResultOutput, error) { args := v.(GetDbtModelsArgs) - opts = internal.PkgInvokeDefaultOpts(opts) - var rv GetDbtModelsResult - secret, err := ctx.InvokePackageRaw("fivetran:index/getDbtModels:getDbtModels", args, &rv, "", opts...) - if err != nil { - return GetDbtModelsResultOutput{}, err - } - - output := pulumi.ToOutput(rv).(GetDbtModelsResultOutput) - if secret { - return pulumi.ToSecret(output).(GetDbtModelsResultOutput), nil - } - return output, nil + options := pulumi.InvokeOutputOptions{InvokeOptions: internal.PkgInvokeDefaultOpts(opts)} + return ctx.InvokeOutput("fivetran:index/getDbtModels:getDbtModels", args, GetDbtModelsResultOutput{}, options).(GetDbtModelsResultOutput), nil }).(GetDbtModelsResultOutput) } diff --git a/sdk/go/fivetran/getDbtProject.go b/sdk/go/fivetran/getDbtProject.go index 01cc238..210f452 100644 --- a/sdk/go/fivetran/getDbtProject.go +++ b/sdk/go/fivetran/getDbtProject.go @@ -88,21 +88,11 @@ type LookupDbtProjectResult struct { } func LookupDbtProjectOutput(ctx *pulumi.Context, args LookupDbtProjectOutputArgs, opts ...pulumi.InvokeOption) LookupDbtProjectResultOutput { - return pulumi.ToOutputWithContext(context.Background(), args). + return pulumi.ToOutputWithContext(ctx.Context(), args). ApplyT(func(v interface{}) (LookupDbtProjectResultOutput, error) { args := v.(LookupDbtProjectArgs) - opts = internal.PkgInvokeDefaultOpts(opts) - var rv LookupDbtProjectResult - secret, err := ctx.InvokePackageRaw("fivetran:index/getDbtProject:getDbtProject", args, &rv, "", opts...) - if err != nil { - return LookupDbtProjectResultOutput{}, err - } - - output := pulumi.ToOutput(rv).(LookupDbtProjectResultOutput) - if secret { - return pulumi.ToSecret(output).(LookupDbtProjectResultOutput), nil - } - return output, nil + options := pulumi.InvokeOutputOptions{InvokeOptions: internal.PkgInvokeDefaultOpts(opts)} + return ctx.InvokeOutput("fivetran:index/getDbtProject:getDbtProject", args, LookupDbtProjectResultOutput{}, options).(LookupDbtProjectResultOutput), nil }).(LookupDbtProjectResultOutput) } diff --git a/sdk/go/fivetran/getDbtProjects.go b/sdk/go/fivetran/getDbtProjects.go index 0903309..34c2a55 100644 --- a/sdk/go/fivetran/getDbtProjects.go +++ b/sdk/go/fivetran/getDbtProjects.go @@ -55,18 +55,8 @@ type GetDbtProjectsResult struct { func GetDbtProjectsOutput(ctx *pulumi.Context, opts ...pulumi.InvokeOption) GetDbtProjectsResultOutput { return pulumi.ToOutput(0).ApplyT(func(int) (GetDbtProjectsResultOutput, error) { - opts = internal.PkgInvokeDefaultOpts(opts) - var rv GetDbtProjectsResult - secret, err := ctx.InvokePackageRaw("fivetran:index/getDbtProjects:getDbtProjects", nil, &rv, "", opts...) - if err != nil { - return GetDbtProjectsResultOutput{}, err - } - - output := pulumi.ToOutput(rv).(GetDbtProjectsResultOutput) - if secret { - return pulumi.ToSecret(output).(GetDbtProjectsResultOutput), nil - } - return output, nil + options := pulumi.InvokeOutputOptions{InvokeOptions: internal.PkgInvokeDefaultOpts(opts)} + return ctx.InvokeOutput("fivetran:index/getDbtProjects:getDbtProjects", nil, GetDbtProjectsResultOutput{}, options).(GetDbtProjectsResultOutput), nil }).(GetDbtProjectsResultOutput) } diff --git a/sdk/go/fivetran/getDbtTransformation.go b/sdk/go/fivetran/getDbtTransformation.go index 57c4039..f0e63ed 100644 --- a/sdk/go/fivetran/getDbtTransformation.go +++ b/sdk/go/fivetran/getDbtTransformation.go @@ -81,21 +81,11 @@ type LookupDbtTransformationResult struct { } func LookupDbtTransformationOutput(ctx *pulumi.Context, args LookupDbtTransformationOutputArgs, opts ...pulumi.InvokeOption) LookupDbtTransformationResultOutput { - return pulumi.ToOutputWithContext(context.Background(), args). + return pulumi.ToOutputWithContext(ctx.Context(), args). ApplyT(func(v interface{}) (LookupDbtTransformationResultOutput, error) { args := v.(LookupDbtTransformationArgs) - opts = internal.PkgInvokeDefaultOpts(opts) - var rv LookupDbtTransformationResult - secret, err := ctx.InvokePackageRaw("fivetran:index/getDbtTransformation:getDbtTransformation", args, &rv, "", opts...) - if err != nil { - return LookupDbtTransformationResultOutput{}, err - } - - output := pulumi.ToOutput(rv).(LookupDbtTransformationResultOutput) - if secret { - return pulumi.ToSecret(output).(LookupDbtTransformationResultOutput), nil - } - return output, nil + options := pulumi.InvokeOutputOptions{InvokeOptions: internal.PkgInvokeDefaultOpts(opts)} + return ctx.InvokeOutput("fivetran:index/getDbtTransformation:getDbtTransformation", args, LookupDbtTransformationResultOutput{}, options).(LookupDbtTransformationResultOutput), nil }).(LookupDbtTransformationResultOutput) } diff --git a/sdk/go/fivetran/getDestination.go b/sdk/go/fivetran/getDestination.go index c8037d4..525c9c1 100644 --- a/sdk/go/fivetran/getDestination.go +++ b/sdk/go/fivetran/getDestination.go @@ -71,21 +71,11 @@ type LookupDestinationResult struct { } func LookupDestinationOutput(ctx *pulumi.Context, args LookupDestinationOutputArgs, opts ...pulumi.InvokeOption) LookupDestinationResultOutput { - return pulumi.ToOutputWithContext(context.Background(), args). + return pulumi.ToOutputWithContext(ctx.Context(), args). ApplyT(func(v interface{}) (LookupDestinationResultOutput, error) { args := v.(LookupDestinationArgs) - opts = internal.PkgInvokeDefaultOpts(opts) - var rv LookupDestinationResult - secret, err := ctx.InvokePackageRaw("fivetran:index/getDestination:getDestination", args, &rv, "", opts...) - if err != nil { - return LookupDestinationResultOutput{}, err - } - - output := pulumi.ToOutput(rv).(LookupDestinationResultOutput) - if secret { - return pulumi.ToSecret(output).(LookupDestinationResultOutput), nil - } - return output, nil + options := pulumi.InvokeOutputOptions{InvokeOptions: internal.PkgInvokeDefaultOpts(opts)} + return ctx.InvokeOutput("fivetran:index/getDestination:getDestination", args, LookupDestinationResultOutput{}, options).(LookupDestinationResultOutput), nil }).(LookupDestinationResultOutput) } diff --git a/sdk/go/fivetran/getDestinationCertificates.go b/sdk/go/fivetran/getDestinationCertificates.go index 0c1ad74..a7df272 100644 --- a/sdk/go/fivetran/getDestinationCertificates.go +++ b/sdk/go/fivetran/getDestinationCertificates.go @@ -38,21 +38,11 @@ type LookupDestinationCertificatesResult struct { } func LookupDestinationCertificatesOutput(ctx *pulumi.Context, args LookupDestinationCertificatesOutputArgs, opts ...pulumi.InvokeOption) LookupDestinationCertificatesResultOutput { - return pulumi.ToOutputWithContext(context.Background(), args). + return pulumi.ToOutputWithContext(ctx.Context(), args). ApplyT(func(v interface{}) (LookupDestinationCertificatesResultOutput, error) { args := v.(LookupDestinationCertificatesArgs) - opts = internal.PkgInvokeDefaultOpts(opts) - var rv LookupDestinationCertificatesResult - secret, err := ctx.InvokePackageRaw("fivetran:index/getDestinationCertificates:getDestinationCertificates", args, &rv, "", opts...) - if err != nil { - return LookupDestinationCertificatesResultOutput{}, err - } - - output := pulumi.ToOutput(rv).(LookupDestinationCertificatesResultOutput) - if secret { - return pulumi.ToSecret(output).(LookupDestinationCertificatesResultOutput), nil - } - return output, nil + options := pulumi.InvokeOutputOptions{InvokeOptions: internal.PkgInvokeDefaultOpts(opts)} + return ctx.InvokeOutput("fivetran:index/getDestinationCertificates:getDestinationCertificates", args, LookupDestinationCertificatesResultOutput{}, options).(LookupDestinationCertificatesResultOutput), nil }).(LookupDestinationCertificatesResultOutput) } diff --git a/sdk/go/fivetran/getDestinationFingerprints.go b/sdk/go/fivetran/getDestinationFingerprints.go index 580f77c..0973a53 100644 --- a/sdk/go/fivetran/getDestinationFingerprints.go +++ b/sdk/go/fivetran/getDestinationFingerprints.go @@ -65,21 +65,11 @@ type LookupDestinationFingerprintsResult struct { } func LookupDestinationFingerprintsOutput(ctx *pulumi.Context, args LookupDestinationFingerprintsOutputArgs, opts ...pulumi.InvokeOption) LookupDestinationFingerprintsResultOutput { - return pulumi.ToOutputWithContext(context.Background(), args). + return pulumi.ToOutputWithContext(ctx.Context(), args). ApplyT(func(v interface{}) (LookupDestinationFingerprintsResultOutput, error) { args := v.(LookupDestinationFingerprintsArgs) - opts = internal.PkgInvokeDefaultOpts(opts) - var rv LookupDestinationFingerprintsResult - secret, err := ctx.InvokePackageRaw("fivetran:index/getDestinationFingerprints:getDestinationFingerprints", args, &rv, "", opts...) - if err != nil { - return LookupDestinationFingerprintsResultOutput{}, err - } - - output := pulumi.ToOutput(rv).(LookupDestinationFingerprintsResultOutput) - if secret { - return pulumi.ToSecret(output).(LookupDestinationFingerprintsResultOutput), nil - } - return output, nil + options := pulumi.InvokeOutputOptions{InvokeOptions: internal.PkgInvokeDefaultOpts(opts)} + return ctx.InvokeOutput("fivetran:index/getDestinationFingerprints:getDestinationFingerprints", args, LookupDestinationFingerprintsResultOutput{}, options).(LookupDestinationFingerprintsResultOutput), nil }).(LookupDestinationFingerprintsResultOutput) } diff --git a/sdk/go/fivetran/getExternalLogging.go b/sdk/go/fivetran/getExternalLogging.go index 2525d02..baa5e55 100644 --- a/sdk/go/fivetran/getExternalLogging.go +++ b/sdk/go/fivetran/getExternalLogging.go @@ -73,21 +73,11 @@ type LookupExternalLoggingResult struct { } func LookupExternalLoggingOutput(ctx *pulumi.Context, args LookupExternalLoggingOutputArgs, opts ...pulumi.InvokeOption) LookupExternalLoggingResultOutput { - return pulumi.ToOutputWithContext(context.Background(), args). + return pulumi.ToOutputWithContext(ctx.Context(), args). ApplyT(func(v interface{}) (LookupExternalLoggingResultOutput, error) { args := v.(LookupExternalLoggingArgs) - opts = internal.PkgInvokeDefaultOpts(opts) - var rv LookupExternalLoggingResult - secret, err := ctx.InvokePackageRaw("fivetran:index/getExternalLogging:getExternalLogging", args, &rv, "", opts...) - if err != nil { - return LookupExternalLoggingResultOutput{}, err - } - - output := pulumi.ToOutput(rv).(LookupExternalLoggingResultOutput) - if secret { - return pulumi.ToSecret(output).(LookupExternalLoggingResultOutput), nil - } - return output, nil + options := pulumi.InvokeOutputOptions{InvokeOptions: internal.PkgInvokeDefaultOpts(opts)} + return ctx.InvokeOutput("fivetran:index/getExternalLogging:getExternalLogging", args, LookupExternalLoggingResultOutput{}, options).(LookupExternalLoggingResultOutput), nil }).(LookupExternalLoggingResultOutput) } diff --git a/sdk/go/fivetran/getGroup.go b/sdk/go/fivetran/getGroup.go index 11eece2..f020dda 100644 --- a/sdk/go/fivetran/getGroup.go +++ b/sdk/go/fivetran/getGroup.go @@ -67,21 +67,11 @@ type LookupGroupResult struct { } func LookupGroupOutput(ctx *pulumi.Context, args LookupGroupOutputArgs, opts ...pulumi.InvokeOption) LookupGroupResultOutput { - return pulumi.ToOutputWithContext(context.Background(), args). + return pulumi.ToOutputWithContext(ctx.Context(), args). ApplyT(func(v interface{}) (LookupGroupResultOutput, error) { args := v.(LookupGroupArgs) - opts = internal.PkgInvokeDefaultOpts(opts) - var rv LookupGroupResult - secret, err := ctx.InvokePackageRaw("fivetran:index/getGroup:getGroup", args, &rv, "", opts...) - if err != nil { - return LookupGroupResultOutput{}, err - } - - output := pulumi.ToOutput(rv).(LookupGroupResultOutput) - if secret { - return pulumi.ToSecret(output).(LookupGroupResultOutput), nil - } - return output, nil + options := pulumi.InvokeOutputOptions{InvokeOptions: internal.PkgInvokeDefaultOpts(opts)} + return ctx.InvokeOutput("fivetran:index/getGroup:getGroup", args, LookupGroupResultOutput{}, options).(LookupGroupResultOutput), nil }).(LookupGroupResultOutput) } diff --git a/sdk/go/fivetran/getGroupConnectors.go b/sdk/go/fivetran/getGroupConnectors.go index ee51798..e43d751 100644 --- a/sdk/go/fivetran/getGroupConnectors.go +++ b/sdk/go/fivetran/getGroupConnectors.go @@ -68,21 +68,11 @@ type GetGroupConnectorsResult struct { } func GetGroupConnectorsOutput(ctx *pulumi.Context, args GetGroupConnectorsOutputArgs, opts ...pulumi.InvokeOption) GetGroupConnectorsResultOutput { - return pulumi.ToOutputWithContext(context.Background(), args). + return pulumi.ToOutputWithContext(ctx.Context(), args). ApplyT(func(v interface{}) (GetGroupConnectorsResultOutput, error) { args := v.(GetGroupConnectorsArgs) - opts = internal.PkgInvokeDefaultOpts(opts) - var rv GetGroupConnectorsResult - secret, err := ctx.InvokePackageRaw("fivetran:index/getGroupConnectors:getGroupConnectors", args, &rv, "", opts...) - if err != nil { - return GetGroupConnectorsResultOutput{}, err - } - - output := pulumi.ToOutput(rv).(GetGroupConnectorsResultOutput) - if secret { - return pulumi.ToSecret(output).(GetGroupConnectorsResultOutput), nil - } - return output, nil + options := pulumi.InvokeOutputOptions{InvokeOptions: internal.PkgInvokeDefaultOpts(opts)} + return ctx.InvokeOutput("fivetran:index/getGroupConnectors:getGroupConnectors", args, GetGroupConnectorsResultOutput{}, options).(GetGroupConnectorsResultOutput), nil }).(GetGroupConnectorsResultOutput) } diff --git a/sdk/go/fivetran/getGroupServiceAccount.go b/sdk/go/fivetran/getGroupServiceAccount.go index cd398b1..c2d9b57 100644 --- a/sdk/go/fivetran/getGroupServiceAccount.go +++ b/sdk/go/fivetran/getGroupServiceAccount.go @@ -63,21 +63,11 @@ type GetGroupServiceAccountResult struct { } func GetGroupServiceAccountOutput(ctx *pulumi.Context, args GetGroupServiceAccountOutputArgs, opts ...pulumi.InvokeOption) GetGroupServiceAccountResultOutput { - return pulumi.ToOutputWithContext(context.Background(), args). + return pulumi.ToOutputWithContext(ctx.Context(), args). ApplyT(func(v interface{}) (GetGroupServiceAccountResultOutput, error) { args := v.(GetGroupServiceAccountArgs) - opts = internal.PkgInvokeDefaultOpts(opts) - var rv GetGroupServiceAccountResult - secret, err := ctx.InvokePackageRaw("fivetran:index/getGroupServiceAccount:getGroupServiceAccount", args, &rv, "", opts...) - if err != nil { - return GetGroupServiceAccountResultOutput{}, err - } - - output := pulumi.ToOutput(rv).(GetGroupServiceAccountResultOutput) - if secret { - return pulumi.ToSecret(output).(GetGroupServiceAccountResultOutput), nil - } - return output, nil + options := pulumi.InvokeOutputOptions{InvokeOptions: internal.PkgInvokeDefaultOpts(opts)} + return ctx.InvokeOutput("fivetran:index/getGroupServiceAccount:getGroupServiceAccount", args, GetGroupServiceAccountResultOutput{}, options).(GetGroupServiceAccountResultOutput), nil }).(GetGroupServiceAccountResultOutput) } diff --git a/sdk/go/fivetran/getGroupSshKey.go b/sdk/go/fivetran/getGroupSshKey.go index 610a10d..2716d70 100644 --- a/sdk/go/fivetran/getGroupSshKey.go +++ b/sdk/go/fivetran/getGroupSshKey.go @@ -63,21 +63,11 @@ type GetGroupSshKeyResult struct { } func GetGroupSshKeyOutput(ctx *pulumi.Context, args GetGroupSshKeyOutputArgs, opts ...pulumi.InvokeOption) GetGroupSshKeyResultOutput { - return pulumi.ToOutputWithContext(context.Background(), args). + return pulumi.ToOutputWithContext(ctx.Context(), args). ApplyT(func(v interface{}) (GetGroupSshKeyResultOutput, error) { args := v.(GetGroupSshKeyArgs) - opts = internal.PkgInvokeDefaultOpts(opts) - var rv GetGroupSshKeyResult - secret, err := ctx.InvokePackageRaw("fivetran:index/getGroupSshKey:getGroupSshKey", args, &rv, "", opts...) - if err != nil { - return GetGroupSshKeyResultOutput{}, err - } - - output := pulumi.ToOutput(rv).(GetGroupSshKeyResultOutput) - if secret { - return pulumi.ToSecret(output).(GetGroupSshKeyResultOutput), nil - } - return output, nil + options := pulumi.InvokeOutputOptions{InvokeOptions: internal.PkgInvokeDefaultOpts(opts)} + return ctx.InvokeOutput("fivetran:index/getGroupSshKey:getGroupSshKey", args, GetGroupSshKeyResultOutput{}, options).(GetGroupSshKeyResultOutput), nil }).(GetGroupSshKeyResultOutput) } diff --git a/sdk/go/fivetran/getGroupUsers.go b/sdk/go/fivetran/getGroupUsers.go index 2389474..f124706 100644 --- a/sdk/go/fivetran/getGroupUsers.go +++ b/sdk/go/fivetran/getGroupUsers.go @@ -63,21 +63,11 @@ type LookupGroupUsersResult struct { } func LookupGroupUsersOutput(ctx *pulumi.Context, args LookupGroupUsersOutputArgs, opts ...pulumi.InvokeOption) LookupGroupUsersResultOutput { - return pulumi.ToOutputWithContext(context.Background(), args). + return pulumi.ToOutputWithContext(ctx.Context(), args). ApplyT(func(v interface{}) (LookupGroupUsersResultOutput, error) { args := v.(LookupGroupUsersArgs) - opts = internal.PkgInvokeDefaultOpts(opts) - var rv LookupGroupUsersResult - secret, err := ctx.InvokePackageRaw("fivetran:index/getGroupUsers:getGroupUsers", args, &rv, "", opts...) - if err != nil { - return LookupGroupUsersResultOutput{}, err - } - - output := pulumi.ToOutput(rv).(LookupGroupUsersResultOutput) - if secret { - return pulumi.ToSecret(output).(LookupGroupUsersResultOutput), nil - } - return output, nil + options := pulumi.InvokeOutputOptions{InvokeOptions: internal.PkgInvokeDefaultOpts(opts)} + return ctx.InvokeOutput("fivetran:index/getGroupUsers:getGroupUsers", args, LookupGroupUsersResultOutput{}, options).(LookupGroupUsersResultOutput), nil }).(LookupGroupUsersResultOutput) } diff --git a/sdk/go/fivetran/getGroups.go b/sdk/go/fivetran/getGroups.go index 6ae71c3..d3fb341 100644 --- a/sdk/go/fivetran/getGroups.go +++ b/sdk/go/fivetran/getGroups.go @@ -59,21 +59,11 @@ type GetGroupsResult struct { } func GetGroupsOutput(ctx *pulumi.Context, args GetGroupsOutputArgs, opts ...pulumi.InvokeOption) GetGroupsResultOutput { - return pulumi.ToOutputWithContext(context.Background(), args). + return pulumi.ToOutputWithContext(ctx.Context(), args). ApplyT(func(v interface{}) (GetGroupsResultOutput, error) { args := v.(GetGroupsArgs) - opts = internal.PkgInvokeDefaultOpts(opts) - var rv GetGroupsResult - secret, err := ctx.InvokePackageRaw("fivetran:index/getGroups:getGroups", args, &rv, "", opts...) - if err != nil { - return GetGroupsResultOutput{}, err - } - - output := pulumi.ToOutput(rv).(GetGroupsResultOutput) - if secret { - return pulumi.ToSecret(output).(GetGroupsResultOutput), nil - } - return output, nil + options := pulumi.InvokeOutputOptions{InvokeOptions: internal.PkgInvokeDefaultOpts(opts)} + return ctx.InvokeOutput("fivetran:index/getGroups:getGroups", args, GetGroupsResultOutput{}, options).(GetGroupsResultOutput), nil }).(GetGroupsResultOutput) } diff --git a/sdk/go/fivetran/getHybridDeploymentAgent.go b/sdk/go/fivetran/getHybridDeploymentAgent.go index 3d136d1..b619504 100644 --- a/sdk/go/fivetran/getHybridDeploymentAgent.go +++ b/sdk/go/fivetran/getHybridDeploymentAgent.go @@ -41,21 +41,11 @@ type LookupHybridDeploymentAgentResult struct { } func LookupHybridDeploymentAgentOutput(ctx *pulumi.Context, args LookupHybridDeploymentAgentOutputArgs, opts ...pulumi.InvokeOption) LookupHybridDeploymentAgentResultOutput { - return pulumi.ToOutputWithContext(context.Background(), args). + return pulumi.ToOutputWithContext(ctx.Context(), args). ApplyT(func(v interface{}) (LookupHybridDeploymentAgentResultOutput, error) { args := v.(LookupHybridDeploymentAgentArgs) - opts = internal.PkgInvokeDefaultOpts(opts) - var rv LookupHybridDeploymentAgentResult - secret, err := ctx.InvokePackageRaw("fivetran:index/getHybridDeploymentAgent:getHybridDeploymentAgent", args, &rv, "", opts...) - if err != nil { - return LookupHybridDeploymentAgentResultOutput{}, err - } - - output := pulumi.ToOutput(rv).(LookupHybridDeploymentAgentResultOutput) - if secret { - return pulumi.ToSecret(output).(LookupHybridDeploymentAgentResultOutput), nil - } - return output, nil + options := pulumi.InvokeOutputOptions{InvokeOptions: internal.PkgInvokeDefaultOpts(opts)} + return ctx.InvokeOutput("fivetran:index/getHybridDeploymentAgent:getHybridDeploymentAgent", args, LookupHybridDeploymentAgentResultOutput{}, options).(LookupHybridDeploymentAgentResultOutput), nil }).(LookupHybridDeploymentAgentResultOutput) } diff --git a/sdk/go/fivetran/getHybridDeploymentAgents.go b/sdk/go/fivetran/getHybridDeploymentAgents.go index 0109b64..9cbfa7f 100644 --- a/sdk/go/fivetran/getHybridDeploymentAgents.go +++ b/sdk/go/fivetran/getHybridDeploymentAgents.go @@ -55,18 +55,8 @@ type GetHybridDeploymentAgentsResult struct { func GetHybridDeploymentAgentsOutput(ctx *pulumi.Context, opts ...pulumi.InvokeOption) GetHybridDeploymentAgentsResultOutput { return pulumi.ToOutput(0).ApplyT(func(int) (GetHybridDeploymentAgentsResultOutput, error) { - opts = internal.PkgInvokeDefaultOpts(opts) - var rv GetHybridDeploymentAgentsResult - secret, err := ctx.InvokePackageRaw("fivetran:index/getHybridDeploymentAgents:getHybridDeploymentAgents", nil, &rv, "", opts...) - if err != nil { - return GetHybridDeploymentAgentsResultOutput{}, err - } - - output := pulumi.ToOutput(rv).(GetHybridDeploymentAgentsResultOutput) - if secret { - return pulumi.ToSecret(output).(GetHybridDeploymentAgentsResultOutput), nil - } - return output, nil + options := pulumi.InvokeOutputOptions{InvokeOptions: internal.PkgInvokeDefaultOpts(opts)} + return ctx.InvokeOutput("fivetran:index/getHybridDeploymentAgents:getHybridDeploymentAgents", nil, GetHybridDeploymentAgentsResultOutput{}, options).(GetHybridDeploymentAgentsResultOutput), nil }).(GetHybridDeploymentAgentsResultOutput) } diff --git a/sdk/go/fivetran/getLocalProcessingAgent.go b/sdk/go/fivetran/getLocalProcessingAgent.go index edc9113..0bc07eb 100644 --- a/sdk/go/fivetran/getLocalProcessingAgent.go +++ b/sdk/go/fivetran/getLocalProcessingAgent.go @@ -70,21 +70,11 @@ type LookupLocalProcessingAgentResult struct { } func LookupLocalProcessingAgentOutput(ctx *pulumi.Context, args LookupLocalProcessingAgentOutputArgs, opts ...pulumi.InvokeOption) LookupLocalProcessingAgentResultOutput { - return pulumi.ToOutputWithContext(context.Background(), args). + return pulumi.ToOutputWithContext(ctx.Context(), args). ApplyT(func(v interface{}) (LookupLocalProcessingAgentResultOutput, error) { args := v.(LookupLocalProcessingAgentArgs) - opts = internal.PkgInvokeDefaultOpts(opts) - var rv LookupLocalProcessingAgentResult - secret, err := ctx.InvokePackageRaw("fivetran:index/getLocalProcessingAgent:getLocalProcessingAgent", args, &rv, "", opts...) - if err != nil { - return LookupLocalProcessingAgentResultOutput{}, err - } - - output := pulumi.ToOutput(rv).(LookupLocalProcessingAgentResultOutput) - if secret { - return pulumi.ToSecret(output).(LookupLocalProcessingAgentResultOutput), nil - } - return output, nil + options := pulumi.InvokeOutputOptions{InvokeOptions: internal.PkgInvokeDefaultOpts(opts)} + return ctx.InvokeOutput("fivetran:index/getLocalProcessingAgent:getLocalProcessingAgent", args, LookupLocalProcessingAgentResultOutput{}, options).(LookupLocalProcessingAgentResultOutput), nil }).(LookupLocalProcessingAgentResultOutput) } diff --git a/sdk/go/fivetran/getLocalProcessingAgents.go b/sdk/go/fivetran/getLocalProcessingAgents.go index c35a947..2ec0b6a 100644 --- a/sdk/go/fivetran/getLocalProcessingAgents.go +++ b/sdk/go/fivetran/getLocalProcessingAgents.go @@ -57,18 +57,8 @@ type GetLocalProcessingAgentsResult struct { func GetLocalProcessingAgentsOutput(ctx *pulumi.Context, opts ...pulumi.InvokeOption) GetLocalProcessingAgentsResultOutput { return pulumi.ToOutput(0).ApplyT(func(int) (GetLocalProcessingAgentsResultOutput, error) { - opts = internal.PkgInvokeDefaultOpts(opts) - var rv GetLocalProcessingAgentsResult - secret, err := ctx.InvokePackageRaw("fivetran:index/getLocalProcessingAgents:getLocalProcessingAgents", nil, &rv, "", opts...) - if err != nil { - return GetLocalProcessingAgentsResultOutput{}, err - } - - output := pulumi.ToOutput(rv).(GetLocalProcessingAgentsResultOutput) - if secret { - return pulumi.ToSecret(output).(GetLocalProcessingAgentsResultOutput), nil - } - return output, nil + options := pulumi.InvokeOutputOptions{InvokeOptions: internal.PkgInvokeDefaultOpts(opts)} + return ctx.InvokeOutput("fivetran:index/getLocalProcessingAgents:getLocalProcessingAgents", nil, GetLocalProcessingAgentsResultOutput{}, options).(GetLocalProcessingAgentsResultOutput), nil }).(GetLocalProcessingAgentsResultOutput) } diff --git a/sdk/go/fivetran/getPrivateLink.go b/sdk/go/fivetran/getPrivateLink.go index 0a8018a..45d1ce0 100644 --- a/sdk/go/fivetran/getPrivateLink.go +++ b/sdk/go/fivetran/getPrivateLink.go @@ -79,21 +79,11 @@ type LookupPrivateLinkResult struct { } func LookupPrivateLinkOutput(ctx *pulumi.Context, args LookupPrivateLinkOutputArgs, opts ...pulumi.InvokeOption) LookupPrivateLinkResultOutput { - return pulumi.ToOutputWithContext(context.Background(), args). + return pulumi.ToOutputWithContext(ctx.Context(), args). ApplyT(func(v interface{}) (LookupPrivateLinkResultOutput, error) { args := v.(LookupPrivateLinkArgs) - opts = internal.PkgInvokeDefaultOpts(opts) - var rv LookupPrivateLinkResult - secret, err := ctx.InvokePackageRaw("fivetran:index/getPrivateLink:getPrivateLink", args, &rv, "", opts...) - if err != nil { - return LookupPrivateLinkResultOutput{}, err - } - - output := pulumi.ToOutput(rv).(LookupPrivateLinkResultOutput) - if secret { - return pulumi.ToSecret(output).(LookupPrivateLinkResultOutput), nil - } - return output, nil + options := pulumi.InvokeOutputOptions{InvokeOptions: internal.PkgInvokeDefaultOpts(opts)} + return ctx.InvokeOutput("fivetran:index/getPrivateLink:getPrivateLink", args, LookupPrivateLinkResultOutput{}, options).(LookupPrivateLinkResultOutput), nil }).(LookupPrivateLinkResultOutput) } diff --git a/sdk/go/fivetran/getPrivateLinks.go b/sdk/go/fivetran/getPrivateLinks.go index 27d0926..ce71d0e 100644 --- a/sdk/go/fivetran/getPrivateLinks.go +++ b/sdk/go/fivetran/getPrivateLinks.go @@ -34,21 +34,11 @@ type GetPrivateLinksResult struct { } func GetPrivateLinksOutput(ctx *pulumi.Context, args GetPrivateLinksOutputArgs, opts ...pulumi.InvokeOption) GetPrivateLinksResultOutput { - return pulumi.ToOutputWithContext(context.Background(), args). + return pulumi.ToOutputWithContext(ctx.Context(), args). ApplyT(func(v interface{}) (GetPrivateLinksResultOutput, error) { args := v.(GetPrivateLinksArgs) - opts = internal.PkgInvokeDefaultOpts(opts) - var rv GetPrivateLinksResult - secret, err := ctx.InvokePackageRaw("fivetran:index/getPrivateLinks:getPrivateLinks", args, &rv, "", opts...) - if err != nil { - return GetPrivateLinksResultOutput{}, err - } - - output := pulumi.ToOutput(rv).(GetPrivateLinksResultOutput) - if secret { - return pulumi.ToSecret(output).(GetPrivateLinksResultOutput), nil - } - return output, nil + options := pulumi.InvokeOutputOptions{InvokeOptions: internal.PkgInvokeDefaultOpts(opts)} + return ctx.InvokeOutput("fivetran:index/getPrivateLinks:getPrivateLinks", args, GetPrivateLinksResultOutput{}, options).(GetPrivateLinksResultOutput), nil }).(GetPrivateLinksResultOutput) } diff --git a/sdk/go/fivetran/getProxyAgent.go b/sdk/go/fivetran/getProxyAgent.go index 83f4b50..5ef7dfe 100644 --- a/sdk/go/fivetran/getProxyAgent.go +++ b/sdk/go/fivetran/getProxyAgent.go @@ -73,21 +73,11 @@ type LookupProxyAgentResult struct { } func LookupProxyAgentOutput(ctx *pulumi.Context, args LookupProxyAgentOutputArgs, opts ...pulumi.InvokeOption) LookupProxyAgentResultOutput { - return pulumi.ToOutputWithContext(context.Background(), args). + return pulumi.ToOutputWithContext(ctx.Context(), args). ApplyT(func(v interface{}) (LookupProxyAgentResultOutput, error) { args := v.(LookupProxyAgentArgs) - opts = internal.PkgInvokeDefaultOpts(opts) - var rv LookupProxyAgentResult - secret, err := ctx.InvokePackageRaw("fivetran:index/getProxyAgent:getProxyAgent", args, &rv, "", opts...) - if err != nil { - return LookupProxyAgentResultOutput{}, err - } - - output := pulumi.ToOutput(rv).(LookupProxyAgentResultOutput) - if secret { - return pulumi.ToSecret(output).(LookupProxyAgentResultOutput), nil - } - return output, nil + options := pulumi.InvokeOutputOptions{InvokeOptions: internal.PkgInvokeDefaultOpts(opts)} + return ctx.InvokeOutput("fivetran:index/getProxyAgent:getProxyAgent", args, LookupProxyAgentResultOutput{}, options).(LookupProxyAgentResultOutput), nil }).(LookupProxyAgentResultOutput) } diff --git a/sdk/go/fivetran/getProxyAgents.go b/sdk/go/fivetran/getProxyAgents.go index d8a3906..4dd0b12 100644 --- a/sdk/go/fivetran/getProxyAgents.go +++ b/sdk/go/fivetran/getProxyAgents.go @@ -59,21 +59,11 @@ type GetProxyAgentsResult struct { } func GetProxyAgentsOutput(ctx *pulumi.Context, args GetProxyAgentsOutputArgs, opts ...pulumi.InvokeOption) GetProxyAgentsResultOutput { - return pulumi.ToOutputWithContext(context.Background(), args). + return pulumi.ToOutputWithContext(ctx.Context(), args). ApplyT(func(v interface{}) (GetProxyAgentsResultOutput, error) { args := v.(GetProxyAgentsArgs) - opts = internal.PkgInvokeDefaultOpts(opts) - var rv GetProxyAgentsResult - secret, err := ctx.InvokePackageRaw("fivetran:index/getProxyAgents:getProxyAgents", args, &rv, "", opts...) - if err != nil { - return GetProxyAgentsResultOutput{}, err - } - - output := pulumi.ToOutput(rv).(GetProxyAgentsResultOutput) - if secret { - return pulumi.ToSecret(output).(GetProxyAgentsResultOutput), nil - } - return output, nil + options := pulumi.InvokeOutputOptions{InvokeOptions: internal.PkgInvokeDefaultOpts(opts)} + return ctx.InvokeOutput("fivetran:index/getProxyAgents:getProxyAgents", args, GetProxyAgentsResultOutput{}, options).(GetProxyAgentsResultOutput), nil }).(GetProxyAgentsResultOutput) } diff --git a/sdk/go/fivetran/getRoles.go b/sdk/go/fivetran/getRoles.go index 881ba5e..3e02f84 100644 --- a/sdk/go/fivetran/getRoles.go +++ b/sdk/go/fivetran/getRoles.go @@ -59,21 +59,11 @@ type GetRolesResult struct { } func GetRolesOutput(ctx *pulumi.Context, args GetRolesOutputArgs, opts ...pulumi.InvokeOption) GetRolesResultOutput { - return pulumi.ToOutputWithContext(context.Background(), args). + return pulumi.ToOutputWithContext(ctx.Context(), args). ApplyT(func(v interface{}) (GetRolesResultOutput, error) { args := v.(GetRolesArgs) - opts = internal.PkgInvokeDefaultOpts(opts) - var rv GetRolesResult - secret, err := ctx.InvokePackageRaw("fivetran:index/getRoles:getRoles", args, &rv, "", opts...) - if err != nil { - return GetRolesResultOutput{}, err - } - - output := pulumi.ToOutput(rv).(GetRolesResultOutput) - if secret { - return pulumi.ToSecret(output).(GetRolesResultOutput), nil - } - return output, nil + options := pulumi.InvokeOutputOptions{InvokeOptions: internal.PkgInvokeDefaultOpts(opts)} + return ctx.InvokeOutput("fivetran:index/getRoles:getRoles", args, GetRolesResultOutput{}, options).(GetRolesResultOutput), nil }).(GetRolesResultOutput) } diff --git a/sdk/go/fivetran/getTeam.go b/sdk/go/fivetran/getTeam.go index dc1f3bc..4d44430 100644 --- a/sdk/go/fivetran/getTeam.go +++ b/sdk/go/fivetran/getTeam.go @@ -67,21 +67,11 @@ type LookupTeamResult struct { } func LookupTeamOutput(ctx *pulumi.Context, args LookupTeamOutputArgs, opts ...pulumi.InvokeOption) LookupTeamResultOutput { - return pulumi.ToOutputWithContext(context.Background(), args). + return pulumi.ToOutputWithContext(ctx.Context(), args). ApplyT(func(v interface{}) (LookupTeamResultOutput, error) { args := v.(LookupTeamArgs) - opts = internal.PkgInvokeDefaultOpts(opts) - var rv LookupTeamResult - secret, err := ctx.InvokePackageRaw("fivetran:index/getTeam:getTeam", args, &rv, "", opts...) - if err != nil { - return LookupTeamResultOutput{}, err - } - - output := pulumi.ToOutput(rv).(LookupTeamResultOutput) - if secret { - return pulumi.ToSecret(output).(LookupTeamResultOutput), nil - } - return output, nil + options := pulumi.InvokeOutputOptions{InvokeOptions: internal.PkgInvokeDefaultOpts(opts)} + return ctx.InvokeOutput("fivetran:index/getTeam:getTeam", args, LookupTeamResultOutput{}, options).(LookupTeamResultOutput), nil }).(LookupTeamResultOutput) } diff --git a/sdk/go/fivetran/getTeamConnectorMemberships.go b/sdk/go/fivetran/getTeamConnectorMemberships.go index 32cb88d..18d7901 100644 --- a/sdk/go/fivetran/getTeamConnectorMemberships.go +++ b/sdk/go/fivetran/getTeamConnectorMemberships.go @@ -39,21 +39,11 @@ type GetTeamConnectorMembershipsResult struct { } func GetTeamConnectorMembershipsOutput(ctx *pulumi.Context, args GetTeamConnectorMembershipsOutputArgs, opts ...pulumi.InvokeOption) GetTeamConnectorMembershipsResultOutput { - return pulumi.ToOutputWithContext(context.Background(), args). + return pulumi.ToOutputWithContext(ctx.Context(), args). ApplyT(func(v interface{}) (GetTeamConnectorMembershipsResultOutput, error) { args := v.(GetTeamConnectorMembershipsArgs) - opts = internal.PkgInvokeDefaultOpts(opts) - var rv GetTeamConnectorMembershipsResult - secret, err := ctx.InvokePackageRaw("fivetran:index/getTeamConnectorMemberships:getTeamConnectorMemberships", args, &rv, "", opts...) - if err != nil { - return GetTeamConnectorMembershipsResultOutput{}, err - } - - output := pulumi.ToOutput(rv).(GetTeamConnectorMembershipsResultOutput) - if secret { - return pulumi.ToSecret(output).(GetTeamConnectorMembershipsResultOutput), nil - } - return output, nil + options := pulumi.InvokeOutputOptions{InvokeOptions: internal.PkgInvokeDefaultOpts(opts)} + return ctx.InvokeOutput("fivetran:index/getTeamConnectorMemberships:getTeamConnectorMemberships", args, GetTeamConnectorMembershipsResultOutput{}, options).(GetTeamConnectorMembershipsResultOutput), nil }).(GetTeamConnectorMembershipsResultOutput) } diff --git a/sdk/go/fivetran/getTeamGroupMemberships.go b/sdk/go/fivetran/getTeamGroupMemberships.go index 50e8ef0..496e738 100644 --- a/sdk/go/fivetran/getTeamGroupMemberships.go +++ b/sdk/go/fivetran/getTeamGroupMemberships.go @@ -65,21 +65,11 @@ type GetTeamGroupMembershipsResult struct { } func GetTeamGroupMembershipsOutput(ctx *pulumi.Context, args GetTeamGroupMembershipsOutputArgs, opts ...pulumi.InvokeOption) GetTeamGroupMembershipsResultOutput { - return pulumi.ToOutputWithContext(context.Background(), args). + return pulumi.ToOutputWithContext(ctx.Context(), args). ApplyT(func(v interface{}) (GetTeamGroupMembershipsResultOutput, error) { args := v.(GetTeamGroupMembershipsArgs) - opts = internal.PkgInvokeDefaultOpts(opts) - var rv GetTeamGroupMembershipsResult - secret, err := ctx.InvokePackageRaw("fivetran:index/getTeamGroupMemberships:getTeamGroupMemberships", args, &rv, "", opts...) - if err != nil { - return GetTeamGroupMembershipsResultOutput{}, err - } - - output := pulumi.ToOutput(rv).(GetTeamGroupMembershipsResultOutput) - if secret { - return pulumi.ToSecret(output).(GetTeamGroupMembershipsResultOutput), nil - } - return output, nil + options := pulumi.InvokeOutputOptions{InvokeOptions: internal.PkgInvokeDefaultOpts(opts)} + return ctx.InvokeOutput("fivetran:index/getTeamGroupMemberships:getTeamGroupMemberships", args, GetTeamGroupMembershipsResultOutput{}, options).(GetTeamGroupMembershipsResultOutput), nil }).(GetTeamGroupMembershipsResultOutput) } diff --git a/sdk/go/fivetran/getTeamUserMemberships.go b/sdk/go/fivetran/getTeamUserMemberships.go index 7fccc0d..f986377 100644 --- a/sdk/go/fivetran/getTeamUserMemberships.go +++ b/sdk/go/fivetran/getTeamUserMemberships.go @@ -65,21 +65,11 @@ type GetTeamUserMembershipsResult struct { } func GetTeamUserMembershipsOutput(ctx *pulumi.Context, args GetTeamUserMembershipsOutputArgs, opts ...pulumi.InvokeOption) GetTeamUserMembershipsResultOutput { - return pulumi.ToOutputWithContext(context.Background(), args). + return pulumi.ToOutputWithContext(ctx.Context(), args). ApplyT(func(v interface{}) (GetTeamUserMembershipsResultOutput, error) { args := v.(GetTeamUserMembershipsArgs) - opts = internal.PkgInvokeDefaultOpts(opts) - var rv GetTeamUserMembershipsResult - secret, err := ctx.InvokePackageRaw("fivetran:index/getTeamUserMemberships:getTeamUserMemberships", args, &rv, "", opts...) - if err != nil { - return GetTeamUserMembershipsResultOutput{}, err - } - - output := pulumi.ToOutput(rv).(GetTeamUserMembershipsResultOutput) - if secret { - return pulumi.ToSecret(output).(GetTeamUserMembershipsResultOutput), nil - } - return output, nil + options := pulumi.InvokeOutputOptions{InvokeOptions: internal.PkgInvokeDefaultOpts(opts)} + return ctx.InvokeOutput("fivetran:index/getTeamUserMemberships:getTeamUserMemberships", args, GetTeamUserMembershipsResultOutput{}, options).(GetTeamUserMembershipsResultOutput), nil }).(GetTeamUserMembershipsResultOutput) } diff --git a/sdk/go/fivetran/getTeams.go b/sdk/go/fivetran/getTeams.go index 4a2e567..45d9b1b 100644 --- a/sdk/go/fivetran/getTeams.go +++ b/sdk/go/fivetran/getTeams.go @@ -61,21 +61,11 @@ type GetTeamsResult struct { } func GetTeamsOutput(ctx *pulumi.Context, args GetTeamsOutputArgs, opts ...pulumi.InvokeOption) GetTeamsResultOutput { - return pulumi.ToOutputWithContext(context.Background(), args). + return pulumi.ToOutputWithContext(ctx.Context(), args). ApplyT(func(v interface{}) (GetTeamsResultOutput, error) { args := v.(GetTeamsArgs) - opts = internal.PkgInvokeDefaultOpts(opts) - var rv GetTeamsResult - secret, err := ctx.InvokePackageRaw("fivetran:index/getTeams:getTeams", args, &rv, "", opts...) - if err != nil { - return GetTeamsResultOutput{}, err - } - - output := pulumi.ToOutput(rv).(GetTeamsResultOutput) - if secret { - return pulumi.ToSecret(output).(GetTeamsResultOutput), nil - } - return output, nil + options := pulumi.InvokeOutputOptions{InvokeOptions: internal.PkgInvokeDefaultOpts(opts)} + return ctx.InvokeOutput("fivetran:index/getTeams:getTeams", args, GetTeamsResultOutput{}, options).(GetTeamsResultOutput), nil }).(GetTeamsResultOutput) } diff --git a/sdk/go/fivetran/getUser.go b/sdk/go/fivetran/getUser.go index e54eca8..a8639c1 100644 --- a/sdk/go/fivetran/getUser.go +++ b/sdk/go/fivetran/getUser.go @@ -81,21 +81,11 @@ type LookupUserResult struct { } func LookupUserOutput(ctx *pulumi.Context, args LookupUserOutputArgs, opts ...pulumi.InvokeOption) LookupUserResultOutput { - return pulumi.ToOutputWithContext(context.Background(), args). + return pulumi.ToOutputWithContext(ctx.Context(), args). ApplyT(func(v interface{}) (LookupUserResultOutput, error) { args := v.(LookupUserArgs) - opts = internal.PkgInvokeDefaultOpts(opts) - var rv LookupUserResult - secret, err := ctx.InvokePackageRaw("fivetran:index/getUser:getUser", args, &rv, "", opts...) - if err != nil { - return LookupUserResultOutput{}, err - } - - output := pulumi.ToOutput(rv).(LookupUserResultOutput) - if secret { - return pulumi.ToSecret(output).(LookupUserResultOutput), nil - } - return output, nil + options := pulumi.InvokeOutputOptions{InvokeOptions: internal.PkgInvokeDefaultOpts(opts)} + return ctx.InvokeOutput("fivetran:index/getUser:getUser", args, LookupUserResultOutput{}, options).(LookupUserResultOutput), nil }).(LookupUserResultOutput) } diff --git a/sdk/go/fivetran/getUserConnectorMemberships.go b/sdk/go/fivetran/getUserConnectorMemberships.go index b1d2cca..39cecdf 100644 --- a/sdk/go/fivetran/getUserConnectorMemberships.go +++ b/sdk/go/fivetran/getUserConnectorMemberships.go @@ -65,21 +65,11 @@ type GetUserConnectorMembershipsResult struct { } func GetUserConnectorMembershipsOutput(ctx *pulumi.Context, args GetUserConnectorMembershipsOutputArgs, opts ...pulumi.InvokeOption) GetUserConnectorMembershipsResultOutput { - return pulumi.ToOutputWithContext(context.Background(), args). + return pulumi.ToOutputWithContext(ctx.Context(), args). ApplyT(func(v interface{}) (GetUserConnectorMembershipsResultOutput, error) { args := v.(GetUserConnectorMembershipsArgs) - opts = internal.PkgInvokeDefaultOpts(opts) - var rv GetUserConnectorMembershipsResult - secret, err := ctx.InvokePackageRaw("fivetran:index/getUserConnectorMemberships:getUserConnectorMemberships", args, &rv, "", opts...) - if err != nil { - return GetUserConnectorMembershipsResultOutput{}, err - } - - output := pulumi.ToOutput(rv).(GetUserConnectorMembershipsResultOutput) - if secret { - return pulumi.ToSecret(output).(GetUserConnectorMembershipsResultOutput), nil - } - return output, nil + options := pulumi.InvokeOutputOptions{InvokeOptions: internal.PkgInvokeDefaultOpts(opts)} + return ctx.InvokeOutput("fivetran:index/getUserConnectorMemberships:getUserConnectorMemberships", args, GetUserConnectorMembershipsResultOutput{}, options).(GetUserConnectorMembershipsResultOutput), nil }).(GetUserConnectorMembershipsResultOutput) } diff --git a/sdk/go/fivetran/getUserGroupMemberships.go b/sdk/go/fivetran/getUserGroupMemberships.go index 13a9866..2e2817d 100644 --- a/sdk/go/fivetran/getUserGroupMemberships.go +++ b/sdk/go/fivetran/getUserGroupMemberships.go @@ -65,21 +65,11 @@ type GetUserGroupMembershipsResult struct { } func GetUserGroupMembershipsOutput(ctx *pulumi.Context, args GetUserGroupMembershipsOutputArgs, opts ...pulumi.InvokeOption) GetUserGroupMembershipsResultOutput { - return pulumi.ToOutputWithContext(context.Background(), args). + return pulumi.ToOutputWithContext(ctx.Context(), args). ApplyT(func(v interface{}) (GetUserGroupMembershipsResultOutput, error) { args := v.(GetUserGroupMembershipsArgs) - opts = internal.PkgInvokeDefaultOpts(opts) - var rv GetUserGroupMembershipsResult - secret, err := ctx.InvokePackageRaw("fivetran:index/getUserGroupMemberships:getUserGroupMemberships", args, &rv, "", opts...) - if err != nil { - return GetUserGroupMembershipsResultOutput{}, err - } - - output := pulumi.ToOutput(rv).(GetUserGroupMembershipsResultOutput) - if secret { - return pulumi.ToSecret(output).(GetUserGroupMembershipsResultOutput), nil - } - return output, nil + options := pulumi.InvokeOutputOptions{InvokeOptions: internal.PkgInvokeDefaultOpts(opts)} + return ctx.InvokeOutput("fivetran:index/getUserGroupMemberships:getUserGroupMemberships", args, GetUserGroupMembershipsResultOutput{}, options).(GetUserGroupMembershipsResultOutput), nil }).(GetUserGroupMembershipsResultOutput) } diff --git a/sdk/go/fivetran/getUsers.go b/sdk/go/fivetran/getUsers.go index 9cd831a..b1cd1c2 100644 --- a/sdk/go/fivetran/getUsers.go +++ b/sdk/go/fivetran/getUsers.go @@ -61,21 +61,11 @@ type GetUsersResult struct { } func GetUsersOutput(ctx *pulumi.Context, args GetUsersOutputArgs, opts ...pulumi.InvokeOption) GetUsersResultOutput { - return pulumi.ToOutputWithContext(context.Background(), args). + return pulumi.ToOutputWithContext(ctx.Context(), args). ApplyT(func(v interface{}) (GetUsersResultOutput, error) { args := v.(GetUsersArgs) - opts = internal.PkgInvokeDefaultOpts(opts) - var rv GetUsersResult - secret, err := ctx.InvokePackageRaw("fivetran:index/getUsers:getUsers", args, &rv, "", opts...) - if err != nil { - return GetUsersResultOutput{}, err - } - - output := pulumi.ToOutput(rv).(GetUsersResultOutput) - if secret { - return pulumi.ToSecret(output).(GetUsersResultOutput), nil - } - return output, nil + options := pulumi.InvokeOutputOptions{InvokeOptions: internal.PkgInvokeDefaultOpts(opts)} + return ctx.InvokeOutput("fivetran:index/getUsers:getUsers", args, GetUsersResultOutput{}, options).(GetUsersResultOutput), nil }).(GetUsersResultOutput) } diff --git a/sdk/go/fivetran/getWebhook.go b/sdk/go/fivetran/getWebhook.go index b14d359..7a60812 100644 --- a/sdk/go/fivetran/getWebhook.go +++ b/sdk/go/fivetran/getWebhook.go @@ -79,21 +79,11 @@ type LookupWebhookResult struct { } func LookupWebhookOutput(ctx *pulumi.Context, args LookupWebhookOutputArgs, opts ...pulumi.InvokeOption) LookupWebhookResultOutput { - return pulumi.ToOutputWithContext(context.Background(), args). + return pulumi.ToOutputWithContext(ctx.Context(), args). ApplyT(func(v interface{}) (LookupWebhookResultOutput, error) { args := v.(LookupWebhookArgs) - opts = internal.PkgInvokeDefaultOpts(opts) - var rv LookupWebhookResult - secret, err := ctx.InvokePackageRaw("fivetran:index/getWebhook:getWebhook", args, &rv, "", opts...) - if err != nil { - return LookupWebhookResultOutput{}, err - } - - output := pulumi.ToOutput(rv).(LookupWebhookResultOutput) - if secret { - return pulumi.ToSecret(output).(LookupWebhookResultOutput), nil - } - return output, nil + options := pulumi.InvokeOutputOptions{InvokeOptions: internal.PkgInvokeDefaultOpts(opts)} + return ctx.InvokeOutput("fivetran:index/getWebhook:getWebhook", args, LookupWebhookResultOutput{}, options).(LookupWebhookResultOutput), nil }).(LookupWebhookResultOutput) } diff --git a/sdk/go/fivetran/getWebhooks.go b/sdk/go/fivetran/getWebhooks.go index 2929e82..f395c58 100644 --- a/sdk/go/fivetran/getWebhooks.go +++ b/sdk/go/fivetran/getWebhooks.go @@ -55,18 +55,8 @@ type GetWebhooksResult struct { func GetWebhooksOutput(ctx *pulumi.Context, opts ...pulumi.InvokeOption) GetWebhooksResultOutput { return pulumi.ToOutput(0).ApplyT(func(int) (GetWebhooksResultOutput, error) { - opts = internal.PkgInvokeDefaultOpts(opts) - var rv GetWebhooksResult - secret, err := ctx.InvokePackageRaw("fivetran:index/getWebhooks:getWebhooks", nil, &rv, "", opts...) - if err != nil { - return GetWebhooksResultOutput{}, err - } - - output := pulumi.ToOutput(rv).(GetWebhooksResultOutput) - if secret { - return pulumi.ToSecret(output).(GetWebhooksResultOutput), nil - } - return output, nil + options := pulumi.InvokeOutputOptions{InvokeOptions: internal.PkgInvokeDefaultOpts(opts)} + return ctx.InvokeOutput("fivetran:index/getWebhooks:getWebhooks", nil, GetWebhooksResultOutput{}, options).(GetWebhooksResultOutput), nil }).(GetWebhooksResultOutput) } diff --git a/sdk/nodejs/getConnector.ts b/sdk/nodejs/getConnector.ts index 5266f16..4f25d0a 100644 --- a/sdk/nodejs/getConnector.ts +++ b/sdk/nodejs/getConnector.ts @@ -81,7 +81,7 @@ export interface GetConnectorResult { * }); * ``` */ -export function getConnectorOutput(args: GetConnectorOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { +export function getConnectorOutput(args: GetConnectorOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("fivetran:index/getConnector:getConnector", { "config": args.config, diff --git a/sdk/nodejs/getConnectorCertificates.ts b/sdk/nodejs/getConnectorCertificates.ts index 5cc579c..215e791 100644 --- a/sdk/nodejs/getConnectorCertificates.ts +++ b/sdk/nodejs/getConnectorCertificates.ts @@ -39,7 +39,7 @@ export interface GetConnectorCertificatesResult { */ readonly id: string; } -export function getConnectorCertificatesOutput(args: GetConnectorCertificatesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { +export function getConnectorCertificatesOutput(args: GetConnectorCertificatesOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("fivetran:index/getConnectorCertificates:getConnectorCertificates", { "certificates": args.certificates, diff --git a/sdk/nodejs/getConnectorFingerprints.ts b/sdk/nodejs/getConnectorFingerprints.ts index 118cf72..b482667 100644 --- a/sdk/nodejs/getConnectorFingerprints.ts +++ b/sdk/nodejs/getConnectorFingerprints.ts @@ -67,7 +67,7 @@ export interface GetConnectorFingerprintsResult { * }); * ``` */ -export function getConnectorFingerprintsOutput(args: GetConnectorFingerprintsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { +export function getConnectorFingerprintsOutput(args: GetConnectorFingerprintsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("fivetran:index/getConnectorFingerprints:getConnectorFingerprints", { "fingerprints": args.fingerprints, diff --git a/sdk/nodejs/getConnectorsMetadata.ts b/sdk/nodejs/getConnectorsMetadata.ts index 2d4452b..9499c1c 100644 --- a/sdk/nodejs/getConnectorsMetadata.ts +++ b/sdk/nodejs/getConnectorsMetadata.ts @@ -55,7 +55,7 @@ export interface GetConnectorsMetadataResult { * const sources = fivetran.getConnectorsMetadata({}); * ``` */ -export function getConnectorsMetadataOutput(args?: GetConnectorsMetadataOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { +export function getConnectorsMetadataOutput(args?: GetConnectorsMetadataOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("fivetran:index/getConnectorsMetadata:getConnectorsMetadata", { diff --git a/sdk/nodejs/getDbtModels.ts b/sdk/nodejs/getDbtModels.ts index 82cdd5d..3c442f8 100644 --- a/sdk/nodejs/getDbtModels.ts +++ b/sdk/nodejs/getDbtModels.ts @@ -67,7 +67,7 @@ export interface GetDbtModelsResult { * }); * ``` */ -export function getDbtModelsOutput(args: GetDbtModelsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { +export function getDbtModelsOutput(args: GetDbtModelsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("fivetran:index/getDbtModels:getDbtModels", { "models": args.models, diff --git a/sdk/nodejs/getDbtProject.ts b/sdk/nodejs/getDbtProject.ts index 12dfcdd..923392a 100644 --- a/sdk/nodejs/getDbtProject.ts +++ b/sdk/nodejs/getDbtProject.ts @@ -112,7 +112,7 @@ export interface GetDbtProjectResult { * }); * ``` */ -export function getDbtProjectOutput(args: GetDbtProjectOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { +export function getDbtProjectOutput(args: GetDbtProjectOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("fivetran:index/getDbtProject:getDbtProject", { "id": args.id, diff --git a/sdk/nodejs/getDbtProjects.ts b/sdk/nodejs/getDbtProjects.ts index 034ddc1..c4626e2 100644 --- a/sdk/nodejs/getDbtProjects.ts +++ b/sdk/nodejs/getDbtProjects.ts @@ -46,7 +46,7 @@ export interface GetDbtProjectsResult { * const myProjects = fivetran.getDbtProjects({}); * ``` */ -export function getDbtProjectsOutput(opts?: pulumi.InvokeOptions): pulumi.Output { +export function getDbtProjectsOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("fivetran:index/getDbtProjects:getDbtProjects", { }, opts); diff --git a/sdk/nodejs/getDbtTransformation.ts b/sdk/nodejs/getDbtTransformation.ts index 665fd88..34f7e05 100644 --- a/sdk/nodejs/getDbtTransformation.ts +++ b/sdk/nodejs/getDbtTransformation.ts @@ -99,7 +99,7 @@ export interface GetDbtTransformationResult { * }); * ``` */ -export function getDbtTransformationOutput(args: GetDbtTransformationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { +export function getDbtTransformationOutput(args: GetDbtTransformationOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("fivetran:index/getDbtTransformation:getDbtTransformation", { "id": args.id, diff --git a/sdk/nodejs/getDestination.ts b/sdk/nodejs/getDestination.ts index ff6cb1f..87cdc30 100644 --- a/sdk/nodejs/getDestination.ts +++ b/sdk/nodejs/getDestination.ts @@ -67,7 +67,7 @@ export interface GetDestinationResult { * }); * ``` */ -export function getDestinationOutput(args: GetDestinationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { +export function getDestinationOutput(args: GetDestinationOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("fivetran:index/getDestination:getDestination", { "config": args.config, diff --git a/sdk/nodejs/getDestinationCertificates.ts b/sdk/nodejs/getDestinationCertificates.ts index 90a73be..8a95b3f 100644 --- a/sdk/nodejs/getDestinationCertificates.ts +++ b/sdk/nodejs/getDestinationCertificates.ts @@ -39,7 +39,7 @@ export interface GetDestinationCertificatesResult { */ readonly id: string; } -export function getDestinationCertificatesOutput(args: GetDestinationCertificatesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { +export function getDestinationCertificatesOutput(args: GetDestinationCertificatesOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("fivetran:index/getDestinationCertificates:getDestinationCertificates", { "certificates": args.certificates, diff --git a/sdk/nodejs/getDestinationFingerprints.ts b/sdk/nodejs/getDestinationFingerprints.ts index be59182..91c4be6 100644 --- a/sdk/nodejs/getDestinationFingerprints.ts +++ b/sdk/nodejs/getDestinationFingerprints.ts @@ -67,7 +67,7 @@ export interface GetDestinationFingerprintsResult { * }); * ``` */ -export function getDestinationFingerprintsOutput(args: GetDestinationFingerprintsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { +export function getDestinationFingerprintsOutput(args: GetDestinationFingerprintsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("fivetran:index/getDestinationFingerprints:getDestinationFingerprints", { "fingerprints": args.fingerprints, diff --git a/sdk/nodejs/getExternalLogging.ts b/sdk/nodejs/getExternalLogging.ts index 0014a46..5851daa 100644 --- a/sdk/nodejs/getExternalLogging.ts +++ b/sdk/nodejs/getExternalLogging.ts @@ -84,7 +84,7 @@ export interface GetExternalLoggingResult { * }); * ``` */ -export function getExternalLoggingOutput(args: GetExternalLoggingOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { +export function getExternalLoggingOutput(args: GetExternalLoggingOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("fivetran:index/getExternalLogging:getExternalLogging", { "config": args.config, diff --git a/sdk/nodejs/getGroup.ts b/sdk/nodejs/getGroup.ts index a0b692f..4e9f024 100644 --- a/sdk/nodejs/getGroup.ts +++ b/sdk/nodejs/getGroup.ts @@ -70,7 +70,7 @@ export interface GetGroupResult { * }); * ``` */ -export function getGroupOutput(args: GetGroupOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { +export function getGroupOutput(args: GetGroupOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("fivetran:index/getGroup:getGroup", { "id": args.id, diff --git a/sdk/nodejs/getGroupConnectors.ts b/sdk/nodejs/getGroupConnectors.ts index 2ecd248..06800d5 100644 --- a/sdk/nodejs/getGroupConnectors.ts +++ b/sdk/nodejs/getGroupConnectors.ts @@ -74,7 +74,7 @@ export interface GetGroupConnectorsResult { * }); * ``` */ -export function getGroupConnectorsOutput(args: GetGroupConnectorsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { +export function getGroupConnectorsOutput(args: GetGroupConnectorsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("fivetran:index/getGroupConnectors:getGroupConnectors", { "connectors": args.connectors, diff --git a/sdk/nodejs/getGroupServiceAccount.ts b/sdk/nodejs/getGroupServiceAccount.ts index f3d194a..2d679b1 100644 --- a/sdk/nodejs/getGroupServiceAccount.ts +++ b/sdk/nodejs/getGroupServiceAccount.ts @@ -62,7 +62,7 @@ export interface GetGroupServiceAccountResult { * }); * ``` */ -export function getGroupServiceAccountOutput(args: GetGroupServiceAccountOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { +export function getGroupServiceAccountOutput(args: GetGroupServiceAccountOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("fivetran:index/getGroupServiceAccount:getGroupServiceAccount", { "id": args.id, diff --git a/sdk/nodejs/getGroupSshKey.ts b/sdk/nodejs/getGroupSshKey.ts index a47296e..b0a2104 100644 --- a/sdk/nodejs/getGroupSshKey.ts +++ b/sdk/nodejs/getGroupSshKey.ts @@ -62,7 +62,7 @@ export interface GetGroupSshKeyResult { * }); * ``` */ -export function getGroupSshKeyOutput(args: GetGroupSshKeyOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { +export function getGroupSshKeyOutput(args: GetGroupSshKeyOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("fivetran:index/getGroupSshKey:getGroupSshKey", { "id": args.id, diff --git a/sdk/nodejs/getGroupUsers.ts b/sdk/nodejs/getGroupUsers.ts index 9e7d886..9f690cf 100644 --- a/sdk/nodejs/getGroupUsers.ts +++ b/sdk/nodejs/getGroupUsers.ts @@ -63,7 +63,7 @@ export interface GetGroupUsersResult { * }); * ``` */ -export function getGroupUsersOutput(args: GetGroupUsersOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { +export function getGroupUsersOutput(args: GetGroupUsersOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("fivetran:index/getGroupUsers:getGroupUsers", { "id": args.id, diff --git a/sdk/nodejs/getGroups.ts b/sdk/nodejs/getGroups.ts index 840737e..3c70845 100644 --- a/sdk/nodejs/getGroups.ts +++ b/sdk/nodejs/getGroups.ts @@ -55,7 +55,7 @@ export interface GetGroupsResult { * const all = fivetran.getGroups({}); * ``` */ -export function getGroupsOutput(args?: GetGroupsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { +export function getGroupsOutput(args?: GetGroupsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("fivetran:index/getGroups:getGroups", { diff --git a/sdk/nodejs/getHybridDeploymentAgent.ts b/sdk/nodejs/getHybridDeploymentAgent.ts index a79cd28..07be5d5 100644 --- a/sdk/nodejs/getHybridDeploymentAgent.ts +++ b/sdk/nodejs/getHybridDeploymentAgent.ts @@ -48,7 +48,7 @@ export interface GetHybridDeploymentAgentResult { /** * This data source returns a hybrid deployment agent object. */ -export function getHybridDeploymentAgentOutput(args: GetHybridDeploymentAgentOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { +export function getHybridDeploymentAgentOutput(args: GetHybridDeploymentAgentOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("fivetran:index/getHybridDeploymentAgent:getHybridDeploymentAgent", { "id": args.id, diff --git a/sdk/nodejs/getHybridDeploymentAgents.ts b/sdk/nodejs/getHybridDeploymentAgents.ts index b6dc440..866e36e 100644 --- a/sdk/nodejs/getHybridDeploymentAgents.ts +++ b/sdk/nodejs/getHybridDeploymentAgents.ts @@ -46,7 +46,7 @@ export interface GetHybridDeploymentAgentsResult { * const hybridDeploymentAgents = fivetran.getHybridDeploymentAgents({}); * ``` */ -export function getHybridDeploymentAgentsOutput(opts?: pulumi.InvokeOptions): pulumi.Output { +export function getHybridDeploymentAgentsOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("fivetran:index/getHybridDeploymentAgents:getHybridDeploymentAgents", { }, opts); diff --git a/sdk/nodejs/getLocalProcessingAgent.ts b/sdk/nodejs/getLocalProcessingAgent.ts index 145c318..85d02dc 100644 --- a/sdk/nodejs/getLocalProcessingAgent.ts +++ b/sdk/nodejs/getLocalProcessingAgent.ts @@ -77,7 +77,7 @@ export interface GetLocalProcessingAgentResult { * }); * ``` */ -export function getLocalProcessingAgentOutput(args: GetLocalProcessingAgentOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { +export function getLocalProcessingAgentOutput(args: GetLocalProcessingAgentOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("fivetran:index/getLocalProcessingAgent:getLocalProcessingAgent", { "id": args.id, diff --git a/sdk/nodejs/getLocalProcessingAgents.ts b/sdk/nodejs/getLocalProcessingAgents.ts index df28659..3d9efd9 100644 --- a/sdk/nodejs/getLocalProcessingAgents.ts +++ b/sdk/nodejs/getLocalProcessingAgents.ts @@ -50,7 +50,7 @@ export interface GetLocalProcessingAgentsResult { * const localProcessingAgents = fivetran.getLocalProcessingAgents({}); * ``` */ -export function getLocalProcessingAgentsOutput(opts?: pulumi.InvokeOptions): pulumi.Output { +export function getLocalProcessingAgentsOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("fivetran:index/getLocalProcessingAgents:getLocalProcessingAgents", { }, opts); diff --git a/sdk/nodejs/getPrivateLink.ts b/sdk/nodejs/getPrivateLink.ts index c5971c4..d326ee9 100644 --- a/sdk/nodejs/getPrivateLink.ts +++ b/sdk/nodejs/getPrivateLink.ts @@ -94,7 +94,7 @@ export interface GetPrivateLinkResult { * }); * ``` */ -export function getPrivateLinkOutput(args: GetPrivateLinkOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { +export function getPrivateLinkOutput(args: GetPrivateLinkOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("fivetran:index/getPrivateLink:getPrivateLink", { "id": args.id, diff --git a/sdk/nodejs/getPrivateLinks.ts b/sdk/nodejs/getPrivateLinks.ts index 4b0be74..a87f8c4 100644 --- a/sdk/nodejs/getPrivateLinks.ts +++ b/sdk/nodejs/getPrivateLinks.ts @@ -31,7 +31,7 @@ export interface GetPrivateLinksResult { readonly id: string; readonly items?: outputs.GetPrivateLinksItem[]; } -export function getPrivateLinksOutput(args?: GetPrivateLinksOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { +export function getPrivateLinksOutput(args?: GetPrivateLinksOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("fivetran:index/getPrivateLinks:getPrivateLinks", { diff --git a/sdk/nodejs/getProxyAgent.ts b/sdk/nodejs/getProxyAgent.ts index e0a84b7..e18c8a1 100644 --- a/sdk/nodejs/getProxyAgent.ts +++ b/sdk/nodejs/getProxyAgent.ts @@ -82,7 +82,7 @@ export interface GetProxyAgentResult { * }); * ``` */ -export function getProxyAgentOutput(args: GetProxyAgentOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { +export function getProxyAgentOutput(args: GetProxyAgentOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("fivetran:index/getProxyAgent:getProxyAgent", { "id": args.id, diff --git a/sdk/nodejs/getProxyAgents.ts b/sdk/nodejs/getProxyAgents.ts index 5d95af3..66a56c1 100644 --- a/sdk/nodejs/getProxyAgents.ts +++ b/sdk/nodejs/getProxyAgents.ts @@ -55,7 +55,7 @@ export interface GetProxyAgentsResult { * const proxyAgents = fivetran.getProxyAgents({}); * ``` */ -export function getProxyAgentsOutput(args?: GetProxyAgentsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { +export function getProxyAgentsOutput(args?: GetProxyAgentsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("fivetran:index/getProxyAgents:getProxyAgents", { diff --git a/sdk/nodejs/getRoles.ts b/sdk/nodejs/getRoles.ts index b266905..05e2274 100644 --- a/sdk/nodejs/getRoles.ts +++ b/sdk/nodejs/getRoles.ts @@ -55,7 +55,7 @@ export interface GetRolesResult { * const roles = fivetran.getRoles({}); * ``` */ -export function getRolesOutput(args?: GetRolesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { +export function getRolesOutput(args?: GetRolesOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("fivetran:index/getRoles:getRoles", { diff --git a/sdk/nodejs/getTeam.ts b/sdk/nodejs/getTeam.ts index b2232dc..cbcde0c 100644 --- a/sdk/nodejs/getTeam.ts +++ b/sdk/nodejs/getTeam.ts @@ -70,7 +70,7 @@ export interface GetTeamResult { * }); * ``` */ -export function getTeamOutput(args: GetTeamOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { +export function getTeamOutput(args: GetTeamOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("fivetran:index/getTeam:getTeam", { "id": args.id, diff --git a/sdk/nodejs/getTeamConnectorMemberships.ts b/sdk/nodejs/getTeamConnectorMemberships.ts index fd65ae8..a55c53d 100644 --- a/sdk/nodejs/getTeamConnectorMemberships.ts +++ b/sdk/nodejs/getTeamConnectorMemberships.ts @@ -45,7 +45,7 @@ export interface GetTeamConnectorMembershipsResult { /** * This data source returns a connector membership within team object. */ -export function getTeamConnectorMembershipsOutput(args: GetTeamConnectorMembershipsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { +export function getTeamConnectorMembershipsOutput(args: GetTeamConnectorMembershipsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("fivetran:index/getTeamConnectorMemberships:getTeamConnectorMemberships", { "connectors": args.connectors, diff --git a/sdk/nodejs/getTeamGroupMemberships.ts b/sdk/nodejs/getTeamGroupMemberships.ts index f668314..2c20510 100644 --- a/sdk/nodejs/getTeamGroupMemberships.ts +++ b/sdk/nodejs/getTeamGroupMemberships.ts @@ -67,7 +67,7 @@ export interface GetTeamGroupMembershipsResult { * }); * ``` */ -export function getTeamGroupMembershipsOutput(args: GetTeamGroupMembershipsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { +export function getTeamGroupMembershipsOutput(args: GetTeamGroupMembershipsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("fivetran:index/getTeamGroupMemberships:getTeamGroupMemberships", { "groups": args.groups, diff --git a/sdk/nodejs/getTeamUserMemberships.ts b/sdk/nodejs/getTeamUserMemberships.ts index 02a03bd..4335b7f 100644 --- a/sdk/nodejs/getTeamUserMemberships.ts +++ b/sdk/nodejs/getTeamUserMemberships.ts @@ -67,7 +67,7 @@ export interface GetTeamUserMembershipsResult { * }); * ``` */ -export function getTeamUserMembershipsOutput(args: GetTeamUserMembershipsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { +export function getTeamUserMembershipsOutput(args: GetTeamUserMembershipsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("fivetran:index/getTeamUserMemberships:getTeamUserMemberships", { "teamId": args.teamId, diff --git a/sdk/nodejs/getTeams.ts b/sdk/nodejs/getTeams.ts index 54cd9bb..1e70f50 100644 --- a/sdk/nodejs/getTeams.ts +++ b/sdk/nodejs/getTeams.ts @@ -60,7 +60,7 @@ export interface GetTeamsResult { * const teams = fivetran.getTeams({}); * ``` */ -export function getTeamsOutput(args?: GetTeamsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { +export function getTeamsOutput(args?: GetTeamsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("fivetran:index/getTeams:getTeams", { diff --git a/sdk/nodejs/getUser.ts b/sdk/nodejs/getUser.ts index 950972c..8811f7a 100644 --- a/sdk/nodejs/getUser.ts +++ b/sdk/nodejs/getUser.ts @@ -98,7 +98,7 @@ export interface GetUserResult { * }); * ``` */ -export function getUserOutput(args: GetUserOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { +export function getUserOutput(args: GetUserOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("fivetran:index/getUser:getUser", { "id": args.id, diff --git a/sdk/nodejs/getUserConnectorMemberships.ts b/sdk/nodejs/getUserConnectorMemberships.ts index 48ee40a..3b20424 100644 --- a/sdk/nodejs/getUserConnectorMemberships.ts +++ b/sdk/nodejs/getUserConnectorMemberships.ts @@ -67,7 +67,7 @@ export interface GetUserConnectorMembershipsResult { * }); * ``` */ -export function getUserConnectorMembershipsOutput(args: GetUserConnectorMembershipsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { +export function getUserConnectorMembershipsOutput(args: GetUserConnectorMembershipsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("fivetran:index/getUserConnectorMemberships:getUserConnectorMemberships", { "connectors": args.connectors, diff --git a/sdk/nodejs/getUserGroupMemberships.ts b/sdk/nodejs/getUserGroupMemberships.ts index d6eeb86..a93a650 100644 --- a/sdk/nodejs/getUserGroupMemberships.ts +++ b/sdk/nodejs/getUserGroupMemberships.ts @@ -67,7 +67,7 @@ export interface GetUserGroupMembershipsResult { * }); * ``` */ -export function getUserGroupMembershipsOutput(args: GetUserGroupMembershipsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { +export function getUserGroupMembershipsOutput(args: GetUserGroupMembershipsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("fivetran:index/getUserGroupMemberships:getUserGroupMemberships", { "groups": args.groups, diff --git a/sdk/nodejs/getUsers.ts b/sdk/nodejs/getUsers.ts index 617af03..32a5339 100644 --- a/sdk/nodejs/getUsers.ts +++ b/sdk/nodejs/getUsers.ts @@ -60,7 +60,7 @@ export interface GetUsersResult { * const users = fivetran.getUsers({}); * ``` */ -export function getUsersOutput(args?: GetUsersOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { +export function getUsersOutput(args?: GetUsersOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("fivetran:index/getUsers:getUsers", { diff --git a/sdk/nodejs/getWebhook.ts b/sdk/nodejs/getWebhook.ts index e234ae0..1d8f7ca 100644 --- a/sdk/nodejs/getWebhook.ts +++ b/sdk/nodejs/getWebhook.ts @@ -94,7 +94,7 @@ export interface GetWebhookResult { * }); * ``` */ -export function getWebhookOutput(args: GetWebhookOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { +export function getWebhookOutput(args: GetWebhookOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("fivetran:index/getWebhook:getWebhook", { "id": args.id, diff --git a/sdk/nodejs/getWebhooks.ts b/sdk/nodejs/getWebhooks.ts index cc19384..d033a98 100644 --- a/sdk/nodejs/getWebhooks.ts +++ b/sdk/nodejs/getWebhooks.ts @@ -46,7 +46,7 @@ export interface GetWebhooksResult { * const webhooks = fivetran.getWebhooks({}); * ``` */ -export function getWebhooksOutput(opts?: pulumi.InvokeOptions): pulumi.Output { +export function getWebhooksOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("fivetran:index/getWebhooks:getWebhooks", { }, opts); diff --git a/sdk/python/pulumi_provider_fivetran/get_connector.py b/sdk/python/pulumi_provider_fivetran/get_connector.py index 8f7fbc9..8b647d7 100644 --- a/sdk/python/pulumi_provider_fivetran/get_connector.py +++ b/sdk/python/pulumi_provider_fivetran/get_connector.py @@ -289,7 +289,7 @@ def get_connector_output(config: Optional[pulumi.Input[Optional[Union['GetConnec destination_schema: Optional[pulumi.Input[Optional[Union['GetConnectorDestinationSchemaArgs', 'GetConnectorDestinationSchemaArgsDict']]]] = None, id: Optional[pulumi.Input[str]] = None, status: Optional[pulumi.Input[Optional[Union['GetConnectorStatusArgs', 'GetConnectorStatusArgsDict']]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetConnectorResult]: + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetConnectorResult]: """ This data source returns a connector object. @@ -307,7 +307,7 @@ def get_connector_output(config: Optional[pulumi.Input[Optional[Union['GetConnec __args__['destinationSchema'] = destination_schema __args__['id'] = id __args__['status'] = status - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('fivetran:index/getConnector:getConnector', __args__, opts=opts, typ=GetConnectorResult) return __ret__.apply(lambda __response__: GetConnectorResult( config=pulumi.get(__response__, 'config'), diff --git a/sdk/python/pulumi_provider_fivetran/get_connector_certificates.py b/sdk/python/pulumi_provider_fivetran/get_connector_certificates.py index a1c4610..0e3ab7b 100644 --- a/sdk/python/pulumi_provider_fivetran/get_connector_certificates.py +++ b/sdk/python/pulumi_provider_fivetran/get_connector_certificates.py @@ -92,7 +92,7 @@ def get_connector_certificates(certificates: Optional[Sequence[Union['GetConnect id=pulumi.get(__ret__, 'id')) def get_connector_certificates_output(certificates: Optional[pulumi.Input[Optional[Sequence[Union['GetConnectorCertificatesCertificateArgs', 'GetConnectorCertificatesCertificateArgsDict']]]]] = None, id: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetConnectorCertificatesResult]: + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetConnectorCertificatesResult]: """ Use this data source to access information about an existing resource. @@ -101,7 +101,7 @@ def get_connector_certificates_output(certificates: Optional[pulumi.Input[Option __args__ = dict() __args__['certificates'] = certificates __args__['id'] = id - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('fivetran:index/getConnectorCertificates:getConnectorCertificates', __args__, opts=opts, typ=GetConnectorCertificatesResult) return __ret__.apply(lambda __response__: GetConnectorCertificatesResult( certificates=pulumi.get(__response__, 'certificates'), diff --git a/sdk/python/pulumi_provider_fivetran/get_connector_fingerprints.py b/sdk/python/pulumi_provider_fivetran/get_connector_fingerprints.py index 30262ee..af98246 100644 --- a/sdk/python/pulumi_provider_fivetran/get_connector_fingerprints.py +++ b/sdk/python/pulumi_provider_fivetran/get_connector_fingerprints.py @@ -102,7 +102,7 @@ def get_connector_fingerprints(fingerprints: Optional[Sequence[Union['GetConnect id=pulumi.get(__ret__, 'id')) def get_connector_fingerprints_output(fingerprints: Optional[pulumi.Input[Optional[Sequence[Union['GetConnectorFingerprintsFingerprintArgs', 'GetConnectorFingerprintsFingerprintArgsDict']]]]] = None, id: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetConnectorFingerprintsResult]: + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetConnectorFingerprintsResult]: """ This data source returns a list of SSH fingerprints approved for specified connector. @@ -121,7 +121,7 @@ def get_connector_fingerprints_output(fingerprints: Optional[pulumi.Input[Option __args__ = dict() __args__['fingerprints'] = fingerprints __args__['id'] = id - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('fivetran:index/getConnectorFingerprints:getConnectorFingerprints', __args__, opts=opts, typ=GetConnectorFingerprintsResult) return __ret__.apply(lambda __response__: GetConnectorFingerprintsResult( connector_id=pulumi.get(__response__, 'connector_id'), diff --git a/sdk/python/pulumi_provider_fivetran/get_connectors_metadata.py b/sdk/python/pulumi_provider_fivetran/get_connectors_metadata.py index c74d234..d93d87d 100644 --- a/sdk/python/pulumi_provider_fivetran/get_connectors_metadata.py +++ b/sdk/python/pulumi_provider_fivetran/get_connectors_metadata.py @@ -83,7 +83,7 @@ def get_connectors_metadata(sources: Optional[Sequence[Union['GetConnectorsMetad id=pulumi.get(__ret__, 'id'), sources=pulumi.get(__ret__, 'sources')) def get_connectors_metadata_output(sources: Optional[pulumi.Input[Optional[Sequence[Union['GetConnectorsMetadataSourceArgs', 'GetConnectorsMetadataSourceArgsDict']]]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetConnectorsMetadataResult]: + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetConnectorsMetadataResult]: """ This data source returns all available source types within your Fivetran account. This data source makes it easier to display Fivetran connectors within your application because it provides metadata including the proper source name (‘Facebook Ad Account’ instead of facebook_ad_account), the source icon, and links to Fivetran resources. As we update source names and icons, that metadata will automatically update within this endpoint. @@ -98,7 +98,7 @@ def get_connectors_metadata_output(sources: Optional[pulumi.Input[Optional[Seque """ __args__ = dict() __args__['sources'] = sources - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('fivetran:index/getConnectorsMetadata:getConnectorsMetadata', __args__, opts=opts, typ=GetConnectorsMetadataResult) return __ret__.apply(lambda __response__: GetConnectorsMetadataResult( id=pulumi.get(__response__, 'id'), diff --git a/sdk/python/pulumi_provider_fivetran/get_dbt_models.py b/sdk/python/pulumi_provider_fivetran/get_dbt_models.py index 628b942..96e8650 100644 --- a/sdk/python/pulumi_provider_fivetran/get_dbt_models.py +++ b/sdk/python/pulumi_provider_fivetran/get_dbt_models.py @@ -102,7 +102,7 @@ def get_dbt_models(models: Optional[Sequence[Union['GetDbtModelsModelArgs', 'Get project_id=pulumi.get(__ret__, 'project_id')) def get_dbt_models_output(models: Optional[pulumi.Input[Optional[Sequence[Union['GetDbtModelsModelArgs', 'GetDbtModelsModelArgsDict']]]]] = None, project_id: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDbtModelsResult]: + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetDbtModelsResult]: """ This data source returns a list of all dbt Models available for specified dbt Project id. @@ -121,7 +121,7 @@ def get_dbt_models_output(models: Optional[pulumi.Input[Optional[Sequence[Union[ __args__ = dict() __args__['models'] = models __args__['projectId'] = project_id - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('fivetran:index/getDbtModels:getDbtModels', __args__, opts=opts, typ=GetDbtModelsResult) return __ret__.apply(lambda __response__: GetDbtModelsResult( id=pulumi.get(__response__, 'id'), diff --git a/sdk/python/pulumi_provider_fivetran/get_dbt_project.py b/sdk/python/pulumi_provider_fivetran/get_dbt_project.py index 747d85e..6ca3fa1 100644 --- a/sdk/python/pulumi_provider_fivetran/get_dbt_project.py +++ b/sdk/python/pulumi_provider_fivetran/get_dbt_project.py @@ -255,7 +255,7 @@ def get_dbt_project(id: Optional[str] = None, type=pulumi.get(__ret__, 'type')) def get_dbt_project_output(id: Optional[pulumi.Input[str]] = None, project_config: Optional[pulumi.Input[Optional[Union['GetDbtProjectProjectConfigArgs', 'GetDbtProjectProjectConfigArgsDict']]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDbtProjectResult]: + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetDbtProjectResult]: """ This data source returns a dbt Project object. @@ -274,7 +274,7 @@ def get_dbt_project_output(id: Optional[pulumi.Input[str]] = None, __args__ = dict() __args__['id'] = id __args__['projectConfig'] = project_config - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('fivetran:index/getDbtProject:getDbtProject', __args__, opts=opts, typ=GetDbtProjectResult) return __ret__.apply(lambda __response__: GetDbtProjectResult( created_at=pulumi.get(__response__, 'created_at'), diff --git a/sdk/python/pulumi_provider_fivetran/get_dbt_projects.py b/sdk/python/pulumi_provider_fivetran/get_dbt_projects.py index 05e4220..1cdc407 100644 --- a/sdk/python/pulumi_provider_fivetran/get_dbt_projects.py +++ b/sdk/python/pulumi_provider_fivetran/get_dbt_projects.py @@ -79,7 +79,7 @@ def get_dbt_projects(opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGe return AwaitableGetDbtProjectsResult( id=pulumi.get(__ret__, 'id'), projects=pulumi.get(__ret__, 'projects')) -def get_dbt_projects_output(opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDbtProjectsResult]: +def get_dbt_projects_output(opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetDbtProjectsResult]: """ This data source returns a list of all dbt Projects within your Fivetran account. @@ -93,7 +93,7 @@ def get_dbt_projects_output(opts: Optional[pulumi.InvokeOptions] = None) -> pulu ``` """ __args__ = dict() - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('fivetran:index/getDbtProjects:getDbtProjects', __args__, opts=opts, typ=GetDbtProjectsResult) return __ret__.apply(lambda __response__: GetDbtProjectsResult( id=pulumi.get(__response__, 'id'), diff --git a/sdk/python/pulumi_provider_fivetran/get_dbt_transformation.py b/sdk/python/pulumi_provider_fivetran/get_dbt_transformation.py index 901adae..a4f9555 100644 --- a/sdk/python/pulumi_provider_fivetran/get_dbt_transformation.py +++ b/sdk/python/pulumi_provider_fivetran/get_dbt_transformation.py @@ -206,7 +206,7 @@ def get_dbt_transformation(id: Optional[str] = None, schedule=pulumi.get(__ret__, 'schedule')) def get_dbt_transformation_output(id: Optional[pulumi.Input[str]] = None, schedule: Optional[pulumi.Input[Optional[Union['GetDbtTransformationScheduleArgs', 'GetDbtTransformationScheduleArgsDict']]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDbtTransformationResult]: + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetDbtTransformationResult]: """ This data source returns a dbt Transformation object. @@ -225,7 +225,7 @@ def get_dbt_transformation_output(id: Optional[pulumi.Input[str]] = None, __args__ = dict() __args__['id'] = id __args__['schedule'] = schedule - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('fivetran:index/getDbtTransformation:getDbtTransformation', __args__, opts=opts, typ=GetDbtTransformationResult) return __ret__.apply(lambda __response__: GetDbtTransformationResult( connector_ids=pulumi.get(__response__, 'connector_ids'), diff --git a/sdk/python/pulumi_provider_fivetran/get_destination.py b/sdk/python/pulumi_provider_fivetran/get_destination.py index f166d3f..dcd55b1 100644 --- a/sdk/python/pulumi_provider_fivetran/get_destination.py +++ b/sdk/python/pulumi_provider_fivetran/get_destination.py @@ -183,7 +183,7 @@ def get_destination(config: Optional[Union['GetDestinationConfigArgs', 'GetDesti time_zone_offset=pulumi.get(__ret__, 'time_zone_offset')) def get_destination_output(config: Optional[pulumi.Input[Optional[Union['GetDestinationConfigArgs', 'GetDestinationConfigArgsDict']]]] = None, id: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDestinationResult]: + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetDestinationResult]: """ This data source returns a destination object. @@ -199,7 +199,7 @@ def get_destination_output(config: Optional[pulumi.Input[Optional[Union['GetDest __args__ = dict() __args__['config'] = config __args__['id'] = id - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('fivetran:index/getDestination:getDestination', __args__, opts=opts, typ=GetDestinationResult) return __ret__.apply(lambda __response__: GetDestinationResult( config=pulumi.get(__response__, 'config'), diff --git a/sdk/python/pulumi_provider_fivetran/get_destination_certificates.py b/sdk/python/pulumi_provider_fivetran/get_destination_certificates.py index 3ef7dc0..8e18c2e 100644 --- a/sdk/python/pulumi_provider_fivetran/get_destination_certificates.py +++ b/sdk/python/pulumi_provider_fivetran/get_destination_certificates.py @@ -92,7 +92,7 @@ def get_destination_certificates(certificates: Optional[Sequence[Union['GetDesti id=pulumi.get(__ret__, 'id')) def get_destination_certificates_output(certificates: Optional[pulumi.Input[Optional[Sequence[Union['GetDestinationCertificatesCertificateArgs', 'GetDestinationCertificatesCertificateArgsDict']]]]] = None, id: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDestinationCertificatesResult]: + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetDestinationCertificatesResult]: """ Use this data source to access information about an existing resource. @@ -101,7 +101,7 @@ def get_destination_certificates_output(certificates: Optional[pulumi.Input[Opti __args__ = dict() __args__['certificates'] = certificates __args__['id'] = id - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('fivetran:index/getDestinationCertificates:getDestinationCertificates', __args__, opts=opts, typ=GetDestinationCertificatesResult) return __ret__.apply(lambda __response__: GetDestinationCertificatesResult( certificates=pulumi.get(__response__, 'certificates'), diff --git a/sdk/python/pulumi_provider_fivetran/get_destination_fingerprints.py b/sdk/python/pulumi_provider_fivetran/get_destination_fingerprints.py index 7cd5244..fc8fab7 100644 --- a/sdk/python/pulumi_provider_fivetran/get_destination_fingerprints.py +++ b/sdk/python/pulumi_provider_fivetran/get_destination_fingerprints.py @@ -102,7 +102,7 @@ def get_destination_fingerprints(fingerprints: Optional[Sequence[Union['GetDesti id=pulumi.get(__ret__, 'id')) def get_destination_fingerprints_output(fingerprints: Optional[pulumi.Input[Optional[Sequence[Union['GetDestinationFingerprintsFingerprintArgs', 'GetDestinationFingerprintsFingerprintArgsDict']]]]] = None, id: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDestinationFingerprintsResult]: + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetDestinationFingerprintsResult]: """ This data source returns a list of SSH fingerprints approved for specified destination. @@ -121,7 +121,7 @@ def get_destination_fingerprints_output(fingerprints: Optional[pulumi.Input[Opti __args__ = dict() __args__['fingerprints'] = fingerprints __args__['id'] = id - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('fivetran:index/getDestinationFingerprints:getDestinationFingerprints', __args__, opts=opts, typ=GetDestinationFingerprintsResult) return __ret__.apply(lambda __response__: GetDestinationFingerprintsResult( destination_id=pulumi.get(__response__, 'destination_id'), diff --git a/sdk/python/pulumi_provider_fivetran/get_external_logging.py b/sdk/python/pulumi_provider_fivetran/get_external_logging.py index c9be6ca..541e037 100644 --- a/sdk/python/pulumi_provider_fivetran/get_external_logging.py +++ b/sdk/python/pulumi_provider_fivetran/get_external_logging.py @@ -145,7 +145,7 @@ def get_external_logging(config: Optional[Union['GetExternalLoggingConfigArgs', def get_external_logging_output(config: Optional[pulumi.Input[Optional[Union['GetExternalLoggingConfigArgs', 'GetExternalLoggingConfigArgsDict']]]] = None, id: Optional[pulumi.Input[str]] = None, run_setup_tests: Optional[pulumi.Input[Optional[bool]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetExternalLoggingResult]: + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetExternalLoggingResult]: """ This data source returns a logging service object. @@ -166,7 +166,7 @@ def get_external_logging_output(config: Optional[pulumi.Input[Optional[Union['Ge __args__['config'] = config __args__['id'] = id __args__['runSetupTests'] = run_setup_tests - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('fivetran:index/getExternalLogging:getExternalLogging', __args__, opts=opts, typ=GetExternalLoggingResult) return __ret__.apply(lambda __response__: GetExternalLoggingResult( config=pulumi.get(__response__, 'config'), diff --git a/sdk/python/pulumi_provider_fivetran/get_group.py b/sdk/python/pulumi_provider_fivetran/get_group.py index 02ed38e..58b5dee 100644 --- a/sdk/python/pulumi_provider_fivetran/get_group.py +++ b/sdk/python/pulumi_provider_fivetran/get_group.py @@ -113,7 +113,7 @@ def get_group(id: Optional[str] = None, last_updated=pulumi.get(__ret__, 'last_updated'), name=pulumi.get(__ret__, 'name')) def get_group_output(id: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetGroupResult]: + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetGroupResult]: """ This data source returns a group object. @@ -131,7 +131,7 @@ def get_group_output(id: Optional[pulumi.Input[str]] = None, """ __args__ = dict() __args__['id'] = id - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('fivetran:index/getGroup:getGroup', __args__, opts=opts, typ=GetGroupResult) return __ret__.apply(lambda __response__: GetGroupResult( created_at=pulumi.get(__response__, 'created_at'), diff --git a/sdk/python/pulumi_provider_fivetran/get_group_connectors.py b/sdk/python/pulumi_provider_fivetran/get_group_connectors.py index 91ade3c..dbf1d94 100644 --- a/sdk/python/pulumi_provider_fivetran/get_group_connectors.py +++ b/sdk/python/pulumi_provider_fivetran/get_group_connectors.py @@ -107,7 +107,7 @@ def get_group_connectors(connectors: Optional[Sequence[Union['GetGroupConnectors def get_group_connectors_output(connectors: Optional[pulumi.Input[Optional[Sequence[Union['GetGroupConnectorsConnectorArgs', 'GetGroupConnectorsConnectorArgsDict']]]]] = None, id: Optional[pulumi.Input[str]] = None, schema: Optional[pulumi.Input[Optional[str]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetGroupConnectorsResult]: + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetGroupConnectorsResult]: """ This data source returns a list of information about all connectors within a group in your Fivetran account. @@ -129,7 +129,7 @@ def get_group_connectors_output(connectors: Optional[pulumi.Input[Optional[Seque __args__['connectors'] = connectors __args__['id'] = id __args__['schema'] = schema - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('fivetran:index/getGroupConnectors:getGroupConnectors', __args__, opts=opts, typ=GetGroupConnectorsResult) return __ret__.apply(lambda __response__: GetGroupConnectorsResult( connectors=pulumi.get(__response__, 'connectors'), diff --git a/sdk/python/pulumi_provider_fivetran/get_group_service_account.py b/sdk/python/pulumi_provider_fivetran/get_group_service_account.py index bdd1079..788258a 100644 --- a/sdk/python/pulumi_provider_fivetran/get_group_service_account.py +++ b/sdk/python/pulumi_provider_fivetran/get_group_service_account.py @@ -87,7 +87,7 @@ def get_group_service_account(id: Optional[str] = None, id=pulumi.get(__ret__, 'id'), service_account=pulumi.get(__ret__, 'service_account')) def get_group_service_account_output(id: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetGroupServiceAccountResult]: + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetGroupServiceAccountResult]: """ This data source returns Fivetran service account associated with the group. @@ -105,7 +105,7 @@ def get_group_service_account_output(id: Optional[pulumi.Input[str]] = None, """ __args__ = dict() __args__['id'] = id - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('fivetran:index/getGroupServiceAccount:getGroupServiceAccount', __args__, opts=opts, typ=GetGroupServiceAccountResult) return __ret__.apply(lambda __response__: GetGroupServiceAccountResult( id=pulumi.get(__response__, 'id'), diff --git a/sdk/python/pulumi_provider_fivetran/get_group_ssh_key.py b/sdk/python/pulumi_provider_fivetran/get_group_ssh_key.py index 8179a41..e6d295f 100644 --- a/sdk/python/pulumi_provider_fivetran/get_group_ssh_key.py +++ b/sdk/python/pulumi_provider_fivetran/get_group_ssh_key.py @@ -87,7 +87,7 @@ def get_group_ssh_key(id: Optional[str] = None, id=pulumi.get(__ret__, 'id'), public_key=pulumi.get(__ret__, 'public_key')) def get_group_ssh_key_output(id: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetGroupSshKeyResult]: + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetGroupSshKeyResult]: """ This data source returns public key from SSH key pair associated with the group. @@ -105,7 +105,7 @@ def get_group_ssh_key_output(id: Optional[pulumi.Input[str]] = None, """ __args__ = dict() __args__['id'] = id - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('fivetran:index/getGroupSshKey:getGroupSshKey', __args__, opts=opts, typ=GetGroupSshKeyResult) return __ret__.apply(lambda __response__: GetGroupSshKeyResult( id=pulumi.get(__response__, 'id'), diff --git a/sdk/python/pulumi_provider_fivetran/get_group_users.py b/sdk/python/pulumi_provider_fivetran/get_group_users.py index 537cc1b..bff6345 100644 --- a/sdk/python/pulumi_provider_fivetran/get_group_users.py +++ b/sdk/python/pulumi_provider_fivetran/get_group_users.py @@ -89,7 +89,7 @@ def get_group_users(id: Optional[str] = None, users=pulumi.get(__ret__, 'users')) def get_group_users_output(id: Optional[pulumi.Input[str]] = None, users: Optional[pulumi.Input[Optional[Sequence[Union['GetGroupUsersUserArgs', 'GetGroupUsersUserArgsDict']]]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetGroupUsersResult]: + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetGroupUsersResult]: """ This data source returns a list of information about all users within a group in your Fivetran account. @@ -108,7 +108,7 @@ def get_group_users_output(id: Optional[pulumi.Input[str]] = None, __args__ = dict() __args__['id'] = id __args__['users'] = users - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('fivetran:index/getGroupUsers:getGroupUsers', __args__, opts=opts, typ=GetGroupUsersResult) return __ret__.apply(lambda __response__: GetGroupUsersResult( id=pulumi.get(__response__, 'id'), diff --git a/sdk/python/pulumi_provider_fivetran/get_groups.py b/sdk/python/pulumi_provider_fivetran/get_groups.py index 42c2dc6..d19c150 100644 --- a/sdk/python/pulumi_provider_fivetran/get_groups.py +++ b/sdk/python/pulumi_provider_fivetran/get_groups.py @@ -83,7 +83,7 @@ def get_groups(groups: Optional[Sequence[Union['GetGroupsGroupArgs', 'GetGroupsG groups=pulumi.get(__ret__, 'groups'), id=pulumi.get(__ret__, 'id')) def get_groups_output(groups: Optional[pulumi.Input[Optional[Sequence[Union['GetGroupsGroupArgs', 'GetGroupsGroupArgsDict']]]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetGroupsResult]: + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetGroupsResult]: """ This data source returns a list of all groups within your Fivetran account. @@ -98,7 +98,7 @@ def get_groups_output(groups: Optional[pulumi.Input[Optional[Sequence[Union['Get """ __args__ = dict() __args__['groups'] = groups - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('fivetran:index/getGroups:getGroups', __args__, opts=opts, typ=GetGroupsResult) return __ret__.apply(lambda __response__: GetGroupsResult( groups=pulumi.get(__response__, 'groups'), diff --git a/sdk/python/pulumi_provider_fivetran/get_hybrid_deployment_agent.py b/sdk/python/pulumi_provider_fivetran/get_hybrid_deployment_agent.py index 358eb41..87b29c7 100644 --- a/sdk/python/pulumi_provider_fivetran/get_hybrid_deployment_agent.py +++ b/sdk/python/pulumi_provider_fivetran/get_hybrid_deployment_agent.py @@ -104,7 +104,7 @@ def get_hybrid_deployment_agent(id: Optional[str] = None, id=pulumi.get(__ret__, 'id'), registered_at=pulumi.get(__ret__, 'registered_at')) def get_hybrid_deployment_agent_output(id: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetHybridDeploymentAgentResult]: + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetHybridDeploymentAgentResult]: """ This data source returns a hybrid deployment agent object. @@ -113,7 +113,7 @@ def get_hybrid_deployment_agent_output(id: Optional[pulumi.Input[str]] = None, """ __args__ = dict() __args__['id'] = id - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('fivetran:index/getHybridDeploymentAgent:getHybridDeploymentAgent', __args__, opts=opts, typ=GetHybridDeploymentAgentResult) return __ret__.apply(lambda __response__: GetHybridDeploymentAgentResult( display_name=pulumi.get(__response__, 'display_name'), diff --git a/sdk/python/pulumi_provider_fivetran/get_hybrid_deployment_agents.py b/sdk/python/pulumi_provider_fivetran/get_hybrid_deployment_agents.py index 5b5a5a4..e9a99d1 100644 --- a/sdk/python/pulumi_provider_fivetran/get_hybrid_deployment_agents.py +++ b/sdk/python/pulumi_provider_fivetran/get_hybrid_deployment_agents.py @@ -79,7 +79,7 @@ def get_hybrid_deployment_agents(opts: Optional[pulumi.InvokeOptions] = None) -> return AwaitableGetHybridDeploymentAgentsResult( id=pulumi.get(__ret__, 'id'), items=pulumi.get(__ret__, 'items')) -def get_hybrid_deployment_agents_output(opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetHybridDeploymentAgentsResult]: +def get_hybrid_deployment_agents_output(opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetHybridDeploymentAgentsResult]: """ This data source returns a list of all hybrid deployment agents within your Fivetran account. @@ -93,7 +93,7 @@ def get_hybrid_deployment_agents_output(opts: Optional[pulumi.InvokeOptions] = N ``` """ __args__ = dict() - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('fivetran:index/getHybridDeploymentAgents:getHybridDeploymentAgents', __args__, opts=opts, typ=GetHybridDeploymentAgentsResult) return __ret__.apply(lambda __response__: GetHybridDeploymentAgentsResult( id=pulumi.get(__response__, 'id'), diff --git a/sdk/python/pulumi_provider_fivetran/get_local_processing_agent.py b/sdk/python/pulumi_provider_fivetran/get_local_processing_agent.py index 34eca44..4815362 100644 --- a/sdk/python/pulumi_provider_fivetran/get_local_processing_agent.py +++ b/sdk/python/pulumi_provider_fivetran/get_local_processing_agent.py @@ -126,7 +126,7 @@ def get_local_processing_agent(id: Optional[str] = None, registered_at=pulumi.get(__ret__, 'registered_at'), usages=pulumi.get(__ret__, 'usages')) def get_local_processing_agent_output(id: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetLocalProcessingAgentResult]: + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetLocalProcessingAgentResult]: """ NOTE: In connection with the general availability of the hybrid deployment functionality and in order to synchronize internal terminology, we have deprecate this data source. @@ -146,7 +146,7 @@ def get_local_processing_agent_output(id: Optional[pulumi.Input[str]] = None, """ __args__ = dict() __args__['id'] = id - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('fivetran:index/getLocalProcessingAgent:getLocalProcessingAgent', __args__, opts=opts, typ=GetLocalProcessingAgentResult) return __ret__.apply(lambda __response__: GetLocalProcessingAgentResult( display_name=pulumi.get(__response__, 'display_name'), diff --git a/sdk/python/pulumi_provider_fivetran/get_local_processing_agents.py b/sdk/python/pulumi_provider_fivetran/get_local_processing_agents.py index 8231dd6..a87fb92 100644 --- a/sdk/python/pulumi_provider_fivetran/get_local_processing_agents.py +++ b/sdk/python/pulumi_provider_fivetran/get_local_processing_agents.py @@ -81,7 +81,7 @@ def get_local_processing_agents(opts: Optional[pulumi.InvokeOptions] = None) -> return AwaitableGetLocalProcessingAgentsResult( id=pulumi.get(__ret__, 'id'), items=pulumi.get(__ret__, 'items')) -def get_local_processing_agents_output(opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetLocalProcessingAgentsResult]: +def get_local_processing_agents_output(opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetLocalProcessingAgentsResult]: """ NOTE: In connection with the general availability of the hybrid deployment functionality and in order to synchronize internal terminology, we have deprecate this data source. @@ -97,7 +97,7 @@ def get_local_processing_agents_output(opts: Optional[pulumi.InvokeOptions] = No ``` """ __args__ = dict() - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('fivetran:index/getLocalProcessingAgents:getLocalProcessingAgents', __args__, opts=opts, typ=GetLocalProcessingAgentsResult) return __ret__.apply(lambda __response__: GetLocalProcessingAgentsResult( id=pulumi.get(__response__, 'id'), diff --git a/sdk/python/pulumi_provider_fivetran/get_private_link.py b/sdk/python/pulumi_provider_fivetran/get_private_link.py index e227119..492ec1a 100644 --- a/sdk/python/pulumi_provider_fivetran/get_private_link.py +++ b/sdk/python/pulumi_provider_fivetran/get_private_link.py @@ -191,7 +191,7 @@ def get_private_link(id: Optional[str] = None, state=pulumi.get(__ret__, 'state'), state_summary=pulumi.get(__ret__, 'state_summary')) def get_private_link_output(id: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetPrivateLinkResult]: + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetPrivateLinkResult]: """ This data source returns a private link object. @@ -209,7 +209,7 @@ def get_private_link_output(id: Optional[pulumi.Input[str]] = None, """ __args__ = dict() __args__['id'] = id - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('fivetran:index/getPrivateLink:getPrivateLink', __args__, opts=opts, typ=GetPrivateLinkResult) return __ret__.apply(lambda __response__: GetPrivateLinkResult( cloud_provider=pulumi.get(__response__, 'cloud_provider'), diff --git a/sdk/python/pulumi_provider_fivetran/get_private_links.py b/sdk/python/pulumi_provider_fivetran/get_private_links.py index 8fad1f6..ad01c9e 100644 --- a/sdk/python/pulumi_provider_fivetran/get_private_links.py +++ b/sdk/python/pulumi_provider_fivetran/get_private_links.py @@ -74,13 +74,13 @@ def get_private_links(items: Optional[Sequence[Union['GetPrivateLinksItemArgs', id=pulumi.get(__ret__, 'id'), items=pulumi.get(__ret__, 'items')) def get_private_links_output(items: Optional[pulumi.Input[Optional[Sequence[Union['GetPrivateLinksItemArgs', 'GetPrivateLinksItemArgsDict']]]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetPrivateLinksResult]: + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetPrivateLinksResult]: """ Use this data source to access information about an existing resource. """ __args__ = dict() __args__['items'] = items - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('fivetran:index/getPrivateLinks:getPrivateLinks', __args__, opts=opts, typ=GetPrivateLinksResult) return __ret__.apply(lambda __response__: GetPrivateLinksResult( id=pulumi.get(__response__, 'id'), diff --git a/sdk/python/pulumi_provider_fivetran/get_proxy_agent.py b/sdk/python/pulumi_provider_fivetran/get_proxy_agent.py index 3746cd7..c2c2e58 100644 --- a/sdk/python/pulumi_provider_fivetran/get_proxy_agent.py +++ b/sdk/python/pulumi_provider_fivetran/get_proxy_agent.py @@ -152,7 +152,7 @@ def get_proxy_agent(id: Optional[str] = None, salt=pulumi.get(__ret__, 'salt'), token=pulumi.get(__ret__, 'token')) def get_proxy_agent_output(id: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetProxyAgentResult]: + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetProxyAgentResult]: """ This data source returns a proxy agent object. @@ -170,7 +170,7 @@ def get_proxy_agent_output(id: Optional[pulumi.Input[str]] = None, """ __args__ = dict() __args__['id'] = id - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('fivetran:index/getProxyAgent:getProxyAgent', __args__, opts=opts, typ=GetProxyAgentResult) return __ret__.apply(lambda __response__: GetProxyAgentResult( created_by=pulumi.get(__response__, 'created_by'), diff --git a/sdk/python/pulumi_provider_fivetran/get_proxy_agents.py b/sdk/python/pulumi_provider_fivetran/get_proxy_agents.py index 2a88167..db5a5aa 100644 --- a/sdk/python/pulumi_provider_fivetran/get_proxy_agents.py +++ b/sdk/python/pulumi_provider_fivetran/get_proxy_agents.py @@ -83,7 +83,7 @@ def get_proxy_agents(items: Optional[Sequence[Union['GetProxyAgentsItemArgs', 'G id=pulumi.get(__ret__, 'id'), items=pulumi.get(__ret__, 'items')) def get_proxy_agents_output(items: Optional[pulumi.Input[Optional[Sequence[Union['GetProxyAgentsItemArgs', 'GetProxyAgentsItemArgsDict']]]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetProxyAgentsResult]: + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetProxyAgentsResult]: """ This data source returns a list of all proxy agents within your Fivetran account. @@ -98,7 +98,7 @@ def get_proxy_agents_output(items: Optional[pulumi.Input[Optional[Sequence[Union """ __args__ = dict() __args__['items'] = items - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('fivetran:index/getProxyAgents:getProxyAgents', __args__, opts=opts, typ=GetProxyAgentsResult) return __ret__.apply(lambda __response__: GetProxyAgentsResult( id=pulumi.get(__response__, 'id'), diff --git a/sdk/python/pulumi_provider_fivetran/get_roles.py b/sdk/python/pulumi_provider_fivetran/get_roles.py index e6aa4b0..4fb9579 100644 --- a/sdk/python/pulumi_provider_fivetran/get_roles.py +++ b/sdk/python/pulumi_provider_fivetran/get_roles.py @@ -83,7 +83,7 @@ def get_roles(roles: Optional[Sequence[Union['GetRolesRoleArgs', 'GetRolesRoleAr id=pulumi.get(__ret__, 'id'), roles=pulumi.get(__ret__, 'roles')) def get_roles_output(roles: Optional[pulumi.Input[Optional[Sequence[Union['GetRolesRoleArgs', 'GetRolesRoleArgsDict']]]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetRolesResult]: + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetRolesResult]: """ This data source returns a list of all predefined and custom roles within your Fivetran account. @@ -98,7 +98,7 @@ def get_roles_output(roles: Optional[pulumi.Input[Optional[Sequence[Union['GetRo """ __args__ = dict() __args__['roles'] = roles - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('fivetran:index/getRoles:getRoles', __args__, opts=opts, typ=GetRolesResult) return __ret__.apply(lambda __response__: GetRolesResult( id=pulumi.get(__response__, 'id'), diff --git a/sdk/python/pulumi_provider_fivetran/get_team.py b/sdk/python/pulumi_provider_fivetran/get_team.py index 83f7dab..6caecaa 100644 --- a/sdk/python/pulumi_provider_fivetran/get_team.py +++ b/sdk/python/pulumi_provider_fivetran/get_team.py @@ -113,7 +113,7 @@ def get_team(id: Optional[str] = None, name=pulumi.get(__ret__, 'name'), role=pulumi.get(__ret__, 'role')) def get_team_output(id: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetTeamResult]: + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetTeamResult]: """ This data source returns a team object. @@ -131,7 +131,7 @@ def get_team_output(id: Optional[pulumi.Input[str]] = None, """ __args__ = dict() __args__['id'] = id - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('fivetran:index/getTeam:getTeam', __args__, opts=opts, typ=GetTeamResult) return __ret__.apply(lambda __response__: GetTeamResult( description=pulumi.get(__response__, 'description'), diff --git a/sdk/python/pulumi_provider_fivetran/get_team_connector_memberships.py b/sdk/python/pulumi_provider_fivetran/get_team_connector_memberships.py index 1c7b38c..c7bfa6f 100644 --- a/sdk/python/pulumi_provider_fivetran/get_team_connector_memberships.py +++ b/sdk/python/pulumi_provider_fivetran/get_team_connector_memberships.py @@ -93,7 +93,7 @@ def get_team_connector_memberships(connectors: Optional[Sequence[Union['GetTeamC team_id=pulumi.get(__ret__, 'team_id')) def get_team_connector_memberships_output(connectors: Optional[pulumi.Input[Optional[Sequence[Union['GetTeamConnectorMembershipsConnectorArgs', 'GetTeamConnectorMembershipsConnectorArgsDict']]]]] = None, team_id: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetTeamConnectorMembershipsResult]: + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetTeamConnectorMembershipsResult]: """ This data source returns a connector membership within team object. @@ -103,7 +103,7 @@ def get_team_connector_memberships_output(connectors: Optional[pulumi.Input[Opti __args__ = dict() __args__['connectors'] = connectors __args__['teamId'] = team_id - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('fivetran:index/getTeamConnectorMemberships:getTeamConnectorMemberships', __args__, opts=opts, typ=GetTeamConnectorMembershipsResult) return __ret__.apply(lambda __response__: GetTeamConnectorMembershipsResult( connectors=pulumi.get(__response__, 'connectors'), diff --git a/sdk/python/pulumi_provider_fivetran/get_team_group_memberships.py b/sdk/python/pulumi_provider_fivetran/get_team_group_memberships.py index b40ea72..ea8ecb8 100644 --- a/sdk/python/pulumi_provider_fivetran/get_team_group_memberships.py +++ b/sdk/python/pulumi_provider_fivetran/get_team_group_memberships.py @@ -102,7 +102,7 @@ def get_team_group_memberships(groups: Optional[Sequence[Union['GetTeamGroupMemb team_id=pulumi.get(__ret__, 'team_id')) def get_team_group_memberships_output(groups: Optional[pulumi.Input[Optional[Sequence[Union['GetTeamGroupMembershipsGroupArgs', 'GetTeamGroupMembershipsGroupArgsDict']]]]] = None, team_id: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetTeamGroupMembershipsResult]: + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetTeamGroupMembershipsResult]: """ This data source returns a list of group memberships within team object. @@ -121,7 +121,7 @@ def get_team_group_memberships_output(groups: Optional[pulumi.Input[Optional[Seq __args__ = dict() __args__['groups'] = groups __args__['teamId'] = team_id - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('fivetran:index/getTeamGroupMemberships:getTeamGroupMemberships', __args__, opts=opts, typ=GetTeamGroupMembershipsResult) return __ret__.apply(lambda __response__: GetTeamGroupMembershipsResult( groups=pulumi.get(__response__, 'groups'), diff --git a/sdk/python/pulumi_provider_fivetran/get_team_user_memberships.py b/sdk/python/pulumi_provider_fivetran/get_team_user_memberships.py index da3741b..9ca78e5 100644 --- a/sdk/python/pulumi_provider_fivetran/get_team_user_memberships.py +++ b/sdk/python/pulumi_provider_fivetran/get_team_user_memberships.py @@ -102,7 +102,7 @@ def get_team_user_memberships(team_id: Optional[str] = None, users=pulumi.get(__ret__, 'users')) def get_team_user_memberships_output(team_id: Optional[pulumi.Input[str]] = None, users: Optional[pulumi.Input[Optional[Sequence[Union['GetTeamUserMembershipsUserArgs', 'GetTeamUserMembershipsUserArgsDict']]]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetTeamUserMembershipsResult]: + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetTeamUserMembershipsResult]: """ This data source returns a list of user memberships within team object. @@ -121,7 +121,7 @@ def get_team_user_memberships_output(team_id: Optional[pulumi.Input[str]] = None __args__ = dict() __args__['teamId'] = team_id __args__['users'] = users - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('fivetran:index/getTeamUserMemberships:getTeamUserMemberships', __args__, opts=opts, typ=GetTeamUserMembershipsResult) return __ret__.apply(lambda __response__: GetTeamUserMembershipsResult( id=pulumi.get(__response__, 'id'), diff --git a/sdk/python/pulumi_provider_fivetran/get_teams.py b/sdk/python/pulumi_provider_fivetran/get_teams.py index 07c748a..62f984a 100644 --- a/sdk/python/pulumi_provider_fivetran/get_teams.py +++ b/sdk/python/pulumi_provider_fivetran/get_teams.py @@ -89,7 +89,7 @@ def get_teams(id: Optional[str] = None, teams=pulumi.get(__ret__, 'teams')) def get_teams_output(id: Optional[pulumi.Input[Optional[str]]] = None, teams: Optional[pulumi.Input[Optional[Sequence[Union['GetTeamsTeamArgs', 'GetTeamsTeamArgsDict']]]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetTeamsResult]: + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetTeamsResult]: """ This data source returns a list of all teams within your Fivetran account. @@ -108,7 +108,7 @@ def get_teams_output(id: Optional[pulumi.Input[Optional[str]]] = None, __args__ = dict() __args__['id'] = id __args__['teams'] = teams - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('fivetran:index/getTeams:getTeams', __args__, opts=opts, typ=GetTeamsResult) return __ret__.apply(lambda __response__: GetTeamsResult( id=pulumi.get(__response__, 'id'), diff --git a/sdk/python/pulumi_provider_fivetran/get_user.py b/sdk/python/pulumi_provider_fivetran/get_user.py index 3bf26a7..6ad1c7f 100644 --- a/sdk/python/pulumi_provider_fivetran/get_user.py +++ b/sdk/python/pulumi_provider_fivetran/get_user.py @@ -204,7 +204,7 @@ def get_user(id: Optional[str] = None, role=pulumi.get(__ret__, 'role'), verified=pulumi.get(__ret__, 'verified')) def get_user_output(id: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetUserResult]: + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetUserResult]: """ This data source returns a user object. @@ -222,7 +222,7 @@ def get_user_output(id: Optional[pulumi.Input[str]] = None, """ __args__ = dict() __args__['id'] = id - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('fivetran:index/getUser:getUser', __args__, opts=opts, typ=GetUserResult) return __ret__.apply(lambda __response__: GetUserResult( created_at=pulumi.get(__response__, 'created_at'), diff --git a/sdk/python/pulumi_provider_fivetran/get_user_connector_memberships.py b/sdk/python/pulumi_provider_fivetran/get_user_connector_memberships.py index 6c9e428..d52f3c9 100644 --- a/sdk/python/pulumi_provider_fivetran/get_user_connector_memberships.py +++ b/sdk/python/pulumi_provider_fivetran/get_user_connector_memberships.py @@ -102,7 +102,7 @@ def get_user_connector_memberships(connectors: Optional[Sequence[Union['GetUserC user_id=pulumi.get(__ret__, 'user_id')) def get_user_connector_memberships_output(connectors: Optional[pulumi.Input[Optional[Sequence[Union['GetUserConnectorMembershipsConnectorArgs', 'GetUserConnectorMembershipsConnectorArgsDict']]]]] = None, user_id: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetUserConnectorMembershipsResult]: + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetUserConnectorMembershipsResult]: """ This data source returns a connector membership for user. @@ -121,7 +121,7 @@ def get_user_connector_memberships_output(connectors: Optional[pulumi.Input[Opti __args__ = dict() __args__['connectors'] = connectors __args__['userId'] = user_id - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('fivetran:index/getUserConnectorMemberships:getUserConnectorMemberships', __args__, opts=opts, typ=GetUserConnectorMembershipsResult) return __ret__.apply(lambda __response__: GetUserConnectorMembershipsResult( connectors=pulumi.get(__response__, 'connectors'), diff --git a/sdk/python/pulumi_provider_fivetran/get_user_group_memberships.py b/sdk/python/pulumi_provider_fivetran/get_user_group_memberships.py index 948fc49..2dae459 100644 --- a/sdk/python/pulumi_provider_fivetran/get_user_group_memberships.py +++ b/sdk/python/pulumi_provider_fivetran/get_user_group_memberships.py @@ -102,7 +102,7 @@ def get_user_group_memberships(groups: Optional[Sequence[Union['GetUserGroupMemb user_id=pulumi.get(__ret__, 'user_id')) def get_user_group_memberships_output(groups: Optional[pulumi.Input[Optional[Sequence[Union['GetUserGroupMembershipsGroupArgs', 'GetUserGroupMembershipsGroupArgsDict']]]]] = None, user_id: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetUserGroupMembershipsResult]: + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetUserGroupMembershipsResult]: """ This data source returns a list of group memberships for user. @@ -121,7 +121,7 @@ def get_user_group_memberships_output(groups: Optional[pulumi.Input[Optional[Seq __args__ = dict() __args__['groups'] = groups __args__['userId'] = user_id - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('fivetran:index/getUserGroupMemberships:getUserGroupMemberships', __args__, opts=opts, typ=GetUserGroupMembershipsResult) return __ret__.apply(lambda __response__: GetUserGroupMembershipsResult( groups=pulumi.get(__response__, 'groups'), diff --git a/sdk/python/pulumi_provider_fivetran/get_users.py b/sdk/python/pulumi_provider_fivetran/get_users.py index f16c725..a273e43 100644 --- a/sdk/python/pulumi_provider_fivetran/get_users.py +++ b/sdk/python/pulumi_provider_fivetran/get_users.py @@ -89,7 +89,7 @@ def get_users(id: Optional[str] = None, users=pulumi.get(__ret__, 'users')) def get_users_output(id: Optional[pulumi.Input[Optional[str]]] = None, users: Optional[pulumi.Input[Optional[Sequence[Union['GetUsersUserArgs', 'GetUsersUserArgsDict']]]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetUsersResult]: + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetUsersResult]: """ This data source returns a list of all users within your Fivetran account. @@ -108,7 +108,7 @@ def get_users_output(id: Optional[pulumi.Input[Optional[str]]] = None, __args__ = dict() __args__['id'] = id __args__['users'] = users - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('fivetran:index/getUsers:getUsers', __args__, opts=opts, typ=GetUsersResult) return __ret__.apply(lambda __response__: GetUsersResult( id=pulumi.get(__response__, 'id'), diff --git a/sdk/python/pulumi_provider_fivetran/get_webhook.py b/sdk/python/pulumi_provider_fivetran/get_webhook.py index 952c7ad..904647d 100644 --- a/sdk/python/pulumi_provider_fivetran/get_webhook.py +++ b/sdk/python/pulumi_provider_fivetran/get_webhook.py @@ -191,7 +191,7 @@ def get_webhook(id: Optional[str] = None, type=pulumi.get(__ret__, 'type'), url=pulumi.get(__ret__, 'url')) def get_webhook_output(id: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetWebhookResult]: + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetWebhookResult]: """ This data source returns a webhook object. @@ -209,7 +209,7 @@ def get_webhook_output(id: Optional[pulumi.Input[str]] = None, """ __args__ = dict() __args__['id'] = id - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('fivetran:index/getWebhook:getWebhook', __args__, opts=opts, typ=GetWebhookResult) return __ret__.apply(lambda __response__: GetWebhookResult( active=pulumi.get(__response__, 'active'), diff --git a/sdk/python/pulumi_provider_fivetran/get_webhooks.py b/sdk/python/pulumi_provider_fivetran/get_webhooks.py index cf8a0ae..748ab33 100644 --- a/sdk/python/pulumi_provider_fivetran/get_webhooks.py +++ b/sdk/python/pulumi_provider_fivetran/get_webhooks.py @@ -79,7 +79,7 @@ def get_webhooks(opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetWeb return AwaitableGetWebhooksResult( id=pulumi.get(__ret__, 'id'), webhooks=pulumi.get(__ret__, 'webhooks')) -def get_webhooks_output(opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetWebhooksResult]: +def get_webhooks_output(opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetWebhooksResult]: """ This data source returns a list of all webhooks within your Fivetran account. @@ -93,7 +93,7 @@ def get_webhooks_output(opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.O ``` """ __args__ = dict() - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('fivetran:index/getWebhooks:getWebhooks', __args__, opts=opts, typ=GetWebhooksResult) return __ret__.apply(lambda __response__: GetWebhooksResult( id=pulumi.get(__response__, 'id'), diff --git a/sdk/python/setup.py b/sdk/python/setup.py index 28f037a..809ff33 100644 --- a/sdk/python/setup.py +++ b/sdk/python/setup.py @@ -18,7 +18,7 @@ def readme(): setup(name='pulumi_provider_fivetran', - python_requires='>=3.8', + python_requires='>=3.9', version=VERSION, description="A Pulumi package for creating and managing fivetran cloud resources.", long_description=readme(),