/
getAccountTeamProject.go
47 lines (42 loc) · 1.36 KB
/
getAccountTeamProject.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package aiven
import (
"github.com/pulumi/pulumi/sdk/go/pulumi"
)
func LookupAccountTeamProject(ctx *pulumi.Context, args *GetAccountTeamProjectArgs) (*GetAccountTeamProjectResult, error) {
inputs := make(map[string]interface{})
if args != nil {
inputs["accountId"] = args.AccountId
inputs["projectName"] = args.ProjectName
inputs["teamId"] = args.TeamId
inputs["teamType"] = args.TeamType
}
outputs, err := ctx.Invoke("aiven:index/getAccountTeamProject:getAccountTeamProject", inputs)
if err != nil {
return nil, err
}
return &GetAccountTeamProjectResult{
AccountId: outputs["accountId"],
ProjectName: outputs["projectName"],
TeamId: outputs["teamId"],
TeamType: outputs["teamType"],
Id: outputs["id"],
}, nil
}
// A collection of arguments for invoking getAccountTeamProject.
type GetAccountTeamProjectArgs struct {
AccountId interface{}
ProjectName interface{}
TeamId interface{}
TeamType interface{}
}
// A collection of values returned by getAccountTeamProject.
type GetAccountTeamProjectResult struct {
AccountId interface{}
ProjectName interface{}
TeamId interface{}
TeamType interface{}
// id is the provider-assigned unique ID for this managed resource.
Id interface{}
}