pulumi/developer-docs/architecture/pulumi-import.svg

38 lines
14 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="UTF-8" standalone="no"?><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" contentScriptType="application/ecmascript" contentStyleType="text/css" height="545px" preserveAspectRatio="none" style="width:1224px;height:545px;background:#FFFFFF;" version="1.1" viewBox="0 0 1224 545" width="1224px" zoomAndPan="magnify"><defs><filter height="300%" id="f190crdgwhoxlj" width="300%" x="-1" y="-1"><feGaussianBlur result="blurOut" stdDeviation="2.0"/><feColorMatrix in="blurOut" result="blurOut2" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .4 0"/><feOffset dx="4.0" dy="4.0" in="blurOut2" result="blurOut3"/><feBlend in="SourceGraphic" in2="blurOut3" mode="normal"/></filter></defs><g><rect fill="#DDDDDD" height="533.6348" style="stroke:#A80036;stroke-width:1.0;" width="308" x="563" y="6"/><text fill="#000000" font-family="sans-serif" font-size="13" font-weight="bold" lengthAdjust="spacing" textLength="47" x="693.5" y="18.5684">Engine</text><rect fill="#FFFFFF" filter="url(#f190crdgwhoxlj)" height="29.3105" style="stroke:#A80036;stroke-width:1.0;" width="10" x="286.5" y="395.2148"/><rect fill="#FFFFFF" filter="url(#f190crdgwhoxlj)" height="29.3105" style="stroke:#A80036;stroke-width:1.0;" width="10" x="453" y="453.8359"/><rect fill="#FFFFFF" filter="url(#f190crdgwhoxlj)" height="34.3105" style="stroke:#A80036;stroke-width:1.0;" width="10" x="616.5" y="92.1094"/><rect fill="#FFFFFF" filter="url(#f190crdgwhoxlj)" height="210.1738" style="stroke:#A80036;stroke-width:1.0;" width="10" x="805.5" y="126.4199"/><rect fill="#FFFFFF" filter="url(#f190crdgwhoxlj)" height="29.3105" style="stroke:#A80036;stroke-width:1.0;" width="10" x="1138.5" y="160.7305"/><rect fill="#FFFFFF" filter="url(#f190crdgwhoxlj)" height="29.3105" style="stroke:#A80036;stroke-width:1.0;" width="10" x="1138.5" y="219.3516"/><rect fill="#FFFFFF" filter="url(#f190crdgwhoxlj)" height="29.3105" style="stroke:#A80036;stroke-width:1.0;" width="10" x="1138.5" y="277.9727"/><line style="stroke:#A80036;stroke-width:1.0;stroke-dasharray:5.0,5.0;" x1="109" x2="109" y1="60.7988" y2="501.1465"/><line style="stroke:#A80036;stroke-width:1.0;stroke-dasharray:5.0,5.0;" x1="291" x2="291" y1="60.7988" y2="501.1465"/><line style="stroke:#A80036;stroke-width:1.0;stroke-dasharray:5.0,5.0;" x1="458" x2="458" y1="60.7988" y2="501.1465"/><line style="stroke:#A80036;stroke-width:1.0;stroke-dasharray:5.0,5.0;" x1="621" x2="621" y1="60.7988" y2="501.1465"/><line style="stroke:#A80036;stroke-width:1.0;stroke-dasharray:5.0,5.0;" x1="810" x2="810" y1="60.7988" y2="501.1465"/><line style="stroke:#A80036;stroke-width:1.0;stroke-dasharray:5.0,5.0;" x1="1143.5" x2="1143.5" y1="60.7988" y2="501.1465"/><rect fill="#FEFECE" filter="url(#f190crdgwhoxlj)" height="30.4883" style="stroke:#A80036;stroke-width:1.5;" width="205" x="5" y="25.3105"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="191" x="12" y="45.8457">`pulumi import` Command</text><rect fill="#FEFECE" filter="url(#f190crdgwhoxlj)" height="30.4883" style="stroke:#A80036;stroke-width:1.5;" width="205" x="5" y="500.1465"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="191" x="12" y="520.6816">`pulumi import` Command</text><rect fill="#FEFECE" filter="url(#f190crdgwhoxlj)" height="30.4883" style="stroke:#A80036;stroke-width:1.5;" width="111" x="234" y="25.3105"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="97" x="241" y="45.8457">PCL Converter</text><rect fill="#FEFECE" filter="url(#f190crdgwhoxlj)" height="30.4883" style="stroke:#A80036;stroke-width:1.5;" width="111" x="234" y="500.1465"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="97" x="241" y="520.6816">PCL Converter</text><rect fill="#FEFECE" filter="url(#f190crdgwhoxlj)" height="30.4883" style="stroke:#A80036;stroke-width:1.5;" width="194" x="359" y="25.3105"/><text fill="#000000" font-family="sans-serif" font-size="14" length
@startuml
participant "`pulumi import` Command" order 10
participant "PCL Converter" order 13
participant "Language Code Generator" order 16
box "Engine"
participant "Import Driver" order 20
participant "Step Executor" order 25
end box
participant "Resource Provider" order 30
"`pulumi import` Command" -> "Import Driver" ++ : engine.Import(import specs)
"Import Driver" -> "Step Executor" - -++ : []ImportStep(import spec)
note left
All steps run in parallel.
end note
"Step Executor" -> "Resource Provider" ++ : ReadRequest(type, id)
"Step Executor" <- "Resource Provider" - - : ReadResponse(current inputs, current state)
"Step Executor" -> "Resource Provider" ++ : CheckRequest(type, inputs, current inputs)
"Step Executor" <- "Resource Provider" - - : CheckResponse(inputs', failures)
"Step Executor" -> "Resource Provider" ++ : DiffRequest(type, inputs', current state, options)
"Step Executor" <- "Resource Provider" - - : DiffResponse(diffs)
"Import Driver" <- "Step Executor" - - : done(current states)
"`pulumi import` Command" <- "Import Driver" - - : done(current states)
"`pulumi import` Command" -> "PCL Converter" ++ : convert(current states)
"`pulumi import` Command" <- "PCL Converter" - - : PCL resource definitions
"`pulumi import` Command" -> "Language Code Generator" ++ : generateProgram(PCL resource definitions)
"`pulumi import` Command" <- "Language Code Generator" - - : Generated resource definitions
@enduml
PlantUML version 1.2021.10(Mon Aug 30 06:43:48 PDT 2021)
(GPL source distribution)
Java Runtime: OpenJDK Runtime Environment
JVM: OpenJDK 64-Bit Server VM
Default Encoding: UTF-8
Language: en
Country: US
--></g></svg>