generated from pulumi/pulumi-tf-provider-boilerplate
/
operationsInsightsWarehouse.go
475 lines (413 loc) · 24.5 KB
/
operationsInsightsWarehouse.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
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
// 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 opsi
import (
"context"
"reflect"
"errors"
"github.com/pulumi/pulumi-oci/sdk/go/oci/internal"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
// This resource provides the Operations Insights Warehouse resource in Oracle Cloud Infrastructure Opsi service.
//
// Create a Operations Insights Warehouse resource for the tenant in Operations Insights. New ADW will be provisioned for this tenant.
// There is only expected to be 1 warehouse per tenant. The warehouse is expected to be in the root compartment. If the 'opsi-warehouse-type'
// header is passed to the API, a warehouse resource without ADW or Schema provisioning is created.
//
// ## Example Usage
//
// ```go
// package main
//
// import (
//
// "github.com/pulumi/pulumi-oci/sdk/go/oci/Opsi"
// "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
//
// )
//
// func main() {
// pulumi.Run(func(ctx *pulumi.Context) error {
// _, err := Opsi.NewOperationsInsightsWarehouse(ctx, "test_operations_insights_warehouse", &Opsi.OperationsInsightsWarehouseArgs{
// CompartmentId: pulumi.Any(compartmentId),
// CpuAllocated: pulumi.Any(operationsInsightsWarehouseCpuAllocated),
// DisplayName: pulumi.Any(operationsInsightsWarehouseDisplayName),
// DefinedTags: pulumi.Map{
// "foo-namespace.bar-key": pulumi.Any("value"),
// },
// FreeformTags: pulumi.Map{
// "bar-key": pulumi.Any("value"),
// },
// StorageAllocatedInGbs: pulumi.Any(operationsInsightsWarehouseStorageAllocatedInGbs),
// })
// if err != nil {
// return err
// }
// return nil
// })
// }
//
// ```
//
// ## Import
//
// OperationsInsightsWarehouses can be imported using the `id`, e.g.
//
// ```sh
// $ pulumi import oci:Opsi/operationsInsightsWarehouse:OperationsInsightsWarehouse test_operations_insights_warehouse "id"
// ```
type OperationsInsightsWarehouse struct {
pulumi.CustomResourceState
// (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
CompartmentId pulumi.StringOutput `pulumi:"compartmentId"`
// (Updatable) Number of OCPUs allocated to OPSI Warehouse ADW.
CpuAllocated pulumi.Float64Output `pulumi:"cpuAllocated"`
// Number of OCPUs used by OPSI Warehouse ADW. Can be fractional.
CpuUsed pulumi.Float64Output `pulumi:"cpuUsed"`
// (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
DefinedTags pulumi.MapOutput `pulumi:"definedTags"`
// (Updatable) User-friedly name of Operations Insights Warehouse that does not have to be unique.
DisplayName pulumi.StringOutput `pulumi:"displayName"`
// OCID of the dynamic group created for the warehouse
DynamicGroupId pulumi.StringOutput `pulumi:"dynamicGroupId"`
// (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
FreeformTags pulumi.MapOutput `pulumi:"freeformTags"`
// A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
LifecycleDetails pulumi.StringOutput `pulumi:"lifecycleDetails"`
// Tenancy Identifier of Operations Insights service
OperationsInsightsTenancyId pulumi.StringOutput `pulumi:"operationsInsightsTenancyId"`
// Possible lifecycle states
State pulumi.StringOutput `pulumi:"state"`
// (Updatable) Storage allocated to OPSI Warehouse ADW.
//
// ** IMPORTANT **
// Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
StorageAllocatedInGbs pulumi.Float64Output `pulumi:"storageAllocatedInGbs"`
// Storage by OPSI Warehouse ADW in GB.
StorageUsedInGbs pulumi.Float64Output `pulumi:"storageUsedInGbs"`
// System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}`
SystemTags pulumi.MapOutput `pulumi:"systemTags"`
// The time at which the resource was first created. An RFC3339 formatted datetime string
TimeCreated pulumi.StringOutput `pulumi:"timeCreated"`
// The time at which the ADW wallet was last rotated for the Operations Insights Warehouse. An RFC3339 formatted datetime string
TimeLastWalletRotated pulumi.StringOutput `pulumi:"timeLastWalletRotated"`
// The time at which the resource was last updated. An RFC3339 formatted datetime string
TimeUpdated pulumi.StringOutput `pulumi:"timeUpdated"`
}
// NewOperationsInsightsWarehouse registers a new resource with the given unique name, arguments, and options.
func NewOperationsInsightsWarehouse(ctx *pulumi.Context,
name string, args *OperationsInsightsWarehouseArgs, opts ...pulumi.ResourceOption) (*OperationsInsightsWarehouse, error) {
if args == nil {
return nil, errors.New("missing one or more required arguments")
}
if args.CompartmentId == nil {
return nil, errors.New("invalid value for required argument 'CompartmentId'")
}
if args.CpuAllocated == nil {
return nil, errors.New("invalid value for required argument 'CpuAllocated'")
}
if args.DisplayName == nil {
return nil, errors.New("invalid value for required argument 'DisplayName'")
}
opts = internal.PkgResourceDefaultOpts(opts)
var resource OperationsInsightsWarehouse
err := ctx.RegisterResource("oci:Opsi/operationsInsightsWarehouse:OperationsInsightsWarehouse", name, args, &resource, opts...)
if err != nil {
return nil, err
}
return &resource, nil
}
// GetOperationsInsightsWarehouse gets an existing OperationsInsightsWarehouse resource's state with the given name, ID, and optional
// state properties that are used to uniquely qualify the lookup (nil if not required).
func GetOperationsInsightsWarehouse(ctx *pulumi.Context,
name string, id pulumi.IDInput, state *OperationsInsightsWarehouseState, opts ...pulumi.ResourceOption) (*OperationsInsightsWarehouse, error) {
var resource OperationsInsightsWarehouse
err := ctx.ReadResource("oci:Opsi/operationsInsightsWarehouse:OperationsInsightsWarehouse", name, id, state, &resource, opts...)
if err != nil {
return nil, err
}
return &resource, nil
}
// Input properties used for looking up and filtering OperationsInsightsWarehouse resources.
type operationsInsightsWarehouseState struct {
// (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
CompartmentId *string `pulumi:"compartmentId"`
// (Updatable) Number of OCPUs allocated to OPSI Warehouse ADW.
CpuAllocated *float64 `pulumi:"cpuAllocated"`
// Number of OCPUs used by OPSI Warehouse ADW. Can be fractional.
CpuUsed *float64 `pulumi:"cpuUsed"`
// (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
DefinedTags map[string]interface{} `pulumi:"definedTags"`
// (Updatable) User-friedly name of Operations Insights Warehouse that does not have to be unique.
DisplayName *string `pulumi:"displayName"`
// OCID of the dynamic group created for the warehouse
DynamicGroupId *string `pulumi:"dynamicGroupId"`
// (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
FreeformTags map[string]interface{} `pulumi:"freeformTags"`
// A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
LifecycleDetails *string `pulumi:"lifecycleDetails"`
// Tenancy Identifier of Operations Insights service
OperationsInsightsTenancyId *string `pulumi:"operationsInsightsTenancyId"`
// Possible lifecycle states
State *string `pulumi:"state"`
// (Updatable) Storage allocated to OPSI Warehouse ADW.
//
// ** IMPORTANT **
// Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
StorageAllocatedInGbs *float64 `pulumi:"storageAllocatedInGbs"`
// Storage by OPSI Warehouse ADW in GB.
StorageUsedInGbs *float64 `pulumi:"storageUsedInGbs"`
// System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}`
SystemTags map[string]interface{} `pulumi:"systemTags"`
// The time at which the resource was first created. An RFC3339 formatted datetime string
TimeCreated *string `pulumi:"timeCreated"`
// The time at which the ADW wallet was last rotated for the Operations Insights Warehouse. An RFC3339 formatted datetime string
TimeLastWalletRotated *string `pulumi:"timeLastWalletRotated"`
// The time at which the resource was last updated. An RFC3339 formatted datetime string
TimeUpdated *string `pulumi:"timeUpdated"`
}
type OperationsInsightsWarehouseState struct {
// (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
CompartmentId pulumi.StringPtrInput
// (Updatable) Number of OCPUs allocated to OPSI Warehouse ADW.
CpuAllocated pulumi.Float64PtrInput
// Number of OCPUs used by OPSI Warehouse ADW. Can be fractional.
CpuUsed pulumi.Float64PtrInput
// (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
DefinedTags pulumi.MapInput
// (Updatable) User-friedly name of Operations Insights Warehouse that does not have to be unique.
DisplayName pulumi.StringPtrInput
// OCID of the dynamic group created for the warehouse
DynamicGroupId pulumi.StringPtrInput
// (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
FreeformTags pulumi.MapInput
// A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
LifecycleDetails pulumi.StringPtrInput
// Tenancy Identifier of Operations Insights service
OperationsInsightsTenancyId pulumi.StringPtrInput
// Possible lifecycle states
State pulumi.StringPtrInput
// (Updatable) Storage allocated to OPSI Warehouse ADW.
//
// ** IMPORTANT **
// Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
StorageAllocatedInGbs pulumi.Float64PtrInput
// Storage by OPSI Warehouse ADW in GB.
StorageUsedInGbs pulumi.Float64PtrInput
// System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}`
SystemTags pulumi.MapInput
// The time at which the resource was first created. An RFC3339 formatted datetime string
TimeCreated pulumi.StringPtrInput
// The time at which the ADW wallet was last rotated for the Operations Insights Warehouse. An RFC3339 formatted datetime string
TimeLastWalletRotated pulumi.StringPtrInput
// The time at which the resource was last updated. An RFC3339 formatted datetime string
TimeUpdated pulumi.StringPtrInput
}
func (OperationsInsightsWarehouseState) ElementType() reflect.Type {
return reflect.TypeOf((*operationsInsightsWarehouseState)(nil)).Elem()
}
type operationsInsightsWarehouseArgs struct {
// (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
CompartmentId string `pulumi:"compartmentId"`
// (Updatable) Number of OCPUs allocated to OPSI Warehouse ADW.
CpuAllocated float64 `pulumi:"cpuAllocated"`
// (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
DefinedTags map[string]interface{} `pulumi:"definedTags"`
// (Updatable) User-friedly name of Operations Insights Warehouse that does not have to be unique.
DisplayName string `pulumi:"displayName"`
// (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
FreeformTags map[string]interface{} `pulumi:"freeformTags"`
// (Updatable) Storage allocated to OPSI Warehouse ADW.
//
// ** IMPORTANT **
// Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
StorageAllocatedInGbs *float64 `pulumi:"storageAllocatedInGbs"`
}
// The set of arguments for constructing a OperationsInsightsWarehouse resource.
type OperationsInsightsWarehouseArgs struct {
// (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
CompartmentId pulumi.StringInput
// (Updatable) Number of OCPUs allocated to OPSI Warehouse ADW.
CpuAllocated pulumi.Float64Input
// (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
DefinedTags pulumi.MapInput
// (Updatable) User-friedly name of Operations Insights Warehouse that does not have to be unique.
DisplayName pulumi.StringInput
// (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
FreeformTags pulumi.MapInput
// (Updatable) Storage allocated to OPSI Warehouse ADW.
//
// ** IMPORTANT **
// Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
StorageAllocatedInGbs pulumi.Float64PtrInput
}
func (OperationsInsightsWarehouseArgs) ElementType() reflect.Type {
return reflect.TypeOf((*operationsInsightsWarehouseArgs)(nil)).Elem()
}
type OperationsInsightsWarehouseInput interface {
pulumi.Input
ToOperationsInsightsWarehouseOutput() OperationsInsightsWarehouseOutput
ToOperationsInsightsWarehouseOutputWithContext(ctx context.Context) OperationsInsightsWarehouseOutput
}
func (*OperationsInsightsWarehouse) ElementType() reflect.Type {
return reflect.TypeOf((**OperationsInsightsWarehouse)(nil)).Elem()
}
func (i *OperationsInsightsWarehouse) ToOperationsInsightsWarehouseOutput() OperationsInsightsWarehouseOutput {
return i.ToOperationsInsightsWarehouseOutputWithContext(context.Background())
}
func (i *OperationsInsightsWarehouse) ToOperationsInsightsWarehouseOutputWithContext(ctx context.Context) OperationsInsightsWarehouseOutput {
return pulumi.ToOutputWithContext(ctx, i).(OperationsInsightsWarehouseOutput)
}
// OperationsInsightsWarehouseArrayInput is an input type that accepts OperationsInsightsWarehouseArray and OperationsInsightsWarehouseArrayOutput values.
// You can construct a concrete instance of `OperationsInsightsWarehouseArrayInput` via:
//
// OperationsInsightsWarehouseArray{ OperationsInsightsWarehouseArgs{...} }
type OperationsInsightsWarehouseArrayInput interface {
pulumi.Input
ToOperationsInsightsWarehouseArrayOutput() OperationsInsightsWarehouseArrayOutput
ToOperationsInsightsWarehouseArrayOutputWithContext(context.Context) OperationsInsightsWarehouseArrayOutput
}
type OperationsInsightsWarehouseArray []OperationsInsightsWarehouseInput
func (OperationsInsightsWarehouseArray) ElementType() reflect.Type {
return reflect.TypeOf((*[]*OperationsInsightsWarehouse)(nil)).Elem()
}
func (i OperationsInsightsWarehouseArray) ToOperationsInsightsWarehouseArrayOutput() OperationsInsightsWarehouseArrayOutput {
return i.ToOperationsInsightsWarehouseArrayOutputWithContext(context.Background())
}
func (i OperationsInsightsWarehouseArray) ToOperationsInsightsWarehouseArrayOutputWithContext(ctx context.Context) OperationsInsightsWarehouseArrayOutput {
return pulumi.ToOutputWithContext(ctx, i).(OperationsInsightsWarehouseArrayOutput)
}
// OperationsInsightsWarehouseMapInput is an input type that accepts OperationsInsightsWarehouseMap and OperationsInsightsWarehouseMapOutput values.
// You can construct a concrete instance of `OperationsInsightsWarehouseMapInput` via:
//
// OperationsInsightsWarehouseMap{ "key": OperationsInsightsWarehouseArgs{...} }
type OperationsInsightsWarehouseMapInput interface {
pulumi.Input
ToOperationsInsightsWarehouseMapOutput() OperationsInsightsWarehouseMapOutput
ToOperationsInsightsWarehouseMapOutputWithContext(context.Context) OperationsInsightsWarehouseMapOutput
}
type OperationsInsightsWarehouseMap map[string]OperationsInsightsWarehouseInput
func (OperationsInsightsWarehouseMap) ElementType() reflect.Type {
return reflect.TypeOf((*map[string]*OperationsInsightsWarehouse)(nil)).Elem()
}
func (i OperationsInsightsWarehouseMap) ToOperationsInsightsWarehouseMapOutput() OperationsInsightsWarehouseMapOutput {
return i.ToOperationsInsightsWarehouseMapOutputWithContext(context.Background())
}
func (i OperationsInsightsWarehouseMap) ToOperationsInsightsWarehouseMapOutputWithContext(ctx context.Context) OperationsInsightsWarehouseMapOutput {
return pulumi.ToOutputWithContext(ctx, i).(OperationsInsightsWarehouseMapOutput)
}
type OperationsInsightsWarehouseOutput struct{ *pulumi.OutputState }
func (OperationsInsightsWarehouseOutput) ElementType() reflect.Type {
return reflect.TypeOf((**OperationsInsightsWarehouse)(nil)).Elem()
}
func (o OperationsInsightsWarehouseOutput) ToOperationsInsightsWarehouseOutput() OperationsInsightsWarehouseOutput {
return o
}
func (o OperationsInsightsWarehouseOutput) ToOperationsInsightsWarehouseOutputWithContext(ctx context.Context) OperationsInsightsWarehouseOutput {
return o
}
// (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
func (o OperationsInsightsWarehouseOutput) CompartmentId() pulumi.StringOutput {
return o.ApplyT(func(v *OperationsInsightsWarehouse) pulumi.StringOutput { return v.CompartmentId }).(pulumi.StringOutput)
}
// (Updatable) Number of OCPUs allocated to OPSI Warehouse ADW.
func (o OperationsInsightsWarehouseOutput) CpuAllocated() pulumi.Float64Output {
return o.ApplyT(func(v *OperationsInsightsWarehouse) pulumi.Float64Output { return v.CpuAllocated }).(pulumi.Float64Output)
}
// Number of OCPUs used by OPSI Warehouse ADW. Can be fractional.
func (o OperationsInsightsWarehouseOutput) CpuUsed() pulumi.Float64Output {
return o.ApplyT(func(v *OperationsInsightsWarehouse) pulumi.Float64Output { return v.CpuUsed }).(pulumi.Float64Output)
}
// (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
func (o OperationsInsightsWarehouseOutput) DefinedTags() pulumi.MapOutput {
return o.ApplyT(func(v *OperationsInsightsWarehouse) pulumi.MapOutput { return v.DefinedTags }).(pulumi.MapOutput)
}
// (Updatable) User-friedly name of Operations Insights Warehouse that does not have to be unique.
func (o OperationsInsightsWarehouseOutput) DisplayName() pulumi.StringOutput {
return o.ApplyT(func(v *OperationsInsightsWarehouse) pulumi.StringOutput { return v.DisplayName }).(pulumi.StringOutput)
}
// OCID of the dynamic group created for the warehouse
func (o OperationsInsightsWarehouseOutput) DynamicGroupId() pulumi.StringOutput {
return o.ApplyT(func(v *OperationsInsightsWarehouse) pulumi.StringOutput { return v.DynamicGroupId }).(pulumi.StringOutput)
}
// (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
func (o OperationsInsightsWarehouseOutput) FreeformTags() pulumi.MapOutput {
return o.ApplyT(func(v *OperationsInsightsWarehouse) pulumi.MapOutput { return v.FreeformTags }).(pulumi.MapOutput)
}
// A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
func (o OperationsInsightsWarehouseOutput) LifecycleDetails() pulumi.StringOutput {
return o.ApplyT(func(v *OperationsInsightsWarehouse) pulumi.StringOutput { return v.LifecycleDetails }).(pulumi.StringOutput)
}
// Tenancy Identifier of Operations Insights service
func (o OperationsInsightsWarehouseOutput) OperationsInsightsTenancyId() pulumi.StringOutput {
return o.ApplyT(func(v *OperationsInsightsWarehouse) pulumi.StringOutput { return v.OperationsInsightsTenancyId }).(pulumi.StringOutput)
}
// Possible lifecycle states
func (o OperationsInsightsWarehouseOutput) State() pulumi.StringOutput {
return o.ApplyT(func(v *OperationsInsightsWarehouse) pulumi.StringOutput { return v.State }).(pulumi.StringOutput)
}
// (Updatable) Storage allocated to OPSI Warehouse ADW.
//
// ** IMPORTANT **
// Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
func (o OperationsInsightsWarehouseOutput) StorageAllocatedInGbs() pulumi.Float64Output {
return o.ApplyT(func(v *OperationsInsightsWarehouse) pulumi.Float64Output { return v.StorageAllocatedInGbs }).(pulumi.Float64Output)
}
// Storage by OPSI Warehouse ADW in GB.
func (o OperationsInsightsWarehouseOutput) StorageUsedInGbs() pulumi.Float64Output {
return o.ApplyT(func(v *OperationsInsightsWarehouse) pulumi.Float64Output { return v.StorageUsedInGbs }).(pulumi.Float64Output)
}
// System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}`
func (o OperationsInsightsWarehouseOutput) SystemTags() pulumi.MapOutput {
return o.ApplyT(func(v *OperationsInsightsWarehouse) pulumi.MapOutput { return v.SystemTags }).(pulumi.MapOutput)
}
// The time at which the resource was first created. An RFC3339 formatted datetime string
func (o OperationsInsightsWarehouseOutput) TimeCreated() pulumi.StringOutput {
return o.ApplyT(func(v *OperationsInsightsWarehouse) pulumi.StringOutput { return v.TimeCreated }).(pulumi.StringOutput)
}
// The time at which the ADW wallet was last rotated for the Operations Insights Warehouse. An RFC3339 formatted datetime string
func (o OperationsInsightsWarehouseOutput) TimeLastWalletRotated() pulumi.StringOutput {
return o.ApplyT(func(v *OperationsInsightsWarehouse) pulumi.StringOutput { return v.TimeLastWalletRotated }).(pulumi.StringOutput)
}
// The time at which the resource was last updated. An RFC3339 formatted datetime string
func (o OperationsInsightsWarehouseOutput) TimeUpdated() pulumi.StringOutput {
return o.ApplyT(func(v *OperationsInsightsWarehouse) pulumi.StringOutput { return v.TimeUpdated }).(pulumi.StringOutput)
}
type OperationsInsightsWarehouseArrayOutput struct{ *pulumi.OutputState }
func (OperationsInsightsWarehouseArrayOutput) ElementType() reflect.Type {
return reflect.TypeOf((*[]*OperationsInsightsWarehouse)(nil)).Elem()
}
func (o OperationsInsightsWarehouseArrayOutput) ToOperationsInsightsWarehouseArrayOutput() OperationsInsightsWarehouseArrayOutput {
return o
}
func (o OperationsInsightsWarehouseArrayOutput) ToOperationsInsightsWarehouseArrayOutputWithContext(ctx context.Context) OperationsInsightsWarehouseArrayOutput {
return o
}
func (o OperationsInsightsWarehouseArrayOutput) Index(i pulumi.IntInput) OperationsInsightsWarehouseOutput {
return pulumi.All(o, i).ApplyT(func(vs []interface{}) *OperationsInsightsWarehouse {
return vs[0].([]*OperationsInsightsWarehouse)[vs[1].(int)]
}).(OperationsInsightsWarehouseOutput)
}
type OperationsInsightsWarehouseMapOutput struct{ *pulumi.OutputState }
func (OperationsInsightsWarehouseMapOutput) ElementType() reflect.Type {
return reflect.TypeOf((*map[string]*OperationsInsightsWarehouse)(nil)).Elem()
}
func (o OperationsInsightsWarehouseMapOutput) ToOperationsInsightsWarehouseMapOutput() OperationsInsightsWarehouseMapOutput {
return o
}
func (o OperationsInsightsWarehouseMapOutput) ToOperationsInsightsWarehouseMapOutputWithContext(ctx context.Context) OperationsInsightsWarehouseMapOutput {
return o
}
func (o OperationsInsightsWarehouseMapOutput) MapIndex(k pulumi.StringInput) OperationsInsightsWarehouseOutput {
return pulumi.All(o, k).ApplyT(func(vs []interface{}) *OperationsInsightsWarehouse {
return vs[0].(map[string]*OperationsInsightsWarehouse)[vs[1].(string)]
}).(OperationsInsightsWarehouseOutput)
}
func init() {
pulumi.RegisterInputType(reflect.TypeOf((*OperationsInsightsWarehouseInput)(nil)).Elem(), &OperationsInsightsWarehouse{})
pulumi.RegisterInputType(reflect.TypeOf((*OperationsInsightsWarehouseArrayInput)(nil)).Elem(), OperationsInsightsWarehouseArray{})
pulumi.RegisterInputType(reflect.TypeOf((*OperationsInsightsWarehouseMapInput)(nil)).Elem(), OperationsInsightsWarehouseMap{})
pulumi.RegisterOutputType(OperationsInsightsWarehouseOutput{})
pulumi.RegisterOutputType(OperationsInsightsWarehouseArrayOutput{})
pulumi.RegisterOutputType(OperationsInsightsWarehouseMapOutput{})
}