fivetran 1.6.0 published on Tuesday, Mar 25, 2025 by fivetran
fivetran.getUserConnectorMemberships
Explore with Pulumi AI
This data source returns a connector membership for user.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as fivetran from "@pulumi/fivetran";
const userConnectorMembership = fivetran.getUserConnectorMemberships({
userId: "user_id",
});
import pulumi
import pulumi_fivetran as fivetran
user_connector_membership = fivetran.get_user_connector_memberships(user_id="user_id")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/fivetran/fivetran"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := fivetran.GetUserConnectorMemberships(ctx, &fivetran.GetUserConnectorMembershipsArgs{
UserId: "user_id",
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Fivetran = Pulumi.Fivetran;
return await Deployment.RunAsync(() =>
{
var userConnectorMembership = Fivetran.GetUserConnectorMemberships.Invoke(new()
{
UserId = "user_id",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.fivetran.FivetranFunctions;
import com.pulumi.fivetran.inputs.GetUserConnectorMembershipsArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var userConnectorMembership = FivetranFunctions.getUserConnectorMemberships(GetUserConnectorMembershipsArgs.builder()
.userId("user_id")
.build());
}
}
variables:
userConnectorMembership:
fn::invoke:
function: fivetran:getUserConnectorMemberships
arguments:
userId: user_id
Using getUserConnectorMemberships
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getUserConnectorMemberships(args: GetUserConnectorMembershipsArgs, opts?: InvokeOptions): Promise<GetUserConnectorMembershipsResult>
function getUserConnectorMembershipsOutput(args: GetUserConnectorMembershipsOutputArgs, opts?: InvokeOptions): Output<GetUserConnectorMembershipsResult>
def get_user_connector_memberships(connectors: Optional[Sequence[GetUserConnectorMembershipsConnector]] = None,
user_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetUserConnectorMembershipsResult
def get_user_connector_memberships_output(connectors: Optional[pulumi.Input[Sequence[pulumi.Input[GetUserConnectorMembershipsConnectorArgs]]]] = None,
user_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetUserConnectorMembershipsResult]
func GetUserConnectorMemberships(ctx *Context, args *GetUserConnectorMembershipsArgs, opts ...InvokeOption) (*GetUserConnectorMembershipsResult, error)
func GetUserConnectorMembershipsOutput(ctx *Context, args *GetUserConnectorMembershipsOutputArgs, opts ...InvokeOption) GetUserConnectorMembershipsResultOutput
> Note: This function is named GetUserConnectorMemberships
in the Go SDK.
public static class GetUserConnectorMemberships
{
public static Task<GetUserConnectorMembershipsResult> InvokeAsync(GetUserConnectorMembershipsArgs args, InvokeOptions? opts = null)
public static Output<GetUserConnectorMembershipsResult> Invoke(GetUserConnectorMembershipsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetUserConnectorMembershipsResult> getUserConnectorMemberships(GetUserConnectorMembershipsArgs args, InvokeOptions options)
public static Output<GetUserConnectorMembershipsResult> getUserConnectorMemberships(GetUserConnectorMembershipsArgs args, InvokeOptions options)
fn::invoke:
function: fivetran:index/getUserConnectorMemberships:getUserConnectorMemberships
arguments:
# arguments dictionary
The following arguments are supported:
- User
Id string - The unique identifier for the user within your account.
- Connectors
List<Get
User Connector Memberships Connector>
- User
Id string - The unique identifier for the user within your account.
- Connectors
[]Get
User Connector Memberships Connector
- user
Id String - The unique identifier for the user within your account.
- connectors
List<Get
User Connector Memberships Connector>
- user
Id string - The unique identifier for the user within your account.
- connectors
Get
User Connector Memberships Connector[]
- user_
id str - The unique identifier for the user within your account.
- connectors
Sequence[Get
User Connector Memberships Connector]
- user
Id String - The unique identifier for the user within your account.
- connectors List<Property Map>
getUserConnectorMemberships Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- User
Id string - The unique identifier for the user within your account.
- Connectors
List<Get
User Connector Memberships Connector>
- Id string
- The provider-assigned unique ID for this managed resource.
- User
Id string - The unique identifier for the user within your account.
- Connectors
[]Get
User Connector Memberships Connector
- id String
- The provider-assigned unique ID for this managed resource.
- user
Id String - The unique identifier for the user within your account.
- connectors
List<Get
User Connector Memberships Connector>
- id string
- The provider-assigned unique ID for this managed resource.
- user
Id string - The unique identifier for the user within your account.
- connectors
Get
User Connector Memberships Connector[]
- id str
- The provider-assigned unique ID for this managed resource.
- user_
id str - The unique identifier for the user within your account.
- connectors
Sequence[Get
User Connector Memberships Connector]
- id String
- The provider-assigned unique ID for this managed resource.
- user
Id String - The unique identifier for the user within your account.
- connectors List<Property Map>
Supporting Types
GetUserConnectorMembershipsConnector
- Connector
Id string - The connector unique identifier
- Created
At string - The date and time the membership was created
- Role string
- The user's role that links the user and the connector
- Connector
Id string - The connector unique identifier
- Created
At string - The date and time the membership was created
- Role string
- The user's role that links the user and the connector
- connector
Id String - The connector unique identifier
- created
At String - The date and time the membership was created
- role String
- The user's role that links the user and the connector
- connector
Id string - The connector unique identifier
- created
At string - The date and time the membership was created
- role string
- The user's role that links the user and the connector
- connector_
id str - The connector unique identifier
- created_
at str - The date and time the membership was created
- role str
- The user's role that links the user and the connector
- connector
Id String - The connector unique identifier
- created
At String - The date and time the membership was created
- role String
- The user's role that links the user and the connector
Package Details
- Repository
- fivetran fivetran/terraform-provider-fivetran
- License
- Notes
- This Pulumi package is based on the
fivetran
Terraform Provider.