This repository has been archived by the owner on Aug 15, 2022. It is now read-only.
generated from pulumi/pulumi-tf-provider-boilerplate
/
superPlayerConfigs.go
108 lines (88 loc) · 4.01 KB
/
superPlayerConfigs.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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT.
// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! ***
package vod
import (
"context"
"reflect"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func SuperPlayerConfigs(ctx *pulumi.Context, args *SuperPlayerConfigsArgs, opts ...pulumi.InvokeOption) (*SuperPlayerConfigsResult, error) {
var rv SuperPlayerConfigsResult
err := ctx.Invoke("tctest:Vod/superPlayerConfigs:SuperPlayerConfigs", args, &rv, opts...)
if err != nil {
return nil, err
}
return &rv, nil
}
// A collection of arguments for invoking SuperPlayerConfigs.
type SuperPlayerConfigsArgs struct {
Name *string `pulumi:"name"`
ResultOutputFile *string `pulumi:"resultOutputFile"`
SubAppId *int `pulumi:"subAppId"`
Type *string `pulumi:"type"`
}
// A collection of values returned by SuperPlayerConfigs.
type SuperPlayerConfigsResult struct {
ConfigLists []SuperPlayerConfigsConfigList `pulumi:"configLists"`
// The provider-assigned unique ID for this managed resource.
Id string `pulumi:"id"`
Name *string `pulumi:"name"`
ResultOutputFile *string `pulumi:"resultOutputFile"`
SubAppId *int `pulumi:"subAppId"`
Type *string `pulumi:"type"`
}
func SuperPlayerConfigsOutput(ctx *pulumi.Context, args SuperPlayerConfigsOutputArgs, opts ...pulumi.InvokeOption) SuperPlayerConfigsResultOutput {
return pulumi.ToOutputWithContext(context.Background(), args).
ApplyT(func(v interface{}) (SuperPlayerConfigsResult, error) {
args := v.(SuperPlayerConfigsArgs)
r, err := SuperPlayerConfigs(ctx, &args, opts...)
var s SuperPlayerConfigsResult
if r != nil {
s = *r
}
return s, err
}).(SuperPlayerConfigsResultOutput)
}
// A collection of arguments for invoking SuperPlayerConfigs.
type SuperPlayerConfigsOutputArgs struct {
Name pulumi.StringPtrInput `pulumi:"name"`
ResultOutputFile pulumi.StringPtrInput `pulumi:"resultOutputFile"`
SubAppId pulumi.IntPtrInput `pulumi:"subAppId"`
Type pulumi.StringPtrInput `pulumi:"type"`
}
func (SuperPlayerConfigsOutputArgs) ElementType() reflect.Type {
return reflect.TypeOf((*SuperPlayerConfigsArgs)(nil)).Elem()
}
// A collection of values returned by SuperPlayerConfigs.
type SuperPlayerConfigsResultOutput struct{ *pulumi.OutputState }
func (SuperPlayerConfigsResultOutput) ElementType() reflect.Type {
return reflect.TypeOf((*SuperPlayerConfigsResult)(nil)).Elem()
}
func (o SuperPlayerConfigsResultOutput) ToSuperPlayerConfigsResultOutput() SuperPlayerConfigsResultOutput {
return o
}
func (o SuperPlayerConfigsResultOutput) ToSuperPlayerConfigsResultOutputWithContext(ctx context.Context) SuperPlayerConfigsResultOutput {
return o
}
func (o SuperPlayerConfigsResultOutput) ConfigLists() SuperPlayerConfigsConfigListArrayOutput {
return o.ApplyT(func(v SuperPlayerConfigsResult) []SuperPlayerConfigsConfigList { return v.ConfigLists }).(SuperPlayerConfigsConfigListArrayOutput)
}
// The provider-assigned unique ID for this managed resource.
func (o SuperPlayerConfigsResultOutput) Id() pulumi.StringOutput {
return o.ApplyT(func(v SuperPlayerConfigsResult) string { return v.Id }).(pulumi.StringOutput)
}
func (o SuperPlayerConfigsResultOutput) Name() pulumi.StringPtrOutput {
return o.ApplyT(func(v SuperPlayerConfigsResult) *string { return v.Name }).(pulumi.StringPtrOutput)
}
func (o SuperPlayerConfigsResultOutput) ResultOutputFile() pulumi.StringPtrOutput {
return o.ApplyT(func(v SuperPlayerConfigsResult) *string { return v.ResultOutputFile }).(pulumi.StringPtrOutput)
}
func (o SuperPlayerConfigsResultOutput) SubAppId() pulumi.IntPtrOutput {
return o.ApplyT(func(v SuperPlayerConfigsResult) *int { return v.SubAppId }).(pulumi.IntPtrOutput)
}
func (o SuperPlayerConfigsResultOutput) Type() pulumi.StringPtrOutput {
return o.ApplyT(func(v SuperPlayerConfigsResult) *string { return v.Type }).(pulumi.StringPtrOutput)
}
func init() {
pulumi.RegisterOutputType(SuperPlayerConfigsResultOutput{})
}