pulumi/developer-docs/architecture/construct.svg

23 lines
6.5 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="271px" preserveAspectRatio="none" style="width:940px;height:271px;background:#FFFFFF;" version="1.1" viewBox="0 0 940 271" width="940px" zoomAndPan="magnify"><defs><filter height="300%" id="fgmyzzlf8phsy" 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="259.8398" style="stroke:#A80036;stroke-width:1.0;" width="147" x="352.5" y="6"/><text fill="#000000" font-family="sans-serif" font-size="13" font-weight="bold" lengthAdjust="spacing" textLength="47" x="402.5" y="18.5684">Engine</text><rect fill="#FFFFFF" filter="url(#fgmyzzlf8phsy)" height="117.2422" style="stroke:#A80036;stroke-width:1.0;" width="10" x="421" y="92.1094"/><rect fill="#FFFFFF" filter="url(#fgmyzzlf8phsy)" height="58.6211" style="stroke:#A80036;stroke-width:1.0;" width="10" x="854" y="121.4199"/><line style="stroke:#A80036;stroke-width:1.0;stroke-dasharray:5.0,5.0;" x1="63" x2="63" y1="60.7988" y2="227.3516"/><line style="stroke:#A80036;stroke-width:1.0;stroke-dasharray:5.0,5.0;" x1="425.5" x2="425.5" y1="60.7988" y2="227.3516"/><line style="stroke:#A80036;stroke-width:1.0;stroke-dasharray:5.0,5.0;" x1="859" x2="859" y1="60.7988" y2="227.3516"/><rect fill="#FEFECE" filter="url(#fgmyzzlf8phsy)" height="30.4883" style="stroke:#A80036;stroke-width:1.5;" width="112" x="5" y="25.3105"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="98" x="12" y="45.8457">Language SDK</text><rect fill="#FEFECE" filter="url(#fgmyzzlf8phsy)" height="30.4883" style="stroke:#A80036;stroke-width:1.5;" width="112" x="5" y="226.3516"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="98" x="12" y="246.8867">Language SDK</text><rect fill="#FEFECE" filter="url(#fgmyzzlf8phsy)" height="30.4883" style="stroke:#A80036;stroke-width:1.5;" width="135" x="356.5" y="25.3105"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="121" x="363.5" y="45.8457">Resource Monitor</text><rect fill="#FEFECE" filter="url(#fgmyzzlf8phsy)" height="30.4883" style="stroke:#A80036;stroke-width:1.5;" width="135" x="356.5" y="226.3516"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="121" x="363.5" y="246.8867">Resource Monitor</text><rect fill="#FEFECE" filter="url(#fgmyzzlf8phsy)" height="30.4883" style="stroke:#A80036;stroke-width:1.5;" width="138" x="788" y="25.3105"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="124" x="795" y="45.8457">Resource Provider</text><rect fill="#FEFECE" filter="url(#fgmyzzlf8phsy)" height="30.4883" style="stroke:#A80036;stroke-width:1.5;" width="138" x="788" y="226.3516"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="124" x="795" y="246.8867">Resource Provider</text><rect fill="#FFFFFF" filter="url(#fgmyzzlf8phsy)" height="117.2422" style="stroke:#A80036;stroke-width:1.0;" width="10" x="421" y="92.1094"/><rect fill="#FFFFFF" filter="url(#fgmyzzlf8phsy)" height="58.6211" style="stroke:#A80036;stroke-width:1.0;" width="10" x="854" y="121.4199"/><polygon fill="#A80036" points="409,88.1094,419,92.1094,409,96.1094,413,92.1094" style="stroke:#A80036;stroke-width:1.0;"/><line style="stroke:#A80036;stroke-width:1.0;" x1="63" x2="415" y1="92.1094" y2="92.1094"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacing" textLength="339" x="70" y="87.3672">RegisterResourceRequest(type, name, inputs, options)</text><polygon fill="#A80036" points="842,117.4199,852,121.4199,8
@startuml
participant "Language SDK" order 10
box "Engine"
participant "Resource Monitor" order 15
end box
participant "Resource Provider" order 30
"Language SDK" -> "Resource Monitor" ++ : RegisterResourceRequest(type, name, inputs, options)
"Resource Monitor" -> "Resource Provider" ++ : ConstructRequest(monitor address, type, name, inputs, options)
"Resource Provider" <- -> "Resource Monitor": Component resource + child resource registrations
"Resource Monitor" <- "Resource Provider" - - : ConstructResponse(outputs)
"Language SDK" <- "Resource Monitor" - - : RegisterResourceResponse(urn, ID, new state)
@enduml
PlantUML version 1.2021.9(Sun Jul 25 03:13:56 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>