mirror of https://github.com/pulumi/pulumi.git
14 lines
463 B
Python
14 lines
463 B
Python
import pulumi
|
|
import pulumi_basic_unions as basic_unions
|
|
|
|
# properties field is bound to union case ServerPropertiesForReplica
|
|
replica = basic_unions.ExampleServer("replica", properties={
|
|
"create_mode": "Replica",
|
|
"version": "0.1.0-dev",
|
|
})
|
|
# properties field is bound to union case ServerPropertiesForRestore
|
|
restore = basic_unions.ExampleServer("restore", properties={
|
|
"create_mode": "PointInTimeRestore",
|
|
"restore_point_in_time": "example",
|
|
})
|