sparse-intern-71089
06/20/2018, 4:21 AMblue-answer-29496
06/20/2018, 4:36 AMwhite-balloon-205
cloud:provider
config variable which can be set to decide which provider it will target. This is ultimately not entirely unlike deciding which aws:region
you want to target - but just an even bigger switch.
See https://github.com/pulumi/pulumi-cloud/blob/master/api/index.ts#L31 for the details.big-piano-35669
kernel32!CreateFile
and FILE_FLAG_OPEN_REPARSE_POINT
and so on, but usually File.Open
does the job just fine. Just as in .NET, where you have P/invoke, in those cases where the high level primitives don't work, you can always drop down to the lower level cloud-specific APIs, even mixing them in the same program.blue-answer-29496
06/20/2018, 3:33 PMblue-answer-29496
06/20/2018, 3:36 PMsparse-manchester-68940
06/20/2018, 4:44 PMblue-answer-29496
06/20/2018, 4:48 PM