generated from pulumi/pulumi-tf-provider-boilerplate
/
pathAnalyzerTest.go
468 lines (409 loc) · 23.8 KB
/
pathAnalyzerTest.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
// 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 vnmonitoring
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 Path Analyzer Test resource in Oracle Cloud Infrastructure Vn Monitoring service.
//
// Creates a new `PathAnalyzerTest` resource.
//
// ## Example Usage
//
// ```go
// package main
//
// import (
//
// "github.com/pulumi/pulumi-oci/sdk/go/oci/VnMonitoring"
// "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
//
// )
//
// func main() {
// pulumi.Run(func(ctx *pulumi.Context) error {
// _, err := VnMonitoring.NewPathAnalyzerTest(ctx, "test_path_analyzer_test", &VnMonitoring.PathAnalyzerTestArgs{
// CompartmentId: pulumi.Any(compartmentId),
// DestinationEndpoint: &vnmonitoring.PathAnalyzerTestDestinationEndpointArgs{
// Type: pulumi.Any(pathAnalyzerTestDestinationEndpointType),
// Address: pulumi.Any(pathAnalyzerTestDestinationEndpointAddress),
// InstanceId: pulumi.Any(testInstance.Id),
// ListenerId: pulumi.Any(testListener.Id),
// LoadBalancerId: pulumi.Any(testLoadBalancer.Id),
// NetworkLoadBalancerId: pulumi.Any(testNetworkLoadBalancer.Id),
// SubnetId: pulumi.Any(testSubnet.Id),
// VlanId: pulumi.Any(testVlan.Id),
// VnicId: pulumi.Any(testVnicAttachment.Id),
// },
// Protocol: pulumi.Any(pathAnalyzerTestProtocol),
// SourceEndpoint: &vnmonitoring.PathAnalyzerTestSourceEndpointArgs{
// Type: pulumi.Any(pathAnalyzerTestSourceEndpointType),
// Address: pulumi.Any(pathAnalyzerTestSourceEndpointAddress),
// InstanceId: pulumi.Any(testInstance.Id),
// ListenerId: pulumi.Any(testListener.Id),
// LoadBalancerId: pulumi.Any(testLoadBalancer.Id),
// NetworkLoadBalancerId: pulumi.Any(testNetworkLoadBalancer.Id),
// SubnetId: pulumi.Any(testSubnet.Id),
// VlanId: pulumi.Any(testVlan.Id),
// VnicId: pulumi.Any(testVnicAttachment.Id),
// },
// DefinedTags: pulumi.Map{
// "foo-namespace.bar-key": pulumi.Any("value"),
// },
// DisplayName: pulumi.Any(pathAnalyzerTestDisplayName),
// FreeformTags: pulumi.Map{
// "bar-key": pulumi.Any("value"),
// },
// ProtocolParameters: &vnmonitoring.PathAnalyzerTestProtocolParametersArgs{
// Type: pulumi.Any(pathAnalyzerTestProtocolParametersType),
// DestinationPort: pulumi.Any(pathAnalyzerTestProtocolParametersDestinationPort),
// IcmpCode: pulumi.Any(pathAnalyzerTestProtocolParametersIcmpCode),
// IcmpType: pulumi.Any(pathAnalyzerTestProtocolParametersIcmpType),
// SourcePort: pulumi.Any(pathAnalyzerTestProtocolParametersSourcePort),
// },
// QueryOptions: &vnmonitoring.PathAnalyzerTestQueryOptionsArgs{
// IsBiDirectionalAnalysis: pulumi.Any(pathAnalyzerTestQueryOptionsIsBiDirectionalAnalysis),
// },
// })
// if err != nil {
// return err
// }
// return nil
// })
// }
//
// ```
//
// ## Import
//
// PathAnalyzerTests can be imported using the `id`, e.g.
//
// ```sh
// $ pulumi import oci:VnMonitoring/pathAnalyzerTest:PathAnalyzerTest test_path_analyzer_test "id"
// ```
type PathAnalyzerTest struct {
pulumi.CustomResourceState
// (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the `PathAnalyzerTest` resource's compartment.
CompartmentId pulumi.StringOutput `pulumi:"compartmentId"`
// (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) Information describing a source or destination in a `PathAnalyzerTest` resource.
DestinationEndpoint PathAnalyzerTestDestinationEndpointOutput `pulumi:"destinationEndpoint"`
// (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
DisplayName pulumi.StringOutput `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 pulumi.MapOutput `pulumi:"freeformTags"`
// (Updatable) The IP protocol to use in the `PathAnalyzerTest` resource.
Protocol pulumi.IntOutput `pulumi:"protocol"`
// (Updatable) Defines the IP protocol parameters for a `PathAnalyzerTest` resource.
ProtocolParameters PathAnalyzerTestProtocolParametersOutput `pulumi:"protocolParameters"`
// (Updatable) Defines the query options required for a `PathAnalyzerTest` resource.
QueryOptions PathAnalyzerTestQueryOptionsOutput `pulumi:"queryOptions"`
// (Updatable) Information describing a source or destination in a `PathAnalyzerTest` resource.
SourceEndpoint PathAnalyzerTestSourceEndpointOutput `pulumi:"sourceEndpoint"`
// The current state of the `PathAnalyzerTest` resource.
State pulumi.StringOutput `pulumi:"state"`
// Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`
SystemTags pulumi.MapOutput `pulumi:"systemTags"`
// The date and time the `PathAnalyzerTest` resource was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339).
TimeCreated pulumi.StringOutput `pulumi:"timeCreated"`
// The date and time the `PathAnalyzerTest` resource was last updated, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339).
TimeUpdated pulumi.StringOutput `pulumi:"timeUpdated"`
}
// NewPathAnalyzerTest registers a new resource with the given unique name, arguments, and options.
func NewPathAnalyzerTest(ctx *pulumi.Context,
name string, args *PathAnalyzerTestArgs, opts ...pulumi.ResourceOption) (*PathAnalyzerTest, 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.DestinationEndpoint == nil {
return nil, errors.New("invalid value for required argument 'DestinationEndpoint'")
}
if args.Protocol == nil {
return nil, errors.New("invalid value for required argument 'Protocol'")
}
if args.SourceEndpoint == nil {
return nil, errors.New("invalid value for required argument 'SourceEndpoint'")
}
opts = internal.PkgResourceDefaultOpts(opts)
var resource PathAnalyzerTest
err := ctx.RegisterResource("oci:VnMonitoring/pathAnalyzerTest:PathAnalyzerTest", name, args, &resource, opts...)
if err != nil {
return nil, err
}
return &resource, nil
}
// GetPathAnalyzerTest gets an existing PathAnalyzerTest 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 GetPathAnalyzerTest(ctx *pulumi.Context,
name string, id pulumi.IDInput, state *PathAnalyzerTestState, opts ...pulumi.ResourceOption) (*PathAnalyzerTest, error) {
var resource PathAnalyzerTest
err := ctx.ReadResource("oci:VnMonitoring/pathAnalyzerTest:PathAnalyzerTest", name, id, state, &resource, opts...)
if err != nil {
return nil, err
}
return &resource, nil
}
// Input properties used for looking up and filtering PathAnalyzerTest resources.
type pathAnalyzerTestState struct {
// (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the `PathAnalyzerTest` resource's compartment.
CompartmentId *string `pulumi:"compartmentId"`
// (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) Information describing a source or destination in a `PathAnalyzerTest` resource.
DestinationEndpoint *PathAnalyzerTestDestinationEndpoint `pulumi:"destinationEndpoint"`
// (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
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) The IP protocol to use in the `PathAnalyzerTest` resource.
Protocol *int `pulumi:"protocol"`
// (Updatable) Defines the IP protocol parameters for a `PathAnalyzerTest` resource.
ProtocolParameters *PathAnalyzerTestProtocolParameters `pulumi:"protocolParameters"`
// (Updatable) Defines the query options required for a `PathAnalyzerTest` resource.
QueryOptions *PathAnalyzerTestQueryOptions `pulumi:"queryOptions"`
// (Updatable) Information describing a source or destination in a `PathAnalyzerTest` resource.
SourceEndpoint *PathAnalyzerTestSourceEndpoint `pulumi:"sourceEndpoint"`
// The current state of the `PathAnalyzerTest` resource.
State *string `pulumi:"state"`
// Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`
SystemTags map[string]interface{} `pulumi:"systemTags"`
// The date and time the `PathAnalyzerTest` resource was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339).
TimeCreated *string `pulumi:"timeCreated"`
// The date and time the `PathAnalyzerTest` resource was last updated, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339).
TimeUpdated *string `pulumi:"timeUpdated"`
}
type PathAnalyzerTestState struct {
// (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the `PathAnalyzerTest` resource's compartment.
CompartmentId pulumi.StringPtrInput
// (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) Information describing a source or destination in a `PathAnalyzerTest` resource.
DestinationEndpoint PathAnalyzerTestDestinationEndpointPtrInput
// (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
DisplayName 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
// (Updatable) The IP protocol to use in the `PathAnalyzerTest` resource.
Protocol pulumi.IntPtrInput
// (Updatable) Defines the IP protocol parameters for a `PathAnalyzerTest` resource.
ProtocolParameters PathAnalyzerTestProtocolParametersPtrInput
// (Updatable) Defines the query options required for a `PathAnalyzerTest` resource.
QueryOptions PathAnalyzerTestQueryOptionsPtrInput
// (Updatable) Information describing a source or destination in a `PathAnalyzerTest` resource.
SourceEndpoint PathAnalyzerTestSourceEndpointPtrInput
// The current state of the `PathAnalyzerTest` resource.
State pulumi.StringPtrInput
// Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`
SystemTags pulumi.MapInput
// The date and time the `PathAnalyzerTest` resource was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339).
TimeCreated pulumi.StringPtrInput
// The date and time the `PathAnalyzerTest` resource was last updated, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339).
TimeUpdated pulumi.StringPtrInput
}
func (PathAnalyzerTestState) ElementType() reflect.Type {
return reflect.TypeOf((*pathAnalyzerTestState)(nil)).Elem()
}
type pathAnalyzerTestArgs struct {
// (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the `PathAnalyzerTest` resource's compartment.
CompartmentId string `pulumi:"compartmentId"`
// (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) Information describing a source or destination in a `PathAnalyzerTest` resource.
DestinationEndpoint PathAnalyzerTestDestinationEndpoint `pulumi:"destinationEndpoint"`
// (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
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) The IP protocol to use in the `PathAnalyzerTest` resource.
Protocol int `pulumi:"protocol"`
// (Updatable) Defines the IP protocol parameters for a `PathAnalyzerTest` resource.
ProtocolParameters *PathAnalyzerTestProtocolParameters `pulumi:"protocolParameters"`
// (Updatable) Defines the query options required for a `PathAnalyzerTest` resource.
QueryOptions *PathAnalyzerTestQueryOptions `pulumi:"queryOptions"`
// (Updatable) Information describing a source or destination in a `PathAnalyzerTest` resource.
SourceEndpoint PathAnalyzerTestSourceEndpoint `pulumi:"sourceEndpoint"`
}
// The set of arguments for constructing a PathAnalyzerTest resource.
type PathAnalyzerTestArgs struct {
// (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the `PathAnalyzerTest` resource's compartment.
CompartmentId pulumi.StringInput
// (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) Information describing a source or destination in a `PathAnalyzerTest` resource.
DestinationEndpoint PathAnalyzerTestDestinationEndpointInput
// (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
DisplayName 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
// (Updatable) The IP protocol to use in the `PathAnalyzerTest` resource.
Protocol pulumi.IntInput
// (Updatable) Defines the IP protocol parameters for a `PathAnalyzerTest` resource.
ProtocolParameters PathAnalyzerTestProtocolParametersPtrInput
// (Updatable) Defines the query options required for a `PathAnalyzerTest` resource.
QueryOptions PathAnalyzerTestQueryOptionsPtrInput
// (Updatable) Information describing a source or destination in a `PathAnalyzerTest` resource.
SourceEndpoint PathAnalyzerTestSourceEndpointInput
}
func (PathAnalyzerTestArgs) ElementType() reflect.Type {
return reflect.TypeOf((*pathAnalyzerTestArgs)(nil)).Elem()
}
type PathAnalyzerTestInput interface {
pulumi.Input
ToPathAnalyzerTestOutput() PathAnalyzerTestOutput
ToPathAnalyzerTestOutputWithContext(ctx context.Context) PathAnalyzerTestOutput
}
func (*PathAnalyzerTest) ElementType() reflect.Type {
return reflect.TypeOf((**PathAnalyzerTest)(nil)).Elem()
}
func (i *PathAnalyzerTest) ToPathAnalyzerTestOutput() PathAnalyzerTestOutput {
return i.ToPathAnalyzerTestOutputWithContext(context.Background())
}
func (i *PathAnalyzerTest) ToPathAnalyzerTestOutputWithContext(ctx context.Context) PathAnalyzerTestOutput {
return pulumi.ToOutputWithContext(ctx, i).(PathAnalyzerTestOutput)
}
// PathAnalyzerTestArrayInput is an input type that accepts PathAnalyzerTestArray and PathAnalyzerTestArrayOutput values.
// You can construct a concrete instance of `PathAnalyzerTestArrayInput` via:
//
// PathAnalyzerTestArray{ PathAnalyzerTestArgs{...} }
type PathAnalyzerTestArrayInput interface {
pulumi.Input
ToPathAnalyzerTestArrayOutput() PathAnalyzerTestArrayOutput
ToPathAnalyzerTestArrayOutputWithContext(context.Context) PathAnalyzerTestArrayOutput
}
type PathAnalyzerTestArray []PathAnalyzerTestInput
func (PathAnalyzerTestArray) ElementType() reflect.Type {
return reflect.TypeOf((*[]*PathAnalyzerTest)(nil)).Elem()
}
func (i PathAnalyzerTestArray) ToPathAnalyzerTestArrayOutput() PathAnalyzerTestArrayOutput {
return i.ToPathAnalyzerTestArrayOutputWithContext(context.Background())
}
func (i PathAnalyzerTestArray) ToPathAnalyzerTestArrayOutputWithContext(ctx context.Context) PathAnalyzerTestArrayOutput {
return pulumi.ToOutputWithContext(ctx, i).(PathAnalyzerTestArrayOutput)
}
// PathAnalyzerTestMapInput is an input type that accepts PathAnalyzerTestMap and PathAnalyzerTestMapOutput values.
// You can construct a concrete instance of `PathAnalyzerTestMapInput` via:
//
// PathAnalyzerTestMap{ "key": PathAnalyzerTestArgs{...} }
type PathAnalyzerTestMapInput interface {
pulumi.Input
ToPathAnalyzerTestMapOutput() PathAnalyzerTestMapOutput
ToPathAnalyzerTestMapOutputWithContext(context.Context) PathAnalyzerTestMapOutput
}
type PathAnalyzerTestMap map[string]PathAnalyzerTestInput
func (PathAnalyzerTestMap) ElementType() reflect.Type {
return reflect.TypeOf((*map[string]*PathAnalyzerTest)(nil)).Elem()
}
func (i PathAnalyzerTestMap) ToPathAnalyzerTestMapOutput() PathAnalyzerTestMapOutput {
return i.ToPathAnalyzerTestMapOutputWithContext(context.Background())
}
func (i PathAnalyzerTestMap) ToPathAnalyzerTestMapOutputWithContext(ctx context.Context) PathAnalyzerTestMapOutput {
return pulumi.ToOutputWithContext(ctx, i).(PathAnalyzerTestMapOutput)
}
type PathAnalyzerTestOutput struct{ *pulumi.OutputState }
func (PathAnalyzerTestOutput) ElementType() reflect.Type {
return reflect.TypeOf((**PathAnalyzerTest)(nil)).Elem()
}
func (o PathAnalyzerTestOutput) ToPathAnalyzerTestOutput() PathAnalyzerTestOutput {
return o
}
func (o PathAnalyzerTestOutput) ToPathAnalyzerTestOutputWithContext(ctx context.Context) PathAnalyzerTestOutput {
return o
}
// (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the `PathAnalyzerTest` resource's compartment.
func (o PathAnalyzerTestOutput) CompartmentId() pulumi.StringOutput {
return o.ApplyT(func(v *PathAnalyzerTest) pulumi.StringOutput { return v.CompartmentId }).(pulumi.StringOutput)
}
// (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
func (o PathAnalyzerTestOutput) DefinedTags() pulumi.MapOutput {
return o.ApplyT(func(v *PathAnalyzerTest) pulumi.MapOutput { return v.DefinedTags }).(pulumi.MapOutput)
}
// (Updatable) Information describing a source or destination in a `PathAnalyzerTest` resource.
func (o PathAnalyzerTestOutput) DestinationEndpoint() PathAnalyzerTestDestinationEndpointOutput {
return o.ApplyT(func(v *PathAnalyzerTest) PathAnalyzerTestDestinationEndpointOutput { return v.DestinationEndpoint }).(PathAnalyzerTestDestinationEndpointOutput)
}
// (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
func (o PathAnalyzerTestOutput) DisplayName() pulumi.StringOutput {
return o.ApplyT(func(v *PathAnalyzerTest) pulumi.StringOutput { return v.DisplayName }).(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 PathAnalyzerTestOutput) FreeformTags() pulumi.MapOutput {
return o.ApplyT(func(v *PathAnalyzerTest) pulumi.MapOutput { return v.FreeformTags }).(pulumi.MapOutput)
}
// (Updatable) The IP protocol to use in the `PathAnalyzerTest` resource.
func (o PathAnalyzerTestOutput) Protocol() pulumi.IntOutput {
return o.ApplyT(func(v *PathAnalyzerTest) pulumi.IntOutput { return v.Protocol }).(pulumi.IntOutput)
}
// (Updatable) Defines the IP protocol parameters for a `PathAnalyzerTest` resource.
func (o PathAnalyzerTestOutput) ProtocolParameters() PathAnalyzerTestProtocolParametersOutput {
return o.ApplyT(func(v *PathAnalyzerTest) PathAnalyzerTestProtocolParametersOutput { return v.ProtocolParameters }).(PathAnalyzerTestProtocolParametersOutput)
}
// (Updatable) Defines the query options required for a `PathAnalyzerTest` resource.
func (o PathAnalyzerTestOutput) QueryOptions() PathAnalyzerTestQueryOptionsOutput {
return o.ApplyT(func(v *PathAnalyzerTest) PathAnalyzerTestQueryOptionsOutput { return v.QueryOptions }).(PathAnalyzerTestQueryOptionsOutput)
}
// (Updatable) Information describing a source or destination in a `PathAnalyzerTest` resource.
func (o PathAnalyzerTestOutput) SourceEndpoint() PathAnalyzerTestSourceEndpointOutput {
return o.ApplyT(func(v *PathAnalyzerTest) PathAnalyzerTestSourceEndpointOutput { return v.SourceEndpoint }).(PathAnalyzerTestSourceEndpointOutput)
}
// The current state of the `PathAnalyzerTest` resource.
func (o PathAnalyzerTestOutput) State() pulumi.StringOutput {
return o.ApplyT(func(v *PathAnalyzerTest) pulumi.StringOutput { return v.State }).(pulumi.StringOutput)
}
// Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`
func (o PathAnalyzerTestOutput) SystemTags() pulumi.MapOutput {
return o.ApplyT(func(v *PathAnalyzerTest) pulumi.MapOutput { return v.SystemTags }).(pulumi.MapOutput)
}
// The date and time the `PathAnalyzerTest` resource was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339).
func (o PathAnalyzerTestOutput) TimeCreated() pulumi.StringOutput {
return o.ApplyT(func(v *PathAnalyzerTest) pulumi.StringOutput { return v.TimeCreated }).(pulumi.StringOutput)
}
// The date and time the `PathAnalyzerTest` resource was last updated, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339).
func (o PathAnalyzerTestOutput) TimeUpdated() pulumi.StringOutput {
return o.ApplyT(func(v *PathAnalyzerTest) pulumi.StringOutput { return v.TimeUpdated }).(pulumi.StringOutput)
}
type PathAnalyzerTestArrayOutput struct{ *pulumi.OutputState }
func (PathAnalyzerTestArrayOutput) ElementType() reflect.Type {
return reflect.TypeOf((*[]*PathAnalyzerTest)(nil)).Elem()
}
func (o PathAnalyzerTestArrayOutput) ToPathAnalyzerTestArrayOutput() PathAnalyzerTestArrayOutput {
return o
}
func (o PathAnalyzerTestArrayOutput) ToPathAnalyzerTestArrayOutputWithContext(ctx context.Context) PathAnalyzerTestArrayOutput {
return o
}
func (o PathAnalyzerTestArrayOutput) Index(i pulumi.IntInput) PathAnalyzerTestOutput {
return pulumi.All(o, i).ApplyT(func(vs []interface{}) *PathAnalyzerTest {
return vs[0].([]*PathAnalyzerTest)[vs[1].(int)]
}).(PathAnalyzerTestOutput)
}
type PathAnalyzerTestMapOutput struct{ *pulumi.OutputState }
func (PathAnalyzerTestMapOutput) ElementType() reflect.Type {
return reflect.TypeOf((*map[string]*PathAnalyzerTest)(nil)).Elem()
}
func (o PathAnalyzerTestMapOutput) ToPathAnalyzerTestMapOutput() PathAnalyzerTestMapOutput {
return o
}
func (o PathAnalyzerTestMapOutput) ToPathAnalyzerTestMapOutputWithContext(ctx context.Context) PathAnalyzerTestMapOutput {
return o
}
func (o PathAnalyzerTestMapOutput) MapIndex(k pulumi.StringInput) PathAnalyzerTestOutput {
return pulumi.All(o, k).ApplyT(func(vs []interface{}) *PathAnalyzerTest {
return vs[0].(map[string]*PathAnalyzerTest)[vs[1].(string)]
}).(PathAnalyzerTestOutput)
}
func init() {
pulumi.RegisterInputType(reflect.TypeOf((*PathAnalyzerTestInput)(nil)).Elem(), &PathAnalyzerTest{})
pulumi.RegisterInputType(reflect.TypeOf((*PathAnalyzerTestArrayInput)(nil)).Elem(), PathAnalyzerTestArray{})
pulumi.RegisterInputType(reflect.TypeOf((*PathAnalyzerTestMapInput)(nil)).Elem(), PathAnalyzerTestMap{})
pulumi.RegisterOutputType(PathAnalyzerTestOutput{})
pulumi.RegisterOutputType(PathAnalyzerTestArrayOutput{})
pulumi.RegisterOutputType(PathAnalyzerTestMapOutput{})
}