SaeApiResolver.php 82 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022
  1. <?php
  2. namespace AlibabaCloud\Sae\V20190506;
  3. use AlibabaCloud\Client\Resolver\ApiResolver;
  4. /**
  5. * @method AbortAndRollbackChangeOrder abortAndRollbackChangeOrder(array $options = [])
  6. * @method AbortChangeOrder abortChangeOrder(array $options = [])
  7. * @method BatchStartApplications batchStartApplications(array $options = [])
  8. * @method BatchStopApplications batchStopApplications(array $options = [])
  9. * @method BindSlb bindSlb(array $options = [])
  10. * @method ConfirmPipelineBatch confirmPipelineBatch(array $options = [])
  11. * @method CreateApplication createApplication(array $options = [])
  12. * @method CreateApplicationScalingRule createApplicationScalingRule(array $options = [])
  13. * @method CreateConfigMap createConfigMap(array $options = [])
  14. * @method CreateIngress createIngress(array $options = [])
  15. * @method CreateNamespace createNamespace(array $options = [])
  16. * @method DeleteApplication deleteApplication(array $options = [])
  17. * @method DeleteApplicationScalingRule deleteApplicationScalingRule(array $options = [])
  18. * @method DeleteConfigMap deleteConfigMap(array $options = [])
  19. * @method DeleteIngress deleteIngress(array $options = [])
  20. * @method DeleteNamespace deleteNamespace(array $options = [])
  21. * @method DeployApplication deployApplication(array $options = [])
  22. * @method DescribeApplicationConfig describeApplicationConfig(array $options = [])
  23. * @method DescribeApplicationGroups describeApplicationGroups(array $options = [])
  24. * @method DescribeApplicationImage describeApplicationImage(array $options = [])
  25. * @method DescribeApplicationInstances describeApplicationInstances(array $options = [])
  26. * @method DescribeApplicationScalingRules describeApplicationScalingRules(array $options = [])
  27. * @method DescribeApplicationSlbs describeApplicationSlbs(array $options = [])
  28. * @method DescribeApplicationStatus describeApplicationStatus(array $options = [])
  29. * @method DescribeChangeOrder describeChangeOrder(array $options = [])
  30. * @method DescribeComponents describeComponents(array $options = [])
  31. * @method DescribeConfigMap describeConfigMap(array $options = [])
  32. * @method DescribeEdasContainers describeEdasContainers(array $options = [])
  33. * @method DescribeIngress describeIngress(array $options = [])
  34. * @method DescribeInstanceLog describeInstanceLog(array $options = [])
  35. * @method DescribeInstanceSpecifications describeInstanceSpecifications(array $options = [])
  36. * @method DescribeNamespace describeNamespace(array $options = [])
  37. * @method DescribeNamespaceList describeNamespaceList(array $options = [])
  38. * @method DescribeNamespaceResources describeNamespaceResources(array $options = [])
  39. * @method DescribeNamespaces describeNamespaces(array $options = [])
  40. * @method DescribePipeline describePipeline(array $options = [])
  41. * @method DescribeRegions describeRegions(array $options = [])
  42. * @method DisableApplicationScalingRule disableApplicationScalingRule(array $options = [])
  43. * @method EnableApplicationScalingRule enableApplicationScalingRule(array $options = [])
  44. * @method ListAppEvents listAppEvents(array $options = [])
  45. * @method ListApplications listApplications(array $options = [])
  46. * @method ListAppVersions listAppVersions(array $options = [])
  47. * @method ListChangeOrders listChangeOrders(array $options = [])
  48. * @method ListConsumedServices listConsumedServices(array $options = [])
  49. * @method ListIngresses listIngresses(array $options = [])
  50. * @method ListLogConfigs listLogConfigs(array $options = [])
  51. * @method ListNamespaceChangeOrders listNamespaceChangeOrders(array $options = [])
  52. * @method ListNamespacedConfigMaps listNamespacedConfigMaps(array $options = [])
  53. * @method ListPublishedServices listPublishedServices(array $options = [])
  54. * @method ListTagResources listTagResources(array $options = [])
  55. * @method OpenSaeService openSaeService(array $options = [])
  56. * @method QueryResourceStatics queryResourceStatics(array $options = [])
  57. * @method RescaleApplication rescaleApplication(array $options = [])
  58. * @method RescaleApplicationVertically rescaleApplicationVertically(array $options = [])
  59. * @method RestartApplication restartApplication(array $options = [])
  60. * @method RestartInstances restartInstances(array $options = [])
  61. * @method RollbackApplication rollbackApplication(array $options = [])
  62. * @method StartApplication startApplication(array $options = [])
  63. * @method StopApplication stopApplication(array $options = [])
  64. * @method TagResources tagResources(array $options = [])
  65. * @method UnbindSlb unbindSlb(array $options = [])
  66. * @method UntagResources untagResources(array $options = [])
  67. * @method UpdateApplicationScalingRule updateApplicationScalingRule(array $options = [])
  68. * @method UpdateAppSecurityGroup updateAppSecurityGroup(array $options = [])
  69. * @method UpdateConfigMap updateConfigMap(array $options = [])
  70. * @method UpdateIngress updateIngress(array $options = [])
  71. * @method UpdateNamespace updateNamespace(array $options = [])
  72. * @method UpdateNamespaceVpc updateNamespaceVpc(array $options = [])
  73. */
  74. class SaeApiResolver extends ApiResolver
  75. {
  76. }
  77. class Roa extends \AlibabaCloud\Client\Resolver\Roa
  78. {
  79. /** @var string */
  80. public $product = 'sae';
  81. /** @var string */
  82. public $version = '2019-05-06';
  83. /** @var string */
  84. public $serviceCode = 'serverless';
  85. }
  86. /**
  87. * @method string getChangeOrderId()
  88. */
  89. class AbortAndRollbackChangeOrder extends Roa
  90. {
  91. /** @var string */
  92. public $pathPattern = '/pop/v1/sam/changeorder/AbortAndRollbackChangeOrder';
  93. /** @var string */
  94. public $method = 'PUT';
  95. /**
  96. * @param string $value
  97. *
  98. * @return $this
  99. */
  100. public function withChangeOrderId($value)
  101. {
  102. $this->data['ChangeOrderId'] = $value;
  103. $this->options['query']['ChangeOrderId'] = $value;
  104. return $this;
  105. }
  106. }
  107. /**
  108. * @method string getChangeOrderId()
  109. */
  110. class AbortChangeOrder extends Roa
  111. {
  112. /** @var string */
  113. public $pathPattern = '/pop/v1/sam/changeorder/AbortChangeOrder';
  114. /** @var string */
  115. public $method = 'PUT';
  116. /**
  117. * @param string $value
  118. *
  119. * @return $this
  120. */
  121. public function withChangeOrderId($value)
  122. {
  123. $this->data['ChangeOrderId'] = $value;
  124. $this->options['query']['ChangeOrderId'] = $value;
  125. return $this;
  126. }
  127. }
  128. /**
  129. * @method string getAppIds()
  130. * @method string getNamespaceId()
  131. */
  132. class BatchStartApplications extends Roa
  133. {
  134. /** @var string */
  135. public $pathPattern = '/pop/v1/sam/app/batchStartApplications';
  136. /** @var string */
  137. public $method = 'PUT';
  138. /**
  139. * @param string $value
  140. *
  141. * @return $this
  142. */
  143. public function withAppIds($value)
  144. {
  145. $this->data['AppIds'] = $value;
  146. $this->options['query']['AppIds'] = $value;
  147. return $this;
  148. }
  149. /**
  150. * @param string $value
  151. *
  152. * @return $this
  153. */
  154. public function withNamespaceId($value)
  155. {
  156. $this->data['NamespaceId'] = $value;
  157. $this->options['query']['NamespaceId'] = $value;
  158. return $this;
  159. }
  160. }
  161. /**
  162. * @method string getAppIds()
  163. * @method string getNamespaceId()
  164. */
  165. class BatchStopApplications extends Roa
  166. {
  167. /** @var string */
  168. public $pathPattern = '/pop/v1/sam/app/batchStopApplications';
  169. /** @var string */
  170. public $method = 'PUT';
  171. /**
  172. * @param string $value
  173. *
  174. * @return $this
  175. */
  176. public function withAppIds($value)
  177. {
  178. $this->data['AppIds'] = $value;
  179. $this->options['query']['AppIds'] = $value;
  180. return $this;
  181. }
  182. /**
  183. * @param string $value
  184. *
  185. * @return $this
  186. */
  187. public function withNamespaceId($value)
  188. {
  189. $this->data['NamespaceId'] = $value;
  190. $this->options['query']['NamespaceId'] = $value;
  191. return $this;
  192. }
  193. }
  194. /**
  195. * @method string getIntranet()
  196. * @method string getIntranetSlbId()
  197. * @method string getInternetSlbId()
  198. * @method string getAppId()
  199. * @method string getInternet()
  200. */
  201. class BindSlb extends Roa
  202. {
  203. /** @var string */
  204. public $pathPattern = '/pop/v1/sam/app/slb';
  205. /** @var string */
  206. public $method = 'POST';
  207. /**
  208. * @param string $value
  209. *
  210. * @return $this
  211. */
  212. public function withIntranet($value)
  213. {
  214. $this->data['Intranet'] = $value;
  215. $this->options['query']['Intranet'] = $value;
  216. return $this;
  217. }
  218. /**
  219. * @param string $value
  220. *
  221. * @return $this
  222. */
  223. public function withIntranetSlbId($value)
  224. {
  225. $this->data['IntranetSlbId'] = $value;
  226. $this->options['query']['IntranetSlbId'] = $value;
  227. return $this;
  228. }
  229. /**
  230. * @param string $value
  231. *
  232. * @return $this
  233. */
  234. public function withInternetSlbId($value)
  235. {
  236. $this->data['InternetSlbId'] = $value;
  237. $this->options['query']['InternetSlbId'] = $value;
  238. return $this;
  239. }
  240. /**
  241. * @param string $value
  242. *
  243. * @return $this
  244. */
  245. public function withAppId($value)
  246. {
  247. $this->data['AppId'] = $value;
  248. $this->options['query']['AppId'] = $value;
  249. return $this;
  250. }
  251. /**
  252. * @param string $value
  253. *
  254. * @return $this
  255. */
  256. public function withInternet($value)
  257. {
  258. $this->data['Internet'] = $value;
  259. $this->options['query']['Internet'] = $value;
  260. return $this;
  261. }
  262. }
  263. /**
  264. * @method string getConfirm()
  265. * @method string getPipelineId()
  266. */
  267. class ConfirmPipelineBatch extends Roa
  268. {
  269. /** @var string */
  270. public $pathPattern = '/pop/v1/sam/changeorder/ConfirmPipelineBatch';
  271. /**
  272. * @param string $value
  273. *
  274. * @return $this
  275. */
  276. public function withConfirm($value)
  277. {
  278. $this->data['Confirm'] = $value;
  279. $this->options['query']['Confirm'] = $value;
  280. return $this;
  281. }
  282. /**
  283. * @param string $value
  284. *
  285. * @return $this
  286. */
  287. public function withPipelineId($value)
  288. {
  289. $this->data['PipelineId'] = $value;
  290. $this->options['query']['PipelineId'] = $value;
  291. return $this;
  292. }
  293. }
  294. /**
  295. * @method string getNasId()
  296. * @method string getWebContainer()
  297. * @method string getJarStartArgs()
  298. * @method string getMemory()
  299. * @method string getSlsConfigs()
  300. * @method string getCommandArgs()
  301. * @method string getAcrAssumeRoleArn()
  302. * @method string getReadiness()
  303. * @method string getTimezone()
  304. * @method string getMountHost()
  305. * @method string getAutoConfig()
  306. * @method string getLiveness()
  307. * @method string getSecurityGroupId()
  308. * @method string getEnvs()
  309. * @method string getPhpArmsConfigLocation()
  310. * @method string getPackageVersion()
  311. * @method string getTomcatConfig()
  312. * @method string getCustomHostAlias()
  313. * @method string getDeploy()
  314. * @method string getWarStartOptions()
  315. * @method string getJarStartOptions()
  316. * @method string getEdasContainerVersion()
  317. * @method string getAppName()
  318. * @method string getNamespaceId()
  319. * @method string getPackageUrl()
  320. * @method string getTerminationGracePeriodSeconds()
  321. * @method string getConfigMapMountDesc()
  322. * @method string getPhpConfig()
  323. * @method string getPreStop()
  324. * @method string getReplicas()
  325. * @method string getCpu()
  326. * @method string getCommand()
  327. * @method string getMountDesc()
  328. * @method string getVSwitchId()
  329. * @method string getJdk()
  330. * @method string getAppDescription()
  331. * @method string getVpcId()
  332. * @method string getImageUrl()
  333. * @method string getPackageType()
  334. * @method string getPhpConfigLocation()
  335. * @method string getPostStart()
  336. */
  337. class CreateApplication extends Roa
  338. {
  339. /** @var string */
  340. public $pathPattern = '/pop/v1/sam/app/createApplication';
  341. /** @var string */
  342. public $method = 'POST';
  343. /**
  344. * @param string $value
  345. *
  346. * @return $this
  347. */
  348. public function withNasId($value)
  349. {
  350. $this->data['NasId'] = $value;
  351. $this->options['query']['NasId'] = $value;
  352. return $this;
  353. }
  354. /**
  355. * @param string $value
  356. *
  357. * @return $this
  358. */
  359. public function withWebContainer($value)
  360. {
  361. $this->data['WebContainer'] = $value;
  362. $this->options['query']['WebContainer'] = $value;
  363. return $this;
  364. }
  365. /**
  366. * @param string $value
  367. *
  368. * @return $this
  369. */
  370. public function withJarStartArgs($value)
  371. {
  372. $this->data['JarStartArgs'] = $value;
  373. $this->options['query']['JarStartArgs'] = $value;
  374. return $this;
  375. }
  376. /**
  377. * @param string $value
  378. *
  379. * @return $this
  380. */
  381. public function withMemory($value)
  382. {
  383. $this->data['Memory'] = $value;
  384. $this->options['query']['Memory'] = $value;
  385. return $this;
  386. }
  387. /**
  388. * @param string $value
  389. *
  390. * @return $this
  391. */
  392. public function withSlsConfigs($value)
  393. {
  394. $this->data['SlsConfigs'] = $value;
  395. $this->options['query']['SlsConfigs'] = $value;
  396. return $this;
  397. }
  398. /**
  399. * @param string $value
  400. *
  401. * @return $this
  402. */
  403. public function withCommandArgs($value)
  404. {
  405. $this->data['CommandArgs'] = $value;
  406. $this->options['query']['CommandArgs'] = $value;
  407. return $this;
  408. }
  409. /**
  410. * @param string $value
  411. *
  412. * @return $this
  413. */
  414. public function withAcrAssumeRoleArn($value)
  415. {
  416. $this->data['AcrAssumeRoleArn'] = $value;
  417. $this->options['query']['AcrAssumeRoleArn'] = $value;
  418. return $this;
  419. }
  420. /**
  421. * @param string $value
  422. *
  423. * @return $this
  424. */
  425. public function withReadiness($value)
  426. {
  427. $this->data['Readiness'] = $value;
  428. $this->options['query']['Readiness'] = $value;
  429. return $this;
  430. }
  431. /**
  432. * @param string $value
  433. *
  434. * @return $this
  435. */
  436. public function withTimezone($value)
  437. {
  438. $this->data['Timezone'] = $value;
  439. $this->options['query']['Timezone'] = $value;
  440. return $this;
  441. }
  442. /**
  443. * @param string $value
  444. *
  445. * @return $this
  446. */
  447. public function withMountHost($value)
  448. {
  449. $this->data['MountHost'] = $value;
  450. $this->options['query']['MountHost'] = $value;
  451. return $this;
  452. }
  453. /**
  454. * @param string $value
  455. *
  456. * @return $this
  457. */
  458. public function withAutoConfig($value)
  459. {
  460. $this->data['AutoConfig'] = $value;
  461. $this->options['query']['AutoConfig'] = $value;
  462. return $this;
  463. }
  464. /**
  465. * @param string $value
  466. *
  467. * @return $this
  468. */
  469. public function withLiveness($value)
  470. {
  471. $this->data['Liveness'] = $value;
  472. $this->options['query']['Liveness'] = $value;
  473. return $this;
  474. }
  475. /**
  476. * @param string $value
  477. *
  478. * @return $this
  479. */
  480. public function withSecurityGroupId($value)
  481. {
  482. $this->data['SecurityGroupId'] = $value;
  483. $this->options['query']['SecurityGroupId'] = $value;
  484. return $this;
  485. }
  486. /**
  487. * @param string $value
  488. *
  489. * @return $this
  490. */
  491. public function withEnvs($value)
  492. {
  493. $this->data['Envs'] = $value;
  494. $this->options['query']['Envs'] = $value;
  495. return $this;
  496. }
  497. /**
  498. * @param string $value
  499. *
  500. * @return $this
  501. */
  502. public function withPhpArmsConfigLocation($value)
  503. {
  504. $this->data['PhpArmsConfigLocation'] = $value;
  505. $this->options['query']['PhpArmsConfigLocation'] = $value;
  506. return $this;
  507. }
  508. /**
  509. * @param string $value
  510. *
  511. * @return $this
  512. */
  513. public function withPackageVersion($value)
  514. {
  515. $this->data['PackageVersion'] = $value;
  516. $this->options['query']['PackageVersion'] = $value;
  517. return $this;
  518. }
  519. /**
  520. * @param string $value
  521. *
  522. * @return $this
  523. */
  524. public function withTomcatConfig($value)
  525. {
  526. $this->data['TomcatConfig'] = $value;
  527. $this->options['query']['TomcatConfig'] = $value;
  528. return $this;
  529. }
  530. /**
  531. * @param string $value
  532. *
  533. * @return $this
  534. */
  535. public function withCustomHostAlias($value)
  536. {
  537. $this->data['CustomHostAlias'] = $value;
  538. $this->options['query']['CustomHostAlias'] = $value;
  539. return $this;
  540. }
  541. /**
  542. * @param string $value
  543. *
  544. * @return $this
  545. */
  546. public function withDeploy($value)
  547. {
  548. $this->data['Deploy'] = $value;
  549. $this->options['query']['Deploy'] = $value;
  550. return $this;
  551. }
  552. /**
  553. * @param string $value
  554. *
  555. * @return $this
  556. */
  557. public function withWarStartOptions($value)
  558. {
  559. $this->data['WarStartOptions'] = $value;
  560. $this->options['query']['WarStartOptions'] = $value;
  561. return $this;
  562. }
  563. /**
  564. * @param string $value
  565. *
  566. * @return $this
  567. */
  568. public function withJarStartOptions($value)
  569. {
  570. $this->data['JarStartOptions'] = $value;
  571. $this->options['query']['JarStartOptions'] = $value;
  572. return $this;
  573. }
  574. /**
  575. * @param string $value
  576. *
  577. * @return $this
  578. */
  579. public function withEdasContainerVersion($value)
  580. {
  581. $this->data['EdasContainerVersion'] = $value;
  582. $this->options['query']['EdasContainerVersion'] = $value;
  583. return $this;
  584. }
  585. /**
  586. * @param string $value
  587. *
  588. * @return $this
  589. */
  590. public function withAppName($value)
  591. {
  592. $this->data['AppName'] = $value;
  593. $this->options['query']['AppName'] = $value;
  594. return $this;
  595. }
  596. /**
  597. * @param string $value
  598. *
  599. * @return $this
  600. */
  601. public function withNamespaceId($value)
  602. {
  603. $this->data['NamespaceId'] = $value;
  604. $this->options['query']['NamespaceId'] = $value;
  605. return $this;
  606. }
  607. /**
  608. * @param string $value
  609. *
  610. * @return $this
  611. */
  612. public function withPackageUrl($value)
  613. {
  614. $this->data['PackageUrl'] = $value;
  615. $this->options['query']['PackageUrl'] = $value;
  616. return $this;
  617. }
  618. /**
  619. * @param string $value
  620. *
  621. * @return $this
  622. */
  623. public function withTerminationGracePeriodSeconds($value)
  624. {
  625. $this->data['TerminationGracePeriodSeconds'] = $value;
  626. $this->options['query']['TerminationGracePeriodSeconds'] = $value;
  627. return $this;
  628. }
  629. /**
  630. * @param string $value
  631. *
  632. * @return $this
  633. */
  634. public function withConfigMapMountDesc($value)
  635. {
  636. $this->data['ConfigMapMountDesc'] = $value;
  637. $this->options['form_params']['ConfigMapMountDesc'] = $value;
  638. return $this;
  639. }
  640. /**
  641. * @param string $value
  642. *
  643. * @return $this
  644. */
  645. public function withPhpConfig($value)
  646. {
  647. $this->data['PhpConfig'] = $value;
  648. $this->options['form_params']['PhpConfig'] = $value;
  649. return $this;
  650. }
  651. /**
  652. * @param string $value
  653. *
  654. * @return $this
  655. */
  656. public function withPreStop($value)
  657. {
  658. $this->data['PreStop'] = $value;
  659. $this->options['query']['PreStop'] = $value;
  660. return $this;
  661. }
  662. /**
  663. * @param string $value
  664. *
  665. * @return $this
  666. */
  667. public function withReplicas($value)
  668. {
  669. $this->data['Replicas'] = $value;
  670. $this->options['query']['Replicas'] = $value;
  671. return $this;
  672. }
  673. /**
  674. * @param string $value
  675. *
  676. * @return $this
  677. */
  678. public function withCpu($value)
  679. {
  680. $this->data['Cpu'] = $value;
  681. $this->options['query']['Cpu'] = $value;
  682. return $this;
  683. }
  684. /**
  685. * @param string $value
  686. *
  687. * @return $this
  688. */
  689. public function withCommand($value)
  690. {
  691. $this->data['Command'] = $value;
  692. $this->options['query']['Command'] = $value;
  693. return $this;
  694. }
  695. /**
  696. * @param string $value
  697. *
  698. * @return $this
  699. */
  700. public function withMountDesc($value)
  701. {
  702. $this->data['MountDesc'] = $value;
  703. $this->options['query']['MountDesc'] = $value;
  704. return $this;
  705. }
  706. /**
  707. * @param string $value
  708. *
  709. * @return $this
  710. */
  711. public function withVSwitchId($value)
  712. {
  713. $this->data['VSwitchId'] = $value;
  714. $this->options['query']['VSwitchId'] = $value;
  715. return $this;
  716. }
  717. /**
  718. * @param string $value
  719. *
  720. * @return $this
  721. */
  722. public function withJdk($value)
  723. {
  724. $this->data['Jdk'] = $value;
  725. $this->options['query']['Jdk'] = $value;
  726. return $this;
  727. }
  728. /**
  729. * @param string $value
  730. *
  731. * @return $this
  732. */
  733. public function withAppDescription($value)
  734. {
  735. $this->data['AppDescription'] = $value;
  736. $this->options['query']['AppDescription'] = $value;
  737. return $this;
  738. }
  739. /**
  740. * @param string $value
  741. *
  742. * @return $this
  743. */
  744. public function withVpcId($value)
  745. {
  746. $this->data['VpcId'] = $value;
  747. $this->options['query']['VpcId'] = $value;
  748. return $this;
  749. }
  750. /**
  751. * @param string $value
  752. *
  753. * @return $this
  754. */
  755. public function withImageUrl($value)
  756. {
  757. $this->data['ImageUrl'] = $value;
  758. $this->options['query']['ImageUrl'] = $value;
  759. return $this;
  760. }
  761. /**
  762. * @param string $value
  763. *
  764. * @return $this
  765. */
  766. public function withPackageType($value)
  767. {
  768. $this->data['PackageType'] = $value;
  769. $this->options['query']['PackageType'] = $value;
  770. return $this;
  771. }
  772. /**
  773. * @param string $value
  774. *
  775. * @return $this
  776. */
  777. public function withPhpConfigLocation($value)
  778. {
  779. $this->data['PhpConfigLocation'] = $value;
  780. $this->options['query']['PhpConfigLocation'] = $value;
  781. return $this;
  782. }
  783. /**
  784. * @param string $value
  785. *
  786. * @return $this
  787. */
  788. public function withPostStart($value)
  789. {
  790. $this->data['PostStart'] = $value;
  791. $this->options['query']['PostStart'] = $value;
  792. return $this;
  793. }
  794. }
  795. /**
  796. * @method string getScalingRuleName()
  797. * @method string getMinReadyInstances()
  798. * @method string getScalingRuleTimer()
  799. * @method string getScalingRuleMetric()
  800. * @method string getAppId()
  801. * @method string getScalingRuleType()
  802. */
  803. class CreateApplicationScalingRule extends Roa
  804. {
  805. /** @var string */
  806. public $pathPattern = '/pop/v1/sam/scale/applicationScalingRule';
  807. /** @var string */
  808. public $method = 'POST';
  809. /**
  810. * @param string $value
  811. *
  812. * @return $this
  813. */
  814. public function withScalingRuleName($value)
  815. {
  816. $this->data['ScalingRuleName'] = $value;
  817. $this->options['query']['ScalingRuleName'] = $value;
  818. return $this;
  819. }
  820. /**
  821. * @param string $value
  822. *
  823. * @return $this
  824. */
  825. public function withMinReadyInstances($value)
  826. {
  827. $this->data['MinReadyInstances'] = $value;
  828. $this->options['query']['MinReadyInstances'] = $value;
  829. return $this;
  830. }
  831. /**
  832. * @param string $value
  833. *
  834. * @return $this
  835. */
  836. public function withScalingRuleTimer($value)
  837. {
  838. $this->data['ScalingRuleTimer'] = $value;
  839. $this->options['query']['ScalingRuleTimer'] = $value;
  840. return $this;
  841. }
  842. /**
  843. * @param string $value
  844. *
  845. * @return $this
  846. */
  847. public function withScalingRuleMetric($value)
  848. {
  849. $this->data['ScalingRuleMetric'] = $value;
  850. $this->options['query']['ScalingRuleMetric'] = $value;
  851. return $this;
  852. }
  853. /**
  854. * @param string $value
  855. *
  856. * @return $this
  857. */
  858. public function withAppId($value)
  859. {
  860. $this->data['AppId'] = $value;
  861. $this->options['query']['AppId'] = $value;
  862. return $this;
  863. }
  864. /**
  865. * @param string $value
  866. *
  867. * @return $this
  868. */
  869. public function withScalingRuleType($value)
  870. {
  871. $this->data['ScalingRuleType'] = $value;
  872. $this->options['query']['ScalingRuleType'] = $value;
  873. return $this;
  874. }
  875. }
  876. /**
  877. * @method string getData()
  878. * @method string getNamespaceId()
  879. * @method string getName()
  880. * @method string getDescription()
  881. */
  882. class CreateConfigMap extends Roa
  883. {
  884. /** @var string */
  885. public $pathPattern = '/pop/v1/sam/configmap/configMap';
  886. /** @var string */
  887. public $method = 'POST';
  888. /**
  889. * @param string $value
  890. *
  891. * @return $this
  892. */
  893. public function withData($value)
  894. {
  895. $this->data['Data'] = $value;
  896. $this->options['form_params']['Data'] = $value;
  897. return $this;
  898. }
  899. /**
  900. * @param string $value
  901. *
  902. * @return $this
  903. */
  904. public function withNamespaceId($value)
  905. {
  906. $this->data['NamespaceId'] = $value;
  907. $this->options['query']['NamespaceId'] = $value;
  908. return $this;
  909. }
  910. /**
  911. * @param string $value
  912. *
  913. * @return $this
  914. */
  915. public function withName($value)
  916. {
  917. $this->data['Name'] = $value;
  918. $this->options['query']['Name'] = $value;
  919. return $this;
  920. }
  921. /**
  922. * @param string $value
  923. *
  924. * @return $this
  925. */
  926. public function withDescription($value)
  927. {
  928. $this->data['Description'] = $value;
  929. $this->options['query']['Description'] = $value;
  930. return $this;
  931. }
  932. }
  933. /**
  934. * @method string getListenerPort()
  935. * @method string getSlbId()
  936. * @method string getNamespaceId()
  937. * @method string getDescription()
  938. * @method string getRules()
  939. * @method string getCertId()
  940. * @method string getDefaultRule()
  941. */
  942. class CreateIngress extends Roa
  943. {
  944. /** @var string */
  945. public $pathPattern = '/pop/v1/sam/ingress/Ingress';
  946. /** @var string */
  947. public $method = 'POST';
  948. /**
  949. * @param string $value
  950. *
  951. * @return $this
  952. */
  953. public function withListenerPort($value)
  954. {
  955. $this->data['ListenerPort'] = $value;
  956. $this->options['query']['ListenerPort'] = $value;
  957. return $this;
  958. }
  959. /**
  960. * @param string $value
  961. *
  962. * @return $this
  963. */
  964. public function withSlbId($value)
  965. {
  966. $this->data['SlbId'] = $value;
  967. $this->options['query']['SlbId'] = $value;
  968. return $this;
  969. }
  970. /**
  971. * @param string $value
  972. *
  973. * @return $this
  974. */
  975. public function withNamespaceId($value)
  976. {
  977. $this->data['NamespaceId'] = $value;
  978. $this->options['query']['NamespaceId'] = $value;
  979. return $this;
  980. }
  981. /**
  982. * @param string $value
  983. *
  984. * @return $this
  985. */
  986. public function withDescription($value)
  987. {
  988. $this->data['Description'] = $value;
  989. $this->options['query']['Description'] = $value;
  990. return $this;
  991. }
  992. /**
  993. * @param string $value
  994. *
  995. * @return $this
  996. */
  997. public function withRules($value)
  998. {
  999. $this->data['Rules'] = $value;
  1000. $this->options['form_params']['Rules'] = $value;
  1001. return $this;
  1002. }
  1003. /**
  1004. * @param string $value
  1005. *
  1006. * @return $this
  1007. */
  1008. public function withCertId($value)
  1009. {
  1010. $this->data['CertId'] = $value;
  1011. $this->options['query']['CertId'] = $value;
  1012. return $this;
  1013. }
  1014. /**
  1015. * @param string $value
  1016. *
  1017. * @return $this
  1018. */
  1019. public function withDefaultRule($value)
  1020. {
  1021. $this->data['DefaultRule'] = $value;
  1022. $this->options['query']['DefaultRule'] = $value;
  1023. return $this;
  1024. }
  1025. }
  1026. /**
  1027. * @method string getNamespaceName()
  1028. * @method string getNamespaceDescription()
  1029. * @method string getNamespaceId()
  1030. */
  1031. class CreateNamespace extends Roa
  1032. {
  1033. /** @var string */
  1034. public $pathPattern = '/pop/v1/paas/namespace';
  1035. /** @var string */
  1036. public $method = 'POST';
  1037. /**
  1038. * @param string $value
  1039. *
  1040. * @return $this
  1041. */
  1042. public function withNamespaceName($value)
  1043. {
  1044. $this->data['NamespaceName'] = $value;
  1045. $this->options['query']['NamespaceName'] = $value;
  1046. return $this;
  1047. }
  1048. /**
  1049. * @param string $value
  1050. *
  1051. * @return $this
  1052. */
  1053. public function withNamespaceDescription($value)
  1054. {
  1055. $this->data['NamespaceDescription'] = $value;
  1056. $this->options['query']['NamespaceDescription'] = $value;
  1057. return $this;
  1058. }
  1059. /**
  1060. * @param string $value
  1061. *
  1062. * @return $this
  1063. */
  1064. public function withNamespaceId($value)
  1065. {
  1066. $this->data['NamespaceId'] = $value;
  1067. $this->options['query']['NamespaceId'] = $value;
  1068. return $this;
  1069. }
  1070. }
  1071. /**
  1072. * @method string getAppId()
  1073. */
  1074. class DeleteApplication extends Roa
  1075. {
  1076. /** @var string */
  1077. public $pathPattern = '/pop/v1/sam/app/deleteApplication';
  1078. /** @var string */
  1079. public $method = 'DELETE';
  1080. /**
  1081. * @param string $value
  1082. *
  1083. * @return $this
  1084. */
  1085. public function withAppId($value)
  1086. {
  1087. $this->data['AppId'] = $value;
  1088. $this->options['query']['AppId'] = $value;
  1089. return $this;
  1090. }
  1091. }
  1092. /**
  1093. * @method string getScalingRuleName()
  1094. * @method string getAppId()
  1095. */
  1096. class DeleteApplicationScalingRule extends Roa
  1097. {
  1098. /** @var string */
  1099. public $pathPattern = '/pop/v1/sam/scale/applicationScalingRule';
  1100. /** @var string */
  1101. public $method = 'DELETE';
  1102. /**
  1103. * @param string $value
  1104. *
  1105. * @return $this
  1106. */
  1107. public function withScalingRuleName($value)
  1108. {
  1109. $this->data['ScalingRuleName'] = $value;
  1110. $this->options['query']['ScalingRuleName'] = $value;
  1111. return $this;
  1112. }
  1113. /**
  1114. * @param string $value
  1115. *
  1116. * @return $this
  1117. */
  1118. public function withAppId($value)
  1119. {
  1120. $this->data['AppId'] = $value;
  1121. $this->options['query']['AppId'] = $value;
  1122. return $this;
  1123. }
  1124. }
  1125. /**
  1126. * @method string getConfigMapId()
  1127. */
  1128. class DeleteConfigMap extends Roa
  1129. {
  1130. /** @var string */
  1131. public $pathPattern = '/pop/v1/sam/configmap/configMap';
  1132. /** @var string */
  1133. public $method = 'DELETE';
  1134. /**
  1135. * @param string $value
  1136. *
  1137. * @return $this
  1138. */
  1139. public function withConfigMapId($value)
  1140. {
  1141. $this->data['ConfigMapId'] = $value;
  1142. $this->options['query']['ConfigMapId'] = $value;
  1143. return $this;
  1144. }
  1145. }
  1146. /**
  1147. * @method string getIngressId()
  1148. */
  1149. class DeleteIngress extends Roa
  1150. {
  1151. /** @var string */
  1152. public $pathPattern = '/pop/v1/sam/ingress/Ingress';
  1153. /** @var string */
  1154. public $method = 'DELETE';
  1155. /**
  1156. * @param string $value
  1157. *
  1158. * @return $this
  1159. */
  1160. public function withIngressId($value)
  1161. {
  1162. $this->data['IngressId'] = $value;
  1163. $this->options['query']['IngressId'] = $value;
  1164. return $this;
  1165. }
  1166. }
  1167. /**
  1168. * @method string getNamespaceId()
  1169. */
  1170. class DeleteNamespace extends Roa
  1171. {
  1172. /** @var string */
  1173. public $pathPattern = '/pop/v1/paas/namespace';
  1174. /** @var string */
  1175. public $method = 'DELETE';
  1176. /**
  1177. * @param string $value
  1178. *
  1179. * @return $this
  1180. */
  1181. public function withNamespaceId($value)
  1182. {
  1183. $this->data['NamespaceId'] = $value;
  1184. $this->options['query']['NamespaceId'] = $value;
  1185. return $this;
  1186. }
  1187. }
  1188. /**
  1189. * @method string getNasId()
  1190. * @method string getWebContainer()
  1191. * @method string getJarStartArgs()
  1192. * @method string getEnableAhas()
  1193. * @method string getSlsConfigs()
  1194. * @method string getCommandArgs()
  1195. * @method string getAcrAssumeRoleArn()
  1196. * @method string getReadiness()
  1197. * @method string getTimezone()
  1198. * @method string getMountHost()
  1199. * @method string getBatchWaitTime()
  1200. * @method string getLiveness()
  1201. * @method string getEnvs()
  1202. * @method string getPhpArmsConfigLocation()
  1203. * @method string getPackageVersion()
  1204. * @method string getTomcatConfig()
  1205. * @method string getCustomHostAlias()
  1206. * @method string getWarStartOptions()
  1207. * @method string getJarStartOptions()
  1208. * @method string getEdasContainerVersion()
  1209. * @method string getPackageUrl()
  1210. * @method string getTerminationGracePeriodSeconds()
  1211. * @method string getConfigMapMountDesc()
  1212. * @method string getPhpConfig()
  1213. * @method string getPreStop()
  1214. * @method string getCommand()
  1215. * @method string getUpdateStrategy()
  1216. * @method string getMountDesc()
  1217. * @method string getJdk()
  1218. * @method string getMinReadyInstances()
  1219. * @method string getChangeOrderDesc()
  1220. * @method string getAppId()
  1221. * @method string getImageUrl()
  1222. * @method string getAutoEnableApplicationScalingRule()
  1223. * @method string getPhpConfigLocation()
  1224. * @method string getPostStart()
  1225. */
  1226. class DeployApplication extends Roa
  1227. {
  1228. /** @var string */
  1229. public $pathPattern = '/pop/v1/sam/app/deployApplication';
  1230. /** @var string */
  1231. public $method = 'POST';
  1232. /**
  1233. * @param string $value
  1234. *
  1235. * @return $this
  1236. */
  1237. public function withNasId($value)
  1238. {
  1239. $this->data['NasId'] = $value;
  1240. $this->options['query']['NasId'] = $value;
  1241. return $this;
  1242. }
  1243. /**
  1244. * @param string $value
  1245. *
  1246. * @return $this
  1247. */
  1248. public function withWebContainer($value)
  1249. {
  1250. $this->data['WebContainer'] = $value;
  1251. $this->options['query']['WebContainer'] = $value;
  1252. return $this;
  1253. }
  1254. /**
  1255. * @param string $value
  1256. *
  1257. * @return $this
  1258. */
  1259. public function withJarStartArgs($value)
  1260. {
  1261. $this->data['JarStartArgs'] = $value;
  1262. $this->options['query']['JarStartArgs'] = $value;
  1263. return $this;
  1264. }
  1265. /**
  1266. * @param string $value
  1267. *
  1268. * @return $this
  1269. */
  1270. public function withEnableAhas($value)
  1271. {
  1272. $this->data['EnableAhas'] = $value;
  1273. $this->options['query']['EnableAhas'] = $value;
  1274. return $this;
  1275. }
  1276. /**
  1277. * @param string $value
  1278. *
  1279. * @return $this
  1280. */
  1281. public function withSlsConfigs($value)
  1282. {
  1283. $this->data['SlsConfigs'] = $value;
  1284. $this->options['query']['SlsConfigs'] = $value;
  1285. return $this;
  1286. }
  1287. /**
  1288. * @param string $value
  1289. *
  1290. * @return $this
  1291. */
  1292. public function withCommandArgs($value)
  1293. {
  1294. $this->data['CommandArgs'] = $value;
  1295. $this->options['query']['CommandArgs'] = $value;
  1296. return $this;
  1297. }
  1298. /**
  1299. * @param string $value
  1300. *
  1301. * @return $this
  1302. */
  1303. public function withAcrAssumeRoleArn($value)
  1304. {
  1305. $this->data['AcrAssumeRoleArn'] = $value;
  1306. $this->options['query']['AcrAssumeRoleArn'] = $value;
  1307. return $this;
  1308. }
  1309. /**
  1310. * @param string $value
  1311. *
  1312. * @return $this
  1313. */
  1314. public function withReadiness($value)
  1315. {
  1316. $this->data['Readiness'] = $value;
  1317. $this->options['query']['Readiness'] = $value;
  1318. return $this;
  1319. }
  1320. /**
  1321. * @param string $value
  1322. *
  1323. * @return $this
  1324. */
  1325. public function withTimezone($value)
  1326. {
  1327. $this->data['Timezone'] = $value;
  1328. $this->options['query']['Timezone'] = $value;
  1329. return $this;
  1330. }
  1331. /**
  1332. * @param string $value
  1333. *
  1334. * @return $this
  1335. */
  1336. public function withMountHost($value)
  1337. {
  1338. $this->data['MountHost'] = $value;
  1339. $this->options['query']['MountHost'] = $value;
  1340. return $this;
  1341. }
  1342. /**
  1343. * @param string $value
  1344. *
  1345. * @return $this
  1346. */
  1347. public function withBatchWaitTime($value)
  1348. {
  1349. $this->data['BatchWaitTime'] = $value;
  1350. $this->options['query']['BatchWaitTime'] = $value;
  1351. return $this;
  1352. }
  1353. /**
  1354. * @param string $value
  1355. *
  1356. * @return $this
  1357. */
  1358. public function withLiveness($value)
  1359. {
  1360. $this->data['Liveness'] = $value;
  1361. $this->options['query']['Liveness'] = $value;
  1362. return $this;
  1363. }
  1364. /**
  1365. * @param string $value
  1366. *
  1367. * @return $this
  1368. */
  1369. public function withEnvs($value)
  1370. {
  1371. $this->data['Envs'] = $value;
  1372. $this->options['query']['Envs'] = $value;
  1373. return $this;
  1374. }
  1375. /**
  1376. * @param string $value
  1377. *
  1378. * @return $this
  1379. */
  1380. public function withPhpArmsConfigLocation($value)
  1381. {
  1382. $this->data['PhpArmsConfigLocation'] = $value;
  1383. $this->options['query']['PhpArmsConfigLocation'] = $value;
  1384. return $this;
  1385. }
  1386. /**
  1387. * @param string $value
  1388. *
  1389. * @return $this
  1390. */
  1391. public function withPackageVersion($value)
  1392. {
  1393. $this->data['PackageVersion'] = $value;
  1394. $this->options['query']['PackageVersion'] = $value;
  1395. return $this;
  1396. }
  1397. /**
  1398. * @param string $value
  1399. *
  1400. * @return $this
  1401. */
  1402. public function withTomcatConfig($value)
  1403. {
  1404. $this->data['TomcatConfig'] = $value;
  1405. $this->options['query']['TomcatConfig'] = $value;
  1406. return $this;
  1407. }
  1408. /**
  1409. * @param string $value
  1410. *
  1411. * @return $this
  1412. */
  1413. public function withCustomHostAlias($value)
  1414. {
  1415. $this->data['CustomHostAlias'] = $value;
  1416. $this->options['query']['CustomHostAlias'] = $value;
  1417. return $this;
  1418. }
  1419. /**
  1420. * @param string $value
  1421. *
  1422. * @return $this
  1423. */
  1424. public function withWarStartOptions($value)
  1425. {
  1426. $this->data['WarStartOptions'] = $value;
  1427. $this->options['query']['WarStartOptions'] = $value;
  1428. return $this;
  1429. }
  1430. /**
  1431. * @param string $value
  1432. *
  1433. * @return $this
  1434. */
  1435. public function withJarStartOptions($value)
  1436. {
  1437. $this->data['JarStartOptions'] = $value;
  1438. $this->options['query']['JarStartOptions'] = $value;
  1439. return $this;
  1440. }
  1441. /**
  1442. * @param string $value
  1443. *
  1444. * @return $this
  1445. */
  1446. public function withEdasContainerVersion($value)
  1447. {
  1448. $this->data['EdasContainerVersion'] = $value;
  1449. $this->options['query']['EdasContainerVersion'] = $value;
  1450. return $this;
  1451. }
  1452. /**
  1453. * @param string $value
  1454. *
  1455. * @return $this
  1456. */
  1457. public function withPackageUrl($value)
  1458. {
  1459. $this->data['PackageUrl'] = $value;
  1460. $this->options['query']['PackageUrl'] = $value;
  1461. return $this;
  1462. }
  1463. /**
  1464. * @param string $value
  1465. *
  1466. * @return $this
  1467. */
  1468. public function withTerminationGracePeriodSeconds($value)
  1469. {
  1470. $this->data['TerminationGracePeriodSeconds'] = $value;
  1471. $this->options['query']['TerminationGracePeriodSeconds'] = $value;
  1472. return $this;
  1473. }
  1474. /**
  1475. * @param string $value
  1476. *
  1477. * @return $this
  1478. */
  1479. public function withConfigMapMountDesc($value)
  1480. {
  1481. $this->data['ConfigMapMountDesc'] = $value;
  1482. $this->options['form_params']['ConfigMapMountDesc'] = $value;
  1483. return $this;
  1484. }
  1485. /**
  1486. * @param string $value
  1487. *
  1488. * @return $this
  1489. */
  1490. public function withPhpConfig($value)
  1491. {
  1492. $this->data['PhpConfig'] = $value;
  1493. $this->options['form_params']['PhpConfig'] = $value;
  1494. return $this;
  1495. }
  1496. /**
  1497. * @param string $value
  1498. *
  1499. * @return $this
  1500. */
  1501. public function withPreStop($value)
  1502. {
  1503. $this->data['PreStop'] = $value;
  1504. $this->options['query']['PreStop'] = $value;
  1505. return $this;
  1506. }
  1507. /**
  1508. * @param string $value
  1509. *
  1510. * @return $this
  1511. */
  1512. public function withCommand($value)
  1513. {
  1514. $this->data['Command'] = $value;
  1515. $this->options['query']['Command'] = $value;
  1516. return $this;
  1517. }
  1518. /**
  1519. * @param string $value
  1520. *
  1521. * @return $this
  1522. */
  1523. public function withUpdateStrategy($value)
  1524. {
  1525. $this->data['UpdateStrategy'] = $value;
  1526. $this->options['query']['UpdateStrategy'] = $value;
  1527. return $this;
  1528. }
  1529. /**
  1530. * @param string $value
  1531. *
  1532. * @return $this
  1533. */
  1534. public function withMountDesc($value)
  1535. {
  1536. $this->data['MountDesc'] = $value;
  1537. $this->options['query']['MountDesc'] = $value;
  1538. return $this;
  1539. }
  1540. /**
  1541. * @param string $value
  1542. *
  1543. * @return $this
  1544. */
  1545. public function withJdk($value)
  1546. {
  1547. $this->data['Jdk'] = $value;
  1548. $this->options['query']['Jdk'] = $value;
  1549. return $this;
  1550. }
  1551. /**
  1552. * @param string $value
  1553. *
  1554. * @return $this
  1555. */
  1556. public function withMinReadyInstances($value)
  1557. {
  1558. $this->data['MinReadyInstances'] = $value;
  1559. $this->options['query']['MinReadyInstances'] = $value;
  1560. return $this;
  1561. }
  1562. /**
  1563. * @param string $value
  1564. *
  1565. * @return $this
  1566. */
  1567. public function withChangeOrderDesc($value)
  1568. {
  1569. $this->data['ChangeOrderDesc'] = $value;
  1570. $this->options['query']['ChangeOrderDesc'] = $value;
  1571. return $this;
  1572. }
  1573. /**
  1574. * @param string $value
  1575. *
  1576. * @return $this
  1577. */
  1578. public function withAppId($value)
  1579. {
  1580. $this->data['AppId'] = $value;
  1581. $this->options['query']['AppId'] = $value;
  1582. return $this;
  1583. }
  1584. /**
  1585. * @param string $value
  1586. *
  1587. * @return $this
  1588. */
  1589. public function withImageUrl($value)
  1590. {
  1591. $this->data['ImageUrl'] = $value;
  1592. $this->options['query']['ImageUrl'] = $value;
  1593. return $this;
  1594. }
  1595. /**
  1596. * @param string $value
  1597. *
  1598. * @return $this
  1599. */
  1600. public function withAutoEnableApplicationScalingRule($value)
  1601. {
  1602. $this->data['AutoEnableApplicationScalingRule'] = $value;
  1603. $this->options['query']['AutoEnableApplicationScalingRule'] = $value;
  1604. return $this;
  1605. }
  1606. /**
  1607. * @param string $value
  1608. *
  1609. * @return $this
  1610. */
  1611. public function withPhpConfigLocation($value)
  1612. {
  1613. $this->data['PhpConfigLocation'] = $value;
  1614. $this->options['query']['PhpConfigLocation'] = $value;
  1615. return $this;
  1616. }
  1617. /**
  1618. * @param string $value
  1619. *
  1620. * @return $this
  1621. */
  1622. public function withPostStart($value)
  1623. {
  1624. $this->data['PostStart'] = $value;
  1625. $this->options['query']['PostStart'] = $value;
  1626. return $this;
  1627. }
  1628. }
  1629. /**
  1630. * @method string getVersionId()
  1631. * @method string getAppId()
  1632. */
  1633. class DescribeApplicationConfig extends Roa
  1634. {
  1635. /** @var string */
  1636. public $pathPattern = '/pop/v1/sam/app/describeApplicationConfig';
  1637. /**
  1638. * @param string $value
  1639. *
  1640. * @return $this
  1641. */
  1642. public function withVersionId($value)
  1643. {
  1644. $this->data['VersionId'] = $value;
  1645. $this->options['query']['VersionId'] = $value;
  1646. return $this;
  1647. }
  1648. /**
  1649. * @param string $value
  1650. *
  1651. * @return $this
  1652. */
  1653. public function withAppId($value)
  1654. {
  1655. $this->data['AppId'] = $value;
  1656. $this->options['query']['AppId'] = $value;
  1657. return $this;
  1658. }
  1659. }
  1660. /**
  1661. * @method string getAppId()
  1662. * @method string getPageSize()
  1663. * @method string getCurrentPage()
  1664. */
  1665. class DescribeApplicationGroups extends Roa
  1666. {
  1667. /** @var string */
  1668. public $pathPattern = '/pop/v1/sam/app/describeApplicationGroups';
  1669. /**
  1670. * @param string $value
  1671. *
  1672. * @return $this
  1673. */
  1674. public function withAppId($value)
  1675. {
  1676. $this->data['AppId'] = $value;
  1677. $this->options['query']['AppId'] = $value;
  1678. return $this;
  1679. }
  1680. /**
  1681. * @param string $value
  1682. *
  1683. * @return $this
  1684. */
  1685. public function withPageSize($value)
  1686. {
  1687. $this->data['PageSize'] = $value;
  1688. $this->options['query']['PageSize'] = $value;
  1689. return $this;
  1690. }
  1691. /**
  1692. * @param string $value
  1693. *
  1694. * @return $this
  1695. */
  1696. public function withCurrentPage($value)
  1697. {
  1698. $this->data['CurrentPage'] = $value;
  1699. $this->options['query']['CurrentPage'] = $value;
  1700. return $this;
  1701. }
  1702. }
  1703. /**
  1704. * @method string getAppId()
  1705. * @method string getImageUrl()
  1706. */
  1707. class DescribeApplicationImage extends Roa
  1708. {
  1709. /** @var string */
  1710. public $pathPattern = '/pop/v1/sam/container/describeApplicationImage';
  1711. /**
  1712. * @param string $value
  1713. *
  1714. * @return $this
  1715. */
  1716. public function withAppId($value)
  1717. {
  1718. $this->data['AppId'] = $value;
  1719. $this->options['query']['AppId'] = $value;
  1720. return $this;
  1721. }
  1722. /**
  1723. * @param string $value
  1724. *
  1725. * @return $this
  1726. */
  1727. public function withImageUrl($value)
  1728. {
  1729. $this->data['ImageUrl'] = $value;
  1730. $this->options['query']['ImageUrl'] = $value;
  1731. return $this;
  1732. }
  1733. }
  1734. /**
  1735. * @method string getAppId()
  1736. * @method string getGroupId()
  1737. * @method string getPageSize()
  1738. * @method string getCurrentPage()
  1739. */
  1740. class DescribeApplicationInstances extends Roa
  1741. {
  1742. /** @var string */
  1743. public $pathPattern = '/pop/v1/sam/app/describeApplicationInstances';
  1744. /**
  1745. * @param string $value
  1746. *
  1747. * @return $this
  1748. */
  1749. public function withAppId($value)
  1750. {
  1751. $this->data['AppId'] = $value;
  1752. $this->options['query']['AppId'] = $value;
  1753. return $this;
  1754. }
  1755. /**
  1756. * @param string $value
  1757. *
  1758. * @return $this
  1759. */
  1760. public function withGroupId($value)
  1761. {
  1762. $this->data['GroupId'] = $value;
  1763. $this->options['query']['GroupId'] = $value;
  1764. return $this;
  1765. }
  1766. /**
  1767. * @param string $value
  1768. *
  1769. * @return $this
  1770. */
  1771. public function withPageSize($value)
  1772. {
  1773. $this->data['PageSize'] = $value;
  1774. $this->options['query']['PageSize'] = $value;
  1775. return $this;
  1776. }
  1777. /**
  1778. * @param string $value
  1779. *
  1780. * @return $this
  1781. */
  1782. public function withCurrentPage($value)
  1783. {
  1784. $this->data['CurrentPage'] = $value;
  1785. $this->options['query']['CurrentPage'] = $value;
  1786. return $this;
  1787. }
  1788. }
  1789. /**
  1790. * @method string getAppId()
  1791. */
  1792. class DescribeApplicationScalingRules extends Roa
  1793. {
  1794. /** @var string */
  1795. public $pathPattern = '/pop/v1/sam/scale/applicationScalingRules';
  1796. /**
  1797. * @param string $value
  1798. *
  1799. * @return $this
  1800. */
  1801. public function withAppId($value)
  1802. {
  1803. $this->data['AppId'] = $value;
  1804. $this->options['query']['AppId'] = $value;
  1805. return $this;
  1806. }
  1807. }
  1808. /**
  1809. * @method string getAppId()
  1810. */
  1811. class DescribeApplicationSlbs extends Roa
  1812. {
  1813. /** @var string */
  1814. public $pathPattern = '/pop/v1/sam/app/slb';
  1815. /**
  1816. * @param string $value
  1817. *
  1818. * @return $this
  1819. */
  1820. public function withAppId($value)
  1821. {
  1822. $this->data['AppId'] = $value;
  1823. $this->options['query']['AppId'] = $value;
  1824. return $this;
  1825. }
  1826. }
  1827. /**
  1828. * @method string getAppId()
  1829. */
  1830. class DescribeApplicationStatus extends Roa
  1831. {
  1832. /** @var string */
  1833. public $pathPattern = '/pop/v1/sam/app/describeApplicationStatus';
  1834. /**
  1835. * @param string $value
  1836. *
  1837. * @return $this
  1838. */
  1839. public function withAppId($value)
  1840. {
  1841. $this->data['AppId'] = $value;
  1842. $this->options['query']['AppId'] = $value;
  1843. return $this;
  1844. }
  1845. }
  1846. /**
  1847. * @method string getChangeOrderId()
  1848. */
  1849. class DescribeChangeOrder extends Roa
  1850. {
  1851. /** @var string */
  1852. public $pathPattern = '/pop/v1/sam/changeorder/DescribeChangeOrder';
  1853. /**
  1854. * @param string $value
  1855. *
  1856. * @return $this
  1857. */
  1858. public function withChangeOrderId($value)
  1859. {
  1860. $this->data['ChangeOrderId'] = $value;
  1861. $this->options['query']['ChangeOrderId'] = $value;
  1862. return $this;
  1863. }
  1864. }
  1865. /**
  1866. * @method string getAppId()
  1867. * @method string getType()
  1868. */
  1869. class DescribeComponents extends Roa
  1870. {
  1871. /** @var string */
  1872. public $pathPattern = '/pop/v1/sam/resource/components';
  1873. /**
  1874. * @param string $value
  1875. *
  1876. * @return $this
  1877. */
  1878. public function withAppId($value)
  1879. {
  1880. $this->data['AppId'] = $value;
  1881. $this->options['query']['AppId'] = $value;
  1882. return $this;
  1883. }
  1884. /**
  1885. * @param string $value
  1886. *
  1887. * @return $this
  1888. */
  1889. public function withType($value)
  1890. {
  1891. $this->data['Type'] = $value;
  1892. $this->options['query']['Type'] = $value;
  1893. return $this;
  1894. }
  1895. }
  1896. /**
  1897. * @method string getConfigMapId()
  1898. */
  1899. class DescribeConfigMap extends Roa
  1900. {
  1901. /** @var string */
  1902. public $pathPattern = '/pop/v1/sam/configmap/configMap';
  1903. /**
  1904. * @param string $value
  1905. *
  1906. * @return $this
  1907. */
  1908. public function withConfigMapId($value)
  1909. {
  1910. $this->data['ConfigMapId'] = $value;
  1911. $this->options['query']['ConfigMapId'] = $value;
  1912. return $this;
  1913. }
  1914. }
  1915. class DescribeEdasContainers extends Roa
  1916. {
  1917. /** @var string */
  1918. public $pathPattern = '/pop/v1/sam/resource/edasContainers';
  1919. }
  1920. /**
  1921. * @method string getIngressId()
  1922. */
  1923. class DescribeIngress extends Roa
  1924. {
  1925. /** @var string */
  1926. public $pathPattern = '/pop/v1/sam/ingress/Ingress';
  1927. /**
  1928. * @param string $value
  1929. *
  1930. * @return $this
  1931. */
  1932. public function withIngressId($value)
  1933. {
  1934. $this->data['IngressId'] = $value;
  1935. $this->options['query']['IngressId'] = $value;
  1936. return $this;
  1937. }
  1938. }
  1939. /**
  1940. * @method string getInstanceId()
  1941. */
  1942. class DescribeInstanceLog extends Roa
  1943. {
  1944. /** @var string */
  1945. public $pathPattern = '/pop/v1/sam/instance/describeInstanceLog';
  1946. /**
  1947. * @param string $value
  1948. *
  1949. * @return $this
  1950. */
  1951. public function withInstanceId($value)
  1952. {
  1953. $this->data['InstanceId'] = $value;
  1954. $this->options['query']['InstanceId'] = $value;
  1955. return $this;
  1956. }
  1957. }
  1958. class DescribeInstanceSpecifications extends Roa
  1959. {
  1960. /** @var string */
  1961. public $pathPattern = '/pop/v1/paas/quota/instanceSpecifications';
  1962. }
  1963. /**
  1964. * @method string getNamespaceId()
  1965. */
  1966. class DescribeNamespace extends Roa
  1967. {
  1968. /** @var string */
  1969. public $pathPattern = '/pop/v1/paas/namespace';
  1970. /**
  1971. * @param string $value
  1972. *
  1973. * @return $this
  1974. */
  1975. public function withNamespaceId($value)
  1976. {
  1977. $this->data['NamespaceId'] = $value;
  1978. $this->options['query']['NamespaceId'] = $value;
  1979. return $this;
  1980. }
  1981. }
  1982. /**
  1983. * @method string getHybridCloudExclude()
  1984. * @method string getContainCustom()
  1985. */
  1986. class DescribeNamespaceList extends Roa
  1987. {
  1988. /** @var string */
  1989. public $pathPattern = '/pop/v1/sam/namespace/describeNamespaceList';
  1990. /**
  1991. * @param string $value
  1992. *
  1993. * @return $this
  1994. */
  1995. public function withHybridCloudExclude($value)
  1996. {
  1997. $this->data['HybridCloudExclude'] = $value;
  1998. $this->options['query']['HybridCloudExclude'] = $value;
  1999. return $this;
  2000. }
  2001. /**
  2002. * @param string $value
  2003. *
  2004. * @return $this
  2005. */
  2006. public function withContainCustom($value)
  2007. {
  2008. $this->data['ContainCustom'] = $value;
  2009. $this->options['query']['ContainCustom'] = $value;
  2010. return $this;
  2011. }
  2012. }
  2013. /**
  2014. * @method string getNamespaceId()
  2015. */
  2016. class DescribeNamespaceResources extends Roa
  2017. {
  2018. /** @var string */
  2019. public $pathPattern = '/pop/v1/sam/namespace/describeNamespaceResources';
  2020. /**
  2021. * @param string $value
  2022. *
  2023. * @return $this
  2024. */
  2025. public function withNamespaceId($value)
  2026. {
  2027. $this->data['NamespaceId'] = $value;
  2028. $this->options['query']['NamespaceId'] = $value;
  2029. return $this;
  2030. }
  2031. }
  2032. /**
  2033. * @method string getPageSize()
  2034. * @method string getCurrentPage()
  2035. */
  2036. class DescribeNamespaces extends Roa
  2037. {
  2038. /** @var string */
  2039. public $pathPattern = '/pop/v1/paas/namespaces';
  2040. /**
  2041. * @param string $value
  2042. *
  2043. * @return $this
  2044. */
  2045. public function withPageSize($value)
  2046. {
  2047. $this->data['PageSize'] = $value;
  2048. $this->options['query']['PageSize'] = $value;
  2049. return $this;
  2050. }
  2051. /**
  2052. * @param string $value
  2053. *
  2054. * @return $this
  2055. */
  2056. public function withCurrentPage($value)
  2057. {
  2058. $this->data['CurrentPage'] = $value;
  2059. $this->options['query']['CurrentPage'] = $value;
  2060. return $this;
  2061. }
  2062. }
  2063. /**
  2064. * @method string getPipelineId()
  2065. */
  2066. class DescribePipeline extends Roa
  2067. {
  2068. /** @var string */
  2069. public $pathPattern = '/pop/v1/sam/changeorder/DescribePipeline';
  2070. /**
  2071. * @param string $value
  2072. *
  2073. * @return $this
  2074. */
  2075. public function withPipelineId($value)
  2076. {
  2077. $this->data['PipelineId'] = $value;
  2078. $this->options['query']['PipelineId'] = $value;
  2079. return $this;
  2080. }
  2081. }
  2082. class DescribeRegions extends Roa
  2083. {
  2084. /** @var string */
  2085. public $pathPattern = '/pop/v1/paas/regionConfig';
  2086. }
  2087. /**
  2088. * @method string getScalingRuleName()
  2089. * @method string getAppId()
  2090. */
  2091. class DisableApplicationScalingRule extends Roa
  2092. {
  2093. /** @var string */
  2094. public $pathPattern = '/pop/v1/sam/scale/disableApplicationScalingRule';
  2095. /** @var string */
  2096. public $method = 'PUT';
  2097. /**
  2098. * @param string $value
  2099. *
  2100. * @return $this
  2101. */
  2102. public function withScalingRuleName($value)
  2103. {
  2104. $this->data['ScalingRuleName'] = $value;
  2105. $this->options['query']['ScalingRuleName'] = $value;
  2106. return $this;
  2107. }
  2108. /**
  2109. * @param string $value
  2110. *
  2111. * @return $this
  2112. */
  2113. public function withAppId($value)
  2114. {
  2115. $this->data['AppId'] = $value;
  2116. $this->options['query']['AppId'] = $value;
  2117. return $this;
  2118. }
  2119. }
  2120. /**
  2121. * @method string getScalingRuleName()
  2122. * @method string getAppId()
  2123. */
  2124. class EnableApplicationScalingRule extends Roa
  2125. {
  2126. /** @var string */
  2127. public $pathPattern = '/pop/v1/sam/scale/enableApplicationScalingRule';
  2128. /** @var string */
  2129. public $method = 'PUT';
  2130. /**
  2131. * @param string $value
  2132. *
  2133. * @return $this
  2134. */
  2135. public function withScalingRuleName($value)
  2136. {
  2137. $this->data['ScalingRuleName'] = $value;
  2138. $this->options['query']['ScalingRuleName'] = $value;
  2139. return $this;
  2140. }
  2141. /**
  2142. * @param string $value
  2143. *
  2144. * @return $this
  2145. */
  2146. public function withAppId($value)
  2147. {
  2148. $this->data['AppId'] = $value;
  2149. $this->options['query']['AppId'] = $value;
  2150. return $this;
  2151. }
  2152. }
  2153. /**
  2154. * @method string getReason()
  2155. * @method string getObjectKind()
  2156. * @method string getAppId()
  2157. * @method string getPageSize()
  2158. * @method string getObjectName()
  2159. * @method string getNamespace()
  2160. * @method string getCurrentPage()
  2161. * @method string getEventType()
  2162. */
  2163. class ListAppEvents extends Roa
  2164. {
  2165. /** @var string */
  2166. public $pathPattern = '/pop/v1/sam/app/listAppEvents';
  2167. /**
  2168. * @param string $value
  2169. *
  2170. * @return $this
  2171. */
  2172. public function withReason($value)
  2173. {
  2174. $this->data['Reason'] = $value;
  2175. $this->options['query']['Reason'] = $value;
  2176. return $this;
  2177. }
  2178. /**
  2179. * @param string $value
  2180. *
  2181. * @return $this
  2182. */
  2183. public function withObjectKind($value)
  2184. {
  2185. $this->data['ObjectKind'] = $value;
  2186. $this->options['query']['ObjectKind'] = $value;
  2187. return $this;
  2188. }
  2189. /**
  2190. * @param string $value
  2191. *
  2192. * @return $this
  2193. */
  2194. public function withAppId($value)
  2195. {
  2196. $this->data['AppId'] = $value;
  2197. $this->options['query']['AppId'] = $value;
  2198. return $this;
  2199. }
  2200. /**
  2201. * @param string $value
  2202. *
  2203. * @return $this
  2204. */
  2205. public function withPageSize($value)
  2206. {
  2207. $this->data['PageSize'] = $value;
  2208. $this->options['query']['PageSize'] = $value;
  2209. return $this;
  2210. }
  2211. /**
  2212. * @param string $value
  2213. *
  2214. * @return $this
  2215. */
  2216. public function withObjectName($value)
  2217. {
  2218. $this->data['ObjectName'] = $value;
  2219. $this->options['query']['ObjectName'] = $value;
  2220. return $this;
  2221. }
  2222. /**
  2223. * @param string $value
  2224. *
  2225. * @return $this
  2226. */
  2227. public function withNamespace($value)
  2228. {
  2229. $this->data['Namespace'] = $value;
  2230. $this->options['query']['Namespace'] = $value;
  2231. return $this;
  2232. }
  2233. /**
  2234. * @param string $value
  2235. *
  2236. * @return $this
  2237. */
  2238. public function withCurrentPage($value)
  2239. {
  2240. $this->data['CurrentPage'] = $value;
  2241. $this->options['query']['CurrentPage'] = $value;
  2242. return $this;
  2243. }
  2244. /**
  2245. * @param string $value
  2246. *
  2247. * @return $this
  2248. */
  2249. public function withEventType($value)
  2250. {
  2251. $this->data['EventType'] = $value;
  2252. $this->options['query']['EventType'] = $value;
  2253. return $this;
  2254. }
  2255. }
  2256. /**
  2257. * @method string getAppName()
  2258. * @method string getNamespaceId()
  2259. * @method string getPageSize()
  2260. * @method string getCurrentPage()
  2261. * @method string getTags()
  2262. */
  2263. class ListApplications extends Roa
  2264. {
  2265. /** @var string */
  2266. public $pathPattern = '/pop/v1/sam/app/listApplications';
  2267. /**
  2268. * @param string $value
  2269. *
  2270. * @return $this
  2271. */
  2272. public function withAppName($value)
  2273. {
  2274. $this->data['AppName'] = $value;
  2275. $this->options['query']['AppName'] = $value;
  2276. return $this;
  2277. }
  2278. /**
  2279. * @param string $value
  2280. *
  2281. * @return $this
  2282. */
  2283. public function withNamespaceId($value)
  2284. {
  2285. $this->data['NamespaceId'] = $value;
  2286. $this->options['query']['NamespaceId'] = $value;
  2287. return $this;
  2288. }
  2289. /**
  2290. * @param string $value
  2291. *
  2292. * @return $this
  2293. */
  2294. public function withPageSize($value)
  2295. {
  2296. $this->data['PageSize'] = $value;
  2297. $this->options['query']['PageSize'] = $value;
  2298. return $this;
  2299. }
  2300. /**
  2301. * @param string $value
  2302. *
  2303. * @return $this
  2304. */
  2305. public function withCurrentPage($value)
  2306. {
  2307. $this->data['CurrentPage'] = $value;
  2308. $this->options['query']['CurrentPage'] = $value;
  2309. return $this;
  2310. }
  2311. /**
  2312. * @param string $value
  2313. *
  2314. * @return $this
  2315. */
  2316. public function withTags($value)
  2317. {
  2318. $this->data['Tags'] = $value;
  2319. $this->options['query']['Tags'] = $value;
  2320. return $this;
  2321. }
  2322. }
  2323. /**
  2324. * @method string getAppId()
  2325. */
  2326. class ListAppVersions extends Roa
  2327. {
  2328. /** @var string */
  2329. public $pathPattern = '/pop/v1/sam/app/listAppVersions';
  2330. /**
  2331. * @param string $value
  2332. *
  2333. * @return $this
  2334. */
  2335. public function withAppId($value)
  2336. {
  2337. $this->data['AppId'] = $value;
  2338. $this->options['query']['AppId'] = $value;
  2339. return $this;
  2340. }
  2341. }
  2342. /**
  2343. * @method string getCoType()
  2344. * @method string getAppId()
  2345. * @method string getPageSize()
  2346. * @method string getCurrentPage()
  2347. * @method string getCoStatus()
  2348. * @method string getKey()
  2349. */
  2350. class ListChangeOrders extends Roa
  2351. {
  2352. /** @var string */
  2353. public $pathPattern = '/pop/v1/sam/changeorder/ListChangeOrders';
  2354. /**
  2355. * @param string $value
  2356. *
  2357. * @return $this
  2358. */
  2359. public function withCoType($value)
  2360. {
  2361. $this->data['CoType'] = $value;
  2362. $this->options['query']['CoType'] = $value;
  2363. return $this;
  2364. }
  2365. /**
  2366. * @param string $value
  2367. *
  2368. * @return $this
  2369. */
  2370. public function withAppId($value)
  2371. {
  2372. $this->data['AppId'] = $value;
  2373. $this->options['query']['AppId'] = $value;
  2374. return $this;
  2375. }
  2376. /**
  2377. * @param string $value
  2378. *
  2379. * @return $this
  2380. */
  2381. public function withPageSize($value)
  2382. {
  2383. $this->data['PageSize'] = $value;
  2384. $this->options['query']['PageSize'] = $value;
  2385. return $this;
  2386. }
  2387. /**
  2388. * @param string $value
  2389. *
  2390. * @return $this
  2391. */
  2392. public function withCurrentPage($value)
  2393. {
  2394. $this->data['CurrentPage'] = $value;
  2395. $this->options['query']['CurrentPage'] = $value;
  2396. return $this;
  2397. }
  2398. /**
  2399. * @param string $value
  2400. *
  2401. * @return $this
  2402. */
  2403. public function withCoStatus($value)
  2404. {
  2405. $this->data['CoStatus'] = $value;
  2406. $this->options['query']['CoStatus'] = $value;
  2407. return $this;
  2408. }
  2409. /**
  2410. * @param string $value
  2411. *
  2412. * @return $this
  2413. */
  2414. public function withKey($value)
  2415. {
  2416. $this->data['Key'] = $value;
  2417. $this->options['query']['Key'] = $value;
  2418. return $this;
  2419. }
  2420. }
  2421. /**
  2422. * @method string getAppId()
  2423. */
  2424. class ListConsumedServices extends Roa
  2425. {
  2426. /** @var string */
  2427. public $pathPattern = '/pop/v1/sam/service/listConsumedServices';
  2428. /**
  2429. * @param string $value
  2430. *
  2431. * @return $this
  2432. */
  2433. public function withAppId($value)
  2434. {
  2435. $this->data['AppId'] = $value;
  2436. $this->options['query']['AppId'] = $value;
  2437. return $this;
  2438. }
  2439. }
  2440. /**
  2441. * @method string getNamespaceId()
  2442. * @method string getAppId()
  2443. */
  2444. class ListIngresses extends Roa
  2445. {
  2446. /** @var string */
  2447. public $pathPattern = '/pop/v1/sam/ingress/IngressList';
  2448. /**
  2449. * @param string $value
  2450. *
  2451. * @return $this
  2452. */
  2453. public function withNamespaceId($value)
  2454. {
  2455. $this->data['NamespaceId'] = $value;
  2456. $this->options['query']['NamespaceId'] = $value;
  2457. return $this;
  2458. }
  2459. /**
  2460. * @param string $value
  2461. *
  2462. * @return $this
  2463. */
  2464. public function withAppId($value)
  2465. {
  2466. $this->data['AppId'] = $value;
  2467. $this->options['query']['AppId'] = $value;
  2468. return $this;
  2469. }
  2470. }
  2471. /**
  2472. * @method string getAppId()
  2473. * @method string getPageSize()
  2474. * @method string getCurrentPage()
  2475. */
  2476. class ListLogConfigs extends Roa
  2477. {
  2478. /** @var string */
  2479. public $pathPattern = '/pop/v1/sam/log/listLogConfigs';
  2480. /**
  2481. * @param string $value
  2482. *
  2483. * @return $this
  2484. */
  2485. public function withAppId($value)
  2486. {
  2487. $this->data['AppId'] = $value;
  2488. $this->options['query']['AppId'] = $value;
  2489. return $this;
  2490. }
  2491. /**
  2492. * @param string $value
  2493. *
  2494. * @return $this
  2495. */
  2496. public function withPageSize($value)
  2497. {
  2498. $this->data['PageSize'] = $value;
  2499. $this->options['query']['PageSize'] = $value;
  2500. return $this;
  2501. }
  2502. /**
  2503. * @param string $value
  2504. *
  2505. * @return $this
  2506. */
  2507. public function withCurrentPage($value)
  2508. {
  2509. $this->data['CurrentPage'] = $value;
  2510. $this->options['query']['CurrentPage'] = $value;
  2511. return $this;
  2512. }
  2513. }
  2514. /**
  2515. * @method string getCoType()
  2516. * @method string getNamespaceId()
  2517. * @method string getPageSize()
  2518. * @method string getCurrentPage()
  2519. * @method string getCoStatus()
  2520. * @method string getKey()
  2521. */
  2522. class ListNamespaceChangeOrders extends Roa
  2523. {
  2524. /** @var string */
  2525. public $pathPattern = '/pop/v1/sam/changeorder/listNamespaceChangeOrders';
  2526. /**
  2527. * @param string $value
  2528. *
  2529. * @return $this
  2530. */
  2531. public function withCoType($value)
  2532. {
  2533. $this->data['CoType'] = $value;
  2534. $this->options['query']['CoType'] = $value;
  2535. return $this;
  2536. }
  2537. /**
  2538. * @param string $value
  2539. *
  2540. * @return $this
  2541. */
  2542. public function withNamespaceId($value)
  2543. {
  2544. $this->data['NamespaceId'] = $value;
  2545. $this->options['query']['NamespaceId'] = $value;
  2546. return $this;
  2547. }
  2548. /**
  2549. * @param string $value
  2550. *
  2551. * @return $this
  2552. */
  2553. public function withPageSize($value)
  2554. {
  2555. $this->data['PageSize'] = $value;
  2556. $this->options['query']['PageSize'] = $value;
  2557. return $this;
  2558. }
  2559. /**
  2560. * @param string $value
  2561. *
  2562. * @return $this
  2563. */
  2564. public function withCurrentPage($value)
  2565. {
  2566. $this->data['CurrentPage'] = $value;
  2567. $this->options['query']['CurrentPage'] = $value;
  2568. return $this;
  2569. }
  2570. /**
  2571. * @param string $value
  2572. *
  2573. * @return $this
  2574. */
  2575. public function withCoStatus($value)
  2576. {
  2577. $this->data['CoStatus'] = $value;
  2578. $this->options['query']['CoStatus'] = $value;
  2579. return $this;
  2580. }
  2581. /**
  2582. * @param string $value
  2583. *
  2584. * @return $this
  2585. */
  2586. public function withKey($value)
  2587. {
  2588. $this->data['Key'] = $value;
  2589. $this->options['query']['Key'] = $value;
  2590. return $this;
  2591. }
  2592. }
  2593. /**
  2594. * @method string getNamespaceId()
  2595. */
  2596. class ListNamespacedConfigMaps extends Roa
  2597. {
  2598. /** @var string */
  2599. public $pathPattern = '/pop/v1/sam/configmap/listNamespacedConfigMaps';
  2600. /**
  2601. * @param string $value
  2602. *
  2603. * @return $this
  2604. */
  2605. public function withNamespaceId($value)
  2606. {
  2607. $this->data['NamespaceId'] = $value;
  2608. $this->options['query']['NamespaceId'] = $value;
  2609. return $this;
  2610. }
  2611. }
  2612. /**
  2613. * @method string getAppId()
  2614. */
  2615. class ListPublishedServices extends Roa
  2616. {
  2617. /** @var string */
  2618. public $pathPattern = '/pop/v1/sam/service/listPublishedServices';
  2619. /**
  2620. * @param string $value
  2621. *
  2622. * @return $this
  2623. */
  2624. public function withAppId($value)
  2625. {
  2626. $this->data['AppId'] = $value;
  2627. $this->options['query']['AppId'] = $value;
  2628. return $this;
  2629. }
  2630. }
  2631. /**
  2632. * @method string getNextToken()
  2633. * @method string getResourceType()
  2634. * @method string getResourceIds()
  2635. * @method string getTags()
  2636. */
  2637. class ListTagResources extends Roa
  2638. {
  2639. /** @var string */
  2640. public $pathPattern = '/tags';
  2641. /**
  2642. * @param string $value
  2643. *
  2644. * @return $this
  2645. */
  2646. public function withNextToken($value)
  2647. {
  2648. $this->data['NextToken'] = $value;
  2649. $this->options['query']['NextToken'] = $value;
  2650. return $this;
  2651. }
  2652. /**
  2653. * @param string $value
  2654. *
  2655. * @return $this
  2656. */
  2657. public function withResourceType($value)
  2658. {
  2659. $this->data['ResourceType'] = $value;
  2660. $this->options['query']['ResourceType'] = $value;
  2661. return $this;
  2662. }
  2663. /**
  2664. * @param string $value
  2665. *
  2666. * @return $this
  2667. */
  2668. public function withResourceIds($value)
  2669. {
  2670. $this->data['ResourceIds'] = $value;
  2671. $this->options['query']['ResourceIds'] = $value;
  2672. return $this;
  2673. }
  2674. /**
  2675. * @param string $value
  2676. *
  2677. * @return $this
  2678. */
  2679. public function withTags($value)
  2680. {
  2681. $this->data['Tags'] = $value;
  2682. $this->options['query']['Tags'] = $value;
  2683. return $this;
  2684. }
  2685. }
  2686. class OpenSaeService extends Roa
  2687. {
  2688. /** @var string */
  2689. public $pathPattern = '/service/open';
  2690. /** @var string */
  2691. public $method = 'POST';
  2692. }
  2693. /**
  2694. * @method string getAppId()
  2695. */
  2696. class QueryResourceStatics extends Roa
  2697. {
  2698. /** @var string */
  2699. public $pathPattern = '/pop/v1/paas/quota/queryResourceStatics';
  2700. /**
  2701. * @param string $value
  2702. *
  2703. * @return $this
  2704. */
  2705. public function withAppId($value)
  2706. {
  2707. $this->data['AppId'] = $value;
  2708. $this->options['query']['AppId'] = $value;
  2709. return $this;
  2710. }
  2711. }
  2712. /**
  2713. * @method string getMinReadyInstances()
  2714. * @method string getReplicas()
  2715. * @method string getAppId()
  2716. */
  2717. class RescaleApplication extends Roa
  2718. {
  2719. /** @var string */
  2720. public $pathPattern = '/pop/v1/sam/app/rescaleApplication';
  2721. /** @var string */
  2722. public $method = 'PUT';
  2723. /**
  2724. * @param string $value
  2725. *
  2726. * @return $this
  2727. */
  2728. public function withMinReadyInstances($value)
  2729. {
  2730. $this->data['MinReadyInstances'] = $value;
  2731. $this->options['query']['MinReadyInstances'] = $value;
  2732. return $this;
  2733. }
  2734. /**
  2735. * @param string $value
  2736. *
  2737. * @return $this
  2738. */
  2739. public function withReplicas($value)
  2740. {
  2741. $this->data['Replicas'] = $value;
  2742. $this->options['query']['Replicas'] = $value;
  2743. return $this;
  2744. }
  2745. /**
  2746. * @param string $value
  2747. *
  2748. * @return $this
  2749. */
  2750. public function withAppId($value)
  2751. {
  2752. $this->data['AppId'] = $value;
  2753. $this->options['query']['AppId'] = $value;
  2754. return $this;
  2755. }
  2756. }
  2757. /**
  2758. * @method string getMemory()
  2759. * @method string getAppId()
  2760. * @method string getCpu()
  2761. */
  2762. class RescaleApplicationVertically extends Roa
  2763. {
  2764. /** @var string */
  2765. public $pathPattern = '/pop/v1/sam/app/rescaleApplicationVertically';
  2766. /** @var string */
  2767. public $method = 'POST';
  2768. /**
  2769. * @param string $value
  2770. *
  2771. * @return $this
  2772. */
  2773. public function withMemory($value)
  2774. {
  2775. $this->data['Memory'] = $value;
  2776. $this->options['query']['Memory'] = $value;
  2777. return $this;
  2778. }
  2779. /**
  2780. * @param string $value
  2781. *
  2782. * @return $this
  2783. */
  2784. public function withAppId($value)
  2785. {
  2786. $this->data['AppId'] = $value;
  2787. $this->options['query']['AppId'] = $value;
  2788. return $this;
  2789. }
  2790. /**
  2791. * @param string $value
  2792. *
  2793. * @return $this
  2794. */
  2795. public function withCpu($value)
  2796. {
  2797. $this->data['Cpu'] = $value;
  2798. $this->options['query']['Cpu'] = $value;
  2799. return $this;
  2800. }
  2801. }
  2802. /**
  2803. * @method string getMinReadyInstances()
  2804. * @method string getAppId()
  2805. */
  2806. class RestartApplication extends Roa
  2807. {
  2808. /** @var string */
  2809. public $pathPattern = '/pop/v1/sam/app/restartApplication';
  2810. /** @var string */
  2811. public $method = 'PUT';
  2812. /**
  2813. * @param string $value
  2814. *
  2815. * @return $this
  2816. */
  2817. public function withMinReadyInstances($value)
  2818. {
  2819. $this->data['MinReadyInstances'] = $value;
  2820. $this->options['query']['MinReadyInstances'] = $value;
  2821. return $this;
  2822. }
  2823. /**
  2824. * @param string $value
  2825. *
  2826. * @return $this
  2827. */
  2828. public function withAppId($value)
  2829. {
  2830. $this->data['AppId'] = $value;
  2831. $this->options['query']['AppId'] = $value;
  2832. return $this;
  2833. }
  2834. }
  2835. /**
  2836. * @method string getInstanceIds()
  2837. * @method string getAppId()
  2838. */
  2839. class RestartInstances extends Roa
  2840. {
  2841. /** @var string */
  2842. public $pathPattern = '/pop/v1/sam/app/restartInstances';
  2843. /** @var string */
  2844. public $method = 'PUT';
  2845. /**
  2846. * @param string $value
  2847. *
  2848. * @return $this
  2849. */
  2850. public function withInstanceIds($value)
  2851. {
  2852. $this->data['InstanceIds'] = $value;
  2853. $this->options['query']['InstanceIds'] = $value;
  2854. return $this;
  2855. }
  2856. /**
  2857. * @param string $value
  2858. *
  2859. * @return $this
  2860. */
  2861. public function withAppId($value)
  2862. {
  2863. $this->data['AppId'] = $value;
  2864. $this->options['query']['AppId'] = $value;
  2865. return $this;
  2866. }
  2867. }
  2868. /**
  2869. * @method string getMinReadyInstances()
  2870. * @method string getVersionId()
  2871. * @method string getAppId()
  2872. * @method string getBatchWaitTime()
  2873. * @method string getAutoEnableApplicationScalingRule()
  2874. * @method string getUpdateStrategy()
  2875. */
  2876. class RollbackApplication extends Roa
  2877. {
  2878. /** @var string */
  2879. public $pathPattern = '/pop/v1/sam/app/rollbackApplication';
  2880. /** @var string */
  2881. public $method = 'PUT';
  2882. /**
  2883. * @param string $value
  2884. *
  2885. * @return $this
  2886. */
  2887. public function withMinReadyInstances($value)
  2888. {
  2889. $this->data['MinReadyInstances'] = $value;
  2890. $this->options['query']['MinReadyInstances'] = $value;
  2891. return $this;
  2892. }
  2893. /**
  2894. * @param string $value
  2895. *
  2896. * @return $this
  2897. */
  2898. public function withVersionId($value)
  2899. {
  2900. $this->data['VersionId'] = $value;
  2901. $this->options['query']['VersionId'] = $value;
  2902. return $this;
  2903. }
  2904. /**
  2905. * @param string $value
  2906. *
  2907. * @return $this
  2908. */
  2909. public function withAppId($value)
  2910. {
  2911. $this->data['AppId'] = $value;
  2912. $this->options['query']['AppId'] = $value;
  2913. return $this;
  2914. }
  2915. /**
  2916. * @param string $value
  2917. *
  2918. * @return $this
  2919. */
  2920. public function withBatchWaitTime($value)
  2921. {
  2922. $this->data['BatchWaitTime'] = $value;
  2923. $this->options['query']['BatchWaitTime'] = $value;
  2924. return $this;
  2925. }
  2926. /**
  2927. * @param string $value
  2928. *
  2929. * @return $this
  2930. */
  2931. public function withAutoEnableApplicationScalingRule($value)
  2932. {
  2933. $this->data['AutoEnableApplicationScalingRule'] = $value;
  2934. $this->options['query']['AutoEnableApplicationScalingRule'] = $value;
  2935. return $this;
  2936. }
  2937. /**
  2938. * @param string $value
  2939. *
  2940. * @return $this
  2941. */
  2942. public function withUpdateStrategy($value)
  2943. {
  2944. $this->data['UpdateStrategy'] = $value;
  2945. $this->options['query']['UpdateStrategy'] = $value;
  2946. return $this;
  2947. }
  2948. }
  2949. /**
  2950. * @method string getAppId()
  2951. */
  2952. class StartApplication extends Roa
  2953. {
  2954. /** @var string */
  2955. public $pathPattern = '/pop/v1/sam/app/startApplication';
  2956. /** @var string */
  2957. public $method = 'PUT';
  2958. /**
  2959. * @param string $value
  2960. *
  2961. * @return $this
  2962. */
  2963. public function withAppId($value)
  2964. {
  2965. $this->data['AppId'] = $value;
  2966. $this->options['query']['AppId'] = $value;
  2967. return $this;
  2968. }
  2969. }
  2970. /**
  2971. * @method string getAppId()
  2972. */
  2973. class StopApplication extends Roa
  2974. {
  2975. /** @var string */
  2976. public $pathPattern = '/pop/v1/sam/app/stopApplication';
  2977. /** @var string */
  2978. public $method = 'PUT';
  2979. /**
  2980. * @param string $value
  2981. *
  2982. * @return $this
  2983. */
  2984. public function withAppId($value)
  2985. {
  2986. $this->data['AppId'] = $value;
  2987. $this->options['query']['AppId'] = $value;
  2988. return $this;
  2989. }
  2990. }
  2991. /**
  2992. * @method string getResourceType()
  2993. * @method string getTags()
  2994. * @method string getResourceIds()
  2995. */
  2996. class TagResources extends Roa
  2997. {
  2998. /** @var string */
  2999. public $pathPattern = '/tags';
  3000. /** @var string */
  3001. public $method = 'POST';
  3002. /**
  3003. * @param string $value
  3004. *
  3005. * @return $this
  3006. */
  3007. public function withResourceType($value)
  3008. {
  3009. $this->data['ResourceType'] = $value;
  3010. $this->options['form_params']['ResourceType'] = $value;
  3011. return $this;
  3012. }
  3013. /**
  3014. * @param string $value
  3015. *
  3016. * @return $this
  3017. */
  3018. public function withTags($value)
  3019. {
  3020. $this->data['Tags'] = $value;
  3021. $this->options['form_params']['Tags'] = $value;
  3022. return $this;
  3023. }
  3024. /**
  3025. * @param string $value
  3026. *
  3027. * @return $this
  3028. */
  3029. public function withResourceIds($value)
  3030. {
  3031. $this->data['ResourceIds'] = $value;
  3032. $this->options['form_params']['ResourceIds'] = $value;
  3033. return $this;
  3034. }
  3035. }
  3036. /**
  3037. * @method string getIntranet()
  3038. * @method string getAppId()
  3039. * @method string getInternet()
  3040. */
  3041. class UnbindSlb extends Roa
  3042. {
  3043. /** @var string */
  3044. public $pathPattern = '/pop/v1/sam/app/slb';
  3045. /** @var string */
  3046. public $method = 'DELETE';
  3047. /**
  3048. * @param string $value
  3049. *
  3050. * @return $this
  3051. */
  3052. public function withIntranet($value)
  3053. {
  3054. $this->data['Intranet'] = $value;
  3055. $this->options['query']['Intranet'] = $value;
  3056. return $this;
  3057. }
  3058. /**
  3059. * @param string $value
  3060. *
  3061. * @return $this
  3062. */
  3063. public function withAppId($value)
  3064. {
  3065. $this->data['AppId'] = $value;
  3066. $this->options['query']['AppId'] = $value;
  3067. return $this;
  3068. }
  3069. /**
  3070. * @param string $value
  3071. *
  3072. * @return $this
  3073. */
  3074. public function withInternet($value)
  3075. {
  3076. $this->data['Internet'] = $value;
  3077. $this->options['query']['Internet'] = $value;
  3078. return $this;
  3079. }
  3080. }
  3081. /**
  3082. * @method string getTagKeys()
  3083. * @method string getDeleteAll()
  3084. * @method string getResourceType()
  3085. * @method string getResourceIds()
  3086. */
  3087. class UntagResources extends Roa
  3088. {
  3089. /** @var string */
  3090. public $pathPattern = '/tags';
  3091. /** @var string */
  3092. public $method = 'DELETE';
  3093. /**
  3094. * @param string $value
  3095. *
  3096. * @return $this
  3097. */
  3098. public function withTagKeys($value)
  3099. {
  3100. $this->data['TagKeys'] = $value;
  3101. $this->options['query']['TagKeys'] = $value;
  3102. return $this;
  3103. }
  3104. /**
  3105. * @param string $value
  3106. *
  3107. * @return $this
  3108. */
  3109. public function withDeleteAll($value)
  3110. {
  3111. $this->data['DeleteAll'] = $value;
  3112. $this->options['query']['DeleteAll'] = $value;
  3113. return $this;
  3114. }
  3115. /**
  3116. * @param string $value
  3117. *
  3118. * @return $this
  3119. */
  3120. public function withResourceType($value)
  3121. {
  3122. $this->data['ResourceType'] = $value;
  3123. $this->options['query']['ResourceType'] = $value;
  3124. return $this;
  3125. }
  3126. /**
  3127. * @param string $value
  3128. *
  3129. * @return $this
  3130. */
  3131. public function withResourceIds($value)
  3132. {
  3133. $this->data['ResourceIds'] = $value;
  3134. $this->options['query']['ResourceIds'] = $value;
  3135. return $this;
  3136. }
  3137. }
  3138. /**
  3139. * @method string getScalingRuleName()
  3140. * @method string getMinReadyInstances()
  3141. * @method string getScalingRuleTimer()
  3142. * @method string getScalingRuleMetric()
  3143. * @method string getAppId()
  3144. */
  3145. class UpdateApplicationScalingRule extends Roa
  3146. {
  3147. /** @var string */
  3148. public $pathPattern = '/pop/v1/sam/scale/applicationScalingRule';
  3149. /** @var string */
  3150. public $method = 'PUT';
  3151. /**
  3152. * @param string $value
  3153. *
  3154. * @return $this
  3155. */
  3156. public function withScalingRuleName($value)
  3157. {
  3158. $this->data['ScalingRuleName'] = $value;
  3159. $this->options['query']['ScalingRuleName'] = $value;
  3160. return $this;
  3161. }
  3162. /**
  3163. * @param string $value
  3164. *
  3165. * @return $this
  3166. */
  3167. public function withMinReadyInstances($value)
  3168. {
  3169. $this->data['MinReadyInstances'] = $value;
  3170. $this->options['query']['MinReadyInstances'] = $value;
  3171. return $this;
  3172. }
  3173. /**
  3174. * @param string $value
  3175. *
  3176. * @return $this
  3177. */
  3178. public function withScalingRuleTimer($value)
  3179. {
  3180. $this->data['ScalingRuleTimer'] = $value;
  3181. $this->options['query']['ScalingRuleTimer'] = $value;
  3182. return $this;
  3183. }
  3184. /**
  3185. * @param string $value
  3186. *
  3187. * @return $this
  3188. */
  3189. public function withScalingRuleMetric($value)
  3190. {
  3191. $this->data['ScalingRuleMetric'] = $value;
  3192. $this->options['query']['ScalingRuleMetric'] = $value;
  3193. return $this;
  3194. }
  3195. /**
  3196. * @param string $value
  3197. *
  3198. * @return $this
  3199. */
  3200. public function withAppId($value)
  3201. {
  3202. $this->data['AppId'] = $value;
  3203. $this->options['query']['AppId'] = $value;
  3204. return $this;
  3205. }
  3206. }
  3207. /**
  3208. * @method string getAppId()
  3209. * @method string getSecurityGroupId()
  3210. */
  3211. class UpdateAppSecurityGroup extends Roa
  3212. {
  3213. /** @var string */
  3214. public $pathPattern = '/pop/v1/sam/app/updateAppSecurityGroup';
  3215. /** @var string */
  3216. public $method = 'PUT';
  3217. /**
  3218. * @param string $value
  3219. *
  3220. * @return $this
  3221. */
  3222. public function withAppId($value)
  3223. {
  3224. $this->data['AppId'] = $value;
  3225. $this->options['query']['AppId'] = $value;
  3226. return $this;
  3227. }
  3228. /**
  3229. * @param string $value
  3230. *
  3231. * @return $this
  3232. */
  3233. public function withSecurityGroupId($value)
  3234. {
  3235. $this->data['SecurityGroupId'] = $value;
  3236. $this->options['query']['SecurityGroupId'] = $value;
  3237. return $this;
  3238. }
  3239. }
  3240. /**
  3241. * @method string getData()
  3242. * @method string getDescription()
  3243. * @method string getConfigMapId()
  3244. */
  3245. class UpdateConfigMap extends Roa
  3246. {
  3247. /** @var string */
  3248. public $pathPattern = '/pop/v1/sam/configmap/configMap';
  3249. /** @var string */
  3250. public $method = 'PUT';
  3251. /**
  3252. * @param string $value
  3253. *
  3254. * @return $this
  3255. */
  3256. public function withData($value)
  3257. {
  3258. $this->data['Data'] = $value;
  3259. $this->options['form_params']['Data'] = $value;
  3260. return $this;
  3261. }
  3262. /**
  3263. * @param string $value
  3264. *
  3265. * @return $this
  3266. */
  3267. public function withDescription($value)
  3268. {
  3269. $this->data['Description'] = $value;
  3270. $this->options['form_params']['Description'] = $value;
  3271. return $this;
  3272. }
  3273. /**
  3274. * @param string $value
  3275. *
  3276. * @return $this
  3277. */
  3278. public function withConfigMapId($value)
  3279. {
  3280. $this->data['ConfigMapId'] = $value;
  3281. $this->options['query']['ConfigMapId'] = $value;
  3282. return $this;
  3283. }
  3284. }
  3285. /**
  3286. * @method string getIngressId()
  3287. * @method string getListenerPort()
  3288. * @method string getDescription()
  3289. * @method string getRules()
  3290. * @method string getCertId()
  3291. * @method string getDefaultRule()
  3292. */
  3293. class UpdateIngress extends Roa
  3294. {
  3295. /** @var string */
  3296. public $pathPattern = '/pop/v1/sam/ingress/Ingress';
  3297. /** @var string */
  3298. public $method = 'PUT';
  3299. /**
  3300. * @param string $value
  3301. *
  3302. * @return $this
  3303. */
  3304. public function withIngressId($value)
  3305. {
  3306. $this->data['IngressId'] = $value;
  3307. $this->options['query']['IngressId'] = $value;
  3308. return $this;
  3309. }
  3310. /**
  3311. * @param string $value
  3312. *
  3313. * @return $this
  3314. */
  3315. public function withListenerPort($value)
  3316. {
  3317. $this->data['ListenerPort'] = $value;
  3318. $this->options['query']['ListenerPort'] = $value;
  3319. return $this;
  3320. }
  3321. /**
  3322. * @param string $value
  3323. *
  3324. * @return $this
  3325. */
  3326. public function withDescription($value)
  3327. {
  3328. $this->data['Description'] = $value;
  3329. $this->options['query']['Description'] = $value;
  3330. return $this;
  3331. }
  3332. /**
  3333. * @param string $value
  3334. *
  3335. * @return $this
  3336. */
  3337. public function withRules($value)
  3338. {
  3339. $this->data['Rules'] = $value;
  3340. $this->options['form_params']['Rules'] = $value;
  3341. return $this;
  3342. }
  3343. /**
  3344. * @param string $value
  3345. *
  3346. * @return $this
  3347. */
  3348. public function withCertId($value)
  3349. {
  3350. $this->data['CertId'] = $value;
  3351. $this->options['query']['CertId'] = $value;
  3352. return $this;
  3353. }
  3354. /**
  3355. * @param string $value
  3356. *
  3357. * @return $this
  3358. */
  3359. public function withDefaultRule($value)
  3360. {
  3361. $this->data['DefaultRule'] = $value;
  3362. $this->options['query']['DefaultRule'] = $value;
  3363. return $this;
  3364. }
  3365. }
  3366. /**
  3367. * @method string getNamespaceName()
  3368. * @method string getNamespaceDescription()
  3369. * @method string getNamespaceId()
  3370. */
  3371. class UpdateNamespace extends Roa
  3372. {
  3373. /** @var string */
  3374. public $pathPattern = '/pop/v1/paas/namespace';
  3375. /** @var string */
  3376. public $method = 'PUT';
  3377. /**
  3378. * @param string $value
  3379. *
  3380. * @return $this
  3381. */
  3382. public function withNamespaceName($value)
  3383. {
  3384. $this->data['NamespaceName'] = $value;
  3385. $this->options['query']['NamespaceName'] = $value;
  3386. return $this;
  3387. }
  3388. /**
  3389. * @param string $value
  3390. *
  3391. * @return $this
  3392. */
  3393. public function withNamespaceDescription($value)
  3394. {
  3395. $this->data['NamespaceDescription'] = $value;
  3396. $this->options['query']['NamespaceDescription'] = $value;
  3397. return $this;
  3398. }
  3399. /**
  3400. * @param string $value
  3401. *
  3402. * @return $this
  3403. */
  3404. public function withNamespaceId($value)
  3405. {
  3406. $this->data['NamespaceId'] = $value;
  3407. $this->options['query']['NamespaceId'] = $value;
  3408. return $this;
  3409. }
  3410. }
  3411. /**
  3412. * @method string getNamespaceId()
  3413. * @method string getVpcId()
  3414. */
  3415. class UpdateNamespaceVpc extends Roa
  3416. {
  3417. /** @var string */
  3418. public $pathPattern = '/pop/v1/sam/namespace/updateNamespaceVpc';
  3419. /** @var string */
  3420. public $method = 'POST';
  3421. /**
  3422. * @param string $value
  3423. *
  3424. * @return $this
  3425. */
  3426. public function withNamespaceId($value)
  3427. {
  3428. $this->data['NamespaceId'] = $value;
  3429. $this->options['query']['NamespaceId'] = $value;
  3430. return $this;
  3431. }
  3432. /**
  3433. * @param string $value
  3434. *
  3435. * @return $this
  3436. */
  3437. public function withVpcId($value)
  3438. {
  3439. $this->data['VpcId'] = $value;
  3440. $this->options['query']['VpcId'] = $value;
  3441. return $this;
  3442. }
  3443. }