/
init.go
144 lines (136 loc) · 5.1 KB
/
init.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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
// Code generated by the Pulumi SDK Generator DO NOT EDIT.
// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! ***
package v1beta1
import (
"fmt"
"github.com/blang/semver"
"github.com/pulumi/pulumi-google-native/sdk/go/google/internal"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
type module struct {
version semver.Version
}
func (m *module) Version() semver.Version {
return m.version
}
func (m *module) Construct(ctx *pulumi.Context, name, typ, urn string) (r pulumi.Resource, err error) {
switch typ {
case "google-native:aiplatform/v1beta1:Artifact":
r = &Artifact{}
case "google-native:aiplatform/v1beta1:BatchPredictionJob":
r = &BatchPredictionJob{}
case "google-native:aiplatform/v1beta1:Context":
r = &Context{}
case "google-native:aiplatform/v1beta1:CustomJob":
r = &CustomJob{}
case "google-native:aiplatform/v1beta1:DataLabelingJob":
r = &DataLabelingJob{}
case "google-native:aiplatform/v1beta1:Dataset":
r = &Dataset{}
case "google-native:aiplatform/v1beta1:DatasetVersion":
r = &DatasetVersion{}
case "google-native:aiplatform/v1beta1:DeploymentResourcePool":
r = &DeploymentResourcePool{}
case "google-native:aiplatform/v1beta1:Endpoint":
r = &Endpoint{}
case "google-native:aiplatform/v1beta1:EndpointIamBinding":
r = &EndpointIamBinding{}
case "google-native:aiplatform/v1beta1:EndpointIamMember":
r = &EndpointIamMember{}
case "google-native:aiplatform/v1beta1:EndpointIamPolicy":
r = &EndpointIamPolicy{}
case "google-native:aiplatform/v1beta1:EntityType":
r = &EntityType{}
case "google-native:aiplatform/v1beta1:Execution":
r = &Execution{}
case "google-native:aiplatform/v1beta1:Experiment":
r = &Experiment{}
case "google-native:aiplatform/v1beta1:FeatureGroup":
r = &FeatureGroup{}
case "google-native:aiplatform/v1beta1:FeatureGroupFeature":
r = &FeatureGroupFeature{}
case "google-native:aiplatform/v1beta1:FeatureOnlineStore":
r = &FeatureOnlineStore{}
case "google-native:aiplatform/v1beta1:FeatureStoreFeature":
r = &FeatureStoreFeature{}
case "google-native:aiplatform/v1beta1:FeatureView":
r = &FeatureView{}
case "google-native:aiplatform/v1beta1:Featurestore":
r = &Featurestore{}
case "google-native:aiplatform/v1beta1:FeaturestoreEntityTypeIamBinding":
r = &FeaturestoreEntityTypeIamBinding{}
case "google-native:aiplatform/v1beta1:FeaturestoreEntityTypeIamMember":
r = &FeaturestoreEntityTypeIamMember{}
case "google-native:aiplatform/v1beta1:FeaturestoreEntityTypeIamPolicy":
r = &FeaturestoreEntityTypeIamPolicy{}
case "google-native:aiplatform/v1beta1:FeaturestoreIamBinding":
r = &FeaturestoreIamBinding{}
case "google-native:aiplatform/v1beta1:FeaturestoreIamMember":
r = &FeaturestoreIamMember{}
case "google-native:aiplatform/v1beta1:FeaturestoreIamPolicy":
r = &FeaturestoreIamPolicy{}
case "google-native:aiplatform/v1beta1:HyperparameterTuningJob":
r = &HyperparameterTuningJob{}
case "google-native:aiplatform/v1beta1:Index":
r = &Index{}
case "google-native:aiplatform/v1beta1:IndexEndpoint":
r = &IndexEndpoint{}
case "google-native:aiplatform/v1beta1:MetadataSchema":
r = &MetadataSchema{}
case "google-native:aiplatform/v1beta1:MetadataStore":
r = &MetadataStore{}
case "google-native:aiplatform/v1beta1:ModelDeploymentMonitoringJob":
r = &ModelDeploymentMonitoringJob{}
case "google-native:aiplatform/v1beta1:ModelIamBinding":
r = &ModelIamBinding{}
case "google-native:aiplatform/v1beta1:ModelIamMember":
r = &ModelIamMember{}
case "google-native:aiplatform/v1beta1:ModelIamPolicy":
r = &ModelIamPolicy{}
case "google-native:aiplatform/v1beta1:NasJob":
r = &NasJob{}
case "google-native:aiplatform/v1beta1:NotebookRuntimeTemplate":
r = &NotebookRuntimeTemplate{}
case "google-native:aiplatform/v1beta1:NotebookRuntimeTemplateIamBinding":
r = &NotebookRuntimeTemplateIamBinding{}
case "google-native:aiplatform/v1beta1:NotebookRuntimeTemplateIamMember":
r = &NotebookRuntimeTemplateIamMember{}
case "google-native:aiplatform/v1beta1:NotebookRuntimeTemplateIamPolicy":
r = &NotebookRuntimeTemplateIamPolicy{}
case "google-native:aiplatform/v1beta1:PersistentResource":
r = &PersistentResource{}
case "google-native:aiplatform/v1beta1:PipelineJob":
r = &PipelineJob{}
case "google-native:aiplatform/v1beta1:Run":
r = &Run{}
case "google-native:aiplatform/v1beta1:Schedule":
r = &Schedule{}
case "google-native:aiplatform/v1beta1:SpecialistPool":
r = &SpecialistPool{}
case "google-native:aiplatform/v1beta1:Study":
r = &Study{}
case "google-native:aiplatform/v1beta1:Tensorboard":
r = &Tensorboard{}
case "google-native:aiplatform/v1beta1:TimeSeries":
r = &TimeSeries{}
case "google-native:aiplatform/v1beta1:TrainingPipeline":
r = &TrainingPipeline{}
case "google-native:aiplatform/v1beta1:Trial":
r = &Trial{}
default:
return nil, fmt.Errorf("unknown resource type: %s", typ)
}
err = ctx.RegisterResource(typ, name, nil, r, pulumi.URN_(urn))
return
}
func init() {
version, err := internal.PkgVersion()
if err != nil {
version = semver.Version{Major: 1}
}
pulumi.RegisterResourceModule(
"google-native",
"aiplatform/v1beta1",
&module{version},
)
}