index
int64
0
731k
package
stringlengths
2
98
name
stringlengths
1
76
docstring
stringlengths
0
281k
code
stringlengths
4
8.19k
signature
stringlengths
2
42.8k
embed_func_code
listlengths
768
768
719,785
ibm_platform_services.iam_policy_management_v1
get_policy
Retrieve a policy by ID. Retrieve a policy by providing a policy ID. :param str policy_id: The policy ID. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse with `dict` result representing a `PolicyTemplateMetaData` object
def get_policy( self, policy_id: str, **kwargs, ) -> DetailedResponse: """ Retrieve a policy by ID. Retrieve a policy by providing a policy ID. :param str policy_id: The policy ID. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse with `dict` result representing a `PolicyTemplateMetaData` object """ if not policy_id: raise ValueError('policy_id must be provided') headers = {} sdk_headers = get_sdk_headers( service_name=self.DEFAULT_SERVICE_NAME, service_version='V1', operation_id='get_policy', ) headers.update(sdk_headers) if 'headers' in kwargs: headers.update(kwargs.get('headers')) del kwargs['headers'] headers['Accept'] = 'application/json' path_param_keys = ['policy_id'] path_param_values = self.encode_path_vars(policy_id) path_param_dict = dict(zip(path_param_keys, path_param_values)) url = '/v1/policies/{policy_id}'.format(**path_param_dict) request = self.prepare_request( method='GET', url=url, headers=headers, ) response = self.send(request, **kwargs) return response
(self, policy_id: str, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
[ -0.00008959904516814277, -0.005872073117643595, 0.015031404793262482, -0.039116546511650085, 0.045176856219768524, -0.010091334581375122, 0.009292474947869778, 0.04829883575439453, -0.011064657010138035, 0.0375739224255085, -0.03039337322115898, 0.03786775469779968, -0.015490519814193249, 0.000760408234782517, -0.03388264402747154, 0.01584862917661667, 0.049070145934820175, 0.03210127726197243, -0.01078918855637312, -0.06453312188386917, 0.07323792576789856, 0.03535180911421776, -0.0271428432315588, -0.00658370042219758, 0.033552080392837524, 0.00005903924102312885, -0.0013727520126849413, -0.03718826547265053, -0.0031587069388478994, -0.004829883575439453, -0.0014301413903012872, 0.03790448606014252, 0.018483946099877357, 0.04884977266192436, -0.057187288999557495, 0.02403922937810421, 0.017933007329702377, -0.01638120226562023, -0.09013333916664124, 0.03472741320729256, -0.0217436570674181, 0.026702092960476875, 0.04910687729716301, -0.04495648294687271, -0.04760098084807396, 0.0009595490992069244, -0.022166043519973755, -0.03296441212296486, -0.021706927567720413, 0.0024057594127953053, 0.05634251981973648, 0.08036338537931442, 0.0007913984591141343, -0.04602162539958954, 0.012754198163747787, -0.0020774926524609327, -0.008117142133414745, 0.012671557255089283, 0.023047542199492455, 0.013323499821126461, 0.02370866760611534, 0.02394740656018257, -0.03603129833936691, -0.03246856853365898, -0.01381016056984663, -0.0811714231967926, -0.027106113731861115, -0.004625577479600906, -0.022166043519973755, -0.02914458140730858, -0.014407009817659855, -0.019833741709589958, -0.01862167939543724, -0.002148655243217945, 0.03900635987520218, -0.08051030337810516, -0.0174371637403965, -0.09285129606723785, 0.030338279902935028, 0.035847652703523636, -0.04873958230018616, -0.09556925296783447, 0.03494778648018837, -0.004710513632744551, -0.026995927095413208, 0.009503668174147606, 0.002653681207448244, -0.07467036694288254, 0.0495108962059021, 0.009104238823056221, 0.007446835283190012, 0.03000771626830101, -0.03878598287701607, 0.0021279952488839626, 0.0020430590957403183, 0.012074708938598633, 0.013360228389501572, -0.012552187778055668, -0.009402662515640259, 0.05693018436431885, -0.06603901088237762, 0.0024952867534011602, -0.03346025571227074, 0.014159088023006916, 0.06027253717184067, 0.0018789255991578102, 0.019595002755522728, 0.04278946295380592, 0.032523661851882935, -0.027822332456707954, 0.03230328857898712, 0.018089106306433678, -0.008824178948998451, 0.006872942671179771, 0.06471676379442215, 0.015169139951467514, 0.004012659657746553, 0.003482382744550705, -0.03834523260593414, 0.007506520487368107, -0.04154067113995552, -0.060603100806474686, 0.020807065069675446, 0.019319534301757812, -0.03132996708154678, 0.001965009607374668, -0.02604096755385399, -0.055607933551073074, 0.03160543367266655, 0.051788102835416794, -0.022312959656119347, 0.013222494162619114, -0.023176094517111778, 0.06317414343357086, -0.013277588412165642, -0.01583026349544525, 0.009379707276821136, 0.05468970537185669, 0.026279708370566368, 0.06670013815164566, 0.01862167939543724, -0.0030049036722630262, 0.03301950544118881, 0.026702092960476875, -0.016831133514642715, -0.0549100823700428, 0.011211573146283627, 0.014866123907268047, 0.021780386567115784, -0.008186009712517262, 0.0271428432315588, -0.019797012209892273, 0.026371531188488007, -0.007465200033038855, 0.017923826351761818, -0.047307148575782776, 0.03377245366573334, -0.004017251078039408, -0.003429584437981248, -0.00887009035795927, 0.04385460540652275, 0.010219885967671871, 0.02730812318623066, -0.04998837411403656, -0.00807582214474678, -0.024333063513040543, 0.015582342632114887, -0.013194947503507137, 0.03797794133424759, -0.035223256796598434, 0.013699973933398724, 0.011349307373166084, -0.021302908658981323, -0.0014071855694055557, -0.03867579624056816, -0.0015116340946406126, 0.035296715795993805, 0.0435975044965744, -0.03390100598335266, -0.007690166123211384, 0.04168758541345596, -0.04679293930530548, -0.06299049407243729, 0.02721630036830902, -0.0029130808543413877, 0.00046542720519937575, 0.030705571174621582, 0.05509372800588608, -0.004614099860191345, 0.04506666958332062, -0.08205292373895645, -0.046682752668857574, 0.011716599576175213, 0.011946156620979309, -0.010954469442367554, -0.03739027678966522, 0.06688378751277924, -0.04664602130651474, -0.015417061746120453, 0.014517197385430336, 0.03149524703621864, -0.03702298551797867, 0.002216374734416604, 0.034984517842531204, 0.01026579737663269, 0.01942972093820572, 0.007107090670615435, -0.028520185500383377, -0.013286770321428776, -0.009815866127610207, 0.005206357222050428, -0.010835099965333939, -0.021064167842268944, 0.002033876720815897, -0.031164685264229774, 0.07610280066728592, -0.04664602130651474, -0.026849009096622467, 0.015003858134150505, -0.04958435520529747, 0.01221244316548109, -0.031642165035009384, -0.015407878905534744, 0.04682966694235802, 0.023451562970876694, 0.03525998443365097, 0.032358381897211075, 0.003066884120926261, -0.06526770442724228, 0.022404782474040985, 0.0733848437666893, 0.030338279902935028, 0.026959197595715523, -0.033625539392232895, 0.0011822195956483483, -0.08315479755401611, -0.03448867425322533, -0.01118402648717165, -0.002564153866842389, 0.045727793127298355, 0.054799895733594894, 0.016353653743863106, 0.021302908658981323, 0.036012932658195496, -0.0788942202925682, 0.016528118401765823, -0.051861561834812164, 0.04521358385682106, 0.07371540367603302, -0.030466830357909203, 0.017492258921265602, -0.024057595059275627, -0.013112306594848633, 0.02728975936770439, -0.008066640235483646, -0.02547166682779789, 0.016748493537306786, -0.07860038429498672, 0.03786775469779968, 0.020237762480974197, -0.019319534301757812, 0.02967715449631214, -0.058472808450460434, -0.0477478951215744, -0.005422140937298536, -0.045103397220373154, 0.0006984277861192822, 0.03733518347144127, 0.029732247814536095, -0.010532083921134472, 0.009503668174147606, 0.04018169268965721, -0.032744038850069046, -0.005536919459700584, -0.037280090153217316, -0.027418311685323715, 0.03595783933997154, 0.043744418770074844, -0.018337028101086617, 0.0049905735068023205, -0.028299810364842415, -0.009186878800392151, 0.04036533832550049, 0.029071124270558357, -0.00883795227855444, -0.004005772992968559, -0.015417061746120453, 0.009251154959201813, 0.025361478328704834, 0.020733606070280075, 0.019080793485045433, 0.042936377227306366, -0.021468188613653183, -0.03158707171678543, -0.026628633961081505, -0.03636185824871063, -0.009577126242220402, -0.07771888375282288, 0.057040371000766754, 0.029309863224625587, 0.0048482478596270084, 0.023102635517716408, 0.0482621043920517, -0.04521358385682106, -0.065598264336586, 0.00627150246873498, 0.02411268837749958, -0.018281934782862663, 0.0393369197845459, -0.021045804023742676, -0.0010198078816756606, -0.011239120736718178, -0.009168514050543308, 0.06908753514289856, 0.020347949117422104, 0.021192720159888268, 0.0017308612586930394, -0.03423156961798668, 0.06339451670646667, 0.04925379157066345, -0.037059713155031204, 0.07448671758174896, 0.05619560182094574, 0.04073262959718704, 0.01672094687819481, -0.059905245900154114, -0.028703831136226654, 0.010210704058408737, 0.021982397884130478, 0.01893387734889984, -0.02857528068125248, 0.023598479107022285, 0.01774018071591854, -0.0012889637146145105, -0.005311953369528055, 0.037757568061351776, 0.04179777577519417, -0.004012659657746553, -0.02626134268939495, 0.04767443984746933, 0.046609293669462204, -0.05828916281461716, 0.05164118856191635, 0.052412498742341995, -0.008420158177614212, 0.01767590455710888, 0.08051030337810516, -0.026683729141950607, 0.033001143485307693, -0.056232329457998276, -0.04495648294687271, -0.047086771577596664, 0.021376365795731544, 0.025104375556111336, -0.0069877211935818195, -0.07206259667873383, 0.006358734332025051, 0.06310068070888519, -0.10497191548347473, 0.011064657010138035, 0.0007150706951506436, -0.04925379157066345, -0.0663328468799591, 0.021468188613653183, -0.061007119715213776, -0.019062429666519165, 0.025453301146626472, -0.0345621332526207, -0.0318625383079052, 0.0014657226856797934, -0.04840902239084244, -0.014599837362766266, -0.04003477469086647, 0.025251291692256927, -0.02372703142464161, 0.022790437564253807, -0.06537789106369019, 0.008429340086877346, 0.006262320093810558, 0.016996415331959724, 0.014508014544844627, -0.015775170177221298, 0.015462973155081272, 0.02380049042403698, 0.014232546091079712, -0.009085874073207378, -0.020164303481578827, -0.02633480168879032, -0.020513230934739113, -0.014654931612312794, 0.019595002755522728, -0.030705571174621582, -0.014113176614046097, -0.005757294595241547, 0.03318478912115097, -0.01269910391420126, -0.024737084284424782, 0.042936377227306366, 0.014508014544844627, 0.0002588257484603673, 0.023984136059880257, -0.014021353796124458, -0.017795274034142494, 0.02824471704661846, -0.04583797976374626, -0.05083314701914787, 0.05197174847126007, 0.004462591838091612, -0.025269655510783195, -0.0034525401424616575, -0.0033010325860232115, 0.023176094517111778, -0.030117904767394066, -0.030613748356699944, 0.06240282952785492, 0.03557218238711357, 0.014737571589648724, 0.08080413192510605, -0.034653954207897186, -0.009173105470836163, 0.03606802597641945, -0.008163053542375565, 0.01241445355117321, -0.052889976650476456, -0.03208291530609131, 0.011321760714054108, -0.04065917059779167, 0.01933789812028408, 0.013837708160281181, -0.013993807137012482, 0.04873958230018616, 0.0001279064017580822, -0.04958435520529747, -0.03579255938529968, 0.038088131695985794, 0.0393369197845459, -0.006689296569675207, 0.06317414343357086, 0.026940831914544106, -0.033552080392837524, 0.0170239619910717, 0.02499418705701828, -0.06493713706731796, -0.020825428888201714, -0.033239882439374924, 0.006721434649080038, -0.012735833413898945, -0.02260679192841053, 0.0005457722581923008, -0.0027133659459650517, 0.0002909637405537069, 0.05740766227245331, 0.09145558625459671, 0.011771692894399166, -0.002101596212014556, -0.059501226991415024, -0.007465200033038855, 0.014948764815926552, -0.03439684957265854, -0.02036631479859352, 0.0038932899478822947, -0.03333170339465141, 0.032266560941934586, -0.01853903941810131, 0.004099891521036625, -0.016289379447698593, -0.011110568419098854, 0.08866417407989502, -0.05230231210589409, -0.01448046788573265, 0.026775551959872246, -0.009255746379494667, -0.0394471101462841, 0.03237674757838249, 0.018667591735720634, 0.04157739877700806, 0.0324869342148304, -0.02124781347811222, 0.02108253352344036, 0.002352961339056492, 0.034507036209106445, -0.01493040006607771, -0.04785808548331261, 0.004728878382593393, 0.02038467861711979, -0.07823309302330017, -0.005844525992870331, 0.03650877624750137, -0.05046585574746132, -0.011845150962471962, 0.03401119261980057, 0.06710416078567505, 0.005325727164745331, 0.049143604934215546, -0.040879543870687485, -0.0011667244834825397, 0.008966503664851189, -0.06464330852031708, 0.05450605973601341, 0.002233591629192233, 0.03988785669207573, -0.06703069806098938, 0.050576042383909225, 0.005876664072275162, 0.025985874235630035, 0.013938712887465954, -0.04425862804055214, 0.03210127726197243, 0.000806893571279943, -0.019686825573444366, -0.01719842478632927, 0.01839212328195572, -0.05340418592095375, 0.006643385160714388, -0.032046183943748474, 0.020017387345433235, 0.02157837711274624, 0.060603100806474686, -0.05935430899262428, 0.004903341643512249, 0.0464991070330143, 0.0056471070274710655, -0.03573746606707573, -0.009797501377761364, -0.0046324641443789005, 0.03335006907582283, -0.10005021095275879, -0.08095104992389679, 0.043891336768865585, 0.009751589968800545, 0.029805706813931465, -0.0057894326746463776, -0.025838958099484444, -0.02578386478126049, -0.02635316550731659, 0.006611247081309557, -0.11349307745695114, -0.030760664492845535, -0.012396088801324368, 0.014783482998609543, 0.04337712749838829, -0.005559875164180994, -0.03285422548651695, -0.0063036405481398106, -0.02840999886393547, 0.000024013834263314493, -0.05380820855498314, 0.05116370692849159, 0.008695626631379128, -0.02203749120235443, 0.07536821812391281, -0.07669046521186829, 0.04440554231405258, -0.026059333235025406, -0.06464330852031708, 0.04025515168905258, 0.030613748356699944, -0.02857528068125248, -0.01569253019988537, -0.012322630733251572, 0.00915474072098732, -0.0229924488812685, 0.04840902239084244, 0.028116164728999138, -0.006588291376829147, 0.010118881240487099, 0.05505699664354324, 0.06541461497545242, -0.03794121369719505, -0.07228296995162964, 0.04161413013935089, 0.057040371000766754, -0.03360717371106148, -0.01784118451178074, -0.04414844140410423, 0.009503668174147606, 0.031091226264834404, 0.009485303424298763, 0.030228091403841972, 0.10107862204313278, -0.004072344861924648, -0.003431880148127675, 0.035921111702919006, -0.022790437564253807, -0.04157739877700806, 0.006138359662145376, -0.004145802929997444, 0.024057595059275627, 0.06732453405857086, 0.018346210941672325, -0.03619657829403877, -0.014067265205085278, 0.007924314588308334, -0.023837219923734665, 0.03406628966331482, 0.10173974931240082, -0.013865254819393158, -0.004515389911830425, -0.011881880462169647, -0.03893290087580681, -0.013672426342964172, 0.04840902239084244, 0.032266560941934586, 0.02571040578186512, 0.025526760146021843, -0.004728878382593393, 0.03509470447897911, 0.004285832867026329, -0.007896767929196358, -0.06787547469139099, -0.012377724051475525, -0.022386418655514717, 0.04671948030591011, -0.022625157609581947, 0.03127487376332283, 0.016978049650788307, -0.04091627523303032, 0.03661896288394928, -0.011294214054942131, -0.07573550939559937, 0.02060505375266075, 0.013277588412165642, -0.03860233724117279, 0.04550741985440254, -0.03177071735262871, 0.011881880462169647, 0.054395873099565506, -0.06721434742212296, -0.012607281096279621, -0.011202391237020493, 0.006124585866928101, 0.012313447892665863, 0.025214562192559242, -0.0549100823700428, 0.040328606963157654, 0.05402858182787895, 0.046131815761327744, 0.005004346836358309, 0.025214562192559242, 0.008236512541770935, -0.011119750328361988, -0.018291117623448372, -0.03351534903049469, 0.03557218238711357, -0.0002852248144336045, 0.0954957902431488, -0.06835295259952545, 0.015123228542506695, 0.034103017300367355, -0.017060691490769386, -0.03296441212296486, 0.00624854676425457, -0.02984243631362915, -0.003716530976817012, 0.005523146130144596, -0.032578758895397186, 0.044221896678209305, -0.03318478912115097, -0.03175235167145729, -0.0017962850397452712, 0.025269655510783195, -0.059023745357990265, 0.012350177392363548, -0.04936397820711136, 0.012772561982274055, -0.0632108673453331, -0.06890388578176498, -0.014048900455236435, 0.022312959656119347, 0.0014508015010505915, 0.05142081156373024, 0.049143604934215546, 0.04168758541345596, 0.014535562135279179, 0.002513651270419359, -0.048188645392656326, 0.00887009035795927, -0.07617626339197159, 0.011018745601177216, 0.030779028311371803, 0.04719695821404457, 0.004368473310023546, 0.008163053542375565, -0.01886041834950447, -0.029622061178088188, -0.01935626193881035, 0.02482890710234642, 0.0012545300414785743, -0.10739603638648987, -0.04998837411403656, -0.004625577479600906, -0.034341756254434586, 0.031311601400375366, -0.023543385788798332, 0.04098973423242569, -0.024939093738794327, 0.027657050639390945, -0.003461722517386079, 0.01728106662631035, 0.02912621758878231, -0.05913393199443817, -0.06743472069501877, 0.007405515294522047, -0.028685467317700386, -0.024571802467107773, 0.012313447892665863, 0.06846313923597336, 0.004793154075741768, 0.017648357897996902, -0.06526770442724228, -0.03312969580292702, 0.07371540367603302, 0.05468970537185669, -0.058693185448646545, 0.025049280375242233, 0.028630373999476433, -0.08388938009738922, 0.032193101942539215, 0.03340516239404678, -0.009531214833259583, -0.007460609078407288, -0.009379707276821136, -0.04752752184867859, -0.01078000571578741, 0.002486104378476739, 0.05277979001402855, 0.017446346580982208, 0.026885738596320152, -0.03652714192867279, -0.004053980112075806, 0.015352785587310791, -0.001527703134343028, -0.05612214282155037, -0.056305788457393646, 0.037684109061956406, 0.0021796454675495625, 0.045654334127902985, -0.02093561552464962, 0.05505699664354324, 0.04385460540652275, 0.0032046183478087187, 0.08366900682449341, -0.0010628497693687677, -0.03941037878394127, -0.010926922783255577, -0.008553300984203815, 0.020549960434436798, 0.0030393372289836407, 0.0034594270400702953, 0.012239989824593067, 0.010128063149750233, 0.015628254041075706, -0.0163995660841465, -0.026775551959872246, -0.02124781347811222, -0.0072035049088299274, -0.012037979438900948, 0.027895789593458176, -0.013984624296426773, -0.007061179261654615, -0.07345830649137497, 0.01974191889166832, -0.00894813984632492, -0.026224613189697266, -0.024314697831869125, 0.005605786573141813, 0.014260092750191689, 0.016050638630986214 ]
719,786
ibm_platform_services.iam_policy_management_v1
get_policy_assignment
Retrieve a policy assignment. Retrieve a policy template assignment by providing a policy assignment ID. :param str assignment_id: The policy template assignment ID. :param str version: specify version of response body format. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse with `dict` result representing a `GetPolicyAssignmentResponse` object
def get_policy_assignment( self, assignment_id: str, version: str, **kwargs, ) -> DetailedResponse: """ Retrieve a policy assignment. Retrieve a policy template assignment by providing a policy assignment ID. :param str assignment_id: The policy template assignment ID. :param str version: specify version of response body format. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse with `dict` result representing a `GetPolicyAssignmentResponse` object """ if not assignment_id: raise ValueError('assignment_id must be provided') if not version: raise ValueError('version must be provided') headers = {} sdk_headers = get_sdk_headers( service_name=self.DEFAULT_SERVICE_NAME, service_version='V1', operation_id='get_policy_assignment', ) headers.update(sdk_headers) params = { 'version': version, } if 'headers' in kwargs: headers.update(kwargs.get('headers')) del kwargs['headers'] headers['Accept'] = 'application/json' path_param_keys = ['assignment_id'] path_param_values = self.encode_path_vars(assignment_id) path_param_dict = dict(zip(path_param_keys, path_param_values)) url = '/v1/policy_assignments/{assignment_id}'.format(**path_param_dict) request = self.prepare_request( method='GET', url=url, headers=headers, params=params, ) response = self.send(request, **kwargs) return response
(self, assignment_id: str, version: str, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
[ 0.016892170533537865, 0.04300788789987564, -0.06378737837076187, -0.03551596403121948, 0.046965885907411575, 0.01940125785768032, -0.0390145517885685, 0.010531101375818253, 0.007668620906770229, -0.012404082342982292, -0.003885110607370734, -0.016671299934387207, -0.003374899970367551, 0.012483595870435238, -0.0044947131536901, -0.02528524585068226, 0.04456281661987305, 0.017537111416459084, -0.00698392279446125, -0.03214106336236, 0.05735563114285469, 0.008136866614222527, 0.023005863651633263, 0.05551799014210701, -0.010495762340724468, -0.01844709739089012, 0.05413975566625595, -0.029402270913124084, 0.011485261842608452, 0.04162965714931488, 0.017537111416459084, 0.043290600180625916, -0.039049889892339706, 0.08276456594467163, -0.008295892737805843, 0.027529288083314896, -0.030674483627080917, 0.005561517085880041, -0.14757677912712097, 0.010566440410912037, -0.029631976038217545, 0.04117024689912796, 0.01672430895268917, -0.03060380555689335, -0.06364601850509644, -0.001331848674453795, -0.005345064215362072, -0.060854218900203705, 0.03381967917084694, -0.034261420369148254, 0.04989904537796974, 0.01786400005221367, -0.0021612171549350023, -0.008658120408654213, -0.027953360229730606, 0.048838868737220764, 0.018959516659379005, 0.04124092310667038, 0.033112894743680954, -0.018694471567869186, 0.0064184945076704025, -0.0026349842082709074, -0.04452747479081154, -0.024896513670682907, -0.041382282972335815, -0.042301103472709656, -0.02873082458972931, -0.0336783230304718, -0.011927003040909767, 0.001967955380678177, -0.017121875658631325, 0.013093198649585247, -0.037247586995363235, -0.032317761331796646, 0.02479049563407898, 0.009303062222898006, -0.031663984060287476, -0.03496820479631424, 0.0547051839530468, -0.009347235783934593, -0.05191338434815407, -0.0443861186504364, 0.03026808239519596, -0.009205878712236881, 0.024083711206912994, 0.0007112027378752828, -0.026274744421243668, -0.048414796590805054, 0.00014149511116556823, 0.022970523685216904, 0.04912158101797104, 0.05078252777457237, -0.02938459999859333, 0.027193566784262657, 0.012324569746851921, -0.0024936271365731955, 0.01096400711685419, -0.0371062308549881, -0.033837348222732544, 0.03654080256819725, -0.05541197210550308, -0.03240610659122467, -0.04226576164364815, 0.013322903774678707, 0.01752827689051628, -0.04488087072968483, 0.03618741035461426, 0.018111374229192734, 0.0250555407255888, -0.028748493641614914, 0.025302914902567863, 0.040110066533088684, -0.0443861186504364, 0.014489099383354187, 0.038237087428569794, 0.042336441576480865, -0.04908624291419983, -0.08933766931295395, 0.002946411492303014, -0.04025142639875412, -0.002380983205512166, -0.005747048184275627, 0.0003810014750342816, 0.068840891122818, -0.0028160978108644485, 0.010610614903271198, -0.06283321976661682, -0.055270612239837646, 0.03390802815556526, -0.046541813760995865, 0.015858495607972145, -0.0004061254730913788, -0.045128244906663895, 0.009727133437991142, -0.01794351264834404, -0.03247678652405739, -0.013720470480620861, 0.06516560912132263, 0.021026864647865295, -0.00436219060793519, 0.02712288685142994, -0.01648576743900776, 0.03463248163461685, 0.01794351264834404, -0.02307654172182083, -0.07711028307676315, 0.04866217076778412, 0.04219508543610573, -0.004211999010294676, 0.007973422296345234, 0.027652977034449577, -0.009868490509688854, 0.017457596957683563, -0.030285751447081566, -0.007620029617100954, 0.011617784388363361, 0.02054978348314762, -0.023694979026913643, 0.046047065407037735, -0.027918020263314247, -0.0049740020185709, -0.03647012263536453, 0.020920846611261368, -0.0016874499851837754, 0.059087254106998444, -0.02311187982559204, 0.0067895567044615746, -0.04194771125912666, 0.02364197000861168, -0.04731927812099457, -0.004929827526211739, 0.026115717366337776, -0.03245911747217178, -0.04311390593647957, -0.02957896701991558, -0.0028381848242133856, 0.061843715608119965, 0.031504955142736435, 0.023500612005591393, 0.01442725583910942, 0.004110398702323437, -0.053963061422109604, -0.03503888472914696, 0.03427908942103386, 0.034791506826877594, 0.015399085357785225, 0.0241013802587986, 0.08113895356655121, -0.020143382251262665, 0.021945685148239136, -0.02797102928161621, -0.06064218282699585, 0.01947193592786789, 0.048308778554201126, 0.008441667072474957, -0.048768188804388046, 0.04576434940099716, -0.03134592995047569, -0.019153881818056107, 0.01794351264834404, 0.0038563974667340517, -0.04615308344364166, 0.008119196631014347, 0.056684184819459915, -0.0012887788470834494, 0.031239911913871765, 0.08022013306617737, -0.031045546755194664, -0.017572451382875443, 0.007275471463799477, -0.007553768344223499, 0.0033240998163819313, 0.013596783392131329, 0.0004883997025899589, -0.04523426294326782, 0.02567397803068161, 0.051559992134571075, -0.041452959179878235, 0.04088753089308739, -0.03986269235610962, -0.06361068040132523, -0.006621695123612881, -0.0019039029721170664, -0.0016598411602899432, 0.011414582841098309, -0.05965268239378929, -0.012209717184305191, 0.0045278435572981834, -0.08509695529937744, 0.01927757076919079, 0.07534331828355789, 0.025143887847661972, 0.06209109351038933, -0.02222839929163456, 0.006727713160216808, -0.035834018141031265, -0.052973560988903046, -0.01717488467693329, -0.018641462549567223, 0.04498688504099846, 0.051100581884384155, 0.02662813849747181, 0.044739510864019394, 0.029561296105384827, -0.057143595069646835, 0.017581285908818245, -0.04873285070061684, 0.05237279459834099, 0.06300991028547287, -0.06442348659038544, 0.023924684152007103, -0.04339661821722984, -0.04495154693722725, 0.030921857804059982, -0.029861681163311005, 0.005119776353240013, -0.014992684125900269, -0.03427908942103386, 0.04481019079685211, -0.008022014051675797, -0.015602285973727703, 0.03546295315027237, -0.06785139441490173, -0.06424678862094879, 0.009007095359265804, -0.07057251781225204, -0.03086884878575802, 0.03390802815556526, 0.015160545706748962, 0.005614526104182005, 0.02781200222671032, 0.04541095718741417, 0.03237076848745346, 0.005128611344844103, -0.030939528718590736, -0.020214060321450233, 0.07103192806243896, 0.0570022389292717, -0.026486780494451523, 0.010575275868177414, 0.0006068414659239352, -0.0007774638943374157, 0.03717690706253052, 0.06806343048810959, 0.001787946093827486, 0.012315734289586544, 0.008985009044408798, 0.032688822597265244, 0.06802809238433838, -0.003739336272701621, -0.01671547256410122, 0.04353797808289528, -0.002897819969803095, -0.014727639965713024, -0.012236220762133598, 0.02399536222219467, 0.002765297656878829, -0.027758995071053505, 0.03228241950273514, 0.050287775695323944, 0.039120569825172424, -0.007474254816770554, 0.029720323160290718, -0.010575275868177414, -0.03753030300140381, 0.01740458980202675, 0.034226078540086746, 0.042760513722896576, 0.014524438418447971, -0.027599968016147614, 0.00935607124119997, -0.020567452535033226, -0.008313562721014023, 0.05721427500247955, -0.009647619910538197, 0.022352086380124092, 0.0027542540337890387, 0.01809370517730713, 0.05057049170136452, 0.02643377147614956, -0.04120558500289917, 0.047920044511556625, 0.07089056819677353, 0.039120569825172424, 0.002052990486845374, -0.03654080256819725, 0.01390600111335516, 0.03214106336236, 0.029702654108405113, 0.06562501937150955, -0.052478812634944916, 0.02107987366616726, -0.030391769483685493, -0.016167715191841125, 0.01614120975136757, 0.012439422309398651, 0.00672329543158412, 0.006639364641159773, 0.02570931613445282, 0.020461436361074448, 0.03496820479631424, -0.03214106336236, 0.04300788789987564, 0.004598522093147039, 0.00019602249085437506, 0.008119196631014347, 0.010875659063458443, 0.03168165311217308, -0.02482583560049534, -0.09697094559669495, -0.07640349864959717, 0.023270906880497932, -0.0007354984991252422, 0.027935691177845, -0.008543267846107483, -0.02390701323747635, 0.03616974130272865, 0.030550796538591385, -0.07219812273979187, 0.02433108538389206, -0.04703656584024429, -0.02843043953180313, -0.046082403510808945, 0.008322397246956825, -0.03447345644235611, -0.026840172708034515, -0.00271670613437891, -0.02731725387275219, -0.023960022255778313, -0.04986370727419853, -0.05640146881341934, -0.015867330133914948, -0.023818666115403175, -0.033377937972545624, -0.052478812634944916, 0.03385501727461815, -0.07965470850467682, 0.028819171711802483, 0.019524944946169853, -0.03968599811196327, 0.06361068040132523, -0.036752838641405106, -0.027918020263314247, 0.04442145675420761, -0.009612280875444412, -0.021751318126916885, -0.00579563993960619, -0.03745962306857109, 0.014665795490145683, 0.05085320398211479, 0.018235061317682266, -0.005963501520454884, -0.01076964195817709, -0.027440940961241722, 0.015858495607972145, 0.003631109604611993, -0.06304525583982468, 0.03184067830443382, -0.013799984008073807, 0.0009519514860585332, 0.04226576164364815, 0.029631976038217545, 0.004393112845718861, -0.0034014044795185328, -0.006829313468188047, -0.041912369430065155, 0.09951537847518921, -0.021786658093333244, 0.0038497713394463062, -0.02517922781407833, 0.011829819530248642, 0.01652994193136692, -0.03507422283291817, -0.02238742634654045, 0.0344381146132946, 0.059016574174165726, 0.01531957183033228, 0.01741342432796955, 0.004388695117086172, -0.05283220484852791, 0.02074415050446987, -0.006824895739555359, 0.011944672092795372, -0.010372075252234936, -0.01170613244175911, -0.03378434106707573, -0.02150394394993782, 0.01547859888523817, 0.02265246957540512, -0.05459916591644287, 0.01241291780024767, -0.0014146750327199697, 0.005883987993001938, -0.03489752486348152, 0.02551495097577572, 0.021662971004843712, 0.021486274898052216, 0.05187804251909256, -0.011423418298363686, -0.03535693511366844, 0.023129550740122795, 0.030285751447081566, 0.002566514303907752, -0.01993134617805481, -0.043184585869312286, 0.02885451167821884, -0.08707595616579056, -0.025921352207660675, -0.07435381412506104, -0.003573683323338628, 0.012024185620248318, 0.05594205856323242, 0.06739198416471481, 0.02731725387275219, -0.049722347408533096, -0.05216075852513313, -0.034332096576690674, -0.027953360229730606, -0.012130203656852245, -0.02498486265540123, 0.008234049193561077, -0.05735563114285469, 0.0650595873594284, 0.029472948983311653, -0.010027516633272171, 0.004280468914657831, -0.004801722709089518, 0.0703958198428154, -0.04728394001722336, -0.0026394014712423086, 0.014391916804015636, -0.011061190627515316, -0.055376630276441574, 0.03643478453159332, -0.02291751466691494, 0.020055033266544342, 0.024083711206912994, -0.00849467609077692, 0.026027370244264603, 0.024737486615777016, -0.031275250017642975, 0.03141660988330841, -0.022564122453331947, 0.042866531759500504, -0.019613293930888176, -0.06707392632961273, 0.006281554698944092, -0.009903829544782639, -0.07244549691677094, 0.037212248891592026, 0.005853066220879555, -0.004011007025837898, -0.012960676103830338, 0.05459916591644287, -0.04526960104703903, -0.026239406317472458, 0.007425663527101278, -0.01871214248239994, 0.02570931613445282, -0.0037879275623708963, 0.024472441524267197, -0.012351074256002903, 0.060076754540205, -0.008141283877193928, 0.08389542251825333, 0.03781301528215408, -0.06587239354848862, 0.010681293904781342, 0.014992684125900269, 0.01729857176542282, 0.002283800160512328, 0.0010458214674144983, -0.025956692174077034, 0.018871167674660683, 0.019719310104846954, 0.09110462665557861, 0.044668834656476974, 0.013782314024865627, -0.0049740020185709, 0.003999963402748108, 0.04162965714931488, 0.0359753742814064, 0.010831485502421856, -0.007734882179647684, -0.008039683103561401, 0.016936343163251877, -0.0627271980047226, -0.05360966920852661, -0.0015416755340993404, 0.01287232805043459, -0.01356144342571497, -0.010725467465817928, -0.034791506826877594, -0.009850820526480675, 0.010857990011572838, 0.05880454182624817, -0.08940834552049637, -0.010248387232422829, -0.0031739079859107733, 0.026274744421243668, 0.007553768344223499, -0.0025422184262424707, -0.03397870436310768, -0.030550796538591385, -0.05007573962211609, -0.003845354076474905, -0.012112533673644066, 0.07060785591602325, 0.015982182696461678, -0.02770598605275154, 0.028518788516521454, -0.05223143473267555, 0.042760513722896576, -0.0031231078319251537, -0.048344116657972336, 0.02616872638463974, 0.016635959967970848, -0.003584726946428418, -0.015637625008821487, -0.0009066730854101479, -0.0065598515793681145, -0.022440435364842415, 0.0031739079859107733, 0.0002981750585604459, -0.018164383247494698, 0.03415540233254433, 0.0531855970621109, 0.04703656584024429, -0.03608139231801033, -0.03523324802517891, -0.004253964405506849, 0.028342092409729958, -0.017766816541552544, -0.023200228810310364, -0.03848446160554886, -0.02869548462331295, 0.007469837553799152, 0.005830978974699974, 0.036099061369895935, 0.10269591212272644, 0.017925843596458435, -0.009152869693934917, 0.050676509737968445, -0.014056193642318249, -0.038661159574985504, 0.05329161509871483, 0.026221735402941704, 0.0029309503734111786, 0.05078252777457237, 0.025921352207660675, -0.0417003333568573, -0.029508287087082863, 0.03588702529668808, -0.01851777546107769, 0.01825273223221302, 0.06414076685905457, -0.05608341842889786, -0.003703997004777193, -0.009055687114596367, -0.06166702136397362, -0.029137225821614265, 0.06912360340356827, -0.01408269815146923, 0.024136720225214958, 0.0700070858001709, -0.026115717366337776, 0.021256569772958755, 0.02551495097577572, -0.02376565709710121, -0.05785037949681282, -0.012571943923830986, -0.02058512344956398, -0.005618943367153406, -0.10799679905176163, 0.028342092409729958, 0.00828264094889164, -0.04583502933382988, 0.0684875026345253, -0.08750002831220627, -0.038661159574985504, 0.023270906880497932, 0.07711028307676315, -0.020708810538053513, 0.0730816051363945, -0.022864505648612976, 0.030179733410477638, 0.055270612239837646, -0.06361068040132523, 0.004894488491117954, -0.023235568776726723, 0.00496516702696681, -0.003454413264989853, -0.0030678901821374893, -0.0018519985023885965, 0.05732028931379318, -0.0068602352403104305, 0.05523527413606644, -0.005610108841210604, 0.06283321976661682, 0.012086029164493084, -0.022087041288614273, -0.049757689237594604, -0.00021065515466034412, 0.005216959398239851, 0.026963859796524048, 0.12997782230377197, -0.025355923920869827, -0.015831992030143738, 0.011317400261759758, 0.0025422184262424707, -0.03222941234707832, -0.014294733293354511, 0.01801419071853161, -0.03161097317934036, -0.04431544244289398, 0.003260047407820821, -0.01490433607250452, -0.010478092357516289, -0.06498891115188599, -0.0008387553971260786, -0.01924223080277443, -0.015699468553066254, 0.0048989057540893555, 0.003805597312748432, 0.06756868213415146, 0.0032534212805330753, -0.08113895356655121, 0.004753131419420242, -0.02471981756389141, 0.07774638384580612, 0.02215772122144699, -0.0013219094835221767, 0.026681145653128624, 0.007377071771770716, -0.007770221214741468, -0.056648846715688705, 0.003916032612323761, -0.04845013469457626, 0.013155042193830013, 0.029826341196894646, 0.031734660267829895, -0.05035845562815666, 0.005654282867908478, -0.025497281923890114, -0.0455169752240181, -0.021185889840126038, -0.009727133437991142, -0.0067321304231882095, -0.0619850754737854, -0.035374607890844345, 0.02226373739540577, 0.0015151710249483585, -0.006082771345973015, -0.02931392192840576, 0.004576434846967459, -0.057638343423604965, -0.0006996070733293891, -0.006679121404886246, 0.013499599881470203, 0.009033599868416786, -0.031964365392923355, -0.05375102534890175, 0.01828807033598423, -0.003198203630745411, -0.02747628092765808, 0.01461278647184372, -0.0041302768513560295, 0.017245562747120857, -0.03996871039271355, -0.06880555301904678, -0.030020708218216896, 0.06053616479039192, 0.005208124406635761, -0.040004048496484756, 0.04060481861233711, 0.025956692174077034, -0.10538169741630554, 0.012315734289586544, -0.019595623016357422, 0.04852081462740898, -0.037636321038007736, 0.014992684125900269, -0.004196538124233484, -0.01736924983561039, 0.03214106336236, 0.02130957879126072, 0.01501918863505125, -0.004823809955269098, -0.025338254868984222, 0.026151057332754135, 0.03037410043179989, 0.06576637923717499, -0.021238898858428, -0.061384305357933044, 0.02616872638463974, 0.0046868701465427876, 0.04251313954591751, 0.019083203747868538, 0.03922658786177635, 0.023200228810310364, 0.04396204650402069, 0.007195958402007818, -0.01809370517730713, -0.055270612239837646, -0.026186397299170494, 0.012695631943643093, -0.008401910774409771, 0.014877831563353539, -0.01373814046382904, -0.022829165682196617, 0.014338907785713673, 0.013932505622506142, 0.0172102227807045, -0.004251755774021149, 0.006038597319275141, -0.06997174769639969, 0.01285465806722641, 0.022246068343520164, -0.007456585299223661, -0.012713300995528698, -0.09972741454839706, 0.0508885458111763, -0.007094357628375292, 0.013234555721282959, -0.08269388228654861, 0.023129550740122795, 0.046082403510808945, 0.017775651067495346 ]
719,787
ibm_platform_services.iam_policy_management_v1
get_policy_template
Retrieve latest version of a policy template. Retrieve the latest version of a policy template by providing a policy template ID. :param str policy_template_id: The policy template ID. :param str state: (optional) The policy template state. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse with `dict` result representing a `PolicyTemplate` object
def get_policy_template( self, policy_template_id: str, *, state: Optional[str] = None, **kwargs, ) -> DetailedResponse: """ Retrieve latest version of a policy template. Retrieve the latest version of a policy template by providing a policy template ID. :param str policy_template_id: The policy template ID. :param str state: (optional) The policy template state. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse with `dict` result representing a `PolicyTemplate` object """ if not policy_template_id: raise ValueError('policy_template_id must be provided') headers = {} sdk_headers = get_sdk_headers( service_name=self.DEFAULT_SERVICE_NAME, service_version='V1', operation_id='get_policy_template', ) headers.update(sdk_headers) params = { 'state': state, } if 'headers' in kwargs: headers.update(kwargs.get('headers')) del kwargs['headers'] headers['Accept'] = 'application/json' path_param_keys = ['policy_template_id'] path_param_values = self.encode_path_vars(policy_template_id) path_param_dict = dict(zip(path_param_keys, path_param_values)) url = '/v1/policy_templates/{policy_template_id}'.format(**path_param_dict) request = self.prepare_request( method='GET', url=url, headers=headers, params=params, ) response = self.send(request, **kwargs) return response
(self, policy_template_id: str, *, state: Optional[str] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
[ 0.052177660167217255, -0.046537842601537704, -0.005284995771944523, -0.046463143080472946, 0.0004747508792206645, -0.02250324934720993, -0.020206237211823463, 0.026163529604673386, 0.01212934497743845, -0.020635761320590973, 0.018264049664139748, 0.011671810410916805, -0.07496103644371033, -0.020523712038993835, -0.05453069880604744, 0.02722799964249134, 0.05184151232242584, 0.022297825664281845, -0.015854986384510994, -0.014332982711493969, 0.07492368668317795, -0.00953353475779295, -0.03636002168059349, 0.035669051110744476, 0.04986197501420975, -0.04750893637537956, -0.015304077416658401, -0.056024689227342606, 0.029637061059474945, -0.030533455312252045, -0.021494805812835693, 0.04026307538151741, 0.032606370747089386, 0.0807502493262291, -0.05501624569296837, 0.030962977558374405, 0.01641523465514183, 0.0049161664210259914, -0.050907768309116364, 0.012624230235815048, -0.01758241467177868, 0.0021219351328909397, 0.019197793677449226, -0.018086636438965797, 0.0025141078513115644, 0.0028549248818308115, -0.033969637006521225, -0.06715492904186249, -0.039628129452466965, 0.007666044868528843, 0.05292465537786484, 0.030514780431985855, -0.02687317691743374, -0.011036863550543785, -0.013996834866702557, 0.0019200127571821213, 0.01659264601767063, -0.023082172498106956, -0.004878816660493612, -0.028479216620326042, -0.02502436190843582, 0.024408088997006416, -0.04455830156803131, -0.032625045627355576, -0.03839558735489845, -0.06689348071813583, -0.025360509753227234, 0.023138197138905525, -0.025846056640148163, -0.013445925898849964, -0.019963463768363, 0.007007754873484373, -0.0005868002772331238, -0.054269250482320786, 0.0183480866253376, -0.0368829220533371, -0.016891444101929665, -0.05236440896987915, -0.02724667452275753, 0.021924328058958054, -0.08836960792541504, -0.0572945810854435, -0.004888154100626707, 0.01777850091457367, -0.024557488039135933, -0.0030486767645925283, 0.058676525950431824, -0.057817477732896805, 0.037461843341588974, 0.028703315183520317, 0.017675789073109627, 0.005831236485391855, -0.04209321737289429, 0.010504629462957382, 0.04896557703614235, 0.014136896468698978, 0.013707374222576618, 0.009720283560454845, 0.017461027950048447, 0.010784752666950226, -0.059050023555755615, -0.036920271813869476, -0.026649076491594315, 0.0018873317167162895, 0.0433257594704628, 0.014454369433224201, 0.012904353439807892, 0.03367083892226219, 0.03174732252955437, -0.027041250839829445, 0.023287596181035042, -0.011419699527323246, -0.03932933136820793, 0.0021709566935896873, 0.08478403091430664, 0.03460458293557167, -0.011755847372114658, 0.0028642623219639063, -0.029618386179208755, -0.012418806552886963, -0.0005619976436719298, -0.04474505037069321, 0.011849221773445606, 0.007768756709992886, -0.018684234470129013, 0.02898343838751316, -0.004509987309575081, -0.02381049282848835, 0.004400272388011217, 0.03234492242336273, -0.08739851415157318, 0.018945682793855667, -0.05053427070379257, 0.07649237662553787, -0.02599545568227768, -0.014379669912159443, -0.00409913994371891, 0.004699070937931538, 0.024837613105773926, 0.05755602940917015, 0.030981652438640594, 0.014146233908832073, 0.041271522641181946, 0.043886005878448486, -0.002448745770379901, -0.009794983081519604, 0.03684557229280472, 0.03464193269610405, 0.002852590521797538, 0.026705101132392883, 0.03764859214425087, -0.04496914893388748, -0.026312928646802902, -0.051281265914440155, 0.011130237951874733, -0.009701608680188656, 0.05273790657520294, -0.025229785591363907, 0.0032120821997523308, -0.013287188485264778, 0.032662395387887955, 0.002539785811677575, 0.02859126590192318, -0.026593051850795746, -0.019309842959046364, -0.025341834872961044, -0.002593476325273514, -0.007427940145134926, -0.00002963545557577163, -0.03327866643667221, -0.017218254506587982, 0.047807734459638596, -0.0345485582947731, -0.013259176164865494, -0.021289382129907608, 0.032251548022031784, 0.044782400131225586, 0.02982380986213684, -0.027788246050477028, -0.014136896468698978, 0.009580221958458424, -0.04467035084962845, -0.07865866273641586, 0.06368139386177063, -0.012017295695841312, 0.03411903604865074, 0.021476130932569504, 0.08119844645261765, -0.03585579991340637, 0.04728483781218529, -0.06095486134290695, -0.060431964695453644, 0.019076406955718994, 0.015136003494262695, -0.017442353069782257, -0.05665963515639305, 0.0290021151304245, -0.018301399424672127, 0.002560795284807682, 0.050870418548583984, 0.015051966533064842, -0.04960052669048309, -0.002151114633306861, 0.01820802316069603, 0.00836168508976698, 0.03161659836769104, -0.019141769036650658, -0.053522251546382904, -0.0019200127571821213, -0.005882592406123877, 0.0015768615994602442, -0.031336475163698196, -0.04556674882769585, 0.007339234463870525, -0.042578764259815216, 0.02592075616121292, 0.004353585187345743, 0.003835356794297695, -0.0016118769999593496, -0.06405489146709442, 0.0194218922406435, -0.005555781535804272, 0.007717400789260864, 0.04194381833076477, -0.041346222162246704, 0.05053427070379257, -0.010644691064953804, 0.05016077309846878, -0.052551157772541046, 0.004521659109741449, 0.047359537333250046, -0.01057932898402214, 0.08739851415157318, -0.014921242371201515, 0.0039100563153624535, -0.09135759621858597, -0.008777201175689697, -0.053895752876996994, 0.013053752481937408, 0.039926927536726, 0.03382023796439171, 0.018945682793855667, 0.0563981868326664, 0.023885192349553108, -0.07223449647426605, -0.006097353529185057, -0.04896557703614235, 0.024015916511416435, 0.05408250167965889, -0.04907762631773949, 0.004934841301292181, -0.029151514172554016, 0.0012465493055060506, 0.011905246414244175, 0.01760108955204487, -0.02386651746928692, 0.04093537479639053, -0.06315849721431732, 0.01842278614640236, 0.016788732260465622, -0.01803061179816723, 0.023511694744229317, -0.07451283931732178, -0.025323159992694855, -0.018264049664139748, -0.05770542845129967, -0.016125774011015892, 0.025883406400680542, 0.013819423504173756, 0.030514780431985855, 0.0943455770611763, 0.036117248237133026, -0.01607908494770527, -0.008651145733892918, -0.05333550274372101, -0.04933907464146614, 0.049114976078271866, 0.020635761320590973, -0.01600438542664051, -0.031448524445295334, -0.05150536447763443, 0.010009744204580784, 0.05972231924533844, 0.05199091136455536, 0.031093701720237732, -0.020505037158727646, -0.04545469954609871, -0.020673111081123352, 0.053484901785850525, 0.04097272455692291, 0.0038026757538318634, 0.046537842601537704, -0.009090005420148373, -0.018460135906934738, -0.06506334245204926, -0.07130075246095657, -0.02379181794822216, -0.05897532403469086, 0.05744398012757301, 0.004257876425981522, 0.005471744574606419, 0.0029156182426959276, -0.03630399703979492, -0.020150212571024895, -0.04556674882769585, 0.002661172766238451, -0.006755643989890814, -0.014239608310163021, 0.06812602281570435, 0.005817230325192213, 0.012017295695841312, -0.0190670695155859, -0.013576650060713291, 0.0032237539999186993, -0.03477265685796738, 0.028217768296599388, 0.023250246420502663, -0.05311140418052673, 0.03858233615756035, 0.03368951380252838, -0.0780610665678978, 0.08695031702518463, 0.010224506258964539, 0.04078597202897072, 0.002134774113073945, -0.04795713350176811, -0.03297986835241318, -0.008907925337553024, 0.03557567670941353, 0.034361809492111206, -0.005429726094007492, -0.008165598846971989, 0.024127965793013573, 0.019113756716251373, -0.007451283745467663, 0.00013955107715446502, 0.04799448326230049, -0.03680822253227234, -0.013100439682602882, 0.03510880470275879, 0.048704128712415695, -0.06061871349811554, 0.020523712038993835, 0.033596139401197433, 0.010140468366444111, 0.013642012141644955, 0.03492205590009689, -0.010261856019496918, 0.04986197501420975, -0.08881780505180359, -0.06648263335227966, -0.05292465537786484, 0.016265835613012314, 0.030944302678108215, -0.007236522156745195, -0.06155245751142502, 0.002775556407868862, 0.03839558735489845, -0.04635109379887581, 0.016116436570882797, -0.06853687018156052, -0.03850763663649559, -0.07873336225748062, 0.004418947268277407, -0.0290021151304245, -0.017731813713908195, 0.0375925675034523, -0.03075755387544632, -0.05232705920934677, 0.0007539989310316741, -0.059909068048000336, -0.05718253180384636, -0.04369925707578659, 0.023194221779704094, -0.008366353809833527, -0.012278744019567966, -0.06973206251859665, -0.010495292022824287, -0.039665479212999344, 0.00038108459557406604, 0.021980352699756622, -0.027601497247815132, 0.035669051110744476, 0.02864729054272175, -0.01659264601767063, -0.005042221862822771, -0.017180904746055603, -0.0009710945887491107, 0.011998620815575123, -0.029674410820007324, 0.004540333990007639, -0.010504629462957382, -0.013754061423242092, -0.000053799751185579225, 0.024370739236474037, 0.006475520320236683, 0.008385028690099716, 0.040860675275325775, 0.0597970187664032, 0.006830343510955572, 0.06383079290390015, 0.044408902525901794, -0.020579736679792404, 0.03116840310394764, -0.0307949036359787, -0.03589314967393875, 0.05721988156437874, 0.014781180769205093, -0.046126995235681534, -0.042578764259815216, 0.015042629092931747, 0.030047908425331116, -0.049899324774742126, -0.05195356160402298, 0.011130237951874733, 0.07910685986280441, -0.031355150043964386, 0.09307568520307541, -0.0281990934163332, 0.004234532825648785, 0.026985226199030876, 0.03367083892226219, 0.053895752876996994, -0.05744398012757301, -0.046911340206861496, 0.014379669912159443, -0.040076326578855515, -0.012232056818902493, 0.0013621002435684204, 0.03516482934355736, 0.033484090119600296, -0.010411255061626434, -0.029543686658143997, 0.008744520135223866, 0.056958433240652084, 0.04937642440199852, 0.016798069700598717, 0.0925527885556221, -0.005896598566323519, 0.005579125136137009, 0.031840696930885315, 0.02728402428328991, -0.01338990032672882, 0.008553102612495422, -0.016349872574210167, 0.020262261852622032, -0.037032321095466614, -0.05628613755106926, 0.02466953732073307, 0.004722414538264275, -0.010607341304421425, 0.03327866643667221, 0.04325105994939804, 0.007287878543138504, -0.03792871534824371, -0.05882592499256134, -0.011419699527323246, 0.035687725991010666, -0.01467846892774105, -0.017358316108584404, -0.021364081650972366, -0.010784752666950226, 0.05445599928498268, -0.017050180584192276, 0.01212934497743845, -0.10263723134994507, -0.028684640303254128, 0.039179932326078415, -0.03495940566062927, 0.02603280544281006, 0.010747402906417847, 0.0009588391985744238, -0.03344674035906792, 0.06353199481964111, 0.02293277345597744, -0.005593131296336651, 0.01875893399119377, -0.004243870265781879, 0.021718904376029968, 0.010355230420827866, 0.0013971156440675259, 0.0035739082377403975, -0.05318610370159149, 0.013249838724732399, 0.01731162890791893, -0.09225399047136307, -0.006111359689384699, 0.026985226199030876, 0.0014893229817971587, -0.016527283936738968, -0.000566374568734318, 0.06745372712612152, 0.024576162919402122, 0.046052295714616776, -0.0622994564473629, -0.005779880564659834, -0.04097272455692291, -0.03906788304448128, 0.09763235598802567, 0.008501746691763401, 0.03925463184714317, -0.06009581685066223, 0.02941296249628067, 0.023156872019171715, 0.023119522258639336, 0.027993669733405113, -0.012269406579434872, 0.01643390953540802, 0.021289382129907608, 0.006867693271487951, -0.02162552997469902, 0.02029961161315441, -0.0028455874416977167, 0.0194218922406435, -0.03477265685796738, 0.034436509013175964, 0.0020332294516265392, 0.03228889778256416, -0.011354337446391582, 0.023997241631150246, 0.040860675275325775, 0.05146801471710205, -0.033147942274808884, -0.01620047353208065, 0.009402810595929623, -0.0019340189173817635, -0.042130567133426666, -0.05927412211894989, 0.008338341489434242, 0.03641604632139206, 0.008286985568702221, -0.034735307097435, 0.005490419454872608, -0.00921139307320118, -0.049152325838804245, -0.03936668112874031, -0.1115264818072319, -0.021980352699756622, -0.047396887093782425, -0.005112253129482269, 0.014183583669364452, -0.0028876059222966433, -0.017124880105257034, -0.005205627530813217, 0.01036456786096096, -0.008244967088103294, -0.04750893637537956, 0.031000327318906784, -0.016826082020998, -0.011457049287855625, 0.07387789338827133, -0.06312114745378494, 0.020542386919260025, -0.03985222801566124, -0.043101660907268524, 0.06793927401304245, 0.024090616032481194, 0.019814064726233482, -0.007054442074149847, -0.011503736488521099, 0.017124880105257034, -0.02508038654923439, 0.0032004103995859623, 0.016676682978868484, -0.014809193089604378, 0.046537842601537704, 0.03191539645195007, 0.017881212756037712, -0.021102633327245712, -0.02248457446694374, 0.0503101721405983, 0.05314875394105911, -0.02986115962266922, -0.016779394820332527, -0.005485750734806061, 0.0006956398719921708, 0.05277525633573532, 0.007605351507663727, 0.06420429050922394, 0.06181390583515167, 0.04750893637537956, -0.025323159992694855, 0.06842482089996338, -0.03751786798238754, -0.033969637006521225, 0.07245859503746033, -0.008851900696754456, 0.005569787696003914, 0.052588507533073425, 0.005060896743088961, -0.015210703015327454, -0.0031467201188206673, 0.031056351959705353, 0.00648018904030323, 0.017750488594174385, 0.11675545573234558, 0.02638762816786766, -0.004122483544051647, 0.001799793099053204, -0.07753816992044449, -0.031355150043964386, 0.06973206251859665, 0.020000813528895378, 0.0233622957020998, 0.019272493198513985, -0.031000327318906784, -0.002684516366571188, 0.028460541740059853, 0.01815199851989746, -0.028479216620326042, 0.02549123391509056, -0.03673352301120758, -0.0002615944540593773, -0.026294253766536713, 0.04448360204696655, 0.05587529018521309, -0.008996631018817425, 0.046986039727926254, -0.0431390106678009, -0.08224424719810486, 0.002448745770379901, 0.05494154617190361, -0.0116811478510499, 0.043960705399513245, -0.03495940566062927, 0.016527283936738968, 0.04836798086762428, -0.03932933136820793, -0.029767785221338272, 0.011176925152540207, 0.00297397724352777, 0.012297418899834156, -0.0008211118401959538, 0.014230270870029926, 0.04500649869441986, 0.05568854138255119, 0.05109451711177826, -0.003935734275728464, 0.005943285766988993, 0.0397401787340641, -0.0256032831966877, -0.01609775982797146, 0.009991069324314594, 0.015854986384510994, -0.03167262300848961, 0.06386814266443253, -0.032214194536209106, 0.026761125773191452, 0.005359695293009281, -0.0035832456778734922, -0.03970282897353172, 0.008548433892428875, -0.022652650251984596, -0.0017204248579218984, -0.021401431411504745, -0.028908738866448402, 0.053036704659461975, -0.004246204625815153, -0.003004323923960328, 0.02381049282848835, 0.019253818318247795, -0.043960705399513245, 0.008441053330898285, -0.020598411560058594, 0.007624026387929916, -0.03469795733690262, -0.10136733949184418, -0.007908818311989307, -0.00018806204025167972, -0.0183480866253376, 0.03888113424181938, 0.028852714225649834, 0.03589314967393875, 0.005270989611744881, 0.010560654103755951, -0.03320396691560745, 0.013940810225903988, -0.040001627057790756, -0.0055651189759373665, 0.04227996617555618, 0.10278663039207458, 0.032681070268154144, 0.008338341489434242, -0.004920835141092539, -0.01537877693772316, -0.04250406473875046, 0.04104742407798767, 0.029674410820007324, -0.033969637006521225, -0.03721906989812851, -0.041346222162246704, -0.02420266531407833, 0.016405897215008736, -0.020467687398195267, 0.050870418548583984, -0.0307949036359787, -0.012316093780100346, 0.0036252643913030624, 0.006638925522565842, -0.01635921001434326, -0.003882043994963169, -0.04377395659685135, -0.012241394259035587, 0.026929201558232307, -0.04362455755472183, 0.043064311146736145, 0.01951526664197445, -0.026200879365205765, 0.00877253245562315, -0.033465415239334106, -0.010056431405246258, 0.010822102427482605, 0.07425139099359512, -0.008347678929567337, 0.049563176929950714, 0.05927412211894989, -0.05486684665083885, 0.04198116809129715, 0.03555700182914734, 0.008408372290432453, -0.04425950348377228, -0.01879628375172615, -0.0821695476770401, 0.00352488667704165, 0.04018837586045265, 0.028236443176865578, -0.012680254876613617, -0.008707170374691486, -0.032251548022031784, 0.02250324934720993, -0.020262261852622032, -0.026574376970529556, -0.06506334245204926, -0.0970347598195076, 0.036938946694135666, -0.02082251012325287, 0.038769084960222244, 0.00399642763659358, 0.038843784481287, 0.046500492841005325, -0.013688699342310429, 0.06237415596842766, -0.015593538992106915, -0.015714924782514572, -0.03520217910408974, 0.013688699342310429, 0.02769487164914608, -0.017843862995505333, 0.014762505888938904, -0.008464396931231022, 0.017180904746055603, 0.02646232768893242, 0.014445031993091106, -0.06483924388885498, 0.0012056980049237609, -0.010149805806577206, 0.01672337017953396, 0.009757633320987225, -0.024501463398337364, -0.010710053145885468, -0.03585579991340637, -0.03727509453892708, 0.046463143080472946, -0.021401431411504745, -0.04362455755472183, 0.0035832456778734922, -0.025267135351896286, 0.003896050387993455 ]
719,788
ibm_platform_services.iam_policy_management_v1
get_policy_template_version
Retrieve a policy template version. Retrieve a policy template by providing a policy template ID and version number. :param str policy_template_id: The policy template ID. :param str version: The policy template version. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse with `dict` result representing a `PolicyTemplate` object
def get_policy_template_version( self, policy_template_id: str, version: str, **kwargs, ) -> DetailedResponse: """ Retrieve a policy template version. Retrieve a policy template by providing a policy template ID and version number. :param str policy_template_id: The policy template ID. :param str version: The policy template version. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse with `dict` result representing a `PolicyTemplate` object """ if not policy_template_id: raise ValueError('policy_template_id must be provided') if not version: raise ValueError('version must be provided') headers = {} sdk_headers = get_sdk_headers( service_name=self.DEFAULT_SERVICE_NAME, service_version='V1', operation_id='get_policy_template_version', ) headers.update(sdk_headers) if 'headers' in kwargs: headers.update(kwargs.get('headers')) del kwargs['headers'] headers['Accept'] = 'application/json' path_param_keys = ['policy_template_id', 'version'] path_param_values = self.encode_path_vars(policy_template_id, version) path_param_dict = dict(zip(path_param_keys, path_param_values)) url = '/v1/policy_templates/{policy_template_id}/versions/{version}'.format(**path_param_dict) request = self.prepare_request( method='GET', url=url, headers=headers, ) response = self.send(request, **kwargs) return response
(self, policy_template_id: str, version: str, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
[ 0.0658894032239914, -0.044564660638570786, -0.023645050823688507, -0.014649251475930214, 0.011224033311009407, -0.03436267003417015, -0.021306326612830162, 0.027107099071145058, -0.005598205141723156, 0.010441389866173267, 0.014492722228169441, 0.0074167014099657536, -0.05903896689414978, -0.054214198142290115, -0.03627784550189972, -0.007775796577334404, 0.08706682175397873, 0.007697532419115305, 0.012872189283370972, -0.0016608162550255656, 0.08161593973636627, 0.008774818852543831, -0.036977618932724, 0.04036600515246391, 0.0537354052066803, -0.006362434010952711, 0.004843184258788824, -0.03940841928124428, 0.044675152748823166, -0.02576279267668724, -0.026959778741002083, 0.02316625788807869, 0.04077114164829254, 0.07520747184753418, -0.05222536250948906, -0.00037722280831076205, 0.003091443097218871, -0.013424643315374851, -0.10540831089019775, 0.04810037091374397, 0.020238248631358147, 0.04327560216188431, 0.00535880820825696, -0.02592853084206581, -0.012568339705467224, -0.0057823569513857365, -0.02795419655740261, -0.04717961326241493, -0.040292344987392426, 0.007481154520064592, 0.05388272553682327, -0.0010387295624241233, 0.0018691376317292452, -0.0600702166557312, -0.036977618932724, 0.028985444456338882, 0.028230423107743263, 0.013130001723766327, -0.020698627457022667, 0.0033101229928433895, -0.00886689405888319, 0.012678829953074455, -0.0664050281047821, 0.0009011913789436221, -0.04474881291389465, -0.046185195446014404, -0.0015342121478170156, 0.009778443723917007, -0.011343731544911861, -0.004995109047740698, -0.014280947856605053, 0.026904532685875893, -0.014023136347532272, -0.0375669039785862, 0.029095934703946114, 0.0030730280559509993, -0.029482653364539146, -0.045669570565223694, 0.024289581924676895, -0.00457616476342082, -0.04725327342748642, -0.07874317467212677, 0.013811361975967884, -0.025136679410934448, 0.017420731484889984, -0.0013776833657175303, 0.017825864255428314, -0.07472867518663406, 0.056350357830524445, 0.06883582472801208, -0.021048516035079956, 0.01796397753059864, -0.06434252858161926, 0.024805204942822456, 0.032907869666814804, 0.006251943297684193, 0.05119411274790764, -0.02484203688800335, -0.00031679810490459204, 0.018120506778359413, -0.0062703583389520645, -0.04036600515246391, -0.0421706922352314, 0.013268114998936653, 0.022042933851480484, -0.01277090609073639, -0.015035969205200672, 0.03616735339164734, 0.04113944247364998, -0.013148416765034199, 0.024860450997948647, -0.007591645233333111, -0.039997704327106476, 0.02073545753955841, 0.06261150538921356, 0.011122750118374825, -0.043128278106451035, -0.004249295685440302, -0.01779824122786522, -0.011583128944039345, 0.03189503774046898, -0.035891126841306686, 0.01640789769589901, 0.038966454565525055, -0.03660931810736656, 0.030532317236065865, -0.017632504925131798, -0.027162345126271248, 0.013452266342937946, 0.015551593154668808, -0.0329262875020504, 0.01981469988822937, -0.029482653364539146, 0.03955573961138725, -0.03252115473151207, -0.03384704515337944, -0.03600161522626877, 0.020753873512148857, 0.020293494686484337, 0.03830350935459137, 0.00010739772551460192, -0.0066893030889332294, 0.021766705438494682, -0.0010698051191866398, -0.03228175640106201, -0.0433124303817749, 0.030348164960741997, 0.017172126099467278, -0.000022029840692994185, -0.01929907687008381, 0.031563565135002136, -0.0040927669033408165, 0.03285262733697891, -0.062022220343351364, -0.0007279738783836365, -0.022908445447683334, 0.03922426700592041, -0.05384589731693268, 0.025578642264008522, -0.036075275391340256, 0.04136042669415474, 0.0011877771466970444, 0.04666398838162422, -0.031066356226801872, 0.019833115860819817, 0.003701444948092103, -0.00665707653388381, -0.027862120419740677, 0.0038994078058749437, -0.02235599048435688, -0.004631409887224436, 0.04857916384935379, -0.019777869805693626, 0.004728089552372694, -0.0254129059612751, 0.01635265164077282, 0.05804454907774925, 0.025504982098937035, 0.010874145664274693, 0.011500260792672634, -0.003084537573158741, -0.05826553329825401, -0.06331128627061844, 0.07181908190250397, -0.007895494811236858, 0.03482304513454437, 0.04920527711510658, 0.04891063645482063, -0.03187662363052368, 0.03508085757493973, -0.04931576922535896, -0.06957243382930756, 0.04574323073029518, 0.031397830694913864, -0.021527308970689774, -0.042207520455121994, 0.02592853084206581, -0.05244634300470352, 0.012955057434737682, 0.019796285778284073, 0.01918858475983143, -0.06504230946302414, -0.018857112154364586, 0.017466768622398376, 0.0060309614054858685, 0.01924383081495762, 0.054729823023080826, -0.05550326034426689, -0.03263164311647415, -0.022024517878890038, 0.012061922810971737, -0.007895494811236858, -0.007959947921335697, 0.0178995244204998, -0.055319108068943024, 0.011518675833940506, -0.0016585143748670816, -0.031287338584661484, -0.014446684159338474, -0.038266681134700775, 0.011822525411844254, 0.002610347466543317, -0.007932325825095177, 0.05355125293135643, -0.025689132511615753, 0.0234056543558836, -0.0002835645282175392, 0.04264948517084122, -0.06949876993894577, 0.004355182871222496, 0.06253784894943237, 0.02103010006248951, 0.10201992839574814, -0.029188010841608047, -0.05174656957387924, -0.055724240839481354, -0.012835359200835228, 0.010238822549581528, 0.04316511005163193, 0.018102090805768967, 0.060328029096126556, 0.017254995182156563, 0.07756460458040237, 0.041912879794836044, -0.03725384548306465, -0.0026379700284451246, -0.08699316531419754, -0.003818841651082039, 0.048615992069244385, -0.05760258808732033, -0.021453648805618286, -0.03922426700592041, 0.013516719453036785, 0.05185706168413162, 0.024363242089748383, -0.029611559584736824, 0.03620418161153793, -0.05469299107789993, 0.04357024282217026, 0.01186856348067522, -0.03511768952012062, 0.04213386029005051, -0.07918514311313629, -0.059407271444797516, -0.05226219445466995, -0.057970888912677765, -0.007683720905333757, 0.044454168528318405, 0.03425217792391777, 0.04438050836324692, 0.00018674111925065517, 0.05977557227015495, -0.02627841755747795, -0.01600276492536068, -0.02327674813568592, -0.026444153860211372, 0.023350408300757408, 0.02172987535595894, -0.035504408180713654, -0.028985444456338882, -0.04379122331738472, -0.0015434196684509516, 0.052593667060136795, 0.0444910004734993, 0.029095934703946114, -0.0018587791128084064, -0.027641138061881065, -0.004707372281700373, 0.029482653364539146, 0.020183002576231956, 0.01743914559483528, 0.018129713833332062, 0.007748174015432596, -0.006035564932972193, -0.10621857643127441, -0.03981355205178261, -0.039997704327106476, -0.04154457524418831, 0.05561374872922897, -0.010174369439482689, 0.010524258017539978, 0.009981011040508747, 0.0023893655743449926, -0.013553549535572529, -0.020201418548822403, 0.003920124843716621, 0.038156189024448395, -0.014271740801632404, 0.04857916384935379, -0.02419750578701496, -0.012862981297075748, 0.010616333223879337, -0.00962191540747881, -0.02287161536514759, -0.03148990496993065, 0.06018070876598358, 0.007494965568184853, -0.03771422430872917, 0.035209763795137405, 0.03384704515337944, -0.05944409966468811, 0.10467170923948288, 0.024123845621943474, 0.056534506380558014, 0.007821834646165371, -0.034454744309186935, -0.022098178043961525, -0.029722049832344055, 0.009806066751480103, 0.04824769124388695, -0.01161075197160244, 0.01577257551252842, 0.03167405724525452, 0.021821951493620872, 0.00522990245372057, 0.026775626465678215, 0.03992404416203499, -0.01524774357676506, -0.022890029475092888, 0.06633136421442032, 0.08647754043340683, -0.07815389335155487, 0.012301319278776646, 0.004801750183105469, -0.021858781576156616, 0.008457156829535961, 0.056350357830524445, 0.019446397200226784, 0.005671865772455931, -0.07130345702171326, -0.08912932127714157, -0.05436151847243309, 0.009465387091040611, 0.029316917061805725, -0.016951145604252815, -0.07215055078268051, 0.01685906946659088, 0.011665997095406055, -0.023552976548671722, 0.01986994594335556, -0.08014272898435593, 0.00508258119225502, -0.06198539212346077, -0.004843184258788824, -0.03325776010751724, -0.032373830676078796, 0.028838124126195908, -0.03206077590584755, -0.06095414236187935, 0.004173333290964365, -0.06216954439878464, 0.007637683302164078, -0.009041838347911835, -0.015643669292330742, 0.007407493889331818, -0.04979456216096878, -0.08736146986484528, -0.002121194964274764, -0.016278991475701332, -0.049536749720573425, 0.02554181218147278, -0.020367154851555824, 0.02419750578701496, 0.0007245209999382496, 0.008042816072702408, -0.014050758443772793, -0.017890317365527153, -0.020072512328624725, 0.00926742423325777, 0.014400647021830082, -0.005579790100455284, 0.003335443791002035, 0.0023341202177107334, 0.0009328423766419291, 0.018184959888458252, 0.012872189283370972, -0.016711747273802757, 0.02154572494328022, 0.03797203674912453, -0.021858781576156616, 0.040292344987392426, 0.04021868482232094, -0.010450596921145916, 0.021177422255277634, -0.02235599048435688, -0.05896530672907829, 0.05741843581199646, -0.027125515043735504, -0.03125050663948059, -0.05907579883933067, -0.021159006282687187, -0.014722911641001701, -0.021508894860744476, -0.045559078454971313, 0.04239167273044586, 0.07506014406681061, -0.0153121966868639, 0.10032573342323303, -0.030200844630599022, -0.0024630262050777674, 0.034804631024599075, 0.033828627318143845, 0.040108196437358856, -0.008756403811275959, -0.044270019978284836, 0.022613802924752235, -0.03143465891480446, -0.004396616946905851, -0.005952696781605482, 0.003510387847200036, 0.022392820566892624, -0.03274213522672653, -0.015201705507934093, -0.01577257551252842, 0.04640617594122887, 0.021103760227560997, 0.014354608952999115, 0.06854118406772614, -0.01599355787038803, 0.004428843501955271, 0.03633308783173561, 0.036719806492328644, -0.008065835572779179, -0.0028083103243261576, -0.026370493695139885, 0.01935432106256485, -0.03719859942793846, -0.07075100392103195, -0.010404558852314949, -0.03432583808898926, -0.044564660638570786, 0.03305519372224808, 0.02754906378686428, -0.0001090522127924487, -0.011049089021980762, -0.035909540951251984, -0.056350357830524445, 0.01623295433819294, -0.019151754677295685, -0.030753299593925476, -0.00871957279741764, 0.0066800955682992935, 0.05233585461974144, -0.019280660897493362, -0.02119583636522293, -0.07126662880182266, 0.02206134796142578, 0.03611210733652115, -0.025081433355808258, 0.00788628775626421, 0.022374406456947327, -0.02473154477775097, -0.02940899319946766, 0.08522530645132065, 0.023000521585345268, 0.027806874364614487, 0.013056340627372265, -0.018129713833332062, -0.012236866168677807, 0.023663466796278954, -0.018295450136065483, 0.02576279267668724, -0.030348164960741997, 0.024915697053074837, 0.017116881906986237, -0.07531795650720596, -0.018323073163628578, 0.015597631223499775, -0.026959778741002083, -0.012144790962338448, 0.009723198600113392, 0.06117512658238411, 0.0028313291259109974, 0.0525568351149559, -0.035265009850263596, 0.0034919725731015205, -0.027991026639938354, -0.02662830613553524, 0.08006906509399414, 0.004939863923937082, 0.009410141035914421, -0.01524774357676506, 0.038156189024448395, -0.004127295222133398, 0.04666398838162422, 0.049352601170539856, 0.005750130396336317, 0.009023423306643963, 0.02473154477775097, -0.003991483710706234, -0.04533809795975685, 0.017227372154593468, 0.004290729761123657, 0.050752151757478714, 0.013682455755770206, 0.06496864557266235, -0.046884968876838684, 0.04511711373925209, -0.017706165090203285, 0.013470681384205818, 0.019022848457098007, 0.05535594001412392, 0.01703401282429695, -0.0415814071893692, 0.00883466750383377, -0.006201301235705614, -0.06290614604949951, -0.06452668458223343, 0.0329447016119957, 0.044454168528318405, -0.010478219948709011, -0.0033653685823082924, -0.02627841755747795, -0.010533465072512627, -0.02427116595208645, -0.03473097085952759, -0.11255338788032532, -0.00304080150090158, -0.0329447016119957, 0.0007907004910521209, -0.020827533677220345, -0.0006364735891111195, -0.04379122331738472, -0.044049035757780075, -0.004921448417007923, -0.0068826619535684586, -0.020938023924827576, 0.036719806492328644, -0.03021926060318947, -0.04176555946469307, 0.041286762803792953, -0.03478621691465378, 0.041397254914045334, -0.01882948912680149, -0.06570525467395782, 0.07808022946119308, -0.012724868021905422, -0.005275940056890249, 0.0033170287497341633, -0.027291251346468925, 0.022135009989142418, -0.01478736475110054, 0.03206077590584755, 0.014446684159338474, -0.043643902987241745, 0.024805204942822456, 0.026757212355732918, 0.024289581924676895, -0.014732119627296925, -0.009971803054213524, 0.0323370024561882, 0.0323370024561882, -0.007909306325018406, -0.029188010841608047, -0.02708868496119976, 0.0179087333381176, 0.045559078454971313, 0.031618811190128326, 0.07421305030584335, 0.0756494328379631, 0.015174082480370998, -0.02681245654821396, 0.09251771122217178, -0.04611153155565262, -0.01071761641651392, 0.06857801228761673, 0.024639468640089035, 0.032557982951402664, 0.05903896689414978, 0.04066064953804016, -0.03056914731860161, -0.03762215003371239, 0.022153424099087715, 0.011979054659605026, 0.012918227352201939, 0.06360592693090439, -0.01369166374206543, -0.005170053336769342, -0.006100018043071032, -0.05362491309642792, -0.038561321794986725, 0.04625885561108589, 0.012494678609073162, 0.020422400906682014, 0.021564139053225517, -0.027291251346468925, -0.015321403741836548, 0.01369166374206543, 0.005045750644057989, -0.03933475911617279, 0.048210859298706055, -0.02554181218147278, -0.00898198876529932, -0.047105953097343445, 0.05686597898602486, 0.09421190619468689, -0.03508085757493973, 0.05911262705922127, -0.05657133832573891, -0.06920412927865982, 0.016739370301365852, 0.046295683830976486, -0.006956322584301233, 0.02870921790599823, -0.015781782567501068, 0.04640617594122887, 0.04183921962976456, -0.00831444002687931, -0.013130001723766327, 0.004081257618963718, 0.03239224851131439, 0.021803537383675575, 0.031158432364463806, 0.01542268693447113, 0.017282618209719658, 0.01859929971396923, 0.03892962634563446, -0.012181621044874191, 0.03299994766712189, 0.050052374601364136, 0.0070530022494494915, -0.032557982951402664, -0.0011854752665385604, 0.05148875713348389, -0.03401277959346771, 0.08279450982809067, -0.03369972109794617, 0.00016501700156368315, 0.03992404416203499, 0.006044772919267416, -0.053698573261499405, 0.00820855237543583, -0.04290729761123657, -0.006864246912300587, -0.03751165792346001, -0.01577257551252842, 0.03044024109840393, 0.014768949709832668, -0.03371813893318176, 0.05347759276628494, 0.016361860558390617, -0.020956439897418022, 0.01762329787015915, -0.04949992150068283, 0.019096510484814644, -0.023497730493545532, -0.03598320111632347, -0.045264437794685364, -0.012457848526537418, -0.005386431235820055, 0.04846867173910141, 0.033073607832193375, -0.01807446964085102, 0.009796859696507454, -0.005349600687623024, -0.033239345997571945, -0.005635035689920187, -0.011012258939445019, -0.03171088546514511, 0.029758881777524948, 0.08294183015823364, 0.017135296016931534, 0.01100305188447237, 0.001516947872005403, -0.04611153155565262, -0.06618404388427734, 0.005151637829840183, 0.06397423148155212, -0.04725327342748642, -0.019612133502960205, -0.006044772919267416, -0.036020033061504364, -0.007158889435231686, -0.02327674813568592, 0.005828394554555416, -0.02500777319073677, 0.004405824467539787, -0.000762502255383879, -0.01117799524217844, 0.005050354637205601, -0.004649824928492308, -0.06456351280212402, -0.031176848337054253, 0.06478449702262878, -0.060696329921483994, 0.012365772388875484, 0.015220120549201965, -0.03915060684084892, -0.010091501288115978, -0.023773957043886185, 0.014741326682269573, 0.024860450997948647, 0.08750879019498825, -0.04183921962976456, 0.049131616950035095, 0.09038155525922775, -0.08588825911283493, 0.05922311916947365, 0.05148875713348389, 0.027401741594076157, -0.05436151847243309, 0.004944467451423407, -0.03517293557524681, -0.005289751570671797, 0.018240205943584442, 0.03655407205224037, 0.042833637446165085, -0.0037751055788248777, -0.04397537559270859, 0.03338666632771492, -0.00437589967623353, -0.010045464150607586, -0.050457507371902466, -0.10732349008321762, 0.04062381759285927, 0.002670196583494544, 0.0046843537129461765, -0.0012959660962224007, 0.04345975071191788, 0.03224492445588112, -0.002603441709652543, 0.04581689089536667, -0.04066064953804016, -0.029261671006679535, -0.01193301659077406, 0.011776488274335861, 0.016730163246393204, 0.005565978586673737, -0.007614664267748594, -0.01664729416370392, 0.016490766778588295, 0.03329458832740784, -0.005713299848139286, -0.044270019978284836, 0.01270645298063755, -0.003929332364350557, 0.026720382273197174, 0.009331876412034035, -0.0032387643586844206, -0.005303563084453344, -0.014732119627296925, -0.006951718591153622, 0.002368648536503315, -0.011923808604478836, -0.0392610989511013, 0.002976348390802741, -0.006601830944418907, -0.005335789639502764 ]
719,789
ibm_platform_services.iam_policy_management_v1
get_role
Retrieve a role by ID. Retrieve a role by providing a role ID. :param str role_id: The role ID. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse with `dict` result representing a `CustomRole` object
def get_role( self, role_id: str, **kwargs, ) -> DetailedResponse: """ Retrieve a role by ID. Retrieve a role by providing a role ID. :param str role_id: The role ID. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse with `dict` result representing a `CustomRole` object """ if not role_id: raise ValueError('role_id must be provided') headers = {} sdk_headers = get_sdk_headers( service_name=self.DEFAULT_SERVICE_NAME, service_version='V1', operation_id='get_role', ) headers.update(sdk_headers) if 'headers' in kwargs: headers.update(kwargs.get('headers')) del kwargs['headers'] headers['Accept'] = 'application/json' path_param_keys = ['role_id'] path_param_values = self.encode_path_vars(role_id) path_param_dict = dict(zip(path_param_keys, path_param_values)) url = '/v2/roles/{role_id}'.format(**path_param_dict) request = self.prepare_request( method='GET', url=url, headers=headers, ) response = self.send(request, **kwargs) return response
(self, role_id: str, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
[ -0.003556840354576707, 0.0026202211156487465, 0.04850993677973747, -0.04480971395969391, 0.06068367511034012, -0.03881534934043884, -0.014458625577390194, 0.05147011578083038, -0.01655850186944008, 0.001539061893709004, -0.012765772640705109, 0.02808470092713833, -0.03361653536558151, -0.005776974838227034, 0.02135029248893261, 0.025790560990571976, 0.022367853671312332, 0.005952735431492329, -0.020277228206396103, -0.037446267902851105, 0.024199465289711952, 0.04107248783111572, 0.04344062879681587, 0.004893546458333731, 0.04440268874168396, 0.01539293210953474, -0.033783044666051865, -0.038852352648973465, -0.007187684997916222, 0.028843246400356293, 0.004044807516038418, -0.0164289940148592, -0.04122049733996391, 0.0753735601902008, -0.059647612273693085, 0.005083182826638222, -0.012469754554331303, 0.02995331399142742, -0.07859275490045547, -0.0049814265221357346, -0.045586761087179184, 0.044772710651159286, 0.10508636385202408, -0.022441858425736427, -0.024791501462459564, -0.043070606887340546, -0.021683312952518463, -0.07566957920789719, -0.054430294781923294, -0.05801951140165329, 0.04244156926870346, 0.005841728765517473, 0.02109127677977085, -0.03317250683903694, 0.04677083343267441, -0.010545638389885426, -0.027067139744758606, 0.01645674556493759, 0.035207632929086685, 0.02795519307255745, -0.01425511296838522, -0.020166220143437386, -0.08562318235635757, 0.007076678331941366, -0.03121138922870159, -0.03966640308499336, -0.06023964658379555, 0.03106338158249855, -0.006193249952048063, 0.023422418162226677, -0.012451253831386566, 0.03937038406729698, 0.03215494751930237, -0.028972754254937172, 0.03289499133825302, -0.028732240200042725, -0.037723783403635025, -0.06727007031440735, 0.0153281781822443, 0.051803138107061386, -0.01574445329606533, -0.045586761087179184, 0.008126617409288883, -0.007992483675479889, -0.0390743650496006, 0.009250559844076633, -0.011655705980956554, -0.05539235472679138, 0.019907204434275627, -0.05665042996406555, 0.017909083515405655, -0.008390258066356182, -0.0626077875494957, 0.04499472305178642, -0.0508410781621933, -0.053024210035800934, 0.02880624495446682, 0.03579966723918915, 0.02429197169840336, 0.043921660631895065, -0.029028257355093956, -0.019148658961057663, 0.049397990107536316, 0.03999942168593407, 0.018186600878834724, 0.03274698182940483, -0.05006403103470802, 0.023366915062069893, 0.02895425260066986, 0.032265953719615936, 0.011942473240196705, 0.024624990299344063, 0.012543759308755398, 0.03132239729166031, -0.03404206037521362, 0.01284902822226286, 0.014995157718658447, 0.020554743707180023, -0.045734770596027374, 0.010554889217019081, 0.03663221746683121, 0.0029763677157461643, 0.06438390165567398, -0.008353255689144135, -0.03999942168593407, -0.0063227578066289425, -0.08569718897342682, 0.012682517990469933, 0.013145046308636665, -0.024199465289711952, -0.019148658961057663, -0.03487461060285568, 0.006974922493100166, 0.04114649072289467, 0.02625308930873871, 0.03807530552148819, 0.023533424362540245, 0.07048926502466202, 0.027492664754390717, 0.07000824064016342, 0.019278166815638542, 0.057945508509874344, -0.0020085277501493692, 0.0002850328746717423, -0.050508059561252594, -0.03635470196604729, 0.01447712630033493, 0.03191443160176277, 0.003716412466019392, -0.051618125289678574, -0.02022172510623932, -0.03918537124991417, 0.023107899352908134, -0.03922237455844879, 0.02179431915283203, 0.00047929465654306114, 0.011655705980956554, -0.011433692649006844, 0.021997831761837006, 0.014310616068542004, 0.01658625341951847, -0.017252294346690178, 0.005194189492613077, -0.03494861721992493, 0.010841656476259232, -0.026586109772324562, -0.004234443884342909, -0.034930113703012466, -0.034375082701444626, -0.022145841270685196, -0.03779779002070427, -0.02022172510623932, -0.024772999808192253, -0.008334754966199398, -0.04554975777864456, -0.029065260663628578, 0.0015367493033409119, -0.02556854858994484, -0.041368503123521805, 0.023792440071702003, -0.024680493399500847, -0.04395866021513939, -0.017215292900800705, 0.018889643251895905, 0.040517453104257584, 0.002664161380380392, 0.02599407359957695, 0.041812531650066376, -0.0015032159863039851, 0.023089397698640823, -0.06438390165567398, -0.007867601700127125, -0.0328579880297184, -0.00182814197614789, -0.035059623420238495, -0.03974040597677231, 0.033080004155635834, -0.03977740928530693, -0.0037973548751324415, -0.00934769120067358, 0.04062845930457115, 0.057390473783016205, 0.025624051690101624, 0.10094211250543594, 0.029453784227371216, -0.02863973379135132, 0.017215292900800705, -0.014588133431971073, -0.02077675797045231, -0.05801951140165329, 0.0076918406412005424, -0.013912842608988285, 0.00857989490032196, -0.002863048342987895, 0.007136807311326265, 0.06068367511034012, -0.0438106544315815, -0.03807530552148819, 0.06649302691221237, 0.003825106658041477, 0.04621579870581627, -0.051359109580516815, -0.00020799305639229715, 0.025124521926045418, -0.04873194918036461, 0.01539293210953474, 0.017603816464543343, -0.03374604135751724, -0.054282285273075104, 0.02109127677977085, 0.03999942168593407, -0.018639879301190376, 0.03006432019174099, -0.006225626915693283, -0.0727464035153389, -0.008894413709640503, 0.00671128137037158, 0.019629688933491707, -0.03565165773034096, 0.07204335927963257, 0.0029648044146597385, 0.03666922077536583, 0.03892635554075241, 0.05254318192601204, -0.020739756524562836, -0.003741851542145014, 0.029120763763785362, 0.0663820207118988, -0.004796415567398071, -0.03330201655626297, -0.018917394801974297, -0.009010045789182186, 0.01813109777867794, 0.047029849141836166, 0.04033244028687477, -0.041775528341531754, -0.04018443450331688, -0.03881534934043884, 0.02120228298008442, -0.0030966249760240316, -0.01615147851407528, -0.03219195082783699, -0.0009672616724856198, -0.034338079392910004, -0.01097116433084011, -0.05450430139899254, -0.01855662278831005, 0.029009755700826645, 0.014791646040976048, -0.016105225309729576, 0.10027606785297394, 0.023958951234817505, -0.006170123349875212, 0.026808124035596848, 0.005952735431492329, -0.02878774330019951, 0.01684526912868023, -0.03554065153002739, -0.037168748676776886, 0.004847293719649315, -0.05679843947291374, 0.022571366280317307, -0.003064248012378812, 0.02823270857334137, -0.007187684997916222, -0.017187541350722313, 0.009292187169194221, 0.016752764582633972, -0.030156826600432396, 0.03404206037521362, 0.039000362157821655, -0.03148890659213066, -0.06715906411409378, -0.004498085007071495, 0.06845414638519287, -0.0015656573232263327, -0.060646671801805496, 0.0007215436780825257, 0.05694644898176193, 0.028602732345461845, -0.042367566376924515, -0.00850126426666975, 0.033246513456106186, -0.05517033860087395, -0.01298778597265482, -0.021461298689246178, 0.006826913449913263, -0.015365180559456348, -0.03467109799385071, 0.03877834975719452, 0.02456948719918728, -0.003540651872754097, -0.08266300708055496, -0.01060114149004221, -0.03213644400238991, 0.015050660818815231, 0.03158141300082207, -0.01686377078294754, 0.05224716290831566, 0.025938570499420166, -0.015938714146614075, -0.046141792088747025, 0.01481939759105444, -0.044180676341056824, 0.05620640143752098, -0.06486492604017258, -0.02573505789041519, 0.030878368765115738, 0.04399566352367401, 0.03289499133825302, -0.0019067716784775257, -0.017603816464543343, 0.019463177770376205, 0.009241309948265553, 0.038408324122428894, -0.06549396365880966, 0.02022172510623932, -0.011026667430996895, 0.030156826600432396, 0.02616058476269245, -0.015596444718539715, -0.051211100071668625, 0.028750739991664886, 0.02529103122651577, 0.02260836958885193, 0.05465230718255043, 0.06153472512960434, 0.012312495149672031, -0.001838548807427287, -0.016780516132712364, 0.02377394028007984, -0.0609796904027462, 0.018501119688153267, 0.0001970080193132162, -0.06601199507713318, -0.026456601917743683, -0.009583580307662487, -0.027141142636537552, -0.009449447505176067, -0.009999855421483517, -0.08214497566223145, -0.038297317922115326, 0.020166220143437386, 0.013857338577508926, -0.03174792230129242, -0.03165541589260101, -0.06208975985646248, -0.06527195125818253, 0.076520636677742, -0.021720314398407936, -0.0036909733898937702, -0.007608585525304079, -0.04440268874168396, 0.00009040976874530315, -0.008482763543725014, -0.0021345666609704494, -0.052210159599781036, -0.011942473240196705, 0.018750885501503944, 0.022256847470998764, 0.00962983351200819, 0.019722193479537964, -0.01645674556493759, -0.02109127677977085, 0.02725215069949627, 0.019777696579694748, 0.01574445329606533, 0.012164486572146416, -0.07600260525941849, 0.015550191514194012, -0.02543904073536396, 0.016836019232869148, 0.03761277720332146, -0.06101669371128082, 0.005559586454182863, -0.02320040389895439, -0.0477328896522522, 0.03311700373888016, 0.010943412780761719, 0.02262686938047409, -0.018445616587996483, 0.06275580078363419, 0.052913203835487366, 0.023070896044373512, -0.007307942491024733, 0.02432897314429283, 0.028602732345461845, -0.06264479458332062, -0.031266894191503525, 0.00206981273368001, -0.01770557276904583, 0.030822865664958954, 0.013034039177000523, -0.02895425260066986, 0.024791501462459564, 0.015596444718539715, 0.018778637051582336, 0.03467109799385071, 0.01994420774281025, 0.03246946632862091, 0.03174792230129242, -0.03411606699228287, 0.04273758828639984, -0.029842305928468704, -0.014023848809301853, 0.014005348086357117, -0.000464551558252424, 0.02249736152589321, 0.011794463731348515, -0.07448551058769226, 0.03121138922870159, -0.003949989099055529, -0.031266894191503525, -0.047029849141836166, 0.03530013561248779, 0.00028113031294196844, -0.02234935387969017, 0.014847149141132832, -0.013783334754407406, -0.0238664448261261, 0.059647612273693085, -0.03785329312086105, -0.03093387372791767, -0.026734119281172752, -0.05154412239789963, -0.02179431915283203, -0.02599407359957695, 0.04754788056015968, 0.04832492768764496, -0.0371132455766201, 0.05184013769030571, 0.09664985537528992, -0.02765917405486107, 0.04092447832226753, -0.003954614512622356, -0.042108550667762756, -0.040554456412792206, 0.046733830124139786, 0.025587048381567, -0.09324564784765244, -0.025883067399263382, -0.06745508313179016, -0.00015610319678671658, 0.020425235852599144, 0.026789622381329536, -0.007067427970468998, -0.018186600878834724, -0.0240329559892416, -0.040110427886247635, -0.033524028956890106, 0.037742286920547485, -0.03291349112987518, -0.0017425742698833346, -0.033801548182964325, 0.0626077875494957, 0.05539235472679138, 0.009389318525791168, -0.021035773679614067, -0.01243275310844183, 0.04739987105131149, 0.036854229867458344, 0.028436221182346344, -0.009777842089533806, -0.03487461060285568, -0.002495338674634695, -0.03176642209291458, -0.008103490807116032, 0.07185835391283035, 0.002073281677439809, -0.00569371972233057, 0.01841786503791809, 0.062940813601017, -0.03642870485782623, 0.04229355975985527, -0.023551926016807556, -0.04732586443424225, 0.02780718356370926, -0.014088602736592293, 0.029472284018993378, 0.03489311411976814, 0.053468238562345505, -0.021424297243356705, 0.03641020506620407, -0.008061863481998444, 0.0011499602114781737, -0.057797499001026154, -0.07119230926036835, 0.013154296204447746, -0.010425381362438202, -0.008880537934601307, 0.005628965795040131, 0.03948139026761055, 0.011618703603744507, -0.07615061104297638, -0.017909083515405655, 0.06109070032835007, -0.024624990299344063, 0.076520636677742, -0.008103490807116032, 0.028454722836613655, 0.001870925771072507, 0.016234733164310455, 0.027085639536380768, 0.019870202988386154, -0.00013666256563737988, 0.05209915339946747, -0.05690944567322731, -0.04717785492539406, 0.025679554790258408, 0.043181613087654114, -0.034763604402542114, -0.01799234002828598, -0.06667803972959518, -0.01728004589676857, -0.014967406168580055, 0.022256847470998764, -0.09768591821193695, 0.03021232970058918, 0.01867688074707985, -0.003177567385137081, 0.049101974815130234, 0.008061863481998444, -0.016077473759651184, 0.015439184382557869, -0.10878659039735794, -0.008126617409288883, -0.05565137043595314, 0.03977740928530693, 0.0472518615424633, 0.04214555025100708, 0.06164573132991791, -0.013191298581659794, -0.013024788349866867, 0.018750885501503944, -0.034486088901758194, 0.015966467559337616, -0.050915081053972244, -0.04987901821732521, -0.02584606409072876, -0.005568837281316519, 0.008764905855059624, 0.04654881730675697, 0.03300599753856659, -0.005147936753928661, 0.04695584252476692, 0.01173896063119173, 0.0214983019977808, 0.01994420774281025, -0.010231119580566883, -0.05761248990893364, -0.013089542277157307, -0.015938714146614075, -0.05639141425490379, -0.002207414945587516, -0.027640674263238907, 0.07074828445911407, 0.037002239376306534, -0.03585517033934593, 0.054282285273075104, 0.04895396530628204, -0.046289801597595215, -0.03937038406729698, 0.0923575907945633, -0.06945320218801498, -0.05676143616437912, -0.007640962488949299, -0.0387413464486599, 0.01814959943294525, 0.06516094505786896, 0.005911108106374741, -0.003748789429664612, 0.012164486572146416, 0.00814049318432808, -0.04295960068702698, 0.04033244028687477, 0.0390743650496006, 0.004544337745755911, 0.0220718365162611, -0.01040687970817089, -0.006641902029514313, -0.00495830038562417, -0.0006932138348929584, 0.0005116715910844505, 0.011757462285459042, -0.041368503123521805, -0.0027659174520522356, 0.028565729036927223, -0.03761277720332146, -0.005457830615341663, -0.01727079600095749, -0.03944438695907593, -0.013672327622771263, 0.024347474798560143, -0.0094216950237751, 0.046585820615291595, -0.0281217023730278, -0.025679554790258408, 0.009528077207505703, 0.008529016748070717, -0.04314461350440979, -0.008468887768685818, -0.033783044666051865, -0.001870925771072507, -0.0011083327699452639, -0.051174096763134, 0.01223849132657051, 0.061201706528663635, 0.01966669037938118, -0.008695526048541069, 0.0047501628287136555, -0.049805015325546265, 0.04344062879681587, 0.00962983351200819, -0.10116412490606308, 0.04429168254137039, -0.00667890440672636, 0.02810320071876049, 0.0012245428515598178, 0.03021232970058918, -0.01994420774281025, 0.0013956782640889287, 0.03752027079463005, -0.017502060160040855, 0.04662282392382622, -0.012229240499436855, 0.09620582312345505, 0.01530967652797699, -0.01552243996411562, 0.05620640143752098, -0.05561436712741852, -0.040517453104257584, 0.016614006832242012, -0.0528021976351738, 0.0007747344207018614, -0.013672327622771263, -0.03235846012830734, -0.007812098134309053, 0.02079525962471962, -0.006216376554220915, 0.035355642437934875, 0.03372754156589508, -0.024402977898716927, 0.05283920094370842, -0.07481852918863297, 0.0005995519459247589, -0.030545350164175034, 0.029749801382422447, -0.015938714146614075, 0.10693647712469101, -0.000914070988073945, 0.06023964658379555, -0.00298793101683259, -0.012941533699631691, -0.011794463731348515, -0.020480740815401077, 0.00919968169182539, -0.029453784227371216, -0.1070844829082489, 0.04536474496126175, 0.026179084554314613, -0.03624369576573372, -0.010295873507857323, -0.012025727890431881, 0.0359661765396595, 0.02377394028007984, 0.04162751883268356, 0.04199754446744919, 0.004317699000239372, -0.05650242045521736, -0.06545696407556534, 0.0013806461356580257, -0.04499472305178642, -0.03796429932117462, -0.03541114553809166, 0.024365974590182304, 0.0617937408387661, -0.03263597562909126, -0.01447712630033493, -0.0043477630242705345, 0.0570574551820755, -0.0057029700838029385, -0.04836192727088928, -0.006725157145410776, 0.04421767592430115, -0.001542530837468803, -0.016336489468812943, 0.04499472305178642, -0.0025994074530899525, 0.013589072972536087, -0.03258047252893448, -0.03409756347537041, 0.06430989503860474, 0.06756608933210373, -0.046437811106443405, 0.003894485766068101, 0.02162780985236168, -0.009139553643763065, 0.023255908861756325, -0.009491074830293655, -0.004236756358295679, 0.03848233073949814, 0.035485148429870605, -0.05561436712741852, -0.040517453104257584, 0.03609568625688553, 0.0022421046160161495, 0.0007932355511002243, 0.03613268956542015, -0.02120228298008442, 0.026734119281172752, 0.03739076480269432, -0.005957360845059156, -0.004898171406239271, 0.013727830722928047, -0.01826060563325882, -0.0009909662185236812, -0.027196647599339485, 0.03406056389212608, 0.007349569816142321, 0.028732240200042725, -0.010943412780761719, 0.07533656060695648, 0.05927759036421776, 0.013320806436240673, -0.022700874134898186, 0.04651181772351265, 0.03250646963715553, 0.015846209600567818, 0.06057266891002655, -0.004197441507130861, 0.032524969428777695, -0.03494861721992493, 0.014282864518463612, 0.03511512652039528, -0.05520734190940857, -0.05594738572835922, -0.02514302171766758, -0.010961913503706455, 0.056687433272600174, 0.009611331857740879, 0.02667861618101597, -0.03739076480269432, -0.01645674556493759, -0.030230829492211342, 0.027030136436223984, 0.0264010988175869, 0.045031726360321045, 0.02360742911696434 ]
719,790
ibm_platform_services.iam_policy_management_v1
get_v2_policy
Retrieve a policy by ID. Retrieve a policy by providing a policy ID. :param str id: The policy ID. :param str format: (optional) Include additional data for policy returned * `include_last_permit` - returns details of when the policy last granted a permit decision and the number of times it has done so * `display` - returns the list of all actions included in each of the policy roles and translations for all relevant fields. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse with `dict` result representing a `V2PolicyTemplateMetaData` object
def get_v2_policy( self, id: str, *, format: Optional[str] = None, **kwargs, ) -> DetailedResponse: """ Retrieve a policy by ID. Retrieve a policy by providing a policy ID. :param str id: The policy ID. :param str format: (optional) Include additional data for policy returned * `include_last_permit` - returns details of when the policy last granted a permit decision and the number of times it has done so * `display` - returns the list of all actions included in each of the policy roles and translations for all relevant fields. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse with `dict` result representing a `V2PolicyTemplateMetaData` object """ if not id: raise ValueError('id must be provided') headers = {} sdk_headers = get_sdk_headers( service_name=self.DEFAULT_SERVICE_NAME, service_version='V1', operation_id='get_v2_policy', ) headers.update(sdk_headers) params = { 'format': format, } if 'headers' in kwargs: headers.update(kwargs.get('headers')) del kwargs['headers'] headers['Accept'] = 'application/json' path_param_keys = ['id'] path_param_values = self.encode_path_vars(id) path_param_dict = dict(zip(path_param_keys, path_param_values)) url = '/v2/policies/{id}'.format(**path_param_dict) request = self.prepare_request( method='GET', url=url, headers=headers, params=params, ) response = self.send(request, **kwargs) return response
(self, id: str, *, format: Optional[str] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
[ 0.01367759145796299, 0.01200578361749649, -0.005309367086738348, -0.04207076504826546, 0.04287911206483841, -0.007527727633714676, 0.03290338069200516, 0.019014516845345497, -0.0214946698397398, 0.03301360830664635, -0.009920617565512657, 0.038947608321905136, -0.03305035084486008, -0.028971876949071884, -0.02625289186835289, 0.043467000126838684, 0.04210750758647919, 0.006962803658097982, -0.008969890885055065, -0.019731005653738976, 0.0792914479970932, 0.004501020535826683, -0.02785121463239193, -0.007114368490874767, 0.04313631355762482, -0.02206418663263321, -0.015340213663876057, -0.025279201567173004, -0.019602404907345772, -0.021935585886240005, 0.005359889008104801, 0.0125753004103899, 0.031819459050893784, 0.08421501517295837, -0.038139261305332184, 0.0005261716432869434, -0.007155704312026501, 0.0011895555071532726, -0.12316262722015381, 0.050889089703559875, 0.001233187853358686, 0.0178387388586998, 0.025334317237138748, -0.054122477769851685, -0.04269539564847946, -0.012942731380462646, -0.012217056006193161, -0.023644138127565384, -0.04302608221769333, -0.011160694062709808, 0.03677976876497269, 0.03442821651697159, -0.018233727663755417, -0.037955544888973236, -0.009424585849046707, -0.018922658637166023, -0.01342957653105259, 0.04372420161962509, 0.0406377874314785, 0.010297233238816261, 0.030110910534858704, 0.008923962712287903, -0.04309957101941109, 0.019088001921772957, -0.044348832219839096, -0.041115447878837585, -0.017177365720272064, -0.01337446179240942, -0.04387117177248001, 0.032131776213645935, -0.006099342368543148, 0.001457090605981648, -0.0376616008579731, 0.02845747396349907, 0.0038511285092681646, -0.036890000104904175, 0.0008158099954016507, -0.06977500766515732, 0.016396574676036835, 0.021751871332526207, -0.03876389190554619, -0.08671354502439499, 0.050007257610559464, -0.01921660266816616, -0.020649580284953117, 0.029100477695465088, 0.029100477695465088, -0.06000136211514473, 0.009516444057226181, -0.02366250939667225, -0.025242459028959274, -0.006434622686356306, -0.016139375045895576, -0.009346507489681244, 0.014926854521036148, -0.03215014934539795, 0.01278657279908657, -0.03139691427350044, -0.02077818103134632, 0.019106373190879822, -0.03435473144054413, -0.03993966802954674, -0.03005579486489296, 0.012795759364962578, 0.0656597912311554, -0.04611249640583992, -0.013282603584229946, 0.06551281362771988, -0.010067589581012726, -0.028622817248106003, 0.041997279971838, 0.02987208031117916, 0.007229190319776535, -0.007449648808687925, 0.044275347143411636, 0.01669970527291298, 0.013714334927499294, 0.03231549263000488, -0.03648582473397255, 0.0049786800518631935, -0.011996597982943058, -0.05015423148870468, 0.03288500756025314, 0.00382357113994658, -0.033160582184791565, -0.021090496331453323, -0.058458153158426285, -0.051770925521850586, 0.02621614933013916, 0.03242572024464607, -0.04960308596491814, -0.007449648808687925, -0.036963485181331635, 0.04464277625083923, -0.0076058064587414265, -0.0769398957490921, -0.007109775673598051, 0.04508369415998459, 0.031066229566931725, 0.05540848523378372, -0.007183261681348085, -0.011041279882192612, 0.005681390408426523, -0.017921410501003265, -0.07146518677473068, -0.044238604605197906, 0.036283738911151886, 0.050705377012491226, 0.04603901132941246, 0.01584543101489544, 0.022688819095492363, 0.00005296162635204382, 0.07212655991315842, 0.01546881441026926, 0.03573259338736534, -0.061434339731931686, 0.018941029906272888, -0.02042912319302559, -0.004000396933406591, 0.004652585834264755, 0.03453844413161278, 0.003933800384402275, 0.02625289186835289, -0.022321388125419617, 0.024415740743279457, 0.0028981061186641455, 0.0019003034103661776, 0.009121456183493137, 0.029284192249178886, -0.019877977669239044, -0.019234973937273026, 0.027061238884925842, -0.003143825102597475, -0.029816966503858566, -0.04401814565062523, 0.03832297772169113, 0.03701860085129738, 0.00396135775372386, -0.00259727262891829, -0.002565122442319989, 0.024856656789779663, -0.05375504866242409, -0.03780857473611832, 0.0013330829096958041, -0.026436608284711838, 0.03240735083818436, 0.035144705325365067, 0.04067452996969223, -0.038102518767118454, 0.038065776228904724, -0.03428124263882637, -0.03200317546725273, 0.021641641855239868, 0.016635404899716377, -0.033123839646577835, -0.0314704030752182, 0.06995872408151627, -0.013245861046016216, -0.002233287086710334, 0.03727579861879349, 0.04677387326955795, -0.007481798529624939, -0.02583034709095955, 0.04214425012469292, 0.050962578505277634, 0.034446585923433304, 0.04306282848119736, -0.0016293235821649432, -0.012648786418139935, -0.013576548546552658, -0.011574053205549717, 0.018196983262896538, -0.0003430306096561253, -0.00585132697597146, -0.04519392177462578, 0.07679292559623718, -0.029504649341106415, -0.01394397858530283, 0.001090234494768083, -0.005589532665908337, 0.004781186114996672, -0.04578180983662605, -0.07212655991315842, 0.03343615308403969, 0.02450759895145893, 0.02731844037771225, 0.0429893396794796, -0.00032207558979280293, -0.06613744795322418, 0.0020243111066520214, 0.07036289572715759, 0.004135887138545513, 0.018674643710255623, -0.016295531764626503, 0.013668405823409557, -0.02013517916202545, -0.02312973514199257, -0.007697664201259613, -0.031452029943466187, 0.0643002986907959, 0.05548197031021118, -0.01687423512339592, 0.03176434710621834, 0.05584939941763878, -0.06018507853150368, 0.017204921692609787, -0.03244409337639809, -0.014798253774642944, 0.06657836586236954, -0.02340530790388584, 0.009837944991886616, 0.011610796675086021, -0.011059651151299477, 0.036926742643117905, -0.036963485181331635, -0.06657836586236954, -0.015854615718126297, -0.08774234354496002, 0.019088001921772957, -0.011748583056032658, -0.04478975012898445, 0.025279201567173004, -0.10398276150226593, -0.03058856911957264, -0.006292243488132954, -0.039168067276477814, -0.004638806916773319, 0.021053753793239594, 0.05592288449406624, 0.01053606253117323, -0.05687820538878441, 0.005295588634908199, -0.031672488898038864, 0.018059197813272476, -0.004158851224929094, 0.0012791166082024574, 0.03690836951136589, 0.01715899258852005, -0.0031116751488298178, 0.0038396462332457304, 0.004445906262844801, 0.0018417441751807928, 0.046590156853199005, 0.004799557849764824, 0.01337446179240942, 0.002102389931678772, -0.028310501947999, 0.035438649356365204, 0.022229531779885292, 0.03953549638390541, 0.031066229566931725, 0.03986618295311928, -0.01807756908237934, -0.0023607395123690367, -0.0015983215998858213, 0.022670447826385498, -0.020943524315953255, -0.042474936693906784, 0.04254842549562454, -0.000873795070219785, -0.04151961952447891, 0.04166659340262413, 0.040160126984119415, -0.016773192211985588, -0.021862100809812546, -0.020080063492059708, 0.027097981423139572, -0.048794738948345184, 0.05397550389170647, -0.0010173225309699774, -0.009047970175743103, -0.006485144142061472, 0.013071331195533276, 0.021127240732312202, 0.010260489769279957, 0.02845747396349907, 0.0022505102679133415, -0.01989634893834591, 0.04574506729841232, 0.0402703583240509, -0.02305624820291996, 0.07271444797515869, 0.05052166059613228, 0.009736902080476284, 0.050668634474277496, -0.06588024646043777, -0.0349426195025444, 0.015744386240839958, 0.043283283710479736, 0.012042527087032795, -0.028108414262533188, 0.02834724448621273, 0.04030710086226463, 0.005102687980979681, -0.017131436616182327, -0.010058403015136719, 0.036853253841400146, -0.03069879859685898, 0.017388638108968735, 0.045304153114557266, 0.0569884330034256, -0.09097573161125183, 0.041115447878837585, 0.008533568121492863, -0.013503062538802624, 0.032095033675432205, 0.06889317184686661, -0.00253526889719069, 0.004974087234586477, -0.04071127250790596, -0.04585529863834381, -0.03619188070297241, 0.02750215493142605, 0.05592288449406624, -0.026161035522818565, -0.06297754496335983, -0.0031369358766824007, 0.031488772481679916, -0.08274529874324799, 0.02480154298245907, 0.0006102786865085363, 0.00402336148545146, -0.05746609345078468, 0.003208125475794077, 0.00020955006766598672, -0.01737026497721672, 0.0371655710041523, -0.01644250378012657, -0.061544567346572876, -0.030147653073072433, -0.06712950766086578, -0.0066964165307581425, -0.02610591985285282, 0.012474257498979568, -0.040196869522333145, 0.007279712241142988, -0.06334497779607773, 0.01493604015558958, 0.004149665590375662, 0.012014969252049923, 0.05133000761270523, -0.015597415156662464, -0.022780675441026688, 0.020190292969346046, 0.028567703440785408, -0.003051967592909932, -0.011629167944192886, -0.015147312544286251, -0.012217056006193161, 0.0006521887262351811, 0.016708891838788986, -0.0028429916128516197, 0.009938988834619522, -0.023993195965886116, 0.05202812701463699, 0.034262873232364655, -0.021660013124346733, 0.04570832476019859, 0.028218643739819527, -0.003933800384402275, 0.020557723939418793, 0.026271263137459755, 0.017737695947289467, 0.0107473349198699, -0.04956634342670441, -0.07425765693187714, 0.07131821662187576, 0.023533908650279045, -0.044569291174411774, 0.020576095208525658, -0.04585529863834381, 0.006255500018596649, -0.014008278958499432, -0.038176003843545914, 0.0899469256401062, 0.043283283710479736, -0.00029394420562312007, 0.11096394062042236, -0.06235291436314583, 0.03136017173528671, 0.022541847079992294, -0.009883874095976353, 0.04783942177891731, -0.04618598520755768, -0.023791110143065453, 0.01053606253117323, -0.06841551512479782, 0.03367498517036438, 0.03226037696003914, -0.017737695947289467, 0.043540485203266144, 0.03723905608057976, -0.011803696863353252, -0.0402703583240509, 0.005911034531891346, 0.010076775215566158, -0.007784928660839796, 0.013576548546552658, 0.041225675493478775, -0.009672601707279682, 0.020631209015846252, 0.038139261305332184, -0.03663279861211777, -0.0017900742823258042, -0.02199070155620575, -0.013686777092516422, -0.004749035928398371, -0.004406866617500782, 0.010379904881119728, -0.024415740743279457, 0.018996143713593483, 0.0646677240729332, 0.09641370177268982, -0.013842934742569923, -0.013484690338373184, -0.07451485842466354, 0.004964901600033045, 0.03485076129436493, -0.012850873172283173, -0.031176457181572914, -0.017030391842126846, -0.03499773144721985, 0.0016580290393903852, 0.005979927722364664, 0.007624178193509579, -0.05221183970570564, 0.011518938466906548, 0.025444544851779938, -0.043467000126838684, 0.0000921446189749986, -0.027024496346712112, -0.012428328394889832, -0.04905194044113159, 0.01996983401477337, 0.009332728572189808, 0.04949285835027695, 0.034483328461647034, -0.050668634474277496, 0.008992855437099934, 0.008827512152493, 0.013080517761409283, -0.025279201567173004, -0.04309957101941109, 0.007293490692973137, -0.008744840510189533, -0.09670764207839966, -0.02930256351828575, 0.03975595533847809, -0.04681061580777168, -0.020631209015846252, 0.026124291121959686, 0.036853253841400146, -0.0089193694293499, 0.038984350860118866, -0.03402404114603996, -0.0017039577942341566, -0.00240207533352077, -0.03069879859685898, 0.01750805228948593, 0.010811635293066502, 0.04699433222413063, -0.052873216569423676, 0.04787616431713104, -0.0159189160913229, 0.013043774291872978, -0.016828306019306183, -0.05573917180299759, -0.008372817188501358, -0.013962349854409695, 0.01744375191628933, -0.018353141844272614, 0.0244708564132452, -0.0191431175917387, 0.005874291528016329, -0.013695962727069855, 0.029173962771892548, -0.015643343329429626, 0.049933772534132004, -0.04074801504611969, 0.010931050404906273, 0.020906781777739525, -0.020539352670311928, 0.001915230299346149, -0.014981969259679317, 0.007679292466491461, -0.0035227376502007246, -0.08274529874324799, -0.08120208978652954, 0.05059514567255974, -0.024287139996886253, 0.03979269787669182, -0.010875935666263103, -0.0266386941075325, -0.060405533760786057, -0.048794738948345184, 0.0033045760355889797, -0.07987933605909348, -0.0010041180066764355, -0.07385348528623581, 0.006062599364668131, 0.04622272774577141, -0.0008204028708860278, -0.06937083601951599, -0.008322295732796192, -0.029431164264678955, 0.025628261268138885, -0.05155046656727791, 0.0372941717505455, 0.02290927618741989, -0.022321388125419617, 0.05316716060042381, -0.07028941065073013, 0.049750056117773056, -0.004034843761473894, -0.0789240226149559, 0.037918802350759506, 0.02959650754928589, -0.03378521278500557, 0.014871739782392979, -0.0023791110143065453, -0.02355227991938591, 0.03191131725907326, 0.014807439409196377, 0.03306872397661209, -0.008161544799804688, 0.03428124263882637, 0.07113450020551682, 0.07293491065502167, -0.049970515072345734, -0.050815604627132416, 0.03661442548036575, 0.0299823097884655, -0.017820367589592934, -0.02050260826945305, -0.024250397458672523, 0.02160489931702614, 0.05008074641227722, 0.006586187519133091, 0.02796144224703312, 0.06080970913171768, 0.02039237879216671, 0.004514799453318119, 0.0672764778137207, -0.041299160569906235, -0.0003941263712476939, 0.011326038278639317, 0.0002906430745497346, 0.017324337735772133, 0.09126967936754227, 0.04802313446998596, -0.004119812045246363, 0.008671354502439499, 0.029229076579213142, -0.04743524640798569, 0.026197778061032295, 0.08730143308639526, -0.038947608321905136, -0.010379904881119728, -0.034483328461647034, -0.0010827711084857583, -0.007229190319776535, 0.05338761582970619, 0.02092515304684639, 0.024636199697852135, 0.008372817188501358, -0.0214946698397398, 0.04096847400069237, -0.022725561633706093, -0.025775233283638954, -0.03343615308403969, 0.00226888176985085, -0.023001134395599365, 0.04629621282219887, -0.049750056117773056, 0.03957223892211914, 0.028512587770819664, -0.0301660243421793, 0.022321388125419617, 0.0065632229670882225, -0.06881968677043915, -0.004179519135504961, 0.03858017921447754, -0.01837151311337948, 0.03858017921447754, -0.05232207104563713, 0.000017304028006037697, 0.030919257551431656, -0.08186346292495728, -0.0025880869943648577, -0.012125198729336262, 0.00019591496675275266, 0.0018693014280870557, 0.05125652253627777, -0.06742345541715622, 0.028328873217105865, 0.02046586573123932, 0.02906373329460621, -0.007757371291518211, 0.013741891831159592, 0.051807668060064316, 0.005961555987596512, -0.0288065318018198, -0.020943524315953255, 0.0473250187933445, -0.03512633219361305, 0.06551281362771988, -0.038947608321905136, 0.02450759895145893, 0.02142118476331234, -0.004581396002322435, -0.013346903957426548, 0.01652517542243004, -0.004294341430068016, -0.0059202201664447784, -0.01615774631500244, -0.07502926141023636, 0.06360217928886414, 0.006788274273276329, -0.022799048572778702, -0.006338172126561403, 0.07109775394201279, -0.04372420161962509, 0.014283851720392704, 0.004257597960531712, -0.0015386142767965794, -0.045451123267412186, -0.03606327995657921, -0.03619188070297241, 0.03424450010061264, 0.017149807885289192, 0.05239555612206459, 0.032774779945611954, 0.025940576568245888, 0.05257927253842354, -0.02408505417406559, -0.034262873232364655, 0.023607393726706505, -0.05430619418621063, 0.02206418663263321, 0.06444726884365082, 0.0372941717505455, -0.003913132473826408, -0.014623724855482578, -0.03832297772169113, -0.03584282100200653, 0.010839193128049374, 0.01861034333705902, 0.019106373190879822, -0.09295985847711563, -0.07752778381109238, -0.013815377838909626, -0.030790656805038452, -0.013659220188856125, -0.04710455983877182, 0.03740439936518669, -0.026087548583745956, 0.03158063068985939, -0.002173579763621092, -0.0026707586366683245, 0.031819459050893784, -0.045340895652770996, -0.08494987338781357, 0.03777183219790459, -0.0029279598966240883, -0.017204921692609787, 0.0416298471391201, 0.04151961952447891, -0.04074801504611969, -0.0009220202919095755, -0.056253574788570404, -0.0546368807554245, 0.08752188831567764, 0.07738081365823746, -0.06617419421672821, 0.05746609345078468, 0.04284236952662468, -0.11882694810628891, 0.020098434761166573, 0.026583580300211906, 0.018206169828772545, -0.012860058806836605, 0.008593275211751461, -0.04574506729841232, -0.012299727648496628, -0.0051991380751132965, 0.06338172405958176, 0.005993706174194813, 0.04306282848119736, -0.012878431007266045, -0.0372941717505455, 0.016598662361502647, 0.0016614737687632442, -0.07583760470151901, -0.05691494792699814, 0.03953549638390541, -0.020190292969346046, 0.031709231436252594, -0.004503317177295685, 0.06617419421672821, 0.02287253364920616, 0.005162395071238279, 0.08899161219596863, -0.005901848431676626, -0.007977829314768314, -0.06022182106971741, 0.0031966431997716427, 0.018022455275058746, -0.004992458503693342, 0.013714334927499294, 0.032095033675432205, 0.022082559764385223, -0.013282603584229946, 0.0023607395123690367, -0.019951462745666504, -0.012520186603069305, -0.015266727656126022, -0.009635858237743378, 0.016956906765699387, -0.02070469595491886, -0.00571813341230154, -0.05776003748178482, 0.019345203414559364, 0.04078475758433342, -0.021329326555132866, -0.022725561633706093, 0.008303923532366753, 0.0179030392318964, -0.000018640626876731403 ]
719,791
ibm_platform_services.iam_policy_management_v1
list_policies
Get policies by attributes. Get policies and filter by attributes. While managing policies, you might want to retrieve policies in the account and filter by attribute values. This can be done through query parameters. The following attributes are supported: account_id, iam_id, access_group_id, type, service_type, sort, format and state. account_id is a required query parameter. Only policies that have the specified attributes and that the caller has read access to are returned. If the caller does not have read access to any policies an empty array is returned. :param str account_id: The account GUID that the policies belong to. :param str accept_language: (optional) Language code for translations * `default` - English * `de` - German (Standard) * `en` - English * `es` - Spanish (Spain) * `fr` - French (Standard) * `it` - Italian (Standard) * `ja` - Japanese * `ko` - Korean * `pt-br` - Portuguese (Brazil) * `zh-cn` - Chinese (Simplified, PRC) * `zh-tw` - (Chinese, Taiwan). :param str iam_id: (optional) Optional IAM ID used to identify the subject. :param str access_group_id: (optional) Optional access group id. :param str type: (optional) Optional type of policy. :param str service_type: (optional) Optional type of service. :param str tag_name: (optional) Optional name of the access tag in the policy. :param str tag_value: (optional) Optional value of the access tag in the policy. :param str sort: (optional) Optional top level policy field to sort results. Ascending sort is default. Descending sort available by prepending '-' to field. Example '-last_modified_at'. :param str format: (optional) Include additional data per policy returned * `include_last_permit` - returns details of when the policy last granted a permit decision and the number of times it has done so * `display` - returns the list of all actions included in each of the policy roles. :param str state: (optional) The state of the policy. * `active` - returns active policies * `deleted` - returns non-active policies. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse with `dict` result representing a `PolicyCollection` object
def list_policies( self, account_id: str, *, accept_language: Optional[str] = None, iam_id: Optional[str] = None, access_group_id: Optional[str] = None, type: Optional[str] = None, service_type: Optional[str] = None, tag_name: Optional[str] = None, tag_value: Optional[str] = None, sort: Optional[str] = None, format: Optional[str] = None, state: Optional[str] = None, **kwargs, ) -> DetailedResponse: """ Get policies by attributes. Get policies and filter by attributes. While managing policies, you might want to retrieve policies in the account and filter by attribute values. This can be done through query parameters. The following attributes are supported: account_id, iam_id, access_group_id, type, service_type, sort, format and state. account_id is a required query parameter. Only policies that have the specified attributes and that the caller has read access to are returned. If the caller does not have read access to any policies an empty array is returned. :param str account_id: The account GUID that the policies belong to. :param str accept_language: (optional) Language code for translations * `default` - English * `de` - German (Standard) * `en` - English * `es` - Spanish (Spain) * `fr` - French (Standard) * `it` - Italian (Standard) * `ja` - Japanese * `ko` - Korean * `pt-br` - Portuguese (Brazil) * `zh-cn` - Chinese (Simplified, PRC) * `zh-tw` - (Chinese, Taiwan). :param str iam_id: (optional) Optional IAM ID used to identify the subject. :param str access_group_id: (optional) Optional access group id. :param str type: (optional) Optional type of policy. :param str service_type: (optional) Optional type of service. :param str tag_name: (optional) Optional name of the access tag in the policy. :param str tag_value: (optional) Optional value of the access tag in the policy. :param str sort: (optional) Optional top level policy field to sort results. Ascending sort is default. Descending sort available by prepending '-' to field. Example '-last_modified_at'. :param str format: (optional) Include additional data per policy returned * `include_last_permit` - returns details of when the policy last granted a permit decision and the number of times it has done so * `display` - returns the list of all actions included in each of the policy roles. :param str state: (optional) The state of the policy. * `active` - returns active policies * `deleted` - returns non-active policies. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse with `dict` result representing a `PolicyCollection` object """ if not account_id: raise ValueError('account_id must be provided') headers = { 'Accept-Language': accept_language, } sdk_headers = get_sdk_headers( service_name=self.DEFAULT_SERVICE_NAME, service_version='V1', operation_id='list_policies', ) headers.update(sdk_headers) params = { 'account_id': account_id, 'iam_id': iam_id, 'access_group_id': access_group_id, 'type': type, 'service_type': service_type, 'tag_name': tag_name, 'tag_value': tag_value, 'sort': sort, 'format': format, 'state': state, } if 'headers' in kwargs: headers.update(kwargs.get('headers')) del kwargs['headers'] headers['Accept'] = 'application/json' url = '/v1/policies' request = self.prepare_request( method='GET', url=url, headers=headers, params=params, ) response = self.send(request, **kwargs) return response
(self, account_id: str, *, accept_language: Optional[str] = None, iam_id: Optional[str] = None, access_group_id: Optional[str] = None, type: Optional[str] = None, service_type: Optional[str] = None, tag_name: Optional[str] = None, tag_value: Optional[str] = None, sort: Optional[str] = None, format: Optional[str] = None, state: Optional[str] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
[ -0.03920368105173111, -0.012306494638323784, -0.0335284061729908, -0.08428388833999634, 0.023566484451293945, 0.0030112171079963446, -0.020668471232056618, -0.05409625172615051, -0.03620504215359688, 0.0341925323009491, -0.01320206094533205, 0.03598366677761078, -0.020125092938542366, 0.012165619060397148, -0.06303179264068604, 0.019169151782989502, 0.040813688188791275, 0.010208453051745892, -0.011793304234743118, -0.061260782182216644, 0.04419470578432083, 0.03558116406202316, -0.0015534056583419442, 0.012990747578442097, 0.03745279833674431, -0.07096108049154282, 0.03584279119968414, -0.04310794919729233, -0.029463136568665504, 0.04431545361876488, 0.016774265095591545, 0.05470000207424164, 0.023868359625339508, 0.02763175219297409, -0.03924393281340599, 0.01367500051856041, 0.040592312812805176, -0.02093009650707245, -0.010907800868153572, 0.034615159034729004, -0.03749305009841919, 0.007763254921883345, 0.052888743579387665, -0.03936468064785004, -0.05993252620100975, 0.004482864402234554, -0.01050529908388853, 0.04809897392988205, -0.023828109726309776, -0.023264607414603233, 0.006550717633217573, 0.08098337799310684, -0.010122922249138355, -0.002965935505926609, 0.023264607414603233, -0.023606734350323677, -0.03904268145561218, -0.022318728268146515, 0.037633925676345825, -0.005358306225389242, 0.002120681805536151, -0.0018552819965407252, -0.03346803039312363, -0.04226269572973251, -0.0026841843500733376, -0.08025886863470078, -0.007295346353203058, -0.03767417371273041, -0.05051398277282715, -0.0390024296939373, 0.006852594204246998, -0.011400865390896797, 0.004180988296866417, 0.004845116287469864, -0.025719869881868362, -0.04387270286679268, 0.0473342202603817, -0.047696471214294434, -0.013634750619530678, -0.006510467734187841, 0.00118738051969558, -0.011300239711999893, 0.022298602387309074, 0.017609456554055214, 0.03209952265024185, 0.03851942718029022, 0.009232386946678162, -0.08307638764381409, 0.008920447900891304, 0.04982972890138626, -0.013997002504765987, 0.020457157865166664, -0.016905078664422035, 0.015204507857561111, -0.00998204667121172, 0.032703276723623276, -0.018786774948239326, -0.044234953820705414, 0.005780932959169149, 0.029201509431004524, -0.06774106621742249, -0.030006512999534607, -0.008834916166961193, 0.01963202841579914, 0.04540221020579338, -0.0414174422621727, -0.020054655149579048, 0.02688712440431118, 0.04636821523308754, -0.004009924829006195, 0.008844978176057339, 0.015415821224451065, 0.03819742798805237, -0.022821854799985886, 0.05655151233077049, 0.030650516971945763, 0.0017244688933715224, -0.028517257422208786, -0.03580253943800926, -0.007370815146714449, -0.019008150324225426, -0.016703827306628227, 0.0503932349383831, 0.023485984653234482, -0.04286644980311394, 0.003401140682399273, -0.03083164244890213, -0.017941521480679512, -0.006047590635716915, 0.027933629229664803, -0.07522759586572647, 0.00945376232266426, 0.00028976990142837167, 0.016009511426091194, 0.025015490129590034, -0.027269501239061356, 0.011934179812669754, 0.02044709399342537, -0.01416806597262621, 0.043268948793411255, 0.015949135646224022, 0.02149359881877899, 0.03632579371333122, -0.0070639075711369514, -0.012608370743691921, -0.05820177122950554, 0.061260782182216644, -0.020628221333026886, 0.007401003036648035, -0.004892913158982992, -0.000835820275824517, -0.04487895593047142, -0.01107886340469122, 0.0014313972787931561, -0.012266244739294052, -0.04572421312332153, -0.000774816086050123, -0.03139514476060867, -0.02710849978029728, -0.04266519844532013, -0.006304185371845961, 0.02636387199163437, -0.006128090899437666, -0.04882347583770752, -0.007924254983663559, -0.03469565883278847, 0.014781881123781204, 0.008442476391792297, 0.006832469254732132, -0.06637255847454071, 0.030227890238165855, 0.002543308539316058, -0.009765701368451118, -0.00462373998016119, -0.0591677725315094, 0.030388889834284782, 0.040833812206983566, 0.002920654136687517, -0.03473591059446335, -0.04604621231555939, 0.014188190922141075, -0.04636821523308754, -0.04419470578432083, 0.016703827306628227, -0.003672829596325755, -0.03379002958536148, 0.00936823058873415, 0.05453900247812271, -0.04099481552839279, 0.02193635143339634, -0.07804511487483978, -0.005028757732361555, 0.004950772970914841, -0.011410927399992943, -0.04520095884799957, -0.013463687151670456, 0.024351362138986588, -0.020084843039512634, -0.02493499033153057, -0.02493499033153057, 0.04729396849870682, -0.03574216365814209, 0.00001626319863134995, 0.015466134063899517, 0.030227890238165855, 0.007511691190302372, -0.03131464496254921, -0.05534400790929794, 0.03678866848349571, -0.05924827605485916, -0.006948188412934542, 0.003637610701844096, 0.028155004605650902, -0.006012371741235256, -0.03107314370572567, 0.07796461135149002, 0.013785689137876034, 0.010334235616028309, 0.04636821523308754, -0.05526350438594818, 0.039827559143304825, -0.043268948793411255, -0.016703827306628227, -0.02412998676300049, 0.04367145150899887, 0.03338753059506416, 0.032924652099609375, 0.016381826251745224, -0.05457925423979759, 0.023123731836676598, 0.04717321693897247, -0.0016263590659946203, 0.020909972488880157, 0.013272498734295368, 0.02517649158835411, -0.03795592486858368, -0.03328690305352211, 0.014832193963229656, -0.03672829642891884, 0.05196299031376839, 0.030670642852783203, 0.02710849978029728, 0.02145334891974926, 0.04830022528767586, -0.08291538059711456, 0.011501491069793701, -0.03449441120028496, 0.03159639611840248, 0.05035298317670822, -0.026786498725414276, 0.007546910084784031, -0.010706549510359764, -0.021553974598646164, -0.01773020625114441, -0.016180574893951416, -0.008734290488064289, -0.006636249367147684, -0.0778036117553711, 0.012608370743691921, -0.014550442807376385, 0.0022452056873589754, -0.015013319440186024, -0.06347454339265823, -0.03924393281340599, 0.040330685675144196, -0.03694967180490494, 0.04588521271944046, 0.028980134055018425, 0.008351913653314114, 0.03224039822816849, -0.004885366186499596, 0.014942881651222706, -0.016844702884554863, -0.004445130005478859, -0.02149359881877899, 0.004930648021399975, 0.057074762880802155, 0.03451453521847725, -0.06045578047633171, 0.05075548589229584, 0.028678257018327713, 0.013664938509464264, -0.009876389056444168, 0.05820177122950554, 0.014500129967927933, -0.001989868702366948, -0.023103607818484306, 0.06250853836536407, -0.03829805180430412, 0.04153819382190704, 0.05449875071644783, 0.04878322407603264, -0.00339359394274652, -0.06717756390571594, 0.0169855784624815, -0.011833555065095425, -0.02117159776389599, -0.058040767908096313, 0.06242803856730461, 0.015466134063899517, -0.0031445457134395838, 0.04906497895717621, 0.10440898686647415, -0.06745931506156921, -0.03127439320087433, -0.0264041218906641, 0.04314820095896721, -0.02370736002922058, 0.03008701466023922, 0.01504350733011961, 0.0026590279303491116, 0.026967624202370644, -0.0002410294400760904, 0.04459720477461815, 0.007285283878445625, -0.013614625670015812, -0.002096783136948943, -0.020286094397306442, 0.031173769384622574, 0.026283372193574905, -0.04954797774553299, 0.05059448257088661, 0.03926405683159828, -0.014429692178964615, 0.05063473433256149, -0.06878756731748581, -0.019289901480078697, 0.034896910190582275, -0.002363440580666065, -0.05534400790929794, -0.03876093029975891, 0.015586884692311287, -0.02057790756225586, -0.004253941588103771, -0.04479845613241196, 0.018414460122585297, 0.01479194313287735, 0.005162086337804794, 0.0010798369767144322, 0.0020401813089847565, -0.013664938509464264, -0.03874080255627632, 0.04479845613241196, 0.04584496095776558, -0.044999707490205765, 0.015808260068297386, 0.08215063065290451, 0.016864828765392303, 0.010037390515208244, -0.00745634688064456, -0.004216207191348076, -0.0017747816164046526, 0.09088492393493652, 0.0898384153842926, 0.031133519485592842, -0.06906931847333908, 0.006052621640264988, 0.02057790756225586, -0.030710892751812935, 0.01910877600312233, 0.0015810775803402066, -0.049990732222795486, -0.027470752596855164, 0.02245960384607315, 0.026947500184178352, -0.0392238050699234, 0.03874080255627632, -0.10062546283006668, 0.005463962908834219, -0.046730466187000275, -0.023626860231161118, -0.06287079304456711, -0.07377859205007553, -0.019199339672923088, 0.014308941550552845, 0.03153602033853531, -0.017689956352114677, 0.03211965039372444, 0.00045721695641987026, 0.07981611788272858, 0.0196119025349617, 0.003353343578055501, 0.057598017156124115, 0.02412998676300049, 0.01801195926964283, -0.0031395144760608673, 0.0007402260671369731, -0.024532489478588104, -0.012588245794177055, -0.014832193963229656, 0.0040124403312802315, 0.016029637306928635, -0.050433482974767685, -0.028416631743311882, 0.011360615491867065, -0.009931733831763268, -0.044999707490205765, -0.013886313885450363, 0.008055068552494049, -0.04387270286679268, 0.018394334241747856, -0.014520254917442799, 0.023123731836676598, 0.0020137671381235123, -0.053130246698856354, -0.05457925423979759, 0.06246829032897949, 0.032180022448301315, -0.046287715435028076, 0.01491269376128912, 0.02543811686336994, -0.0018225787207484245, -0.04741472005844116, -0.03896218165755272, 0.05751751735806465, 0.0355006642639637, 0.02294260635972023, 0.07373834401369095, -0.02346585877239704, 0.01357437577098608, 0.06210603937506676, -0.027450626716017723, 0.032159898430109024, 0.025860745459794998, 0.02370736002922058, 0.005841308273375034, -0.017810707911849022, 0.01107886340469122, 0.02050746977329254, -0.048420973122119904, 0.09064342081546783, 0.025820493698120117, -0.03626541793346405, -0.06472229957580566, 0.017277391627430916, 0.02493499033153057, -0.024351362138986588, 0.005946964956820011, -0.0014578114496544003, -0.012950497679412365, 0.05800051987171173, 0.04290669783949852, -0.0453619584441185, -0.006123059429228306, 0.04982972890138626, 0.03946530818939209, 0.0016854765126481652, -0.008673914708197117, 0.019430777058005333, -0.019601840525865555, 0.017951583489775658, 0.0736175924539566, 0.09571494162082672, 0.005896652117371559, -0.01036442257463932, -0.004528145771473646, 0.021835725754499435, 0.010193360038101673, -0.053130246698856354, -0.04681096598505974, 0.04274569824337959, -0.06641280651092529, 0.044758208096027374, 0.01921946369111538, 0.0330856516957283, -0.008296569809317589, -0.027973879128694534, 0.0433897003531456, -0.03968668356537819, 0.018283646553754807, 0.008563227020204067, -0.021352723240852356, -0.03598366677761078, 0.04238344728946686, 0.04153819382190704, 0.016532763838768005, 0.05345224589109421, -0.03399128094315529, -0.009307855740189552, -0.004960835445672274, 0.042302947491407394, 0.0001020405106828548, -0.05031273141503334, 0.01321212388575077, -0.0014200769364833832, -0.06528580188751221, -0.03477616235613823, 0.03061026707291603, -0.052928995341062546, -0.027792753651738167, -0.010676361620426178, 0.0015760463429614902, 0.0010251218918710947, 0.06017402932047844, -0.05296924710273743, 0.0244318637996912, 0.01853521168231964, -0.04459720477461815, 0.01480200607329607, -0.028054380789399147, 0.038096800446510315, -0.05123848840594292, 0.05502200499176979, -0.015808260068297386, 0.046770717948675156, 0.013342936523258686, -0.018796836957335472, -0.007798473816365004, -0.01060592383146286, -0.02807450480759144, -0.047253720462322235, 0.027933629229664803, 0.01797170750796795, -0.028235506266355515, -0.04314820095896721, 0.017458518967032433, 0.02463311329483986, 0.0311133936047554, -0.010535486042499542, -0.009317917749285698, 0.043309200555086136, -0.02684687450528145, -0.023244483396410942, 0.027289627119898796, 0.021574100479483604, 0.03749305009841919, -0.053854748606681824, -0.06951206922531128, 0.0508359856903553, -0.002461550524458289, 0.03998855873942375, -0.0030791391618549824, -0.037150923162698746, -0.021272223442792892, -0.03226052597165108, 0.00833681970834732, -0.08718190342187881, -0.033930908888578415, 0.010776987299323082, 0.05188249051570892, 0.05502200499176979, 0.04910522699356079, -0.032944776117801666, -0.03370952978730202, -0.026947500184178352, 0.025780243799090385, -0.05739676579833031, 0.02592111937701702, -0.007491565775126219, 0.00757709750905633, 0.053130246698856354, -0.055102504789829254, 0.024109860882163048, -0.003997346851974726, 0.004638833925127983, 0.0023156434763222933, 0.06758005917072296, -0.05973127484321594, -0.04061243683099747, -0.009765701368451118, -0.0077079106122255325, -0.014298878610134125, -0.04693171754479408, -0.02666574902832508, 0.01700570434331894, 0.023143857717514038, 0.0681435689330101, 0.060777779668569565, 0.005780932959169149, -0.017257267609238625, 0.04238344728946686, 0.02642424777150154, -0.06633231043815613, -0.02612237073481083, -0.04584496095776558, -0.005619932431727648, 0.03276365250349045, -0.007672691717743874, 0.0007307924679480493, 0.06431979686021805, 0.04858197644352913, -0.04298719763755798, 0.03346803039312363, -0.047253720462322235, -0.00021272852609399706, 0.01626107469201088, 0.0031797646079212427, 0.013051123358309269, 0.06605055928230286, 0.036627668887376785, -0.052405741065740585, 0.028738632798194885, 0.027973879128694534, -0.01792139559984207, -0.03240140154957771, 0.0795343667268753, -0.019803091883659363, -0.0034590004943311214, -0.08549139648675919, 0.000029244276447570883, 0.005755776539444923, 0.052445992827415466, 0.03847917914390564, 0.05667226389050484, 0.027752503752708435, -0.026947500184178352, 0.052123989909887314, 0.06496380269527435, 0.013815876096487045, -0.01048517320305109, -0.006329341791570187, 0.011481366120278835, 0.05699426308274269, -0.0946684405207634, 0.055102504789829254, -0.01457056775689125, -0.034172408282756805, 0.05530375614762306, 0.07651560753583908, -0.05598801001906395, 0.03280390053987503, 0.016713889315724373, -0.027450626716017723, 0.07265158742666245, -0.07172583043575287, -0.023586608469486237, 0.004565880633890629, -0.09515143930912018, 0.0014590692007914186, -0.03447428345680237, 0.02495511621236801, -0.005931871011853218, -0.005891621112823486, -0.03185802325606346, 0.020276030525565147, 0.06295128911733627, 0.02517649158835411, 0.0035696884151548147, 0.02095022238790989, -0.04067281261086464, 0.024532489478588104, -0.010082671418786049, 0.014419629238545895, 0.023868359625339508, 0.03552078828215599, 0.10577748715877533, -0.07981611788272858, 0.015093820169568062, 0.08975791186094284, 0.009277667850255966, -0.036386169493198395, 0.01283980906009674, -0.03036876581609249, -0.015053569339215755, -0.032441649585962296, -0.013654875569045544, 0.014630942605435848, 0.022600479423999786, 0.0033130934461951256, -0.010998363606631756, -0.009831108152866364, -0.05667226389050484, 0.0006647569825872779, -0.006998501252382994, -0.010143047198653221, -0.04882347583770752, -0.040069062262773514, 0.014701380394399166, 0.007677723187953234, 0.023485984653234482, 0.045281458646059036, 0.051681239157915115, 0.03698991984128952, 0.027229251340031624, 0.022258352488279343, 0.024089736863970757, -0.014983131550252438, -0.058081019669771194, 0.029684511944651604, 0.009317917749285698, 0.014610817655920982, -0.006626186892390251, -0.007471440825611353, -0.055867258459329605, 0.022560229524970055, -0.05997277796268463, 0.013513999991118908, -0.02986563742160797, -0.0852498933672905, -0.029926013201475143, -0.020396782085299492, -0.03477616235613823, -0.004153315909206867, -0.021775349974632263, 0.06725805997848511, -0.010646174661815166, 0.01948109082877636, -0.015124007128179073, 0.036345917731523514, 0.05035298317670822, 0.002376018790528178, -0.04298719763755798, 0.01998421736061573, 0.002082947175949812, -0.0138058140873909, 0.0407533124089241, 0.023989111185073853, -0.03246177360415459, 0.0418601930141449, -0.0328642763197422, -0.03457491099834442, 0.06427954882383347, 0.03451453521847725, -0.04463745653629303, 0.026283372193574905, 0.030892018228769302, -0.028235506266355515, 0.02469348907470703, 0.037090547382831573, -0.011712804436683655, -0.013091373257339, 0.0020276030991226435, -0.028477007523179054, -0.037593673914670944, 0.003101780079305172, 0.015023382380604744, -0.008155694231390953, 0.06725805997848511, -0.01379575114697218, -0.011581990867853165, 0.024492237716913223, -0.022600479423999786, -0.06717756390571594, -0.059811778366565704, 0.032180022448301315, -0.02445198781788349, 0.020235780626535416, -0.019883591681718826, 0.011632303707301617, 0.020437031984329224, 0.01899808831512928, 0.05912752449512482, 0.0004144511476624757, -0.04310794919729233, -0.05997277796268463, -0.0031898273155093193, 0.010404673404991627, -0.03843892738223076, 0.043792203068733215, -0.024009237065911293, 0.0039520650170743465, 0.0022602996323257685, -0.011702741496264935, -0.05333149805665016, -0.025075865909457207, 0.011984492652118206, 0.01790126971900463, 0.040552061051130295, -0.033166155219078064, -0.02439161203801632, -0.04435570538043976, 0.045764461159706116, 0.027712253853678703, 0.0013169357553124428, 0.028275756165385246, -0.018183020874857903, 0.015083757229149342, -0.043268948793411255 ]
719,792
ibm_platform_services.iam_policy_management_v1
list_policy_assignments
Get policy template assignments. Get policy template assignments by attributes. The following attributes are supported: `account_id`, `template_id`, `template_version`, `sort`. `account_id` is a required query parameter. Only policy template assignments that have the specified attributes and that the caller has read access to are returned. If the caller does not have read access to any policy template assignments an empty array is returned. :param str version: specify version of response body format. :param str account_id: The account GUID in which the policies belong to. :param str accept_language: (optional) Language code for translations * `default` - English * `de` - German (Standard) * `en` - English * `es` - Spanish (Spain) * `fr` - French (Standard) * `it` - Italian (Standard) * `ja` - Japanese * `ko` - Korean * `pt-br` - Portuguese (Brazil) * `zh-cn` - Chinese (Simplified, PRC) * `zh-tw` - (Chinese, Taiwan). :param str template_id: (optional) Optional template id. :param str template_version: (optional) Optional policy template version. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse with `dict` result representing a `PolicyTemplateAssignmentCollection` object
def list_policy_assignments( self, version: str, account_id: str, *, accept_language: Optional[str] = None, template_id: Optional[str] = None, template_version: Optional[str] = None, **kwargs, ) -> DetailedResponse: """ Get policy template assignments. Get policy template assignments by attributes. The following attributes are supported: `account_id`, `template_id`, `template_version`, `sort`. `account_id` is a required query parameter. Only policy template assignments that have the specified attributes and that the caller has read access to are returned. If the caller does not have read access to any policy template assignments an empty array is returned. :param str version: specify version of response body format. :param str account_id: The account GUID in which the policies belong to. :param str accept_language: (optional) Language code for translations * `default` - English * `de` - German (Standard) * `en` - English * `es` - Spanish (Spain) * `fr` - French (Standard) * `it` - Italian (Standard) * `ja` - Japanese * `ko` - Korean * `pt-br` - Portuguese (Brazil) * `zh-cn` - Chinese (Simplified, PRC) * `zh-tw` - (Chinese, Taiwan). :param str template_id: (optional) Optional template id. :param str template_version: (optional) Optional policy template version. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse with `dict` result representing a `PolicyTemplateAssignmentCollection` object """ if not version: raise ValueError('version must be provided') if not account_id: raise ValueError('account_id must be provided') headers = { 'Accept-Language': accept_language, } sdk_headers = get_sdk_headers( service_name=self.DEFAULT_SERVICE_NAME, service_version='V1', operation_id='list_policy_assignments', ) headers.update(sdk_headers) params = { 'version': version, 'account_id': account_id, 'template_id': template_id, 'template_version': template_version, } if 'headers' in kwargs: headers.update(kwargs.get('headers')) del kwargs['headers'] headers['Accept'] = 'application/json' url = '/v1/policy_assignments' request = self.prepare_request( method='GET', url=url, headers=headers, params=params, ) response = self.send(request, **kwargs) return response
(self, version: str, account_id: str, *, accept_language: Optional[str] = None, template_id: Optional[str] = None, template_version: Optional[str] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
[ 0.028096504509449005, -0.02018674835562706, -0.060616474598646164, -0.04907048121094704, 0.014123226515948772, 0.025866027921438217, -0.03248248249292374, -0.05176954343914986, -0.012998616322875023, 0.030383212491869926, 0.008420516736805439, -0.014113854616880417, -0.03057064674794674, -0.019549468532204628, -0.05919196829199791, -0.032444994896650314, 0.06222841516137123, 0.023897960782051086, 0.00613381015136838, -0.04839571565389633, 0.04547172784805298, -0.015294695273041725, -0.027927814051508904, 0.07849777489900589, -0.0031254785135388374, -0.06728915870189667, 0.04464701563119888, -0.03163902461528778, -0.022792095318436623, 0.04592157155275345, -0.019811877980828285, 0.07369943708181381, 0.0036128093488514423, 0.05810484662652016, -0.027927814051508904, -0.0143762631341815, -0.022698376327753067, -0.009437351487576962, -0.08224647492170334, 0.00050929602002725, 0.01340160146355629, 0.022792095318436623, -0.003915048204362392, -0.05694274976849556, -0.03962375596165657, 0.0157913975417614, -0.019399521872401237, -0.03711212798953056, 0.041835490614175797, -0.045434240251779556, 0.020711565390229225, 0.035950031131505966, -0.02303575910627842, -0.015603962354362011, -0.04832074046134949, 0.051732055842876434, 0.01898716390132904, 0.02577231079339981, 0.024928852915763855, -0.050232578068971634, -0.0052294363267719746, -0.02335439994931221, -0.06706424057483673, -0.04468449950218201, -0.0017408024286851287, -0.026128437370061874, 0.01715967245399952, -0.05012011528015137, -0.0233356561511755, -0.03173274174332619, 0.000022953463485464454, 0.0006917522405274212, -0.027796609327197075, -0.052031952887773514, 0.014207571744918823, -0.002987245097756386, 0.026015976443886757, -0.010486987419426441, 0.0005687480443157256, -0.022998273372650146, -0.04505937173962593, -0.04955781251192093, 0.0029028994031250477, -0.007483341731131077, 0.05394379049539566, 0.012389453127980232, -0.015688307583332062, -0.07561127096414566, -0.010974318720400333, 0.04442209377884865, 0.028077760711312294, 0.02590351551771164, -0.009099968709051609, 0.013467203825712204, -0.0010361640015617013, 0.01106803584843874, 0.018406115472316742, -0.05990422144532204, -0.01881847344338894, 0.03724333271384239, -0.04464701563119888, -0.030683107674121857, -0.043597377836704254, -0.008912533521652222, 0.013532806187868118, -0.04997016862034798, -0.026428332552313805, 0.004081396851688623, 0.02680320292711258, -0.014488724991679192, 0.00008881196845322847, 0.02635335922241211, 0.01625998504459858, -0.005880772601813078, 0.08142175525426865, 0.025210006162524223, -0.042997587472200394, -0.034600500017404556, -0.019362034276127815, -0.027777865529060364, 0.04325999692082405, 0.006091637071222067, 0.03379452973604202, 0.05608054995536804, -0.036081235855817795, 0.017234647646546364, -0.03388824686408043, -0.021086435765028, -0.00336914393119514, -0.0031371931545436382, -0.020524131134152412, 0.0006273214821703732, -0.005824542138725519, 0.0030059886630624533, 0.028846245259046555, -0.032444994896650314, -0.015219721011817455, 0.022229788824915886, 0.019230829551815987, -0.014038880355656147, 0.01748768426477909, -0.005669908598065376, 0.06136621534824371, 0.01778757944703102, -0.017065955325961113, -0.08726973086595535, 0.05420619994401932, 0.04869560897350311, -0.016053806990385056, 0.011367931962013245, 0.01776883751153946, -0.015585219487547874, -0.012839296832680702, -0.030833056196570396, -0.04460952803492546, 0.023017017170786858, 0.02485387958586216, -0.004744448233395815, 0.019034022465348244, -0.07130026817321777, -0.019230829551815987, 0.012473798356950283, -0.0004179214593023062, 0.04952032491564751, 0.034544266760349274, -0.04877058416604996, -0.0052106925286352634, -0.04505937173962593, -0.005079488269984722, -0.05390630289912224, 0.022079842165112495, 0.018790356814861298, 0.02588477171957493, -0.046633824706077576, -0.03748699650168419, 0.021517537534236908, 0.04764597490429878, 0.004154027905315161, 0.02123638428747654, 0.011292957700788975, 0.0011831833980977535, -0.06387784332036972, -0.027984043583273888, 0.025659849867224693, 0.009502953849732876, -0.00005000706732971594, 0.002757637295871973, 0.09664148092269897, -0.06147867441177368, 0.002673291601240635, -0.042247846722602844, -0.0663519874215126, 0.021030206233263016, 0.02228602021932602, -0.02063659206032753, -0.049482837319374084, -0.0026920349337160587, -0.014638672582805157, -0.05570567771792412, 0.013167307712137699, 0.0071412730030715466, -0.08472061157226562, -0.001831005560234189, 0.005463730078190565, 0.03988616541028023, 0.03932385891675949, 0.03242625296115875, -0.07190006226301193, 0.009376435540616512, -0.040448471903800964, 0.01790941320359707, 0.020374182611703873, 0.007431797217577696, -0.013607780449092388, -0.06556475907564163, 0.03349463269114494, 0.05728013068437576, -0.017900042235851288, 0.034862909466028214, -0.04221035912632942, -0.028283940628170967, -0.0020336697343736887, -0.03611872345209122, -0.01716904528439045, 0.06211595609784126, -0.02712184190750122, -0.01206144131720066, 0.01703784056007862, -0.0761735811829567, 0.04865812137722969, 0.05480599030852318, 0.006752345245331526, 0.04547172784805298, -0.024928852915763855, 0.015060401521623135, -0.039698731154203415, -0.032632432878017426, 0.0007122529787011445, -0.01130232959985733, 0.07160016894340515, 0.03711212798953056, 0.08007222414016724, 0.060316577553749084, 0.02547241561114788, -0.04715864360332489, 0.01032766792923212, -0.062415849417448044, 0.030833056196570396, 0.052969127893447876, -0.047233618795871735, -0.002759980270639062, -0.03857412189245224, -0.04704618081450462, 0.02018674835562706, -0.06252831220626831, -0.0012839296832680702, 0.01332662720233202, -0.02110517956316471, 0.019830621778964996, -0.0038283595349639654, -0.005126346834003925, 0.04674628749489784, -0.062003493309020996, -0.04779592156410217, 0.02232350781559944, -0.03649359196424484, -0.0036971550434827805, 0.03478793427348137, -0.00129798729903996, 0.05101980268955231, -0.02547241561114788, 0.06792643666267395, 0.015763282775878906, -0.008144049905240536, -0.0061853546649217606, 0.011836519464850426, 0.08599517494440079, 0.041048262268304825, -0.08007222414016724, 0.0227546077221632, 0.01544464286416769, 0.011396047659218311, 0.04382229968905449, 0.06466507166624069, 0.031863946467638016, 0.022529685869812965, -0.035312753170728683, 0.05135718733072281, 0.012792438268661499, 0.014226315543055534, 0.02772163413465023, 0.056267984211444855, 0.0481707900762558, -0.046783771365880966, -0.0020629563368856907, -0.0036456105299293995, 0.018190566450357437, -0.029764676466584206, 0.008856303058564663, 0.03632489964365959, 0.040298521518707275, 0.021779945120215416, 0.05045749992132187, -0.011883378028869629, -0.04337245598435402, -0.024760162457823753, 0.01869663968682289, 0.05131969973444939, 0.04832074046134949, -0.009006251581013203, 0.010449500754475594, -0.0003936134744435549, 0.029708445072174072, 0.02785283885896206, 0.007951929233968258, -0.0148354796692729, 0.016766060143709183, -0.003289483953267336, 0.028977449983358383, -0.024666445329785347, -0.06961335241794586, 0.09664148092269897, 0.05180703103542328, 0.028958706185221672, 0.00980284996330738, -0.006944466382265091, 0.007951929233968258, 0.022248532623052597, -0.012679977342486382, -0.012183274142444134, -0.04805833101272583, 0.021648740395903587, -0.04116072505712509, -0.024497753009200096, -0.024741418659687042, 0.029895881190896034, 0.0010871229460462928, 0.03913642466068268, 0.02605346404016018, 0.024029165506362915, 0.015088516287505627, -0.03484416380524635, 0.04097328707575798, 0.015182234346866608, -0.020524131134152412, 0.01484485063701868, 0.025716081261634827, 0.06219092756509781, -0.05990422144532204, -0.05143216252326965, -0.054731015115976334, 0.019324546679854393, 0.040898315608501434, 0.0600166842341423, 0.005922945681959391, -0.05398127809166908, 0.05105729028582573, 0.00745054055005312, -0.040898315608501434, 0.028808757662773132, -0.05236933380365372, -0.017103442922234535, -0.033382169902324677, -0.01197709608823061, -0.0027716949116438627, -0.01528532337397337, 0.016522394493222237, -0.05630547180771828, -0.043934762477874756, -0.0481707900762558, -0.03480667620897293, -0.02168622799217701, -0.03786186873912811, -0.026034720242023468, -0.014291917905211449, -0.024928852915763855, -0.07115031778812408, 0.04176051542162895, -0.01928706094622612, -0.005894830450415611, 0.027909070253372192, -0.04562167450785637, 0.05593059957027435, -0.00038014157325960696, -0.0069538382813334465, -0.040298521518707275, 0.005266922991722822, -0.04730859026312828, 0.003758071456104517, 0.0663519874215126, 0.015051029622554779, 0.005524646490812302, -0.06222841516137123, -0.03696218132972717, -0.013992021791636944, 0.013898304663598537, -0.059416890144348145, 0.023410629481077194, 0.035500187426805496, -0.029446037486195564, 0.033232223242521286, 0.029933366924524307, 0.020111775025725365, -0.030945517122745514, -0.011545995250344276, -0.023766756057739258, 0.1006900742650032, -0.01295175775885582, -0.000520132074598223, -0.011386675760149956, 0.01349531952291727, 0.024741418659687042, -0.000323325366480276, -0.04955781251192093, 0.012464426457881927, 0.04640890285372734, -0.0379180982708931, 0.026878178119659424, -0.01748768426477909, -0.03823673725128174, 0.03947380930185318, -0.004463295452296734, 0.05638044327497482, 0.01658799685537815, 0.021330101415514946, -0.028733784332871437, -0.01642867736518383, -0.003626866964623332, -0.007394310086965561, -0.06623952835798264, 0.016944123432040215, -0.03251997008919716, 0.035050343722105026, -0.03205138444900513, 0.011574110947549343, 0.04423465579748154, 0.03105797804892063, 0.022979529574513435, -0.017881298437714577, 0.00896407850086689, 0.05454358085989952, 0.025041313841938972, 0.006644570268690586, -0.01869663968682289, 0.011414790526032448, 0.03829296678304672, -0.07253734022378922, -0.0656772181391716, -0.05949186533689499, -0.00002577231134637259, -0.039698731154203415, 0.07321210950613022, 0.07962238043546677, 0.008743842132389545, -0.014788620173931122, 0.010374526493251324, -0.025247493758797646, -0.004772563464939594, -0.03585631400346756, -0.041835490614175797, 0.04955781251192093, -0.0635029748082161, 0.12295734882354736, 0.004041566979140043, 0.009427979588508606, -0.008040960878133774, -0.005960432812571526, 0.038349200040102005, -0.005712081212550402, -0.00851892028003931, 0.015688307583332062, 0.026597024872899055, -0.0548434779047966, 0.03043944202363491, -0.029895881190896034, 0.010074630379676819, 0.03647485002875328, -0.003109077922999859, 0.008026903495192528, 0.012145787477493286, -0.01779695227742195, 0.03658730909228325, -0.011283586733043194, 0.03902396559715271, -0.028827501460909843, -0.06503994017839432, -0.005149776116013527, -0.022473454475402832, -0.07531137764453888, 0.003488633781671524, -0.015154118649661541, -0.02562236227095127, 0.011264842934906483, 0.04052344337105751, -0.07163765281438828, -0.030533159151673317, 0.022810837253928185, -0.00024234758166130632, 0.052031952887773514, -0.03716835752129555, 0.03553767502307892, -0.020224235951900482, 0.04191046208143234, 0.0001448228140361607, 0.0931926742196083, 0.0369996652007103, 0.009442037902772427, -0.006429020315408707, 0.011761545203626156, -0.019999314099550247, -0.03737453743815422, 0.019108997657895088, 0.012239504605531693, 0.008870360441505909, 0.018724754452705383, 0.08262134343385696, 0.020242977887392044, 0.0018544349586591125, 0.003797901561483741, -0.000023649023205507547, 0.012867411598563194, 0.009015622548758984, 0.009507639333605766, 0.0164193045347929, 0.019549468532204628, 0.03347588703036308, -0.011049292981624603, -0.04157308116555214, -0.00012029518984491006, 0.046933721750974655, 0.008912533521652222, -0.006091637071222067, -0.01099306158721447, -0.03806804493069649, -0.0331759937107563, 0.05075739324092865, -0.06530234962701797, -0.014751133508980274, -0.015997575595974922, 0.07677336782217026, 0.005712081212550402, 0.035800084471702576, -0.03647485002875328, -0.09274283051490784, -0.02138633280992508, -0.0304206982254982, -0.0440097339451313, 0.002366366796195507, -0.009451408870518208, -0.012370709329843521, 0.06560224294662476, -0.05495593696832657, 0.02498508431017399, 0.017431454733014107, -0.03310101851820946, 0.032313790172338486, 0.03169525787234306, -0.02185492031276226, -0.014638672582805157, -0.009376435540616512, 0.011705314740538597, -0.04052344337105751, -0.028396401554346085, -0.028846245259046555, -0.031151695176959038, 0.03977370262145996, 0.03420688584446907, 0.03332594037055969, -0.03296981379389763, -0.006255642510950565, 0.015603962354362011, -0.005979176145046949, 0.01295175775885582, -0.037749405950307846, -0.05469353124499321, -0.004132941365242004, 0.03478793427348137, -0.01700972579419613, 0.043147534132003784, 0.06402779370546341, 0.03996114060282707, -0.03763694688677788, 0.04985770583152771, -0.04682125896215439, 0.0044281515292823315, 0.08936899900436401, 0.031545307487249374, 0.007338079623878002, 0.048433199524879456, 0.06136621534824371, -0.05799238383769989, 0.037580713629722595, 0.015744538977742195, 0.014507467858493328, -0.002415568334981799, 0.05398127809166908, -0.04772094637155533, 0.0065836538560688496, -0.06305313110351562, -0.05330650880932808, 0.013589036650955677, 0.041835490614175797, -0.02320445142686367, 0.05236933380365372, 0.058667153120040894, -0.05623049661517143, 0.024516496807336807, 0.056267984211444855, 0.009362377226352692, -0.009587300010025501, 0.0035214347299188375, -0.019924338907003403, 0.04689623415470123, -0.12595631182193756, 0.04764597490429878, 0.027459226548671722, -0.02952101081609726, 0.07977233082056046, -0.019108997657895088, -0.003797901561483741, 0.007183446083217859, 0.05364389345049858, -0.0113773038610816, 0.045584190636873245, -0.023448117077350616, 0.03737453743815422, 0.008664182387292385, -0.036399874836206436, -0.02288581244647503, 0.014029508456587791, 0.02830268256366253, -0.006574282422661781, -0.02211732789874077, 0.053868815302848816, 0.042997587472200394, 0.018349885940551758, 0.033232223242521286, -0.042697690427303314, 0.0738493874669075, -0.032313790172338486, 0.011171124875545502, -0.05544326826930046, 0.024347804486751556, 0.02305450290441513, 0.03977370262145996, 0.11823399364948273, -0.05349394679069519, -0.004170428495854139, 0.01928706094622612, 0.03763694688677788, -0.046483878046274185, -0.004971712827682495, -0.011321073397994041, -0.01747831329703331, -0.06758905947208405, 0.053868815302848816, -0.03574385121464729, 0.005042001139372587, -0.029164884239435196, 0.006564910523593426, -0.03615621104836464, 0.004920168314129114, -0.02277335152029991, -0.004409408196806908, 0.021911149844527245, -0.008092505857348442, -0.07306215912103653, 0.02273586392402649, -0.04003611207008362, 0.0805220678448677, 0.041835490614175797, 0.00904373824596405, 0.005538703873753548, 0.03135787323117256, 0.0168785210698843, 0.007431797217577696, -0.02605346404016018, -0.041648052632808685, -0.007647347636520863, 0.0049342261627316475, 0.051169753074645996, -0.042285334318876266, 0.017693862318992615, -0.026578281074762344, -0.018434230238199234, -0.06380286812782288, -0.009165571071207523, 0.008148736320436, -0.029895881190896034, 0.004303975962102413, 0.007830096408724785, 0.01580077037215233, -0.006513366010040045, 0.00007076402835082263, 0.021779945120215416, -0.008912533521652222, 0.01895904913544655, -0.02879001386463642, 0.0003792629868257791, 0.00033679723856039345, -0.019493239000439644, -0.05405624955892563, -0.0007696549291722476, 0.03446929529309273, -0.03744950890541077, 0.012726835906505585, -0.0013143878895789385, -0.0001663485454628244, -0.02228602021932602, -0.0298396497964859, -0.003059876151382923, 0.05146964639425278, 0.04547172784805298, -0.008097191341221333, 0.005932317581027746, 0.038161762058734894, -0.04899550601840019, 0.021273871883749962, 0.05323153734207153, 0.03362583741545677, -0.04824576526880264, 0.01271746400743723, -0.02063659206032753, -0.026615768671035767, 0.006255642510950565, -0.005707395263016224, -0.013664010912179947, 0.026090949773788452, -0.03135787323117256, 0.024591470137238503, 0.03763694688677788, 0.016794174909591675, -0.04445957764983177, -0.05544326826930046, 0.038330454379320145, 0.00239331042394042, 0.027178073301911354, 0.028433887287974358, 0.017300250008702278, 0.0425102561712265, 0.019193341955542564, 0.014488724991679192, -0.031151695176959038, -0.04772094637155533, -0.04562167450785637, 0.00021437877148855478, -0.013879560865461826, 0.010149604640901089, 0.015557103790342808, -0.005482473410665989, 0.016166267916560173, 0.04187297448515892, -0.004554670304059982, -0.03362583741545677, 0.014198200777173042, -0.015866370871663094, 0.01792815700173378, 0.007694206200540066, -0.04370984062552452, 0.00025157289928756654, -0.05323153734207153, 0.049032993614673615, 0.0022632775362581015, 0.012370709329843521, -0.06455261260271072, -0.04311004653573036, 0.04745854064822197, -0.009559184312820435 ]
719,793
ibm_platform_services.iam_policy_management_v1
list_policy_template_versions
Retrieve policy template versions. Retrieve the versions of a policy template by providing a policy template ID. :param str policy_template_id: The policy template ID. :param str state: (optional) The policy template state. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse with `dict` result representing a `PolicyTemplateVersionsCollection` object
def list_policy_template_versions( self, policy_template_id: str, *, state: Optional[str] = None, **kwargs, ) -> DetailedResponse: """ Retrieve policy template versions. Retrieve the versions of a policy template by providing a policy template ID. :param str policy_template_id: The policy template ID. :param str state: (optional) The policy template state. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse with `dict` result representing a `PolicyTemplateVersionsCollection` object """ if not policy_template_id: raise ValueError('policy_template_id must be provided') headers = {} sdk_headers = get_sdk_headers( service_name=self.DEFAULT_SERVICE_NAME, service_version='V1', operation_id='list_policy_template_versions', ) headers.update(sdk_headers) params = { 'state': state, } if 'headers' in kwargs: headers.update(kwargs.get('headers')) del kwargs['headers'] headers['Accept'] = 'application/json' path_param_keys = ['policy_template_id'] path_param_values = self.encode_path_vars(policy_template_id) path_param_dict = dict(zip(path_param_keys, path_param_values)) url = '/v1/policy_templates/{policy_template_id}/versions'.format(**path_param_dict) request = self.prepare_request( method='GET', url=url, headers=headers, params=params, ) response = self.send(request, **kwargs) return response
(self, policy_template_id: str, *, state: Optional[str] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
[ 0.03599659353494644, -0.06924093514680862, -0.011832884512841702, -0.07130512595176697, -0.026001565158367157, 0.0031302371062338352, -0.04439821466803551, 0.011869098991155624, -0.002829209202900529, 0.0046331132762134075, 0.009913548827171326, -0.0000496526226925198, -0.04990272596478462, -0.03547149524092674, -0.05754385143518448, -0.002994435140863061, 0.036105237901210785, 0.02321309596300125, -0.011244409717619419, 0.008723017759621143, 0.028482215479016304, 0.008532894775271416, -0.007165821269154549, 0.053161974996328354, 0.04374636709690094, -0.04664347693324089, -0.0009166637901216745, -0.06312078982591629, 0.04428957402706146, -0.007745243143290281, -0.04490520805120468, 0.05269119516015053, 0.035616349428892136, 0.03697437047958374, -0.062432724982500076, 0.002396906027570367, 0.08097423613071442, -0.02138429507613182, -0.009316020645201206, 0.06808209419250488, 0.02391926757991314, 0.0017903236439451575, 0.02315877564251423, -0.0037730333860963583, 0.014005717821419239, 0.016721758991479874, -0.019139034673571587, -0.0650039091706276, -0.0011554490774869919, -0.0067131477408111095, 0.027776045724749565, 0.009533303789794445, -0.015490486286580563, -0.03270113095641136, 0.008053061552345753, 0.056022871285676956, 0.039038561284542084, -0.0009409949998371303, -0.008428780362010002, -0.02209046669304371, -0.024715973064303398, 0.002571185352280736, -0.032320886850357056, -0.03577931225299835, -0.0237019844353199, -0.05924590677022934, 0.015979373827576637, -0.0038341444451361895, -0.053161974996328354, -0.012086382135748863, -0.030618835240602493, 0.00930696725845337, 0.01073741540312767, -0.0474763959646225, 0.0018831216730177402, 0.014874850399792194, -0.0021626476664096117, -0.01127156987786293, -0.05149613693356514, -0.004592372570186853, -0.05098913982510567, -0.05765249580144882, -0.008895033970475197, 0.03335298225283623, 0.029079744592308998, 0.0003966551448684186, 0.032628703862428665, -0.05689200386404991, 0.04410850256681442, 0.10429596900939941, -0.005359653849154711, 0.006387223023921251, -0.05030107870697975, -0.022814743220806122, 0.03505503386259079, 0.03194064274430275, 0.017092950642108917, -0.021094584837555885, -0.017292127013206482, 0.028790034353733063, -0.04975786805152893, -0.05794220417737961, 0.002781678456813097, 0.007962526753544807, 0.020660018548369408, -0.06638003885746002, -0.040921684354543686, -0.001970261335372925, 0.033425409346818924, -0.01786249503493309, 0.04856280982494354, 0.007677342277020216, 0.01127156987786293, 0.014775262214243412, 0.08792729675769806, 0.017663318663835526, 0.005853068083524704, -0.024715973064303398, -0.01955549418926239, -0.03791593015193939, 0.02672584168612957, -0.021945610642433167, 0.03141554072499275, 0.0483817420899868, -0.05631257966160774, 0.021348081529140472, 0.0015006125904619694, -0.011615601368248463, -0.0014236581046134233, 0.03185010701417923, -0.04215295612812042, 0.03730029612779617, -0.04436200112104416, 0.03896613419055939, -0.0050337291322648525, -0.017391715198755264, -0.026562880724668503, 0.002245260402560234, 0.04881630837917328, -0.0016477315220981836, 0.011054286733269691, 0.02107647806406021, 0.011932472698390484, 0.04273237660527229, 0.0008753573638387024, -0.010610666126012802, 0.07503515481948853, 0.05978911370038986, 0.01844191737473011, 0.025784282013773918, -0.004583319183439016, -0.016685545444488525, 0.019211461767554283, -0.049468159675598145, -0.02882624790072441, -0.008202443830668926, 0.03246574103832245, -0.04334801435470581, 0.016866613179445267, -0.026689628139138222, 0.033298660069704056, -0.027015553787350655, 0.013906129635870457, -0.0005267987726256251, -0.002349375281482935, -0.01884932443499565, -0.01702052354812622, -0.04722289741039276, -0.04820067062973976, -0.011787617579102516, 0.013951396569609642, 0.04983029514551163, -0.0363406278192997, -0.014911064878106117, 0.01438596285879612, 0.024480581283569336, 0.057181715965270996, 0.014395017176866531, -0.009248118847608566, 0.0035082194954156876, -0.009660052135586739, -0.04276859015226364, -0.08445076644420624, 0.0775701254606247, -0.028663285076618195, 0.03695626184344292, -0.027069874107837677, 0.08495775610208511, -0.06112902611494064, 0.039762839674949646, -0.07612157613039017, -0.06895122677087784, 0.022832849994301796, 0.036684658378362656, -0.051966916769742966, -0.03780728951096535, -0.023357952013611794, -0.04418093338608742, -0.027721723541617393, 0.0014711888507008553, 0.025241073220968246, -0.08242278546094894, 0.0060024503618478775, -0.024154657498002052, 0.03462046757340431, 0.03914720192551613, -0.029278920963406563, -0.10748279094696045, 0.04048711806535721, -0.032320886850357056, 0.01683039963245392, 0.006468703970313072, -0.027920899912714958, 0.017346447333693504, -0.08430591225624084, 0.0023516386281698942, 0.02199993096292019, -0.00392920570448041, -0.005907388869673014, -0.06837180256843567, 0.03230277821421623, -0.005142370704561472, -0.024571117013692856, 0.024480581283569336, -0.04218916967511177, 0.05555209144949913, 0.009157584980130196, 0.06978414207696915, -0.0339324027299881, 0.008012320846319199, 0.022995812818408012, 0.019573600962758064, 0.11740539222955704, -0.026399917900562286, -0.008976515382528305, -0.06587304174900055, -0.008234130218625069, -0.007183928042650223, 0.017210645601153374, 0.06138252466917038, 0.013625471852719784, 0.024534903466701508, 0.05493645370006561, 0.007351417560130358, -0.0376986488699913, -0.0025100745260715485, -0.05960804596543312, 0.006206153426319361, 0.028554642572999, -0.057109285145998, -0.03159660845994949, -0.042877230793237686, -0.004119328688830137, -0.029568631201982498, 0.004361508879810572, -0.036413054913282394, 0.029369454830884933, -0.004171386361122131, 0.024390047416090965, -0.004585582297295332, -0.0116246547549963, 0.012855926528573036, -0.08032238483428955, -0.042116742581129074, -0.015590074472129345, -0.02810196951031685, -0.009180217981338501, 0.012656750157475471, -0.02111269161105156, 0.0726088285446167, 0.01973656378686428, -0.007568700704723597, -0.049069806933403015, -0.007912732660770416, -0.042696163058280945, -0.030238589271903038, 0.027939006686210632, 0.0005536762764677405, -0.02147483080625534, -0.011262516491115093, -0.020008167251944542, -0.021094584837555885, 0.027069874107837677, 0.0668870359659195, 0.07409359514713287, 0.014005717821419239, -0.07054463773965836, 0.00973248016089201, 0.014657567255198956, 0.01255716197192669, 0.03230277821421623, 0.030129946768283844, 0.003406367963179946, -0.03297273814678192, -0.07901868224143982, -0.048888735473155975, -0.03257438540458679, -0.05678336322307587, 0.054320819675922394, 0.00846499390900135, 0.009379394352436066, 0.006074877921491861, 0.008569109253585339, -0.02218100056052208, -0.05750763788819313, -0.015490486286580563, 0.027558760717511177, -0.003186821239069104, 0.05660229176282883, -0.020515162497758865, 0.0018819899996742606, 0.008234130218625069, -0.04667969048023224, -0.04222538322210312, 0.026743948459625244, 0.0033135698176920414, -0.01626003161072731, -0.043492868542671204, 0.012394200079143047, 0.003406367963179946, -0.0774252712726593, 0.1006745845079422, 0.014241107739508152, 0.04030604660511017, 0.0035738572478294373, -0.02257935330271721, 0.011027125641703606, -0.013055102899670601, -0.010719307698309422, 0.023285523056983948, 0.021438615396618843, -0.0032388786785304546, 0.03558013588190079, 0.035163674503564835, 0.03011183999478817, 0.00663619302213192, 0.05395868048071861, -0.016006534919142723, -0.02142050862312317, 0.005893808789551258, 0.06956686079502106, -0.060477178543806076, 0.017536571249365807, 0.031958747655153275, -0.026834484189748764, 0.040740612894296646, 0.0120954355224967, 0.013553043827414513, 0.02123943902552128, -0.07452816516160965, -0.034240223467350006, -0.03203117474913597, 0.01604274846613407, 0.029695380479097366, 0.002888056915253401, -0.04316694289445877, 0.02303202636539936, -0.01561723556369543, -0.0106649873778224, 0.02721473015844822, -0.0657644048333168, -0.0001300021685892716, -0.07851168513298035, -0.019120927900075912, 0.013046049512922764, -0.04704182967543602, 0.06214301660656929, -0.05385003611445427, -0.046969398856163025, 0.014087199233472347, -0.040559545159339905, -0.050083793699741364, -0.029912663623690605, -0.019139034673571587, 0.012294611893594265, -0.04392743483185768, -0.0638088509440422, 0.007097920402884483, -0.021637791767716408, -0.004519944544881582, 0.0002973499067593366, -0.04439821466803551, 0.07039978355169296, 0.0011826094705611467, -0.033570267260074615, -0.013806541450321674, 0.0034878491424024105, 0.00211511692032218, 0.018152207136154175, 0.01857771910727024, -0.001000974210910499, 0.01403287798166275, -0.031162042170763016, 0.006599979475140572, 0.031252577900886536, -0.0012810659827664495, 0.0053234403021633625, 0.030129946768283844, 0.09241782128810883, -0.03878506273031235, 0.05852162837982178, 0.052003130316734314, -0.028518429026007652, 0.02160157822072506, -0.015427112579345703, -0.05920969322323799, 0.05091671273112297, 0.017916817218065262, -0.043855007737874985, -0.04762125015258789, 0.049649227410554886, -0.011171981692314148, -0.03733650967478752, -0.056059084832668304, 0.01356209721416235, 0.07699070870876312, -0.04816445708274841, 0.09075198322534561, 0.002697933930903673, 0.006731254514306784, 0.06561955064535141, 0.018297061324119568, 0.10161614418029785, -0.0057127391919493675, -0.024390047416090965, 0.014413123950362206, -0.025060003623366356, -0.010456757619976997, -0.009877335280179977, 0.014539872296154499, 0.06518498063087463, -0.0029152173083275557, -0.006767468526959419, -0.010529185645282269, 0.03612334281206131, 0.008668697439134121, 0.024154657498002052, 0.062251657247543335, -0.044072289019823074, 0.020732445642352104, 0.037445150315761566, 0.04591919854283333, 0.007840304635465145, -0.006645246874541044, 0.035254210233688354, 0.02049705572426319, -0.006188046652823687, -0.06036853417754173, 0.02209046669304371, -0.025331608951091766, -0.030709369108080864, -0.012901194393634796, 0.029079744592308998, 0.0012742758262902498, -0.037445150315761566, 0.013426295481622219, 0.022470710799098015, 0.030492085963487625, -0.048128243535757065, -0.03896613419055939, 0.002084561390802264, -0.004938667640089989, 0.039980120956897736, -0.023484699428081512, -0.03737272322177887, -0.11588440835475922, -0.01875878870487213, 0.010864163748919964, -0.007890098728239536, 0.0266353078186512, 0.040740612894296646, 0.02788468636572361, -0.006188046652823687, 0.06616275757551193, 0.04121139273047447, 0.042334023863077164, 0.015581021085381508, -0.043456654995679855, -0.026309382170438766, 0.030274802818894386, -0.02815628983080387, -0.0021513307001441717, -0.029731594026088715, 0.021619684994220734, -0.024480581283569336, -0.09249024838209152, 0.008071168325841427, 0.01528225652873516, -0.02495136298239231, -0.041356250643730164, -0.004961301572620869, 0.02129376120865345, 0.016631223261356354, 0.023901160806417465, -0.013716006651520729, 0.022488819435238838, -0.047367751598358154, -0.0147481020539999, 0.06858908385038376, 0.006532078143209219, 0.05203934386372566, -0.02455301024019718, 0.02004438266158104, 0.017744800075888634, 0.045231133699417114, 0.04910602048039436, 0.0416097454726696, -0.007541540078818798, 0.00007306432962650433, -0.01629624515771866, -0.032809775322675705, 0.021891290321946144, 0.013516830280423164, 0.015336577780544758, -0.038748849183321, 0.040740612894296646, -0.038422923535108566, 0.03950934112071991, -0.022162893787026405, 0.05576937273144722, 0.011362104676663876, 0.02797522209584713, -0.02199993096292019, -0.03548960015177727, 0.02017113007605076, -0.01714727096259594, -0.061491165310144424, -0.06293971836566925, 0.040197405964136124, 0.05301711708307266, -0.013009835965931416, -0.02815628983080387, 0.004273237660527229, -0.01438596285879612, -0.07300718128681183, -0.054682955145835876, -0.07050842046737671, 0.0019827098585665226, -0.0010609534801915288, 0.0116246547549963, -0.031071508303284645, 0.04631755128502846, -0.040378473699092865, -0.0376986488699913, 0.020008167251944542, 0.01525509636849165, -0.06572818756103516, 0.007740716449916363, -0.0352904237806797, -0.028210612013936043, 0.0774252712726593, -0.030546406283974648, 0.012077328749001026, -0.01817031390964985, -0.056421224027872086, 0.04179081693291664, 0.04059575870633125, 0.00006210114224813879, -0.027106087654829025, -0.023231202736496925, 0.020768659189343452, 0.008166229352355003, 0.002745464676991105, -0.011660869233310223, -0.0024829141329973936, 0.0600426122546196, 0.044651713222265244, 0.026562880724668503, -0.006459650583565235, -0.011353051289916039, 0.054139748215675354, 0.023357952013611794, -0.03284598886966705, -0.021800754591822624, -0.002458017086610198, -0.012357986532151699, 0.044217146933078766, -0.00011486589937703684, 0.07648371160030365, 0.028174398466944695, 0.04841795563697815, -0.044832780957221985, 0.07402116805315018, -0.04099411144852638, -0.006364589091390371, 0.1239963173866272, -0.0019136772025376558, 0.06152737885713577, 0.02263367362320423, 0.05569694563746452, -0.026979340240359306, -0.001919335569255054, 0.037879716604948044, 0.008768285624682903, -0.031162042170763016, 0.04439821466803551, 0.0033543105237185955, 0.008881453424692154, -0.01267485786229372, -0.04186324402689934, -0.025404036045074463, 0.06645246595144272, 0.003895255271345377, -0.007890098728239536, 0.020768659189343452, -0.05500888079404831, 0.02784847281873226, 0.053705181926488876, 0.0011118792463093996, 0.0053008063696324825, 0.03233899176120758, -0.023629555478692055, 0.036865729838609695, -0.06898743659257889, 0.05555209144949913, 0.07720798999071121, -0.0003081008908338845, 0.06692324578762054, -0.025693746283650398, -0.0688425824046135, 0.0030012251809239388, 0.040559545159339905, 0.014892957173287868, 0.033570267260074615, -0.04834552854299545, 0.021800754591822624, 0.012711071409285069, 0.0021988614462316036, -0.012086382135748863, -0.004662537015974522, 0.021311867982149124, 0.02516864612698555, 0.0271241944283247, 0.0363406278192997, 0.007469112519174814, 0.023629555478692055, 0.020243559032678604, -0.039581768214702606, 0.032230351120233536, 0.002917480655014515, 0.020098702982068062, -0.0349101796746254, -0.004556158557534218, 0.011171981692314148, -0.002390115987509489, 0.06710431724786758, -0.026798270642757416, 0.016196656972169876, 0.05446567386388779, 0.022307749837636948, -0.014711888507008553, 0.0032569856848567724, -0.043456654995679855, -0.0002276098821312189, -0.07670099288225174, 0.01389707624912262, 0.006459650583565235, 0.0022531822323799133, 0.007183928042650223, 0.03706490620970726, 0.036775194108486176, -0.025983458384871483, 0.022814743220806122, -0.035652562975883484, 0.011181035079061985, -0.00017484513227827847, -0.03172335773706436, 0.00793083943426609, -0.028753818944096565, 0.020967835560441017, 0.05001136660575867, 0.032266564667224884, -0.00477570528164506, 0.009804907254874706, -0.007364997640252113, -0.005902862176299095, -0.007740716449916363, 0.006695040967315435, 0.007546066772192717, 0.02940567024052143, 0.025422142818570137, 0.03625009208917618, 0.016957148909568787, -0.014078144915401936, -0.03605091571807861, -0.06840801984071732, -0.011307783424854279, 0.02993077039718628, 0.014892957173287868, -0.0031506074592471123, -0.04932330176234245, 0.002704723970964551, 0.012837819755077362, -0.006753888446837664, 0.020478948950767517, 0.012140702456235886, 0.0003429001662880182, -0.0065275514498353004, -0.009343180805444717, -0.012729178182780743, 0.009252646006643772, -0.0376986488699913, -0.02913406491279602, 0.0435652956366539, -0.022470710799098015, -0.0010830212850123644, 0.010411489754915237, -0.0531981885433197, -0.006722201127558947, -0.01557196769863367, -0.005056362599134445, -0.009352234192192554, 0.044072289019823074, -0.02437194064259529, 0.03773486241698265, 0.052980903536081314, -0.003370154183357954, 0.011597494594752789, 0.07242775708436966, 0.0164411012083292, -0.02917027845978737, -0.009777747094631195, -0.0353628508746624, 0.001243720413185656, 0.024118443951010704, 0.0023561655543744564, 0.036684658378362656, 0.04725911095738411, -0.03335298225283623, 0.00859626941382885, -0.01933821104466915, -0.011995847336947918, -0.0647866278886795, -0.13116666674613953, 0.02989455685019493, 0.0032004015520215034, 0.02257935330271721, 0.009379394352436066, 0.006889690179377794, 0.04008876532316208, 0.01973656378686428, 0.030311016365885735, -0.03118014894425869, -0.038748849183321, -0.016595009714365005, 0.018016405403614044, 0.03969041258096695, -0.03279166668653488, 0.0042098634876310825, -0.016314351931214333, -0.006251420825719833, 0.035706885159015656, -0.03697437047958374, -0.08857914805412292, -0.004409039858728647, 0.008311085402965546, 0.018994178622961044, -0.0024399100802838802, -0.052582550793886185, -0.020026274025440216, -0.03780728951096535, 0.001315016415901482, 0.027631189674139023, -0.016866613179445267, 0.004381879232823849, 0.00628310814499855, -0.0034493720158934593, -0.022832849994301796 ]
719,794
ibm_platform_services.iam_policy_management_v1
list_policy_templates
List policy templates by attributes. List policy templates and filter by attributes by using query parameters. The following attributes are supported: `account_id`, `policy_service_name`, `policy_service_type`, `policy_service_group_id` and `policy_type`. `account_id` is a required query parameter. These attributes `policy_service_name`, `policy_service_type` and `policy_service_group_id` are mutually exclusive. Only policy templates that have the specified attributes and that the caller has read access to are returned. If the caller does not have read access to any policy templates an empty array is returned. :param str account_id: The account GUID that the policy templates belong to. :param str accept_language: (optional) Language code for translations * `default` - English * `de` - German (Standard) * `en` - English * `es` - Spanish (Spain) * `fr` - French (Standard) * `it` - Italian (Standard) * `ja` - Japanese * `ko` - Korean * `pt-br` - Portuguese (Brazil) * `zh-cn` - Chinese (Simplified, PRC) * `zh-tw` - (Chinese, Taiwan). :param str state: (optional) The policy template state. :param str name: (optional) The policy template name. :param str policy_service_type: (optional) Service type, Optional. :param str policy_service_name: (optional) Service name, Optional. :param str policy_service_group_id: (optional) Service group id, Optional. :param str policy_type: (optional) Policy type, Optional. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse with `dict` result representing a `PolicyTemplateCollection` object
def list_policy_templates( self, account_id: str, *, accept_language: Optional[str] = None, state: Optional[str] = None, name: Optional[str] = None, policy_service_type: Optional[str] = None, policy_service_name: Optional[str] = None, policy_service_group_id: Optional[str] = None, policy_type: Optional[str] = None, **kwargs, ) -> DetailedResponse: """ List policy templates by attributes. List policy templates and filter by attributes by using query parameters. The following attributes are supported: `account_id`, `policy_service_name`, `policy_service_type`, `policy_service_group_id` and `policy_type`. `account_id` is a required query parameter. These attributes `policy_service_name`, `policy_service_type` and `policy_service_group_id` are mutually exclusive. Only policy templates that have the specified attributes and that the caller has read access to are returned. If the caller does not have read access to any policy templates an empty array is returned. :param str account_id: The account GUID that the policy templates belong to. :param str accept_language: (optional) Language code for translations * `default` - English * `de` - German (Standard) * `en` - English * `es` - Spanish (Spain) * `fr` - French (Standard) * `it` - Italian (Standard) * `ja` - Japanese * `ko` - Korean * `pt-br` - Portuguese (Brazil) * `zh-cn` - Chinese (Simplified, PRC) * `zh-tw` - (Chinese, Taiwan). :param str state: (optional) The policy template state. :param str name: (optional) The policy template name. :param str policy_service_type: (optional) Service type, Optional. :param str policy_service_name: (optional) Service name, Optional. :param str policy_service_group_id: (optional) Service group id, Optional. :param str policy_type: (optional) Policy type, Optional. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse with `dict` result representing a `PolicyTemplateCollection` object """ if not account_id: raise ValueError('account_id must be provided') headers = { 'Accept-Language': accept_language, } sdk_headers = get_sdk_headers( service_name=self.DEFAULT_SERVICE_NAME, service_version='V1', operation_id='list_policy_templates', ) headers.update(sdk_headers) params = { 'account_id': account_id, 'state': state, 'name': name, 'policy_service_type': policy_service_type, 'policy_service_name': policy_service_name, 'policy_service_group_id': policy_service_group_id, 'policy_type': policy_type, } if 'headers' in kwargs: headers.update(kwargs.get('headers')) del kwargs['headers'] headers['Accept'] = 'application/json' url = '/v1/policy_templates' request = self.prepare_request( method='GET', url=url, headers=headers, params=params, ) response = self.send(request, **kwargs) return response
(self, account_id: str, *, accept_language: Optional[str] = None, state: Optional[str] = None, name: Optional[str] = None, policy_service_type: Optional[str] = None, policy_service_name: Optional[str] = None, policy_service_group_id: Optional[str] = None, policy_type: Optional[str] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
[ 0.005825051572173834, -0.044416625052690506, 0.013092960231006145, -0.09476067125797272, -0.01979055069386959, 0.001777981175109744, -0.03501855209469795, -0.04219384491443634, -0.018367191776633263, 0.01019749604165554, 0.016739102080464363, 0.02952009253203869, -0.06134095788002014, -0.01184508390724659, -0.090081125497818, -0.0011357631301507354, 0.04234983026981354, 0.03148939833045006, -0.0036802624817937613, -0.06130196154117584, 0.07276683300733566, 0.021564876660704613, -0.035564497113227844, 0.029130131006240845, 0.048940181732177734, -0.08056606352329254, -0.00972466729581356, -0.034121640026569366, -0.012829736806452274, 0.015413232147693634, -0.0095638083294034, 0.05818226933479309, 0.0317818708717823, 0.047692302614450455, -0.07225988060235977, -0.00750188622623682, 0.016524622216820717, -0.007852851413190365, -0.003821623744443059, 0.028935151174664497, -0.007116799242794514, -0.015881186351180077, 0.007492137141525745, -0.02554248459637165, -0.03152839466929436, -0.006293005309998989, -0.01827945001423359, -0.005205987486988306, -0.017002325505018234, -0.007072928361594677, 0.006044404581189156, 0.0636417344212532, -0.02936410903930664, 0.008286683820188046, 0.007691992446780205, -0.019732056185603142, -0.027901751920580864, -0.040672995150089264, -0.0002680986071936786, -0.032932255417108536, -0.011815836653113365, 0.012810238637030125, -0.03566198796033859, -0.0354280099272728, -0.02168186567723751, -0.07982514053583145, 0.0027784763369709253, 0.008944744244217873, -0.05295678600668907, -0.04020503908395767, -0.00799421314150095, -0.006088275462388992, -0.004199399147182703, -0.025386499240994453, -0.01121139619499445, -0.03256179392337799, 0.07916220277547836, -0.04734133929014206, -0.03692936152219772, -0.0062735071405768394, -0.05198188126087189, -0.01670985482633114, -0.03577897697687149, 0.04862821102142334, 0.02300773374736309, 0.04909616336226463, 0.039971064776182175, -0.07140196859836578, 0.03246430307626724, 0.05287879332900047, -0.010236491449177265, 0.001699988846667111, -0.018367191776633263, 0.028467196971178055, 0.014857537113130093, 0.042583804577589035, 0.019293349236249924, -0.02747279405593872, 0.0111918980255723, 0.019254352897405624, -0.052800800651311874, -0.0384892113506794, 0.005352222826331854, 0.008530410006642342, 0.05514056980609894, -0.021876845508813858, -0.031664881855249405, 0.0007293500239029527, 0.04086797684431076, 0.0191666129976511, 0.008876500651240349, -0.006916943937540054, 0.013599910773336887, -0.006171142216771841, 0.08696143329143524, 0.02565947361290455, -0.006497735157608986, 0.0011119998525828123, -0.049525123089551926, -0.014964776113629341, 0.030572989955544472, -0.022929741069674492, 0.026400400325655937, -0.007258160039782524, -0.038021255284547806, 0.028428200632333755, -0.0019473707070574164, -0.016943830996751785, -0.00972466729581356, 0.062393855303525925, -0.0900031328201294, 0.016787847504019737, -0.013824138790369034, 0.07553555816411972, 0.026614878326654434, -0.0022642144467681646, 0.00029475611518137157, 0.0032537421211600304, 0.022793255746364594, 0.06009308248758316, -0.003916676621884108, 0.02037549391388893, 0.05517956614494324, 0.04991508275270462, 0.0006702464888803661, -0.04722435027360916, 0.044533614069223404, 0.008705892600119114, -0.011455121450126171, 0.01729479618370533, -0.013424428179860115, -0.04051700979471207, -0.03882067650556564, -0.02439209818840027, -0.02628341130912304, 0.003760692197829485, 0.020044026896357536, -0.005586199928075075, -0.014594312757253647, -0.054633621126413345, -0.003027076832950115, -0.0028735294472426176, -0.004014167003333569, -0.00970516912639141, -0.030183028429746628, -0.05369771271944046, 0.005030504427850246, 0.009398074820637703, 0.0056885648518800735, -0.046990372240543365, 0.020239006727933884, 0.029110632836818695, 0.022793255746364594, -0.006195514928549528, -0.05439964309334755, 0.04016604274511337, 0.060366056859493256, -0.0256399754434824, -0.04114094749093056, -0.05330774933099747, 0.006419742945581675, -0.04780929163098335, -0.0639537051320076, 0.03410214185714722, -0.009846529923379421, -0.03219132870435715, 0.0058591729030013084, 0.09756839275360107, -0.062393855303525925, 0.03659789636731148, -0.06453864276409149, -0.03242530673742294, 0.011913326568901539, 0.001646369113586843, -0.0384112186729908, -0.011084658093750477, -0.0056154471822083, -0.04012705013155937, -0.035583995282649994, -0.012556763365864754, 0.02240329422056675, -0.050850991159677505, 0.01473079901188612, 0.0038021255750209093, 0.03917164355516434, 0.02887665666639805, -0.0062978798523545265, -0.07537958025932312, 0.004954949487000704, -0.03466758504509926, 0.006658594124019146, -0.019761303439736366, -0.0043066381476819515, 0.0071996659971773624, -0.038001757115125656, 0.05225485563278198, 0.0014733236748725176, 0.006351499352604151, 0.02565947361290455, -0.07736837863922119, 0.011026164516806602, -0.020316999405622482, 0.0005718421307392418, -0.002195971319451928, 0.027765264734625816, 0.043129753321409225, -0.0018206331878900528, 0.04991508275270462, -0.04753631725907326, 0.02058997191488743, 0.03447260335087776, -0.0012685938272625208, 0.03854770213365555, 0.0037558176554739475, 0.0011052973568439484, -0.0956185832619667, 0.00498175946995616, -0.039464112371206284, 0.026419898495078087, 0.03646140918135643, 0.023163719102740288, 0.05974211543798447, 0.025425495579838753, 0.007072928361594677, -0.06605949252843857, 0.0004743517201859504, -0.04648342356085777, 0.0038898668717592955, 0.06574752181768417, -0.05514056980609894, -0.009612553752958775, -0.017606766894459724, -0.011611106805503368, -0.015266996808350086, -0.012205798178911209, -0.050811994820833206, 0.034784574061632156, -0.047653306275606155, 0.0036120193544775248, -0.0016049357363954186, -0.0028735294472426176, 0.026088431477546692, -0.06223786994814873, -0.01252751611173153, 0.015120760537683964, -0.03431662172079086, 0.023904645815491676, 0.02355368062853813, -0.005581325385719538, 0.05303477868437767, 0.02109692245721817, 0.035544998943805695, -0.007721239700913429, -0.015208502300083637, -0.01894238404929638, -0.02296873740851879, 0.07783633470535278, 0.035447508096694946, -0.07444366812705994, 0.01892288587987423, -0.01842568628489971, 0.01529624406248331, 0.022910242900252342, 0.053502731025218964, 0.03156739100813866, -0.010772689245641232, -0.058533236384391785, 0.022481286898255348, -0.016524622216820717, 0.048823192715644836, 0.019498080015182495, 0.06196489930152893, 0.027004839852452278, -0.06730736792087555, -0.05907918140292168, -0.06648845225572586, -0.016124911606311798, -0.08625950664281845, 0.05443863943219185, -0.007609125692397356, 0.004833086393773556, 0.04078998416662216, 0.033614691346883774, -0.027687273919582367, -0.0642656683921814, -0.03187936171889305, 0.012235045433044434, -0.018474429845809937, 0.0702320858836174, 0.00867664534598589, 0.013677903451025486, 0.00028424544143490493, 0.011747593060135841, -0.004906204529106617, -0.002041205298155546, -0.00009924217738443986, 0.024119123816490173, -0.04008805379271507, 0.003360981587320566, 0.014955027028918266, -0.07584752887487411, 0.09405873715877533, -0.02053147740662098, 0.02948109619319439, 0.04340272396802902, -0.019273851066827774, 0.00788209866732359, 0.0021118856966495514, 0.008038083091378212, -0.03835272416472435, -0.022637270390987396, -0.005293728783726692, -0.003707072464749217, -0.0016305269673466682, -0.041218940168619156, 0.0354280099272728, 0.03265928477048874, -0.009909898974001408, -0.008008835837244987, 0.0021837849635630846, 0.007492137141525745, -0.04273978993296623, 0.009617428295314312, 0.021584374830126762, -0.035544998943805695, 0.0035827721003443003, 0.08415371179580688, 0.0014538256218656898, 0.03529152274131775, -0.0192056093364954, -0.013092960231006145, -0.03250329941511154, 0.08204791694879532, 0.08688344061374664, 0.04153091087937355, -0.07378073036670685, -0.012985721230506897, 0.03718283772468567, -0.021408891305327415, 0.020005030557513237, -0.0575193352997303, -0.0446895994246006, -0.0577533133327961, -0.01345367543399334, -0.00036101913428865373, -0.04730234295129776, 0.043207745999097824, -0.06060003116726875, -0.049486126750707626, -0.0025761837605386972, -0.03123592399060726, -0.06469462811946869, -0.05954713746905327, -0.0013746146578341722, 0.015832440927624702, -0.0225202813744545, -0.012283789925277233, 0.023378197103738785, -0.05182589590549469, 0.05716836825013161, 0.021408891305327415, -0.014701551757752895, 0.07545756548643112, 0.022890746593475342, -0.000558741856366396, -0.024665070697665215, 0.0034852817188948393, 0.0023641420993953943, 0.008506037294864655, -0.02811623178422451, 0.02505503222346306, -0.006804829929023981, -0.04344172030687332, -0.002098480938002467, 0.02489904873073101, -0.014896532520651817, -0.041998863220214844, 0.020336497575044632, 0.013268443755805492, -0.01538398489356041, 0.04812126234173775, 0.013882632367312908, -0.005215736571699381, 0.010392476804554462, -0.04172589257359505, -0.022559277713298798, 0.06898420304059982, 0.016661109402775764, -0.03455059602856636, 0.032366812229156494, 0.02296873740851879, 0.03135291114449501, -0.026010438799858093, -0.07822629809379578, 0.0029734570998698473, 0.05003207176923752, -0.043753691017627716, 0.10653750598430634, -0.039230138063430786, 0.01814296282827854, 0.039386119693517685, -0.005488709546625614, 0.05237184092402458, -0.011542863212525845, 0.01348292175680399, 0.032269321382045746, -0.043168749660253525, -0.017070569097995758, -0.010168248787522316, -0.008052706718444824, 0.03714384138584137, 0.0070046852342784405, -0.019537076354026794, -0.03579847514629364, 0.06251084059476852, 0.06290080398321152, -0.004508931189775467, 0.004852584563195705, -0.02429460734128952, 0.0035973957274109125, 0.05061701685190201, 0.019137365743517876, -0.019078871235251427, 0.0034121640492230654, 0.019946536049246788, 0.03199635073542595, -0.02952009253203869, -0.058533236384391785, 0.02308572642505169, -0.010304735042154789, 0.005342473741620779, 0.03566198796033859, 0.08625950664281845, -0.009066606871783733, -0.02179885283112526, -0.01089942641556263, -0.008257436566054821, 0.03316623345017433, -0.047614309936761856, -0.02825271710753441, 0.02306622825562954, -0.0319768525660038, 0.07635448127985, -0.009593055583536625, 0.04925214871764183, -0.054009679704904556, -0.031079938635230064, 0.03728032857179642, -0.013170952908694744, 0.009012987837195396, 0.009797785431146622, 0.019917288795113564, -0.022715263068675995, 0.061067987233400345, 0.03137240931391716, -0.008584029972553253, 0.02684885635972023, -0.00480140233412385, -0.0007933281012810767, -0.016563618555665016, 0.04652241989970207, -0.01729479618370533, -0.032912757247686386, 0.017791997641324997, 0.00847679004073143, -0.09359078109264374, -0.009675921872258186, 0.02887665666639805, -0.04621044918894768, -0.03406314551830292, -0.02439209818840027, 0.004499182105064392, 0.04102395847439766, 0.038684189319610596, -0.06293980032205582, -0.011757342144846916, -0.01540348306298256, -0.02953959070146084, 0.08774136006832123, -0.0014989149058237672, 0.03191835805773735, -0.06555254757404327, 0.04847222566604614, 0.00605415366590023, 0.06715139001607895, 0.03882067650556564, 0.014243347570300102, -0.02378765679895878, -0.004884269088506699, -0.029578587040305138, -0.05077299848198891, 0.028642678633332253, 0.015549718402326107, 0.006068777292966843, -0.02807723544538021, 0.02692684903740883, 0.012215547263622284, 0.011425875127315521, 0.0012363001005724072, -0.0026809859555214643, 0.02698534168303013, 0.023514684289693832, -0.028428200632333755, 0.028623180463910103, 0.03271777927875519, 0.029013141989707947, -0.025250013917684555, -0.05182589590549469, 0.021330898627638817, 0.04847222566604614, 0.051396939903497696, -0.011250391602516174, 0.0012978409649804235, -0.03476507589221001, -0.04433863237500191, -0.03724133223295212, -0.10123403370380402, -0.034160636365413666, -0.01816246099770069, 0.05377570539712906, 0.05572551116347313, 0.04972010478377342, -0.021876845508813858, -0.05935215577483177, 0.00021630682749673724, -0.03137240931391716, -0.05806528031826019, 0.0190886203199625, -0.02491854690015316, 0.008506037294864655, 0.08516760915517807, -0.06964714080095291, 0.010002515278756618, -0.011981570161879063, -0.03248380124568939, 0.018074719235301018, 0.04675639420747757, -0.020063525065779686, -0.0225202813744545, -0.010840932838618755, 0.012586010619997978, -0.039971064776182175, -0.03577897697687149, -0.023378197103738785, 0.011718345806002617, 0.0321328341960907, 0.027297312393784523, 0.014184853062033653, -0.013424428179860115, -0.01017799787223339, 0.048862189054489136, 0.03310773894190788, -0.03634442016482353, -0.0055667017586529255, -0.03815774247050285, 0.013853386044502258, 0.06707339733839035, -0.022247308865189552, 0.0288181621581316, 0.030261019244790077, 0.04921315237879753, -0.042661797255277634, 0.023378197103738785, -0.033653683960437775, 0.006604974623769522, 0.05576450750231743, 0.027180323377251625, -0.005854298360645771, 0.04289577528834343, 0.055296555161476135, -0.042466819286346436, 0.050928983837366104, 0.033614691346883774, 0.027082832530140877, -0.031684380024671555, 0.12353983521461487, 0.0009645456448197365, 0.002751666586846113, -0.04367569833993912, -0.01814296282827854, -0.019595570862293243, 0.05510157346725464, 0.039386119693517685, 0.05958613008260727, 0.020200010389089584, -0.04792628064751625, 0.02679036185145378, 0.053346745669841766, 0.029656579717993736, 0.002057047327980399, 0.022110821679234505, -0.024626074358820915, 0.0448845811188221, -0.07296181470155716, 0.051045972853899, 0.022227810695767403, 0.009861153550446033, 0.03464808687567711, 0.041881874203681946, -0.059196170419454575, -0.017168059945106506, 0.02439209818840027, -0.011718345806002617, 0.050850991159677505, -0.0448455847799778, 0.003906927537173033, 0.017460530623793602, -0.043870680034160614, -0.044533614069223404, -0.009056857787072659, -0.010100005194544792, -0.0021082297898828983, -0.033497702330350876, 0.03455059602856636, 0.0353500172495842, 0.07830429077148438, 0.02501603588461876, -0.022656768560409546, -0.0032074342016130686, -0.008847253397107124, 0.004911079071462154, -0.002788225421682, 0.02934461086988449, 0.03577897697687149, -0.018230704590678215, 0.08906722813844681, -0.03336121514439583, -0.001306371297687292, 0.036168936640024185, 0.03156739100813866, -0.07389771938323975, 0.03706584870815277, -0.0445726104080677, -0.027024338021874428, -0.020316999405622482, 0.007804106455296278, 0.005293728783726692, 0.007930844090878963, 0.0023141782730817795, 0.002141132950782776, 0.0037728785537183285, -0.02499653771519661, -0.0006763396668247879, -0.027024338021874428, -0.018513426184654236, -0.04008805379271507, -0.07093401253223419, -0.0027930999640375376, -0.017772499471902847, 0.013346435502171516, 0.01852317526936531, 0.036695387214422226, 0.03063148260116577, 0.00893012061715126, 0.033049244433641434, 0.05553052946925163, -0.019693059846758842, -0.05011006444692612, 0.012673751451075077, 0.024743063375353813, 0.05237184092402458, 0.013697400689125061, 0.02043398842215538, -0.026400400325655937, 0.009017862379550934, -0.061067987233400345, 0.015510722063481808, 0.0007847977103665471, -0.03702685236930847, -0.004630793817341328, -0.03882067650556564, -0.003997106570750475, 0.011562361381947994, -0.003083133837208152, 0.04402666538953781, 0.0010291329817846417, 0.019390840083360672, -0.028896154835820198, 0.031196927651762962, 0.018445182591676712, 0.0023714539129287004, -0.04336373135447502, 0.0011004229309037328, 0.026439396664500237, -0.04351971298456192, 0.042427822947502136, 0.025211017578840256, -0.013170952908694744, 0.03002704307436943, 0.008398798294365406, 0.018445182591676712, 0.0224617887288332, 0.08259386569261551, 0.00849628821015358, 0.002019269857555628, 0.05638844519853592, -0.010567959398031235, 0.04106295481324196, 0.08002012223005295, 0.017060820013284683, -0.014535818248987198, 0.01348292175680399, -0.070310078561306, 0.002939335536211729, -0.020219508558511734, 0.005225485190749168, -0.04523554444313049, 0.028350207954645157, -0.03882067650556564, 0.003726570401340723, -0.003053886815905571, -0.030494997277855873, -0.08204791694879532, -0.05061701685190201, 0.03125542029738426, -0.036773379892110825, 0.039366621524095535, 0.016739102080464363, -0.013044215738773346, 0.03712434321641922, 0.0058591729030013084, 0.06699540466070175, -0.018698658794164658, -0.020122017711400986, -0.048199255019426346, 0.022656768560409546, 0.04164789989590645, -0.02179885283112526, 0.05307377502322197, -0.03899616003036499, -0.014516320079565048, 0.024021634832024574, -0.02825271710753441, -0.05358072370290756, -0.01693408191204071, 0.025854453444480896, 0.008125824853777885, -0.007536008022725582, -0.06208188459277153, -0.016583116725087166, -0.007740737870335579, -0.006473362445831299, 0.0513579435646534, 0.0111918980255723, -0.015822691842913628, -0.04858921468257904, 0.01435058657079935, -0.008613276295363903 ]
719,795
ibm_platform_services.iam_policy_management_v1
list_roles
Get roles by filters. Get roles based on the filters. While managing roles, you may want to retrieve roles and filter by usages. This can be done through query parameters. Currently, we only support the following attributes: account_id, service_name, service_group_id, source_service_name and policy_type. Both service_name and service_group_id attributes are mutually exclusive. Only roles that match the filter and that the caller has read access to are returned. If the caller does not have read access to any roles an empty array is returned. :param str accept_language: (optional) Language code for translations * `default` - English * `de` - German (Standard) * `en` - English * `es` - Spanish (Spain) * `fr` - French (Standard) * `it` - Italian (Standard) * `ja` - Japanese * `ko` - Korean * `pt-br` - Portuguese (Brazil) * `zh-cn` - Chinese (Simplified, PRC) * `zh-tw` - (Chinese, Taiwan). :param str account_id: (optional) Optional account GUID in which the roles belong to. :param str service_name: (optional) Optional name of IAM enabled service. :param str source_service_name: (optional) Optional name of source IAM enabled service. :param str policy_type: (optional) Optional Policy Type. :param str service_group_id: (optional) Optional id of service group. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse with `dict` result representing a `RoleCollection` object
def list_roles( self, *, accept_language: Optional[str] = None, account_id: Optional[str] = None, service_name: Optional[str] = None, source_service_name: Optional[str] = None, policy_type: Optional[str] = None, service_group_id: Optional[str] = None, **kwargs, ) -> DetailedResponse: """ Get roles by filters. Get roles based on the filters. While managing roles, you may want to retrieve roles and filter by usages. This can be done through query parameters. Currently, we only support the following attributes: account_id, service_name, service_group_id, source_service_name and policy_type. Both service_name and service_group_id attributes are mutually exclusive. Only roles that match the filter and that the caller has read access to are returned. If the caller does not have read access to any roles an empty array is returned. :param str accept_language: (optional) Language code for translations * `default` - English * `de` - German (Standard) * `en` - English * `es` - Spanish (Spain) * `fr` - French (Standard) * `it` - Italian (Standard) * `ja` - Japanese * `ko` - Korean * `pt-br` - Portuguese (Brazil) * `zh-cn` - Chinese (Simplified, PRC) * `zh-tw` - (Chinese, Taiwan). :param str account_id: (optional) Optional account GUID in which the roles belong to. :param str service_name: (optional) Optional name of IAM enabled service. :param str source_service_name: (optional) Optional name of source IAM enabled service. :param str policy_type: (optional) Optional Policy Type. :param str service_group_id: (optional) Optional id of service group. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse with `dict` result representing a `RoleCollection` object """ headers = { 'Accept-Language': accept_language, } sdk_headers = get_sdk_headers( service_name=self.DEFAULT_SERVICE_NAME, service_version='V1', operation_id='list_roles', ) headers.update(sdk_headers) params = { 'account_id': account_id, 'service_name': service_name, 'source_service_name': source_service_name, 'policy_type': policy_type, 'service_group_id': service_group_id, } if 'headers' in kwargs: headers.update(kwargs.get('headers')) del kwargs['headers'] headers['Accept'] = 'application/json' url = '/v2/roles' request = self.prepare_request( method='GET', url=url, headers=headers, params=params, ) response = self.send(request, **kwargs) return response
(self, *, accept_language: Optional[str] = None, account_id: Optional[str] = None, service_name: Optional[str] = None, source_service_name: Optional[str] = None, policy_type: Optional[str] = None, service_group_id: Optional[str] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
[ -0.0349789634346962, -0.03804036229848862, 0.04029197245836258, -0.0733155906200409, 0.016284672543406487, -0.012828253209590912, -0.021410048007965088, -0.0012023401213809848, -0.0056389011442661285, 0.03962044045329094, 0.01775611937046051, 0.006428939756006002, -0.006216616835445166, 0.019671963527798653, 0.005209317430853844, 0.05846286192536354, -0.00009181113273371011, 0.0021763097029179335, -0.0019874409772455692, -0.05557921901345253, 0.0034341993741691113, 0.01984972134232521, 0.04175354167819023, -0.023819666355848312, 0.054670676589012146, -0.03871189430356026, -0.006562258582562208, -0.018970804288983345, -0.036499787122011185, 0.035749249160289764, -0.02328638918697834, 0.006917776074260473, -0.04321511462330818, 0.013292400166392326, -0.05498668923974037, 0.02445169724524021, 0.014052812941372395, -0.008794117718935013, -0.014210820198059082, 0.018368398770689964, -0.027157578617334366, 0.002547874581068754, 0.08089996129274368, -0.012709747068583965, -0.06569171696901321, -0.04653327539563179, -0.034327179193496704, -0.0247084591537714, -0.04388664662837982, -0.04048947989940643, 0.0016158759826794267, 0.04736281931400299, 0.00005778700869996101, -0.01809188537299633, 0.05787033215165138, -0.014082439243793488, -0.06478317081928253, 0.010408759117126465, 0.046888794749975204, 0.015632890164852142, 0.030139975249767303, -0.03308286890387535, -0.04736281931400299, 0.00830034352838993, -0.006907900329679251, -0.016956204548478127, -0.05269557982683182, 0.014566337689757347, -0.023562902584671974, -0.008063332177698612, -0.013371404260396957, 0.06391412764787674, 0.012156720273196697, -0.004987119231373072, -0.012294976972043514, 0.0028910476248711348, 0.014141691848635674, -0.023859167471528053, -0.04009446129202843, -0.024866467341780663, -0.003071275306865573, -0.016195792704820633, 0.001961517846211791, 0.00930764339864254, 0.045466724783182144, 0.0240764282643795, -0.02822413109242916, -0.04917990788817406, 0.004219300113618374, -0.02571575902402401, -0.012225848622620106, 0.004123014397919178, -0.051747530698776245, 0.03766509145498276, -0.05909489095211029, -0.0053673251532018185, -0.00023114803479984403, -0.010714899748563766, -0.0030737442430108786, 0.019346071407198906, -0.02982395887374878, -0.01962258480489254, 0.05565822497010231, 0.04748132452368736, 0.040726494044065475, -0.01816101372241974, -0.0850081592798233, 0.02780936099588871, 0.037171319127082825, 0.023444397374987602, -0.006779519375413656, 0.026288537308573723, 0.022456848993897438, 0.007110347971320152, -0.008966938592493534, 0.005066122859716415, 0.02249635010957718, -0.004510627128183842, -0.09093344956636429, 0.009880420751869678, 0.03677630051970482, 0.016956204548478127, 0.06940490007400513, -0.01962258480489254, -0.052577074617147446, -0.02575526013970375, -0.04910090193152428, -0.008552168495953083, -0.00803864374756813, -0.009026192128658295, -0.08469214290380478, -0.0056438385508954525, 0.01547488197684288, 0.024175183847546577, 0.07651524245738983, -0.010349506512284279, -0.001705989707261324, 0.051787033677101135, 0.0015627952525392175, 0.07864835113286972, -0.03098926693201065, 0.046888794749975204, 0.010231000371277332, -0.01300601102411747, -0.024392442777752876, -0.07596221566200256, 0.06529669463634491, 0.03252984210848808, 0.007712752558290958, -0.015524259768426418, -0.022180335596203804, -0.05498668923974037, -0.012452984228730202, -0.02370115928351879, -0.0001925719261635095, -0.027572348713874817, -0.02559725195169449, -0.005253756884485483, 0.0007159725646488369, -0.0001286127371713519, -0.007386861369013786, 0.012462859973311424, -0.048152856528759, -0.03693430870771408, 0.03300386667251587, -0.04321511462330818, 0.0047229500487446785, -0.0009350848267786205, -0.05952941253781319, -0.03847488388419151, -0.0381193645298481, -0.03644053265452385, -0.0029009231366217136, -0.018812796100974083, -0.056092746555805206, -0.008408973924815655, 0.023148132488131523, -0.014437956735491753, -0.030673250555992126, -0.01775611937046051, -0.03727007284760475, -0.03946243226528168, -0.047639332711696625, -0.04120051488280296, 0.01973121613264084, -0.03375440090894699, -0.003574925009161234, 0.03819837048649788, -0.05956891551613808, 0.01115929614752531, -0.056724775582551956, 0.008438600227236748, -0.016284672543406487, -0.039264921098947525, -0.07149849832057953, -0.04364963620901108, -0.005767282098531723, -0.02571575902402401, -0.01656118594110012, -0.044755689799785614, 0.02982395887374878, 0.02003735490143299, 0.06387462466955185, 0.046849291771650314, 0.014507085084915161, -0.01409231498837471, -0.021370545029640198, -0.04380764439702034, 0.02601202204823494, -0.08571919798851013, -0.012067840434610844, 0.0022195149213075638, 0.020116358995437622, 0.008502790704369545, -0.03061399795114994, 0.08872134238481522, -0.017598111182451248, -0.00788557343184948, 0.05858136713504791, -0.008833619765937328, 0.03517647087574005, -0.03770459443330765, -0.023859167471528053, -0.027592100203037262, 0.016887076199054718, 0.007584371138364077, -0.009564405307173729, -0.01210734248161316, -0.046256761997938156, -0.01752898283302784, 0.0355912409722805, -0.029132675379514694, 0.026782311499118805, 0.011751824989914894, -0.031937312334775925, -0.038297124207019806, 0.03091026283800602, 0.053051095455884933, 0.0016763632884249091, 0.07390812039375305, -0.021963074803352356, 0.057475313544273376, 0.054473165422677994, 0.013578789308667183, -0.003565049497410655, -0.011346930637955666, -0.01977071724832058, 0.040232717990875244, 0.008833619765937328, -0.000944343104492873, -0.03932417556643486, -0.006478317081928253, -0.004537784494459629, -0.02119278721511364, 0.005727780517190695, -0.0754091888666153, -0.010714899748563766, -0.02982395887374878, 0.020975526422262192, -0.03979819640517235, 0.019829969853162766, -0.05087849125266075, -0.03715156763792038, -0.028362387791275978, 0.034149419516325, -0.030475741252303123, 0.03091026283800602, 0.008359596133232117, 0.02093602530658245, 0.01201846357434988, 0.04989094287157059, 0.027868613600730896, -0.00811270996928215, -0.007016530726104975, 0.020639760419726372, -0.014052812941372395, 0.0316212959587574, -0.03847488388419151, -0.06900987774133682, 0.05889738351106644, 0.0020047230646014214, 0.039758697152137756, -0.022476600483059883, 0.05818634852766991, 0.04949592053890228, -0.0004119928053114563, -0.021765565499663353, 0.0174894817173481, -0.0833490788936615, 0.05340661481022835, 0.08066295087337494, 0.004211893770843744, -0.006369686685502529, -0.0645066574215889, 0.03849463537335396, -0.005693215876817703, -0.017104336991906166, -0.021469300612807274, 0.05083898827433586, 0.010882782749831676, -0.05715929716825485, 0.023819666355848312, 0.08911636471748352, -0.05968742072582245, -0.022140832617878914, -0.057396307587623596, 0.008532417938113213, -0.024846715852618217, 0.05261657387018204, 0.02223958820104599, 0.024135680869221687, 0.004799484740942717, -0.03533447906374931, -0.07228853553533554, 0.004056354984641075, -0.0009245921391993761, 0.006236367858946323, 0.002750321989879012, 0.03154229372739792, 0.005648776423186064, -0.02395792305469513, 0.019899098202586174, 0.023720910772681236, -0.05719880014657974, 0.04953542351722717, -0.03280635550618172, -0.014862602576613426, 0.04519021138548851, 0.020501503720879555, -0.03827737271785736, -0.010240876115858555, -0.02399742417037487, 0.012245599180459976, 0.006740017328411341, -0.006912838201969862, -0.0678643211722374, 0.01752898283302784, -0.001086920383386314, 0.038257621228694916, 0.007080721668899059, -0.009584156796336174, -0.052498068660497665, -0.016422929242253304, 0.000021371162802097388, 0.02302962727844715, 0.04459768161177635, 0.09109145402908325, 0.010122369974851608, 0.00995942484587431, -0.008562044240534306, 0.03249033913016319, -0.0017282095504924655, 0.07683125883340836, 0.04870588332414627, -0.046256761997938156, -0.021311292424798012, -0.019484328106045723, -0.011662946082651615, 0.017519107088446617, -0.0023775226436555386, -0.03630227595567703, -0.005095749162137508, 0.010008802637457848, -0.003016960108652711, -0.028461143374443054, -0.03525547683238983, -0.007589309010654688, -0.09290854632854462, 0.08078145235776901, -0.06723228842020035, 0.02302962727844715, -0.010487763211131096, -0.045427221804857254, 0.014121941290795803, -0.012640618719160557, -0.011722198687493801, -0.003263847203925252, -0.015840275213122368, 0.0038193431682884693, 0.06821984052658081, 0.016571061685681343, 0.03462344408035278, 0.02541949413716793, 0.00581172201782465, 0.04076599329710007, 0.014289824292063713, 0.032352082431316376, 0.0006212296430021524, -0.07659424841403961, 0.012601116672158241, -0.04222756624221802, 0.014003435149788857, 0.007238729391247034, -0.03379390388727188, 0.0031478102318942547, -0.0339321605861187, -0.048271361738443375, 0.01618591696023941, 0.017282094806432724, -0.04163503646850586, -0.01332202646881342, 0.04309660941362381, 0.022733362391591072, 0.0057820952497422695, -0.05261657387018204, 0.028737656772136688, 0.05783082917332649, -0.03527522459626198, -0.017390726134181023, 0.021390296518802643, 0.01030012872070074, -0.008957063779234886, -0.01872391626238823, -0.031226277351379395, 0.011465435847640038, 0.02152855321764946, 0.02927093207836151, 0.06253156065940857, 0.05763332173228264, 0.03944268077611923, 0.04183254763484001, -0.027789609506726265, 0.047520823776721954, 0.0012048089411109686, 0.029547445476055145, 0.013075140304863453, -0.01440833043307066, 0.0015985938953235745, -0.0071745384484529495, -0.09804379940032959, 0.06561271101236343, 0.024056676775217056, 0.005456204526126385, -0.07130099087953568, 0.006532632280141115, 0.00047155431821011007, -0.04570373520255089, -0.023760411888360977, -0.034109920263290405, 0.0018380742985755205, 0.09504164755344391, -0.04007470980286598, -0.027335338294506073, -0.01061614416539669, -0.03286560997366905, -0.011465435847640038, -0.013173894956707954, 0.03969944268465042, 0.04372863844037056, -0.04609875753521919, 0.029428940266370773, 0.09709575027227402, 0.0247084591537714, 0.040686991065740585, -0.009282954037189484, -0.0028342637233436108, 0.02160755731165409, 0.05787033215165138, -0.007747316733002663, -0.08745727688074112, 0.04364963620901108, -0.07292056828737259, 0.027611851692199707, 0.05190553888678551, 0.0498514398932457, -0.009011378511786461, -0.002119525568559766, -0.04025246948003769, -0.02638729102909565, -0.017390726134181023, -0.0008560809656046331, -0.042741090059280396, -0.01842765137553215, -0.024905968457460403, 0.06170202046632767, 0.05289308726787567, 0.022061830386519432, -0.019800344482064247, -0.0345444418489933, 0.02948819287121296, 0.023088879883289337, -0.012768999673426151, -0.006399312987923622, -0.008887934498488903, 0.007564620114862919, -0.04582224413752556, -0.028303135186433792, 0.04463718459010124, -0.016057536005973816, -0.030041219666600227, -0.007954701781272888, 0.0027552598621696234, -0.0259725209325552, 0.04846887290477753, -0.02512322925031185, -0.031937312334775925, 0.015129240229725838, -0.003636646782979369, 0.013963933102786541, 0.025656506419181824, 0.055302705615758896, -0.011781451292335987, 0.019464576616883278, -0.008478102274239063, 0.02684156410396099, -0.007396737113595009, -0.004663696978241205, -0.04155603423714638, -0.006626449059695005, -0.010774152353405952, -0.021627308800816536, 0.03651953861117363, 0.020086733624339104, -0.055974237620830536, -0.02919192798435688, 0.053959641605615616, -0.043333619832992554, 0.07019493728876114, 0.005604336969554424, 0.0259725209325552, -0.017519107088446617, 0.006631386931985617, 0.0261700302362442, 0.049693431705236435, -0.010097681544721127, 0.059410907328128815, -0.04048947989940643, -0.044834695756435394, 0.04601975157856941, 0.034702450037002563, -0.008828681893646717, -0.013460284098982811, -0.06695577502250671, -0.04293860122561455, -0.05952941253781319, 0.005387076176702976, -0.08121597766876221, -0.010863031260669231, -0.012788751162588596, 0.03547273576259613, 0.053130101412534714, 0.05968742072582245, -0.03357664495706558, -0.005500643979758024, -0.09361958503723145, -0.007263417821377516, -0.028796909376978874, 0.028303135186433792, 0.00786582287400961, 0.02855989709496498, 0.05399914085865021, -0.023069128394126892, -0.008058394305408001, 0.035907257348299026, 0.01044826116412878, -0.006340060383081436, -0.005604336969554424, -0.024115929380059242, -0.03667754307389259, -0.008438600227236748, 0.02362215518951416, 0.03274710103869438, -0.012077716179192066, -0.029290683567523956, 0.00988535862416029, 0.031127523630857468, 0.05964791774749756, 0.016541434451937675, 0.021745814010500908, 0.00546607980504632, -0.0019849720411002636, -0.04680979251861572, -0.05218205228447914, 0.019089309498667717, -0.029843710362911224, 0.043570633977651596, 0.06446715444326401, -0.02855989709496498, 0.031897809356451035, 0.02462945505976677, 0.000031227358704200014, -0.07608072459697723, 0.06209703907370567, -0.05546071380376816, 0.0048661441542208195, 0.023819666355848312, -0.00812752265483141, 0.016580935567617416, 0.045427221804857254, 0.07066895812749863, 0.003214469878003001, 0.015405753627419472, 0.04238557443022728, 0.009835981763899326, -0.05719880014657974, 0.05478918179869652, -0.00910025741904974, 0.0051994421519339085, -0.04309660941362381, 0.05158952623605728, -0.020422499626874924, -0.004597037564963102, 0.03347788751125336, 0.041319023817777634, -0.0423065721988678, -0.039561185985803604, 0.03861314058303833, 0.01719321683049202, 0.011603692546486855, 0.03312237188220024, -0.028421640396118164, 0.005308072082698345, 0.0452297143638134, -0.08801030367612839, 0.05629025399684906, -0.028243882581591606, -0.011929583735764027, 0.04953542351722717, 0.09022241830825806, -0.041398026049137115, 0.018931301310658455, -0.017440102994441986, 0.005658651702105999, 0.016047660261392593, -0.07596221566200256, 0.033359382301568985, -0.005727780517190695, -0.017726492136716843, -0.027651352807879448, -0.01820051483809948, -0.05020695552229881, -0.01984972134232521, 0.008389223366975784, -0.021923573687672615, 0.03401116281747818, 0.038968656212091446, 0.042741090059280396, -0.001667722244746983, 0.042109061032533646, -0.07951739430427551, 0.020007729530334473, 0.03138428553938866, 0.028283383697271347, 0.05913439393043518, -0.02893516607582569, 0.10831429809331894, -0.036578789353370667, -0.01170244812965393, 0.07793731242418289, -0.0005036496440880001, -0.03495921194553375, 0.05328810587525368, -0.04076599329710007, -0.03513696789741516, -0.0049747745506465435, 0.002141745528206229, -0.03138428553938866, 0.03229283168911934, 0.019316446036100388, 0.00030382542172446847, 0.03632202744483948, -0.006186990067362785, 0.05198454484343529, -0.016501933336257935, -0.015000859275460243, -0.03351739048957825, 0.0219828262925148, 0.04019321873784065, 0.0607144720852375, 0.030179476365447044, 0.04076599329710007, 0.013647917658090591, 0.011880205944180489, 0.0360257625579834, 0.05648776516318321, 0.07137998938560486, -0.019987978041172028, -0.10507514327764511, 0.043412625789642334, 0.029764706268906593, -0.06841734796762466, 0.048271361738443375, -0.013450408354401588, 0.0072288536466658115, 0.014062687754631042, -0.014665092341601849, -0.001943001290783286, 0.0020503972191363573, -0.031897809356451035, -0.047007299959659576, -0.023938171565532684, -0.007376986090093851, -0.02223958820104599, -0.028796909376978874, 0.05763332173228264, 0.0707874670624733, -0.01265049446374178, -0.07137998938560486, 0.000784483680035919, 0.09180249273777008, 0.009761915542185307, -0.026999570429325104, 0.0028984544333070517, 0.06095148250460625, -0.021587805822491646, -0.0030391800682991743, 0.03786260262131691, 0.0037452769465744495, 0.02755259908735752, -0.00008610187069280073, 0.02287161909043789, 0.03906741365790367, 0.05621125176548958, -0.025854015722870827, 0.010260626673698425, 0.00610304856672883, 0.009702662006020546, 0.01712408848106861, 0.02182481810450554, -0.008586732670664787, 0.03622327372431755, 0.03772434592247009, -0.015267496928572655, -0.04704680293798447, 0.008097896352410316, -0.028026621788740158, -0.024905968457460403, 0.07248605042695999, 0.01323314756155014, -0.012314727529883385, 0.0332803800702095, -0.00158624944742769, -0.021291542798280716, -0.02249635010957718, -0.0027824174612760544, -0.06027995049953461, -0.031897809356451035, 0.018072133883833885, -0.025024475529789925, 0.008779305033385754, -0.0038267497438937426, 0.06320309638977051, 0.04447917640209198, -0.006665951106697321, -0.07102447748184204, 0.0379021055996418, 0.024135680869221687, -0.015593388117849827, 0.044755689799785614, -0.01902018114924431, -0.005757406819611788, -0.036875054240226746, -0.0015541542088612914, 0.007880635559558868, -0.04961442947387695, -0.03730957582592964, 0.010211249813437462, -0.011228424496948719, -0.0056142122484743595, -0.01220609713345766, 0.012225848622620106, -0.0031206526327878237, 0.021923573687672615, -0.015761271119117737, 0.03399141505360603, -0.023167883977293968, 0.04463718459010124, -0.01491197943687439 ]
719,796
ibm_platform_services.iam_policy_management_v1
list_v2_policies
Get policies by attributes. Get policies and filter by attributes. While managing policies, you might want to retrieve policies in the account and filter by attribute values. This can be done through query parameters. The following attributes are supported: account_id, iam_id, access_group_id, type, service_type, sort, format and state. account_id is a required query parameter. Only policies that have the specified attributes and that the caller has read access to are returned. If the caller does not have read access to any policies an empty array is returned. :param str account_id: The account GUID in which the policies belong to. :param str accept_language: (optional) Language code for translations * `default` - English * `de` - German (Standard) * `en` - English * `es` - Spanish (Spain) * `fr` - French (Standard) * `it` - Italian (Standard) * `ja` - Japanese * `ko` - Korean * `pt-br` - Portuguese (Brazil) * `zh-cn` - Chinese (Simplified, PRC) * `zh-tw` - (Chinese, Taiwan). :param str iam_id: (optional) Optional IAM ID used to identify the subject. :param str access_group_id: (optional) Optional access group id. :param str type: (optional) Optional type of policy. :param str service_type: (optional) Optional type of service. :param str service_name: (optional) Optional name of service. :param str service_group_id: (optional) Optional ID of service group. :param str sort: (optional) Optional top level policy field to sort results. Ascending sort is default. Descending sort available by prepending '-' to field, for example, '-last_modified_at'. Note that last permit information is only included when 'format=include_last_permit', for example, "format=include_last_permit&sort=last_permit_at" Example fields that can be sorted on: - 'id' - 'type' - 'href' - 'created_at' - 'created_by_id' - 'last_modified_at' - 'last_modified_by_id' - 'state' - 'last_permit_at' - 'last_permit_frequency'. :param str format: (optional) Include additional data per policy returned * `include_last_permit` - returns details of when the policy last granted a permit decision and the number of times it has done so * `display` - returns the list of all actions included in each of the policy roles and translations for all relevant fields. :param str state: (optional) The state of the policy. * `active` - returns active policies * `deleted` - returns non-active policies. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse with `dict` result representing a `V2PolicyCollection` object
def list_v2_policies( self, account_id: str, *, accept_language: Optional[str] = None, iam_id: Optional[str] = None, access_group_id: Optional[str] = None, type: Optional[str] = None, service_type: Optional[str] = None, service_name: Optional[str] = None, service_group_id: Optional[str] = None, sort: Optional[str] = None, format: Optional[str] = None, state: Optional[str] = None, **kwargs, ) -> DetailedResponse: """ Get policies by attributes. Get policies and filter by attributes. While managing policies, you might want to retrieve policies in the account and filter by attribute values. This can be done through query parameters. The following attributes are supported: account_id, iam_id, access_group_id, type, service_type, sort, format and state. account_id is a required query parameter. Only policies that have the specified attributes and that the caller has read access to are returned. If the caller does not have read access to any policies an empty array is returned. :param str account_id: The account GUID in which the policies belong to. :param str accept_language: (optional) Language code for translations * `default` - English * `de` - German (Standard) * `en` - English * `es` - Spanish (Spain) * `fr` - French (Standard) * `it` - Italian (Standard) * `ja` - Japanese * `ko` - Korean * `pt-br` - Portuguese (Brazil) * `zh-cn` - Chinese (Simplified, PRC) * `zh-tw` - (Chinese, Taiwan). :param str iam_id: (optional) Optional IAM ID used to identify the subject. :param str access_group_id: (optional) Optional access group id. :param str type: (optional) Optional type of policy. :param str service_type: (optional) Optional type of service. :param str service_name: (optional) Optional name of service. :param str service_group_id: (optional) Optional ID of service group. :param str sort: (optional) Optional top level policy field to sort results. Ascending sort is default. Descending sort available by prepending '-' to field, for example, '-last_modified_at'. Note that last permit information is only included when 'format=include_last_permit', for example, "format=include_last_permit&sort=last_permit_at" Example fields that can be sorted on: - 'id' - 'type' - 'href' - 'created_at' - 'created_by_id' - 'last_modified_at' - 'last_modified_by_id' - 'state' - 'last_permit_at' - 'last_permit_frequency'. :param str format: (optional) Include additional data per policy returned * `include_last_permit` - returns details of when the policy last granted a permit decision and the number of times it has done so * `display` - returns the list of all actions included in each of the policy roles and translations for all relevant fields. :param str state: (optional) The state of the policy. * `active` - returns active policies * `deleted` - returns non-active policies. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse with `dict` result representing a `V2PolicyCollection` object """ if not account_id: raise ValueError('account_id must be provided') headers = { 'Accept-Language': accept_language, } sdk_headers = get_sdk_headers( service_name=self.DEFAULT_SERVICE_NAME, service_version='V1', operation_id='list_v2_policies', ) headers.update(sdk_headers) params = { 'account_id': account_id, 'iam_id': iam_id, 'access_group_id': access_group_id, 'type': type, 'service_type': service_type, 'service_name': service_name, 'service_group_id': service_group_id, 'sort': sort, 'format': format, 'state': state, } if 'headers' in kwargs: headers.update(kwargs.get('headers')) del kwargs['headers'] headers['Accept'] = 'application/json' url = '/v2/policies' request = self.prepare_request( method='GET', url=url, headers=headers, params=params, ) response = self.send(request, **kwargs) return response
(self, account_id: str, *, accept_language: Optional[str] = None, iam_id: Optional[str] = None, access_group_id: Optional[str] = None, type: Optional[str] = None, service_type: Optional[str] = None, service_name: Optional[str] = None, service_group_id: Optional[str] = None, sort: Optional[str] = None, format: Optional[str] = None, state: Optional[str] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
[ -0.042389754205942154, -0.017669018357992172, -0.03527844324707985, -0.07182818651199341, 0.014560303650796413, -0.014441120438277721, 0.0013619248056784272, -0.040502674877643585, -0.049699701368808746, 0.03774157911539078, -0.0067835524678230286, 0.03134537488222122, -0.040363624691963196, -0.006763688288629055, -0.04358159378170967, 0.042945943772792816, 0.04826949164271355, -0.010488186031579971, -0.0032030681613832712, -0.05053398758172989, 0.04115818440914154, 0.02345937117934227, -0.0086358692497015, -0.003659940091893077, 0.04227056726813316, -0.06392231583595276, 0.015781939029693604, -0.031444694846868515, -0.026001961901783943, 0.02159215696156025, 0.009887300431728363, 0.03227898105978966, 0.01914888620376587, 0.05625481531023979, -0.018900586292147636, 0.007061648182570934, 0.02848496101796627, -0.009043080732226372, -0.025584818795323372, 0.04644200578331947, -0.012434856966137886, -0.0075284517370164394, 0.0431843139231205, -0.03587436303496361, -0.04489261656999588, 0.014778807759284973, -0.005512257106602192, 0.04421724006533623, -0.016069967299699783, -0.02689584158360958, 0.001251431298442185, 0.05053398758172989, -0.01956602931022644, -0.013765744864940643, 0.02159215696156025, -0.029835712164640427, -0.041515737771987915, -0.005209330935031176, 0.04000607505440712, 0.0025723865255713463, 0.017589561641216278, -0.002036058809608221, -0.028405504301190376, -0.01668575033545494, -0.01954616606235504, -0.05585753917694092, -0.00963900052011013, -0.04215138405561447, -0.06157836690545082, -0.008010153658688068, 0.008074712008237839, 0.0033743951935321093, -0.02115514874458313, 0.020916780456900597, -0.029716527089476585, -0.031742654740810394, 0.06157836690545082, -0.04632282257080078, -0.02173120342195034, -0.006197564769536257, 0.0025053457356989384, -0.023081954568624496, 0.021909980103373528, -0.004779772367328405, 0.022068891674280167, 0.045687176287174225, 0.01810602657496929, -0.06829239428043365, -0.03063027188181877, 0.03565585985779762, -0.038198452442884445, 0.007607907988131046, -0.018533101305365562, 0.019327661022543907, 0.006108176428824663, -0.007791649550199509, -0.03285503759980202, -0.05704937502741814, -0.009549613110721111, 0.017162486910820007, -0.05772475153207779, -0.03976770490407944, -0.024353250861167908, 0.016775138676166534, 0.07027879357337952, -0.053314946591854095, -0.03873477876186371, 0.03378864377737045, 0.01743065007030964, -0.0059343669563531876, 0.005800284910947084, 0.021075692027807236, 0.03527844324707985, -0.0359538197517395, 0.046998199075460434, 0.038377225399017334, 0.010696758516132832, -0.008611039258539677, -0.036331236362457275, 0.012484516948461533, -0.01698371022939682, -0.02288331463932991, 0.051328547298908234, 0.02920006401836872, -0.0676170215010643, -0.009470156393945217, -0.03929097205400467, -0.01913895271718502, 0.015891190618276596, 0.007737023755908012, -0.08875229954719543, -0.008397500962018967, -0.011382065713405609, 0.018006706610322, 0.009698593057692051, -0.05887686461210251, 0.005631440784782171, 0.031047414988279343, -0.02246617153286934, 0.034483883529901505, 0.01086560171097517, 0.005229195114225149, 0.011928325518965721, -0.023201139643788338, -0.031742654740810394, -0.059234414249658585, 0.06102217361330986, -0.0001425396476406604, 0.015394591726362705, 0.01871187798678875, -0.018165618181228638, -0.03851627558469772, 0.010249818675220013, 0.004762391559779644, -0.003496062010526657, -0.04473370313644409, -0.00027142278850078583, -0.03815872222185135, -0.033609870821237564, -0.030749455094337463, -0.00618763267993927, 0.015056903474032879, -0.006381306331604719, -0.04191301763057709, 0.009152333252131939, -0.02721366472542286, 0.013934588059782982, 0.003433987032622099, 0.0027908904012292624, -0.07166927307844162, 0.012514312751591206, 0.011769413948059082, -0.004213648848235607, -0.02705475315451622, -0.06638544797897339, 0.03766212239861488, 0.0460447259247303, -0.007096410263329744, -0.028445232659578323, -0.037483345717191696, 0.02415461093187332, -0.04858731850981712, -0.04258839413523674, -0.0027784754056483507, -0.011739617213606834, -0.010418661870062351, 0.013398260809481144, 0.06682246178388596, -0.03472225368022919, 0.030888503417372704, -0.054188963025808334, 0.008327977731823921, 0.03152415156364441, 0.002432097215205431, -0.04413778334856033, -0.011570774018764496, 0.029517887160182, 0.004809568170458078, -0.009013284929096699, -0.008601107634603977, 0.03472225368022919, -0.02290317974984646, -0.016079898923635483, 0.03208034113049507, 0.03915192186832428, 0.00941553059965372, -0.008462059311568737, -0.042787034064531326, 0.0460844561457634, -0.04258839413523674, -0.02647869661450386, 0.013070505112409592, 0.02330045960843563, -0.020916780456900597, -0.029617207124829292, 0.0690472275018692, 0.015930918976664543, 0.009991586208343506, 0.02649856172502041, -0.03110700659453869, 0.027114344760775566, -0.05256011337041855, -0.037483345717191696, -0.02834591269493103, 0.04246920719742775, 0.048428405076265335, 0.02131406031548977, 0.010627234354615211, -0.058201488107442856, 0.024492299184203148, 0.04370077699422836, 0.00309629924595356, 0.02286345139145851, 0.018245074898004532, 0.026419105008244514, -0.03698674589395523, -0.016506975516676903, 0.00971845630556345, -0.035179123282432556, 0.053473860025405884, 0.029458295553922653, 0.015861395746469498, 0.019526300951838493, 0.04054240137338638, -0.06813348084688187, 0.0026170804630964994, -0.01252424530684948, 0.0034215720370411873, 0.05788366496562958, -0.004774806555360556, 0.00416895467787981, 0.00012989186507184058, -0.02763080969452858, -0.007175866048783064, -0.030332311987876892, -0.049421604722738266, -0.017182350158691406, -0.08382603526115417, 0.0075632138177752495, -0.011630365625023842, 0.00493123522028327, 0.007285118103027344, -0.09248673170804977, -0.04429669678211212, 0.027889041230082512, -0.03206047788262367, 0.03488116338849068, 0.021909980103373528, 0.02848496101796627, 0.031146734952926636, -0.012951320968568325, -0.002582318615168333, -0.012822205200791359, 0.012931456789374352, -0.009549613110721111, 0.012563972733914852, 0.057208288460969925, 0.010508050210773945, -0.03851627558469772, 0.03710593283176422, 0.036788105964660645, 0.01957596093416214, -0.00028787265182472765, 0.05887686461210251, 0.03551681339740753, 0.0062372926622629166, -0.033152997493743896, 0.04290621727705002, -0.020181812345981598, 0.049143508076667786, 0.0517655573785305, 0.047117382287979126, 0.015613095834851265, -0.04227056726813316, 0.003560620127245784, 0.00006948516238480806, -0.017669018357992172, -0.05013670772314072, 0.06145918369293213, 0.002127929823473096, -0.03253721445798874, 0.07107335329055786, 0.09868429601192474, -0.054188963025808334, -0.0055619170889258385, -0.04687901586294174, 0.04445560649037361, -0.03829777240753174, 0.04628309607505798, 0.026160873472690582, -0.012484516948461533, 0.009912130422890186, -0.0018771470058709383, 0.029279520735144615, 0.01584153063595295, -0.008596140891313553, -0.016000444069504738, -0.015384659171104431, 0.033729054033756256, 0.02286345139145851, -0.05498352274298668, 0.03958893194794655, 0.04060199484229088, -0.01914888620376587, 0.060227613896131516, -0.059790607541799545, -0.02159215696156025, 0.03710593283176422, 0.009132469072937965, -0.04143628105521202, -0.025843050330877304, -0.0048418473452329636, -0.009807844646275043, 0.01582166738808155, -0.04084036126732826, -0.007026886101812124, 0.030332311987876892, -0.0194170493632555, 0.013269145041704178, 0.015871327370405197, -0.0004522161325439811, -0.05601644888520241, 0.04076090455055237, 0.017023438587784767, -0.043224040418863297, 0.01696384698152542, 0.06837184727191925, 0.010210090316832066, -0.0007355883717536926, -0.006421034689992666, -0.020380452275276184, 0.008248521015048027, 0.07433104515075684, 0.10519968718290329, 0.01490792352706194, -0.057486385107040405, -0.0021167562808841467, 0.018304666504263878, -0.03126591816544533, 0.0273725762963295, 0.016060035675764084, -0.009087774902582169, -0.04215138405561447, 0.02417447417974472, 0.03192143142223358, -0.021234603598713875, 0.026816384866833687, -0.08978523313999176, -0.008675597608089447, -0.06380313634872437, -0.028127407655119896, -0.04010539501905441, -0.042230840772390366, -0.013189688324928284, 0.007876072078943253, 0.011292677372694016, -0.02908088080585003, 0.04521043971180916, 0.0016561601078137755, 0.06582926213741302, 0.03092823177576065, -0.006584912538528442, 0.020638683810830116, 0.022068891674280167, 0.029577480629086494, 0.017529970034956932, 0.007056681904941797, -0.029855575412511826, 0.0032353473361581564, -0.013477716594934464, -0.0025699036195874214, 0.028822647407650948, -0.0374634824693203, -0.017063166946172714, 0.027412304654717445, 0.005343412980437279, -0.052758753299713135, -0.006565048359334469, 0.019049566239118576, -0.06690191477537155, 0.00855144765228033, 0.00949498638510704, 0.03766212239861488, -0.012861932627856731, -0.0676170215010643, -0.06892804056406021, 0.066266268491745, 0.0460049994289875, -0.04385968670248985, 0.03905260190367699, 0.005745658650994301, -0.0036301440559327602, -0.04679955914616585, -0.05017643794417381, 0.06249210983514786, 0.03933069854974747, 0.00993199460208416, 0.10051178187131882, -0.012822205200791359, 0.024392979219555855, 0.05410950630903244, -0.031583741307258606, 0.03869505226612091, -0.004864194430410862, 0.008899067528545856, 0.0036748379934579134, -0.046839285641908646, 0.019228341057896614, 0.018920449540019035, -0.05573835223913193, 0.07703255116939545, 0.049858611077070236, -0.034305110573768616, -0.07123226672410965, 0.004245927557349205, 0.014163023792207241, -0.0009267792338505387, -0.02721366472542286, 0.013487648218870163, 0.004740044474601746, 0.052162833511829376, 0.052003923803567886, -0.047117382287979126, -0.0014662106987088919, 0.04660091921687126, 0.02419433929026127, -0.0172916017472744, 0.0009044322650879622, 0.03154401481151581, -0.03492089360952377, 0.015483979135751724, 0.07071579992771149, 0.09550605714321136, -0.006500490475445986, -0.02302236296236515, -0.012027645483613014, 0.03929097205400467, 0.013775676488876343, -0.04115818440914154, -0.042111657559871674, 0.02272440306842327, -0.0705966204404831, 0.0302329920232296, 0.025704002007842064, 0.040681447833776474, -0.038059402257204056, 0.0016735410317778587, 0.02288331463932991, -0.02145310863852501, 0.028147272765636444, -0.013408192433416843, -0.03855600208044052, -0.03823817893862724, 0.0316830612719059, 0.039191652089357376, 0.0273527130484581, 0.05772475153207779, -0.04378023371100426, -0.007121240254491568, 0.0032353473361581564, 0.03492089360952377, -0.008059813641011715, -0.06213455647230148, 0.004846813157200813, -0.0018411434721201658, -0.08319038897752762, -0.05069290101528168, 0.019665349274873734, -0.0632469430565834, -0.030610406771302223, -0.008059813641011715, -0.009817776270210743, 0.003833749797195196, 0.04997779801487923, -0.03829777240753174, 0.03539763018488884, 0.003697185078635812, -0.030431631952524185, 0.02546563372015953, -0.026160873472690582, 0.04111845791339874, -0.048150308430194855, 0.048706501722335815, -0.028544552624225616, 0.025147810578346252, 0.007712193764746189, -0.04342268034815788, -0.02751162461936474, -0.019099226221442223, -0.013428056612610817, -0.024373114109039307, 0.03760253265500069, 0.02935897558927536, -0.01123308576643467, -0.03152415156364441, 0.03394755721092224, 0.01152111403644085, 0.03152415156364441, -0.01769881509244442, 0.002255804371088743, 0.035020213574171066, -0.040363624691963196, -0.01612955890595913, 0.01768888160586357, 0.027412304654717445, -0.0028132374864071608, -0.052877940237522125, -0.07218573987483978, 0.05855904147028923, -0.03035217523574829, 0.03929097205400467, 0.005018140189349651, -0.028743192553520203, -0.045409079641103745, -0.03869505226612091, 0.0024209236726164818, -0.06690191477537155, -0.017907386645674706, -0.023201139643788338, 0.0316234715282917, 0.0632469430565834, 0.029736392199993134, -0.04227056726813316, -0.035616133362054825, -0.04775302857160568, 0.04088008776307106, -0.050573717802762985, 0.008725257590413094, -0.016050104051828384, -0.003679804038256407, 0.05438760295510292, -0.05053398758172989, 0.03535789996385574, -0.013884928077459335, -0.013636628165841103, -0.00006998952449066564, 0.06106190383434296, -0.0604659840464592, -0.019208477810025215, -0.008308113552629948, -0.031305648386478424, 0.015334999188780785, -0.04231029748916626, -0.012653361074626446, 0.01683473028242588, 0.03515926003456116, 0.05784393474459648, 0.08533569425344467, -0.008938794955611229, -0.006614708341658115, 0.060942716896533966, 0.022406579926609993, -0.06130027025938034, -0.030610406771302223, -0.03355027735233307, 0.006867974065244198, 0.053314946591854095, -0.019804397597908974, 0.005219263024628162, 0.06781566143035889, 0.05395059287548065, -0.02228739485144615, 0.030550815165042877, -0.029716527089476585, -0.006520354188978672, 0.015037039294838905, -0.006386272609233856, 0.007195730227977037, 0.07123226672410965, 0.053871139883995056, -0.032715991139411926, 0.028326047584414482, 0.03913205862045288, -0.02027120068669319, -0.03537776321172714, 0.08021079003810883, -0.02850482426583767, 0.0007746955961920321, -0.08716318756341934, 0.018900586292147636, 0.014023976400494576, 0.05828094482421875, 0.05279848352074623, 0.04826949164271355, 0.02318127453327179, -0.029835712164640427, 0.04374050348997116, 0.04620363935828209, -0.001784034539014101, 0.022764131426811218, -0.005194433033466339, 0.022406579926609993, 0.05228202044963837, -0.10051178187131882, 0.03873477876186371, 0.00008682735642651096, -0.024353250861167908, 0.05526161938905716, 0.07087471336126328, -0.06026734411716461, 0.010448458604514599, 0.045091256499290466, -0.005984026938676834, 0.07818466424942017, -0.08501787483692169, -0.021691476926207542, 0.006257156375795603, -0.10106797516345978, 0.00619259849190712, -0.03815872222185135, -0.0020993752405047417, -0.010647098533809185, 0.012504381127655506, -0.043104857206344604, 0.02345937117934227, 0.0648360624909401, 0.02792876958847046, -0.00014316038868855685, 0.026875976473093033, -0.002599699655547738, 0.03212007135152817, -0.014510643668472767, 0.010657030157744884, 0.03484143689274788, -0.0007815238204784691, 0.10408730059862137, -0.07321866601705551, 0.034027013927698135, 0.07405295222997665, 0.02373746782541275, -0.03436470031738281, 0.02131406031548977, -0.01914888620376587, -0.00892886333167553, -0.03108714334666729, -0.03440443053841591, 0.023995699360966682, 0.01812588982284069, 0.0026915704365819693, -0.018245074898004532, 0.020837323740124702, -0.047117382287979126, 0.01767894998192787, 0.019774600863456726, -0.024929305538535118, -0.03424551710486412, -0.022366851568222046, 0.00730498181656003, 0.014431187883019447, 0.03500035032629967, 0.06213455647230148, 0.03583463653922081, 0.03094809502363205, 0.061657823622226715, 0.01323934830725193, 0.008164099417626858, -0.011213221587240696, -0.04385968670248985, 0.024353250861167908, 0.035040076822042465, 0.0287630558013916, -0.006450830493122339, -0.020638683810830116, -0.056334272027015686, 0.014480847865343094, -0.04004580155014992, 0.017659086734056473, -0.010210090316832066, -0.09471149742603302, -0.05379168316721916, -0.02387651428580284, -0.024869713932275772, -0.02042018063366413, -0.01858276128768921, 0.05673155188560486, 0.0024246482644230127, 0.026121145114302635, -0.031861837953329086, 0.01597064733505249, 0.058757681399583817, -0.0005313617293722928, -0.051010724157094955, 0.02534645050764084, 0.010269681923091412, -0.015056903474032879, 0.056652095168828964, 0.02057909220457077, -0.058241214603185654, 0.03527844324707985, -0.03339136391878128, -0.03796008229255676, 0.0589960478246212, 0.05724801495671272, -0.036073002964258194, 0.04199247434735298, 0.022644948214292526, -0.06511415541172028, 0.020638683810830116, 0.034166060388088226, 0.0002580766740720719, -0.02908088080585003, 0.0073546417988836765, -0.03325231745839119, -0.02878292091190815, 0.001078242203220725, 0.030153535306453705, -0.009619136340916157, 0.0691664069890976, -0.009698593057692051, -0.01842384971678257, 0.015563435852527618, -0.040363624691963196, -0.07039798051118851, -0.06090299040079117, 0.047276295721530914, -0.03269612789154053, 0.028564415872097015, -0.008079677820205688, 0.013110232539474964, 0.024492299184203148, 0.023062091320753098, 0.06872940063476562, -0.007900902070105076, -0.009410564787685871, -0.0905797928571701, 0.009365870617330074, 0.0004888403345830739, -0.044256966561079025, 0.04850786179304123, -0.016467247158288956, 0.0027536454144865274, -0.014778807759284973, -0.007667499594390392, -0.04417751356959343, -0.0402643047273159, 0.013735948130488396, 0.008675597608089447, 0.03796008229255676, -0.037781305611133575, -0.024571754038333893, -0.017172418534755707, 0.044098056852817535, 0.051884740591049194, -0.006540218368172646, 0.03283517435193062, -0.010418661870062351, 0.015215815976262093, -0.04858731850981712 ]
719,798
ibm_platform_services.iam_policy_management_v1
replace_policy
Update a policy. Update a policy to grant access between a subject and a resource. A policy administrator might want to update an existing policy. The policy type cannot be changed (You cannot change an access policy to an authorization policy). ### Access To update an access policy, use **`"type": "access"`** in the body. The possible subject attributes are **`iam_id`** and **`access_group_id`**. Use the **`iam_id`** subject attribute for assigning access for a user or service-id. Use the **`access_group_id`** subject attribute for assigning access for an access group. Assign roles that are supported by the service or platform roles. For more information, see [IAM roles and actions](/docs/account?topic=account-iam-service-roles-actions). Use only the resource attributes supported by the service. To view a service's or the platform's supported attributes, check the [documentation](/docs?tab=all-docs). The policy resource must include either the **`serviceType`**, **`serviceName`**, or **`resourceGroupId`** attribute and the **`accountId`** attribute.` If the subject is a locked service-id, the request will fail. ### Authorization To update an authorization policy, use **`"type": "authorization"`** in the body. The subject attributes must match the supported authorization subjects of the resource. Multiple subject attributes might be provided. The following attributes are supported: serviceName, serviceInstance, region, resourceType, resource, accountId, resourceGroupId Assign roles that are supported by the service or platform roles. For more information, see [IAM roles and actions](/docs/account?topic=account-iam-service-roles-actions). The user must also have the same level of access or greater to the target resource in order to grant the role. Use only the resource attributes supported by the service. To view a service's or the platform's supported attributes, check the [documentation](/docs?tab=all-docs). Both the policy subject and the policy resource must include the **`accountId`** attributes. The policy subject must include either **`serviceName`** or **`resourceGroupId`** (or both) attributes. ### Attribute Operators Currently, only the `stringEquals` and the `stringMatch` operators are available. Resource attributes might support one or both operators. For more information, see [Assigning access by using wildcard policies](https://cloud.ibm.com/docs/account?topic=account-wildcard). ### Attribute Validations Policy attribute values must be between 1 and 1,000 characters in length. If location related attributes like geography, country, metro, region, satellite, and locationvalues are supported by the service, they are validated against Global Catalog locations. :param str policy_id: The policy ID. :param str if_match: The revision number for updating a policy and must match the ETag value of the existing policy. The Etag can be retrieved using the GET /v1/policies/{policy_id} API and looking at the ETag response header. :param str type: The policy type; either 'access' or 'authorization'. :param List[PolicySubject] subjects: The subjects associated with a policy. :param List[PolicyRole] roles: A set of role cloud resource names (CRNs) granted by the policy. :param List[PolicyResource] resources: The resources associated with a policy. :param str description: (optional) Customer-defined description. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse with `dict` result representing a `Policy` object
def replace_policy( self, policy_id: str, if_match: str, type: str, subjects: List['PolicySubject'], roles: List['PolicyRole'], resources: List['PolicyResource'], *, description: Optional[str] = None, **kwargs, ) -> DetailedResponse: """ Update a policy. Update a policy to grant access between a subject and a resource. A policy administrator might want to update an existing policy. The policy type cannot be changed (You cannot change an access policy to an authorization policy). ### Access To update an access policy, use **`"type": "access"`** in the body. The possible subject attributes are **`iam_id`** and **`access_group_id`**. Use the **`iam_id`** subject attribute for assigning access for a user or service-id. Use the **`access_group_id`** subject attribute for assigning access for an access group. Assign roles that are supported by the service or platform roles. For more information, see [IAM roles and actions](/docs/account?topic=account-iam-service-roles-actions). Use only the resource attributes supported by the service. To view a service's or the platform's supported attributes, check the [documentation](/docs?tab=all-docs). The policy resource must include either the **`serviceType`**, **`serviceName`**, or **`resourceGroupId`** attribute and the **`accountId`** attribute.` If the subject is a locked service-id, the request will fail. ### Authorization To update an authorization policy, use **`"type": "authorization"`** in the body. The subject attributes must match the supported authorization subjects of the resource. Multiple subject attributes might be provided. The following attributes are supported: serviceName, serviceInstance, region, resourceType, resource, accountId, resourceGroupId Assign roles that are supported by the service or platform roles. For more information, see [IAM roles and actions](/docs/account?topic=account-iam-service-roles-actions). The user must also have the same level of access or greater to the target resource in order to grant the role. Use only the resource attributes supported by the service. To view a service's or the platform's supported attributes, check the [documentation](/docs?tab=all-docs). Both the policy subject and the policy resource must include the **`accountId`** attributes. The policy subject must include either **`serviceName`** or **`resourceGroupId`** (or both) attributes. ### Attribute Operators Currently, only the `stringEquals` and the `stringMatch` operators are available. Resource attributes might support one or both operators. For more information, see [Assigning access by using wildcard policies](https://cloud.ibm.com/docs/account?topic=account-wildcard). ### Attribute Validations Policy attribute values must be between 1 and 1,000 characters in length. If location related attributes like geography, country, metro, region, satellite, and locationvalues are supported by the service, they are validated against Global Catalog locations. :param str policy_id: The policy ID. :param str if_match: The revision number for updating a policy and must match the ETag value of the existing policy. The Etag can be retrieved using the GET /v1/policies/{policy_id} API and looking at the ETag response header. :param str type: The policy type; either 'access' or 'authorization'. :param List[PolicySubject] subjects: The subjects associated with a policy. :param List[PolicyRole] roles: A set of role cloud resource names (CRNs) granted by the policy. :param List[PolicyResource] resources: The resources associated with a policy. :param str description: (optional) Customer-defined description. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse with `dict` result representing a `Policy` object """ if not policy_id: raise ValueError('policy_id must be provided') if not if_match: raise ValueError('if_match must be provided') if type is None: raise ValueError('type must be provided') if subjects is None: raise ValueError('subjects must be provided') if roles is None: raise ValueError('roles must be provided') if resources is None: raise ValueError('resources must be provided') subjects = [convert_model(x) for x in subjects] roles = [convert_model(x) for x in roles] resources = [convert_model(x) for x in resources] headers = { 'If-Match': if_match, } sdk_headers = get_sdk_headers( service_name=self.DEFAULT_SERVICE_NAME, service_version='V1', operation_id='replace_policy', ) headers.update(sdk_headers) data = { 'type': type, 'subjects': subjects, 'roles': roles, 'resources': resources, 'description': description, } data = {k: v for (k, v) in data.items() if v is not None} data = json.dumps(data) headers['content-type'] = 'application/json' if 'headers' in kwargs: headers.update(kwargs.get('headers')) del kwargs['headers'] headers['Accept'] = 'application/json' path_param_keys = ['policy_id'] path_param_values = self.encode_path_vars(policy_id) path_param_dict = dict(zip(path_param_keys, path_param_values)) url = '/v1/policies/{policy_id}'.format(**path_param_dict) request = self.prepare_request( method='PUT', url=url, headers=headers, data=data, ) response = self.send(request, **kwargs) return response
(self, policy_id: str, if_match: str, type: str, subjects: List[ibm_platform_services.iam_policy_management_v1.PolicySubject], roles: List[ibm_platform_services.iam_policy_management_v1.PolicyRole], resources: List[ibm_platform_services.iam_policy_management_v1.PolicyResource], *, description: Optional[str] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
[ 0.023052718490362167, -0.021361136808991432, -0.03035012260079384, -0.0492132268846035, 0.0035675654653459787, -0.050196703523397446, -0.012460662983357906, -0.018518885597586632, -0.005143588408827782, 0.04162077605724335, -0.02856019325554371, 0.008693942800164223, -0.015106217935681343, 0.012618019245564938, -0.04858379811048508, -0.0031028722878545523, 0.022265935316681862, 0.00954956840723753, -0.0020505511201918125, -0.10070811957120895, 0.03330055624246597, 0.017977973446249962, -0.009657750837504864, -0.01114280242472887, 0.044846583157777786, -0.02728167176246643, 0.03981117904186249, -0.027399688959121704, -0.0068056657910346985, 0.02783242054283619, 0.0199941024184227, 0.01961054652929306, 0.010454367846250534, 0.018843432888388634, 0.008669355884194374, -0.016178209334611893, -0.02409520372748375, 0.020053111016750336, -0.017043668776750565, 0.020653031766414642, -0.049685295671224594, 0.00409864354878664, -0.008123526349663734, -0.044335175305604935, -0.017761608585715294, 0.0858379378914833, -0.02230527438223362, 0.07804879546165466, 0.05078678950667381, -0.03263179212808609, 0.0022792096715420485, -0.0031717156525701284, -0.004737903829663992, 0.011437846347689629, 0.009293864481151104, 0.03528717905282974, -0.018105825409293175, 0.052675068378448486, 0.06014949828386307, -0.04649882763624191, 0.03778521344065666, -0.03953580558300018, -0.08843431621789932, -0.000729617546312511, 0.002689811633899808, -0.06034619361162186, 0.005551731679588556, -0.028461845591664314, -0.025196699425578117, -0.029150279238820076, -0.043587733060121536, -0.043430376797914505, -0.036998432129621506, -0.005689418874680996, 0.04331235960125923, 0.021125102415680885, 0.012844218872487545, -0.06868608295917511, 0.04122738540172577, 0.013394966721534729, 0.07946500182151794, -0.05916602164506912, 0.022423291578888893, -0.03070417419075966, -0.0015293079195544124, 0.01471282634884119, 0.01996459811925888, -0.1120377853512764, 0.0028496268205344677, -0.04405980184674263, -0.022600317373871803, -0.006309009622782469, -0.01142801158130169, -0.030448470264673233, 0.036998432129621506, 0.025196699425578117, -0.0064221094362437725, -0.1332022249698639, 0.01785012148320675, 0.03330055624246597, -0.02212824858725071, 0.027163654565811157, -0.0023197780828922987, 0.0019177815411239862, 0.09150277078151703, -0.013355627655982971, -0.024036195129156113, 0.05830055847764015, 0.017525572329759598, -0.032356418669223785, 0.0413847416639328, -0.0018182044150307775, -0.027045637369155884, -0.015125887468457222, 0.04724626988172531, 0.019030293449759483, -0.027616053819656372, -0.04047994315624237, 0.015007870271801949, 0.028481515124440193, -0.01695515587925911, -0.03402832895517349, 0.003963415045291185, 0.011270654387772083, 0.04016523063182831, -0.009116838686168194, -0.04276161268353462, -0.019177814945578575, 0.019148310646414757, -0.01471282634884119, -0.08394965529441833, -0.014998035505414009, -0.032553113996982574, 0.045397330075502396, -0.017161685973405838, -0.03723446652293205, -0.015765147283673286, 0.029405983164906502, -0.010149490088224411, 0.004133065231144428, 0.012303306721150875, 0.04067663848400116, 0.010926437564194202, 0.005994296632707119, -0.02517702989280224, -0.06250984221696854, 0.05613690987229347, 0.018469711765646935, 0.0043617235496640205, -0.022738005965948105, -0.00677124410867691, -0.023682143539190292, -0.014958696439862251, 0.03017309680581093, -0.006884343922138214, -0.030389461666345596, 0.0000880519874044694, -0.06369001418352127, -0.0179878082126379, -0.031313929706811905, 0.023505117744207382, -0.025019673630595207, 0.0310385562479496, -0.01176239363849163, 0.04067663848400116, -0.019374512135982513, 0.03428403288125992, 0.033457912504673004, 0.016365069895982742, -0.020062945783138275, 0.008354643359780312, 0.01355232298374176, -0.02084972709417343, -0.006869591772556305, -0.02852085418999195, 0.07124312967061996, 0.04122738540172577, -0.02909127064049244, -0.002608674578368664, -0.02193155325949192, 0.013345792889595032, -0.005443549249321222, -0.029838714748620987, 0.02588513307273388, -0.007248230744153261, -0.003041404765099287, -0.01964005082845688, 0.05979544669389725, -0.0215775016695261, 0.02476396970450878, -0.044649887830019, -0.05617624893784523, 0.007105626631528139, -0.012008262798190117, -0.026711255311965942, -0.016168374568223953, 0.01997443288564682, -0.035955946892499924, 0.02730134129524231, 0.03534619137644768, 0.000666920852381736, -0.03589693829417229, -0.000921395723707974, 0.05920536071062088, 0.015824155882000923, 0.0339299812912941, 0.024704961106181145, -0.0017678012372925878, -0.005123918876051903, -0.06573565304279327, -0.031136905774474144, 0.042014166712760925, 0.019866250455379486, -0.03760818764567375, -0.005866444669663906, 0.05637294426560402, -0.028265150263905525, 0.0011635770788416266, -0.0033954568207263947, -0.00677616149187088, -0.020554684102535248, -0.0012440993450582027, -0.06085760146379471, -0.014663652516901493, 0.045397330075502396, 0.02690795063972473, 0.02602281980216503, 0.03404799848794937, -0.04248623922467232, 0.02352478727698326, 0.057356420904397964, 0.06156570464372635, 0.053579866886138916, -0.019571207463741302, -0.00036296475445851684, -0.06774194538593292, -0.04087333381175995, 0.024547604843974113, -0.02997640147805214, 0.06262785941362381, 0.021538162603974342, 0.0023898507934063673, 0.01418174896389246, 0.028324158862233162, -0.06136900931596756, 0.01569630391895771, -0.04386310651898384, 0.006333596538752317, 0.05334383249282837, -0.027616053819656372, -0.004233871586620808, -0.004998525604605675, -0.0812745988368988, 0.015656964853405952, -0.0009029554785229266, 0.021872544661164284, 0.020613692700862885, -0.059638090431690216, 0.05224233865737915, -0.01676829531788826, -0.015430765226483345, -0.003459382802248001, -0.04429583624005318, -0.0499606691300869, -0.025255708023905754, -0.0741935595870018, 0.007887491025030613, 0.05283242464065552, 0.03884737193584442, 0.006904013454914093, 0.05759245529770851, 0.02551141194999218, -0.008723447099328041, -0.003105330979451537, 0.01098544616252184, 0.018302520737051964, 0.009343038313090801, 0.04720693081617355, 0.0219512227922678, -0.013808026909828186, 0.06829269230365753, 0.023839499801397324, 0.0183615293353796, 0.025904802605509758, 0.019905589520931244, 0.008482495322823524, -0.040558621287345886, 0.059480734169483185, -0.014565304853022099, -0.006953187752515078, 0.0074449265375733376, 0.04614477604627609, -0.02067270129919052, -0.0069728572852909565, -0.01516522653400898, 0.038965389132499695, -0.01258851494640112, -0.04748230427503586, 0.07116445153951645, -0.0019239282701164484, -0.003523309016600251, 0.044335175305604935, 0.08158931136131287, -0.0771833285689354, 0.00250049214810133, -0.04531865194439888, 0.03351692110300064, -0.035051144659519196, 0.013493314385414124, 0.05987412482500076, 0.023780491203069687, -0.006904013454914093, -0.06266719847917557, 0.012519671581685543, 0.04803305119276047, 0.028579862788319588, 0.02018096297979355, -0.002034569624811411, 0.03813926503062248, 0.0073514957912266254, 0.0007720300345681608, 0.013414636254310608, 0.024527935311198235, -0.0003159422194585204, 0.008639851585030556, -0.1216365247964859, 0.011801732704043388, 0.031667981296777725, 0.0060975621454417706, -0.049645956605672836, -0.04284029081463814, 0.0031348352786153555, 0.0034790525678545237, -0.01911880634725094, -0.011880410835146904, 0.031313929706811905, 0.014211253263056278, -0.029701028019189835, 0.010936272330582142, 0.05114084109663963, -0.010562551207840443, -0.00498623214662075, 0.0381195954978466, 0.042014166712760925, -0.06593234837055206, -0.024901656433939934, 0.06113297492265701, 0.025039343163371086, 0.030074749141931534, -0.009333203546702862, -0.052714407444000244, -0.0004800600581802428, 0.07230528444051743, 0.014457122422754765, 0.012844218872487545, -0.07537373155355453, 0.014457122422754765, -0.0015956925926730037, -0.03479544073343277, -0.024704961106181145, 0.0004886654787696898, -0.043981123715639114, -0.007336743641644716, 0.01906963251531124, -0.06652243435382843, -0.00002030343603109941, 0.002689811633899808, -0.03564123436808586, -0.03402832895517349, -0.04834776371717453, 0.010887098498642445, -0.028265150263905525, -0.039162084460258484, -0.02391817793250084, 0.0008113691001199186, 0.05051141604781151, -0.042525578290224075, 0.04767899960279465, -0.05420929193496704, -0.012608184479176998, 0.0481904074549675, -0.014289931394159794, -0.005920535884797573, -0.007051535416394472, 0.013139262795448303, 0.001885818550363183, -0.0070957918651402, -0.032808817923069, 0.003619197988882661, 0.020279310643672943, 0.001834185910411179, -0.017220694571733475, 0.025727776810526848, -0.05298978090286255, 0.010444533079862595, 0.010572385974228382, -0.09166012704372406, 0.02197089232504368, 0.022619986906647682, -0.03550354763865471, 0.002638179110363126, 0.027360349893569946, 0.010434698313474655, 0.00041029462590813637, -0.014683322049677372, -0.025550751015543938, 0.07844218611717224, 0.06353265792131424, -0.03365460783243179, 0.009249608032405376, -0.025826124474406242, 0.006068057380616665, -0.04122738540172577, -0.014958696439862251, 0.04099135100841522, 0.011919749900698662, 0.05845791473984718, 0.047364287078380585, -0.03841463848948479, 0.05535012483596802, 0.029661688953638077, 0.015381591394543648, 0.04264359548687935, 0.013788357377052307, -0.023603465408086777, -0.012637688778340816, -0.017338711768388748, -0.009628246538341045, -0.005418962333351374, -0.02338710054755211, 0.013021244667470455, 0.021833205595612526, -0.0073514957912266254, -0.04209284856915474, 0.021007083356380463, 0.021538162603974342, 0.007828482426702976, 0.027340680360794067, -0.022167587652802467, -0.0001946978591149673, 0.07659324258565903, -0.011113298125565052, -0.06522424519062042, -0.005586153361946344, -0.026514559984207153, 0.04956727847456932, -0.028678210452198982, -0.021872544661164284, -0.01176239363849163, 0.025924472138285637, 0.0338316336274147, 0.04815106838941574, 0.02834382839500904, 0.04822974652051926, -0.015253739431500435, -0.00856609083712101, 0.04260425642132759, 0.0026750594843178988, -0.02515736036002636, -0.06931550800800323, -0.006510622333735228, -0.03320220857858658, 0.04339103773236275, 0.04402046278119087, -0.009583990089595318, 0.006963022518903017, 0.0378442220389843, -0.013001575134694576, -0.030251774936914444, 0.028973253443837166, -0.00152807857375592, -0.04366641119122505, -0.0016288849292322993, 0.034677423536777496, 0.03369394689798355, 0.02690795063972473, 0.06365067511796951, -0.01559795718640089, -0.014250592328608036, 0.04622345417737961, 0.041463419795036316, -0.006328679155558348, -0.01274587120860815, 0.005040323361754417, 0.007528522051870823, -0.11549962311983109, -0.005286192987114191, -0.006392605137079954, -0.002817663596943021, 0.033241547644138336, 0.010847759433090687, -0.017191190272569656, 0.02389850839972496, 0.03833596035838127, -0.037883561104536057, -0.012008262798190117, -0.003619197988882661, -0.023937847465276718, 0.0014690698590129614, -0.031982697546482086, 0.02427222952246666, -0.04673486202955246, 0.0006546273361891508, -0.014034227468073368, 0.07399686425924301, -0.00220913696102798, -0.005954957567155361, -0.021262789145112038, 0.015224235132336617, 0.033084191381931305, -0.01961054652929306, 0.025570420548319817, 0.03335956484079361, -0.05416995286941528, -0.020967744290828705, 0.029386313632130623, 0.05495673418045044, 0.06085760146379471, -0.030822191387414932, -0.04649882763624191, 0.02155783213675022, -0.06797797977924347, -0.005689418874680996, -0.01602085307240486, 0.006682731211185455, 0.027930768206715584, -0.028107794001698494, -0.08095988631248474, 0.06640441715717316, -0.032179392874240875, -0.028678210452198982, 0.01656176522374153, -0.03320220857858658, -0.04728560894727707, 0.024213220924139023, 0.047521643340587616, -0.028402836993336678, -0.08363494277000427, -0.012500002048909664, 0.0179878082126379, -0.019197484478354454, 0.0474429652094841, -0.09299765527248383, -0.002707022475078702, -0.01035602018237114, 0.019177814945578575, -0.07364281266927719, 0.0020185881294310093, -0.003631491446867585, -0.04366641119122505, 0.006299174856394529, -0.03302518278360367, 0.05047207698225975, 0.02356412634253502, -0.05330449342727661, 0.024704961106181145, 0.04614477604627609, -0.05161290988326073, 0.003461841493844986, 0.04909520968794823, -0.009033243171870708, -0.02976003661751747, 0.04571204632520676, -0.021636510267853737, 0.021656179800629616, 0.011673880741000175, 0.023780491203069687, 0.036664050072431564, -0.023642804473638535, 0.008585760369896889, 0.0663650780916214, 0.008949647657573223, 0.01132966298609972, -0.050904806703329086, -0.08080253005027771, -0.045239973813295364, 0.0033487416803836823, -0.01625688746571541, 0.013040915131568909, 0.07454761117696762, 0.008634934201836586, 0.014702991582453251, 0.01960071176290512, -0.06243116781115532, 0.0007044158992357552, 0.003951121587306261, -0.009234855882823467, 0.09095202386379242, 0.049331244081258774, 0.06070024520158768, -0.09079466015100479, 0.06852872669696808, 0.010267507284879684, -0.04260425642132759, 0.014122740365564823, 0.1049567461013794, 0.019522033631801605, -0.019167980179190636, -0.017732104286551476, 0.021105432882905006, -0.006230331491678953, 0.025098351761698723, -0.009687256067991257, 0.011083793826401234, 0.01872541569173336, -0.01571597345173359, 0.005013277754187584, 0.003250393783673644, 0.009628246538341045, -0.031667981296777725, 0.0381195954978466, 0.0206923708319664, 0.06726987659931183, -0.0560188926756382, 0.04952793940901756, -0.00856609083712101, -0.07061369717121124, 0.05192762240767479, 0.013719514012336731, -0.07962235808372498, -0.018105825409293175, 0.0018661490175873041, -0.028678210452198982, 0.007636704482138157, -0.03568057343363762, 0.02084972709417343, -0.025904802605509758, -0.10432732105255127, -0.015086548402905464, -0.015942173078656197, 0.008708694949746132, -0.0033069439232349396, 0.033595599234104156, -0.024527935311198235, 0.009859364479780197, 0.061841078102588654, 0.013867035508155823, 0.0047821602784097195, 0.036309998482465744, 0.00597462709993124, 0.025373725220561028, -0.02140047587454319, 0.022226596251130104, 0.0007228561444208026, 0.008054682984948158, 0.08064517378807068, -0.037903230637311935, -0.023800160735845566, 0.013965384103357792, -0.006840087473392487, -0.038257282227277756, 0.03125492110848427, -0.01619787886738777, 0.024724630638957024, 0.03959481418132782, -0.014771835878491402, 0.016168374568223953, -0.015735642984509468, 0.004086350090801716, 0.0011033390183001757, -0.013522818684577942, -0.045672707259655, 0.045043278485536575, 0.013827696442604065, 0.02051534503698349, -0.014339105226099491, 0.017073173075914383, -0.04331235960125923, 0.03530684858560562, 0.03377262502908707, 0.0560188926756382, -0.012303306721150875, 0.0254917424172163, 0.039496466517448425, 0.03188434615731239, -0.04830842465162277, 0.023839499801397324, -0.06101495772600174, 0.009520064108073711, -0.002689811633899808, 0.06077892333269119, -0.031333599239587784, 0.017555076628923416, -0.06675846874713898, 0.017928799614310265, 0.02173485793173313, 0.03697876259684563, 0.004821499343961477, -0.11636508256196976, -0.043587733060121536, -0.024881986901164055, -0.06526358425617218, -0.0025398312136530876, -0.05727774277329445, 0.040047213435173035, -0.030232105404138565, -0.029032262042164803, -0.009844612330198288, 0.0045117042027413845, 0.05389457941055298, 0.001233649905771017, 0.0005710317636840045, -0.006840087473392487, -0.05334383249282837, -0.029150279238820076, 0.033261217176914215, 0.002191925887018442, -0.015253739431500435, 0.03050747886300087, -0.07332810014486313, -0.013906375505030155, 0.05511409044265747, 0.03479544073343277, -0.06628639996051788, 0.058418575674295425, 0.040952011942863464, -0.0858379378914833, 0.0076612913981080055, 0.03125492110848427, -0.022738005965948105, 0.0060926442965865135, 0.00999705120921135, -0.0180369820445776, -0.0648701936006546, -0.01621754840016365, -0.04708891361951828, -0.0056549967266619205, 0.03052714839577675, 0.01657159999012947, 0.0029996070079505444, 0.046105436980724335, 0.053422510623931885, -0.06278521567583084, -0.09378443658351898, 0.025078682228922844, -0.0464201495051384, -0.002071449998766184, -0.02102675475180149, 0.0019669553730636835, 0.03660504147410393, 0.03750983998179436, 0.06510622799396515, -0.0032381003256887197, -0.009308616630733013, -0.015991348773241043, -0.007174469996243715, -0.006161488126963377, -0.021715188398957253, 0.01642407849431038, 0.009761016815900803, 0.014388279058039188, -0.0048165819607675076, -0.027419358491897583, -0.018066486343741417, 0.015214400365948677, -0.020771048963069916, 0.030389461666345596, 0.08741150051355362, -0.014122740365564823, 0.026121169328689575, -0.03992919623851776, 0.049842651933431625, 0.025452403351664543, 0.0041994499042630196, 0.004452695604413748, 0.009402046911418438, -0.019482694566249847, -0.0004053772136103362 ]
719,799
ibm_platform_services.iam_policy_management_v1
replace_policy_template
Update a policy template version. Update a specific version of a policy template. You can use this only if the version isn't committed. :param str policy_template_id: The policy template ID. :param str version: The policy template version. :param str if_match: The revision number for updating a policy template version and must match the ETag value of the existing policy template version. The Etag can be retrieved using the GET /v1/policy_templates/{policy_template_id}/versions/{version} API and looking at the ETag response header. :param TemplatePolicy policy: The core set of properties associated with the template's policy objet. :param str name: (optional) Required field when creating a new template. Otherwise this field is optional. If the field is included it will change the name value for all existing versions of the template. :param str description: (optional) Description of the policy template. This is shown to users in the enterprise account. Use this to describe the purpose or context of the policy for enterprise users managing IAM templates. :param bool committed: (optional) Committed status of the template version. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse with `dict` result representing a `PolicyTemplate` object
def replace_policy_template( self, policy_template_id: str, version: str, if_match: str, policy: 'TemplatePolicy', *, name: Optional[str] = None, description: Optional[str] = None, committed: Optional[bool] = None, **kwargs, ) -> DetailedResponse: """ Update a policy template version. Update a specific version of a policy template. You can use this only if the version isn't committed. :param str policy_template_id: The policy template ID. :param str version: The policy template version. :param str if_match: The revision number for updating a policy template version and must match the ETag value of the existing policy template version. The Etag can be retrieved using the GET /v1/policy_templates/{policy_template_id}/versions/{version} API and looking at the ETag response header. :param TemplatePolicy policy: The core set of properties associated with the template's policy objet. :param str name: (optional) Required field when creating a new template. Otherwise this field is optional. If the field is included it will change the name value for all existing versions of the template. :param str description: (optional) Description of the policy template. This is shown to users in the enterprise account. Use this to describe the purpose or context of the policy for enterprise users managing IAM templates. :param bool committed: (optional) Committed status of the template version. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse with `dict` result representing a `PolicyTemplate` object """ if not policy_template_id: raise ValueError('policy_template_id must be provided') if not version: raise ValueError('version must be provided') if not if_match: raise ValueError('if_match must be provided') if policy is None: raise ValueError('policy must be provided') policy = convert_model(policy) headers = { 'If-Match': if_match, } sdk_headers = get_sdk_headers( service_name=self.DEFAULT_SERVICE_NAME, service_version='V1', operation_id='replace_policy_template', ) headers.update(sdk_headers) data = { 'policy': policy, 'name': name, 'description': description, 'committed': committed, } data = {k: v for (k, v) in data.items() if v is not None} data = json.dumps(data) headers['content-type'] = 'application/json' if 'headers' in kwargs: headers.update(kwargs.get('headers')) del kwargs['headers'] headers['Accept'] = 'application/json' path_param_keys = ['policy_template_id', 'version'] path_param_values = self.encode_path_vars(policy_template_id, version) path_param_dict = dict(zip(path_param_keys, path_param_values)) url = '/v1/policy_templates/{policy_template_id}/versions/{version}'.format(**path_param_dict) request = self.prepare_request( method='PUT', url=url, headers=headers, data=data, ) response = self.send(request, **kwargs) return response
(self, policy_template_id: str, version: str, if_match: str, policy: ibm_platform_services.iam_policy_management_v1.TemplatePolicy, *, name: Optional[str] = None, description: Optional[str] = None, committed: Optional[bool] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
[ 0.07080131024122238, -0.07064773142337799, -0.03966255858540535, -0.028163103386759758, -0.003328410442918539, -0.05571188032627106, -0.02069517783820629, 0.03353847563266754, -0.007184759248048067, 0.00510660232976079, 0.007439129054546356, -0.03280895948410034, -0.05037490278482437, -0.02729920484125614, -0.06987982243299484, -0.008115850389003754, 0.08738817274570465, 0.005207390524446964, 0.0033068128395825624, -0.06054971367120743, 0.06884314119815826, -0.008519003167748451, -0.06078008562326431, 0.013966364786028862, 0.0499909482896328, -0.054713595658540726, 0.017460355535149574, -0.031522709876298904, 0.0264545027166605, -0.015454190783202648, -0.021866241469979286, 0.013102466240525246, 0.03540065512061119, 0.06815202534198761, -0.016270095482468605, -0.02267254702746868, -0.01343842688947916, 0.0003467594215180725, -0.03950897604227066, 0.02635851502418518, -0.003498790552839637, 0.012641720473766327, -0.05033650994300842, -0.03403761610388756, -0.00821663811802864, 0.05671016126871109, -0.021866241469979286, 0.03315451741218567, 0.03390322998166084, 0.027107227593660355, 0.0326937735080719, -0.005423365160822868, -0.029142189770936966, -0.0062296707183122635, -0.022288590669631958, 0.03661011531949043, 0.035938192158937454, 0.016020525246858597, 0.011470657773315907, -0.05052848532795906, 0.01647167280316353, -0.01026119850575924, -0.10197846591472626, -0.003647573059424758, -0.015626970678567886, -0.04615139961242676, 0.010769939050078392, -0.007856680080294609, -0.03025565855205059, -0.031042765825986862, -0.031426720321178436, -0.008533401414752007, -0.0010384784545749426, -0.02198142744600773, 0.00951248686760664, 0.03668690472841263, 0.0027548775542527437, -0.03822272643446922, 0.02480349689722061, -0.011509052477777004, 0.013822382315993309, -0.08423973619937897, 0.0013954367022961378, -0.027951927855610847, -0.013937568292021751, -0.013246449641883373, 0.028163103386759758, -0.09921398758888245, 0.02520664967596531, -0.0042691002599895, -0.008965350687503815, -0.011317075230181217, -0.018468238413333893, -0.007799087092280388, 0.045613862574100494, 0.027990324422717094, 0.04776401072740555, -0.10735383629798889, 0.01892898418009281, 0.029238177463412285, -0.013486421667039394, 0.017249181866645813, -0.01610691472887993, -0.019533714279532433, 0.06124083325266838, -0.011912205256521702, -0.020810363814234734, 0.04511471837759018, 0.02057999186217785, -0.03737802430987358, 0.0403536781668663, -0.02115592360496521, -0.07037895917892456, -0.008898158557713032, 0.0696878433227539, 0.004967418499290943, -0.04657374694943428, -0.041774310171604156, -0.017997892573475838, 0.0015262214001268148, 0.018880989402532578, -0.054444827139377594, 0.011000312864780426, -0.0033452084753662348, 0.01975448802113533, -0.004996214993298054, 0.006963985040783882, -0.021712658926844597, -0.01252653356641531, 0.015838146209716797, -0.054867178201675415, -4.7338210151792737e-7, -0.0448075570166111, 0.042388636618852615, -0.022576557472348213, -0.027875136584043503, -0.028547057881951332, -0.016183706000447273, 0.010664351284503937, 0.031791478395462036, 0.035266272723674774, -0.007453527767211199, 0.023920400068163872, 0.02781754359602928, -0.002615693723782897, -0.06185515969991684, 0.03985453397035599, 0.02428515814244747, 0.011941002681851387, -0.0027044834569096565, 0.013169658370316029, -0.002193343359977007, 0.005121000576764345, -0.008552598766982555, -0.026281723752617836, -0.008495005778968334, 0.04534509405493736, -0.059589825570583344, -0.011115498840808868, -0.04196628928184509, 0.062085531651973724, -0.020234432071447372, 0.05778523534536362, 0.015156625770032406, 0.04499953240156174, -0.018247464671730995, -0.006104885600507259, 0.024189168587327003, 0.008221437223255634, -0.028777431696653366, 0.006839199457317591, 0.046650540083646774, -0.009531684219837189, -0.0027092827949672937, -0.004343491513282061, 0.06423567980527878, 0.0315995030105114, -0.012948884628713131, 0.023536445572972298, -0.021194318309426308, -0.0057833231985569, -0.005586545914411545, -0.04323333874344826, 0.06220071762800217, -0.040161699056625366, 0.0028676644433289766, -0.004187509883195162, 0.07156921923160553, -0.04442359879612923, 0.015099032782018185, 0.002697284333407879, -0.08485406637191772, 0.039067428559064865, 0.01364960242062807, 0.011019510217010975, -0.024304354563355446, 0.002498107496649027, -0.0392594039440155, 0.039892930537462234, 0.04910785332322121, 0.01768113113939762, -0.09706383943557739, -0.004465877078473568, 0.021443890407681465, 0.02708802931010723, 0.059282660484313965, 0.040622446686029434, -0.05759325996041298, 0.005720930173993111, -0.03382644057273865, -0.0069495863281190395, 0.01549258641898632, -0.021923834457993507, -0.007376736495643854, -0.01969689503312111, 0.04377087578177452, -0.011470657773315907, -0.014283128082752228, -0.020023256540298462, -0.01610691472887993, -0.02240377850830555, 0.0249954741448164, -0.03624535724520683, 0.031157953664660454, 0.020771969109773636, 0.029046200215816498, 0.005840916186571121, 0.05659497529268265, -0.04154393821954727, 0.021040737628936768, 0.046650540083646774, 0.04423162341117859, 0.08654347062110901, -0.031945060938596725, -0.014571094885468483, -0.08761854469776154, -0.028028719127178192, -0.00885976292192936, -0.007165561430156231, 0.026915250346064568, 0.02541782520711422, 0.02073357254266739, 0.038549087941646576, 0.0209063533693552, -0.06461963802576065, -0.029334167018532753, -0.10005868971347809, -0.024035586044192314, 0.06377493590116501, -0.027951927855610847, -0.01695161499083042, -0.008115850389003754, -0.04346371442079544, 0.022269394248723984, 0.023094896227121353, -0.006354456301778555, 0.06051131710410118, -0.04361729323863983, 0.05033650994300842, 0.013985563069581985, -0.030812393873929977, 0.02395879477262497, -0.05859154090285301, -0.056057438254356384, -0.04142875224351883, -0.06661619991064072, -0.004662654362618923, 0.040622446686029434, 0.025897769257426262, 0.048109568655490875, 0.07068612426519394, 0.019034571945667267, -0.012852896004915237, -0.004957819823175669, 0.002562900073826313, -0.016692446544766426, 0.0018585824873298407, 0.052678633481264114, 0.007055174093693495, -0.0433485247194767, 0.022595755755901337, 0.002666087821125984, 0.04519151151180267, 0.039163414388895035, 0.02017683908343315, 0.011729827150702477, -0.07606149464845657, 0.0345175601541996, 0.01185461226850748, 0.011115498840808868, -0.019888872280716896, 0.06542593985795975, -0.023114094510674477, 0.014196738600730896, -0.10635554790496826, -0.00885976292192936, -0.03150351345539093, -0.021712658926844597, 0.05609583482146263, -0.036091774702072144, 0.03697487339377403, 0.010616357438266277, 0.00009073937690118328, -0.040622446686029434, -0.00942129734903574, -0.008830966427922249, 0.030697206035256386, -0.016750039532780647, 0.04764882102608681, 0.04350210726261139, 0.018612220883369446, -0.010904323309659958, -0.02063758485019207, -0.021712658926844597, 0.026857655495405197, 0.04258061572909355, 0.02017683908343315, -0.04557546600699425, 0.03993132710456848, -0.023459654301404953, -0.041198376566171646, 0.06504198908805847, -0.0010300794383510947, 0.04976057633757591, 0.007727095391601324, -0.091074138879776, -0.005428164731711149, 0.002418916905298829, 0.008149445988237858, 0.026838459074497223, -0.0157997515052557, 0.014455907978117466, 0.028297487646341324, 0.01528141088783741, -0.027107227593660355, 0.03659091517329216, 0.010721945203840733, -0.03659091517329216, -0.01406235434114933, 0.06365974992513657, 0.05644139274954796, -0.024880288168787956, 0.02739519253373146, 0.015713360160589218, -0.0764838457107544, 0.004101119935512543, 0.03382644057273865, 0.01996566355228424, 0.02365163154900074, -0.021904636174440384, -0.0676528811454773, -0.056786954402923584, 0.042388636618852615, -0.0012358553940430284, -0.005500156432390213, -0.07410332560539246, 0.03323131054639816, 0.01528141088783741, -0.034901514649391174, -0.029929297044873238, -0.05932105705142021, -0.02198142744600773, -0.011269081383943558, -0.00876857340335846, -0.05022132024168968, -0.023325270041823387, 0.018257062882184982, 0.004055525176227093, -0.09291712194681168, 0.004741845186799765, -0.014014359563589096, -0.03259778395295143, 0.000846500915940851, -0.032520994544029236, 0.012670516967773438, -0.017143594101071358, -0.06849758327007294, 0.019370533525943756, -0.07659903168678284, -0.08293429017066956, 0.05763165280222893, -0.020253628492355347, 0.023171687498688698, -0.01936093345284462, -0.020100047811865807, -0.007055174093693495, -0.010069221258163452, -0.016394881531596184, 0.02697284333407879, -0.00012336055806372315, -0.004117918200790882, -0.02474590390920639, 0.02411237731575966, -0.035842206329107285, -0.0015394197544083, 0.02027282677590847, -0.04008490964770317, 0.034383174031972885, 0.04419322684407234, -0.0187178086489439, 0.041083190590143204, 0.024880288168787956, 0.005298579577356577, 0.002639691112563014, -0.002894061151891947, -0.026108944788575172, 0.07425691187381744, 0.04215826466679573, -0.014475105330348015, -0.02255735918879509, -0.02660808525979519, 0.016942016780376434, -0.04492274299263954, -0.03935539349913597, 0.011605042032897472, 0.06588669121265411, 0.014695880003273487, 0.07755891978740692, -0.06135601922869682, 0.03920181095600128, 0.01564616896212101, 0.06293023377656937, 0.0506436713039875, -0.0025557009503245354, -0.048685502260923386, 0.007693499326705933, 0.0003305613063275814, -0.036936476826667786, -0.012843296863138676, -0.004105919506400824, 0.010328390635550022, -0.03803074732422829, 0.0034435968846082687, 0.0024129175581038, 0.04603620991110802, 0.0388946458697319, 0.0363413468003273, 0.037550803273916245, -0.04231184720993042, 0.030735602602362633, 0.08715780079364777, 0.01695161499083042, -0.027932729572057724, 0.006210472900420427, -0.024265959858894348, 0.04953020066022873, -0.05271703004837036, -0.08347182720899582, 0.0021861440036445856, 0.010280396789312363, 0.017210785299539566, 0.03108116239309311, 0.010952318087220192, 0.018909785896539688, -0.03977774456143379, -0.03098517283797264, -0.0014710278483107686, 0.008139846846461296, -0.028451070189476013, -0.04039207100868225, -0.026531293988227844, 0.006436046678572893, 0.0853148102760315, 0.0096516702324152, -0.011739426292479038, -0.06404370069503784, 0.034901514649391174, -0.012545731849968433, -0.038549087941646576, -0.0027908734045922756, 0.007112767547369003, -0.04534509405493736, -0.014561495743691921, 0.08178243041038513, 0.024726705625653267, 0.004725046921521425, 0.03447916358709335, 0.00018687812553253025, 0.01665404997766018, 0.03695567324757576, 0.00226053548976779, -0.001432632328942418, -0.02386280708014965, 0.020311223343014717, 0.02322928048670292, -0.10005868971347809, 0.005831317510455847, -0.009546082466840744, 0.002481309464201331, 0.009296512231230736, 0.0066664195619523525, 0.0005981299909763038, 0.01835305243730545, 0.026857655495405197, -0.04496113583445549, -0.023325270041823387, -0.008806969039142132, -0.011979397386312485, 0.04346371442079544, -0.03182987496256828, 0.009723661467432976, -0.03067800961434841, 0.01914975792169571, 0.012017793022096157, 0.07579272985458374, 0.007280747871845961, 0.04204307869076729, -0.026531293988227844, 0.028527861461043358, 0.036110974848270416, -0.054713595658540726, 0.02958373725414276, 0.01458069309592247, -0.0007379136513918638, 0.011998595669865608, 0.04484594985842705, 0.005356173031032085, 0.033135320991277695, -0.023171687498688698, -0.04146714508533478, 0.017786718904972076, -0.022845325991511345, 0.012574528343975544, -0.03637974336743355, -0.00037615597830154, 0.011470657773315907, -0.018189871683716774, -0.06005056947469711, 0.04020009562373161, 0.013208054006099701, -0.03981614112854004, 0.015377400442957878, -0.019716091454029083, -0.03357686847448349, -0.0209447480738163, 0.018343452364206314, -0.03265537694096565, -0.035995785146951675, -0.05993538349866867, 0.0011020710226148367, -0.031023569405078888, 0.04672732949256897, -0.060319337993860245, -0.025245044380426407, 0.005740127991884947, -0.0014866259880363941, -0.058245982974767685, 0.009061339311301708, -0.04377087578177452, -0.05425284802913666, 0.0062536681070923805, -0.02334446832537651, 0.05755486339330673, 0.0035155885852873325, -0.0696878433227539, 0.03722444176673889, 0.015722960233688354, -0.020867956802248955, 0.006560832262039185, 0.010395582765340805, 0.016366085037589073, -0.03213704004883766, 0.04319494217634201, -0.00876857340335846, 0.020349618047475815, 0.03935539349913597, 0.01701880805194378, -0.003990733064711094, -0.006781606003642082, 0.022480567917227745, 0.0690351203083992, 0.030063681304454803, 0.018189871683716774, -0.057094115763902664, -0.05694053694605827, -0.012824098579585552, 0.032098643481731415, 0.023325270041823387, 0.038126736879348755, 0.0305052287876606, 0.011163493618369102, -0.016030123457312584, 0.062239114195108414, -0.0610104575753212, -0.014407913200557232, 0.04764882102608681, -0.0020433608442544937, 0.08638988435268402, 0.06857437640428543, 0.07383456081151962, -0.06373654305934906, 0.024400344118475914, 0.035784609615802765, -0.021251913160085678, 0.004259501583874226, 0.0998283177614212, 0.0013858377933502197, -0.01115389447659254, -0.004494674038141966, -0.04960699379444122, -0.02484189160168171, 0.031945060938596725, -0.0041947090066969395, 0.030006088316440582, 0.001409834949299693, -0.008586195297539234, -0.026166537776589394, 0.02516825497150421, 0.018650617450475693, -0.022480567917227745, 0.060319337993860245, -0.00725195137783885, 0.03254019096493721, -0.0689583271741867, 0.05555829778313637, 0.058975495398044586, -0.03161869943141937, 0.06546434015035629, -0.030850788578391075, -0.06930388510227203, -0.02115592360496521, 0.017575543373823166, -0.006858397275209427, 0.002512505976483226, -0.037973154336214066, 0.04307975620031357, 0.009906040504574776, -0.06742250919342041, -0.029410958290100098, 0.0027404793072491884, 0.001418233965523541, 0.002247337019070983, 0.009138130582869053, 0.05490557476878166, 0.019524114206433296, 0.04496113583445549, -0.009536483325064182, -0.017277978360652924, 0.01914975792169571, 0.04127516970038414, 0.04484594985842705, -0.051910724490880966, 0.02620493248105049, 0.03874106705188751, -0.008341423235833645, 0.06005056947469711, 0.0008848964353092015, -0.002265334827825427, 0.000869298237375915, 0.009642071090638638, -0.03977774456143379, 0.03219463303685188, -0.03254019096493721, -0.003678769338876009, 0.010817933827638626, -0.013400031253695488, 0.016538864001631737, -0.008000663481652737, 0.010702746920287609, 0.053523335605859756, -0.01026119850575924, -0.029238177463412285, 0.011221086606383324, 0.01223856769502163, 0.030025284737348557, 0.01322725135833025, -0.020349618047475815, -0.043694086372852325, -0.02286452427506447, 0.00860059354454279, 0.04615139961242676, 0.005768924951553345, -0.020023256540298462, 0.0271840188652277, 0.012718511745333672, -0.04968378320336342, 0.014369518496096134, -0.024035586044192314, -0.02516825497150421, 0.02334446832537651, 0.10305353999137878, -0.01962970197200775, 0.03211783990263939, -0.03254019096493721, -0.008682183921337128, -0.02584017626941204, 0.018880989402532578, 0.03685968741774559, -0.04519151151180267, -0.01878500171005726, -0.01631809026002884, -0.05843795835971832, 0.0031508312094956636, -0.039892930537462234, 0.023363664746284485, -0.02541782520711422, -0.006373654119670391, -0.01661565527319908, -0.013870376162230968, 0.004465877078473568, 0.012027392163872719, -0.009296512231230736, -0.0301020760089159, 0.006508038379251957, -0.0640053078532219, 0.02017683908343315, -0.004213906824588776, -0.029410958290100098, 0.01746995560824871, -0.053868893533945084, 0.004977017641067505, 0.005394568666815758, 0.060319337993860245, -0.032732170075178146, 0.07107008248567581, 0.10858248919248581, -0.06742250919342041, 0.016356484964489937, 0.06865116208791733, 0.005740127991884947, -0.04258061572909355, 0.010376385413110256, -0.049453411251306534, -0.034594349563121796, -0.006815202068537474, -0.03396082669496536, -0.016855627298355103, 0.0002954654046334326, -0.018545029684901237, 0.04139035567641258, 0.005490557290613651, 0.027203215286135674, -0.07199157029390335, -0.13115905225276947, 0.04453878849744797, -0.04123677313327789, 0.004355490207672119, -0.003899543546140194, 0.011557047255337238, 0.025302639231085777, 0.01292008813470602, 0.03551584109663963, -0.04434680938720703, -0.013083268888294697, 0.010203605517745018, 0.004074722994118929, 0.01588614098727703, -0.006244068965315819, 0.0030020487029105425, 0.03551584109663963, 0.011393866501748562, 0.010328390635550022, -0.011749024502933025, -0.023478852584958076, 0.05256344750523567, -0.005500156432390213, 0.022634150460362434, 0.07525519281625748, -0.012948884628713131, 0.03835710883140564, -0.014667083509266376, 0.027644764631986618, 0.04104479402303696, -0.0020109645556658506, -0.02219260297715664, -0.0009550881804898381, -0.011873810552060604, 0.004789839498698711 ]
719,800
ibm_platform_services.iam_policy_management_v1
replace_role
Update a role. Update a custom role. A role administrator might want to update an existing role by updating the display name, description, or the actions that are mapped to the role. The name, account_id, and service_name can't be changed. :param str role_id: The role ID. :param str if_match: The revision number for updating a role and must match the ETag value of the existing role. The Etag can be retrieved using the GET /v2/roles/{role_id} API and looking at the ETag response header. :param str display_name: The display name of the role that is shown in the console. :param List[str] actions: The actions of the role. For more information, see [IAM roles and actions](https://cloud.ibm.com/docs/account?topic=account-iam-service-roles-actions). :param str description: (optional) The description of the role. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse with `dict` result representing a `CustomRole` object
def replace_role( self, role_id: str, if_match: str, display_name: str, actions: List[str], *, description: Optional[str] = None, **kwargs, ) -> DetailedResponse: """ Update a role. Update a custom role. A role administrator might want to update an existing role by updating the display name, description, or the actions that are mapped to the role. The name, account_id, and service_name can't be changed. :param str role_id: The role ID. :param str if_match: The revision number for updating a role and must match the ETag value of the existing role. The Etag can be retrieved using the GET /v2/roles/{role_id} API and looking at the ETag response header. :param str display_name: The display name of the role that is shown in the console. :param List[str] actions: The actions of the role. For more information, see [IAM roles and actions](https://cloud.ibm.com/docs/account?topic=account-iam-service-roles-actions). :param str description: (optional) The description of the role. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse with `dict` result representing a `CustomRole` object """ if not role_id: raise ValueError('role_id must be provided') if not if_match: raise ValueError('if_match must be provided') if display_name is None: raise ValueError('display_name must be provided') if actions is None: raise ValueError('actions must be provided') headers = { 'If-Match': if_match, } sdk_headers = get_sdk_headers( service_name=self.DEFAULT_SERVICE_NAME, service_version='V1', operation_id='replace_role', ) headers.update(sdk_headers) data = { 'display_name': display_name, 'actions': actions, 'description': description, } data = {k: v for (k, v) in data.items() if v is not None} data = json.dumps(data) headers['content-type'] = 'application/json' if 'headers' in kwargs: headers.update(kwargs.get('headers')) del kwargs['headers'] headers['Accept'] = 'application/json' path_param_keys = ['role_id'] path_param_values = self.encode_path_vars(role_id) path_param_dict = dict(zip(path_param_keys, path_param_values)) url = '/v2/roles/{role_id}'.format(**path_param_dict) request = self.prepare_request( method='PUT', url=url, headers=headers, data=data, ) response = self.send(request, **kwargs) return response
(self, role_id: str, if_match: str, display_name: str, actions: List[str], *, description: Optional[str] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
[ 0.02725270576775074, -0.03271478787064552, 0.023963918909430504, -0.047504719346761703, 0.025060180574655533, -0.04792783781886101, -0.019982753321528435, 0.04419669508934021, -0.011847330257296562, 0.03233013302087784, -0.006447755731642246, 0.006952613592147827, -0.036426693201065063, 0.009068207815289497, 0.008096957579255104, 0.014866860583424568, 0.03038763254880905, -0.020444337278604507, 0.003728735726326704, -0.063467837870121, 0.016751663759350777, 0.016318928450345993, 0.03015684150159359, 0.0024076909758150578, 0.037984542548656464, -0.000051199494919274, -0.0014556733658537269, -0.010606822557747364, -0.0108376145362854, 0.018299894407391548, 0.010385646484792233, -0.04050402343273163, -0.018723012879490852, 0.059121254831552505, -0.02379082329571247, -0.023079214617609978, -0.03250322863459587, 0.042427290230989456, -0.031368501484394073, -0.011741550639271736, -0.037638355046510696, 0.021271342411637306, 0.029195206239819527, -0.033984143286943436, 0.010404879227280617, 0.029733721166849136, -0.004558145068585873, 0.03208011016249657, -0.0021648784168064594, -0.029002880677580833, 0.02804124541580677, -0.05181283876299858, 0.0012909936485812068, 0.019107665866613388, 0.03209934011101723, 0.022425303235650063, -0.0306953564286232, 0.0190788172185421, 0.041927240788936615, -0.02067513018846512, 0.0027815261855721474, -0.031868550926446915, -0.09793280065059662, 0.000059087898989673704, -0.016530487686395645, -0.013107070699334145, -0.014886093325912952, 0.03573431819677353, -0.004522083792835474, 0.006712205242365599, -0.027906617149710655, -0.002500248374417424, 0.02515634521842003, -0.017415190115571022, 0.044042836874723434, 0.054890066385269165, -0.0048802923411130905, -0.04754318296909332, 0.024540899321436882, 0.020848223939538002, 0.044581349939107895, -0.03333023190498352, 0.023367704823613167, -0.03202240914106369, -0.03544582799077034, -0.019146131351590157, -0.0017297391314059496, -0.0929323062300682, -0.013424410484731197, -0.07000695168972015, -0.005861158948391676, -0.04069634899497032, -0.025867953896522522, 0.013001291081309319, -0.00875086896121502, -0.019482703879475594, 0.03067612275481224, -0.07223794609308243, 0.05481313541531563, 0.0221945121884346, -0.009342273697257042, 0.008726827800273895, 0.07181482762098312, -0.0020050068851560354, 0.05762110650539398, -0.00198216806165874, -0.08662398904561996, 0.031003078445792198, -0.003983568865805864, -0.004474001936614513, 0.029733721166849136, 0.007351691834628582, -0.01905958540737629, 0.012741649523377419, -0.0025531381834298372, -0.008952812291681767, 0.0056207505986094475, -0.023983150720596313, 0.0009225675603374839, 0.03227243572473526, 0.018415290862321854, -0.03192624822258949, 0.05535165220499039, 0.001864367863163352, 0.012289682403206825, -0.01562655158340931, -0.04677387699484825, 0.044042836874723434, -0.009207645431160927, -0.02594488486647606, -0.039542388170957565, -0.054120760411024094, -0.000872081785928458, 0.04319659620523453, 0.028772087767720222, 0.018136415630578995, 0.026060279458761215, 0.03313790634274483, 0.017511354759335518, 0.053774572908878326, 0.035311199724674225, 0.0646987333893776, -0.006226580124348402, -0.011433827690780163, -0.056774869561195374, -0.04042709246277809, 0.04446595534682274, 0.04858174920082092, 0.009524984285235405, -0.046735409647226334, -0.028925949707627296, -0.020578967407345772, 0.022425303235650063, -0.005048578139394522, 0.0013715304667130113, 0.03013760782778263, 0.025714091956615448, -0.046389222145080566, -0.010731834918260574, -0.007616140879690647, 0.040080904960632324, -0.026348769664764404, 0.013107070699334145, 0.011933877132833004, 0.05000496655702591, -0.018078718334436417, 0.023386938497424126, -0.005861158948391676, -0.037638355046510696, 0.00721706310287118, -0.025060180574655533, 0.004036458674818277, -0.00834217481315136, 0.016040055081248283, 0.00006479759758803993, 0.04577377811074257, -0.015953507274389267, -0.06592962145805359, 0.013703283853828907, 0.020540501922369003, -0.036099739372730255, 0.000311930023599416, -0.009029743261635303, 0.02040587179362774, 0.02271379344165325, -0.005649599712342024, -0.01637662574648857, 0.06112145632505417, -0.03438803181052208, 0.00897685345262289, 0.0056255585514009, -0.02032894268631935, -0.007678647059947252, 0.007443046662956476, -0.04623536020517349, -0.02773352339863777, 0.006226580124348402, -0.039042338728904724, 0.046119965612888336, -0.005918857175856829, 0.028368201106786728, 0.017386341467499733, 0.014501440338790417, 0.10347181558609009, 0.05235135182738304, -0.0033729311544448137, 0.030868450179696083, -0.046696946024894714, -0.00508704362437129, -0.07246873527765274, -0.024483200162649155, 0.02615644410252571, 0.013520573265850544, -0.035541992634534836, 0.003454670077189803, 0.09216299653053284, -0.017934473231434822, -0.006024636793881655, 0.02088668942451477, 0.02669495902955532, 0.009606723673641682, 0.002973852911964059, -0.02171369455754757, 0.01046257745474577, -0.007433430291712284, 0.030579959973692894, 0.04319659620523453, -0.02465629391372204, -0.026368003338575363, 0.04227342829108238, 0.00795271247625351, 0.013809063471853733, 0.048812538385391235, -0.013866761699318886, -0.056197889149188995, -0.018444139510393143, -0.009106673300266266, 0.00688049104064703, -0.07800775021314621, 0.07219947874546051, -0.02411777898669243, 0.024964017793536186, 0.03500347584486008, 0.034849613904953, -0.04285040870308876, -0.015722714364528656, -0.01126073393970728, 0.01640547625720501, -0.004846635274589062, -0.02009814977645874, -0.0071305157616734505, 0.0026877669151872396, -0.022309908643364906, 0.04608149826526642, 0.03567662090063095, 0.0061352248303592205, 0.005736146587878466, -0.01582849584519863, 0.028522063046693802, -0.003057996043935418, -0.015741948038339615, -0.06519877910614014, 0.004574973601847887, -0.027714291587471962, -0.022136813029646873, -0.08016180992126465, -0.0051062763668596745, 0.05346684902906418, 0.026291072368621826, 0.015261131338775158, 0.09431705623865128, -0.007904631085693836, 0.004748067818582058, 0.014616835862398148, 0.026348769664764404, 0.0008979256963357329, -0.0028897100128233433, -0.03092614747583866, -0.01150114182382822, -0.05188976973295212, 0.033253300935029984, 0.009178795851767063, 0.0032383024226874113, 0.030272237956523895, 0.03071458823978901, -0.003560449695214629, -0.03246476128697395, 0.05296679958701134, -0.048774074763059616, 0.003050783649086952, 0.018973037600517273, -0.008140231482684612, -0.06854526698589325, 0.016040055081248283, 0.04461981728672981, 0.0655449703335762, -0.0767383873462677, 0.022290674969553947, 0.07319957762956619, -0.004361010156571865, -0.04108100384473801, -0.0017044962150976062, 0.04392743855714798, -0.0914706215262413, 0.0182037316262722, -0.03354179114103317, 0.025848720222711563, -0.017299795523285866, -0.044312093406915665, 0.07235334068536758, 0.057544175535440445, 0.001122707617469132, -0.09654805064201355, -0.04892793670296669, -0.001411197823472321, 0.0009994982974603772, 0.04704313352704048, -0.017511354759335518, 0.04031169414520264, -0.022867655381560326, 0.019146131351590157, -0.0840083435177803, -0.02171369455754757, -0.05527472123503685, 0.0555824413895607, -0.0900089368224144, -0.014924558810889721, 0.028368201106786728, 0.03402261063456535, -0.019684646278619766, -0.023906219750642776, -0.03421493619680405, 0.02906057797372341, -0.0064140986651182175, 0.007298801559954882, -0.07016081362962723, -0.0112511171028018, -0.011145337484776974, 0.032695554196834564, 0.06881452351808548, -0.022059883922338486, -0.012943592853844166, 0.021886788308620453, 0.026887286454439163, -0.019886590540409088, 0.004678349010646343, 0.04838941991329193, 0.009342273697257042, 0.004339373204857111, -0.0036445925943553448, 0.027098845690488815, -0.04942798614501953, 0.03525350242853165, -0.023079214617609978, -0.047504719346761703, -0.025329438969492912, 0.007784426677972078, -0.02590641938149929, 0.022636864334344864, -0.04931258782744408, -0.08577775210142136, -0.052274420857429504, 0.05427462235093117, 0.0017946494044736028, -0.027695057913661003, -0.01931922696530819, -0.06685279309749603, -0.021829091012477875, 0.05715952441096306, -0.05323605611920357, 0.03706137463450432, -0.015520771965384483, -0.017376726493239403, -0.02721424028277397, 0.0035267926286906004, 0.0018283065874129534, -0.034830380231142044, 0.0010650096228346229, -0.04815862700343132, -0.057313382625579834, 0.036330532282590866, -0.0036902702413499355, -0.035080406814813614, -0.05192823335528374, -0.009395163506269455, 0.02936830185353756, 0.00013553028111346066, 0.007063201628625393, -0.05685180053114891, 0.017290178686380386, -0.03350332751870155, -0.004382646642625332, 0.049081798642873764, -0.06604502350091934, -0.022386837750673294, -0.0016612226609140635, -0.06323704868555069, 0.03408030793070793, 0.02563716098666191, -0.025233274325728416, -0.023059982806444168, 0.0628523975610733, 0.06289085745811462, -0.017867159098386765, 0.01960771717131138, 0.02617567591369152, 0.03356102481484413, 0.020309709012508392, -0.03842689469456673, 0.010414496064186096, -0.027425801381468773, 0.018838409334421158, -0.022367605939507484, -0.02754119597375393, -0.0071305157616734505, -0.0041638752445578575, 0.017905624583363533, -0.0073661161586642265, 0.004586994182318449, 0.049081798642873764, 0.029772186651825905, 0.015991972759366035, 0.03817686811089516, 0.010279866866767406, -0.030579959973692894, 0.0015686653787270188, 0.025002483278512955, -0.006404482293874025, 0.009044167585670948, -0.04765857756137848, -0.0011305209482088685, 0.015809262171387672, -0.018174881115555763, -0.01533806137740612, 0.019982753321528435, -0.014712999574840069, -0.0022983052767813206, -0.02881055325269699, -0.06362169981002808, 0.023963918909430504, 0.08500844240188599, -0.04735085740685463, -0.03511887043714523, 0.003921062685549259, -0.05819808691740036, 0.02511787973344326, -0.0328686498105526, 0.004452365450561047, 0.05612095817923546, 0.01191464439034462, 0.08547002822160721, 0.08485458046197891, -0.0676221027970314, 0.05554397776722908, 0.004192723892629147, -0.03444572910666466, -0.003668633522465825, 0.029714489355683327, 0.02086745761334896, -0.10601052641868591, -0.03775374963879585, -0.04885100573301315, 0.015741948038339615, 0.0381576344370842, 0.02800278179347515, -0.002073523122817278, 0.017588285729289055, -0.09254765510559082, -0.020040452480316162, -0.008221969939768314, 0.02879132144153118, -0.06489106267690659, 0.03831149637699127, -0.016463173553347588, 0.05796729400753975, 0.05762110650539398, 0.012222367338836193, -0.029291370883584023, -0.018665315583348274, 0.07354576885700226, 0.031080009415745735, 0.02542560175061226, 0.011722317896783352, -0.027848919853568077, -0.001750173862092197, -0.038003772497177124, 0.026002582162618637, 0.017847925424575806, 0.02906057797372341, 0.014087937772274017, 0.015145734883844852, -0.006197731010615826, -0.019184596836566925, 0.007524785585701466, -0.02406008169054985, -0.06993002444505692, 0.04950491711497307, -0.0025170769076794386, -0.020290477201342583, 0.02142520435154438, 0.021771393716335297, -0.033445630222558975, 0.04688927158713341, -0.039542388170957565, 0.03283018246293068, -0.08154655992984772, -0.003281575860455632, -0.03384951502084732, 0.0115107586607337, 0.027445033192634583, -0.01908843405544758, 0.037157535552978516, 0.05085120350122452, -0.11647310853004456, 0.003997993189841509, 0.04738932102918625, -0.005385150201618671, 0.08346983045339584, 0.025233274325728416, -0.014616835862398148, -0.02827203832566738, -0.059929028153419495, 0.028156641870737076, 0.010799149051308632, 0.007813275791704655, 0.03592664375901222, -0.008702787570655346, -0.04338892549276352, 0.03890771046280861, -0.009212452918291092, -0.09708656370639801, 0.010039458982646465, -0.06731437891721725, -0.05104352906346321, -0.010799149051308632, 0.06685279309749603, -0.03288787975907326, 0.001741759479045868, -0.017559435218572617, -0.004103772807866335, -0.00901051051914692, 0.07731536775827408, -0.05896739289164543, 0.014761080965399742, -0.08308517187833786, -0.008529692888259888, -0.05846734344959259, 0.00980385858565569, 0.024233175441622734, -0.006048677489161491, -0.0073661161586642265, 0.007193021941930056, 0.005197631660848856, 0.03806147351861, -0.03913850337266922, 0.023175379261374474, -0.01984812505543232, -0.049581848084926605, -0.0046975817531347275, 0.05046654865145683, -0.007870974019169807, 0.0518513023853302, 0.061736900359392166, -0.045119866728782654, 0.06258314102888107, 0.03233013302087784, 0.0065198782831430435, -0.006861258298158646, -0.018165266141295433, 0.008938387967646122, 0.020521268248558044, -0.039042338728904724, 0.0007338469149544835, -0.023598497733473778, -0.057044126093387604, 0.0006001197034493089, 0.04473521187901497, -0.029541395604610443, 0.06550650298595428, 0.012030040845274925, -0.05327451974153519, -0.023752359673380852, 0.07062239944934845, -0.1003945842385292, -0.023367704823613167, -0.014732232317328453, -0.036118973046541214, 0.08146963268518448, 0.03438803181052208, 0.04465828090906143, -0.02596411667764187, 0.07758462429046631, 0.0030219347681850195, -0.06993002444505692, 0.01979042775928974, 0.043235063552856445, 0.016982456669211388, -0.01719401590526104, -0.0006605223170481622, 0.018165266141295433, -0.00003962983828387223, -0.019482703879475594, -0.015203433111310005, 0.026098744943737984, -0.027848919853568077, 0.00509185204282403, -0.0033681229688227177, -0.04238882660865784, -0.023406170308589935, -0.002103574341163039, -0.0059525142423808575, -0.012135820463299751, 0.05046654865145683, 0.003988376818597317, 0.06065987050533295, -0.03208011016249657, -0.03119540587067604, 0.015289979986846447, 0.031599290668964386, -0.03831149637699127, -0.04658154770731926, -0.020982852205634117, -0.006909340154379606, -0.04015783593058586, -0.04319659620523453, 0.02323307655751705, -0.01284743007272482, -0.007356499787420034, -0.010145238600671291, 0.004639883991330862, -0.047235459089279175, 0.017376726493239403, 0.02857976220548153, -0.06731437891721725, 0.021482903510332108, -0.010520275682210922, -0.01202042493969202, 0.021252110600471497, 0.034291867166757584, -0.03573431819677353, 0.06731437891721725, 0.02275225892663002, 0.017780611291527748, 0.0402347631752491, -0.01284743007272482, 0.0962403267621994, 0.01347249187529087, -0.02457936480641365, 0.013645585626363754, -0.027675826102495193, -0.03913850337266922, 0.023367704823613167, -0.0353688970208168, 0.009226878173649311, -0.0058755832724273205, -0.018328743055462837, -0.010289483703672886, 0.021771393716335297, 0.033253300935029984, 0.014770697802305222, 0.0001534106704639271, -0.03575355187058449, 0.035561222583055496, -0.020444337278604507, 0.029175974428653717, -0.010520275682210922, 0.07643066346645355, -0.02484862133860588, 0.07908477634191513, -0.00040598984924145043, 0.06239081174135208, -0.04204263538122177, 0.014386043883860111, 0.019751962274312973, -0.005279370583593845, 0.0005291991983540356, -0.018848026171326637, -0.055159322917461395, 0.05262061208486557, 0.005269754212349653, 0.004822594113647938, -0.04596610367298126, -0.01750173792243004, -0.014337962493300438, 0.023483101278543472, 0.04969724267721176, 0.028445132076740265, 0.00005814880205434747, -0.05581323429942131, -0.0429273396730423, -0.011847330257296562, -0.06392942368984222, -0.06300625950098038, -0.04531219229102135, 0.021367507055401802, 0.04923566058278084, -0.06650660187005997, -0.011414594948291779, -0.02113671414554119, 0.04173491522669792, 0.02879132144153118, 0.017328644171357155, -0.006015020422637463, 0.023733125999569893, -0.0038152828346937895, -0.008414297364652157, -0.01375136524438858, -0.01853068731725216, 0.008072917349636555, -0.04154258593916893, -0.00642371503636241, 0.05400536209344864, 0.03679211437702179, -0.037946075201034546, 0.010501042939722538, 0.019117282703518867, -0.006986270658671856, -0.006289086304605007, 0.02511787973344326, -0.014655301347374916, 0.043504320085048676, 0.04385050758719444, -0.04204263538122177, -0.045081399381160736, -0.00022613423061557114, -0.05800576135516167, -0.03013760782778263, 0.04758164659142494, 0.021059783175587654, 0.03227243572473526, 0.023656195029616356, 0.06319858133792877, -0.014857244677841663, -0.021636763587594032, -0.008145039901137352, -0.03673441708087921, -0.05608249083161354, 0.001408793730661273, -0.021502135321497917, 0.023867754265666008, 0.0021648784168064594, 0.08362369239330292, 0.05958284065127373, 0.034541890025138855, 0.016222765669226646, 0.019473087042570114, 0.008375831879675388, 0.0031301185954362154, 0.06481412798166275, 0.040888674557209015, 0.015559237450361252, -0.03965778276324272, 0.002025441499426961, 0.04954338073730469, 0.020059684291481972, -0.07485358417034149, -0.008164272643625736, 0.06212155520915985, 0.03996550664305687, 0.03415723890066147, 0.011366513557732105, -0.01455913856625557, 0.020521268248558044, -0.021829091012477875, 0.03550352528691292, 0.027464265003800392, 0.003053187858313322, 0.0011834107572212815 ]
719,801
ibm_platform_services.iam_policy_management_v1
replace_v2_policy
Update a policy. Update a policy to grant access between a subject and a resource. A policy administrator might want to update an existing policy. ### Access To update an access policy, use **`"type": "access"`** in the body. The supported subject attributes are **`iam_id`** and **`access_group_id`**. Use the **`iam_id`** subject attribute to assign access to a user or service-id. Use the **`access_group_id`** subject attribute to assign access to an access group. Assign roles that are supported by the service or platform roles. For more information, see [IAM roles and actions](/docs/account?topic=account-iam-service-roles-actions). Use only the resource attributes supported by the service. To view a service's or the platform's supported attributes, check the [documentation](/docs?tab=all-docs). The policy resource must include either the **`serviceType`**, **`serviceName`**, **`resourceGroupId`** or **`service_group_id`** attribute and the **`accountId`** attribute. In the rule field, you can specify a single condition by using **`key`**, **`value`**, and condition **`operator`**, or a set of **`conditions`** with a combination **`operator`**. The possible combination operators are **`and`** and **`or`**. Currently, we support two types of patterns: 1. `time-based`: Used to specify a time-based restriction Combine conditions to specify a time-based restriction (e.g., access only during business hours, during the Monday-Friday work week). For example, a policy can grant access Monday-Friday, 9:00am-5:00pm using the following rule: ```json "rule": { "operator": "and", "conditions": [{ "key": "{{environment.attributes.day_of_week}}", "operator": "dayOfWeekAnyOf", "value": ["1+00:00", "2+00:00", "3+00:00", "4+00:00", "5+00:00"] }, "key": "{{environment.attributes.current_time}}", "operator": "timeGreaterThanOrEquals", "value": "09:00:00+00:00" }, "key": "{{environment.attributes.current_time}}", "operator": "timeLessThanOrEquals", "value": "17:00:00+00:00" }] } ``` You can use the following operators in the **`key`** and **`value`** pair: ``` 'timeLessThan', 'timeLessThanOrEquals', 'timeGreaterThan', 'timeGreaterThanOrEquals', 'dateLessThan', 'dateLessThanOrEquals', 'dateGreaterThan', 'dateGreaterThanOrEquals', 'dateTimeLessThan', 'dateTimeLessThanOrEquals', 'dateTimeGreaterThan', 'dateTimeGreaterThanOrEquals', 'dayOfWeekEquals', 'dayOfWeekAnyOf' ``` The pattern field that matches the rule is required when rule is provided. For the business hour rule example above, the **`pattern`** is **`"time-based-conditions:weekly"`**. For more information, see [Time-based conditions operators](/docs/account?topic=account-iam-condition-properties&interface=ui#policy-condition-properties) and [Limiting access with time-based conditions](/docs/account?topic=account-iam-time-based&interface=ui). If the subject is a locked service-id, the request will fail. 2. `attribute-based`: Used to specify a combination of OR/AND based conditions applied on resource attributes. Combine conditions to specify an attribute-based condition using AND/OR-based operators. For example, a policy can grant access based on multiple conditions applied on the resource attributes below: ```json "pattern": "attribute-based-condition:resource:literal-and-wildcard" "rule": { "operator": "or", "conditions": [ { "operator": "and", "conditions": [ { "key": "{{resource.attributes.prefix}}", "operator": "stringEquals", "value": "home/test" }, { "key": "{{environment.attributes.delimiter}}", "operator": "stringEquals", "value": "/" } ] }, { "key": "{{resource.attributes.path}}", "operator": "stringMatch", "value": "home/David/*" } ] } ``` In addition to satisfying the `resources` section, the policy grants permission only if either the `path` begins with `home/David/` **OR** the `prefix` is `home/test` and the `delimiter` is `/`. This mechanism helps you consolidate multiple policies in to a single policy, making policies easier to administer and stay within the policy limit for an account. View the list of operators that can be used in the condition [here](/docs/account?topic=account-wildcard#string-comparisons). ### Authorization To update an authorization policy, use **`"type": "authorization"`** in the body. The subject attributes must match the supported authorization subjects of the resource. Multiple subject attributes might be provided. The following attributes are supported: serviceName, serviceInstance, region, resourceType, resource, accountId, resourceGroupId Assign roles that are supported by the service or platform roles. For more information, see [IAM roles and actions](/docs/account?topic=account-iam-service-roles-actions). The user must also have the same level of access or greater to the target resource in order to grant the role. Use only the resource attributes supported by the service. To view a service's or the platform's supported attributes, check the [documentation](/docs?tab=all-docs). Both the policy subject and the policy resource must include the **`accountId`** attributes. The policy subject must include either **`serviceName`** or **`resourceGroupId`** (or both) attributes. ### Attribute Operators Currently, only the `stringEquals`, `stringMatch`, and `stringEquals` operators are available. For more information, see [Assigning access by using wildcard policies](https://cloud.ibm.com/docs/account?topic=account-wildcard). ### Attribute Validations Policy attribute values must be between 1 and 1,000 characters in length. If location related attributes like geography, country, metro, region, satellite, and locationvalues are supported by the service, they are validated against Global Catalog locations. :param str id: The policy ID. :param str if_match: The revision number for updating a policy and must match the ETag value of the existing policy. The Etag can be retrieved using the GET /v2/policies/{id} API and looking at the ETag response header. :param Control control: Specifies the type of access granted by the policy. :param str type: The policy type; either 'access' or 'authorization'. :param str description: (optional) Description of the policy. :param V2PolicySubject subject: (optional) The subject attributes for whom the policy grants access. :param V2PolicyResource resource: (optional) The resource attributes to which the policy grants access. :param str pattern: (optional) Indicates pattern of rule, either 'time-based-conditions:once', 'time-based-conditions:weekly:all-day', or 'time-based-conditions:weekly:custom-hours'. :param V2PolicyRule rule: (optional) Additional access conditions associated with the policy. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse with `dict` result representing a `V2Policy` object
def replace_v2_policy( self, id: str, if_match: str, control: 'Control', type: str, *, description: Optional[str] = None, subject: Optional['V2PolicySubject'] = None, resource: Optional['V2PolicyResource'] = None, pattern: Optional[str] = None, rule: Optional['V2PolicyRule'] = None, **kwargs, ) -> DetailedResponse: """ Update a policy. Update a policy to grant access between a subject and a resource. A policy administrator might want to update an existing policy. ### Access To update an access policy, use **`"type": "access"`** in the body. The supported subject attributes are **`iam_id`** and **`access_group_id`**. Use the **`iam_id`** subject attribute to assign access to a user or service-id. Use the **`access_group_id`** subject attribute to assign access to an access group. Assign roles that are supported by the service or platform roles. For more information, see [IAM roles and actions](/docs/account?topic=account-iam-service-roles-actions). Use only the resource attributes supported by the service. To view a service's or the platform's supported attributes, check the [documentation](/docs?tab=all-docs). The policy resource must include either the **`serviceType`**, **`serviceName`**, **`resourceGroupId`** or **`service_group_id`** attribute and the **`accountId`** attribute. In the rule field, you can specify a single condition by using **`key`**, **`value`**, and condition **`operator`**, or a set of **`conditions`** with a combination **`operator`**. The possible combination operators are **`and`** and **`or`**. Currently, we support two types of patterns: 1. `time-based`: Used to specify a time-based restriction Combine conditions to specify a time-based restriction (e.g., access only during business hours, during the Monday-Friday work week). For example, a policy can grant access Monday-Friday, 9:00am-5:00pm using the following rule: ```json "rule": { "operator": "and", "conditions": [{ "key": "{{environment.attributes.day_of_week}}", "operator": "dayOfWeekAnyOf", "value": ["1+00:00", "2+00:00", "3+00:00", "4+00:00", "5+00:00"] }, "key": "{{environment.attributes.current_time}}", "operator": "timeGreaterThanOrEquals", "value": "09:00:00+00:00" }, "key": "{{environment.attributes.current_time}}", "operator": "timeLessThanOrEquals", "value": "17:00:00+00:00" }] } ``` You can use the following operators in the **`key`** and **`value`** pair: ``` 'timeLessThan', 'timeLessThanOrEquals', 'timeGreaterThan', 'timeGreaterThanOrEquals', 'dateLessThan', 'dateLessThanOrEquals', 'dateGreaterThan', 'dateGreaterThanOrEquals', 'dateTimeLessThan', 'dateTimeLessThanOrEquals', 'dateTimeGreaterThan', 'dateTimeGreaterThanOrEquals', 'dayOfWeekEquals', 'dayOfWeekAnyOf' ``` The pattern field that matches the rule is required when rule is provided. For the business hour rule example above, the **`pattern`** is **`"time-based-conditions:weekly"`**. For more information, see [Time-based conditions operators](/docs/account?topic=account-iam-condition-properties&interface=ui#policy-condition-properties) and [Limiting access with time-based conditions](/docs/account?topic=account-iam-time-based&interface=ui). If the subject is a locked service-id, the request will fail. 2. `attribute-based`: Used to specify a combination of OR/AND based conditions applied on resource attributes. Combine conditions to specify an attribute-based condition using AND/OR-based operators. For example, a policy can grant access based on multiple conditions applied on the resource attributes below: ```json "pattern": "attribute-based-condition:resource:literal-and-wildcard" "rule": { "operator": "or", "conditions": [ { "operator": "and", "conditions": [ { "key": "{{resource.attributes.prefix}}", "operator": "stringEquals", "value": "home/test" }, { "key": "{{environment.attributes.delimiter}}", "operator": "stringEquals", "value": "/" } ] }, { "key": "{{resource.attributes.path}}", "operator": "stringMatch", "value": "home/David/*" } ] } ``` In addition to satisfying the `resources` section, the policy grants permission only if either the `path` begins with `home/David/` **OR** the `prefix` is `home/test` and the `delimiter` is `/`. This mechanism helps you consolidate multiple policies in to a single policy, making policies easier to administer and stay within the policy limit for an account. View the list of operators that can be used in the condition [here](/docs/account?topic=account-wildcard#string-comparisons). ### Authorization To update an authorization policy, use **`"type": "authorization"`** in the body. The subject attributes must match the supported authorization subjects of the resource. Multiple subject attributes might be provided. The following attributes are supported: serviceName, serviceInstance, region, resourceType, resource, accountId, resourceGroupId Assign roles that are supported by the service or platform roles. For more information, see [IAM roles and actions](/docs/account?topic=account-iam-service-roles-actions). The user must also have the same level of access or greater to the target resource in order to grant the role. Use only the resource attributes supported by the service. To view a service's or the platform's supported attributes, check the [documentation](/docs?tab=all-docs). Both the policy subject and the policy resource must include the **`accountId`** attributes. The policy subject must include either **`serviceName`** or **`resourceGroupId`** (or both) attributes. ### Attribute Operators Currently, only the `stringEquals`, `stringMatch`, and `stringEquals` operators are available. For more information, see [Assigning access by using wildcard policies](https://cloud.ibm.com/docs/account?topic=account-wildcard). ### Attribute Validations Policy attribute values must be between 1 and 1,000 characters in length. If location related attributes like geography, country, metro, region, satellite, and locationvalues are supported by the service, they are validated against Global Catalog locations. :param str id: The policy ID. :param str if_match: The revision number for updating a policy and must match the ETag value of the existing policy. The Etag can be retrieved using the GET /v2/policies/{id} API and looking at the ETag response header. :param Control control: Specifies the type of access granted by the policy. :param str type: The policy type; either 'access' or 'authorization'. :param str description: (optional) Description of the policy. :param V2PolicySubject subject: (optional) The subject attributes for whom the policy grants access. :param V2PolicyResource resource: (optional) The resource attributes to which the policy grants access. :param str pattern: (optional) Indicates pattern of rule, either 'time-based-conditions:once', 'time-based-conditions:weekly:all-day', or 'time-based-conditions:weekly:custom-hours'. :param V2PolicyRule rule: (optional) Additional access conditions associated with the policy. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse with `dict` result representing a `V2Policy` object ""
(self, id: str, if_match: str, control: ibm_platform_services.iam_policy_management_v1.Control, type: str, *, description: Optional[str] = None, subject: Optional[ibm_platform_services.iam_policy_management_v1.V2PolicySubject] = None, resource: Optional[ibm_platform_services.iam_policy_management_v1.V2PolicyResource] = None, pattern: Optional[str] = None, rule: Optional[ibm_platform_services.iam_policy_management_v1.V2PolicyRule] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
[ 0.034669529646635056, -0.0034628671128302813, -0.0232696495950222, -0.041493114084005356, 0.029684636741876602, -0.05687682703137398, 0.0033785938285291195, -0.035772744566202164, -0.045722104609012604, 0.018958942964673042, -0.0007974043255671859, 0.030031945556402206, 0.005041076336055994, 0.0016573751345276833, -0.04294363781809807, 0.019244961440563202, 0.03558887541294098, 0.010562255047261715, -0.011747188866138458, -0.06647887825965881, 0.023167500272393227, -0.008034056052565575, 0.00007748995267320424, 0.004836777690798044, 0.04837799072265625, -0.005184085574001074, 0.008457976393401623, -0.01953097991645336, -0.0014326462987810373, -0.0005592683446593583, -0.023616958409547806, 0.009137270040810108, 0.014913822524249554, 0.020337959751486778, 0.026906171813607216, -0.04014474153518677, -0.012758469209074974, 0.02351480908691883, -0.07305730134248734, 0.0373254157602787, -0.03299427777528763, 0.02165568806231022, -0.045681245625019073, -0.03505769744515419, -0.011379451490938663, 0.045395225286483765, 0.002377528930082917, 0.051687631756067276, 0.058797236531972885, -0.05450695753097534, 0.01656864397227764, -0.0031794023234397173, -0.01684444770216942, 0.009479471482336521, 0.01989871636033058, 0.016834232956171036, -0.02868357114493847, 0.05401664227247238, 0.06758209317922592, -0.0477650947868824, 0.024801891297101974, -0.01865249313414097, -0.08662275224924088, 0.0008835929329507053, -0.01639498956501484, -0.04886830598115921, -0.011369235813617706, -0.03135988861322403, -0.03152332827448845, -0.014975112862884998, -0.06325095146894455, -0.03350502625107765, -0.0014237082796171308, -0.0022919788025319576, -0.009116840548813343, -0.01665036380290985, 0.02807067520916462, -0.046212419867515564, 0.0311147291213274, 0.007038098759949207, 0.04045119136571884, -0.04396513104438782, 0.02474060282111168, -0.03605876490473747, -0.006624393165111542, 0.04102322831749916, 0.009469255805015564, -0.09561190754175186, -0.02864271216094494, -0.029010450467467308, -0.013003627769649029, -0.02721261978149414, -0.03489426150918007, 0.009091302752494812, 0.05438438057899475, 0.006741865072399378, -0.021390099078416824, -0.10296666622161865, 0.0030006407760083675, 0.03658993914723396, -0.03585446625947952, -0.006757187657058239, -0.001067462028004229, 0.0155573645606637, 0.0947129875421524, -0.03468995913863182, -0.04682531952857971, 0.060390766710042953, -0.007875724695622921, -0.03785659372806549, 0.034587811678647995, 0.011450955644249916, -0.016088541597127914, -0.03321900963783264, 0.03951141610741615, 0.06006389111280441, -0.026109404861927032, -0.030563121661543846, 0.017201971262693405, 0.010077045299112797, -0.0004485000390559435, -0.03473082184791565, 0.029357757419347763, 0.01714068092405796, 0.0349351204931736, -0.0003693341859616339, -0.06267891824245453, -0.023862116038799286, -0.016292840242385864, 0.015925101935863495, -0.08588727563619614, -0.02737605944275856, -0.028663141652941704, 0.04948120564222336, -0.045844681560993195, -0.05131989344954491, 0.045476943254470825, 0.03201364353299141, -0.018938511610031128, 0.02770293690264225, 0.010500965639948845, 0.03352545574307442, -0.025292208418250084, -0.03965442627668381, -0.03242224082350731, -0.07334332168102264, 0.04829626902937889, 0.045395225286483765, 0.02766207791864872, -0.021594397723674774, 0.0009691431187093258, -0.01594553329050541, -0.011808479204773903, 0.03605876490473747, 0.029276039451360703, -0.02124709077179432, 0.005679510533809662, -0.08135183900594711, -0.01882614754140377, -0.04310707747936249, -0.003914878703653812, -0.03201364353299141, -0.011553104966878891, -0.0054701040498912334, 0.0558144710958004, -0.011593964882194996, 0.03082871064543724, 0.019837427884340286, 0.017487989738583565, -0.01417834684252739, -0.005975744221359491, -0.006236225366592407, -0.005664188414812088, 0.001303682685829699, -0.029868505895137787, 0.07375191897153854, 0.03624263405799866, -0.022677183151245117, 0.007553953677415848, -0.03391362354159355, 0.03185020387172699, -0.006874659564346075, -0.029398618265986443, 0.02055247314274311, -0.017600353807210922, -0.012257936410605907, -0.003940416034311056, 0.052995145320892334, -0.019960006698966026, 0.052423108369112015, -0.029623346403241158, -0.044455450028181076, 0.03078785166144371, 0.0024579716846346855, -0.02128794975578785, -0.03095128946006298, 0.038489922881126404, -0.008948293514549732, 0.05401664227247238, 0.02185998670756817, 0.0026712086983025074, -0.02384168654680252, -0.0035088344011455774, 0.05401664227247238, 0.02868357114493847, 0.03144160658121109, 0.04306621849536896, 0.038285620510578156, -0.00545478193089366, -0.05095215514302254, -0.058020900934934616, 0.035568445920944214, 0.006563103757798672, -0.01368802972137928, -0.006026818882673979, 0.0465392991900444, -0.02116537094116211, 0.01368802972137928, 0.0053373100236058235, 0.012033208273351192, -0.01222729217261076, -0.008274107240140438, -0.0549972765147686, -0.03683510050177574, 0.05561017245054245, 0.020899781957268715, 0.03387276455760002, 0.0279072355479002, -0.05046183988451958, 0.022146005183458328, 0.05740800499916077, 0.04666187986731529, 0.0947129875421524, -0.020940640941262245, 0.002809110563248396, -0.011502030305564404, -0.023821257054805756, 0.014576729387044907, -0.03883722797036171, 0.051728494465351105, 0.010010648518800735, -0.014423505403101444, 0.016384774819016457, 0.006869552191346884, -0.07330246269702911, 0.021104080602526665, -0.037182409316301346, -0.0026124727446585894, 0.07236268371343613, -0.06382299214601517, -0.0076101357117295265, -0.004788256715983152, -0.07673468440771103, 0.007513093762099743, -0.05528329312801361, 0.000008928102943173144, 0.0325448215007782, -0.06856272369623184, 0.06128968298435211, -0.0048418850637972355, -0.012615459971129894, 0.03481253981590271, -0.05642736703157425, -0.052586548030376434, -0.007804219610989094, -0.05532415583729744, 0.00265588634647429, 0.05091129615902901, 0.03375018388032913, 0.003087467746809125, 0.014546085149049759, 0.005802089814096689, -0.018151961266994476, 0.004060441628098488, -0.02096107229590416, 0.012921907939016819, 0.03644693270325661, 0.03321900963783264, 0.011971917934715748, -0.051279034465551376, 0.05708112567663193, 0.05720370262861252, 0.005546716507524252, 0.03352545574307442, 0.001156842801719904, 0.007242397405207157, -0.030317964032292366, 0.052382249385118484, -0.016466494649648666, 0.0033785938285291195, -0.010664405301213264, 0.02014387585222721, -0.0032151546329259872, -0.022166434675455093, 0.01681380346417427, 0.0746508315205574, -0.011318161152303219, -0.08028948307037354, 0.06063592806458473, -0.0014952128985896707, -0.004831669852137566, 0.04919518530368805, 0.07734758406877518, -0.04809197038412094, -0.01401490718126297, -0.01660950481891632, 0.06149398162961006, -0.003051715437322855, 0.027151329442858696, 0.022043855860829353, 0.005010431632399559, -0.027805086225271225, -0.05691768601536751, -0.006951271556317806, 0.024801891297101974, 0.0328921303153038, 0.007247505243867636, 0.01738584041595459, 0.044700607657432556, 0.014586945064365864, -0.018805718049407005, 0.02856099233031273, 0.02984807640314102, -0.0356910265982151, 0.008039163425564766, -0.09005497395992279, 0.03152332827448845, 0.01578209362924099, 0.020940640941262245, -0.021962136030197144, -0.016864877194166183, 0.007441589143127203, -0.00581741239875555, -0.0003955099964514375, -0.014219206757843494, 0.016599290072917938, 0.011287516914308071, -0.030481401830911636, -0.0013713566586375237, 0.0417587049305439, 0.02482232265174389, 0.041452255100011826, 0.058960676193237305, 0.006798047572374344, -0.02684488147497177, -0.04666187986731529, 0.04200386255979538, 0.021900847554206848, 0.009280279278755188, 0.003044054377824068, -0.035241566598415375, 0.014842318370938301, 0.05569189414381981, 0.01636434532701969, 0.03673294931650162, -0.07526373118162155, 0.0017837851773947477, 0.01344287022948265, -0.02116537094116211, -0.02013366110622883, 0.034383513033390045, -0.03309642896056175, -0.017559494823217392, 0.005914454348385334, -0.0020455431658774614, -0.00902490597218275, 0.015301991254091263, -0.00407065637409687, -0.03348459675908089, -0.06582511961460114, -0.013289646245539188, -0.04212644323706627, 0.006072786170989275, -0.04363825544714928, 0.009234311990439892, 0.03526199609041214, -0.01669122464954853, 0.0279072355479002, -0.04895002767443657, 0.020113231614232063, 0.06504878401756287, 0.022493313997983932, -0.02425028383731842, 0.01372888870537281, 0.020205166190862656, 0.01438264548778534, -0.022738471627235413, -0.025496508926153183, -0.00294956611469388, 0.019694417715072632, 0.026701871305704117, -0.0042826165445148945, 0.02827497385442257, -0.04801025241613388, 0.015894457697868347, 0.03238138183951378, -0.07015625387430191, 0.02185998670756817, 0.027396488934755325, -0.03395448625087738, -0.0068389070220291615, 0.031462036073207855, 0.029357757419347763, -0.012748254463076591, -0.0028014492709189653, -0.05430265888571739, 0.07285300642251968, 0.052423108369112015, -0.06602942198514938, 0.02445458434522152, -0.05699940398335457, -0.0242911446839571, -0.051483333110809326, 0.001144712558016181, 0.044005993753671646, -0.0041881282813847065, 0.09454955160617828, 0.050788719207048416, -0.045395225286483765, 0.05687682703137398, 0.03587489575147629, -0.017253044992685318, 0.04047162085771561, -0.005562038626521826, -0.0023813594598323107, -0.03086956962943077, -0.022718042135238647, 0.009060658514499664, -0.011328376829624176, -0.01852991431951523, 0.031216878443956375, 0.03585446625947952, -0.030113663524389267, -0.04935862496495247, -0.008202603086829185, -0.004806132521480322, 0.005791875068098307, 0.0032662292942404747, 0.04396513104438782, 0.0001217015233123675, 0.05610049143433571, 0.008703134953975677, -0.025659946724772453, 0.008887004107236862, -0.03910281881690025, 0.028949160128831863, -0.022248154506087303, -0.007237290032207966, 0.011614395305514336, -0.01263588946312666, 0.01984764263033867, 0.041615694761276245, 0.045640382915735245, 0.03761143609881401, -0.041370537132024765, -0.008177065290510654, 0.034669529646635056, -0.006583533715456724, -0.044945769011974335, -0.06051334738731384, -0.022043855860829353, -0.013187496922910213, 0.004394981078803539, 0.026987889781594276, -0.0107461242005229, -0.009505008347332478, 0.053199443966150284, -0.0025294763036072254, -0.010838058777153492, 0.038203902542591095, -0.0433930940926075, -0.06014560908079147, -0.02055247314274311, 0.04751993343234062, 0.04090064764022827, 0.019204100593924522, 0.05524243414402008, -0.011021927930414677, -0.00814131274819374, 0.059491854161024094, 0.05356718227267265, -0.003087467746809125, -0.024188995361328125, 0.001663759583607316, -0.014168132096529007, -0.11220098286867142, -0.002496277680620551, -0.012441805563867092, -0.04000173509120941, 0.022963201627135277, -0.0059348843060433865, -0.02132881060242653, 0.022329874336719513, 0.009326246567070484, -0.03274912014603615, 0.004867422394454479, -0.011205797083675861, -0.011328376829624176, 0.015301991254091263, -0.006644823122769594, -0.012247721664607525, -0.0242911446839571, -0.030726561322808266, -0.010214947164058685, 0.05422094091773033, 0.01874442771077156, -0.030440542846918106, -0.051565054804086685, 0.044455450028181076, 0.02798895537853241, 0.0014505224535241723, 0.02124709077179432, 0.04751993343234062, -0.020092802122235298, -0.020654622465372086, 0.039593134075403214, 0.044496309012174606, 0.06202515959739685, -0.052382249385118484, -0.04731563478708267, 0.0065477811731398106, -0.08621415495872498, 0.0060523562133312225, -0.026129834353923798, 0.024638453498482704, -0.010199625045061111, -0.04944034293293953, -0.11105690896511078, 0.06043162941932678, -0.041288815438747406, 0.01076655462384224, 0.02128794975578785, -0.011113862507045269, -0.03769315406680107, 0.0011185366893187165, 0.06517136096954346, -0.03951141610741615, -0.04764251410961151, -0.06778638809919357, 0.02335136942565441, -0.0047167520970106125, 0.026824451982975006, -0.06974765658378601, -0.005618221126496792, -0.019714849069714546, 0.03209536522626877, -0.05495641753077507, -0.017079392448067665, -0.021267520263791084, -0.03871465101838112, 0.02486318163573742, -0.04322965815663338, 0.04968550428748131, 0.01368802972137928, -0.03589532524347305, 0.016456279903650284, 0.06402728706598282, -0.03366846591234207, -0.004486915655434132, 0.04707047715783119, -0.035568445920944214, -0.021308379247784615, 0.013044487684965134, -0.015404140576720238, 0.0014083858113735914, -0.0012775068171322346, 0.037182409316301346, 0.035772744566202164, -0.02896958962082863, 0.027314769104123116, 0.019694417715072632, 0.001032348140142858, 0.045272644609212875, -0.06096280366182327, -0.07771531492471695, -0.028887871652841568, 0.013555235229432583, -0.013146637007594109, -0.007921691983938217, 0.07285300642251968, 0.026783591136336327, 0.02762121707201004, 0.031380318105220795, -0.06194344162940979, -0.0067674024030566216, 0.025843815878033638, 0.031911496073007584, 0.11661383509635925, 0.02104279212653637, 0.05516071617603302, -0.08118840306997299, 0.04845970869064331, 0.014352001249790192, -0.03928668797016144, -0.01989871636033058, 0.07031969726085663, 0.012840189039707184, -0.03654908016324043, 0.007380299270153046, 0.044741470366716385, -0.010296666994690895, 0.03209536522626877, 0.00996468123048544, 0.015107907354831696, 0.02047075517475605, 0.01635413058102131, 0.014801458455622196, -0.05405750125646591, -0.017447130754590034, -0.04200386255979538, 0.033811476081609726, 0.013034272938966751, 0.03967485576868057, -0.04081892967224121, 0.044782329350709915, 0.013207926414906979, -0.06504878401756287, 0.06737779080867767, 0.016384774819016457, -0.06582511961460114, -0.03654908016324043, 0.03685552999377251, -0.022554604336619377, 0.0184584092348814, -0.041656553745269775, 0.01549607515335083, -0.01103214267641306, -0.07881852984428406, -0.017457345500588417, -0.01151224598288536, 0.0042519718408584595, 0.014729954302310944, -0.013299860991537571, -0.029827645048499107, 0.00691551947966218, 0.041247956454753876, 0.0039991517551243305, 0.01767185889184475, 0.038530781865119934, 0.015393925830721855, 0.01183912344276905, -0.013054702430963516, 0.03201364353299141, 0.036099623888731, -0.00879506953060627, 0.09765489399433136, -0.037917885929346085, -0.03605876490473747, 0.02721261978149414, -0.001622899784706533, -0.044496309012174606, 0.05266826972365379, -0.01631327159702778, 0.029664207249879837, 0.005766337737441063, -0.01972506381571293, 0.012819758616387844, -0.018192820250988007, -0.026456713676452637, -0.004803578834980726, -0.019081521779298782, -0.028254544362425804, 0.029827645048499107, 0.02384168654680252, -0.00705852871760726, -0.0012870833743363619, 0.034424372017383575, -0.04212644323706627, 0.01911216601729393, 0.06030904874205589, 0.059042394161224365, -0.011062787845730782, 0.05565103143453598, 0.06705091148614883, 0.027192190289497375, -0.04106408730149269, 0.03372975438833237, -0.059083253145217896, 0.0035216030664741993, -0.0011517353123053908, 0.05577361211180687, -0.04006302356719971, 0.014413290657103062, -0.0847432017326355, 0.011461170390248299, 0.013718673959374428, 0.025128770619630814, -0.010592900216579437, -0.08940121531486511, -0.0562230683863163, -0.0289287306368351, -0.045803822576999664, -0.01964334398508072, -0.014198776334524155, 0.04233074188232422, -0.03583403304219246, -0.03501683846116066, 0.02371910773217678, 0.009755274280905724, 0.04841884970664978, -0.015015972778201103, -0.019336896017193794, 0.022125575691461563, -0.05695854499936104, 0.006200472824275494, 0.03328029811382294, -0.007022776175290346, -0.06758209317922592, 0.06803154945373535, -0.06088108569383621, -0.019663773477077484, 0.07101431488990784, 0.02380082756280899, -0.07011539489030838, 0.04870487004518509, 0.012533740140497684, -0.11710415780544281, 0.002796341897919774, 0.020327745005488396, 0.007104496005922556, -0.01183912344276905, 0.001186210778541863, -0.01833583042025566, -0.07530459016561508, -0.01590467244386673, 0.015424570068717003, -0.031707197427749634, 0.04347481578588486, -0.013095562346279621, 0.0032560143154114485, -0.007998303510248661, 0.04367911443114281, -0.039143677800893784, -0.045844681560993195, 0.04988980293273926, -0.015679944306612015, -0.00603192625567317, -0.03468995913863182, 0.004479254130274057, 0.05266826972365379, 0.05793917924165726, 0.06214774027466774, -0.015965962782502174, -0.03301471099257469, -0.01547564473003149, 0.005153440870344639, -0.034506089985370636, -0.02153310924768448, 0.026231983676552773, 0.014576729387044907, 0.010735909454524517, -0.017447130754590034, 0.00037859147414565086, -0.012554170563817024, -0.00490062078461051, -0.007267934735864401, 0.016384774819016457, 0.07963573187589645, -0.016251981258392334, 0.04764251410961151, -0.041656553745269775, 0.052055370062589645, 0.03095128946006298, 0.012860618531703949, 0.029153458774089813, -0.01243159081786871, -0.015363280661404133, 0.009361999109387398 ]
719,809
ibm_platform_services.iam_policy_management_v1
update_policy_assignment
Update a policy authorization type assignment. Update a policy assignment by providing a policy assignment ID. :param str assignment_id: The policy template assignment ID. :param str version: specify version of response body format. :param str if_match: The revision number for updating a policy assignment and must match the ETag value of the existing policy assignment. The Etag can be retrieved using the GET /v1/policy_assignments/{assignment_id} API and looking at the ETag response header. :param str template_version: The policy template version to update to. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse with `dict` result representing a `PolicyAssignmentV1` object
def update_policy_assignment( self, assignment_id: str, version: str, if_match: str, template_version: str, **kwargs, ) -> DetailedResponse: """ Update a policy authorization type assignment. Update a policy assignment by providing a policy assignment ID. :param str assignment_id: The policy template assignment ID. :param str version: specify version of response body format. :param str if_match: The revision number for updating a policy assignment and must match the ETag value of the existing policy assignment. The Etag can be retrieved using the GET /v1/policy_assignments/{assignment_id} API and looking at the ETag response header. :param str template_version: The policy template version to update to. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse with `dict` result representing a `PolicyAssignmentV1` object """ if not assignment_id: raise ValueError('assignment_id must be provided') if not version: raise ValueError('version must be provided') if not if_match: raise ValueError('if_match must be provided') if template_version is None: raise ValueError('template_version must be provided') headers = { 'If-Match': if_match, } sdk_headers = get_sdk_headers( service_name=self.DEFAULT_SERVICE_NAME, service_version='V1', operation_id='update_policy_assignment', ) headers.update(sdk_headers) params = { 'version': version, } data = { 'template_version': template_version, } data = {k: v for (k, v) in data.items() if v is not None} data = json.dumps(data) headers['content-type'] = 'application/json' if 'headers' in kwargs: headers.update(kwargs.get('headers')) del kwargs['headers'] headers['Accept'] = 'application/json' path_param_keys = ['assignment_id'] path_param_values = self.encode_path_vars(assignment_id) path_param_dict = dict(zip(path_param_keys, path_param_values)) url = '/v1/policy_assignments/{assignment_id}'.format(**path_param_dict) request = self.prepare_request( method='PATCH', url=url, headers=headers, params=params, data=data, ) response = self.send(request, **kwargs) return response
(self, assignment_id: str, version: str, if_match: str, template_version: str, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
[ 0.026258109137415886, 0.02440587617456913, -0.06809675693511963, -0.04194759950041771, 0.028419045731425285, -0.016869835555553436, -0.0461968369781971, -0.014599944464862347, -0.029072774574160576, -0.010913640260696411, 0.009361034259200096, -0.05222567170858383, 0.005906258709728718, 0.015171957202255726, -0.020701413974165916, -0.028074022382497787, 0.022698918357491493, -0.0007433895952999592, 0.014091488905251026, -0.05662018060684204, 0.03061630204319954, 0.0007723306771367788, 0.004212919156998396, 0.06562711298465729, 0.010505059733986855, -0.03651801869273186, 0.07474299520254135, -0.015843845903873444, 0.015117479488253593, 0.032504852861166, 0.0009845655877143145, 0.04071278125047684, -0.02051982283592224, 0.07612309604883194, 0.017750553786754608, -0.023715829476714134, -0.02823745459318161, 0.019375797361135483, -0.1075747162103653, 0.011903312988579273, -0.02600388042628765, 0.0469232052564621, -0.010014763101935387, -0.01682443916797638, -0.02838272787630558, 0.04274660348892212, -0.0015616855816915631, -0.006655322853475809, 0.06337538361549377, -0.02028375305235386, 0.02687552012503147, -0.009769614785909653, -0.01252980250865221, 0.02115539275109768, -0.02231757715344429, 0.07786636799573898, 0.024932492524385452, 0.014000693336129189, 0.02244468964636326, -0.047758523374795914, -0.0007331750821322203, -0.016270585358142853, -0.07612309604883194, -0.0339212641119957, -0.03944164142012596, -0.033394649624824524, -0.02231757715344429, -0.0037294323556125164, -0.014164125546813011, -0.008189769461750984, -0.05415054038167, 0.009706057608127594, -0.028346410021185875, -0.04318242147564888, 0.030743414536118507, 0.05178985372185707, -0.03410285338759422, -0.018958136439323425, 0.03762572631239891, -0.011067993007600307, 0.01393713615834713, -0.031651370227336884, 0.02268075942993164, -0.024950651451945305, 0.021355142816901207, -0.011186026968061924, -0.02202703058719635, -0.055857498198747635, -0.028909342363476753, -0.007876524701714516, 0.027710840106010437, 0.008693685755133629, -0.006378395948559046, -0.004167521372437477, 0.05040975660085678, 0.01123142521828413, 0.011004435829818249, -0.10307125002145767, -0.03995009511709213, 0.03406653553247452, -0.04499833658337593, -0.018231771886348724, -0.015335389412939548, -0.008294184692203999, 0.049647074192762375, -0.07347185909748077, 0.008171610534191132, 0.03357623890042305, 0.007032124791294336, -0.06526392698287964, 0.04826698079705238, 0.002344798296689987, -0.04626947641372681, 0.002424244536086917, 0.04310978576540947, 0.028146658092737198, -0.05967091768980026, -0.09043248742818832, 0.0368267260491848, -0.005216211546212435, 0.0031142916996032, -0.012656916864216328, 0.010886400938034058, 0.0642833337187767, 0.049719709903001785, -0.008294184692203999, -0.06072414666414261, -0.04064014181494713, -0.007009426131844521, -0.05959828197956085, -0.015317230485379696, -0.0022017951123416424, -0.05353312939405441, 0.009197602048516273, -0.02722054347395897, -0.021990712732076645, -0.022499168291687965, 0.017995702102780342, 0.0058563207276165485, -0.036372747272253036, 0.021355142816901207, -0.004560212604701519, 0.02535015158355236, -0.007027585059404373, -0.026330744847655296, -0.043436650186777115, 0.04968339204788208, 0.04576101899147034, -0.007590518333017826, -0.00021322796237654984, -0.0011621846351772547, 0.00045880189281888306, 0.0012427658075466752, 0.005656570661813021, -0.030943166464567184, -0.00025593029567971826, 0.004496655892580748, -0.05603909119963646, 0.037807319313287735, -0.03762572631239891, -0.0030507345218211412, -0.049283891916275024, 0.029871776700019836, 0.029726503416895866, 0.08033601194620132, -0.03633642941713333, -0.00554307596758008, -0.024206126108765602, 0.009324715472757816, -0.043327696621418, 0.007890144363045692, 0.02462378703057766, -0.015762129798531532, -0.021137231960892677, -0.024206126108765602, 0.030779734253883362, 0.037662044167518616, -0.00023223830794449896, 0.03235957771539688, 0.019593706354498863, 0.022717077285051346, -0.025440948083996773, -0.03186928108334541, 0.05164457857608795, 0.019521070644259453, 0.02246285043656826, -0.010459661483764648, 0.08839866518974304, -0.02426060475409031, 0.0016978790517896414, 0.01769607700407505, -0.10554089397192001, 0.024206126108765602, 0.006891391705721617, -0.0009522196487523615, -0.035991404205560684, 0.03842473030090332, -0.0526978075504303, 0.031596895307302475, 0.02959938906133175, 0.01501760445535183, -0.08571111410856247, 0.01819545216858387, 0.06849625706672668, 0.010632173158228397, 0.05215303599834442, 0.09580759704113007, -0.02246285043656826, 0.0024764519184827805, -0.031778484582901, -0.013011019676923752, 0.01950290985405445, 0.00029735584394074976, 0.0021393729839473963, -0.038243137300014496, 0.01682443916797638, 0.0256406981498003, -0.03666329383850098, 0.016561130061745644, -0.019593706354498863, -0.09406431764364243, 0.04158441722393036, -0.03214166685938835, -0.009760535322129726, 0.040967006236314774, -0.03675409033894539, -0.0010696864919736981, 0.043146103620529175, -0.07568727433681488, 0.047758523374795914, 0.06159578636288643, 0.04103964567184448, 0.07990019023418427, -0.0053297062404453754, 0.004957443568855524, -0.022117825224995613, -0.06813307106494904, -0.0003180686035193503, -0.06021568924188614, 0.03343096747994423, 0.0296175479888916, 0.009197602048516273, 0.038896866142749786, 0.022353895008563995, -0.056947045028209686, -0.0054341210052371025, -0.05298835411667824, 0.008725464344024658, 0.049065981060266495, -0.06232215091586113, 0.010241751559078693, -0.032686442136764526, -0.07274549454450607, 0.028709592297673225, -0.02195439301431179, 0.044526197016239166, 0.008571111597120762, -0.02289866842329502, 0.05335153639316559, -0.016788119450211525, -0.020483503118157387, 0.013101816177368164, -0.038388412445783615, -0.06417438387870789, -0.008503015153110027, -0.07881064713001251, -0.02001136727631092, 0.04140282794833183, 0.032976988703012466, 0.02692999690771103, 0.03878791257739067, 0.0069867270067334175, 0.04492570087313652, 0.011603686958551407, -0.0037339720875024796, 0.0069140903651714325, 0.038824230432510376, 0.037662044167518616, 0.012302814051508904, -0.02462378703057766, 0.06809675693511963, -0.01199410855770111, 0.03186928108334541, 0.06678929924964905, 0.015916481614112854, 0.036300111562013626, -0.026548655703663826, 0.07053007930517197, 0.039695870131254196, 0.0008886626455932856, -0.006732499226927757, 0.06526392698287964, -0.016252426430583, 0.0033821389079093933, -0.038243137300014496, 0.06678929924964905, -0.00689593143761158, -0.017587121576070786, 0.06613557040691376, 0.01647033542394638, 0.031960077583789825, 0.010822844691574574, 0.033467285335063934, -0.04009537026286125, -0.009143124334514141, 0.0035818894393742085, 0.0389695018529892, 0.04521624371409416, -0.00769039336591959, 0.01812281645834446, 0.027765316888689995, -0.004510275088250637, -0.047758523374795914, 0.027856113389134407, 0.019448433071374893, 0.017659759148955345, 0.013156292960047722, 0.010568615980446339, 0.038315773010253906, 0.0048893471248447895, -0.04681424796581268, 0.025749653577804565, 0.06108732894062996, 0.032232463359832764, -0.0022687569726258516, -0.06123260408639908, 0.05277044698596001, 0.04194759950041771, 0.031306348741054535, 0.01783226989209652, -0.05316994711756706, 0.02823745459318161, -0.003761210711672902, -0.009833171032369137, 0.017723316326737404, 0.012611518613994122, 0.015516980551183224, -0.014563625678420067, 0.021627528592944145, 0.038025226444005966, 0.016851676627993584, -0.0014061980182304978, 0.06551815569400787, 0.021845439448952675, -0.05353312939405441, -0.016088994219899178, -0.014572706073522568, 0.03820681944489479, -0.006510050036013126, -0.028128499165177345, -0.07684946060180664, 0.03553742542862892, 0.03388494625687599, -0.0032822636421769857, 0.0162433460354805, -0.03580981492996216, 0.04281923919916153, -0.0006276250933296978, -0.03651801869273186, -0.004094884730875492, -0.033267535269260406, -0.02910909242928028, -0.007921922951936722, 0.0033231216948479414, -0.03272275999188423, -0.019230524078011513, -0.011721721850335598, 0.0029758282471448183, -0.02967202663421631, -0.038243137300014496, -0.02600388042628765, -0.023352647200226784, -0.004013168625533581, -0.05375104025006294, -0.019030774012207985, 0.04470779001712799, -0.0794643759727478, 0.052116718143224716, -0.02202703058719635, -0.0577823668718338, 0.0685688927769661, -0.05222567170858383, -0.03820681944489479, 0.02729317918419838, -0.02202703058719635, -0.0009045518818311393, -0.0006889121723361313, -0.0512813962996006, 0.02122802846133709, 0.06551815569400787, 0.025223037227988243, 0.00841221958398819, 0.0038565462455153465, -0.061850011348724365, -0.017205780372023582, 0.043291378766298294, -0.1054682582616806, 0.024605628103017807, -0.0002884181449189782, -0.02051982283592224, 0.021427778527140617, 0.01307457685470581, 0.03849736601114273, 0.01119510643184185, 0.007286353036761284, -0.020102161914110184, 0.08128028362989426, 0.0007337425486184657, 0.0007615486974827945, -0.02008400298655033, 0.011721721850335598, 0.01324708852916956, -0.04296451434493065, -0.01495404727756977, 0.017296575009822845, 0.06631716340780258, 0.03893318399786949, -0.019702661782503128, 0.007758490275591612, -0.0018125086789950728, 0.03915109485387802, 0.037734683603048325, 0.03150609880685806, 0.019121568650007248, -0.017605280503630638, -0.04470779001712799, 0.013637510128319263, -0.0021518573630601168, 0.009660659357905388, -0.03495633602142334, -0.016488494351506233, 0.0017466817516833544, -0.004178870934993029, -0.006323918700218201, 0.0018249930581077933, 0.03146978095173836, 0.03675409033894539, 0.039477959275245667, -0.036300111562013626, -0.023298170417547226, 0.03864263743162155, 0.012874826788902283, -0.013773703947663307, 0.0006151407142169774, -0.03695384040474892, 0.05934405326843262, -0.07096590101718903, -0.06911366432905197, -0.08186137676239014, 0.01977529749274254, 0.01595279946923256, 0.04310978576540947, 0.012956542894244194, 0.030416550114750862, -0.051608260720968246, -0.04517992585897446, -0.016288744285702705, -0.02297130599617958, -0.0043695420026779175, -0.04583365470170975, 0.004290095530450344, -0.03143346309661865, 0.0765589103102684, 0.02447851374745369, -0.021464096382260323, -0.0023107498418539762, 0.05204407870769501, 0.02159121073782444, -0.034920014441013336, 0.021500416100025177, 0.007640455849468708, -0.03446603938937187, -0.011985029093921185, 0.0685688927769661, -0.0006276250933296978, 0.025404630228877068, 0.03944164142012596, -0.015362627804279327, -0.0056792693212628365, 0.018740227445960045, 0.0010242887074127793, 0.06366592645645142, -0.004412669688463211, 0.04750429466366768, -0.0058245426043868065, -0.0816434696316719, 0.019448433071374893, -0.037734683603048325, -0.04666897654533386, 0.04924757406115532, 0.0007780054002068937, -0.04122123494744301, -0.011349459178745747, 0.0102871498093009, -0.03263196349143982, -0.03034391440451145, 0.005493138451129198, -0.006323918700218201, -0.011939630843698978, -0.024442195892333984, 0.021137231960892677, 0.004989222157746553, 0.028981979936361313, -0.02649417705833912, 0.09711505472660065, 0.024805378168821335, -0.022372053936123848, -0.02578597143292427, 0.016915233805775642, 0.05364208295941353, -0.011022594757378101, 0.009129504673182964, 0.012802190147340298, -0.016987871378660202, 0.04517992585897446, 0.09667923301458359, 0.051898807287216187, 0.00928385742008686, -0.01950290985405445, -0.027202384546399117, 0.005974355153739452, -0.02578597143292427, 0.028636954724788666, -0.026203632354736328, -0.00982409156858921, 0.013029179535806179, -0.018231771886348724, -0.05589381605386734, 0.026022039353847504, -0.00892067514359951, -0.04267396777868271, 0.035047128796577454, -0.03748045489192009, -0.007903763093054295, 0.028873024508357048, 0.05077293887734413, -0.03791627287864685, -0.011095231398940086, -0.025749653577804565, 0.014073329046368599, -0.028182977810502052, 0.03214166685938835, -0.05458635836839676, -0.042601328343153, -0.03557374328374863, -0.009052328765392303, -0.030816052109003067, 0.021990712732076645, -0.02137330174446106, -0.05255253612995148, -0.02896381914615631, -0.031814802438020706, 0.0563296377658844, 0.030234958976507187, -0.05647490918636322, 0.044671472162008286, 0.019176045432686806, -0.01784135028719902, 0.0066689420491456985, 0.010732048191130161, -0.030779734253883362, -0.041838645935058594, 0.024660104885697365, -0.012729553505778313, -0.009229380637407303, 0.02093748189508915, 0.04194759950041771, 0.024024534970521927, -0.04688688740134239, 0.015199195593595505, 0.0036499861162155867, 0.015171957202255726, -0.006110548973083496, -0.06508234143257141, -0.04659634083509445, -0.05538536235690117, -0.00742254639044404, 0.005420501809567213, 0.03762572631239891, 0.07230967283248901, 0.0020054494962096214, -0.0003470097144600004, 0.02629442699253559, -0.04790379852056503, -0.014245841652154922, 0.029581230133771896, 0.00808989442884922, 0.0476495698094368, 0.01877654530107975, 0.056220680475234985, -0.06344801932573318, -0.004757693503051996, 0.03806154802441597, -0.030289437621831894, -0.0018045640317723155, 0.056002773344516754, -0.038751594722270966, -0.03352176398038864, -0.003531951690092683, -0.027674522250890732, -0.010568615980446339, 0.051245078444480896, -0.049864985048770905, 0.012693234719336033, 0.07815691828727722, -0.007463404443114996, 0.0108319241553545, 0.03568270057439804, -0.018286248669028282, -0.056729137897491455, 0.02338896505534649, -0.002501420909538865, 0.015507901087403297, -0.08977875858545303, 0.04289187490940094, 0.00754966028034687, -0.0447804257273674, 0.06740670651197433, -0.03806154802441597, -0.019030774012207985, -0.009333794936537743, 0.06312115490436554, -0.002011124277487397, 0.05033712089061737, -0.008648287504911423, 0.043364014476537704, 0.022517327219247818, -0.0685688927769661, 0.003041655058041215, -0.018522316589951515, 0.010087399743497372, 0.011013515293598175, 0.0048167104832828045, 0.024660104885697365, 0.03958691284060478, -0.011422095820307732, -0.004235618282109499, -0.014645341783761978, 0.07274549454450607, -0.001229146379046142, 0.02694815583527088, -0.05934405326843262, 0.03517424315214157, 0.013192611746490002, 0.044744107872247696, 0.1213030219078064, -0.022208621725440025, -0.03143346309661865, -0.019103409722447395, -0.004569292068481445, -0.038751594722270966, -0.009442750364542007, 0.002061061793938279, -0.013973454013466835, -0.031161075457930565, 0.008403139188885689, -0.012865747325122356, -0.01747816801071167, -0.04354560375213623, 0.0027306799311190844, -0.04656002297997475, -0.005897178780287504, 0.02447851374745369, 0.025168560445308685, 0.0642833337187767, 0.03864263743162155, -0.02362503483891487, -0.005347865168005228, -0.014436512254178524, 0.07648627460002899, 0.01328340731561184, 0.0000029038656066404656, 0.01122234482318163, 0.038388412445783615, -0.0017069586319848895, -0.04852120950818062, 0.007576899137347937, -0.043073467910289764, 0.0037475915160030127, 0.00594257703050971, 0.04165705665946007, -0.061704739928245544, -0.0031415303237736225, -0.057818684726953506, -0.004485306330025196, -0.010250831954181194, -0.0008290780242532492, 0.0011905583087354898, -0.06479179114103317, -0.02447851374745369, 0.014972206205129623, -0.029581230133771896, -0.02398821711540222, -0.05469531565904617, 0.016624687239527702, -0.07852009683847427, -0.030216800048947334, 0.02845536358654499, 0.007322670891880989, 0.013192611746490002, 0.003286803374066949, -0.029853617772459984, 0.004880267661064863, -0.011394857428967953, -0.004351382609456778, 0.01834980584681034, -0.04056750610470772, 0.015181036666035652, -0.00565203046426177, -0.07358081638813019, -0.029780980199575424, 0.05531272292137146, -0.024750901386141777, -0.041548099368810654, 0.055131133645772934, 0.04579733684659004, -0.09755086898803711, 0.0017773252911865711, 0.003845196682959795, 0.0411849170923233, -0.028854865580797195, 0.025005128234624863, -0.004510275088250637, -0.0570560023188591, -0.002331178868189454, -0.043327696621418, 0.007000346668064594, 0.024859854951500893, -0.020628776401281357, 0.02758372575044632, 0.033975742757320404, 0.06965844333171844, -0.04735902324318886, -0.09428222477436066, 0.031106598675251007, -0.004975602962076664, 0.007313591428101063, -0.0007513341843150556, 0.016207028180360794, 0.0267302468419075, 0.04681424796581268, 0.00022003764752298594, -0.0148087739944458, -0.042274463921785355, -0.008657367900013924, -0.007322670891880989, -0.028219295665621758, 0.009242999367415905, 0.01151289138942957, -0.006505509838461876, 0.0047667729668319225, -0.005379643756896257, 0.0035296818241477013, -0.003595508635044098, 0.05109980329871178, -0.04652370139956474, 0.021990712732076645, 0.05502218008041382, 0.003629557089880109, 0.028037704527378082, -0.05800027772784233, 0.06410174816846848, 0.01602543704211712, 0.017069587484002113, -0.06965844333171844, 0.02115539275109768, 0.006646243389695883, 0.003016686299815774 ]
719,810
ibm_platform_services.iam_policy_management_v1
update_policy_state
Restore a deleted policy by ID. Restore a policy that has recently been deleted. A policy administrator might want to restore a deleted policy. To restore a policy, use **`"state": "active"`** in the body. :param str policy_id: The policy ID. :param str if_match: The revision number for updating a policy and must match the ETag value of the existing policy. The Etag can be retrieved using the GET /v1/policies/{policy_id} API and looking at the ETag response header. :param str state: (optional) The policy state. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse with `dict` result representing a `Policy` object
def update_policy_state( self, policy_id: str, if_match: str, *, state: Optional[str] = None, **kwargs, ) -> DetailedResponse: """ Restore a deleted policy by ID. Restore a policy that has recently been deleted. A policy administrator might want to restore a deleted policy. To restore a policy, use **`"state": "active"`** in the body. :param str policy_id: The policy ID. :param str if_match: The revision number for updating a policy and must match the ETag value of the existing policy. The Etag can be retrieved using the GET /v1/policies/{policy_id} API and looking at the ETag response header. :param str state: (optional) The policy state. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse with `dict` result representing a `Policy` object """ if not policy_id: raise ValueError('policy_id must be provided') if not if_match: raise ValueError('if_match must be provided') headers = { 'If-Match': if_match, } sdk_headers = get_sdk_headers( service_name=self.DEFAULT_SERVICE_NAME, service_version='V1', operation_id='update_policy_state', ) headers.update(sdk_headers) data = { 'state': state, } data = {k: v for (k, v) in data.items() if v is not None} data = json.dumps(data) headers['content-type'] = 'application/json' if 'headers' in kwargs: headers.update(kwargs.get('headers')) del kwargs['headers'] headers['Accept'] = 'application/json' path_param_keys = ['policy_id'] path_param_values = self.encode_path_vars(policy_id) path_param_dict = dict(zip(path_param_keys, path_param_values)) url = '/v1/policies/{policy_id}'.format(**path_param_dict) request = self.prepare_request( method='PATCH', url=url, headers=headers, data=data, ) response = self.send(request, **kwargs) return response
(self, policy_id: str, if_match: str, *, state: Optional[str] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
[ 0.004818249959498644, -0.014280140399932861, -0.03484618663787842, -0.06376512348651886, 0.005054207053035498, -0.0647844597697258, -0.011580788530409336, 0.012156524695456028, 0.007885695435106754, 0.00006282365211518481, -0.04685169830918312, 0.01433677040040493, -0.02648385614156723, 0.025219125673174858, -0.04571910202503204, 0.022331006824970245, 0.01288327295333147, 0.015535433776676655, -0.013713843189179897, -0.03475180268287659, 0.041792772710323334, 0.028503652662038803, 0.012316975742578506, 0.053043220192193985, 0.02312382310628891, -0.03964084014296532, 0.039301060140132904, -0.03884802386164665, 0.021840214729309082, 0.010174482129514217, 0.010504822246730328, 0.05285445228219032, 0.0004406504158396274, 0.06372737139463425, -0.028635788708925247, 0.010523699223995209, 0.003015535417944193, 0.0046460009180009365, -0.06497322767972946, 0.004492628388106823, -0.08411408960819244, 0.01444059144705534, 0.00042796769412234426, 0.007781874388456345, -0.008791771717369556, 0.0578756257891655, -0.006451074965298176, 0.03614867106080055, 0.038376107811927795, 0.008149968460202217, 0.028352638706564903, 0.02342584915459156, -0.036998119205236435, 0.026106324046850204, 0.032524365931749344, 0.025577779859304428, 0.006144330371171236, -0.01868782564997673, 0.026899142190814018, -0.041679512709379196, -0.018876589834690094, -0.05417581647634506, -0.05753584951162338, -0.045303817838430405, -0.007890414446592331, -0.07928168028593063, 0.027427686378359795, -0.00298014166764915, -0.0638783797621727, -0.013591145165264606, -0.04930565506219864, -0.023746751248836517, 0.009197618812322617, -0.002951826900243759, 0.0027890163473784924, 0.04454875364899635, -0.022651908919215202, -0.03273200988769531, 0.005252411123365164, 0.02021682821214199, 0.011684609577059746, -0.04322739318013191, 0.024709457531571388, 0.01691342517733574, -0.041528500616550446, -0.01745140738785267, 0.03310953825712204, -0.06282129138708115, -0.04099995642900467, -0.010080099105834961, 0.0026214865501970053, 0.03635631501674652, -0.027408810332417488, -0.02603081800043583, 0.03667721524834633, 0.021424930542707443, -0.018942657858133316, -0.037054747343063354, 0.018046021461486816, 0.020839756354689598, -0.09377890080213547, 0.02321820706129074, 0.0000025070471565413754, -0.023350343108177185, 0.08894649893045425, -0.08154687285423279, 0.0000830275021144189, 0.03154278174042702, 0.05504413694143295, -0.09853580594062805, 0.07006990164518356, -0.009292001836001873, -0.050551511347293854, 0.001225798623636365, 0.06878629326820374, 0.022897304967045784, 0.0015856336103752255, -0.046474166214466095, -0.01372328121215105, -0.008343453519046307, -0.016422633081674576, -0.049230147153139114, 0.01691342517733574, 0.037923071533441544, -0.00898053776472807, -0.03854599967598915, -0.03845161572098732, -0.025143619626760483, 0.01577139087021351, 0.005332636646926403, -0.051457587629556656, 0.027824094519019127, -0.054930880665779114, -0.0002602904860395938, -0.02510586567223072, 0.002685195067897439, 0.040660176426172256, 0.03427989035844803, -0.0033199202734977007, -0.02387888729572296, 0.05138207972049713, 0.013440132141113281, 0.020405594259500504, -0.00027430045884102583, -0.006252870429307222, 0.007121193688362837, 0.04579460993409157, 0.028862306848168373, 0.02031121216714382, 0.02031121216714382, 0.03310953825712204, 0.006946585141122341, 0.018527373671531677, 0.007177823688834906, -0.011967758648097515, -0.028484774753451347, 0.003548799082636833, -0.08524668216705322, -0.004466673359274864, -0.017611859366297722, 0.04855059087276459, -0.039754100143909454, 0.02099076844751835, -0.026351720094680786, 0.049834199249744415, -0.024464061483740807, -0.011392022483050823, 0.012241468764841557, 0.002461035503074527, -0.02603081800043583, -0.002852724865078926, -0.014072498306632042, -0.03550686687231064, 0.009938525035977364, -0.05511964485049248, 0.05281670019030571, 0.0032538522500544786, -0.01814984157681465, -0.023539109155535698, -0.014497221447527409, 0.039603088051080704, 0.00646995147690177, -0.026502734050154686, 0.04145299270749092, -0.0025011482648551464, -0.006984338629990816, -0.05410030856728554, 0.06535075604915619, -0.01243023481220007, 0.029655123129487038, -0.005313760135322809, -0.06489771604537964, 0.02102852240204811, -0.01463879644870758, -0.040320396423339844, 0.0169511791318655, 0.018527373671531677, -0.067804716527462, 0.0956665650010109, 0.006550177000463009, 0.04016938433051109, -0.08086731284856796, 0.0020599078852683306, 0.022425388917326927, -0.010297180153429508, 0.040207136422395706, 0.00017564077279530466, -0.018791645765304565, 0.03833835572004318, -0.040320396423339844, -0.04084894061088562, 0.0016811963869258761, -0.01558262575417757, -0.006965462118387222, -0.0320902056992054, 0.027635328471660614, -0.04334065318107605, 0.03339269012212753, 0.022935057058930397, -0.019839296117424965, -0.022991687059402466, -0.0030981204472482204, -0.031448401510715485, 0.02036784216761589, 0.020896386355161667, 0.04726698249578476, -0.004346334841102362, 0.034355394542217255, -0.04839957877993584, 0.042510081082582474, 0.016517017036676407, 0.045870114117860794, 0.0770919993519783, -0.04658742621541023, 0.056705277413129807, -0.03324167802929878, -0.06289680302143097, -0.025275755673646927, -0.03273200988769531, 0.06855978071689606, 0.0029636246617883444, -0.04454875364899635, 0.03926330804824829, 0.010712465271353722, -0.05923474207520485, 0.027163414284586906, -0.013128669001162052, -0.0014770932029932737, 0.04337840527296066, -0.00044477966730482876, -0.015695884823799133, -0.005738483741879463, -0.054477840662002563, 0.013883732259273529, 0.03671496734023094, 0.04775777459144592, 0.041943784803152084, -0.02999490313231945, 0.03767767548561096, 0.030580077320337296, -0.007531759794801474, -0.04594562202692032, -0.04802204668521881, -0.07531759887933731, -0.018046021461486816, -0.03845161572098732, 0.028654664754867554, 0.010080099105834961, 0.018423551693558693, 0.004860721994191408, 0.09377890080213547, -0.031089745461940765, -0.029579617083072662, 0.014223511330783367, -0.017970513552427292, -0.03377022221684456, -0.001689454889856279, 0.049079135060310364, 0.024973729625344276, -0.05383603647351265, 0.03626193106174469, 0.016092292964458466, 0.031240757554769516, 0.041490744799375534, -0.016658591106534004, 0.028296008706092834, -0.027238920331001282, 0.06976787745952606, 0.0011850959854200482, 0.01601678691804409, 0.03131626546382904, 0.06316107511520386, -0.026672622188925743, -0.000441830197814852, -0.02419978938996792, 0.028239380568265915, -0.0443977415561676, -0.03671496734023094, 0.057422589510679245, -0.001402766676619649, 0.019386257976293564, 0.01629049703478813, 0.04847508668899536, -0.03803633153438568, -0.0476822666823864, 0.015006889589130878, 0.0386970117688179, 0.015120149590075016, 0.04096220061182976, 0.014506659470498562, 0.022519772872328758, 0.0063378154300153255, -0.09581757336854935, -0.018612317740917206, 0.06070711463689804, -0.008617163635790348, -0.004233075305819511, -0.06199072301387787, 0.03841386362910271, 0.0038413861766457558, -0.038376107811927795, 0.0626702830195427, 0.0353936068713665, 0.07928168028593063, -0.022142240777611732, -0.09370339661836624, 0.016243306919932365, 0.015648692846298218, 0.012741698883473873, -0.0005887136794626713, -0.027786340564489365, 0.000850036449264735, 0.01817815750837326, 0.009683690965175629, 0.0146199194714427, 0.02327483706176281, 0.0722973421216011, -0.018074335530400276, -0.0041221752762794495, 0.05236366391181946, 0.07988572865724564, 0.0041929627768695354, 0.05300546810030937, 0.029409728944301605, -0.055799201130867004, 0.0033222800120711327, 0.03101423755288124, -0.0006211578147485852, 0.061650946736335754, 0.0011101794661954045, -0.06350085139274597, -0.025577779859304428, 0.04364267736673355, 0.01718713529407978, 0.01848018169403076, -0.05534616485238075, 0.014827561564743519, 0.007824346423149109, -0.020330088213086128, -0.05225040391087532, -0.04024489223957062, -0.052439168095588684, -0.03320392221212387, 0.00773940235376358, -0.02180246263742447, -0.016460387036204338, -0.017347587272524834, -0.0476822666823864, -0.05923474207520485, 0.02153819054365158, -0.0032845267560333014, -0.0674649327993393, -0.028560280799865723, -0.027842970564961433, 0.0491923950612545, 0.0437936894595623, -0.05194837599992752, 0.0025436205323785543, 0.017253203317523003, 0.038885775953531265, 0.021840214729309082, -0.0332983061671257, 0.034091122448444366, 0.025124741718173027, -0.004249592311680317, 0.024218665435910225, -0.006998496130108833, -0.03324167802929878, -0.003272728994488716, -0.017564667388796806, -0.03747003152966499, 0.004362851846963167, 0.0023265397176146507, -0.05806439369916916, 0.005228815600275993, -0.023388095200061798, -0.022953934967517853, 0.02993827313184738, 0.0641804113984108, -0.05855518579483032, 0.013506200164556503, 0.03680935129523277, -0.013156984001398087, 0.0059838793240487576, -0.008098057471215725, -0.030882101505994797, 0.017866693437099457, 0.08351003378629684, -0.039301060140132904, -0.08766289055347443, 0.03482731059193611, -0.014478345401585102, -0.05425132066011429, 0.00008959006663644686, 0.03745115548372269, 0.038885775953531265, 0.06561502814292908, 0.0500984713435173, 0.00835289154201746, 0.023746751248836517, 0.06587930023670197, 0.06183971092104912, 0.053760528564453125, -0.008447274565696716, -0.04084894061088562, -0.013175860047340393, 0.002364292973652482, 0.013298558071255684, 0.0036762161180377007, 0.008574691601097584, 0.03922555595636368, -0.010504822246730328, -0.032920774072408676, 0.021424930542707443, 0.02093413844704628, 0.015780828893184662, 0.03726239129900932, 0.04519055783748627, -0.03163716569542885, 0.016243306919932365, 0.04553033784031868, -0.009844142012298107, -0.04817305877804756, 0.012288660742342472, 0.019263559952378273, 0.020971892401576042, 0.01946176588535309, -0.041679512709379196, 0.0013225411530584097, 0.007404342759400606, 0.022651908919215202, -0.006281185429543257, 0.004575213883072138, 0.015157902613282204, -0.03643181920051575, 0.017177697271108627, 0.015667570754885674, 0.05021173134446144, -0.0677669569849968, -0.04081118851900101, -0.010287742130458355, 0.01159022655338049, 0.039754100143909454, 0.02246314287185669, -0.024520691484212875, 0.0035841926001012325, -0.0029235119000077248, -0.019367381930351257, -0.049418915063142776, 0.012033826671540737, -0.009693128988146782, -0.035884398967027664, 0.009230652824044228, 0.055232904851436615, 0.018650071695446968, 0.023142701014876366, 0.02516249567270279, -0.03971634805202484, -0.011439213529229164, 0.0485883429646492, -0.004610607400536537, 0.018376361578702927, -0.03614867106080055, -0.020386718213558197, -0.007248610723763704, -0.11930005252361298, 0.011476967483758926, 0.042245808988809586, -0.0011538316030055285, 0.008527499623596668, -0.0007420859765261412, 0.001491250703111291, 0.004459594376385212, -0.02555890381336212, -0.009221214801073074, -0.007239172700792551, -0.0031358737032860518, -0.028918936848640442, 0.013402379117906094, -0.0341855064034462, 0.03080659545958042, -0.06346309930086136, -0.0029022758826613426, 0.007607265841215849, 0.04186827689409256, 0.0030981204472482204, -0.030731089413166046, 0.005077803041785955, 0.024539567530155182, 0.0329962819814682, -0.02276516892015934, 0.029353098943829536, 0.016743535175919533, -0.040207136422395706, -0.03803633153438568, 0.004841845482587814, 0.02072649635374546, 0.05092904344201088, -0.04133973270654678, -0.010108414106070995, 0.04013163223862648, -0.040207136422395706, 0.008116934448480606, -0.031656041741371155, -0.03971634805202484, 0.03524259477853775, -0.02627621404826641, -0.08894649893045425, 0.08298148959875107, -0.05119331553578377, -0.048361826688051224, 0.039489828050136566, -0.003916892688721418, 0.020462224259972572, -0.022368760779500008, -0.002364292973652482, -0.06123565882444382, -0.030598953366279602, -0.07225959002971649, -0.035110458731651306, 0.02099076844751835, 0.05613898113369942, -0.0863792821764946, 0.030693337321281433, -0.024633951485157013, 0.02846589870750904, -0.06923933327198029, 0.05206163600087166, -0.04190603271126747, -0.04579460993409157, 0.00863604061305523, -0.061046894639730453, 0.05417581647634506, -0.009560992941260338, -0.03747003152966499, 0.03998062014579773, 0.06674762815237045, -0.020405594259500504, -0.0010364428162574768, -0.008739861659705639, -0.025804299861192703, -0.029730631038546562, 0.06485996395349503, -0.01835748367011547, 0.03273200988769531, 0.021915722638368607, 0.048361826688051224, 0.029787259176373482, -0.015573187731206417, 0.0077865938656032085, 0.046172142028808594, 0.03554461896419525, -0.014978574588894844, -0.022878427058458328, -0.04730473458766937, -0.040773436427116394, 0.03314729407429695, -0.020235706120729446, 0.055836956948041916, 0.06852202117443085, 0.0656905323266983, -0.027484316378831863, 0.040320396423339844, -0.05617673322558403, -0.046776190400123596, 0.017470285296440125, -0.031033115461468697, 0.1091822013258934, 0.029353098943829536, 0.06055610254406929, -0.052892208099365234, 0.016639715060591698, 0.05500638484954834, -0.04424672946333885, -0.013251367025077343, 0.056667525321245193, 0.05281670019030571, -0.02435080148279667, -0.00773940235376358, -0.022123364731669426, -0.011731801554560661, 0.05251467600464821, 0.0217458326369524, -0.021877968683838844, 0.023237083107233047, -0.0008518061367794871, 0.01411025132983923, 0.03146727755665779, -0.0072627682238817215, -0.049985211342573166, 0.027522068470716476, -0.0015549591043964028, 0.023104947060346603, -0.024482937529683113, 0.014865315519273281, -0.007088159676641226, -0.02063211426138878, 0.02954186499118805, -0.04058466851711273, -0.05863068997859955, -0.015856336802244186, -0.01931075192987919, -0.036129795014858246, 0.014299017377197742, -0.02842814475297928, -0.00196434510871768, -0.006196240894496441, -0.07452478259801865, -0.021047398447990417, -0.03535585477948189, 0.023388095200061798, 0.021066274493932724, 0.039187803864479065, -0.023293713107705116, 0.022538648918271065, 0.01946176588535309, -0.013015409000217915, 0.0031972224824130535, -0.00928256381303072, -0.004945666529238224, 0.045907869935035706, -0.012770013883709908, -0.005790394265204668, 0.011731801554560661, 0.026672622188925743, 0.05953676626086235, -0.038168467581272125, 0.007418500259518623, 0.026615992188453674, 0.0018133324338123202, -0.024822717532515526, 0.010174482129514217, -0.033789098262786865, 0.024766087532043457, -0.003702171379700303, -0.03520484268665314, 0.048210810869932175, -0.024615073576569557, 0.021292794495821, 0.010495384223759174, -0.02888118289411068, -0.03131626546382904, -0.00877289567142725, 0.02501148171722889, 0.03127850964665413, 0.011882813647389412, -0.021198410540819168, 0.011354269459843636, 0.012213153764605522, -0.010410440154373646, 0.031958069652318954, 0.032316721975803375, 0.003581833094358444, 0.04447324946522713, -0.0043250988237559795, -0.06406714767217636, 0.04001837223768234, -0.04522830992937088, 0.06066936254501343, 0.01844242960214615, 0.049418915063142776, 0.004544539377093315, 0.021991228684782982, -0.05949901416897774, 0.020537730306386948, 0.023822257295250893, 0.027786340564489365, -0.01142977550625801, -0.04685169830918312, -0.00475454144179821, -0.03737565129995346, -0.055799201130867004, 0.011514720506966114, -0.04126422852277756, 0.030825473368167877, -0.057007305324077606, -0.059310246258974075, 0.017687365412712097, -0.025577779859304428, 0.031146375462412834, -0.022519772872328758, -0.0012564730131998658, 0.013005970977246761, -0.05734708160161972, 0.026502734050154686, -0.005370390135794878, -0.004683753941208124, -0.033638086169958115, 0.02144380658864975, -0.062368255108594894, -0.0044359988532960415, 0.007210857700556517, -0.012213153764605522, -0.031203003600239754, 0.06519974768161774, 0.050853535532951355, -0.05527065694332123, -0.04360492527484894, 0.019688284024596214, 0.00031234859488904476, -0.043114133179187775, 0.006248151417821646, -0.04394470155239105, -0.0725993663072586, -0.023142701014876366, -0.025804299861192703, -0.010929546318948269, 0.06874854117631912, -0.01321361307054758, 0.022444266825914383, 0.019518394023180008, 0.021330546587705612, -0.039036788046360016, -0.13870519399642944, 0.03107086755335331, -0.010117853060364723, 0.05504413694143295, -0.02270853891968727, 0.03675272315740585, 0.053798284381628036, 0.028862306848168373, 0.040660176426172256, 0.021708078682422638, -0.017017247155308723, -0.01159022655338049, -0.003813071409240365, -0.03227896988391876, -0.027333302423357964, -0.01796107552945614, 0.041075460612773895, 0.011193818412721157, 0.012892710976302624, -0.011052243411540985, -0.06625683605670929, 0.024747209623456, -0.005828147288411856, -0.009815827012062073, 0.04594562202692032, -0.008919188752770424, 0.038376107811927795, -0.04043365642428398, 0.04670068621635437, 0.014837000519037247, 0.016507579013705254, 0.0353936068713665, 0.013732720166444778, -0.03439314663410187, -0.008244350552558899 ]
719,811
ibm_platform_services.ibm_cloud_shell_v1
IbmCloudShellV1
The IBM Cloud Shell V1 service.
class IbmCloudShellV1(BaseService): """The IBM Cloud Shell V1 service.""" DEFAULT_SERVICE_URL = 'https://api.shell.cloud.ibm.com' DEFAULT_SERVICE_NAME = 'ibm_cloud_shell' @classmethod def new_instance( cls, service_name: str = DEFAULT_SERVICE_NAME, ) -> 'IbmCloudShellV1': """ Return a new client for the IBM Cloud Shell service using the specified parameters and external configuration. """ authenticator = get_authenticator_from_environment(service_name) service = cls(authenticator) service.configure_service(service_name) return service def __init__( self, authenticator: Authenticator = None, ) -> None: """ Construct a new client for the IBM Cloud Shell service. :param Authenticator authenticator: The authenticator specifies the authentication mechanism. Get up to date information from https://github.com/IBM/python-sdk-core/blob/master/README.md about initializing the authenticator of your choice. """ BaseService.__init__(self, service_url=self.DEFAULT_SERVICE_URL, authenticator=authenticator) ######################### # account_settings ######################### def get_account_settings(self, account_id: str, **kwargs) -> DetailedResponse: """ Get account settings. Retrieve account settings for the given account ID. Call this method to get details about a particular account setting, whether Cloud Shell is enabled, the list of enabled regions and the list of enabled features. Users need to be an account owner or users need to be assigned an IAM policy with the Administrator role for the Cloud Shell account management service. :param str account_id: The account ID in which the account settings belong to. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse with `dict` result representing a `AccountSettings` object """ if account_id is None: raise ValueError('account_id must be provided') headers = {} sdk_headers = get_sdk_headers( service_name=self.DEFAULT_SERVICE_NAME, service_version='V1', operation_id='get_account_settings' ) headers.update(sdk_headers) if 'headers' in kwargs: headers.update(kwargs.get('headers')) headers['Accept'] = 'application/json' path_param_keys = ['account_id'] path_param_values = self.encode_path_vars(account_id) path_param_dict = dict(zip(path_param_keys, path_param_values)) url = '/api/v1/user/accounts/{account_id}/settings'.format(**path_param_dict) request = self.prepare_request(method='GET', url=url, headers=headers) response = self.send(request) return response def update_account_settings( self, account_id: str, *, rev: str = None, default_enable_new_features: bool = None, default_enable_new_regions: bool = None, enabled: bool = None, features: List['Feature'] = None, regions: List['RegionSetting'] = None, **kwargs ) -> DetailedResponse: """ Update account settings. Update account settings for the given account ID. Call this method to update account settings configuration, you can enable or disable Cloud Shell, enable or disable available regions and enable and disable features. To update account settings, users need to be an account owner or users need to be assigned an IAM policy with the Administrator role for the Cloud Shell account management service. :param str account_id: The account ID in which the account settings belong to. :param str rev: (optional) Unique revision number for the settings object. :param bool default_enable_new_features: (optional) You can choose which Cloud Shell features are available in the account and whether any new features are enabled as they become available. The feature settings apply only to the enabled Cloud Shell locations. :param bool default_enable_new_regions: (optional) Set whether Cloud Shell is enabled in a specific location for the account. The location determines where user and session data are stored. By default, users are routed to the nearest available location. :param bool enabled: (optional) When enabled, Cloud Shell is available to all users in the account. :param List[Feature] features: (optional) List of Cloud Shell features. :param List[RegionSetting] regions: (optional) List of Cloud Shell region settings. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse with `dict` result representing a `AccountSettings` object """ if account_id is None: raise ValueError('account_id must be provided') if features is not None: features = [convert_model(x) for x in features] if regions is not None: regions = [convert_model(x) for x in regions] headers = {} sdk_headers = get_sdk_headers( service_name=self.DEFAULT_SERVICE_NAME, service_version='V1', operation_id='update_account_settings' ) headers.update(sdk_headers) data = { '_rev': rev, 'default_enable_new_features': default_enable_new_features, 'default_enable_new_regions': default_enable_new_regions, 'enabled': enabled, 'features': features, 'regions': regions, } data = {k: v for (k, v) in data.items() if v is not None} data = json.dumps(data) headers['content-type'] = 'application/json' if 'headers' in kwargs: headers.update(kwargs.get('headers')) headers['Accept'] = 'application/json' path_param_keys = ['account_id'] path_param_values = self.encode_path_vars(account_id) path_param_dict = dict(zip(path_param_keys, path_param_values)) url = '/api/v1/user/accounts/{account_id}/settings'.format(**path_param_dict) request = self.prepare_request(method='POST', url=url, headers=headers, data=data) response = self.send(request) return response
(authenticator: ibm_cloud_sdk_core.authenticators.authenticator.Authenticator = None) -> None
[ 0.01092400960624218, -0.06874555349349976, -0.04123002663254738, -0.015866853296756744, 0.041294921189546585, 0.005251096095889807, -0.05126713588833809, -0.0002845920971594751, -0.015628905966877937, -0.009404382668435574, 0.007300699595361948, -0.023989558219909668, -0.014309371821582317, 0.0016358975553885102, -0.022799814119935036, 0.023189185187220573, 0.010540047660470009, 0.007938834838569164, 0.04945007339119911, -0.058535389602184296, 0.05022881552577019, -0.0024917018599808216, 0.04451804608106613, 0.038634222000837326, 0.04159776493906975, -0.002167226281017065, 0.03792037442326546, 0.014385082758963108, 0.023340607061982155, -0.012124569155275822, -0.030695386230945587, 0.02446545660495758, -0.04685426875948906, 0.04417193681001663, 0.010285874828696251, -0.0633808895945549, 0.03134433925151825, 0.0468975305557251, -0.056458745151758194, 0.03119291551411152, -0.08739207684993744, 0.01955506019294262, 0.09085315465927124, -0.03437277674674988, 0.01110787969082594, 0.036730632185935974, -0.004918508697301149, 0.05083450302481651, 0.015964196994900703, 0.03294508531689644, 0.04207366332411766, -0.015607274137437344, -0.048671331256628036, -0.0026268998626619577, -0.027883265167474747, -0.02061501331627369, 0.0021618183236569166, -0.05122387409210205, -0.04776280000805855, -0.014006528072059155, -0.013801026158034801, -0.011854173615574837, -0.026347413659095764, -0.02902974560856819, -0.006348904687911272, -0.019241400063037872, -0.05156997963786125, 0.0071655018255114555, 0.04179244861006737, 0.006943776737898588, 0.01911160908639431, 0.006056876853108406, 0.0036665736697614193, -0.03169044479727745, 0.003969417419284582, 0.03136596828699112, 0.027775106951594353, 0.005299767013639212, -0.05083450302481651, -0.013260234147310257, 0.004583217203617096, 0.011042984202504158, 0.03331282362341881, 0.01896018721163273, 0.03657921031117439, 0.010518415831029415, -0.011389091610908508, -0.026671890169382095, 0.018635712563991547, 0.0006942424806766212, -0.008009137585759163, -0.0018535665003582835, 0.02049603872001171, 0.003777436213567853, 0.051829561591148376, -0.027191050350666046, -0.021318042650818825, -0.056112635880708694, -0.09388159215450287, 0.014439161866903305, -0.04983944445848465, -0.005889231339097023, 0.02221575938165188, -0.011789278127253056, 0.07038956135511398, -0.033377718180418015, -0.020647460594773293, 0.027602052316069603, 0.010588718578219414, -0.00866890512406826, -0.02957053855061531, -0.011118695139884949, -0.030695386230945587, -0.057150959968566895, 0.049406807869672775, 0.016256224364042282, -0.02234554849565029, 0.01627785712480545, 0.014796084724366665, -0.0024687182158231735, -0.010875338688492775, -0.006343496963381767, 0.03396177291870117, 0.012384150177240372, 0.04406378045678139, 0.027861634269356728, -0.022648392245173454, 0.05014228820800781, 0.017381073907017708, 0.005321398843079805, -0.04698405787348747, -0.032317765057086945, -0.037574268877506256, -0.01741352118551731, 0.09327590465545654, -0.02190209925174713, -0.018603265285491943, 0.007873940281569958, -0.0345674604177475, 0.046724479645490646, 0.018830398097634315, 0.012113753706216812, -0.02816447801887989, -0.021545175462961197, -0.044604573398828506, -0.008847366087138653, 0.053646624088287354, -0.0161048024892807, -0.06009287014603615, -0.028034687042236328, -0.016158882528543472, -0.0017372961156070232, -0.027537157759070396, -0.02889995463192463, -0.08012382686138153, 0.008268718607723713, 0.02221575938165188, -0.033745456486940384, 0.017694732174277306, -0.008809510618448257, -0.06762070208787918, 0.03783384710550308, 0.0035665270406752825, -0.03216634318232536, 0.011432355269789696, -0.0036665736697614193, -0.04806564375758171, -0.07869613915681839, 0.009907320141792297, -0.011637856252491474, 0.012362518347799778, -0.01886284537613392, -0.05252177640795708, 0.006354312878102064, -0.017099861055612564, 0.04027822986245155, 0.02957053855061531, -0.06368373334407806, -0.04090555012226105, 0.023556925356388092, -0.005835151765495539, -0.01056708674877882, -0.03188512846827507, 0.005948718171566725, 0.015942564234137535, -0.022259023040533066, 0.01654825359582901, 0.059097811579704285, -0.001201235456392169, 0.03199328854680061, 0.024184243753552437, -0.0027931935619562864, 0.07739823311567307, -0.012373333796858788, -0.02466014213860035, -0.0390668548643589, 0.015964196994900703, -0.09630434215068817, 0.00936111994087696, -0.014233660884201527, -0.02344876527786255, 0.01110787969082594, 0.05299767106771469, 0.01595338061451912, 0.05870844051241875, -0.044993940740823746, 0.02781837061047554, -0.05481473729014397, -0.013746947050094604, 0.01847347430884838, -0.04784932732582092, -0.003458368591964245, -0.017132308334112167, -0.01824634149670601, 0.00678153894841671, -0.010112821124494076, 0.05066144838929176, -0.010934825986623764, 0.004877949133515358, -0.027255944907665253, 0.014817716553807259, 0.003512447699904442, -0.01357389334589243, -0.039715807884931564, -0.008290350437164307, 0.03307487443089485, 0.011324196122586727, -0.04155450314283371, -0.01637519896030426, 0.002027972135692835, 0.031430862843990326, 0.02712615579366684, -0.009750490076839924, 0.021177437156438828, -0.004291188903152943, -0.05844886228442192, 0.0036097904667258263, -0.05831907317042351, 0.018441027030348778, -0.027861634269356728, 0.015866853296756744, 0.042008768767118454, 0.05477147176861763, 0.05053165927529335, -0.11110042780637741, -0.005775664933025837, -0.04017007350921631, 0.019987693056464195, 0.007041119504719973, -0.04343646019697189, 0.04090555012226105, -0.07025977224111557, -0.0304790697991848, 0.04776280000805855, -0.04259282350540161, -0.07142788171768188, 0.02342713437974453, 0.013184523209929466, 0.013152075000107288, -0.013357576914131641, -0.015920933336019516, -0.030543964356184006, -0.01489342749118805, 0.011583777144551277, 0.03350750729441643, 0.01704578287899494, 0.03156065568327904, 0.027515526860952377, 0.02344876527786255, 0.03013296239078045, 0.09630434215068817, 0.07112503796815872, -0.02340550348162651, -0.007960466668009758, -0.02236718125641346, 0.034805409610271454, 0.01097268145531416, -0.03313976898789406, -0.05368988588452339, -0.03737958148121834, 0.01154051348567009, -0.05728074908256531, 0.013822657987475395, 0.0390668548643589, 0.06489510834217072, -0.0465514250099659, 0.010323730297386646, -0.007538648322224617, -0.004829277750104666, 0.03506499156355858, -0.02323244884610176, 0.041446343064308167, -0.01780289225280285, -0.046724479645490646, -0.027385735884308815, 0.026823312044143677, -0.04577268287539482, -0.026715153828263283, 0.03381035104393959, -0.03381035104393959, 0.006251562386751175, 0.03787711262702942, -0.03995375707745552, 0.007354779168963432, 0.011216037906706333, -0.029332589358091354, 0.04380419850349426, 0.0033529140055179596, 0.025676831603050232, 0.06826965510845184, -0.0076413992792367935, -0.024573614820837975, -0.015704616904258728, 0.0029905829578638077, -0.015520746819674969, -0.022821446880698204, 0.03978070244193077, 0.002914872020483017, 0.020874593406915665, 0.06770723313093185, -0.07783086597919464, -0.00696000037714839, 0.010280466638505459, -0.0018670863937586546, 0.06762070208787918, -0.0032636832911521196, 0.028488952666521072, 0.06264541298151016, 0.01936037465929985, -0.012686993926763535, -0.05823254585266113, -0.002968951128423214, 0.014244476333260536, 0.005356550682336092, 0.011140326969325542, -0.05511758103966713, 0.015271982178092003, -0.008403916843235493, -0.014363450929522514, 0.022972868755459785, 0.03783384710550308, -0.015564010478556156, -0.028251003473997116, -0.037422847002744675, -0.053949467837810516, -0.0024078788701444864, 0.0804266706109047, -0.012643730267882347, -0.02180475741624832, -0.04806564375758171, 0.011010536924004555, -0.02192373014986515, 0.05693464353680611, 0.06017939746379852, 0.02784000150859356, -0.05459841713309288, -0.020798882469534874, -0.005937902256846428, 0.0021036830730736256, -0.06433268636465073, 0.00017423661483917385, -0.0390668548643589, 0.022929605096578598, 0.04875785857439041, -0.053473569452762604, -0.04629184305667877, -0.03156065568327904, -0.0012532868422567844, 0.0948333889245987, -0.03828811272978783, 0.06108792871236801, -0.024941353127360344, 0.034762147814035416, -0.04068923369050026, 0.029981540516018867, 0.048368487507104874, -0.10114984214305878, -0.014449977315962315, -0.034221354871988297, 0.05053165927529335, 0.09647739678621292, -0.013119627721607685, -0.017619021236896515, 0.03500009700655937, 0.014017343521118164, -0.03192839398980141, 0.005140233319252729, -0.03727142512798309, 0.02111254259943962, -0.010740140452980995, -0.006413800176233053, 0.05637221783399582, -0.029981540516018867, 0.0373363196849823, 0.0009024476166814566, 0.03361566737294197, -0.04451804608106613, -0.0034772963263094425, 0.01674293726682663, -0.02221575938165188, 0.0031257811933755875, -0.03515151888132095, 0.0941411703824997, 0.012070490047335625, 0.020409511402249336, -0.039715807884931564, -0.00010587704309727997, 0.023513661697506905, 0.01267617754638195, 0.05269482731819153, -0.057670120149850845, -0.0253523550927639, -0.018624896183609962, -0.026131097227334976, -0.06589017063379288, -0.01398489624261856, -0.06433268636465073, 0.055723268538713455, -0.01417958177626133, 0.005878415424376726, 0.0034745922312140465, -0.012265175580978394, -0.03962928056716919, 0.049233756959438324, -0.027169419452548027, 0.011421538889408112, 0.0017778555629774928, 0.034437671303749084, -0.0033069464843720198, -0.04017007350921631, 0.060655295848846436, 0.04155450314283371, -0.01313044410198927, -0.04263608530163765, 0.013498182408511639, 0.03452419862151146, 0.007435897830873728, -0.027904896065592766, -0.013346760533750057, 0.002225361531600356, 0.013855106197297573, 0.012643730267882347, -0.04611879214644432, -0.032836925238370895, 0.011070024222135544, 0.022951235994696617, -0.025092775002121925, -0.02889995463192463, 0.03346424549818039, 0.0021929137874394655, -0.042549557983875275, 0.022605130448937416, 0.004391235765069723, -0.05066144838929176, -0.002641771687194705, -0.04637837037444115, -0.0034610724542289972, 0.025114407762885094, 0.0044831703417003155, 0.029008112847805023, 0.03869911655783653, -0.04564289376139641, -0.04049454629421234, 0.045902471989393234, 0.0315173901617527, 0.017770443111658096, 0.06679870188236237, 0.05693464353680611, -0.03396177291870117, 0.016851097345352173, -0.012643730267882347, 0.00630023330450058, -0.010940234176814556, 0.05122387409210205, 0.01857081614434719, 0.023037763312458992, 0.01007496565580368, -0.0028607926797121763, -0.08540196716785431, -0.005640466697514057, 0.007587319705635309, 0.01735944114625454, 0.004521025810390711, -0.0026025641709566116, -0.004807645920664072, -0.07770107686519623, 0.05161324515938759, 0.014222844503819942, 0.011832541786134243, -0.04036475718021393, 0.039542753249406815, -0.03869911655783653, -0.047979116439819336, 0.041467975825071335, -0.07142788171768188, -0.05844886228442192, -0.01741352118551731, -0.0025822846218943596, 0.04406378045678139, -0.013476550579071045, 0.0014912355691194534, -0.029548905789852142, 0.007257436402142048, 0.0006158275646157563, 0.042722612619400024, 0.03662247210741043, -0.07679254561662674, 0.0520891398191452, 0.031798604875802994, -0.004458834882825613, -0.018008392304182053, 0.017965128645300865, -0.016158882528543472, -0.07246620208024979, -0.0065598138608038425, 0.02941911667585373, -0.017489232122898102, 0.07298536598682404, -0.020917857065796852, -0.029202798381447792, -0.0260445699095726, -0.014504056423902512, 0.0037476925645023584, 0.02533072419464588, 0.005991981830447912, 0.05373315140604973, -0.036730632185935974, -0.07060588151216507, -0.009166434407234192, 0.004212774336338043, 0.005580979399383068, -0.004326340742409229, -0.03766079619526863, -0.02941911667585373, 0.047633010894060135, -0.023989558219909668, -0.06935124099254608, -0.06329436600208282, -0.010940234176814556, 0.02251860313117504, -0.0010714452946558595, -0.001439860207028687, -0.054684944450855255, -0.023189185187220573, -0.06601995974779129, -0.05507431551814079, 0.024011190980672836, -0.025936411693692207, -0.008582377806305885, -0.022583497688174248, 0.03313976898789406, -0.015347693115472794, 0.08674313127994537, 0.06714480370283127, -0.06744764745235443, 0.022453708574175835, -0.003177156439051032, -0.046594686806201935, 0.013682052493095398, -0.012038042768836021, 0.01251394022256136, -0.004967179615050554, -0.042895667254924774, 0.01780289225280285, -0.0012269231956452131, 0.004729230888187885, -0.0032393475994467735, 0.09024746716022491, -0.031798604875802994, -0.007684662472456694, 0.004331748466938734, 0.03982396423816681, 0.004775198642164469, 0.009599068202078342, -0.0400402806699276, 0.01154051348567009, 0.08293595165014267, -0.0007016783929429948, 0.042874034494161606, 0.0513969250023365, -0.011280933395028114, -0.008095664903521538, -0.016851097345352173, -0.044301725924015045, 0.0007571096066385508, 0.0306521225720644, 0.010410256683826447, 0.03701184317469597, 0.012805968523025513, 0.00805240124464035, -0.05728074908256531, 0.04646489769220352, -0.014666294679045677, -0.04529678449034691, -0.03978070244193077, 0.062082987278699875, 0.01997687853872776, -0.06320783495903015, 0.019619954749941826, 0.026477204635739326, -0.05896802246570587, 0.021793941035866737, 0.014633847400546074, -0.0007449417607858777, 0.02690983936190605, 0.045166995376348495, -0.01134582795202732, -0.04239813610911369, -0.004066760186105967, 0.005505268462002277, 0.002890536328777671, -0.07752802222967148, 0.025828253477811813, -0.015207087621092796, -0.008133520372211933, 0.005402517970651388, -0.014677110128104687, 0.05386294052004814, 0.020658276975154877, -0.04140308126807213, 0.014331003651022911, 0.04103533923625946, -0.05338704213500023, 0.020777251571416855, -0.0510508194565773, 0.055204104632139206, 0.018311236053705215, -0.016732122749090195, -0.07822024077177048, -0.0008659441373310983, -0.004932028241455555, 0.04663795232772827, 0.001723776338621974, 0.021610071882605553, 0.037422847002744675, 0.016137249767780304, -0.015347693115472794, -0.005329510662704706, 0.030543964356184006, 0.0019008859526365995, 0.09344895929098129, -0.005640466697514057, 0.020679907873272896, 0.028056317940354347, -0.004026200622320175, 0.0647653192281723, -0.006586853414773941, -0.05494452640414238, -0.009691002778708935, -0.004026200622320175, -0.08752187341451645, 0.051137346774339676, -0.022140048444271088, 0.020723171532154083, -0.013768578879535198, -0.016861911863088608, -0.029721960425376892, 0.01953342743217945, 0.012492308393120766, -0.013768578879535198, -0.0237948726862669, 0.005781072657555342, -0.011367459781467915, -0.025049511343240738, 0.004404755309224129, -0.019468532875180244, 0.046724479645490646, 0.029873382300138474, 0.06844270974397659, 0.05074797570705414, 0.07475916296243668, -0.04001865163445473, 0.003753100521862507, 0.015920933336019516, 0.01820307783782482, 0.028835060074925423, 0.020820513367652893, -0.014374266378581524, 0.03789874538779259, 0.04209529235959053, -0.02732084132730961, -0.0038369232788681984, -0.027364104986190796, 0.07545138150453568, 0.006181259173899889, -0.06359720975160599, 0.03467562049627304, -0.025763358920812607, -0.07064913958311081, 0.022778183221817017, -0.054511889815330505, -0.03365892916917801, -0.01701333373785019, 0.012827600352466106, 0.031452495604753494, -0.0356057845056057, -0.0005100350244902074, -0.05948718264698982, 0.01982545666396618, 0.028575479984283447, 0.04241976886987686, -0.09016093611717224, 0.01639683172106743, 0.019749745726585388, 0.01007496565580368, 0.021783124655485153, -0.03156065568327904, -0.046594686806201935, 0.0701732411980629, 0.008376876823604107, 0.0040802801959216595, 0.07354778796434402, 0.05507431551814079, -0.04233324155211449, -0.02340550348162651, 0.03571394085884094, -0.0520891398191452, 0.006316457409411669, 0.008376876823604107, 0.031430862843990326, -0.008977157063782215, 0.04529678449034691, 0.07315842062234879, -0.028575479984283447, 0.07597053796052933, -0.013411656022071838, -0.03173370659351349, 0.09215105324983597, -0.0003009848587680608, 0.018008392304182053, -0.02690983936190605, -0.005721585359424353, -0.0644192099571228, 0.05533389747142792, 0.007960466668009758, -0.03467562049627304, 0.021566808223724365, -0.020582566037774086, -0.04849827662110329, 0.015564010478556156, 0.03365892916917801, -0.022302286699414253, -0.028424058109521866, -0.007192541379481554, -0.008436364121735096, 0.02939748391509056, 0.044150304049253464, -0.015964196994900703, 0.04099207744002342, 0.026671890169382095, -0.007733333855867386, -0.020030956715345383, -0.035865362733602524, 0.07060588151216507, -0.012957390397787094, -0.012805968523025513, -0.029851749539375305, 0.03891543298959732, 0.025114407762885094, 0.015228718519210815, 0.008841958828270435, -0.010518415831029415, 0.020128300413489342, 0.01812736690044403, 0.08972830325365067, 0.03348587453365326, 0.008095664903521538, -0.007051934953778982 ]
719,812
ibm_platform_services.ibm_cloud_shell_v1
__init__
Construct a new client for the IBM Cloud Shell service. :param Authenticator authenticator: The authenticator specifies the authentication mechanism. Get up to date information from https://github.com/IBM/python-sdk-core/blob/master/README.md about initializing the authenticator of your choice.
def __init__( self, authenticator: Authenticator = None, ) -> None: """ Construct a new client for the IBM Cloud Shell service. :param Authenticator authenticator: The authenticator specifies the authentication mechanism. Get up to date information from https://github.com/IBM/python-sdk-core/blob/master/README.md about initializing the authenticator of your choice. """ BaseService.__init__(self, service_url=self.DEFAULT_SERVICE_URL, authenticator=authenticator)
(self, authenticator: Optional[ibm_cloud_sdk_core.authenticators.authenticator.Authenticator] = None) -> NoneType
[ -0.009553279727697372, -0.0810161828994751, -0.008428560569882393, -0.023405078798532486, 0.008351150900125504, -0.006320281885564327, 0.014425543136894703, 0.046300165355205536, -0.001525428262539208, -0.009453102014958858, 0.007954995147883892, 0.025973262265324593, -0.07016059756278992, -0.008433113805949688, -0.01965298131108284, 0.03407852351665497, 0.006065284833312035, -0.0020684353075921535, -0.0051318141631782055, -0.0912160575389862, 0.052820801734924316, 0.028687158599495888, 0.020472614094614983, 0.03311317786574364, 0.042220212519168854, 0.06017928570508957, -0.014625897631049156, 0.009129801765084267, -0.009872025810182095, -0.02497148886322975, -0.01427072286605835, 0.017977286130189896, -0.015718741342425346, 0.032384615391492844, 0.028177164494991302, -0.03509851172566414, 0.04458804056048393, -0.017767824232578278, -0.0723462849855423, 0.008997750468552113, -0.025845764204859734, -0.0023769361432641745, 0.055115774273872375, -0.02163831517100334, 0.022731158882379532, 0.0293975081294775, 0.03719313070178032, -0.015764277428388596, 0.014862680807709694, 0.00489958468824625, -0.04356805235147476, -0.015063035301864147, 0.005200116895139217, -0.011283615604043007, -0.06149069592356682, 0.03688349202275276, 0.03799454867839813, -0.027557887136936188, -0.11729860305786133, 0.041127368807792664, -0.08261901885271072, -0.01631069928407669, -0.011602361686527729, -0.02298615500330925, -0.006356710102409124, 0.008474095724523067, -0.036628492176532745, 0.026519684121012688, 0.009944882243871689, 0.008943107910454273, 0.02733931876718998, 0.02635575830936432, -0.028705373406410217, -0.040981654077768326, 0.03181998059153557, 0.004740211647003889, -0.004753872286528349, -0.004278029315173626, -0.027721812948584557, -0.025353984907269478, -0.011811823584139347, 0.001762211206369102, 0.01098308339715004, 0.04735657945275307, 0.018177641555666924, -0.004038969986140728, 0.015518386848270893, -0.014771610498428345, -0.005587165709584951, 0.07744622230529785, -0.03835882991552353, -0.017658540979027748, -0.002552246442064643, 0.036810632795095444, 0.015964630991220474, -0.012312711216509342, -0.01476250309497118, -0.012676992453634739, -0.010281842201948166, 0.03726598620414734, 0.004410081543028355, 0.006720991339534521, 0.038978107273578644, -0.020581897348165512, 0.0187422763556242, -0.014389114454388618, -0.011329150758683681, 0.005819395184516907, -0.004191512707620859, 0.01731247268617153, 0.011320044286549091, 0.03152855485677719, -0.02096439339220524, 0.005546184256672859, 0.00598332192748785, 0.03963381424546242, 0.05675503984093666, 0.020217616111040115, 0.04069023206830025, 0.0219479538500309, -0.05759288743138313, -0.07245557010173798, 0.03358674421906471, -0.020181188359856606, 0.01618320122361183, 0.01652016118168831, -0.002358722034841776, 0.006566172000020742, -0.01731247268617153, 0.00815079640597105, 0.06895846873521805, -0.052820801734924316, 0.0011093507055193186, -0.006848489865660667, 0.0437137670814991, -0.020417971536517143, 0.024807563051581383, 0.042147357016801834, -0.02398792840540409, 0.11372864991426468, -0.005946893710643053, 0.011338258162140846, -0.06695491820573807, 0.042147357016801834, -0.04174664616584778, 0.03688349202275276, 0.009571493603289127, -0.0059059117920696735, -0.010591480880975723, 0.007249199785292149, -0.03686527535319328, -0.006028857082128525, 0.020017262548208237, -0.007590713445097208, -0.008692664094269276, 0.015837132930755615, -0.0013273502700030804, -0.0650242269039154, 0.003727053990587592, -0.012522172182798386, -0.016966406255960464, -0.024680063128471375, 0.009562386199831963, -0.0542779266834259, -0.012312711216509342, -0.006106266751885414, -0.028741801157593727, -0.039888810366392136, -0.032384615391492844, 0.010810050182044506, -0.014480184763669968, -0.028177164494991302, -0.06932274997234344, -0.04670087248086929, 0.061672840267419815, 0.021110106259584427, 0.05460577830672264, 0.008301062509417534, -0.01469875406473875, 0.021146534010767937, -0.022294020280241966, 0.0020695736166089773, -0.02941572107374668, -0.014325365424156189, 0.022239377722144127, -0.014389114454388618, 0.07037916034460068, 0.04487946629524231, 0.04600873962044716, 0.004544410388916731, -0.01473518181592226, 0.032275330275297165, 0.035626720637083054, 0.0239332877099514, 0.012221640907227993, -0.0305267795920372, 0.0010103116510435939, -0.020326901227235794, -0.029907502233982086, 0.02409721352159977, -0.04954226687550545, 0.09201747924089432, 0.02735753171145916, -0.013068594969809055, 0.08167188614606857, -0.00986291840672493, -0.0241154283285141, -0.015645885840058327, -0.049797266721725464, -0.03293103724718094, -0.058357879519462585, -0.02642861381173134, -0.018186748027801514, -0.009252747520804405, -0.024516137316823006, 0.007376697845757008, 0.04287591949105263, -0.015791598707437515, -0.00020320070325396955, 0.01632891222834587, 0.06546136736869812, 0.03686527535319328, 0.02298615500330925, -0.04444232955574989, -0.018186748027801514, 0.032166045159101486, 0.02313186787068844, -0.038978107273578644, -0.044333044439554214, -0.0023131868802011013, -0.003585894824936986, -0.004426018800586462, -0.0026319329626858234, 0.042183782905340195, -0.017840681597590446, -0.09245461225509644, -0.002086649416014552, -0.014999286271631718, -0.06640850007534027, 0.0027230032719671726, 0.014043047092854977, 0.07970476895570755, 0.0393788181245327, 0.05901358276605606, -0.06932274997234344, -0.0021333228796720505, -0.034570302814245224, 0.026683611795306206, 0.01032737735658884, 0.03610028699040413, -0.025608981028199196, -0.0631299614906311, -0.01983512192964554, -0.030016785487532616, -0.014971964992582798, -0.015399995259940624, -0.056062906980514526, -0.020509041845798492, 0.022385090589523315, 0.018851561471819878, -0.010536839254200459, 0.0070579517632722855, -0.020181188359856606, 0.06651777774095535, 0.004193789325654507, 0.014516613446176052, 0.015245175920426846, 0.006479654926806688, 0.07839335501194, 0.025845764204859734, 0.14629539847373962, 0.024771133437752724, 0.02089153788983822, 0.007536071352660656, -0.01147486362606287, -0.03854097053408623, -0.02174759842455387, -0.005992428865283728, -0.07176343351602554, -0.046555161476135254, 0.03045392408967018, 0.006812062114477158, 0.026610754430294037, 0.016073916107416153, -0.022039024159312248, -0.02081868052482605, 0.012640563771128654, -0.03803097829222679, -0.027758240699768066, -0.0013444259529933333, -0.0034310752525925636, 0.05489720404148102, 0.004123209975659847, -0.042147357016801834, 0.0047493185847997665, 0.0049223522655665874, -0.05478791892528534, -0.057228606194257736, -0.022093666717410088, -0.05041654407978058, -0.012294496409595013, -0.0032717022113502026, -0.04014381021261215, 0.023787574842572212, -0.026628969237208366, -0.019489053636789322, -0.02826823480427265, 0.029033226892352104, -0.0482308566570282, 0.01302305981516838, 0.018979059532284737, 0.024862203747034073, -0.04691944271326065, -0.05591719225049019, 0.02426113933324814, 0.06724634021520615, 0.055115774273872375, -0.047320153564214706, 0.0217658132314682, 0.03611849993467331, -0.054095786064863205, -0.01626516319811344, -0.03267604112625122, 0.016620337963104248, -0.00150493741966784, -0.01482625212520361, -0.001318243215791881, 0.046300165355205536, 0.008970429189503193, 0.029324650764465332, -0.04225664213299751, 0.061563555151224136, -0.003927408717572689, -0.01312323659658432, 0.006156355608254671, -0.08050618320703506, 0.010345591232180595, -0.03854097053408623, -0.07263770699501038, -0.05453292280435562, 0.04604516550898552, -0.03160141035914421, -0.014753395691514015, 0.005272972863167524, -0.017103010788559914, -0.0012886454351246357, 0.03469780087471008, -0.08225473761558533, 0.00045563632738776505, -0.10637016594409943, -0.00761803425848484, 0.01864209957420826, 0.006520636845380068, 0.04287591949105263, 0.025353984907269478, 0.02205723710358143, -0.03606385737657547, -0.008487756364047527, 0.01048219669610262, -0.046555161476135254, 0.047611575573682785, 0.01312323659658432, 0.014225187711417675, 0.028905726969242096, -0.08939465135335922, -0.048667993396520615, 0.032220687717199326, -0.0185601357370615, 0.06269282847642899, 0.058649301528930664, 0.025809336453676224, -0.08006905019283295, 0.04069023206830025, -0.007695444393903017, -0.02196616679430008, 0.017804251983761787, -0.027685385197401047, -0.04906870424747467, -0.05099939554929733, 0.044150903820991516, 0.00435771606862545, 0.04608159512281418, 0.0034083076752722263, 0.022202949970960617, -0.006534297484904528, -0.014125010930001736, -0.02192973904311657, 0.03196569159626961, 0.03679241985082626, 0.02713896334171295, -0.037557411938905716, -0.02061832696199417, 0.005250205285847187, 0.007923119701445103, 0.0414552204310894, -0.015645885840058327, -0.0527479462325573, -0.01255860086530447, 0.016802478581666946, -0.01985333487391472, 0.039779528975486755, 0.009289175271987915, 0.10622445493936539, -0.011456649750471115, -0.0012374183861538768, 0.005814841482788324, 0.0036519209388643503, -0.04509803652763367, 0.022330448031425476, 0.0119666438549757, -0.003727053990587592, -0.0047675324603915215, -0.031146058812737465, -0.027831098064780235, -0.037666697055101395, -0.014125010930001736, -0.09150748699903488, 0.03187461942434311, -0.011274509131908417, -0.006629921030253172, -0.019051916897296906, 0.0019397983560338616, -0.005086279008537531, 0.03894168138504028, -0.018141213804483414, 0.05209223926067352, 0.013687873259186745, 0.015390888787806034, 0.01652016118168831, -0.0829104408621788, 0.03402388095855713, 0.0671006292104721, 0.02300436981022358, -0.029015012085437775, -0.0087837353348732, 0.05449649691581726, -0.044333044439554214, -0.0082418667152524, 0.020946180447936058, 0.0012613242724910378, -0.04152807965874672, -0.055261485278606415, -0.013469303958117962, -0.03686527535319328, 0.010190771892666817, 0.004585391841828823, -0.047465864568948746, 0.012959309853613377, 0.05242009088397026, 0.010864692740142345, 0.04502518102526665, -0.027011465281248093, 0.022712944075465202, -0.04276663437485695, 0.000772390398196876, -0.05223795026540756, 0.0006249702419154346, 0.06928631663322449, -0.003481163876131177, -0.005869484040886164, 0.000630092981737107, -0.01862388662993908, 0.019088344648480415, -0.041163794696331024, 0.03509851172566414, 0.012749848887324333, 0.02092796564102173, 0.04600873962044716, -0.032475683838129044, -0.0014582639560103416, -0.00442146509885788, 0.02511720173060894, 0.0368470624089241, 0.0702698826789856, 0.016192307695746422, 0.048740848898887634, 0.04280306398868561, -0.05223795026540756, -0.06961417198181152, 0.020363328978419304, -0.00549154169857502, -0.003164694644510746, -0.011793609708547592, 0.0022983879316598177, -0.06549779325723648, -0.0008293093414977193, 0.004412358161062002, -0.020581897348165512, 0.08822894841432571, -0.055370770394802094, -0.002918804530054331, 0.11882858723402023, -0.031127844005823135, 0.03462494537234306, 0.05926858261227608, -0.014434649609029293, 0.024333996698260307, 0.024406852200627327, 0.05140010267496109, 0.04684658721089363, -0.02967071905732155, -0.003460673149675131, 0.01979869417846203, -0.02637397311627865, 0.0653885081410408, -0.021510815247893333, -0.0636763870716095, 0.0005213777185417712, 0.0061836764216423035, -0.006261086091399193, 0.032384615391492844, -0.02298615500330925, 0.010035952553153038, -0.04939655587077141, -0.0414552204310894, 0.0012795383809134364, -0.07249199599027634, 0.007608927320688963, -0.049870122224092484, 0.00043770685442723334, -0.009899347089231014, -0.01972583681344986, -0.04688301309943199, 0.0010973976459354162, -0.011984857730567455, -0.03181998059153557, 0.005687342956662178, -0.04247520864009857, 0.0007877585012465715, 0.014443757012486458, -0.003585894824936986, -0.005477881524711847, -0.020436186343431473, -0.016620337963104248, -0.018031928688287735, 0.035408150404691696, -0.11256294697523117, -0.030344638973474503, 0.01961655169725418, -0.08130760490894318, 0.023587219417095184, 0.04130950942635536, -0.004990654997527599, -0.005787520669400692, -0.04568088427186012, -0.007772854063659906, -0.04291234537959099, -0.0069532208144664764, -0.03752098232507706, 0.012850025668740273, 0.04600873962044716, -0.032311759889125824, -0.028067881241440773, 0.016674980521202087, -0.07274699211120605, 0.011784503236413002, 0.048558708280324936, -0.03615492582321167, 0.02721181884407997, -0.0017815636238083243, 0.0285414457321167, 0.04018023610115051, -0.040945228189229965, -0.0004983255639672279, 0.04123665392398834, 0.004168745130300522, 0.007062505465000868, 0.012221640907227993, -0.04812157154083252, 0.0119666438549757, 0.012358246371150017, -0.030781777575612068, 0.04156450554728508, 0.09901168197393417, -0.055334340780973434, 0.044333044439554214, 0.039815954864025116, 0.02848680503666401, 0.03145569935441017, -0.018906204029917717, 0.007449554279446602, 0.009225426241755486, -0.033477459102869034, -0.055334340780973434, -0.034333519637584686, 0.009198104962706566, -0.02300436981022358, -0.04946941137313843, -0.04047166183590889, -0.025845764204859734, -0.046518731862306595, -0.026865752413868904, 0.0004897877224721014, -0.016001060605049133, -0.06203712150454521, 0.004328118171542883, 0.025991477072238922, -0.00919355172663927, 0.012604136019945145, 0.04458804056048393, -0.02748502977192402, 0.058394305408000946, 0.001643819734454155, 0.043240200728178024, 0.05373150482773781, 0.004241601563990116, -0.07081630080938339, -0.027849311009049416, -0.05110867694020271, 0.0326031856238842, -0.004986101295799017, -0.006425012834370136, -0.009525958448648453, 0.007932227104902267, -0.005860376637428999, 0.02839573472738266, 0.01414322480559349, 0.008009636774659157, 0.05752003192901611, 0.004667355213314295, 0.03362317010760307, -0.0029028672724962234, -0.004359992686659098, 0.03291282430291176, -0.058540020138025284, 0.020235830917954445, 0.022221164777874947, -0.007262859959155321, -0.021201176568865776, -0.0016415430000051856, 0.014061261899769306, 0.023277580738067627, 0.008301062509417534, 0.017257830128073692, 0.04939655587077141, 0.024425067007541656, 0.00924364011734724, 0.011283615604043007, 0.03367781266570091, 0.01956191100180149, -0.0016187754226848483, -0.025445055216550827, 0.029980357736349106, 0.0019363831961527467, -0.011902893893420696, -0.01751282811164856, -0.009844704531133175, -0.026465043425559998, 0.033149607479572296, 0.0008241866598837078, -0.04072665795683861, 0.06750134378671646, 0.015472851693630219, 0.0030622403137385845, -0.048740848898887634, -0.08247330784797668, -0.021565457805991173, 0.049687981605529785, 0.00812347512692213, -0.012431101873517036, -0.015791598707437515, 0.050707969814538956, 0.01358769554644823, 0.05431435629725456, -0.0056235939264297485, -0.05908644199371338, 0.055225059390068054, -0.042985204607248306, 0.03079999051988125, 0.04258449375629425, 0.044223759323358536, 0.026465043425559998, -0.005833055824041367, 0.024443281814455986, -0.002975723473355174, -0.0066026002168655396, 0.021000821143388748, -0.028778228908777237, 0.08305615931749344, 0.024625422433018684, -0.05435078218579292, -0.01476250309497118, -0.02402435801923275, 0.03047213703393936, -0.014188759960234165, -0.044333044439554214, 0.05252937600016594, 0.018368888646364212, -0.06407709419727325, -0.07868477702140808, -0.022549018263816833, 0.034351736307144165, 0.01085558533668518, -0.010309163480997086, -0.024406852200627327, 0.07081630080938339, -0.035608503967523575, -0.11511291563510895, 0.03056320734322071, 0.03528065234422684, 0.0642228052020073, -0.024497922509908676, -0.030016785487532616, 0.03353210166096687, -0.002727556973695755, 0.024916846305131912, 0.016893548890948296, -0.02948857843875885, 0.05110867694020271, -0.001799777732230723, 0.04185593128204346, 0.024516137316823006, 0.026483256369829178, -0.016073916107416153, 0.0009698991780169308, 0.02502613142132759, -0.05996071547269821, 0.03172890841960907, -0.009972202591598034, -0.027084320783615112, 0.00991756096482277, 0.0009249331778846681, 0.06192783638834953, -0.02497148886322975, 0.08196330815553665, 0.005582612007856369, -0.0693591758608818, 0.021182961761951447, 0.003094115061685443, 0.041090939193964005, -0.03274889662861824, -0.029834644868969917, -0.05912286788225174, 0.07759193331003189, 0.023769360035657883, -0.03733884170651436, 0.02302258275449276, 0.0054141320288181305, 0.015828026458621025, 0.010791836306452751, 0.007048844825476408, -0.01482625212520361, 0.003421968314796686, 0.013833585195243359, 0.014871787279844284, 0.029233580455183983, 0.041127368807792664, -0.046555161476135254, 0.023350436240434647, 0.038795966655015945, -0.02504434436559677, -0.012804490514099598, -0.06578921526670456, 0.056390758603811264, -0.028122523799538612, -0.03404209390282631, -0.026902180165052414, 0.03637349605560303, 0.008414899930357933, -0.0104548754170537, -0.017148546874523163, -0.04065380245447159, 0.047575149685144424, -0.04178307577967644, 0.04345877096056938, 0.02622826024889946, 0.030253568664193153, -0.002718449803069234 ]
719,821
ibm_platform_services.ibm_cloud_shell_v1
get_account_settings
Get account settings. Retrieve account settings for the given account ID. Call this method to get details about a particular account setting, whether Cloud Shell is enabled, the list of enabled regions and the list of enabled features. Users need to be an account owner or users need to be assigned an IAM policy with the Administrator role for the Cloud Shell account management service. :param str account_id: The account ID in which the account settings belong to. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse with `dict` result representing a `AccountSettings` object
def get_account_settings(self, account_id: str, **kwargs) -> DetailedResponse: """ Get account settings. Retrieve account settings for the given account ID. Call this method to get details about a particular account setting, whether Cloud Shell is enabled, the list of enabled regions and the list of enabled features. Users need to be an account owner or users need to be assigned an IAM policy with the Administrator role for the Cloud Shell account management service. :param str account_id: The account ID in which the account settings belong to. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse with `dict` result representing a `AccountSettings` object """ if account_id is None: raise ValueError('account_id must be provided') headers = {} sdk_headers = get_sdk_headers( service_name=self.DEFAULT_SERVICE_NAME, service_version='V1', operation_id='get_account_settings' ) headers.update(sdk_headers) if 'headers' in kwargs: headers.update(kwargs.get('headers')) headers['Accept'] = 'application/json' path_param_keys = ['account_id'] path_param_values = self.encode_path_vars(account_id) path_param_dict = dict(zip(path_param_keys, path_param_values)) url = '/api/v1/user/accounts/{account_id}/settings'.format(**path_param_dict) request = self.prepare_request(method='GET', url=url, headers=headers) response = self.send(request) return response
(self, account_id: str, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
[ -0.04865701124072075, -0.02497071772813797, -0.003886327613145113, -0.025764038786292076, 0.035208333283662796, 0.033073924481868744, -0.043670423328876495, -0.03277170658111572, -0.013146459124982357, -0.016574738547205925, 0.021098555997014046, -0.015091984532773495, -0.012296472676098347, -0.03694608435034752, -0.018274711444973946, 0.015214759856462479, 0.016130857169628143, 0.018293600529432297, 0.03989270329475403, -0.010039285756647587, 0.04892145097255707, 0.0022548255510628223, 0.017396392300724983, 0.03962826356291771, 0.03836272656917572, 0.0030835624784231186, 0.024857385084033012, -0.0098692886531353, 0.02128744125366211, 0.03734274581074715, -0.02342185191810131, 0.014251441694796085, -0.023497406393289566, 0.060179051011800766, -0.036889418959617615, -0.03891049697995186, 0.03356502577662468, 0.0819009318947792, -0.10056285560131073, 0.027161793783307076, -0.0959540382027626, 0.034226126968860626, 0.10962938517332077, -0.032809481024742126, -0.012438137084245682, -0.031090620905160904, 0.0204374548047781, 0.008627363480627537, -0.038721609860658646, -0.011635372415184975, 0.0832609087228775, 0.025707371532917023, -0.04695703834295273, -0.012202030047774315, 0.0005430469755083323, -0.03354613855481148, -0.028144000098109245, -0.042385999113321304, -0.01529975887387991, -0.0011114755179733038, -0.009548182599246502, -0.02028634585440159, -0.018992478027939796, -0.05096141993999481, -0.009812623262405396, -0.03173283115029335, -0.06527896970510483, -0.0081079276278615, 0.02073967270553112, -0.004575761035084724, -0.005321860313415527, 0.0022949636913836002, 0.021627437323331833, -0.01606474630534649, -0.037286076694726944, -0.029258428141474724, 0.010596499778330326, 0.009647347964346409, -0.03373502194881439, 0.018010271713137627, -0.036473870277404785, 0.0017023342661559582, 0.0005521961720660329, 0.023384075611829758, 0.008806805126369, -0.0008954372606240213, -0.022515200078487396, -0.05655243992805481, 0.048468124121427536, 0.004412847105413675, -0.002175729488953948, -0.015753084793686867, 0.0022371173836290836, 0.01779305189847946, 0.025915145874023438, 0.002453155815601349, 0.01360922958701849, -0.008244870230555534, -0.0691700205206871, 0.030542852357029915, -0.06410787999629974, -0.049148112535476685, 0.03337613865733147, 0.0011061631375923753, 0.05092364177107811, -0.03311169892549515, -0.0031520335469394922, -0.0034070296678692102, 0.017840273678302765, 0.013155903667211533, -0.011739259585738182, 0.010690942406654358, -0.009812623262405396, -0.028408439829945564, 0.06021682918071747, 0.01733972690999508, -0.04064824804663658, -0.016820291057229042, 0.006077404133975506, -0.01960635744035244, 0.023761847987771034, 0.026991795748472214, 0.036889418959617615, 0.016187522560358047, 0.019568579271435738, 0.05387026071548462, -0.031147286295890808, 0.01635752059519291, 0.01777416467666626, 0.045937053859233856, -0.05738353729248047, -0.0338672436773777, -0.044803738594055176, -0.019851909950375557, 0.07653657346963882, 0.014515882357954979, 0.030693959444761276, 0.030505074188113213, 0.002043509390205145, 0.05938572809100151, -0.007470437791198492, 0.02820066548883915, 0.008702917955815792, -0.0211363323032856, -0.023894067853689194, -0.028993986546993256, 0.0635412186384201, -0.01382644847035408, -0.029107319191098213, -0.028540661558508873, 0.010039285756647587, 0.01733028143644333, -0.02553737536072731, -0.006058515515178442, -0.07970985025167465, 0.008717084303498268, 0.03921271488070488, 0.003952437546104193, 0.041554901748895645, -0.024895163252949715, -0.06221901997923851, 0.08069206029176712, 0.026009589433670044, -0.05783686414361, 0.01920025236904621, -0.02172187902033329, -0.03214837983250618, -0.06648784130811691, 0.02595292404294014, -0.029843972995877266, 0.005317138507962227, -0.041554901748895645, -0.03394279628992081, 0.00549658015370369, -0.059725724160671234, 0.014827543869614601, 0.028427328914403915, -0.056212447583675385, -0.03571832552552223, 0.025424042716622353, 0.00754126999527216, -0.045899275690317154, -0.011389819905161858, 0.02157077006995678, 0.034755006432533264, -0.0197385773062706, 0.04185711592435837, 0.04911033809185028, -0.030259521678090096, 0.009666236117482185, 0.016536962240934372, -0.011465374380350113, 0.03819273039698601, -0.021948542445898056, -0.04673037305474281, -0.07551658898591995, 0.030693959444761276, -0.10562500357627869, -0.03088284656405449, -0.028238443657755852, 0.0015429618069902062, -0.03339502960443497, 0.02327074483036995, 0.042839325964450836, 0.061727914959192276, -0.014723656699061394, 0.04540817067027092, -0.050016988068819046, -0.015167538076639175, 0.049714770168066025, -0.027312902733683586, -0.01213591918349266, -0.026349583640694618, -0.008721807040274143, -0.019984129816293716, 0.023025192320346832, 0.037588294595479965, 0.004873256664723158, 0.040119368582963943, -0.030297299847006798, 0.028748435899615288, -0.037286076694726944, 0.006459898315370083, -0.015573643147945404, 0.0020871893502771854, -0.000270785647444427, 0.01530920248478651, -0.03483056277036667, -0.03794717788696289, -0.022515200078487396, 0.03875938802957535, 0.023176301270723343, -0.03993048146367073, 0.00314022833481431, -0.0023480879608541727, -0.020626341924071312, 0.024158507585525513, -0.0678100436925888, 0.0437459759414196, -0.008962636813521385, 0.010360391810536385, 0.04544594883918762, 0.04355708882212639, 0.06021682918071747, -0.0973895713686943, -0.013495897874236107, -0.040988240391016006, 0.03190283104777336, 0.008221259340643883, -0.07604546844959259, 0.037607185542583466, -0.06527896970510483, -0.019700800999999046, 0.044765960425138474, -0.03337613865733147, -0.06010349467396736, 0.007309884764254093, -0.035227220505476, -0.00002143412348232232, -0.03981715068221092, 0.0030599518213421106, -0.014053111895918846, -0.01736805960536003, -0.02723734825849533, 0.04446374252438545, 0.0002787542762234807, 0.007668768055737019, 0.036152761429548264, 0.01723583973944187, 0.03059951774775982, 0.06104792654514313, 0.06826336681842804, -0.006228512618690729, 0.012079253792762756, -0.04242377355694771, 0.033055033534765244, 0.04597483202815056, 0.003985492512583733, -0.036473870277404785, 0.003178005339577794, -0.04710814729332924, -0.05016809701919556, -0.008802083320915699, 0.010624832473695278, 0.0395149327814579, -0.06278567761182785, 0.02017301507294178, 0.02412073127925396, -0.000264882983174175, 0.053945817053318024, 0.00790959782898426, 0.002022259868681431, -0.060859039425849915, -0.028144000098109245, -0.004457707516849041, 0.009264853782951832, -0.011030936613678932, -0.051263634115457535, 0.048165906220674515, 0.015139205381274223, 0.0004548018623609096, 0.006620450876653194, -0.036757197231054306, 0.010558722540736198, 0.019568579271435738, 0.009288464672863483, 0.05383248254656792, 0.0015394201036542654, 0.03226171433925629, 0.049563661217689514, -0.0211741104722023, -0.036190539598464966, 0.019219141453504562, 0.039854925125837326, -0.03741829842329025, -0.04363264515995979, 0.02582070417702198, 0.010775941424071789, 0.00656378548592329, 0.07540325820446014, -0.08870082348585129, 0.009142077527940273, 0.018010271713137627, -0.023497406393289566, 0.0621056854724884, 0.012995350174605846, 0.025707371532917023, 0.050848085433244705, 0.02920176088809967, 0.027256237342953682, -0.05130141228437424, -0.010917605832219124, -0.0041318791918456554, 0.00024968356592580676, -0.015479200519621372, -0.03798495605587959, 0.021192999556660652, 0.02285519428551197, 0.0022949636913836002, 0.05840352177619934, 0.031940605491399765, -0.03554832935333252, 0.009099578484892845, -0.016414185985922813, -0.004568677861243486, 0.008580142632126808, 0.08446978032588959, -0.0025570429861545563, -0.00430659856647253, -0.019436359405517578, 0.03556721657514572, -0.018869701772928238, 0.03341391682624817, 0.043217096477746964, 0.021079666912555695, -0.03566166013479233, -0.019663022831082344, 0.03624720498919487, -0.029579533264040947, 0.0014178248820826411, -0.020834116265177727, -0.045370396226644516, 0.005676021333783865, 0.03917493671178818, -0.008518754504621029, -0.03558610379695892, -0.03354613855481148, -0.008093761280179024, 0.10078952461481094, -0.06822559237480164, 0.022968526929616928, -0.0009704013355076313, 0.025594040751457214, -0.044954847544431686, 0.025046272203326225, 0.06195457652211189, -0.10366058349609375, -0.011446486227214336, -0.021249664947390556, 0.07381661236286163, 0.0846208855509758, 0.00020083884010091424, -0.0056051891297101974, 0.03709719330072403, 0.005350193474441767, -0.01623474434018135, -0.01849193125963211, -0.0451815091073513, -0.007989874109625816, -0.0013198403175920248, -0.004049241542816162, 0.04064824804663658, -0.02410184219479561, 0.026311807334423065, -0.020796338096261024, 0.021929653361439705, -0.022175205871462822, -0.0007626268779858947, 0.014128666371107101, -0.0022595475893467665, 0.013571452349424362, -0.04185711592435837, 0.060859039425849915, 0.0211741104722023, -0.004155490081757307, -0.023365186527371407, -0.0102376164868474, -0.013420343399047852, 0.01036983635276556, 0.010313170962035656, -0.024082953110337257, -0.030259521678090096, 0.0105681661516428, -0.013533675111830235, -0.012598690576851368, 0.01845415309071541, -0.05300138518214226, 0.04385930672287941, -0.026689579710364342, -0.017963049933314323, 0.021532993763685226, -0.05572134256362915, -0.043783754110336304, 0.008580142632126808, 0.0017873329343274236, -0.0034141128417104483, -0.00653073051944375, 0.04034603014588356, 0.03932604566216469, -0.03853272646665573, 0.05723243206739426, 0.005883796140551567, -0.01008650753647089, -0.04684370383620262, 0.01678251288831234, 0.029163984581828117, 0.01638585329055786, -0.013552564196288586, 0.008004040457308292, -0.008995691314339638, -0.0028167611453682184, 0.028842877596616745, -0.030863957479596138, -0.04854367673397064, -0.00945846177637577, 0.013524231500923634, -0.014034222811460495, -0.00653073051944375, 0.017037509009242058, -0.01748139038681984, -0.002616069745272398, 0.05455024912953377, 0.014072000049054623, -0.04049713909626007, -0.022401869297027588, -0.0451437309384346, -0.03756940737366676, 0.01424199715256691, -0.007522381376475096, 0.02396962232887745, 0.04023269936442375, -0.0634656623005867, -0.05228361859917641, 0.01015261746942997, 0.04869478568434715, 0.029277315363287926, 0.030542852357029915, 0.06611006706953049, -0.03352724760770798, -0.017462503165006638, -0.009666236117482185, 0.00373994093388319, -0.06267234683036804, 0.04159267619252205, 0.049412552267313004, 0.015601975843310356, -0.008405422791838646, 0.015724752098321915, -0.05825241282582283, -0.01821804605424404, -0.004925200249999762, 0.03891049697995186, -0.0008918956737034023, -0.02442294731736183, 0.022685198113322258, -0.07162553817033768, 0.02738845720887184, 0.04673037305474281, -0.03681386262178421, -0.009656792506575584, 0.03411279618740082, -0.02272297441959381, -0.0719655305147171, 0.03075062669813633, -0.06267234683036804, -0.040421582758426666, 0.016527516767382622, -0.0026207920163869858, 0.03471722826361656, -0.006625173147767782, 0.0039713261649012566, -0.059763502329587936, 0.026595136150717735, 0.0068140593357384205, -0.007564880419522524, 0.04642815515398979, -0.08250536769628525, 0.06289900839328766, 0.023346297442913055, -0.021098555997014046, -0.011928144842386246, 0.03921271488070488, -0.07309884577989578, -0.040837135165929794, 0.01354311965405941, 0.023365186527371407, -0.01580030657351017, 0.028408439829945564, -0.046881482005119324, -0.022099651396274567, -0.0288995448499918, 0.02102300152182579, 0.027407346293330193, 0.0465414896607399, 0.02848399430513382, 0.07634768635034561, -0.05065920203924179, -0.053379159420728683, -0.024158507585525513, -0.0023480879608541727, 0.009222354739904404, -0.013174791820347309, -0.01846359670162201, -0.026878464967012405, 0.020343013107776642, -0.03205393999814987, -0.09194966405630112, -0.015205315314233303, -0.02566959522664547, 0.05326582491397858, 0.021079666912555695, -0.05039476230740547, -0.02104189060628414, -0.035321664065122604, -0.06138791888952255, -0.042234890162944794, 0.0102376164868474, 0.006441009696573019, 0.031033955514431, -0.012504247017204762, 0.05511690676212311, -0.05016809701919556, 0.09142077714204788, 0.04544594883918762, -0.06237012892961502, 0.028748435899615288, -0.03860827907919884, -0.06924557685852051, -0.0037729961331933737, -0.03290392458438873, 0.014619769528508186, -0.01803860440850258, -0.02272297441959381, 0.04045936092734337, -0.03898605331778526, -0.002153299283236265, 0.010917605832219124, 0.10622943192720413, -0.023062968626618385, -0.05383248254656792, -0.022968526929616928, 0.054814692586660385, -0.06935890763998032, -0.019795242697000504, -0.04952588677406311, 0.008627363480627537, 0.07547880709171295, -0.005175474099814892, 0.043670423328876495, 0.07850098609924316, -0.035907212644815445, -0.03471722826361656, 0.04571038857102394, -0.014874765649437904, -0.008934303186833858, 0.024611834436655045, 0.02663291245698929, 0.0068896133452653885, 0.05934795364737511, 0.019086921587586403, -0.017953606322407722, 0.05738353729248047, -0.01529975887387991, -0.046881482005119324, -0.002986758481711149, 0.04110157489776611, -0.026689579710364342, -0.06573229283094406, 0.004448262974619865, -0.02710512839257717, -0.04431263357400894, 0.018274711444973946, 0.0017861523665487766, 0.019360804930329323, 0.01256091333925724, 0.043934863060712814, 0.02861621603369713, -0.01791582815349102, 0.008381811901926994, -0.035756103694438934, -0.02621736377477646, -0.07506325840950012, 0.0507347546517849, -0.005170751828700304, 0.009907065890729427, -0.00824014749377966, -0.0025263489224016666, 0.022779639810323715, 0.0001221855782205239, -0.026689579710364342, 0.030108414590358734, 0.05379470810294151, -0.0423482209444046, 0.056212447583675385, -0.0366627536714077, 0.040421582758426666, 0.05881907045841217, -0.00980317872017622, -0.07238107919692993, 0.0011899812379851937, -0.007319328840821981, 0.057345762848854065, -0.026840686798095703, -0.0068754469975829124, 0.014496993273496628, 0.004863812122493982, -0.005888518411666155, 0.00958595983684063, 0.007834043353796005, -0.01128593273460865, 0.08688751608133316, 0.01523364894092083, -0.009330963715910912, 0.06221901997923851, 0.00025794730754569173, 0.08628308027982712, -0.038872718811035156, -0.0409504659473896, -0.029126206412911415, -0.022892972454428673, -0.07404327392578125, 0.02200520783662796, -0.0493369996547699, 0.004148406907916069, -0.01156926155090332, 0.0008564795716665685, 0.009548182599246502, 0.023648515343666077, -0.02708623930811882, -0.013618674129247665, -0.006785726174712181, -0.006899057887494564, -0.04714592173695564, -0.056476887315511703, 0.022231871262192726, -0.04163045436143875, -0.03898605331778526, 0.043103765696287155, 0.05398359149694443, 0.003029257757589221, 0.08061650395393372, -0.00030487365438602865, -0.02820066548883915, 0.005822408013045788, -0.007059610914438963, 0.04967699572443962, -0.015044762752950191, -0.030221745371818542, 0.014940875582396984, 0.009293186478316784, 0.014931431040167809, -0.03201616182923317, -0.00716349808499217, 0.03777718171477318, -0.003017452312633395, -0.05598578229546547, 0.015422534197568893, -0.036171652376651764, -0.07260774075984955, 0.024234062060713768, -0.030127301812171936, -0.05568356439471245, -0.0049724215641617775, 0.02974953129887581, 0.07986096292734146, -0.03711608052253723, 0.004637149162590504, 0.0029348148964345455, 0.04261266067624092, 0.022099651396274567, 0.004762285854667425, -0.09157188981771469, 0.03214837983250618, 0.007616824470460415, 0.012683688662946224, -0.02481960877776146, 0.014506437815725803, -0.04215933382511139, 0.03509500250220299, 0.021797433495521545, -0.04363264515995979, 0.09890066087245941, 0.03313058987259865, -0.03416946157813072, -0.03879716619849205, 0.03770162910223007, -0.03602054342627525, 0.013930335640907288, 0.014629214070737362, 0.04193267226219177, 0.0036714698653668165, 0.04419930279254913, 0.028238443657755852, 0.0071304431185126305, 0.056514665484428406, 0.036889418959617615, -0.02102300152182579, 0.0986739993095398, -0.02327074483036995, -0.013363678008317947, 0.013665895909070969, -0.03269615024328232, -0.0395527109503746, 0.04741036146879196, -0.0029230094514787197, 0.03033507615327835, 0.0073996055871248245, -0.011928144842386246, -0.02861621603369713, 0.029428424313664436, 0.03925049304962158, 0.025594040751457214, 0.005524912849068642, -0.006771559827029705, -0.010690942406654358, 0.021344108507037163, 0.04586149752140045, 0.02708623930811882, 0.06244568154215813, 0.02085300348699093, 0.02640625089406967, 0.003019813448190689, 0.024026287719607353, 0.03821161761879921, -0.00044506241101771593, -0.009505683556199074, -0.03996825963258743, 0.014308108016848564, 0.0395527109503746, 0.03921271488070488, -0.02540515549480915, -0.009274298325181007, -0.008721807040274143, 0.015186427161097527, 0.05477691441774368, 0.016130857169628143, 0.03543499484658241, -0.007210719399154186 ]
719,833
ibm_platform_services.ibm_cloud_shell_v1
update_account_settings
Update account settings. Update account settings for the given account ID. Call this method to update account settings configuration, you can enable or disable Cloud Shell, enable or disable available regions and enable and disable features. To update account settings, users need to be an account owner or users need to be assigned an IAM policy with the Administrator role for the Cloud Shell account management service. :param str account_id: The account ID in which the account settings belong to. :param str rev: (optional) Unique revision number for the settings object. :param bool default_enable_new_features: (optional) You can choose which Cloud Shell features are available in the account and whether any new features are enabled as they become available. The feature settings apply only to the enabled Cloud Shell locations. :param bool default_enable_new_regions: (optional) Set whether Cloud Shell is enabled in a specific location for the account. The location determines where user and session data are stored. By default, users are routed to the nearest available location. :param bool enabled: (optional) When enabled, Cloud Shell is available to all users in the account. :param List[Feature] features: (optional) List of Cloud Shell features. :param List[RegionSetting] regions: (optional) List of Cloud Shell region settings. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse with `dict` result representing a `AccountSettings` object
def update_account_settings( self, account_id: str, *, rev: str = None, default_enable_new_features: bool = None, default_enable_new_regions: bool = None, enabled: bool = None, features: List['Feature'] = None, regions: List['RegionSetting'] = None, **kwargs ) -> DetailedResponse: """ Update account settings. Update account settings for the given account ID. Call this method to update account settings configuration, you can enable or disable Cloud Shell, enable or disable available regions and enable and disable features. To update account settings, users need to be an account owner or users need to be assigned an IAM policy with the Administrator role for the Cloud Shell account management service. :param str account_id: The account ID in which the account settings belong to. :param str rev: (optional) Unique revision number for the settings object. :param bool default_enable_new_features: (optional) You can choose which Cloud Shell features are available in the account and whether any new features are enabled as they become available. The feature settings apply only to the enabled Cloud Shell locations. :param bool default_enable_new_regions: (optional) Set whether Cloud Shell is enabled in a specific location for the account. The location determines where user and session data are stored. By default, users are routed to the nearest available location. :param bool enabled: (optional) When enabled, Cloud Shell is available to all users in the account. :param List[Feature] features: (optional) List of Cloud Shell features. :param List[RegionSetting] regions: (optional) List of Cloud Shell region settings. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse with `dict` result representing a `AccountSettings` object """ if account_id is None: raise ValueError('account_id must be provided') if features is not None: features = [convert_model(x) for x in features] if regions is not None: regions = [convert_model(x) for x in regions] headers = {} sdk_headers = get_sdk_headers( service_name=self.DEFAULT_SERVICE_NAME, service_version='V1', operation_id='update_account_settings' ) headers.update(sdk_headers) data = { '_rev': rev, 'default_enable_new_features': default_enable_new_features, 'default_enable_new_regions': default_enable_new_regions, 'enabled': enabled, 'features': features, 'regions': regions, } data = {k: v for (k, v) in data.items() if v is not None} data = json.dumps(data) headers['content-type'] = 'application/json' if 'headers' in kwargs: headers.update(kwargs.get('headers')) headers['Accept'] = 'application/json' path_param_keys = ['account_id'] path_param_values = self.encode_path_vars(account_id) path_param_dict = dict(zip(path_param_keys, path_param_values)) url = '/api/v1/user/accounts/{account_id}/settings'.format(**path_param_dict) request = self.prepare_request(method='POST', url=url, headers=headers, data=data) response = self.send(request) return response
(self, account_id: str, *, rev: Optional[str] = None, default_enable_new_features: Optional[bool] = None, default_enable_new_regions: Optional[bool] = None, enabled: Optional[bool] = None, features: Optional[List[ibm_platform_services.ibm_cloud_shell_v1.Feature]] = None, regions: Optional[List[ibm_platform_services.ibm_cloud_shell_v1.RegionSetting]] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
[ -0.015378221869468689, -0.011112070642411709, -0.01913243532180786, 0.010032985359430313, 0.004027748946100473, -0.022866573184728622, -0.05010971799492836, -0.006961355917155743, -0.039449356496334076, 0.015378221869468689, 0.014494878239929676, -0.024733642116189003, -0.018961789086461067, 0.007965155877172947, -0.040152017027139664, -0.017114797607064247, -0.0004128129221498966, 0.017957989126443863, 0.03194092959165573, 0.01260773278772831, 0.03565499186515808, -0.005982650443911552, 0.00015441272989846766, 0.06669250130653381, 0.05255898833274841, -0.010730626061558723, 0.08664805442094803, 0.007533521857112646, -0.007633902132511139, 0.02987309917807579, -0.007187210954725742, -0.0035409058909863234, -0.0315193310379982, 0.044247522950172424, -0.004000144544988871, -0.06745538860559464, 0.007764396257698536, 0.08801321685314178, -0.025295769795775414, -0.00382949854247272, -0.06958344578742981, 0.012497315183281898, 0.07721232622861862, -0.0400315597653389, 0.009857320226728916, 0.02206353284418583, 0.02260558493435383, 0.04790135473012924, -0.022304445505142212, 0.013882559724152088, 0.0717516541481018, -0.043324027210474014, -0.01992543786764145, 0.025335922837257385, 0.007709186989814043, -0.007317705079913139, -0.012567580677568913, -0.04613466560840607, -0.010148421861231327, -0.02971249260008335, -0.008999071083962917, -0.04288235306739807, -0.022585509344935417, -0.030736368149518967, -0.008441961370408535, -0.009134584106504917, -0.040934979915618896, -0.009977775625884533, 0.029170440509915352, -0.008492151275277138, -0.001488134148530662, 0.014494878239929676, 0.00945580005645752, -0.03334625065326691, -0.04324372112751007, 0.04416721686720848, 0.005360294133424759, 0.013872521929442883, -0.027704890817403793, 0.00699648866429925, 0.015809856355190277, -0.02012619748711586, -0.012266441248357296, 0.008482113480567932, 0.0071320016868412495, -0.021481329575181007, -0.04513086751103401, -0.111221082508564, 0.02260558493435383, -0.015237689949572086, 0.007116944994777441, -0.033828072249889374, 0.03129849582910538, -0.036458030343055725, 0.03706030920147896, -0.029029907658696175, 0.029070058837532997, -0.055610541254282, -0.06046893447637558, 0.010610170662403107, -0.04061376303434372, -0.0650462657213211, -0.005395427346229553, 0.00484082754701376, 0.05320142209529877, -0.02804618328809738, -0.021380947902798653, -0.006052916403859854, 0.010921348817646503, -0.0320613831281662, 0.0006681546219624579, -0.028487855568528175, -0.029190516099333763, -0.043886154890060425, 0.04223991930484772, 0.01095146220177412, -0.031238269060850143, -0.0012221270008012652, 0.006845918949693441, -0.004865922499448061, 0.032904576510190964, 0.019011979922652245, -0.008803329430520535, 0.029812872409820557, 0.0233684740960598, 0.014374421909451485, -0.000585341127589345, 0.06874024868011475, -0.023790068924427032, 0.02543630264699459, -0.07512442022562027, -0.018469927832484245, -0.05769844725728035, -0.03579552099108696, 0.07448198646306992, 0.00291854958049953, 0.02949165552854538, 0.012477238662540913, -0.0032447848934680223, -0.01047967653721571, 0.012437086552381516, 0.02933104708790779, 0.021983228623867035, -0.037361450493335724, -0.044448282569646835, -0.018791142851114273, 0.03509286046028137, -0.022565433755517006, -0.04561268910765648, -0.00561626348644495, -0.01834947057068348, 0.024432502686977386, -0.02543630264699459, -0.0024994630366563797, -0.0782562792301178, 0.0075134458020329475, 0.04223991930484772, -0.016462326049804688, 0.03262351453304291, -0.015478602610528469, -0.030957205221056938, 0.07122967392206192, 0.04677709937095642, -0.01598050259053707, 0.062275778502225876, -0.004251094534993172, -0.055610541254282, -0.05898331105709076, 0.019704602658748627, -0.030676139518618584, 0.020557831972837448, -0.02077866904437542, -0.025175314396619797, 0.010740664787590504, -0.04994910955429077, 0.02358930930495262, 0.0030088915955275297, -0.07387971132993698, -0.037582285702228546, 0.008968956768512726, 0.0013099595671519637, -0.012386896647512913, 0.024352198466658592, 0.010133365169167519, 0.022123761475086212, -0.04577329754829407, 0.009706749580800533, 0.04693770781159401, -0.03244283050298691, -0.029250742867588997, 0.0391281396150589, -0.020678289234638214, 0.042199768126010895, -0.03617696836590767, -0.052398379892110825, -0.0608704574406147, -0.007162116002291441, -0.11146199703216553, 0.03186062350869179, -0.012366821058094501, -0.002550907665863633, -0.04938697814941406, 0.04175809770822525, 0.016010615974664688, 0.0590636171400547, 0.004998926073312759, 0.033306095749139786, -0.09226933121681213, 0.043524786829948425, 0.02523554302752018, 0.02489425055682659, 0.007483331952244043, -0.00008885202259989455, -0.01670323871076107, -0.02010612189769745, 0.024251818656921387, 0.04236037656664848, 0.013651685789227486, 0.021762393414974213, -0.014535029418766499, -0.008231163024902344, -0.006354056764394045, 0.00036544608883559704, -0.023087408393621445, 0.03280419856309891, 0.008030403405427933, 0.01047967653721571, -0.020156312733888626, -0.04922637343406677, -0.044608891010284424, 0.008346600458025932, 0.024392349645495415, -0.025677213445305824, -0.022946877405047417, 0.00988241471350193, -0.00039806959102861583, -0.015749627724289894, -0.059304527938365936, 0.04810211434960365, -0.0060579353012144566, 0.012738226912915707, 0.03581559658050537, 0.028628388419747353, 0.016191300004720688, -0.09178750962018967, -0.0001852325367508456, -0.04589375481009483, -0.011563780717551708, 0.0019084755331277847, -0.06914177536964417, 0.04268159344792366, -0.054887805134058, -0.03467126563191414, 0.07271530479192734, -0.023509005084633827, 0.010188573971390724, 0.06259699165821075, -0.016833731904625893, 0.00028953366563655436, -0.025857899338006973, -0.0053803701885044575, -0.05360294133424759, -0.01834947057068348, -0.022324521094560623, 0.06400231271982193, 0.008010326884686947, 0.023428700864315033, 0.019283005967736244, 0.05753783881664276, 0.0369599312543869, 0.04115581512451172, 0.0654076337814331, -0.023488929495215416, 0.023448778316378593, -0.027544282376766205, 0.040934979915618896, 0.04990895465016365, -0.008396790362894535, 0.0014404535759240389, -0.008185992017388344, -0.027745043858885765, -0.07978205382823944, -0.0031770283821970224, 0.02854808419942856, 0.07592746615409851, -0.014374421909451485, -0.021742315962910652, 0.027443902567029, -0.0077393013052642345, 0.04099520668387413, 0.024211665615439415, 0.027885574847459793, -0.032543208450078964, -0.009300210513174534, 0.0007522228988818824, 0.008773215115070343, -0.005435578990727663, -0.018068406730890274, 0.05858179181814194, 0.007453218102455139, 0.010233744978904724, 0.04155733808875084, -0.04119597002863884, -0.015368184074759483, 0.038124337792396545, -0.004065391607582569, 0.053121116012334824, 0.01029899250715971, 0.053121116012334824, 0.08488136529922485, -0.0008883633418008685, -0.045010410249233246, -0.02971249260008335, 0.02320786565542221, -0.01773715391755104, -0.07930023223161697, 0.04029254987835884, -0.021963153034448624, 0.01288879755884409, 0.03119811601936817, -0.08271315693855286, 0.009516027756035328, 0.007960136979818344, -0.01233670674264431, 0.007679073140025139, 0.0032472943421453238, 0.03155948594212532, 0.055730998516082764, -0.01728544384241104, -0.02949165552854538, -0.03196100518107414, -0.020266730338335037, 0.030917052179574966, 0.005179610103368759, -0.06331972777843475, -0.015568944625556469, 0.0360565111041069, -0.00045076911919750273, 0.014936549589037895, 0.10503767430782318, 0.01762673445045948, 0.004735428374260664, 0.006143258418887854, -0.00979207269847393, -0.05733707919716835, -0.003003872698172927, 0.05508856475353241, 0.03003370761871338, -0.009199830703437328, -0.0005006454302929342, -0.00434394646435976, -0.03629742190241814, 0.04713846743106842, 0.027765119448304176, 0.026681015267968178, -0.039810724556446075, 0.01710475981235504, 0.019242852926254272, 0.006865994539111853, -0.05448628589510918, -0.06287805736064911, -0.06661219149827957, 0.03639780357480049, 0.03762244060635567, 0.007734281942248344, -0.02652040682733059, -0.05195670947432518, 0.010991614311933517, 0.06520687788724899, -0.06307882070541382, 0.06211517006158829, -0.00345558300614357, 0.02766473963856697, -0.004000144544988871, 0.04143688082695007, 0.053121116012334824, -0.09756939858198166, -0.004645086359232664, 0.0003572902060113847, 0.019212739542126656, 0.06580915302038193, -0.04167779162526131, 0.016171224415302277, 0.017686963081359863, -0.017586583271622658, 0.0007365385536104441, 0.009782034903764725, -0.047419529408216476, 0.0157596655189991, -0.016010615974664688, -0.02136087231338024, 0.07135013490915298, -0.047419529408216476, 0.0035107918083667755, -0.06147273629903793, 0.050912756472826004, 0.004123110324144363, -0.017305519431829453, 0.005269952118396759, -0.04115581512451172, -0.006820823531597853, -0.03575536981225014, 0.08632683753967285, 0.008918766863644123, 0.015468563884496689, -0.03356708586215973, -0.014364384114742279, 0.01522765215486288, 0.024733642116189003, 0.00788987148553133, -0.037762969732284546, 0.019303081557154655, -0.023830221965909004, 0.00765899708494544, -0.05103321373462677, 0.0020025817211717367, -0.03864631429314613, 0.009385533630847931, -0.018269168213009834, -0.03432997316122055, 0.035153090953826904, -0.008728044107556343, -0.06821827590465546, 0.03704023361206055, -0.03234244883060455, -0.03597620502114296, 0.027182914316654205, 0.00588227016851306, 0.027544282376766205, -0.05179610103368759, 0.04051338508725166, -0.005947517231106758, 0.00765899708494544, -0.009420666843652725, 0.00806051678955555, 0.02766473963856697, 0.0362371951341629, -0.011272678151726723, -0.013280279003083706, -0.002875888254493475, 0.025717366486787796, 0.023107485845685005, -0.03806411102414131, -0.07709187269210815, 0.019323157146573067, 0.024412425234913826, 0.012256402522325516, -0.06103106588125229, 0.027363598346710205, -0.016693200916051865, -0.011613970622420311, 0.009234963916242123, -0.02854808419942856, -0.015880122780799866, -0.01769700087606907, -0.028427626937627792, 0.001570947584696114, 0.009631465189158916, -0.005405465140938759, 0.024251818656921387, 0.03525346890091896, -0.05709616839885712, -0.02856815978884697, 0.04874454811215401, 0.024091210216283798, 0.049065764993429184, 0.06886070966720581, 0.02242490090429783, 0.00047743256436660886, -0.006293828599154949, 0.014866284094750881, -0.0024216684978455305, -0.023790068924427032, 0.06307882070541382, 0.06066969782114029, 0.04069406911730766, -0.009887433610856533, 0.0019285514717921615, -0.0775335431098938, -0.003949954640120268, -0.01965441182255745, 0.03165986388921738, 0.0009580019977875054, -0.01659282110631466, 0.0317000150680542, -0.08688896149396896, 0.009164697490632534, 0.03581559658050537, 0.00014288471720647067, 0.0023087409790605307, 0.03824479505419731, -0.08303436636924744, -0.05516887083649635, 0.029612112790346146, -0.08447983860969543, -0.03802395984530449, 0.014665523543953896, 0.003202123334631324, 0.02041730098426342, -0.034791722893714905, 0.042199768126010895, -0.05400446057319641, 0.02874884381890297, -0.02226429246366024, -0.00649960758164525, 0.048664242029190063, -0.07893886417150497, 0.05456658825278282, 0.024532882496714592, 0.019333194941282272, -0.022585509344935417, 0.015558905899524689, -0.03304510936141014, -0.09532088786363602, 0.04223991930484772, 0.04031262546777725, 0.007433142047375441, 0.026761319488286972, -0.04063383862376213, -0.04288235306739807, -0.034008756279945374, 0.01726536639034748, 0.04633542522788048, 0.05364309251308441, 0.029451504349708557, 0.06950314342975616, -0.046094514429569244, -0.054165069013834, 0.027042383328080177, 0.014595258049666882, 0.018138673156499863, 0.01059009414166212, -0.033105336129665375, -0.022344596683979034, 0.04051338508725166, -0.028327247127890587, -0.04400660842657089, -0.030375000089406967, -0.023047257214784622, 0.06271745264530182, -0.008989032357931137, -0.03742167726159096, -0.025637062266469002, -0.0634000301361084, -0.03475157171487808, -0.041838400065898895, 0.04264144226908684, -0.04223991930484772, 0.02210368402302265, -0.04115581512451172, 0.028267018496990204, -0.019905362278223038, 0.09242994338274002, 0.09933608770370483, -0.053362030535936356, 0.03304510936141014, -0.052358228713274, -0.0644841343164444, 0.006469493731856346, -0.012196174822747707, 0.004000144544988871, 0.0036864569410681725, -0.01686384715139866, 0.02894960343837738, -0.00538538908585906, 0.02061806060373783, 0.03021439164876938, 0.0668531060218811, 0.004507063888013363, -0.002139349700883031, -0.020638136193156242, 0.07512442022562027, -0.039429280906915665, -0.03252313286066055, -0.039248596876859665, -0.01522765215486288, 0.06488566100597382, -0.027885574847459793, 0.023649537935853004, 0.06291820853948593, -0.03258335962891579, -0.02800603210926056, 0.014876321889460087, -0.05733707919716835, 0.003683947492390871, 0.019825058057904243, -0.0013112142914906144, 0.047218769788742065, 0.04211946576833725, 0.0463755801320076, -0.016944151371717453, 0.07054708898067474, -0.03784327581524849, -0.039047837257385254, -0.010971538722515106, 0.039609964936971664, -0.018038293346762657, -0.05729692801833153, 0.012396935373544693, -0.02523554302752018, -0.04175809770822525, -0.026901850476861, 0.011573818512260914, 0.005525921005755663, 0.027765119448304176, 0.046455882489681244, 0.006795728579163551, -0.011654122732579708, 0.021762393414974213, 0.0039022741839289665, 0.02487417310476303, -0.06179395318031311, 0.054285526275634766, -0.011754502542316914, 0.013199975714087486, -0.011473438702523708, 0.011925148777663708, 0.03527354449033737, 0.006795728579163551, 0.002501972485333681, -0.008547360077500343, 0.04938697814941406, -0.03547430783510208, 0.026359798386693, -0.03194092959165573, 0.042962659150362015, 0.0156693235039711, -0.016572745516896248, -0.06853949278593063, -0.012597694993019104, -0.03539400175213814, 0.06291820853948593, -0.03826487064361572, -0.012286516837775707, -0.004793147090822458, -0.01886140927672386, -0.03471141681075096, -0.006223562639206648, 0.045532386749982834, -0.010720588266849518, 0.09098447114229202, 0.020467489957809448, 0.024593109264969826, 0.03559476137161255, 0.016783542931079865, 0.08287376165390015, -0.027985954657197, -0.04613466560840607, -0.06488566100597382, 0.0024668395053595304, -0.08672835677862167, 0.0025082463398575783, -0.06560839712619781, 0.002752922708168626, 0.004865922499448061, 0.03952965885400772, 0.003041515126824379, 0.02034703455865383, 0.027443902567029, 0.02429196983575821, -0.024793870747089386, -0.036839473992586136, -0.020517680794000626, -0.037361450493335724, -0.016512516885995865, 0.007804548367857933, -0.008712987415492535, 0.030375000089406967, 0.05974619835615158, -0.019072208553552628, 0.040352776646614075, -0.022946877405047417, 0.007081811781972647, 0.008050478994846344, 0.029612112790346146, 0.03408906236290932, -0.021461252123117447, -0.001586004626005888, -0.01492651179432869, 0.01661289669573307, 0.03766259178519249, -0.027263218536973, 0.006379151716828346, -0.003646305063739419, 0.026460178196430206, -0.05420522019267082, 0.0012396934907883406, -0.003766760928556323, -0.06693340837955475, 0.06364094465970993, -0.030676139518618584, -0.06761599332094193, -0.029250742867588997, -0.012688037008047104, 0.06878040730953217, -0.039228521287441254, -0.0005950654158368707, 0.026379873976111412, 0.019554032012820244, -0.0036488145124167204, 0.01780741848051548, -0.06010756641626358, 0.03896753117442131, -0.00034223319380544126, 0.020045893266797066, -0.008441961370408535, -0.014524991624057293, -0.049989260733127594, 0.06062954291701317, -0.005274971015751362, -0.04786120355129242, 0.08367680013179779, 0.0030917052645236254, -0.020497603341937065, -0.041477032005786896, 0.05123397335410118, -0.0035735294222831726, 0.0009347891318611801, 0.024051057174801826, 0.043163418769836426, -0.00534021807834506, 0.024332121014595032, 0.028066258877515793, -0.028989756479859352, 0.03910806402564049, -0.032181840389966965, -0.029933327808976173, 0.13282287120819092, -0.011483476497232914, -0.00886857695877552, 0.013199975714087486, -0.0024994630366563797, -0.00903922226279974, 0.021461252123117447, -0.03495233133435249, 0.011182336136698723, -0.00008148036431521177, -0.015548868104815483, -0.03836525231599808, 0.04846348240971565, 0.011212450452148914, 0.009295191615819931, -0.0015257765771821141, -0.011262640357017517, -0.0015985521022230387, 0.01891160011291504, 0.013671761378645897, 0.008421885780990124, 0.03475157171487808, 0.005902346223592758, 0.00470531452447176, -0.01733563281595707, 0.02503478154540062, 0.05689540505409241, 0.007789491210132837, -0.00420341407880187, -0.04472934454679489, 0.015458526089787483, 0.03806411102414131, 0.03844555467367172, 0.01429411768913269, 0.01650247909128666, -0.00449702562764287, 0.00034882064210250974, 0.05677495151758194, 0.011724389158189297, 0.03212161362171173, -0.0003210592840332538 ]
719,834
ibm_platform_services.open_service_broker_v1
OpenServiceBrokerV1
The Open Service Broker V1 service.
class OpenServiceBrokerV1(BaseService): """The Open Service Broker V1 service.""" DEFAULT_SERVICE_URL = None DEFAULT_SERVICE_NAME = 'open_service_broker' @classmethod def new_instance( cls, service_name: str = DEFAULT_SERVICE_NAME, ) -> 'OpenServiceBrokerV1': """ Return a new client for the Open Service Broker service using the specified parameters and external configuration. """ authenticator = get_authenticator_from_environment(service_name) service = cls(authenticator) service.configure_service(service_name) return service def __init__( self, authenticator: Authenticator = None, ) -> None: """ Construct a new client for the Open Service Broker service. :param Authenticator authenticator: The authenticator specifies the authentication mechanism. Get up to date information from https://github.com/IBM/python-sdk-core/blob/master/README.md about initializing the authenticator of your choice. """ BaseService.__init__(self, service_url=self.DEFAULT_SERVICE_URL, authenticator=authenticator) ######################### # Enable and Disable Instances ######################### def get_service_instance_state(self, instance_id: str, **kwargs) -> DetailedResponse: """ Get the current state of the service instance. Get the current state information associated with the service instance. As a service provider you need a way to manage provisioned service instances. If an account comes past due, you may need a to disable the service (without deleting it), and when the account is settled re-enable the service. This endpoint allows both the provider and IBM Cloud to query for the state of a provisioned service instance. For example, IBM Cloud may query the provider to figure out if a given service is disabled or not and present that state to the user. :param str instance_id: The `instance_id` of a service instance is provided by the IBM Cloud platform. This ID will be used for future requests to bind and deprovision, so the broker can use it to correlate the resource it creates. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse with `dict` result representing a `Resp1874644Root` object """ if instance_id is None: raise ValueError('instance_id must be provided') headers = {} sdk_headers = get_sdk_headers( service_name=self.DEFAULT_SERVICE_NAME, service_version='V1', operation_id='get_service_instance_state' ) headers.update(sdk_headers) if 'headers' in kwargs: headers.update(kwargs.get('headers')) headers['Accept'] = 'application/json' path_param_keys = ['instance_id'] path_param_values = self.encode_path_vars(instance_id) path_param_dict = dict(zip(path_param_keys, path_param_values)) url = '/bluemix_v1/service_instances/{instance_id}'.format(**path_param_dict) request = self.prepare_request(method='GET', url=url, headers=headers) response = self.send(request) return response def replace_service_instance_state( self, instance_id: str, *, enabled: bool = None, initiator_id: str = None, reason_code: str = None, **kwargs ) -> DetailedResponse: """ Update the state of a provisioned service instance. Update (disable or enable) the state of a provisioned service instance. As a service provider you need a way to manage provisioned service instances. If an account comes past due, you may need a to disable the service (without deleting it), and when the account is settled re-enable the service. This endpoint allows the provider to enable or disable the state of a provisioned service instance. It is the service provider's responsibility to disable access to the service instance when the disable endpoint is invoked and to re-enable that access when the enable endpoint is invoked. When your service broker receives an enable / disable request, it should take whatever action is necessary to enable / disable (respectively) the service. Additionally, If a bind request comes in for a disabled service, the broker should reject that request with any code other than `204`, and provide a user-facing message in the description. :param str instance_id: The `instance_id` of a service instance is provided by the IBM Cloud platform. This ID will be used for future requests to bind and deprovision, so the broker can use it to correlate the resource it creates. :param bool enabled: (optional) Indicates the current state of the service instance. :param str initiator_id: (optional) Optional string that shows the user ID that is initiating the call. :param str reason_code: (optional) Optional string that states the reason code for the service instance state change. Valid values are `IBMCLOUD_ACCT_ACTIVATE`, `IBMCLOUD_RECLAMATION_RESTORE`, or `IBMCLOUD_SERVICE_INSTANCE_BELOW_CAP` for enable calls; `IBMCLOUD_ACCT_SUSPEND`, `IBMCLOUD_RECLAMATION_SCHEDULE`, or `IBMCLOUD_SERVICE_INSTANCE_ABOVE_CAP` for disable calls; and `IBMCLOUD_ADMIN_REQUEST` for enable and disable calls.<br/><br/>Previously accepted values had a `BMX_` prefix, such as `BMX_ACCT_ACTIVATE`. These values are deprecated. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse with `dict` result representing a `Resp2448145Root` object """ if instance_id is None: raise ValueError('instance_id must be provided') headers = {} sdk_headers = get_sdk_headers( service_name=self.DEFAULT_SERVICE_NAME, service_version='V1', operation_id='replace_service_instance_state' ) headers.update(sdk_headers) data = {'enabled': enabled, 'initiator_id': initiator_id, 'reason_code': reason_code} data = {k: v for (k, v) in data.items() if v is not None} data = json.dumps(data) headers['content-type'] = 'application/json' if 'headers' in kwargs: headers.update(kwargs.get('headers')) headers['Accept'] = 'application/json' path_param_keys = ['instance_id'] path_param_values = self.encode_path_vars(instance_id) path_param_dict = dict(zip(path_param_keys, path_param_values)) url = '/bluemix_v1/service_instances/{instance_id}'.format(**path_param_dict) request = self.prepare_request(method='PUT', url=url, headers=headers, data=data) response = self.send(request) return response ######################### # Resource Instances ######################### def replace_service_instance( self, instance_id: str, *, organization_guid: str = None, plan_id: str = None, service_id: str = None, space_guid: str = None, context: 'Context' = None, parameters: dict = None, accepts_incomplete: bool = None, **kwargs ) -> DetailedResponse: """ Create (provision) a service instance. Create a service instance with GUID. When your service broker receives a provision request from the IBM Cloud platform, it MUST take whatever action is necessary to create a new resource. When a user creates a service instance from the IBM Cloud console or the IBM Cloud CLI, the IBM Cloud platform validat
(authenticator: ibm_cloud_sdk_core.authenticators.authenticator.Authenticator = None) -> None
[ 0.06394939869642258, -0.12089402228593826, -0.03768152371048927, -0.02468149922788143, 0.014751213602721691, -0.03582732006907463, -0.0103989876806736, 0.02744220197200775, -0.001210382441058755, -0.01976786181330681, -0.04837409034371376, -0.016677524894475937, 0.0012683263048529625, -0.005784082692116499, -0.01626547984778881, 0.033252038061618805, 0.015132355503737926, -0.04660229757428169, 0.019706055521965027, -0.07709363102912903, 0.031253617256879807, 0.09584168344736099, 0.030800368636846542, 0.013113334774971008, 0.06774020940065384, 0.04454207420349121, -0.01643029786646366, 0.001354598207399249, 0.002019020961597562, 0.0007597081130370498, 0.0181299839168787, -0.014380373060703278, -0.033087220042943954, 0.025958839803934097, 0.037145864218473434, -0.01756342127919197, 0.029687847942113876, 0.004056068602949381, -0.061600737273693085, 0.0489097498357296, -0.020509542897343636, -0.02385740913450718, 0.061435919255018234, -0.03187168762087822, -0.006381548009812832, 0.05068154260516167, -0.005495651159435511, 0.051752861589193344, 0.040071383118629456, 0.007179885637015104, 0.03510624170303345, -0.04734398052096367, -0.027792440727353096, -0.0018657916225492954, -0.02179718390107155, 0.02142634429037571, -0.0017151376232504845, 0.049156978726387024, -0.020643457770347595, -0.012134727090597153, -0.024496080353856087, -0.003082612296566367, -0.0036491742357611656, -0.008920775726437569, 0.012155329808592796, 0.010785279795527458, -0.023939818143844604, 0.004558248445391655, -0.03286059573292732, 0.02268308214843273, 0.05373067781329155, -0.023136330768465996, -0.015029343776404858, 0.003752185497432947, 0.0013378588482737541, 0.05772751569747925, 0.004347075708210468, -0.01599765010178089, -0.03988596424460411, -0.024969931691884995, 0.01623457670211792, 0.006221880670636892, 0.06164194270968437, -0.021735377609729767, 0.04114270210266113, 0.02991447225213051, 0.032984208315610886, 0.013947726227343082, -0.02381620556116104, 0.003507533809170127, -0.006453656125813723, 0.005186617374420166, -0.010383536107838154, 0.030759165063500404, 0.06081785261631012, -0.0435943678021431, -0.029832063242793083, -0.06811105459928513, -0.022868501022458076, -0.013381163589656353, -0.04305871203541756, -0.013133936561644077, -0.019108589738607407, -0.010991302318871021, 0.04301750659942627, -0.050557930022478104, -0.05443115532398224, 0.016718728467822075, 0.022065013647079468, -0.009708812460303307, -0.03020290471613407, 0.0122274374589324, -0.012763096019625664, -0.03180988132953644, -0.0006196771864779294, 0.009106196463108063, 0.046725910156965256, 0.01600795052945614, -0.02674172632396221, -0.0034817808773368597, -0.020736169070005417, -0.061435919255018234, 0.014030135236680508, -0.019314613193273544, 0.00958004780113697, 0.011104614473879337, 0.005029525142163038, 0.023713193833827972, 0.039206087589263916, -0.06877032667398453, -0.020107800140976906, -0.008472677320241928, -0.036383580416440964, 0.03632177412509918, 0.013288453221321106, -0.016780536621809006, -0.007540424820035696, 0.026061851531267166, -0.03932970389723778, 0.04561338946223259, 0.027174372225999832, -0.009935436770319939, -0.054142724722623825, 0.012217136099934578, 0.014792418107390404, 0.006268235854804516, 0.007442564237862825, 0.03580671548843384, -0.02272428572177887, -0.012515868991613388, -0.025732215493917465, -0.04062764346599579, 0.018871665000915527, -0.014534889720380306, -0.056038130074739456, -0.01742950640618801, 0.020818578079342842, -0.05719185620546341, 0.006206429097801447, -0.038175977766513824, -0.020303521305322647, -0.013700499199330807, -0.003911852836608887, -0.05406031385064125, 0.0025237761437892914, 0.014442180283367634, -0.06147712469100952, -0.019716355949640274, -0.020540447905659676, 0.013762305490672588, -0.02218862809240818, 0.030923983082175255, -0.05945810303092003, -0.012011113576591015, -0.003698104526847601, 0.0748685896396637, 0.0485801137983799, -0.04227582365274429, 0.027297986671328545, 0.022374046966433525, -0.028637133538722992, 0.03339625522494316, -0.08455164730548859, -0.009301917627453804, -0.0056192646734416485, 0.016790837049484253, 0.03452937677502632, 0.047920841723680496, 0.041966792196035385, 0.012536471709609032, 0.051217202097177505, 0.015554701909422874, 0.09510000050067902, 0.034652989357709885, -0.010713172145187855, 0.021673571318387985, -0.003971084486693144, -0.03916488587856293, 0.014576094225049019, 0.04643747955560684, 0.005732577294111252, 0.03316962718963623, 0.010136309079825878, 0.0332726389169693, 0.026329679414629936, -0.02834870107471943, 0.003752185497432947, -0.035353466868400574, -0.010435041971504688, -0.030779767781496048, -0.0875183716416359, -0.036713216453790665, -0.019551537930965424, 0.0008910474716685712, 0.03273697942495346, -0.02175598032772541, 0.04013318940997124, -0.004141053184866905, -0.015441388823091984, -0.006772990804165602, 0.04404762014746666, -0.012546772137284279, -0.0241252388805151, -0.012505567632615566, -0.037640318274497986, 0.07614593207836151, -0.0017576297977939248, -0.010877990163862705, -0.032221924513578415, -0.0036775022745132446, -0.008173944428563118, 0.051217202097177505, 0.0056759207509458065, 0.013370863161981106, 0.024537283927202225, -0.052247315645217896, 0.04285268858075142, -0.02159116230905056, 0.019839970394968987, 0.015750423073768616, 0.018439017236232758, 0.04705554619431496, 0.06638046354055405, 0.001220683567225933, -0.05945810303092003, -0.04285268858075142, 0.012134727090597153, 0.011856596916913986, -0.02602064609527588, -0.017058666795492172, -0.024042829871177673, -0.07392088323831558, -0.000022352640371536836, -0.00075262610334903, -0.018717147409915924, -0.09955009073019028, 0.0036569000221788883, 0.00022421046742238104, 0.03918548673391342, 0.03364348039031029, -0.029667245224118233, 0.014164049178361893, -0.07676399499177933, 0.04071005433797836, 0.0038062664680182934, 0.02461969293653965, 0.023878011852502823, -0.0007912553264759481, 0.02917279116809368, -0.0048724329099059105, 0.13910642266273499, 0.0059798043221235275, -0.0372488759458065, 0.005485350266098976, -0.017759142443537712, -0.029729051515460014, -0.008395418524742126, -0.0725199356675148, -0.09435832500457764, -0.053648270666599274, -0.01803727261722088, -0.01950003392994404, 0.0482504777610302, 0.03483841195702553, 0.01001269556581974, -0.03543587774038315, 0.021900195628404617, -0.0026679919101297855, 0.035044435411691666, 0.0072262403555214405, -0.029193393886089325, 0.02814267948269844, 0.014246458187699318, -0.04487171024084091, -0.056244153529405594, 0.019242504611611366, -0.08236780762672424, 0.008611742407083511, -0.0206228569149971, -0.05068154260516167, 0.004014864098280668, 0.031954094767570496, 0.005907696206122637, -0.002102717524394393, -0.01204201765358448, -0.0322837308049202, 0.06881152838468552, 0.014998440630733967, -0.007839157246053219, 0.020973093807697296, -0.001042345305904746, -0.027421599254012108, -0.046725910156965256, -0.08191455900669098, 0.04808565974235535, -0.02455788664519787, -0.014565793797373772, -0.0020460612140595913, 0.008220299147069454, 0.04375918582081795, -0.05871642380952835, 0.010682268999516964, -0.04054523631930351, 0.05232972279191017, 0.03158325329422951, -0.03143903985619545, 0.015585605055093765, 0.03430275246500969, 0.0455721840262413, 0.021014299243688583, -0.04174016788601875, -0.037042852491140366, 0.0007931867730803788, 0.022909706458449364, 0.03020290471613407, -0.09163882583379745, 0.002441367134451866, -0.05636776611208916, -0.040936678647994995, 0.0065772696398198605, 0.030697358772158623, 0.018016671761870384, -0.057809922844171524, -0.014751213602721691, -0.022106219083070755, 0.007988523691892624, 0.033252038061618805, -0.02758641727268696, 0.019283710047602654, -0.020550748333334923, -0.05438994988799095, 0.02192079834640026, 0.02299211546778679, 0.11051049083471298, 0.03409672901034355, -0.03545647859573364, -0.02005629427731037, 0.015266270376741886, 0.03158325329422951, -0.018881965428590775, 0.01029597595334053, -0.01160936988890171, -0.037269476801157, 0.009564596228301525, -0.04680832102894783, -0.03407612815499306, -0.03347866237163544, -0.054472360759973526, 0.042935095727443695, -0.009595499373972416, 0.004653533920645714, -0.06464987248182297, -0.025299567729234695, -0.016244877129793167, 0.06844069063663483, 0.013813811354339123, -0.03932970389723778, -0.009981791488826275, -0.01836690865457058, 0.05591451749205589, 0.02781304344534874, 0.0016198521479964256, -0.01377260684967041, 0.01127973385155201, 0.03916488587856293, -0.0071695842780172825, 0.02092158794403076, 0.0032268280629068613, 0.007066573016345501, -0.024310659617185593, -0.015977047383785248, -0.005194343160837889, -0.0392678938806057, 0.0038011157885193825, 0.03187168762087822, -0.04064824804663658, -0.05851040035486221, 0.0041539291851222515, 0.06057062745094299, -0.08430442214012146, 0.018047574907541275, 0.06427903473377228, 0.033519867807626724, -0.003698104526847601, -0.0030259559862315655, -0.0044578127562999725, 0.023342354223132133, 0.02468149922788143, -0.007025368511676788, 0.03030591458082199, -0.030800368636846542, -0.026700520887970924, -0.03656899929046631, -0.056244153529405594, -0.06469107419252396, 0.012577676214277744, -0.04478929936885834, 0.09040269255638123, 0.01330905593931675, 0.021982604637742043, 0.005106783472001553, 0.01916009560227394, 0.03836139664053917, 0.018480220809578896, -0.0395975299179554, 0.04664350301027298, -0.0047591207548975945, -0.011640273034572601, 0.029996881261467934, -0.011063409969210625, 0.05904605984687805, 0.05838678777217865, -0.023198137059807777, -0.04038041830062866, 0.027133168652653694, 0.006443354766815901, 0.006242482922971249, -0.03943271189928055, 0.01377260684967041, 0.020313821732997894, -0.025670407339930534, -0.02305392175912857, -0.005892244633287191, -0.002198002999648452, 0.01659511588513851, -0.01899527758359909, -0.0405864417552948, -0.034385163336992264, 0.1291349232196808, -0.006160073913633823, 0.014761514961719513, -0.04874493181705475, -0.0009831137722358108, 0.02192079834640026, -0.01523536629974842, -0.040504030883312225, 0.02775123529136181, 0.007973072119057178, 0.0027632773853838444, -0.018078478053212166, -0.0031263919081538916, -0.020983396098017693, -0.07865940779447556, 0.04849770665168762, 0.042234621942043304, 0.04235823452472687, 0.06048821657896042, -0.010383536107838154, -0.0222916379570961, 0.024846317246556282, 0.030697358772158623, -0.026473896577954292, 0.06897634267807007, 0.01790335774421692, -0.013566584326326847, 0.04252305254340172, 0.03106819838285446, -0.02208561636507511, -0.044500868767499924, -0.013432669453322887, 0.040442224591970444, -0.0019752411171793938, -0.008555086329579353, -0.02282729744911194, -0.03996837139129639, -0.05113479495048523, 0.0548844039440155, 0.0055059525184333324, 0.026206066831946373, -0.06633925437927246, -0.00961610209196806, -0.009404928423464298, -0.003803691128268838, 0.038979463279247284, -0.023033319041132927, -0.04820927232503891, -0.022477058693766594, 0.0017550544580444694, 0.0675341859459877, 0.013855015859007835, 0.0002010329335462302, -0.026391487568616867, -0.016244877129793167, 0.028719542548060417, 0.055214039981365204, -0.010162062011659145, -0.06650407612323761, 0.041534144431352615, 0.0016185645945370197, 0.03030591458082199, 0.0003080680617131293, 0.0004999265656806529, 0.06131230667233467, -0.03174807131290436, -0.041431132704019547, 0.04027740657329559, -0.05212370306253433, 0.047096751630306244, -0.010517450980842113, -0.02948182448744774, 0.016883546486496925, -0.024599090218544006, 0.017326494678854942, 0.03166566416621208, -0.02352777309715748, -0.035683102905750275, -0.023445364087820053, -0.07775290310382843, -0.002173537854105234, 0.014833622612059116, -0.013690197840332985, -0.02239464968442917, -0.01503964513540268, -0.06258964538574219, -0.0032706076744943857, -0.015060247853398323, -0.040236201137304306, -0.06806984543800354, -0.0399271659553051, -0.05385429039597511, 0.04371798411011696, 0.027091963216662407, -0.07074814289808273, -0.03469419479370117, -0.08628223836421967, -0.01693505235016346, 0.008884722366929054, -0.009440982714295387, -0.034776605665683746, -0.01574012264609337, 0.0622188076376915, -0.011846295557916164, 0.05059913545846939, 0.005135111976414919, -0.03813477233052254, 0.004133326932787895, 0.026432691141963005, -0.012629181146621704, 0.03706345334649086, -0.031130004674196243, -0.0008704452193342149, 0.018439017236232758, 0.0013507353141903877, -0.026597509160637856, 0.037846341729164124, 0.036981046199798584, 0.0020112949423491955, 0.027957258746027946, -0.006082815583795309, 0.011990511789917946, 0.034385163336992264, -0.02342476323246956, 0.016945354640483856, 0.024228250607848167, -0.03473540022969246, 0.028204485774040222, 0.03084157407283783, 0.003291209926828742, 0.02035502716898918, 0.008276955224573612, 0.04085426777601242, -0.018078478053212166, -0.011269432492554188, -0.044500868767499924, -0.026494497433304787, 0.06984163820743561, -0.05834558233618736, 0.046725910156965256, 0.00991483498364687, 0.02554679475724697, -0.05406031385064125, -0.011001603677868843, 0.009404928423464298, -0.041904985904693604, -0.026597509160637856, 0.10474185645580292, 0.08232660591602325, 0.005423543509095907, 0.049486614763736725, 0.07346763461828232, 0.0012580251786857843, 0.06094146519899368, 0.07655797153711319, -0.05335983633995056, 0.018717147409915924, 0.016450898721814156, -0.02771003171801567, -0.03543587774038315, -0.013103033415973186, 0.02032412402331829, -0.002615198493003845, -0.023095127195119858, 0.002827659249305725, -0.03399371728301048, -0.03174807131290436, 0.016110962256789207, -0.015719519928097725, 0.04079246148467064, 0.014617298729717731, -0.04713795706629753, 0.007092325948178768, -0.011135518550872803, -0.02212681993842125, -0.0009496351121924818, -0.0688527300953865, 0.009636703878641129, 0.0101466104388237, -0.022044410929083824, -0.04330593720078468, -0.025031737983226776, 0.01836690865457058, 0.04738518223166466, -0.014658503234386444, 0.00896713137626648, 0.041472338140010834, 0.02278609201312065, 0.03434395790100098, 0.01989147625863552, -0.029584836214780807, 0.04474809393286705, 0.018706846982240677, -0.013020624406635761, -0.011084012687206268, -0.016615716740489006, -0.02299211546778679, 0.013628390617668629, -0.014400975778698921, -0.0805136114358902, 0.00588194327428937, 0.04252305254340172, -0.03772272542119026, 0.03479720652103424, -0.005459597334265709, 0.0004996046773158014, -0.020550748333334923, -0.0009618677431717515, -0.019520634785294533, 0.029523029923439026, 0.011331239715218544, 0.01490573026239872, -0.0492393858730793, 0.026432691141963005, -0.001021099160425365, 0.018016671761870384, -0.004452662076801062, 0.02538197673857212, 0.0708717554807663, -0.0031135156750679016, 0.03244854882359505, 0.07165464013814926, 0.04215221107006073, -0.003244854975491762, -0.024928726255893707, 0.0489097498357296, -0.015276570804417133, 0.0012251902371644974, 0.009992092847824097, -0.006618474144488573, 0.05129961296916008, 0.0455721840262413, 0.027030156925320625, 0.025258362293243408, -0.009368875063955784, 0.04544857144355774, 0.0312742218375206, -0.06683371216058731, 0.02678292989730835, -0.012752794660627842, -0.019448528066277504, -0.06361976265907288, -0.05583210662007332, -0.01833600550889969, 0.008992883376777172, 0.007133530452847481, -0.03900006785988808, 0.014215555042028427, -0.035209253430366516, -0.11034566909074783, -0.02375439926981926, 0.016286080703139305, 0.0297702569514513, -0.02847231552004814, -0.016523007303476334, 0.021735377609729767, 0.03030591458082199, 0.054142724722623825, -0.033252038061618805, -0.06300169229507446, 0.07305559515953064, 0.01926310732960701, 0.05109358951449394, 0.04581941291689873, 0.056738607585430145, -0.024640295654535294, -0.013545981608331203, 0.025196556001901627, -0.08335671573877335, -0.04763241112232208, -0.013988930732011795, 0.04841529577970505, -0.027771838009357452, 0.02468149922788143, 0.06081785261631012, -0.06642166525125504, 0.022868501022458076, 0.03372589126229286, -0.012587976641952991, 0.05171165615320206, -0.0072622946463525295, 0.05496681481599808, 0.0038809494581073523, -0.0032706076744943857, -0.11504298448562622, -0.0003676214546430856, 0.024660898372530937, -0.06427903473377228, 0.029564233496785164, 0.0007777350838296115, -0.010270223952829838, 0.03183048218488693, 0.03106819838285446, 0.014359771274030209, 0.016790837049484253, 0.03696044161915779, -0.009178304113447666, 0.049651432782411575, 0.04351196065545082, -0.023939818143844604, 0.017305893823504448, -0.021673571318387985, -0.026659317314624786, -0.009724264033138752, -0.048950955271720886, 0.05129961296916008, 0.006917206570506096, -0.029255200177431107, -0.041266314685344696, 0.05892244726419449, -0.0040689450688660145, -0.040668848901987076, 0.03564189746975899, -0.033746492117643356, 0.03502383083105087, 0.011846295557916164, 0.043635573238134384, 0.03409672901034355, -0.010692569427192211, 0.022641876712441444 ]
719,835
ibm_platform_services.open_service_broker_v1
__init__
Construct a new client for the Open Service Broker service. :param Authenticator authenticator: The authenticator specifies the authentication mechanism. Get up to date information from https://github.com/IBM/python-sdk-core/blob/master/README.md about initializing the authenticator of your choice.
def __init__( self, authenticator: Authenticator = None, ) -> None: """ Construct a new client for the Open Service Broker service. :param Authenticator authenticator: The authenticator specifies the authentication mechanism. Get up to date information from https://github.com/IBM/python-sdk-core/blob/master/README.md about initializing the authenticator of your choice. """ BaseService.__init__(self, service_url=self.DEFAULT_SERVICE_URL, authenticator=authenticator)
(self, authenticator: Optional[ibm_cloud_sdk_core.authenticators.authenticator.Authenticator] = None) -> NoneType
[ -0.013409093953669071, -0.08178725838661194, -0.010953650809824467, 0.004404280334711075, 0.009538804180920124, -0.04001733660697937, 0.013810727745294571, 0.04699116200208664, 0.002150794956833124, -0.009169118478894234, -0.014422306790947914, 0.013381710276007652, -0.031473491340875626, -0.01064329780638218, -0.02893589437007904, 0.05955134704709053, -0.0019488370744511485, -0.028296930715441704, 0.0077360160648822784, -0.04574974998831749, 0.044471822679042816, 0.041879456490278244, 0.008644255809485912, 0.02862554043531418, 0.03943314403295517, 0.06820473074913025, -0.040857117623090744, 0.014814812690019608, -0.008867893368005753, -0.04399716481566429, 0.013619039207696915, -0.013190020807087421, -0.013098740950226784, 0.06853333860635757, 0.06093880906701088, -0.007480430882424116, 0.025065604597330093, -0.0013669243780896068, -0.059952981770038605, 0.004764838144183159, 0.013710319995880127, -0.028315186500549316, 0.07915838062763214, -0.026124456897377968, 0.013682935386896133, 0.03280618414282799, 0.021907301619648933, 0.05611920356750488, 0.02665388397872448, 0.03472307324409485, -0.03063371032476425, -0.012140296399593353, 0.01490609347820282, -0.004970218986272812, -0.06758402287960052, 0.05673991143703461, 0.03251408785581589, 0.01586453802883625, -0.08908969163894653, 0.04932793974876404, -0.05743364244699478, -0.012213320471346378, 0.015837153419852257, -0.009411011822521687, 0.0017525841249153018, 0.010323815979063511, -0.027000749483704567, 0.013235661201179028, 0.007877500727772713, 0.005586361978203058, 0.09259486198425293, 0.02194381318986416, -0.05830993503332138, -0.010068230330944061, 0.02665388397872448, 0.02614271268248558, -0.0028639233205467463, 0.012195064686238766, -0.022071605548262596, -0.01953401044011116, 0.010698065161705017, -0.01902284100651741, -0.004974782932549715, 0.03687728941440582, 0.030268589034676552, -0.0004064831300638616, 0.025229908525943756, -0.002980305813252926, 0.0004820747417397797, 0.06488212198019028, -0.03039638139307499, 0.015764128416776657, -0.00391136622056365, 0.02908194251358509, 0.008981993421912193, -0.05235845223069191, -0.022053349763154984, -0.019041096791625023, 0.004509252961724997, 0.054001498967409134, -0.015198190696537495, 0.00797334499657154, -0.03782660886645317, 0.0019054788863286376, 0.01465050783008337, -0.016138378530740738, -0.012249832972884178, -0.007097052875906229, 0.023805934935808182, 0.004493278916925192, 0.008726408705115318, 0.0059104072861373425, 0.006909927818924189, 0.018091779202222824, -0.03671298548579216, 0.04275574907660484, 0.09164554625749588, 0.02159694768488407, 0.04246365278959274, 0.036749497056007385, -0.019041096791625023, -0.045421138405799866, -0.006654342636466026, -0.023696398362517357, 0.02798657864332199, 0.00863056443631649, 0.029118455946445465, -0.003489194205030799, 0.005764358676970005, -0.03448574244976044, 0.0725131705403328, -0.022454984486103058, 0.007567147258669138, 0.00470094196498394, 0.02099449746310711, -0.009639212861657143, 0.02128659561276436, 0.030670221894979477, -0.04867072030901909, 0.06353117525577545, -0.0022192553151398897, -0.0007319548749364913, -0.04304784908890724, 0.03468656167387962, -0.008543848060071468, 0.044690895825624466, -0.027931809425354004, -0.01696903072297573, 0.012633210979402065, 0.028534259647130966, -0.047319769859313965, -0.012724490836262703, 0.000012961107131559402, -0.019588779658079147, -0.02320348285138607, -0.01138266921043396, 0.005946919787675142, -0.06294698268175125, 0.0050295512191951275, -0.01887679100036621, -0.006941876374185085, -0.01799137145280838, 0.03673124313354492, -0.0723671168088913, 0.0017343279905617237, 0.009566188789904118, -0.06148649379611015, -0.04735628515481949, -0.02760319970548153, 0.007393714506179094, -0.035069938749074936, -0.0159375611692667, -0.08441613614559174, -0.069884292781353, 0.052467986941337585, 0.011145339347422123, 0.04133177548646927, -0.0031719948165118694, -0.02533944509923458, -0.010652425698935986, -0.0050523714162409306, 0.017607994377613068, -0.04370506852865219, -0.04100316762924194, 0.011428308673202991, 0.01946098543703556, 0.06992080062627792, 0.03643914312124252, 0.03651216998696327, -0.004828734323382378, -0.015974074602127075, 0.02196206897497177, 0.02446315437555313, 0.04016338661313057, 0.010077359154820442, -0.010232535190880299, 0.02143264375627041, -0.01829259656369686, -0.05433010682463646, 0.07930443435907364, -0.0028045910876244307, 0.07262270152568817, -0.0070194643922150135, 0.005011295434087515, 0.06269139796495438, -0.029921723529696465, 0.009757877327501774, -0.04370506852865219, -0.031309183686971664, -0.052687060087919235, -0.03393806144595146, -0.04001733660697937, -0.01208552811294794, -0.01769927330315113, -0.017525840550661087, 0.03979826346039772, 0.02959311380982399, -0.013190020807087421, 0.00488350261002779, 0.04235411807894707, 0.08353984355926514, 0.039396632462739944, 0.03291571885347366, -0.02658085897564888, 0.024189312011003494, 0.042098529636859894, 0.007594531401991844, -0.052541010081768036, -0.05111703649163246, -0.010625041089951992, -0.018913304433226585, 0.04206201806664467, -0.02585061639547348, 0.036092277616262436, 0.007138129323720932, -0.07262270152568817, 0.01116359606385231, -0.010415095835924149, -0.07798999547958374, 0.025065604597330093, 0.047246746718883514, 0.06312954425811768, 0.03539854660630226, 0.04286528751254082, -0.052394963800907135, -0.038374289870262146, -0.018748998641967773, -0.005536157637834549, 0.019406218081712723, 0.04965655133128166, -0.05582710728049278, -0.030341612175107002, -0.02342255599796772, -0.028607284650206566, 0.014102824963629246, -0.04450833424925804, -0.05984344705939293, -0.025832360610365868, -0.001209465553984046, 0.012468906119465828, -0.03240454941987991, 0.0372789241373539, -0.04326692223548889, 0.07572624087333679, 0.009785261005163193, 0.0004769402148667723, 0.02159694768488407, -0.01900458335876465, 0.07930443435907364, 0.006512857973575592, 0.15130643546581268, 0.006804955657571554, 0.02459094673395157, 0.029538344591856003, -0.020355533808469772, -0.06119439750909805, 0.006070148199796677, -0.030286844819784164, -0.0701763927936554, 0.004623353481292725, -0.028662052005529404, 0.013737703673541546, 0.042098529636859894, 0.04213504493236542, -0.04060153290629387, 0.006111224181950092, 0.012222448363900185, -0.07054150849580765, -0.009237579070031643, -0.006613266654312611, 0.003810957772657275, 0.05714154615998268, 0.04483694210648537, -0.028388211503624916, -0.011464821174740791, -0.03724241256713867, -0.009411011822521687, -0.00035998717066831887, 0.009958693757653236, -0.06513770669698715, 0.007138129323720932, 0.03530726954340935, -0.012596698477864265, 0.002194153144955635, 0.020574606955051422, -0.05867505446076393, -0.004210309591144323, 0.030213819816708565, -0.03532552346587181, 0.012605826370418072, 0.0007205448346212506, 0.025302933529019356, -0.04202550649642944, -0.032349780201911926, 0.045494161546230316, 0.06422490626573563, 0.02174299769103527, -0.061559516936540604, 0.014020672999322414, 0.04074757918715477, -0.045859284698963165, 0.014349282719194889, -0.028808102011680603, -0.012843155302107334, -0.06236278638243675, -0.013710319995880127, -0.01631181128323078, 0.05659386143088341, -0.004233129788190126, 0.004016338847577572, -0.037936143577098846, 0.03355468437075615, -0.004287898074835539, -0.012843155302107334, -0.05750666558742523, -0.06407885998487473, 0.01843864470720291, -0.05991647019982338, -0.057835277169942856, -0.0046187895350158215, 0.03306176885962486, -0.035142961889505386, -0.026635628193616867, 0.02459094673395157, -0.027712736278772354, 0.00016273587243631482, 0.0011672484688460827, -0.07185594737529755, 0.026325274258852005, -0.08806735277175903, -0.016184018924832344, 0.028552517294883728, 0.001976221101358533, 0.05586361885070801, 0.03775358200073242, 0.01354601513594389, -0.01931493729352951, 0.03165604919195175, 0.009812645614147186, -0.020976241677999496, 0.008146777749061584, 0.006576754618436098, 0.0009487458737567067, 0.014960861764848232, -0.09055017679929733, -0.020884960889816284, 0.029976490885019302, -0.014020672999322414, 0.03906802088022232, 0.03342689201235771, 0.005878459196537733, -0.08573057502508163, 0.009931310079991817, 0.03311653807759285, 0.0012208756525069475, 0.032057683914899826, -0.03965221717953682, -0.026964237913489342, -0.03826475515961647, 0.01682298257946968, -0.007507815025746822, 0.03775358200073242, 0.018840279430150986, 0.03877592459321022, -0.005212112329900265, -0.018447773531079292, 0.0017343279905617237, 0.04191597178578377, 0.02840646728873253, 0.03892197087407112, -0.01989913173019886, -0.03244106099009514, -0.01505214162170887, -0.011428308673202991, 0.009876541793346405, -0.02386070229113102, -0.039542678743600845, -0.01431277021765709, 0.00039764033863320947, -0.0716368779540062, 0.06181510165333748, -0.0038155217189341784, 0.07452134042978287, -0.004290179815143347, -0.02732935920357704, 0.02320348285138607, 0.004096209071576595, -0.009159990586340427, 0.026927724480628967, 0.012861412018537521, -0.01924191415309906, 0.019661802798509598, -0.03010428324341774, -0.014942605048418045, -0.0364026315510273, -0.01790921948850155, -0.06951916962862015, 0.044982992112636566, 0.026909468695521355, -0.008452567271888256, -0.005609182175248861, -0.009538804180920124, 0.0038908279966562986, 0.014321898110210896, -0.022053349763154984, 0.038155216723680496, -0.006941876374185085, 0.0312179047614336, 0.040857117623090744, -0.04991213604807854, 0.045713234692811966, 0.04392413794994354, 0.01505214162170887, -0.06159602850675583, -0.009575316682457924, 0.07130827009677887, -0.05330776795744896, -0.033153049647808075, 0.03386503830552101, -0.023586861789226532, -0.05177425593137741, -0.05641129985451698, 0.010031718760728836, -0.04151433706283569, 0.03496040031313896, -0.03070673532783985, -0.06225324794650078, 0.012094656005501747, 0.07704067975282669, 0.011400924995541573, 0.013609911315143108, -0.044617872685194016, 0.002026425441727042, -0.0031195085030049086, -0.03651216998696327, -0.0710526779294014, 0.02252800762653351, 0.039031509310007095, 0.013463862240314484, -0.025302933529019356, -0.002485109493136406, -0.045494161546230316, 0.017133334651589394, -0.04757535830140114, 0.040565021336078644, 0.05027725547552109, 0.019734827801585197, -0.0004632481432054192, -0.024317104369401932, -0.011391797102987766, 0.01931493729352951, -0.007316126022487879, 0.0323132686316967, 0.02137787453830242, 0.03194814920425415, 0.03753450885415077, 0.04355901852250099, -0.02143264375627041, -0.04655301570892334, -0.0030054079834371805, 0.002699618460610509, 0.0009624379454180598, -0.010834986343979836, 0.007352638058364391, -0.05969739705324173, -0.01266972254961729, 0.0028388211503624916, -0.0330435149371624, 0.04815955087542534, -0.045421138405799866, 0.011300516314804554, 0.11866454780101776, -0.015198190696537495, 0.030524173751473427, 0.09836378693580627, 0.017790554091334343, 0.01665867678821087, 0.019953900948166847, 0.023112203925848007, 0.02791355364024639, -0.0090276338160038, -0.019698316231369972, -0.005449441261589527, -0.02101275324821472, 0.04312087222933769, -0.034540511667728424, -0.09887495636940002, 0.0082243662327528, 0.01258757058531046, 0.00011517022358020768, 0.020446814596652985, -0.014750916510820389, -0.03255059942603111, -0.030341612175107002, -0.028534259647130966, 0.021779509261250496, -0.05673991143703461, -0.015316855162382126, -0.05911320075392723, -0.034759584814310074, 0.01643960364162922, -0.010816730558872223, -0.039907801896333694, 0.033956319093704224, -0.02857077307999134, -0.0674014613032341, -0.02533944509923458, -0.031838610768318176, 0.023513836786150932, 0.007640171330422163, 0.023878958076238632, -0.0036283968947827816, -0.03255059942603111, -0.026307018473744392, -0.0025193397887051105, 0.024554433301091194, -0.09989729523658752, -0.020300766453146935, 0.01064329780638218, -0.05162820592522621, 0.024353617802262306, 0.05301567167043686, -0.048634208738803864, -0.03149174526333809, -0.044982992112636566, -0.0035964485723525286, -0.020665887743234634, -0.006006252020597458, -0.01924191415309906, 0.0009886811021715403, 0.05013120919466019, -0.011702150106430054, 0.012478034012019634, 0.0340658538043499, -0.04523857682943344, -0.011145339347422123, 0.035142961889505386, -0.07123523950576782, 0.03280618414282799, -0.016777342185378075, 0.0038565979339182377, 0.039615701884031296, -0.06181510165333748, 0.03273316100239754, 0.038885459303855896, 0.010077359154820442, 0.02805960178375244, -0.02269231341779232, -0.011702150106430054, 0.046443480998277664, 0.007197461556643248, -0.037351951003074646, 0.00900025013834238, 0.10011636465787888, -0.05060586705803871, 0.037260670214891434, 0.0013007459929212928, -0.008461695164442062, 0.020081693306565285, -0.01909586414694786, 0.01406631339341402, 0.0026243121828883886, -0.023659884929656982, -0.052906133234500885, -0.016795597970485687, 0.020811935886740685, -0.029392296448349953, -0.04815955087542534, -0.040126875042915344, -0.026416555047035217, -0.04330343380570412, -0.09113437682390213, -0.008101137354969978, -0.015344238840043545, -0.04304784908890724, 0.02194381318986416, 0.04290179908275604, -0.013317814096808434, 0.06035461649298668, 0.04859769716858864, -0.01607448235154152, 0.0682777538895607, 0.01674995757639408, 0.008863328956067562, 0.025083860382437706, -0.01449533086270094, -0.05462220683693886, 0.018447773531079292, -0.01174779050052166, 0.04633394256234169, 0.008365850895643234, 0.029100198298692703, -0.017726657912135124, -0.01388375274837017, -0.02291138656437397, 0.016795597970485687, -0.01384724024683237, 0.0326053686439991, 0.02402500808238983, 0.03775358200073242, 0.047027673572301865, -0.01233198493719101, -0.010415095835924149, 0.037041597068309784, -0.09369022399187088, 0.002242075512185693, 0.03244106099009514, -0.05681293457746506, -0.013719447888433933, -0.0350881963968277, 0.00209374469704926, 0.026416555047035217, -0.005212112329900265, 0.017735786736011505, 0.03724241256713867, 0.01747107319533825, 0.046005334705114365, -0.00006054459299775772, 0.02995823509991169, 0.0038588799070566893, -0.02216288633644581, -0.013445606455206871, 0.03600100055336952, -0.01384724024683237, -0.01902284100651741, 0.01953401044011116, -0.04611486941576004, -0.043960653245449066, 0.014942605048418045, 0.03297048807144165, -0.021487411111593246, 0.014550099149346352, 0.015079526230692863, 0.0031970967538654804, -0.011373540386557579, -0.02847949229180813, -0.0029049995355308056, 0.05097099021077156, 0.02114054560661316, 0.011318772099912167, -0.02973916195333004, 0.026051431894302368, 0.037424974143505096, 0.05641129985451698, -0.011839071288704872, -0.06323907524347305, 0.034996915608644485, -0.03541680425405502, 0.03119964897632599, 0.0361105352640152, 0.036311350762844086, 0.07127175480127335, -0.019515754655003548, 0.046005334705114365, 0.01820131577551365, -0.01916888915002346, 0.025302933529019356, -0.010597657412290573, 0.058492496609687805, 0.028388211503624916, -0.003703703172504902, 0.003432143945246935, -0.013491246849298477, -0.017525840550661087, 0.030670221894979477, -0.032933976501226425, 0.038374289870262146, 0.037571020424366, -0.07065104693174362, -0.11004767566919327, -0.029337527230381966, -0.03775358200073242, -0.001589420367963612, -0.028023090213537216, -0.021560436114668846, 0.05045981705188751, -0.028662052005529404, -0.10632343590259552, 0.00723397359251976, 0.015316855162382126, 0.059587858617305756, -0.007311562076210976, -0.021250082179903984, 0.05013120919466019, -0.001090230536647141, 0.029483577236533165, 0.01266972254961729, -0.047319769859313965, 0.034120623022317886, 0.0016133814351633191, 0.02658085897564888, 0.028552517294883728, 0.02334953285753727, -0.02019122987985611, 0.014787429012358189, 0.03943314403295517, -0.07466738671064377, 0.04228109121322632, -0.04545764997601509, -0.0065676262602210045, -0.024499665945768356, -0.015344238840043545, 0.04330343380570412, -0.0627279058098793, 0.08295565098524094, 0.013180892914533615, -0.05389196053147316, 0.007745143957436085, -0.01651262864470482, 0.04381460323929787, -0.012624082155525684, -0.05097099021077156, -0.06393280625343323, 0.05681293457746506, 0.027201566845178604, -0.03819172829389572, 0.022801849991083145, 0.01864859089255333, 0.03673124313354492, 0.04038245975971222, -0.02482827566564083, 0.011610870249569416, -0.00606102030724287, 0.04699116200208664, -0.017754042521119118, 0.007868372835218906, 0.02862554043531418, -0.045859284698963165, 0.005869331303983927, 0.03899499773979187, -0.040784094482660294, -0.017653634771704674, -0.05075191706418991, 0.03649391233921051, -0.04794047772884369, -0.05133610963821411, -0.03275141492486, 0.024627458304166794, -0.02159694768488407, -0.022089863196015358, 0.0033773756586015224, 0.007982472889125347, 0.06469956040382385, -0.038593363016843796, 0.00847538746893406, 0.029538344591856003, 0.028552517294883728, -0.007781655993312597 ]
719,841
ibm_platform_services.open_service_broker_v1
delete_service_binding
Delete (unbind) the credentials bound to a resource. Delete instance binding by GUID. When a broker receives an unbind request from the IBM Cloud platform, it MUST delete any resources associated with the binding. In the case where credentials were generated, this might result in requests to the service instance failing to authenticate. **Note**: Brokers that do not provide any bindable services or plans do not need to implement this endpoint. :param str binding_id: The `binding_id` is the ID of a previously provisioned binding for that service instance. :param str instance_id: The `instance_id` is the ID of a previously provisioned service instance. :param str plan_id: The ID of the plan from the catalog.json in the broker. It MUST be a non-empty string and should be a GUID. :param str service_id: The ID of the service from the catalog.json in the broker. It MUST be a non-empty string and should be a GUID. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse
def delete_service_binding( self, binding_id: str, instance_id: str, plan_id: str, service_id: str, **kwargs ) -> DetailedResponse: """ Delete (unbind) the credentials bound to a resource. Delete instance binding by GUID. When a broker receives an unbind request from the IBM Cloud platform, it MUST delete any resources associated with the binding. In the case where credentials were generated, this might result in requests to the service instance failing to authenticate. **Note**: Brokers that do not provide any bindable services or plans do not need to implement this endpoint. :param str binding_id: The `binding_id` is the ID of a previously provisioned binding for that service instance. :param str instance_id: The `instance_id` is the ID of a previously provisioned service instance. :param str plan_id: The ID of the plan from the catalog.json in the broker. It MUST be a non-empty string and should be a GUID. :param str service_id: The ID of the service from the catalog.json in the broker. It MUST be a non-empty string and should be a GUID. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse """ if binding_id is None: raise ValueError('binding_id must be provided') if instance_id is None: raise ValueError('instance_id must be provided') if plan_id is None: raise ValueError('plan_id must be provided') if service_id is None: raise ValueError('service_id must be provided') headers = {} sdk_headers = get_sdk_headers( service_name=self.DEFAULT_SERVICE_NAME, service_version='V1', operation_id='delete_service_binding' ) headers.update(sdk_headers) params = {'plan_id': plan_id, 'service_id': service_id} if 'headers' in kwargs: headers.update(kwargs.get('headers')) headers['Accept'] = 'application/json' path_param_keys = ['binding_id', 'instance_id'] path_param_values = self.encode_path_vars(binding_id, instance_id) path_param_dict = dict(zip(path_param_keys, path_param_values)) url = '/v2/service_instances/{instance_id}/service_bindings/{binding_id}'.format(**path_param_dict) request = self.prepare_request(method='DELETE', url=url, headers=headers, params=params) response = self.send(request) return response
(self, binding_id: str, instance_id: str, plan_id: str, service_id: str, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
[ 0.029855087399482727, -0.1055934950709343, 0.020230868831276894, -0.061456725001335144, -0.029072778299450874, -0.00018051093502435833, -0.005239649675786495, 0.11607279628515244, 0.03554956614971161, -0.028144923970103264, -0.050613559782505035, 0.006590496748685837, -0.012307718396186829, -0.047811802476644516, -0.06061983481049538, 0.03353011980652809, 0.028144923970103264, 0.037205152213573456, -0.01923024095594883, -0.08397994190454483, 0.04442786052823067, 0.0664052814245224, 0.016983378678560257, 0.01897553727030754, 0.020412800833582878, 0.035131122916936874, 0.025998122990131378, 0.05723589286208153, 0.036877673119306564, 0.02703513577580452, -0.009173935279250145, -0.016110103577375412, -0.022577796131372452, 0.04766625538468361, -0.014363553375005722, -0.0005159485735930502, 0.04319072142243385, 0.05054078623652458, -0.05254204198718071, 0.012080303393304348, -0.05730866640806198, -0.02645295299589634, -0.004675659351050854, 0.01275345217436552, 0.013744983822107315, 0.035949818789958954, 0.0022616456262767315, 0.040352579206228256, -0.03998871520161629, -0.0008505333680659533, 0.005530741065740585, 0.0014895704807713628, -0.0016248826868832111, 0.020667506381869316, 0.017274469137191772, 0.006081086583435535, -0.042936015874147415, 0.025925349444150925, -0.018920956179499626, -0.02528858743607998, -0.006827008910477161, -0.0036909510381519794, -0.08361607789993286, -0.05301506444811821, 0.013763177208602428, -0.024488084018230438, -0.05930992215871811, 0.010643037967383862, -0.010706714354455471, -0.02541593834757805, -0.0001075958862202242, -0.004807560238987207, -0.02503388188779354, -0.004007058218121529, 0.011252511292696, -0.03382121026515961, 0.068297378718853, -0.0058764126151800156, 0.01597365364432335, -0.07677542418241501, 0.0030610105022788048, -0.016282938420772552, 0.06862485408782959, -0.023250944912433624, 0.006804266944527626, 0.02576160989701748, 0.009715183638036251, 0.03684128448367119, -0.005021330900490284, -0.013326539658010006, 0.022923467680811882, -0.03413049504160881, -0.03671393170952797, 0.022159351035952568, 0.03436700627207756, -0.018702637404203415, -0.02645295299589634, -0.01048839557915926, -0.03329360857605934, 0.007622962351888418, 0.011379864066839218, -0.055052708834409714, -0.007513802964240313, 0.06036512926220894, 0.05450690910220146, -0.025088461115956306, -0.0037273375783115625, -0.019048308953642845, 0.014781997539103031, 0.005194166675209999, 0.002949577057734132, 0.04999499022960663, 0.011552699841558933, -0.06509536504745483, 0.011416250839829445, 0.04286324605345726, -0.007286387495696545, -0.047811802476644516, -0.029745927080512047, -0.008719104342162609, -0.005935540422797203, -0.042353834956884384, 0.015509726479649544, -0.0528695210814476, 0.055489346385002136, 0.011743728071451187, -0.03134693205356598, -0.019521333277225494, 0.028345048427581787, -0.012735259719192982, -0.028599753975868225, -0.006945264525711536, 0.002624373184517026, 0.004593790043145418, 0.011097868904471397, -0.024633631110191345, -0.006326694972813129, 0.04068005830049515, -0.023960480466485023, 0.07997743040323257, 0.04541029781103134, 0.030382690951228142, -0.07466500997543335, 0.035131122916936874, 0.038496870547533035, -0.01288080494850874, 0.012125786393880844, 0.045155592262744904, -0.021613555029034615, 0.009696990251541138, -0.07677542418241501, -0.008305208757519722, 0.020831245929002762, 0.0032702325843274593, -0.045046430081129074, -0.0020035291090607643, 0.007268194574862719, 0.011952950619161129, 0.005403388757258654, -0.036750320345163345, 0.08980177342891693, 0.004145781975239515, 0.03696863725781441, -0.04843037202954292, -0.00664507644250989, 0.04395483806729317, -0.015364181250333786, -0.005417033564299345, -0.016928797587752342, 0.017774783074855804, -0.05356086418032646, 0.028345048427581787, 0.0011160408612340689, -0.006558658555150032, 0.06047428771853447, 0.04995860159397125, 0.08070515841245651, -0.007686638738960028, 0.016910605132579803, -0.03089210018515587, 0.016928797587752342, -0.019175661727786064, 0.017883943393826485, -0.03751443699002266, 0.03984316810965538, 0.031055839732289314, -0.0010057443287223577, 0.03473087027668953, -0.0037796429824084044, -0.02668946422636509, -0.03149247542023659, 0.007163583301007748, 0.04333626851439476, 0.03098306618630886, 0.001964868512004614, 0.0157371424138546, 0.011516313068568707, -0.05610791593790054, 0.02274153381586075, -0.03984316810965538, -0.05872773751616478, -0.06054706126451492, 0.012826225720345974, 0.03358469903469086, 0.0494128055870533, -0.024433504790067673, 0.04097114875912666, -0.046538274735212326, -0.00637672608718276, 0.01275345217436552, -0.04977666959166527, -0.05064994469285011, 0.017738396301865578, -0.00781399104744196, 0.039915941655635834, 0.006535917054861784, 0.007964085787534714, -0.02050376683473587, 0.007641155738383532, -0.004939461126923561, -0.048503145575523376, -0.008391626179218292, 0.024506278336048126, 0.010151821188628674, -0.02319636568427086, 0.019721459597349167, 0.020358221605420113, 0.040134258568286896, 0.022050192579627037, -0.024033254012465477, 0.017329050227999687, 0.028727106750011444, 0.009324029088020325, 0.0586913526058197, 0.0210859514772892, -0.12073025852441788, 0.009615120477974415, -0.043518200516700745, 0.019175661727786064, -0.002772193169221282, 0.018557092174887657, 0.07706651091575623, 0.01742001622915268, 0.058436647057533264, -0.0341486893594265, -0.01740182191133499, 0.009055678732693195, 0.023833127692341805, 0.0073682572692632675, -0.02399686723947525, -0.05887328460812569, -0.0298187006264925, 0.024888334795832634, -0.022286703810095787, -0.011416250839829445, -0.0755382850766182, -0.021577168256044388, 0.0026516630314290524, -0.016373904421925545, 0.036422841250896454, -0.003518115496262908, -0.02794479764997959, -0.055962368845939636, 0.03149247542023659, 0.05741782486438751, 0.009942598640918732, -0.001807951950468123, 0.0090101957321167, 0.03423965349793434, 0.01828419417142868, 0.025779804214835167, -0.052469268441200256, 0.030837520956993103, 0.010206400416791439, -0.005435226950794458, 0.024670016020536423, -0.010097241029143333, -0.028254082426428795, 0.01363582443445921, -0.027872024103999138, 0.021340657025575638, -0.06083815172314644, 0.047702644020318985, 0.04286324605345726, 0.011316187679767609, 0.0538155660033226, 0.01748369261622429, -0.014863867312669754, 0.07375534623861313, 0.03274780884385109, 0.030127985402941704, -0.01358124427497387, 0.006517723668366671, 0.01899372972548008, -0.05676287040114403, 0.025707030668854713, -0.08674530684947968, -0.029054583981633186, -0.02459724433720112, -0.02716248854994774, -0.015700755640864372, 0.0009176208986900747, 0.01702886074781418, -0.0058309296146035194, -0.030255338177084923, -0.04741154983639717, 0.051304902881383896, -0.021740907803177834, 0.04864869266748428, -0.0017056150827556849, 0.002456085756421089, -0.037114184349775314, -0.028617946431040764, -0.05337892845273018, 0.07433752715587616, 0.040352579206228256, -0.007641155738383532, -0.036659352481365204, 0.02681681700050831, 0.013353829272091389, -0.05767253041267395, -0.016401194036006927, 0.007763959933072329, 0.03835132345557213, 0.03236575052142143, -0.023214558139443398, -0.007918602786958218, 0.04220828786492348, 0.03969762101769447, 0.028472401201725006, 0.022505022585392, 0.04370013251900673, -0.007272742688655853, -0.0017601947765797377, 0.012344105169177055, -0.057381439954042435, 0.07237266004085541, -0.01223494578152895, -0.053779181092977524, 0.0006833831430412829, -0.037205152213573456, -0.009733377024531364, 0.02028544805943966, 0.02203199826180935, 0.03403953090310097, 0.008432560600340366, 0.008114179596304893, -0.058072783052921295, 0.04697491228580475, -0.018811797723174095, -0.008118728175759315, 0.04104392230510712, 0.02596173621714115, 0.023505650460720062, 0.025306779891252518, 0.02223212458193302, -0.021395236253738403, 0.04530113562941551, -0.012143979780375957, -0.005885509308427572, 0.02212296426296234, -0.004418679978698492, -0.037205152213573456, -0.0117619214579463, -0.008000471629202366, -0.005125941708683968, -0.04184442386031151, -0.07728482782840729, 0.017347242683172226, -0.009333126246929169, 0.015900880098342896, -0.019303014501929283, 0.028217695653438568, 0.004600612446665764, 0.02923651784658432, 0.015018509700894356, -0.019248435273766518, 0.0015725771663710475, 0.016073716804385185, 0.00696345791220665, 0.012225848622620106, -0.04646550491452217, 0.012999061495065689, 0.03382121026515961, -0.009469575248658657, -0.015218635089695454, -0.0027903863228857517, -0.05898244306445122, -0.027453580871224403, 0.02432434633374214, -0.03298432007431984, -0.03343915194272995, -0.005667190533131361, 0.016910605132579803, 0.03363927826285362, -0.07189963757991791, -0.07954078912734985, -0.0006316461367532611, 0.02225031703710556, -0.040825601667165756, 0.009378609247505665, 0.056690096855163574, -0.013235572725534439, 0.025252200663089752, -0.0034339716657996178, 0.0003584634396247566, -0.025816190987825394, 0.0071408418007195, 0.041989970952272415, -0.0022445893846452236, -0.02235947735607624, 0.035713307559490204, -0.008418915793299675, -0.00573996314778924, 0.038642413914203644, 0.07310038805007935, -0.024488084018230438, 0.06847930699586868, -0.01112515851855278, 0.01681963913142681, 0.03969762101769447, -0.01433626376092434, 0.01309912372380495, -0.035822466015815735, 0.004589241463690996, 0.031728990375995636, -0.025561485439538956, -0.013481182046234608, 0.01886637695133686, -0.009633313864469528, -0.03125596418976784, 0.033020708709955215, 0.0047074975445866585, -0.02086763270199299, -0.03236575052142143, 0.032929740846157074, 0.00025868494412861764, 0.022814307361841202, 0.040934763848781586, -0.0312377717345953, -0.008418915793299675, -0.029764121398329735, -0.0503588542342186, -0.03143789619207382, -0.03283877670764923, -0.012371394783258438, 0.04239021986722946, -0.022323090583086014, 0.030364496633410454, 0.0007311403169296682, 0.06229361146688461, -0.018184131011366844, 0.04049812629818916, -0.05006776377558708, -0.05064994469285011, -0.07466500997543335, 0.0454830676317215, -0.028217695653438568, -0.021049564704298973, -0.040352579206228256, -0.005667190533131361, 0.0048575918190181255, -0.037805527448654175, 0.0073637086898088455, -0.03580427169799805, 0.025670643895864487, 0.059601012617349625, 0.007372805383056402, -0.02341468445956707, 0.02969134785234928, 0.009860729798674583, -0.06484066694974899, 0.028745299205183983, 0.03307528793811798, 0.04715684801340103, 0.08754581212997437, 0.06658721715211868, 0.017738396301865578, -0.03502196446061134, 0.022341283038258553, 0.003922914620488882, 0.008264273405075073, -0.03549498692154884, -0.04511920362710953, -0.03680489957332611, 0.013781369663774967, -0.028144923970103264, -0.003438520012423396, -0.02214115858078003, -0.04708407446742058, 0.03707779943943024, -0.012853515334427357, 0.011843791231513023, -0.006540465168654919, 0.018602576106786728, 0.0004639273101929575, 0.007973182015120983, 0.034421585500240326, 0.05017692223191261, -0.01281712856143713, -0.016810541972517967, -0.023742161691188812, -0.03451255336403847, -0.03951568901538849, 0.04861230403184891, -0.06462234258651733, -0.021577168256044388, 0.032329365611076355, -0.03585885092616081, -0.0003553364658728242, -0.02401505969464779, 0.044900886714458466, 0.01386323943734169, 0.024488084018230438, -0.016983378678560257, 0.05043162778019905, -0.05046801269054413, -0.025597872212529182, 0.024415312334895134, -0.0042367479763925076, 0.013908722437918186, 0.025888962671160698, -0.03007340617477894, 0.05661732330918312, -0.05858219414949417, -0.05930992215871811, 0.0008545131422579288, -0.053306158632040024, 0.07626601308584213, -0.0062266322784125805, 0.024488084018230438, 0.03591343015432358, 0.01830238662660122, -0.0999172031879425, 0.011934757232666016, -0.017438208684325218, -0.06520453095436096, -0.07015308737754822, -0.05297867953777313, -0.025579677894711494, 0.0008095986559055746, 0.048976168036460876, -0.04777541756629944, -0.011216124519705772, -0.03502196446061134, 0.06662359833717346, -0.01690150797367096, -0.0011217262363061309, 0.004152604378759861, -0.004489178769290447, 0.04843037202954292, -0.0059992168098688126, 0.04821205511689186, 0.01655583642423153, -0.09722460806369781, 0.01578262448310852, -0.01772020384669304, -0.0454830676317215, 0.015573402866721153, -0.06454957276582718, -0.04326349496841431, 0.023014433681964874, 0.06651443988084793, -0.0009523017797619104, 0.026944169774651527, 0.03564053401350975, 0.01901192218065262, 0.0004971867892891169, 0.0015873591182753444, -0.03740527480840683, -0.05763614550232887, -0.010888646356761456, 0.03958846256136894, 0.011452636681497097, 0.00495310639962554, 0.02272334136068821, 0.026980556547641754, -0.06163865700364113, 0.0269077830016613, 0.024178799241781235, 0.04078921675682068, -0.008978357538580894, -0.0059537338092923164, 0.026525726541876793, -0.04977666959166527, 0.045264750719070435, -0.02923651784658432, 0.009533251635730267, 0.003825126215815544, 0.009333126246929169, -0.016437580808997154, 0.009706087410449982, 0.0327296182513237, -0.10006275027990341, -0.03403953090310097, 0.07633878290653229, -0.02074027992784977, 0.03413049504160881, 0.01716531068086624, 0.07375534623861313, 0.002669856185093522, 0.04668382182717323, 0.056435391306877136, 0.005935540422797203, 0.02738080732524395, 0.03573149815201759, -0.045264750719070435, -0.05348809063434601, -0.04300878942012787, -0.008978357538580894, -0.02097679115831852, -0.0018568462692201138, 0.035476792603731155, -0.053415317088365555, -0.05417943373322487, -0.004289053380489349, 0.04450063407421112, 0.0012280428782105446, -0.014072461985051632, -0.003481728956103325, -0.03958846256136894, -0.04086199030280113, -0.020340029150247574, 0.0210859514772892, -0.01910288818180561, 0.061565883457660675, -0.0017340420745313168, 0.07983188331127167, -0.0882735401391983, 0.027453580871224403, -0.07357341051101685, 0.012416877783834934, 0.004884881433099508, 0.05512547865509987, 0.014318070374429226, 0.0027903863228857517, 0.04151694476604462, -0.004839398432523012, 0.016137393191456795, 0.01716531068086624, 0.09351319074630737, -0.0591643750667572, -0.015027605928480625, 0.05134128779172897, -0.012844419106841087, 0.06131117790937424, 0.0174654982984066, -0.05829109996557236, -0.009324029088020325, -0.02552509866654873, -0.012571520172059536, 0.05909160524606705, -0.06174781545996666, -0.06884317100048065, 0.023250944912433624, -0.004680207930505276, -0.011834695003926754, 0.03755082190036774, -0.008869198150932789, -0.005762704648077488, -0.008359787985682487, 0.0004499981296248734, 0.02632560022175312, -0.03926098719239235, -0.03998871520161629, 0.00024859339464455843, 0.03087390772998333, 0.021504394710063934, 0.05174154043197632, 0.034639906138181686, -0.014036075212061405, -0.012944481335580349, -0.08368884772062302, 0.0251794271171093, -0.0716085433959961, 0.021395236253738403, 0.004007058218121529, -0.023560229688882828, 0.04581054672598839, 0.009424092248082161, 0.037223342806100845, -0.011079675517976284, -0.020994985476136208, 0.03041907586157322, 0.0034658098593354225, -0.019994357600808144, 0.004557403735816479, 0.00029251299565657973, -0.042681314051151276, -0.044318702071905136, -0.0687704011797905, -0.04009787365794182, 0.038496870547533035, -0.005003137513995171, -0.03296612948179245, 0.003925188910216093, -0.027089716866612434, -0.10995987057685852, -0.05450690910220146, 0.03191092237830162, -0.0042140064761042595, -0.04450063407421112, -0.015054895542562008, 0.0077184769324958324, 0.03538582846522331, -0.00929219089448452, 0.020412800833582878, -0.013663114048540592, 0.033712051808834076, 0.0314742848277092, 0.010661231353878975, 0.029545802623033524, 0.005467065144330263, -0.0021104144398123026, -0.015446050092577934, 0.031146805733442307, -0.13120955228805542, -0.03624090924859047, 0.00518052140250802, 0.006021958310157061, -0.010297367349267006, 0.03456713259220123, 0.06957090646028519, -0.0435909740626812, 0.04009787365794182, -0.0008783917874097824, 0.028490595519542694, 0.07095358520746231, -0.01427258737385273, 0.017629237845540047, 0.008241532370448112, -0.013826852664351463, -0.09402260184288025, 0.03820577636361122, 0.005248746369034052, -0.011361670680344105, 0.05316061154007912, -0.004452792461961508, 0.039333757013082504, 0.008746393956243992, -0.01124341506510973, 0.07721205800771713, 0.02983689308166504, 0.015145862475037575, 0.04195358231663704, 0.04402761161327362, -0.01503670308738947, -0.00985163263976574, 0.026234634220600128, -0.07815810292959213, -0.009196676313877106, 0.05301506444811821, -0.05301506444811821, 0.032001886516809464, -0.002349200425669551, -0.07135383784770966, -0.033948563039302826, 0.017001571133732796, -0.004848495125770569, -0.02235947735607624, 0.0025152137968689203, 0.05607152730226517, 0.015928171575069427, -0.002188872778788209, 0.011570893228054047, 0.01555520948022604, -0.0033634728752076626, 0.017283566296100616 ]
719,842
ibm_platform_services.open_service_broker_v1
delete_service_instance
Delete (deprovision) a service instance. Delete (deprovision) a service instance by GUID. When a service broker receives a deprovision request from the IBM Cloud platform, it MUST delete any resources it created during the provision. Usually this means that all resources are immediately reclaimed for future provisions. :param str service_id: The ID of the service stored in the catalog.json of your broker. This value should be a GUID. MUST be a non-empty string. :param str plan_id: The ID of the plan for which the service instance has been requested, which is stored in the catalog.json of your broker. This value should be a GUID. MUST be a non-empty string. :param str instance_id: The ID of a previously provisioned service instance. :param bool accepts_incomplete: (optional) A value of true indicates that both the IBM Cloud platform and the requesting client support asynchronous deprovisioning. If this parameter is not included in the request, and the broker can only deprovision a service instance of the requested plan asynchronously, the broker MUST reject the request with a `422` Unprocessable Entity. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse with `dict` result representing a `Resp2079874Root` object
def delete_service_instance( self, service_id: str, plan_id: str, instance_id: str, *, accepts_incomplete: bool = None, **kwargs ) -> DetailedResponse: """ Delete (deprovision) a service instance. Delete (deprovision) a service instance by GUID. When a service broker receives a deprovision request from the IBM Cloud platform, it MUST delete any resources it created during the provision. Usually this means that all resources are immediately reclaimed for future provisions. :param str service_id: The ID of the service stored in the catalog.json of your broker. This value should be a GUID. MUST be a non-empty string. :param str plan_id: The ID of the plan for which the service instance has been requested, which is stored in the catalog.json of your broker. This value should be a GUID. MUST be a non-empty string. :param str instance_id: The ID of a previously provisioned service instance. :param bool accepts_incomplete: (optional) A value of true indicates that both the IBM Cloud platform and the requesting client support asynchronous deprovisioning. If this parameter is not included in the request, and the broker can only deprovision a service instance of the requested plan asynchronously, the broker MUST reject the request with a `422` Unprocessable Entity. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse with `dict` result representing a `Resp2079874Root` object """ if service_id is None: raise ValueError('service_id must be provided') if plan_id is None: raise ValueError('plan_id must be provided') if instance_id is None: raise ValueError('instance_id must be provided') headers = {} sdk_headers = get_sdk_headers( service_name=self.DEFAULT_SERVICE_NAME, service_version='V1', operation_id='delete_service_instance' ) headers.update(sdk_headers) params = {'service_id': service_id, 'plan_id': plan_id, 'accepts_incomplete': accepts_incomplete} if 'headers' in kwargs: headers.update(kwargs.get('headers')) headers['Accept'] = 'application/json' path_param_keys = ['instance_id'] path_param_values = self.encode_path_vars(instance_id) path_param_dict = dict(zip(path_param_keys, path_param_values)) url = '/v2/service_instances/{instance_id}'.format(**path_param_dict) request = self.prepare_request(method='DELETE', url=url, headers=headers, params=params) response = self.send(request) return response
(self, service_id: str, plan_id: str, instance_id: str, *, accepts_incomplete: Optional[bool] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
[ 0.07046572864055634, -0.07039225101470947, 0.012087187729775906, -0.03394699469208717, -0.038759827613830566, -0.039862003177404404, 0.03076905570924282, 0.06377920508384705, -0.0003088386729359627, 0.05360245332121849, -0.01678980141878128, -0.031963080167770386, -0.0033111178781837225, -0.050185710191726685, -0.0012594647705554962, 0.04449113830924034, 0.004123971797525883, -0.022576220333576202, 0.02867492288351059, -0.044858530163764954, 0.04441765695810318, 0.10441272705793381, -0.017818497493863106, 0.00750397564843297, 0.042213309556245804, 0.053124841302633286, 0.013161808252334595, -0.001274390029720962, -0.00732487253844738, -0.004654393997043371, 0.031044600531458855, 0.007729003205895424, -0.0540800616145134, 0.06469768285751343, -0.01458545122295618, 0.013464906252920628, 0.012950558215379715, 0.024064157158136368, -0.11976969987154007, 0.09126010537147522, -0.058452021330595016, 0.0013053887523710728, 0.023274265229701996, -0.04236026480793953, 0.022227199748158455, 0.011177892796695232, 0.011976970359683037, 0.021823067218065262, -0.020169805735349655, 0.01492528896778822, 0.03631667047739029, -0.04647505283355713, -0.030420035123825073, -0.029281120747327805, -0.024651983752846718, 0.03378167003393173, -0.015650887042284012, 0.04882635921239853, -0.0070631057024002075, 0.00991039164364338, 0.004137749318033457, 0.004066566936671734, 0.002351307077333331, 0.006415578071027994, 0.03701471537351608, 0.025662312284111977, -0.020371871069073677, 0.018920673057436943, -0.038796566426754, 0.014181320555508137, 0.022888503968715668, -0.0012032078811898828, -0.013373058289289474, 0.001278982381336391, 0.03798830509185791, 0.005731310695409775, 0.01926969550549984, -0.03787808492779732, -0.03673917055130005, -0.03923743590712547, -0.01917784847319126, -0.029905686154961586, 0.032385580241680145, -0.032936666160821915, 0.04298483207821846, 0.013777188956737518, 0.046364836394786835, -0.04147852584719658, -0.04559331387281418, -0.01007571816444397, 0.012858710251748562, -0.029942424967885017, -0.03798830509185791, 0.018902303650975227, 0.0196921955794096, -0.003490221220999956, -0.031761012971401215, -0.03688612952828407, -0.04022939130663872, -0.034185800701379776, 0.01125137135386467, -0.03673917055130005, -0.007150361314415932, -0.0008937951643019915, 0.07233943045139313, -0.03442460298538208, -0.014824255369603634, -0.032054927200078964, 0.010479848831892014, 0.0028082504868507385, -0.015430452302098274, 0.04236026480793953, -0.050185710191726685, -0.04213982820510864, 0.022447634488344193, -0.027131877839565277, 0.013143438845872879, 0.015210017561912537, -0.055439408868551254, -0.015595778822898865, 0.0005100430571474135, -0.051949188113212585, 0.005313402507454157, -0.05272071063518524, 0.013345504179596901, -0.025809267535805702, 0.0073616113513708115, 0.0026796632446348667, 0.010966642759740353, -0.03363471105694771, -0.0016394855920225382, 0.010323707014322281, -0.013547569513320923, 0.009919576346874237, -0.013474090956151485, -0.015228386968374252, 0.07325790822505951, 0.019545238465070724, -0.002129723783582449, 0.019398283213377, -0.001182542066089809, -0.005308810155838728, -0.04651179164648056, 0.02505611442029476, 0.006250251550227404, -0.004528102930635214, -0.021841438487172127, 0.006709491368383169, -0.03971504420042038, 0.023053830489516258, -0.049303967505693436, -0.014897733926773071, 0.033891886472702026, -0.057202890515327454, -0.008009139448404312, -0.07215573638677597, 0.024027418345212936, 0.0001445887319277972, -0.007788704242557287, -0.033395908772945404, 0.043131787329912186, 0.026121551170945168, 0.018406325951218605, -0.0032330472022295, -0.00994713045656681, -0.001521231373772025, -0.0013398316223174334, 0.0023742690682411194, -0.044564615935087204, 0.009166423231363297, -0.03188960254192352, 0.035783953964710236, -0.04441765695810318, -0.001471863011829555, 0.0009644032688811421, 0.07325790822505951, 0.07840139418840408, -0.002782992320135236, 0.026341985911130905, -0.03773112967610359, -0.01376800425350666, 0.009882837533950806, -0.015200831927359104, -0.04180917888879776, 0.023237526416778564, 0.025662312284111977, 0.002012617653235793, 0.059884849935770035, 0.012913818471133709, -0.05536593124270439, 0.02191491611301899, -0.0022043501958251, 0.06238311529159546, 0.05452093109488487, -0.001637189299799502, 0.0019678419921547174, 0.006291583180427551, -0.056651804596185684, 0.015678441151976585, 0.006231882143765688, -0.0482017919421196, -0.020426979288458824, 0.02505611442029476, -0.02031676284968853, 0.03086090460419655, -0.006925333756953478, -0.00622269744053483, -0.0033800038509070873, -0.030217967927455902, 0.005033266730606556, -0.06120745837688446, -0.03462667018175125, -0.0009345526923425496, 0.0025189295411109924, 0.040192652493715286, -0.05915006622672081, -0.0027049214113503695, -0.01492528896778822, -0.010213489644229412, -0.005414435639977455, 0.006185958161950111, -0.025588832795619965, 0.003875982714816928, 0.04441765695810318, -0.027774814516305923, 0.05128788203001022, 0.0009971241233870387, 0.02917090244591236, -0.043719615787267685, -0.05147157981991768, -0.015255941078066826, 0.005239924415946007, 0.031540580093860626, 0.0029529109597206116, -0.009598108939826488, -0.05742332711815834, 0.009515445679426193, -0.03673917055130005, 0.055218975991010666, -0.02048208750784397, 0.051692016422748566, 0.007903514429926872, 0.023457961156964302, 0.02468872256577015, -0.034828733652830124, 0.025092855095863342, 0.0019288065377622843, 0.019085999578237534, 0.01463137473911047, -0.03642689064145088, -0.027352312579751015, -0.05297788605093956, 0.037088192999362946, 0.008408677764236927, 0.0043719615787267685, -0.06517528742551804, 0.00043914790148846805, -0.015421267598867416, 0.03593090921640396, 0.05216962471604347, -0.0035958464723080397, -0.017497031018137932, -0.05422701686620712, 0.05025918781757355, 0.010920719243586063, 0.019379913806915283, -0.008059656247496605, 0.013005666434764862, 0.07248638570308685, -0.005850713234394789, 0.01599990949034691, -0.03912721946835518, 0.013042406179010868, -0.016100941225886345, -0.01303322147578001, 0.03155894950032234, -0.05393310263752937, -0.061905503273010254, -0.02040860988199711, -0.03806178271770477, -0.047834400087594986, -0.08141400665044785, 0.08604314178228378, -0.008486748673021793, 0.0027761035598814487, 0.01318017765879631, 0.04434417933225632, 0.01754295453429222, 0.060435935854911804, 0.05746006593108177, -0.008146910928189754, -0.006066555622965097, -0.006727860774844885, -0.03223862498998642, -0.07402943074703217, 0.03203655779361725, -0.08861488103866577, -0.014723222702741623, -0.02048208750784397, -0.01352001540362835, -0.016192790120840073, 0.004461513366550207, -0.011389142833650112, -0.02560720220208168, -0.04287461191415787, 0.02035350166261196, 0.06249333173036575, 0.003345560748130083, 0.04511570185422897, -0.003646362805739045, -0.0130791449919343, -0.022888503968715668, -0.05951745808124542, -0.04596070572733879, 0.04967135936021805, 0.023457961156964302, -0.005644055083394051, -0.023476330563426018, 0.008955173194408417, -0.00588745204731822, -0.03330405801534653, 0.02354980818927288, -0.001857624389231205, 0.06715920567512512, 0.08207531273365021, -0.02981383726000786, -0.025919485837221146, 0.02439481019973755, 0.06719594448804855, 0.042801134288311005, 0.002473005559295416, -0.002429377753287554, -0.02880351059138775, 0.00397931132465601, 0.0014431605814024806, -0.05771723762154579, 0.05591702088713646, -0.024964267387986183, -0.03569210693240166, 0.06061963364481926, 0.03170590475201607, -0.0086704446002841, 0.016229528933763504, 0.022888503968715668, -0.020886220037937164, 0.018617575988173485, 0.008468379266560078, -0.0627872422337532, 0.04335222393274307, -0.00010368770017521456, -0.03144872933626175, 0.04213982820510864, 0.03295503556728363, 0.06767355650663376, 0.02619502879679203, -0.00017680726887192577, -0.004663578700274229, 0.059590935707092285, -0.0057634576223790646, -0.004429366439580917, 0.03203655779361725, -0.007784111890941858, -0.06330159306526184, -0.007467236835509539, -0.027866661548614502, -0.038098521530628204, -0.029795467853546143, -0.09324401617050171, 0.005497098434716463, 0.004215819761157036, -0.016991866752505302, -0.004447735846042633, -0.002801361959427595, 0.004466105718165636, 0.09625662863254547, 0.026139920577406883, -0.03953135013580322, 0.002548780059441924, -0.030107751488685608, 0.026709377765655518, -0.01825936883687973, -0.028932098299264908, -0.016477517783641815, -0.003802504390478134, 0.013373058289289474, 0.022943612188100815, -0.0270400308072567, -0.00471179885789752, -0.005308810155838728, -0.002040172228589654, -0.018112411722540855, -0.031503841280937195, -0.03089764341711998, -0.013529200106859207, 0.06208920106291771, -0.040743742138147354, -0.08082617819309235, -0.01813996583223343, 0.03883330523967743, -0.059884849935770035, 0.052537016570568085, 0.07627052068710327, -0.013841482810676098, 0.035122647881507874, -0.010801316238939762, -0.015035506337881088, -0.00554302241653204, -0.02880351059138775, 0.0008386864210478961, 0.042250048369169235, 0.036041125655174255, -0.017735835164785385, 0.04004569724202156, -0.006011446937918663, -0.035324715077877045, 0.06785725057125092, -0.06826137751340866, 0.11220142990350723, 0.032348841428756714, -0.03034655563533306, 0.0475037507712841, 0.043756354600191116, 0.020390240475535393, -0.03060372918844223, -0.00957055389881134, 0.02505611442029476, -0.028344271704554558, -0.028858618810772896, 0.04934070631861687, -0.04357265681028366, -0.00650742556899786, 0.04070700332522392, -0.009460336528718472, 0.025552093982696533, -0.01001142431050539, 0.03076905570924282, 0.015650887042284012, -0.007035551592707634, 0.03697797656059265, 0.023108938708901405, -0.0208678487688303, -0.013115884736180305, -0.042543962597846985, -0.005005712155252695, 0.009616478346288204, -0.015880506485700607, 0.030842535197734833, -0.0633750706911087, 0.07292725890874863, 0.0018587724771350622, 0.056394629180431366, -0.03817199915647507, 0.02691144309937954, -0.02959340251982212, -0.0249826367944479, -0.0745437815785408, 0.03850265219807625, -0.0041446378454566, -0.038392435759305954, -0.03552677854895592, 0.022741546854376793, 0.01001142431050539, -0.06131767854094505, 0.01215148065239191, 0.013106699101626873, 0.0740661695599556, 0.07322116941213608, 0.030071012675762177, -0.01947176083922386, 0.02309056930243969, 0.018828826025128365, -0.038429174572229385, 0.03493895381689072, 0.028454488143324852, 0.026856334879994392, 0.09985706955194473, 0.04687918350100517, -0.025533724576234818, -0.041294828057289124, -0.0014041252434253693, 0.05040614306926727, 0.0026153698563575745, 0.007784111890941858, -0.027150247246026993, -0.02854633703827858, -0.016128497198224068, 0.005905821919441223, 0.002220423659309745, -0.00110217509791255, -0.07105355709791183, 0.03060372918844223, -0.012720937840640545, -0.015375343151390553, -0.012371916323900223, 0.024964267387986183, -0.04412374645471573, -0.003497109981253743, 0.016348931938409805, 0.04412374645471573, -0.0305669903755188, 0.02476220205426216, -0.02648894302546978, -0.013914961367845535, -0.025864377617836, 0.02011469565331936, -0.03458993136882782, -0.011526915244758129, 0.06539572775363922, -0.011875937692821026, 0.04151526466012001, -0.04210308939218521, 0.011425882577896118, 0.012748492881655693, 0.023311004042625427, 0.015356973744928837, 0.0964035838842392, -0.06010528653860092, 0.02681959606707096, 0.06539572775363922, 0.004470698069781065, 0.009790989570319653, -0.00591959897428751, -0.02981383726000786, 0.08067922294139862, -0.05415353924036026, -0.03912721946835518, -0.033432647585868835, -0.05235331878066063, 0.05367593094706535, 0.010158381424844265, -0.01724904030561447, -0.017322519794106483, 0.0014213466783985496, -0.058415282517671585, -0.01943502202630043, -0.01594480127096176, -0.07417638599872589, -0.04889983683824539, 0.01194023061543703, -0.042543962597846985, 0.01876453123986721, 0.021382197737693787, -0.03319384157657623, -0.019967740401625633, -0.06091354787349701, -0.00533177237957716, 0.03001590259373188, 0.020463718101382256, -0.012619905173778534, 0.025790898129343987, 0.04864266514778137, -0.03359797224402428, 0.04728331416845322, 0.04331548511981964, -0.06253007054328918, 0.07116377353668213, -0.02443154901266098, -0.004941418766975403, 0.0640731155872345, -0.06969420611858368, -0.042470481246709824, 0.004179080948233604, 0.06745311617851257, -0.013740450143814087, 0.02854633703827858, 0.04276439547538757, 0.0003309395688120276, 0.015522300265729427, -0.02241089567542076, -0.0039816079661250114, -0.04596070572733879, -0.042250048369169235, 0.0346817784011364, -0.01549474522471428, -0.04180917888879776, 0.015430452302098274, 0.023990679532289505, -0.010149195790290833, 0.012665829621255398, 0.0017910345923155546, 0.00007114627078408375, -0.015182462520897388, 0.04735679179430008, 0.002392638474702835, -0.05352897197008133, 0.04063352569937706, -0.008096395060420036, -0.03776786848902702, -0.0017600359860807657, 0.016514258459210396, -0.03743721544742584, 0.01376800425350666, 0.04588722437620163, -0.029868947342038155, -0.026929812505841255, 0.08200182765722275, 0.07597661018371582, 0.02867492288351059, 0.03030981682240963, 0.06579985469579697, 0.03543493151664734, 0.015145723707973957, 0.09669750183820724, -0.035783953964710236, 0.050773534923791885, 0.08082617819309235, -0.036335039883852005, -0.05496180057525635, -0.023035461083054543, -0.01366697158664465, -0.0032330472022295, -0.020371871069073677, 0.016192790120840073, -0.06557942181825638, -0.057239629328250885, 0.020390240475535393, 0.011710611172020435, -0.00877147726714611, -0.007664709817618132, -0.018920673057436943, -0.02208024263381958, -0.02518470212817192, 0.003545330138877034, 0.0014087175950407982, -0.049010053277015686, 0.060840070247650146, -0.012041263282299042, 0.024082526564598083, -0.08530835807323456, -0.00032921740785241127, -0.018792087212204933, 0.03618808463215828, -0.02593785524368286, 0.05973789468407631, -0.006516610737890005, -0.0476139672100544, 0.0096991416066885, 0.008872509934008121, -0.0040068659000098705, 0.015458006411790848, 0.038392435759305954, -0.01280360110104084, -0.06058289483189583, 0.05848876014351845, -0.0529044084250927, 0.010516587644815445, -0.032606013119220734, -0.06322811543941498, -0.018066488206386566, 0.03115481697022915, 0.007986177690327168, 0.061905503273010254, -0.02645220421254635, -0.07413964718580246, -0.011214632540941238, -0.013630232773721218, 0.01624789834022522, 0.049267228692770004, -0.026213398203253746, 0.027278834953904152, 0.007246801629662514, -0.007637155242264271, 0.0022296085953712463, -0.02527655102312565, -0.0293913371860981, -0.010066533461213112, 0.047871142625808716, -0.014006809331476688, -0.013602678664028645, 0.007416720502078533, -0.008661259897053242, 0.021014805883169174, -0.048091575503349304, 0.03916395828127861, -0.04092743620276451, 0.00718710059300065, -0.004739352967590094, -0.01989426091313362, -0.004284705966711044, 0.04184591770172119, 0.08986401557922363, 0.026341985911130905, -0.0008088358445093036, 0.003967830445617437, -0.013722080737352371, -0.06884920597076416, 0.006608458701521158, 0.0027072178199887276, -0.05650484561920166, -0.07505812495946884, -0.03330405801534653, -0.040486566722393036, 0.011683057062327862, -0.01194023061543703, -0.020243283361196518, 0.030217967927455902, -0.021639371290802956, -0.06737963855266571, -0.029226010665297508, 0.037584174424409866, -0.03706982359290123, -0.050148967653512955, -0.01244539488106966, 0.03345101699233055, 0.01469566859304905, 0.05360245332121849, 0.0000853898745845072, -0.024523397907614708, 0.04011917486786842, 0.0006601570057682693, 0.0440870076417923, 0.05510875582695007, 0.045189179480075836, -0.00366243626922369, -0.009671586565673351, 0.0617218092083931, -0.09449315071105957, -0.050773534923791885, 0.024211114272475243, 0.02106991410255432, -0.025552093982696533, -0.020261652767658234, 0.05790093541145325, -0.012509687803685665, 0.007242209278047085, 0.025680681690573692, 0.028105465695261955, 0.047797661274671555, 0.033101994544267654, 0.03543493151664734, -0.00785299763083458, 0.011471806094050407, -0.07744617760181427, -0.02446828782558441, 0.0007336353301070631, -0.02946481667459011, 0.03622482344508171, -0.02073926292359829, 0.01821344532072544, 0.03245905786752701, -0.01296892762184143, 0.06568963825702667, 0.05389636382460594, 0.01914110779762268, 0.009598108939826488, 0.05393310263752937, 0.02040860988199711, 0.023457961156964302, 0.04276439547538757, -0.056063976138830185, -0.01926969550549984, -0.01479670125991106, -0.04805483669042587, 0.0840592235326767, 0.009005689062178135, -0.021125024184584618, -0.03253253549337387, 0.024486657232046127, -0.011131969280540943, -0.036959607154130936, -0.010681914165616035, -0.015476375818252563, -0.0053547341376543045, 0.017193932086229324, -0.016550997272133827, 0.019122738391160965, 0.009515445679426193, 0.024523397907614708 ]
719,849
ibm_platform_services.open_service_broker_v1
get_last_operation
Get the current status of a provision in-progress for a service instance. Get `last_operation` for instance by GUID (for asynchronous provision calls). When a broker returns status code `202 Accepted` during a provision, update, or deprovision call, the IBM Cloud platform will begin polling the `last_operation` endpoint to obtain the state of the last requested operation. The broker response MUST contain the field `state` and MAY contain the field `description`. Valid values for `state` are `in progress`, `succeeded`, and `failed`. The platform will poll the `last_operation `endpoint as long as the broker returns "state": "in progress". Returning "state": "succeeded" or "state": "failed" will cause the platform to cease polling. The value provided for description will be passed through to the platform API client and can be used to provide additional detail for users about the progress of the operation. :param str instance_id: The unique instance ID generated during provisioning by the IBM Cloud platform. :param str operation: (optional) A broker-provided identifier for the operation. When a value for operation is included with asynchronous responses for provision and update, and deprovision requests, the IBM Cloud platform will provide the same value using this query parameter as a URL-encoded string. If present, MUST be a non-empty string. :param str plan_id: (optional) ID of the plan from the catalog.json in your broker. If present, MUST be a non-empty string. :param str service_id: (optional) ID of the service from the catalog.json in your service broker. If present, MUST be a non-empty string. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse with `dict` result representing a `Resp2079894Root` object
def get_last_operation( self, instance_id: str, *, operation: str = None, plan_id: str = None, service_id: str = None, **kwargs ) -> DetailedResponse: """ Get the current status of a provision in-progress for a service instance. Get `last_operation` for instance by GUID (for asynchronous provision calls). When a broker returns status code `202 Accepted` during a provision, update, or deprovision call, the IBM Cloud platform will begin polling the `last_operation` endpoint to obtain the state of the last requested operation. The broker response MUST contain the field `state` and MAY contain the field `description`. Valid values for `state` are `in progress`, `succeeded`, and `failed`. The platform will poll the `last_operation `endpoint as long as the broker returns "state": "in progress". Returning "state": "succeeded" or "state": "failed" will cause the platform to cease polling. The value provided for description will be passed through to the platform API client and can be used to provide additional detail for users about the progress of the operation. :param str instance_id: The unique instance ID generated during provisioning by the IBM Cloud platform. :param str operation: (optional) A broker-provided identifier for the operation. When a value for operation is included with asynchronous responses for provision and update, and deprovision requests, the IBM Cloud platform will provide the same value using this query parameter as a URL-encoded string. If present, MUST be a non-empty string. :param str plan_id: (optional) ID of the plan from the catalog.json in your broker. If present, MUST be a non-empty string. :param str service_id: (optional) ID of the service from the catalog.json in your service broker. If present, MUST be a non-empty string. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse with `dict` result representing a `Resp2079894Root` object """ if instance_id is None: raise ValueError('instance_id must be provided') headers = {} sdk_headers = get_sdk_headers( service_name=self.DEFAULT_SERVICE_NAME, service_version='V1', operation_id='get_last_operation' ) headers.update(sdk_headers) params = {'operation': operation, 'plan_id': plan_id, 'service_id': service_id} if 'headers' in kwargs: headers.update(kwargs.get('headers')) headers['Accept'] = 'application/json' path_param_keys = ['instance_id'] path_param_values = self.encode_path_vars(instance_id) path_param_dict = dict(zip(path_param_keys, path_param_values)) url = '/v2/service_instances/{instance_id}/last_operation'.format(**path_param_dict) request = self.prepare_request(method='GET', url=url, headers=headers, params=params) response = self.send(request) return response
(self, instance_id: str, *, operation: Optional[str] = None, plan_id: Optional[str] = None, service_id: Optional[str] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
[ 0.03684433177113533, -0.10992399603128433, -0.008359437808394432, 0.03208654001355171, -0.026434283703565598, -0.04746371880173683, 0.003939450718462467, 0.0019102529622614384, 0.013673890382051468, -0.040802810341119766, 0.010781153105199337, -0.02900349162518978, 0.005590403918176889, -0.10094128549098969, 0.0039489660412073135, 0.07110042124986649, 0.03178204223513603, -0.06554332375526428, -0.003140141721814871, -0.04152599722146988, 0.10246377438306808, 0.06211771443486214, -0.01753721572458744, 0.00688452273607254, 0.08404161036014557, 0.06207964941859245, 0.021162651479244232, -0.034636713564395905, 0.010429076850414276, 0.0013321813894435763, -0.028413524851202965, -0.021124590188264847, -0.03421802818775177, 0.018108149990439415, -0.016557110473513603, 0.048643652349710464, 0.015976659953594208, 0.037567514926195145, -0.10132190585136414, 0.02921283431351185, -0.037110764533281326, -0.007978814654052258, 0.004952860064804554, -0.0333806574344635, 0.016966281458735466, 0.006380197126418352, -0.003470808267593384, 0.005114624742418528, -0.025121133774518967, 0.0025811013765633106, 0.05161251127719879, 0.009325269609689713, -0.052640195935964584, -0.023503486067056656, -0.03897581994533539, 0.02544466406106949, -0.010828731581568718, -0.007065318990498781, -0.011190323159098625, 0.010238764807581902, -0.03905194625258446, 0.013569219037890434, 0.005076562520116568, 0.009234871715307236, 0.009177777916193008, 0.01846974343061447, -0.02306576818227768, 0.0177655890583992, -0.044038109481334686, 0.03170591592788696, 0.019088255241513252, 0.008863763883709908, -0.020363343879580498, -0.018726663663983345, -0.009149231016635895, -0.048795901238918304, 0.02892736718058586, -0.051955074071884155, -0.017936870455741882, -0.025178227573633194, -0.08769559860229492, 0.0007487572729587555, 0.06565751135349274, -0.016442924737930298, 0.05416268855333328, -0.021486181765794754, 0.05888241529464722, -0.016052784398198128, -0.08465060591697693, -0.03958481550216675, -0.05458137392997742, -0.03836682438850403, -0.01960209757089615, 0.04407617077231407, 0.018269915133714676, -0.05473362281918526, -0.06154678016901016, -0.02938411384820938, -0.027633247897028923, -0.014625447802245617, -0.015557975508272648, -0.036730144172906876, 0.012855550274252892, -0.02953636460006237, 0.09690667688846588, -0.04175436869263649, -0.005290662869811058, 0.01422579400241375, -0.019963689148426056, -0.02399829588830471, 0.011523368768393993, 0.06356408447027206, -0.03796716779470444, -0.03659692406654358, 0.07414540648460388, 0.05237375944852829, 0.03315228596329689, 0.028013870120048523, -0.06619038432836533, -0.033038098365068436, -0.006646633613854647, -0.07559177279472351, 0.03092563897371292, -0.06740837544202805, -0.04175436869263649, -0.022818364202976227, -0.004550826735794544, 0.016243096441030502, 0.0077171362936496735, -0.025882380083203316, -0.023484453558921814, -0.020325280725955963, -0.03162979334592819, 0.0347699336707592, 0.010200702585279942, -0.01945936307311058, 0.018564898520708084, 0.04712115600705147, -0.07098623365163803, 0.05827341973781586, 0.021124590188264847, -0.005461943335831165, -0.04708309471607208, 0.009515580721199512, 0.0014844306278973818, 0.0014380421489477158, -0.00775044085457921, 0.0167569387704134, -0.0036563619505614042, -0.010134093463420868, -0.007988329976797104, -0.040422189980745316, 0.005247842986136675, -0.030583078041672707, 0.017137560993433, -0.05998622253537178, 0.0249117910861969, -0.002028008224442601, -0.022647082805633545, -0.05069901421666145, 0.02121974527835846, 0.01860296167433262, 0.010276827961206436, -0.05705542489886284, 0.003516007214784622, 0.007065318990498781, -0.0020601232536137104, -0.009044559672474861, -0.045712850987911224, 0.029859893023967743, -0.0154247572645545, 0.0057854731567204, -0.021257808431982994, -0.041792433708906174, -0.07361253350973129, 0.09690667688846588, 0.07098623365163803, -0.004179718904197216, -0.010134093463420868, 0.020724935457110405, -0.027804527431726456, -0.02921283431351185, -0.04205887019634247, -0.03221975639462471, -0.017280295491218567, -0.023731859400868416, 0.01892649009823799, -0.00007367141370195895, -0.0012667616829276085, -0.008354680612683296, -0.0018293705070391297, 0.01084776222705841, 0.07068173587322235, 0.005400092341005802, 0.0216194000095129, -0.027728402987122536, 0.036863360553979874, 0.031192075461149216, 0.11449147015810013, 0.045256104320287704, -0.009035044349730015, 0.02316092513501644, 0.034275121986866, 0.0231418926268816, -0.000026948422600980848, 0.0030330915469676256, 0.011352088302373886, 0.013236173428595066, -0.04746371880173683, 0.00474827503785491, -0.0427439920604229, 0.003047364763915539, -0.04875783622264862, 0.04715922102332115, 0.0036730142310261726, -0.0038300214800983667, 0.016262128949165344, 0.00017693033441901207, 0.021581338718533516, 0.011009527370333672, 0.009130200371146202, -0.05606580525636673, -0.01373098324984312, 0.007545855827629566, -0.010762122459709644, 0.040650561451911926, 0.04339104890823364, 0.011827867478132248, -0.013397938571870327, -0.02776646614074707, -0.0002924554282799363, -0.01752769947052002, 0.012893612496554852, 0.015091711655259132, -0.05005195736885071, -0.04259173944592476, -0.04681665822863579, -0.0118849603459239, 0.06234608590602875, -0.0008201241726055741, 0.007089107763022184, 0.039737068116664886, 0.024055389687418938, 0.05382012575864792, -0.07665751874446869, -0.06314539909362793, 0.028413524851202965, 0.03421802818775177, 0.033570971339941025, -0.01662372052669525, 0.004358136095106602, -0.04605541378259659, 0.03737720102071762, -0.02316092513501644, 0.01899310015141964, -0.037567514926195145, 0.0008706756634637713, -0.04369554668664932, 0.055799368768930435, 0.0018947900971397758, 0.008916099555790424, 0.010990495793521404, -0.05465749651193619, 0.012313161976635456, -0.055799368768930435, -0.022171303629875183, 0.020515592768788338, -0.022361615672707558, 0.022494833916425705, 0.030430829152464867, 0.04575091227889061, -0.00984862633049488, -0.04377167299389839, -0.026205910369753838, -0.020096907392144203, 0.010172156617045403, -0.005404850002378225, -0.016186002641916275, -0.05484781041741371, -0.048339150846004486, -0.01585295796394348, -0.045027729123830795, 0.03912806883454323, -0.022342585027217865, -0.02354154735803604, 0.009501307271420956, 0.03752945363521576, 0.01361679658293724, 0.034103844314813614, 0.04506579041481018, 0.02523532137274742, 0.04038412496447563, -0.041031185537576675, 0.030202453956007957, -0.01938323862850666, 0.03494121506810188, -0.05998622253537178, -0.037110764533281326, 0.0023574852384626865, -0.03482702746987343, -0.04658828675746918, -0.009591706097126007, -0.030716296285390854, -0.07342222332954407, -0.039737068116664886, -0.007417395245283842, 0.05629417672753334, -0.01977337710559368, 0.01526299212127924, 0.013797592371702194, -0.013711952604353428, 0.023731859400868416, -0.018488774076104164, -0.04936683550477028, -0.018012994900345802, 0.036349520087242126, 0.027119405567646027, -0.03052598424255848, 0.04852946475148201, 0.04807271435856819, -0.04734953120350838, 0.07026305049657822, 0.008007361553609371, 0.011095167137682438, 0.03638758137822151, -0.04959520697593689, -0.04921458661556244, 0.02736681140959263, 0.07228035479784012, 0.04575091227889061, -0.029726674780249596, -0.03791007399559021, -0.015253476798534393, 0.008592569269239902, -0.005433396901935339, -0.056179989129304886, 0.027899684384465218, -0.013074408285319805, 0.0015676920302212238, 0.0432388000190258, 0.014634964056313038, -0.03612114489078522, -0.00896367710083723, 0.025863349437713623, 0.03423706069588661, 0.021638430655002594, 0.08008313179016113, -0.010010391473770142, 0.027500029653310776, -0.0004641819396056235, -0.05214538425207138, 0.005319209769368172, -0.011751743033528328, 0.05777860805392265, -0.004291526973247528, 0.009054074995219707, -0.04468517005443573, 0.014111606404185295, -0.005009953398257494, 0.028470618650317192, 0.022647082805633545, 0.001468967879191041, -0.012018178589642048, 0.026567501947283745, 0.0010532558662816882, -0.013949842192232609, -0.005247842986136675, -0.026015598326921463, -0.011237901635468006, -0.02906058542430401, -0.03290487825870514, -0.05439106002449989, 0.06303121149539948, 0.03606405109167099, 0.02753809094429016, 0.0761246457695961, -0.05838760733604431, -0.0167569387704134, -0.04167824611067772, -0.006503899581730366, 0.04377167299389839, -0.040878936648368835, -0.0370536744594574, -0.010067484341561794, 0.05423881113529205, 0.03362806513905525, -0.00842128973454237, -0.03981319069862366, 0.011009527370333672, -0.01938323862850666, -0.045560602098703384, -0.007569644600152969, -0.06238415092229843, -0.014092575758695602, 0.03336162865161896, 0.002997408155351877, -0.04415229707956314, 0.007450699806213379, 0.0333806574344635, -0.07985475659370422, 0.02561594359576702, 0.010476654395461082, 0.037719763815402985, 0.03836682438850403, 0.0020446605049073696, -0.05229763314127922, -0.005157445091754198, -0.010248281061649323, -0.04007962718605995, -0.01322665810585022, -0.006380197126418352, -0.021124590188264847, 0.012141881510615349, -0.01261766068637371, -0.019183412194252014, 0.05549486726522446, -0.04700697213411331, 0.13847073912620544, -0.0017924975836649537, 0.017442060634493828, 0.024645354598760605, 0.07296547293663025, 0.034408342093229294, 0.013331329450011253, -0.01473011914640665, 0.03798620030283928, -0.0010038937907665968, -0.003582616336643696, -0.02306576818227768, 0.018574414774775505, 0.026510408148169518, 0.05907272920012474, -0.02144812047481537, 0.04251561686396599, 0.018355555832386017, 0.00877336598932743, 0.000555174658074975, -0.011685133911669254, 0.006070940755307674, 0.033019065856933594, 0.026738783344626427, 0.032486192882061005, -0.04422841966152191, 0.010267311707139015, 0.005552341695874929, -0.01945936307311058, -0.01234170887619257, -0.0650104507803917, 0.0432388000190258, 0.003632573178038001, 0.0746021568775177, 0.016480986028909683, 0.056903176009655, 0.02614881657063961, 0.0355311781167984, -0.09150182455778122, -0.014920431189239025, 0.007545855827629566, -0.019478393718600273, -0.027195530012249947, -0.005571372807025909, 0.014206762425601482, -0.002947451313957572, 0.012132366187870502, 0.0333806574344635, -0.00287370546720922, 0.042096931487321854, 0.03924225643277168, -0.048339150846004486, 0.022742237895727158, -0.009396635927259922, -0.04243949055671692, -0.05115576460957527, 0.059567537158727646, 0.008749577216804028, 0.024036357179284096, 0.026814907789230347, -0.022190334275364876, -0.008916099555790424, -0.03370418772101402, 0.018260400742292404, 0.02599656768143177, -0.009315754286944866, -0.07266097515821457, 0.01237977109849453, -0.006380197126418352, -0.016186002641916275, 0.01457787025719881, 0.018355555832386017, -0.0801592543721199, -0.014368527568876743, 0.037643637508153915, -0.021410057321190834, 0.07250872999429703, -0.06504851579666138, -0.033038098365068436, -0.0049481019377708435, -0.03739623352885246, 0.04266786575317383, 0.031724948436021805, 0.0435052365064621, -0.018098635599017143, 0.04681665822863579, -0.009068348444998264, 0.02352251671254635, -0.034636713564395905, -0.024892760440707207, 0.03528377413749695, -0.005466701462864876, 0.010105547495186329, -0.045027729123830795, -0.014806244522333145, -0.005328725557774305, 0.028128057718276978, -0.05785473436117172, 0.04567478969693184, -0.045256104320287704, 0.02614881657063961, 0.06116615608334541, 0.00016295432578772306, 0.007365059573203325, 0.009358573704957962, -0.034027718007564545, 0.03977512940764427, -0.027480999007821083, -0.007431668695062399, -0.05522843450307846, -0.07818001508712769, 0.0018448332557454705, 0.0077932607382535934, -0.04483741894364357, -0.036882393062114716, 0.008659178391098976, -0.01446368359029293, -0.026205910369753838, 0.03092563897371292, -0.10345339775085449, -0.052031196653842926, -0.06207964941859245, -0.06641875952482224, 0.0369204543530941, 0.00190311623737216, -0.03693948686122894, -0.02053462341427803, -0.05762635916471481, -0.01430191844701767, 0.015320085920393467, 0.025806255638599396, 0.020401405170559883, -0.0063706813380122185, 0.056941237300634384, -0.014958493411540985, 0.01621454954147339, 0.02053462341427803, -0.0526021309196949, 0.055875491350889206, 0.02867996133863926, 0.01700434274971485, 0.05545680597424507, -0.0672561302781105, -0.03522668033838272, 0.004117867909371853, 0.01898358389735222, 0.012408317998051643, 0.004400956444442272, 0.05507618188858032, 0.0312301367521286, 0.0733461007475853, -0.01846974343061447, -0.013902263715863228, 0.016966281458735466, -0.011333056725561619, 0.0011174860410392284, -0.05823535472154617, 0.014939462766051292, 0.00952985417097807, 0.052107322961091995, 0.048795901238918304, 0.05069901421666145, 0.0392041951417923, 0.017965417355298996, -0.0049290708266198635, 0.06881668418645859, -0.01860296167433262, -0.02283739484846592, 0.05751217156648636, -0.027880651876330376, -0.009981844574213028, 0.03216266259551048, 0.022190334275364876, -0.027500029653310776, 0.004869598429650068, 0.036654017865657806, -0.014168700203299522, 0.010219734162092209, 0.11015236377716064, 0.01647147163748741, -0.012018178589642048, -0.00017023969849105924, 0.04719728231430054, 0.004393819719552994, 0.06729418784379959, 0.007817049510776997, 0.00988668855279684, -0.009739196859300137, -0.007070076651871204, -0.031325291842222214, 0.006089971866458654, -0.01057181041687727, -0.0038728415966033936, 0.05439106002449989, -0.043429113924503326, 0.019278567284345627, -0.06192740052938461, -0.012560566887259483, -0.009249145165085793, 0.012027694843709469, 0.026015598326921463, 0.03912806883454323, -0.03785298019647598, 0.024359887465834618, 0.016823546960949898, -0.035340867936611176, 0.022437740117311478, -0.07825613766908646, 0.07593433558940887, -0.0012114524142816663, -0.04312461242079735, -0.044494856148958206, -0.010352952405810356, -0.0074982778169214725, 0.002263518748804927, 0.012760394252836704, 0.019811440259218216, 0.010096031241118908, -0.03905194625258446, 0.04015575349330902, 0.027347780764102936, -0.03098273277282715, -0.004082184284925461, -0.0237699206918478, 0.005752168595790863, -0.036178238689899445, 0.023503486067056656, -0.020039813593029976, 0.02238064631819725, -0.0462837852537632, -0.02139102667570114, 0.0029093888588249683, 0.022894488647580147, -0.02999311126768589, 0.04674053564667702, 0.027557123452425003, -0.03343775123357773, -0.011076136492192745, -0.07228035479784012, 0.008968435227870941, 0.03168688341975212, 0.007579160388559103, 0.01141869742423296, -0.025025978684425354, -0.015729255974292755, -0.0011186754563823342, -0.02807096391916275, -0.020268186926841736, -0.030259547755122185, -0.01173271145671606, -0.0290796160697937, 0.034332215785980225, 0.004443776328116655, 0.04567478969693184, -0.004508006386458874, 0.007379333022981882, 0.04301042482256889, -0.022114209830760956, 0.004079805221408606, 0.036730144172906876, -0.016490502282977104, 0.052868567407131195, 0.02938411384820938, 0.09424231201410294, 0.024283763021230698, -0.049557145684957504, 0.008131064474582672, -0.024359887465834618, -0.022875456139445305, 0.027823559939861298, 0.03294294327497482, -0.016966281458735466, -0.06192740052938461, -0.009677345864474773, -0.029250895604491234, 0.02645331621170044, 0.008031150326132774, 0.008031150326132774, 0.03429415449500084, -0.07098623365163803, -0.06112809479236603, 0.01134257297962904, 0.02645331621170044, -0.006023362744599581, -0.03912806883454323, -0.012113334611058235, 0.028584806248545647, 0.03589277341961861, 0.05005195736885071, -0.002313475590199232, -0.07650527358055115, 0.019735315814614296, -0.0004739948781207204, 0.02822321280837059, 0.06805543601512909, 0.04666440933942795, -0.059872034937143326, 0.02399829588830471, 0.045179978013038635, -0.05374400317668915, -0.010904856026172638, -0.031953319907188416, 0.010295858606696129, -0.02198099158704281, 0.020439468324184418, 0.052564069628715515, -0.019963689148426056, 0.025654006749391556, 0.056560613214969635, 0.06128034368157387, 0.015158320777118206, 0.017280295491218567, 0.051422201097011566, -0.056636739522218704, 0.02546369470655918, -0.020953308790922165, -0.0589204765856266, 0.03419899940490723, -0.028660930693149567, 0.020401405170559883, -0.015481850132346153, 0.04670247063040733, 0.04544641450047493, -0.021733587607741356, 0.0245311688631773, 0.014891884289681911, 0.05591355636715889, -0.0340086854994297, -0.01250347401946783, 0.02139102667570114, -0.01977337710559368, 0.014901399612426758, -0.04514191672205925, 0.002995029091835022, -0.04099312424659729, 0.0031734462827444077, 0.0174515750259161, 0.024321826174855232, 0.011799320578575134, 0.006760820280760527, 0.05290663242340088, 0.043885860592126846, 0.012817488051950932, -0.01469205692410469, -0.045941226184368134, 0.04978552088141441, 0.005552341695874929, -0.024778572842478752, 0.03235297650098801, -0.03155366703867912, 0.007122412323951721 ]
719,850
ibm_platform_services.open_service_broker_v1
get_service_instance_state
Get the current state of the service instance. Get the current state information associated with the service instance. As a service provider you need a way to manage provisioned service instances. If an account comes past due, you may need a to disable the service (without deleting it), and when the account is settled re-enable the service. This endpoint allows both the provider and IBM Cloud to query for the state of a provisioned service instance. For example, IBM Cloud may query the provider to figure out if a given service is disabled or not and present that state to the user. :param str instance_id: The `instance_id` of a service instance is provided by the IBM Cloud platform. This ID will be used for future requests to bind and deprovision, so the broker can use it to correlate the resource it creates. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse with `dict` result representing a `Resp1874644Root` object
def get_service_instance_state(self, instance_id: str, **kwargs) -> DetailedResponse: """ Get the current state of the service instance. Get the current state information associated with the service instance. As a service provider you need a way to manage provisioned service instances. If an account comes past due, you may need a to disable the service (without deleting it), and when the account is settled re-enable the service. This endpoint allows both the provider and IBM Cloud to query for the state of a provisioned service instance. For example, IBM Cloud may query the provider to figure out if a given service is disabled or not and present that state to the user. :param str instance_id: The `instance_id` of a service instance is provided by the IBM Cloud platform. This ID will be used for future requests to bind and deprovision, so the broker can use it to correlate the resource it creates. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse with `dict` result representing a `Resp1874644Root` object """ if instance_id is None: raise ValueError('instance_id must be provided') headers = {} sdk_headers = get_sdk_headers( service_name=self.DEFAULT_SERVICE_NAME, service_version='V1', operation_id='get_service_instance_state' ) headers.update(sdk_headers) if 'headers' in kwargs: headers.update(kwargs.get('headers')) headers['Accept'] = 'application/json' path_param_keys = ['instance_id'] path_param_values = self.encode_path_vars(instance_id) path_param_dict = dict(zip(path_param_keys, path_param_values)) url = '/bluemix_v1/service_instances/{instance_id}'.format(**path_param_dict) request = self.prepare_request(method='GET', url=url, headers=headers) response = self.send(request) return response
(self, instance_id: str, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
[ 0.05349864438176155, -0.12370150536298752, 0.013337038457393646, -0.018096236512064934, 0.015321604907512665, -0.0078959409147501, -0.010336675681173801, 0.004121972713619471, 0.01038370281457901, -0.040669504553079605, -0.03436779975891113, -0.008098159916698933, 0.0046087088994681835, -0.05489066243171692, 0.02817896194756031, 0.027765119448304176, 0.01980804279446602, -0.0354776531457901, 0.012302430346608162, -0.037076592445373535, 0.06550009548664093, 0.09616211801767349, 0.019507065415382385, 0.018604135140776634, 0.06704260408878326, 0.05278382450342178, 0.005793805234134197, -0.03438660874962807, 0.0325431264936924, 0.02334452047944069, -0.010364891961216927, 0.0048297387547791, -0.03143327310681343, 0.0337846577167511, -0.039879437536001205, 0.006847224198281765, 0.02565827965736389, 0.009245634078979492, -0.13100019097328186, 0.05695987865328789, -0.05451444163918495, -0.017381416633725166, 0.024397939443588257, -0.02048523910343647, -0.005036660470068455, 0.004778008442372084, 0.0017835232429206371, -0.018425429239869118, 0.006908360403031111, -0.02659883350133896, 0.05270857736468315, -0.017945747822523117, -0.018039802089333534, -0.008648383431136608, 0.006809602491557598, 0.003331908257678151, -0.01478548999875784, 0.029439302161335945, -0.006207648664712906, 0.027689874172210693, -0.03837455436587334, 0.009998076595366001, 0.008366216905415058, -0.018199697136878967, -0.009429042227566242, -0.0017635364783927798, -0.030906565487384796, 0.004876766353845596, -0.07121865451335907, 0.027595819905400276, 0.0352519191801548, -0.01220837514847517, 0.0023384494706988335, 0.019619930535554886, -0.004843846894800663, 0.0027981444727629423, -0.014023642055690289, -0.027539385482668877, -0.0181338582187891, -0.015584959648549557, -0.04187341034412384, 0.003915050998330116, 0.03182830661535263, -0.022084180265665054, 0.02503751590847969, 0.021820824593305588, 0.04334067180752754, -0.0011621705489233136, -0.038600288331508636, 0.020165452733635902, -0.02127530425786972, -0.0004705703177023679, -0.04529702290892601, 0.04845727980136871, 0.028818538412451744, -0.027482952922582626, -0.008784763514995575, -0.01465381309390068, -0.02373955212533474, -0.01021440327167511, -0.053122423589229584, -0.039089374244213104, 0.01147474441677332, 0.009588935412466526, 0.04255060851573944, -0.0639575868844986, -0.026072124019265175, -0.0014896005159243941, 0.039202239364385605, -0.010233214125037193, -0.014578568749129772, 0.01910262741148472, -0.013732071034610271, -0.007844210602343082, 0.030379856005311012, 0.004352407995611429, 0.059367693960666656, 0.011719288304448128, -0.07584618031978607, -0.0351390540599823, -0.005069579463452101, -0.051993757486343384, 0.05594408139586449, -0.012847951613366604, -0.028536371886730194, 0.018058612942695618, -0.013995425775647163, -0.0013132469030097127, 0.031470898538827896, -0.00418781116604805, -0.026015689596533775, -0.0090810377150774, -0.04917209967970848, 0.03636177256703377, 0.00565742515027523, -0.003966781310737133, 0.0374528132379055, 0.036963723599910736, -0.01445629633963108, 0.08013509958982468, 0.01615869626402855, -0.011832154355943203, -0.060872577130794525, -0.020165452733635902, 0.023589063435792923, 0.013835531659424305, 0.006292298436164856, 0.04582373425364494, -0.0004970233421772718, -0.01946944370865822, 0.01131485030055046, -0.029608601704239845, 0.029213570058345795, -0.025188004598021507, -0.05229473486542702, -0.039540838450193405, 0.04597422108054161, -0.05376199632883072, 0.031000619754195213, -0.030567966401576996, -0.01852888986468315, 0.001296787173487246, -0.012142536230385303, -0.08540219068527222, -0.0007148201111704111, 0.016064641997218132, -0.055417370051145554, -0.030793698504567146, -0.03133922070264816, 0.00016724204760976136, -0.04853252321481705, 0.01649729534983635, -0.06151215359568596, 0.006329920142889023, -0.027200786396861076, 0.04759197309613228, 0.050263140350580215, -0.0011803937377408147, 0.01700519397854805, 0.008032320998609066, -0.015650799497961998, -0.0036117227282375097, -0.10684679448604584, 0.03387871012091637, -0.01329941675066948, 0.018068019300699234, 0.039427973330020905, 0.020748594775795937, 0.016403241083025932, 0.03098180890083313, 0.04601184278726578, 0.0329945906996727, 0.0744541585445404, 0.0344618558883667, -0.019121438264846802, 0.010458947159349918, 0.010035698302090168, -0.0319787934422493, 0.03961608558893204, 0.00739274499937892, 0.011032684706151485, -0.011803938075900078, -0.01215194258838892, 0.05078985169529915, -0.0038586179725825787, 0.007886535488069057, 0.02834826149046421, 0.003884483128786087, -0.03957846015691757, -0.004768602550029755, -0.10278361290693283, -0.04586135596036911, -0.04209914430975914, 0.047065261751413345, 0.013478121720254421, -0.04416836053133011, 0.03081250935792923, -0.00631581200286746, 0.006762574426829815, -0.013590987771749496, 0.05052649602293968, -0.05914195999503136, -0.0015095872804522514, 0.0048297387547791, -0.04902161285281181, 0.06482289731502533, 0.0009217417682521045, -0.004131378140300512, -0.05692225694656372, -0.03923986107110977, -0.0005134830716997385, 0.027238409966230392, 0.024623671546578407, 0.017183899879455566, -0.0065274364314973354, -0.019544687122106552, 0.042174387723207474, -0.015274577774107456, 0.04977405443787575, 0.0090528205037117, 0.015218144282698631, 0.030567966401576996, 0.08209145069122314, 0.018519485369324684, -0.0627160593867302, -0.06094782054424286, 0.03935272991657257, 0.025018705055117607, -0.02206536941230297, -0.038017142564058304, -0.038430988788604736, -0.08028558641672134, 0.03939035162329674, -0.009297364391386509, -0.00012976689322385937, -0.0984194427728653, 0.011662854813039303, -0.007275175768882036, 0.04894636943936348, 0.01672302931547165, -0.004876766353845596, -0.005497531034052372, -0.07520660012960434, -0.004900279920548201, -0.036606315523386, 0.022272290661931038, 0.02317522093653679, 0.017419038340449333, -0.005521045066416264, 0.012368269264698029, 0.08683183789253235, -0.02278018929064274, -0.038750775158405304, -0.018115047365427017, -0.04518415778875351, -0.05011265352368355, -0.012396485544741154, -0.068133644759655, -0.07998461276292801, -0.04123383387923241, -0.04036852717399597, -0.03335200250148773, 0.03636177256703377, 0.027464142069220543, 0.012358863838016987, -0.06602680683135986, 0.04059425741434097, 0.02262970060110092, 0.0370013490319252, 0.020391184836626053, -0.005709155462682247, 0.014804300852119923, -0.018876895308494568, -0.04232487455010414, -0.038430988788604736, 0.020560484379529953, -0.07787777483463287, -0.01495478954166174, -0.014578568749129772, -0.026128556579351425, -0.016610162332654, 0.006245270371437073, -0.0019363630563020706, 0.013920181430876255, -0.021519847214221954, 0.01935657672584057, 0.057110365480184555, 0.02385241910815239, -0.0012626921525225043, -0.01566961035132408, -0.017607148736715317, -0.008502596989274025, -0.013496932573616505, -0.07148201018571854, 0.017522498965263367, -0.012942006811499596, -0.032467883080244064, 0.0020609863568097353, 0.008276864886283875, 0.08826147764921188, -0.07772728055715561, 0.040556635707616806, 0.004446463193744421, 0.07528184354305267, 0.05831427499651909, -0.02970265783369541, 0.02020307444036007, 0.0019363630563020706, 0.08148949593305588, 0.05978153645992279, -0.04887112230062485, -0.0641833245754242, 0.02817896194756031, 0.02879972755908966, 0.04984929785132408, -0.07167012244462967, 0.020052585750818253, -0.03133922070264816, -0.037678543478250504, 0.00019501773931551725, 0.04548513516783714, -0.022535644471645355, -0.042625851929187775, -0.016111670061945915, 0.02639191225171089, 0.015255765989422798, 0.03489450737833977, -0.03002244606614113, 0.04240012168884277, -0.005050768610090017, -0.062038861215114594, -0.008140484802424908, 0.033483680337667465, 0.11090998351573944, 0.013111306354403496, 0.002711143344640732, -0.02390885166823864, 0.006301703862845898, 0.010402513667941093, 0.024040529504418373, 0.02851756103336811, -0.012744490057229996, -0.05338577553629875, 0.014644406735897064, -0.005408178549259901, -0.03890126571059227, -0.03517667576670647, -0.04973643273115158, 0.048306792974472046, -0.01751309260725975, -0.030887754634022713, -0.05018789693713188, -0.036286525428295135, -0.007844210602343082, 0.06448429822921753, 0.020240696147084236, -0.055755969136953354, -0.020109018310904503, -0.020297128707170486, 0.07336311787366867, 0.028047284111380577, 0.0035576410591602325, -0.03340843692421913, 0.010195592418313026, 0.05507877096533775, 0.02206536941230297, 0.0088129797950387, -0.013562771491706371, 0.00017473706975579262, -0.028047284111380577, -0.05097796022891998, 0.003035634057596326, -0.06516149640083313, -0.0017129818443208933, 0.030737265944480896, -0.04450695961713791, -0.019112033769488335, 0.017221521586179733, 0.08141425251960754, -0.058351896703243256, 0.033314380794763565, 0.05063936114311218, 0.030097689479589462, -0.004133729729801416, -0.023081166669726372, -0.01360979862511158, -0.0015354524366557598, -0.008309784345328808, -0.027539385482668877, -0.00981937162578106, 0.014249375090003014, -0.056997500360012054, -0.023551441729068756, -0.056997500360012054, -0.046162333339452744, 0.04495842382311821, -0.022197045385837555, 0.11557512730360031, 0.018406618386507034, 0.008690708316862583, 0.04104572534561157, 0.010938629508018494, 0.027069110423326492, 0.0038915371987968683, -0.013506338000297546, 0.03764092177152634, -0.01448451355099678, -0.010063914582133293, 0.038092389702796936, 0.006494516972452402, 0.0653119832277298, 0.043303050100803375, -0.04337829351425171, -0.007383339572697878, 0.04770483821630478, 0.007863021455705166, 0.0076137748546898365, -0.021369360387325287, 0.020052585750818253, 0.046726662665605545, -0.03335200250148773, 0.002119770972058177, -0.008700113743543625, 0.008860006928443909, 0.013487527146935463, -0.02631666697561741, -0.0331638902425766, -0.038863640278577805, 0.11188816279172897, -0.0336717888712883, 0.020748594775795937, -0.033935144543647766, 0.01520873885601759, 0.020805027335882187, 0.0062640816904604435, -0.0377914123237133, -0.011992048472166061, 0.028160151094198227, -0.006626194342970848, -0.006489814259111881, -0.0185006745159626, -0.019826853647828102, -0.08058656752109528, 0.0325995609164238, 0.03414206579327583, -0.009034009650349617, 0.0016165751731023192, 0.019902097061276436, -0.020504051819443703, 0.007928860373795033, 0.01110792811959982, 0.0012803274439647794, 0.015283983200788498, 0.02829182893037796, 0.008305081166327, 0.030229367315769196, -0.001116318628191948, -0.024774160236120224, -0.05417584255337715, -0.02385241910815239, 0.01313011720776558, 0.02631666697561741, 0.004305380396544933, -0.061549775302410126, -0.013666232116520405, -0.06659113615751266, 0.03760330006480217, 0.03820525482296944, -0.01872640661895275, -0.07272354513406754, -0.016487890854477882, 0.01186977606266737, -0.018171479925513268, 0.029063081368803978, -0.03523310646414757, -0.03871315345168114, -0.009438447654247284, -0.009772343561053276, 0.06376948207616806, 0.04382976144552231, 0.011267822235822678, -0.029100703075528145, 0.026730511337518692, 0.03882601857185364, 0.018801650032401085, -0.000034646145650185645, -0.04811868071556091, 0.026034502312541008, 0.01946944370865822, 0.02654240094125271, 0.001235651201568544, 0.0035976143553853035, 0.018115047365427017, -0.007721938658505678, -0.041120968759059906, 0.047742459923028946, -0.05236997827887535, 0.04322780668735504, 0.007942968048155308, 0.008568435907363892, 0.011455933563411236, 0.01575426012277603, 0.027069110423326492, 0.028762103989720345, -0.018312562257051468, -0.008591949939727783, -0.036963723599910736, -0.07535708695650101, -0.006546247284859419, 0.0018869841005653143, -0.021595092490315437, -0.04574848711490631, -0.004848549608141184, -0.03058677725493908, -0.030718455091118813, -0.0372835136950016, -0.07347598671913147, -0.03969132900238037, -0.057110365480184555, -0.06094782054424286, 0.09428101032972336, -0.027934418991208076, -0.0377349779009819, -0.011465338990092278, -0.08171522617340088, -0.016911139711737633, 0.0036540476139634848, 0.015951775014400482, -0.005003741011023521, -0.007505611516535282, 0.06817127019166946, -0.05647078901529312, 0.05507877096533775, -0.03837455436587334, -0.04236249998211861, 0.05342339724302292, 0.009189200587570667, -0.008479083888232708, 0.02093670517206192, -0.05808854103088379, -0.006668519228696823, 0.024661295115947723, 0.040556635707616806, -0.00782069656997919, -0.02588401362299919, 0.023607876151800156, 0.025056326761841774, 0.04029328376054764, -0.018199697136878967, -0.03109467588365078, 0.025526603683829308, 0.02294948883354664, -0.026899810880422592, 0.022027745842933655, -0.011709881946444511, 0.03493213281035423, 0.05176802724599838, 0.00680489931255579, 0.0635061264038086, 0.03939035162329674, 0.02676813304424286, -0.040782369673252106, 0.05564310401678085, -0.008944656699895859, -0.04149718955159187, 0.0655377209186554, -0.049811676144599915, 0.0030144716147333384, 0.042738720774650574, 0.05052649602293968, -0.013656826689839363, -0.03137684240937233, 0.021181249991059303, -0.023532630875706673, -0.003976186737418175, 0.07893119007349014, 0.050827473402023315, -0.0005120134446769953, 0.014700840227305889, 0.0327124260365963, -0.00003304793790448457, 0.069826640188694, 0.06696736067533493, -0.04668904095888138, 0.02458604983985424, 0.007989996112883091, -0.00597721291705966, -0.016149291768670082, -0.038242876529693604, -0.014089480973780155, -0.015312199480831623, -0.0336717888712883, 0.024002907797694206, -0.03534597530961037, -0.012142536230385303, 0.013120711781084538, 0.014239969663321972, 0.02543254755437374, -0.0179363414645195, -0.035007376223802567, 0.014766679145395756, 0.010505975224077702, -0.02509394846856594, 0.024002907797694206, -0.02919475920498371, -0.0009199781925417483, 0.02930762618780136, -0.005516342353075743, -0.03882601857185364, -0.042287252843379974, 0.021237682551145554, 0.0671178475022316, 0.00005264891296974383, -0.04006754979491234, 0.03534597530961037, 0.005116607062518597, 0.033201515674591064, 0.025789957493543625, -0.048795878887176514, 0.05914195999503136, -0.0006642654188908637, 0.002678224118426442, -0.04883350059390068, 0.021200060844421387, -0.02945811301469803, 0.02767106331884861, -0.039315108209848404, -0.05372437462210655, 0.0379607118666172, 0.025620657950639725, -0.02705029770731926, 0.016939355060458183, -0.013581582345068455, 0.0004917327896691859, -0.036342959851026535, -0.0328252911567688, -0.001982215093448758, 0.031000619754195213, -0.009828777052462101, 0.005398773122578859, -0.044883180409669876, 0.02402171865105629, -0.030210556462407112, -0.031301598995923996, 0.014757273718714714, 0.009922832250595093, 0.009358500130474567, 0.01153117697685957, 0.020692162215709686, 0.0326559916138649, 0.05774994194507599, 0.031169919297099113, -0.027144353836774826, 0.04653855413198471, -0.044318847358226776, 0.020616916939616203, 0.00100815505720675, -0.0092503372579813, 0.05225711315870285, 0.05086509510874748, 0.05586883798241615, 0.025075137615203857, -0.030680831521749496, 0.07234732061624527, 0.00607597129419446, -0.06978901475667953, 0.014832518063485622, -0.012989033944904804, -0.03024817816913128, -0.06034586951136589, -0.06034586951136589, -0.055605482310056686, 0.01700519397854805, 0.02071097306907177, -0.018848678097128868, 0.021576281636953354, -0.043077319860458374, -0.06997712701559067, 0.008483786135911942, 0.011126739904284477, -0.014437485486268997, -0.031226353719830513, 0.0066544110886752605, 0.03024817816913128, 0.048795878887176514, 0.0092926612123847, -0.0029392275027930737, -0.04507128894329071, 0.061662640422582626, 0.02065453864634037, 0.040218036621809006, 0.03946559503674507, 0.036625124514102936, -0.013167738914489746, -0.01906500570476055, 0.033088646829128265, -0.06207648664712906, -0.03882601857185364, 0.00640046177431941, 0.05176802724599838, -0.0174848772585392, 0.011502960696816444, 0.0345182865858078, -0.02291186712682247, 0.003428315045312047, 0.09112075716257095, 0.020052585750818253, 0.06941279768943787, -0.004070242401212454, 0.033314380794763565, -0.010063914582133293, -0.030511531978845596, -0.09300185739994049, -0.041685301810503006, 0.008638977073132992, -0.028254205361008644, 0.02851756103336811, -0.002480708062648773, 0.015048844739794731, 0.049247343093156815, 0.04458220303058624, 0.043415918946266174, 0.04518415778875351, 0.031245164573192596, -0.0040867021307349205, 0.04477031156420708, 0.03726470097899437, -0.02571471408009529, 0.02093670517206192, -0.058803360909223557, 0.004573437850922346, 0.016516108065843582, -0.01155939418822527, 0.005295312497764826, 0.02953335829079151, -0.012753896415233612, -0.04962356761097908, 0.014381051994860172, 0.026128556579351425, -0.00016077574400696903, 0.006297001149505377, -0.025075137615203857, 0.02195250242948532, 0.019224898889660835, 0.017560120671987534, 0.04793057218194008, -0.030266989022493362, 0.021802013739943504 ]
719,851
ibm_platform_services.open_service_broker_v1
list_catalog
Get the catalog metadata stored within the broker. This endpoints defines the contract between the broker and the IBM Cloud platform for the services and plans that the broker supports. This endpoint returns the catalog metadata stored within your broker. These values define the minimal provisioning contract between your service and the IBM Cloud platform. All additional catalog metadata that is not required for provisioning is stored within the IBM Cloud catalog, and any updates to catalog display values that are used to render your dashboard like links, icons, and i18n translated metadata should be updated in the Resource Management Console (RMC), and not housed in your broker. None of metadata stored in your broker is displayed in the IBM Cloud console or the IBM Cloud CLI; the console and CLI will return what was set withn RMC and stored in the IBM Cloud catalog. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse with `dict` result representing a `Resp1874650Root` object
def list_catalog(self, **kwargs) -> DetailedResponse: """ Get the catalog metadata stored within the broker. This endpoints defines the contract between the broker and the IBM Cloud platform for the services and plans that the broker supports. This endpoint returns the catalog metadata stored within your broker. These values define the minimal provisioning contract between your service and the IBM Cloud platform. All additional catalog metadata that is not required for provisioning is stored within the IBM Cloud catalog, and any updates to catalog display values that are used to render your dashboard like links, icons, and i18n translated metadata should be updated in the Resource Management Console (RMC), and not housed in your broker. None of metadata stored in your broker is displayed in the IBM Cloud console or the IBM Cloud CLI; the console and CLI will return what was set withn RMC and stored in the IBM Cloud catalog. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse with `dict` result representing a `Resp1874650Root` object """ headers = {} sdk_headers = get_sdk_headers( service_name=self.DEFAULT_SERVICE_NAME, service_version='V1', operation_id='list_catalog' ) headers.update(sdk_headers) if 'headers' in kwargs: headers.update(kwargs.get('headers')) headers['Accept'] = 'application/json' url = '/v2/catalog' request = self.prepare_request(method='GET', url=url, headers=headers) response = self.send(request) return response
(self, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
[ -0.029048865661025047, -0.0678461566567421, -0.02992372401058674, -0.041957490146160126, 0.03956501930952072, 0.02290700376033783, 0.011908785440027714, 0.01456014160066843, 0.027620526030659676, -0.02713846229016781, -0.02256777323782444, 0.014658340252935886, -0.0036244129296392202, -0.051955871284008026, 0.005713360384106636, 0.0032182286959141493, -0.012096255086362362, -0.04813506081700325, 0.04099335893988609, -0.02778121456503868, 0.04099335893988609, 0.05306283384561539, 0.01601526327431202, 0.019961053505539894, 0.03877943381667137, 0.022299960255622864, 0.01089109294116497, -0.021389393135905266, 0.022728461772203445, 0.03660121560096741, -0.038636598736047745, -0.0023857743944972754, 0.0036043268628418446, 0.05656226724386215, -0.008431670255959034, 0.04099335893988609, 0.07641619443893433, -0.07848728448152542, -0.08105830103158951, 0.029638057574629784, -0.010239413008093834, -0.007409514393657446, 0.07463076710700989, -0.0343337245285511, 0.02703133597970009, 0.03636910766363144, -0.010792894288897514, -0.007190799806267023, -0.011149980127811432, 0.014087003655731678, 0.024049676954746246, 0.01593491993844509, -0.023210525512695312, -0.04849214479327202, 0.0031892156694084406, -0.019032631069421768, -0.02858465537428856, 0.046956680715084076, -0.020514534786343575, 0.05009903013706207, -0.005749068688601255, 0.0278883408755064, -0.02622789517045021, -0.02256777323782444, -0.015077915042638779, 0.012730080634355545, -0.00889141671359539, 0.003450334072113037, -0.009873400442302227, -0.004526052623987198, 0.024299636483192444, -0.020282428711652756, -0.01712222583591938, 0.01630985736846924, 0.018086357042193413, -0.05538388714194298, 0.003062003990635276, -0.019389716908335686, -0.012158744968473911, -0.056312307715415955, -0.04913489893078804, -0.046956680715084076, 0.05027757212519646, 0.001578985364176333, 0.032726842910051346, 0.03742251172661781, 0.017300769686698914, 0.005909757222980261, 0.005142024252563715, 0.06816753000020981, -0.04060056805610657, 0.028709635138511658, -0.024942388758063316, 0.07491643726825714, -0.011382085271179676, -0.05170591175556183, -0.04249311611056328, -0.03186983987689018, 0.03642267361283302, 0.03802955523133278, -0.017541801556944847, -0.03938647732138634, 0.043850041925907135, 0.01222123485058546, 0.012855060398578644, -0.025942226871848106, -0.04149327799677849, 0.03188769146800041, 0.039636436849832535, 0.027638381347060204, -0.04870639741420746, 0.020746638998389244, 0.05038469657301903, -0.05345562845468521, -0.03469080850481987, 0.029727328568696976, 0.03424445167183876, -0.027834776788949966, -0.05056323856115341, -0.03561922907829285, -0.004385450389236212, -0.0678461566567421, 0.07309530675411224, -0.05081319808959961, -0.012855060398578644, 0.03677975758910179, -0.018854089081287384, -0.0024884361773729324, -0.005793704651296139, -0.0034302480053156614, 0.01306931208819151, -0.029191700741648674, -0.010301902890205383, 0.02424607239663601, 0.03949360176920891, -0.03160202503204346, 0.026763522997498512, -0.0010227138409391046, -0.022924859076738358, 0.06391821801662445, -0.040850527584552765, -0.006190961692482233, -0.015479635447263718, 0.02778121456503868, -0.04399287328124046, -0.024067530408501625, 0.011739170178771019, -0.03910081088542938, -0.02790619432926178, -0.010301902890205383, -0.03856518119573593, -0.014872591011226177, 0.004316265229135752, -0.045849718153476715, -0.03699400648474693, -0.017577510327100754, -0.008163856342434883, -0.023924697190523148, -0.005329493898898363, 0.010962510481476784, 0.0037672468461096287, -0.011033927090466022, 0.009926963597536087, -0.060418784618377686, -0.03877943381667137, -0.007463077083230019, -0.0402434803545475, -0.02601364441215992, -0.059954576194286346, 0.005570526234805584, -0.05134882405400276, -0.014158421196043491, -0.059740323573350906, -0.04267165809869766, -0.0009970483370125294, 0.016452692449092865, 0.03870801627635956, -0.002508522244170308, -0.02212141640484333, -0.002403628546744585, -0.038957975804805756, -0.049956195056438446, -0.06663206219673157, 0.022835586220026016, 0.004351973533630371, -0.00940026342868805, 0.03378024324774742, 0.04077911004424095, 0.03324461355805397, 0.02812044508755207, -0.011096416972577572, 0.026834938675165176, 0.0343337245285511, 0.023817570880055428, 0.0005013138870708644, -0.049420565366744995, 0.04292161762714386, 0.00255538965575397, -0.03942218795418739, 0.010417955927550793, 0.005856194533407688, 0.015399291180074215, 0.03642267361283302, 0.013265708461403847, 0.08727157860994339, -0.015202894806861877, 0.0018077428685501218, -0.01924688182771206, -0.053991254419088364, -0.018041720613837242, -0.011025000363588333, 0.05624089017510414, -0.010078724473714828, -0.030655749142169952, -0.023942550644278526, 0.06124008074402809, -0.01978250965476036, -0.01367635652422905, 0.005905293393880129, -0.06091870367527008, 0.061204373836517334, -0.03902939334511757, 0.005195586942136288, -0.02254991978406906, -0.054955385625362396, 0.0402434803545475, 0.07041716575622559, -0.012863988056778908, -0.0009267472196370363, -0.009159230627119541, -0.0502418614923954, 0.002287575975060463, -0.014310182072222233, 0.04056485742330551, -0.013471032492816448, -0.034405142068862915, 0.03720825910568237, 0.05081319808959961, -0.004575151950120926, 0.027852632105350494, 0.011114271357655525, 0.06566793471574783, 0.008052267134189606, 0.06138291582465172, -0.049849070608615875, -0.02956664003431797, 0.0011750329285860062, 0.052312955260276794, -0.02158578857779503, 0.006681953556835651, -0.013854898512363434, -0.08791433274745941, 0.05345562845468521, -0.03849376365542412, 0.040064938366413116, -0.09177085012197495, -0.06598930805921555, -0.05702647939324379, 0.02858465537428856, -0.04881352186203003, -0.0502418614923954, -0.008994079194962978, -0.06823894381523132, 0.06116866320371628, 0.017256133258342743, 0.00928421039134264, 0.03660121560096741, 0.010382247157394886, -0.012096255086362362, 0.06509660184383392, 0.04888493940234184, 0.004762621596455574, -0.00397257087752223, 0.001062885858118534, -0.0007415093714371324, 0.02844182215631008, -0.02690635621547699, -0.060954414308071136, -0.10484015941619873, 0.01639913022518158, -0.016818704083561897, -0.017559655010700226, 0.019050486385822296, -0.0015298861544579268, 0.05345562845468521, -0.05306283384561539, -0.007833552546799183, -0.02490667998790741, -0.03660121560096741, 0.002159248571842909, 0.008503086864948273, 0.03520858287811279, -0.0639539286494255, -0.0557766817510128, -0.0001028014303301461, 0.04449279233813286, -0.04927773401141167, 0.017934594303369522, 0.004398840945214033, 0.0020052555482834578, -0.021746477112174034, 0.0026848330162465572, 0.049741942435503006, -0.03349457308650017, 0.02533518150448799, -0.018711255863308907, 0.040172066539525986, -0.008784291334450245, -0.025210201740264893, 0.009096740745007992, -0.014658340252935886, 0.05406267195940018, 0.01573852263391018, -0.02033599279820919, -0.023764008656144142, 0.0376010537147522, 0.004280556458979845, 0.021425101906061172, 0.01222123485058546, 0.050206154584884644, -0.039315059781074524, 0.010534008033573627, -0.027834776788949966, -0.005208977963775396, 0.08591465651988983, -0.02844182215631008, -0.011515991762280464, 0.037065424025058746, 0.0799870416522026, -0.005284858401864767, -0.009998380206525326, 0.02033599279820919, -0.027620526030659676, 0.018006011843681335, 0.022514211013913155, -0.0620613768696785, -0.017943521961569786, -0.05588380619883537, -0.021425101906061172, 0.003506128443405032, -0.0003911196836270392, -0.0707385390996933, -0.019925344735383987, -0.000258049723925069, -0.024710282683372498, 0.03713684156537056, 0.08284372836351395, -0.04534979909658432, -0.03667263314127922, -0.0019081730861216784, -0.03977927193045616, -0.050206154584884644, 0.04802793636918068, 0.09284210205078125, 0.056312307715415955, -0.004276093095541, -0.05738356336951256, 0.001289969659410417, -0.03067360259592533, 0.030727166682481766, 0.034173037856817245, 0.0037806376349180937, -0.0011170065263286233, 0.023603320121765137, -0.04188607260584831, -0.03810097277164459, -0.003122262191027403, 0.0026602833531796932, 0.058097731322050095, -0.02444246970117092, -0.023264089599251747, -0.06106153875589371, -0.025727976113557816, 0.015577834099531174, 0.02454959601163864, 0.0021960728336125612, -0.05659797415137291, -0.03035222738981247, -0.06638210266828537, 0.08491481840610504, 0.040850527584552765, -0.004659959580749273, -0.010908947326242924, -0.04270736873149872, 0.027227733284235, -0.02324623428285122, 0.002961573889479041, 0.02144295535981655, -0.04534979909658432, 0.005793704651296139, 0.003959180321544409, -0.00443454971536994, -0.03604773432016373, -0.004959018435329199, 0.0017675708513706923, -0.06513230502605438, 0.0026290384121239185, -0.016595525667071342, 0.013337125070393085, -0.07848728448152542, 0.01721149869263172, -0.006467702332884073, -0.004838502034544945, 0.004195748828351498, -0.026263603940606117, -0.04467133432626724, 0.05349133536219597, -0.027209877967834473, -0.015988482162356377, 0.0126229552552104, 0.027281295508146286, -0.04317157715559006, 0.008940516039729118, -0.049206316471099854, -0.025549432262778282, 0.06116866320371628, -0.023746153339743614, 0.07031004130840302, 0.010739332064986229, 0.051313117146492004, 0.04077911004424095, -0.024978097528219223, 0.050420403480529785, 0.02356761135160923, 0.015095769427716732, 0.019764656201004982, -0.0273527130484581, -0.008940516039729118, 0.009409190155565739, -0.07863011956214905, 0.043957166373729706, 0.03533356264233589, -0.05745498090982437, -0.045742589980363846, 0.014140566810965538, 0.0057981680147349834, -0.009596659801900387, -0.038636598736047745, -0.0062980870716273785, 0.02279987931251526, -0.017764979973435402, -0.03358384594321251, -0.011980202049016953, -0.02579939179122448, 0.008578967303037643, 0.008025486022233963, -0.05056323856115341, -0.052098702639341354, 0.09055676311254501, -0.009998380206525326, -0.0009412537910975516, 0.010641133412718773, 0.034869350492954254, -0.017854250967502594, 0.014399453066289425, -0.06498946994543076, 0.01489044539630413, 0.026656396687030792, -0.02199643664062023, -0.011212470009922981, 0.005753532517701387, -0.01496186200529337, -0.032851822674274445, -0.023746153339743614, 0.06566793471574783, 0.021068016067147255, -0.03583348169922829, 0.04902777448296547, -0.05488396808505058, -0.01155170053243637, -0.02222854271531105, -0.020407408475875854, 0.019050486385822296, 0.04677813872694969, 0.036851175129413605, 0.033869512379169464, 0.0073470245115458965, -0.0252459105104208, -0.02322838082909584, -0.02403182163834572, 0.01496186200529337, 0.0001477160258218646, 0.018497003242373466, -0.03960072994232178, -0.014988644048571587, -0.016345566138625145, 0.028513239696621895, 0.016595525667071342, -0.018318461254239082, -0.04167182371020317, -0.005302712321281433, 0.07148841768503189, -0.029745182022452354, 0.04599254950881004, 0.027299148961901665, -0.0025263766292482615, 0.009489534422755241, 0.009355627931654453, -0.007784453220665455, 0.013399614952504635, 0.02756696380674839, -0.03849376365542412, 0.03945789486169815, -0.006463238969445229, -0.0038118825759738684, -0.02090732753276825, 0.005525890737771988, 0.023067692294716835, -0.0013212146004661918, -0.0021871456410735846, -0.025174494832754135, 0.009525243192911148, 0.03269113227725029, -0.03767247125506401, -0.06963157653808594, 0.07027433067560196, -0.08227238804101944, 0.04945627599954605, -0.0020063715055584908, 0.034851498901844025, 0.014515506103634834, 0.007047965656965971, -0.027709797024726868, 0.007436295505613089, -0.010694696567952633, -0.017988158389925957, -0.04177894815802574, -0.09069959819316864, -0.02110372483730316, 0.049849070608615875, -0.040064938366413116, 0.001172801130451262, -0.029316680505871773, -0.051313117146492004, -0.018220262601971626, 0.023746153339743614, -0.06813181936740875, 0.01827382668852806, 0.035637084394693375, -0.03035222738981247, 0.04956340044736862, -0.0031936790328472853, -0.03713684156537056, -0.015024351887404919, -0.06541797518730164, -0.0015053364913910627, 0.00022819964215159416, 0.008172783069312572, 0.032512590289115906, 0.007047965656965971, 0.04959911108016968, -0.03742251172661781, 0.04299303516745567, -0.01483688224107027, -0.04606396704912186, 0.04838502034544945, 0.02767408825457096, -0.0889141708612442, -0.0006165296072140336, -0.021317975595593452, 0.014586922712624073, 0.061632875353097916, 0.000345089181791991, -0.0023768472019582987, 0.04010064899921417, 0.07377376407384872, 0.029655911028385162, 0.02388898842036724, 0.020603805780410767, -0.04120761156082153, 0.03713684156537056, -0.04235028475522995, -0.012489048764109612, 0.05624089017510414, -0.00889141671359539, 0.02422821894288063, 0.05724072828888893, -0.05877619609236717, 0.05388412997126579, -0.03777959570288658, 0.021532226353883743, 0.009427044540643692, 0.07591627538204193, -0.005762459710240364, -0.0034302480053156614, 0.025710120797157288, -0.0072265081107616425, -0.0009440435096621513, 0.06323976069688797, -0.005445546470582485, -0.03135206550359726, -0.012587247416377068, 0.016934756189584732, -0.030316518619656563, 0.002740627620369196, 0.018925506621599197, -0.008391497656702995, 0.0018066270276904106, -0.030530769377946854, 0.0376010537147522, -0.016916902735829353, 0.07405943423509598, 0.021175142377614975, -0.004633178003132343, -0.022210687398910522, -0.0019717789255082607, -0.000424038473283872, 0.00088880694238469, -0.012721153907477856, 0.05227724835276604, -0.017881032079458237, -0.024192510172724724, 0.000019650136891868897, -0.023156963288784027, -0.0009897950803861022, -0.006065981928259134, -0.000542601861525327, 0.027709797024726868, 0.0636325478553772, -0.025281619280576706, 0.03012012131512165, -0.012988967821002007, 0.0045104301534593105, 0.05366987735033035, -0.08534331619739532, 0.058633361011743546, 0.01362279336899519, -0.02055024355649948, -0.005887439474463463, 0.015943845734000206, 0.03297680243849754, 0.01597062684595585, 0.03702971711754799, 0.034065909683704376, 0.016818704083561897, 0.0016046507516875863, 0.025602996349334717, 0.008971760980784893, 0.021496517583727837, 0.02767408825457096, 0.03913651779294014, 0.03467295691370964, -0.041064776480197906, -0.0001491108996560797, -0.03311963379383087, 0.029173845425248146, -0.015872430056333542, -0.06245417147874832, 0.09348485618829727, -0.010105506516993046, -0.0034190891310572624, 0.04238599166274071, -0.009659149684011936, 0.024870971217751503, -0.02790619432926178, 0.015640323981642723, -0.045956842601299286, 0.05691935122013092, -0.02944166027009487, -0.002854448277503252, 0.023389069363474846, -0.05006331950426102, 0.020943036302924156, -0.036636922508478165, 0.03956501930952072, -0.033744532614946365, 0.0647038072347641, -0.06245417147874832, 0.0010651176562532783, 0.013712064363062382, 0.09091384708881378, 0.027977611869573593, 0.025870809331536293, 0.017836397513747215, -0.007302388548851013, 0.015979554504156113, -0.04492129385471344, -0.005066143814474344, 0.08091546595096588, 0.04110048711299896, 0.018006011843681335, -0.007324706297367811, -0.02479955554008484, 0.07713036239147186, -0.022639190778136253, -0.01869340054690838, 0.009989453479647636, 0.018238117918372154, -0.08720016479492188, -0.09498461335897446, 0.004923309665173292, -0.041957490146160126, -0.0011649898951873183, 0.00617310730740428, -0.024870971217751503, 0.05902615562081337, -0.02903101220726967, -0.08541473746299744, 0.02803117409348488, 0.027209877967834473, 0.0333874486386776, -0.030155830085277557, 0.0005685462965629995, 0.061525747179985046, 0.0026602833531796932, 0.017764979973435402, 0.0032784868963062763, -0.056098055094480515, -0.04220744967460632, 0.03269113227725029, 0.023853279650211334, 0.10298331826925278, 0.03902939334511757, -0.07848728448152542, 0.004229225683957338, 0.0266921054571867, -0.016658015549182892, 0.012631882913410664, -0.00013467406097333878, 0.010025162249803543, -0.0015466244658455253, 0.01155170053243637, 0.024603158235549927, 0.030155830085277557, 0.06816753000020981, 0.04227886721491814, 0.059204697608947754, 0.04492129385471344, -0.0012140891049057245, 0.0244603231549263, 0.00033895179512910545, -0.01784532330930233, -0.050634656101465225, 0.0028477529995143414, 0.041171904653310776, -0.05159878358244896, -0.02601364441215992, -0.015336801297962666, 0.031066397204995155, 0.013908461667597294, 0.028620364144444466, 0.03860089182853699, 0.01663123443722725, 0.04688526317477226, -0.07006008177995682, -0.007485394831746817, 0.046313926577568054, 0.0026067206636071205, 0.051098864525556564, 0.0037650151643902063, 0.002649124478921294, 0.015881355851888657, -0.05449117347598076, 0.05645514279603958, -0.06748906522989273, -0.043635789304971695, 0.019318299368023872, 0.04299303516745567, 0.03069145791232586, -0.022050000727176666, -0.008244200609624386, -0.006824787240475416, -0.0032784868963062763, 0.021853603422641754, 0.028370404615998268, 0.037351094186306, 0.04270736873149872, 0.013408542610704899 ]
719,853
ibm_platform_services.open_service_broker_v1
replace_service_binding
Bind a service instance to another resource. Create binding by GUID on service instance. If your service can be bound to applications in IBM Cloud, `bindable:true` must be specified in the catalog.json of your service broker. If bindable, it must be able to return API endpoints and credentials to your service consumers. **Note:** Brokers that do not offer any bindable services do not need to implement the endpoint for bind requests. See the OSB 2.12 spec for more details on [binding](https://github.com/openservicebrokerapi/servicebroker/blob/v2.12/spec.md#binding). :param str binding_id: The `binding_id` is provided by the IBM Cloud platform. This ID will be used for future unbind requests, so the broker can use it to correlate the resource it creates. :param str instance_id: The :`instance_id` is the ID of a previously provisioned service instance. :param str plan_id: (optional) The ID of the plan from the catalog.json in your broker. If present, it MUST be a non-empty string. :param str service_id: (optional) The ID of the service from the catalog.json in your broker. If present, it MUST be a non-empty string. :param BindResource bind_resource: (optional) A JSON object that contains data for platform resources associated with the binding to be created. :param dict parameters: (optional) Configuration options for the service instance. An opaque object, controller treats this as a blob. Brokers should ensure that the client has provided valid configuration parameters and values for the operation. If this field is not present in the request message, then the broker MUST NOT change the parameters of the instance as a result of this request. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse with `dict` result representing a `Resp2079876Root` object
def replace_service_binding( self, binding_id: str, instance_id: str, *, plan_id: str = None, service_id: str = None, bind_resource: 'BindResource' = None, parameters: dict = None, **kwargs ) -> DetailedResponse: """ Bind a service instance to another resource. Create binding by GUID on service instance. If your service can be bound to applications in IBM Cloud, `bindable:true` must be specified in the catalog.json of your service broker. If bindable, it must be able to return API endpoints and credentials to your service consumers. **Note:** Brokers that do not offer any bindable services do not need to implement the endpoint for bind requests. See the OSB 2.12 spec for more details on [binding](https://github.com/openservicebrokerapi/servicebroker/blob/v2.12/spec.md#binding). :param str binding_id: The `binding_id` is provided by the IBM Cloud platform. This ID will be used for future unbind requests, so the broker can use it to correlate the resource it creates. :param str instance_id: The :`instance_id` is the ID of a previously provisioned service instance. :param str plan_id: (optional) The ID of the plan from the catalog.json in your broker. If present, it MUST be a non-empty string. :param str service_id: (optional) The ID of the service from the catalog.json in your broker. If present, it MUST be a non-empty string. :param BindResource bind_resource: (optional) A JSON object that contains data for platform resources associated with the binding to be created. :param dict parameters: (optional) Configuration options for the service instance. An opaque object, controller treats this as a blob. Brokers should ensure that the client has provided valid configuration parameters and values for the operation. If this field is not present in the request message, then the broker MUST NOT change the parameters of the instance as a result of this request. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse with `dict` result representing a `Resp2079876Root` object """ if binding_id is None: raise ValueError('binding_id must be provided') if instance_id is None: raise ValueError('instance_id must be provided') if bind_resource is not None: bind_resource = convert_model(bind_resource) headers = {} sdk_headers = get_sdk_headers( service_name=self.DEFAULT_SERVICE_NAME, service_version='V1', operation_id='replace_service_binding' ) headers.update(sdk_headers) data = {'plan_id': plan_id, 'service_id': service_id, 'bind_resource': bind_resource, 'parameters': parameters} data = {k: v for (k, v) in data.items() if v is not None} data = json.dumps(data) headers['content-type'] = 'application/json' if 'headers' in kwargs: headers.update(kwargs.get('headers')) headers['Accept'] = 'application/json' path_param_keys = ['binding_id', 'instance_id'] path_param_values = self.encode_path_vars(binding_id, instance_id) path_param_dict = dict(zip(path_param_keys, path_param_values)) url = '/v2/service_instances/{instance_id}/service_bindings/{binding_id}'.format(**path_param_dict) request = self.prepare_request(method='PUT', url=url, headers=headers, data=data) response = self.send(request) return response
(self, binding_id: str, instance_id: str, *, plan_id: Optional[str] = None, service_id: Optional[str] = None, bind_resource: Optional[ibm_platform_services.open_service_broker_v1.BindResource] = None, parameters: Optional[dict] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
[ 0.06524164229631424, -0.11253402382135391, -0.009598948992788792, -0.04499019682407379, -0.021012334153056145, -0.010447637178003788, 0.009794049896299839, 0.09044864028692245, 0.03582046926021576, -0.04588766023516655, -0.06442221999168396, -0.008720996789634228, -0.009028280153870583, -0.017607828602194786, -0.05443306639790535, 0.03570340946316719, 0.03024059347808361, 0.027060452848672867, -0.03939080983400345, -0.07722081989049911, 0.05345756188035011, 0.045419417321681976, 0.017393218353390694, -0.0028265200089663267, 0.033089060336351395, 0.035313207656145096, 0.028484687209129333, 0.02132449485361576, 0.01954907923936844, 0.023919332772493362, 0.010486656799912453, -0.0787426009774208, 0.000600544037297368, 0.022612160071730614, 0.02169518731534481, 0.012213297188282013, 0.012954679317772388, 0.04116622731089592, -0.006545625161379576, 0.0014132600044831634, -0.01782243885099888, -0.040737003087997437, -0.018505292013287544, -0.000899291830137372, 0.006677317898720503, 0.06251022964715958, 0.004053215030580759, 0.0687144324183464, 0.0026387355756014585, 0.0028923663776367903, 0.015393436886370182, -0.04405371472239494, -0.010057435370981693, 0.015754373744130135, -0.0030923443846404552, 0.0011876749340444803, -0.05103831738233566, 0.0794839859008789, -0.012662028893828392, -0.047955725342035294, -0.006238341797143221, -0.03667891398072243, -0.07971810549497604, -0.044756077229976654, -0.006584645248949528, 0.0021973205730319023, -0.051662638783454895, -0.01836872100830078, -0.014066752977669239, -0.01049641240388155, 0.011549955233931541, -0.0028631011955440044, -0.040854066610336304, 0.008408836089074612, -0.011345099657773972, 0.015598292462527752, 0.0412442646920681, -0.016212860122323036, 0.023021871224045753, -0.063563771545887, 0.051740679889917374, 0.0067992559634149075, 0.05380874499678612, -0.05743761733174324, -0.03228914737701416, 0.016495754942297935, -0.0066968281753361225, 0.008369815535843372, -0.010798818431794643, -0.05232597887516022, 0.007218722254037857, -0.014574014581739902, -0.01660306006669998, 0.042727030813694, 0.04444391652941704, -0.03822020813822746, -0.01092563383281231, -0.06450025737285614, -0.009467256255447865, 0.021090375259518623, -0.03031863272190094, -0.028543217107653618, -0.006716337986290455, 0.05845214053988457, 0.05778879672288895, -0.037615396082401276, -0.02251460961997509, 0.018797943368554115, 0.004670220427215099, -0.01761758327484131, -0.0027996934950351715, 0.02247558906674385, -0.029518719762563705, -0.050101831555366516, -0.013891162350773811, 0.051662638783454895, 0.032113559544086456, -0.023236481472849846, 0.0007962543168105185, 0.014281364157795906, -0.02522650733590126, -0.050062812864780426, -0.0006761454860679805, -0.06305651366710663, 0.019900260493159294, -0.004604374058544636, -0.018290681764483452, 0.007296762429177761, 0.045575499534606934, -0.05131145566701889, -0.014261853881180286, -0.031859926879405975, -0.034923005849123, 0.05142851918935776, -0.0034654743503779173, -0.02653368189930916, -0.057164475321769714, 0.06590498238801956, -0.03903963044285774, 0.07339684665203094, 0.03172335773706436, 0.01770537905395031, -0.05228696018457413, 0.01158897578716278, 0.028250565752387047, -0.027470164000988007, 0.013852142728865147, 0.06266631186008453, -0.017520032823085785, 0.019422264769673347, -0.052482061088085175, -0.02132449485361576, 0.03172335773706436, 0.04221976920962334, -0.053301483392715454, 0.014837400056421757, 0.02185126766562462, -0.012808354571461678, -0.002509481506422162, -0.03517663851380348, 0.06005196273326874, -0.026806822046637535, 0.04260997101664543, -0.057866837829351425, 0.0061456686817109585, 0.03636674955487251, -0.06504654139280319, 0.003821532940492034, 0.02229999750852585, 0.038883548229932785, -0.023392561823129654, 0.018719902262091637, -0.02633858099579811, -0.006930948700755835, 0.07308468222618103, 0.05353560298681259, 0.0772598385810852, -0.04635590314865112, 0.05595485121011734, 0.030065001919865608, 0.016154330223798752, 0.026475150138139725, -0.015510497614741325, -0.017198117449879646, 0.01828092522919178, 0.026845842599868774, 0.005170166026800871, 0.03636674955487251, -0.01150118000805378, -0.002264386275783181, 0.036795973777770996, 0.026182500645518303, 0.05993490293622017, 0.01004768069833517, -0.02403639443218708, 0.014652054756879807, -0.0063261366449296474, -0.03150874748826027, -0.000059177975344937295, 0.005872528068721294, -0.016671346500515938, -0.04818984866142273, 0.005311613902449608, 0.07960104197263718, 0.04897024855017662, -0.014271608553826809, 0.017646849155426025, -0.04046386480331421, 0.015286131761968136, -0.02448512427508831, -0.05103831738233566, -0.04030778259038925, 0.004728750791400671, -0.02994794212281704, 0.023802272975444794, 0.049243390560150146, 0.01092563383281231, -0.024953367188572884, -0.007116294465959072, -0.01382287684828043, -0.044678036123514175, -0.02407541312277317, 0.012535213492810726, -0.012076727114617825, -0.03166482597589493, 0.0060822609812021255, 0.03221110999584198, 0.008169837296009064, 0.02764575369656086, -0.005097003187984228, -0.006599277723580599, 0.03615213930606842, -0.00014769725385122, 0.015432457439601421, 0.05135047808289528, -0.11901136487722397, 0.02608495019376278, -0.013676552101969719, 0.03422064334154129, 0.001876623835414648, 0.02333403192460537, 0.09700401872396469, -0.010593962855637074, 0.03303053230047226, -0.07004111260175705, -0.05747663602232933, -0.02165616676211357, -0.00791132915765047, -0.010525677353143692, -0.00575059000402689, -0.03363534435629845, -0.035761941224336624, -0.011218284256756306, 0.0022034174762666225, -0.02719702385365963, -0.07195310294628143, -0.028035955503582954, -0.006545625161379576, -0.005409163888543844, 0.030455203726887703, -0.025909358635544777, 0.0002501250710338354, -0.07253840565681458, 0.02132449485361576, 0.02284627966582775, -0.002953335177153349, -0.01729566790163517, -0.010730532929301262, 0.023568151518702507, 0.017520032823085785, 0.12314749509096146, -0.014817890711128712, -0.004289774224162102, 0.029967451468110085, 0.005018963012844324, 0.028250565752387047, 0.015988493338227272, -0.014437444508075714, -0.0027801834512501955, -0.05021889507770538, 0.035352230072021484, -0.02292432077229023, 0.0393713004887104, 0.024699736386537552, 0.015539762564003468, 0.006594400387257338, -0.022690199315547943, 0.053964823484420776, 0.03745931386947632, -0.016115309670567513, 0.030299123376607895, 0.020368501543998718, 0.015286131761968136, 0.019236918538808823, -0.06504654139280319, 0.04565354064106941, -0.09224355965852737, -0.01643722504377365, -0.006384667009115219, -0.06543674319982529, -0.012993699871003628, 0.0018985726637765765, 0.026631232351064682, 0.03451329469680786, -0.000025797480702749453, -0.06691950559616089, 0.05068713426589966, -0.04022974148392677, 0.009501399472355843, 0.01086710300296545, -0.006618787534534931, -0.05068713426589966, -0.043858613818883896, -0.07378704845905304, 0.08365913480520248, 0.019119858741760254, -0.005004330538213253, -0.006989479064941406, 0.027918895706534386, 0.004989697597920895, -0.056267011910676956, -0.03254278004169464, -0.013013210147619247, 0.002302187029272318, 0.03751784563064575, -0.0057603451423347, 0.018339456990361214, 0.02875782735645771, 0.03318661078810692, 0.021168414503335953, 0.02489483542740345, 0.01770537905395031, 0.03236718848347664, 0.024270514026284218, -0.0033240264747291803, -0.06262729316949844, 0.027021432295441628, -0.034084074199199677, -0.031820908188819885, 0.013130269944667816, -0.004516578745096922, 0.028582237660884857, -0.016193348914384842, -0.007925962097942829, 0.03347926214337349, 0.020329482853412628, -0.0023497429210692644, -0.03377191349864006, 0.0149544607847929, -0.024543656036257744, -0.07214820384979248, -0.014261853881180286, 0.014261853881180286, 0.019002798944711685, 0.012876639142632484, 0.026845842599868774, -0.01705179177224636, 0.015032500959932804, 0.0004033095028717071, -0.02436806447803974, -0.005950568243861198, 0.01582265831530094, -0.043000172823667526, -0.020485563203692436, -0.015451967716217041, 0.01393018290400505, -0.05575975030660629, -0.0230413805693388, 0.01232060231268406, -0.012437663041055202, 0.012671783566474915, -0.03982003033161163, 0.012876639142632484, -0.0020302655175328255, -0.003728860057890415, -0.0029923554975539446, -0.035761941224336624, 0.006379789672791958, -0.0029655289836227894, 0.003514249576255679, 0.04483411833643913, -0.047097284346818924, -0.0014266731450334191, 0.0018790626199916005, 0.020075852051377296, -0.04034680500626564, 0.017890725284814835, -0.04257094860076904, 0.005472571589052677, -0.025363078340888023, -0.043156251311302185, -0.01980271004140377, -0.0004371472750790417, 0.029304109513759613, 0.04405371472239494, -0.06379789859056473, -0.04417077451944351, 0.013013210147619247, 0.03980052098631859, -0.05298932269215584, -0.007287007290869951, 0.02567523904144764, 0.0036191160324960947, 0.015842167660593987, -0.007813778705894947, -0.02165616676211357, 0.034688886255025864, 0.03763490542769432, 0.03933228179812431, 0.017032282426953316, -0.036581363528966904, 0.031079525128006935, -0.07640139758586884, -0.04264898970723152, -0.0006438319687731564, 0.0709775984287262, -0.0000236635678447783, 0.06945580989122391, -0.02920655906200409, 0.02407541312277317, 0.03759588673710823, -0.030591772869229317, 0.018836962059140205, 0.002655806951224804, -0.011969421990215778, 0.020758703351020813, -0.007008988875895739, -0.035137616097927094, 0.042297810316085815, -0.00790645182132721, 0.005023840349167585, 0.054823268204927444, -0.006370034534484148, -0.03903963044285774, -0.013579001650214195, -0.010184250771999359, 0.03125511482357979, -0.039000608026981354, 0.036132629960775375, -0.016622571274638176, 0.024797284975647926, -0.047955725342035294, -0.018875982612371445, -0.018007785081863403, -0.036210671067237854, -0.012037706561386585, -0.008486876264214516, -0.028601747006177902, 0.04967261105775833, -0.012310847640037537, 0.08381521701812744, -0.06083236634731293, 0.035683900117874146, -0.0071114166639745235, -0.04132230579853058, -0.07866456359624863, 0.045458439737558365, -0.02961627021431923, -0.011627995409071445, -0.001024278113618493, -0.04487313702702522, -0.015500742010772228, -0.02259264886379242, 0.03894207999110222, -0.03853236883878708, 0.013296105898916721, 0.06075432524085045, -0.03384995460510254, -0.030747853219509125, 0.016300654038786888, 0.016242124140262604, -0.08373717963695526, 0.06551478058099747, -0.0058871605433523655, 0.061885908246040344, 0.07031425833702087, 0.04592667892575264, 0.013988712802529335, -0.01816386543214321, 0.031216096132993698, -0.0016620132373645902, 0.002430221764370799, -0.04175152629613876, -0.01326684094965458, -0.02263166941702366, -0.01476911548525095, -0.0008023512200452387, 0.011988931335508823, -0.024680225178599358, -0.01565682329237461, 0.03324514254927635, 0.008720996789634228, 0.01954907923936844, 0.01794925518333912, -0.029811371117830276, 0.011784075759351254, 0.024680225178599358, 0.02772379480302334, 0.057203494012355804, -0.0008712460985407233, -0.02986990101635456, -0.047136303037405014, -0.013608266599476337, -0.012476683594286442, 0.04401469603180885, -0.047682587057352066, -0.045341379940509796, 0.030474713072180748, -0.039215218275785446, 0.03794706612825394, 0.0026728780940175056, 0.014271608553826809, 0.05131145566701889, 0.008442978374660015, -0.025538668036460876, 0.043117232620716095, -0.02575327828526497, 0.0021534229163080454, -0.015851924195885658, -0.0534965842962265, -0.01113048940896988, -0.004475119989365339, 0.015608048066496849, 0.021168414503335953, -0.014242343604564667, -0.0590764619410038, -0.0047799646854400635, -0.06403201818466187, 0.053886786103248596, -0.01643722504377365, 0.008964871987700462, 0.01794925518333912, 0.032269638031721115, -0.10457392036914825, 0.03135266527533531, 0.02905047871172428, -0.008613691665232182, -0.08592230081558228, -0.08108381181955338, -0.03244522958993912, -0.007018744014203548, 0.036874011158943176, -0.060286086052656174, -0.025655727833509445, -0.036874011158943176, 0.030084511265158653, -0.005677427165210247, -0.031216096132993698, 0.005614019464701414, -0.044678036123514175, 0.023938843980431557, -0.006096893455833197, 0.04428783431649208, 0.03931276872754097, -0.11245598644018173, -0.025206997990608215, -0.005482326727360487, -0.03146972507238388, -0.018661372363567352, -0.04358547180891037, -0.043156251311302185, 0.037771474570035934, 0.06606106460094452, 0.001998561667278409, 0.024387573823332787, 0.05810095742344856, 0.01261325366795063, 0.022046366706490517, -0.006096893455833197, -0.02378276363015175, 0.022787749767303467, 0.018388232216238976, 0.011852361261844635, -0.014144793152809143, 0.01742248423397541, 0.005511591676622629, 0.029967451468110085, -0.024270514026284218, 0.01627139002084732, 0.013276595622301102, 0.01222305279225111, 0.00448975246399641, -0.011032938957214355, 0.018007785081863403, -0.051818717271089554, 0.04366351291537285, -0.06610008329153061, 0.07113368064165115, 0.022241467610001564, 0.009467256255447865, -0.03767392411828041, 0.004492191132158041, 0.031703848391771317, -0.09388240426778793, -0.02571425959467888, 0.08131793141365051, -0.045575499534606934, 0.013920427300035954, 0.063914954662323, 0.04171250760555267, -0.01070126798003912, 0.07374802231788635, 0.04202466830611229, 0.01285712979733944, 0.01029155682772398, 0.010008661076426506, -0.03636674955487251, -0.028952928259968758, -0.03585948795080185, 0.026767801493406296, -0.013013210147619247, -0.006379789672791958, 0.04893122985959053, -0.06383691728115082, -0.05923254042863846, -0.02177322655916214, 0.026397110894322395, 0.031528256833553314, -0.007311394903808832, -0.02637760154902935, -0.02908949926495552, -0.012788844294846058, -0.006579767446964979, 0.014271608553826809, -0.02229999750852585, 0.04370253533124924, 0.017568808048963547, 0.018261415883898735, -0.04733140394091606, -0.020719682797789574, -0.05934960022568703, 0.026143480092287064, 0.0034020666498690844, 0.030006472021341324, 0.033342693001031876, 0.03500104695558548, 0.04662904143333435, 0.021909797564148903, 0.006730970460921526, 0.05849115923047066, 0.07573805004358292, -0.03685450181365013, 0.015286131761968136, -0.0010163522092625499, 0.03289395943284035, 0.060910407453775406, 0.03443525359034538, -0.06239316985011101, -0.019568590447306633, 0.004943361505866051, -0.04218075051903725, 0.04592667892575264, -0.07031425833702087, -0.030162552371621132, 0.07640139758586884, 0.0209928248077631, -0.007413822691887617, -0.0019193021580576897, -0.000010536194167798385, 0.027626244351267815, -0.019792955368757248, 0.013305860571563244, 0.027411634102463722, -0.05111635476350784, -0.02489483542740345, 0.05076517537236214, 0.03699107468128204, 0.002269263844937086, 0.05373070389032364, 0.06325161457061768, -0.009935498237609863, -0.012905904091894627, -0.07776709645986557, 0.01794925518333912, -0.035391248762607574, -0.0033630465622991323, -0.007657698355615139, -0.017656603828072548, 0.036386262625455856, 0.010008661076426506, 0.03886403888463974, -0.06114452704787254, -0.024680225178599358, 0.03363534435629845, -0.016895711421966553, -0.004733628127723932, 0.004145887680351734, -0.010428126901388168, -0.025499647483229637, -0.0382787361741066, -0.04112720489501953, -0.04182956740260124, 0.01787121407687664, 0.0006035924889147282, -0.02456316538155079, -0.009077055379748344, -0.04366351291537285, -0.12369377911090851, -0.054784249514341354, 0.030494222417473793, 0.020856253802776337, -0.012876639142632484, -0.025070426985621452, -0.030143043026328087, 0.03652283176779747, 0.011325589381158352, -0.009442868642508984, -0.022670689970254898, 0.02670927159488201, 0.03172335773706436, 0.01705179177224636, 0.028601747006177902, 0.030143043026328087, -0.0175492987036705, -0.004333672113716602, 0.006301749497652054, -0.08935607224702835, -0.03656185045838356, 0.006530992686748505, 0.030552754178643227, -0.008784404024481773, 0.03878599777817726, 0.05817899852991104, -0.07694767415523529, 0.03466937690973282, 0.0020205106120556593, -0.004514140076935291, 0.0534965842962265, -0.004248315468430519, 0.032386697828769684, 0.030669813975691795, 0.01025253627449274, -0.09942326694726944, 0.0035459534265100956, 0.03131364658474922, -0.02986990101635456, 0.03907864913344383, 0.006887051276862621, 0.001508371438831091, 0.004948238842189312, 0.023529132828116417, 0.06625616550445557, 0.040658965706825256, 0.014622789807617664, 0.01935397833585739, 0.04116622731089592, 0.007638188544660807, -0.04054190590977669, 0.018437005579471588, -0.021383024752140045, 0.007784513756632805, 0.06508556008338928, -0.026436131447553635, 0.050179872661828995, 0.02645564079284668, -0.060169022530317307, -0.030377162620425224, 0.0761672705411911, 0.004326355643570423, -0.020388012751936913, 0.012925414368510246, 0.03923473134636879, 0.06645126640796661, 0.007955227047204971, 0.014652054756879807, 0.018846718594431877, -0.007794268894940615, 0.025011897087097168 ]
719,854
ibm_platform_services.open_service_broker_v1
replace_service_instance
Create (provision) a service instance. Create a service instance with GUID. When your service broker receives a provision request from the IBM Cloud platform, it MUST take whatever action is necessary to create a new resource. When a user creates a service instance from the IBM Cloud console or the IBM Cloud CLI, the IBM Cloud platform validates that the user has permission to create the service instance using IBM Cloud IAM. After this validation occurs, your service broker's provision endpoint (PUT /v2/resource_instances/:instance_id) will be invoked. When provisioning occurs, the IBM Cloud platform provides the following values: - The IBM Cloud context is included in the context variable - The X-Broker-API-Originating-Identity will have the IBM IAM ID of the user that initiated the request - The parameters section will include the requested location (and additional parameters required by your service). :param str instance_id: The `instance_id` of a service instance is provided by the IBM Cloud platform. This ID will be used for future requests to bind and deprovision, so the broker can use it to correlate the resource it creates. :param str organization_guid: (optional) Deprecated in favor of `context`. The IBM Cloud platform GUID for the organization under which the service instance is to be provisioned. Although most brokers will not use this field, it might be helpful for executing operations on a user's behalf. It MUST be a non-empty string. :param str plan_id: (optional) The ID of the plan for which the service instance has been requested, which is stored in the catalog.json of your broker. This value should be a GUID and it MUST be unique to a service. :param str service_id: (optional) The ID of the service stored in the catalog.json of your broker. This value should be a GUID and it MUST be a non-empty string. :param str space_guid: (optional) Deprecated in favor of `context`. The identifier for the project space within the IBM Cloud platform organization. Although most brokers will not use this field, it might be helpful for executing operations on a user's behalf. It MUST be a non-empty string. :param Context context: (optional) Platform specific contextual information under which the service instance is to be provisioned. :param dict parameters: (optional) Configuration options for the service instance. An opaque object, controller treats this as a blob. Brokers should ensure that the client has provided valid configuration parameters and values for the operation. If this field is not present in the request message, then the broker MUST NOT change the parameters of the instance as a result of this request. :param bool accepts_incomplete: (optional) A value of true indicates that both the IBM Cloud platform and the requesting client support asynchronous deprovisioning. If this parameter is not included in the request, and the broker can only deprovision a service instance of the requested plan asynchronously, the broker MUST reject the request with a `422` Unprocessable Entity. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse with `dict` result representing a `Resp2079872Root` object
def replace_service_instance( self, instance_id: str, *, organization_guid: str = None, plan_id: str = None, service_id: str = None, space_guid: str = None, context: 'Context' = None, parameters: dict = None, accepts_incomplete: bool = None, **kwargs ) -> DetailedResponse: """ Create (provision) a service instance. Create a service instance with GUID. When your service broker receives a provision request from the IBM Cloud platform, it MUST take whatever action is necessary to create a new resource. When a user creates a service instance from the IBM Cloud console or the IBM Cloud CLI, the IBM Cloud platform validates that the user has permission to create the service instance using IBM Cloud IAM. After this validation occurs, your service broker's provision endpoint (PUT /v2/resource_instances/:instance_id) will be invoked. When provisioning occurs, the IBM Cloud platform provides the following values: - The IBM Cloud context is included in the context variable - The X-Broker-API-Originating-Identity will have the IBM IAM ID of the user that initiated the request - The parameters section will include the requested location (and additional parameters required by your service). :param str instance_id: The `instance_id` of a service instance is provided by the IBM Cloud platform. This ID will be used for future requests to bind and deprovision, so the broker can use it to correlate the resource it creates. :param str organization_guid: (optional) Deprecated in favor of `context`. The IBM Cloud platform GUID for the organization under which the service instance is to be provisioned. Although most brokers will not use this field, it might be helpful for executing operations on a user's behalf. It MUST be a non-empty string. :param str plan_id: (optional) The ID of the plan for which the service instance has been requested, which is stored in the catalog.json of your broker. This value should be a GUID and it MUST be unique to a service. :param str service_id: (optional) The ID of the service stored in the catalog.json of your broker. This value should be a GUID and it MUST be a non-empty string. :param str space_guid: (optional) Deprecated in favor of `context`. The identifier for the project space within the IBM Cloud platform organization. Although most brokers will not use this field, it might be helpful for executing operations on a user's behalf. It MUST be a non-empty string. :param Context context: (optional) Platform specific contextual information under which the service instance is to be provisioned. :param dict parameters: (optional) Configuration options for the service instance. An opaque object, controller treats this as a blob. Brokers should ensure that the client has provided valid configuration parameters and values for the operation. If this field is not present in the request message, then the broker MUST NOT change the parameters of the instance as a result of this request. :param bool accepts_incomplete: (optional) A value of true indicates that both the IBM Cloud platform and the requesting client support asynchronous deprovisioning. If this parameter is not included in the request, and the broker can only deprovision a service instance of the requested plan asynchronously, the broker MUST reject the request with a `422` Unprocessable Entity. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse with `dict` result representing a `Resp2079872Root` object """ if instance_id is None: raise ValueError('instance_id must be provided') if context is not None: context = convert_model(context) headers = {} sdk_headers = get_sdk_headers( service_name=self.DEFAULT_SERVICE_NAME, service_version='V1', operation_id='replace_service_instance' ) headers.update(sdk_headers) params = {'accepts_incomplete': accepts_incomplete} data = { 'organization_guid': organization_guid, 'plan_id': plan_id, 'service_id': service_id, 'space_guid': space_guid, 'context': context, 'parameters': parameters, } data = {k: v for (k, v) in data.items() if v is not None} data = json.dumps(data) headers['content-type'] = 'application/json' if 'headers' in kwargs: headers.update(kwargs.get('headers')) headers['Accept'] = 'application/json' path_param_keys = ['instance_id'] path_param_values = self.encode_path_vars(instance_id) path_param_dict = dict(zip(path_param_keys, path_param_values)) url = '/v2/service_instances/{instance_id}'.format(**path_param_dict) request = self.prepare_request(method='PUT', url=url, headers=headers, params=params, data=data) response = self.send(request) return response
(self, instance_id: str, *, organization_guid: Optional[str] = None, plan_id: Optional[str] = None, service_id: Optional[str] = None, space_guid: Optional[str] = None, context: Optional[ibm_platform_services.open_service_broker_v1.Context] = None, parameters: Optional[dict] = None, accepts_incomplete: Optional[bool] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
[ 0.09665744006633759, -0.06496777385473251, -0.02575281262397766, -0.02942611277103424, -0.013074963353574276, -0.04014817997813225, 0.03591892123222351, 0.029982073232531548, 0.012231097556650639, 0.033039845526218414, -0.020352069288492203, -0.04539007693529129, 0.0007067380356602371, -0.03301998972892761, -0.005060715600848198, 0.04431787133216858, 0.004447671584784985, -0.04511209949851036, -0.00010470767301740125, -0.05885222554206848, 0.05400744080543518, 0.06615911424160004, -0.028691453859210014, -0.008969802409410477, 0.07954183965921402, 0.045350365340709686, 0.01422659307718277, -0.013432365842163563, -0.004685939755290747, 0.02555425651371479, 0.05293523520231247, -0.0396915003657341, -0.02410479262471199, 0.0474153570830822, 0.021722109988331795, 0.001866433653049171, -0.012260880321264267, 0.02233763597905636, -0.06508690863847733, 0.08001837879419327, -0.030637308955192566, 0.008647147566080093, 0.002076159231364727, -0.04539007693529129, 0.0010548328282311559, 0.034390032291412354, 0.031113846227526665, 0.05265725404024124, -0.00022740954591426998, 0.010781632736325264, 0.018535275012254715, -0.0706067904829979, -0.05690637230873108, -0.02652718499302864, -0.03917524963617325, 0.04153807833790779, -0.020749183371663094, 0.07338657975196838, 0.003745277179405093, -0.022119224071502686, 0.009257709607481956, -0.013720273040235043, 0.0034275862853974104, 0.0183764286339283, 0.007475662510842085, 0.04213374853134155, -0.02420406974852085, 0.003258812939748168, -0.039135538041591644, 0.023092152550816536, 0.030696876347064972, -0.011347519233822823, -0.020451348274946213, 0.006666543427854776, 0.000860619533341378, 0.04674026370048523, 0.008314564824104309, -0.04896409809589386, -0.014355654828250408, -0.014673345722258091, 0.012955829501152039, -0.003040400566533208, 0.033734794706106186, -0.044953253120183945, 0.024362916126847267, 0.026467617601156235, 0.0203322134912014, -0.05233956500887871, -0.06560315936803818, -0.03790448606014252, -0.00031443327316083014, -0.01907137781381607, -0.020163439214229584, 0.021463986486196518, 0.03562108427286148, -0.030121061950922012, -0.02495858632028103, -0.09538667649030685, -0.014395365491509438, -0.006175115704536438, -0.021463986486196518, -0.004283862188458443, 0.0017696372233331203, -0.01271756086498499, 0.09324225783348083, -0.052021875977516174, -0.05102908983826637, 0.00972431804984808, -0.004192030057311058, 0.00522700697183609, -0.011774417012929916, 0.037487518042325974, -0.0706067904829979, -0.014911613427102566, -0.005743254441767931, -0.019498275592923164, 0.01271756086498499, 0.037229396402835846, -0.029962217435240746, -0.004551914054900408, -0.01617244817316532, -0.0707259252667427, 0.005460311193019152, -0.04141894355416298, 0.002802132396027446, -0.026070503517985344, 0.012767200358211994, 0.035859353840351105, 0.01509031467139721, -0.07096418738365173, -0.01156593207269907, -0.014991036616265774, -0.018426068127155304, 0.020074089989066124, -0.03039904125034809, -0.033059701323509216, 0.013769912533462048, 0.022496482357382774, -0.02700372040271759, 0.04765362665057182, -0.0036459986586123705, 0.004594107158482075, -0.05372946336865425, -0.0025464906357228756, -0.00626943027600646, -0.0270831435918808, -0.010672426782548428, 0.027122855186462402, -0.023667966946959496, 0.02188095636665821, -0.014574066735804081, -0.03214634209871292, 0.04284854978322983, 0.0006719905650243163, -0.03327811509370804, -0.06512662023305893, 0.0542059987783432, -0.02188095636665821, 0.006949487142264843, -0.03897669538855553, 0.027936937287449837, -0.033933352679014206, 0.046104881912469864, -0.015824975445866585, 0.016003675758838654, -0.0035392744466662407, -0.02495858632028103, 0.0203123576939106, 0.001757227466441691, 0.019696831703186035, -0.015586706809699535, 0.029366547241806984, -0.06155259907245636, -0.0041771382093429565, -0.01044408604502678, 0.09403648972511292, 0.07926386594772339, -0.04598574712872505, 0.06953458487987518, 0.034191474318504333, -0.0328810028731823, 0.020391780883073807, -0.020193222910165787, -0.00507808942347765, -0.004385622683912516, 0.010215746238827705, 0.007981982082128525, 0.07219523936510086, -0.002603575587272644, -0.026844875887036324, 0.07084505259990692, 0.002483200514689088, 0.061234910041093826, 0.02883044257760048, -0.014296087436378002, 0.012846623547375202, -0.018277151510119438, -0.05591358616948128, -0.019964883103966713, 0.06373672187328339, -0.013958540745079517, -0.022039800882339478, 0.011794271878898144, 0.018048809841275215, 0.04618430510163307, 0.01711559295654297, -0.016222087666392326, -0.009515833109617233, -0.007828100584447384, -0.015000964514911175, -0.0619099996984005, -0.028671598061919212, -0.021702256053686142, -0.0030106171034276485, 0.027063287794589996, -0.015149882063269615, 0.0011354965390637517, -0.026547040790319443, -0.02120586298406124, -0.006175115704536438, 0.004909316077828407, -0.051426202058792114, -0.029108421877026558, 0.003040400566533208, -0.04133952036499977, 0.03145139291882515, 0.012886334210634232, -0.006055981386452913, -0.041855767369270325, -0.040982116013765335, -0.02158312126994133, 0.01790982112288475, 0.008964838460087776, -0.00338787492364645, 0.006209862884134054, -0.08379095792770386, 0.017006387934088707, -0.011476580984890461, 0.05948760733008385, -0.005693615414202213, 0.03852001205086708, 0.03057774342596531, 0.005569517612457275, 0.016003675758838654, -0.046978533267974854, -0.015030747279524803, -0.04809045046567917, 0.011595715768635273, 0.013789767399430275, -0.02682502008974552, -0.017065955325961113, -0.03879799321293831, -0.017840325832366943, 0.03274201229214668, -0.01849556341767311, -0.06997140496969223, 0.0003502665495034307, -0.0270831435918808, 0.06274393945932388, 0.040783561766147614, -0.024998297914862633, 0.014832191169261932, -0.06318076699972153, 0.048447851091623306, -0.004810037557035685, 0.0009282529354095459, -0.02738097868859768, 0.007877740077674389, 0.04685939848423004, 0.010672426782548428, 0.08641190826892853, 0.012558715417981148, -0.013501860201358795, 0.015040675178170204, -0.0002531598729547113, 0.011903478763997555, -0.04032687842845917, -0.030895434319972992, -0.03903626278042793, -0.04725651070475578, -0.006065909285098314, -0.024025369435548782, 0.05718434974551201, -0.033853929489851, 0.00792737863957882, -0.02390623465180397, 0.018892677500844002, 0.07191726565361023, 0.02652718499302864, 0.013948612846434116, -0.04606517031788826, 0.030617455020546913, -0.022814173251390457, -0.020947739481925964, -0.07469705492258072, 0.05090995505452156, -0.09260687977075577, -0.008433698676526546, -0.01898202672600746, -0.0445561408996582, -0.008130899630486965, 0.013154386542737484, -0.017870109528303146, 0.0035392744466662407, 0.0008159442222677171, 0.019984738901257515, 0.0687006413936615, -0.0027649030089378357, 0.02682502008974552, 0.03454887866973877, -0.010563219897449017, -0.042729418724775314, -0.05214100703597069, -0.05635040998458862, 0.051346782594919205, 0.0033655373845249414, 0.0071331518702209, -0.00706862099468708, 0.019518131390213966, -0.005609228741377592, -0.024998297914862633, -0.006165187805891037, -0.013392654247581959, 0.020352069288492203, 0.08267904072999954, -0.007857884280383587, -0.025038009509444237, 0.026308773085474968, 0.05750204250216484, 0.0304784644395113, -0.012111962772905827, -0.01598381996154785, 0.0003952520783059299, 0.03452902287244797, -0.010265384800732136, -0.0861736387014389, -0.003040400566533208, -0.042649995535612106, -0.01127802487462759, 0.04638286307454109, 0.047852180898189545, 0.015348438173532486, -0.04316624253988266, 0.00479266420006752, 0.004616444930434227, 0.027122855186462402, 0.028433330357074738, -0.04638286307454109, 0.006741002202033997, -0.013472076505422592, -0.0919714942574501, 0.003951279912143946, 0.04018789157271385, 0.0697331354022026, 0.027341267094016075, -0.00691970344632864, -0.016380934044718742, 0.03911568224430084, -0.00493909977376461, -0.008493266068398952, -0.0017448175931349397, -0.008741461671888828, -0.06020241230726242, 0.004996184725314379, -0.03466801345348358, -0.014762695878744125, -0.05198216438293457, -0.05341177061200142, 0.0013129566796123981, -0.013898974284529686, 0.0004030081909149885, -0.029664382338523865, -0.005435491446405649, -0.017155304551124573, 0.061036352068185806, 0.004919243976473808, -0.06917718052864075, 0.012886334210634232, -0.05972587689757347, 0.013571355491876602, 0.014107458293437958, -0.015308727510273457, -0.01946849189698696, -0.026586752384901047, 0.04531065374612808, 0.008389023132622242, -0.003015581052750349, -0.007619616109877825, 0.030121061950922012, -0.03206691890954971, -0.04523123428225517, -0.027142710983753204, -0.0020687133073806763, -0.002675552386790514, 0.08474402874708176, -0.022496482357382774, -0.07406167685985565, -0.009942729957401752, 0.04777275770902634, -0.055715031921863556, 0.02362825535237789, 0.053769174963235855, 0.007525301538407803, 0.02041163668036461, 0.0022598241921514273, -0.04042615741491318, 0.03534310683608055, -0.00009260811930289492, 0.0013390171807259321, 0.054523687809705734, -0.006085765082389116, -0.04797131568193436, -0.016400789842009544, -0.0532529279589653, -0.05778001993894577, 0.05166447162628174, -0.0454695001244545, 0.10634700953960419, -0.008964838460087776, -0.001347704092040658, 0.018445923924446106, 0.042530860751867294, 0.01790982112288475, 0.006199934985488653, -0.042252879589796066, 0.03490627929568291, -0.019428780302405357, -0.0561518557369709, 0.06893891096115112, -0.051545336842536926, 0.005524842068552971, 0.0609966404736042, -0.012191385962069035, 0.028095783665776253, 0.04114096239209175, -0.011625498533248901, 0.020103873685002327, -0.03341710567474365, 0.022973017767071724, 0.035283539444208145, 0.010493725538253784, -0.02807592786848545, -0.004107643384486437, 0.009759065695106983, 0.002184124430641532, 0.008781173266470432, -0.02632862702012062, -0.054444268345832825, 0.08458518236875534, -0.0032861146610230207, 0.09125669300556183, -0.03697127103805542, 0.021722109988331795, 0.025593968108296394, -0.01993509940803051, -0.07966097444295883, 0.023489266633987427, -0.019398996606469154, -0.008448590524494648, -0.0057680741883814335, -0.019309645518660545, -0.025613823905587196, -0.04916265606880188, 0.07294975966215134, 0.02420406974852085, 0.03407234326004982, 0.06258509308099747, -0.005971594713628292, -0.014792479574680328, 0.021841244772076607, 0.014345726929605007, -0.058137424290180206, 0.0503142848610878, -0.009376843459904194, 0.028393618762493134, 0.07807252556085587, 0.0464622862637043, -0.018068665638566017, -0.00154874287545681, 0.010781632736325264, 0.042808838188648224, 0.0050756074488162994, -0.0018900122959166765, -0.0013998252106830478, -0.029664382338523865, -0.024065081030130386, 0.024760030210018158, 0.0071331518702209, -0.0006732315523549914, -0.01481233537197113, 0.0203322134912014, -0.023489266633987427, -0.027420690283179283, 0.008478374220430851, -0.03844059258699417, -0.030041638761758804, -0.007391275838017464, 0.028691453859210014, 0.033039845526218414, -0.01252893265336752, -0.0006477914866991341, -0.03494599089026451, 0.011258169077336788, -0.010414302349090576, 0.04189547896385193, -0.02740083448588848, -0.03542252629995346, 0.046104881912469864, 0.0008264925563707948, 0.06262480467557907, -0.009848415851593018, -0.011079467833042145, 0.04908323287963867, -0.011605643667280674, 0.010583075694739819, 0.08244077116250992, -0.055317915976047516, 0.03564094007015228, 0.022139079868793488, -0.043682489544153214, -0.007396239787340164, -0.021146295592188835, 0.04479440674185753, 0.04046586900949478, -0.004306199960410595, -0.03852001205086708, -0.0256535355001688, -0.07108332216739655, 0.011675138026475906, 0.004065449815243483, -0.0304983202368021, -0.04221316799521446, -0.004132462665438652, -0.06889919936656952, -0.009173322468996048, 0.014067747630178928, -0.028036216273903847, -0.07656349241733551, -0.008691823109984398, -0.05468253418803215, -0.0008767522522248328, 0.003032954642549157, -0.06012298911809921, -0.03550194948911667, -0.07056707888841629, -0.02012372948229313, 0.026110215112566948, -0.016619201749563217, -0.01905152201652527, -0.028612030670046806, 0.056668102741241455, -0.02537555620074272, 0.04578719288110733, 0.06020241230726242, -0.07878732681274414, 0.04169692099094391, -0.00309748575091362, 0.0064133838750422, 0.03462830185890198, -0.044278159737586975, -0.013382726348936558, 0.02078889310359955, 0.07267177850008011, -0.01799917221069336, 0.028592174872756004, 0.03806333243846893, -0.034032631665468216, 0.0426102839410305, -0.03782506659626961, 0.01595403626561165, 0.013084891252219677, -0.021523553878068924, 0.02340984344482422, -0.025613823905587196, -0.02188095636665821, -0.003760168794542551, 0.02497844211757183, 0.03210663050413132, 0.00706365704536438, -0.012459437362849712, -0.004120052792131901, -0.01627172715961933, 0.04197490215301514, -0.009977477602660656, -0.038857560604810715, 0.04797131568193436, -0.047852180898189545, 0.03520411625504494, 0.043205954134464264, 0.0271029993891716, -0.027321411296725273, 0.04781246930360794, 0.04685939848423004, -0.030994711443781853, -0.02207951247692108, 0.09419533610343933, 0.05488109216094017, -0.011883622966706753, 0.056191567331552505, 0.026308773085474968, 0.013005468994379044, 0.061036352068185806, 0.07715915888547897, -0.007153007667511702, 0.012648066505789757, 0.0222780704498291, -0.03709040582180023, -0.029584959149360657, -0.004589143209159374, 0.008657075464725494, 0.010672426782548428, -0.04181605577468872, 0.023965802043676376, -0.09919895976781845, -0.04606517031788826, 0.03242431953549385, -0.004244151059538126, 0.018654407933354378, 0.012489221058785915, -0.06234682723879814, -0.013233808800578117, 0.00007523439853684977, -0.007569977082312107, -0.0008221491589210927, -0.048527274280786514, 0.04006875678896904, 0.009108792059123516, -0.03512469306588173, -0.060242123901844025, -0.03564094007015228, -0.016500066965818405, 0.03861929103732109, -0.0319279283285141, 0.021225718781352043, 0.020828604698181152, 0.013372798450291157, 0.018257295712828636, 0.025038009509444237, -0.028671598061919212, 0.052101295441389084, 0.02825462818145752, 0.0033580914605408907, -0.030895434319972992, 0.0142663037404418, -0.012280736118555069, 0.000965482322499156, -0.00034716411028057337, -0.0725923553109169, -0.024640895426273346, 0.05265725404024124, -0.017671553418040276, 0.06214826926589012, -0.016887253150343895, -0.050949666649103165, 0.029108421877026558, -0.011218457482755184, 0.011744633316993713, 0.01915080100297928, -0.015269015915691853, 0.049202367663383484, 0.005346141289919615, 0.01895224303007126, -0.00012495115515775979, -0.01238994300365448, -0.0290290005505085, 0.025415265932679176, 0.04519152268767357, -0.023290708661079407, 0.008364204317331314, 0.07966097444295883, 0.00028340876451693475, -0.010285240598022938, -0.04372220113873482, 0.040783561766147614, -0.021444130688905716, -0.0072870333679020405, -0.013045179657638073, -0.013849334791302681, 0.017065955325961113, 0.03651459142565727, 0.09220976382493973, -0.03669328987598419, 0.016400789842009544, 0.015229304321110249, -0.03337739408016205, -0.05087024345993996, 0.011814127676188946, -0.006646688096225262, -0.030160773545503616, -0.06274393945932388, -0.029386403039097786, -0.040485724806785583, -0.010652570985257626, -0.005390816368162632, -0.015308727510273457, 0.02390623465180397, -0.04431787133216858, -0.09355995059013367, -0.011456726118922234, 0.04114096239209175, -0.021265430375933647, -0.014504572376608849, -0.020054234191775322, 0.010131359100341797, 0.0014060301473364234, 0.0648089274764061, -0.014107458293437958, -0.037408094853162766, 0.04614459350705147, -0.011079467833042145, 0.048050738871097565, 0.04856698587536812, 0.07870790362358093, -0.014722984284162521, 0.001206852844916284, 0.03452902287244797, -0.07751656323671341, -0.04797131568193436, 0.03339724987745285, 0.022695038467645645, -0.01984575018286705, 0.005040859803557396, 0.0503142848610878, -0.04411931335926056, 0.012628210708498955, 0.019627336412668228, -0.011953117325901985, 0.0435236431658268, 0.0542059987783432, 0.046899110078811646, 0.012409797869622707, 0.03959222137928009, -0.10436143726110458, -0.03137196972966194, 0.0169368926435709, -0.06504719704389572, 0.02188095636665821, -0.00949101336300373, -0.020103873685002327, 0.013601139187812805, 0.010960333980619907, 0.06206884607672691, 0.051346782594919205, 0.025117430835962296, 0.017472995445132256, 0.05964645370841026, 0.03824203461408615, -0.023052440956234932, 0.009813668206334114, -0.015417933464050293, 0.000015444382370333187, -0.0036807460710406303, -0.025038009509444237, 0.09205091744661331, 0.026944153010845184, -0.025117430835962296, -0.018028954043984413, 0.07890646159648895, 0.016768120229244232, -0.029187845066189766, -0.004671047907322645, -0.05071140080690384, 0.04487382993102074, 0.012241024523973465, 0.0034821894951164722, 0.0217618215829134, 0.025038009509444237, 0.023449555039405823 ]
719,855
ibm_platform_services.open_service_broker_v1
replace_service_instance_state
Update the state of a provisioned service instance. Update (disable or enable) the state of a provisioned service instance. As a service provider you need a way to manage provisioned service instances. If an account comes past due, you may need a to disable the service (without deleting it), and when the account is settled re-enable the service. This endpoint allows the provider to enable or disable the state of a provisioned service instance. It is the service provider's responsibility to disable access to the service instance when the disable endpoint is invoked and to re-enable that access when the enable endpoint is invoked. When your service broker receives an enable / disable request, it should take whatever action is necessary to enable / disable (respectively) the service. Additionally, If a bind request comes in for a disabled service, the broker should reject that request with any code other than `204`, and provide a user-facing message in the description. :param str instance_id: The `instance_id` of a service instance is provided by the IBM Cloud platform. This ID will be used for future requests to bind and deprovision, so the broker can use it to correlate the resource it creates. :param bool enabled: (optional) Indicates the current state of the service instance. :param str initiator_id: (optional) Optional string that shows the user ID that is initiating the call. :param str reason_code: (optional) Optional string that states the reason code for the service instance state change. Valid values are `IBMCLOUD_ACCT_ACTIVATE`, `IBMCLOUD_RECLAMATION_RESTORE`, or `IBMCLOUD_SERVICE_INSTANCE_BELOW_CAP` for enable calls; `IBMCLOUD_ACCT_SUSPEND`, `IBMCLOUD_RECLAMATION_SCHEDULE`, or `IBMCLOUD_SERVICE_INSTANCE_ABOVE_CAP` for disable calls; and `IBMCLOUD_ADMIN_REQUEST` for enable and disable calls.<br/><br/>Previously accepted values had a `BMX_` prefix, such as `BMX_ACCT_ACTIVATE`. These values are deprecated. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse with `dict` result representing a `Resp2448145Root` object
def replace_service_instance_state( self, instance_id: str, *, enabled: bool = None, initiator_id: str = None, reason_code: str = None, **kwargs ) -> DetailedResponse: """ Update the state of a provisioned service instance. Update (disable or enable) the state of a provisioned service instance. As a service provider you need a way to manage provisioned service instances. If an account comes past due, you may need a to disable the service (without deleting it), and when the account is settled re-enable the service. This endpoint allows the provider to enable or disable the state of a provisioned service instance. It is the service provider's responsibility to disable access to the service instance when the disable endpoint is invoked and to re-enable that access when the enable endpoint is invoked. When your service broker receives an enable / disable request, it should take whatever action is necessary to enable / disable (respectively) the service. Additionally, If a bind request comes in for a disabled service, the broker should reject that request with any code other than `204`, and provide a user-facing message in the description. :param str instance_id: The `instance_id` of a service instance is provided by the IBM Cloud platform. This ID will be used for future requests to bind and deprovision, so the broker can use it to correlate the resource it creates. :param bool enabled: (optional) Indicates the current state of the service instance. :param str initiator_id: (optional) Optional string that shows the user ID that is initiating the call. :param str reason_code: (optional) Optional string that states the reason code for the service instance state change. Valid values are `IBMCLOUD_ACCT_ACTIVATE`, `IBMCLOUD_RECLAMATION_RESTORE`, or `IBMCLOUD_SERVICE_INSTANCE_BELOW_CAP` for enable calls; `IBMCLOUD_ACCT_SUSPEND`, `IBMCLOUD_RECLAMATION_SCHEDULE`, or `IBMCLOUD_SERVICE_INSTANCE_ABOVE_CAP` for disable calls; and `IBMCLOUD_ADMIN_REQUEST` for enable and disable calls.<br/><br/>Previously accepted values had a `BMX_` prefix, such as `BMX_ACCT_ACTIVATE`. These values are deprecated. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse with `dict` result representing a `Resp2448145Root` object """ if instance_id is None: raise ValueError('instance_id must be provided') headers = {} sdk_headers = get_sdk_headers( service_name=self.DEFAULT_SERVICE_NAME, service_version='V1', operation_id='replace_service_instance_state' ) headers.update(sdk_headers) data = {'enabled': enabled, 'initiator_id': initiator_id, 'reason_code': reason_code} data = {k: v for (k, v) in data.items() if v is not None} data = json.dumps(data) headers['content-type'] = 'application/json' if 'headers' in kwargs: headers.update(kwargs.get('headers')) headers['Accept'] = 'application/json' path_param_keys = ['instance_id'] path_param_values = self.encode_path_vars(instance_id) path_param_dict = dict(zip(path_param_keys, path_param_values)) url = '/bluemix_v1/service_instances/{instance_id}'.format(**path_param_dict) request = self.prepare_request(method='PUT', url=url, headers=headers, data=data) response = self.send(request) return response
(self, instance_id: str, *, enabled: Optional[bool] = None, initiator_id: Optional[str] = None, reason_code: Optional[str] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
[ 0.07049019634723663, -0.10563905537128448, 0.006053841672837734, -0.028199929744005203, -0.00334934308193624, -0.0416935458779335, -0.008036498911678791, 0.01779579184949398, 0.022867929190397263, -0.0048555852845311165, -0.05332000181078911, -0.02640976384282112, 0.00008759844058658928, -0.006693874020129442, -0.015986377373337746, 0.016891084611415863, 0.011587957851588726, -0.038093965500593185, -0.008739090524613857, -0.05705432966351509, 0.044503916054964066, 0.0895468071103096, 0.0040374984964728355, 0.03745874762535095, 0.07091367989778519, 0.05216505751013756, 0.006409950088709593, -0.02438860759139061, -0.0014232302783057094, 0.017853539437055588, 0.03930665925145149, -0.01915285363793373, -0.03349343314766884, 0.021116260439157486, 0.006515820045024157, -0.007579332683235407, 0.0008096651872619987, 0.021963221952319145, -0.06752584129571915, 0.06221308559179306, -0.05474443733692169, -0.018325142562389374, 0.04046160727739334, -0.037170007824897766, -0.022887177765369415, 0.04816124588251114, 0.005981657188385725, 0.031530022621154785, 0.029624363407492638, -0.003671765560284257, 0.04392644390463829, -0.061173636466264725, -0.02525481767952442, 0.012560036964714527, -0.0013017202727496624, 0.028931396082043648, 0.002791119273751974, 0.03949914872646332, 0.012223177589476109, -0.023676391690969467, -0.022906428202986717, -0.01959558203816414, -0.0095523651689291, -0.030240334570407867, 0.005697733256965876, -0.008585098199546337, -0.0239266287535429, 0.008849773555994034, -0.06737184524536133, 0.029066139832139015, 0.03289670869708061, -0.024119120091199875, -0.015572520904242992, 0.01435020286589861, -0.009133697487413883, 0.05562989413738251, -0.025331813842058182, -0.016611972823739052, -0.023021921515464783, -0.011106729507446289, 0.028584912419319153, 0.0146678127348423, 0.045735858380794525, -0.016650469973683357, -0.003308438928797841, -0.0038233522791415453, 0.029662860557436943, -0.031607020646333694, -0.03172251582145691, -0.025370312854647636, 0.01782466471195221, 0.0020319828763604164, -0.010798743925988674, 0.004499476868659258, 0.058709751814603806, 0.009542740881443024, 0.008743902668356895, -0.06991272419691086, 0.0019670173060148954, -0.026352016255259514, -0.04523538053035736, -0.014186585322022438, 0.025120073929429054, -0.018431011587381363, 0.06013418361544609, -0.07280009239912033, -0.04592834785580635, 0.005125072319060564, 0.025832289829850197, -0.029585864394903183, 0.008127931505441666, -0.0027141228783875704, -0.05647685378789902, -0.015649517998099327, 0.02230970561504364, -0.0037680109962821007, 0.03882543370127678, 0.007329094223678112, -0.040500104427337646, -0.023175915703177452, -0.027757199481129646, -0.06613990664482117, -0.004441729746758938, -0.009971032850444317, -0.0019814542029052973, -0.009677484631538391, 0.008710216730833054, 0.030240334570407867, 0.043579958379268646, -0.0733775645494461, -0.04115457460284233, 0.009316563606262207, -0.05358948931097984, 0.032145995646715164, -0.0003711466852109879, -0.01631361059844494, 0.0104137621819973, 0.024427106603980064, 0.015033545903861523, 0.03187650814652443, 0.019576333463191986, -0.001817836775444448, -0.040500104427337646, 0.007059606723487377, 0.030163338407874107, 0.005803603213280439, 0.011915192008018494, 0.06552392989397049, 0.00625114468857646, -0.0011158462148159742, 0.004282924346625805, -0.03126053512096405, 0.044734906405210495, 0.005327187944203615, -0.045966848731040955, -0.020500289276242256, 0.03520660102367401, -0.045427873730659485, 0.013031640090048313, -0.03845969960093498, 0.015505149029195309, -0.01964370533823967, 0.029855351895093918, -0.03459063172340393, 0.0212317556142807, -0.005081762094050646, -0.06506195664405823, -0.009109635837376118, -0.010827617719769478, 0.006544693373143673, -0.00397493876516819, 0.011905567720532417, -0.0424635112285614, 0.016072997823357582, -0.012896896339952946, 0.0826171338558197, 0.06964323669672012, -0.04207852855324745, 0.029662860557436943, 0.01377272978425026, -0.016688968986272812, 0.05378198251128197, -0.07661141455173492, 0.01946083828806877, -0.010125026106834412, 0.016708217561244965, 0.011549458838999271, 0.03457137942314148, 0.010192397981882095, -0.007329094223678112, 0.06787232309579849, -0.0018262582598254085, 0.062097594141960144, 0.030144087970256805, -0.042809996753931046, 0.012839148752391338, -0.016727466136217117, -0.07360855489969254, 0.03836345300078392, 0.037170007824897766, 0.023118168115615845, -0.016765965148806572, 0.0013618736993521452, 0.044426918029785156, 0.01833476684987545, 0.016765965148806572, -0.0104137621819973, -0.024427106603980064, 0.019547460600733757, -0.018931489437818527, -0.08808387815952301, -0.04038460925221443, -0.01782466471195221, 0.009061513468623161, 0.022328954190015793, -0.042656004428863525, 0.0208275243639946, 0.008753527887165546, -0.016044123098254204, -0.021809229627251625, 0.018556131049990654, -0.02631351724267006, -0.031202789396047592, -0.003029326908290386, -0.01915285363793373, 0.07418602705001831, -0.010346390306949615, -0.009542740881443024, -0.02692948840558529, -0.015803510323166847, -0.016409857198596, 0.048430733382701874, -0.0007374811102636158, -0.019220225512981415, 0.02284868061542511, -0.026967987418174744, 0.031145041808485985, -0.046351831406354904, 0.03041357547044754, 0.02733371965587139, 0.006708310917019844, 0.025832289829850197, 0.05397447198629379, 0.013647611252963543, -0.06005718931555748, -0.04057709872722626, -0.0013197662774473429, 0.013022014871239662, -0.030586818233132362, -0.02885439805686474, -0.021963221952319145, -0.08207815885543823, 0.00723766116425395, 0.02972060814499855, -0.011039357632398605, -0.07164514809846878, 0.0335511788725853, 0.021097011864185333, 0.04161655157804489, 0.03574557602405548, -0.014869928359985352, -0.02793044224381447, -0.08808387815952301, -0.011462838388979435, 0.005813227966427803, 0.007449401076883078, 0.01620774157345295, 0.017632175236940384, 0.040346112102270126, -0.003616424510255456, 0.06671737879514694, -0.020866023376584053, -0.04127006605267525, -0.00016406849317718297, -0.009152946062386036, -0.003929222468286753, -0.004598128609359264, -0.06760283559560776, -0.048507727682590485, -0.056630849838256836, -0.012194303795695305, -0.034629128873348236, 0.045812856405973434, 0.014841055497527122, 0.020635033026337624, -0.04030761122703552, 0.008801650255918503, 0.060326676815748215, 0.0431949757039547, 0.004410449881106615, -0.001443682354874909, 0.03691977262496948, 0.012954642996191978, -0.01516828965395689, -0.02785344608128071, 0.035938065499067307, -0.07922928780317307, -0.0021727420389652252, -0.023291409015655518, -0.0455433689057827, 0.015851633623242378, 0.014417574740946293, -0.008416668511927128, -0.0007813930860720575, -0.011020109057426453, -0.019585957750678062, 0.06544693559408188, 0.014773683622479439, 0.01258891075849533, 0.013926723040640354, 0.006727559957653284, -0.026275020092725754, -0.05882524698972702, -0.08785288780927658, 0.06459997594356537, -0.06779532879590988, -0.007285783998668194, -0.016457978636026382, 0.0032145995646715164, 0.03280046582221985, -0.05228055268526077, -0.006573567166924477, -0.04762227088212967, 0.07707338780164719, 0.028315424919128418, -0.047121793031692505, 0.03799772262573242, 0.01605374738574028, 0.06152011826634407, 0.03389766439795494, -0.05520641431212425, -0.045273881405591965, 0.032068997621536255, 0.023272160440683365, 0.0034407763741910458, -0.08454204350709915, 0.02671774849295616, -0.05520641431212425, -0.027737950906157494, 0.024504102766513824, 0.025813041254878044, 0.019730325788259506, -0.0470832958817482, -0.01439832616597414, 0.003938846755772829, 0.009061513468623161, 0.019961316138505936, -0.01907585747539997, 0.048199743032455444, -0.014196210540831089, -0.07087518274784088, -0.015216412954032421, 0.033628176897764206, 0.10178923606872559, 0.02100076712667942, -0.016419481486082077, -0.009119260124862194, 0.015601394698023796, 0.01751668006181717, -0.025043077766895294, 0.013984470628201962, -0.027526210993528366, -0.03757423907518387, 0.011655328795313835, -0.006852678954601288, -0.02400362677872181, -0.06448447704315186, -0.06152011826634407, 0.04107757657766342, -0.010529257357120514, 0.005683296360075474, -0.05131809785962105, -0.04881571605801582, -0.0023604207672178745, 0.09147171676158905, 0.004042310640215874, -0.07899829745292664, -0.0029739858582615852, -0.008050935342907906, 0.049585677683353424, 0.028450168669223785, -0.03428264334797859, 0.0017781355418264866, -0.00885939784348011, 0.03915266692638397, 0.015226037241518497, 0.038016971200704575, -0.003452806966379285, 0.010019156150519848, -0.059094734489917755, -0.046659816056489944, -0.005115448031574488, -0.040346112102270126, -0.004468197003006935, 0.04846923053264618, -0.03899867460131645, -0.05008615553379059, 0.009417621418833733, 0.0779588520526886, -0.07299258559942245, 0.017170196399092674, 0.0763804242014885, 0.03064456582069397, -0.003046169877052307, 0.005678484216332436, -0.014792932197451591, 0.0011940456461161375, 0.025890037417411804, -0.011578332632780075, -0.002364029875025153, -0.00816643051803112, -0.020519539713859558, -0.03441738709807396, -0.05690033733844757, -0.04292548820376396, 0.044118933379650116, -0.04562036320567131, 0.08762189745903015, 0.008512914180755615, -0.0004956643097102642, 0.036477040499448776, 0.02038479596376419, 0.021174008026719093, 0.015765011310577393, -0.04950868338346481, 0.03634229674935341, 0.007329094223678112, -0.029316376894712448, 0.04254050925374031, -0.00204160762950778, 0.05332000181078911, 0.05543740466237068, -0.016121119260787964, 0.023214412853121758, 0.02662150375545025, -0.0026515633799135685, 0.02615952491760254, -0.03195350244641304, 0.013791979290544987, 0.03181875869631767, -0.015736138448119164, -0.028969893231987953, -0.03041357547044754, 0.007670765742659569, 0.03668878227472305, -0.013926723040640354, -0.015072043985128403, -0.0493931882083416, 0.11842045187950134, -0.011780448257923126, 0.05493692681193352, -0.057631801813840866, -0.0018924269825220108, 0.044041939079761505, -0.009542740881443024, -0.02716047875583172, 0.023195164278149605, 0.01984582096338272, -0.012252051383256912, -0.0146678127348423, -0.014764058403670788, -0.030278831720352173, -0.1080259382724762, 0.07083668559789658, 0.042732998728752136, 0.05162608250975609, 0.03643854334950447, -0.02848866581916809, -0.021789979189634323, 0.01111635472625494, 0.021039264276623726, -0.05154908448457718, 0.07357005774974823, 0.01779579184949398, 0.0040735905058681965, 0.049585677683353424, 0.01262740883976221, -0.019557084888219833, -0.05428245663642883, 0.012223177589476109, 0.019528210163116455, 0.020038312301039696, -0.0030221084598451853, -0.033377937972545624, -0.02338765561580658, -0.07149115204811096, 0.04130856692790985, 0.029066139832139015, 0.017170196399092674, -0.0401151217520237, -0.005332000553607941, -0.03936440497636795, -0.010904614813625813, 0.014138462953269482, -0.027198975905776024, -0.05255004018545151, -0.026910239830613136, -0.01633286103606224, 0.07095217704772949, 0.020250052213668823, 0.012617784552276134, -0.05728531628847122, -0.011838195845484734, 0.03665028512477875, 0.05620736628770828, -0.00680936872959137, -0.04184754192829132, 0.046274833381175995, -0.006101964507251978, 0.05243454501032829, 0.013532116077840328, 0.00980741623789072, 0.05062513053417206, -0.045735858380794525, -0.016833337023854256, 0.04970117285847664, -0.0409235842525959, 0.0470832958817482, 0.007574520539492369, -0.013368499465286732, -0.011337718926370144, -0.03320469707250595, 0.049431685358285904, 0.04993216320872307, -0.010211646556854248, -0.011010484769940376, -0.015582145191729069, -0.08354108780622482, 0.006794931832700968, -0.0011699842289090157, -0.037247005850076675, -0.03572632744908333, 0.0006695077172480524, -0.03364742547273636, -0.01569763943552971, -0.003691014600917697, -0.030856305733323097, -0.061173636466264725, -0.047968752682209015, -0.04639032855629921, 0.03928741067647934, 0.001200060942210257, -0.0625210702419281, -0.00865247007459402, -0.06771832704544067, -0.011664954014122486, 0.0015712076565250754, -0.011510960757732391, -0.030471323058009148, -0.03682352602481842, 0.03668878227472305, -0.03335868939757347, 0.05054813250899315, 0.0021029640920460224, -0.058709751814603806, 0.024427106603980064, 0.02384963259100914, -0.0002733973669819534, 0.01938384212553501, -0.03969164192676544, -0.025370312854647636, 0.005567801650613546, 0.037477996200323105, -0.02785344608128071, 0.037708982825279236, 0.05204956233501434, 0.020962268114089966, 0.03668878227472305, -0.010981610976159573, -0.011241473257541656, 0.03445588797330856, 0.007824758999049664, -0.021520491689443588, -0.006799743976444006, -0.033243194222450256, 0.018007531762123108, 0.05659234896302223, -0.009547553025186062, 0.02013455703854561, 0.023118168115615845, 0.005332000553607941, -0.05651535466313362, 0.03759349137544632, -0.025890037417411804, -0.05439795181155205, 0.06952774524688721, -0.07222262024879456, 0.06036517396569252, 0.018729373812675476, 0.05613037198781967, -0.029624363407492638, 0.004268487449735403, 0.03774748370051384, -0.05162608250975609, -0.01876787096261978, 0.09478256106376648, 0.07992225885391235, -0.011395466513931751, 0.04769926518201828, 0.05108710750937462, 0.009244379587471485, 0.03412865102291107, 0.08592797815799713, -0.0389794260263443, 0.024869835004210472, 0.00477618258446455, -0.002538474975153804, -0.024273114278912544, -0.027275972068309784, -0.00719916308298707, -0.010875741019845009, -0.015726514160633087, 0.0239266287535429, -0.04816124588251114, -0.01516828965395689, 0.019653329625725746, 0.030760059133172035, 0.008440730161964893, -0.0013618736993521452, -0.04931619018316269, -0.02084677293896675, -0.0009889224311336875, -0.02075052820146084, 0.00248072762042284, -0.04030761122703552, -0.00490370811894536, 0.01324338000267744, -0.021270254626870155, -0.05266553536057472, -0.04254050925374031, 0.0013739044079557061, 0.07680390030145645, -0.01959558203816414, -0.014542694203555584, 0.03189575672149658, 0.010105776600539684, 0.006467697210609913, 0.04384944587945938, -0.04831523820757866, 0.04061559960246086, 0.03566857799887657, -0.01324338000267744, -0.032068997621536255, 0.017651423811912537, -0.027814947068691254, 0.010481134057044983, -0.016409857198596, -0.0656009316444397, -0.03303145244717598, 0.04500439390540123, -0.03385916352272034, 0.027391467243433, -0.037785980850458145, -0.01180932205170393, -0.01130884513258934, -0.004191491287201643, 0.014966174028813839, 0.030586818233132362, 0.03765123710036278, 0.03272346779704094, -0.035399094223976135, 0.023195164278149605, -0.003996594343334436, 0.016352109611034393, -0.00690561393275857, 0.043810948729515076, 0.029393373057246208, 0.00885939784348011, 0.049123700708150864, 0.040153618901968, 0.024908334016799927, -0.0048555852845311165, -0.046813808381557465, 0.048584725707769394, -0.011578332632780075, 0.0010671218624338508, -0.00679011968895793, -0.021828478202223778, 0.03946065157651901, 0.05285802483558655, 0.03622680529952049, 0.014792932197451591, -0.010433011688292027, 0.021328002214431763, -0.0022557538468390703, -0.06552392989397049, 0.01046188548207283, -0.019114354625344276, -0.01659272238612175, -0.048353735357522964, -0.056399859488010406, -0.041732046753168106, -0.006559130270034075, -0.01636173389852047, -0.013214506208896637, 0.0035033358726650476, -0.05024014785885811, -0.09655348211526871, -0.02100076712667942, 0.016996953636407852, -0.00686711585149169, 0.002366436179727316, -0.018344391137361526, -0.011424340307712555, 0.04269450157880783, 0.028989141806960106, -0.027044983580708504, -0.04508138820528984, 0.08669794350862503, 0.010740997269749641, 0.03736250102519989, 0.0424635112285614, 0.03649629279971123, -0.013387748040258884, 0.0010436620796099305, 0.02879665233194828, -0.05990319326519966, -0.08715991675853729, 0.01890261471271515, 0.060403671115636826, -0.023657143115997314, 0.02084677293896675, 0.04431142657995224, -0.05104861035943031, -0.01998056471347809, 0.026583004742860794, -0.010558130219578743, 0.074878990650177, 0.017863163724541664, 0.03210749477148056, 0.01876787096261978, 0.0075215850956737995, -0.10248219966888428, -0.031530022621154785, 0.006833429913967848, -0.04127006605267525, 0.019682202488183975, 0.021712983027100563, -0.00796431489288807, 0.05355099216103554, 0.03599581494927406, 0.047660768032073975, 0.0548214316368103, 0.026140276342630386, -0.0022172555327415466, 0.06313704699277878, 0.044426918029785156, -0.02802668698132038, 0.009523491375148296, -0.022790933027863503, -0.029778355732560158, 0.005548552609980106, -0.014619690366089344, 0.05382047966122627, 0.03969164192676544, -0.01820964738726616, -0.06652488559484482, 0.05258853733539581, 0.006506195291876793, -0.013926723040640354, 0.024022875353693962, -0.016756340861320496, 0.049431685358285904, 0.019585957750678062, 0.021347250789403915, 0.026660000905394554, -0.012954642996191978, 0.027141228318214417 ]
719,863
ibm_platform_services.open_service_broker_v1
update_service_instance
Update a service instance. Patch an instance by GUID. Enabling this endpoint allows your user to change plans and service parameters in a provisioned service instance. If your offering supports multiple plans, and you want users to be able to change plans for a provisioned instance, you will need to enable the ability for users to update their service instance. To enable support for the update of the plan, a broker MUST declare support per service by specifying `"plan_updateable": true` in your brokers' catalog.json. :param str instance_id: The ID of a previously provisioned service instance. :param str service_id: (optional) The ID of the service stored in the catalog.json of your broker. This value should be a GUID. It MUST be a non-empty string. :param Context context: (optional) Platform specific contextual information under which the service instance is to be provisioned. :param dict parameters: (optional) Configuration options for the service instance. An opaque object, controller treats this as a blob. Brokers should ensure that the client has provided valid configuration parameters and values for the operation. If this field is not present in the request message, then the broker MUST NOT change the parameters of the instance as a result of this request. :param str plan_id: (optional) The ID of the plan for which the service instance has been requested, which is stored in the catalog.json of your broker. This value should be a GUID. MUST be unique to a service. If present, MUST be a non-empty string. If this field is not present in the request message, then the broker MUST NOT change the plan of the instance as a result of this request. :param dict previous_values: (optional) Information about the service instance prior to the update. :param bool accepts_incomplete: (optional) A value of true indicates that both the IBM Cloud platform and the requesting client support asynchronous deprovisioning. If this parameter is not included in the request, and the broker can only deprovision a service instance of the requested plan asynchronously, the broker MUST reject the request with a `422` Unprocessable Entity. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse with `dict` result representing a `Resp2079874Root` object
def update_service_instance( self, instance_id: str, *, service_id: str = None, context: 'Context' = None, parameters: dict = None, plan_id: str = None, previous_values: dict = None, accepts_incomplete: bool = None, **kwargs ) -> DetailedResponse: """ Update a service instance. Patch an instance by GUID. Enabling this endpoint allows your user to change plans and service parameters in a provisioned service instance. If your offering supports multiple plans, and you want users to be able to change plans for a provisioned instance, you will need to enable the ability for users to update their service instance. To enable support for the update of the plan, a broker MUST declare support per service by specifying `"plan_updateable": true` in your brokers' catalog.json. :param str instance_id: The ID of a previously provisioned service instance. :param str service_id: (optional) The ID of the service stored in the catalog.json of your broker. This value should be a GUID. It MUST be a non-empty string. :param Context context: (optional) Platform specific contextual information under which the service instance is to be provisioned. :param dict parameters: (optional) Configuration options for the service instance. An opaque object, controller treats this as a blob. Brokers should ensure that the client has provided valid configuration parameters and values for the operation. If this field is not present in the request message, then the broker MUST NOT change the parameters of the instance as a result of this request. :param str plan_id: (optional) The ID of the plan for which the service instance has been requested, which is stored in the catalog.json of your broker. This value should be a GUID. MUST be unique to a service. If present, MUST be a non-empty string. If this field is not present in the request message, then the broker MUST NOT change the plan of the instance as a result of this request. :param dict previous_values: (optional) Information about the service instance prior to the update. :param bool accepts_incomplete: (optional) A value of true indicates that both the IBM Cloud platform and the requesting client support asynchronous deprovisioning. If this parameter is not included in the request, and the broker can only deprovision a service instance of the requested plan asynchronously, the broker MUST reject the request with a `422` Unprocessable Entity. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse with `dict` result representing a `Resp2079874Root` object """ if instance_id is None: raise ValueError('instance_id must be provided') if context is not None: context = convert_model(context) headers = {} sdk_headers = get_sdk_headers( service_name=self.DEFAULT_SERVICE_NAME, service_version='V1', operation_id='update_service_instance' ) headers.update(sdk_headers) params = {'accepts_incomplete': accepts_incomplete} data = { 'service_id': service_id, 'context': context, 'parameters': parameters, 'plan_id': plan_id, 'previous_values': previous_values, } data = {k: v for (k, v) in data.items() if v is not None} data = json.dumps(data) headers['content-type'] = 'application/json' if 'headers' in kwargs: headers.update(kwargs.get('headers')) headers['Accept'] = 'application/json' path_param_keys = ['instance_id'] path_param_values = self.encode_path_vars(instance_id) path_param_dict = dict(zip(path_param_keys, path_param_values)) url = '/v2/service_instances/{instance_id}'.format(**path_param_dict) request = self.prepare_request(method='PATCH', url=url, headers=headers, params=params, data=data) response = self.send(request) return response
(self, instance_id: str, *, service_id: Optional[str] = None, context: Optional[ibm_platform_services.open_service_broker_v1.Context] = None, parameters: Optional[dict] = None, plan_id: Optional[str] = None, previous_values: Optional[dict] = None, accepts_incomplete: Optional[bool] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
[ 0.10953570902347565, -0.08776950091123581, -0.01394642423838377, -0.030202573165297508, -0.026385655626654625, -0.05543336644768715, 0.003200337290763855, 0.0024761019740253687, 0.0037753216456621885, 0.05433722585439682, -0.037738535553216934, -0.05073562264442444, 0.03681856021285057, -0.00021485445904545486, 0.006557266227900982, 0.029439188539981842, 0.018790971487760544, -0.04161417484283447, 0.0034058636520057917, -0.02573971636593342, 0.053906600922346115, 0.04819101467728615, -0.023821471258997917, 0.037131741642951965, 0.07821741700172424, 0.05073562264442444, 0.03764066472649574, -0.020611347630620003, -0.009664627723395824, 0.02329297550022602, 0.04259286820888519, -0.02170748822391033, -0.028284328058362007, 0.037386205047369, -0.010403543710708618, -0.02415422908961773, -0.016099557280540466, 0.016363805159926414, -0.11446833610534668, 0.08831756561994553, -0.006811727304011583, 0.025289516896009445, 0.004966884385794401, -0.03840404748916626, 0.0021066442131996155, 0.02910643257200718, 0.0029825775418430567, 0.04529407247900963, 0.0007933558081276715, 0.007144484203308821, 0.04173161834478378, -0.04975692927837372, -0.034606706351041794, -0.021922800689935684, -0.020259017124772072, 0.052575573325157166, -0.025191646069288254, 0.035193923860788345, 0.013173254206776619, -0.015776587650179863, -0.0018142585176974535, -0.01861480623483658, 0.03090723417699337, 0.0011719890171661973, -0.0005713140708394349, 0.015267664566636086, -0.020807087421417236, 0.031553175300359726, -0.06381101161241531, 0.02186407893896103, 0.02014157362282276, -0.004127652384340763, -0.02740349993109703, -0.009444421157240868, -0.019055219367146492, 0.030515754595398903, -0.009067622944712639, -0.03535051643848419, -0.023723602294921875, -0.004851887468248606, -0.002425943734124303, -0.00845593772828579, 0.031592320650815964, -0.05441552400588989, 0.03564412519335747, 0.020376460626721382, 0.018184179440140724, -0.045450665056705475, -0.08166243135929108, -0.009899514727294445, -0.005284960847347975, -0.047486353665590286, -0.043023496866226196, 0.005182197783142328, 0.03212081640958786, -0.028186457231640816, -0.0053681498393416405, -0.10734342783689499, -0.030809365212917328, 0.002225311007350683, -0.025446107611060143, -0.0415358766913414, 0.02789284847676754, 0.0044432817958295345, 0.10374182462692261, -0.07191461324691772, -0.04165332019329071, -0.010912465862929821, 0.00763872591778636, -0.02898898907005787, 0.014494494535028934, 0.01749909296631813, -0.08013566583395004, -0.006748111918568611, 0.003701919224113226, -0.003259059274569154, 0.0190650075674057, 0.022764479741454124, -0.022921070456504822, -0.011303943581879139, -0.02810816280543804, -0.03969592973589897, 0.008656569756567478, -0.022901497781276703, -0.0034401179291307926, -0.04552895948290825, 0.00682151410728693, 0.029771946370601654, 0.017538240179419518, -0.0552767775952816, -0.008656569756567478, -0.01297751534730196, -0.018145032227039337, 0.04744720458984375, -0.009077409282326698, -0.026111621409654617, 0.026992447674274445, 0.017048891633749008, -0.013985572382807732, 0.03985251858830452, 0.014837038703262806, 0.022862348705530167, -0.044746000319719315, -0.022392574697732925, -0.015757013112306595, -0.027971144765615463, -0.026366082951426506, 0.04361071437597275, -0.01371153723448515, 0.013251549564301968, -0.015111072920262814, -0.03212081640958786, 0.04118354618549347, 0.0007976376218721271, -0.0203960333019495, -0.09058814495801926, 0.05652950704097748, -0.04141843318939209, 0.039539337158203125, -0.03767981380224228, 0.009033367969095707, -0.029497910290956497, 0.04646850749850273, -0.021922800689935684, -0.0012490613153204322, 0.010178443044424057, -0.06913511455059052, -0.004984011873602867, 0.0015573507407680154, 0.020014341920614243, 0.0032835265155881643, 0.016637839376926422, -0.03926530107855797, 0.00044958869693800807, -0.024702299386262894, 0.07105336338281631, 0.0807228833436966, -0.03595730662345886, 0.07171887904405594, 0.02440868876874447, -0.03587901219725609, 0.009879941120743752, -0.03537008911371231, 0.0016356464475393295, -0.0023562116548419, 0.008671250194311142, -0.005979835521429777, 0.060679178684949875, -0.018017802387475967, -0.04341497644782066, 0.056451212614774704, -0.019378188997507095, 0.05562910810112953, 0.021178990602493286, -0.042788609862327576, 0.007863826118409634, -0.004494663327932358, -0.07680809497833252, 0.047486353665590286, 0.03789512813091278, -0.007173845078796148, -0.04963948577642441, 0.025289516896009445, 0.034724149852991104, 0.031709764152765274, 0.03041788563132286, 0.026111621409654617, -0.003523307153955102, -0.01845821551978588, -0.010413330048322678, -0.06772579252719879, -0.031827207654714584, -0.03425437584519386, 0.001715165562927723, 0.018673527985811234, -0.013300484977662563, 0.0016784644685685635, -0.05014840513467789, -0.040635477751493454, -0.0010643324349075556, -0.006885129492729902, -0.0333344005048275, -0.02983066812157631, 0.010051212273538113, -0.011744357645511627, 0.03871723264455795, 0.02667926624417305, 0.024682724848389626, -0.04717316851019859, -0.03574199602007866, -0.0068166209384799, 0.005725374445319176, 0.017489304766058922, -0.004166800063103437, -0.01141160074621439, -0.04141843318939209, -0.01593317836523056, -0.027677536010742188, 0.04916970804333687, -0.019524993374943733, 0.04184906184673309, 0.004306264221668243, 0.03582029044628143, 0.004188820719718933, -0.05817371606826782, -0.015894031152129173, -0.0172544177621603, -0.008602742105722427, 0.0010820712195709348, -0.04842590168118477, 0.006571946665644646, -0.030280867591500282, 0.014142164029181004, 0.05308449640870094, -0.01824290119111538, -0.04662510007619858, 0.050657328218221664, -0.006341952830553055, 0.05829115957021713, 0.0293413195759058, -0.027794979512691498, 0.007296182215213776, -0.08377641439437866, 0.02775583229959011, -0.021061547100543976, -0.00784425251185894, -0.012341362424194813, 0.016941236332058907, 0.06087492033839226, 0.002953216666355729, 0.08565551042556763, 0.004646361339837313, -0.02908685803413391, 0.02389976754784584, -0.021178990602493286, 0.010755874216556549, -0.012527314946055412, -0.046664245426654816, -0.03149445354938507, -0.08005736768245697, -0.016980383545160294, -0.049208857119083405, 0.06130554527044296, -0.005999409127980471, 0.022040244191884995, -0.045802995562553406, 0.032159965485334396, 0.08056629449129105, 0.021218139678239822, 0.023390844464302063, 0.01654975675046444, 0.01873224973678589, 0.002735456684604287, -0.03364758566021919, -0.07089677453041077, 0.054885298013687134, -0.09567736834287643, -0.03431309759616852, -0.002395359566435218, -0.03382375091314316, -0.005500274244695902, 0.016853153705596924, 0.005363256670534611, -0.004186374135315418, 0.005412191618233919, 0.01941733807325363, 0.07500729709863663, 0.02018072083592415, 0.05167517438530922, 0.015796160325407982, 0.011206074617803097, -0.022001096978783607, -0.06279316544532776, -0.07191461324691772, 0.022059818729758263, -0.030378738418221474, -0.009581438265740871, -0.03756237030029297, 0.02703159675002098, 0.023097235709428787, -0.04971778020262718, 0.04016570374369621, 0.018761610612273216, 0.03707301989197731, 0.0323752798140049, -0.005470913369208574, 0.01824290119111538, 0.006713857874274254, 0.06905682384967804, 0.026287786662578583, -0.00754574965685606, -0.04130098968744278, 0.028891120105981827, 0.030868086963891983, -0.018565870821475983, -0.06952659785747528, -0.00009366431186208501, -0.031220417469739914, -0.01014908216893673, 0.04881737753748894, 0.06024855375289917, 0.015336173586547375, -0.015179581940174103, -0.0029997045639902353, 0.0035746886860579252, 0.017176123335957527, 0.04361071437597275, -0.028303900733590126, 0.04349327087402344, 0.0014325669035315514, -0.08980518579483032, 0.009938662871718407, 0.03975465148687363, 0.057195018976926804, 0.024839315563440323, -0.0050158193334937096, -0.013427715748548508, -0.005534528288990259, -0.009747816249728203, -0.012664332054555416, 0.0113430917263031, 0.008666357025504112, -0.0514402873814106, 0.025622272863984108, -0.0027721577789634466, -0.00984079297631979, -0.03903041407465935, -0.056451212614774704, 0.022118540480732918, -0.001972073456272483, -0.02642480470240116, -0.02329297550022602, 0.0058134570717811584, 0.01520894281566143, 0.08855245262384415, 0.014954482205212116, -0.07868719846010208, 0.029634928330779076, -0.012116261757910252, 0.01688251458108425, 0.013682176358997822, -0.04842590168118477, -0.018497362732887268, -0.015345960855484009, 0.04693828150629997, 0.0270511694252491, 0.0026204597670584917, -0.027207762002944946, 0.014748955145478249, -0.023723602294921875, -0.034469690173864365, -0.010481839068233967, -0.02597460336983204, -0.009263361804187298, 0.05977877974510193, 0.0010264079319313169, -0.05284960940480232, 0.008309133350849152, 0.0376993864774704, -0.08518573641777039, 0.018193967640399933, 0.03891297057271004, 0.04482429847121239, 0.04337582737207413, 0.009087196551263332, -0.04059632867574692, 0.015913603827357292, -0.014709807932376862, -0.0008019194356165826, 0.051127102226018906, 0.012400084175169468, -0.0388738214969635, -0.030594050884246826, -0.015747226774692535, -0.046194471418857574, 0.06381101161241531, -0.047642942517995834, 0.07062273472547531, 0.022294705733656883, 0.01595275290310383, 0.06083577126264572, 0.05191006138920784, 0.018497362732887268, 0.0083874287083745, -0.03032001666724682, 0.004059143364429474, -0.0072325668297708035, -0.06412418931722641, 0.03630963712930679, -0.01520894281566143, 0.0026424804236739874, 0.026953300461173058, -0.03317781165242195, 0.03854106739163399, 0.015522126108407974, -0.0030706601683050394, 0.032414425164461136, -0.013838768005371094, 0.022999366745352745, 0.02812773548066616, -0.01406386774033308, -0.039774224162101746, -0.01225327979773283, -0.001017232658341527, -0.002014891244471073, -0.010716726072132587, -0.0016809111693874002, -0.0827585756778717, 0.05774309113621712, -0.011372452601790428, 0.06968318670988083, -0.03589858487248421, 0.015649355947971344, 0.03298206999897957, -0.016207212582230568, -0.0789220854640007, 0.012116261757910252, -0.014377051033079624, 0.01267411932349205, -0.008240624330937862, -0.015120860189199448, -0.023038513958454132, -0.05214494839310646, 0.06142298877239227, 0.010168655775487423, 0.01958371512591839, 0.07672980427742004, 0.012057540006935596, -0.008774013258516788, 0.013006876222789288, 0.03419565409421921, -0.05320193991065025, 0.04114439710974693, 0.022392574697732925, 0.02053305134177208, 0.07218865305185318, 0.024115080013871193, -0.030339589342474937, -0.0238018985837698, -0.009106770157814026, 0.03309951350092888, 0.012331575155258179, 0.01653997041285038, -0.016128918156027794, -0.025152498856186867, -0.045842140913009644, 0.016755282878875732, 0.0018081417074427009, -0.005632398184388876, -0.036427080631256104, 0.021081121638417244, -0.02450655959546566, -0.004130098968744278, -0.026150768622756004, -0.07042700052261353, -0.030261294916272163, 0.003442564746364951, 0.01641273871064186, 0.05324108526110649, 0.02065049484372139, 0.013280910439789295, -0.02885197103023529, 0.039519764482975006, -0.0022742459550499916, 0.035311367362737656, -0.018908414989709854, -0.03867808356881142, 0.04768209159374237, 0.0057400548830628395, 0.057390760630369186, -0.008348280563950539, -0.016021260991692543, 0.045215774327516556, -0.0055834632366895676, 0.023469140753149986, 0.07594684511423111, -0.04415878280997276, 0.04470685496926308, 0.026522673666477203, -0.0381300151348114, -0.007002572994679213, -0.009258468635380268, 0.047525499016046524, 0.05038329213857651, -0.024486985057592392, -0.019603289663791656, -0.03623134270310402, -0.08033140748739243, 0.036407507956027985, 0.0018277156632393599, -0.02041560783982277, -0.022235983982682228, -0.015600421465933323, -0.05696013197302818, -0.020846234634518623, -0.002605779329314828, -0.04067462310194969, -0.05230153724551201, -0.045920439064502716, -0.05046159029006958, 0.010765660554170609, 0.026150768622756004, -0.03969592973589897, -0.04548981040716171, -0.0780608281493187, -0.04177076369524002, 0.0328059047460556, -0.0009089643135666847, -0.015629783272743225, -0.040126554667949677, 0.056451212614774704, -0.02329297550022602, 0.05852604657411575, 0.06874363869428635, -0.0987308993935585, 0.03801257163286209, 0.006195148453116417, -0.0041765873320400715, 0.03114212118089199, -0.053671713918447495, -0.04396304488182068, -0.014729381538927555, 0.0620885044336319, -0.035193923860788345, 0.021550895646214485, 0.02873452752828598, 0.0030094916000962257, 0.038952119648456573, -0.05421978235244751, 0.021159417927265167, -0.020239442586898804, 0.010628643445670605, 0.01045247819274664, -0.042906053364276886, 0.012928579933941364, -0.0171467624604702, 0.01789057068526745, 0.017939506098628044, 0.03672068938612938, 0.005500274244695902, 0.00616089440882206, -0.0238018985837698, 0.04008740559220314, -0.006899809930473566, -0.025563551113009453, 0.04329753294587135, -0.04404133930802345, 0.02644437737762928, 0.021824931725859642, 0.04576384648680687, -0.026777135208249092, 0.01582552120089531, 0.00930250994861126, -0.040752921253442764, -0.005069647450000048, 0.09238894283771515, 0.019515207037329674, -0.033628009259700775, 0.06279316544532776, 0.043023496866226196, -0.0003939253219868988, 0.07003551721572876, 0.057782240211963654, -0.00733532989397645, 0.021511748433113098, 0.008123180828988552, -0.009439527057111263, -0.008989326655864716, -0.022901497781276703, -0.008426576852798462, 0.024898037314414978, -0.04169246926903725, 0.030280867591500282, -0.07038784772157669, -0.03558540344238281, 0.022725332528352737, 0.0023757857270538807, 0.033628009259700775, 0.01692166179418564, -0.05766479671001434, -0.021785782650113106, 0.013320058584213257, -0.014171524904668331, 0.004196160938590765, -0.05057903379201889, 0.030965955927968025, 0.02658139541745186, -0.0293413195759058, -0.06659051030874252, -0.025504829362034798, -0.002532377140596509, 0.06807812303304672, -0.023214679211378098, 0.004418814554810524, 0.033373549580574036, -0.014142164029181004, 0.010481839068233967, 0.014191098511219025, -0.018027588725090027, 0.040028683841228485, 0.03372588008642197, 0.015218730084598064, -0.024075932800769806, 0.03672068938612938, -0.013143893331289291, 0.04427622631192207, -0.033862896263599396, -0.0960688441991806, -0.024095507338643074, 0.05167517438530922, -0.04235798120498657, 0.03681856021285057, -0.03129871189594269, -0.02609204687178135, 0.010481839068233967, -0.002525036921724677, 0.019348828122019768, -0.011577978730201721, -0.002818645676597953, 0.03251229599118233, -0.022627461701631546, 0.011568192392587662, -0.000992153538390994, -0.031925078481435776, -0.026894578710198402, 0.041340138763189316, 0.007173845078796148, -0.008676144294440746, 0.03319738432765007, 0.060679178684949875, -0.00273056305013597, 0.018154818564653397, -0.045215774327516556, 0.06412418931722641, -0.04040059074759483, -0.013437502086162567, -0.013545159250497818, -0.03433267027139664, 0.0017127187456935644, 0.01857565902173519, 0.08620358258485794, -0.014934907667338848, -0.009625479578971863, 0.013153680600225925, -0.05034414678812027, -0.05629462003707886, 0.020474329590797424, 0.0061462135054171085, -0.02775583229959011, -0.04717316851019859, -0.05104880779981613, -0.051127102226018906, -0.018565870821475983, -0.017185909673571587, -0.007780636660754681, -0.01286985818296671, -0.05418063700199127, -0.06619902700185776, -0.022529592737555504, 0.03366715833544731, -0.04114439710974693, -0.014103015884757042, -0.014641298912465572, 0.021453026682138443, 0.04709487408399582, 0.04337582737207413, -0.020591773092746735, -0.027188187465071678, 0.0654943659901619, 0.004895928781479597, 0.05273216590285301, 0.07261927425861359, 0.045333221554756165, -0.033510565757751465, 0.004186374135315418, 0.04795612767338753, -0.07066188752651215, -0.06721687316894531, 0.0276383887976408, 0.03403906151652336, -0.027129465714097023, 0.02848006598651409, 0.017959080636501312, -0.04415878280997276, -0.00003381472561159171, 0.02814731001853943, -0.009909301996231079, 0.06169702485203743, 0.017587175592780113, 0.029184728860855103, -0.00965973362326622, 0.021805357187986374, -0.08127095550298691, -0.042827755212783813, 0.02814731001853943, -0.04325838387012482, 0.017352288588881493, -0.030711494386196136, -0.00482986681163311, 0.04599873349070549, -0.0011536384699866176, 0.04490259289741516, 0.04869993403553963, 0.024447837844491005, 0.015434043481945992, 0.0476037971675396, 0.03476329892873764, -0.013691963627934456, 0.030926808714866638, -0.02597460336983204, -0.011078843846917152, 0.008348280563950539, -0.011157139204442501, 0.08354152739048004, 0.04263201728463173, -0.02245129644870758, -0.021335583180189133, 0.04717316851019859, 0.026972874999046326, -0.01676507107913494, 0.013368993997573853, -0.020474329590797424, 0.05966133624315262, 0.02945876307785511, -0.01580594852566719, 0.025759290903806686, -0.008676144294440746, 0.02174663543701172 ]
719,864
ibm_platform_services.partner_billing_units_v1
PartnerBillingUnitsV1
The Partner Billing Units V1 service.
class PartnerBillingUnitsV1(BaseService): """The Partner Billing Units V1 service.""" DEFAULT_SERVICE_URL = 'https://partner.cloud.ibm.com' DEFAULT_SERVICE_NAME = 'partner_billing_units' @classmethod def new_instance( cls, service_name: str = DEFAULT_SERVICE_NAME, ) -> 'PartnerBillingUnitsV1': """ Return a new client for the Partner Billing Units service using the specified parameters and external configuration. """ authenticator = get_authenticator_from_environment(service_name) service = cls(authenticator) service.configure_service(service_name) return service def __init__( self, authenticator: Authenticator = None, ) -> None: """ Construct a new client for the Partner Billing Units service. :param Authenticator authenticator: The authenticator specifies the authentication mechanism. Get up to date information from https://github.com/IBM/python-sdk-core/blob/main/README.md about initializing the authenticator of your choice. """ BaseService.__init__(self, service_url=self.DEFAULT_SERVICE_URL, authenticator=authenticator) ######################### # Billing Options ######################### def get_billing_options( self, partner_id: str, *, customer_id: Optional[str] = None, reseller_id: Optional[str] = None, date: Optional[str] = None, limit: Optional[int] = None, **kwargs, ) -> DetailedResponse: """ Get customers billing options. Returns the billing options for the requested customer for a given month. :param str partner_id: Enterprise ID of the distributor or reseller for which the report is requested. :param str customer_id: (optional) Enterprise ID of the customer for which the report is requested. :param str reseller_id: (optional) Enterprise ID of the reseller for which the report is requested. :param str date: (optional) The billing month for which the usage report is requested. Format is yyyy-mm. Defaults to current month. :param int limit: (optional) Number of usage records returned. The default value is 30. Maximum value is 200. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse with `dict` result representing a `BillingOptionsSummary` object """ if not partner_id: raise ValueError('partner_id must be provided') headers = {} sdk_headers = get_sdk_headers( service_name=self.DEFAULT_SERVICE_NAME, service_version='V1', operation_id='get_billing_options', ) headers.update(sdk_headers) params = { 'partner_id': partner_id, 'customer_id': customer_id, 'reseller_id': reseller_id, 'date': date, '_limit': limit, } if 'headers' in kwargs: headers.update(kwargs.get('headers')) del kwargs['headers'] headers['Accept'] = 'application/json' url = '/v1/billing-options' request = self.prepare_request( method='GET', url=url, headers=headers, params=params, ) response = self.send(request, **kwargs) return response ######################### # Credit Pools ######################### def get_credit_pools_report( self, partner_id: str, *, customer_id: Optional[str] = None, reseller_id: Optional[str] = None, date: Optional[str] = None, limit: Optional[int] = None, **kwargs, ) -> DetailedResponse: """ Get subscription burn-down report. Returns the subscription or commitment burn-down reports for the end customers for a given month. :param str partner_id: Enterprise ID of the distributor or reseller for which the report is requested. :param str customer_id: (optional) Enterprise ID of the customer for which the report is requested. :param str reseller_id: (optional) Enterprise ID of the reseller for which the report is requested. :param str date: (optional) The billing month for which the usage report is requested. Format is yyyy-mm. Defaults to current month. :param int limit: (optional) Number of usage records returned. The default value is 30. Maximum value is 200. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse with `dict` result representing a `CreditPoolsReportSummary` object """ if not partner_id: raise ValueError('partner_id must be provided') headers = {} sdk_headers = get_sdk_headers( service_name=self.DEFAULT_SERVICE_NAME, service_version='V1', operation_id='get_credit_pools_report', ) headers.update(sdk_headers) params = { 'partner_id': partner_id, 'customer_id': customer_id, 'reseller_id': reseller_id, 'date': date, '_limit': limit, } if 'headers' in kwargs: headers.update(kwargs.get('headers')) del kwargs['headers'] headers['Accept'] = 'application/json' url = '/v1/credit-pools' request = self.prepare_request( method='GET', url=url, headers=headers, params=params, ) response = self.send(request, **kwargs) return response
(authenticator: ibm_cloud_sdk_core.authenticators.authenticator.Authenticator = None) -> None
[ 0.005390951409935951, -0.046306755393743515, -0.03955107182264328, -0.01012306660413742, -0.02691815420985222, -0.022776899859309196, -0.03810790926218033, -0.01861472986638546, -0.03434313088655472, -0.03628826513886452, -0.01916898973286152, -0.014076082967221737, 0.007864200510084629, -0.010536146350204945, -0.021239615976810455, 0.033255528658628464, 0.029448920860886574, -0.06362473219633102, 0.04814731329679489, -0.03451045602560043, 0.03421764075756073, 0.030285539105534554, 0.06170051172375679, 0.09194421768188477, 0.0299927219748497, 0.0683516189455986, 0.041475292295217514, 0.012915275990962982, -0.006724310107529163, 0.000031413990654982626, -0.03699938952922821, 0.02507759816944599, -0.0464322492480278, 0.0558023601770401, -0.00800537969917059, -0.008993634022772312, 0.05655531585216522, -0.0016392465913668275, -0.11302696913480759, 0.05994361639022827, -0.003380456008017063, -0.007424976676702499, 0.07985509932041168, -0.030431946739554405, -0.019576840102672577, -0.00361575442366302, -0.05617883801460266, 0.0315822958946228, 0.013657773844897747, 0.0057151406072080135, 0.046766895800828934, 0.01685783453285694, -0.04237465560436249, -0.009302136488258839, 0.001776504097506404, -0.011566231027245522, -0.000510467158164829, 0.04141254723072052, 0.01353228185325861, 0.011346619576215744, -0.08583691716194153, 0.007435434497892857, -0.003929486032575369, -0.05157744511961937, -0.015749316662549973, -0.013825097121298313, -0.06274627894163132, 0.025328582152724266, 0.03597453609108925, 0.03664382919669151, 0.07019217312335968, 0.021521974354982376, -0.033213697373867035, 0.005495528690516949, 0.0237180944532156, -0.02340436354279518, 0.021563805639743805, -0.011346619576215744, -0.01949317753314972, -0.07115428149700165, -0.010572748258709908, 0.003134699771180749, 0.012350560165941715, -0.03687389940023422, 0.03471960872411728, 0.003469346556812525, 0.035681720823049545, 0.012350560165941715, -0.022923309355974197, -0.005111207719892263, -0.032837219536304474, 0.021103667095303535, -0.018280083313584328, 0.06885358691215515, -0.000203598610823974, -0.055133067071437836, -0.05956713855266571, -0.006949150934815407, -0.09202788025140762, 0.05714094638824463, -0.051368288695812225, -0.05145195126533508, -0.03494967892765999, 0.032481659203767776, 0.051410119980573654, -0.03421764075756073, -0.02219126932322979, 0.00974658876657486, 0.030850255861878395, -0.01758987456560135, -0.046306755393743515, -0.015843436121940613, -0.011994997970759869, -0.09788420051336288, -0.002249715616926551, 0.06843528151512146, -0.011848589405417442, -0.0007725636241957545, -0.01362640131264925, 0.019754620268940926, -0.008078583516180515, -0.06462866812944412, 0.04647408053278923, 0.01642906852066517, -0.008632842451334, 0.01684737764298916, -0.00988776795566082, 0.03101757913827896, 0.06211882084608078, -0.03212609514594078, 0.04760351404547691, -0.02840314991772175, -0.022693239152431488, 0.02721097134053707, 0.048816606402397156, 0.0010902166832238436, -0.03143588826060295, 0.031122155487537384, -0.030557438731193542, 0.07107061892747879, 0.03925825655460358, -0.007932175882160664, -0.044633522629737854, 0.002996135037392378, -0.011200211010873318, -0.0011889113811776042, 0.03436404839158058, -0.008350484073162079, -0.06525613367557526, -0.0237180944532156, -0.04731069505214691, -0.031875111162662506, 0.016512729227542877, -0.033213697373867035, -0.0361209437251091, -0.0005715794395655394, 0.0029307743534445763, 0.02520309016108513, 0.027608364820480347, -0.023613518103957176, -0.009270763024687767, 0.040324945002794266, 0.011900878511369228, -0.045470140874385834, -0.036790236830711365, 0.0019137616036459804, -0.07282751798629761, -0.0751282125711441, -0.027315547689795494, -0.01383555494248867, -0.0011836824705824256, 0.000901977822650224, -0.058605026453733444, -0.003317709779366851, -0.04760351404547691, 0.026081537827849388, 0.034656863659620285, -0.03942558169364929, -0.04049226641654968, 0.013051226735115051, 0.012151863425970078, -0.017610790207982063, -0.05362715572118759, 0.012821157462894917, -0.024450134485960007, -0.04362958297133446, 0.03141497075557709, 0.00949037540704012, 0.03091300092637539, -0.0006343256682157516, 0.0008398851496167481, 0.03844255581498146, 0.06429402530193329, -0.008559638634324074, -0.029302513226866722, -0.04559563100337982, 0.0316450409591198, -0.026478931307792664, -0.021877536550164223, 0.0005238660960458219, -0.022170353680849075, 0.06667838245630264, 0.03691573068499565, -0.006316459272056818, 0.06320641934871674, -0.039676565676927567, 0.002074548974633217, -0.046766895800828934, -0.03384116291999817, 0.04429887607693672, 0.004601393826305866, 0.004739958792924881, -0.03492876514792442, 0.012172779068350792, -0.0009738745866343379, 0.04279296472668648, 0.04350408911705017, -0.02352985553443432, 0.01151394285261631, -0.008951802738010883, 0.04781266674399376, -0.08182115107774734, 0.03524249419569969, -0.017621247097849846, -0.039341919124126434, 0.0477290041744709, 0.008109956979751587, 0.00441054068505764, -0.00017598371778149158, -0.019838282838463783, 0.0035190207418054342, 0.010358365252614021, 0.005908608436584473, 0.039488326758146286, -0.06299726665019989, -0.0852094516158104, 0.002041868632659316, -0.029218852519989014, 0.014682630077004433, 0.0049517275765538216, 0.024763865396380424, 0.06592542678117752, 0.04475901648402214, 0.01611533761024475, -0.07650863379240036, -0.029888145625591278, -0.03091300092637539, 0.03927917405962944, 0.026290692389011383, 0.018321914598345757, 0.021040920168161392, -0.05019702762365341, 0.01499636098742485, 0.0018497081473469734, -0.03137313947081566, -0.08136101067066193, -0.026520762592554092, -0.037585023790597916, 0.012193693779408932, -0.02135465107858181, 0.002792209619656205, -0.029867229983210564, -0.07797271013259888, 0.019838282838463783, 0.0016183311818167567, 0.024199148640036583, 0.01986965537071228, 0.005380493588745594, 0.035911787301301956, 0.008460290729999542, 0.10231827199459076, 0.037815093994140625, 0.003341239644214511, 0.0020013449247926474, -0.021605636924505234, -0.0028209681622684, 0.02827765792608261, -0.03902818635106087, -0.09269717335700989, -0.015498331747949123, 0.015749316662549973, 0.004899438936263323, 0.04509366303682327, 0.01898075081408024, 0.02626977674663067, -0.027775688096880913, 0.008977946825325489, -0.016178082674741745, 0.002168668434023857, 0.034531369805336, -0.033318277448415756, 0.05630433186888695, 0.010227643884718418, -0.03796150162816048, -0.01488132681697607, -0.009087753482162952, -0.01741209253668785, -0.05040618032217026, -0.004316421225667, -0.0043687098659574986, -0.043253105133771896, 0.025516821071505547, 0.054798420518636703, -0.0061857374384999275, -0.03909093514084816, -0.059818122535943985, 0.06847710907459259, -0.04814731329679489, 0.009155727922916412, 0.021521974354982376, 0.003704644972458482, 0.019158530980348587, 0.026813577860593796, -0.06078023090958595, 0.042918458580970764, -0.004881137982010841, -0.011890420690178871, 0.010625037364661694, 0.026897240430116653, 0.04408971965312958, -0.05295786261558533, 0.019022582098841667, 0.007968777790665627, -0.012779326178133488, 0.0413079708814621, 0.030557438731193542, -0.02306971698999405, 0.06216064840555191, 0.025224005803465843, -0.004836692474782467, -0.06379204988479614, -0.018583357334136963, -0.021605636924505234, 0.02599787712097168, 0.04312761127948761, -0.049695055931806564, 0.027001816779375076, -0.06006910651922226, -0.02668808586895466, -0.0007241966668516397, 0.04894210025668144, -0.043253105133771896, -0.05492391064763069, -0.003333396278321743, -0.04026219621300697, -0.0065988171845674515, 0.06638556718826294, -0.02729463204741478, -0.01564474031329155, 0.014923157170414925, -0.033590175211429596, -0.014379356056451797, 0.05889784172177315, 0.08014791458845139, 0.03685298189520836, -0.032753560692071915, -0.022023944184184074, 0.02196119911968708, 0.008277280256152153, 0.007529553957283497, -0.01320809219032526, 0.004624923691153526, -0.004964799620211124, 0.0403040274977684, -0.024826612323522568, -0.044968169182538986, 0.030139131471514702, -0.042834796011447906, 0.059776291251182556, -0.031268563121557236, -0.013595027849078178, -0.03699938952922821, 0.00993482768535614, 0.007451121229678392, -0.00040098794852383435, 0.029218852519989014, -0.05672263726592064, 0.005699453875422478, -0.06927189230918884, 0.042646557092666626, 0.014536222442984581, -0.00895703211426735, -0.0009921755408868194, 0.05375264957547188, 0.019419973716139793, -0.043253105133771896, -0.01060935016721487, -0.010253787972033024, -0.025182174518704414, -0.03810790926218033, 0.025265837088227272, -0.018457865342497826, -0.048398297280073166, 0.05718277767300606, -0.014672172255814075, -0.050991810858249664, -0.003218361409381032, 0.003485033055767417, -0.0003140582120977342, -0.07504455000162125, 0.007900802418589592, -0.010002803057432175, 0.028633220121264458, 0.012528341263532639, -0.03135222569108009, -0.04818914458155632, 0.036560166627168655, -0.02813125029206276, 0.03434313088655472, 0.029177021235227585, -0.017788570374250412, 0.019053954631090164, -0.002439261646941304, -0.043796904385089874, -0.09018732607364655, -0.0013974120374768972, -0.04563746228814125, 0.0670548602938652, 0.05906516686081886, 0.023550771176815033, 0.0631645917892456, -0.02595604583621025, 0.009406713768839836, -0.019336313009262085, -0.0211245808750391, -0.012538799084722996, 0.0033516972325742245, 0.007367459125816822, -0.02150105871260166, -0.04400606080889702, 0.05651348456740379, 0.05831221118569374, -0.05195392295718193, -0.04555379971861839, 0.008779251016676426, 0.028633220121264458, -0.022923309355974197, 0.0010862950002774596, 0.00387719739228487, -0.0068288869224488735, -0.02055986598134041, -0.02288147807121277, -0.010682554915547371, -0.009950514882802963, 0.0015961085446178913, -0.014870868995785713, -0.056848131120204926, -0.054338280111551285, 0.003660199698060751, -0.0031765305902808905, -0.0028444980271160603, 0.004813162609934807, 0.032899968326091766, -0.027775688096880913, -0.03616277500987053, -0.06036192178726196, 0.012632918544113636, 0.013281296007335186, 0.002920316532254219, 0.003437973326072097, 0.018321914598345757, -0.05233040079474449, 0.05743376538157463, 0.06082206219434738, 0.015937555581331253, 0.05316701531410217, 0.006713852286338806, 0.04362958297133446, -0.017882689833641052, 0.0451354905962944, -0.03973931074142456, -0.007838056422770023, -0.005709911696612835, 0.028110334649682045, 0.005683767609298229, 0.033255528658628464, -0.002575211925432086, 0.03919551149010658, -0.0056053344160318375, -0.03522158041596413, 0.044968169182538986, 0.013804182410240173, 0.031540464609861374, -0.044215213507413864, -0.009218474850058556, -0.03925825655460358, 0.04061776027083397, 0.00905638001859188, -0.05082448944449425, -0.011200211010873318, -0.013584570027887821, 0.005866777617484331, -0.020371627062559128, 0.04247923195362091, -0.017934979870915413, 0.017663078382611275, 0.029260683804750443, 0.001213748357258737, 0.061031218618154526, 0.00450466014444828, 0.010442026890814304, 0.00125100405421108, 0.012361017987132072, -0.023362532258033752, 0.03779417648911476, 0.00014485567226074636, -0.0806080549955368, 0.058479536324739456, -0.03026462346315384, -0.02474294975399971, -0.05442194268107414, 0.014944072812795639, 0.007404061499983072, 0.0005369382561184466, -0.0277547724545002, 0.06613457947969437, -0.02729463204741478, 0.05316701531410217, -0.018321914598345757, -0.010326992720365524, 0.026478931307792664, 0.05283236876130104, -0.011242042295634747, 0.03768960013985634, -0.004366095643490553, 0.030703848227858543, -0.022484084591269493, -0.05714094638824463, -0.011262957938015461, 0.007194906938821077, 0.026520762592554092, 0.0158225204795599, -0.018782053142786026, -0.015121853910386562, 0.0077021061442792416, 0.007921718060970306, -0.05617883801460266, -0.05274870619177818, 0.006588359829038382, -0.008690360002219677, 0.02599787712097168, 0.043796904385089874, 0.015634281560778618, -0.036560166627168655, -0.08039890229701996, -0.004996172618120909, 0.027545617893338203, 0.046725064516067505, -0.0022026558872312307, -0.02840314991772175, 0.07839102298021317, -0.024429218843579292, 0.059776291251182556, 0.013636859133839607, 0.008136101067066193, 0.0003290911845397204, 0.015937555581331253, -0.016397695988416672, 0.011032887734472752, -0.027399210259318352, -0.008993634022772312, 0.03135222569108009, -0.03540981933474541, 0.026667170226573944, -0.004674598108977079, 0.015676112845540047, 0.02447105012834072, 0.05463109537959099, 0.00226409500464797, -0.024031825363636017, 0.018165048211812973, -0.032147012650966644, -0.032941799610853195, 0.05207941308617592, -0.03932100534439087, 0.013772808946669102, 0.01740163564682007, -0.017255228012800217, 0.007858972065150738, 0.031456802040338516, 0.04053409770131111, 0.022714154794812202, -0.012883903458714485, -0.08274143189191818, -0.01652318798005581, 0.05019702762365341, -0.04777083545923233, -0.05592785403132439, 0.04990420863032341, 0.03392482176423073, -0.030808424577116966, -0.0100760068744421, -0.01996377483010292, -0.030536523088812828, 0.0008555717067793012, 0.11311063170433044, -0.051744766533374786, -0.03411306068301201, 0.014609426259994507, 0.05153561383485794, -0.014149286784231663, 0.055969685316085815, 0.010316534899175167, 0.03277447447180748, 0.039571989327669144, 0.0039922320283949375, -0.04053409770131111, -0.014870868995785713, -0.017433008179068565, 0.03296271339058876, -0.008517807349562645, -0.02794301137328148, 0.02915610559284687, -0.018551984801888466, -0.03471960872411728, -0.058479536324739456, -0.03394573926925659, 0.01040019653737545, 0.06119854003190994, -0.027357378974556923, 0.00949560385197401, 0.02794301137328148, -0.001096752705052495, 0.053459834307432175, -0.07721975445747375, 0.018813427537679672, 0.010091694071888924, -0.03904910385608673, -0.028905119746923447, 0.002813125029206276, -0.014170202426612377, 0.03768960013985634, 0.054756589233875275, -0.002088928362354636, 0.026290692389011383, 0.028382234275341034, 0.06320641934871674, 0.015540162101387978, 0.015006818808615208, -0.031456802040338516, 0.0335274301469326, 0.010693011805415154, -0.005092906765639782, 0.003647127654403448, -0.04680872708559036, 0.05743376538157463, -0.04894210025668144, -0.06345740705728531, 0.0609893873333931, -0.002526845084503293, -0.07199089974164963, 0.0413079708814621, -0.0232161246240139, -0.021386023610830307, -0.03398757055401802, 0.020036978647112846, -0.06672021001577377, 0.0406595915555954, 0.014745376072824001, -0.019785994663834572, -0.03863079473376274, 0.0138773862272501, 0.05576052889227867, -0.056346163153648376, -0.05120096728205681, -0.02618611603975296, 0.03986480459570885, -0.018259167671203613, -0.008993634022772312, 0.05827037990093231, 0.053418003022670746, -0.026541678234934807, -0.014734918251633644, -0.0025059296749532223, -0.011576688848435879, 0.037815093994140625, -0.0243664737790823, -0.0319378562271595, 0.0046955132856965065, 0.020214760676026344, 0.05111730471253395, -0.01666959561407566, -0.0500297024846077, 0.06036192178726196, 0.027378294616937637, -0.013364958576858044, -0.0024771708995103836, -0.022358592599630356, -0.07312033325433731, 0.0005467423470690846, 0.019461805000901222, -0.02507759816944599, 0.03722945973277092, 0.010149210691452026, 0.0011588453780859709, 0.013385873287916183, -0.010002803057432175, -0.08893239498138428, -0.01671142689883709, 0.04235374182462692, 0.034238554537296295, -0.06856077164411545, 0.037396784871816635, 0.06479599326848984, -0.004805319476872683, 0.02279781550168991, 0.011022429913282394, -0.042876627296209335, 0.07107061892747879, 0.01418065931648016, 0.07621581852436066, 0.08625522255897522, 0.06655289232730865, -0.03202151879668236, 0.0031059409957379103, 0.03704122081398964, -0.09980841726064682, 0.015979386866092682, -0.011461654677987099, 0.01436889823526144, -0.0031451573595404625, 0.03714580088853836, 0.018698392435908318, -0.06404303759336472, 0.04936040937900543, 0.05458926409482956, 0.02019384503364563, 0.009610638953745365, 0.011754469946026802, 0.04601394012570381, -0.012747952714562416, -0.014201574958860874, -0.058605026453733444, -0.005069376900792122, 0.0480218231678009, -0.05111730471253395, 0.028424065560102463, 0.029867229983210564, 0.026667170226573944, 0.02813125029206276, -0.020915428176522255, 0.016261745244264603, 0.021710213273763657, 0.025474989786744118, -0.06211882084608078, 0.04480084404349327, 0.03476144000887871, -0.0011372764129191637, 0.02626977674663067, -0.03714580088853836, 0.011932251043617725, -0.022254014387726784, -0.01415974460542202, 0.04408971965312958, -0.0332346148788929, -0.03802424669265747, -0.013804182410240173, 0.011848589405417442, 0.007665504235774279, -0.008319111540913582, 0.023174293339252472, 0.024638373404741287, 0.023550771176815033, 0.007853742688894272, 0.05400363355875015, 0.014797665178775787, 0.015676112845540047, 0.009375340305268764 ]
719,865
ibm_platform_services.partner_billing_units_v1
__init__
Construct a new client for the Partner Billing Units service. :param Authenticator authenticator: The authenticator specifies the authentication mechanism. Get up to date information from https://github.com/IBM/python-sdk-core/blob/main/README.md about initializing the authenticator of your choice.
def __init__( self, authenticator: Authenticator = None, ) -> None: """ Construct a new client for the Partner Billing Units service. :param Authenticator authenticator: The authenticator specifies the authentication mechanism. Get up to date information from https://github.com/IBM/python-sdk-core/blob/main/README.md about initializing the authenticator of your choice. """ BaseService.__init__(self, service_url=self.DEFAULT_SERVICE_URL, authenticator=authenticator)
(self, authenticator: Optional[ibm_cloud_sdk_core.authenticators.authenticator.Authenticator] = None) -> NoneType
[ -0.012011813931167126, -0.06010446324944496, -0.02589394710958004, -0.0010321942390874028, -0.037406403571367264, -0.038060106337070465, -0.008085048757493496, 0.008075970225036144, -0.04321710765361786, -0.0022391637321561575, 0.0010997210629284382, 0.015280334278941154, -0.05033521726727486, -0.006005906965583563, -0.026711076498031616, 0.054475344717502594, 0.003917685244232416, -0.030596984550356865, -0.000026652487576939166, -0.049100443720817566, 0.03128700703382492, 0.041364945471286774, 0.036298736929893494, 0.07474017143249512, 0.02465917356312275, 0.06998266279697418, -0.0044556292705237865, -0.0005271624540910125, -0.008221236988902092, -0.02473180554807186, 0.006618754472583532, 0.004771132487803698, -0.02899904176592827, 0.06250137835741043, 0.027165038511157036, -0.012620121240615845, 0.02044641226530075, 0.00004475773675949313, -0.07735498994588852, 0.026783710345625877, 0.000922108709346503, -0.009678453207015991, 0.0869426503777504, -0.019247954711318016, 0.018394507467746735, 0.039294883608818054, 0.04419766366481781, 0.002249377779662609, 0.020410096272826195, 0.03849590942263603, -0.026238957419991493, 0.020282987505197525, 0.008575326763093472, -0.006800338625907898, -0.052005793899297714, 0.03381102904677391, 0.02576683834195137, -0.020519046112895012, -0.08396466821432114, 0.050988923758268356, -0.11396241933107376, -0.024332320317626, 0.010068859905004501, -0.01778619922697544, 0.0009385647717863321, 0.004789290484040976, -0.03998490422964096, 0.031050946563482285, 0.02050088718533516, 0.03660743311047554, 0.09594924002885818, 0.010114255361258984, -0.06054026633501053, -0.009505948051810265, 0.04634036123752594, 0.013627915643155575, -0.003393359947949648, -0.000061710350564681, -0.012801705859601498, -0.015934038907289505, -0.011557851918041706, 0.021336177363991737, -0.005456613842397928, 0.02752820774912834, 0.029434844851493835, 0.02571236342191696, 0.012792626395821571, -0.02322465553879738, 0.004816528409719467, 0.05371268838644028, -0.05861547216773033, -0.020282987505197525, -0.020555363968014717, 0.019774550572037697, 0.011140207760035992, -0.044996634125709534, -0.02019219473004341, -0.024114418774843216, -0.053640056401491165, 0.03973068296909332, -0.00304154003970325, -0.013509885407984257, -0.03304837644100189, 0.007054557092487812, 0.05349478870630264, -0.0033275356981903315, -0.016987228766083717, -0.013609756715595722, 0.034174200147390366, 0.03530002385377884, 0.038641177117824554, 0.00286449515260756, -0.035536084324121475, 0.01584324613213539, -0.04437924921512604, 0.05799808353185654, 0.06388141959905624, -0.006668690126389265, 0.054293759167194366, 0.038386959582567215, 0.008734213188290596, -0.05403954163193703, -0.0015003418084234, -0.0048937019892036915, 0.013019607402384281, -0.022407524287700653, 0.016397079452872276, 0.03580845892429352, 0.010731643065810204, -0.02322465553879738, 0.05222369730472565, -0.031178055331110954, -0.0005997962434776127, -0.005243252031505108, 0.017559219151735306, 0.013954767026007175, 0.027401098981499672, 0.03816905990242958, -0.017168812453746796, 0.10074307024478912, 0.011321792379021645, 0.0077173407189548016, -0.042272865772247314, 0.014944402500987053, -0.009351600892841816, 0.04212759807705879, -0.04437924921512604, -0.026838187128305435, -0.020609838888049126, 0.013773183338344097, -0.09565870463848114, 0.004378455691039562, 0.018793994560837746, -0.01447228342294693, 0.00777181563898921, -0.0033343450631946325, 0.018249239772558212, -0.0369706004858017, 0.028218228369951248, -0.02705608867108822, 0.011503376998007298, -0.02019219473004341, 0.04074755683541298, -0.05037153512239456, -0.009038367308676243, 0.03268520534038544, -0.09391549229621887, -0.03557239845395088, -0.037878524512052536, -0.014808214269578457, -0.018648726865649223, -0.04096546024084091, -0.0662057027220726, -0.049608878791332245, 0.021626710891723633, -0.006609675008803606, 0.06326403468847275, -0.016823802143335342, -0.04034807160496712, 0.021771978586912155, 0.002907621441408992, 0.022098831832408905, -0.006986462976783514, -0.009124619886279106, 0.02524024248123169, -0.007930702529847622, 0.07121743261814117, 0.022153306752443314, 0.036044519394636154, -0.024967866018414497, 0.005760767497122288, 0.05589170381426811, 0.02473180554807186, 0.054148491472005844, -0.020482730120420456, 0.005324964877218008, 0.0759749487042427, -0.02355150692164898, -0.04456083104014397, 0.037152186036109924, -0.02745557390153408, 0.07539387792348862, 0.02155407890677452, 0.018666883930563927, 0.06675045192241669, -0.0014186287298798561, -0.009197253733873367, -0.05153367668390274, -0.028127435594797134, -0.03108726255595684, -0.009515026584267616, -0.046558260917663574, -0.002181283663958311, 0.019302429631352425, -0.03882276266813278, 0.030941994860768318, 0.019175320863723755, -0.010432028211653233, 0.02899904176592827, 0.029634587466716766, 0.06671413779258728, 0.007054557092487812, 0.05407585948705673, -0.07176218926906586, -0.02531287632882595, 0.054947465658187866, -0.009369758889079094, -0.029997756704688072, -0.0642809048295021, -0.017250526696443558, -0.0027464653830975294, 0.027818743139505386, -0.029707221314311028, 0.05937812477350235, -0.029580112546682358, -0.07481280714273453, -0.016914594918489456, -0.05109787359833717, -0.042599719017744064, 0.005479311570525169, 0.04161916300654411, 0.05443902686238289, 0.033919982612133026, 0.025803154334425926, -0.07154428958892822, -0.016378920525312424, -0.018249239772558212, 0.01090414822101593, 0.03816905990242958, 0.00339109031483531, -0.04830147325992584, -0.015516393817961216, 0.003643038682639599, -0.0050298902206122875, 0.015116908587515354, -0.05269581824541092, -0.040856506675481796, -0.030978312715888023, 0.028799299150705338, 0.028654031455516815, -0.013355538249015808, -0.002528563840314746, -0.04957256466150284, 0.05574643611907959, 0.011875624768435955, 0.017886072397232056, 0.013936609029769897, 0.0012325047282502055, 0.07103584706783295, -0.003885907819494605, 0.1271817684173584, 0.015934038907289505, 0.024477588012814522, 0.010540978983044624, -0.015725215896964073, -0.0370069183409214, 0.0092471893876791, 0.006832116283476353, -0.056763309985399246, -0.015670740976929665, -0.004026636015623808, 0.012374982237815857, 0.043507643043994904, 0.04757513478398323, -0.029888805001974106, -0.033393386751413345, 0.01376410387456417, -0.04140126332640648, -0.022807011380791664, 0.0018192494753748178, -0.01597035489976406, 0.053894273936748505, 0.029616428539156914, -0.02763715758919716, -0.004308091942220926, -0.04586824029684067, -0.044488199055194855, -0.04430661350488663, 0.01055005844682455, -0.060903433710336685, -0.039222247898578644, 0.04470609873533249, -0.0011666802456602454, 0.020210353657603264, -0.008466376923024654, -0.028908248990774155, 0.028072960674762726, 0.015561790205538273, -0.045323487371206284, 0.005147919990122318, 0.007345092482864857, 0.014544917270541191, -0.014054639264941216, -0.04463346675038338, 0.05302266776561737, 0.040856506675481796, 0.01811305247247219, -0.050262585282325745, 0.008193999528884888, 0.029961438849568367, -0.03511843830347061, 0.03161385655403137, -0.024713648483157158, -0.01060453336685896, -0.02415073662996292, 0.01168496161699295, 0.011993655003607273, 0.08098667860031128, -0.018385428935289383, 0.0025989278219640255, -0.06021341308951378, -0.0012710914015769958, -0.01928427256643772, 0.001858971081674099, -0.03911329805850983, -0.07285169512033463, 0.0324309878051281, -0.06279191374778748, -0.045323487371206284, -0.0022936388850212097, 0.05592802166938782, -0.0519331619143486, -0.053313203155994415, 0.02841797098517418, -0.02493155002593994, -0.005193316377699375, 0.021917246282100677, -0.06344562023878098, 0.05113419145345688, -0.03346601873636246, -0.024713648483157158, 0.02095484919846058, 0.030724095180630684, 0.06936527043581009, 0.022879645228385925, -0.0069410670548677444, -0.030996471643447876, 0.017468426376581192, -0.00408565066754818, -0.012338665314018726, -0.008402821607887745, 0.013600677251815796, 0.0014367871917784214, 0.047139331698417664, -0.056763309985399246, -0.06192030757665634, 0.035590559244155884, -0.03664374724030495, 0.05865178629755974, 0.04296289011836052, 0.013192112557590008, -0.08033297210931778, 0.02861771360039711, 0.033121008425951004, 0.004478327464312315, 0.013673311099410057, -0.033193644136190414, -0.010876910760998726, -0.04245445132255554, 0.027764268219470978, -0.010422949679195881, 0.036316897720098495, 0.013410014100372791, 0.047211963683366776, 0.019556649029254913, -0.01616101898252964, 0.0010100636864081025, 0.008811387233436108, 0.016841961070895195, 0.008312029764056206, -0.02120906673371792, -0.004716657102108002, -0.02122722566127777, 0.02582131326198578, 0.0021517761051654816, -0.03428314998745918, -0.059995513409376144, -0.047211963683366776, -0.005365821532905102, -0.042853936553001404, 0.035009488463401794, -0.023987310007214546, 0.06609675288200378, 0.02770979143679142, -0.011512456461787224, -0.001991754863411188, 0.025094974786043167, -0.031577542424201965, 0.04230918362736702, -0.009524106048047543, -0.025222085416316986, 0.02687450312077999, -0.003270790446549654, -0.01752290315926075, -0.05291371792554855, -0.003949462436139584, -0.0915185809135437, 0.014780976809561253, 0.028526922687888145, 0.006155713927000761, 0.007199824787676334, -0.007699182257056236, 0.0004017556784674525, 0.0037406403571367264, -0.023533347994089127, 0.016560504212975502, 0.0019418190931901336, 0.014036480337381363, 0.04092914238572121, -0.06700467318296432, 0.030360925942659378, 0.06210189312696457, -0.005324964877218008, -0.05618223920464516, 0.010432028211653233, 0.05433007702231407, -0.04586824029684067, -0.018539775162935257, 0.023714933544397354, -0.027764268219470978, -0.054947465658187866, -0.06595148146152496, -0.022225940600037575, -0.035590559244155884, 0.018222002312541008, -0.03224940225481987, -0.07481280714273453, 0.0010486503597348928, 0.05458429455757141, 0.0037406403571367264, 0.03284863382577896, -0.054729562252759933, 0.030978312715888023, -0.028581397607922554, -0.03025197423994541, -0.06286454945802689, 0.042672354727983475, 0.015470997430384159, 0.011830229312181473, -0.010050700977444649, 0.005747148767113686, -0.030215658247470856, 0.04328973963856697, -0.002601197687909007, 0.03648032248020172, 0.04042070731520653, -0.00012838590191677213, 0.023206496611237526, 0.0035772142000496387, 0.02569420449435711, -0.010304919444024563, 0.017214208841323853, 0.02427784539759159, 0.037152186036109924, 0.04394344612956047, 0.044233981519937515, 0.035917408764362335, -0.004703037906438112, -0.05756228044629097, -0.012874339707195759, 0.01212984323501587, -0.022825170308351517, 0.0017761231865733862, 0.007286077365279198, -0.03542713075876236, 0.008057811297476292, -0.027855059131979942, -0.004707577638328075, 0.032612573355436325, -0.03940383344888687, 0.003304837504401803, 0.09130068123340607, -0.026130007579922676, 0.04979046434164047, 0.058579154312610626, 0.020083243027329445, 0.021699344739317894, 0.00777181563898921, 0.021063799038529396, 0.03108726255595684, 0.011902863159775734, 0.003960811533033848, 0.05142472684383392, -0.04140126332640648, 0.04612245783209801, -0.021172750741243362, -0.1148340255022049, 0.03733376786112785, 0.0035454370081424713, 0.0110312569886446, 0.028254546225070953, -0.0006554065039381385, -0.014063717797398567, -0.04140126332640648, -0.035590559244155884, 0.041183359920978546, -0.06707730889320374, -0.015017036348581314, -0.028399813920259476, -0.018321873620152473, 0.013491727411746979, 0.024350479245185852, 0.004957256373018026, 0.021590394899249077, 0.014762818813323975, -0.011203762143850327, -0.03824169188737869, -0.03290310874581337, 0.007422265596687794, -0.007449503522366285, 0.013291983865201473, 0.021426968276500702, -0.020355621352791786, -0.03154122456908226, -0.0014481362886726856, 0.004734815564006567, -0.10713484138250351, -0.05563748627901077, 0.03368392214179039, -0.04376186057925224, 0.0220625139772892, 0.03664374724030495, 0.002846336690708995, -0.033974457532167435, -0.05211474746465683, 0.00112412148155272, -0.039875950664281845, -0.014009242877364159, -0.018249239772558212, 0.0001017156828311272, 0.09464183449745178, -0.022207781672477722, -0.004925479181110859, 0.003670276375487447, -0.036117155104875565, -0.001310813007876277, 0.02607553079724312, -0.03965805098414421, 0.016959991306066513, -0.010613612830638885, 0.004596357233822346, 0.041437577456235886, -0.052005793899297714, 0.03653479740023613, 0.047538816928863525, -0.006123936735093594, -0.009092843160033226, -0.010967702604830265, -0.02070063166320324, 0.009011129848659039, 0.004185522440820932, -0.022026197984814644, -0.018530696630477905, 0.09318915754556656, -0.07274274528026581, 0.012901577167212963, 0.012184319086372852, 0.005234172567725182, 0.0055519454181194305, -0.03542713075876236, 0.011902863159775734, 0.0311598964035511, -0.04082019254565239, -0.08650684356689453, -0.02271621860563755, 0.01411819364875555, -0.028799299150705338, -0.0753212422132492, -0.0017670439556241035, -0.04270866885781288, -0.018085815012454987, -0.06420827656984329, -0.004299012478441, -0.01518954150378704, -0.03275784105062485, 0.05186052992939949, -0.02485891617834568, -0.024513905867934227, 0.045977190136909485, 0.04601350799202919, 0.004757513292133808, 0.07056372612714767, 0.02102748304605484, 0.03562687709927559, 0.06369983404874802, -0.019701916724443436, -0.08570787310600281, -0.01486269012093544, -0.0269289780408144, 0.025385510176420212, 0.021917246282100677, -0.0069410670548677444, 0.003136871848255396, -0.026983454823493958, -0.014889927580952644, -0.020755106583237648, -0.017895150929689407, 0.000976584036834538, 0.03166833519935608, 0.00795340072363615, 0.001790876965969801, 0.01467202603816986, -0.023969151079654694, 0.05650909245014191, -0.08490890264511108, -0.01482637319713831, 0.030015915632247925, -0.05367637425661087, 0.004898241255432367, -0.02810927852988243, -0.0175319816917181, 0.025094974786043167, -0.004337599501013756, -0.010922306217253208, 0.02407810278236866, 0.007490359712392092, 0.04314447194337845, -0.021408811211586, 0.034373942762613297, 0.005002652294933796, -0.02569420449435711, -0.0005802191444672644, 0.00821215845644474, 0.0058606392703950405, -0.023442557081580162, 0.015443759970366955, -0.07612021267414093, -0.0493183471262455, 0.013410014100372791, 0.03795115649700165, -0.06010446324944496, 0.0330846942961216, 0.009360680356621742, -0.0054838513024151325, -0.032539937645196915, -0.026057373732328415, -0.01047742459923029, 0.07434068620204926, 0.017550140619277954, 0.028218228369951248, -0.03461000323295593, 0.008611643686890602, 0.04303552210330963, 0.03214045241475105, 0.003985779359936714, -0.03342970460653305, 0.01094046514481306, -0.04586824029684067, 0.025530777871608734, 0.0041401260532438755, 0.04790198802947998, 0.03729745373129845, -0.0038700192235410213, 0.02355150692164898, -0.025748679414391518, 0.007158968131989241, -0.0033956298138946295, -0.04717564955353737, 0.059995513409376144, 0.02889009192585945, -0.022825170308351517, -0.024332320317626, -0.0051070633344352245, -0.003568134969100356, 0.019447697326540947, -0.0002928049652837217, 0.04550507292151451, 0.04071124270558357, -0.08345622569322586, -0.08171301335096359, -0.008625263348221779, -0.05698120966553688, -0.005025350488722324, 0.016369840130209923, -0.011076653376221657, 0.04187338054180145, 0.0024286925327032804, -0.10088834166526794, 0.004294473212212324, 0.03206782042980194, 0.038641177117824554, -0.022044356912374496, -0.013963846489787102, 0.061811357736587524, 0.021245384588837624, 0.046885114163160324, 0.016959991306066513, -0.056763309985399246, 0.044415563344955444, -0.02465917356312275, 0.06845735013484955, 0.04096546024084091, 0.0590512752532959, -0.04612245783209801, 0.02128170058131218, 0.050771020352840424, -0.058361250907182693, 0.03148674964904785, -0.008638882078230381, -0.013909371569752693, 0.0021903628949075937, 0.006337298545986414, 0.03346601873636246, -0.0629734992980957, 0.07895293086767197, 0.0363532118499279, -0.05705384537577629, -0.0045781987719237804, -0.01648787036538124, 0.045069269835948944, -0.02017403580248356, -0.01953849010169506, -0.07248852401971817, 0.04986310005187988, 0.012256952933967113, -0.04002121835947037, 0.025276560336351395, 0.03983963653445244, 0.030524350702762604, 0.027473732829093933, -0.02122722566127777, 0.011167445220053196, 0.030469875782728195, 0.037878524512052536, -0.034936852753162384, 0.06951054185628891, 0.020555363968014717, -0.04964519664645195, 0.022153306752443314, 0.023805726319551468, -0.002923510270193219, -0.02291596122086048, -0.04241813346743584, 0.04637667536735535, -0.018993737176060677, -0.06780364364385605, -0.002277750289067626, 0.009129160083830357, -0.010913227684795856, -0.02674739435315132, -0.028272703289985657, -0.027019770815968513, 0.06195662543177605, -0.0259665809571743, 0.023769408464431763, 0.04394344612956047, 0.027401098981499672, -0.016260890290141106 ]
719,875
ibm_platform_services.partner_billing_units_v1
get_billing_options
Get customers billing options. Returns the billing options for the requested customer for a given month. :param str partner_id: Enterprise ID of the distributor or reseller for which the report is requested. :param str customer_id: (optional) Enterprise ID of the customer for which the report is requested. :param str reseller_id: (optional) Enterprise ID of the reseller for which the report is requested. :param str date: (optional) The billing month for which the usage report is requested. Format is yyyy-mm. Defaults to current month. :param int limit: (optional) Number of usage records returned. The default value is 30. Maximum value is 200. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse with `dict` result representing a `BillingOptionsSummary` object
def get_billing_options( self, partner_id: str, *, customer_id: Optional[str] = None, reseller_id: Optional[str] = None, date: Optional[str] = None, limit: Optional[int] = None, **kwargs, ) -> DetailedResponse: """ Get customers billing options. Returns the billing options for the requested customer for a given month. :param str partner_id: Enterprise ID of the distributor or reseller for which the report is requested. :param str customer_id: (optional) Enterprise ID of the customer for which the report is requested. :param str reseller_id: (optional) Enterprise ID of the reseller for which the report is requested. :param str date: (optional) The billing month for which the usage report is requested. Format is yyyy-mm. Defaults to current month. :param int limit: (optional) Number of usage records returned. The default value is 30. Maximum value is 200. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse with `dict` result representing a `BillingOptionsSummary` object """ if not partner_id: raise ValueError('partner_id must be provided') headers = {} sdk_headers = get_sdk_headers( service_name=self.DEFAULT_SERVICE_NAME, service_version='V1', operation_id='get_billing_options', ) headers.update(sdk_headers) params = { 'partner_id': partner_id, 'customer_id': customer_id, 'reseller_id': reseller_id, 'date': date, '_limit': limit, } if 'headers' in kwargs: headers.update(kwargs.get('headers')) del kwargs['headers'] headers['Accept'] = 'application/json' url = '/v1/billing-options' request = self.prepare_request( method='GET', url=url, headers=headers, params=params, ) response = self.send(request, **kwargs) return response
(self, partner_id: str, *, customer_id: Optional[str] = None, reseller_id: Optional[str] = None, date: Optional[str] = None, limit: Optional[int] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
[ -0.019707288593053818, -0.009324466809630394, 0.012025095522403717, -0.015747584402561188, -0.0413123182952404, -0.024104934185743332, -0.005478808656334877, -0.04087437689304352, -0.06226043403148651, -0.03704240545630455, -0.0026664144825190306, -0.0010566436685621738, -0.0026618526317179203, -0.013211182318627834, 0.017973776906728745, 0.023119568824768066, -0.009981377050280571, -0.0471150167286396, 0.07174912840127945, 0.028101135045289993, 0.06901200860738754, -0.034578993916511536, 0.003870748681947589, 0.06032619997859001, 0.03713364154100418, 0.09218631684780121, 0.008717738091945648, 0.039597053080797195, -0.029141241684556007, 0.03069227747619152, -0.01088462769985199, -0.0021110065281391144, -0.036148276180028915, 0.07346439361572266, -0.056895673274993896, -0.009671169333159924, 0.049085747450590134, 0.024050191044807434, -0.12809738516807556, 0.05182287096977234, -0.011614527553319931, -0.003754420904442668, 0.07379284501075745, -0.034086309373378754, -0.017453724518418312, -0.04463335871696472, -0.016313256695866585, 0.022663382813334465, -0.010501430369913578, -0.03226156160235405, 0.08072689175605774, 0.007654821965843439, -0.03326517343521118, -0.046640582382678986, 0.013475771062076092, 0.012006848119199276, -0.005565484520047903, 0.03640374168753624, 0.05627525970339775, 0.02700628526508808, -0.07809925824403763, -0.018147127702832222, -0.00798327662050724, -0.021751007065176964, -0.03806426376104355, -0.0274259764701128, -0.016942793503403664, 0.021148839965462685, -0.0010560734663158655, 0.03262651339173317, 0.019251100718975067, 0.0509834848344326, -0.008854594081640244, -0.005830072797834873, -0.04321005567908287, -0.04007148742675781, -0.009114621207118034, 0.002928722184151411, -0.026933295652270317, -0.0653260126709938, -0.02959742769598961, 0.025108546018600464, -0.026586592197418213, -0.021331315860152245, -0.021002860739827156, -0.004689604975283146, 0.00858544372022152, -0.032517027109861374, 0.03326517343521118, 0.000842805951833725, -0.04602016881108284, -0.005980614572763443, -0.016158152371644974, 0.0743037760257721, -0.04685955494642258, -0.04514428973197937, -0.0016696453094482422, 0.014278660528361797, -0.051603902131319046, 0.049122244119644165, -0.05021709203720093, -0.11021483689546585, -0.010556172579526901, 0.016431864351034164, 0.08189473301172256, -0.036421988159418106, -0.04164076969027519, -0.008316293358802795, 0.021751007065176964, -0.025564733892679214, -0.027462471276521683, -0.027170512825250626, -0.022900599986314774, -0.0903615653514862, 0.014534125104546547, 0.07517965883016586, -0.022024720907211304, -0.01334803830832243, -0.014862580224871635, 0.000877590209711343, 0.0039414577186107635, -0.0365314744412899, 0.048392344266176224, 0.008662995882332325, -0.030382070690393448, -0.02222544327378273, 0.009183049201965332, 0.04777192696928978, 0.04587418958544731, 0.0016525383107364178, 0.03671395033597946, -0.00936096254736185, -0.014643610455095768, -0.011413805186748505, 0.011942981742322445, 0.029487943276762962, 0.02963392250239849, 0.04675006866455078, -0.024104934185743332, 0.051567405462265015, -0.005364762153476477, 0.0016456955345347524, -0.01753583736717701, -0.0326630063354969, -0.01021859422326088, -0.055253397673368454, 0.06080063432455063, -0.01681506261229515, -0.03565559536218643, 0.020491931587457657, -0.01528227236121893, 0.03359362855553627, 0.048903271555900574, -0.0538300946354866, -0.010118233039975166, -0.018375221639871597, 0.008758795447647572, 0.023575756698846817, 0.029487943276762962, 0.0005157766863703728, 0.016523102298378944, 0.027681441977620125, 0.020856881514191628, -0.048903271555900574, -0.0006477858987636864, -0.014835209585726261, -0.031221454963088036, -0.05824598670005798, -0.007914848625659943, -0.030108358711004257, -0.005095611326396465, -0.0025774578098207712, -0.03534538671374321, -0.036330752074718475, -0.0576985627412796, 0.05890289694070816, 0.022991837933659554, -0.057370107620954514, -0.03512641787528992, 0.0024907824117690325, 0.013083450496196747, -0.031458672136068344, -0.01769094169139862, 0.010766019113361835, 0.0046759191900491714, -0.09736860543489456, 0.04302757978439331, 0.008681243285536766, -0.0028032707050442696, -0.009233229793608189, 0.008357350714504719, 0.012718500569462776, 0.05101998150348663, 0.01783692091703415, -0.07802626490592957, -0.05091049522161484, 0.04941420257091522, -0.04288160055875778, 0.0010007608216255903, -0.008571757934987545, -0.0035924746189266443, 0.024360397830605507, 0.01120395865291357, 0.0033575380221009254, 0.060946617275476456, 0.03096598945558071, 0.02642236463725567, -0.035637348890304565, -0.016185523942112923, 0.0509834848344326, 0.037115395069122314, -0.03262651339173317, -0.04554573446512222, -0.01910512149333954, -0.024780090898275375, 0.04828285798430443, 0.02751721441745758, 0.028374847024679184, -0.008918460458517075, 0.006423116195946932, 0.046275634318590164, -0.07598254829645157, 0.06218744441866875, 0.008813537657260895, 0.006436801981180906, 0.021988224238157272, -0.0029036318883299828, -0.015729336068034172, -0.043283045291900635, -0.03492569550871849, -0.02373998425900936, -0.037626322358846664, 0.00010207189916400239, 0.012782366946339607, -0.04014447703957558, -0.05101998150348663, 0.030619287863373756, -0.02025471441447735, 0.016276760026812553, -0.009698540903627872, 0.03381259739398956, 0.04831935092806816, 0.018183624371886253, 0.03777230530977249, -0.03726137429475784, -0.002556929597631097, -0.020510178059339523, 0.03050980344414711, 0.033064451068639755, -0.024871328845620155, 0.016970165073871613, -0.049779150635004044, 0.021276572719216347, 0.013658246025443077, -0.0073081194423139095, -0.037845294922590256, 0.013311543501913548, -0.04386696591973305, 0.0192875973880291, -0.017316868528723717, 0.017818674445152283, -0.0073354910127818584, -0.10101810097694397, -0.002750809071585536, 0.019908010959625244, 0.011112721636891365, 0.03041856549680233, 0.009123744443058968, -0.015464747324585915, 0.008448587730526924, 0.02972516044974327, 0.015711087733507156, -0.03153166174888611, 0.03645848482847214, -0.016696453094482422, 0.028082886710762978, 0.017271248623728752, -0.05945032089948654, -0.04883028194308281, -0.03788178786635399, -0.0405094288289547, -0.006149404216557741, 0.020035743713378906, 0.04689604789018631, -0.02912299335002899, -0.014798713847994804, 0.017727436497807503, -0.004411330446600914, -0.014096185564994812, 0.031221454963088036, -0.006596467457711697, 0.0403999425470829, -0.017125269398093224, -0.005478808656334877, -0.004566434305161238, -0.02706102654337883, 0.035089921206235886, -0.06466910243034363, 0.006874741520732641, 0.03875766694545746, -0.050363071262836456, 0.0029515314381569624, 0.03709714487195015, 0.023721735924482346, 0.013284172862768173, -0.007107397075742483, 0.06521652638912201, -0.04193273186683655, 0.052662257105112076, 0.0168698038905859, -0.004831023048609495, 0.026477107778191566, 0.008681243285536766, -0.06448663026094437, 0.034670230001211166, -0.06284435093402863, -0.02830185741186142, -0.01593918167054653, 0.003348414320498705, 0.040107984095811844, -0.03105722740292549, 0.014077938161790371, -0.01572021283209324, -0.025893187150359154, 0.05664020776748657, 0.014962941408157349, -0.010702152736485004, 0.05638474225997925, 0.029761655256152153, -0.011149216443300247, -0.021696265786886215, -0.049998123198747635, -0.042589642107486725, 0.05397607386112213, 0.0289040245115757, -0.015191035345196724, 0.02107585035264492, -0.03967004269361496, -0.01705227978527546, 0.05955980718135834, 0.059340838342905045, -0.04076489061117172, -0.02530926838517189, -0.013119945302605629, -0.015528613701462746, 0.01614902913570404, 0.10780616849660873, -0.014944694004952908, 0.0042448220774531364, 0.02603916823863983, -0.04156778007745743, 0.0021839963737875223, 0.05945032089948654, 0.023958953097462654, 0.02751721441745758, -0.0606546550989151, -0.034305281937122345, 0.05594680458307266, 0.002124692080542445, 0.037808798253536224, -0.020911622792482376, 0.01176050677895546, -0.002218210371211171, 0.047881413251161575, 0.014278660528361797, -0.02738948166370392, -0.027626698836684227, -0.06364724040031433, 0.05937733128666878, -0.04412243142724037, -0.007572708185762167, -0.005355638451874256, 0.06138455495238304, -0.019798526540398598, 0.04269912466406822, 0.026020919904112816, -0.061785999685525894, 0.02043718844652176, -0.004573277197778225, 0.049487192183732986, 0.018283985555171967, -0.007855543866753578, 0.03388558700680733, 0.00920585822314024, -0.00022638292284682393, -0.006655771750956774, 0.0016810499364510179, 0.0006415133248083293, -0.03341115266084671, -0.051421426236629486, -0.014041443355381489, 0.0028967889957129955, -0.04755295813083649, 0.04879378899931908, -0.02001749537885189, -0.0413123182952404, 0.03611178323626518, -0.010528801940381527, -0.009561684913933277, -0.08328153938055038, 0.015455624088644981, 0.003193310694769025, 0.016824185848236084, -0.00546512333676219, -0.02572895959019661, -0.05207833647727966, 0.03193310648202896, -0.04211520776152611, 0.03620301932096481, 0.024980813264846802, 0.005182287190109491, 0.000891846080776304, 0.01998100057244301, 0.012362673878669739, -0.05875691771507263, 0.02249915525317192, -0.016833309084177017, 0.05372060835361481, 0.06601941585540771, -0.0029378458857536316, 0.07758832722902298, -0.042407166212797165, 0.0018749295268207788, -0.01919635944068432, -0.005916748661547899, -0.04952368885278702, -0.0006723059341311455, -0.0030724210664629936, -0.01447025965899229, -0.08138380199670792, 0.05842846259474754, 0.03087475337088108, -0.05375710502266884, -0.001793956384062767, 0.020601416006684303, 0.016285885125398636, 0.01596655324101448, -0.004272193647921085, -0.0012339864624664187, -0.006824560929089785, -0.008644748479127884, -0.0405094288289547, -0.028867527842521667, -0.03538188338279724, -0.03788178786635399, -0.005825511179864407, -0.0013913711300119758, -0.03649497777223587, -0.01919635944068432, -0.04408593475818634, 0.032334551215171814, 0.04350201413035393, 0.011541537009179592, -0.025783702731132507, -0.03196960315108299, -0.025053802877664566, -0.014032319188117981, 0.0028032707050442696, -0.027955153957009315, 0.00577533058822155, 0.04007148742675781, -0.04456036910414696, 0.025345763191580772, 0.045399755239486694, 0.04076489061117172, 0.08831784874200821, -0.02706102654337883, 0.028502579778432846, -0.032279808074235916, 0.02007223851978779, -0.04959667846560478, -0.042078711092472076, -0.052479781210422516, 0.045071300119161606, 0.037808798253536224, 0.040472932159900665, -0.022061215713620186, 0.03423229232430458, 0.003295952919870615, -0.009926634840667248, 0.049669668078422546, 0.028137629851698875, 0.026988036930561066, -0.0759095549583435, 0.041531287133693695, -0.04864780604839325, 0.006468735169619322, 0.04459686577320099, -0.09101847559213638, 0.03310094773769379, -0.004954193253070116, 0.02585669234395027, -0.030400317162275314, -0.009096373803913593, 0.014880827628076077, 0.038502201437950134, 0.04280861094594002, -0.0023071670439094305, 0.038684677332639694, 0.002988026477396488, 0.012910098768770695, -0.016979288309812546, 0.009351838380098343, -0.030309081077575684, -0.03240754082798958, -0.03005361557006836, -0.07561759650707245, 0.048574816435575485, -0.04196922481060028, -0.01850295439362526, -0.03571033850312233, 0.010017871856689453, -0.013822473585605621, 0.013329790905117989, 0.001324083423241973, 0.04704202711582184, -0.029378458857536316, 0.0347067266702652, -0.011468547396361828, -0.03399507328867912, -0.01145942322909832, 0.06010723114013672, 0.04879378899931908, 0.009789777919650078, 0.015428252518177032, 0.07426728308200836, -0.02866680547595024, -0.058975886553525925, -0.002385859377682209, -0.018904399126768112, 0.021878739818930626, 0.03120320662856102, -0.004167270381003618, 0.029506191611289978, -0.014050567522644997, -0.0337396077811718, -0.060399189591407776, 0.0374438501894474, 0.020637910813093185, 0.033976826816797256, 0.04218819737434387, -0.0044250162318348885, 0.026404118165373802, -0.0307835154235363, -0.07185861468315125, -0.005789015907794237, 0.07583656907081604, 0.03461548686027527, 0.02019997127354145, -0.048063889145851135, 0.057041652500629425, -0.0293602105230093, 0.07273449748754501, 0.045910682529211044, -0.053684115409851074, -0.01088462769985199, -0.004014447797089815, -0.03248053044080734, 0.016468359157443047, -0.06547199189662933, -0.011194834485650063, 0.04492532089352608, -0.0034419328439980745, 0.017453724518418312, -0.0038616249803453684, 0.02476184442639351, 0.02180575020611286, 0.053684115409851074, 0.01950656622648239, -0.03144042566418648, 0.0008433761540800333, -0.042553145438432693, -0.08072689175605774, 0.010638286359608173, -0.026531850919127464, 0.012499530799686909, 0.023539261892437935, -0.05010760575532913, -0.012225817888975143, 0.05339215323328972, -0.01863068714737892, -0.022845856845378876, 0.030710525810718536, -0.019305843859910965, -0.022170700132846832, 0.01374035980552435, -0.015172787941992283, -0.0500711128115654, 0.07481470704078674, 0.025108546018600464, -0.0020494211930781603, 0.014944694004952908, -0.006614714860916138, -0.04408593475818634, -0.0030678592156618834, 0.06857406347990036, -0.07547161728143692, -0.019397081807255745, 0.031276196241378784, -0.012298808433115482, -0.017097897827625275, 0.030491555109620094, 0.0038228491321206093, 0.05751608684659004, 0.01053792517632246, 0.023302044719457626, -0.031495168805122375, 0.04018097370862961, -0.010446688160300255, 0.011486794799566269, -0.03331991657614708, -0.021513789892196655, 0.04492532089352608, -0.010656533762812614, -0.007381109520792961, -0.01711614616215229, 0.00010948493581963703, -0.0036700263153761625, 0.029104746878147125, -0.049961626529693604, 0.0011216503335162997, 0.03704240545630455, 0.033064451068639755, 0.06773468106985092, -0.051384929567575455, 0.029652170836925507, 0.01437902171164751, -0.01914161629974842, -0.028539074584841728, 0.010391945019364357, -0.01959780417382717, 0.04496181383728981, 0.05430452898144722, -0.00449800631031394, -0.023922458291053772, -0.0020699496380984783, 0.027626698836684227, 0.027444224804639816, 0.009680293500423431, -0.01689717546105385, 0.06481508165597916, 0.07401181757450104, -0.0065827821381390095, 0.04879378899931908, -0.054377518594264984, 0.08240566402673721, -0.04707852378487587, -0.019123369827866554, 0.042078711092472076, -0.024378646165132523, -0.05094699189066887, 0.01150504220277071, -0.06784416735172272, -0.03268125280737877, -0.020948117598891258, 0.031823620200157166, -0.011733136139810085, 0.0393780842423439, 0.015647223219275475, -0.01596655324101448, -0.01603041961789131, -0.01343927625566721, 0.04342902451753616, -0.09459498524665833, -0.04817337170243263, -0.036294255405664444, -0.021057603880763054, -0.03631250560283661, 0.00007149309385567904, 0.0004644556320272386, 0.06897550821304321, 0.014743971638381481, -0.01590268686413765, 0.007134768646210432, -0.021933482959866524, 0.0318053737282753, -0.0748877003788948, -0.018758419901132584, -0.03125794976949692, 0.005592855624854565, 0.08620113879442215, -0.013630874454975128, -0.0231013223528862, 0.05375710502266884, 0.004502567928284407, -0.028885776177048683, -0.011641898192465305, 0.010099985636770725, -0.07229655236005783, 0.009771530516445637, 0.04211520776152611, -0.03262651339173317, 0.026477107778191566, -0.008147504180669785, 0.04868430271744728, 0.027134018018841743, -0.03291847184300423, -0.008927584625780582, -0.007746059447526932, 0.032517027109861374, -0.007641136180609465, -0.03558260574936867, 0.03156815841794014, 0.06598292291164398, -0.024104934185743332, -0.030436811968684196, 0.021276572719216347, -0.05112946778535843, 0.015920935198664665, 0.008220493793487549, 0.04492532089352608, 0.09634674340486526, 0.028155876323580742, -0.025874940678477287, -0.021732760593295097, 0.027736185118556023, -0.041677266359329224, 0.000029456152333295904, 0.06098311021924019, 0.03009011037647724, -0.012244065292179585, 0.021367810666561127, -0.04112984240055084, -0.014287784695625305, 0.04514428973197937, 0.0903615653514862, 0.011085350066423416, 0.03134918585419655, -0.023958953097462654, -0.030035367235541344, 0.008142942562699318, -0.04828285798430443, 0.02052842639386654, -0.034214042127132416, 0.04423191398382187, -0.013275048695504665, 0.004821899347007275, 0.022444412112236023, 0.010756894946098328, 0.027955153957009315, -0.011322567239403725, 0.07758832722902298, 0.023046579211950302, 0.0254917424172163, -0.033703114837408066, 0.048063889145851135, 0.010738647542893887, 0.032152075320482254, 0.02926897257566452, 0.0017688660882413387, -0.008334540762007236, -0.07222356647253036, 0.05310019478201866, 0.00808819942176342, -0.037991274148225784, -0.0023379595950245857, -0.07171263545751572, 0.002269531600177288, 0.03319218382239342, 0.009329029358923435, -0.04306407645344734, 0.0007766587659716606, -0.013658246025443077, 0.0046531097032129765, 0.041896235197782516, -0.0021292539313435555, 0.053501639515161514, 0.013302420265972614 ]
719,876
ibm_platform_services.partner_billing_units_v1
get_credit_pools_report
Get subscription burn-down report. Returns the subscription or commitment burn-down reports for the end customers for a given month. :param str partner_id: Enterprise ID of the distributor or reseller for which the report is requested. :param str customer_id: (optional) Enterprise ID of the customer for which the report is requested. :param str reseller_id: (optional) Enterprise ID of the reseller for which the report is requested. :param str date: (optional) The billing month for which the usage report is requested. Format is yyyy-mm. Defaults to current month. :param int limit: (optional) Number of usage records returned. The default value is 30. Maximum value is 200. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse with `dict` result representing a `CreditPoolsReportSummary` object
def get_credit_pools_report( self, partner_id: str, *, customer_id: Optional[str] = None, reseller_id: Optional[str] = None, date: Optional[str] = None, limit: Optional[int] = None, **kwargs, ) -> DetailedResponse: """ Get subscription burn-down report. Returns the subscription or commitment burn-down reports for the end customers for a given month. :param str partner_id: Enterprise ID of the distributor or reseller for which the report is requested. :param str customer_id: (optional) Enterprise ID of the customer for which the report is requested. :param str reseller_id: (optional) Enterprise ID of the reseller for which the report is requested. :param str date: (optional) The billing month for which the usage report is requested. Format is yyyy-mm. Defaults to current month. :param int limit: (optional) Number of usage records returned. The default value is 30. Maximum value is 200. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse with `dict` result representing a `CreditPoolsReportSummary` object """ if not partner_id: raise ValueError('partner_id must be provided') headers = {} sdk_headers = get_sdk_headers( service_name=self.DEFAULT_SERVICE_NAME, service_version='V1', operation_id='get_credit_pools_report', ) headers.update(sdk_headers) params = { 'partner_id': partner_id, 'customer_id': customer_id, 'reseller_id': reseller_id, 'date': date, '_limit': limit, } if 'headers' in kwargs: headers.update(kwargs.get('headers')) del kwargs['headers'] headers['Accept'] = 'application/json' url = '/v1/credit-pools' request = self.prepare_request( method='GET', url=url, headers=headers, params=params, ) response = self.send(request, **kwargs) return response
(self, partner_id: str, *, customer_id: Optional[str] = None, reseller_id: Optional[str] = None, date: Optional[str] = None, limit: Optional[int] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
[ -0.055874522775411606, -0.006693869363516569, -0.033455733209848404, 0.019550636410713196, -0.060921020805835724, -0.006875398103147745, -0.008536385372281075, -0.003047412494197488, -0.05188089236617088, -0.0195687897503376, -0.01818009652197361, 0.03599713370203972, 0.01358742080628872, -0.005622850265353918, -0.017172612249851227, -0.004333996679633856, 0.0153845539316535, -0.060921020805835724, 0.03390955552458763, 0.010701114311814308, 0.0257952231913805, -0.005736305844038725, 0.05660063773393631, 0.10456050932407379, -0.007306528743356466, 0.048831209540367126, 0.027047770097851753, 0.02682993747293949, -0.05460382252931595, 0.043457962572574615, -0.024270381778478622, 0.011182165704667568, -0.021819746121764183, 0.04062611609697342, -0.032003503292798996, 0.03144076466560364, 0.026121973991394043, 0.010746496729552746, -0.1519031822681427, 0.04106178507208824, 0.022255415096879005, -0.008391162380576134, 0.07812993973493576, -0.021039173007011414, -0.04382101818919182, -0.026593949645757675, -0.04937579482793808, -0.008763296529650688, -0.01753566972911358, -0.001022233278490603, 0.03764904662966728, 0.028046177700161934, -0.0590694285929203, -0.021365923807024956, 0.04984777048230171, -0.004951194394379854, -0.02361687831580639, 0.050283439457416534, 0.06186496838927269, 0.01337866298854351, -0.06716560572385788, -0.015112261287868023, 0.0063308123499155045, -0.05075541511178017, -0.014640286564826965, -0.02276369370520115, -0.045128025114536285, -0.008304936811327934, 0.009684554301202297, 0.0021953622344881296, 0.0405535027384758, 0.05093694478273392, -0.01686401292681694, 0.02568630687892437, -0.008726990781724453, -0.076822929084301, 0.047197453677654266, -0.001967316959053278, -0.015239330939948559, -0.04276815429329872, 0.011236623860895634, -0.000012515550224634353, -0.006621257867664099, -0.03191274031996727, -0.013841561041772366, -0.04440191015601158, 0.048722293227910995, -0.020930254831910133, -0.07515286654233932, 0.011445382609963417, -0.019078662618994713, 0.030188217759132385, -0.01882452331483364, 0.023344585672020912, -0.028899364173412323, -0.048540763556957245, -0.05500318482518196, 0.07769426703453064, -0.05532993748784065, 0.05355095490813255, -0.059505097568035126, -0.06789171695709229, -0.02290891669690609, 0.03848407790064812, 0.018053025007247925, -0.03334681689739227, 0.007624203804880381, 0.008649840950965881, -0.03225764259696007, -0.05703630670905113, -0.03721337765455246, -0.014195541851222515, 0.011672292836010456, -0.06077579781413078, 0.0023054140619933605, 0.05493057519197464, -0.05503949150443077, -0.009829777292907238, 0.0018720143707469106, 0.003916481044143438, -0.0018810908077284694, -0.041533757001161575, 0.0179622620344162, 0.01708184741437435, -0.06484203785657883, 0.044946495443582535, -0.00941226165741682, 0.036015287041664124, 0.06204649806022644, -0.010201910510659218, 0.028935668990015984, -0.013360509648919106, -0.014041242189705372, 0.02450636960566044, 0.025232484564185143, 0.016264967620372772, 0.01495796162635088, 0.03269331157207489, 0.005291560664772987, 0.03939171880483627, 0.02230987325310707, -0.015475318767130375, -0.011599681340157986, 0.03906496986746788, 0.01882452331483364, -0.024669745936989784, 0.04418407753109932, 0.035634078085422516, -0.011454458348453045, 0.002115943469107151, -0.03746751695871353, -0.03539808839559555, 0.03692293167114258, -0.0006047173519618809, -0.018951592966914177, 0.013741719536483288, 0.009993152692914009, 0.08531846851110458, 0.020621655508875847, -0.018270859494805336, 0.023417197167873383, 0.03881082683801651, 0.03314713388681412, -0.033746179193258286, -0.03320159390568733, -0.03180382028222084, -0.014767357148230076, -0.06879936158657074, -0.009829777292907238, -0.02757420390844345, -0.007814808748662472, -0.0026480494998395443, -0.0480324849486351, -0.012135190889239311, -0.059105731546878815, -0.007574283517897129, 0.0169003177434206, -0.010628503747284412, -0.060921020805835724, 0.016873089596629143, 0.033782485872507095, -0.04737897962331772, -0.007229378912597895, 0.0209847129881382, -0.03895604982972145, -0.06861783564090729, 0.02690254896879196, -0.0145858284085989, -0.0072792996652424335, -0.008009952493011951, -0.028790445998311043, 0.04792356863617897, 0.01747213304042816, -0.02565000019967556, -0.02583152800798416, -0.07711337506771088, 0.006748327985405922, -0.007533439435064793, -0.03234840929508209, -0.020930254831910133, 0.015193949453532696, 0.04781464859843254, 0.03764904662966728, -0.019950000569224358, 0.04051719605922699, -0.03498057276010513, -0.009130891412496567, -0.006539570167660713, -0.0037054538261145353, 0.04607197642326355, 0.05678216740489006, 0.04291337728500366, -0.028481846675276756, 0.020712420344352722, -0.03091433085501194, 0.03862930089235306, 0.029934076592326164, -0.03087802603840828, -0.008345779962837696, -0.022037580609321594, 0.025159873068332672, -0.08597197383642197, 0.016764171421527863, 0.005432245321571827, -0.04240509495139122, 0.012053503654897213, 0.0069797770120203495, -0.0046834396198391914, 0.03242101892828941, -0.024070700630545616, -0.028028026223182678, -0.015230255201458931, 0.015466242097318172, 0.017199840396642685, -0.06142929941415787, -0.06531400978565216, -0.04084394872188568, 0.009657325223088264, 0.021801592782139778, 0.057254139333963394, -0.0003125696675851941, 0.0352165624499321, 0.023707643151283264, 0.03928280249238014, -0.010129299014806747, -0.032711464911699295, -0.05137261375784874, 0.04632611572742462, 0.01104601938277483, 0.030496815219521523, 0.05431337654590607, -0.054059237241744995, -0.004390724468976259, -0.01161783467978239, -0.010846337303519249, -0.033074524253606796, -0.03822993487119675, -0.07282929867506027, 0.0011368232080712914, -0.04959363117814064, 0.03732229396700859, -0.025377707555890083, -0.07885605096817017, -0.008808678016066551, -0.012643471360206604, -0.004324920475482941, -0.019006051123142242, 0.011100477539002895, 0.02813694253563881, 0.01660987362265587, 0.03576114773750305, 0.03396401181817055, 0.02583152800798416, -0.0029203423764556646, -0.03287484124302864, -0.007093232590705156, 0.05961401388049126, -0.035198409110307693, -0.05660063773393631, -0.004390724468976259, -0.006362579762935638, -0.004824124276638031, 0.045309554785490036, 0.01291576400399208, 0.04919426888227463, 0.008604458533227444, 0.012207802385091782, 0.004318112973123789, -0.017335986718535423, 0.025377707555890083, 0.004079856909811497, 0.037939492613077164, -0.010964331217110157, -0.01445875782519579, 0.0009558618767186999, -0.0028000797610729933, 0.025250637903809547, -0.05986815318465233, 0.0015100915916264057, 0.03572484105825424, -0.02817324921488762, -0.0016087978146970272, 0.07624203711748123, -0.01708184741437435, -0.04291337728500366, -0.07123184949159622, 0.05674586072564125, -0.045200638473033905, 0.012924840673804283, 0.0059087579138576984, 0.014059394598007202, 0.04186050966382027, 0.05979554355144501, -0.04189681634306908, 0.036233119666576385, -0.059650320559740067, -0.018951592966914177, 0.016963854432106018, 0.02946210280060768, 0.04022675380110741, -0.0033605494536459446, -0.009548407979309559, 0.06407961994409561, 0.011517994105815887, 0.03109586052596569, 0.032784078270196915, -0.022291719913482666, 0.048540763556957245, 0.007306528743356466, -0.006344426888972521, -0.05082802474498749, -0.029571019113063812, -0.00393917178735137, 0.00017514679348096251, 0.030224522575736046, 0.008264092728495598, 0.019804777577519417, -0.03852038085460663, 0.0055093951523303986, 0.002430215012282133, 0.052171338349580765, -0.05696369335055351, 0.01920573227107525, 0.019096815958619118, 0.010428821668028831, 0.037866879254579544, 0.0555114671587944, -0.02149299345910549, 0.0041229696944355965, 0.04795987159013748, -0.010882643051445484, -0.01707277074456215, 0.02269108220934868, 0.014014013111591339, 0.014894426800310612, -0.011182165704667568, -0.0006427249172702432, 0.07653248310089111, -0.016618948429822922, 0.009938694536685944, -0.0512273907661438, 0.004715207032859325, 0.016664331778883934, 0.0369955413043499, 0.01430445909500122, -0.008250477723777294, -0.009330573491752148, -0.005409554112702608, 0.029734395444393158, -0.015275636687874794, -0.027519745752215385, 0.004440644755959511, -0.032747771590948105, 0.03432707116007805, -0.021547451615333557, 0.0231267511844635, -0.06876305490732193, 0.00035965366987511516, -0.02120254747569561, 0.03695923462510109, 0.0013001990737393498, -0.014150159433484077, 0.03768534958362579, 0.017118152230978012, -0.004073049407452345, -0.02479681558907032, -0.021438535302877426, -0.003982285037636757, -0.04650764539837837, -0.05365987494587898, 0.05137261375784874, -0.043566878885030746, -0.035125795751810074, 0.0458904467523098, -0.0419694259762764, -0.08517324924468994, 0.11036942899227142, -0.001077826484106481, 0.004719745367765427, -0.08241401612758636, 0.006716560572385788, 0.00373949040658772, 0.006312659475952387, -0.013532961718738079, -0.04628980904817581, -0.03151337429881096, 0.025050954893231392, -0.0661853477358818, 0.04073503240942955, -0.03837515786290169, 0.03621497005224228, 0.01913312077522278, -0.019804777577519417, -0.009611942805349827, -0.03935541585087776, 0.013977707363665104, -0.03579745441675186, 0.038774523884058, 0.04189681634306908, -0.021638216450810432, 0.07355541735887527, -0.04265923425555229, 0.0037167994305491447, -0.02575891837477684, -0.034381527453660965, -0.024415604770183563, 0.018334394320845604, -0.014259076677262783, -0.03035159222781658, -0.04636242240667343, 0.057363059371709824, -0.015774840489029884, -0.04977516084909439, 0.00322894100099802, 0.021329617127776146, -0.007910111919045448, -0.034381527453660965, 0.05380509793758392, -0.0074063693173229694, 0.0056954617612063885, -0.01241656020283699, -0.015947293490171432, 0.03351019322872162, -0.06026751548051834, 0.0009099124581553042, -0.019223885610699654, -0.02476050890982151, -0.06124776974320412, -0.03223948925733566, -0.00876783486455679, -0.00021740894590038806, 0.037866879254579544, 0.022073885425925255, -0.002384832827374339, -0.048468153923749924, -0.029934076592326164, -0.006802786607295275, 0.0003531299880705774, 0.008436544798314571, 0.011055096052587032, 0.007851114496588707, -0.07003375887870789, 0.05297006294131279, 0.04952101781964302, 0.011753981001675129, 0.01871560513973236, -0.023181211203336716, -0.012244108133018017, -0.0131608285009861, -0.0005604697507806122, -0.021601911634206772, -0.01788965053856373, -0.021002866327762604, 0.01875191181898117, 0.0250872615724802, 0.041243311017751694, -0.027628662064671516, 0.02572261169552803, 0.032929301261901855, -0.000457792601082474, -0.001100517576560378, 0.032638855278491974, 0.029571019113063812, -0.04962993785738945, -0.004238694440573454, -0.05805286765098572, -0.0089811310172081, 0.04825031757354736, -0.05257070064544678, 0.04962993785738945, -0.010437898337841034, 0.019114967435598373, -0.02664840780198574, 0.017354140058159828, -0.04229617863893509, 0.055692993104457855, 0.04418407753109932, -0.009239808656275272, 0.035634078085422516, -0.02060350403189659, 0.02038566954433918, -0.02806433103978634, 0.04607197642326355, -0.02653949148952961, -0.00024010002380236983, -0.011236623860895634, -0.013614649884402752, 0.04919426888227463, -0.016373885795474052, -0.04984777048230171, -0.03636019304394722, 0.012316719628870487, -0.05100955441594124, 0.02839108370244503, -0.03062388487160206, 0.045128025114536285, 0.018733758479356766, 0.043349046260118484, -0.05318789929151535, -0.03405477851629257, 0.057471975684165955, 0.08996560424566269, 0.015075955539941788, 0.033564649522304535, 0.0061492836102843285, 0.013796178624033928, -0.024560827761888504, -0.03087802603840828, -0.014322611503303051, 0.00755159230902791, 0.030642038211226463, 0.03258439525961876, -0.013977707363665104, -0.02771942690014839, -0.003932364750653505, 0.01282500009983778, -0.05983184650540352, -0.021583758294582367, -0.00736552570015192, 0.039827387779951096, -0.01614697463810444, 0.0009813893120735884, 0.02672101929783821, -0.04454713314771652, -0.06963439285755157, 0.02643057331442833, 0.035198409110307693, 0.048540763556957245, 0.02799171954393387, -0.04904904589056969, 0.06513248383998871, -0.0384114645421505, 0.02323566935956478, 0.004801433067768812, -0.008822293020784855, 0.02405254729092121, -0.011436305940151215, -0.021111784502863884, -0.01543901301920414, -0.019895542412996292, -0.036378342658281326, 0.034490447491407394, 0.032784078270196915, 0.041933123022317886, 0.0026480494998395443, 0.02594044618308544, 0.07304713129997253, 0.052207645028829575, -0.008708837442100048, -0.0508643314242363, 0.010310827754437923, -0.0030519505962729454, -0.05002930015325546, 0.023961784318089485, -0.003283399622887373, 0.009185350500047207, 0.0153845539316535, -0.0733012780547142, 0.010782802477478981, 0.0490853525698185, 0.024560827761888504, 0.0024324841797351837, 0.02813694253563881, -0.07050573080778122, -0.04284076392650604, 0.03390955552458763, -0.06393439322710037, -0.04229617863893509, 0.05090063810348511, 0.05424076318740845, 0.01975031942129135, 0.028735987842082977, -0.03287484124302864, -0.03547070175409317, 0.02497834339737892, 0.07500764727592468, -0.08335795998573303, -0.03581560403108597, -0.015139490365982056, 0.021039173007011414, 0.0029657245613634586, 0.039791084825992584, -0.024887580424547195, 0.07141337543725967, 0.0066757164895534515, -0.01878821663558483, 0.022582165896892548, 0.03387324884533882, -0.015048726461827755, 0.04029936343431473, -0.014141082763671875, 0.004408877342939377, 0.06309936195611954, 0.011182165704667568, -0.010156529024243355, -0.06567706912755966, -0.012652548030018806, -0.01021098718047142, 0.03732229396700859, 0.0072792996652424335, 0.020821338519454002, 0.03492611646652222, -0.0019877387676388025, 0.07493503391742706, -0.03334681689739227, 0.044837579131126404, 0.02713853493332863, -0.039791084825992584, 0.017762579023838043, 0.007610589265823364, -0.043639492243528366, 0.038193631917238235, 0.05093694478273392, -0.002915804274380207, 0.00821871031075716, 0.03198534995317459, 0.07003375887870789, 0.02546847239136696, 0.04832293093204498, -0.06059426814317703, 0.058960508555173874, 0.037866879254579544, 0.0012661623768508434, 0.00126502790953964, -0.04712484031915665, 0.07776688039302826, -0.041388534009456635, -0.04215095564723015, 0.025178026407957077, -0.02138407714664936, -0.04069872573018074, 0.02494203858077526, -0.0405535027384758, -0.03547070175409317, -0.010955254547297955, 0.06578598916530609, -0.024361146613955498, 0.029153503477573395, 0.011699522845447063, -0.013696338050067425, -0.003730413969606161, -0.027737580239772797, 0.06778280436992645, -0.06999745219945908, -0.059396177530288696, -0.021583758294582367, 0.004050358198583126, -0.006444267462939024, -0.04385732486844063, -0.006807324942201376, 0.057290446013212204, 0.0044860271736979485, -0.020294904708862305, -0.04777834564447403, 0.001359195914119482, 0.028772292658686638, -0.08052611351013184, -0.01580207049846649, -0.024215923622250557, 0.00956656038761139, 0.07638726383447647, -0.009929617866873741, -0.07638726383447647, 0.055874522775411606, 0.025069108232855797, 0.03269331157207489, -0.03939171880483627, -0.045055415481328964, -0.08197834342718124, 0.030406050384044647, 0.06560445576906204, -0.02761051058769226, 0.03116847202181816, -0.021747134625911713, 0.04915796220302582, 0.0327296182513237, -0.0426955409348011, -0.03621497005224228, -0.0055093951523303986, 0.01747213304042816, -0.013886942528188229, -0.05532993748784065, 0.05253439396619797, 0.08081655949354172, -0.03964586183428764, -0.014504140242934227, 0.026103822514414787, -0.007837500423192978, 0.059214651584625244, 0.008245939388871193, 0.02657579630613327, 0.0718490481376648, 0.02476050890982151, -0.01177213340997696, -0.031531527638435364, -0.005981369409710169, -0.07733120769262314, 0.01501242071390152, -0.005613774061203003, -0.013142675161361694, -0.0022441481705754995, 0.00287269102409482, 0.005917834583669901, -0.02212834358215332, 0.05670955404639244, 0.056056052446365356, 0.07065095752477646, 0.028372930362820625, 0.030188217759132385, -0.01056496798992157, 0.054095540195703506, -0.035379935055971146, -0.018479617312550545, -0.045128025114536285, 0.08176051080226898, -0.025559235364198685, 0.0300611462444067, 0.02739267610013485, 0.04835923761129379, 0.005441321525722742, -0.015575159341096878, 0.008445621468126774, 0.020585350692272186, -0.007242993917316198, -0.0736280232667923, 0.026339808478951454, 0.03300191089510918, 0.010238216258585453, 0.030660191550850868, -0.032675158232450485, 0.043094903230667114, -0.03254808858036995, 0.0009167197276838124, 0.012080732733011246, -0.04069872573018074, -0.024851273745298386, -0.016963854432106018, -0.01197181548923254, 0.0006387539906427264, 0.0038416003808379173, 0.04919426888227463, 0.059142038226127625, 0.01280684769153595, -0.02739267610013485, 0.0029135351069271564, 0.01593821682035923, 0.03443598747253418, 0.0016428343951702118 ]
719,887
ibm_platform_services.partner_usage_reports_v1
PartnerUsageReportsV1
The Partner Usage Reports V1 service.
class PartnerUsageReportsV1(BaseService): """The Partner Usage Reports V1 service.""" DEFAULT_SERVICE_URL = 'https://partner.cloud.ibm.com' DEFAULT_SERVICE_NAME = 'partner_usage_reports' @classmethod def new_instance( cls, service_name: str = DEFAULT_SERVICE_NAME, ) -> 'PartnerUsageReportsV1': """ Return a new client for the Partner Usage Reports service using the specified parameters and external configuration. """ authenticator = get_authenticator_from_environment(service_name) service = cls(authenticator) service.configure_service(service_name) return service def __init__( self, authenticator: Authenticator = None, ) -> None: """ Construct a new client for the Partner Usage Reports service. :param Authenticator authenticator: The authenticator specifies the authentication mechanism. Get up to date information from https://github.com/IBM/python-sdk-core/blob/main/README.md about initializing the authenticator of your choice. """ BaseService.__init__(self, service_url=self.DEFAULT_SERVICE_URL, authenticator=authenticator) ######################### # Partner Usage Reports ######################### def get_resource_usage_report( self, partner_id: str, *, reseller_id: Optional[str] = None, customer_id: Optional[str] = None, children: Optional[bool] = None, month: Optional[str] = None, viewpoint: Optional[str] = None, recurse: Optional[bool] = None, limit: Optional[int] = None, offset: Optional[str] = None, **kwargs, ) -> DetailedResponse: """ Get partner resource usage report. Returns the summary for the partner for a given month. Partner billing managers are authorized to access this report. :param str partner_id: Enterprise ID of the distributor or reseller for which the report is requested. :param str reseller_id: (optional) Enterprise ID of the reseller for which the report is requested. This parameter cannot be used along with `customer_id` query parameter. :param str customer_id: (optional) Enterprise ID of the child customer for which the report is requested. This parameter cannot be used along with `reseller_id` query parameter. :param bool children: (optional) Get report rolled-up to the direct children of the requested entity. Defaults to false. This parameter cannot be used along with `customer_id` query parameter. :param str month: (optional) The billing month for which the usage report is requested. Format is `yyyy-mm`. Defaults to current month. :param str viewpoint: (optional) Enables partner to view the cost of provisioned services as applicable at each level of the hierarchy. Defaults to the type of the calling partner. The valid values are `DISTRIBUTOR`, `RESELLER` and `END_CUSTOMER`. :param bool recurse: (optional) Get usage report rolled-up to the end customers of the requested entity. Defaults to false. This parameter cannot be used along with `reseller_id` query parameter or `customer_id` query parameter. :param int limit: (optional) Number of usage records to be returned. The default value is 30. Maximum value is 200. :param str offset: (optional) An opaque value representing the offset of the first item to be returned by a search query. If not specified, then the first page of results is returned. To retrieve the next page of search results, use the 'offset' query parameter value within the 'next.href' URL found within a prior search query response. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse with `dict` result representing a `PartnerUsageReportSummary` object """ if not partner_id: raise ValueError('partner_id must be provided') headers = {} sdk_headers = get_sdk_headers( service_name=self.DEFAULT_SERVICE_NAME, service_version='V1', operation_id='get_resource_usage_report', ) headers.update(sdk_headers) params = { 'partner_id': partner_id, 'reseller_id': reseller_id, 'customer_id': customer_id, 'children': children, 'month': month, 'viewpoint': viewpoint, 'recurse': recurse, 'limit': limit, 'offset': offset, } if 'headers' in kwargs: headers.update(kwargs.get('headers')) del kwargs['headers'] headers['Accept'] = 'application/json' url = '/v1/resource-usage-reports' request = self.prepare_request( method='GET', url=url, headers=headers, params=params, ) response = self.send(request, **kwargs) return response
(authenticator: ibm_cloud_sdk_core.authenticators.authenticator.Authenticator = None) -> None
[ -0.009877792559564114, -0.08721581101417542, -0.02463866025209427, 0.013862887397408485, -0.018415894359350204, -0.026910310611128807, -0.020639004185795784, -0.016018042340874672, -0.051646050065755844, -0.04022955521941185, 0.0004659794212784618, -0.0017547036986798048, 0.024192096665501595, -0.029240207746624947, -0.00959140993654728, 0.03465721756219864, 0.010571908205747604, -0.030832303687930107, 0.045161172747612, -0.0216292105615139, 0.0016964562237262726, 0.017095619812607765, 0.022405842319130898, 0.057431962341070175, 0.02209519036114216, 0.05607285723090172, 0.04951031133532524, -0.016416065394878387, 0.015571478754281998, 0.01155240647494793, -0.05747079476714134, 0.0195517186075449, -0.05230619013309479, 0.055412717163562775, -0.021337972953915596, 0.00276917964220047, 0.007450816687196493, 0.0008694641874171793, -0.1353670209646225, 0.07708076387643814, -0.0057325176894664764, 0.01680438220500946, 0.07991547137498856, -0.03980240598320961, -0.008280842565000057, 0.007246950641274452, -0.024658076465129852, 0.024289175868034363, 0.02671615220606327, -0.008305111899971962, 0.026541410014033318, 0.02359020709991455, -0.03690945357084274, 0.010931100696325302, -0.0030604167841374874, 0.003244867082685232, -0.00487822201102972, 0.021066151559352875, -0.008829339407384396, -0.006149957422167063, -0.0650041252374649, 0.0312594510614872, 0.016416065394878387, -0.0033589350059628487, -0.029647938907146454, -0.009402105584740639, -0.028851890936493874, 0.012329038232564926, -0.012930928729474545, 0.04360790550708771, 0.05044227093458176, 0.01288238912820816, -0.0022813575342297554, 0.013707560487091541, 0.08255601674318314, -0.01908574067056179, 0.045161172747612, -0.02322130650281906, -0.01796933077275753, -0.052345018833875656, 0.026793815195560455, 0.006936297751963139, 0.03756958991289139, -0.03471546620130539, 0.05688831955194473, 0.06302371621131897, 0.05156838893890381, -0.010406873188912868, -0.012571736238896847, 0.052500344812870026, -0.021862201392650604, 0.032948628067970276, -0.016920877620577812, 0.031667184084653854, 0.023143643513321877, -0.06865429878234863, -0.04997629299759865, -0.012280498631298542, -0.07731375098228455, 0.016260739415884018, -0.022697079926729202, -0.05378178879618645, -0.0512189045548439, 0.03436598181724548, 0.028444159775972366, -0.046986255794763565, -0.022502921521663666, 0.02910429798066616, 0.061819933354854584, 0.035589177161455154, -0.03296804428100586, 0.016920877620577812, -0.012552320025861263, -0.04372440278530121, -0.0226388331502676, 0.07397422939538956, -0.016707303002476692, -0.012105756439268589, 0.01401821430772543, -0.005557775031775236, -0.007994459010660648, -0.02279415912926197, 0.025143472477793694, -0.0216292105615139, -0.021066151559352875, -0.02230876497924328, -0.01823144406080246, 0.04384089633822441, 0.05813093110918999, 0.006018900778144598, 0.02797817997634411, -0.023143643513321877, 0.006276160012930632, 0.012552320025861263, 0.050170451402664185, 0.0014768149703741074, 0.01690146140754223, 0.02093024179339409, -0.06139278784394264, 0.04403505474328995, 0.027318043634295464, 0.03094879910349846, -0.04186048358678818, 0.0006734858616255224, 0.01121262926608324, 0.021435052156448364, 0.010232130996882915, 0.03131769970059395, -0.0959140956401825, -0.03817148134112358, -0.05929587781429291, -0.060926806181669235, -0.003555519971996546, -0.040035396814346313, -0.00937783531844616, 0.0055043818429112434, 0.008703135885298252, -0.02013419382274151, 0.025628866627812386, -0.020697252824902534, -0.016406359151005745, -0.028482992202043533, 0.02962852455675602, -0.016289863735437393, -0.03603574261069298, 0.006984837353229523, -0.08333265036344528, -0.04923849180340767, -0.05463608726859093, 0.001956142717972398, -0.016882045194506645, 0.007916796021163464, -0.048306532204151154, -0.0345795564353466, -0.04054020717740059, 0.018891582265496254, 0.07354708015918732, -0.0431419275701046, -0.034696049988269806, 0.060344334691762924, -0.0016964562237262726, -0.0431419275701046, -0.03716185688972473, -0.023823197931051254, -0.028696564957499504, -0.03923935070633888, 0.03195841982960701, -0.00753818778321147, 0.02718213200569153, 0.019959451630711555, 0.007421692833304405, 0.05999485030770302, 0.06861546635627747, 0.03747250884771347, -0.019794417545199394, -0.044229213148355484, 0.03467663377523422, 0.00597521523013711, -0.035297941416502, 0.00448019802570343, -0.02751220017671585, 0.09723436832427979, 0.029550861567258835, 0.014357990585267544, -0.008329382166266441, 0.009008935652673244, 0.01401821430772543, -0.042908936738967896, -0.0925745740532875, 0.026036599650979042, -0.005693685729056597, 0.0030676978640258312, -0.021240893751382828, -0.00009017733100336045, -0.013794932514429092, 0.07044055312871933, 0.05739312991499901, 0.009853523224592209, -0.002800730289891362, -0.0006589239928871393, 0.026056015864014626, -0.053393471986055374, 0.0005515303346328437, -0.045704811811447144, -0.04170515760779381, 0.013338660821318626, 0.02506580948829651, -0.022075774148106575, -0.015173454768955708, -0.053354643285274506, 0.010620446875691414, 0.014620103873312473, 0.06473230570554733, 0.05956770107150078, -0.06403333693742752, -0.0393364280462265, -0.0065382737666368484, -0.000797261658590287, -0.003803071565926075, 0.020017698407173157, 0.007853694260120392, 0.02708505280315876, 0.027784021571278572, 0.015299657359719276, -0.07199382036924362, -0.014785137958824635, -0.005761641077697277, 0.05529622361063957, 0.032579727470874786, -0.028075259178876877, 0.02331838570535183, -0.06042199581861496, -0.0011873980984091759, -0.013862887397408485, -0.014794846065342426, -0.07187732309103012, -0.03958883509039879, -0.02481340430676937, 0.04092852398753166, -0.014891925267875195, -0.016289863735437393, -0.017396563664078712, -0.06314020603895187, 0.019173111766576767, -0.0304828193038702, 0.015765637159347534, 0.003579789772629738, 0.0005239234887994826, 0.00982925295829773, 0.016678180545568466, 0.05296632647514343, 0.05374296009540558, 0.02481340430676937, -0.007984750904142857, -0.022541753947734833, 0.006014046724885702, 0.02739570662379265, -0.05735429748892784, -0.05226735770702362, 0.007591580972075462, -0.015600602142512798, -0.025318214669823647, 0.05362646281719208, 0.06244124099612236, 0.0432584211230278, -0.03698711469769478, 0.029434366151690483, -0.0005154290702193975, -0.04838419333100319, 0.003407474374398589, -0.015387028455734253, 0.0294149499386549, -0.011503866873681545, -0.05044227093458176, -0.0509859137237072, 0.04632611945271492, -0.0335116870701313, -0.04092852398753166, 0.022134022787213326, 0.006994544994086027, -0.05071409046649933, 0.03073522448539734, 0.04752989858388901, -0.017619846388697624, -0.0013093536254018545, -0.052228525280952454, 0.06492646783590317, -0.048151206225156784, 0.027803437784314156, -0.013435740023851395, -0.030172167345881462, 0.03642405569553375, 0.01966821402311325, -0.050053954124450684, -0.031395360827445984, -0.0015423432923853397, -0.007052792701870203, 0.021396221593022346, 0.055102065205574036, 0.06558660417795181, -0.029376119375228882, 0.05401477962732315, 0.0014464777195826173, -0.03349227085709572, 0.04430687427520752, 0.007737199775874615, 0.0021454468369483948, 0.07179965823888779, 0.01550352293998003, -0.023920277133584023, -0.02898780256509781, -0.062091756612062454, -0.013707560487091541, -0.013095962814986706, 0.0031016755383461714, -0.0626353994011879, 0.002747336868196726, -0.0827113464474678, -0.013464863412082195, 0.03556976094841957, 0.017901375889778137, -0.029647938907146454, -0.05385945364832878, 0.018910998478531837, -0.009125430136919022, -0.012367869727313519, 0.06597492098808289, -0.04271477833390236, 0.0050966497510671616, -0.00479570496827364, -0.023298969492316246, 0.01918281987309456, 0.03634639456868172, 0.07758557051420212, 0.02644433081150055, -0.034851375967264175, -0.028793644160032272, 0.010144759900867939, -0.006766409147530794, -0.01796933077275753, -0.05840275064110756, 0.022172853350639343, -0.013853179290890694, 0.044811684638261795, -0.0412391759455204, -0.0724986270070076, 0.01081460528075695, -0.008814777247607708, 0.06026666983962059, -0.027318043634295464, -0.04022955521941185, -0.03896752744913101, 0.0010806111386045814, 0.025318214669823647, 0.0005169459036551416, 0.038618043065071106, -0.04329725354909897, 0.01908574067056179, -0.06430515646934509, 0.011484450660645962, -0.013639605604112148, 0.030676977708935738, -0.04679209738969803, 0.031453609466552734, 0.06566426157951355, -0.0432584211230278, 0.016338402405381203, -0.025454124435782433, -0.02920137532055378, -0.007567311637103558, 0.02708505280315876, -0.001812951173633337, -0.03722010552883148, 0.03784140944480896, -0.00908659864217043, -0.06057732179760933, -0.024949314072728157, 0.0004805412609130144, -0.01092139258980751, -0.06647972762584686, 0.0029099443927407265, -0.025531789287924767, 0.04861718416213989, 0.009081744588911533, -0.010348626412451267, -0.04267594590783119, 0.06745051592588425, -0.08108041435480118, -0.012251375243067741, 0.06352852284908295, -0.009644802659749985, -0.04046254605054855, -0.03836563974618912, -0.013290121220052242, -0.0627518966794014, 0.024677492678165436, -0.012406702153384686, 0.06174227222800255, 0.06430515646934509, 0.034754298627376556, 0.02432800829410553, -0.03655996918678284, 0.02883247658610344, 0.018959537148475647, -0.004970447160303593, -0.040035396814346313, -0.05009278655052185, -0.018415894359350204, -0.0011073078494518995, -0.010649571195244789, 0.0551408976316452, 0.03184192627668381, -0.03597749397158623, -0.05444192886352539, -0.0011297573801130056, 0.018542097881436348, -0.015658849850296974, -0.009897208772599697, -0.02067783661186695, -0.006033462472259998, -0.00508694164454937, -0.038928695023059845, 0.02640550024807453, -0.027648111805319786, -0.012212543748319149, -0.015192870050668716, -0.0785563588142395, -0.042908936738967896, -0.015173454768955708, -0.03127886727452278, 0.02199811115860939, 0.0013433312997221947, 0.013028007932007313, -0.017949914559721947, -0.05828625708818436, -0.0748673602938652, 0.04500584304332733, -0.0014671070966869593, 0.03531735762953758, 0.020639004185795784, 0.01263969112187624, -0.006732431706041098, -0.008533247746527195, 0.018891582265496254, -0.0006607442628592253, 0.004526310600340366, -0.0019136706832796335, 0.004111297428607941, -0.007445962633937597, 0.007203265093266964, 0.008280842565000057, 0.017513059079647064, 0.017687801271677017, 0.028599485754966736, 0.0034730026964098215, 0.01892070472240448, -0.011406787671148777, 0.007509063929319382, -0.04092852398753166, 0.010707818903028965, 0.03805498406291008, 0.002820146270096302, 0.04387972876429558, -0.02910429798066616, 0.0002751584106590599, -0.03906460851430893, 0.0411226823925972, -0.010698110796511173, -0.06131512299180031, -0.00044565348071046174, -0.00490491883829236, 0.0205613411962986, -0.01675584353506565, 0.0374336801469326, -0.027686942368745804, 0.011853351257741451, 0.05385945364832878, 0.006761555559933186, 0.022658249363303185, 0.018250860273838043, 0.03673471137881279, -0.04081203043460846, 0.05529622361063957, -0.014629811979830265, 0.02126030996441841, 0.01875567063689232, -0.022405842319130898, 0.04228763282299042, 0.011931014247238636, 0.010911684483289719, -0.036288145929574966, 0.023027149960398674, 0.017309192568063736, 0.004232646431773901, -0.0304828193038702, 0.05063642933964729, -0.03162835165858269, 0.02819175459444523, 0.008334236219525337, -0.02803642861545086, 0.0073440298438072205, 0.045394159853458405, 0.000393473485019058, 0.012581444345414639, 0.0076401205733418465, -0.0011340045602992177, -0.029376119375228882, -0.040579039603471756, -0.02093024179339409, 0.018629468977451324, -0.00437341071665287, 0.021745705977082253, -0.03430773317813873, -0.07304227352142334, 0.030890552327036858, -0.006795533001422882, -0.09047766774892807, -0.0629848837852478, 0.016668472439050674, -0.009217655286192894, 0.031026462092995644, 0.009921478107571602, -0.0385015495121479, -0.07346942275762558, -0.040579039603471756, -0.02665790542960167, 0.02830824814736843, 0.010960224084556103, 0.04065670445561409, -0.05813093110918999, 0.08410928398370743, -0.02512405626475811, 0.060072511434555054, 0.027628695592284203, 0.030521651729941368, 0.07828453928232193, -0.005543213337659836, -0.02046426199376583, 0.016251031309366226, -0.0008542955620214343, -0.021765122190117836, 0.045161172747612, -0.029453782364726067, 0.00557719124481082, -0.005315077491104603, 0.016076289117336273, 0.03360876441001892, 0.04294776916503906, -0.04659793898463249, -0.0335116870701313, -0.0034778567496687174, -0.015416151843965054, -0.05564570799469948, 0.04648144543170929, -0.04391855746507645, 0.017415979877114296, 0.03259914368391037, -0.02411443367600441, 0.03510378301143646, 0.05238385125994682, 0.01041658129543066, 0.01897895336151123, -0.006625644862651825, -0.07983780652284622, -0.003033720189705491, 0.06578075885772705, 0.025958936661481857, -0.03417182341217995, 0.029609108343720436, 0.02083316259086132, -0.02910429798066616, -0.06764467805624008, 0.007183849345892668, -0.03900635987520218, -0.010610739700496197, 0.12628041207790375, -0.027686942368745804, -0.041627492755651474, 0.06748934835195541, 0.013824055902659893, -0.057587288320064545, 0.08496357500553131, 0.0006637779297307134, -0.009072036482393742, 0.05797560513019562, 0.01340661570429802, -0.04166632518172264, -0.0044923326931893826, -0.04054020717740059, 0.043219588696956635, -0.01467835158109665, -0.0008373067248612642, 0.03991890326142311, 0.005533505696803331, 0.02883247658610344, -0.022347595542669296, -0.03801615163683891, -0.004788423888385296, 0.025512373074889183, -0.018590636551380157, -0.011465035378932953, 0.059451207518577576, -0.014435653574764729, 0.03391941636800766, -0.07335292547941208, 0.06333436816930771, 0.01925077475607395, -0.04803470894694328, -0.0028250000905245543, 0.015649141743779182, -0.03110412508249283, 0.0255512036383152, 0.011863059364259243, 0.021085567772388458, 0.05261684209108353, -0.016726719215512276, 0.03865687549114227, 0.0008633967372588813, 0.02432800829410553, 0.00202773860655725, 0.030443988740444183, 0.04244295880198479, -0.00916911568492651, 0.005562629085034132, -0.042481787502765656, 0.05028694495558739, -0.0549079068005085, -0.057160139083862305, 0.05141306295990944, 0.039724744856357574, -0.06213058903813362, 0.022134022787213326, -0.005722809582948685, -0.014299742877483368, -0.018804211169481277, 0.06682921200990677, -0.0471804141998291, 0.02481340430676937, 0.02294948510825634, 0.0033346652053296566, -0.038928695023059845, -0.0025143472012132406, 0.05735429748892784, -0.044501032680273056, -0.015649141743779182, -0.011931014247238636, 0.04046254605054855, -0.041161514818668365, 0.024949314072728157, 0.02797817997634411, 0.053975947201251984, 0.017056787386536598, 0.04287010431289673, 0.0215709637850523, -0.019415808841586113, 0.005489819683134556, -0.0053247855976223946, -0.01208634115755558, 0.0038443300873041153, 0.022930070757865906, 0.012804726138710976, 0.011571821756660938, -0.04419038072228432, 0.07005223631858826, -0.0016491302521899343, -0.001792321796528995, 0.0314924418926239, -0.026580242440104485, -0.07708076387643814, -0.032890379428863525, 0.011125258170068264, -0.056422341614961624, 0.011057303287088871, -0.009392397478222847, 0.00445350119844079, 0.025687115266919136, -0.026483163237571716, -0.07269278913736343, -0.015095790848135948, 0.004805412609130144, 0.021376805379986763, -0.03533677011728287, 0.03011391870677471, 0.10740825533866882, -0.010494244284927845, 0.057587288320064545, 0.003647745121270418, -0.05129656568169594, 0.04752989858388901, -0.00280315731652081, 0.042326461523771286, 0.06446048617362976, 0.06616907566785812, -0.04780172184109688, -0.0035336771979928017, 0.012872681021690369, -0.05820859596133232, 0.027318043634295464, 0.003781228791922331, 0.012406702153384686, 0.009785567410290241, -0.00245245941914618, 0.03539501875638962, -0.0314924418926239, -0.007926504127681255, 0.05863574147224426, 0.013309536501765251, 0.029181960970163345, 0.017881959676742554, 0.022075774148106575, -0.02692972682416439, -0.01144561916589737, -0.047879382967948914, 0.0040554772131145, 0.06248007342219353, -0.055529214441776276, 0.006766409147530794, 0.03318161517381668, 0.016736427322030067, 0.005111211445182562, -0.016037458553910255, 0.02347371354699135, -0.04069553315639496, 0.015115207061171532, -0.047840554267168045, 0.05044227093458176, 0.04446220025420189, 0.021803952753543854, 0.01807611808180809, -0.04993746057152748, 0.027007389813661575, -0.04485051706433296, -0.02322130650281906, 0.070595882833004, -0.03184192627668381, -0.025745362043380737, 0.009625387378036976, 0.010455412790179253, 0.02405618689954281, -0.005038402508944273, 0.02607543021440506, -0.0017037371871992946, 0.009193385019898415, 0.021085567772388458, 0.012688230723142624, 0.06764467805624008, 0.02619192562997341, 0.0016940293135121465 ]
719,888
ibm_platform_services.partner_usage_reports_v1
__init__
Construct a new client for the Partner Usage Reports service. :param Authenticator authenticator: The authenticator specifies the authentication mechanism. Get up to date information from https://github.com/IBM/python-sdk-core/blob/main/README.md about initializing the authenticator of your choice.
def __init__( self, authenticator: Authenticator = None, ) -> None: """ Construct a new client for the Partner Usage Reports service. :param Authenticator authenticator: The authenticator specifies the authentication mechanism. Get up to date information from https://github.com/IBM/python-sdk-core/blob/main/README.md about initializing the authenticator of your choice. """ BaseService.__init__(self, service_url=self.DEFAULT_SERVICE_URL, authenticator=authenticator)
(self, authenticator: Optional[ibm_cloud_sdk_core.authenticators.authenticator.Authenticator] = None) -> NoneType
[ -0.03312767297029495, -0.07934728264808655, -0.011482572183012962, 0.006225000601261854, -0.022350329905748367, -0.027485841885209084, -0.002992701716721058, 0.01725098304450512, -0.0352795235812664, -0.005795534234493971, 0.0003447032067924738, 0.02258540503680706, -0.04046928510069847, -0.014927343465387821, -0.020379304885864258, 0.03714205324649811, -0.0004574380873236805, -0.017133444547653198, -0.00155172951053828, -0.06126449257135391, 0.01321852020919323, 0.017422769218683243, 0.020198477432131767, 0.055767327547073364, 0.024628760293126106, 0.07500741630792618, 0.0007289624772965908, -0.02365228906273842, -0.0009103554766625166, -0.008137255907058716, -0.012911112047731876, -0.0050948262214660645, -0.047702401876449585, 0.06361525505781174, 0.027431592345237732, -0.006247604265809059, -0.0018399239052087069, 0.008869608864188194, -0.09193290770053864, 0.04090327396988869, 0.0006306373397819698, -0.0025677562225610018, 0.0798536017537117, -0.029547279700636864, 0.004520697519183159, 0.0386248417198658, 0.022205667570233345, 0.008083007298409939, 0.03113856539130211, -0.007635458372533321, -0.04748540744185448, 0.02518932707607746, 0.0008527165628038347, 0.0076987482607364655, -0.05247625708580017, 0.03526144102215767, 0.033489327877759933, -0.001520084566436708, -0.07956428080797195, 0.03858867660164833, -0.08556776493787766, -0.023851200938224792, 0.018715688958764076, -0.01377908606082201, -0.0029565361328423023, -0.00010524749086471274, -0.03683464601635933, 0.015072005800902843, 0.008435621857643127, 0.018697604537010193, 0.08462745696306229, 0.0023417214397341013, -0.04781089723110199, -0.008720425888895988, 0.07450109720230103, -0.004534259904175997, 0.001356209279038012, 0.0028254359494894743, -0.017015906050801277, -0.008503432385623455, 0.013788127340376377, 0.007951906882226467, -0.0010086806723847985, 0.028299566358327866, 0.061409156769514084, 0.025912638753652573, 0.02813682146370411, -0.04159041866660118, -0.008874129503965378, 0.08274684846401215, -0.028643140569329262, 0.000604078231845051, -0.007603813428431749, 0.0005020799580961466, 0.0069483122788369656, -0.049402184784412384, -0.01989107020199299, -0.018444446846842766, -0.030089763924479485, 0.031753379851579666, -0.0010844023199751973, -0.02392353117465973, -0.01913159154355526, 0.005451961420476437, 0.020632464438676834, -0.02755817212164402, 0.000028395632398314774, -0.01344455499202013, 0.05077647417783737, 0.04455599561333656, 0.032639436423778534, 0.014864053577184677, -0.02406819351017475, 0.017196733504533768, -0.02594880387187004, 0.07023356109857559, 0.04296471178531647, -0.02433943562209606, 0.07081221044063568, 0.029366452246904373, -0.01794716902077198, -0.026400873437523842, -0.00647363904863596, 0.0031961333006620407, -0.0072240750305354595, -0.021500438451766968, -0.002918110229074955, 0.025659479200839996, 0.004701525438576937, -0.005967320874333382, 0.0609390027821064, -0.035369936376810074, 0.015153378248214722, -0.005646351259201765, 0.040179960429668427, 0.008227669633924961, 0.0377207025885582, 0.03679847717285156, -0.03701547160744667, 0.08535077422857285, -0.001387854223139584, 0.027178434655070305, -0.044700659811496735, 0.03155446797609329, -0.005691558122634888, 0.05019782483577728, -0.036274079233407974, 0.0038222498260438442, -0.03728671371936798, -0.0023507627192884684, -0.05862440541386604, -0.0308673232793808, -0.0015166940866038203, -0.02424902282655239, 0.00701160216704011, 0.012070262804627419, 0.006704194471240044, -0.05677996203303337, 0.026003053411841393, -0.03307342529296875, -0.0014771379064768553, -0.042422227561473846, 0.06292811036109924, -0.04198823869228363, -0.016844119876623154, 0.017196733504533768, -0.07536906749010086, -0.04086710512638092, -0.052801746875047684, 0.0041884263046085835, -0.025171244516968727, -0.03970980644226074, -0.06817211955785751, -0.06318127363920212, 0.019872987642884254, -0.0008996188407763839, 0.08571242541074753, 0.007508878596127033, -0.026111548766493797, 0.046436607837677, 0.014610894955694675, 0.006057734601199627, -0.025388237088918686, -0.014800763688981533, 0.01344455499202013, -0.02043355256319046, 0.06817211955785751, 0.011473530903458595, 0.028606975451111794, 0.0006425041356123984, -0.0010035948362201452, 0.05092113837599754, 0.022639654576778412, 0.050161659717559814, -0.014547605067491531, -0.034212641417980194, 0.04708758741617203, -0.023182136937975883, -0.05345273017883301, 0.035243358463048935, -0.01794716902077198, 0.08875033259391785, 0.005027015693485737, 0.011401199735701084, 0.04332636669278145, 0.0176126379519701, 0.011157081462442875, -0.046762097626924515, -0.061951640993356705, -0.010578432120382786, -0.010189652442932129, -0.0411202646791935, 0.009927451610565186, 0.003939787857234478, -0.04571329429745674, 0.05732244625687599, 0.057828765362501144, 0.005687037482857704, 0.009181536734104156, 0.037178218364715576, 0.06224096566438675, 0.014113618060946465, 0.03486362099647522, -0.06708715111017227, -0.019728325307369232, 0.033181920647621155, 0.011175164952874184, -0.0343211367726326, -0.04932985082268715, -0.04386885091662407, 0.004778377246111631, 0.03388714790344238, 0.0041138348169624805, 0.058190420269966125, -0.035514600574970245, -0.06574902683496475, -0.017024947330355644, -0.015108171850442886, -0.061589986085891724, 0.024303270503878593, 0.03956514596939087, 0.06882309913635254, 0.02822723612189293, 0.03518911078572273, -0.06538736820220947, -0.011057626456022263, -0.023959698155522346, 0.012956319376826286, 0.049583010375499725, 0.008679739199578762, -0.01895076408982277, -0.04028845578432083, -0.030306756496429443, -0.027088019996881485, 0.009095643647015095, -0.03359782323241234, -0.07558606564998627, -0.023941613733768463, 0.046436607837677, 0.009321678429841995, -0.0232183039188385, 0.018335949629545212, -0.039637476205825806, 0.035333771258592606, 0.004941122606396675, 0.011880393140017986, 0.0154336616396904, -0.005528813228011131, 0.07500741630792618, 0.003144145244732499, 0.1168871596455574, 0.040758609771728516, 0.04325403645634651, 0.0007159654633142054, -0.026961440220475197, -0.04166274890303612, 0.013806210830807686, -0.00702516408637166, -0.05630980804562569, 0.017865797504782677, 0.008431101217865944, 0.010225818492472172, 0.044881485402584076, 0.06549586355686188, -0.00018690258730202913, -0.018498694524168968, 0.021428106352686882, -0.009466340765357018, -0.04068627953529358, -0.012043138034641743, 0.012513291090726852, 0.04784706234931946, 0.03135555982589722, -0.04238606244325638, -0.0176126379519701, -0.007983552291989326, -0.00880631897598505, -0.047159917652606964, 0.0026943357661366463, -0.03710588440299034, -0.020108062773942947, 0.02110261656343937, 0.019655993208289146, 0.00956579577177763, -0.004697004798799753, -0.03471895679831505, 0.018571026623249054, 0.010587473399937153, -0.011654358357191086, -0.01068692933768034, -0.005451961420476437, 0.030397171154618263, -0.02370653860270977, -0.033055342733860016, 0.0058723860420286655, 0.047702401876449585, 0.01015348732471466, -0.049040526151657104, 0.02334488183259964, 0.04289237782359123, -0.04278388246893883, 0.05287408083677292, -0.006889543030411005, -0.04296471178531647, -0.022639654576778412, -0.0029565361328423023, 0.011437364853918552, 0.08354248851537704, -0.014619936235249043, -0.006817211862653494, -0.0506318137049675, -0.009330719709396362, -0.009737582877278328, -0.015298040583729744, -0.05265708640217781, -0.07500741630792618, 0.01576819270849228, -0.08035992085933685, -0.04484532028436661, -0.0024818629026412964, 0.029420699924230576, -0.06578519195318222, -0.04477299004793167, 0.046942923218011856, -0.0206143818795681, -0.003824510145932436, 0.01658191904425621, -0.0705590471625328, 0.03491786867380142, -0.07019739598035812, -0.010695970617234707, 0.046183448284864426, 0.013209477998316288, 0.0694379135966301, 0.024230938404798508, 0.00735065434128046, -0.030234426259994507, 0.005194281693547964, -0.020722877234220505, -0.027901746332645416, -0.02222375012934208, 0.02155468612909317, 0.001429670606739819, 0.03544227033853531, -0.07551373541355133, -0.050306323915719986, 0.03706971928477287, -0.014791722409427166, 0.06314510107040405, 0.02482767216861248, -0.005524292588233948, -0.07500741630792618, 0.010759260505437851, 0.036925058811903, -0.007721351459622383, 0.027540089562535286, -0.04444750025868416, 0.0071924300864338875, -0.06426623463630676, 0.009140850976109505, -0.033181920647621155, 0.0558396577835083, -0.014990633353590965, 0.04969150945544243, 0.02952919714152813, -0.034429632127285004, -0.006225000601261854, 0.012784533202648163, 0.02616579830646515, 0.04007146507501602, -0.01700686477124691, -0.02634662576019764, -0.015397496521472931, 0.012233007699251175, 0.00534346466884017, -0.047159917652606964, -0.05815425515174866, -0.019619828090071678, -0.0040844501927495, -0.03819085285067558, 0.04517081007361412, -0.023995863273739815, 0.08752070367336273, 0.015659697353839874, -0.015270916745066643, 0.003736356506124139, 0.03540610522031784, -0.07077604532241821, 0.03140980750322342, 0.0012364108115434647, -0.010524184443056583, -0.005772931035608053, -0.011744772084057331, -0.008856046944856644, -0.04517081007361412, 0.013806210830807686, -0.08216819912195206, 0.013534968718886375, 0.03848017752170563, 0.00917249545454979, 0.007513399235904217, -0.015135295689105988, 0.016681374981999397, 0.023001309484243393, -0.010967212729156017, 0.00798807293176651, -0.026238128542900085, 0.009267429821193218, 0.03453813120722771, -0.05489935353398323, 0.031789544969797134, 0.05319957062602043, 0.02943878248333931, -0.05717778205871582, -0.010343356058001518, 0.05811809003353119, -0.06086667254567146, -0.01603943482041359, -0.005542375147342682, -0.030758826062083244, -0.03643682226538658, -0.07341612875461578, -0.007671623956412077, -0.04741307720541954, 0.02383311837911606, -0.028643140569329262, -0.08679739385843277, 0.0030198260210454464, 0.036002837121486664, -0.01712440326809883, 0.04003529995679855, -0.04629194363951683, 0.024032028391957283, -0.014086494222283363, -0.048064056783914566, -0.05544183403253555, 0.039456650614738464, 0.019963400438427925, 0.02746775932610035, 0.0012544936034828424, 0.007508878596127033, -0.024538347497582436, 0.01167244091629982, -0.029420699924230576, 0.01904117874801159, 0.017558390274643898, 0.00555593753233552, 0.02285664714872837, -0.019077343866229057, 0.006026090122759342, 0.005225926637649536, 0.02531590685248375, 0.026654032990336418, 0.03793769329786301, 0.01564161293208599, 0.0437241867184639, 0.021988673135638237, -0.016527671366930008, -0.06466405838727951, 0.01985490322113037, 0.013299892656505108, -0.0006142497877590358, 0.012016014195978642, 0.013336057774722576, -0.03696122393012047, -0.011157081462442875, -0.019276253879070282, -0.02527974173426628, 0.00961100310087204, -0.022838564589619637, 0.013137147761881351, 0.09337952733039856, -0.0219163428992033, 0.036364492028951645, 0.06979957222938538, 0.029565362259745598, 0.06618301570415497, 0.01420403178781271, 0.02486383728682995, 0.047883227467536926, 0.02307364158332348, -0.04220523312687874, 0.044881485402584076, -0.030722660943865776, 0.0558396577835083, -0.00919961929321289, -0.08752070367336273, 0.033181920647621155, 0.01651862822473049, 0.027666669338941574, 0.027503924444317818, -0.006315414793789387, -0.011256537400186062, -0.032512858510017395, -0.02716035209596157, 0.013887583278119564, -0.05515250936150551, -0.027666669338941574, -0.040216125547885895, -0.02477342262864113, 0.0011482571717351675, 0.025912638753652573, -0.02424902282655239, 0.0037137530744075775, 0.006835294887423515, -0.03482745587825775, -0.02401394583284855, -0.03621982783079147, -0.0023349402472376823, 0.003105719340965152, 0.005198802333325148, 0.013091940432786942, -0.02804640866816044, -0.04791939631104469, 0.01512625440955162, 0.017956210300326347, -0.1148618832230568, -0.05432070419192314, 0.04535163938999176, -0.04502614960074425, 0.029764272272586823, 0.028661223128437996, -0.032458607107400894, -0.05092113837599754, -0.005316340364515781, -0.021500438451766968, -0.043543361127376556, -0.02070479467511177, 0.009574837982654572, -0.022513074800372124, 0.08903966099023819, -0.019999565556645393, 0.0038019067142158747, 0.0037883445620536804, -0.028389981016516685, 0.058769069612026215, 0.039275821298360825, -0.0472322478890419, 0.027847496792674065, 0.0021021245047450066, -0.006903105415403843, 0.021138781681656837, -0.0480278916656971, 0.014231156557798386, 0.031789544969797134, -0.009719500318169594, 0.021627018228173256, -0.010352397337555885, -0.0651342123746872, -0.008788236416876316, -0.00044839669135399163, -0.026762530207633972, -0.030270591378211975, 0.0876653715968132, -0.07978127151727676, 0.021699348464608192, 0.02070479467511177, -0.0011719908798113465, 0.0394204817712307, -0.002163153840228915, 0.0001298994175158441, 0.024809587746858597, -0.029927019029855728, -0.08527843654155731, -0.014954467304050922, 0.04390501603484154, -0.013381265103816986, -0.06477255374193192, -0.006306373048573732, -0.014565687626600266, -0.03804619237780571, -0.08079390972852707, 0.0025044665671885014, -0.024357518181204796, -0.04441133514046669, 0.06379608809947968, -0.006925708614289761, -0.035641178488731384, 0.06679783016443253, 0.0308673232793808, -0.03321808576583862, 0.08484445512294769, -0.000988902640528977, 0.017666885629296303, 0.06328976899385452, -0.016021352261304855, -0.06640000641345978, 0.005366067867726088, -0.04220523312687874, 0.032675601541996, -0.007346133701503277, 0.02361612394452095, 0.007056809030473232, -0.009082081727683544, 0.012965360656380653, -0.00637418357655406, -0.021970590576529503, 0.014032245613634586, 0.01998148299753666, 0.026111548766493797, 0.011392158456146717, 0.02540632151067257, -0.009556754492223263, 0.04466449096798897, -0.07403094321489334, 0.00830904208123684, 0.031879961490631104, -0.05847974494099617, 0.002680773613974452, -0.011274619959294796, -0.02316405437886715, 0.018290743231773376, -0.02133769355714321, 0.006889543030411005, 0.05399521067738533, 0.0005755413440056145, 0.048461876809597015, -0.016807952895760536, 0.04759390279650688, 0.008887691423296928, -0.010668846778571606, 0.004235893487930298, 0.02218758314847946, -0.00788409635424614, -0.018968846648931503, 0.0368708111345768, -0.0764540359377861, -0.049185190349817276, 0.026852943003177643, 0.04332636669278145, -0.039239656180143356, 0.02876972034573555, 0.007468192372471094, -0.007508878596127033, -0.031879961490631104, -0.008060404099524021, -0.028172988444566727, 0.06347059458494186, 0.013327016495168209, 0.009167974814772606, -0.031879961490631104, 0.024484097957611084, 0.059709373861551285, 0.021030284464359283, 0.008837963454425335, -0.03793769329786301, 0.004285621456801891, -0.036274079233407974, 0.04065011441707611, 0.02195250801742077, 0.038733337074518204, 0.05641830712556839, 0.0010431510163471103, 0.046400438994169235, -0.007508878596127033, -0.011193247511982918, 0.00539771281182766, -0.03131939470767975, 0.0481363870203495, 0.021536603569984436, -0.03753987327218056, -0.010234859772026539, -0.006152669433504343, 0.009981700219213963, -0.0030288673005998135, 0.005488127004355192, 0.06419390439987183, 0.018806101754307747, -0.08773770183324814, -0.06907626241445541, -0.0206143818795681, -0.05880523473024368, -0.0034515527077019215, -0.015569282695651054, -0.00010538876085774973, 0.037973858416080475, -0.024411767721176147, -0.11558520048856735, 0.0008182462770491838, 0.003964651841670275, 0.04517081007361412, -0.010379522107541561, -0.005253050476312637, 0.07920262217521667, -0.003413126803934574, 0.0411202646791935, 0.012305338867008686, -0.03920349106192589, 0.04343486204743385, -0.026690198108553886, 0.04860654100775719, 0.04386885091662407, 0.05247625708580017, -0.03191612660884857, 0.017377560958266258, 0.035424187779426575, -0.06278344988822937, 0.0447368249297142, -0.009059477597475052, -0.02249499224126339, 0.01221492514014244, -0.001445493078790605, 0.03547843545675278, -0.040360789746046066, 0.04907669499516487, 0.023453379049897194, -0.05681612715125084, -0.0018659179331734776, 0.0005325946840457618, 0.02625621110200882, -0.025966886430978775, -0.0352795235812664, -0.07128235697746277, 0.044122010469436646, 0.014158825390040874, -0.03710588440299034, 0.02271198481321335, 0.038914166390895844, 0.04705142229795456, 0.013733879663050175, -0.029456865042448044, 0.019149675965309143, -0.013688672333955765, 0.039637476205825806, -0.03244052454829216, 0.05178911238908768, 0.03473703935742378, -0.04585795849561691, 0.01922200620174408, 0.003912664018571377, -0.0051581161096692085, -0.0150087159126997, -0.051644448190927505, 0.052801746875047684, -0.04477299004793167, -0.054610028862953186, 0.016771787777543068, 0.019782572984695435, 0.0018998231971636415, -0.0071472227573394775, -0.004986329469829798, -0.014891178347170353, 0.054827019572257996, -0.03634640946984291, 0.0056101856753230095, 0.057250116020441055, 0.035605013370513916, -0.01646438054740429 ]
719,900
ibm_platform_services.partner_usage_reports_v1
get_resource_usage_report
Get partner resource usage report. Returns the summary for the partner for a given month. Partner billing managers are authorized to access this report. :param str partner_id: Enterprise ID of the distributor or reseller for which the report is requested. :param str reseller_id: (optional) Enterprise ID of the reseller for which the report is requested. This parameter cannot be used along with `customer_id` query parameter. :param str customer_id: (optional) Enterprise ID of the child customer for which the report is requested. This parameter cannot be used along with `reseller_id` query parameter. :param bool children: (optional) Get report rolled-up to the direct children of the requested entity. Defaults to false. This parameter cannot be used along with `customer_id` query parameter. :param str month: (optional) The billing month for which the usage report is requested. Format is `yyyy-mm`. Defaults to current month. :param str viewpoint: (optional) Enables partner to view the cost of provisioned services as applicable at each level of the hierarchy. Defaults to the type of the calling partner. The valid values are `DISTRIBUTOR`, `RESELLER` and `END_CUSTOMER`. :param bool recurse: (optional) Get usage report rolled-up to the end customers of the requested entity. Defaults to false. This parameter cannot be used along with `reseller_id` query parameter or `customer_id` query parameter. :param int limit: (optional) Number of usage records to be returned. The default value is 30. Maximum value is 200. :param str offset: (optional) An opaque value representing the offset of the first item to be returned by a search query. If not specified, then the first page of results is returned. To retrieve the next page of search results, use the 'offset' query parameter value within the 'next.href' URL found within a prior search query response. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse with `dict` result representing a `PartnerUsageReportSummary` object
def get_resource_usage_report( self, partner_id: str, *, reseller_id: Optional[str] = None, customer_id: Optional[str] = None, children: Optional[bool] = None, month: Optional[str] = None, viewpoint: Optional[str] = None, recurse: Optional[bool] = None, limit: Optional[int] = None, offset: Optional[str] = None, **kwargs, ) -> DetailedResponse: """ Get partner resource usage report. Returns the summary for the partner for a given month. Partner billing managers are authorized to access this report. :param str partner_id: Enterprise ID of the distributor or reseller for which the report is requested. :param str reseller_id: (optional) Enterprise ID of the reseller for which the report is requested. This parameter cannot be used along with `customer_id` query parameter. :param str customer_id: (optional) Enterprise ID of the child customer for which the report is requested. This parameter cannot be used along with `reseller_id` query parameter. :param bool children: (optional) Get report rolled-up to the direct children of the requested entity. Defaults to false. This parameter cannot be used along with `customer_id` query parameter. :param str month: (optional) The billing month for which the usage report is requested. Format is `yyyy-mm`. Defaults to current month. :param str viewpoint: (optional) Enables partner to view the cost of provisioned services as applicable at each level of the hierarchy. Defaults to the type of the calling partner. The valid values are `DISTRIBUTOR`, `RESELLER` and `END_CUSTOMER`. :param bool recurse: (optional) Get usage report rolled-up to the end customers of the requested entity. Defaults to false. This parameter cannot be used along with `reseller_id` query parameter or `customer_id` query parameter. :param int limit: (optional) Number of usage records to be returned. The default value is 30. Maximum value is 200. :param str offset: (optional) An opaque value representing the offset of the first item to be returned by a search query. If not specified, then the first page of results is returned. To retrieve the next page of search results, use the 'offset' query parameter value within the 'next.href' URL found within a prior search query response. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse with `dict` result representing a `PartnerUsageReportSummary` object """ if not partner_id: raise ValueError('partner_id must be provided') headers = {} sdk_headers = get_sdk_headers( service_name=self.DEFAULT_SERVICE_NAME, service_version='V1', operation_id='get_resource_usage_report', ) headers.update(sdk_headers) params = { 'partner_id': partner_id, 'reseller_id': reseller_id, 'customer_id': customer_id, 'children': children, 'month': month, 'viewpoint': viewpoint, 'recurse': recurse, 'limit': limit, 'offset': offset, } if 'headers' in kwargs: headers.update(kwargs.get('headers')) del kwargs['headers'] headers['Accept'] = 'application/json' url = '/v1/resource-usage-reports' request = self.prepare_request( method='GET', url=url, headers=headers, params=params, ) response = self.send(request, **kwargs) return response
(self, partner_id: str, *, reseller_id: Optional[str] = None, customer_id: Optional[str] = None, children: Optional[bool] = None, month: Optional[str] = None, viewpoint: Optional[str] = None, recurse: Optional[bool] = None, limit: Optional[int] = None, offset: Optional[str] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
[ -0.05030149593949318, -0.03616567328572273, 0.008017947897315025, 0.020910000428557396, -0.036918360739946365, -0.022727463394403458, 0.0245265681296587, -0.009830821305513382, -0.08349313586950302, -0.03965373337268829, 0.015815597027540207, 0.049530450254678726, 0.039690449833869934, -0.00487869419157505, 0.005108171608299017, 0.025040598586201668, -0.019716717302799225, -0.033375225961208344, 0.0364043302834034, 0.013254627585411072, 0.012116418220102787, -0.02223179116845131, -0.00416042935103178, 0.04795164242386818, 0.004444981459528208, 0.0637764185667038, 0.05775492638349533, -0.009426940232515335, -0.009229590184986591, 0.03267761319875717, -0.04629940539598465, 0.02124044857919216, -0.03581686690449715, 0.048906270414590836, -0.0653185099363327, 0.030492985621094704, -0.019771791994571686, 0.009078134782612324, -0.12769970297813416, 0.07266179472208023, -0.0093948133289814, 0.03181477636098862, 0.034054480493068695, -0.05426686629652977, -0.020230747759342194, -0.006338171660900116, 0.0079950001090765, -0.006260149646550417, -0.004070932976901531, -0.046556420624256134, 0.03464194014668465, 0.03080507554113865, -0.04593224078416824, 0.02175447903573513, 0.03844209015369415, -0.008270373567938805, -0.03763432800769806, 0.043839406222105026, 0.028253285214304924, -0.014750821515917778, -0.06157343462109566, 0.04046149551868439, 0.0020905411802232265, 0.011666642501950264, -0.04416985064744949, -0.029262986034154892, -0.014952762052416801, -0.013548358343541622, -0.03557820990681648, 0.02621552348136902, 0.01945970207452774, 0.0584525391459465, 0.01145552285015583, -0.0035729664377868176, 0.05026477947831154, -0.044794030487537384, 0.047143880277872086, -0.019606567919254303, -0.006865970324724913, -0.03936000168323517, 0.048942986875772476, 0.023204777389764786, 0.027555672451853752, -0.0410122387111187, 0.020836567506194115, 0.02918955311179161, 0.033962689340114594, -0.05584567412734032, -0.02968522533774376, 0.048906270414590836, -0.011749254539608955, 0.011859402991831303, -0.03811164200305939, 0.011207686737179756, -0.002762910444289446, -0.05103582143783569, -0.02344343438744545, 0.0037519591860473156, -0.05217403173446655, 0.009247948415577412, -0.014704925939440727, -0.07207433134317398, -0.06373970210552216, 0.03328343480825424, 0.04956716671586037, -0.037928059697151184, -0.02228686586022377, 0.03434820845723152, 0.024746866896748543, 0.01828477717936039, -0.00883947778493166, 0.008045485243201256, -0.039213135838508606, -0.01654074713587761, -0.021919703111052513, 0.06869641691446304, -0.05779164284467697, -0.03546806052327156, 0.0026986568700522184, -0.014961941167712212, 0.014778358861804008, -0.00616376893594861, -0.0019149907166138291, -0.0366797037422657, -0.046666570007801056, -0.03148432821035385, -0.018982388079166412, 0.06153671815991402, 0.051182687282562256, 0.033962689340114594, 0.00415125023573637, -0.014062388800084591, 0.01229082141071558, 0.017018061131238937, 0.013943060301244259, 0.03814835846424103, 0.057461194694042206, 0.042077016085386276, -0.036973435431718826, 0.012970075011253357, 0.019110895693302155, 0.051109254360198975, -0.013686045072972775, -0.007361642085015774, 0.04497761279344559, -0.019790150225162506, 0.010344850830733776, 0.056910447776317596, -0.0686597004532814, 0.006507985293865204, -0.04710716754198074, -0.055074628442525864, 0.04053492844104767, -0.011125074699521065, 0.0114279855042696, 0.008747686631977558, 0.02124044857919216, 0.006962351035326719, 0.014952762052416801, 0.0005926259327679873, 0.004346305970102549, -0.07049552351236343, 0.038515523076057434, -0.0035362502094358206, -0.00416042935103178, -0.011547314003109932, -0.038625672459602356, -0.05415671691298485, -0.03723045065999031, -0.010840523056685925, -0.008440187200903893, -0.02050611935555935, -0.038552239537239075, -0.02852865681052208, -0.04846567288041115, 0.016219478100538254, 0.05988448113203049, -0.06131641939282417, -0.05301851034164429, 0.048942986875772476, 0.01405320968478918, -0.05841582268476486, 0.01509044785052538, -0.014787537977099419, -0.023700447753071785, -0.07563582062721252, 0.03958030045032501, -0.03807492554187775, 0.009330560453236103, 0.006356529891490936, 0.010519254021346569, 0.06307880580425262, 0.023149702697992325, 0.04409641772508621, -0.03836865723133087, -0.04960388317704201, 0.032310448586940765, 0.01398895587772131, -0.009059776552021503, -0.014594776555895805, -0.028877463191747665, 0.08018866181373596, 0.022654030472040176, 0.03137417882680893, -0.03721209242939949, 0.04505104571580887, -0.004217798821628094, -0.03500910475850105, -0.05188030004501343, 0.04795164242386818, 0.02918955311179161, -0.0031254852656275034, -0.015485149808228016, 0.013686045072972775, -0.03497238829731941, 0.08532895892858505, 0.018734551966190338, 0.025462836027145386, -0.020744776353240013, 0.0033526679035276175, -0.00027795476489700377, -0.052247464656829834, 0.005121940281242132, -0.03355880826711655, -0.023021195083856583, -0.025260895490646362, -0.0037267166189849377, -0.02906104549765587, -0.03091522492468357, -0.05103582143783569, -0.0032815299928188324, -0.015310746617615223, 0.07908716797828674, 0.06175701692700386, -0.05147641897201538, -0.020451044663786888, -0.03271432965993881, 0.006498806178569794, 0.0007217071251943707, 0.016118507832288742, -0.015641193836927414, -0.015283209271728992, 0.008017947897315025, -0.01652238890528679, -0.03618403151631355, 0.00858705211430788, -0.020267464220523834, 0.06664030253887177, 0.01315365731716156, -0.0467032864689827, 0.031759701669216156, -0.02689477615058422, -0.005539589561522007, -0.03186985105276108, -0.0009362687123939395, -0.025976866483688354, -0.025848358869552612, -0.052357614040374756, 0.04163641855120659, -0.01890895515680313, 0.01894567161798477, -0.028638806194067, -0.05892985314130783, -0.01509044785052538, -0.02685805968940258, -0.026747912168502808, -0.003093358362093568, 0.006388656795024872, -0.020451044663786888, 0.0070954482071101665, -0.01890895515680313, 0.05265134572982788, 0.012942537665367126, 0.008196940645575523, -0.044206567108631134, 0.008798171766102314, 0.04798835888504982, -0.05430358275771141, 0.027317015454173088, 0.010363209061324596, -0.0400208979845047, -0.01824806071817875, 0.037395671010017395, 0.07464448362588882, 0.02219507470726967, -0.013943060301244259, 0.020267464220523834, 0.006723694037646055, -0.08209791034460068, 0.02632567286491394, 0.00455513084307313, 0.008564104326069355, -0.02634403109550476, -0.02395746298134327, -0.03133746236562729, 0.03647776320576668, -0.018128732219338417, -0.04784149304032326, 0.0302176121622324, 0.03701015189290047, -0.06568567454814911, 0.016953807324171066, 0.0364043302834034, -0.012988433241844177, 0.02230522409081459, -0.021258806809782982, 0.07343284040689468, -0.053422391414642334, 0.04126925393939018, -0.011969552375376225, -0.017935970798134804, 0.025242537260055542, 0.036881644278764725, -0.034513432532548904, -0.021552538499236107, -0.029318060725927353, -0.012878283858299255, 0.028767313808202744, 0.04982418194413185, 0.060802388936281204, 0.014548880979418755, 0.03159447759389877, 0.030419552698731422, -0.01598082110285759, 0.05077880620956421, -0.008853246457874775, 0.0007492444128729403, 0.06458418071269989, 0.0033618470188230276, -0.024104328826069832, -0.014117463491857052, -0.09766567498445511, -0.012015447951853275, -0.01666007563471794, -0.002337229438126087, 0.004364664200693369, 0.018036941066384315, -0.06003134697675705, 0.011593209579586983, 0.0898817926645279, 0.04982418194413185, -0.001394076505675912, -0.028859104961156845, 0.032310448586940765, 0.014668209478259087, 0.005837910808622837, 0.08055582642555237, -0.04244418069720268, 0.026656121015548706, 0.0014548881445080042, -0.05529492720961571, 0.007972052320837975, 0.022121641784906387, 0.025940150022506714, -0.00036372203612700105, -0.041930150240659714, -0.025389403104782104, 0.032824479043483734, -0.02689477615058422, 0.008357575163245201, -0.08606328815221786, 0.008288731798529625, 0.001838115742430091, 0.038038209080696106, -0.016421418637037277, -0.05779164284467697, -0.016210298985242844, -0.0076002986170351505, 0.04046149551868439, -0.020726418122649193, -0.04916328564286232, -0.02513238973915577, -0.00012614097795449197, 0.03544970229268074, 0.005154067184776068, 0.01887223869562149, -0.0411958210170269, 0.03811164200305939, -0.027867762371897697, -0.011262761428952217, -0.022617314010858536, 0.041489552706480026, -0.017256716266274452, 0.006994477938860655, 0.036844927817583084, -0.01885388046503067, 0.00968395546078682, -0.012345896102488041, -0.06737463176250458, -0.020671343430876732, 0.0165315680205822, 0.0013286754256114364, -0.025279253721237183, 0.031208956614136696, -0.00429352605715394, -0.05316537618637085, 0.027812687680125237, -0.012042985297739506, -0.029446568340063095, -0.04875940456986427, 0.0058057839050889015, -0.028877463191747665, 0.009312202222645283, -0.0036578732542693615, -0.005879216827452183, -0.03196164220571518, 0.08195104449987411, -0.07159701734781265, -0.01890895515680313, 0.03209014981985092, 0.015788059681653976, -0.03087850846350193, -0.03600044921040535, 0.027170149609446526, -0.044206567108631134, 0.02002880722284317, 0.003951604478061199, 0.0584525391459465, 0.07284537702798843, 0.0023521455004811287, 0.04185671731829643, -0.05206388235092163, 0.012015447951853275, 0.0025839179288595915, -0.01707313396036625, -0.0629686564207077, -0.03928656876087189, -0.03704686835408211, 0.017899254336953163, -0.011896119453012943, 0.062087465077638626, -0.011014925315976143, -0.026747912168502808, -0.01995537430047989, 0.010409104637801647, -0.009931791573762894, 0.017559627071022987, 0.03240223973989487, -0.033522091805934906, 0.0032746456563472748, 0.022103283554315567, -0.033485375344753265, 0.051770150661468506, -0.03420134261250496, -0.02217671647667885, 0.005782836116850376, -0.048796121031045914, -0.036239106208086014, -0.0527614951133728, -0.05096238851547241, 0.05147641897201538, 0.027096716687083244, 0.006732873152941465, -0.006021492648869753, -0.07820597290992737, -0.062087465077638626, 0.03392597287893295, -0.03194328397512436, 0.006191306281834841, 0.03086015023291111, 0.005663507618010044, -0.012566194869577885, -0.010427462868392467, 0.00655847042798996, -0.0011341931531205773, -0.003650988917797804, -0.03888268768787384, -0.038038209080696106, 0.006700746715068817, -0.009436119347810745, -0.0049475375562906265, 0.017963508144021034, -0.009298433549702168, 0.05731432884931564, 0.027206866070628166, 0.019863583147525787, -0.019716717302799225, 0.012823209166526794, -0.035155970603227615, 0.0400208979845047, 0.03486223891377449, 0.013364776968955994, 0.03943343460559845, -0.03664298728108406, 0.01991865783929825, -0.04508776217699051, -0.010289776138961315, 0.023810597136616707, -0.07982149720191956, 0.0637764185667038, -0.004979664459824562, 0.004759365692734718, -0.018578508868813515, -0.006815485190600157, -0.048869553953409195, 0.03840537369251251, 0.04692358523607254, -0.0004276889085303992, 0.0018289366271346807, 0.007903208956122398, 0.04817194119095802, -0.05621283873915672, 0.08540239185094833, -0.01345656719058752, -0.011611567810177803, 0.023039553314447403, 0.0031622014939785004, 0.035633284598588943, 0.01773403026163578, 0.016467314213514328, -0.006342761218547821, 0.027537314221262932, 0.011804328300058842, 0.025334328413009644, -0.017935970798134804, 0.059186868369579315, -0.00229133409447968, 0.03210850805044174, 0.00745802279561758, -0.046556420624256134, 0.01828477717936039, 0.09157074987888336, 0.04809850826859474, 0.021864628419280052, 0.02860208973288536, 0.007820596918463707, -0.03618403151631355, -0.01995537430047989, -0.017899254336953163, -0.003038283670321107, -0.008743097074329853, 0.021277165040373802, -0.041966866701841354, -0.07042209059000015, 0.02278253808617592, -0.004220093600451946, -0.0820244774222374, -0.03675313666462898, 0.015457612462341785, 0.03199835866689682, 0.027574030682444572, -0.03943343460559845, -0.013484104536473751, -0.09392060339450836, -0.026986567303538322, -0.014714105054736137, 0.05533164367079735, -0.011785970069468021, 0.05254119634628296, -0.07402030378580093, 0.06131641939282417, -0.04240746423602104, 0.05489104613661766, 0.032934628427028656, 0.02685805968940258, 0.0582689568400383, -0.018569329753518105, -0.02052447758615017, 0.00973903015255928, -0.005470746662467718, -0.027261940762400627, 0.05555194243788719, 0.001508815330453217, 0.016871195286512375, 0.0001276469265576452, 0.023663731291890144, 0.02105686627328396, 0.040755223482847214, -0.05206388235092163, -0.048832837492227554, -0.02632567286491394, 0.01885388046503067, -0.06050865724682808, 0.034495074301958084, -0.03888268768787384, -0.01708231307566166, 0.033503733575344086, -0.023737164214253426, 0.0228559710085392, 0.06564895808696747, -0.024398060515522957, -0.010115373879671097, 0.011997089721262455, -0.05540507659316063, -0.01822052337229252, 0.04743761196732521, 0.03814835846424103, -0.014447910711169243, 0.038001492619514465, 0.017899254336953163, 0.008270373567938805, -0.04343552514910698, 0.020763134583830833, -0.03596373274922371, 0.018725372850894928, 0.08966149389743805, -0.0649513453245163, -0.04457373172044754, 0.08195104449987411, -0.0064850375056266785, -0.05085223913192749, 0.059113435447216034, -0.005948059726506472, 0.016843657940626144, 0.030419552698731422, 0.001001669792458415, -0.012850746512413025, 0.03947015106678009, -0.047657910734415054, 0.03377910703420639, -0.01226328406482935, 0.0025036009028553963, 0.05213731527328491, -0.010326492600142956, 0.05702059715986252, -0.03713865950703621, -0.018679479137063026, -0.01660500094294548, 0.007274440489709377, -0.018560150638222694, -0.02116701565682888, 0.09428776055574417, 0.012557015754282475, 0.0584525391459465, -0.04508776217699051, 0.07916060090065002, 0.020432686433196068, -0.05371611937880516, 0.013943060301244259, -0.006195895839482546, -0.04703373461961746, 0.008453955873847008, 0.025297611951828003, 0.010913955979049206, 0.022984478622674942, -0.028932537883520126, 0.033485375344753265, 0.016825299710035324, 0.03148432821035385, -0.01602671667933464, 0.043141793459653854, 0.07835283875465393, -0.007875671610236168, 0.025058956816792488, -0.047694627195596695, 0.06410686671733856, -0.053569257259368896, -0.03614731505513191, 0.02685805968940258, 0.017532089725136757, -0.05547850951552391, 0.0187896266579628, -0.020414328202605247, -0.045454926788806915, 0.016366343945264816, 0.10471522808074951, -0.016880374401807785, 0.008802761323750019, 0.016696792095899582, 0.017320970073342323, -0.011354552581906319, -0.024453135207295418, 0.07512179017066956, -0.053422391414642334, 0.0028592911548912525, 0.007178059779107571, -0.022525522857904434, -0.051770150661468506, -0.007155111990869045, -0.004998022690415382, 0.05481761321425438, 0.033503733575344086, 0.07952776551246643, 0.000528372242115438, -0.015760522335767746, 0.0023418189957737923, -0.0355965681374073, -0.013887985609471798, -0.04519791156053543, 0.0031622014939785004, 0.047731343656778336, 0.01404403056949377, -0.04864925518631935, 0.04853910580277443, -0.003513302421197295, 0.011079179123044014, -0.02006552368402481, -0.025334328413009644, -0.07097283750772476, -0.02217671647667885, 0.04413313418626785, -0.06003134697675705, -0.0005011217435821891, -0.03994746506214142, 0.03212686628103256, 0.02404925413429737, -0.03814835846424103, 0.00715052243322134, 0.01656828448176384, 0.004653806332498789, -0.02122209034860134, -0.020946716889739037, 0.03258582204580307, 0.09656418114900589, -0.06175701692700386, 0.0421871654689312, 0.022525522857904434, -0.0570940300822258, 0.023718805983662605, -0.03473373129963875, 0.004158134572207928, 0.042554330080747604, 0.03025432862341404, -0.049530450254678726, -0.017302611842751503, -0.025940150022506714, -0.0009666744736023247, 0.022525522857904434, 0.04174656793475151, -0.024985523894429207, 0.008045485243201256, -0.031117165461182594, 0.004933768883347511, -0.00022646572324447334, -0.017890075221657753, 0.07916060090065002, 0.022598955780267715, 0.031759701669216156, 0.028638806194067, -0.016302090138196945, 0.007513097487390041, -0.008137276396155357, -0.00030233676079660654, -0.04159970209002495, 0.08143701404333115, -0.02342507615685463, 0.003233339637517929, 0.041379403322935104, 0.0033870895858854055, 0.0009098787559196353, -0.016173582524061203, 0.055698808282613754, -0.05312865972518921, -0.028253285214304924, -0.01651320978999138, 0.06252805888652802, 0.02182791195809841, 0.03592701628804207, 0.0031622014939785004, -0.0246183592826128, 0.03715701773762703, -0.06726448237895966, 0.010721194557845592, 0.043765973299741745, -0.00572317186743021, -0.010500895790755749, -0.01483343355357647, -0.003063526237383485, 0.026619404554367065, 0.011180149391293526, 0.011290298774838448, -0.009436119347810745, -0.013695224188268185, 0.005053097382187843, 0.0003849487111438066, 0.06362955272197723, 0.04637283831834793, -0.006356529891490936 ]
719,909
ibm_platform_services.resource_controller_v2
ResourceControllerV2
The resource_controller V2 service.
class ResourceControllerV2(BaseService): """The resource_controller V2 service.""" DEFAULT_SERVICE_URL = 'https://resource-controller.cloud.ibm.com' DEFAULT_SERVICE_NAME = 'resource_controller' @classmethod def new_instance( cls, service_name: str = DEFAULT_SERVICE_NAME, ) -> 'ResourceControllerV2': """ Return a new client for the resource_controller service using the specified parameters and external configuration. """ authenticator = get_authenticator_from_environment(service_name) service = cls(authenticator) service.configure_service(service_name) return service def __init__( self, authenticator: Authenticator = None, ) -> None: """ Construct a new client for the resource_controller service. :param Authenticator authenticator: The authenticator specifies the authentication mechanism. Get up to date information from https://github.com/IBM/python-sdk-core/blob/main/README.md about initializing the authenticator of your choice. """ BaseService.__init__(self, service_url=self.DEFAULT_SERVICE_URL, authenticator=authenticator) ######################### # Resource Instances ######################### def list_resource_instances( self, *, guid: str = None, name: str = None, resource_group_id: str = None, resource_id: str = None, resource_plan_id: str = None, type: str = None, sub_type: str = None, limit: int = None, start: str = None, state: str = None, updated_from: str = None, updated_to: str = None, **kwargs, ) -> DetailedResponse: """ Get a list of all resource instances. View a list of all available resource instances. Resources is a broad term that could mean anything from a service instance to a virtual machine associated with the customer account. :param str guid: (optional) The GUID of the instance. :param str name: (optional) The human-readable name of the instance. :param str resource_group_id: (optional) The ID of the resource group. :param str resource_id: (optional) The unique ID of the offering. This value is provided by and stored in the global catalog. :param str resource_plan_id: (optional) The unique ID of the plan associated with the offering. This value is provided by and stored in the global catalog. :param str type: (optional) The type of the instance, for example, `service_instance`. :param str sub_type: (optional) The sub-type of instance, for example, `kms`. :param int limit: (optional) Limit on how many items should be returned. :param str start: (optional) An optional token that indicates the beginning of the page of results to be returned. Any additional query parameters are ignored if a page token is present. If omitted, the first page of results is returned. This value is obtained from the 'start' query parameter in the 'next_url' field of the operation response. :param str state: (optional) The state of the instance. If not specified, instances in state `active` and `provisioning` are returned. :param str updated_from: (optional) Start date inclusive filter. :param str updated_to: (optional) End date inclusive filter. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse with `dict` result representing a `ResourceInstancesList` object """ headers = {} sdk_headers = get_sdk_headers( service_name=self.DEFAULT_SERVICE_NAME, service_version='V2', operation_id='list_resource_instances' ) headers.update(sdk_headers) params = { 'guid': guid, 'name': name, 'resource_group_id': resource_group_id, 'resource_id': resource_id, 'resource_plan_id': resource_plan_id, 'type': type, 'sub_type': sub_type, 'limit': limit, 'start': start, 'state': state, 'updated_from': updated_from, 'updated_to': updated_to, } if 'headers' in kwargs: headers.update(kwargs.get('headers')) del kwargs['headers'] headers['Accept'] = 'application/json' url = '/v2/resource_instances' request = self.prepare_request(method='GET', url=url, headers=headers, params=params) response = self.send(request, **kwargs) return response def create_resource_instance( self, name: str, target: str, resource_group: str, resource_plan_id: str, *, tags: List[str] = None, allow_cleanup: bool = None, parameters: dict = None, entity_lock: bool = None, **kwargs, ) -> DetailedResponse: """ Create (provision) a new resource instance. When you provision a service you get an instance of that service. An instance represents the resource with which you create, and additionally, represents a chargeable record of which billing can occur. :param str name: The name of the instance. Must be 180 characters or less and cannot include any special characters other than `(space) - . _ :`. :param str target: The deployment location where the instance should be hosted. :param str resource_group: The ID of the resource group. :param str resource_plan_id: The unique ID of the plan associated with the offering. This value is provided by and stored in the global catalog. :param List[str] tags: (optional) Tags that are attached to the instance after provisioning. These tags can be searched and managed through the Tagging API in IBM Cloud. :param bool allow_cleanup: (optional) A boolean that dictates if the resource instance should be deleted (cleaned up) during the processing of a region instance delete call. :param dict parameters: (optional) Configuration options represented as key-value pairs that are passed through to the target resource brokers. :param bool entity_lock: (optional) Indicates if the resource instance is locked for further update or delete operations. It does not affect actions performed on child resources like aliases, bindings or keys. False by default. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse with `dict` result representing a `ResourceInstance` object """ if name is None: raise ValueError('name must be provided') if target is None: raise ValueError('target must be provided') if resource_group is None: raise ValueError('resource_group must be provided') if resource_plan_id is None: raise ValueError('resource_plan_id must be provided') headers = {'Entity-Lock': entity_lock} sdk_headers = get_sdk_headers( service_name=self.DEFAULT_SERVICE_NAME, service_version='V2', operation_id='create_resource_instance' ) headers.update(sdk_headers) data = { 'name': name, 'target': target, 'resource_group': resource_group, 'resource_plan_id': resource_plan_id, 'tags': tags, 'allow_cleanup': allow_cleanup, 'parameters': parameters, } data = {k: v for (k, v) in data.items() if v is not None} da
(authenticator: ibm_cloud_sdk_core.authenticators.authenticator.Authenticator = None) -> None
[ 0.05620044842362404, -0.08611613512039185, -0.0627913698554039, -0.06077857315540314, -0.005653591360896826, -0.018963703885674477, 0.004723659250885248, -0.01788823865354061, -0.0248836949467659, -0.018835438415408134, -0.018351972103118896, -0.0003255995106883347, 0.01516504306346178, -0.024686362594366074, 0.00955585204064846, 0.02581115998327732, 0.006827722769230604, -0.04143993556499481, -0.0048395926132798195, -0.056555647403001785, 0.035105545073747635, 0.08848413079977036, 0.015905041247606277, 0.00924998614937067, 0.07415775209665298, 0.0734868198633194, 0.007557854987680912, -0.02381809614598751, 0.017750106751918793, 0.0021768300794065, -0.002614662516862154, 0.015382109209895134, 0.006645189598202705, 0.0375327430665493, 0.02036476880311966, 0.0010871816193684936, 0.02113436721265316, 0.0019572970923036337, -0.09448305517435074, 0.08516893535852432, -0.01091251615434885, -0.014227711595594883, 0.03881540521979332, -0.05213538557291031, 0.03838127478957176, 0.04242660105228424, 0.03836154192686081, -0.011524248868227005, 0.0252783615142107, -0.017986904829740524, 0.059831373393535614, -0.018677571788430214, -0.03315194696187973, 0.0044819265604019165, -0.020502902567386627, 0.014119178056716919, -0.039012741297483444, 0.049648988991975784, -0.017819171771407127, -0.036348745226860046, -0.0332900807261467, -0.001504664309322834, 0.0103303836658597, 0.003741927444934845, -0.018194105476140976, 0.004067527130246162, -0.03222448378801346, -0.0023124965373426676, -0.02963942103087902, 0.04538659751415253, 0.05296418443322182, 0.004363526590168476, 0.000020947363736922853, -0.01922023668885231, -0.008179454132914543, 0.028435690328478813, -0.0031227951403707266, -0.02703462541103363, -0.044991929084062576, -0.043531667441129684, -0.01427704468369484, 0.012530647218227386, 0.016408240422606468, -0.043136999011039734, 0.04609699547290802, 0.0287119559943676, 0.002649195957928896, -0.026304492726922035, -0.046965260058641434, -0.03398074582219124, -0.021568499505519867, 0.023758897557854652, -0.03788794204592705, 0.038401007652282715, 0.04803086072206497, -0.04242660105228424, -0.045662861317396164, -0.05880524218082428, -0.00893425289541483, -0.004267326556146145, -0.04787299409508705, -0.03670394420623779, 0.0017130973283201456, 0.007000389043241739, 0.05351671576499939, -0.042071402072906494, -0.062199369072914124, 0.04065060243010521, -0.005101058632135391, 0.03439514711499214, -0.014365844428539276, 0.04120313748717308, -0.01451384462416172, -0.01674370840191841, -0.01573730818927288, -0.004533726256340742, 0.023837829008698463, 0.03956527262926102, -0.0019412636756896973, -0.06835616379976273, 0.001507131033577025, -0.0696190893650055, 0.026087425649166107, -0.021311966702342033, -0.014957843348383904, 0.005041859112679958, -0.02006876841187477, 0.016714107245206833, -0.04143993556499481, -0.03309274837374687, -0.023541830480098724, -0.011445315554738045, -0.049964722245931625, 0.03650661185383797, 0.003988593816757202, -0.04779405891895294, -0.005004859063774347, 0.041163668036460876, -0.034730613231658936, 0.043610598891973495, 0.04266339913010597, 0.04732045903801918, -0.04755726084113121, 0.028692223131656647, -0.03194821625947952, -0.038775939494371414, 0.02121330052614212, 0.04929379001259804, -0.024863962084054947, -0.009018119424581528, -0.02841595560312271, -0.05091192200779915, 0.032796747982501984, -0.002661529229953885, 0.015796508640050888, -0.02849488891661167, 0.02089756727218628, -0.06756682693958282, 0.004398060031235218, -0.047754593193531036, -0.03275728225708008, -0.0010187317384406924, -0.017582373693585396, -0.03932847082614899, -0.03658554330468178, 0.00027256624889560044, -0.05714764446020126, -0.00917105283588171, -0.00489879259839654, 0.013724512420594692, -0.045978594571352005, -0.010537583380937576, -0.03682234138250351, -0.027666090056300163, -0.05000418797135353, 0.07151348888874054, 0.06397537142038345, -0.05367458239197731, 0.023245830088853836, 0.015036776661872864, -0.017394905909895897, -0.0310207512229681, -0.02679782547056675, 0.00014198728604242206, -0.01884530484676361, 0.020542368292808533, 0.01908210478723049, 0.05383244901895523, 0.019397836178541183, -0.008697452954947948, 0.06654069572687149, 0.02427196316421032, 0.04574179649353027, 0.03461221233010292, -0.039308737963438034, -0.023324763402342796, 0.007676254957914352, -0.02152903378009796, 0.04049273580312729, 0.045820727944374084, -0.0451892651617527, 0.07072415947914124, 0.0013813312398269773, 0.019466903060674667, 0.040236204862594604, -0.0030931951478123665, -0.006146923638880253, -0.0120570482686162, -0.041834600269794464, -0.0317508839070797, -0.06598816812038422, 0.0022360298316925764, -0.008648119866847992, 0.011267716065049171, 0.007996921427547932, -0.008786252699792385, 0.013862645253539085, -0.020404234528541565, 0.0029599955305457115, -0.0325402170419693, 0.023601030930876732, -0.013112779706716537, -0.03591461107134819, -0.05339831858873367, -0.06654069572687149, 0.05296418443322182, 0.008722119964659214, 0.01807570457458496, -0.042229268699884415, 0.0008553153602406383, -0.021075166761875153, 0.02764635719358921, 0.04380793124437332, 0.007863720878958702, -0.04526819661259651, -0.005984124261885881, 0.02733062393963337, 0.007325988728553057, 0.029599953442811966, 0.011889315210282803, 0.018776237964630127, 0.038085274398326874, 0.024410095065832138, -0.04463673010468483, -0.07021109014749527, -0.01221491489559412, 0.00838665384799242, 0.019772769883275032, 0.00038479940849356353, -0.08256413787603378, 0.008238653652369976, -0.0658697634935379, 0.011050649918615818, -0.015727441757917404, -0.0036432610359042883, -0.08722119778394699, -0.007666388060897589, -0.05091192200779915, 0.04854392632842064, 0.016477307304739952, -0.03721700981259346, 0.022081565111875534, -0.05994977429509163, 0.037473540753126144, -0.02366022951900959, 0.020009569823741913, -0.02963942103087902, 0.032895416021347046, 0.030803686007857323, 0.0013455646112561226, 0.12203074246644974, 0.020266102626919746, -0.03796687349677086, 0.0009891318622976542, 0.009491718374192715, -0.012974646873772144, -0.0002884453861042857, -0.06792202591896057, -0.05829217657446861, -0.06010764092206955, -0.026521559804677963, 0.0006789489416405559, 0.060226041823625565, 0.011366382241249084, 0.056160978972911835, -0.07103989273309708, 0.007765054702758789, 0.04870179295539856, -0.013675179332494736, 0.013112779706716537, -0.01634904183447361, 0.021450100466609, -0.012579980306327343, -0.0581737756729126, -0.030113020911812782, 0.03680260851979256, -0.09314119070768356, -0.019812235608696938, 0.0021879300475120544, -0.03297434747219086, -0.04045327007770538, 0.014040244743227959, 0.04688632860779762, -0.005485858302563429, -0.04349219799041748, -0.01796717196702957, 0.07723614573478699, 0.010784249752759933, -0.006447856780141592, 0.014365844428539276, -0.0077749211341142654, 0.0218250323086977, -0.010290917009115219, -0.07017162442207336, 0.02022663503885269, 0.017029840499162674, 0.01922023668885231, 0.04609699547290802, 0.019526103511452675, 0.02143036760389805, -0.045662861317396164, 0.05560844764113426, -0.025751959532499313, -0.00018129972158931196, 0.07609161734580994, -0.024765295907855034, -0.003769060829654336, 0.03575674444437027, 0.03782874345779419, 0.014425043947994709, -0.0321652851998806, -0.034730613231658936, -0.02198289893567562, 0.018164506182074547, 0.013319979421794415, -0.06772469729185104, 0.01863810420036316, -0.03348741680383682, -0.04179513454437256, 0.025455961003899574, 0.037552475929260254, 0.007340788841247559, -0.02695569209754467, -0.023916762322187424, -0.02602822706103325, 0.00302412873134017, 0.054937515407800674, -0.027527958154678345, -0.022298632189631462, -0.04676792770624161, -0.03668421134352684, 0.05067512020468712, 0.04550499469041824, 0.09172039479017258, 0.018302638083696365, -0.07313162088394165, -0.045820727944374084, -0.01857890374958515, 0.0015453642699867487, 0.012007715180516243, -0.029678886756300926, 0.025377027690410614, -0.07100042700767517, -0.005416791420429945, -0.0218250323086977, -0.035184480249881744, -0.006329456809908152, -0.06515936553478241, 0.01325091253966093, -0.023541830480098724, -0.042702868580818176, -0.06788256019353867, -0.011484782211482525, 0.01696077361702919, 0.06010764092206955, -0.007705854717642069, -0.032895416021347046, -0.009615051560103893, -0.040926869958639145, 0.031731151044368744, 0.009748251177370548, 0.008529719896614552, -0.02198289893567562, -0.02257489785552025, 0.038183942437171936, -0.03078395314514637, 0.01791783981025219, -0.011583448387682438, 0.013704778626561165, 0.002668929286301136, -0.009018119424581528, -0.009161185473203659, -0.020266102626919746, 0.028455423191189766, 0.04455779865384102, -0.0252586267888546, -0.08130120486021042, 0.008983585983514786, 0.04187406972050667, -0.04013753682374954, 0.0028144624084234238, 0.06188363954424858, 0.040157269686460495, 0.013063446618616581, 0.011563715524971485, -0.03230341523885727, 0.08055134117603302, -0.010715183801949024, -0.010823716409504414, 0.02656102553009987, -0.017641572281718254, -0.04155833646655083, -0.01842103898525238, -0.04258446767926216, -0.04601806402206421, 0.025751959532499313, 0.015855709090828896, 0.10545477271080017, 0.01427704468369484, 0.005579591263085604, 0.021272500976920128, 0.011425582692027092, 0.07356575131416321, 0.004504126496613026, -0.016230640932917595, 0.007380255497992039, -0.005979190580546856, 0.012205047532916069, 0.032658617943525314, -0.04814925789833069, 0.02097650058567524, 0.04783352464437485, -0.009911051020026207, -0.025298094376921654, 0.016131974756717682, -0.014691444113850594, 0.023147163912653923, -0.018174372613430023, 0.022298632189631462, 0.04159780219197273, 0.000047984300181269646, -0.035638343542814255, 0.006423190236091614, 0.0022360298316925764, -0.02594929374754429, 0.005056658759713173, -0.043689534068107605, -0.02204209938645363, 0.07340788841247559, -0.007676254957914352, 0.03757220879197121, -0.035500213503837585, 0.019013037905097008, -0.0009804985020309687, 0.011099983006715775, -0.051424987614154816, 0.04680739343166351, -0.016467440873384476, -0.018203971907496452, -0.053043119609355927, 0.028810622170567513, 0.024469295516610146, 0.004696526098996401, 0.015076243318617344, 0.00113466486800462, 0.008238653652369976, 0.034789811819791794, 0.01520450972020626, 0.023009032011032104, 0.022910363972187042, 0.009896251372992992, 0.03386234864592552, 0.0317508839070797, 0.014849310740828514, 0.0006900489097461104, 0.04795192554593086, 0.03514501079916954, -0.0071779889985919, -0.04096633568406105, -0.009032919071614742, 0.05805537849664688, -0.0022878297604620457, 0.03820367529988289, -0.00854452047497034, -0.04455779865384102, -0.03816420957446098, 0.04893859103322029, 0.006299857050180435, -0.029540754854679108, -0.027389824390411377, 0.00299452873878181, 0.006349190138280392, -0.0120570482686162, 0.06618549674749374, -0.056634578853845596, -0.04297913238406181, -0.0012740313541144133, 0.027310891076922417, 0.06263350695371628, 0.02839622274041176, 0.019318902865052223, -0.06851402670145035, 0.015520242974162102, -0.008337320759892464, 0.041400469839572906, 0.05031992122530937, -0.04041380435228348, 0.025179695338010788, 0.02735035866498947, 0.018786104395985603, 0.009032919071614742, -0.0003681494272314012, 0.07889374345541, -0.013033846393227577, -0.03439514711499214, 0.06835616379976273, -0.06843509525060654, 0.06073910742998123, 0.019743168726563454, -0.0038603274151682854, 0.01048825029283762, 0.01450397726148367, 0.023147163912653923, 0.001516997697763145, -0.007572655100375414, -0.006778389681130648, -0.035421278327703476, -0.08319560438394547, 0.0012240814976394176, 0.0650409683585167, -0.02740955725312233, -0.03597380965948105, -0.03433594852685928, -0.08864199370145798, -0.028060756623744965, 0.023186631500720978, -0.0712372213602066, -0.050043657422065735, 0.025791427120566368, -0.04534713178873062, 0.036190878599882126, 0.026363693177700043, -0.048425525426864624, -0.0367434099316597, -0.04408419877290726, -0.04917538911104202, 0.00300439540296793, -0.018351972103118896, -0.022298632189631462, -0.03033008612692356, 0.09322012215852737, -0.01743437349796295, 0.024903427809476852, -0.001389964483678341, -0.047202061861753464, 0.05710817873477936, 0.042229268699884415, -0.029521021991968155, 0.03336901590228081, -0.0015453642699867487, 0.019871436059474945, 0.029303954914212227, 0.02381809614598751, -0.03145488351583481, -0.002189163351431489, 0.05766071006655693, 0.010636250488460064, 0.028455423191189766, -0.03192848339676857, 0.020187169313430786, 0.025021828711032867, -0.014730910770595074, 0.02060156874358654, 0.0021903966553509235, -0.019605036824941635, 0.024863962084054947, 0.051030322909355164, 0.017858639359474182, 0.03820367529988289, -0.02464689500629902, 0.052490584552288055, -0.009141452610492706, 0.008445853367447853, -0.10174491256475449, -0.021272500976920128, 0.07510495185852051, -0.02847515605390072, 0.02886982262134552, 0.012727980501949787, 0.01937810331583023, -0.029284222051501274, 0.016230640932917595, -0.015214376151561737, -0.024903427809476852, 0.0030611285474151373, 0.08540573716163635, 0.034493815153837204, 0.008292920887470245, 0.03348741680383682, 0.05446391552686691, -0.005049258936196566, 0.04404473304748535, 0.025159960612654686, -0.04096633568406105, 0.03386234864592552, 0.005012258887290955, -0.03317168354988098, -0.06930335611104965, -0.0371578074991703, 0.0302511528134346, 0.0008805986144579947, -0.05833164229989052, -0.007069455925375223, -0.04692579433321953, -0.01014291774481535, 0.010695450007915497, -0.06290976703166962, 0.022495964542031288, 0.050201524049043655, -0.06164683774113655, -0.01842103898525238, 0.02014770172536373, 0.021627699956297874, 0.009047719649970531, -0.08280093967914581, 0.06571190059185028, -0.006206123623996973, 0.004037926904857159, -0.04700472578406334, 0.00881091970950365, 0.03255994990468025, 0.013546911999583244, 0.0008873819606378675, 0.01975303702056408, 0.022614365443587303, 0.00786865409463644, 0.056003112345933914, 0.017898105084896088, 0.005732524674385786, 0.03765114024281502, 0.0012740313541144133, -0.01489864382892847, -0.0291066225618124, 0.01524397637695074, -0.028238356113433838, 0.041163668036460876, -0.019979968667030334, -0.08485320210456848, 0.0008152320515364408, 0.025475693866610527, -0.029915686696767807, 0.05146445333957672, -0.007952520623803139, -0.0029501288663595915, -0.0036432610359042883, -0.010498116724193096, -0.03838127478957176, -0.0045978594571352005, -0.005426658317446709, 0.02352209761738777, -0.004067527130246162, 0.010133051313459873, 0.01493811048567295, -0.016832508146762848, -0.0008115320815704763, -0.008776386268436909, 0.020137835294008255, -0.06294923275709152, -0.01248131413012743, 0.08122227340936661, 0.046373263001441956, -0.024923160672187805, 0.012935180217027664, 0.06073910742998123, -0.025002093985676765, 0.03573701158165932, -0.006798123009502888, -0.011386116035282612, 0.019239969551563263, 0.04266339913010597, 0.034730613231658936, 0.006881989538669586, 0.004296926781535149, 0.06306763738393784, -0.011119715869426727, -0.04495246335864067, 0.007903187535703182, -0.004731059540063143, 0.010113317519426346, -0.05620044842362404, -0.014178378507494926, -0.015194643288850784, -0.006447856780141592, 0.01823357120156288, -0.07360521703958511, 0.01975303702056408, -0.03161275014281273, -0.0934569239616394, -0.002673862501978874, 0.022180233150720596, 0.013981045223772526, -0.01937810331583023, 0.019654368981719017, 0.027902889996767044, -0.006516923196613789, 0.05422711744904518, -0.03157328441739082, -0.08177480846643448, 0.04846499115228653, -0.013053580187261105, 0.07115828990936279, 0.07853854447603226, 0.08635293692350388, -0.041163668036460876, 0.01248131413012743, 0.02894875593483448, -0.04447886347770691, -0.013477846048772335, -0.0032485949341207743, 0.017533039674162865, -0.002199030015617609, 0.004208127036690712, 0.02190396562218666, -0.05659511312842369, 0.002691129222512245, 0.03857860714197159, -0.022870898246765137, 0.04380793124437332, 0.01842103898525238, 0.033822882920503616, 0.0022705632727593184, -0.002271796576678753, -0.10166597366333008, -0.029678886756300926, 0.05931830778717995, -0.06026550754904747, 0.04791245982050896, -0.0006690822774544358, 0.02886982262134552, 0.02450876124203205, 0.01693117432296276, 0.046373263001441956, -0.002517229411751032, 0.00943745207041502, 0.003949127160012722, 0.06425163149833679, 0.05714764446020126, -0.014799976721405983, 0.021805299445986748, -0.03765114024281502, 0.005697991233319044, -0.019812235608696938, -0.015382109209895134, 0.055845245718955994, 0.013132513500750065, -0.035638343542814255, -0.0030413952190428972, 0.042150333523750305, 0.0010279817506670952, -0.017483705654740334, 0.01926957070827484, -0.04175566881895065, 0.026166358962655067, 0.024548228830099106, 0.03735514357686043, 0.04511032998561859, 0.0038479941431432962, 0.005619057919830084 ]
719,910
ibm_platform_services.resource_controller_v2
__init__
Construct a new client for the resource_controller service. :param Authenticator authenticator: The authenticator specifies the authentication mechanism. Get up to date information from https://github.com/IBM/python-sdk-core/blob/main/README.md about initializing the authenticator of your choice.
def __init__( self, authenticator: Authenticator = None, ) -> None: """ Construct a new client for the resource_controller service. :param Authenticator authenticator: The authenticator specifies the authentication mechanism. Get up to date information from https://github.com/IBM/python-sdk-core/blob/main/README.md about initializing the authenticator of your choice. """ BaseService.__init__(self, service_url=self.DEFAULT_SERVICE_URL, authenticator=authenticator)
(self, authenticator: Optional[ibm_cloud_sdk_core.authenticators.authenticator.Authenticator] = None) -> NoneType
[ -0.026023373007774353, -0.058961525559425354, -0.030428757891058922, -0.024796556681394577, 0.0038802707567811012, -0.03262215480208397, 0.00018457425176165998, 0.04576395824551582, -0.006110845599323511, -0.010400054976344109, 0.001191963441669941, 0.017863186076283455, -0.030893459916114807, -0.009163944981992245, -0.005985375493764877, 0.03680448234081268, -0.0024420146364718676, -0.008541242219507694, -0.023681268095970154, -0.09286626428365707, 0.021376341581344604, 0.030781932175159454, 0.022863391786813736, 0.02817959524691105, 0.0424552746117115, 0.08840510994195938, -0.023179389536380768, -0.015697669237852097, -0.004370532464236021, -0.03851459175348282, -0.018337182700634003, 0.0177144818007946, 0.007370190694928169, 0.05740012601017952, 0.03888635337352753, -0.012035809457302094, 0.02284480258822441, -0.003118157619610429, -0.08349785208702087, 0.0141455614939332, -0.012082279659807682, -0.003345862263813615, 0.05881282314658165, -0.06122927740216255, 0.03797553479671478, 0.04669336602091789, 0.05539260804653168, 0.0035828608088195324, 0.03862611949443817, -0.0006970546091906726, -0.01608802005648613, -0.010604524053633213, -0.02304927259683609, -0.0063013737089931965, -0.041600219905376434, 0.026227841153740883, 0.01031640823930502, 0.0010839198948815465, -0.0797802209854126, 0.017788833007216454, -0.06007681414484978, -0.03555908054113388, -0.006886899471282959, -0.0011617577401921153, -0.008606300689280033, -0.018179183825850487, -0.04513196274638176, 0.019145766273140907, 0.023625504225492477, 0.02422032505273819, 0.04609854519367218, 0.01781671680510044, -0.010455818846821785, -0.039220940321683884, 0.04096822440624237, -0.019164355471730232, -0.02732454054057598, -0.015418848022818565, -0.020837286487221718, -0.024090208113193512, 0.0018878562841564417, -0.002734777517616749, -0.005646142177283764, 0.008197362534701824, 0.04044775664806366, -0.0065337251871824265, -0.010567348450422287, -0.0424552746117115, -0.0234210342168808, 0.03555908054113388, -0.036637190729379654, 0.003255245042964816, -0.024852320551872253, 0.006938016973435879, 0.02215704321861267, -0.004507619887590408, -0.009582177735865116, -0.02146928198635578, 0.012519100680947304, 0.016478370875120163, -0.006617371924221516, -0.0034550672862678766, 0.018179183825850487, 0.012909451499581337, 0.043050091713666916, -0.011719811707735062, -0.024238912388682365, 0.015056380070745945, 0.01667354628443718, 0.025540081784129143, 0.04594983905553818, 0.013020980171859264, -0.022993508726358414, 0.019963644444942474, -0.027138659730553627, 0.027789244428277016, 0.07037463784217834, 0.0034132441505789757, 0.05728859454393387, 0.004314768128097057, -0.02632078155875206, -0.07450119405984879, -0.008597007021307945, -0.015251555480062962, 0.01698954403400421, -0.0003726337745320052, -0.002137634204700589, 0.027882184833288193, -0.04383079335093498, -0.007504954934120178, 0.03462967276573181, -0.04290138930082321, -0.008531948551535606, 0.01279792282730341, 0.04081951826810837, -0.011673341505229473, 0.02373703382909298, 0.03745506703853607, -0.03215745463967323, 0.08862817287445068, 0.016729310154914856, 0.05297615006566048, -0.05818082392215729, 0.04985334724187851, -0.004647030960768461, 0.0026976014487445354, -0.0014161826111376286, 0.0069147818721830845, -0.01469391118735075, 0.0030205699149519205, -0.03899788111448288, -0.004163739737123251, 0.015149320475757122, 0.000987494015134871, 0.0061480216681957245, 0.008954828605055809, 0.0033923324663192034, -0.08357220143079758, 0.02446196973323822, -0.04297574236989021, -0.017389189451932907, 0.0059203170239925385, 0.006459372583776712, -0.06632242351770401, -0.017956126481294632, -0.008518007583916187, -0.07754965126514435, -0.02369985729455948, -0.0424552746117115, -0.006951957941055298, -0.06056010350584984, -0.07201039046049118, -0.07331155985593796, -0.05067122355103493, 0.033774618059396744, 0.008759653195738792, 0.051489099860191345, -0.028885943815112114, -0.02663678117096424, 0.01970341056585312, 0.021283401176333427, 0.004647030960768461, -0.014164149761199951, -0.018616005778312683, 0.011506048031151295, 0.007319073658436537, 0.07148992270231247, 0.04795735701918602, 0.049184173345565796, -0.003271509660407901, 0.01329980231821537, 0.04141433909535408, 0.020037997514009476, 0.04609854519367218, -0.010074762627482414, -0.0424552746117115, 0.04624725133180618, -0.028644297271966934, -0.00028404974727891386, 0.03507578745484352, -0.0446486733853817, 0.09732741117477417, 0.0044820611365139484, 0.033811796456575394, 0.07621130347251892, 0.0015799904940649867, 0.004214856773614883, -0.01184992864727974, -0.06780946999788284, -0.03888635337352753, -0.04881241172552109, -0.02555866912007332, -0.00658948952332139, -0.015790611505508423, -0.025335611775517464, 0.014461560174822807, 0.03541037440299988, -0.011013463139533997, 0.0305588748306036, 0.012007927522063255, 0.061824098229408264, 0.07145274430513382, 0.05208392068743706, -0.08260562270879745, -0.0235325638204813, 0.031097929924726486, -0.02171092852950096, -0.037083305418491364, -0.06896193325519562, -0.012426160275936127, 0.0002759174385573715, 0.029982643201947212, 0.007746600545942783, 0.027101483196020126, -0.01816059648990631, -0.06792100518941879, 0.014758969657123089, 0.0013871387345716357, -0.055318254977464676, 0.02697136625647545, 0.019164355471730232, 0.07799576222896576, 0.03366309031844139, -0.014498735778033733, -0.07665742188692093, -0.0022015308495610952, -0.006626666057854891, 0.009084945544600487, 0.028514180332422256, -0.01384815201163292, -0.017240483313798904, -0.052009567618370056, -0.029648056253790855, -0.04275268316268921, -0.0014556824462488294, -0.03985293582081795, -0.04762277007102966, -0.03330991789698601, 0.036507073789834976, 0.033365681767463684, -0.02842123992741108, 0.027956537902355194, -0.030670402571558952, 0.04409102723002434, -0.018244242295622826, -0.010558053851127625, -0.002331647789105773, 0.028681473806500435, 0.0797802209854126, 0.000781862938310951, 0.17115943133831024, 0.031265221536159515, 0.008006834425032139, 0.007649012841284275, 0.005785553250461817, -0.06364573538303375, 0.014498735778033733, -0.00974947027862072, -0.04104257747530937, -0.02490808442234993, -0.014926263131201267, 0.021209048107266426, 0.050150755792856216, 0.05223262682557106, -0.012110162526369095, -0.049221351742744446, 0.010874051600694656, -0.00039122189627960324, -0.032956741750240326, 0.0045564137399196625, 0.01805836148560047, 0.04338467866182327, 0.016255313530564308, -0.03689742460846901, 0.013708740472793579, -0.03702754154801369, -0.04784582927823067, -0.04758559539914131, 0.007337661460042, -0.04052210971713066, -0.02405303157866001, 0.023662680760025978, 0.00692407600581646, 0.004647030960768461, -0.025279847905039787, -0.03892352804541588, 0.014916968531906605, 0.023792797699570656, -0.04907264560461044, 0.03262215480208397, 0.007021663710474968, 0.016171667724847794, -0.03141392767429352, -0.04438843950629234, 0.03503861278295517, 0.04513196274638176, 0.04739971458911896, -0.015205084346234798, 0.028811590746045113, 0.0316927507519722, -0.04907264560461044, 0.027027130126953125, -0.019145766273140907, -0.015837080776691437, -0.021004579961299896, -0.018448712304234505, 0.0016868722159415483, 0.05360814556479454, -0.025893256068229675, 0.009400943294167519, -0.052864622324705124, 0.016208844259381294, -0.02442479319870472, -0.0316183976829052, -0.023644093424081802, -0.06754923611879349, 0.03273368626832962, -0.04319879785180092, -0.07658306509256363, -0.006863664370030165, 0.043459031730890274, -0.045355021953582764, -0.015874257311224937, 0.018820473924279213, -0.05033663660287857, -0.0008771270513534546, 0.015446729958057404, -0.06758641451597214, 0.019164355471730232, -0.09249450266361237, 0.0008684138883836567, 0.04323597624897957, 0.03379320725798607, 0.06464949250221252, 0.0023177065886557102, 0.0050699105486273766, -0.0471394807100296, 0.007876717485487461, 0.004361238330602646, -0.028551356866955757, 0.014824028126895428, 0.035057201981544495, -0.00332959764637053, 0.025540081784129143, -0.06918499618768692, -0.02425750158727169, 0.014684617519378662, -0.02725018933415413, 0.050559695810079575, 0.010046880692243576, -0.006101551465690136, -0.0893716961145401, 0.03080051951110363, 0.04055928438901901, 0.010102644562721252, 0.016552723944187164, -0.0317671038210392, -0.03234333544969559, -0.046284426003694534, 0.021989749744534492, -0.011487459763884544, 0.061786919832229614, -0.004089387133717537, 0.025261258706450462, -0.012323925271630287, -0.029239118099212646, -0.01023276150226593, 0.008950181305408478, 0.0036874189972877502, 0.030930636450648308, -0.0062223742716014385, -0.0365256629884243, -0.013903915882110596, -0.000678466516546905, 0.03552190214395523, -0.02122763730585575, -0.06606218963861465, 0.0005855258787050843, 0.03327273949980736, -0.023030685260891914, 0.03790118172764778, 0.013234743848443031, 0.10000409930944443, 0.010874051600694656, -0.010576642118394375, 0.028439829126000404, 0.0470651276409626, -0.03096781298518181, 0.019684823229908943, -0.0018622975330799818, -0.02611631341278553, 0.015939315780997276, -0.013169685378670692, -0.006059728097170591, -0.026692545041441917, -0.022212807089090347, -0.052864622324705124, 0.03702754154801369, 0.017909657210111618, 0.006984487175941467, 0.00089048728113994, -0.00224335421808064, 0.03258498013019562, 0.010474407114088535, -0.00038396092713810503, 0.035057201981544495, 0.025967607274651527, 0.024647850543260574, 0.019796350970864296, -0.06208433210849762, 0.02438761666417122, 0.048217590898275375, 0.03814283013343811, -0.052864622324705124, -0.027157247066497803, 0.03749224543571472, -0.0363769568502903, 0.0022898244205862284, 0.022751862183213234, -0.021301988512277603, -0.023960091173648834, -0.07171297818422318, -0.022342924028635025, -0.051414746791124344, -0.03427650034427643, -0.011691929772496223, -0.06156386435031891, 0.036990366876125336, 0.04907264560461044, -0.013169685378670692, 0.03844023868441582, -0.03896070644259453, -0.00839253794401884, -0.024759380146861076, -0.00438447343185544, -0.03516872972249985, 0.04431408643722534, 0.0234210342168808, -0.00546026136726141, -0.05305050313472748, 0.01946176402270794, -0.020967403426766396, 0.05134039744734764, -0.04089387133717537, 0.035261668264865875, 0.020800109952688217, 0.019554706290364265, 0.02962946891784668, 0.0019831203389912844, 0.007844188250601292, -0.007946422323584557, 0.01912717893719673, 0.02652525156736374, 0.04074516519904137, 0.02745465748012066, 0.05226980149745941, 0.035949431359767914, -0.004542472772300243, -0.0633855015039444, 0.02487090788781643, 0.02422032505273819, 0.012955921702086926, 0.0038268298376351595, 0.0017391513101756573, -0.047176655381917953, -0.023272329941391945, -0.01698954403400421, -0.01815130189061165, 0.04182327538728714, -0.04130281135439873, 0.00461682491004467, 0.11019039154052734, -0.024592086672782898, 0.050150755792856216, 0.03028005175292492, -0.00178097456227988, 0.03648848459124565, 0.017379894852638245, 0.040596459060907364, 0.07933411002159119, 0.0008405317203141749, -0.05825517699122429, -0.007802364882081747, -0.020372582599520683, 0.04338467866182327, -0.005241850856691599, -0.11175179481506348, -0.010400054976344109, 0.032938152551651, 0.004045240115374327, 0.04613571986556053, -0.003731565782800317, 0.004354267846792936, -0.03758518397808075, -0.04412820562720299, -0.006268844474107027, -0.08424137532711029, 0.006199139170348644, -0.040224697440862656, -0.0015625640517100692, -0.014768264256417751, -0.007551425136625767, -0.00223057484254241, 0.027510421350598335, 0.002103943144902587, -0.02381138503551483, -0.0293878223747015, -0.06256762146949768, 0.01412697322666645, 0.039778582751750946, -0.0282539464533329, 0.005832023452967405, -0.02453632280230522, -0.019870704039931297, -0.026989955455064774, 0.01746354252099991, -0.09963233768939972, -0.048143237829208374, 0.02732454054057598, -0.06531866639852524, 0.03844023868441582, 0.04528066888451576, -0.006217726971954107, -0.013411330990493298, -0.003206451190635562, -0.033886149525642395, -0.03985293582081795, -0.03210168704390526, -0.03539178520441055, -0.00976805854588747, 0.056136131286621094, -0.01736130751669407, -0.01929447241127491, 0.0030670403502881527, -0.04516913741827011, 0.02107893116772175, 0.06342267245054245, -0.05234415456652641, 0.023179389536380768, 0.029889702796936035, 0.004705118481069803, 0.03438802808523178, -0.029499351978302002, 0.0079417759552598, 0.038365885615348816, 0.02676689811050892, 0.021487871184945107, -0.022101277485489845, -0.03414638340473175, 0.01805836148560047, 0.015697669237852097, -0.043012917041778564, 0.01784459874033928, 0.08557971566915512, -0.08178774267435074, 0.05933328717947006, 0.04000164195895195, 0.018922708928585052, 0.03604236990213394, -0.01364368200302124, 0.031915806233882904, 0.0008672521216794848, -0.010130527429282665, -0.10007845610380173, -0.02171092852950096, 0.02288197912275791, -0.01069746445864439, -0.01929447241127491, -0.03648848459124565, -0.02773348055779934, -0.04580113664269447, -0.03455531969666481, -0.01953611709177494, -0.0235697403550148, -0.03725059702992439, 0.0364513099193573, 0.015316613018512726, 0.001844871207140386, 0.05453755334019661, 0.06056010350584984, -0.02115328423678875, 0.02955511584877968, 0.013903915882110596, 0.02594901993870735, 0.051414746791124344, 0.0008567962795495987, -0.06598784029483795, -0.03678589686751366, -0.04293856397271156, 0.04576395824551582, -0.011041345074772835, -0.028811590746045113, -0.000563452485948801, -0.02438761666417122, 0.0158091988414526, -0.009935352019965649, -0.04371926560997963, 0.010650994256138802, 0.03680448234081268, -0.011756988242268562, 0.021989749744534492, 0.0024303970858454704, 0.007096015848219395, 0.02607913687825203, -0.09955798834562302, 0.0353546105325222, 0.03014993481338024, -0.030503110960125923, -0.020372582599520683, -0.01085546426475048, 0.006422196514904499, 0.006050433963537216, -0.015697669237852097, 0.014164149761199951, 0.03758518397808075, 0.019164355471730232, 0.058961525559425354, 0.021301988512277603, 0.05795776844024658, 0.008652770891785622, 0.00638966728001833, -0.009545001201331615, 0.02066999301314354, 0.01479614619165659, -0.030893459916114807, 0.0422322154045105, -0.05037381500005722, -0.05256721377372742, -0.0015660494100302458, 0.016338959336280823, -0.06152668595314026, 0.05502084270119667, -0.0070727807469666, 0.009084945544600487, -0.0055160257034003735, -0.05134039744734764, 0.008276361972093582, 0.03496425971388817, 0.004846853204071522, 0.01794683374464512, 0.001667122240178287, 0.04528066888451576, 0.04695359990000725, 0.03262215480208397, -0.0017623864114284515, -0.05825517699122429, 0.0025698079261928797, -0.04758559539914131, 0.024554910138249397, 0.02050269953906536, 0.050522517412900925, 0.01957329362630844, 0.0020261055324226618, 0.035782136023044586, 0.013113920576870441, 0.01805836148560047, 0.01605084352195263, -0.044499967247247696, 0.07379484921693802, 0.010139821097254753, -0.02098599076271057, -0.003482949687168002, 0.0019587234128266573, 0.02414597198367119, -0.0024025149177759886, -0.03427650034427643, 0.0517493337392807, 0.02098599076271057, -0.04133998602628708, -0.09130486100912094, -0.014006150886416435, -0.020577052608132362, -0.0032366570085287094, -0.007458484265953302, -0.04037340357899666, 0.056730952113866806, -0.03290097787976265, -0.10610100626945496, 0.020800109952688217, 0.03353297337889671, 0.046767719089984894, -0.012593453750014305, -0.016654958948493004, 0.019889291375875473, -0.01712895557284355, 0.040670812129974365, 0.033161211758852005, -0.06948240101337433, 0.04788300395011902, -0.0316927507519722, 0.07223344594240189, 0.046321604400873184, 0.04829194396734238, -0.040150344371795654, 0.005297615192830563, 0.02749183401465416, -0.056173309683799744, 0.022956332191824913, 0.01126440241932869, -0.029778173193335533, -0.0038128888700157404, -0.010260644368827343, 0.01826283149421215, -0.06394314020872116, 0.07223344594240189, 0.005562495905905962, -0.06431490927934647, 0.017444953322410583, -0.011571106500923634, 0.0342579111456871, -0.008531948551535606, -0.05546696111559868, -0.07212191820144653, 0.047176655381917953, 0.049109820276498795, -0.03470402583479881, 0.04929570108652115, 0.026190664619207382, 0.0352802574634552, 0.023272329941391945, -0.020316818729043007, 0.03609813377261162, -0.0065290783531963825, 0.02390432544052601, 0.001488211564719677, 0.05360814556479454, 0.05067122355103493, -0.06152668595314026, 0.02845841646194458, 0.015065673738718033, 0.0006058566505089402, -0.007509601768106222, -0.028514180332422256, 0.030744755640625954, -0.028755826875567436, -0.07680612802505493, -0.0282911229878664, 0.032677918672561646, -0.0035340669564902782, 0.009517119266092777, -0.009461354464292526, -0.03951834887266159, 0.04844065010547638, -0.03888635337352753, 0.0236069168895483, 0.05163780599832535, 0.036358367651700974, -0.010186291299760342 ]
719,915
ibm_platform_services.resource_controller_v2
cancel_lastop_resource_instance
Cancel the in progress last operation of the resource instance. Cancel the in progress last operation of the resource instance. After successful cancellation, the resource instance is removed. :param str id: The resource instance URL-encoded CRN or GUID. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse with `dict` result representing a `ResourceInstance` object
def cancel_lastop_resource_instance(self, id: str, **kwargs) -> DetailedResponse: """ Cancel the in progress last operation of the resource instance. Cancel the in progress last operation of the resource instance. After successful cancellation, the resource instance is removed. :param str id: The resource instance URL-encoded CRN or GUID. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse with `dict` result representing a `ResourceInstance` object """ if not id: raise ValueError('id must be provided') headers = {} sdk_headers = get_sdk_headers( service_name=self.DEFAULT_SERVICE_NAME, service_version='V2', operation_id='cancel_lastop_resource_instance' ) headers.update(sdk_headers) if 'headers' in kwargs: headers.update(kwargs.get('headers')) del kwargs['headers'] headers['Accept'] = 'application/json' path_param_keys = ['id'] path_param_values = self.encode_path_vars(id) path_param_dict = dict(zip(path_param_keys, path_param_values)) url = '/v2/resource_instances/{id}/last_operation'.format(**path_param_dict) request = self.prepare_request(method='DELETE', url=url, headers=headers) response = self.send(request, **kwargs) return response
(self, id: str, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
[ 0.018620556220412254, -0.05205938220024109, -0.01959777995944023, -0.03837824612855911, -0.02777092531323433, -0.05653684213757515, 0.00939023308455944, 0.021196873858571053, 0.04914547875523567, -0.010216431692242622, -0.010056521743535995, -0.03487800806760788, 0.016897089779376984, -0.08194466680288315, -0.02071714587509632, 0.05490221455693245, 0.0027073542587459087, -0.03884020820260048, -0.050282612442970276, -0.06769496202468872, 0.05870450288057327, 0.07195921242237091, -0.04210946708917618, 0.015831027179956436, 0.07526400685310364, 0.07067994028329849, 0.009159252978861332, 0.027397803962230682, -0.056003812700510025, -0.02828618884086609, 0.009674516506493092, -0.0033158983569592237, -0.028712613508105278, -0.003655705600976944, -0.01787431351840496, 0.018140828236937523, -0.013103683479130268, 0.0587400384247303, -0.08571141958236694, 0.0173590499907732, -0.012499582022428513, 0.01761668175458908, -0.03766753897070885, -0.032017406076192856, 0.01881600171327591, -0.02252945303916931, 0.00456630066037178, -0.01761668175458908, -0.01908251643180847, -0.031075719743967056, 0.04598282650113106, -0.007253666408360004, -0.029210111126303673, 0.013530109077692032, 0.009461304172873497, 0.01796315237879753, -0.0062009296379983425, 0.05284116044640541, 0.008968249894678593, -0.033261146396398544, -0.0006485212943516672, -0.022600524127483368, 0.004461915232241154, -0.0005260906764306128, 0.029441090300679207, 0.0015646687243133783, -0.013538992963731289, 0.03441604971885681, -0.04694228246808052, 0.028499402105808258, 0.0005283116479404271, -0.0192424263805151, 0.0020199662540107965, 0.0013925440143793821, -0.023186856880784035, -0.05870450288057327, 0.007338062860071659, -0.022405078634619713, -0.01796315237879753, -0.005876669194549322, -0.04751084744930267, -0.028499402105808258, 0.035339970141649246, -0.008866085670888424, 0.015377949923276901, -0.06595373153686523, 0.048292625695466995, -0.04029715806245804, -0.09772238880395889, -0.02837502770125866, -0.02178320847451687, -0.007515740115195513, -0.04978511482477188, -0.009345813654363155, 0.0699336975812912, -0.013450154103338718, -0.01058955304324627, -0.018442880362272263, -0.010642856359481812, -0.06058787927031517, 0.006023252848535776, -0.028908059000968933, 0.017732171341776848, -0.04061697795987129, 0.09502169489860535, -0.022849271073937416, 0.009336929768323898, 0.0005011048633605242, -0.04200286045670509, -0.022724896669387817, 0.050104934722185135, 0.08109181374311447, -0.053409725427627563, -0.01821189932525158, 0.05078010633587837, 0.012801633216440678, -0.013618947006762028, 0.04637371376156807, 0.0037334393709897995, -0.03454042226076126, -0.007431343197822571, -0.0708220824599266, -0.002967206994071603, -0.012819400988519192, -0.03862699493765831, 0.01287270337343216, -0.007342504803091288, -0.014507332816720009, -0.04090126231312752, -0.029778676107525826, -0.04498783499002457, -0.05127760395407677, -0.0636439248919487, 0.03784521669149399, 0.022120794281363487, 0.0012004306772723794, 0.05308990925550461, 0.05554185062646866, -0.04559193551540375, 0.025265678763389587, 0.06531409174203873, 0.058882180601358414, -0.004439705982804298, 0.053800616413354874, 0.019064748659729958, -0.024661576375365257, -0.029085736721754074, 0.04711996018886566, -0.0011848839931190014, 0.008102074265480042, -0.005139309447258711, -0.026758166030049324, 0.0447746217250824, 0.025088002905249596, 0.03681468963623047, -0.015795491635799408, -0.011362448334693909, -0.011922131292521954, -0.009012669324874878, -0.07362937927246094, 0.042606960982084274, 0.0587400384247303, 0.049714043736457825, -0.056217025965452194, 0.007209246978163719, -0.018922608345746994, 0.007000476587563753, 0.028108512982726097, -0.021605530753731728, 0.06240018829703331, -0.023737655952572823, -0.023648817092180252, 0.026367276906967163, -0.04715549573302269, -0.08322393894195557, 0.07995468378067017, 0.05305437371134758, -0.005747853312641382, 0.031040184199810028, 0.008235332556068897, 0.004361972212791443, -0.04676460474729538, 0.02053947001695633, -0.020912591367959976, -0.011691151186823845, -0.018025338649749756, 0.018140828236937523, 0.024306222796440125, -0.014258584938943386, -0.02906796894967556, 0.006325303576886654, 0.00939023308455944, 0.03143107518553734, 0.018531719222664833, -0.0011760001070797443, -0.015111435204744339, -0.002549665980041027, -0.010438527911901474, 0.10035201162099838, 0.043779630213975906, -0.02746887505054474, 0.06957834213972092, 0.04040376469492912, -0.0447746217250824, 0.03217731788754463, 0.011913247406482697, 0.02132124826312065, 0.00012867707118857652, -0.04839923232793808, -0.0023031390737742186, -0.02480371855199337, 0.04719103127717972, -0.0037423232570290565, 0.03372310847043991, 0.015146969817578793, -0.015191389247775078, -0.011575660668313503, -0.0328880250453949, 0.03780968114733696, 0.01050959900021553, 0.00765343988314271, -0.054617930203676224, -0.026544954627752304, 0.022636057808995247, -0.02631397359073162, 0.028908059000968933, 0.026385044679045677, 0.015520092099905014, 0.022600524127483368, -0.043211061507463455, 0.008279751054942608, 0.020308488979935646, 0.02988528273999691, -0.03997734189033508, -0.024857021868228912, 0.024750415235757828, -0.06463892012834549, -0.010340805165469646, -0.01649731583893299, 0.025780942291021347, 0.005099331960082054, 0.0011293598217889667, -0.016985928639769554, -0.0111936554312706, -0.05120653286576271, 0.012988193891942501, 0.04470355063676834, 0.034042924642562866, 0.031537678092718124, -0.091823510825634, 0.05344526097178459, -0.049714043736457825, 0.006933847442269325, -0.025603266432881355, 0.04957190155982971, -0.01386769488453865, -0.022103026509284973, -0.06161840632557869, 0.047901738435029984, 0.015173621475696564, -0.023826494812965393, 0.03518005833029747, -0.035464342683553696, 0.019953135401010513, -0.014658357948064804, -0.01058955304324627, -0.03919555991888046, 0.020948126912117004, 0.04079465568065643, 0.03299463167786598, 0.06104984134435654, -0.028392795473337173, -0.02746887505054474, -0.029956353828310966, -0.008866085670888424, -0.009025994688272476, -0.006365281064063311, -0.03414953127503395, -0.010749462991952896, -0.07000476866960526, 0.01199320238083601, -0.00930139422416687, 0.05529310554265976, -0.05046028643846512, 0.010545133613049984, -0.011504590511322021, 0.000598549610003829, 0.0540849007666111, 0.017590029165148735, 0.06215143948793411, 0.017421236261725426, 0.020912591367959976, -0.028783684596419334, 0.022671593353152275, 0.005103773903101683, 0.045449793338775635, -0.039373237639665604, -0.040332693606615067, -0.013387966901063919, 0.006796147674322128, -0.02897913008928299, -0.010038753971457481, 0.004175411071628332, -0.07917290180921555, -0.07490865141153336, 0.005143751390278339, 0.038342710584402084, 0.014480681158602238, 0.007862210273742676, 0.04541425779461861, 0.037098970264196396, 0.010864952579140663, -0.017208024859428406, -0.08180252462625504, -0.009976567700505257, 0.03699236735701561, 0.05593274161219597, -0.036494869738817215, 0.005903320852667093, 0.016648340970277786, -0.043424274772405624, 0.011566776782274246, 0.011522358283400536, 0.0055524082854390144, 0.02970760688185692, -0.06840567290782928, -0.03717004135251045, 0.04008394852280617, 0.049074407666921616, 0.03217731788754463, -0.03820056840777397, -0.0024319549556821585, -0.012428510934114456, -0.03564202040433884, 0.021516693755984306, -0.091823510825634, 0.04548532888293266, -0.008897178806364536, 0.03592630475759506, 0.03581969812512398, 0.003404736751690507, -0.04004841297864914, 0.04530765116214752, 0.06112091243267059, -0.0524502694606781, 0.020059742033481598, 0.032923560589551926, -0.006387490779161453, 0.03027617186307907, -0.028730381280183792, 0.014907105825841427, 0.012215298600494862, -0.021818744018673897, 0.030418314039707184, -0.015653349459171295, -0.028321724385023117, 0.006223139353096485, 0.029210111126303673, 0.016044238582253456, -0.05120653286576271, -0.01796315237879753, 0.010651740245521069, -0.04250035434961319, -0.006014368962496519, 0.004353088326752186, -0.0020510596223175526, 0.01933126524090767, -0.05468900129199028, -0.036103978753089905, -0.0347180999815464, -0.05667898431420326, -0.03418506681919098, 0.04655139148235321, 0.008346380665898323, 0.029423322528600693, 0.07124850153923035, -0.034078460186719894, -0.03350989520549774, -0.029689839109778404, -0.02885475568473339, 0.011984318494796753, -0.040581442415714264, -0.01878046616911888, -0.041185542941093445, -0.01145128719508648, 0.03780968114733696, -0.044596944004297256, -0.03642379865050316, 0.03366980329155922, -0.00019308499759063125, 0.020948126912117004, -0.0685478150844574, -0.018442880362272263, -0.027237894013524055, 0.0035713091492652893, 0.003606844460591674, -0.014764964580535889, 0.01869162730872631, 0.04225160554051399, -0.03780968114733696, 0.018620556220412254, 0.08940710127353668, 0.022582756355404854, 0.014844919554889202, 0.039764128625392914, -0.014418493956327438, 0.004535207059234381, -0.03340328857302666, -0.036708083003759384, -0.06517194956541061, -0.020077507942914963, -0.0379873588681221, 0.043211061507463455, 0.012606187723577023, 0.024945860728621483, 0.07128404080867767, -0.058882180601358414, 0.08222895115613937, -0.013450154103338718, -0.03489577770233154, 0.017900964245200157, 0.07426901161670685, 0.058029331266880035, -0.03530443459749222, -0.030631527304649353, 0.008248657919466496, 0.023737655952572823, -0.014933757483959198, 0.009177020750939846, -0.011851060204207897, -0.00739580811932683, 0.005783388391137123, 0.008390799164772034, 0.05259241163730621, -0.000029965654903207906, 0.026598257943987846, 0.01653285138309002, 0.041150011122226715, 0.017252443358302116, 0.06595373153686523, 0.0007895524613559246, -0.0011504590511322021, -0.00939023308455944, 0.02897913008928299, -0.017021462321281433, -0.030329475179314613, 0.014311888255178928, -0.019615547731518745, 0.023879798129200935, 0.015369066968560219, 0.0983620285987854, 0.003857813309878111, 0.05120653286576271, 0.009248091839253902, 0.0277353897690773, -0.0852849930524826, -0.023328999057412148, 0.001642402377910912, -0.02002420648932457, -0.08436106890439987, -0.04193178936839104, 0.047866202890872955, 0.013139219023287296, -0.02954769693315029, -0.017128068953752518, -0.014764964580535889, 0.04210946708917618, 0.019544478505849838, 0.0019766574259847403, 0.00395997753366828, -0.013103683479130268, -0.015422369353473186, -0.019046982750296593, 0.03160874918103218, -0.005463569890707731, 0.0666644349694252, 0.045663006603717804, -0.029085736721754074, 0.004037711303681135, 0.011726686730980873, 0.05593274161219597, -0.01033192127943039, 0.02940555475652218, -0.05422704294323921, -0.009763355366885662, -0.010269735008478165, -0.021552229300141335, 0.003584634978324175, 0.0311290230602026, -0.026847004890441895, 0.005667898338288069, 0.037134505808353424, -0.05216598883271217, 0.05351633206009865, -0.010340805165469646, -0.046871211379766464, 0.0033114564139395952, 0.00710708275437355, 0.03121786192059517, 0.016559502109885216, 0.02992081828415394, -0.03979966416954994, 0.01886930502951145, -0.03327891603112221, 0.01787431351840496, -0.04207393154501915, -0.012588419951498508, 0.04537872225046158, -0.0011526800226420164, 0.034593723714351654, -0.05731862410902977, -0.03947984427213669, 0.0368502251803875, 0.03294133022427559, -0.02347114123404026, -0.009807773865759373, -0.042962316423654556, 0.009150369092822075, 0.044028379023075104, 0.014134210534393787, 0.022938109934329987, 0.013618947006762028, 0.0049394224770367146, 0.024750415235757828, -0.001521359896287322, -0.055968277156353, -0.058420222252607346, -0.08393464982509613, 0.019189123064279556, 0.0587400384247303, -0.014569520018994808, -0.04505890607833862, 0.007440227083861828, -0.02716682478785515, -0.03564202040433884, 0.01701257936656475, -0.09765131771564484, -0.03617504984140396, -0.032923560589551926, -0.04303338751196861, -0.013014845550060272, 0.04090126231312752, 0.0099054966121912, 0.03091580979526043, -0.049714043736457825, -0.011504590511322021, 0.014685009606182575, 0.03663701191544533, -0.03940877318382263, 0.017732171341776848, 0.07633006572723389, -0.031146790832281113, 0.010545133613049984, -0.003478028578683734, -0.09168136864900589, 0.06733960658311844, 0.01386769488453865, 0.007973258383572102, 0.04164750501513481, -0.024839254096150398, -0.03018733486533165, 0.028659312054514885, 0.0962299033999443, -0.03255043923854828, -0.022422846406698227, 0.06495873630046844, 0.06272000819444656, -0.0000809957564342767, -0.012810517102479935, 0.012259718030691147, 0.011708918958902359, -0.005379173438996077, 0.044596944004297256, -0.05127760395407677, -0.002807297743856907, 0.037098970264196396, 0.027575481683015823, 0.026473883539438248, 0.0099054966121912, 0.0254078209400177, 0.024857021868228912, -0.021108034998178482, 0.0366014763712883, -0.12856712937355042, -0.011122584342956543, 0.05667898431420326, -0.01972215436398983, 0.03862699493765831, 0.026935843750834465, 0.040581442415714264, -0.00032120684045366943, 0.09594561904668808, 0.04285570979118347, -0.04736870527267456, 0.024057475849986076, 0.0657760500907898, 0.03605067729949951, -0.004948306363075972, -0.05937967821955681, 0.08514285087585449, 0.03281695395708084, 0.01719025708734989, 0.010323037393391132, 0.01592874899506569, 0.005747853312641382, -0.009807773865759373, -0.05426257848739624, -0.03478917106986046, -0.038555923849344254, -0.012153111398220062, 0.009274742566049099, -0.04512997716665268, 0.0014269689563661814, 0.0008306403178721666, -0.010687275789678097, -0.0015835468657314777, -0.02299141325056553, 0.007711184676736593, 0.00533919595181942, -0.024697111919522285, -0.024483900517225266, 0.00713817635551095, -0.0005885552964173257, 0.005876669194549322, -0.07604578882455826, 0.0694361999630928, -0.006143184844404459, 0.00080454396083951, -0.05362293869256973, 0.036672547459602356, -0.020823752507567406, 0.005205938126891851, -0.020912591367959976, 0.005965507589280605, -0.022582756355404854, -0.004139875527471304, 0.023702120408415794, 0.011566776782274246, -0.008768362924456596, -0.0111936554312706, 0.02183651179075241, -0.03379417955875397, -0.025674335658550262, 0.06481659412384033, -0.06065895035862923, 0.019580012187361717, -0.006463003344833851, -0.024395061656832695, -0.04210946708917618, -0.0143385399132967, 0.006520748604089022, 0.026775933802127838, 0.0031026857905089855, -0.050282612442970276, -0.01710141822695732, -0.06080109253525734, 0.02359551563858986, 0.016355173662304878, 0.003597960574552417, -0.00726699223741889, 0.020912591367959976, -0.03121786192059517, -0.007906629703938961, -0.013361315242946148, -0.040972333401441574, -0.0524502694606781, -0.012588419951498508, -0.02277819998562336, 0.029263412579894066, 0.0010127592831850052, 0.004104340448975563, -0.03784521669149399, -0.00291168293915689, 0.06932958960533142, -0.034949079155921936, -0.007991026155650616, -0.02162329852581024, -0.00784000102430582, 0.0050771222449839115, 0.02700691483914852, 0.034647028893232346, 0.00511265778914094, -0.01470277737826109, -0.028215117752552032, -0.019153587520122528, 0.02462604269385338, 0.012028737924993038, 0.024430597200989723, 0.015369066968560219, -0.06279107928276062, -0.020734913647174835, 0.02320462465286255, 0.012970426119863987, -0.014978176914155483, -0.025372285395860672, -0.024146312847733498, -0.06279107928276062, -0.03160874918103218, 0.018185248598456383, 0.01863832399249077, -0.014072024263441563, -0.024252919480204582, 0.024359526112675667, -0.010172012262046337, 0.0061387429013848305, 0.038733601570129395, 0.0006507422658614814, -0.07163939625024796, 0.05504435673356056, -0.018798233941197395, 0.021161338314414024, 0.07455329596996307, 0.0335809662938118, -0.00234755827113986, 0.02665156126022339, 0.0627555400133133, -0.060090385377407074, -0.06566944718360901, -0.023879798129200935, 0.030453849583864212, 0.001788986031897366, 0.029174575582146645, 0.03884020820260048, -0.020308488979935646, 0.009878844954073429, 0.01470277737826109, 0.019615547731518745, 0.030862506479024887, 0.02833949215710163, 0.011895479634404182, -0.009932148270308971, -0.008883853442966938, -0.05756736919283867, -0.041363220661878586, 0.0396219864487648, -0.013912114314734936, 0.037489861249923706, -0.012526233680546284, 0.06929405778646469, 0.02722012624144554, -0.0657760500907898, 0.03079143539071083, 0.006662890315055847, 0.008244216442108154, -0.039124488830566406, -0.0007007139502093196, 0.039160024374723434, 0.0003839490527752787, 0.029263412579894066, -0.050282612442970276, 0.0347180999815464, -0.03237276151776314, 0.0445258729159832, 0.0445258729159832, 0.07057332992553711, -0.018958143889904022, -0.03160874918103218, 0.09530597925186157, 0.03368757292628288, 0.06382160633802414, -0.001982209738343954, -0.04711996018886566, 0.039160024374723434, -0.017332397401332855, 0.0015524533810093999, 0.009656748734414577, -0.004324215464293957, 0.015031480230391026 ]
719,917
ibm_platform_services.resource_controller_v2
create_resource_alias
Create a new resource alias. Alias a resource instance into a targeted environment's (name)space. :param str name: The name of the alias. Must be 180 characters or less and cannot include any special characters other than `(space) - . _ :`. :param str source: The ID of resource instance. :param str target: The CRN of target name(space) in a specific environment, for example, space in Dallas YP, CFEE instance etc. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse with `dict` result representing a `ResourceAlias` object
def create_resource_alias(self, name: str, source: str, target: str, **kwargs) -> DetailedResponse: """ Create a new resource alias. Alias a resource instance into a targeted environment's (name)space. :param str name: The name of the alias. Must be 180 characters or less and cannot include any special characters other than `(space) - . _ :`. :param str source: The ID of resource instance. :param str target: The CRN of target name(space) in a specific environment, for example, space in Dallas YP, CFEE instance etc. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse with `dict` result representing a `ResourceAlias` object """ if name is None: raise ValueError('name must be provided') if source is None: raise ValueError('source must be provided') if target is None: raise ValueError('target must be provided') headers = {} sdk_headers = get_sdk_headers( service_name=self.DEFAULT_SERVICE_NAME, service_version='V2', operation_id='create_resource_alias' ) headers.update(sdk_headers) data = {'name': name, 'source': source, 'target': target} data = {k: v for (k, v) in data.items() if v is not None} data = json.dumps(data) headers['content-type'] = 'application/json' if 'headers' in kwargs: headers.update(kwargs.get('headers')) del kwargs['headers'] headers['Accept'] = 'application/json' url = '/v2/resource_aliases' request = self.prepare_request(method='POST', url=url, headers=headers, data=data) response = self.send(request, **kwargs) return response
(self, name: str, source: str, target: str, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
[ -0.034505654126405716, -0.060982588678598404, 0.011855742894113064, -0.03372062370181084, -0.014335725456476212, 0.0057583763264119625, -0.07118798047304153, 0.005075935274362564, 0.03480895981192589, -0.055023495107889175, 0.008251739665865898, 0.024246733635663986, 0.0625169649720192, -0.02909964881837368, 0.008889577351510525, 0.023586595430970192, 0.01704764924943447, 0.021427761763334274, -0.013077892363071442, 0.004208387341350317, 0.017654262483119965, 0.04335508868098259, 0.03284638375043869, -0.0333816334605217, 0.03935857117176056, 0.08114359527826309, 0.01604851894080639, 0.011302653700113297, -0.0076718879863619804, 0.003236020216718316, -0.02462140843272209, -0.059697993099689484, 0.03645038977265358, 0.09049259126186371, 0.04892166703939438, 0.004435868002474308, -0.03477327898144722, 0.03960835188627243, -0.09334725141525269, 0.0036240750923752785, -0.004560758825391531, -0.0070429714396595955, -0.013506091199815273, -0.022516099736094475, 0.06348041445016861, 0.005905569531023502, -0.015718448907136917, -0.043033938854932785, -0.027244122698903084, -0.02579895406961441, 0.031133592128753662, -0.018947778269648552, -0.026262834668159485, -0.005838663782924414, -0.03329242393374443, 0.01595931127667427, -0.011766535229980946, 0.07893123477697372, -0.042534373700618744, -0.015638161450624466, 0.004982266575098038, 0.01383616030216217, 0.017422322183847427, -0.037859875708818436, -0.04242732375860214, 0.028921233490109444, -0.05213315412402153, -0.03393472358584404, -0.009384681470692158, 0.038787636905908585, 0.037217576056718826, -0.017181459814310074, 0.0034278174862265587, -0.034309398382902145, 0.06276674568653107, 0.027975628152489662, -0.016699736937880516, 0.02722628228366375, -0.0037266642320901155, -0.08285638689994812, -0.04542471468448639, -0.040821582078933716, 0.004386803600937128, -0.030312879011034966, 0.0313120074570179, 0.023800693452358246, -0.05769973248243332, 0.0029215619433671236, -0.013996735215187073, -0.026262834668159485, 0.04517493024468422, 0.00467449938878417, -0.06487205624580383, 0.04339076951146126, 0.019893383607268333, -0.036129239946603775, -0.00934899877756834, -0.037467360496520996, 0.03960835188627243, 0.025317231193184853, -0.010196474380791187, -0.018912095576524734, -0.009340077638626099, 0.04956396296620369, 0.07978763431310654, -0.02219494991004467, -0.02199869230389595, 0.021285029128193855, 0.0033274583984166384, 0.023943427950143814, -0.021838117390871048, -0.0022926456294953823, 0.029367273673415184, -0.025281546637415886, -0.018519580364227295, -0.013434724882245064, 0.05994777753949165, 0.003481342224404216, -0.025085289031267166, -0.0585918128490448, 0.06451522558927536, -0.004786008968949318, 0.021285029128193855, -0.01610204391181469, 0.006204416509717703, -0.004438098054379225, -0.015593558549880981, 0.04546039551496506, -0.03127632290124893, -0.041606612503528595, -0.03960835188627243, 0.014781765639781952, -0.04167797788977623, 0.053738899528980255, 0.0439973846077919, 0.0001372966798953712, 0.030562659725546837, 0.060554388910532, -0.028600085526704788, 0.026066577062010765, 0.013006526045501232, 0.005687010008841753, -0.02412184327840805, -0.006195495370775461, -0.03275717794895172, -0.04078589752316475, 0.001798656303435564, 0.0292959064245224, -0.03379198908805847, 0.017904045060276985, 0.0002230200043413788, -0.04014360159635544, 0.028885550796985626, 0.031740207225084305, 0.015424063429236412, -0.014531983062624931, -0.022266317158937454, -0.03835944086313248, 0.007341818418353796, 0.012774585746228695, -0.007395343389362097, -0.018876412883400917, -0.00905461236834526, -0.012176891788840294, -0.009241948835551739, -0.04956396296620369, -0.03304264321923256, -0.03427371382713318, -0.004190545994788408, -0.013809398747980595, -0.042641423642635345, -0.036182764917612076, -0.019964750856161118, -0.012828110717236996, -0.042534373700618744, 0.008568428456783295, 0.05884159728884697, -0.03498737886548042, -0.01903698779642582, 0.001564485253766179, 0.0046655782498419285, -0.038252390921115875, 0.00759606109932065, 0.0018521810416132212, -0.0025446582585573196, 0.011302653700113297, 0.006521104834973812, 0.05131244286894798, 0.012703219428658485, 0.029010441154241562, 0.057485636323690414, 0.023907743394374847, 0.020624889060854912, 0.029956046491861343, -0.02292645536363125, -0.0879947692155838, -0.004714642651379108, -0.027351172640919685, 0.02619146928191185, 0.028332460671663284, -0.06958223879337311, 0.06562140583992004, -0.0066727581433951855, 0.0879947692155838, 0.09634464234113693, -0.016753261908888817, 0.042534373700618744, 0.00454960810020566, -0.0753629207611084, -0.05091992765665054, 0.010080504231154919, 0.022962139919400215, -0.037610091269016266, 0.001313587767072022, -0.024300258606672287, 0.007096496410667896, 0.017814837396144867, 0.02356875315308571, 0.0337563082575798, -0.0303842443972826, -0.020874671638011932, -0.043283719569444656, 0.024246733635663986, -0.04396170377731323, -0.01716361939907074, -0.03204351291060448, 0.03818102553486824, 0.004884137772023678, -0.010044820606708527, -0.021267186850309372, -0.014371409080922604, -0.023604435846209526, 0.007016208954155445, 0.0011563587468117476, -0.01023215800523758, 0.011686247773468494, 0.052989549934864044, -0.029848996549844742, -0.0005129459896124899, 0.006583550479263067, -0.006828872486948967, 0.0419277586042881, 0.029420798644423485, -0.007158942054957151, -0.04167797788977623, -0.019804175943136215, -0.016449954360723495, 0.02588816173374653, 0.012194733135402203, -0.09798606485128403, 0.01679786667227745, -0.00749793229624629, -0.005058093462139368, 0.014068101532757282, 0.012729981914162636, -0.049349866807460785, -0.005620103795081377, -0.05962662771344185, 0.01691383682191372, -0.02342602051794529, -0.0649077370762825, 0.0007582679972983897, -0.06619233638048172, 0.0036642185878008604, -0.022765882313251495, -0.021177979186177254, -0.02185595966875553, 0.021177979186177254, -0.043818969279527664, -0.008862814866006374, 0.04942123219370842, 0.054274145513772964, -0.00954525638371706, -0.03893037140369415, 0.023158397525548935, 0.0377885103225708, 0.04364055395126343, -0.029456481337547302, -0.013283071108162403, -0.05152653902769089, 0.0022692284546792507, 0.0004716872936114669, 0.05573715642094612, 0.040179282426834106, 0.04285552352666855, -0.050241947174072266, -0.0001212671268149279, 0.04217754304409027, -0.015968231484293938, -0.017395559698343277, -0.0024242273066192865, 0.040179282426834106, 0.00016851948748808354, 0.010205395519733429, -0.019946908578276634, 0.06608528643846512, -0.04463968425989151, 0.01727066934108734, 0.027101390063762665, -0.018965620547533035, -0.0438903346657753, 0.032828543335199356, 0.053988680243492126, -0.028635768219828606, -0.07393559068441391, -0.04874325171113014, 0.03254307806491852, -0.0021911715157330036, -0.005263271741569042, 0.010151870548725128, -0.046530891209840775, 0.02840382792055607, -0.011739772744476795, -0.02909964881837368, -0.00501795019954443, 0.0026873908936977386, 0.02076762169599533, 0.052846819162368774, 0.02840382792055607, 0.03589729964733124, -0.049456916749477386, 0.010927979834377766, -0.043818969279527664, -0.08299912512302399, 0.08999302983283997, -0.0010275646345689893, 0.029724106192588806, 0.03810965642333031, 0.09063532948493958, 0.023158397525548935, -0.056201040744781494, -0.053631849586963654, -0.011177762411534786, -0.020981721580028534, -0.05948389321565628, -0.07068841904401779, 0.01403241790831089, -0.03477327898144722, -0.02540643885731697, 0.04938554763793945, -0.004786008968949318, -0.014888815581798553, -0.027993470430374146, -0.006770886946469545, 0.013907527551054955, 0.024282418191432953, 0.002899260027334094, -0.0354512594640255, 0.010883376002311707, -0.0335422083735466, -0.02999172918498516, 0.035094428807497025, 0.060447338968515396, 0.03181157261133194, 0.0838555172085762, -0.054773710668087006, -0.048564836382865906, 0.010820929892361164, -0.005860965698957443, -0.0009272056631743908, -0.08599650859832764, -0.03111574985086918, -0.04228459298610687, -0.014656874351203442, 0.01635182648897171, -0.023051347583532333, -0.004781548865139484, -0.00867993850260973, -0.017734549939632416, -0.06865447759628296, -0.04738729074597359, -0.0631592646241188, -0.007774477358907461, 0.02742253988981247, 0.02155265212059021, -0.012292861938476562, -0.005040252115577459, -0.05370321497321129, -0.03600434958934784, 0.02258746512234211, 0.008626413531601429, 0.012043080292642117, -0.03195430710911751, 0.006873476319015026, 0.03910878673195839, -0.048065271228551865, 0.015566796064376831, -0.0030063095036894083, -0.011811139062047005, 0.04842210188508034, 0.044461265206336975, -0.0333816334605217, 0.03793124109506607, 0.022819405421614647, 0.011275891214609146, -0.03436291962862015, -0.09391818195581436, -0.016414271667599678, -0.03298911824822426, 0.003896159352734685, -0.0028323540464043617, 0.01917972043156624, 0.03225761279463768, -0.009723671711981297, 0.015700608491897583, -0.04217754304409027, 0.06851174682378769, -0.025513486936688423, 0.017984332516789436, 0.04453263431787491, -0.019964750856161118, -0.06761966645717621, -0.012203654274344444, -0.021374236792325974, -0.00917058251798153, 0.07529155164957047, -0.010187553241848946, 0.06216013431549072, -0.00004850684854318388, -0.010847692377865314, 0.03345299884676933, -0.010080504231154919, 0.011730851605534554, 0.02381853573024273, 0.017600737512111664, -0.026030894368886948, -0.029278066009283066, 0.023961268365383148, 0.020339423790574074, -0.0335957333445549, 0.02165970206260681, 0.020392948761582375, 0.018858570605516434, -0.040179282426834106, 0.009625542908906937, 0.007872605696320534, 0.03500521928071976, -0.017038727179169655, 0.028225410729646683, 0.022230632603168488, 0.027832895517349243, -0.03893037140369415, -0.002611564239487052, 0.026566142216324806, -0.05534464120864868, -0.02446083351969719, -0.04874325171113014, -0.0293494313955307, 0.04274847358465195, -0.022765882313251495, 0.09284768253564835, 0.03480895981192589, 0.034345079213380814, -0.033916883170604706, -0.013184942305088043, -0.062267184257507324, 0.006440817378461361, -0.04906440153717995, -0.040179282426834106, -0.021088771522045135, -0.005575499963015318, -0.005896648857742548, 0.0061598122119903564, 0.047922536730766296, -0.008541665971279144, 0.00958986021578312, -0.004072345327585936, 0.01447845809161663, 0.017342034727334976, -0.012533724308013916, -0.0031557329930365086, -0.031204957515001297, -0.027708005160093307, 0.04931418225169182, 0.016753261908888817, 0.01699412427842617, 0.0012132287956774235, 0.014612270519137383, -0.02663750946521759, 0.04078589752316475, 0.03595082461833954, -0.010098345577716827, 0.030277194455266, -0.004003209061920643, 0.021624019369482994, 0.04881461709737778, 0.062267184257507324, 0.005040252115577459, -0.06779807806015015, 0.053382065147161484, 0.035629674792289734, -0.01529025100171566, -0.03739599511027336, 0.025370754301548004, -0.07136639952659607, -0.010214315727353096, 0.04314098879694939, 0.028600085526704788, -0.010954742319881916, -0.03530852496623993, 0.008211595937609673, -0.09905656427145004, 0.008376630954444408, -0.033221058547496796, 0.06101827323436737, 0.02376501075923443, -0.05067014321684837, 0.018430372700095177, -0.005553198046982288, 0.048172321170568466, -0.05587989091873169, 0.024639248847961426, 0.06265969574451447, 0.030705394223332405, 0.004643276333808899, 0.0861392468214035, -0.03575456514954567, 0.03216840326786041, 0.005637945607304573, -0.018965620547533035, -0.02046431601047516, 0.05381026491522789, -0.00491982139647007, -0.03782419115304947, -0.012587248347699642, -0.020428631454706192, -0.021588336676359177, -0.012828110717236996, -0.010455177165567875, 0.046637941151857376, -0.034309398382902145, -0.03225761279463768, -0.023265445604920387, -0.04428284987807274, 0.004933202173560858, 0.07571975141763687, -0.08471191674470901, 0.018858570605516434, 0.008051021955907345, -0.016137726604938507, 0.057878151535987854, 0.01942950300872326, -0.09541687369346619, -0.05527327582240105, -0.04553176462650299, -0.006788728758692741, 0.032721493393182755, -0.009928850457072258, 0.05780678242444992, -0.034309398382902145, 0.04335508868098259, -0.0376814603805542, 0.03882332146167755, 0.08085813373327255, -0.05163358896970749, 0.04581722989678383, 0.029224541038274765, -0.07671888172626495, -0.0029126412700861692, 0.010856613516807556, -0.012515882030129433, 0.05470234528183937, 0.031989987939596176, 0.00858180969953537, -0.01623585633933544, 0.06091122329235077, 0.031490422785282135, 0.05170495808124542, -0.01396105159074068, 0.009509572759270668, -0.02776153013110161, -0.03091949224472046, 0.022516099736094475, 0.016226934269070625, -0.03471975401043892, 0.00932223629206419, 0.09313315153121948, -0.022658832371234894, 0.03893037140369415, 0.0334886834025383, 0.004426946863532066, 0.03393472358584404, -0.034113138914108276, -0.060554388910532, -0.019786333665251732, 0.05470234528183937, 0.03960835188627243, 0.030402086675167084, 0.01850173994898796, -0.04217754304409027, -0.09284768253564835, 0.020357266068458557, -0.024639248847961426, -0.010713880881667137, -0.009032309986650944, 0.02046431601047516, 0.020678414031863213, -0.03423802927136421, 0.01479960698634386, 0.008149150758981705, -0.015727370977401733, 0.008447997272014618, -0.030295036733150482, 0.02540643885731697, 0.023015663027763367, 0.0016124346293509007, -0.028724975883960724, -0.07893123477697372, -0.08357005566358566, -0.014594429172575474, -0.012533724308013916, -0.03860922157764435, -0.002081891754642129, -0.010392731986939907, -0.002709693042561412, -0.026476934552192688, -0.045745860785245895, 0.03002741187810898, 0.014121626503765583, 0.017930807545781136, -0.019714968279004097, -0.004400184378027916, -0.0026137942913919687, 0.035879459232091904, -0.06515752524137497, 0.0586988627910614, 0.04249868914484978, 0.012176891788840294, -0.0500992126762867, -0.004910900257527828, -0.025763269513845444, 0.027440380305051804, 0.017627499997615814, -0.009928850457072258, 0.057878151535987854, 0.013354437425732613, 0.06183898448944092, 0.03186509758234024, 0.05091992765665054, -0.0041191792115569115, -0.013586378656327724, 0.021713227033615112, -0.0375744104385376, 0.04592427983880043, -0.023069187998771667, 0.0770043432712555, -0.010820929892361164, -0.08335595577955246, -0.04610269516706467, 0.004027741029858589, 0.00351479509845376, 0.0607684887945652, -0.00010021961497841403, 0.011944951489567757, 0.07921670377254486, 0.06183898448944092, -0.04324803873896599, -0.020214533433318138, -0.01750260964035988, 0.0026093339547514915, 0.04099999740719795, -0.011944951489567757, 0.01948302797973156, -0.02440730854868889, -0.009010007604956627, -0.027404697611927986, 0.012970843352377415, -0.055166225880384445, 0.0036441467236727476, 0.08678153902292252, 0.02594168670475483, -0.057592686265707016, 0.008755764923989773, 0.02082114666700363, -0.0029081807006150484, -0.01579873636364937, 0.040857262909412384, -0.027404697611927986, 0.031989987939596176, -0.002097503049299121, -0.037610091269016266, -0.03978676721453667, 0.02806483581662178, 0.012524803169071674, -0.04028633236885071, 0.016708659008145332, 0.03803829103708267, -0.019019145518541336, -0.004982266575098038, -0.019875543192029, 0.031133592128753662, -0.0586988627910614, -0.010847692377865314, 0.05805656686425209, -0.05905569717288017, -0.012203654274344444, -0.029670581221580505, -0.06319494545459747, -0.031347692012786865, -0.0023461703676730394, 0.03298911824822426, -0.010606830939650536, 0.030312879011034966, -0.009902087971568108, -0.026673192158341408, 0.03661096468567848, -0.016084201633930206, -0.054523929953575134, 0.02672671712934971, -0.02446083351969719, 0.02208789996802807, 0.048707567155361176, 0.09020712971687317, 0.0034924931824207306, 0.041999127715826035, -0.03216840326786041, -0.05395299941301346, 0.011070712469518185, 0.009090295061469078, 0.04438989982008934, 0.020535681396722794, 0.05273976922035217, 0.03882332146167755, -0.03532636910676956, 0.025923844426870346, -0.007935051806271076, -0.03195430710911751, 0.005294494796544313, 0.006976065691560507, -0.018020015209913254, -0.018359005451202393, 0.0417136587202549, -0.06009050831198692, -0.023550912737846375, 0.018608788028359413, -0.021463444456458092, 0.02333681285381317, 0.005575499963015318, 0.028867708519101143, 0.04952828213572502, 0.0016614990308880806, 0.06861879676580429, -0.007328437175601721, -0.015183201059699059, 0.0188407301902771, 0.026494774967432022, 0.03206135332584381, 0.027547430247068405, -0.0019313532393425703, -0.008001958020031452, 0.05987640842795372, 0.04774412140250206, 0.012060921639204025, 0.05191905423998833, 0.03477327898144722, -0.09034986048936844, 0.04360486939549446, 0.0502062626183033, 0.04603132605552673, 0.00915274117141962, -0.0014462847029790282, -0.014567666687071323, 0.010829851031303406, -0.0028345840983092785, -0.0008235013228841126, 0.03521931916475296, 0.02149912714958191, 0.002885878784582019 ]
719,918
ibm_platform_services.resource_controller_v2
create_resource_binding
Create a new resource binding. A resource binding connects credentials to a resource alias. The credentials are in the form of a resource key. :param str source: The ID of resource alias. :param str target: The CRN of application to bind to in a specific environment, for example, Dallas YP, CFEE instance. :param str name: (optional) The name of the binding. Must be 180 characters or less and cannot include any special characters other than `(space) - . _ :`. :param ResourceBindingPostParameters parameters: (optional) Configuration options represented as key-value pairs. Service defined options are passed through to the target resource brokers, whereas platform defined options are not. :param str role: (optional) The base IAM service role name (Reader, Writer, or Manager), or the service or custom role CRN. Refer to service’s documentation for supported roles. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse with `dict` result representing a `ResourceBinding` object
def create_resource_binding( self, source: str, target: str, *, name: str = None, parameters: 'ResourceBindingPostParameters' = None, role: str = None, **kwargs, ) -> DetailedResponse: """ Create a new resource binding. A resource binding connects credentials to a resource alias. The credentials are in the form of a resource key. :param str source: The ID of resource alias. :param str target: The CRN of application to bind to in a specific environment, for example, Dallas YP, CFEE instance. :param str name: (optional) The name of the binding. Must be 180 characters or less and cannot include any special characters other than `(space) - . _ :`. :param ResourceBindingPostParameters parameters: (optional) Configuration options represented as key-value pairs. Service defined options are passed through to the target resource brokers, whereas platform defined options are not. :param str role: (optional) The base IAM service role name (Reader, Writer, or Manager), or the service or custom role CRN. Refer to service’s documentation for supported roles. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse with `dict` result representing a `ResourceBinding` object """ if source is None: raise ValueError('source must be provided') if target is None: raise ValueError('target must be provided') if parameters is not None: parameters = convert_model(parameters) headers = {} sdk_headers = get_sdk_headers( service_name=self.DEFAULT_SERVICE_NAME, service_version='V2', operation_id='create_resource_binding' ) headers.update(sdk_headers) data = {'source': source, 'target': target, 'name': name, 'parameters': parameters, 'role': role} data = {k: v for (k, v) in data.items() if v is not None} data = json.dumps(data) headers['content-type'] = 'application/json' if 'headers' in kwargs: headers.update(kwargs.get('headers')) del kwargs['headers'] headers['Accept'] = 'application/json' url = '/v2/resource_bindings' request = self.prepare_request(method='POST', url=url, headers=headers, data=data) response = self.send(request, **kwargs) return response
(self, source: str, target: str, *, name: Optional[str] = None, parameters: Optional[ibm_platform_services.resource_controller_v2.ResourceBindingPostParameters] = None, role: Optional[str] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
[ 0.007638364564627409, -0.04890819266438484, -0.016447504982352257, -0.08482455462217331, -0.018675753846764565, -0.012075980193912983, -0.047019846737384796, 0.05007896572351456, 0.028476275503635406, -0.07228592783212662, -0.009724987670779228, 0.06586554646492004, 0.01881738007068634, -0.030326856300234795, -0.03438680246472359, 0.031856417655944824, 0.047397512942552567, 0.017089542001485825, -0.0787818431854248, -0.02872176095843315, 0.04059946537017822, 0.0350099578499794, 0.044602759182453156, 0.029137197881937027, 0.034216850996017456, 0.027928654104471207, 0.0056744832545518875, 0.014143720269203186, -0.02007313072681427, 0.06280642747879028, -0.026115842163562775, -0.050116732716560364, 0.0492103286087513, 0.04928586259484291, 0.045811302959918976, 0.029005013406276703, -0.03259287402033806, 0.05234498530626297, -0.00004742997043649666, -0.051551878452301025, -0.025247201323509216, -0.01238755788654089, -0.051929548382759094, 0.013766051270067692, 0.06866030395030975, 0.007742223329842091, 0.018959006294608116, -0.0464911088347435, -0.05710361897945404, -0.006042710971087217, 0.01743888668715954, -0.005438440013676882, -0.013907677493989468, 0.024038659408688545, -0.0005195905105210841, 0.010385909117758274, -0.046793244779109955, 0.04932362958788872, -0.031592048704624176, -0.05600837618112564, -0.025662638247013092, -0.015408912673592567, -0.033442627638578415, -0.025077249854803085, -0.050343334674835205, -0.0006762643461115658, -0.06680972129106522, -0.03810684755444527, 0.0058113886043429375, 0.014379763975739479, 0.0388244166970253, 0.011500034481287003, -0.01909119077026844, -0.01603206805884838, -0.005089095793664455, 0.0388244166970253, 0.022660166025161743, 0.030175788328051567, 0.01097129750996828, -0.0847490206360817, 0.009045182727277279, -0.0059482934884727, 0.026380211114883423, -0.04396072402596474, -0.0077799903228878975, 0.019544392824172974, -0.05857653170824051, 0.0459623709321022, 0.028853945434093475, -0.0366528183221817, 0.01963881030678749, 0.021621575579047203, -0.015881000086665154, 0.04018402844667435, 0.02198036201298237, -0.06760282814502716, -0.011273432523012161, 0.0021656982135027647, 0.0650724470615387, 0.00902157835662365, -0.03806908056139946, -0.02789088897407055, -0.025775939226150513, 0.08724164217710495, 0.054006729274988174, -0.0007724520401097834, -0.022830117493867874, 0.046415574848651886, -0.028514042496681213, -0.011726636439561844, 0.017759906128048897, 0.009904380887746811, 0.026436861604452133, -0.020167548209428787, -0.032347388565540314, 0.03965529054403305, 0.023547690361738205, -0.003972610458731651, -0.021791527047753334, -0.02647462673485279, 0.028155256062746048, 0.006340125575661659, 0.020904002711176872, -0.04554693400859833, 0.013473357073962688, 0.032252971082925797, -0.0481150858104229, 0.015295612625777721, -0.00674139941111207, -0.04573576897382736, -0.04199684038758278, 0.010442559607326984, -0.059747304767370224, 0.06990661472082138, 0.028400741517543793, -0.01645694486796856, -0.04207237437367439, 0.06684748828411102, 0.02237691357731819, 0.039466455578804016, 0.06526128202676773, 0.047548580914735794, 0.004871935583651066, 0.018959006294608116, 0.007794152945280075, -0.05049440264701843, 0.024548513814806938, 0.06250429153442383, -0.013246755115687847, 0.03750257566571236, -0.043243151158094406, -0.040221795439720154, 0.05683925002813339, 0.023056719452142715, 0.02503948286175728, 0.0541577972471714, 0.007279578596353531, -0.0040670279413461685, -0.009002694860100746, 0.001812813337892294, 0.030591225251555443, 0.0008892935002222657, 0.02996806986629963, -0.033555928617715836, -0.004534393548965454, 0.0040339818224310875, -0.029137197881937027, -0.04063723236322403, 0.03089335933327675, -0.0006196139147505164, -0.03920208662748337, -0.032800592482089996, 0.007378716487437487, -0.028835061937570572, -0.009724987670779228, 0.019166724756360054, 0.07043535262346268, -0.044602759182453156, -0.010603069327771664, -0.010348143056035042, 0.036841653287410736, -0.050947606563568115, 0.05170294642448425, -0.003653951920568943, 0.02198036201298237, 0.029458215460181236, 0.0007329147774726152, 0.02335885539650917, -0.02947709895670414, 0.024095309898257256, 0.023339971899986267, 0.020261965692043304, 0.008747768588364124, 0.019770994782447815, -0.03095000982284546, -0.04732197895646095, -0.01667410507798195, 0.021413857117295265, 0.038371216505765915, 0.0057075293734669685, -0.015994301065802574, 0.006269312463700771, -0.024378562346100807, 0.08996085822582245, 0.06359953433275223, -0.04781294986605644, 0.0022778187412768602, -0.04124150425195694, 0.021357206627726555, -0.08731717616319656, 0.019676577299833298, -0.010952414013445377, -0.0026672903914004564, 0.014880175702273846, -0.01326563861221075, 0.05291149020195007, 0.0020783620420843363, -0.02526608482003212, 0.04090160131454468, -0.04735974594950676, -0.032895009964704514, 0.017080100253224373, -0.005216558929532766, -0.009186808951199055, -0.046188972890377045, -0.010886321775615215, 0.020488567650318146, 0.003845146857202053, 0.01574881561100483, 0.003160621039569378, -0.03253622353076935, 0.0037861361633986235, 0.003410827135667205, 0.024869533255696297, 0.027003364637494087, -0.04781294986605644, 0.03640733286738396, -0.018392501398921013, -0.010319817811250687, 0.019025098532438278, 0.022490214556455612, 0.0875437781214714, -0.010886321775615215, -0.00017821276560425758, -0.016664663329720497, -0.05574401095509529, 0.006000223103910685, 0.015021801926195621, 0.005268488544970751, -0.04554693400859833, -0.023000068962574005, 0.014228696003556252, -0.010253725573420525, -0.01318066380918026, -0.005547019653022289, -0.04819061979651451, -0.0068971882574260235, -0.0815010666847229, -0.009493665769696236, -0.003365978831425309, -0.012784110382199287, -0.031365446746349335, -0.08814805001020432, 0.03425461798906326, 0.03927762061357498, -0.012529183179140091, -0.04664217680692673, -0.00005580213473876938, -0.022792350500822067, -0.020469684153795242, 0.09766531735658646, 0.018619103357195854, 0.013577216304838657, -0.00047592251212336123, 0.0029647049959748983, -0.021999245509505272, 0.03897548466920853, -0.02177264355123043, 0.051816247403621674, -0.039353154599666595, 0.018071481958031654, 0.018637986853718758, 0.04724644497036934, 0.04860605672001839, 0.04271441325545311, 0.012274256907403469, -0.04059946537017822, -0.01847747713327408, 0.0037460087332874537, -0.0005337531329132617, 0.039730824530124664, 0.037710294127464294, 0.01416260376572609, 0.037766944617033005, 0.005754738114774227, 0.036180730909109116, -0.04943693056702614, 0.0004682510916609317, 0.033385977149009705, -0.03806908056139946, 0.0021656982135027647, 0.027116665616631508, 0.06186225265264511, -0.008346494287252426, -0.08180320262908936, -0.10212181508541107, 0.037880245596170425, -0.021092837676405907, -0.02932603284716606, 0.004779879003763199, -0.020092014223337173, 0.01176440343260765, 0.018637986853718758, -0.04396072402596474, 0.04037286341190338, -0.010149866342544556, 0.05260935425758362, 0.01941220834851265, -0.007213486358523369, -0.007345670368522406, -0.0535912923514843, -0.010536977089941502, -0.024793999269604683, -0.04962576553225517, 0.01892123930156231, -0.014011535793542862, -0.00776582770049572, 0.06654535233974457, 0.05219391733407974, -0.006613936275243759, 0.01028205081820488, -0.02050745114684105, 0.04600013792514801, 0.019119516015052795, -0.030723409727215767, -0.02964705042541027, 0.0552530400454998, -0.014766874723136425, -0.03916431963443756, 0.013378939591348171, -0.013331730850040913, 0.014464739710092545, 0.011849378235638142, 0.0010084954556077719, 0.03451898694038391, 0.017627721652388573, -0.009913822636008263, -0.028589576482772827, 0.02953374944627285, -0.06643205136060715, -0.058614298701286316, 0.02985476888716221, 0.03232850506901741, -0.001863562618382275, 0.021904828026890755, -0.055819541215896606, -0.04819061979651451, -0.00730318296700716, -0.012415883131325245, -0.027060015127062798, -0.0815010666847229, 0.031101077795028687, -0.05378012731671333, -0.029005013406276703, -0.006340125575661659, 0.016598571091890335, -0.028098605573177338, -0.01041423436254263, -0.02976035140454769, -0.02647462673485279, -0.004182688891887665, -0.10098880529403687, -0.02001648023724556, 0.08852571994066238, -0.020715169608592987, -0.047019846737384796, -0.0024572117254137993, -0.04732197895646095, 0.009285947307944298, -0.009838288649916649, 0.011773845180869102, -0.03591636195778847, -0.016702430322766304, -0.017759906128048897, 0.006014385726302862, -0.0432053841650486, 0.028853945434093475, -0.031044427305459976, -0.019808761775493622, -0.012104305438697338, -0.012151514180004597, -0.014483623206615448, 0.04275218024849892, 0.04124150425195694, 0.031252145767211914, -0.04841722175478935, -0.051665179431438446, 0.027060015127062798, 0.010480326600372791, 0.010206516832113266, -0.02335885539650917, 0.01789208874106407, 0.0019343756139278412, -0.028627343475818634, -0.005419556517153978, -0.01000824011862278, 0.08406921476125717, 0.017023449763655663, 0.04615120589733124, 0.029439331963658333, -0.01717451773583889, 0.007921616546809673, -0.0984206572175026, -0.016126485541462898, -0.006613936275243759, 0.053893428295850754, 0.008063242770731449, 0.03372588008642197, -0.03310272470116615, -0.022849000990390778, 0.0524960532784462, -0.024907300248742104, 0.05989837273955345, 0.003196027595549822, 0.006873583886772394, 0.03735150769352913, -0.02500171773135662, 0.03429238498210907, 0.05378012731671333, -0.011972120963037014, -0.008374819532036781, 0.032252971082925797, 0.013784934766590595, -0.04769964888691902, -0.003982052206993103, -0.009167925454676151, 0.018968448042869568, 0.01454971544444561, 0.03850340098142624, -0.005863318219780922, 0.012831319123506546, -0.06110691651701927, 0.010244283825159073, -0.006854700390249491, -0.07296573370695114, -0.024756232276558876, 0.007407041732221842, -0.02018643170595169, 0.025530453771352768, 0.02258463203907013, 0.08444688469171524, -0.0010084954556077719, 0.04365858808159828, -0.03128991276025772, -0.045320332050323486, -0.051438577473163605, -0.0029977511148899794, -0.05177848041057587, -0.015314496122300625, -0.032347388565540314, -0.004496626555919647, -0.013907677493989468, 0.04751081392168999, 0.05574401095509529, -0.058765362948179245, -0.03057234175503254, 0.008681676350533962, -0.041052669286727905, 0.00847867876291275, 0.02877841144800186, 0.014464739710092545, -0.01903454028069973, 0.027060015127062798, 0.018855147063732147, 0.023170020431280136, 0.019808761775493622, 0.04233674332499504, 0.035142142325639725, -0.011849378235638142, 0.018354734405875206, 0.03908878564834595, -0.006448705680668354, 0.001668826793320477, 0.017759906128048897, -0.025889240205287933, 0.0007883849320933223, -0.00367047474719584, 0.03763476014137268, -0.054611001163721085, 0.06850923597812653, 0.04041063040494919, 0.000057351167924935, 0.009035740979015827, 0.04735974594950676, -0.08051912486553192, -0.009762754663825035, 0.045093730092048645, 0.022773467004299164, 0.028797294944524765, -0.014511948451399803, -0.00645342655479908, -0.0377480611205101, -0.005462044384330511, -0.017410561442375183, 0.05540410801768303, 0.010329259559512138, -0.03784247860312462, 0.018836263567209244, -0.011122364550828934, 0.04369635507464409, -0.023755406960844994, 0.007543947082012892, 0.06484584510326385, 0.02685229666531086, -0.04951246455311775, 0.06250429153442383, -0.0007830739486962557, 0.025228317826986313, -0.039844125509262085, -0.04516926407814026, 0.00747785484418273, 0.08331387490034103, 0.029137197881937027, -0.04675547778606415, -0.0333482101559639, -0.010480326600372791, 0.006410938687622547, -0.056461580097675323, 0.031157728284597397, 0.06560118496417999, 0.045698001980781555, -0.0014953349018469453, 0.010603069327771664, -0.09804298728704453, -0.026002541184425354, 0.04467829316854477, -0.04003296047449112, -0.0032668407075107098, -0.04139257222414017, -0.023207787424325943, 0.04615120589733124, 0.006231545936316252, -0.07417427748441696, -0.0008538870024494827, -0.031025543808937073, 0.027645403519272804, 0.02362322248518467, -0.032026369124650955, 0.03810684755444527, -0.058123327791690826, 0.04505596309900284, -0.026927830651402473, -0.0020960653200745583, 0.034481219947338104, -0.06390167027711868, -0.009781638160347939, 0.050947606563568115, -0.045924603939056396, -0.003413187572732568, -0.005287372041493654, -0.025719288736581802, 0.05015449970960617, 0.02728661708533764, 0.02029973268508911, -0.015248403884470463, 0.057896725833415985, 0.02696559764444828, 0.014464739710092545, -0.007458971347659826, 0.025398269295692444, -0.005041887052357197, 0.04418732598423958, 0.03761587664484978, 0.002721580443903804, 0.022622399032115936, 0.010130982846021652, 0.07028428465127945, -0.04939916357398033, -0.0172311682254076, -0.0003561304765753448, 0.014011535793542862, 0.004999399185180664, -0.05944516882300377, -0.07840417325496674, -0.05049440264701843, 0.054006729274988174, -0.08187873661518097, 0.015843233093619347, 0.02384982444345951, -0.019978713244199753, -0.03378253057599068, 0.0202430821955204, -0.01097129750996828, -0.06359953433275223, 0.015616631135344505, 0.03074229322373867, -0.04396072402596474, 0.018675753846764565, 0.039353154599666595, 0.018571894615888596, -0.05396896228194237, 0.016815731301903725, -0.014313671737909317, 0.02702224813401699, 0.020922886207699776, -0.02587035670876503, -0.035689763724803925, -0.0612579844892025, -0.025624871253967285, 0.01832640916109085, -0.0003632117877714336, -0.047661881893873215, -0.013435590080916882, -0.04456499218940735, -0.010310376062989235, -0.028476275503635406, -0.020809585228562355, 0.03635068237781525, 0.0005606030463241041, 0.025530453771352768, -0.014077628031373024, -0.016881823539733887, 0.014974593184888363, 0.03521767631173134, -0.0311766117811203, 0.06212662160396576, -0.0053817895241081715, 0.05868982896208763, -0.056461580097675323, -0.0007140312809497118, -0.060842547565698624, -0.009743871167302132, 0.02773982100188732, 0.005518694873899221, 0.06424157321453094, 0.04890819266438484, 0.08557989448308945, -0.0027286617550998926, 0.043998491019010544, 0.013208989053964615, 0.003474558936432004, -0.028967246413230896, 0.012434766627848148, -0.010206516832113266, -0.008738326840102673, 0.08414474874734879, 0.05060770362615585, -0.058274395763874054, -0.02188594453036785, -0.021508274599909782, -0.022414680570364, 0.03238515555858612, -0.01952550932765007, -0.007128510624170303, 0.11873926967382431, 0.05408226326107979, -0.03317825868725777, -0.01170775294303894, -0.012368674390017986, 0.021999245509505272, 0.042525578290224075, 0.005065491423010826, 0.05506420508027077, -0.033914715051651, -0.055328574031591415, 0.0024454095400869846, -0.017759906128048897, -0.05000343546271324, -0.005254325922578573, 0.10015793144702911, -0.01898733153939247, -0.07122845947742462, -0.001737279468216002, 0.0025115017779171467, -0.028532925993204117, 0.0019686019513756037, -0.023509923368692398, -0.05004120245575905, 0.03818238154053688, 0.01667410507798195, -0.03308384120464325, -0.030232438817620277, -0.004581602290272713, 0.02592700719833374, 0.019808761775493622, 0.04543363302946091, -0.0001402982888976112, -0.00616545369848609, 0.003828624030575156, -0.004779879003763199, 0.013086246326565742, -0.04343198612332344, 0.0004691362555604428, 0.0025563500821590424, -0.07640253007411957, -0.018090365454554558, -0.042638879269361496, -0.06824486702680588, -0.027305500581860542, -0.007680852431803942, 0.016050951555371284, 0.003373060142621398, 0.0007110807346180081, -0.002386398846283555, -0.0475863479077816, -0.0010267888428643346, -0.012321465648710728, -0.044602759182453156, 0.035689763724803925, -0.03750257566571236, -0.032951656728982925, 0.03249845653772354, 0.051060907542705536, -0.010489768348634243, -0.010546418838202953, -0.007086022756993771, -0.05109867453575134, 0.014190929010510445, -0.010329259559512138, 0.0017703254707157612, -0.01920449174940586, 0.055215273052453995, 0.03638844937086105, -0.11458490788936615, 0.042789947241544724, 0.006321242079138756, -0.03438680246472359, -0.02728661708533764, 0.0006827555480413139, -0.023755406960844994, 0.007576993200927973, 0.016777964308857918, -0.06329739838838577, -0.0037507296074181795, 0.03954198956489563, -0.01569216512143612, 0.06352400034666061, 0.015371146611869335, 0.01870407909154892, 0.01793929748237133, -0.014351438730955124, 0.11987227946519852, 0.01854356937110424, -0.011348966509103775, 0.03376364707946777, 0.054837603121995926, -0.011122364550828934, -0.030723409727215767, 0.01405874453485012, -0.03640733286738396, 0.02045080065727234, 0.03942868858575821, 0.014823525212705135, 0.010244283825159073, -0.0066044945269823074, -0.05989837273955345, 0.014379763975739479, -0.024208610877394676, -0.015437237918376923, 0.006835816893726587, -0.007425925228744745, 0.031422097235918045, 0.062164388597011566, -0.02301895245909691, -0.004956911318004131, 0.012396999634802341, 0.015427796170115471, -0.0013348254142329097 ]
719,919
ibm_platform_services.resource_controller_v2
create_resource_instance
Create (provision) a new resource instance. When you provision a service you get an instance of that service. An instance represents the resource with which you create, and additionally, represents a chargeable record of which billing can occur. :param str name: The name of the instance. Must be 180 characters or less and cannot include any special characters other than `(space) - . _ :`. :param str target: The deployment location where the instance should be hosted. :param str resource_group: The ID of the resource group. :param str resource_plan_id: The unique ID of the plan associated with the offering. This value is provided by and stored in the global catalog. :param List[str] tags: (optional) Tags that are attached to the instance after provisioning. These tags can be searched and managed through the Tagging API in IBM Cloud. :param bool allow_cleanup: (optional) A boolean that dictates if the resource instance should be deleted (cleaned up) during the processing of a region instance delete call. :param dict parameters: (optional) Configuration options represented as key-value pairs that are passed through to the target resource brokers. :param bool entity_lock: (optional) Indicates if the resource instance is locked for further update or delete operations. It does not affect actions performed on child resources like aliases, bindings or keys. False by default. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse with `dict` result representing a `ResourceInstance` object
def create_resource_instance( self, name: str, target: str, resource_group: str, resource_plan_id: str, *, tags: List[str] = None, allow_cleanup: bool = None, parameters: dict = None, entity_lock: bool = None, **kwargs, ) -> DetailedResponse: """ Create (provision) a new resource instance. When you provision a service you get an instance of that service. An instance represents the resource with which you create, and additionally, represents a chargeable record of which billing can occur. :param str name: The name of the instance. Must be 180 characters or less and cannot include any special characters other than `(space) - . _ :`. :param str target: The deployment location where the instance should be hosted. :param str resource_group: The ID of the resource group. :param str resource_plan_id: The unique ID of the plan associated with the offering. This value is provided by and stored in the global catalog. :param List[str] tags: (optional) Tags that are attached to the instance after provisioning. These tags can be searched and managed through the Tagging API in IBM Cloud. :param bool allow_cleanup: (optional) A boolean that dictates if the resource instance should be deleted (cleaned up) during the processing of a region instance delete call. :param dict parameters: (optional) Configuration options represented as key-value pairs that are passed through to the target resource brokers. :param bool entity_lock: (optional) Indicates if the resource instance is locked for further update or delete operations. It does not affect actions performed on child resources like aliases, bindings or keys. False by default. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse with `dict` result representing a `ResourceInstance` object """ if name is None: raise ValueError('name must be provided') if target is None: raise ValueError('target must be provided') if resource_group is None: raise ValueError('resource_group must be provided') if resource_plan_id is None: raise ValueError('resource_plan_id must be provided') headers = {'Entity-Lock': entity_lock} sdk_headers = get_sdk_headers( service_name=self.DEFAULT_SERVICE_NAME, service_version='V2', operation_id='create_resource_instance' ) headers.update(sdk_headers) data = { 'name': name, 'target': target, 'resource_group': resource_group, 'resource_plan_id': resource_plan_id, 'tags': tags, 'allow_cleanup': allow_cleanup, 'parameters': parameters, } data = {k: v for (k, v) in data.items() if v is not None} data = json.dumps(data) headers['content-type'] = 'application/json' if 'headers' in kwargs: headers.update(kwargs.get('headers')) del kwargs['headers'] headers['Accept'] = 'application/json' url = '/v2/resource_instances' request = self.prepare_request(method='POST', url=url, headers=headers, data=data) response = self.send(request, **kwargs) return response
(self, name: str, target: str, resource_group: str, resource_plan_id: str, *, tags: Optional[List[str]] = None, allow_cleanup: Optional[bool] = None, parameters: Optional[dict] = None, entity_lock: Optional[bool] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
[ 0.048433031886816025, -0.05071044713258743, -0.02011716738343239, -0.06407128274440765, -0.0410693883895874, -0.02658882364630699, 0.01793464459478855, 0.004526362754404545, -0.023685118183493614, -0.02465302124619484, -0.007605618331581354, 0.022356627508997917, 0.009811864234507084, -0.03505321592092514, -0.005949747283011675, 0.006898670457303524, 0.02267926000058651, -0.04805346205830574, -0.04384024441242218, -0.020591629669070244, 0.06300848722457886, 0.09155209362506866, -0.013996615074574947, 0.02021205984055996, 0.07405395060777664, 0.07477513700723648, -0.00038727920036762953, -0.005650836508721113, -0.01318054087460041, 0.03340208902955055, 0.012848418205976486, 0.0010331399971619248, 0.045206692069768906, 0.07037213444709778, 0.02501361072063446, 0.018987949937582016, -0.017460184171795845, 0.03176994249224663, -0.08358114212751389, 0.044713255017995834, -0.019490879029035568, -0.018617870286107063, -0.023685118183493614, -0.032794781029224396, 0.030327580869197845, 0.024140601977705956, 0.04763593524694443, -0.04254970699548721, -0.03936132788658142, -0.01071334071457386, 0.0624011792242527, -0.01053304597735405, -0.05097614601254463, 0.013512663543224335, -0.05526527762413025, 0.028050165623426437, -0.009764418005943298, 0.057087209075689316, -0.024178558960556984, -0.03340208902955055, -0.035793375223875046, 0.006277125794440508, 0.03932337090373039, -0.005536966025829315, -0.047446150332689285, 0.03537585213780403, -0.052608292549848557, -0.01981351338326931, -0.042208097875118256, 0.06369171291589737, 0.05245646461844444, 0.004293876700103283, 0.00007947230187710375, -0.012269575148820877, -0.0011665822239592671, 0.03886788710951805, -0.0033639322500675917, -0.0144331194460392, -0.04763593524694443, -0.058833226561546326, -0.023609204217791557, -0.012611187063157558, 0.018855100497603416, -0.05036883428692818, 0.0038810952100902796, 0.011472479440271854, -0.016368921846151352, -0.02837279811501503, -0.032737843692302704, -0.04972356557846069, -0.0005343622760847211, 0.007766935043036938, -0.02801220864057541, 0.033553916960954666, 0.03970294073224068, -0.03962702676653862, -0.033553916960954666, -0.016701044514775276, 0.02205297164618969, 0.003650981467217207, -0.040537990629673004, -0.007643574848771095, -0.0206675436347723, 0.0006701768725179136, 0.06278074532747269, -0.035167086869478226, -0.043232932686805725, 0.05086227506399155, -0.03653353825211525, -0.0004940330400131643, -0.014186399057507515, 0.03738756850361824, -0.045206692069768906, 0.004172889050096273, -0.021217919886112213, -0.04607970267534256, -0.013512663543224335, 0.04934399947524071, -0.023988774046301842, -0.0624011792242527, 0.01232651062309742, -0.04850894585251808, 0.011462990194559097, -0.04019637778401375, -0.03030860237777233, -0.0000072095908763003536, -0.016966743394732475, 0.0189974382519722, -0.045738089829683304, -0.027499789372086525, -0.014660860411822796, 0.007615107111632824, -0.0527980774641037, 0.05036883428692818, -0.010817722417414188, -0.0465351864695549, 0.023115765303373337, 0.0410693883895874, 0.020876307040452957, 0.017137549817562103, 0.047711849212646484, 0.01717550680041313, -0.029169894754886627, 0.04023433476686478, -0.037007998675107956, -0.04976152256131172, 0.007154879625886679, 0.024899739772081375, -0.0240646880120039, 0.0206675436347723, -0.0019156383350491524, -0.06084494665265083, 0.06092085689306259, 0.010684872977435589, 0.04179057106375694, -0.035261981189250946, 0.03452181816101074, -0.0314662866294384, -0.0016345198964700103, -0.01635943353176117, -0.008146503940224648, 0.004720892291516066, 0.0032832736615091562, 0.010381218045949936, -0.03890584409236908, -0.02102813497185707, -0.019623728469014168, -0.01614117994904518, 0.02613333985209465, 0.02070550061762333, -0.04854690283536911, -0.017697414383292198, -0.03266192972660065, 0.015979863703250885, -0.09162800759077072, 0.048167333006858826, 0.0585295744240284, -0.041942398995161057, 0.02214786410331726, 0.028942152857780457, 0.010675383731722832, -0.02214786410331726, 0.024178558960556984, -0.0017839752836152911, -0.018722251057624817, 0.019263137131929398, 0.02159748785197735, 0.04607970267534256, -0.01797260157763958, -0.0288662388920784, 0.09117252379655838, 0.0030768830329179764, 0.034047357738018036, 0.025222374126315117, -0.029283763840794563, -0.029682312160730362, 0.00041248498018831015, -0.0027993228286504745, 0.034540798515081406, 0.050179049372673035, -0.02349533513188362, 0.03370574489235878, -0.001231227652169764, 0.011339630000293255, 0.06369171291589737, 0.0031361905857920647, -0.029207851737737656, 0.010077562183141708, -0.024463236331939697, -0.054620008915662766, -0.018171876668930054, -0.0019097075564786792, -0.040537990629673004, 0.05131775885820389, 0.003171775257214904, -0.014385673217475414, 0.01614117994904518, -0.0079994210973382, 0.0038526274729520082, -0.0209332425147295, -0.015277660451829433, -0.002258436754345894, -0.030004946514964104, 0.00000653774623060599, -0.0782671719789505, 0.03886788710951805, 0.012943309731781483, 0.0070315198972821236, -0.02784140221774578, -0.010514067485928535, -0.05655581131577492, -0.011159335263073444, 0.01617913693189621, -0.012013365514576435, -0.04630744457244873, 0.006941372063010931, 0.03154220059514046, -0.01413895282894373, 0.04380228742957115, 0.0033283475786447525, 0.06019967794418335, 0.01617913693189621, -0.0006150207482278347, -0.01913977786898613, -0.0335349403321743, -0.013749894686043262, -0.02518441714346409, -0.002317744540050626, 0.018798165023326874, -0.07970953732728958, 0.007667297963052988, -0.03203564137220383, 0.005228566005825996, -0.024728933349251747, -0.005499009042978287, -0.05788430571556091, 0.023685118183493614, -0.07769782096147537, 0.056897424161434174, 0.022356627508997917, -0.023115765303373337, -0.025734793394804, -0.05777043476700783, 0.048167333006858826, -0.01774486154317856, 0.009674270637333393, -0.04429572820663452, -0.010694362223148346, 0.04232196882367134, -0.008122781291604042, 0.06615891307592392, 0.01716601848602295, -0.020781414583325386, 0.006514356471598148, 0.002569209085777402, -0.012250596657395363, -0.017099592834711075, -0.040272291749715805, 0.0005402930546551943, -0.053595174103975296, -0.02438732236623764, -0.0039285412058234215, 0.08115189522504807, -0.014992984011769295, 0.061566125601530075, -0.03442692756652832, -0.025317266583442688, 0.050179049372673035, -0.01877918653190136, 0.012867396697402, -0.036913104355335236, 0.02765161730349064, -0.02102813497185707, -0.03057429939508438, -0.021977057680487633, 0.02837279811501503, -0.0863899514079094, -0.022204799577593803, 0.002460082992911339, -0.039778854697942734, -0.019566792994737625, -0.005446818191558123, 0.003273784415796399, -0.00045755881001241505, -0.06710783392190933, -0.025260331109166145, 0.07037213444709778, 0.0016546845436096191, 0.0059971935115754604, -0.006889181211590767, 0.0005963388248346746, 0.030099838972091675, 0.021977057680487633, -0.04976152256131172, 0.0366663858294487, 0.021350767463445663, 0.05871935561299324, 0.014803199097514153, 0.004787316545844078, -0.01851348765194416, -0.028562583029270172, 0.032604996114969254, -0.03421816602349281, -0.03142832964658737, 0.0702582597732544, -0.009897267445921898, -0.037311654537916183, 0.038848910480737686, 0.05454409494996071, 0.013873254880309105, -0.04475121200084686, -0.012611187063157558, 0.027556724846363068, 0.01413895282894373, -0.020325930789113045, -0.04953378066420555, 0.032244402915239334, -0.02195807918906212, -0.032965585589408875, 0.04638335853815079, 0.04513077810406685, 0.023685118183493614, -0.031029783189296722, -0.013911211863160133, -0.000011954206456721295, 0.030232688412070274, 0.03581235557794571, -0.047977548092603683, 0.022071950137615204, -0.02192012220621109, -0.06012376397848129, 0.03325026482343674, 0.024178558960556984, 0.0421321839094162, 0.0236661396920681, -0.08699726313352585, -0.050672490149736404, 0.01232651062309742, -0.022109907120466232, -0.01107393205165863, -0.06741148978471756, -0.0005432584439404309, -0.07758394628763199, 0.0009750184253789485, -0.010694362223148346, -0.030631234869360924, -0.00430336594581604, -0.04163874313235283, -0.05010313540697098, -0.02343839965760708, -0.03393348678946495, -0.05913688242435455, -0.029511505737900734, 0.05036883428692818, 0.0431949757039547, -0.031143654137849808, -0.028315862640738487, -0.02613333985209465, -0.03609703108668327, 0.0284676905721426, -0.00585959991440177, 0.007097944151610136, -0.028050165623426437, -0.04403002932667732, 0.0236661396920681, -0.030004946514964104, 0.006552313454449177, -0.006243913434445858, 0.023514313623309135, 0.0063340612687170506, 0.0001464158558519557, -0.03548972308635712, 0.01681491546332836, 0.04235992580652237, 0.06801880151033401, -0.01577110029757023, -0.07113127410411835, 0.004787316545844078, 0.010039606131613255, 0.008004166185855865, -0.00901002436876297, 0.06615891307592392, 0.012421402148902416, -0.017270399257540703, -0.001953595317900181, -0.02165442332625389, 0.08927468210458755, -0.007154879625886679, 0.008246141485869884, 0.03416122868657112, -0.0017021306557580829, -0.026342103257775307, -0.03518606722354889, -0.056631725281476974, -0.051469586789608, 0.049154214560985565, 0.015514891594648361, 0.11964021623134613, -0.005271267611533403, -0.0345977321267128, 0.040765732526779175, 0.03514811024069786, 0.07230793684720993, -0.030004946514964104, -0.02455812878906727, 0.018760208040475845, -0.025734793394804, 0.0070504979230463505, 0.07857082784175873, -0.06114859879016876, -0.011927962303161621, 0.049647651612758636, 0.002122029196470976, 0.020914264023303986, 0.028164034709334373, -0.016682066023349762, 0.025962533429265022, 0.011406054720282555, 0.02300189435482025, 0.055379148572683334, -0.0038122981786727905, -0.06881590187549591, 0.01985147036612034, 0.020363887771964073, -0.022925980389118195, -0.0001700647990219295, -0.013303901068866253, -0.024406300857663155, 0.059326667338609695, 0.016397390514612198, 0.10719034820795059, -0.00019037768652196974, 0.059060968458652496, 0.0015040430007502437, -0.01548642385751009, -0.048888515681028366, 0.01640687882900238, -0.03203564137220383, -0.011823580600321293, -0.0314662866294384, 0.02550705149769783, 0.01855144463479519, 0.0012857906986027956, 0.03142832964658737, -0.0426635779440403, 0.033288221806287766, 0.0291319377720356, -0.006571291945874691, 0.02823994867503643, 0.011035975068807602, 0.011937451548874378, -0.013066669926047325, 0.04091756045818329, 0.02142668142914772, -0.020136145874857903, 0.03871605917811394, 0.04015842452645302, 0.024349365383386612, -0.01219366118311882, -0.005570178385823965, 0.05723903700709343, 0.012430891394615173, 0.03621090203523636, 0.018798165023326874, -0.036780256778001785, -0.014822177588939667, 0.03966498374938965, 0.025563986971974373, -0.04262562096118927, 0.03890584409236908, 0.029435591772198677, -0.017099592834711075, -0.002025950700044632, 0.040500033646821976, -0.07610362768173218, -0.035299938172101974, 0.02501361072063446, 0.03788100928068161, 0.01971862092614174, -0.01596088521182537, 0.011700221337378025, -0.08084823936223984, 0.012668122537434101, -0.03755837306380272, 0.03683719038963318, 0.023609204217791557, -0.02102813497185707, 0.04737023636698723, 0.024861782789230347, 0.055113449692726135, -0.012829439714550972, -0.004554830491542816, 0.05245646461844444, 0.022925980389118195, -0.014357205480337143, 0.09018564224243164, -0.05143162980675697, 0.04304314777255058, -0.0032524336129426956, -0.03524300083518028, 0.014556479640305042, 0.06407128274440765, 0.03877299651503563, 0.0005761741776950657, -0.023647161200642586, -0.019196713343262672, -0.029834140092134476, -0.05871935561299324, 0.023723075166344643, 0.055379148572683334, -0.006751587148755789, -0.0621354803442955, -0.03258601576089859, -0.070675790309906, -0.048205289989709854, 0.02823994867503643, -0.07663502544164658, -0.005641347263008356, -0.0020876305643469095, -0.04228401184082031, 0.037273697555065155, 0.0030009690672159195, -0.0741298645734787, -0.026304146274924278, -0.017944134771823883, -0.03501525893807411, 0.013227987103164196, 0.0026071660686284304, 0.0027993228286504745, -0.03869708254933357, 0.07925405353307724, -0.03034655936062336, 0.0038739782758057117, 0.028543604537844658, -0.024539150297641754, 0.060313548892736435, 0.06369171291589737, -0.008663667365908623, 0.021312810480594635, -0.015192258171737194, 0.0003896515117958188, 0.03142832964658737, 0.06194569543004036, -0.010514067485928535, -0.02658882364630699, 0.05124184489250183, 0.015524380840361118, 0.03057429939508438, -0.036514557898044586, 0.02622823230922222, -0.00036355614429339767, -0.007657808717340231, 0.038393426686525345, -0.0041705165058374405, 0.008915131911635399, 0.031219568103551865, 0.07390212267637253, 0.03845036029815674, 0.019889427348971367, -0.031314458698034286, 0.013474707491695881, -0.004156283102929592, -0.00758663984015584, -0.08623812347650528, -0.05321560427546501, 0.08024093508720398, -0.03518606722354889, 0.010011138394474983, 0.047218408435583115, 0.03120058961212635, -0.007202325854450464, 0.04262562096118927, 0.0005577888223342597, -0.023210657760500908, -0.004808667581528425, 0.04486507922410965, 0.007695765700191259, -0.005029291845858097, 0.059364624321460724, 0.01730835624039173, -0.00497710146009922, 0.006590270437300205, 0.022622324526309967, -0.013541131280362606, 0.01375938393175602, 0.006689907517284155, -0.051469586789608, -0.08859145641326904, -0.03378165885806084, -0.0003819415287580341, -0.009318424388766289, -0.08669360727071762, -0.013265944086015224, -0.05917483940720558, -0.014917070046067238, 0.010428664274513721, -0.06672826409339905, 0.013256454840302467, 0.020629586651921272, -0.03541380912065506, -0.029682312160730362, 0.015514891594648361, 0.04118325933814049, 0.019604749977588654, -0.05420248210430145, 0.06274279206991196, -0.01693827658891678, 0.012335999868810177, -0.0468008853495121, 0.011301673017442226, 0.00840745773166418, 0.00907644908875227, 0.002870492171496153, 0.039475198835134506, 0.010409685783088207, 0.004725636914372444, 0.06855019927024841, 0.031580157577991486, 0.03290865197777748, 0.03057429939508438, -0.016615642234683037, -0.005973470397293568, -0.013541131280362606, 0.009327913634479046, -0.017849242314696312, 0.03097284771502018, -0.01097903959453106, -0.07318094372749329, -0.027328982949256897, 0.014167420566082, -0.008583009243011475, 0.05203893780708313, -0.0013118861243128777, -0.04084164649248123, 0.03419918566942215, 0.016378412023186684, -0.01650177128612995, 0.008208184503018856, -0.012990755960345268, 0.04281540587544441, 0.016596663743257523, 0.016017820686101913, 0.03315537050366402, -0.020591629669070244, -0.023647161200642586, 0.024709954857826233, -0.017915666103363037, -0.07302911579608917, -0.05109001696109772, 0.07450943440198898, 0.002517018234357238, -0.02152157388627529, 0.004153910558670759, 0.052608292549848557, -0.030498385429382324, 0.04019637778401375, -0.030802041292190552, -0.013522152788937092, -0.005650836508721113, 0.05109001696109772, 0.0699925646185875, -0.0030768830329179764, 0.026512909680604935, 0.03573644161224365, -0.016055777668952942, -0.010248368605971336, -0.010419175028800964, -0.008412202820181847, 0.0043413229286670685, -0.037444502115249634, 0.01564774103462696, -0.032927628606557846, -0.02336248569190502, 0.017507629469037056, -0.049192171543836594, 0.005266522988677025, -0.04110734537243843, -0.0631982758641243, 0.0037814583629369736, 0.016463814303278923, -0.02461506426334381, -0.006960350554436445, -0.0012454615207388997, 0.03970294073224068, -0.04930604249238968, 0.05325356125831604, -0.03943724185228348, -0.05496162176132202, 0.0569353811442852, -0.07204223424196243, 0.05196302384138107, 0.07864674180746078, 0.07910222560167313, -0.031618114560842514, 0.024444257840514183, 0.013332368806004524, -0.03232031688094139, -0.03425612300634384, 0.007724233437329531, -0.005755218211561441, -0.015306128188967705, 0.006917648948729038, 0.02070550061762333, -0.0702582597732544, -0.013455729000270367, 0.034483861178159714, -0.043688416481018066, 0.023210657760500908, 0.05355721712112427, 0.005935513414442539, -0.0018444691086187959, 0.037007998675107956, -0.09679014980792999, -0.08062049746513367, 0.032472144812345505, -0.05086227506399155, 0.06035150587558746, -0.02389388158917427, 0.05602441728115082, 0.039778854697942734, 0.019661685451865196, 0.08456802368164062, 0.024937696754932404, -0.0028088120743632317, 0.028923174366354942, 0.0629325732588768, 0.031181611120700836, -0.003919051960110664, 0.007876060903072357, -0.04095551744103432, 0.005375648848712444, -0.010694362223148346, 0.02195807918906212, 0.06327418982982635, 0.051887109875679016, -0.036609452217817307, 0.01504043024033308, 0.008122781291604042, -0.0012525784550234675, -0.012411912903189659, 0.005100461188703775, -0.03920949995517731, 0.017896687611937523, -0.0011446384014561772, -0.017944134771823883, 0.04008251056075096, 0.024216515943408012, 0.01165277510881424 ]
719,920
ibm_platform_services.resource_controller_v2
create_resource_key
Create a new resource key. A resource key is a saved credential you can use to authenticate with a resource instance. :param str name: The name of the key. :param str source: The ID of resource instance or alias. :param ResourceKeyPostParameters parameters: (optional) Configuration options represented as key-value pairs. Service defined options are passed through to the target resource brokers, whereas platform defined options are not. :param str role: (optional) The base IAM service role name (Reader, Writer, or Manager), or the service or custom role CRN. Refer to service’s documentation for supported roles. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse with `dict` result representing a `ResourceKey` object
def create_resource_key( self, name: str, source: str, *, parameters: 'ResourceKeyPostParameters' = None, role: str = None, **kwargs ) -> DetailedResponse: """ Create a new resource key. A resource key is a saved credential you can use to authenticate with a resource instance. :param str name: The name of the key. :param str source: The ID of resource instance or alias. :param ResourceKeyPostParameters parameters: (optional) Configuration options represented as key-value pairs. Service defined options are passed through to the target resource brokers, whereas platform defined options are not. :param str role: (optional) The base IAM service role name (Reader, Writer, or Manager), or the service or custom role CRN. Refer to service’s documentation for supported roles. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse with `dict` result representing a `ResourceKey` object """ if name is None: raise ValueError('name must be provided') if source is None: raise ValueError('source must be provided') if parameters is not None: parameters = convert_model(parameters) headers = {} sdk_headers = get_sdk_headers( service_name=self.DEFAULT_SERVICE_NAME, service_version='V2', operation_id='create_resource_key' ) headers.update(sdk_headers) data = {'name': name, 'source': source, 'parameters': parameters, 'role': role} data = {k: v for (k, v) in data.items() if v is not None} data = json.dumps(data) headers['content-type'] = 'application/json' if 'headers' in kwargs: headers.update(kwargs.get('headers')) del kwargs['headers'] headers['Accept'] = 'application/json' url = '/v2/resource_keys' request = self.prepare_request(method='POST', url=url, headers=headers, data=data) response = self.send(request, **kwargs) return response
(self, name: str, source: str, *, parameters: Optional[ibm_platform_services.resource_controller_v2.ResourceKeyPostParameters] = None, role: Optional[str] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
[ -0.03534333035349846, -0.037230510264635086, -0.07680624723434448, -0.03391420841217041, 0.015692878514528275, -0.035966284573078156, -0.02869240939617157, 0.01495999563485384, 0.0528409369289875, -0.02684187702834606, 0.016425762325525284, 0.05368375405669212, 0.08464810252189636, -0.024899734184145927, 0.0007826972287148237, 0.007699862588196993, 0.05361046642065048, -0.024899734184145927, -0.046611424535512924, -0.030817773193120956, 0.036552589386701584, 0.06379755586385727, 0.07171270251274109, -0.016260864213109016, 0.053060803562402725, 0.07680624723434448, 0.006568473298102617, 0.01986115798354149, -0.007727345917373896, 0.02522953227162361, -0.033016424626111984, 0.008780866861343384, 0.030359720811247826, 0.07262880355119705, 0.013878990896046162, 0.0005694165593013167, -0.050568997859954834, 0.02200484275817871, -0.09183036535978317, -0.0016764722531661391, 0.008808350190520287, 0.057824548333883286, -0.01870686560869217, -0.06291809678077698, 0.05192483216524124, 0.006939495448023081, 0.01912827230989933, -0.03486695885658264, -0.043460022658109665, -0.009270982816815376, 0.057091664522886276, -0.005212637595832348, -0.021345246583223343, -0.022133097052574158, -0.0305795855820179, 0.01940310373902321, 0.00334149319678545, -0.004094989504665136, -0.04016204550862312, -0.008968668058514595, -0.030433008447289467, 0.027354896068572998, -0.006046293303370476, 0.0415545254945755, -0.03642433509230614, -0.005473727360367775, -0.05108201503753662, -0.018798476085066795, 0.02806945890188217, 0.059473540633916855, 0.03649762272834778, -0.01292624231427908, -0.027831271290779114, 0.005015674978494644, -0.012871275655925274, 0.03986889123916626, -0.04375317692756653, 0.004914903547614813, -0.013851508498191833, -0.04536551982164383, 0.006724210921674967, -0.03204535320401192, -0.045109011232852936, -0.0502392016351223, 0.05093543976545334, 0.033969175070524216, -0.04870014265179634, -0.005551596637815237, 0.02085055038332939, -0.03490360081195831, -0.013677448034286499, 0.04562203213572502, -0.07127296924591064, 0.04411961883306503, 0.04543881118297577, -0.0496162474155426, -0.010251215659081936, -0.026292214170098305, 0.06310131400823593, 0.02154679037630558, 0.04148123413324356, -0.005226379260420799, 0.024166850373148918, 0.05115530639886856, 0.04793061688542366, -0.04078499600291252, -0.018349584192037582, 0.04221412166953087, -0.005986746400594711, -0.006760855205357075, 0.0008897670195437968, -0.0212719589471817, 0.009536653757095337, 0.0007935760077089071, -0.044302839785814285, 0.008267847821116447, 0.038659632205963135, 0.020923839882016182, -0.015207343734800816, -0.02697013132274151, 0.06434721499681473, -0.026163959875702858, 0.014840901829302311, -0.023910341784358025, -0.01194600947201252, -0.0012298710644245148, -0.01380570326000452, 0.0318804569542408, -0.00415682652965188, -0.045035723596811295, -0.017772438004612923, 0.02627389319241047, -0.05192483216524124, 0.05181489884853363, 0.009958061389625072, -0.016581501811742783, 0.025284498929977417, 0.058594077825546265, 0.01605932042002678, 0.05826428160071373, 0.04932309314608574, 0.037816815078258514, 0.002590287011116743, 0.049213163554668427, -0.021565113216638565, -0.07519390434026718, 0.011863560415804386, 0.014172145165503025, -0.005469147115945816, 0.0294619370251894, -0.0033163002226501703, -0.006096678785979748, 0.03409742936491966, 0.003737708553671837, 0.05027584359049797, -0.027684694156050682, 0.012889597564935684, -0.028252679854631424, -0.004914903547614813, 0.003611744148656726, 0.016389118507504463, 0.010544368997216225, 0.024221817031502724, -0.05368375405669212, 0.0025971578434109688, -0.015253148972988129, -0.04400968551635742, -0.0007821246981620789, 0.027684694156050682, -0.010003866627812386, -0.049213163554668427, -0.02074061706662178, -0.03325461223721504, -0.035892996937036514, -0.07065001875162125, -0.0012252904707565904, 0.03653426840901375, -0.040968216955661774, -0.023653831332921982, -0.04935973882675171, 0.058667365461587906, -0.046611424535512924, 0.02031921036541462, -0.0016879235627129674, 0.025870805606245995, 0.049213163554668427, 0.02162007801234722, 0.06991713494062424, -0.003483489388599992, 0.012999530881643295, 0.005505791399627924, -0.0018780153477564454, -0.005359214264899492, 0.03534333035349846, -0.015225665643811226, -0.032356828451156616, 0.0063394466415047646, -0.017140325158834457, 0.023672154173254967, 0.07871174812316895, -0.025486042723059654, 0.06559312343597412, -0.010434436611831188, 0.05819099023938179, 0.06244171783328056, -0.038732919842004776, 0.018716026097536087, -0.019109951332211494, -0.034482192248106, -0.07152947783470154, 0.02642046846449375, -0.021326925605535507, -0.00697155948728323, 0.03325461223721504, -0.005400439258664846, 0.0009739341912791133, 0.0069211735390126705, -0.00035785353975370526, 0.019366459921002388, -0.047307662665843964, 0.04851692169904709, 0.028930597007274628, 0.017186131328344345, -0.033895887434482574, -0.0033185905776917934, -0.005601982120424509, 0.020832227542996407, -0.020135989412665367, -0.06614278256893158, -0.03600292652845383, -0.005940941162407398, 0.0017176968976855278, 0.0012768213637173176, -0.022462895140051842, -0.03303474932909012, -0.05155839025974274, 0.04063842073082924, -0.02926039509475231, 0.006169967353343964, 0.0021597177255898714, 0.002670446177944541, 0.0698438510298729, 0.019879478961229324, -0.02546771988272667, -0.002425387967377901, -0.02024592086672783, -0.006128742825239897, 0.04148123413324356, 0.020190954208374023, -0.04712444171309471, 0.02550436370074749, -0.028527511283755302, -0.021326925605535507, -0.021015450358390808, 0.028747376054525375, -0.053793687373399734, 0.004094989504665136, -0.08545427769422531, 0.030946027487516403, 0.0025765453465282917, -0.029443616047501564, -0.0008548405021429062, -0.09732700139284134, 0.02442336082458496, 0.03138575702905655, -0.0470145121216774, -0.009156470187008381, 0.041078150272369385, 0.0004740843432955444, -0.0006481442833319306, 0.04298364743590355, 0.052474495023489, -0.024881413206458092, -0.03928258270025253, 0.02020927704870701, -0.013081979937851429, 0.004255307838320732, -0.012779665179550648, 0.030194822698831558, -0.04873678833246231, -0.005171413067728281, -0.00818081758916378, 0.038696277886629105, 0.03167891129851341, 0.045035723596811295, -0.02323242276906967, -0.009257241152226925, -0.05181489884853363, -0.001023747376166284, 0.022371284663677216, -0.0157844889909029, 0.05254778638482094, -0.0305795855820179, 0.011588728986680508, -0.002700219629332423, -0.0069578178226947784, -0.054746437817811966, -0.03887949883937836, 0.053793687373399734, 0.01909162849187851, -0.003529294626787305, 0.065116748213768, 0.038549698889255524, -0.04463263601064682, -0.04082164168357849, -0.025101277977228165, 0.025321142747998238, -0.005876814015209675, -0.0904378890991211, 0.037816815078258514, -0.07226236164569855, 0.0454021655023098, 0.01597687229514122, -0.04210418835282326, 0.013649964705109596, -0.023030880838632584, 0.10516885668039322, 0.046684712171554565, -0.00015645356324966997, 0.047307662665843964, -0.022481217980384827, -0.00802507996559143, -0.057091664522886276, -0.044999077916145325, 0.055479321628808975, -0.02838093414902687, -0.009124405682086945, -0.012010136619210243, 0.06288144737482071, 0.009188533760607243, -0.01647156849503517, -0.02904053032398224, 0.014566070400178432, 0.009220597334206104, -0.07152947783470154, -0.018926730379462242, 0.053170736879110336, -0.01298120804131031, -0.009463365189731121, 0.028875630348920822, 0.002222699811682105, -0.06035299971699715, -0.029315361753106117, -0.0004941241350024939, -0.030176499858498573, -0.0021379601676017046, 0.05434335023164749, -0.025595974177122116, 0.04144459217786789, -0.049029942601919174, -0.030872739851474762, 0.016838010400533676, 0.0740579292178154, 0.05987662449479103, 0.07585349678993225, -0.0891919881105423, -0.024789802730083466, -0.010901649482548237, -0.030396364629268646, 0.0000637694975011982, -0.01567455753684044, 0.015473013743758202, -0.06676573306322098, -0.025980738922953606, -0.04943302646279335, 0.0001168033923022449, 0.0016421183245256543, -0.03215528652071953, -0.011478795669972897, -0.04807719215750694, -0.036387693136930466, -0.0631379559636116, -0.06606949865818024, 0.07490074634552002, 0.008932024240493774, -0.02193155512213707, -0.011561245657503605, -0.014950834214687347, -0.030286433175206184, 0.018148040398955345, -0.004165987484157085, -0.014007246121764183, -0.02861912176012993, 0.0005854483461007476, 0.033822596073150635, 0.019311493262648582, 0.04686793312430382, -0.02904053032398224, 0.04917651787400246, -0.010700106620788574, 0.011881882324814796, -0.03917264938354492, 0.0625150054693222, 0.04551209881901741, 0.02385537512600422, -0.015656234696507454, -0.04943302646279335, 0.009628264233469963, 0.0006229514256119728, -0.006027970928698778, 0.025944095104932785, 0.0460251159965992, 0.01789153181016445, -0.015179860405623913, 0.019787868484854698, 0.018981697037816048, 0.04888336360454559, -0.04258056357502937, 0.007493739016354084, -0.01678304374217987, -0.014785935170948505, -0.021491823717951775, -0.0544532835483551, -0.027519796043634415, 0.014749291352927685, 0.0344272255897522, -0.012092586606740952, 0.07812543958425522, 0.00008416714990744367, 0.03444555029273033, 0.014217950403690338, -0.010434436611831188, 0.04481585696339607, -0.003004824509844184, -0.004589686170220375, 0.052254632115364075, -0.03517843410372734, 0.009820645675063133, 0.04247063025832176, -0.03167891129851341, -0.03602125123143196, 0.018926730379462242, 0.013045336119830608, -0.02438671514391899, -0.05734817683696747, -0.011268092319369316, 0.02354389987885952, 0.021143704652786255, 0.0074662561528384686, 0.035196755081415176, -0.0038865755777806044, -0.06291809678077698, -0.004305693786591291, 0.02620060369372368, -0.057897839695215225, 0.02039249800145626, -0.029205428436398506, 0.00842816662043333, 0.033163003623485565, 0.012678893283009529, 0.0673520416021347, 0.07607336342334747, 0.05111866071820259, -0.0357280969619751, -0.020758939906954765, -0.0425439178943634, -0.0005387842538766563, -0.020795583724975586, -0.029205428436398506, -0.08523441106081009, 0.05177825689315796, 0.02477147988975048, 0.026878520846366882, 0.045988474041223526, -0.003559068078175187, -0.023837052285671234, 0.006027970928698778, 0.006944076158106327, 0.03644265979528427, -0.0015127183869481087, -0.01670059561729431, 0.004321725573390722, -0.014914190396666527, 0.029095495119690895, 0.0037262572441250086, -1.3419507283174426e-8, 0.024716513231396675, 0.020264243707060814, -0.04481585696339607, 0.0051943156868219376, 0.022920947521924973, -0.03614950552582741, 0.03909936174750328, 0.003446845104917884, 0.022169742733240128, -0.009000731632113457, -0.011826915666460991, 0.006559311877936125, -0.06731539964675903, 0.04650149121880531, 0.004115602001547813, -0.020649006590247154, -0.009298466145992279, 0.08406180143356323, -0.05276764929294586, -0.0421774759888649, 0.04045519977807999, -0.011643694713711739, -0.019989412277936935, -0.02711670845746994, 0.012999530881643295, -0.020575718954205513, -0.009165630675852299, 0.014446976594626904, 0.04565867409110069, 0.03376763314008713, -0.018450355157256126, 0.005565338302403688, -0.007310518063604832, 0.008698416873812675, -0.013292684219777584, -0.021180348470807076, 0.0415545254945755, -0.018221329897642136, -0.00829991139471531, 0.037816815078258514, -0.04642820358276367, 0.027684694156050682, -0.010764233767986298, -0.01986115798354149, 0.012394901365041733, 0.08032409101724625, 0.030524618923664093, 0.013741575181484222, -0.008661773055791855, 0.036772456020116806, -0.02085055038332939, -0.07724597305059433, 0.024368394166231155, 0.09014473855495453, -0.03455548360943794, -0.004827873315662146, -0.011112353764474392, -0.01077339518815279, -0.024918057024478912, 0.005258442834019661, -0.08779950439929962, 0.048260413110256195, 0.010342826135456562, -0.037010643631219864, 0.08948513865470886, -0.00818081758916378, -0.07006371021270752, -0.03653426840901375, -0.03622279316186905, 0.023415645584464073, 0.02911381796002388, -0.004509527236223221, -0.006023390684276819, -0.07310517877340317, 0.039465803653001785, -0.022719405591487885, -0.011066548526287079, 0.026567045599222183, 0.009183952584862709, 0.03559984266757965, 0.06705889105796814, -0.03444555029273033, 0.009019054472446442, 0.018945051357150078, -0.010223732329905033, 0.02869240939617157, 0.011817755177617073, -0.01063597947359085, -0.0377068817615509, 0.03140408173203468, -0.009664908051490784, 0.035471588373184204, 0.002922374987974763, 0.042653851211071014, -0.0016650209436193109, 0.010800878517329693, 0.029755091294646263, -0.003403330221772194, -0.052291274070739746, -0.008396103046834469, 0.050678931176662445, 0.01355835422873497, -0.03843976557254791, -0.02108873799443245, 0.008615967817604542, -0.004809551406651735, 0.03484863415360451, -0.05394026264548302, -0.04617169499397278, 0.0708332434296608, -0.027025097981095314, -0.02631053701043129, 0.011991814710199833, 0.009857290424406528, -0.037926748394966125, 0.028454221785068512, -0.015198182314634323, -0.01758921705186367, 0.04324015602469444, 0.003746869508177042, 0.058704011142253876, -0.00977484043687582, 0.023415645584464073, 0.0028467962983995676, -0.0212719589471817, 0.0040537649765610695, 0.001284837257117033, 0.06031635403633118, 0.02312249131500721, -0.03569145128130913, -0.041078150272369385, -0.043460022658109665, -0.018038108944892883, 0.00929388590157032, 0.006316544022411108, -0.06867123395204544, -0.005340892355889082, -0.019732901826500893, 0.002700219629332423, 0.02281101606786251, -0.04071170836687088, -0.018028946593403816, 0.025247855111956596, -0.012440706603229046, -0.03103763796389103, 0.007658638060092926, 0.01824881136417389, 0.048150479793548584, -0.08406180143356323, 0.04239734262228012, -0.015445530414581299, 0.0035499068908393383, -0.029700124636292458, -0.006133323069661856, -0.01394311897456646, 0.02385537512600422, -0.008794608525931835, -0.013136946596205235, 0.0715661272406578, 0.05005598068237305, 0.06562976539134979, 0.02435007132589817, 0.051521748304367065, 0.024111883714795113, -0.04287371411919594, 0.008840413764119148, -0.030891060829162598, 0.004679006524384022, -0.07273873686790466, 0.0566885806620121, 0.015216504223644733, -0.083109050989151, -0.014190467074513435, -0.04291035979986191, -0.047454241663217545, 0.01497831754386425, 0.0019673355855047703, -0.029626837000250816, 0.04313022643327713, 0.017231935635209084, -0.03561816364526749, -0.018193846568465233, -0.05588240548968315, -0.017534250393509865, 0.08142341673374176, -0.013448421843349934, 0.04089492931962013, -0.017873208969831467, -0.054709792137145996, -0.047527529299259186, -0.010690946131944656, -0.05496630072593689, -0.021015450358390808, 0.05635878071188927, 0.007901405915617943, -0.0798843577504158, -0.0023246165364980698, 0.008455649018287659, -0.023140812292695045, 0.021326925605535507, -0.002510127844288945, -0.04463263601064682, 0.0005284780636429787, 0.020135989412665367, 0.009417559951543808, 0.02112538181245327, 0.006595956161618233, 0.01697542704641819, 0.018413711339235306, 0.017424317076802254, 0.04041855409741402, 0.011158159002661705, -0.04327680170536041, -0.07900489866733551, 0.0579344816505909, -0.05020255595445633, -0.015848618000745773, -0.009692391380667686, -0.09659411758184433, -0.01832210086286068, 0.001741744694299996, -0.0010861570481210947, -0.021528467535972595, -0.004543880932033062, -0.026567045599222183, -0.003050629748031497, 0.014850062318146229, 0.011396346613764763, -0.050532352179288864, 0.01812971942126751, 0.005153090693056583, -0.03717554360628128, 0.027776304632425308, -0.054673150181770325, 0.02715335227549076, 0.03365769982337952, 0.0659962072968483, -0.08171656727790833, 0.010287859477102757, 0.017176968976855278, -0.05602898448705673, -0.007777731865644455, 0.017076198011636734, 0.02838093414902687, 0.021363569423556328, 0.014492781832814217, 0.0018848860636353493, -0.06478694826364517, -0.010700106620788574, -0.003382717724889517, -0.03330957889556885, -0.03182549029588699, 0.015408886596560478, -0.001064399490132928, 0.025669263675808907, -0.016728077083826065, -0.0798843577504158, -0.03607621788978577, 0.09161050617694855, -0.06148897111415863, 0.031587302684783936, -0.022078130394220352, 0.07141955196857452, 0.053866975009441376, -0.06196534261107445, 0.11286413669586182, 0.0033735567703843117, -0.02700677700340748, 0.02788623794913292, 0.04646484553813934, 0.03695567697286606, 0.008176237344741821, -0.000026194878955720924, -0.035086821764707565, 0.03177052363753319, 0.02385537512600422, 0.009362593293190002, -0.0035247141495347023, 0.0008290750556625426, -0.055552609264850616, -0.0017051005270332098, 0.05416012927889824, 0.020942160859704018, 0.03336454555392265, 0.005075221881270409, -0.027409862726926804, 0.03371266648173332, -0.008551840670406818, -0.005574499256908894, 0.023067524656653404, 0.0360945388674736, 0.015518818981945515 ]
719,921
ibm_platform_services.resource_controller_v2
delete_resource_alias
Delete a resource alias. Delete a resource alias by URL-encoded CRN or GUID. If the resource alias has any resource keys or bindings associated with it, use the `recursive=true` parameter to delete it. :param str id: The resource alias URL-encoded CRN or GUID. :param bool recursive: (optional) Deletes the resource bindings and keys associated with the alias. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse
def delete_resource_alias(self, id: str, *, recursive: bool = None, **kwargs) -> DetailedResponse: """ Delete a resource alias. Delete a resource alias by URL-encoded CRN or GUID. If the resource alias has any resource keys or bindings associated with it, use the `recursive=true` parameter to delete it. :param str id: The resource alias URL-encoded CRN or GUID. :param bool recursive: (optional) Deletes the resource bindings and keys associated with the alias. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse """ if not id: raise ValueError('id must be provided') headers = {} sdk_headers = get_sdk_headers( service_name=self.DEFAULT_SERVICE_NAME, service_version='V2', operation_id='delete_resource_alias' ) headers.update(sdk_headers) params = {'recursive': recursive} if 'headers' in kwargs: headers.update(kwargs.get('headers')) del kwargs['headers'] path_param_keys = ['id'] path_param_values = self.encode_path_vars(id) path_param_dict = dict(zip(path_param_keys, path_param_values)) url = '/v2/resource_aliases/{id}'.format(**path_param_dict) request = self.prepare_request(method='DELETE', url=url, headers=headers, params=params) response = self.send(request, **kwargs) return response
(self, id: str, *, recursive: Optional[bool] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
[ -0.01576918549835682, -0.026189863681793213, 0.07673326879739761, -0.027063453570008278, -0.021875400096178055, 0.024603139609098434, -0.04991941526532173, 0.026867341250181198, 0.022659847512841225, -0.0299694761633873, -0.009172691963613033, 0.029898162931203842, 0.05227275565266609, -0.04478484392166138, -0.02488839253783226, 0.013184073381125927, -0.02257070690393448, 0.07060031592845917, -0.015510674566030502, 0.007790994364768267, -0.00044097338104620576, 0.06186441704630852, 0.003527787048369646, -0.0020502617117017508, 0.0061908988282084465, 0.042110592126846313, 0.03597763553261757, 0.026082893833518028, -0.015537417493760586, -0.01613466814160347, -0.040541693568229675, -0.012756193056702614, 0.021287064999341965, 0.06179310381412506, -0.049241937696933746, -0.018541496247053146, -0.0025383131578564644, 0.057835206389427185, -0.10689885914325714, 0.029702050611376762, -0.05056123435497284, 0.05697944387793541, 0.004577431827783585, -0.04781566560268402, 0.07395204901695251, -0.00931531935930252, -0.013799152337014675, -0.008183218538761139, -0.036066778004169464, -0.033356864005327225, 0.023800862953066826, -0.020663071423768997, -0.014013092964887619, -0.01495799608528614, 0.02504884824156761, 0.0019087489927187562, -0.031039178371429443, 0.045997172594070435, 0.01060787495225668, -0.04688859358429909, 0.07035071402788162, -0.015608730725944042, -0.02528061717748642, -0.028311438858509064, -0.025316273793578148, -0.03034387156367302, -0.009431203827261925, -0.026724714785814285, -0.03726127743721008, -0.012248084880411625, -0.016794316470623016, 0.015902899205684662, 0.03540712594985962, -0.07388073205947876, 0.04061301052570343, -0.022606363520026207, 0.028650177642703056, 0.002059175865724683, -0.012185685336589813, -0.06507351994514465, -0.04243149980902672, -0.037225618958473206, 0.06389684975147247, -0.005295023322105408, -0.010411763563752174, 0.03321423754096031, 0.007688481360673904, 0.009333147667348385, -0.031235290691256523, 0.0007861193153075874, 0.061900071799755096, -0.0260472372174263, -0.05851268395781517, -0.006516266148537397, 0.028685834258794785, 0.027847900986671448, 0.022249795496463776, -0.005290566477924585, 0.013781324028968811, -0.04745909944176674, 0.013032532297074795, -0.05580277368426323, 0.007113516330718994, 0.01302361860871315, 0.043108981102705, -0.03016558848321438, 0.01669626124203205, -0.013834808953106403, 0.020734384655952454, 0.029612910002470016, 0.001444097375497222, 0.011713233776390553, 0.04649636894464493, -0.030611297115683556, 0.026599915698170662, 0.03030821494758129, 0.001388383680023253, -0.07452255487442017, -0.014458801597356796, -0.04139745607972145, 0.02528061717748642, -0.0016669518081471324, -0.005147939547896385, -0.03242979198694229, 0.020698728039860725, -0.000907575071323663, -0.04025644063949585, 0.03847360610961914, -0.004133951384574175, -0.017043914645910263, -0.02371172234416008, -0.004194122273474932, -0.019557712599635124, 0.030807409435510635, 0.046139802783727646, 0.026724714785814285, 0.08407855778932571, 0.033552978187799454, -0.040149472653865814, 0.00413172272965312, 0.021144436672329903, 0.07509306073188782, -0.04203927889466286, 0.020859183743596077, 0.013968521729111671, -0.04592585936188698, -0.00355007266625762, 0.018791094422340393, -0.05476872995495796, -0.0020458046346902847, -0.03134226053953171, -0.0396859347820282, 0.0015488389180973172, 0.029042402282357216, 0.008918638341128826, -0.009716457687318325, -0.0333925224840641, -0.011303181760013103, -0.015011481009423733, -0.002834709594026208, 0.011356666684150696, 0.03893714398145676, -0.004182979464530945, -0.006043814588338137, -0.01597421243786812, -0.04649636894464493, -0.036245059221982956, -0.02369389310479164, -0.03612026199698448, -0.007171458564698696, -0.06350462883710861, 0.014752969145774841, 0.0025494557339698076, -0.031770139932632446, -0.0034408739302307367, 0.02214282564818859, 0.04838617518544197, -0.0009170463890768588, -0.027830073609948158, -0.02118009328842163, 0.009306404739618301, -0.053734682500362396, 0.05851268395781517, -0.03505055978894234, 0.018131444230675697, 0.017596593126654625, -0.02526278980076313, 0.043108981102705, 0.004174065310508013, -0.026724714785814285, -0.02389000542461872, 0.004728972911834717, 0.0009554887656122446, 0.04064866527915001, -0.01272945012897253, -0.0524153858423233, 0.03287550061941147, -0.06799737364053726, 0.01945074275135994, -0.03612026199698448, -0.08158258348703384, 0.05790651962161064, 0.035835009068250656, 0.028846289962530136, 0.04653202369809151, -0.02526278980076313, 0.04913496598601341, -0.0026073979679495096, -0.07673326879739761, 0.01254225242882967, -0.0018340927781537175, 0.02198236994445324, 0.011053584516048431, -0.02290944568812847, -0.012943390756845474, -0.0003080963797401637, 0.011053584516048431, 0.011454722844064236, 0.047958292067050934, -0.010162166319787502, -0.050240322947502136, -0.0004663231084123254, 0.03729693219065666, -0.026582088321447372, -0.004947370383888483, -0.04528404027223587, 0.036048948764801025, 0.033321209251880646, 0.00981451291590929, -0.05541054904460907, 0.04845748841762543, -0.052950236946344376, 0.049705471843481064, -0.032554589211940765, 0.009769942611455917, -0.02413960173726082, 0.005624848417937756, -0.042253218591213226, 0.007064488250762224, -0.006453867070376873, -0.020538272336125374, 0.0169012863188982, 0.019397258758544922, 0.021304892376065254, -0.07780297100543976, 0.044214338064193726, 0.0004618660022970289, 0.028133155778050423, -0.0012212428264319897, -0.15360917150974274, 0.025120161473751068, -0.018541496247053146, 0.017783790826797485, 0.00915486365556717, 0.03726127743721008, -0.020894840359687805, -0.022624190896749496, 0.001853035413660109, -0.006061642896384001, 0.015840500593185425, -0.04314463585615158, 0.018791094422340393, -0.030682610347867012, 0.006485066842287779, -0.0006334639620035887, 0.0010524304816499352, -0.02643945999443531, 0.04799395054578781, -0.041112203150987625, 0.018898064270615578, 0.05719338357448578, -0.014779712073504925, 0.017338082194328308, 0.017855104058980942, 0.025387587025761604, 0.07609144598245621, 0.013629782944917679, -0.050418607890605927, 0.022802475839853287, -0.024264400824904442, -0.0481722354888916, -0.02019953355193138, 0.042645443230867386, 0.045391008257865906, -0.0009359890245832503, -0.022196311503648758, 0.0004256521351635456, 0.09192303568124771, -0.04064866527915001, 0.05719338357448578, 0.04335857555270195, -0.03011210262775421, -0.019949937239289284, 0.024959707632660866, -0.013094931840896606, 0.056658536195755005, -0.04781566560268402, 0.0031935053411871195, 0.028507551178336143, 0.029505938291549683, -0.0591188482940197, 0.028650177642703056, 0.059404101222753525, -0.03050432726740837, -0.04778001084923744, -0.01863063871860504, 0.040506038814783096, -0.0011343295918777585, 0.04706687480211258, 0.035496268421411514, -0.03399868682026863, 0.016214895993471146, -0.02508450485765934, -0.03326772525906563, -0.022517221048474312, -0.014084406197071075, 0.015653301030397415, 0.034123484045267105, 0.016829973086714745, 0.010723759420216084, -0.039151083678007126, 0.03446222469210625, -0.04143311455845833, -0.05155962333083153, 0.07191961258649826, -0.013291044160723686, 0.05426953360438347, 0.023069901391863823, 0.07994237542152405, -0.00048693714779801667, 0.026867341250181198, -0.021501004695892334, -0.020752213895320892, -0.07027940452098846, -0.010269136168062687, -0.06485958397388458, 0.06407513469457626, 0.00270099681802094, -0.00973428599536419, 0.0749504342675209, 0.010001711547374725, 0.0034988161642104387, 0.0599389523267746, 0.01691020093858242, 0.0022474878933280706, 0.029987305402755737, -0.012141114100813866, -0.03341035172343254, 0.011900431476533413, -0.016428835690021515, 0.07206223905086517, 0.04186099395155907, 0.01611683890223503, 0.01099118497222662, 0.05886925011873245, -0.03947199508547783, 0.00037885268102400005, 0.049848102033138275, -0.029434625059366226, -0.012408539652824402, -0.05712207034230232, -0.045747578144073486, -0.07437992841005325, -0.03093220852315426, 0.06314805895090103, -0.02023519016802311, -0.027259565889835358, -0.026314662769436836, -0.006378096528351307, -0.07915792614221573, -0.031609684228897095, -0.002315458608791232, 0.021465348079800606, -0.03282201290130615, 0.048314861953258514, 0.013005790300667286, 0.006043814588338137, -0.022000199183821678, 0.00826344545930624, 0.018398869782686234, 0.004149551037698984, -0.015697872266173363, 0.018773265182971954, -0.014949081465601921, -0.030771752819418907, -0.017855104058980942, -0.007376484572887421, -0.02859669178724289, -0.0223745945841074, 0.08350804448127747, 0.04061301052570343, -0.02684951387345791, 0.020324332639575005, -0.01001062523573637, -0.025940267369151115, -0.016803231090307236, -0.027099110186100006, -0.028703663498163223, -0.07345285266637802, 0.00616415636613965, 0.01654472015798092, 0.040719978511333466, 0.026172036305069923, 0.005027598235756159, 0.05544620752334595, 0.0009326462168246508, 0.038224007934331894, -0.0481722354888916, -0.019985593855381012, -0.011249696835875511, 0.014316175132989883, -0.03638768568634987, 0.007773166056722403, 0.05476872995495796, 0.04118351638317108, 0.05369902774691582, -0.02938114106655121, 0.014155719429254532, -0.011900431476533413, -0.03446222469210625, 0.01962902583181858, -0.032590243965387344, -0.03382040187716484, 0.002870366210117936, 0.03517535701394081, -0.017935331910848618, -0.004751258529722691, 0.012889905832707882, -0.009930397383868694, -0.021821914240717888, 0.01593855582177639, -0.032394133508205414, 0.0123283127322793, -0.02643945999443531, -0.018701951950788498, 0.01058113295584917, 0.035674553364515305, 0.016295121982693672, 0.0184523556381464, 0.010278050787746906, 0.033535148948431015, -0.0364946573972702, -0.006850548088550568, -0.050953458994627, -0.07373810559511185, 0.0025984838139265776, 0.03501490131020546, 0.008958752267062664, -0.007826650515198708, -0.015501760877668858, 0.09805598855018616, 0.023836519569158554, 0.028525378555059433, -0.07922924309968948, -0.03300029784440994, -0.05719338357448578, 0.014922339469194412, 0.01986079476773739, -0.07174132764339447, -0.0419679656624794, -0.014922339469194412, 0.011169468984007835, -0.011668662540614605, 0.009966053999960423, -0.03932936489582062, 0.01194500271230936, 0.023783035576343536, 0.021875400096178055, 0.008753725327551365, -0.038224007934331894, 0.018229499459266663, -0.03153837099671364, -0.03825966641306877, 0.06218532845377922, 0.027562648057937622, 0.06560837477445602, -0.002253059297800064, -0.007759794592857361, -0.02838275209069252, 0.05690813064575195, 0.03278635814785957, -0.02938114106655121, 0.019557712599635124, -0.01730242557823658, 0.015546332113444805, -0.0040916092693805695, 0.03726127743721008, 0.008152018301188946, -0.06239926815032959, 0.006694550160318613, 0.03440873697400093, 0.02349778078496456, -0.04332292079925537, -0.000136916249175556, 0.012987961992621422, -0.024157430976629257, 0.006485066842287779, 0.01961119845509529, -0.027313049882650375, -0.05533923581242561, 0.01001062523573637, -0.10105115920305252, 0.019201146438717842, -0.01197174470871687, 0.008891895413398743, -0.01729351095855236, -0.0016546949045732617, 0.017026085406541824, 0.0019377201097086072, 0.013932865113019943, -0.068425253033638, 0.02938114106655121, 0.031021349132061005, 0.04232453182339668, 0.008874067105352879, 0.0377248153090477, -0.0385449193418026, 0.014904510229825974, 0.06090168654918671, 0.002999621909111738, -0.02296292968094349, 0.02700996771454811, -0.009359889663755894, -0.005794217810034752, 0.033927373588085175, -0.055695801973342896, -0.02626117691397667, -0.019593369215726852, 0.025155818089842796, 0.009547088295221329, -0.019397258758544922, 0.003472073469310999, -0.021679287776350975, -0.07466518133878708, 0.003681556787341833, 0.017257854342460632, -0.08472037315368652, -0.014244860969483852, -0.03697602450847626, 0.01769465021789074, -0.003951210528612137, 0.044606562703847885, -0.03324989601969719, -0.03669076785445213, -0.03989987447857857, 0.01048307679593563, 0.041896652430295944, 0.0026341404300183058, 0.06279148906469345, 0.04253847151994705, 0.060545116662979126, -0.056515906006097794, 0.009359889663755894, 0.029416797682642937, -0.08186783641576767, 0.02504884824156761, -0.03464050590991974, -0.08072682470083237, -0.008085162378847599, -0.001119844033382833, -0.05573146045207977, 0.08343673497438431, 0.07359547913074493, -0.017819447442889214, 0.045569293200969696, 0.04699556156992912, 0.06600059568881989, 0.017997732385993004, -0.00046715879580006003, 0.0009716457570903003, -0.08828604966402054, -0.02257070690393448, -0.003913325257599354, 0.0019499771296977997, -0.0638611912727356, 0.041504427790641785, 0.05730035528540611, -0.045961517840623856, 0.017560936510562897, 0.07537831366062164, -0.004751258529722691, 0.018381040543317795, -0.041682709008455276, -0.017658991739153862, -0.014556857757270336, 0.05109608545899391, 0.11424414068460464, 0.03597763553261757, -0.03458702191710472, -0.07880136370658875, -0.06610756367444992, 0.034711819142103195, 0.04535535350441933, -0.06628584861755371, -0.018737608566880226, 0.031146148219704628, 0.05886925011873245, -0.0021940027363598347, 0.005054340697824955, 0.021821914240717888, 0.007608253508806229, -0.010358278639614582, -0.00007375091809080914, -0.002841395093128085, 0.013130588456988335, 0.04884971305727959, 0.00559364864602685, -0.058049146085977554, -0.08586139231920242, -0.0427880696952343, -0.06147219240665436, -0.029505938291549683, 0.013094931840896606, -0.011829118244349957, -0.001524324994534254, -0.04350120201706886, -0.008677954785525799, -0.005807588808238506, -0.03464050590991974, 0.007536940276622772, -0.0481722354888916, -0.017855104058980942, -0.03808138146996498, 0.013567383401095867, -0.048528801649808884, 0.09199434518814087, 0.00357235805131495, 0.02957725338637829, -0.05462609976530075, 0.022267624735832214, -0.04136180132627487, 0.04300200939178467, -0.0254767294973135, 0.02679602801799774, 0.005718447268009186, -0.04236018657684326, 0.019878624007105827, 0.001417354797013104, 0.026528602465987206, -0.0021048609632998705, 0.07744640111923218, 0.013861551880836487, -0.05476872995495796, 0.1278650164604187, -0.02645728923380375, 0.10454551130533218, -0.008798296563327312, -0.05384165421128273, -0.04275241121649742, -0.04681728035211563, -0.0018028931226581335, 0.05580277368426323, -0.03965027630329132, -0.0005877788062207401, 0.0543765053153038, 0.03747521713376045, 0.02663557231426239, 0.007755337283015251, -0.04075563699007034, -0.007840022444725037, 0.0591188482940197, -0.032732874155044556, -0.04934890568256378, -0.02000342309474945, 0.012506595812737942, -0.04293069615960121, 0.013718924485147, -0.017534194514155388, 0.050846487283706665, -0.00788459274917841, 0.031163977459073067, -0.022588534280657768, 0.01555524580180645, 0.02955942414700985, -0.010919871740043163, -0.006030443590134382, -0.009832341223955154, -0.028828460723161697, 0.04745909944176674, 0.02446051314473152, -0.0364946573972702, -0.026938654482364655, 0.022445907816290855, 0.01447662990540266, -0.026582088321447372, 0.027313049882650375, 0.042288873344659805, -0.00912366434931755, -0.011249696835875511, -0.009556001983582973, -0.0271882526576519, -0.0111872972920537, -0.006846091244369745, 0.008486300706863403, 0.005152396857738495, 0.008615556173026562, -0.050418607890605927, -0.019593369215726852, -0.0007716338150203228, -0.01631295122206211, 0.024353543296456337, -0.017658991739153862, 0.03619157522916794, -0.019005034118890762, 0.005228167399764061, 0.017569851130247116, -0.004392462782561779, -0.026385976001620293, 0.017757048830389977, 0.024817079305648804, -0.008352587930858135, 0.05273629352450371, 0.027313049882650375, 0.012631394900381565, 0.023836519569158554, -0.03011210262775421, -0.01409331988543272, -0.04064866527915001, 0.003933382220566273, 0.05262932553887367, -0.0012903277529403567, 0.024353543296456337, 0.030022962018847466, 0.025316273793578148, 0.027099110186100006, 0.009680800139904022, 0.0218040868639946, 0.07373810559511185, -0.033481664955616, -0.012462025508284569, -0.018612809479236603, 0.034337423741817474, -0.05305720493197441, -0.00022271524358075112, 0.023765206336975098, 0.013460413552820683, 0.028115326538681984, -0.006436038762331009, -0.007652824278920889, -0.025726325809955597, -0.012667051516473293, 0.04253847151994705, -0.021483175456523895, -0.02175060100853443, 0.024264400824904442, 0.013157331384718418, 0.026742542162537575, 0.07865872979164124, 0.027651788666844368, -0.026118550449609756, 0.043073322623968124, 0.0014752969145774841, 0.008874067105352879, 0.0690670758485794, 0.015412619337439537, -0.05847702920436859, -0.06560837477445602, 0.040898263454437256, -0.0009593887371011078, 0.01811361499130726, -0.012176771648228168, -0.020663071423768997, 0.0006485066842287779, -0.009350975975394249, 0.0026185407768934965, 0.017979903146624565, 0.0023956862278282642, 0.002130489330738783 ]
719,922
ibm_platform_services.resource_controller_v2
delete_resource_binding
Delete a resource binding. Deleting a resource binding does not affect the resource alias that the binding is associated with. :param str id: The resource binding URL-encoded CRN or GUID. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse
def delete_resource_binding(self, id: str, **kwargs) -> DetailedResponse: """ Delete a resource binding. Deleting a resource binding does not affect the resource alias that the binding is associated with. :param str id: The resource binding URL-encoded CRN or GUID. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse """ if not id: raise ValueError('id must be provided') headers = {} sdk_headers = get_sdk_headers( service_name=self.DEFAULT_SERVICE_NAME, service_version='V2', operation_id='delete_resource_binding' ) headers.update(sdk_headers) if 'headers' in kwargs: headers.update(kwargs.get('headers')) del kwargs['headers'] path_param_keys = ['id'] path_param_values = self.encode_path_vars(id) path_param_dict = dict(zip(path_param_keys, path_param_values)) url = '/v2/resource_bindings/{id}'.format(**path_param_dict) request = self.prepare_request(method='DELETE', url=url, headers=headers) response = self.send(request, **kwargs) return response
(self, id: str, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
[ -0.0027695195749402046, -0.06337939202785492, 0.012516098096966743, -0.08727537840604782, -0.008148779161274433, 0.016350818797945976, -0.018445711582899094, 0.10779822617769241, 0.025014443323016167, -0.06682354211807251, -0.044738393276929855, 0.03460124135017395, -0.01030580885708332, -0.04999338090419769, -0.06586486101150513, 0.019351130351424217, 0.008827843703329563, 0.06728512793779373, -0.033323001116514206, -0.08173633366823196, 0.02041633054614067, 0.05233681946992874, -0.018152780830860138, 0.027020569890737534, 0.015330001711845398, 0.044702887535095215, 0.050170913338661194, 0.0355776771903038, 0.0067862109281122684, 0.024783650413155556, -0.036465343087911606, -0.02854735590517521, 0.007447522599250078, 0.024499597027897835, -0.0292042288929224, 0.003703788621351123, 0.03745952993631363, 0.053721580654382706, -0.05666863173246384, -0.02061161771416664, -0.045022446662187576, 0.011850348673760891, -0.018303684890270233, 0.004132087808102369, 0.044809408485889435, 0.009142966009676456, -0.011921362020075321, -0.00588966766372323, -0.04658474028110504, -0.023966997861862183, 0.018800778314471245, 0.000236341220443137, 0.015942491590976715, 0.04310508817434311, 0.035737454891204834, -0.006000625900924206, -0.04867963492870331, 0.05784035474061966, -0.008668064139783382, -0.0519462488591671, 0.030109649524092674, -0.027890482917428017, -0.09160719066858292, -0.05986423417925835, -0.00022344231547322124, -0.039589930325746536, -0.05208827555179596, 0.0013303902233019471, -0.0015900327125564218, -0.020789150148630142, -0.012791275046765804, 0.007775959093123674, -0.002907108049839735, -0.015472028404474258, 0.017771083861589432, -0.030926302075386047, 0.027109336107969284, 0.00001366174274153309, 0.042110901325941086, -0.07182997465133667, 0.010678628459572792, -0.03147665783762932, 0.07197200506925583, -0.021605804562568665, -0.010767395608127117, 0.002339001279324293, 0.0066264308989048, 0.029701322317123413, 0.011033695191144943, -0.03816966339945793, 0.035772960633039474, -0.018303684890270233, -0.039341382682323456, 0.0025986437685787678, 0.053366512060165405, -0.015605177730321884, 0.009569045156240463, 0.0008743515354581177, 0.016865665093064308, -0.012329688295722008, 0.0010679737897589803, -0.05546140670776367, -0.013820968568325043, 0.05979321897029877, 0.032932430505752563, -0.017460402101278305, 0.03183172270655632, -0.007230044342577457, -0.022511223331093788, 0.017140841111540794, 0.035737454891204834, 0.01275576837360859, 0.03454798087477684, -0.04125874117016792, 0.016173284500837326, 0.05148465931415558, -0.006914922501891851, -0.062314193695783615, 0.023966997861862183, -0.053295500576496124, 0.005268300883471966, -0.02641695737838745, -0.0175225380808115, -0.02054060436785221, 0.05716572701931, 0.047543421387672424, -0.058941058814525604, -0.005951804108917713, 0.006067201029509306, -0.0034552421420812607, -0.01761130429804325, -0.022564483806490898, -0.050739020109176636, 0.014974934980273247, 0.017069827765226364, 0.0075185359455645084, -0.015960244461894035, 0.06465762853622437, 0.018463464453816414, 0.038418207317590714, 0.05166219547390938, 0.04346015304327011, -0.03483203426003456, 0.04928324744105339, 0.03431718796491623, -0.027570923790335655, 0.006200350821018219, 0.06476414948701859, -0.038844287395477295, 0.006710759364068508, -0.058905553072690964, 0.0008371805306524038, 0.039270367473363876, 0.012010128237307072, -0.025334004312753677, 0.041578300297260284, -0.024694884195923805, 0.004868851043283939, -0.0020627151243388653, -0.023665189743041992, 0.0765523612499237, 0.05531938001513481, 0.04395724833011627, -0.03827618062496185, -0.0003348167228978127, 0.013856475241482258, -0.027002817019820213, -0.002170344814658165, -0.00045243254862725735, 0.025280743837356567, -0.06025480479001999, 0.0012593768769875169, 0.01775333099067211, -0.02284853719174862, 0.0399094894528389, 0.050952062010765076, 0.05578096583485603, 0.014087268151342869, -0.016963308677077293, -0.004549290984869003, 0.041897863149642944, -0.062491726130247116, 0.056242551654577255, -0.02645246312022209, 0.013457025401294231, 0.02849409729242325, -0.01720297709107399, 0.017478154972195625, -0.01282678171992302, -0.01700769178569317, -0.047756459563970566, -0.0031423396430909634, 0.027269117534160614, 0.04537751525640488, -0.033056702464818954, -0.028014756739139557, 0.006040570791810751, -0.061888113617897034, 0.029878856614232063, -0.056278061121702194, -0.05471576750278473, -0.025405017659068108, 0.007678315509110689, 0.04860861971974373, 0.05198175460100174, -0.02291955053806305, 0.04931875318288803, -0.06369895488023758, -0.018463464453816414, 0.020895671099424362, -0.02070038393139839, 0.006124899256974459, 0.021073203533887863, -0.00501531595364213, 0.013705572113394737, 0.026718763634562492, -0.017371634021401405, -0.03699794039130211, 0.06259824335575104, -0.03408639505505562, -0.04683328792452812, 0.01572057418525219, 0.04736588895320892, -0.014060637913644314, -0.028298810124397278, -0.018463464453816414, 0.024038011208176613, 0.03508058190345764, 0.027997003868222237, -0.024233296513557434, 0.03442370891571045, 0.018135027959942818, 0.033180974423885345, 0.010563232004642487, 0.04413478076457977, -0.07484804093837738, -0.009400389157235622, -0.03209802135825157, 0.0071057709865272045, 0.0063734459690749645, 0.022564483806490898, 0.062491726130247116, -0.00581421609967947, 0.016617117449641228, -0.053686074912548065, -0.004387292079627514, 0.005277177784591913, 0.014699758030474186, -0.01616440713405609, -0.11298219859600067, -0.014815154485404491, -0.05251435190439224, 0.011823718436062336, -0.023665189743041992, 0.018463464453816414, -0.03980296850204468, -0.04058411344885826, -0.03500957041978836, -0.02870713733136654, 0.008792337030172348, -0.024286556988954544, -0.006151529029011726, -0.04573258012533188, 0.031157096847891808, 0.04388623312115669, 0.005410327576100826, -0.03481428325176239, 0.02275977097451687, 0.009782085195183754, 0.01566731557250023, 0.07832770049571991, -0.04019354283809662, 0.030198415741324425, 0.012001251801848412, 0.005210602656006813, 0.015125838108360767, 0.008015628904104233, -0.027482157573103905, 0.03848922252655029, -0.0014213761314749718, 0.010882792063057423, -0.03799212723970413, 0.053615059703588486, 0.05215928703546524, 0.004149841144680977, 0.036713890731334686, -0.039589930325746536, 0.030802030116319656, 0.008943240158259869, 0.03399762883782387, 0.06764019280672073, 0.0004651927447412163, -0.014744141139090061, 0.06266926229000092, -0.006178159266710281, 0.04981584846973419, -0.04022904857993126, 0.0009270567679777741, 0.012329688295722008, 0.012125525623559952, 0.005068575963377953, 0.013323875144124031, 0.06582935154438019, -0.02316809631884098, -0.08407977968454361, -0.06320185959339142, 0.041897863149642944, -0.01003950834274292, 0.00896543264389038, 0.010563232004642487, -0.002492123981937766, -0.02029205672442913, -0.009853098541498184, -0.04030006006360054, 0.056633125990629196, 0.02020329050719738, 0.007540727499872446, -0.0004937645280733705, -0.0009936317801475525, 0.005854160990566015, -0.06341490149497986, -0.01614665426313877, 0.017495907843112946, 0.011797088198363781, 0.0162176676094532, -0.04122323542833328, 0.007043634075671434, 0.03742402046918869, 0.01295993197709322, 0.007722699083387852, 0.05482228845357895, 0.024641623720526695, 0.017407141625881195, -0.022440209984779358, 0.03550666198134422, -0.06323736906051636, 0.08926375210285187, 0.009755455888807774, -0.05485779419541359, 0.032612867653369904, -0.03834719583392143, 0.011601801961660385, 0.0740668997168541, 0.038879796862602234, 0.005215040873736143, 0.02036307007074356, -0.03586173057556152, -0.030748769640922546, 0.024748142808675766, -0.044880419969558716, 0.01729174517095089, 0.022031884640455246, 0.0012959932209923863, 0.009515785612165928, 0.02043408341705799, -0.009293869137763977, -0.0019595238845795393, 0.02863612398505211, -0.030127402395009995, -0.02061161771416664, -0.030251676216721535, 0.00044605243601836264, -0.08578409999608994, -0.03234656900167465, 0.042359448969364166, -0.004289648495614529, -0.030446963384747505, -0.008139902725815773, -0.004922111053019762, -0.04338914155960083, -0.009258362464606762, -0.021747831255197525, 0.007753767538815737, 0.02323910966515541, 0.005783147644251585, -0.016874540597200394, -0.010350191965699196, -0.021268490701913834, 0.0292929969727993, -0.012746891938149929, -0.018978310748934746, -0.036713890731334686, 0.009023130871355534, 0.00031096069142222404, -0.05737876519560814, -0.03467225655913353, -0.006599800661206245, -0.05187523365020752, -0.04253698140382767, 0.0395544208586216, 0.026825282722711563, -0.036571864038705826, -0.009293869137763977, 0.019652938470244408, -0.009169595316052437, -0.07108433544635773, -0.009067513979971409, 0.017655687406659126, -0.003734857076779008, 0.017620181664824486, 0.0026053013280034065, 0.056526605039834976, -0.009151842445135117, 0.02332787774503231, 0.030482469126582146, 0.005454711150377989, 0.023966997861862183, 0.014025131240487099, 0.030304936692118645, -0.0399094894528389, -0.009462525136768818, 0.02357642352581024, -0.02583109773695469, 0.0011506377486512065, 0.058905553072690964, 0.06980609893798828, 0.009640058502554893, 0.02263549715280533, -0.053188979625701904, -0.022191664204001427, 0.033642563968896866, -0.017371634021401405, 0.020718136802315712, -0.01324398536235094, 0.016510598361492157, -0.0016732515068724751, -0.011246735230088234, 0.01437132153660059, 0.027251362800598145, -0.0000016210317426157417, -0.022031884640455246, -0.011078078299760818, 0.015578548423945904, -0.03387335687875748, -0.02583109773695469, 0.021907610818743706, 0.0200435109436512, 0.04885716736316681, 0.04576808959245682, -0.02323910966515541, 0.010936051607131958, -0.04892818257212639, -0.02281303144991398, -0.05215928703546524, -0.0941636711359024, -0.02275977097451687, 0.0453065000474453, 0.00022150055156089365, -0.00028086325619369745, 0.0027562046889215708, 0.08244647085666656, -0.02847634255886078, 0.05460924655199051, -0.0648706704378128, -0.045128967612981796, -0.08045809715986252, 0.03508058190345764, 0.0015778272645547986, -0.053757086396217346, -0.061888113617897034, -0.028192289173603058, 0.030446963384747505, -0.017495907843112946, -0.009861975908279419, -0.06792424619197845, -0.0010940490756183863, 0.01445121131837368, 0.012329688295722008, -0.010518848896026611, 0.001090720295906067, 0.01288891863077879, -0.009178472682833672, 0.008379572071135044, 0.04867963492870331, 0.04122323542833328, 0.0791088417172432, 0.05528387427330017, 0.02015003003180027, -0.022031884640455246, 0.025280743837356567, 0.04342464730143547, -0.01693667843937874, -0.01745152473449707, -0.005104082636535168, -0.024393077939748764, -0.0043584429658949375, -0.022511223331093788, 0.01444233488291502, -0.04960280656814575, 0.008277490735054016, 0.05862149968743324, 0.008379572071135044, -0.00987972877919674, -0.0022702072747051716, 0.025032196193933487, -0.026612242683768272, 0.024836910888552666, 0.029754582792520523, 0.03799212723970413, -0.03142339736223221, -0.01136213168501854, -0.05539039149880409, -0.030304936692118645, -0.015054824762046337, 0.01317297201603651, -0.04140076786279678, 0.004700194578617811, 0.016714761033654213, -0.02045183815062046, 0.016439585015177727, -0.05244334042072296, 0.0292929969727993, 0.0025919864419847727, 0.047543421387672424, -0.007767082192003727, 0.03135238215327263, -0.0014602114679291844, -0.00735875591635704, 0.0000036494884625426494, 0.008876665495336056, 0.010900544933974743, 0.06547428667545319, -0.010723012499511242, -0.025405017659068108, -0.013803214766085148, -0.050312940031290054, -0.025120964273810387, -0.053437527269124985, 0.07293068617582321, 0.053402021527290344, 0.04065512865781784, 0.05428968742489815, 0.03460124135017395, -0.10829532146453857, 0.014637621119618416, 0.021055450662970543, -0.07214953750371933, -0.04516447335481644, -0.05872802063822746, 0.0002765636018011719, -0.0005375930340960622, 0.05578096583485603, -0.024322064593434334, 0.021303998306393623, -0.03129912167787552, 0.03728199377655983, 0.01036794576793909, -0.003941239323467016, 0.04278552904725075, -0.013394888490438461, 0.04832456633448601, -0.017478154972195625, 0.03509833663702011, 0.010998188517987728, -0.10467363893985748, 0.008623681031167507, -0.025103209540247917, -0.05237232521176338, -0.003324311226606369, -0.019138090312480927, -0.05531938001513481, 0.05191073939204216, 0.10502870380878448, 0.015418767929077148, 0.01734500378370285, 0.07456398755311966, 0.05191073939204216, -0.02590211108326912, 0.006155967712402344, -0.03571970388293266, -0.06405401974916458, 0.02011452428996563, 0.006968182511627674, -0.001196130644530058, -0.007802588865160942, 0.02576008439064026, 0.031032823026180267, -0.0528339147567749, 0.021694570779800415, 0.030624495819211006, 0.017726700752973557, -0.02879590354859829, -0.032914675772190094, -0.05496431514620781, -0.053721580654382706, 0.05262087285518646, 0.007252235896885395, 0.033553797751665115, 0.009968495927751064, -0.04015803337097168, -0.03760155662894249, 0.02080690488219261, 0.03735300898551941, -0.1082243099808693, -0.006639746017754078, 0.0409746877849102, -0.019067076966166496, 0.027854977175593376, -0.024144530296325684, 0.027890482917428017, 0.0033931054640561342, 0.016670377925038338, 0.0177888385951519, 0.010589862242341042, 0.02907995693385601, 0.025085456669330597, -0.036128029227256775, -0.050632499158382416, -0.05262087285518646, -0.030127402395009995, -0.03540014103055, -0.04346015304327011, 0.009000939317047596, -0.0115041583776474, -0.03721098229289055, -0.03524036332964897, 0.027464402839541435, 0.019138090312480927, -0.041826847940683365, 0.005277177784591913, -0.02863612398505211, -0.04118772968649864, -0.021321751177310944, 0.003022504737600684, -0.021321751177310944, 0.07218504697084427, 0.00817097071558237, 0.06767569482326508, -0.07988999038934708, 0.03499181568622589, -0.050987567752599716, 0.002836094703525305, 0.021783336997032166, 0.01428255531936884, 0.02895568311214447, -0.004678002558648586, 0.04697531461715698, -0.019723951816558838, 0.03492080420255661, 0.028423083946108818, 0.10325337201356888, -0.04676227271556854, -0.02338113635778427, 0.06242071092128754, -0.013865351676940918, 0.1096445769071579, 0.026896296069025993, -0.06440908461809158, -0.029914362356066704, -0.07676540315151215, -0.01768231764435768, 0.0456615686416626, -0.06355692446231842, -0.039483409374952316, 0.050703514367341995, 0.016297558322548866, 0.0008027834701351821, 0.006395637523382902, -0.03788561001420021, -0.011095832102000713, 0.03863124921917915, -0.018640996888279915, 0.014131651259958744, -0.03827618062496185, -0.01311083510518074, -0.018552230671048164, 0.02913321740925312, -0.014007378369569778, 0.0343349426984787, 0.03390886262059212, -0.02904444932937622, -0.039092835038900375, -0.024712637066841125, 0.019546417519450188, -0.06440908461809158, 0.0014934990322217345, -0.03177846223115921, -0.01436244510114193, 0.06139101833105087, 0.01975945755839348, -0.029843349009752274, -0.04317609965801239, 0.009666688740253448, 0.017726700752973557, 0.007247797679156065, 0.027677442878484726, -0.02318585105240345, 0.006888292729854584, -0.005108520854264498, -0.007052510976791382, -0.030198415741324425, -0.03264837712049484, 0.028139030560851097, -0.027997003868222237, -0.036358822137117386, -0.021197477355599403, -0.0399094894528389, -0.056455593556165695, -0.032932430505752563, -0.002332343952730298, 0.019138090312480927, -0.030446963384747505, 0.018392451107501984, -0.028298810124397278, -0.0052239177748560905, -0.0044050454162061214, 0.02007901668548584, -0.011326625011861324, 0.004686879459768534, 0.02645246312022209, -0.03994499519467354, 0.0528339147567749, -0.019209103658795357, -0.0016765801701694727, 0.027801716700196266, 0.018907297402620316, -0.08670727163553238, -0.027411144226789474, -0.03220454230904579, 0.009480278939008713, -0.003117928747087717, 0.058692511171102524, 0.04516447335481644, -0.030251676216721535, 0.05542590096592903, -0.022404704242944717, 0.03490304946899414, 0.04417028650641441, -0.02883140929043293, 0.009000939317047596, 0.03197374939918518, 0.007327687460929155, -0.0754871666431427, 0.018463464453816414, 0.02568907104432583, 0.010350191965699196, 0.08464788645505905, -0.0033509412314742804, 0.04285654053092003, -0.029594803228974342, -0.014832908287644386, 0.0805291086435318, 0.003739295294508338, -0.025245236232876778, 0.04899919405579567, 0.04917672649025917, 0.003528474597260356, 0.00722560565918684, -0.001907373545691371, -0.06050335243344307, 0.04836007580161095, 0.0515911802649498, -0.006910484284162521, 0.035648688673973083, 0.012143278494477272, -0.08358268439769745, -0.05499982088804245, 0.021232984960079193, -0.01435356866568327, 0.02833431586623192, -0.01988373138010502, 0.036234550178050995, 0.0017442647367715836, -0.03179621696472168, 0.026985064148902893, 0.0343349426984787, 0.021037697792053223, 0.011912485584616661 ]
719,923
ibm_platform_services.resource_controller_v2
delete_resource_instance
Delete a resource instance. Delete a resource instance by URL-encoded CRN or GUID. If the resource instance has any resource keys or aliases associated with it, use the `recursive=true` parameter to delete it. :param str id: The resource instance URL-encoded CRN or GUID. :param bool recursive: (optional) Will delete resource bindings, keys and aliases associated with the instance. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse
def delete_resource_instance(self, id: str, *, recursive: bool = None, **kwargs) -> DetailedResponse: """ Delete a resource instance. Delete a resource instance by URL-encoded CRN or GUID. If the resource instance has any resource keys or aliases associated with it, use the `recursive=true` parameter to delete it. :param str id: The resource instance URL-encoded CRN or GUID. :param bool recursive: (optional) Will delete resource bindings, keys and aliases associated with the instance. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse """ if not id: raise ValueError('id must be provided') headers = {} sdk_headers = get_sdk_headers( service_name=self.DEFAULT_SERVICE_NAME, service_version='V2', operation_id='delete_resource_instance' ) headers.update(sdk_headers) params = {'recursive': recursive} if 'headers' in kwargs: headers.update(kwargs.get('headers')) del kwargs['headers'] path_param_keys = ['id'] path_param_values = self.encode_path_vars(id) path_param_dict = dict(zip(path_param_keys, path_param_values)) url = '/v2/resource_instances/{id}'.format(**path_param_dict) request = self.prepare_request(method='DELETE', url=url, headers=headers, params=params) response = self.send(request, **kwargs) return response
(self, id: str, *, recursive: Optional[bool] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
[ 0.04936015233397484, -0.048717256635427475, 0.025358688086271286, -0.06443250179290771, -0.03312702104449272, -0.026555189862847328, 0.008902328088879585, 0.03394849970936775, 0.031412627547979355, 0.035252150148153305, 0.004410983063280582, 0.020519107580184937, 0.03760943561792374, -0.03682367503643036, -0.01502770185470581, -0.012616840191185474, -0.019483331590890884, 0.019411897286772728, -0.06050368770956993, -0.03312702104449272, 0.018340403214097023, 0.11807862669229507, -0.033609192818403244, 0.014081215485930443, 0.045752789825201035, 0.05375327542424202, 0.015599165111780167, 0.04896727204322815, -0.03010897897183895, -0.017188547179102898, -0.0036051305942237377, 0.015724172815680504, -0.02010836824774742, 0.03868092969059944, -0.04460986331105232, -0.00457617174834013, -0.013893703930079937, 0.05671774223446846, -0.14729470014572144, 0.07779045403003693, -0.059325046837329865, 0.03314487636089325, -0.00046291883336380124, -0.055539101362228394, 0.045145608484745026, -0.004710108507424593, 0.024697935208678246, -0.01674209162592888, -0.07304016500711441, -0.03750228509306908, 0.04518132656812668, -0.006415569689124823, -0.017206406220793724, 0.0029622341971844435, 0.031180473044514656, 0.030912598595023155, -0.028376730158925056, 0.07275443524122238, 0.026948072016239166, -0.045359909534454346, 0.030466143041849136, -0.02462650090456009, -0.006469144485890865, 0.016465289518237114, -0.0188582930713892, -0.0008231528336182237, -0.03857377916574478, 0.014750899747014046, -0.04518132656812668, 0.022287072613835335, -0.0058441064320504665, 0.015697386115789413, 0.03160906955599785, -0.025930151343345642, -0.000355769443558529, -0.01775108277797699, 0.011286402121186256, -0.027108795940876007, -0.009447004646062851, -0.03180551156401634, -0.012866855598986149, -0.021501310169696808, 0.044538430869579315, -0.0367165245115757, -0.01153641752898693, 0.014893765561282635, 0.01896544173359871, -0.022983543574810028, -0.03562717139720917, -0.017367130145430565, 0.008853218518197536, -0.022822819650173187, -0.056253429502248764, -0.01486697793006897, 0.037895169109106064, 0.03384134918451309, 0.026465898379683495, -0.03389492258429527, -0.016527792438864708, -0.0815763995051384, 0.004035960417240858, -0.04546705633401871, -0.01640278659760952, -0.010732796974480152, 0.0530746653676033, -0.055039070546627045, -0.013250808231532574, -0.0003797664539888501, -0.011947156861424446, 0.0072593712247908115, 0.005366398487240076, 0.06600402295589447, -0.027037363499403, -0.002230046782642603, 0.02616230957210064, -0.00031558843329548836, -0.01841183751821518, -0.00163514434825629, -0.017242122441530228, -0.07729042321443558, -0.0007533941534347832, -0.03285914659500122, -0.01203644834458828, -0.014116931706666946, 0.020697690546512604, 0.019090449437499046, -0.021965624764561653, 0.014447309076786041, -0.033769916743040085, -0.02232278883457184, -0.0009425797616131604, -0.006875419057905674, -0.050253063440322876, 0.012875785119831562, 0.013438318856060505, -0.0008292916463688016, 0.09014835208654404, 0.016036691144108772, -0.022572804242372513, 0.02737666852772236, 0.029091060161590576, 0.07007569819688797, -0.024537209421396255, 0.05293179675936699, 0.006893277168273926, -0.035966478288173676, -0.0423240102827549, 0.0626823902130127, -0.025733711197972298, 0.01597418822348118, -0.02637660875916481, -0.017715366557240486, 0.06296812742948532, 0.024662217125296593, 0.013170445337891579, -0.0252693984657526, 0.0008465917780995369, -0.0037055830471217632, 0.0060450113378465176, -0.029198208823800087, 0.011473913677036762, 0.06350386887788773, 0.016072409227490425, -0.021554885432124138, -0.030537575483322144, -0.015000914223492146, -0.016090266406536102, 0.006071798969060183, -0.007442418020218611, 0.03221625089645386, -0.051360275596380234, 0.010179191827774048, -0.007147757336497307, -0.028055282309651375, -0.03568074852228165, 0.05578911677002907, 0.06414676457643509, -0.01374190952628851, 0.03209124132990837, -0.008670171722769737, -0.007844228297472, -0.05178887024521828, 0.06100371852517128, -0.01533129159361124, 0.011670354753732681, 0.04446699842810631, -0.003964527510106564, 0.06453964859247208, 0.014224081300199032, -0.047395747154951096, 0.031376913189888, 0.0034868197981268167, 0.016045620664954185, 0.05150314047932625, -0.021019138395786285, -0.006076263263821602, 0.0000065442395680292975, -0.0653611272573471, 0.03655580058693886, 0.0012288695434108377, -0.051860302686691284, 0.027519535273313522, 0.023644298315048218, -0.023001402616500854, 0.020786982029676437, 0.019911928102374077, 0.013786554336547852, 0.0151705676689744, -0.07700469344854355, 0.006692372262477875, -0.03126976266503334, 0.01101852860301733, 0.017286768183112144, 0.034537818282842636, 0.034037791192531586, -0.040966782718896866, -0.03928811103105545, -0.034644968807697296, 0.014018711633980274, -0.03589504584670067, -0.020322667434811592, 0.007513850927352905, -0.01687602885067463, -0.007214725483208895, -0.06261096149682999, 0.011384622193872929, 0.01613491214811802, 0.02582300268113613, -0.02698378823697567, -0.06968282163143158, 0.02528725564479828, -0.0012511922977864742, 0.06189662963151932, -0.017206406220793724, 0.002393003087490797, -0.005308359395712614, -0.007562960963696241, -0.02341214194893837, 0.04782434552907944, -0.015063418075442314, 0.01555451937019825, -0.03494855761528015, -0.009991680271923542, -0.019376181066036224, -0.043109770864248276, 0.05296751484274864, 0.020019076764583588, 0.02105485461652279, 0.006111979950219393, -0.14136576652526855, 0.015125921927392483, -0.07207582145929337, 0.021751325577497482, 0.007125434465706348, 0.030644726008176804, -0.0407881997525692, -0.007205796428024769, -0.007955841720104218, 0.026037301868200302, 0.04857439175248146, -0.024644359946250916, 0.015125921927392483, -0.04346693679690361, 0.03221625089645386, -0.0039176493883132935, -0.0006043895264156163, -0.06471823155879974, 0.05414615944027901, 0.018117176368832588, 0.013250808231532574, 0.03796660155057907, -0.03241268917918205, 0.009839885868132114, 0.00828175526112318, -0.0021820527035743, 0.014116931706666946, -0.018340403214097023, -0.06821844726800919, 0.019215457141399384, -0.05825355276465416, -0.03528786450624466, -0.051253125071525574, 0.08007630705833435, -0.01780465617775917, 0.019876211881637573, -0.037287987768650055, 0.004143109545111656, 0.08336222171783447, -0.009580940939486027, 0.053824711591005325, 0.0047235023230314255, -0.007933519780635834, -0.025144390761852264, 0.005384256597608328, -0.0349128432571888, 0.06050368770956993, -0.07900481671094894, -0.019197598099708557, 0.006812915205955505, 0.003276985604315996, -0.0453956238925457, 0.00431276299059391, 0.060753703117370605, -0.0203940998762846, -0.04868153855204582, 0.015670597553253174, 0.05886073037981987, 0.02737666852772236, 0.03803803399205208, 0.037287987768650055, -0.03396635502576828, 0.014688395895063877, -0.028108855709433556, -0.029251784086227417, 0.010089901275932789, 0.0014699556631967425, 0.034091364592313766, 0.020519107580184937, 0.01382227148860693, 0.015233071520924568, -0.032609131187200546, 0.05939647927880287, -0.025144390761852264, 0.022269215434789658, 0.06839703023433685, -0.05725349113345146, 0.01841183751821518, 0.03285914659500122, 0.055539101362228394, 0.05093167722225189, 0.027519535273313522, 0.004540455527603626, 0.008183534257113934, -0.022019200026988983, 0.02341214194893837, -0.06161089986562729, 0.06557542830705643, 0.007679039612412453, -0.001593847176991403, 0.049324434250593185, 0.03484141081571579, 0.03319845348596573, 0.0469314344227314, -0.01957262121140957, -0.015500945039093494, 0.030198270455002785, 0.00683970283716917, -0.009866672568023205, 0.011857865378260612, -0.0065941521897912025, 0.022233499214053154, 0.05671774223446846, 0.01967977173626423, 0.039931006729602814, -0.0028595493640750647, -0.0718972384929657, -0.00020634628890547901, 0.02918034978210926, -0.005540516227483749, -0.03400207310914993, -0.018822576850652695, 0.0006501512252725661, -0.09193417429924011, -0.029108917340636253, 0.044002681970596313, -0.04346693679690361, -0.0469314344227314, -0.05996794253587723, -0.00736652035266161, -0.047681476920843124, -0.04446699842810631, -0.009830956347286701, -0.0071745445020496845, -0.028126714751124382, 0.07671896368265152, 0.019769063219428062, -0.013554397970438004, 0.0006540577160194516, 0.0013773160753771663, 0.01827790029346943, -0.017438562586903572, -0.005348540376871824, -0.0023148732725530863, -0.05221746861934662, -0.002564888447523117, -0.004768148064613342, 0.00435294397175312, -0.0053217532113194466, 0.013402602635324001, 0.025751570239663124, 0.003674331121146679, -0.01264362782239914, 0.01533129159361124, 0.004234632942825556, -0.01637599803507328, -0.017822515219449997, -0.028930334374308586, 0.0014576781541109085, -0.015688456594944, -0.014965198002755642, 0.021626317873597145, 0.07821905612945557, 0.025465838611125946, 0.016045620664954185, 0.044431280344724655, -0.0016172861214727163, 0.025733711197972298, -0.03939525783061981, -0.02912677638232708, -0.03682367503643036, 0.023215701803565025, -0.04978875070810318, 0.000014213338545232546, 0.03246626630425453, 0.02878746949136257, 0.05296751484274864, 0.01684924215078354, 0.10086329281330109, -0.018117176368832588, -0.016751021146774292, 0.029251784086227417, 0.010732796974480152, 0.03650222718715668, -0.008339794352650642, -0.0034555678721517324, 0.00762546481564641, 0.0069468519650399685, -0.018188608810305595, 0.05500335246324539, -0.04446699842810631, -0.04368123412132263, -0.0037301380652934313, -0.02428719587624073, 0.01703675277531147, -0.011464985087513924, -0.014750899747014046, 0.02621588483452797, 0.021090570837259293, 0.026198025792837143, 0.06764698028564453, -0.037287987768650055, -0.05811068415641785, 0.002792580984532833, -0.028483878821134567, -0.04560992494225502, 0.004812793340533972, 0.03319845348596573, 0.002051464281976223, 0.03543073311448097, -0.02171560935676098, 0.08600524067878723, -0.01973334513604641, 0.021358445286750793, -0.04603851959109306, -0.020644115284085274, -0.07807619124650955, 0.020519107580184937, 0.01748320832848549, -0.02616230957210064, -0.06800414621829987, 0.001161901163868606, 0.061575181782245636, -0.019269032403826714, -0.0065941521897912025, -0.05764637142419815, -0.03221625089645386, 0.05293179675936699, 0.018501127138733864, 0.030859023332595825, -0.03682367503643036, 0.021787041798233986, -0.005174422636628151, 0.007692433428019285, 0.030412567779421806, 0.030412567779421806, 0.09229134023189545, 0.04528847709298134, -0.04510989412665367, -0.04225257411599159, -0.006777198985219002, 0.04578850418329239, -0.031519778072834015, 0.022608520463109016, -0.0128847137093544, -0.036252211779356, -0.05393185839056969, 0.01576881855726242, 0.017233192920684814, -0.04039531946182251, -0.0203940998762846, 0.0407881997525692, 0.0107149388641119, -0.04643140360713005, -0.0011278589954599738, 0.01041134912520647, -0.06296812742948532, -0.016465289518237114, 0.04225257411599159, 0.011607850901782513, -0.05539623275399208, -0.0028885689098387957, -0.06721838563680649, 0.019304748624563217, -0.020894130691885948, 0.0012244050158187747, 0.0035046779084950686, 0.006978103891015053, 0.047288596630096436, 0.022072773426771164, 0.027073079720139503, -0.04235972464084625, -0.008710352703928947, 0.02291211113333702, 0.029912538826465607, 0.021090570837259293, 0.057289205491542816, -0.0438598170876503, 0.014929481782019138, 0.04896727204322815, -0.018983300775289536, 0.012670415453612804, 0.0039176493883132935, 0.032073382288217545, 0.018152892589569092, 0.00892911572009325, -0.05150314047932625, -0.04714573174715042, -0.05418187379837036, 0.04836009070277214, 0.055360518395900726, 0.01690281555056572, 0.0017143902368843555, -0.015188425779342651, -0.08371938765048981, -0.030305419117212296, -0.019536904990673065, -0.09400573372840881, -0.021858476102352142, -0.020965563133358955, 0.019751204177737236, -0.008339794352650642, 0.029983971267938614, -0.01367940567433834, 0.006991497706621885, -0.042788323014974594, -0.029698239639401436, 0.04614567011594772, 0.028055282309651375, -0.003556020325049758, 0.01835826225578785, 0.062075212597846985, -0.03603791072964668, 0.024251477792859077, -0.008304078131914139, -0.06800414621829987, 0.08643384277820587, -0.0354485884308815, -0.03721655532717705, 0.02451935224235058, -0.027073079720139503, -0.05336039513349533, 0.03155549615621567, 0.09057695418596268, -0.03696653991937637, 0.008299613371491432, 0.045752789825201035, 0.040252454578876495, -0.004879761952906847, -0.027787407860159874, 0.01258112397044897, -0.06143231689929962, 0.030073262751102448, 0.042002562433481216, -0.009121092036366463, -0.03018041141331196, 0.06100371852517128, 0.03262699022889137, 0.004035960417240858, 0.01891186647117138, 0.010482781566679478, -0.0010396839352324605, -0.04368123412132263, 0.024090753868222237, -0.06532540917396545, -0.02121557854115963, 0.06093228608369827, 0.053217530250549316, 0.01502770185470581, -0.020858414471149445, -0.008589809760451317, -0.007598677650094032, 0.05450332164764404, 0.04425269737839699, -0.05650344491004944, -0.0022568339481949806, 0.030519718304276466, 0.04589565470814705, 0.0196261964738369, 0.01002739742398262, 0.031126897782087326, 0.025126531720161438, 0.02050125040113926, 0.03864521160721779, -0.03818089887499809, 0.020411958917975426, 0.040538184344768524, -0.023751448839902878, -0.06753983348608017, -0.05832498520612717, -0.04950301721692085, -0.03843091428279877, -0.04975303262472153, 0.0012511922977864742, -0.03946669027209282, -0.0022802730090916157, 0.02055482380092144, -0.021251294761896133, -0.017786798998713493, -0.019608337432146072, -0.05193173885345459, -0.06657548993825912, 0.0018773465417325497, 0.0023617511615157127, -0.011339977383613586, -0.0510031096637249, 0.11272116005420685, -0.017313554883003235, 0.04407411441206932, -0.06532540917396545, 0.02912677638232708, 0.012223959900438786, 0.04396696761250496, -0.04721716418862343, 0.029323216527700424, 0.0077817244455218315, -0.04071676731109619, 0.00029270758386701345, -0.0010212676133960485, 0.006384317763149738, 0.05039592832326889, 0.06711123138666153, -0.01703675277531147, -0.05971792712807655, 0.10522069782018661, -0.06814701110124588, 0.03946669027209282, 0.008018345572054386, -0.07721899449825287, -0.02159060165286064, -0.0252693984657526, -0.0003605130477808416, 0.034877125173807144, -0.040252454578876495, -0.035716462880373, 0.017947522923350334, -0.009330926463007927, 0.029251784086227417, 0.0021374071948230267, -0.03843091428279877, -0.0008209205698221922, 0.03389492258429527, -0.012741847895085812, -0.04653855040669441, -0.01825111359357834, -0.022679954767227173, -0.012045376934111118, 0.020072652027010918, -0.050038766115903854, 0.01814396306872368, 0.008835360407829285, -0.0053306822665035725, -0.022179923951625824, -0.008219251409173012, 0.06336100399494171, -0.050145912915468216, 0.01994764432311058, -0.039716705679893494, -0.016572438180446625, -0.00008043180423555896, 0.06468251347541809, 0.011991802603006363, 0.019876211881637573, 0.013590114191174507, 0.007732614409178495, -0.026037301868200302, -0.009866672568023205, 0.014241939410567284, 0.020376242697238922, -0.0026854316238313913, -0.038609497249126434, -0.06571829319000244, -0.0002825228148140013, -0.0242336206138134, -0.01404549926519394, -0.03205552697181702, -0.013313312083482742, -0.03496641665697098, -0.043216921389102936, 0.014018711633980274, -0.003968991804867983, -0.019644055515527725, -0.02489437535405159, 0.022876394912600517, 0.005411044228821993, -0.004861903376877308, 0.02280496247112751, -0.005044950637966394, -0.030305419117212296, 0.053503260016441345, 0.00011028852895833552, 0.0295732319355011, 0.07493314146995544, 0.04160967841744423, -0.022947827354073524, -0.0001477489568060264, 0.04907441884279251, -0.03462710976600647, -0.044538430869579315, -0.02126915380358696, 0.030680442228913307, -0.016009904444217682, -0.016974249854683876, 0.04468129575252533, -0.02164417691528797, 0.0031184935942292213, 0.023001402616500854, 0.01827790029346943, 0.049538735300302505, 0.01502770185470581, 0.000012469370631151833, 0.019036874175071716, 0.01590275578200817, -0.09336283802986145, -0.02005479484796524, 0.04221685975790024, -0.02307283505797386, 0.033269885927438736, -0.025697994977235794, 0.026412324979901314, -0.007299552205950022, -0.03139477223157883, 0.05428902432322502, -0.006768269930034876, -0.03455567732453346, 0.024644359946250916, 0.05593198165297508, 0.031680501997470856, 0.061146583408117294, 0.02412647008895874, -0.05500335246324539, 0.0303411353379488, -0.014688395895063877, 0.018894009292125702, 0.07771902531385422, 0.039430975914001465, -0.009822027757763863, -0.06418248265981674, 0.02735881134867668, -0.003783712862059474, 0.02468007616698742, -0.0023304992355406284, -0.026840921491384506, 0.0128847137093544, 0.02016194351017475, -0.002756864530965686, 0.021804900839924812, 0.027215944603085518, 0.021197721362113953 ]
719,924
ibm_platform_services.resource_controller_v2
delete_resource_key
Delete a resource key. Deleting a resource key does not affect any resource instance or resource alias associated with the key. :param str id: The resource key URL-encoded CRN or GUID. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse
def delete_resource_key(self, id: str, **kwargs) -> DetailedResponse: """ Delete a resource key. Deleting a resource key does not affect any resource instance or resource alias associated with the key. :param str id: The resource key URL-encoded CRN or GUID. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse """ if not id: raise ValueError('id must be provided') headers = {} sdk_headers = get_sdk_headers( service_name=self.DEFAULT_SERVICE_NAME, service_version='V2', operation_id='delete_resource_key' ) headers.update(sdk_headers) if 'headers' in kwargs: headers.update(kwargs.get('headers')) del kwargs['headers'] path_param_keys = ['id'] path_param_values = self.encode_path_vars(id) path_param_dict = dict(zip(path_param_keys, path_param_values)) url = '/v2/resource_keys/{id}'.format(**path_param_dict) request = self.prepare_request(method='DELETE', url=url, headers=headers) response = self.send(request, **kwargs) return response
(self, id: str, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
[ -0.014644871465861797, -0.030938858166337013, -0.03179926797747612, -0.03717682138085365, 0.004691915586590767, 0.006076635792851448, -0.015343952924013138, 0.04811117798089981, 0.029540695250034332, -0.025095250457525253, -0.016544939950108528, 0.01520951371639967, 0.056464314460754395, -0.04391668736934662, -0.017459124326705933, 0.016661453992128372, 0.02215552143752575, 0.011642403900623322, 0.001204347936436534, -0.08933909237384796, 0.029827497899532318, 0.08948249369859695, 0.022585725411772728, -0.030741682276129723, 0.013999564573168755, 0.07679146528244019, 0.04728662222623825, 0.024324467405676842, 0.0463545136153698, -0.024109365418553352, -0.03810892999172211, 0.030329402536153793, 0.009984324686229229, 0.05420574173331261, -0.06693261861801147, -0.0382881835103035, 0.01928749307990074, 0.0362088605761528, -0.11622685939073563, 0.03144076466560364, -0.03900519013404846, 0.06019274890422821, 0.010835770517587662, -0.07679146528244019, 0.051803767681121826, 0.011821655556559563, -0.005417885258793831, -0.002174548339098692, -0.01631191186606884, -0.02396596409380436, 0.05108676105737686, 0.017369497567415237, -0.02376878634095192, -0.012431111186742783, -0.003015911439433694, 0.02636793814599514, -0.027497224509716034, 0.02233477309346199, -0.014214666560292244, -0.03579658269882202, 0.019215792417526245, -0.007712308317422867, -0.059296492487192154, 0.012296672910451889, -0.004004037007689476, -0.0704817995429039, -0.021223410964012146, -0.009509307332336903, 0.013390108942985535, 0.011283899657428265, -0.029737871140241623, -0.0053148153237998486, -0.004133994225412607, 0.007506168447434902, 0.014851010404527187, -0.01952051930129528, -0.031064335256814957, -0.026529263705015182, -0.020380929112434387, -0.05538880079984665, 0.01026216521859169, -0.07356493175029755, 0.03502579778432846, -0.02975579723715782, 0.004136234987527132, 0.006215555593371391, 0.024270692840218544, -0.00794085394591093, 0.006990819703787565, -0.014859973452985287, 0.0011550537310540676, 0.026260387152433395, -0.0985167846083641, 0.010934359394013882, 0.05094335973262787, 0.01751289889216423, -0.006928081624209881, -0.011821655556559563, 0.015370841138064861, -0.02256779931485653, 0.059260640293359756, -0.011776842176914215, 0.042590223252773285, 0.020452629774808884, 0.059690844267606735, -0.035509780049324036, 0.013506622053682804, -0.006524764932692051, -0.003224291605874896, 0.021062085404992104, 0.006569577846676111, 0.00218799221329391, 0.029451068490743637, -0.006878787185996771, 0.008079774677753448, 0.02798120491206646, 0.006892231293022633, -0.018050655722618103, 0.02056018076837063, -0.03965049609541893, 0.02495184913277626, -0.048182882368564606, -0.00423258263617754, -0.008935702033340931, 0.011776842176914215, 0.012332523241639137, -0.029235966503620148, 0.03760702535510063, -0.006112486124038696, -0.007994629442691803, -0.03235494717955589, 0.01176788005977869, -0.027425523847341537, 0.04366573691368103, 0.024109365418553352, 0.03647773712873459, 0.043199680745601654, 0.062487173825502396, 0.012906128540635109, 0.04563750699162483, 0.053452882915735245, 0.05280757695436478, -0.014367030933499336, 0.07915759086608887, 0.0002613154938444495, -0.07277622818946838, -0.029433144256472588, 0.00244006491266191, -0.04732247069478035, 0.0032937515061348677, -0.0311718862503767, 0.017638375982642174, 0.027335897088050842, -0.018803512677550316, 0.033143654465675354, -0.009634783491492271, -0.0046291775070130825, -0.015550092794001102, -0.021510213613510132, -0.030526580289006233, 0.044239342212677, 0.04463369399309158, 0.062487173825502396, -0.038754235953092575, 0.005265521351248026, -0.025686781853437424, -0.034290868788957596, -0.0012379576219245791, -0.014564207755029202, 0.04043920338153839, -0.057503972202539444, 0.013013679534196854, 0.00825902633368969, -0.03002467378973961, 0.002030026400461793, 0.021797018125653267, 0.03947124257683754, -0.03767872601747513, -0.03721266984939575, -0.030526580289006233, 0.080663301050663, -0.029325593262910843, 0.041371311992406845, -0.02393011376261711, 0.021026235073804855, 0.048792336136102676, 0.0017645098268985748, 0.03559940680861473, -0.002056914148852229, -0.029630320146679878, -0.05187546834349632, -0.0251311007887125, -0.00017771133570931852, 0.041765667498111725, -0.02131303772330284, -0.04248267412185669, 0.027264196425676346, -0.09084480255842209, 0.018409159034490585, 0.006412732880562544, -0.06671751290559769, 0.04201661795377731, -0.006565096788108349, 0.022639499977231026, 0.04642621427774429, -0.027891578152775764, 0.045207299292087555, -0.02839348278939724, -0.03638811409473419, 0.03176341578364372, 0.018642185255885124, 0.004750172141939402, 0.018391232937574387, 0.003571591805666685, 0.028931237757205963, -0.004844279494136572, -0.02434239350259304, -0.012350448407232761, 0.0261707603931427, -0.031100185588002205, 0.03156623989343643, 0.0090522151440382, 0.04588845744729042, -0.02032715268433094, 0.005646431352943182, -0.003553666640073061, 0.028626510873436928, 0.018409159034490585, -0.04083355888724327, -0.04273362457752228, 0.05309437960386276, 0.027120795100927353, 0.024862222373485565, -0.016769004985690117, -0.016240211203694344, -0.06478159874677658, -0.02133096195757389, -0.03403991460800171, 0.010423491708934307, -0.006851899437606335, 0.006565096788108349, 0.04710736870765686, 0.015263290144503117, -0.021635690703988075, -0.04212417080998421, 0.03362763673067093, -0.014456656761467457, 0.03346630930900574, 0.01995072327554226, -0.09199202060699463, 0.02176116779446602, -0.10532835125923157, 0.018005842342972755, -0.013004717417061329, 0.058077577501535416, -0.026296237483620644, -0.04725077003240585, -0.054886896163225174, 0.0052968901582062244, 0.016777968034148216, -0.03461351990699768, 0.014662796631455421, -0.05592655763030052, 0.03861083462834358, 0.02939729392528534, -0.00488012982532382, -0.004335652571171522, 0.05678696557879448, 0.037356071174144745, 0.012350448407232761, 0.05757567286491394, 0.003376655513420701, -0.011382488533854485, -0.03403991460800171, 0.025901883840560913, 0.05119431018829346, -0.008532385341823101, -0.035742808133363724, 0.023033855482935905, -0.014591095969080925, -0.001290612854063511, -0.0644230917096138, 0.048433832824230194, 0.028034979477524757, 0.009751297533512115, -0.0016379131702706218, 0.00897155236452818, 0.030472803860902786, 0.03323328122496605, 0.04330723360180855, 0.003755324985831976, 0.021850792691111565, -0.03524089977145195, 0.04201661795377731, -0.01269102655351162, 0.028447259217500687, -0.05198301747441292, -0.030472803860902786, 0.029468994587659836, 0.04323553293943405, -0.003560388693585992, 0.03950709477066994, 0.06259472668170929, -0.05675111711025238, -0.04603185877203941, 0.0034842065069824457, 0.05252077430486679, 0.00488012982532382, -0.06123241037130356, 0.04527899995446205, -0.025435829535126686, 0.029307667165994644, -0.026708517223596573, -0.06259472668170929, 0.023912187665700912, -0.006842936854809523, 0.044239342212677, 0.026833992451429367, -0.010799920186400414, 0.019610146060585976, -0.018552560359239578, -0.010423491708934307, -0.03538430109620094, -0.005664356518536806, 0.05743227154016495, -0.05761152505874634, 0.02756892517209053, -0.042375121265649796, 0.07284792512655258, 0.020201675593852997, 0.025686781853437424, 0.004268432967364788, -0.025041474029421806, -0.06202111765742302, -0.01149003952741623, -0.0703742504119873, 0.07130636274814606, 0.0016020628390833735, -0.019215792417526245, 0.08145201206207275, 0.0001389201352139935, -0.031297363340854645, 0.04592430964112282, 0.02093660831451416, -0.06073050573468208, 0.009132878854870796, 0.001605423865839839, -0.0422675721347332, 0.03565318137407303, -0.030849233269691467, 0.061698466539382935, -0.017002031207084656, 0.049437642097473145, 0.04710736870765686, 0.06761377304792404, -0.036961719393730164, 0.013381145894527435, 0.042375121265649796, -0.041371311992406845, -0.0004963033716194332, -0.017459124326705933, 0.005198301747441292, -0.09787147492170334, -0.03943539410829544, -0.03771457448601723, -0.027335897088050842, -0.016016148030757904, -0.050047099590301514, 0.0034774846863001585, -0.040259949862957, -0.044382743537425995, 0.011221162043511868, -0.017647339031100273, 0.028429333120584488, 0.03785797581076622, 0.020613955333828926, 0.005583693273365498, -0.003587276441976428, -0.018167167901992798, 0.013255669735372066, -0.019197866320610046, -0.009285242296755314, 0.010387641377747059, -0.014367030933499336, -0.02937936782836914, 0.03506164997816086, -0.0018552560359239578, -0.04653376340866089, 0.006430658046156168, 0.03185304254293442, 0.05381138622760773, -0.061877716332674026, 0.014125040732324123, 0.025328276678919792, -0.024216916412115097, -0.023697085678577423, -0.009276280179619789, -0.004158641677349806, -0.007707826793193817, -0.019592219963669777, 0.053022678941488266, 0.09005609899759293, -0.01558594312518835, 0.01973562128841877, 0.05133771151304245, 0.04606771096587181, -0.007371729705482721, -0.06736282259225845, -0.0311718862503767, -0.034541819244623184, 0.023822562769055367, -0.015469429083168507, -0.001492271083407104, 0.0443468913435936, 0.046605464071035385, 0.04169396683573723, -0.031333211809396744, 0.05191131681203842, -0.022800827398896217, 0.022639499977231026, 0.012108458206057549, -0.0036298485938459635, -0.021097935736179352, -0.027335897088050842, 0.013139155693352222, 0.02857273444533348, -0.01672419160604477, 0.0003360970877110958, 0.022406473755836487, -0.01670626737177372, -0.01530810259282589, -0.010988134890794754, -0.022496098652482033, 0.0013141396921128035, -0.06324002891778946, 0.016652490943670273, 0.01592652127146721, 0.06302493065595627, 0.009984324686229229, 0.017853477969765663, -0.034738995134830475, -0.052018869668245316, -0.002435583621263504, -0.02638586238026619, -0.08345963060855865, 0.01969977095723152, 0.03803722932934761, 0.03479277342557907, 0.012816502712666988, -0.0034730033949017525, 0.08948249369859695, 0.03861083462834358, 0.024898072704672813, -0.06460234522819519, -0.005691244266927242, -0.09478834271430969, 0.030150150880217552, 0.04466954618692398, -0.05621336027979851, -0.10246032476425171, 0.01088058389723301, 0.04330723360180855, -0.014071265235543251, -0.0241452157497406, -0.020811133086681366, 0.0043692621402442455, 0.02256779931485653, 0.056069958955049515, 0.014223629608750343, -0.03341253474354744, -0.021581916138529778, 0.0040264432318508625, 0.000011570842616492882, 0.049616895616054535, 0.004272914491593838, 0.0625230222940445, 0.06664581596851349, 0.015101962722837925, -0.056464314460754395, 0.03685416653752327, 0.0361730121076107, -0.041801515966653824, 0.01287924125790596, -0.026905693113803864, 0.013022642582654953, -0.009043253026902676, -0.00844275951385498, -0.009491382166743279, -0.0543491430580616, 0.020846983417868614, 0.035509780049324036, 0.003999555483460426, -0.02358953468501568, 0.017369497567415237, 0.044167641550302505, -0.06607221066951752, 0.01727987267076969, -0.011382488533854485, -0.0015852580545470119, -0.022854603826999664, -0.000008345536116394214, -0.053417034447193146, 0.001990815158933401, 0.01572038233280182, 0.009509307332336903, -0.015792082995176315, 0.01969977095723152, 0.00337441498413682, -0.002664129715412855, -0.0036724209785461426, -0.04685641825199127, -0.011481077410280704, 0.031243586912751198, 0.0014384955866262317, 0.01853463426232338, 0.0005612821551039815, -0.058902136981487274, 0.005807757843285799, 0.01278961542993784, 0.04341478273272514, 0.014752422459423542, 0.068474180996418, 0.004987680818885565, 0.031512465327978134, 0.01693929359316826, -0.029881272464990616, -0.06793642789125443, -0.06083805486559868, 0.057288870215415955, 0.04413178935647011, -0.04811117798089981, -0.0003624247037805617, 0.022800827398896217, -0.043378934264183044, -0.009002921171486378, 0.009598933160305023, -0.08826357871294022, -0.010387641377747059, -0.00877437461167574, -0.016607677564024925, 0.038359884172677994, 0.05775492638349533, -0.01991487294435501, -0.02740759775042534, -0.039973147213459015, 0.019036540761590004, 0.03502579778432846, 0.023464059457182884, 0.0161326602101326, -0.010450378991663456, 0.030885083600878716, -0.02298007905483246, 0.01750393770635128, 0.0007797452853992581, -0.03839573264122009, 0.021581916138529778, 0.005171413999050856, -0.03850328549742699, -0.011015022173523903, -0.0010715896496549249, -0.0483262836933136, 0.03167378902435303, 0.07148561626672745, -0.011409376747906208, 0.016455313190817833, 0.038216482847929, 0.025866033509373665, 0.001007731189019978, 0.019359193742275238, -0.0013051771093159914, -0.042805325239896774, -0.0038135817740112543, 0.026816068217158318, -0.011812692508101463, -0.07815378159284592, 0.015254327096045017, 0.028285931795835495, -0.0033340833615511656, 0.00261707603931427, 0.01468968391418457, 0.0011231245007365942, -0.03158416599035263, 0.037105120718479156, -0.03240872174501419, -0.046784717589616776, 0.07743677496910095, 0.06202111765742302, -0.0011965057346969843, 0.02538205310702324, -0.013865125365555286, -0.04474124684929848, 0.03455974534153938, 0.024485794827342033, -0.07195166498422623, 0.0015359637327492237, -0.0034259497188031673, 0.07557255029678345, -0.004445444326847792, -0.008935702033340931, 0.023643311113119125, 0.02412729151546955, -0.021492289379239082, 0.05549635365605354, 0.029038788750767708, 0.02738967351615429, 0.01349765993654728, -0.04187321662902832, -0.02835763245820999, -0.045386552810668945, -0.046784717589616776, -0.03579658269882202, -0.06359853595495224, 0.006574059370905161, 0.015021299943327904, -0.004411834757775068, 0.004593327175825834, -0.0025767444167286158, -0.024826372042298317, -0.029307667165994644, -0.014474581927061081, -0.03120773658156395, -0.012556587345898151, -0.022280996665358543, 0.020004499703645706, -0.07166486233472824, 0.06065880507230759, -0.0064530642703175545, 0.03850328549742699, -0.08553895354270935, 0.018893137574195862, -0.02977372147142887, 0.04212417080998421, -0.0012368373572826385, 0.016159549355506897, 0.034541819244623184, -0.0036769022699445486, 0.020273376256227493, 0.005113157443702221, 0.02116963639855385, 0.022083820775151253, 0.05599825829267502, -0.0010923155350610614, -0.05072825774550438, 0.07363663613796234, -0.07535745203495026, 0.0845351442694664, 0.005350665654987097, -0.05972669646143913, -0.022442324087023735, -0.07607445865869522, -0.021277187392115593, 0.039937298744916916, -0.0171095822006464, -0.048003628849983215, 0.024808447808027267, -0.02050640434026718, 0.011705141514539719, 0.013291520066559315, -0.080663301050663, -0.021599840372800827, 0.07664806395769119, -0.031064335256814957, 0.013255669735372066, -0.04330723360180855, -0.017019957304000854, -0.09184861928224564, 0.012233934365212917, -0.02358953468501568, 0.005910827778279781, -0.009500344283878803, 0.010826808400452137, -0.04086940735578537, -0.013650023378431797, 0.02635001204907894, -0.049437642097473145, 0.006829493213444948, -0.00025235291104763746, -0.030329402536153793, 0.028034979477524757, 0.0061483364552259445, 0.018391232937574387, 0.0058884210884571075, 0.01591755822300911, -0.009500344283878803, -0.019054464995861053, 0.003558147931471467, 0.014429768547415733, 0.03000674955546856, -0.052269820123910904, -0.07707826793193817, 0.029056714847683907, -0.04251852259039879, 0.006565096788108349, -0.03486447408795357, -0.05718132108449936, -0.0261707603931427, -0.029952973127365112, 0.0051534888334572315, -0.01667937822639942, 0.0016513570444658399, -0.025041474029421806, -0.04054675251245499, 0.027819877490401268, -0.0090522151440382, -0.016975143924355507, 0.002292182296514511, 0.03387858718633652, -0.00437150290235877, -0.004745691083371639, -0.028949163854122162, 0.027497224509716034, 0.05883043631911278, 0.007999110966920853, -0.0723460242152214, 0.026332087814807892, 0.028232157230377197, -0.06270227581262589, -0.0604078508913517, -0.01327359490096569, 0.022998005151748657, 0.014420806430280209, 0.004907017573714256, 0.012834427878260612, -0.0038673572707921267, -0.010091875679790974, -0.015218476764857769, 0.025471679866313934, 0.030705831944942474, 0.007568906527012587, 0.010674444027245045, 0.036119233816862106, -0.026475489139556885, -0.07815378159284592, -0.030920933932065964, 0.04972444474697113, -0.03344838321208954, 0.01530810259282589, -0.06811568140983582, 0.0846785455942154, 0.022298922762274742, -0.04954519495368004, 0.10403773933649063, 0.0038315069396048784, -0.0322653204202652, 0.026618890464305878, 0.03706926852464676, 0.048433832824230194, 0.03782212734222412, 0.019377117976546288, -0.04072600603103638, 0.03403991460800171, 0.02557923085987568, 0.000887856527697295, 0.03500787541270256, 0.03253420069813728, -0.050656553357839584, -0.06600050628185272, 0.0685458853840828, 0.012126383371651173, 0.05176791548728943, -0.013766537420451641, -0.030938858166337013, -0.017647339031100273, -0.020022423937916756, -0.0011572943767532706, 0.030436953529715538, 0.036101311445236206, 0.01873181201517582 ]
719,931
ibm_platform_services.resource_controller_v2
get_resource_alias
Get a resource alias. View a resource alias and all of its details, like who created it and the resource instance that it's associated with. :param str id: The resource alias URL-encoded CRN or GUID. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse with `dict` result representing a `ResourceAlias` object
def get_resource_alias(self, id: str, **kwargs) -> DetailedResponse: """ Get a resource alias. View a resource alias and all of its details, like who created it and the resource instance that it's associated with. :param str id: The resource alias URL-encoded CRN or GUID. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse with `dict` result representing a `ResourceAlias` object """ if not id: raise ValueError('id must be provided') headers = {} sdk_headers = get_sdk_headers( service_name=self.DEFAULT_SERVICE_NAME, service_version='V2', operation_id='get_resource_alias' ) headers.update(sdk_headers) if 'headers' in kwargs: headers.update(kwargs.get('headers')) del kwargs['headers'] headers['Accept'] = 'application/json' path_param_keys = ['id'] path_param_values = self.encode_path_vars(id) path_param_dict = dict(zip(path_param_keys, path_param_values)) url = '/v2/resource_aliases/{id}'.format(**path_param_dict) request = self.prepare_request(method='GET', url=url, headers=headers) response = self.send(request, **kwargs) return response
(self, id: str, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
[ -0.001465648994781077, -0.04384973272681236, 0.05303831025958061, -0.010252891108393669, 0.026164384558796883, 0.0260402150452137, -0.01967206969857216, -0.016541212797164917, 0.03592059388756752, -0.05470573529601097, -0.016975807026028633, 0.003955699969083071, 0.03592059388756752, -0.02889612317085266, 0.006159716751426458, 0.04643956571817398, -0.027672162279486656, 0.059672534465789795, 0.003439064370468259, -0.0038692245725542307, 0.01463431678712368, 0.041756585240364075, 0.01652347482740879, -0.033721014857292175, 0.028523612767457962, 0.07329574972391129, 0.05321569740772247, -0.026465939357876778, 0.007512282580137253, -0.015317251905798912, -0.02423088066279888, -0.05545075610280037, 0.023805154487490654, 0.06843538582324982, -0.038847457617521286, 0.0015876016113907099, 0.0021607789676636457, 0.0528254471719265, -0.12452472746372223, 0.03404030576348305, -0.030865104869008064, 0.025454841554164886, 0.03496271371841431, -0.053712375462055206, 0.035104621201753616, -0.01505117304623127, -0.024763038381934166, -0.05069682002067566, -0.024780776351690292, -0.03393387794494629, 0.050803251564502716, -0.021534617990255356, -0.030439378693699837, -0.02650141716003418, -0.0071929884143173695, -0.014128767885267735, -0.03373875096440315, 0.05853726714849472, -0.007685233373194933, 0.01851906254887581, 0.02382289431989193, -0.030599026009440422, 0.001914656488224864, -0.03499818965792656, -0.03512236103415489, -0.012878199107944965, -0.02022196538746357, -0.016922591254115105, -0.051087070256471634, 0.013073323294520378, 0.030687717720866203, 0.014439192600548267, 0.010004551149904728, -0.05151279643177986, 0.049738939851522446, -0.030439378693699837, -0.026430463418364525, -0.01068748626857996, 0.007583236787468195, -0.03718003258109093, -0.044949524104595184, -0.04207587614655495, 0.01410215999931097, -0.018199767917394638, -0.0035854075103998184, 0.0015354945790022612, -0.020009102299809456, -0.031060228124260902, -0.037463851273059845, -0.02396480180323124, 0.03643501549959183, 0.0035565823782235384, -0.06563269346952438, 0.034146737307310104, 0.00270069669932127, -0.026235338300466537, -0.011813884600996971, -0.004749501124024391, 0.029162202030420303, 0.030900580808520317, -0.00761871412396431, -0.05566361919045448, 0.01583166979253292, 0.03522879257798195, 0.054599303752183914, -0.02894933894276619, -0.01768535003066063, 0.00946352444589138, 0.03388066217303276, 0.03522879257798195, -0.005308265797793865, 0.01620418019592762, 0.029428280889987946, -0.006310494616627693, 0.010776178911328316, -0.0014279545284807682, 0.05147731676697731, -0.02174748107790947, -0.01048349216580391, -0.04867462441325188, 0.028559090569615364, -0.00011280619219178334, 0.011068864725530148, -0.020878292620182037, -0.0099513353779912, -0.02650141716003418, -0.055557187646627426, 0.02488720789551735, -0.015326120890676975, -0.020576735958456993, -0.012150917202234268, -0.012354911305010319, -0.05115802213549614, 0.057863201946020126, 0.04991632327437401, 0.01805786043405533, 0.040976088494062424, 0.08720278739929199, -0.014838309958577156, 0.058430835604667664, -0.010341583751142025, 0.044523801654577255, -0.03260348364710808, -0.009224054403603077, -0.02298918180167675, -0.042998284101486206, 0.024071233347058296, 0.021570095792412758, -0.017472486943006516, -0.015902623534202576, 0.021712005138397217, -0.042537081986665726, 0.02229737676680088, 0.038386255502700806, 0.0008874826016835868, -0.03494497388601303, -0.018678709864616394, -0.021179847419261932, 0.016142094507813454, -0.006953517906367779, -0.005680775735527277, -0.017348317429423332, 0.01535272877663374, -0.031007012352347374, -0.013756257481873035, -0.04321114718914032, -0.06886111199855804, -0.013472440652549267, -0.004953494295477867, -0.011822753585875034, -0.06680344045162201, -0.015565590932965279, -0.0429273284971714, -0.03079414926469326, -0.01883835718035698, 0.0024545739870518446, 0.03618667274713516, -0.018483584746718407, -0.030173299834132195, 0.011716322973370552, 0.023255258798599243, -0.05733104422688484, -0.012195263989269733, 0.013241839595139027, 0.0003137508756481111, 0.008576596155762672, 0.029907220974564552, 0.04001820459961891, 0.017206408083438873, -0.0016984676476567984, 0.00695795239880681, 0.009791688062250614, 0.00964977964758873, 0.028825169429183006, -0.05023561790585518, -0.08386793732643127, 0.030439378693699837, -0.04856819286942482, 0.00420182291418314, 0.0034191084560006857, -0.042040400207042694, 0.054315488785505295, 0.005937984678894281, 0.0765596479177475, 0.04899391904473305, -0.008363733999431133, 0.07095426321029663, 0.0017550092888996005, -0.06084328144788742, -0.005192965269088745, -0.00983603484928608, 0.014581101015210152, -0.03246157616376877, -0.018111076205968857, -0.02678523398935795, 0.0352642685174942, 0.01498021837323904, 0.014652055688202381, 0.05204495042562485, -0.026146646589040756, -0.024904945865273476, -0.07485675066709518, 0.021091153845191002, -0.023574553430080414, -0.017853867262601852, -0.037144556641578674, 0.04768126457929611, 0.014944741502404213, -0.020381612703204155, -0.02644820138812065, 0.038528162986040115, -0.02678523398935795, 0.029995914548635483, -0.018731925636529922, -0.03845721110701561, 0.016142094507813454, 0.03419995307922363, -0.014660924673080444, 0.0038913977332413197, 0.0010227392194792628, 0.001686272444203496, 0.04459475353360176, 0.018031252548098564, 0.024035757407546043, -0.08159740269184113, -0.009028930217027664, -0.012257348746061325, 0.029162202030420303, -0.00646570697426796, -0.153119295835495, 0.032940518110990524, -0.010164198465645313, 0.03425316885113716, 0.0074723707512021065, 0.013401485979557037, -0.06988994777202606, -0.04761030897498131, -0.06137543544173241, 0.01348130963742733, -0.014394845813512802, -0.06637771427631378, 0.03742837533354759, -0.03560130298137665, -0.00923292338848114, -0.03735741972923279, -0.012709681876003742, -0.01901574246585369, 0.03345493599772453, -0.028505874797701836, 0.002793824067339301, 0.07705632597208023, 0.035388439893722534, -0.022510239854454994, -0.001079280860722065, 0.02235059253871441, 0.06541983038187027, 0.052328769117593765, -0.017978036776185036, -0.03696716949343681, -0.030120084062218666, -0.06467480957508087, 0.011920316144824028, 0.03842173144221306, 0.0317697711288929, 0.04384973272681236, -0.06318476796150208, 0.031060228124260902, 0.09273722022771835, -0.039592478424310684, -0.004294950049370527, 0.04576550051569939, -0.01837715320289135, -0.022563455626368523, -0.010448015294969082, 0.007326027844101191, 0.04807151481509209, -0.03739289566874504, -0.008940237574279308, 0.03393387794494629, -0.002702913945540786, -0.07106069475412369, 0.019725285470485687, 0.05165470391511917, -0.016887115314602852, -0.05949515104293823, -0.008833806030452251, 0.03315337747335434, -0.012824983336031437, 0.00653222668915987, 0.007702972274273634, -0.034696634858846664, 0.00789809599518776, 0.0008470165194012225, -0.037463851273059845, -0.047716740518808365, -0.0022339506540447474, -0.012691943906247616, 0.062439750880002975, 0.032887302339076996, 0.036860737949609756, -0.053712375462055206, 0.03849268704652786, -0.0033193291164934635, -0.06566817313432693, 0.11381063610315323, 0.011175296269357204, 0.033401720225811005, 0.027814071625471115, 0.08181026577949524, 0.02857682853937149, -0.016142094507813454, -0.040834177285432816, -0.029889483004808426, -0.05090968310832977, -0.03336624056100845, -0.057224612683057785, 0.0233616903424263, -0.027618946507573128, -0.02119758538901806, 0.06194307282567024, 0.020062318071722984, -0.05044848099350929, 0.010989041067659855, 0.0195301603525877, 0.010031159035861492, 0.04243065044283867, 0.01486491784453392, -0.044665709137916565, -0.022829534485936165, -0.03315337747335434, 0.01744587905704975, -0.02160557359457016, 0.016550082713365555, 0.024496959522366524, 0.051548272371292114, -0.007796099409461021, -0.02008005604147911, 0.015938101336359978, -0.028931600973010063, 0.036168936640024185, -0.07294098287820816, -0.05956610292196274, -0.05314474180340767, -0.0325147919356823, 0.015379336662590504, -0.023805154487490654, 0.000021151161490706727, -0.007077687885612249, 0.030581288039684296, -0.06871920078992844, -0.08457747846841812, -0.002450139494612813, -0.0020986939780414104, -0.014181983657181263, 0.022173207253217697, -0.01253229659050703, -0.025100070983171463, -0.01662103645503521, -0.007512282580137253, 0.045907407999038696, 0.02160557359457016, 0.005423566326498985, -0.00401778519153595, 0.014527885243296623, 0.005246180575340986, -0.02188939042389393, -0.0017882691463455558, -0.021339494735002518, -0.01764100417494774, 0.05420905724167824, 0.033082425594329834, -0.02598699927330017, 0.009472394362092018, 0.000557101855520159, 0.0019390470115467906, -0.026607848703861237, -0.03203584998846054, -0.018164291977882385, -0.030634503811597824, -0.007290550507605076, -0.0057916417717933655, 0.024940423667430878, 0.03281634673476219, 0.02086055278778076, 0.028736475855112076, -0.02996043674647808, 0.06928683817386627, -0.05992087349295616, -0.011405897326767445, -0.006275017745792866, -0.0028958208858966827, -0.0627945214509964, 0.009295008145272732, -0.02364550717175007, 0.03721551224589348, 0.06094971299171448, -0.023751938715577126, 0.04675886034965515, -0.014235199429094791, -0.014368237927556038, 0.02266988717019558, -0.03373875096440315, -0.02783180959522724, -0.009286139160394669, 0.026625586673617363, -0.0360092893242836, -0.01410215999931097, 0.03042164072394371, 0.014740748330950737, -0.028417183086276054, 0.04629765823483467, 0.005303831305354834, 0.00305768521502614, -0.04090513288974762, 0.017241885885596275, 0.017924821004271507, 0.03643501549959183, -0.0016031229170039296, 0.039734385907649994, -0.015405944548547268, 0.040231067687273026, -0.004793847445398569, -0.011583283543586731, -0.005206269212067127, -0.0627945214509964, -0.027157744392752647, -0.0176321342587471, 0.02644820138812065, 0.020949246361851692, -0.04246612638235092, 0.06573912501335144, 0.019352775067090988, 0.04260803386569023, -0.04243065044283867, -0.023485861718654633, -0.06573912501335144, -0.0021984735503792763, 0.012594381347298622, -0.052931878715753555, -0.014439192600548267, -0.031131181865930557, -0.018572278320789337, -0.0176321342587471, 0.006270582787692547, -0.00022782970336265862, 0.001764987246133387, -0.014997957274317741, 0.03597380965948105, -0.010439146310091019, -0.027494776993989944, 0.023468121886253357, -0.0007755079423077404, -0.04438189044594765, 0.03595607355237007, 0.04892296344041824, 0.04438189044594765, -0.016603296622633934, 0.002536614891141653, -0.032390620559453964, 0.04239517077803612, 0.023326214402914047, 0.006403622217476368, 0.015609937720000744, -0.02197808213531971, 0.038102440536022186, 0.022794056683778763, 0.04409807547926903, 0.017099976539611816, -0.07223144173622131, 0.021108893677592278, 0.03820887207984924, 0.05679888650774956, -0.05992087349295616, 0.04086965695023537, -0.043282099068164825, 0.004228430800139904, 0.022953703999519348, -0.002767216181382537, 0.0026031346060335636, 0.00946352444589138, 0.025543535128235817, -0.12026747316122055, 0.04658147320151329, -0.019689807668328285, 0.025100070983171463, -0.012550035491585732, -0.05807606503367424, 0.02433731220662594, 0.023876110091805458, 0.028097888454794884, -0.042820896953344345, 0.016514604911208153, 0.050803251564502716, 0.04470118507742882, 0.010332714766263962, 0.04718458652496338, -0.03602702543139458, 0.02935732714831829, 0.018767401576042175, 0.017853867262601852, -0.010270629078149796, 0.05821797251701355, -0.00946352444589138, -0.017898213118314743, 0.02206677570939064, -0.018306199461221695, -0.05456382781267166, -0.01921086572110653, -0.020842814818024635, 0.021499142050743103, -0.028523612767457962, -0.028683260083198547, -0.032709915190935135, -0.05069682002067566, -0.008767286315560341, 0.05683436617255211, -0.09869737923145294, -0.007126468699425459, -0.02013327181339264, -0.0005296624731272459, 0.05608934536576271, 0.01772082783281803, -0.034466031938791275, -0.05144184082746506, -0.0383153036236763, -0.01505117304623127, 0.014705270528793335, 0.0008370385621674359, 0.07414720207452774, 0.0016541212098672986, 0.0826617181301117, -0.06662604957818985, 0.037144556641578674, 0.01624852605164051, -0.08230694383382797, 0.03849268704652786, -0.025508057326078415, -0.06928683817386627, -0.030953796580433846, -0.0018315069610252976, 0.003696273546665907, 0.09004095941781998, 0.048639148473739624, 0.006944648455828428, -0.0056142560206353664, 0.048781055957078934, 0.07492770254611969, 0.048036035150289536, -0.02123306319117546, -0.030066868290305138, -0.050164662301540375, -0.016354957595467567, -0.035335224121809006, 0.014891525730490685, -0.04161467403173447, 0.03753480315208435, 0.0750696063041687, -0.027299651876091957, 0.06385883688926697, 0.07010281085968018, 0.004436858929693699, 0.026838449761271477, -0.008235129527747631, -0.03531748428940773, -0.016035662963986397, 0.05378333106637001, 0.07024472206830978, 0.03595607355237007, 0.01006663590669632, -0.05090968310832977, -0.06201402470469475, 0.004155259113758802, -0.009126491844654083, -0.028133364394307137, 0.0023880545049905777, 0.03531748428940773, 0.004966798238456249, -0.014492408372461796, -0.01366756483912468, -0.012026747688651085, -0.002707348670810461, 0.013853820040822029, -0.00461646169424057, -0.0004404153150971979, 0.017525702714920044, 0.032887302339076996, 0.0017117715906351805, -0.05839535966515541, -0.0950787141919136, -0.02497589960694313, -0.04892296344041824, -0.029907220974564552, 0.01726849377155304, 0.007583236787468195, -0.006150847766548395, -0.02978305146098137, -0.023432645946741104, 0.03166333958506584, -0.02128627896308899, 0.006714046932756901, -0.00515748793259263, 0.021268540993332863, -0.018341677263379097, 0.047716740518808365, -0.05807606503367424, 0.05420905724167824, 0.05420905724167824, 0.011326074600219727, -0.035477131605148315, -0.0003938516019843519, -0.017800651490688324, 0.051867567002773285, 0.02353907749056816, 0.001365869538858533, 0.033401720225811005, -0.017206408083438873, 0.06439099460840225, 0.017339447513222694, 0.0003957917506340891, 0.026572370901703835, -0.00503331795334816, 0.031060228124260902, -0.062262363731861115, 0.09181481599807739, 0.0026275250129401684, 0.10799238830804825, -0.055202417075634, -0.054776690900325775, -0.034093521535396576, -0.03657692298293114, 0.0042772116139531136, 0.07067044824361801, -0.016044532880187035, 0.023397168144583702, 0.04807151481509209, 0.011166427284479141, -0.0059512886218726635, -0.0199381485581398, -0.0413663350045681, 0.01652347482740879, 0.07088331133127213, -0.021853912621736526, -0.019725285470485687, -0.06588103622198105, 0.01758778840303421, -0.04321114718914032, -0.028133364394307137, -0.014181983657181263, 0.04945512115955353, 0.03496271371841431, 0.05147731676697731, -0.004603157751262188, 0.022421546280384064, 0.008993452414870262, -0.044523801654577255, -0.011875969357788563, 0.022492501884698868, -0.028044672682881355, 0.03521105274558067, -0.004077652934938669, -0.02511780895292759, -0.0689675435423851, 0.002880299696698785, 0.03379196673631668, -0.0627945214509964, 0.015423682518303394, 0.028736475855112076, -0.020878292620182037, -0.027707640081644058, -0.02996043674647808, 0.016674252226948738, -0.0551314614713192, 0.012470211833715439, 0.028683260083198547, 0.012727420777082443, -0.004678546916693449, -0.03820887207984924, -0.030811889097094536, -0.007033341098576784, -0.008860413916409016, 0.021534617990255356, -0.04690076783299446, 0.05442192032933235, -0.02353907749056816, -0.005565475206822157, 0.018944788724184036, 0.00576059939339757, -0.04076322540640831, -0.0325147919356823, 0.021250801160931587, -0.0032749827951192856, 0.05271901562809944, 0.05452835187315941, 0.0025255281943827868, 0.06268808990716934, -0.042998284101486206, -0.02701583504676819, -0.006980125792324543, -0.004223995842039585, 0.06563269346952438, 0.027707640081644058, 0.02650141716003418, 0.01431502215564251, 0.030758673325181007, 0.02932184934616089, 0.030261993408203125, -0.004221778828650713, 0.0613044835627079, -0.035069145262241364, -0.011618760414421558, -0.0009656431502662599, 0.015672022476792336, -0.05747295171022415, -0.02400027960538864, 0.026199862360954285, 0.008057743310928345, 0.04431093856692314, -0.005303831305354834, 0.02197808213531971, 0.025241978466510773, 0.021712005138397217, 0.056586023420095444, -0.005188530310988426, 0.0028137799818068743, 0.0052284421399235725, 0.010217414237558842, 0.05318022146821022, 0.04899391904473305, 0.019317297264933586, -0.016142094507813454, 0.07592105865478516, 0.046333134174346924, 0.021250801160931587, 0.04519786685705185, 0.025135546922683716, -0.07875923067331314, -0.015938101336359978, 0.0581824965775013, 0.06648414582014084, 0.03240836039185524, -0.021179847419261932, -0.0271932203322649, 0.0029268632642924786, -0.02428409643471241, -0.018501324579119682, 0.03240836039185524, -0.010820524767041206, 0.005702948663383722 ]
719,932
ibm_platform_services.resource_controller_v2
get_resource_binding
Get a resource binding. View a resource binding and all of its details, like who created it, the credential, and the resource alias that the binding is associated with. :param str id: The resource binding URL-encoded CRN or GUID. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse with `dict` result representing a `ResourceBinding` object
def get_resource_binding(self, id: str, **kwargs) -> DetailedResponse: """ Get a resource binding. View a resource binding and all of its details, like who created it, the credential, and the resource alias that the binding is associated with. :param str id: The resource binding URL-encoded CRN or GUID. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse with `dict` result representing a `ResourceBinding` object """ if not id: raise ValueError('id must be provided') headers = {} sdk_headers = get_sdk_headers( service_name=self.DEFAULT_SERVICE_NAME, service_version='V2', operation_id='get_resource_binding' ) headers.update(sdk_headers) if 'headers' in kwargs: headers.update(kwargs.get('headers')) del kwargs['headers'] headers['Accept'] = 'application/json' path_param_keys = ['id'] path_param_values = self.encode_path_vars(id) path_param_dict = dict(zip(path_param_keys, path_param_values)) url = '/v2/resource_bindings/{id}'.format(**path_param_dict) request = self.prepare_request(method='GET', url=url, headers=headers) response = self.send(request, **kwargs) return response
(self, id: str, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
[ 0.029493894428014755, -0.07458309084177017, 0.005460160784423351, -0.06667713820934296, 0.020360535010695457, 0.013826390728354454, 0.014052017591893673, 0.036569539457559586, 0.025179915130138397, -0.08035913109779358, -0.03675004094839096, 0.031623806804418564, 0.002053200965747237, -0.03436742722988129, -0.04339248687028885, 0.03783304989337921, 0.022273845970630646, 0.062236811965703964, -0.04248997941613197, -0.04205677658319473, 0.03772474825382233, 0.03483672812581062, 0.011678426526486874, 0.01425056904554367, 0.024313509464263916, 0.050865236669778824, 0.0488436222076416, -0.005112695973366499, 0.014476194977760315, 0.026064371690154076, -0.03250826522707939, -0.05313954874873161, 0.0317501574754715, 0.025775570422410965, -0.03084765374660492, 0.021190838888287544, 0.027508381754159927, 0.046569306403398514, -0.0823807418346405, -0.016588060185313225, -0.04862701892852783, 0.007540437392890453, 0.013447338715195656, -0.007639712654054165, 0.017544714733958244, -0.02156989276409149, -0.00008587908087065443, -0.0349811315536499, -0.03779694810509682, -0.03844675421714783, 0.06913195550441742, -0.005270634777843952, -0.008194753900170326, 0.008591856807470322, 0.0207756869494915, -0.030955953523516655, -0.07747110724449158, 0.05812138319015503, 0.004300440661609173, -0.014864273369312286, -0.012075529433786869, -0.04512529820203781, -0.07104526460170746, -0.041587475687265396, -0.03711104393005371, -0.032472163438797, -0.05877118557691574, -0.02297780103981495, -0.02676832675933838, 0.0007535924669355154, 0.013636864721775055, 0.030739352107048035, -0.028122086077928543, -0.01534260157495737, -0.0018309589941054583, -0.04389788955450058, 0.006146065425127745, -0.020667385309934616, 0.03855505585670471, -0.04552239924669266, 0.0009205560781992972, -0.02815818600356579, 0.05191214382648468, -0.03826625272631645, -0.026732226833701134, 0.0036935056559741497, -0.0039055945817381144, 0.007964614778757095, 0.012580933049321175, -0.0488436222076416, -0.0034791603684425354, 0.014313744381070137, -0.05743547901511192, 0.051226235926151276, 0.03662369027733803, -0.06111770123243332, -0.0061144777573645115, 0.018004992976784706, 0.023645656183362007, 0.0306310523301363, -0.0349811315536499, -0.07646030187606812, -0.025649219751358032, 0.08245294541120529, 0.029060691595077515, -0.022111395373940468, 0.013871516101062298, 0.03151550889015198, 0.010784946382045746, 0.0025179916992783546, 0.019151175394654274, 0.024764763191342354, 0.03290536627173424, -0.004070302005857229, 0.0014146780595183372, 0.05299514904618263, 0.03436742722988129, -0.022616799920797348, 0.016804661601781845, -0.032057009637355804, 0.008600881323218346, -0.023826157674193382, 0.01519820000976324, -0.0162360817193985, 0.020143933594226837, 0.04274268075823784, -0.07739891111850739, -0.011786727234721184, 0.020252233371138573, -0.017120538279414177, -0.0034656228963285685, -0.023302704095840454, -0.0706842690706253, 0.056244172155857086, 0.007116259541362524, -0.021479642018675804, -0.028681639581918716, 0.08411355316638947, 0.020577136427164078, 0.08201973885297775, 0.02427740953862667, 0.040648866444826126, -0.021281089633703232, 0.009214585646986961, 0.0003037496644537896, -0.033501021564006805, 0.04205677658319473, 0.06826554983854294, -0.007684838026762009, -0.0025901920162141323, -0.008655032142996788, -0.01866382360458374, 0.022418247535824776, 0.01753569021821022, -0.007377986330538988, 0.03034224919974804, 0.009277760982513428, -0.012364331632852554, 0.011272299103438854, -0.03223751112818718, 0.03261656314134598, 0.029782695695757866, 0.031894560903310776, -0.0787707194685936, -0.0006757513037882745, 0.025252116844058037, -0.06404182314872742, -0.0196926798671484, 0.015450902283191681, 0.022869501262903214, -0.06721864640712738, -0.0009481952874921262, -0.026154622435569763, -0.03826625272631645, 0.027147378772497177, 0.027616681531071663, 0.052237045019865036, -0.01351953949779272, -0.013077311217784882, 0.03156965970993042, 0.047580111771821976, -0.06768794357776642, 0.00705759646371007, 0.007720938418060541, 0.03180430829524994, 0.04440329223871231, 0.021966995671391487, 0.005703837610781193, 0.0052796597592532635, -0.013122436590492725, -0.016028504818677902, 0.029854897409677505, 0.03267071396112442, 0.013474414125084877, -0.06382521986961365, -0.04216507822275162, 0.011741602793335915, -0.022201646119356155, 0.012283106334507465, -0.01229213085025549, -0.0005725272349081933, -0.02689467743039131, -0.0049186572432518005, 0.09790384769439697, 0.028627488762140274, -0.032562416046857834, 0.0583379827439785, -0.03725544735789299, -0.006904170382767916, -0.0011822828091681004, -0.0360821895301342, -0.010270517319440842, 0.007251635193824768, 0.0008331257849931717, -0.0124004315584898, 0.06411401927471161, -0.012247005477547646, -0.04555850103497505, 0.0503237321972847, -0.03494502976536751, -0.01297803595662117, -0.0357392355799675, 0.03732764720916748, -0.021479642018675804, -0.04768841341137886, -0.009458262473344803, 0.03339271992444992, 0.0034791603684425354, -0.011804778128862381, -0.008700157515704632, 0.025143815204501152, 0.020252233371138573, 0.021714292466640472, 0.015730679035186768, -0.008853583596646786, -0.04425889253616333, 0.02324855327606201, -0.00811804085969925, 0.02866358868777752, 0.006182165816426277, 0.0371832437813282, 0.08880658447742462, -0.016470734030008316, 0.029042640700936317, -0.07400548458099365, -0.0422733798623085, 0.017084438353776932, 0.014999648556113243, -0.021028388291597366, -0.10129726678133011, -0.021100590005517006, -0.032418012619018555, 0.006313029211014509, -0.008312080055475235, -0.013808340765535831, -0.08353594690561295, -0.0626700147986412, -0.0838969498872757, 0.00176778354216367, -0.006579268258064985, -0.016416583210229874, 0.019999532029032707, -0.06147870421409607, 0.027616681531071663, 0.011534025892615318, -0.0028113059233874083, -0.04602780193090439, 0.019006775692105293, -0.006863557733595371, -0.010135142132639885, 0.10461848974227905, -0.0008878402295522392, -0.004959270358085632, 0.02092008851468563, -0.0003525413922034204, 0.012283106334507465, 0.058374084532260895, 0.010071966797113419, -0.015802878886461258, -0.023320753127336502, -0.0061054527759552, 0.003790525021031499, 0.040215663611888885, 0.03373567387461662, 0.023753955960273743, -0.019800979644060135, -0.01933167688548565, 0.05147894099354744, -0.011543051339685917, -0.01286973524838686, 0.0823807418346405, 0.015026723966002464, -0.005320272408425808, 0.015180150046944618, 0.012698258273303509, 0.036858342587947845, -0.03156965970993042, -0.027237629517912865, 0.021533792838454247, -0.017950844019651413, -0.014232519082725048, 0.00599715206772089, 0.06689374148845673, -0.006831970065832138, -0.06378912180662155, -0.0612621046602726, 0.040215663611888885, -0.022003095597028732, -0.02785133384168148, 0.0031497457530349493, -0.00921007338911295, -0.017815466970205307, 0.029620245099067688, -0.04137087240815163, 0.013447338715195656, 0.007811189163476229, 0.0024232284631580114, 0.025197966024279594, 0.011191073805093765, 0.032995618879795074, -0.07696570456027985, 0.01527942530810833, 0.03808575123548508, -0.020143933594226837, 0.03754424676299095, -0.024259360507130623, 0.01229213085025549, 0.04732741042971611, 0.015568227507174015, 0.025721419602632523, 0.012382381595671177, 0.00353556708432734, 0.043284185230731964, -0.008379767648875713, 0.01918727718293667, -0.03550458326935768, 0.05898778885602951, -0.01847429759800434, -0.053969856351614, 0.006267903838306665, 0.016037531197071075, -0.02434961125254631, 0.03675004094839096, 0.01902482472360134, 0.024836963042616844, 0.029511945322155952, 0.013546613976359367, -0.028104035183787346, -0.0009476312552578747, -0.07631590217351913, -0.023753955960273743, -0.04108206927776337, -0.0011467465665191412, 0.023140251636505127, -0.0009030700311996043, 0.00917397253215313, -0.03906045854091644, 0.004607292823493481, -0.019945381209254265, 0.00954851321876049, -0.028555288910865784, 0.01534260157495737, -0.08007032424211502, -0.03252631425857544, -0.0024412786588072777, -0.002416459610685706, -0.028122086077928543, 0.02640732377767563, 0.023429054766893387, -0.029566094279289246, -0.034457676112651825, -0.02604632079601288, -0.009142384864389896, 0.02676832675933838, -0.027905484661459923, -0.024078859016299248, -0.045305799692869186, -0.017779367044568062, 0.016344383358955383, 0.021642092615365982, 0.02063128538429737, -0.005049520637840033, -0.0011286964872851968, 0.012734359130263329, -0.012120654806494713, -0.06393352150917053, 0.004778768867254257, -0.044511593878269196, -0.018609672784805298, 0.010270517319440842, 0.000041564628190826625, -0.01911507546901703, -0.004460635595023632, 0.041551373898983, 0.018004992976784706, -0.07422208786010742, 0.02449401095509529, 0.01789669319987297, 0.019855130463838577, 0.01575775444507599, -0.007170409895479679, 0.03272486478090286, 0.0012025891337543726, 0.014521320350468159, 0.0061054527759552, -0.029548045247793198, 0.08151433616876602, -0.006498042959719896, 0.017508614808321, -0.03931315988302231, -0.03272486478090286, 0.009182997979223728, -0.051298439502716064, -0.04505309835076332, 0.04703861102461815, 0.06003469601273537, 0.021281089633703232, 0.05956539139151573, -0.05591926723718643, -0.002282212022691965, 0.03945755958557129, -0.04032396525144577, 0.007865339517593384, -0.014449120499193668, -0.002206627046689391, 0.005419548135250807, -0.023320753127336502, 0.038916055113077164, 0.052309244871139526, -0.001307505532167852, 0.010270517319440842, 0.011904053390026093, -0.004823894239962101, -0.05570266768336296, -0.0019832567777484655, 0.005658712238073349, 0.021281089633703232, 0.018095243722200394, 0.06757964193820953, -0.03185845911502838, 0.010414918884634972, -0.021389391273260117, -0.015288450755178928, -0.04642490670084953, -0.08266954123973846, -0.04310368373990059, 0.0008996856049634516, 0.02734593115746975, 0.02355540543794632, -0.02092008851468563, 0.06079280003905296, -0.018754074349999428, 0.08122553676366806, -0.0459556020796299, -0.055594366043806076, -0.0779765173792839, 0.023302704095840454, 0.020324433222413063, -0.020432734861969948, -0.03647929057478905, -0.037002742290496826, -0.0022235489450395107, -0.003012113505974412, -0.009056647308170795, -0.04588340222835541, -0.04151527211070061, -0.008000715635716915, 0.016759535297751427, -0.037002742290496826, -0.006123502738773823, 0.018537472933530807, 0.012039429508149624, -0.006137040443718433, 0.016470734030008316, 0.06606343388557434, 0.04461989551782608, 0.031623806804418564, 0.017842542380094528, -0.03647929057478905, -0.000587192946113646, 0.024024708196520805, -0.011642326600849628, -0.0072380974888801575, 0.0003945643256884068, -0.009584613144397736, -0.010839096270501614, -0.0207756869494915, 0.04902412369847298, -0.07180337607860565, 0.004521554801613092, 0.052020441740751266, 0.06479992717504501, -0.020288333296775818, 0.03877165541052818, -0.036425139755010605, -0.0025901920162141323, 0.027598632499575615, 0.006926733069121838, 0.06321151554584503, 0.031605757772922516, -0.00272556790150702, -0.06949295848608017, 0.03308586776256561, 0.0029354006983339787, 0.007567512337118387, -0.013952742330729961, -0.05519726499915123, 0.023429054766893387, 0.004147015046328306, 0.016209006309509277, -0.00836171768605709, 0.017012236639857292, 0.021461591124534607, 0.04216507822275162, -0.02487306483089924, 0.03218336030840874, -0.001997922547161579, 0.009566563181579113, -0.029349492862820625, 0.0025563479866832495, 0.01611875556409359, 0.07848192006349564, 0.011813802644610405, -0.02967439591884613, 0.004580217879265547, -0.013871516101062298, -0.0466776080429554, -0.07194777578115463, 0.02297780103981495, 0.032472163438797, 0.06035959720611572, 0.025179915130138397, 0.016254132613539696, -0.10259687900543213, -0.009729013778269291, 0.02989099733531475, -0.08266954123973846, -0.04613610357046127, -0.09328301250934601, -0.02019808255136013, 0.03772474825382233, 0.021912844851613045, -0.03436742722988129, 0.006015202030539513, -0.02967439591884613, 0.009169460274279118, -0.008560269139707088, -0.01308633666485548, 0.0649082288146019, -0.03346491977572441, 0.0634642168879509, -0.03602803871035576, 0.02734593115746975, -0.014918423257768154, -0.11602616310119629, -0.009431187063455582, -0.011976254172623158, -0.04267048090696335, -0.034457676112651825, -0.02339295484125614, -0.013835416175425053, 0.058229684829711914, 0.055594366043806076, 0.021407440304756165, -0.022364096716046333, 0.06144260615110397, 0.05389765650033951, 0.02873578853905201, -0.008961884304881096, -0.040432266891002655, -0.04061276838183403, 0.040071263909339905, -0.017445439472794533, -0.000005658289410348516, 0.020974237471818924, 0.03250826522707939, 0.03855505585670471, -0.02703907899558544, 0.04461989551782608, 0.044367194175720215, 0.03039640001952648, -0.022779250517487526, -0.0018309589941054583, -0.05425865948200226, -0.04963782802224159, 0.05111793801188469, -0.03406057506799698, 0.046280503273010254, 0.025324316695332527, -0.03887995705008507, -0.028555288910865784, -0.01517112459987402, 0.0015444132732227445, -0.08664057403802872, 0.024620361626148224, 0.06581073254346848, -0.06757964193820953, 0.020541034638881683, 0.00621375348418951, -0.01498159859329462, -0.030071498826146126, 0.04790501669049263, -0.00037736029480583966, 0.01057736948132515, 0.017012236639857292, 0.017093462869524956, -0.004323003347963095, -0.05602756887674332, -0.04942122474312782, -0.00621826620772481, -0.041009869426488876, -0.047652315348386765, 0.017571790143847466, -0.004467404447495937, -0.03106425516307354, -0.02377200685441494, -0.008835533633828163, 0.05090133473277092, -0.03880775719881058, 0.002319440245628357, 0.002892531454563141, 0.015505052171647549, -0.02297780103981495, 0.03804964944720268, -0.023537354543805122, 0.05826578289270401, 0.03346491977572441, 0.04234557971358299, -0.047291312366724014, 0.014340819790959358, -0.0262629222124815, 0.025270165875554085, 0.03826625272631645, -0.0004230496706441045, 0.05999859422445297, 0.01027954276651144, 0.08974519371986389, -0.004941219929605722, 0.005320272408425808, 0.06191190704703331, 0.024548161774873734, -0.028266485780477524, -0.0313350073993206, 0.03550458326935768, 0.009119822643697262, 0.1254122257232666, -0.005527848843485117, -0.06739914417266846, 0.004665955901145935, -0.04476429522037506, -0.028609437867999077, 0.05140673741698265, -0.04425889253616333, -0.014106168411672115, 0.062381211668252945, -0.0068139201030135155, -0.010893247090280056, -0.006231803447008133, -0.029331443831324577, 0.018609672784805298, 0.020667385309934616, -0.0026962365955114365, 0.011615251190960407, -0.07934832572937012, -0.014783047139644623, -0.001186795299872756, -0.020306384190917015, -0.022255796939134598, 0.04862701892852783, 0.04841041937470436, 0.0012274080654606223, -0.0075720250606536865, -0.008248904719948769, 0.019999532029032707, -0.08447455614805222, 0.01672343537211418, -0.018645772710442543, -0.04368128627538681, 0.05992639437317848, 0.007152359466999769, -0.012066504918038845, -0.07400548458099365, -0.023970557376742363, 0.06815724819898605, -0.013700040057301521, 0.012382381595671177, -0.009214585646986961, -0.0009566562948748469, -0.017761316150426865, -0.027905484661459923, -0.01880822330713272, -0.061659205704927444, 0.027219578623771667, -0.008307566866278648, -0.019078975543379784, -0.01666928455233574, -0.04461989551782608, -0.05454745888710022, -0.016010455787181854, -0.006926733069121838, 0.03128085657954216, -0.047146908938884735, 0.02828453667461872, -0.024403760209679604, 0.0032783527858555317, -0.0047877938486635685, 0.028049884364008904, -0.02523406594991684, -0.018284769728779793, 0.028934340924024582, -0.03005344793200493, 0.061803609132766724, 0.01600143127143383, -0.03837455436587334, 0.02545066736638546, -0.009431187063455582, -0.083102747797966, 0.004124452359974384, -0.036461241543293, 0.018004992976784706, -0.008027790114283562, 0.047291312366724014, 0.01880822330713272, -0.05147894099354744, 0.07328348606824875, 0.043861787766218185, 0.015586277469992638, 0.051731642335653305, -0.025540918111801147, 0.0038288815412670374, 0.03783304989337921, -0.007933027110993862, -0.06570243090391159, 0.014503270387649536, 0.0626700147986412, 0.021768443286418915, 0.08808457851409912, 0.005554924253374338, 0.017012236639857292, -0.010180267505347729, 0.027291780337691307, 0.09436602145433426, 0.01844722218811512, -0.0017926024738699198, 0.014061043038964272, 0.047941114753484726, 0.017544714733958244, -0.02945779450237751, 0.007558487355709076, -0.04938512668013573, 0.05646077170968056, 0.07609929889440536, 0.020143933594226837, 0.014801097102463245, 0.006976371165364981, -0.07238097488880157, -0.024313509464263916, 0.02303195185959339, 0.02048688568174839, 0.03330247104167938, -0.02216554619371891, 0.024981364607810974, 0.024151058867573738, -0.028555288910865784, -0.00022703665308654308, 0.050359830260276794, -0.0096568139269948, 0.01319463737308979 ]
719,933
ibm_platform_services.resource_controller_v2
get_resource_instance
Get a resource instance. Retrieve a resource instance by URL-encoded CRN or GUID. Find more details on a particular instance, like when it was provisioned and who provisioned it. :param str id: The resource instance URL-encoded CRN or GUID. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse with `dict` result representing a `ResourceInstance` object
def get_resource_instance(self, id: str, **kwargs) -> DetailedResponse: """ Get a resource instance. Retrieve a resource instance by URL-encoded CRN or GUID. Find more details on a particular instance, like when it was provisioned and who provisioned it. :param str id: The resource instance URL-encoded CRN or GUID. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse with `dict` result representing a `ResourceInstance` object """ if not id: raise ValueError('id must be provided') headers = {} sdk_headers = get_sdk_headers( service_name=self.DEFAULT_SERVICE_NAME, service_version='V2', operation_id='get_resource_instance' ) headers.update(sdk_headers) if 'headers' in kwargs: headers.update(kwargs.get('headers')) del kwargs['headers'] headers['Accept'] = 'application/json' path_param_keys = ['id'] path_param_values = self.encode_path_vars(id) path_param_dict = dict(zip(path_param_keys, path_param_values)) url = '/v2/resource_instances/{id}'.format(**path_param_dict) request = self.prepare_request(method='GET', url=url, headers=headers) response = self.send(request, **kwargs) return response
(self, id: str, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
[ 0.06128374859690666, -0.06782019883394241, -0.00803062692284584, -0.044455092400312424, 0.016512665897607803, -0.01856207847595215, 0.039110369980335236, -0.009822733700275421, -0.005859333090484142, -0.01024706196039915, -0.003624841570854187, 0.01904960349202156, 0.027843117713928223, -0.03354896977543831, 0.014400055631995201, 0.012765943072736263, 0.0008842040551826358, -0.010779728181660175, -0.029395975172519684, -0.03968817740678787, 0.052255500108003616, 0.08291543275117874, -0.029955726116895676, 0.008856710977852345, 0.07728180289268494, 0.09815511107444763, 0.03293504938483238, -0.021108044311404228, 0.006658332888036966, 0.007592756766825914, 0.009353265166282654, -0.00599927082657814, 0.004017570521682501, 0.055722348392009735, -0.03484903648495674, 0.009362293407320976, -0.002243519527837634, 0.0487886518239975, -0.16973106563091278, 0.08999357372522354, -0.04116881266236305, 0.01778564788401127, 0.04553848132491112, -0.05503619834780693, 0.008960535749793053, -0.02141500450670719, 0.04124103859066963, -0.052508290857076645, -0.05615570396184921, -0.052436064928770065, 0.06850634515285492, -0.009272010996937752, -0.016259875148534775, -0.0019726722966879606, -0.020367726683616638, 0.014806326478719711, -0.03459624573588371, 0.0841432735323906, 0.006658332888036966, 0.0031440872699022293, -0.02269701473414898, -0.015627898275852203, 0.010120665654540062, -0.010238033719360828, -0.03665468841791153, -0.0037038386799395084, -0.04951091110706329, 0.017225896939635277, -0.04788582772016525, 0.04041043668985367, 0.04008542001247406, 0.023798462003469467, -0.006644790526479483, -0.005353751126676798, 0.0024127992801368237, -0.01764119602739811, -0.04391339793801308, -0.047596924006938934, 0.007701095659285784, -0.0038686043117195368, -0.023906800895929337, -0.01631404459476471, 0.005719395354390144, -0.04846363514661789, -0.010364429093897343, -0.010292203165590763, 0.010364429093897343, -0.06482282280921936, -0.029684878885746002, -0.026705557480454445, -0.008147994056344032, 0.01348820235580206, -0.07497057318687439, 0.037521399557590485, 0.02654304914176464, -0.033458687365055084, -0.01214299350976944, -0.0242137610912323, 0.013027762062847614, -0.007448304444551468, -0.026452766731381416, -0.052508290857076645, -0.009949129074811935, 0.02004271000623703, 0.05290553346276283, -0.042685557156801224, -0.017171727493405342, 0.02731947787106037, 0.003259197575971484, 0.013560428284108639, -0.00795840099453926, 0.0551445372402668, -0.039327047765254974, 0.02506241574883461, 0.00036169419763609767, -0.023906800895929337, 0.02495407685637474, 0.028926506638526917, -0.018507909029722214, -0.06496727466583252, -0.01742451824247837, -0.03979651629924774, 0.009163672104477882, -0.008770942687988281, -0.011917287483811378, 0.013813219964504242, -0.03484903648495674, -0.01424657553434372, -0.03965206444263458, -0.02569439448416233, 0.0022265915758907795, -0.016918936744332314, -0.07273156940937042, 0.05128045007586479, -0.0018891609506681561, -0.019699636846780777, 0.03867701441049576, 0.06561730802059174, 0.0071594007313251495, 0.0721176490187645, 0.005981214344501495, 0.035787973552942276, -0.03838811069726944, 0.014436168596148491, -0.03997708112001419, -0.04969147592782974, -0.005918016657233238, 0.03788252919912338, 0.00536277936771512, -0.006297202780842781, 0.02141500450670719, -0.023979026824235916, 0.05626404285430908, 0.0056561972014606, 0.015600812621414661, -0.05304998531937599, 0.04127715155482292, -0.039038144052028656, 0.029847387224435806, -0.03383787348866463, -0.015664011240005493, 0.020367726683616638, 0.027752835303544998, -0.055794574320316315, -0.02004271000623703, 0.00836015772074461, -0.05319443717598915, -0.006518395151942968, 0.014047954231500626, 0.03138219192624092, -0.06366720795631409, -0.010364429093897343, -0.052724968641996384, -0.030064066872000694, -0.0579613521695137, 0.049222007393836975, 0.060922618955373764, -0.020241331309080124, 0.016666145995259285, 0.042396653443574905, 0.014183377847075462, -0.06160876527428627, -0.030316857621073723, 0.02657916210591793, -0.002832612721249461, 0.033494800329208374, 0.05142490193247795, 0.03082243911921978, 0.003911488689482212, -0.01587166078388691, 0.044202301651239395, 0.020692745223641396, 0.020132992416620255, 0.04463565722107887, -0.04474399611353874, -0.04145771637558937, 0.015609840862452984, -0.03333229199051857, 0.018634304404258728, 0.04051877558231354, -0.01134850736707449, 0.04380505904555321, -0.0005419770022854209, 0.02860148996114731, 0.03669080138206482, 0.015925830230116844, 0.03835199773311615, -0.0009135458385571837, -0.044310640543699265, 0.002780700335279107, -0.047741375863552094, -0.004676632583141327, -0.0173161793500185, 0.04376894608139992, 0.006066982634365559, 0.00765144033357501, -0.01690088026225567, -0.03183360397815704, 0.023906800895929337, -0.03997708112001419, 0.02081914059817791, -0.06128374859690666, -0.022010868415236473, -0.000981257762759924, -0.0660867765545845, 0.018959321081638336, 0.022028924897313118, 0.012377727776765823, -0.06742295622825623, -0.034199003130197525, 0.011718666180968285, 0.016973106190562248, 0.04633297026157379, -0.008265361189842224, -0.057600222527980804, 0.03457818925380707, 0.023852631449699402, 0.005304095800966024, 0.03237529844045639, -0.002303331857547164, 0.04293834790587425, 0.0307502131909132, 0.008585863746702671, -0.02053023688495159, -0.060850393027067184, -0.020728858187794685, -0.012540236115455627, 0.028836224228143692, -0.013063875027000904, -0.11938954889774323, 0.024755455553531647, -0.0650395005941391, 0.036311615258455276, 0.005317638162523508, 0.010409570299088955, -0.0738510712981224, -0.024574890732765198, -0.07305658608675003, 0.05503619834780693, 0.006157265044748783, -0.03407260775566101, 0.027861174196004868, -0.04481622204184532, 0.030479365959763527, -0.031147455796599388, -0.006396513897925615, -0.04459954425692558, 0.04994426667690277, 0.025459660217165947, -0.004225220065563917, 0.06662847101688385, 0.020764971151947975, -0.01504106167703867, -0.004094310570508242, -0.0040717399679124355, -0.008021598681807518, 0.004979078657925129, -0.04784971475601196, -0.04044654965400696, -0.05120822414755821, -0.052688855677843094, -0.012910394929349422, 0.07850964367389679, -0.025224925950169563, 0.044021736830472946, -0.0858766958117485, 0.029919613152742386, 0.07583728432655334, -0.010860982351005077, 0.014896608889102936, 0.015582756139338017, 0.010183863341808319, -0.034415680915117264, -0.037485286593437195, -0.024267930537462234, 0.049149781465530396, -0.06619511544704437, -0.015239682979881763, -0.007046547718346119, -0.017144642770290375, -0.04156605526804924, -0.007209056057035923, 0.035264335572719574, 0.0020753685384988785, -0.04163828119635582, 0.017541885375976562, 0.049222007393836975, 0.011465875431895256, -0.015059118159115314, 0.001933173625729978, -0.015176485292613506, 0.00959702767431736, 0.008807055652141571, -0.03679914027452469, -0.015808463096618652, 0.03085855208337307, 0.015898745507001877, 0.03791864216327667, 0.023094259202480316, 0.04369672015309334, -0.04301057383418083, 0.06984252482652664, 0.010743615217506886, 0.019031547009944916, 0.07099813967943192, -0.039146482944488525, -0.010544993914663792, 0.028763998299837112, 0.05359167978167534, 0.059116967022418976, -0.02011493593454361, -0.023094259202480316, 0.010969321243464947, 0.011104744859039783, 0.017957184463739395, -0.05355556681752205, 0.024737399071455002, -0.029432088136672974, -0.014300744980573654, 0.03665468841791153, 0.047741375863552094, -0.030298801138997078, 0.0012560549657791853, -0.013894474133849144, 0.0041304235346615314, 0.019392676651477814, 0.05117211118340492, -0.037413060665130615, -0.01997048407793045, -0.04813861846923828, -0.04196329787373543, -0.015032033436000347, 0.02325676754117012, 0.06662847101688385, 0.0015314165502786636, -0.044274527579545975, -0.03298921883106232, 0.014445196837186813, -0.022010868415236473, 0.005529801826924086, -0.03983262926340103, -0.011754779145121574, -0.07894299924373627, -0.018372485414147377, -0.01805649697780609, -0.04344392940402031, -0.010021355003118515, -0.02435821294784546, 0.011817976832389832, -0.04279389604926109, -0.0823376253247261, -0.023852631449699402, -0.03259197622537613, -0.00039724292582832277, 0.04604406654834747, -0.005543344188481569, -0.06428112834692001, -0.01680156961083412, -0.025188811123371124, 0.04517735168337822, 0.008278903551399708, 0.018616247922182083, -0.022498393431305885, -0.02697640471160412, 0.02583884634077549, -0.01930239424109459, -0.008807055652141571, 0.009976213797926903, 0.011375592090189457, -0.015402191318571568, -0.007628869730979204, -0.01348820235580206, 0.000585143337957561, 0.0242137610912323, 0.01774953491985798, -0.028583433479070663, -0.02053023688495159, 0.010192891582846642, 0.02078302763402462, 0.0031124884262681007, 0.012847197242081165, 0.06691737473011017, 0.020385783165693283, 0.0328628234565258, 0.007231626659631729, -0.01760508306324482, 0.05716686695814133, -0.05286942049860954, -0.01620570570230484, -0.026037467643618584, -0.008147994056344032, -0.06196989491581917, -0.0074799032881855965, -0.04647742211818695, 0.012395784258842468, 0.062908835709095, 0.018688473850488663, 0.11144469678401947, -0.014634789898991585, -0.010581106878817081, 0.03838811069726944, -0.0013655225047841668, 0.02558605559170246, -0.006410056259483099, -0.01094223652034998, 0.01090612355619669, -0.011077660135924816, 0.005222841631621122, 0.06973418593406677, -0.04535791650414467, 0.006170807406306267, 0.034126777201890945, -0.04174662008881569, -0.00043758790707215667, 0.027788948267698288, -0.006807298865169287, 0.015673039481043816, 0.002143080346286297, 0.05178603157401085, 0.04636908322572708, -0.019717693328857422, -0.02166779525578022, 0.0026272202376276255, -0.007132316008210182, -0.04203552380204201, -0.011718666180968285, -0.03259197622537613, -0.003988228738307953, 0.06587009876966476, -0.03627550229430199, 0.062331024557352066, -0.01097834948450327, 0.03856867551803589, -0.001547215972095728, -0.009199785068631172, -0.09555497765541077, 0.006757643539458513, 0.012025626376271248, -0.014075038954615593, -0.04124103859066963, -0.012305501848459244, 0.01805649697780609, -0.03219473361968994, -0.014752157032489777, -0.018814869225025177, -0.016927964985370636, 0.022805355489253998, 0.03867701441049576, 0.0034149347338825464, -0.025044359266757965, 0.022010868415236473, 0.01848985254764557, 0.010219977237284184, 0.023094259202480316, 0.03194194287061691, 0.05980311334133148, 0.024629060178995132, -0.019175998866558075, -0.0448884479701519, -0.015348021872341633, 0.0551445372402668, 0.011574214324355125, 0.024484608322381973, -0.014354914426803589, -0.01094223652034998, -0.03372953459620476, 0.017027275636792183, 0.03799086809158325, -0.04951091110706329, -0.00922686979174614, 0.028258416801691055, 0.04633297026157379, -0.05185825750231743, 0.04651353508234024, -0.04528569057583809, -0.03697970509529114, -0.0029386947862803936, 0.014183377847075462, 0.054061148315668106, 0.023834574967622757, 0.00996718555688858, -0.07713735103607178, 0.055794574320316315, -0.012088824063539505, 0.008960535749793053, 0.02392485737800598, -0.04156605526804924, 0.05315832421183586, 0.027229195460677147, 0.03954372555017471, -0.015664011240005493, -0.017289094626903534, 0.028005626052618027, 0.024737399071455002, 0.007150372490286827, 0.055830687284469604, -0.04857197403907776, 0.03528239205479622, -0.002403771039098501, 0.001751480158418417, 0.025640225037932396, 0.05879195034503937, 0.037701964378356934, -0.004884282127022743, 0.010021355003118515, -0.014372970908880234, -0.071756511926651, -0.06825355440378189, 0.005660711321979761, 0.04459954425692558, 0.001140944892540574, -0.0409882478415966, -0.03344063088297844, -0.07135926932096481, -0.028077851980924606, 0.014129208400845528, -0.09916627407073975, -0.021162213757634163, 0.0027378161903470755, -0.02163168229162693, 0.050522077828645706, -0.007019462995231152, -0.025748563930392265, 0.003509731497615576, -0.05709464102983475, -0.05611959099769592, 0.014354914426803589, 0.028294529765844345, 0.025784676894545555, -0.021162213757634163, 0.08407104760408401, -0.0547834075987339, 0.03799086809158325, -0.018264146521687508, -0.08009861409664154, 0.08009861409664154, -0.006238519214093685, -0.0381714329123497, 0.009976213797926903, -0.02318454161286354, 0.006807298865169287, 0.04174662008881569, 0.06583398580551147, -0.0014264632482081652, -0.04853586107492447, 0.04636908322572708, 0.040771566331386566, 0.03291699290275574, -0.05211104825139046, -0.035083770751953125, -0.008513637818396091, 0.035083770751953125, -0.00911853089928627, 0.006513881031423807, -0.018228033557534218, 0.05955032259225845, 0.03820754587650299, 0.02551382966339588, 0.05958643555641174, 0.022028924897313118, -0.0011499731335788965, -0.03311561420559883, 0.05651683360338211, -0.0865989550948143, -0.02831258624792099, 0.045827388763427734, -0.01583554781973362, 0.004489296115934849, 0.03791864216327667, 0.0033743076492100954, 0.0030628331005573273, -0.0036812680773437023, -0.001277497154660523, -0.021866416558623314, 0.02354567125439644, 0.0512443371117115, 0.011456847190856934, -0.013298609293997288, 0.000874047284014523, 0.004441897850483656, 0.009163672104477882, 0.052688855677843094, 0.02750004269182682, -0.025116585195064545, 0.027518099173903465, 0.012621491216123104, -0.025224925950169563, -0.062439363449811935, -0.04622463136911392, -0.02945014461874962, -0.022859524935483932, -0.05821414291858673, 0.006617705803364515, -0.01811969466507435, 0.015059118159115314, 0.03669080138206482, -0.042360540479421616, 0.03475875407457352, -0.0012052711099386215, -0.03513794019818306, 0.0024308557622134686, 0.021505286917090416, 0.009894959628582, 0.02739170379936695, -0.04958313703536987, 0.06016424670815468, 0.018923208117485046, 0.0013564942637458444, -0.04676632583141327, 0.0013373092515394092, 0.03149053081870079, 0.049294233322143555, 0.01247703842818737, -0.01682865433394909, 0.03542684391140938, -0.017072416841983795, 0.06301717460155487, 0.019573241472244263, -0.016404327005147934, 0.06525617837905884, -0.019591297954320908, -0.007773321587592363, -0.0693008303642273, 0.06164487823843956, -0.0388936921954155, 0.06688126176595688, -0.0434800423681736, -0.07757070660591125, 0.011817976832389832, -0.011176970787346363, 0.0036970674991607666, 0.045863501727581024, -0.024647116661071777, -0.013434032909572124, 0.007190999574959278, -0.022317828610539436, -0.0032795111183077097, -0.009068875573575497, -0.04600795358419418, 0.03537267446517944, 0.02336510643362999, 0.009186242707073689, -0.011908259242773056, -0.05720297992229462, 0.00840078480541706, -0.021433060988783836, -0.017912043258547783, -0.059261418879032135, 0.009479660540819168, 0.04651353508234024, 0.012431897222995758, 0.008847682736814022, 0.01275691483169794, 0.04149382933974266, -0.07099813967943192, 0.018580134958028793, -0.03555323928594589, -0.01919405534863472, 0.0030334913171827793, 0.050594303756952286, 0.044310640543699265, -0.02520686946809292, -0.009606055915355682, 0.03799086809158325, -0.04669409990310669, -0.028818167746067047, -0.008315016515552998, 0.02181224711239338, -0.0378103032708168, -0.06883136183023453, -0.019988540560007095, -0.050702642649412155, 0.0022536765318363905, -0.0035232738591730595, -0.02392485737800598, -0.012765943072736263, -0.032429467886686325, -0.044202301651239395, 0.017514800652861595, 0.015627898275852203, -0.02605552412569523, -0.0431189127266407, 0.02358178421854973, 0.009132073260843754, -0.010951264761388302, 0.027156969532370567, 0.0010929822456091642, -0.04138549044728279, 0.01649460941553116, -0.0027829573955386877, 0.03304338827729225, 0.09606055915355682, 0.06428112834692001, -0.037232495844364166, 0.03262808918952942, 0.03708804398775101, -0.04189107194542885, -0.012061739340424538, -0.019212111830711365, 0.029034845530986786, 0.001491917995736003, -0.0001479786296840757, 0.021541399881243706, -0.021017761901021004, 0.011213083751499653, 0.0618615560233593, 0.003543587401509285, 0.04658576101064682, 0.029558483511209488, 0.013876417651772499, 0.02399708330631256, -0.0008091567433439195, -0.09569942951202393, -0.037340834736824036, 0.04059100151062012, -0.0291612409055233, 0.05016094446182251, -0.027175026014447212, 0.05687796324491501, 0.02304008975625038, 0.004143965896219015, 0.06471448391675949, 0.014237547293305397, 0.0010613834019750357, 0.006473253946751356, 0.05333888903260231, 0.06319773942232132, 0.009407434612512589, 0.01989825814962387, -0.03425317257642746, 0.042432766407728195, 0.013280552811920643, 0.023419275879859924, 0.06482282280921936, 0.0438411720097065, -0.03618521988391876, -0.013289581052958965, 0.034307342022657394, 0.04882476478815079, 0.01682865433394909, -0.008003542199730873, -0.02107193134725094, 0.01024706196039915, -0.006595135200768709, -0.012684688903391361, 0.042432766407728195, 0.011474903672933578, 0.014842439442873001 ]
719,934
ibm_platform_services.resource_controller_v2
get_resource_key
Get resource key. View the details of a resource key by URL-encoded CRN or GUID, like the credentials for the key and who created it. :param str id: The resource key URL-encoded CRN or GUID. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse with `dict` result representing a `ResourceKey` object
def get_resource_key(self, id: str, **kwargs) -> DetailedResponse: """ Get resource key. View the details of a resource key by URL-encoded CRN or GUID, like the credentials for the key and who created it. :param str id: The resource key URL-encoded CRN or GUID. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse with `dict` result representing a `ResourceKey` object """ if not id: raise ValueError('id must be provided') headers = {} sdk_headers = get_sdk_headers( service_name=self.DEFAULT_SERVICE_NAME, service_version='V2', operation_id='get_resource_key' ) headers.update(sdk_headers) if 'headers' in kwargs: headers.update(kwargs.get('headers')) del kwargs['headers'] headers['Accept'] = 'application/json' path_param_keys = ['id'] path_param_values = self.encode_path_vars(id) path_param_dict = dict(zip(path_param_keys, path_param_values)) url = '/v2/resource_keys/{id}'.format(**path_param_dict) request = self.prepare_request(method='GET', url=url, headers=headers) response = self.send(request, **kwargs) return response
(self, id: str, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
[ -0.0030960063450038433, -0.04989505931735039, -0.040275003761053085, -0.0024700744543224573, 0.04124418646097183, -0.004733748733997345, 0.01655690371990204, 0.001771229668520391, 0.04504913464188576, -0.0491771437227726, -0.00782078132033348, 0.02816019579768181, 0.06730448454618454, -0.03277279809117317, 0.002737049013376236, 0.021393852308392525, 0.032611265778541565, 0.011002039536833763, -0.027173064649105072, -0.05545889586210251, 0.03869559243321419, 0.06375081092119217, 0.03514191508293152, -0.026365410536527634, 0.026814106851816177, 0.095554418861866, 0.03630852699279785, -0.004242425784468651, 0.04009552299976349, -0.022668151184916496, -0.04888997599482536, 0.009270071052014828, 0.03367019072175026, 0.05560247600078583, -0.06188422814011574, -0.018665777519345284, 0.017229948192834854, 0.030385730788111687, -0.1398497372865677, 0.02729869820177555, -0.03851611167192459, 0.06608402729034424, 0.04763362556695938, -0.081196129322052, 0.013774984516203403, -0.007762450724840164, 0.005375384818762541, -0.023511700332164764, -0.022991212084889412, -0.03176771476864815, 0.07746297121047974, -0.003975451458245516, -0.031911298632621765, -0.04838743805885315, -0.024678310379385948, -0.015524901449680328, -0.03923402726650238, 0.0014302203198894858, -0.02379886619746685, -0.0002659929159563035, -0.015354396775364876, -0.019276004284620285, -0.02943449467420578, 0.04472607374191284, -0.036218784749507904, -0.03711618110537529, -0.03365224227309227, 0.00021916022524237633, -0.01327244471758604, 0.03550087288022041, 0.011136648245155811, 0.012689138762652874, -0.03311380743980408, -0.004500426352024078, -0.0019720213022083044, -0.03944940119981766, -0.05732547119259834, -0.05136678367853165, -0.016422294080257416, -0.016126153990626335, -0.00563114183023572, -0.06396618485450745, 0.010966143570840359, -0.03837253153324127, -0.0005496533121913671, 0.011073831468820572, 0.007883599027991295, -0.0461977981030941, 0.0024880224373191595, -0.03794177994132042, -0.014510846696794033, 0.029290910810232162, -0.08823169022798538, 0.05535120889544487, 0.03230615332722664, -0.038910966366529465, -0.011002039536833763, 0.01564156264066696, 0.023404013365507126, 0.007084918674081564, 0.02882426790893078, -0.03420862555503845, 0.03171387314796448, 0.039700672030448914, 0.0390186533331871, -0.05237186327576637, -0.01653895527124405, 0.03776230290532112, 0.011127674952149391, 0.008309860713779926, -0.01744532212615013, 0.004877331666648388, 0.013559609651565552, 0.02184254862368107, -0.01156739704310894, 0.022686097770929337, 0.03311380743980408, 0.015569770708680153, 0.02096310257911682, -0.031085697934031487, 0.01650306023657322, -0.05136678367853165, 0.00881240051239729, -0.000031215960916597396, -0.024265509098768234, -0.005864464212208986, -0.0337778776884079, 0.028608892112970352, 0.0008687886875122786, -0.01186353713274002, -0.0018003949662670493, 0.020622093230485916, -0.04558756947517395, 0.057828012853860855, 0.017229948192834854, -0.0082246083766222, 0.028914006426930428, 0.09375963360071182, 0.0150941526517272, 0.11070241779088974, 0.033383022993803024, 0.03092416748404503, -0.016476137563586235, 0.040275003761053085, -0.018396558240056038, -0.07250936329364777, 0.016529981046915054, -0.0044263917952775955, -0.011145622469484806, -0.015363370068371296, 0.02941654622554779, -0.0026136573869735003, 0.024983424693346024, -0.008323321118950844, 0.03944940119981766, -0.031265176832675934, 0.02525264210999012, -0.03343686833977699, -0.0034886158537119627, -0.029847295954823494, 0.014349316246807575, 0.010391812771558762, 0.04364920035004616, -0.07039151340723038, 0.016987651586532593, -0.0013359939912334085, -0.050182223320007324, -0.0064836652018129826, 0.031157489866018295, 0.01569540612399578, -0.057828012853860855, 0.004967071115970612, -0.04716698080301285, -0.028914006426930428, -0.019150368869304657, -0.01904268190264702, 0.02875247597694397, -0.028429413214325905, -0.036218784749507904, -0.0027751883026212454, 0.0740169882774353, -0.043972261250019073, -0.006183038465678692, 0.02243482880294323, 0.021411800757050514, 0.03733155503869057, 0.052228279411792755, 0.04418763890862465, 0.018369637429714203, -0.025575704872608185, -0.03560855984687805, -0.009148922748863697, -0.011118700727820396, 0.039664775133132935, -0.0502181202173233, -0.05054118111729622, 0.048997662961483, -0.05452560633420944, -0.001498646568506956, 0.022686097770929337, -0.019940074533224106, 0.055099938064813614, -0.005698446184396744, 0.050110433250665665, 0.03550087288022041, -0.039485298097133636, 0.049320727586746216, -0.004273834638297558, -0.024409092962741852, 0.019276004284620285, 0.003410093951970339, -0.026329513639211655, -0.018019653856754303, 0.0189888384193182, 0.0027998664882034063, 0.022793784737586975, -0.01956317014992237, -0.0015794119099155068, 0.024373197928071022, -0.04275180771946907, 0.043218452483415604, -0.018190158531069756, 0.04716698080301285, -0.03223435953259468, -0.012446842156350613, -0.006999666336923838, 0.034082990139722824, 0.0032238848507404327, -0.07487848401069641, -0.03865969553589821, 0.049392517656087875, 0.009629027917981148, 0.02114258147776127, -0.020837469026446342, -0.06992486864328384, -0.04781310632824898, 0.02317069098353386, -0.009655949659645557, 0.025037268176674843, -0.00288960593752563, 0.026957688853144646, 0.059192050248384476, 0.013999332673847675, 0.007834241725504398, -0.059371527284383774, -0.012375051155686378, -0.003078058362007141, 0.036829013377428055, 0.005761263892054558, -0.08205762505531311, 0.02315274253487587, -0.06985308229923248, 0.004940148908644915, -0.010984092019498348, 0.008947009220719337, -0.06820187717676163, -0.05380769073963165, -0.0908161848783493, 0.027729447931051254, 0.004130251705646515, -0.03367019072175026, 0.049320727586746216, -0.0614175871014595, 0.02882426790893078, -0.003257537027820945, -0.0209989994764328, -0.0017330904956907034, 0.056428078562021255, 0.011791745200753212, -0.00873163528740406, 0.05883309245109558, 0.03153439611196518, -0.03514191508293152, -0.020191345363855362, 0.018773464486002922, 0.023583490401506424, 0.029685763642191887, 0.004354600328952074, -0.009386732243001461, -0.029308859258890152, -0.04813616722822189, -0.02586286887526512, 0.030995957553386688, 0.009691845625638962, 0.024157822132110596, -0.050110433250665665, 0.010687951929867268, 0.018082471564412117, 0.01189045887440443, -0.0026136573869735003, 0.014214706607162952, 0.02455267496407032, -0.036829013377428055, 0.005729855038225651, 0.010320020839571953, 0.0035805986262857914, -0.038193050771951675, -0.07136069983243942, 0.0475977323949337, 0.014322394505143166, -0.03169592469930649, 0.05032580718398094, 0.05276671424508095, -0.04005962982773781, -0.036757223308086395, 0.007964364252984524, 0.04540809243917465, -0.01477109082043171, -0.07523743808269501, 0.03070879355072975, -0.047777209430933, 0.01893499493598938, 0.02243482880294323, -0.05750495195388794, -0.013694219291210175, -0.010894352570176125, 0.045085031539201736, 0.05667934939265251, 0.0065958392806351185, 0.057863909751176834, -0.023404013365507126, 0.011800719425082207, -0.007479771506041288, -0.01823502779006958, 0.08449853956699371, -0.03729565814137459, 0.020891312509775162, -0.025127006694674492, 0.05772032588720322, 0.04820795729756355, -0.0037578337360173464, -0.011414840817451477, -0.0037331553176045418, -0.039557088166475296, -0.01758890599012375, -0.03282663971185684, 0.04709519073367119, -0.014304446056485176, -0.019922127947211266, 0.051546260714530945, 0.019293952733278275, -0.08457032591104507, 0.0029277449939399958, 0.008072051219642162, -0.025539807975292206, 0.01300322636961937, 0.05423843860626221, -0.0365777425467968, 0.012500686571002007, -0.04364920035004616, 0.01659279875457287, -0.05165394768118858, 0.03370608389377594, 0.05513583496212959, 0.04644906893372536, -0.029757555574178696, -0.0301883053034544, 0.009104053489863873, -0.033885564655065536, 0.027837134897708893, -0.002407256979495287, 0.0007824146305210888, -0.09196484833955765, -0.024157822132110596, -0.0629969984292984, -0.025468016043305397, 0.0021862739231437445, -0.011019987985491753, 0.04418763890862465, -0.03973656892776489, -0.06938643753528595, 0.019060630351305008, -0.03164208307862282, 0.02600645273923874, 0.012698112986981869, -0.008063076995313168, -0.02394244819879532, -0.0005064662545919418, -0.02101694606244564, 0.06253035366535187, 0.00005671805047313683, 0.006317647639662027, 0.004612600430846214, 0.019204212352633476, 0.0032934327609837055, 0.013918567448854446, 0.008036155253648758, -0.03934171423316002, 0.030349835753440857, 0.013254496268928051, 0.03668542951345444, -0.029039641842246056, 0.03670337796211243, 0.03598546236753464, 0.006250343285501003, -0.01333526149392128, 0.01889909990131855, -0.005842029117047787, 0.013900619000196457, 0.007125301286578178, 0.022973263636231422, 0.0677352324128151, -0.002636092249304056, 0.01477109082043171, 0.03776230290532112, 0.015147996135056019, 0.03991604596376419, -0.08421137183904648, -0.033239442855119705, -0.057935699820518494, -0.019060630351305008, -0.03176771476864815, -0.022237401455640793, -0.027496125549077988, 0.04282360151410103, 0.022919420152902603, -0.02670641988515854, 0.10122594237327576, -0.03169592469930649, 0.04784899950027466, 0.00094338454073295, -0.028985798358917236, -0.01690688729286194, -0.023332221433520317, -0.00811243336647749, 0.028231987729668617, -0.016476137563586235, 0.016126153990626335, 0.0355188213288784, -0.01400830689817667, -0.00447126105427742, 0.021160529926419258, -0.020173396915197372, -0.017508139833807945, -0.03169592469930649, -0.0021470130886882544, 0.014519820921123028, 0.031857457011938095, 0.04271591082215309, -0.0063535431399941444, -0.022093819454312325, -0.01952727511525154, -0.016996625810861588, -0.0072554233483970165, -0.051474470645189285, 0.0035402157809585333, -0.011872511357069016, 0.06396618485450745, 0.029021693393588066, -0.011989172548055649, 0.061345793306827545, 0.05894077941775322, 0.03980835899710655, -0.05556658282876015, -0.00878547877073288, -0.06184833496809006, 0.0038520600646734238, 0.04996684938669205, -0.02593466080725193, -0.06766343861818314, 0.0025777616538107395, 0.03081648051738739, 0.0015154726570472121, -0.0028940928168594837, 0.006725961342453957, -0.024391144514083862, -0.008534208871424198, 0.06525842845439911, 0.009557236917316914, -0.032575368881225586, -0.011396892368793488, 0.024803945794701576, -0.019437534734606743, 0.044403012841939926, 0.037439242005348206, 0.04332613945007324, 0.036093153059482574, 0.013119887560606003, -0.06665836274623871, 0.002089804271236062, 0.02941654622554779, -0.02020929381251335, 0.009664923883974552, -0.0379776768386364, 0.024265509098768234, -0.017615826800465584, -0.0074663106352090836, 0.03203693404793739, -0.07724759727716446, 0.006102273240685463, 0.021178478375077248, 0.06522253155708313, -0.037439242005348206, 0.06109452247619629, -0.0007779276347719133, -0.02941654622554779, 0.018593985587358475, -0.0108494833111763, 0.0006663143867626786, 0.023529646918177605, 0.0035402157809585333, -0.06048429757356644, 0.049320727586746216, 0.012850669212639332, -0.002723588142544031, 0.004022564738988876, -0.04418763890862465, 0.007071457803249359, 0.0189888384193182, -0.007407980039715767, 0.0006494882982224226, -0.020299032330513, 0.03664953634142876, -0.011710979975759983, -0.0011110848281532526, 0.007309266831725836, -0.050684764981269836, 0.022219453006982803, -0.009557236917316914, 0.044654279947280884, -0.003677068278193474, 0.08808811008930206, 0.031857457011938095, 0.02816019579768181, 0.027119219303131104, 0.010077725164592266, -0.0712171196937561, -0.0691351667046547, 0.007152223028242588, 0.05524352192878723, -0.03598546236753464, -0.004460043739527464, -0.008399599231779575, -0.02320658601820469, -0.03722386807203293, 0.00946749746799469, -0.10948196053504944, 0.008695739321410656, -0.03298817202448845, -0.032521527260541916, 0.07057099789381027, 0.017122261226177216, -0.02046056278049946, -0.04282360151410103, -0.03171387314796448, 0.017678644508123398, 0.015201839618384838, 0.022201506420969963, 0.013757036998867989, -0.04368509724736214, 0.06428924202919006, -0.04537219554185867, 0.013586532324552536, -0.036057256162166595, -0.04967968165874481, 0.0028873623814433813, 0.025432121008634567, -0.035339340567588806, -0.033293284475803375, 0.006308673415333033, -0.01895294338464737, 0.057074204087257385, 0.03214462101459503, -0.004612600430846214, -0.031965143978595734, 0.01123536191880703, 0.022955315187573433, 0.03244973346590996, -0.0006315404316410422, -0.012500686571002007, -0.034729115664958954, 0.02460652031004429, 0.004269347991794348, 0.006739422213286161, -0.05517172813415527, 0.035357289016246796, 0.025396225973963737, 0.020191345363855362, 0.018432455137372017, 0.02957807667553425, 0.009862350299954414, -0.014304446056485176, 0.07143249362707138, -0.023439908400177956, -0.024875737726688385, 0.05836644768714905, 0.03148055076599121, -0.006909926887601614, 0.03230615332722664, -0.015740275382995605, -0.03912634029984474, -0.013783958740532398, -0.000426542159402743, -0.04052627459168434, 0.033383022993803024, 0.02385270968079567, 0.03453168645501137, 0.007802833337336779, 0.005240775644779205, -0.017840174958109856, 0.005406793672591448, 0.011845589615404606, 0.03234204649925232, 0.03573419526219368, 0.020047761499881744, -0.00393731240183115, -0.02094515599310398, -0.04138777032494545, -0.03923402726650238, -0.014869804494082928, -0.04472607374191284, -0.07340675592422485, 0.018755516037344933, 0.021268216893076897, 0.010661030188202858, 0.03571624681353569, -0.015031334944069386, -0.008655356243252754, -0.015228761360049248, -0.028285831212997437, 0.0017869340954348445, 0.019940074533224106, -0.010023880749940872, 0.04752593860030174, -0.0603766106069088, 0.0433979332447052, 0.017678644508123398, 0.010328995063900948, -0.03354455530643463, 0.00036204204661771655, -0.015964623540639877, 0.054310232400894165, 0.01604538969695568, -0.008807913400232792, 0.036164943128824234, 0.02304505556821823, 0.07609893381595612, 0.01888115145266056, -0.0008435495547018945, 0.052335966378450394, -0.016996625810861588, 0.011396892368793488, -0.06450461596250534, 0.05675113946199417, -0.046628545969724655, 0.10632313787937164, -0.025539807975292206, -0.06023302674293518, 0.011459710076451302, -0.07067868113517761, -0.0449773445725441, 0.03998783603310585, -0.014959543012082577, -0.03228820487856865, 0.026796158403158188, -0.04914124682545662, 0.008309860713779926, -0.012707086279988289, -0.07408877462148666, 0.0008721539634279907, 0.06669425964355469, -0.015004413202404976, -0.003322598058730364, -0.07724759727716446, -0.03180361166596413, -0.07789372652769089, -0.024911632761359215, -0.03944940119981766, 0.014573664404451847, 0.013164756819605827, 0.03160618618130684, -0.040203213691711426, 0.024965476244688034, 0.003751103300601244, -0.06902747601270676, 0.01956317014992237, -0.0055817849934101105, -0.03912634029984474, 0.03241384029388428, 0.009458523243665695, 0.01653895527124405, -0.026239775121212006, -0.011046909727156162, 0.048782289028167725, -0.01400830689817667, -0.006541995797306299, 0.023332221433520317, 0.014223680831491947, -0.07232988625764847, -0.08205762505531311, 0.047777209430933, -0.044546592980623245, 0.007717581000179052, -0.011002039536833763, -0.04626958817243576, -0.016179997473955154, -0.011657136492431164, 0.02387065626680851, -0.00845344364643097, 0.0008284060168080032, -0.034047093242406845, -0.04544398933649063, 0.041782625019550323, -0.01441213395446539, -0.030619053170084953, -0.004778618458658457, 0.03584188222885132, -0.018486298620700836, -0.024050135165452957, -0.011450735852122307, 0.020837469026446342, 0.0547768771648407, 0.03524960204958916, -0.09598516672849655, 0.030385730788111687, -0.0020180128049105406, -0.0671967938542366, -0.02309889905154705, -0.0033293284941464663, 0.04504913464188576, 0.010167463682591915, 0.0004038269107695669, -0.019293952733278275, -0.0035357289016246796, 0.006245856173336506, 0.03883917257189751, 0.02882426790893078, 0.032018985599279404, -0.016808172687888145, 0.012671191245317459, 0.022865576669573784, -0.029093485325574875, -0.08019104599952698, -0.02245277538895607, 0.07853984832763672, -0.025593651458621025, 0.022578410804271698, -0.05276671424508095, 0.06482768058776855, 0.046556755900382996, -0.015327474102377892, 0.10165669023990631, 0.007600919809192419, -0.013119887560606003, 0.01336218323558569, 0.03375992923974991, 0.057217784225940704, 0.012823747470974922, 0.020657990127801895, -0.03670337796211243, 0.06077146157622337, 0.060591984540224075, 0.02024518884718418, -0.0037241815589368343, 0.01571335271000862, -0.03594956919550896, -0.04756183549761772, 0.06798650324344635, 0.051510363817214966, 0.06690963357686996, -0.011495606042444706, -0.05064886808395386, -0.0036568769719451666, -0.022632254287600517, -0.02514495514333248, 0.04354151338338852, 0.024319354444742203, 0.018432455137372017 ]
719,935
ibm_platform_services.resource_controller_v2
list_reclamations
Get a list of all reclamations. View all of the resource reclamations that exist for every resource instance. :param str account_id: (optional) An alpha-numeric value identifying the account ID. :param str resource_instance_id: (optional) The GUID of the resource instance. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse with `dict` result representing a `ReclamationsList` object
def list_reclamations( self, *, account_id: str = None, resource_instance_id: str = None, **kwargs ) -> DetailedResponse: """ Get a list of all reclamations. View all of the resource reclamations that exist for every resource instance. :param str account_id: (optional) An alpha-numeric value identifying the account ID. :param str resource_instance_id: (optional) The GUID of the resource instance. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse with `dict` result representing a `ReclamationsList` object """ headers = {} sdk_headers = get_sdk_headers( service_name=self.DEFAULT_SERVICE_NAME, service_version='V2', operation_id='list_reclamations' ) headers.update(sdk_headers) params = {'account_id': account_id, 'resource_instance_id': resource_instance_id} if 'headers' in kwargs: headers.update(kwargs.get('headers')) del kwargs['headers'] headers['Accept'] = 'application/json' url = '/v1/reclamations' request = self.prepare_request(method='GET', url=url, headers=headers, params=params) response = self.send(request, **kwargs) return response
(self, *, account_id: Optional[str] = None, resource_instance_id: Optional[str] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
[ 0.04334736615419388, -0.051009420305490494, 0.011945356614887714, -0.04068693146109581, -0.027171917259693146, -0.012974058277904987, -0.013745584525167942, -0.03749440610408783, 0.045830439776182175, 0.05040638893842697, -0.010287018492817879, 0.01107628084719181, 0.02043214626610279, 0.018011149019002914, 0.013142552226781845, -0.03901972249150276, 0.002010846044868231, -0.053527966141700745, -0.031552769243717194, -0.012805563397705555, 0.005999282468110323, 0.0903838723897934, -0.027100970968604088, 0.018498895689845085, -0.009870216250419617, 0.024351855739951134, 0.02247181348502636, 0.045404769480228424, 0.020166102796792984, 0.04586591199040413, 0.018516631796956062, 0.007834983058273792, -0.023287680000066757, -0.002773504238575697, -0.0674331784248352, -0.02075139805674553, 0.05757182836532593, -0.010748160071671009, -0.062147777527570724, 0.08165764063596725, -0.0038509806618094444, 0.03958728164434433, 0.05409552529454231, -0.03724610060453415, 0.006646655034273863, -0.005081432405859232, 0.03563210368156433, -0.051186781376600266, -0.05448572337627411, -0.052180010825395584, 0.047426700592041016, -0.012238004244863987, -0.04043862223625183, -0.012450839392840862, 0.06360214948654175, 0.015004857443273067, -0.06711392104625702, 0.04973241314291954, 0.03552568331360817, -0.06406328827142715, 0.000815866922494024, -0.08279275894165039, -0.02566433697938919, -0.017346041277050972, -0.000978818628937006, 0.007223082706332207, -0.037529878318309784, -0.00045892514754086733, -0.0031969568226486444, -0.023979393765330315, -0.02713644504547119, 0.04579496756196022, 0.009417942725121975, -0.03126898780465126, -0.03212032839655876, -0.01692037098109722, -0.0028533171862363815, 0.011227038688957691, -0.059061672538518906, -0.014020496048033237, -0.020024212077260017, 0.03488717973232269, -0.021372167393565178, -0.03171239420771599, 0.021496320143342018, -0.02277332916855812, 0.01385200209915638, -0.0498388297855854, -0.05164792388677597, 0.002211487153545022, -0.04437606781721115, -0.013275573961436749, -0.023748822510242462, 0.0054849316366016865, -0.004828691016882658, 0.009213975630700588, -0.055195171386003494, -0.026923609897494316, -0.02222350612282753, 0.0146501325070858, -0.01042890828102827, -0.02075139805674553, 0.05757182836532593, 0.05970017611980438, 0.01179459784179926, -0.06608521938323975, -0.06679467111825943, -0.028785914182662964, 0.041822049766778946, 0.05072564259171486, -0.07889078557491302, 0.09669797122478485, 0.03894877806305885, 0.008814910426735878, -0.002174906199797988, 0.019066456705331802, -0.0002211487153545022, -0.004575949627906084, -0.033397335559129715, -0.04246055334806442, 0.04717839136719704, -0.023553723469376564, 0.04845540225505829, 0.0027668531984090805, -0.044908154755830765, 0.026497939601540565, -0.05320871248841286, 0.040722403675317764, -0.014969385229051113, -0.0013202412519603968, -0.01778944581747055, -0.017585480585694313, -0.03777818754315376, -0.016521304845809937, 0.04107712581753731, 0.016281867399811745, 0.06221872195601463, -0.017629820853471756, -0.0010974297765642405, 0.05991301313042641, 0.023411834612488747, 0.07055475562810898, -0.005312003195285797, 0.02334088832139969, -0.038629528135061264, -0.04246055334806442, -0.008885854855179787, 0.08626905828714371, 0.011182698421180248, 0.01092552300542593, 0.0026183121372014284, -0.01630847156047821, 0.11940035223960876, -0.02000647597014904, -0.01755000837147236, 0.011023071594536304, -0.002662652637809515, 0.032279953360557556, -0.005405118688941002, -0.010641742497682571, -0.007502428721636534, 0.031552769243717194, -0.011058544740080833, -0.03660759702324867, 0.005422854796051979, -0.0573589950799942, -0.00278680631890893, -0.06328289955854416, -0.05125772953033447, -0.007138835731893778, -0.0146501325070858, -0.055301591753959656, 0.0059771123342216015, -0.05288946256041527, -0.02892780490219593, 0.07647866010665894, 0.026320576667785645, -0.009737194515764713, 0.04703650251030922, 0.00472227344289422, -0.048668235540390015, -0.04536929726600647, -0.0077684721909463406, 0.03153502941131592, -0.016485832631587982, 0.0221702978014946, 0.004181317985057831, 0.04920032247900963, 0.019846851006150246, -0.0498388297855854, -0.0012304515112191439, 0.0330958217382431, -0.029743671417236328, 0.007817246951162815, -0.03987106308341026, -0.059983957558870316, -0.05366985499858856, -0.021531792357563972, -0.006717599928379059, -0.026072269305586815, -0.060232263058423996, 0.04902296140789986, -0.021318957209587097, 0.008881420828402042, 0.037529878318309784, 0.03318450227379799, -0.03602229803800583, -0.02215256169438362, -0.03440830111503601, -0.005236624274402857, -0.01661885529756546, 0.035862673074007034, 0.008748399093747139, -0.008921328000724316, -0.012965190224349499, -0.010774764232337475, -0.012104982510209084, -0.013834265992045403, 0.014978253282606602, -0.040651459246873856, 0.006593446712940931, -0.06374403834342957, -0.057891082018613815, -0.012158190831542015, -0.09251222014427185, 0.04544024169445038, 0.009258315898478031, 0.03710421174764633, -0.021035177633166313, -0.05466308444738388, -0.0397646464407444, -0.019048718735575676, 0.007622148375958204, -0.019101928919553757, -0.024156756699085236, -0.059983957558870316, -0.008681888692080975, 0.09088048338890076, 0.04043862223625183, 0.04795878753066063, -0.043666619807481766, 0.014472770504653454, 0.02381976693868637, -0.0074979946948587894, -0.05214453861117363, 0.012326685711741447, 0.03877141699194908, 0.04192846640944481, -0.011058544740080833, -0.05037091672420502, -0.0385231077671051, -0.07860700786113739, 0.040225788950920105, -0.014765418134629726, 0.00929378904402256, -0.0753435418009758, -0.055549897253513336, 0.016299603506922722, 0.029530836269259453, -0.008748399093747139, 0.048774655908346176, -0.00286883651278913, -0.04458890110254288, -0.008593207225203514, 0.02444053627550602, 0.03777818754315376, -0.03660759702324867, 0.06104813143610954, 0.03463887423276901, 0.0012104982743039727, 0.05625934526324272, 0.008655284531414509, -0.031073888763785362, -0.018977774307131767, -0.006748638581484556, 0.018853621557354927, 0.031180307269096375, -0.05207359418272972, -0.02648020349442959, 0.011741389520466328, -0.0309674721211195, -0.02671077474951744, 0.037884604185819626, 0.02055629901587963, 0.06264439225196838, -0.07747188955545425, -0.001233777031302452, 0.0896034762263298, -0.011838939040899277, 0.08598528057336807, 0.05923903360962868, -0.02160273864865303, -0.02541602961719036, -0.02192199043929577, 0.04923579841852188, 0.03181881085038185, -0.009480019100010395, -0.04590138420462608, -0.006074661388993263, 0.007404879201203585, -0.010047579184174538, 0.0406159833073616, 0.09322166442871094, -0.023908449336886406, -0.040225788950920105, -0.0293002650141716, 0.05012260749936104, 0.02314579114317894, 0.027100970968604088, 0.09052576124668121, 0.019066456705331802, 0.028307035565376282, -0.01114722527563572, -0.04497909918427467, -0.009737194515764713, -0.04973241314291954, 0.023979393765330315, 0.047071974724531174, 0.025593390688300133, 0.0004780470335390419, -0.028466662392020226, 0.019155137240886688, 0.04962599277496338, 0.031073888763785362, 0.0439503975212574, -0.027544377371668816, -0.009089821949601173, 0.04075787588953972, 0.048916544765233994, 0.030701428651809692, -0.026054533198475838, -0.03415999561548233, -0.04128996282815933, 0.032350897789001465, -0.0008136499091051519, -0.034692082554101944, 0.027721740305423737, -0.027100970968604088, -0.006668825633823872, -0.028892330825328827, 0.040154844522476196, -0.025628864765167236, 0.01261933334171772, -0.007138835731893778, -0.007635450456291437, 0.051860760897397995, 0.04246055334806442, 0.0131780244410038, -0.07055475562810898, -0.03128672391176224, 0.017656425014138222, 0.017213018611073494, 0.05466308444738388, 0.05852958559989929, 0.014011627994477749, -0.012885376811027527, -0.045333825051784515, -0.04788784310221672, -0.01480975840240717, 0.03859405219554901, -0.014925044029951096, 0.046752724796533585, -0.06615617126226425, -0.01901324652135372, -0.03270562365651131, -0.007755170110613108, -0.06438254565000534, -0.07211554050445557, 0.10606270283460617, -0.02536282129585743, -0.02172689139842987, 0.016574515029788017, -0.0077108293771743774, 0.013940682634711266, 0.040651459246873856, 0.01755000837147236, -0.017496798187494278, -0.011918751522898674, -0.0328652486205101, 0.0640278160572052, -0.03650117665529251, -0.0397646464407444, 0.02628510445356369, -0.04143185168504715, -0.0337165892124176, 0.003695788560435176, -0.009870216250419617, -0.007165440358221531, -0.0078083788976073265, 0.036288343369960785, -0.01117383036762476, -0.011564027518033981, 0.007777340244501829, -0.026976818218827248, -0.0656595528125763, -0.0008225180208683014, -0.020361201837658882, 0.020786870270967484, 0.02862628735601902, -0.05987754091620445, 0.009896820411086082, 0.025593390688300133, 0.04888107255101204, -0.02105291374027729, -0.014951649121940136, 0.027916839346289635, 0.03916161507368088, -0.04320547729730606, 0.014446165412664413, -0.013550485484302044, 0.019119665026664734, -0.057962026447057724, 0.023039372637867928, -0.012574993073940277, 0.00195542024448514, 0.02000647597014904, 0.020538562908768654, 0.09676891565322876, 0.0640278160572052, 0.029637252911925316, 0.04717839136719704, -0.008083290420472622, 0.06370856612920761, 0.044659845530986786, -0.026568884029984474, 0.04192846640944481, 0.045830439776182175, 0.00812319666147232, 0.004859729204326868, -0.08130291849374771, -0.019793640822172165, 0.053457021713256836, -0.017257358878850937, -0.023535987362265587, -0.03384074196219444, -0.018445687368512154, 0.011901015415787697, 0.016778480261564255, -0.0368204303085804, -0.004664630629122257, -0.005750975105911493, -0.027916839346289635, 0.012184795923531055, -0.04153826832771301, -0.011094016954302788, 0.01846342347562313, 0.003174786688759923, -0.02518545836210251, 0.05902620032429695, -0.04426965117454529, 0.03212032839655876, 0.022666912525892258, -0.023252207785844803, 0.028236091136932373, 0.019048718735575676, -0.01563449390232563, -0.007302896119654179, -0.01098759938031435, 0.0069925119169056416, -0.060728877782821655, 0.01723075471818447, 0.016698667779564857, 0.035738520324230194, -0.0251145139336586, 0.0021272399462759495, -0.015262032859027386, 0.04402134194970131, 0.0355788916349411, 0.013080475851893425, -0.04629158228635788, 0.0249194148927927, -0.0018079878063872457, 0.017957940697669983, -0.02272012084722519, 0.05406005308032036, 0.06264439225196838, 0.010978731326758862, -0.03969370201230049, -0.04778142645955086, -0.00929378904402256, -0.016521304845809937, 0.02516772225499153, 0.005081432405859232, -0.023979393765330315, -0.020414410158991814, -0.08768796175718307, 0.0010392327094450593, -0.03238637000322342, -0.07083853334188461, -0.04831351339817047, -0.0036580990999937057, 0.05959375947713852, -0.0385231077671051, 0.05608198419213295, -0.0038753680419176817, -0.008242916315793991, 0.04338283836841583, 0.00573767302557826, 0.012096114456653595, 0.013346519321203232, 0.014463902451097965, -0.0737118050456047, 0.007874889299273491, -0.0066422210074961185, 0.0069570392370224, 0.05636576563119888, -0.03760082647204399, -0.021443111822009087, 0.01803775317966938, -0.01963401585817337, -0.020840080454945564, 0.013993891887366772, 0.03639476001262665, -0.0036558820866048336, -0.040722403675317764, 0.04352472722530365, -0.04228319227695465, 0.015661098062992096, 0.007285159546881914, 0.031428612768650055, -0.027118707075715065, 0.030577274039387703, 0.02640925906598568, 0.04111259803175926, -0.006806281395256519, -0.0025673203635960817, -0.003569417865946889, -0.04735575616359711, -0.0012470792280510068, 0.02820061892271042, -0.039551809430122375, -0.06168663501739502, -0.02506130374968052, -0.023855241015553474, -0.07576920837163925, 0.00524992635473609, -0.04210582748055458, 0.007803944870829582, 0.0657304972410202, 0.02055629901587963, 0.014277671463787556, 0.029105165973305702, -0.002902091946452856, -0.034692082554101944, -0.06647542119026184, -0.022791065275669098, 0.04363114386796951, 0.0006501439493149519, -0.02892780490219593, 0.0003500135790091008, 0.05966470390558243, -0.020822344347834587, -0.002048535505309701, -0.03016934171319008, -0.07576920837163925, 0.05966470390558243, 0.010703819803893566, -0.05409552529454231, 0.013160288333892822, -0.05597556754946709, 0.01643262431025505, -0.0042167906649410725, 0.03408905118703842, -0.06051604449748993, 0.012991794385015965, 0.03607550635933876, 0.05239284783601761, 0.07811038941144943, -0.008136498741805553, 0.031002944335341454, -0.001865630503743887, 0.03047085739672184, 0.015510340221226215, 0.039800118654966354, -0.02424543723464012, 0.012051774188876152, 0.05966470390558243, -0.03016934171319008, 0.06094171479344368, -0.04788784310221672, 0.04824256896972656, -0.0544147789478302, 0.01619318500161171, -0.06179305166006088, -0.002213704166933894, 0.06927774846553802, -0.05313776805996895, 0.007125533651560545, 0.018303798511624336, 0.02481299638748169, 0.024351855739951134, 0.043985869735479355, -0.005883996840566397, -0.030258022248744965, 0.011218170635402203, 0.024387327954173088, 0.0021305656991899014, 0.030949736014008522, -0.03664306923747063, 0.05533706396818161, 0.00858877319842577, 0.015368450433015823, 0.03912614285945892, -0.047497645020484924, -0.004440710414201021, -0.0031127098482102156, 0.016281867399811745, 0.002649350557476282, -0.012982926331460476, 0.03944539278745651, -0.06033868342638016, -0.028466662392020226, 0.01649470068514347, -0.031127097085118294, 0.017638688907027245, 0.009014442563056946, -0.021070651710033417, -0.01908419281244278, 0.015262032859027386, -0.0016018040478229523, 0.01723075471818447, 0.0184102151542902, 0.010136259719729424, 0.015377318486571312, -0.05977112054824829, 0.07591109722852707, -0.004207922611385584, 0.02683492749929428, -0.008801608346402645, 0.01148421410471201, 0.013311047106981277, 0.026515675708651543, -0.03458566591143608, -0.008633113466203213, 0.049519576132297516, 0.029832351952791214, 0.0068639242090284824, 0.021531792357563972, 0.024883942678570747, -0.033893950283527374, 0.012512915767729282, 0.00911642611026764, -0.02117706835269928, 0.013186893425881863, -0.07105136662721634, 0.011280247010290623, 0.02167368307709694, -0.049093905836343765, 0.01846342347562313, -0.00203079916536808, -0.060728877782821655, 0.04075787588953972, -0.015244296751916409, 0.006025887094438076, -0.0008995598182082176, -0.0190309826284647, -0.05874241888523102, -0.02160273864865303, -0.006668825633823872, 0.007537900935858488, 0.03208485618233681, -0.033521488308906555, 0.005777579732239246, -0.04685914143919945, -0.022791065275669098, -0.0803806334733963, 0.014047100208699703, 0.01237102597951889, 0.01601582206785679, 0.05884883925318718, 0.02665756642818451, 0.043737564235925674, 0.005640123505145311, 0.03823933005332947, 0.0034962559584528208, 0.05430836230516434, -0.06204136088490486, 0.0024963754694908857, 0.026639830321073532, 0.04512098804116249, 0.02412128448486328, 0.03809743747115135, -0.02264917641878128, 0.007803944870829582, 0.0018623049836605787, -0.018268324434757233, -0.008282823488116264, 0.0002609166840557009, -0.017257358878850937, -0.006220985669642687, -0.012743487022817135, -0.00380885717459023, 0.021957462653517723, -0.02892780490219593, 0.01630847156047821, 0.06342478841543198, -0.07399558275938034, -0.017576612532138824, 0.028821386396884918, 0.03233316168189049, -0.01375445257872343, 0.015421658754348755, 0.01755000837147236, 0.0724702700972557, -0.01425106730312109, -0.003168135415762663, 0.00873953104019165, -0.040651459246873856, 0.011581763625144958, -0.006730902474373579, 0.03270562365651131, 0.08995819836854935, 0.055620841681957245, 0.008566603064537048, -0.04221224784851074, -0.02708323486149311, 0.005116904620081186, -0.033397335559129715, 0.005476063583046198, -0.009089821949601173, 0.04384398087859154, 0.02646246738731861, 0.06012584641575813, -0.020591773092746735, 0.011599499732255936, 0.00877500418573618, 0.014765418134629726, 0.06104813143610954, 0.0139140784740448, -0.04370209202170372, 0.009728326462209225, -0.03664306923747063, -0.10414718836545944, 0.002948649460449815, 0.04444701224565506, -0.01680508628487587, -0.018392479047179222, -0.01760321669280529, -0.005644557531923056, 0.05132867395877838, -0.012574993073940277, 0.03969370201230049, -0.007462522014975548, 0.006371743511408567, -0.031481821089982986, 0.0737118050456047, -0.01000323798507452, 0.012238004244863987, 0.0338762141764164, -0.042141303420066833, 0.006145606283098459, -0.026675302535295486, 0.005068129859864712, 0.01785152405500412, 0.0023190132342278957, -0.004549345001578331, -0.048668235540390015, 0.016219789162278175, 0.021212540566921234, -0.014969385229051113, 0.0665108934044838, 0.033450543880462646, -0.0008114328957162797, -0.0009305982384830713, 0.0125572569668293, -0.029193848371505737, 0.0278281569480896, -0.01595374569296837 ]
719,936
ibm_platform_services.resource_controller_v2
list_resource_aliases
Get a list of all resource aliases. View all of the resource aliases that exist for every resource instance. :param str guid: (optional) The GUID of the alias. :param str name: (optional) The human-readable name of the alias. :param str resource_instance_id: (optional) The ID of the resource instance. :param str region_instance_id: (optional) The ID of the instance in the target environment. For example, `service_instance_id` in a given IBM Cloud environment. :param str resource_id: (optional) The unique ID of the offering (service name). This value is provided by and stored in the global catalog. :param str resource_group_id: (optional) The ID of the resource group. :param int limit: (optional) Limit on how many items should be returned. :param str start: (optional) An optional token that indicates the beginning of the page of results to be returned. Any additional query parameters are ignored if a page token is present. If omitted, the first page of results is returned. This value is obtained from the 'start' query parameter in the 'next_url' field of the operation response. :param str updated_from: (optional) Start date inclusive filter. :param str updated_to: (optional) End date inclusive filter. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse with `dict` result representing a `ResourceAliasesList` object
def list_resource_aliases( self, *, guid: str = None, name: str = None, resource_instance_id: str = None, region_instance_id: str = None, resource_id: str = None, resource_group_id: str = None, limit: int = None, start: str = None, updated_from: str = None, updated_to: str = None, **kwargs, ) -> DetailedResponse: """ Get a list of all resource aliases. View all of the resource aliases that exist for every resource instance. :param str guid: (optional) The GUID of the alias. :param str name: (optional) The human-readable name of the alias. :param str resource_instance_id: (optional) The ID of the resource instance. :param str region_instance_id: (optional) The ID of the instance in the target environment. For example, `service_instance_id` in a given IBM Cloud environment. :param str resource_id: (optional) The unique ID of the offering (service name). This value is provided by and stored in the global catalog. :param str resource_group_id: (optional) The ID of the resource group. :param int limit: (optional) Limit on how many items should be returned. :param str start: (optional) An optional token that indicates the beginning of the page of results to be returned. Any additional query parameters are ignored if a page token is present. If omitted, the first page of results is returned. This value is obtained from the 'start' query parameter in the 'next_url' field of the operation response. :param str updated_from: (optional) Start date inclusive filter. :param str updated_to: (optional) End date inclusive filter. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse with `dict` result representing a `ResourceAliasesList` object """ headers = {} sdk_headers = get_sdk_headers( service_name=self.DEFAULT_SERVICE_NAME, service_version='V2', operation_id='list_resource_aliases' ) headers.update(sdk_headers) params = { 'guid': guid, 'name': name, 'resource_instance_id': resource_instance_id, 'region_instance_id': region_instance_id, 'resource_id': resource_id, 'resource_group_id': resource_group_id, 'limit': limit, 'start': start, 'updated_from': updated_from, 'updated_to': updated_to, } if 'headers' in kwargs: headers.update(kwargs.get('headers')) del kwargs['headers'] headers['Accept'] = 'application/json' url = '/v2/resource_aliases' request = self.prepare_request(method='GET', url=url, headers=headers, params=params) response = self.send(request, **kwargs) return response
(self, *, guid: Optional[str] = None, name: Optional[str] = None, resource_instance_id: Optional[str] = None, region_instance_id: Optional[str] = None, resource_id: Optional[str] = None, resource_group_id: Optional[str] = None, limit: Optional[int] = None, start: Optional[str] = None, updated_from: Optional[str] = None, updated_to: Optional[str] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
[ 0.0021655485033988953, -0.06830758601427078, 0.019139323383569717, -0.04055190086364746, -0.003765075234696269, 0.054044757038354874, -0.014675314538180828, -0.0605345256626606, 0.00018633455329108983, -0.035473745316267014, -0.03090890683233738, -0.0104404641315341, 0.037838663905858994, -0.009606326930224895, 0.012777881696820259, 0.038718629628419876, -0.03450211510062218, 0.028507325798273087, 0.02471246011555195, 0.02113758586347103, 0.01865350641310215, 0.042971815913915634, 0.0018687881529331207, -0.043191805481910706, 0.013978672213852406, 0.04733499512076378, 0.038901958614587784, -0.011769584380090237, -0.0019593057222664356, 0.01853434555232525, -0.019267652183771133, -0.03644537925720215, 0.02368582971394062, 0.05052487924695015, -0.0009091866086237133, -0.0013016206212341785, 0.020330948755145073, 0.0008347100811079144, -0.03521708771586418, 0.058554597198963165, 0.008813438005745411, -0.015197795815765858, 0.007956385612487793, -0.044291768223047256, 0.08990348875522614, 0.03813198581337929, 0.009532996453344822, -0.05195482820272446, -0.0008604904287494719, -0.009587994776666164, 0.056867990642786026, -0.02049594186246395, -0.019065992906689644, -0.013942006975412369, 0.023979151621460915, 0.003941527102142572, -0.03776533156633377, 0.034208789467811584, 0.0023454378824681044, 0.0052248151041567326, 0.021155918017029762, -0.015912771224975586, 0.013309529051184654, -0.07655729353427887, -0.034832101315259933, 0.014216997660696507, -0.0032265526242554188, -0.02430914156138897, -0.07505401223897934, 0.016380254179239273, 0.03602372482419014, 0.05199149623513222, -0.00085877173114568, -0.06075451895594597, -0.0013726598117500544, 0.007094749249517918, -0.0027888596523553133, 0.05008489638566971, -0.05870125815272331, -0.08997681736946106, -0.04898493364453316, 0.04113854467868805, -0.009743821807205677, 0.014244496822357178, 0.041028548032045364, 0.016013599932193756, -0.06830758601427078, -0.018580175936222076, -0.00234887539409101, -0.03565707430243492, 0.022219214588403702, -0.016921067610383034, -0.025684092193841934, 0.012548723258078098, 0.03182554244995117, -0.014024504460394382, -0.04458509013056755, -0.04608837142586708, 0.00645768828690052, 0.02023928426206112, -0.034245457500219345, -0.07831723242998123, 0.0679042637348175, 0.02066093683242798, 0.04198184981942177, -0.050891533493995667, -0.093863345682621, 0.01300704013556242, 0.014070335775613785, 0.03923194482922554, -0.03206386789679527, 0.02771902084350586, 0.03705035522580147, 0.0038956955540925264, 0.014528652653098106, 0.029277298599481583, 0.04737165942788124, 0.0008633548859506845, -0.0012752674520015717, -0.06621766090393066, 0.039745260030031204, -0.013282030820846558, 0.0370686911046505, -0.0521014928817749, -0.015527784824371338, -0.049828238785266876, -0.061341166496276855, 0.04839828982949257, -0.05147818103432655, -0.007278075907379389, -0.045318398624658585, 0.010577959008514881, -0.048544950783252716, 0.037875328212976456, 0.0625511184334755, -0.013483690097928047, 0.03580373525619507, 0.06805092841386795, -0.039158616214990616, 0.04953491687774658, -0.003524458734318614, 0.04623503237962723, -0.0005342258955352008, 0.002974478295072913, -0.032943833619356155, -0.032338857650756836, 0.04238516837358475, 0.057857953011989594, -0.0041386038064956665, 0.012127071619033813, -0.004221100825816393, -0.02946062572300434, 0.030560586601495743, 0.015491118654608727, -0.0015869230264797807, -0.03142222389578819, -0.03155055269598961, -0.024565797299146652, -0.007378906011581421, -0.011650421656668186, -0.034337118268013, -0.038058653473854065, -0.03173387795686722, -0.017773538827896118, -0.014125334098935127, -0.04905826598405838, -0.07058084011077881, -0.025720756500959396, -0.011027109809219837, -0.04033190757036209, -0.07795057445764542, -0.025005782023072243, 0.00018003270088229328, -0.013254531659185886, -0.011146272532641888, 0.04267849028110504, 0.009606326930224895, -0.022475872188806534, -0.003613830544054508, -0.044035110622644424, 0.0007012251880951226, -0.04535506293177605, 0.01568361185491085, -0.040625229477882385, -0.033163826912641525, 0.009606326930224895, -0.030982237309217453, 0.06376107782125473, -0.027645688503980637, 0.0028392747044563293, 0.03006560355424881, 0.01915765553712845, -0.009862984530627728, 0.04117521271109581, -0.06438439339399338, -0.042531829327344894, -0.01686607114970684, -0.014070335775613785, 0.03584039956331253, -0.00950549729168415, -0.05859126150608063, 0.04887494072318077, -0.010715454816818237, 0.05503471940755844, 0.035473745316267014, 0.031898871064186096, 0.008066381327807903, -0.010532127693295479, -0.01566527970135212, -0.03725201636552811, -0.051514845341444016, 0.0016396294813603163, -0.030817244201898575, 0.006104784086346626, -0.047701645642519, 0.05012156069278717, 0.008639277890324593, -0.011155438609421253, 0.013887008652091026, -0.02775568515062332, -0.025482432916760445, -0.07795057445764542, -0.025940749794244766, -0.056171346455812454, -0.0147028136998415, 0.016921067610383034, 0.010944613255560398, 0.022457540035247803, -0.0044708834029734135, -0.003991942387074232, 0.0034419617149978876, -0.014711979776620865, 0.06145115941762924, 0.01869017258286476, -0.005486056208610535, 0.033603813499212265, 0.005444807466119528, 0.012218735180795193, 0.006544768810272217, 0.034465447068214417, -0.018039362505078316, 0.051294852048158646, 0.007383489049971104, 0.013612018898129463, -0.0261974073946476, -0.02256753481924534, -0.02517077699303627, 0.027040710672736168, 0.013887008652091026, -0.12935543060302734, -0.02324584499001503, 0.002946979133412242, 0.031880538910627365, -0.03794865682721138, -0.023337507620453835, -0.05048821493983269, -0.028067341074347496, -0.04139520227909088, -0.009422999806702137, -0.005023155827075243, -0.02667405642569065, 0.006787676829844713, -0.05371476709842682, -0.01588527113199234, -0.01979929953813553, 0.034465447068214417, 0.016976065933704376, 0.012906210497021675, -0.025005782023072243, 0.03463044390082359, 0.03127555921673775, 0.009679657407104969, -0.03048725612461567, -0.014675314538180828, 0.035070426762104034, 0.08403702825307846, 0.05796794965863228, -0.08440368622541428, -0.024877453222870827, -0.016911901533603668, -0.01537195686250925, 0.025280773639678955, 0.012777881696820259, 0.06310110539197922, 0.10742953419685364, -0.05782128870487213, 0.007960968650877476, 0.08719024807214737, -0.06537435203790665, 0.014226163737475872, 0.04898493364453316, -0.021650901064276695, 0.004958991426974535, -0.043191805481910706, 0.007048917468637228, 0.04627169668674469, -0.022915856912732124, -0.003966734744608402, 0.019560975953936577, -0.01513363141566515, -0.0661809965968132, 0.010000479407608509, 0.04634502902626991, 0.02192589081823826, -0.04953491687774658, -0.018864333629608154, 0.045538391917943954, 0.028305666521191597, 0.034245457500219345, -0.008098463527858257, -0.04601503908634186, 0.03391546756029129, 0.01482197642326355, -0.04825162887573242, -0.004862744826823473, -0.050414882600307465, 0.010000479407608509, 0.07648396492004395, 0.022347543388605118, 0.024364138022065163, -0.04377845302224159, 0.06515436619520187, -0.005880208685994148, -0.06343109160661697, 0.11791583150625229, 0.03068891540169716, 0.008813438005745411, 0.07281742244958878, 0.10002312809228897, 0.0003007706254720688, -0.02583075314760208, -0.0907101258635521, -0.04121187701821327, -0.04117521271109581, -0.058811254799366, -0.06137783080339432, 0.00890510156750679, 0.00004851716585108079, -0.03178887441754341, 0.03668370470404625, 0.011815415695309639, 0.023154182359576225, -0.005628134589642286, 0.001184749766252935, 0.00687017384916544, 0.036152053624391556, 0.05397142469882965, -0.037013690918684006, -0.04286181926727295, -0.02113758586347103, 0.008455950766801834, 0.06233112886548042, 0.028837313875555992, 0.032118864357471466, 0.055768027901649475, -0.038461972028017044, -0.02535410411655903, -0.014831142500042915, -0.01482197642326355, 0.06625432521104813, -0.06537435203790665, -0.05503471940755844, -0.05624467879533768, -0.04781164228916168, 0.021229250356554985, -0.02113758586347103, -0.019102657213807106, -0.06181781366467476, 0.028433995321393013, -0.027022378519177437, -0.07897720485925674, -0.018415182828903198, 0.002202213741838932, -0.008318455889821053, 0.02366749756038189, -0.048068299889564514, -0.01064212340861559, 0.026142409071326256, -0.024657461792230606, 0.034648776054382324, -0.0010827742516994476, -0.0055868858471512794, 0.009340503253042698, 0.002722403733059764, 0.0024061650037765503, -0.013410359621047974, 0.03221052885055542, -0.014070335775613785, -0.026362400501966476, 0.044035110622644424, 0.010843783617019653, 0.0174068845808506, -0.0019134740578010678, 0.018066860735416412, -0.007113081868737936, -0.010000479407608509, -0.05723464488983154, -0.012337896972894669, -0.011833748780190945, -0.06306443363428116, -0.009299254976212978, 0.047261662781238556, 0.03820531442761421, 0.009290087968111038, 0.02733403444290161, -0.029533956199884415, 0.05719797685742378, -0.022952521219849586, -0.006072701886296272, 0.030377259477972984, 0.02434580586850643, -0.08425702154636383, 0.007983884774148464, -0.02856232412159443, -0.01003714557737112, 0.04608837142586708, -0.0019890964031219482, 0.06658431142568588, 0.04440176486968994, -0.02300751954317093, 0.018296020105481148, -0.04245850071310997, 0.023612499237060547, -0.004656502045691013, 0.03646371141076088, -0.026820719242095947, -0.00851553212851286, 0.0006204468081705272, -0.014794477261602879, -0.05496139079332352, 0.027884013950824738, 0.02049594186246395, 0.023539168760180473, -0.026307404041290283, 0.013547854498028755, 0.023337507620453835, 0.04905826598405838, -0.016261091455817223, 0.0029034391045570374, -0.005009406246244907, 0.0592879056930542, -0.00891426857560873, 0.0009395501110702753, 0.010550460778176785, -0.04542839527130127, -0.0036000809632241726, -0.00923509057611227, -0.007718060631304979, 0.0592879056930542, -0.06669431179761887, 0.05136818438768387, 0.007291825488209724, 0.029295630753040314, -0.039121951907873154, -0.008465117774903774, -0.05015822499990463, 0.02220088243484497, -0.015637779608368874, -0.05723464488983154, -0.023135848343372345, 0.036812033504247665, -0.009299254976212978, -0.028635654598474503, 0.002878231694921851, 0.027590692043304443, 0.03780199587345123, 0.0176727082580328, -0.011017943732440472, 0.012622053734958172, -0.024474134668707848, -0.001682023867033422, 0.022219214588403702, -0.03279717266559601, 0.017397718504071236, 0.020569272339344025, -0.002246899763122201, 0.0032150945626199245, 0.010156307369470596, -0.030432257801294327, 0.036152053624391556, 0.022769195958971977, -0.00730557506904006, 0.028873980045318604, 0.004729832988232374, 0.01224623341113329, -0.0036069557536393404, 0.03600539267063141, 0.00010484004451427609, -0.09430333226919174, 0.01513363141566515, 0.01853434555232525, -0.009248839691281319, -0.03202719986438751, 0.01671024225652218, -0.05518138408660889, 0.0015800483524799347, 0.02898397482931614, -0.009450498968362808, 0.02793901227414608, 0.010082976892590523, 0.05345810949802399, -0.09738322347402573, 0.05070820823311806, -0.01672857441008091, 0.04971824213862419, 0.026105742901563644, -0.0051285685040056705, -0.009789654053747654, 0.01504196785390377, 0.0045235902070999146, -0.010458797216415405, 0.04220184311270714, 0.0844770148396492, 0.03030392900109291, -0.012310397811233997, 0.058774590492248535, -0.036995358765125275, 0.03560207411646843, 0.06126783415675163, 0.013951173052191734, -0.023594165220856667, 0.04601503908634186, -0.04113854467868805, 0.001111991936340928, -0.0016510874265804887, -0.03860863670706749, -0.025739090517163277, -0.023154182359576225, -0.04304514452815056, -0.00538064306601882, -0.02966228500008583, -0.022860858589410782, -0.03694036230444908, -0.05356810614466667, -0.050048232078552246, 0.062367796897888184, -0.07611730694770813, 0.01979929953813553, 0.002717820694670081, 0.030670583248138428, 0.06698763370513916, 0.00835512112826109, -0.045538391917943954, -0.05675799399614334, -0.024639129638671875, -0.023502502590417862, 0.023557500913739204, -0.045318398624658585, 0.03860863670706749, 0.009230506606400013, 0.06658431142568588, -0.06746428459882736, 0.02407081611454487, 0.03373214229941368, -0.065704345703125, 0.03670203685760498, -0.011384597979485989, -0.054924726486206055, -0.014546985737979412, -0.017901867628097534, 0.004221100825816393, 0.0733674094080925, 0.018525177612900734, -0.022659199312329292, 0.02157757058739662, 0.060864515602588654, 0.04143187031149864, 0.05441141128540039, -0.0104404641315341, 0.0002543659938964993, -0.044878412038087845, -0.021064255386590958, -0.016380254179239273, 0.014794477261602879, -0.026270737871527672, 0.023172514513134956, 0.0854303166270256, -0.06163448840379715, 0.07190079241991043, -0.013300362974405289, 0.041725192219018936, -0.02176089771091938, -0.03694036230444908, -0.03794865682721138, 0.021155918017029762, 0.07142414152622223, 0.051514845341444016, 0.059177909046411514, -0.008323038928210735, -0.030670583248138428, -0.026545727625489235, 0.010697121731936932, -0.014152833260595798, 0.007232244126498699, -0.030798912048339844, 0.0190109945833683, 0.030560586601495743, -0.018681006506085396, -0.009354252368211746, 0.020642602816224098, 0.01770937442779541, 0.0275356937199831, 0.016398586332798004, 0.002481787232682109, 0.01781020313501358, 0.030010605230927467, 0.015481952577829361, -0.05378809943795204, -0.09870317578315735, 0.02240254171192646, -0.031055569648742676, -0.030212264508008957, 0.028195669874548912, -0.06339442729949951, -0.012209568172693253, -0.03516209125518799, -0.004349429626017809, 0.036812033504247665, 0.026179075241088867, 0.03140388801693916, 0.007264326326549053, 0.03114723227918148, 0.021797562018036842, 0.03712368756532669, -0.06401773542165756, 0.043228473514318466, 0.01869017258286476, 0.035253752022981644, -0.02392415516078472, 0.022494204342365265, -0.015087800100445747, -0.003267801133915782, 0.013639518059790134, 0.04366845637559891, 0.039121951907873154, -0.00007812874537194148, 0.036757033318281174, 0.002523035742342472, 0.00597645528614521, -0.01981763355433941, -0.004677126184105873, 0.03985525667667389, -0.003116556443274021, 0.08389037102460861, -0.003707785625010729, 0.06999418884515762, -0.05081820487976074, -0.033163826912641525, -0.0373070128262043, -0.00827262457460165, 0.028049008920788765, 0.08330371975898743, -0.008465117774903774, 0.008964682929217815, -0.008066381327807903, 0.011549592018127441, -0.060901179909706116, -0.03389713540673256, 0.002545951632782817, 0.0020532608032226562, 0.050451550632715225, 0.004734416026622057, -0.020642602816224098, -0.024162478744983673, 0.029808945953845978, -0.020770931616425514, -0.035950396209955215, 0.008671360090374947, 0.014968637377023697, 0.07061750441789627, 0.041688527911901474, 0.0015468202764168382, -0.004789413884282112, 0.04931492358446121, -0.01513363141566515, 0.031000571325421333, 0.026399066671729088, -0.024804122745990753, -0.0015078634023666382, 0.009496331214904785, -0.045721717178821564, -0.025189109146595, -0.006375191267579794, 0.042751822620630264, -0.04759165272116661, 0.006975586526095867, 0.008978432975709438, -0.016169428825378418, 0.03626205027103424, 0.005889375228434801, 0.03024893067777157, -0.04861828312277794, -0.015426954254508018, 0.004441093187779188, 0.009299254976212978, 0.0004909722483716905, -0.0392686128616333, -0.07523734122514725, -0.0042508915066719055, 0.0017049397574737668, 0.03270551189780235, -0.02685738354921341, 0.04663835093379021, 0.024474134668707848, -0.007149747107177973, 0.020569272339344025, -0.03202719986438751, -0.03470377251505852, -0.032925501465797424, 0.039378609508275986, 0.031898871064186096, 0.016801906749606133, 0.04946158453822136, -0.004913159646093845, 0.053201451897621155, -0.05118485540151596, 0.01600443385541439, -0.02236587554216385, 0.03373214229941368, 0.030633917078375816, 0.03090890683233738, 0.03776533156633377, 0.03072557970881462, 0.010220471769571304, 0.01634358800947666, 0.006631848867982626, -0.04583171382546425, 0.08132379502058029, -0.056867990642786026, -0.010926280170679092, -0.03651870787143707, -0.004276098683476448, -0.05628134310245514, -0.03780199587345123, 0.04781164228916168, -0.02407081611454487, 0.03072557970881462, 0.024675793945789337, -0.011237936094403267, 0.024584131315350533, 0.026564061641693115, 0.06027786806225777, -0.04132187366485596, -0.0026238656137138605, -0.002995102433487773, 0.00927633885294199, 0.033970464020967484, 0.024602463468909264, 0.021210916340351105, -0.03560207411646843, 0.028855646029114723, 0.011943744495511055, -0.004626711364835501, 0.043008480221033096, 0.010449630208313465, -0.051331520080566406, -0.023612499237060547, 0.05008489638566971, 0.03349381685256958, -0.003533625043928623, -0.00225606607273221, 0.014189498499035835, -0.005935207009315491, 0.008258874528110027, -0.019780967384576797, 0.022530870512127876, 0.013511189259588718, -0.02392415516078472 ]
719,937
ibm_platform_services.resource_controller_v2
list_resource_aliases_for_instance
Get a list of all resource aliases for the instance. Retrieving a list of all resource aliases can help you find out who's using the resource instance. :param str id: The resource instance URL-encoded CRN or GUID. :param int limit: (optional) Limit on how many items should be returned. :param str start: (optional) An optional token that indicates the beginning of the page of results to be returned. Any additional query parameters are ignored if a page token is present. If omitted, the first page of results is returned. This value is obtained from the 'start' query parameter in the 'next_url' field of the operation response. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse with `dict` result representing a `ResourceAliasesList` object
def list_resource_aliases_for_instance( self, id: str, *, limit: int = None, start: str = None, **kwargs ) -> DetailedResponse: """ Get a list of all resource aliases for the instance. Retrieving a list of all resource aliases can help you find out who's using the resource instance. :param str id: The resource instance URL-encoded CRN or GUID. :param int limit: (optional) Limit on how many items should be returned. :param str start: (optional) An optional token that indicates the beginning of the page of results to be returned. Any additional query parameters are ignored if a page token is present. If omitted, the first page of results is returned. This value is obtained from the 'start' query parameter in the 'next_url' field of the operation response. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse with `dict` result representing a `ResourceAliasesList` object """ if not id: raise ValueError('id must be provided') headers = {} sdk_headers = get_sdk_headers( service_name=self.DEFAULT_SERVICE_NAME, service_version='V2', operation_id='list_resource_aliases_for_instance', ) headers.update(sdk_headers) params = {'limit': limit, 'start': start} if 'headers' in kwargs: headers.update(kwargs.get('headers')) del kwargs['headers'] headers['Accept'] = 'application/json' path_param_keys = ['id'] path_param_values = self.encode_path_vars(id) path_param_dict = dict(zip(path_param_keys, path_param_values)) url = '/v2/resource_instances/{id}/resource_aliases'.format(**path_param_dict) request = self.prepare_request(method='GET', url=url, headers=headers, params=params) response = self.send(request, **kwargs) return response
(self, id: str, *, limit: Optional[int] = None, start: Optional[str] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
[ 0.018263379111886024, -0.06809955090284348, 0.03422421216964722, -0.048667456954717636, -0.002738634590059519, 0.07521651685237885, 0.005956966429948807, -0.060354623943567276, 0.022746367380023003, -0.0031354750972241163, -0.03900374099612236, -0.015053768642246723, 0.04479499161243439, -0.02157765068113804, 0.022973133251070976, 0.03582901507616043, -0.02326967380940914, 0.019833296537399292, 0.016440529376268387, 0.014861890114843845, 0.006898917257785797, 0.07612358033657074, -0.00798913836479187, -0.020496150478720665, 0.03075294941663742, 0.07465831935405731, 0.02956678904592991, -0.001609165919944644, 0.001825029612518847, -0.010849877260625362, -0.008756653405725956, -0.02372320555150509, 0.01460895873606205, 0.04329485073685646, -0.006693955976516008, -0.032427527010440826, 0.020164724439382553, 0.015184595249593258, -0.08617105334997177, 0.10724283754825592, 0.01194882020354271, -0.0023701400496065617, 0.004858023952692747, -0.0670180544257164, 0.04165515676140785, 0.01542880479246378, 0.003316451795399189, -0.053656306117773056, -0.012655283324420452, -0.05484246835112572, 0.035619694739580154, -0.017155714333057404, -0.015149708837270737, -0.027525894343852997, 0.030700618401169777, 0.01924021728336811, -0.04057365655899048, 0.06150589883327484, 0.02637462131679058, -0.004424116108566523, 0.021263666450977325, -0.03670119494199753, 0.025921089574694633, -0.06666918098926544, -0.007840868085622787, 0.020740360021591187, -0.013902495615184307, -0.003142016474157572, -0.06590166687965393, 0.02628740482032299, 0.03705006465315819, 0.023391777649521828, -0.002087772823870182, -0.04591137915849686, 0.005961327347904444, -0.0009850144851952791, -0.010291684418916702, 0.018315710127353668, -0.02269403636455536, -0.0747280940413475, -0.04462055861949921, 0.017844734713435173, 0.0037787053734064102, -0.007962972857058048, 0.03111926279962063, 0.004980128724128008, -0.04559739679098129, -0.03420676663517952, -0.03886419162154198, -0.02166486717760563, 0.014600236900150776, -0.008822066709399223, -0.04769061878323555, 0.021281110122799873, -0.011259800754487514, -0.015446248464286327, -0.022973133251070976, -0.05334232375025749, -0.02576409839093685, 0.021874191239476204, -0.03799201548099518, -0.05745899677276611, 0.05948244780302048, 0.021717198193073273, 0.04434145987033844, -0.09007840603590012, -0.079054094851017, -0.008656353689730167, 0.003743818262591958, 0.04594626650214195, -0.00528539065271616, 0.04228312522172928, 0.04946985840797424, 0.004762084688991308, 0.03560224920511246, 0.003054798813536763, 0.04769061878323555, -0.0005004113772884011, -0.014739785343408585, -0.07444899529218674, 0.028746942058205605, -0.01120746973901987, 0.016946392133831978, -0.011974985711276531, -0.018420370295643806, -0.028991151601076126, -0.02852017618715763, 0.008769736625254154, -0.03172978758811951, -0.042318012565374374, -0.017391202971339226, 0.005359525326639414, -0.09056682139635086, 0.030822722241282463, 0.05247014760971069, -0.004818776156753302, 0.04629513621330261, 0.07507696747779846, -0.048841893672943115, 0.04528341069817543, -0.02396741509437561, 0.06342468410730362, -0.0049190763384103775, -0.012437239289283752, -0.03617788851261139, -0.02991565875709057, 0.017251653596758842, 0.07347216457128525, 0.03935261070728302, -0.004565844777971506, 0.004905993584543467, -0.0352359376847744, 0.05226082354784012, 0.02939235232770443, -0.0030984075274318457, -0.05533088743686676, -0.03160768002271652, -0.024804703891277313, 0.016702182590961456, -0.01018702331930399, -0.016091659665107727, -0.009236350655555725, -0.018943676725029945, -0.029497014358639717, -0.022484714165329933, -0.028746942058205605, -0.061750106513500214, -0.007827785797417164, -0.004687949549406767, -0.009297403506934643, -0.05868004634976387, -0.022188173606991768, 0.015411361120641232, -0.019728636369109154, -0.0279096532613039, 0.06398288160562515, 0.03900374099612236, -0.004849302116781473, 0.020496150478720665, -0.0038397577591240406, -0.03757337108254433, -0.026479283347725868, 0.005041181109845638, -0.029357466846704483, -0.00661545991897583, -0.0012733779149129987, 0.0023090876638889313, 0.07828657329082489, -0.014704897999763489, -0.01649286039173603, 0.02217072993516922, -0.009559055790305138, 0.00689455633983016, 0.03282872959971428, -0.07228600233793259, -0.03169490024447441, -0.015341587364673615, -0.04409725219011307, -0.0033142713364213705, 0.012855883687734604, -0.06398288160562515, 0.04186448082327843, -0.007797259371727705, 0.015995720401406288, 0.05379585549235344, 0.050656020641326904, 0.031223924830555916, -0.013353024609386921, -0.038794416934251785, -0.01855991967022419, -0.037154726684093475, 0.005983131937682629, -0.0395270474255085, 0.0038768253289163113, -0.02817130647599697, 0.01666729524731636, 0.015446248464286327, -0.02096712589263916, 0.03296827897429466, -0.019955402240157127, -0.007644628174602985, -0.07165803015232086, -0.04165515676140785, -0.029322579503059387, -0.03364857658743858, 0.01847270131111145, 0.02431628480553627, 0.0028694611974060535, -0.006349446251988411, -0.040608543902635574, 0.04130628705024719, -0.01734759286046028, 0.030979715287685394, 0.014190314337611198, -0.011163861490786076, 0.052365485578775406, 0.010945816524326801, 0.007853950373828411, 0.017583081498742104, 0.014914221130311489, -0.017722629010677338, 0.033299703150987625, 0.014888055622577667, -0.012184307910501957, -0.06809955090284348, 0.023042907938361168, -0.017417367547750473, 0.00936717726290226, 0.01318731065839529, -0.13012875616550446, 0.013440242037177086, -0.02501402609050274, 0.04681844264268875, -0.004448100924491882, -0.024438390508294106, -0.06551790982484818, -0.03464285656809807, -0.04451589658856392, 0.019466983154416084, -0.012829718180000782, -0.036317434161901474, 0.009785821661353111, -0.06136634945869446, -0.014190314337611198, -0.028886491432785988, 0.021717198193073273, -0.01607421599328518, 0.0412713997066021, -0.03316015750169754, 0.026339733973145485, 0.029619118198752403, 0.01026551891118288, -0.02792709693312645, -0.004967045970261097, 0.024351172149181366, 0.07179757952690125, 0.03462541475892067, -0.061401236802339554, -0.03326481580734253, -0.050307150930166245, -0.03687562793493271, -0.00021586372167803347, 0.023077793419361115, 0.01873435452580452, 0.08533376455307007, -0.07786793261766434, 0.047306861728429794, 0.13159401714801788, -0.026339733973145485, 0.005097872577607632, 0.04835347458720207, -0.013980992138385773, 0.002498786197975278, -0.053481873124837875, -0.0041537415236234665, 0.03628255054354668, -0.0227812547236681, -0.008045829832553864, -0.011669723317027092, -0.025502445176243782, -0.06544813513755798, -0.024159293621778488, 0.05833117291331291, 0.03760825842618942, -0.050411809235811234, 0.004297650419175625, 0.0489814393222332, 0.010806269012391567, 0.06750646978616714, -0.024438390508294106, -0.048248812556266785, 0.030979715287685394, -0.01241107378154993, -0.061226800084114075, -0.0046399799175560474, -0.03959681838750839, -0.010954538360238075, 0.05620306357741356, 0.023583656176924706, 0.03628255054354668, -0.059308011084795, 0.09810242801904678, 0.006611099001020193, -0.03722449764609337, 0.12063947319984436, 0.019728636369109154, 0.030892496928572655, 0.05390051752328873, 0.11052222549915314, 0.022711480036377907, -0.019658861681818962, -0.06419219821691513, -0.012541900388896465, -0.008486279286444187, -0.04462055861949921, -0.062343187630176544, 0.032950833439826965, -0.0012308593140915036, -0.03254963085055351, 0.04099230095744133, 0.030037764459848404, -0.01412926148623228, 0.006257867440581322, -0.0008629097719676793, 0.02998543344438076, 0.04591137915849686, 0.038445547223091125, -0.026444396004080772, -0.04015501216053963, -0.02286847122013569, 0.015516022220253944, 0.039666593074798584, 0.04353905841708183, 0.029270248487591743, 0.046783555299043655, -0.030787834897637367, -0.005124037619680166, -0.0030635204166173935, -0.028415516018867493, 0.04908610135316849, -0.05644727125763893, -0.05170263350009918, -0.09440439939498901, -0.033386923372745514, 0.016649851575493813, -0.011102808639407158, -0.010928373783826828, -0.08296144008636475, 0.04755106940865517, -0.025641992688179016, -0.07022766768932343, -0.0010602397378534079, -0.014931663870811462, -0.030281974002718925, 0.04169004410505295, -0.0206182561814785, -0.019030895084142685, 0.024420946836471558, -0.0068727522157132626, 0.03687562793493271, 0.008534248918294907, -0.010893486440181732, 0.020408933982253075, 0.009829430840909481, 0.013466407544910908, -0.010814990848302841, 0.0305087398737669, -0.004613814409822226, -0.0066590686328709126, 0.05355164781212807, 0.006406137719750404, -0.008835149928927422, -0.0083816172555089, 0.0031158511992543936, 0.006401776801794767, -0.013588512316346169, -0.05620306357741356, -0.02276381105184555, 0.027281684800982475, -0.03970148041844368, 0.02740379050374031, 0.05191195383667946, 0.048946551978588104, 0.03237519785761833, 0.03680585324764252, -0.02792709693312645, 0.06537836045026779, -0.06733203679323196, -0.009175298735499382, 0.003722013905644417, 0.0030569792725145817, -0.07263486832380295, 0.02354876883327961, -0.018577363342046738, 0.013300693593919277, 0.05208639055490494, -0.02775266021490097, 0.07326284050941467, 0.013021597638726234, -0.025118688121438026, 0.02698514610528946, -0.016719626262784004, 0.028502732515335083, -0.00009498548752162606, 0.01633586920797825, -0.015359031036496162, 0.016135267913341522, -0.02267659269273281, 0.01318731065839529, -0.059063803404569626, 0.025886202231049538, 0.031136706471443176, 0.014251366257667542, -0.026740936562418938, 0.0163184255361557, 0.012759944424033165, 0.040434110909700394, -0.032619405537843704, 0.014495575800538063, 0.00530283385887742, 0.015236926265060902, -0.02440350316464901, -0.013780390843749046, 0.01890878938138485, -0.025903645902872086, -0.005010654684156179, -0.006981774233281612, -0.018873902037739754, 0.04165515676140785, -0.05644727125763893, 0.03466029837727547, -0.01855991967022419, 0.042492445558309555, -0.023513883352279663, 0.0016582258976995945, -0.05058624595403671, 0.00352359376847744, 0.0063799722120165825, -0.03830599784851074, -0.040678318589925766, 0.019379764795303345, -0.009341011755168438, -0.024037187919020653, -0.012236637994647026, 0.0044415597803890705, 0.018873902037739754, 0.0066808732226490974, 0.03513127565383911, 0.011216191574931145, -0.028886491432785988, 0.031136706471443176, 0.02346155233681202, -0.015114821493625641, 0.005869749002158642, 0.04594626650214195, 0.05334232375025749, 0.023095237091183662, -0.01212325505912304, -0.01642308570444584, 0.005560126155614853, 0.022571932524442673, -0.016353312879800797, 0.04448100924491882, -0.01873435452580452, -0.030107537284493446, -0.010998147539794445, 0.04053876921534538, 0.003955320920795202, -0.08170551061630249, 0.009498003870248795, 0.04716731235384941, 0.029758667573332787, -0.06283160299062729, 0.03207865729928017, -0.027682887390255928, -0.016972558572888374, 0.034136995673179626, 0.00065467762760818, 0.0167545136064291, 0.009253794327378273, 0.06304092705249786, -0.08400805294513702, 0.02733401581645012, -0.012306412681937218, 0.04235289990901947, 0.032601963728666306, -0.03600345179438591, 0.023060349747538567, 0.001998374704271555, 0.015018882229924202, 0.004818776156753302, 0.009602664969861507, 0.04594626650214195, 0.029444683343172073, 0.0021095771808177233, 0.0738908052444458, -0.03617788851261139, 0.04786505550146103, 0.043434396386146545, 0.006349446251988411, -0.03980614244937897, 0.04081786796450615, -0.02595597691833973, 0.007029743865132332, -0.006432302761822939, -0.02363598719239235, -0.04364372044801712, -0.02543267048895359, -0.04071320593357086, 0.03893396630883217, -0.004692310467362404, -0.0421086885035038, -0.040434110909700394, -0.07001834362745285, -0.03935261070728302, 0.04629513621330261, -0.08665946871042252, 0.0021880732383579016, 0.04256222024559975, 0.02611296810209751, 0.04744641110301018, -0.004005471244454384, -0.04001546651124954, -0.062412962317466736, -0.038271110504865646, -0.03586390241980553, 0.010169579647481441, -0.010509728454053402, 0.030037764459848404, 0.013117536902427673, 0.08958998322486877, -0.051074665039777756, 0.04734174907207489, 0.0031921665649861097, -0.09056682139635086, 0.05372608080506325, -0.025903645902872086, -0.058296285569667816, -0.006488994229584932, -0.02046126499772072, -0.011835437268018723, 0.06436663866043091, 0.03274151310324669, -0.02843295969069004, 0.004805693402886391, 0.0455276221036911, 0.044376347213983536, 0.04992339015007019, -0.03722449764609337, -0.02586876042187214, -0.04242267087101936, -0.008085077628493309, -0.05027226358652115, 0.015236926265060902, -0.04242267087101936, 0.036387208849191666, 0.05456336960196495, -0.01838548295199871, 0.07710041850805283, -0.006632903590798378, 0.024630269035696983, -0.017914507538080215, 0.004496070556342602, -0.03635232150554657, 0.005756366066634655, 0.07619335502386093, 0.04071320593357086, 0.023060349747538567, -0.014957829378545284, -0.018245935440063477, -0.03361368924379349, 0.020583368837833405, -0.04113185033202171, 0.0004153741174377501, 0.00023398864141199738, 0.02440350316464901, 0.020583368837833405, -0.006759369280189276, -0.0051981727592647076, 0.021089231595396996, 0.02956678904592991, 0.05763343349099159, 0.014486853964626789, -0.012402351945638657, 0.03326481580734253, 0.03445097804069519, 0.005141481291502714, -0.03366601839661598, -0.07403035461902618, -0.005390051752328873, -0.045248523354530334, -0.020827578380703926, 0.028066644445061684, -0.04922565072774887, -0.028991151601076126, -0.006070349365472794, 0.009916648268699646, 0.018682023510336876, 0.0069686914794147015, 0.009402064606547356, -0.0038724644109606743, 0.03875952959060669, 0.026601387187838554, 0.01787962205708027, -0.04863256961107254, 0.049016326665878296, 0.023827865719795227, 0.03617788851261139, -0.015114821493625641, 0.020810134708881378, 0.012193029746413231, 0.027351459488272667, -0.0066808732226490974, 0.007579214870929718, 0.029235361143946648, -0.004031636752188206, 0.03370090574026108, -0.013073927722871304, -0.0008127596229314804, -0.02037404663860798, -0.010501006618142128, 0.0017803305527195334, -0.049190763384103775, 0.10724283754825592, -0.002391944406554103, 0.07696086913347244, -0.04741152375936508, -0.0584358349442482, -0.07249532639980316, -0.0016833009431138635, 0.0352359376847744, 0.04280643165111542, -0.019222773611545563, 0.020810134708881378, 0.005145842209458351, -0.006249145604670048, -0.02613041177392006, -0.010596945881843567, -0.004426296334713697, 0.002516229636967182, 0.03823622316122055, -0.0011959722032770514, -0.02595597691833973, -0.03795712813735008, 0.019100667908787727, -0.018280822783708572, -0.027089806273579597, -0.003128933720290661, 0.006026740651577711, 0.08358941227197647, 0.04615558683872223, 0.01047484204173088, -0.025537332519888878, 0.05131887272000313, -0.03404977545142174, 0.01985074020922184, 0.009733491577208042, -0.034084662795066833, -0.005773809272795916, 0.010422511026263237, -0.03103204444050789, -0.04849302023649216, -0.0031158511992543936, 0.03153790906071663, -0.057703208178281784, 0.001065690885297954, 0.01547241397202015, -0.013204754330217838, 0.007134404964745045, -0.017679020762443542, -0.00717365276068449, -0.025746654719114304, -0.007723124232143164, 0.011582505889236927, 0.007448388729244471, -0.002079050987958908, -0.03980614244937897, -0.08805495500564575, 0.00015263092063833028, -0.01361467782407999, 0.02019961178302765, -0.030351746827363968, 0.05002805218100548, -0.014626402407884598, 0.008957253769040108, -0.013544903136789799, -0.010780103504657745, -0.023862753063440323, -0.00283675454556942, 0.0558193065226078, 0.028031757101416588, 0.06663429737091064, 0.04887678101658821, 0.002354877069592476, 0.04182959347963333, -0.018420370295643806, -0.005756366066634655, -0.03558480739593506, -0.011434235610067844, 0.06918105483055115, 0.0446554459631443, 0.03666630759835243, 0.029235361143946648, 0.014765950851142406, 0.007897559553384781, 0.030526183545589447, -0.03291594609618187, 0.09768378734588623, -0.061750106513500214, -0.01639692112803459, -0.01465256791561842, -0.002821491565555334, -0.08400805294513702, -0.022048626095056534, 0.028572507202625275, -0.016292259097099304, 0.031206481158733368, 0.01434730552136898, -0.000036794954212382436, -0.004171184729784727, 0.014896777458488941, 0.03506150096654892, -0.02464771270751953, -0.009602664969861507, 0.003820133628323674, 0.010553337633609772, 0.06031973659992218, 0.028223635628819466, 0.013222198002040386, -0.015053768642246723, 0.016527747735381126, 0.037259384989738464, 0.005699674598872662, 0.043364621698856354, 0.0210543442517519, -0.06572723388671875, -0.041376061737537384, 0.03357880190014839, 0.025415226817131042, -0.01190521102398634, -0.013466407544910908, -0.002849837299436331, -0.0028105892706662416, 0.000469067512312904, -0.007810342125594616, 0.010274240747094154, 0.01880412921309471, -0.007191096432507038 ]
719,938
ibm_platform_services.resource_controller_v2
list_resource_bindings
Get a list of all resource bindings. View all of the resource bindings that exist for all of your resource aliases. :param str guid: (optional) The GUID of the binding. :param str name: (optional) The human-readable name of the binding. :param str resource_group_id: (optional) The ID of the resource group. :param str resource_id: (optional) The unique ID of the offering (service name). This value is provided by and stored in the global catalog. :param str region_binding_id: (optional) The ID of the binding in the target environment. For example, `service_binding_id` in a given IBM Cloud environment. :param int limit: (optional) Limit on how many items should be returned. :param str start: (optional) An optional token that indicates the beginning of the page of results to be returned. Any additional query parameters are ignored if a page token is present. If omitted, the first page of results is returned. This value is obtained from the 'start' query parameter in the 'next_url' field of the operation response. :param str updated_from: (optional) Start date inclusive filter. :param str updated_to: (optional) End date inclusive filter. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse with `dict` result representing a `ResourceBindingsList` object
def list_resource_bindings( self, *, guid: str = None, name: str = None, resource_group_id: str = None, resource_id: str = None, region_binding_id: str = None, limit: int = None, start: str = None, updated_from: str = None, updated_to: str = None, **kwargs, ) -> DetailedResponse: """ Get a list of all resource bindings. View all of the resource bindings that exist for all of your resource aliases. :param str guid: (optional) The GUID of the binding. :param str name: (optional) The human-readable name of the binding. :param str resource_group_id: (optional) The ID of the resource group. :param str resource_id: (optional) The unique ID of the offering (service name). This value is provided by and stored in the global catalog. :param str region_binding_id: (optional) The ID of the binding in the target environment. For example, `service_binding_id` in a given IBM Cloud environment. :param int limit: (optional) Limit on how many items should be returned. :param str start: (optional) An optional token that indicates the beginning of the page of results to be returned. Any additional query parameters are ignored if a page token is present. If omitted, the first page of results is returned. This value is obtained from the 'start' query parameter in the 'next_url' field of the operation response. :param str updated_from: (optional) Start date inclusive filter. :param str updated_to: (optional) End date inclusive filter. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse with `dict` result representing a `ResourceBindingsList` object """ headers = {} sdk_headers = get_sdk_headers( service_name=self.DEFAULT_SERVICE_NAME, service_version='V2', operation_id='list_resource_bindings' ) headers.update(sdk_headers) params = { 'guid': guid, 'name': name, 'resource_group_id': resource_group_id, 'resource_id': resource_id, 'region_binding_id': region_binding_id, 'limit': limit, 'start': start, 'updated_from': updated_from, 'updated_to': updated_to, } if 'headers' in kwargs: headers.update(kwargs.get('headers')) del kwargs['headers'] headers['Accept'] = 'application/json' url = '/v2/resource_bindings' request = self.prepare_request(method='GET', url=url, headers=headers, params=params) response = self.send(request, **kwargs) return response
(self, *, guid: Optional[str] = None, name: Optional[str] = None, resource_group_id: Optional[str] = None, resource_id: Optional[str] = None, region_binding_id: Optional[str] = None, limit: Optional[int] = None, start: Optional[str] = None, updated_from: Optional[str] = None, updated_to: Optional[str] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
[ 0.0034258596133440733, -0.08940991759300232, -0.03417648747563362, -0.08218413591384888, -0.01833815686404705, 0.05554363131523132, 0.00022224181157071143, -0.019013293087482452, -0.0073215775191783905, -0.06733114272356033, -0.05076294019818306, 0.01394064910709858, 0.005693039856851101, -0.022899888455867767, -0.04517938196659088, 0.028684161603450775, -0.00043108355021104217, 0.023027615621685982, -0.012207191437482834, -0.03393927589058876, 0.033519595861434937, 0.032552510499954224, 0.03251601755619049, 0.024761073291301727, 0.0010948153212666512, -0.007070682477205992, 0.042369354516267776, 0.0019250502809882164, -0.007996713742613792, 0.043500661849975586, -0.05981341376900673, -0.03304517641663551, 0.07196586579084396, 0.012298425659537315, -0.009173640049993992, 0.013028303161263466, 0.0567479282617569, 0.0032251435332000256, 0.006865404546260834, -0.008982047438621521, -0.007782312575727701, -0.012891450896859169, -0.007996713742613792, -0.008284103125333786, 0.08174621313810349, 0.04470495879650116, 0.010227399878203869, -0.022188257426023483, 0.011732771061360836, -0.0014312430284917355, 0.0629153922200203, -0.008877127431333065, -0.03100152127444744, 0.0027872174978256226, 0.03468739986419678, -0.011969980783760548, -0.0656159371137619, 0.005693039856851101, 0.020254084840416908, -0.030545348301529884, 0.010975523851811886, -0.03915789723396301, -0.06255044788122177, -0.07244028151035309, -0.03853750228881836, -0.020418306812644005, -0.014223475940525532, -0.05094540864229202, -0.055872075259685516, -0.010364252142608166, 0.02264443039894104, 0.05167528614401817, -0.01979791186749935, -0.026001865044236183, -0.037041254341602325, -0.01384029071778059, 0.03944984823465347, 0.04590925574302673, -0.03366557136178017, -0.09729259461164474, 0.0006289486191235483, 0.03428596630692482, 0.03346485644578934, -0.011532055214047432, -0.005984990391880274, -0.00043136865133419633, -0.04331819340586662, 0.003936773631721735, 0.028009025380015373, -0.0536094568669796, -0.017945848405361176, 0.01807357743382454, -0.0064457254484295845, 0.050689950585365295, 0.057295337319374084, -0.058864571154117584, -0.04481444135308266, -0.019980380311608315, 0.00829322636127472, 0.01868484914302826, -0.04083661362528801, -0.08211115002632141, 0.00980772078037262, 0.0842277929186821, 0.0338115468621254, -0.041785452514886856, -0.03603767231106758, 0.03468739986419678, -0.0011963138822466135, 0.010309510864317417, -0.004221881739795208, 0.031019767746329308, 0.05963094159960747, -0.03339186683297157, 0.011577672325074673, 0.06455761194229126, 0.01801883615553379, -0.001858905190601945, 0.032059844583272934, -0.041347526013851166, 0.012143326923251152, -0.026677001267671585, 0.0383550301194191, -0.03614715486764908, 0.011267474852502346, 0.03246127441525459, -0.054120372980833054, 0.02724265493452549, -0.014707019552588463, -0.016376612707972527, -0.03609241172671318, -0.004183107055723667, -0.05532466992735863, 0.05437583103775978, 0.04200441762804985, -0.046347182244062424, -0.0337020643055439, 0.06054328754544258, 0.007280522026121616, 0.06678373366594315, 0.022808652371168137, 0.03886594623327255, 0.0024770197924226522, 0.03341011703014374, 0.005912003107368946, -0.03539903089404106, 0.0965627133846283, 0.09035876393318176, -0.0037064061034470797, 0.00341673637740314, -0.028592927381396294, -0.012407907284796238, 0.026129594072699547, 0.014168735593557358, -0.04014322906732559, 0.033574339002370834, 0.015637611970305443, -0.032497767359018326, -0.021348899230360985, -0.03180438652634621, 0.0015772184124216437, 0.006778731942176819, -0.015436896122992039, -0.06185706704854965, -0.0051866876892745495, -0.006865404546260834, -0.0582076832652092, -0.03693177178502083, -0.017252465710043907, -0.012964438647031784, -0.06714867800474167, -0.02133065275847912, 0.03850100561976433, -0.025983618572354317, 0.04025271162390709, 0.056565459817647934, 0.020600775256752968, -0.03091028705239296, -0.017818119376897812, -0.012362290173768997, 0.03799009323120117, -0.05751429870724678, 0.03288095444440842, -0.03047236055135727, -0.0071892873384058475, 0.03603767231106758, -0.03999725356698036, 0.035873450338840485, -0.05072644352912903, 0.0016878403257578611, 0.000503501039929688, 0.024761073291301727, 0.028246236965060234, 0.011303968727588654, -0.07466641068458557, 0.0010383639018982649, -0.002116643125191331, 0.020473048090934753, 0.023757493123412132, -0.004037131555378437, -0.01247177179902792, -0.016568206250667572, -0.0005878930096514523, 0.07375406473875046, 0.025709914043545723, -0.016376612707972527, -0.005852700211107731, -0.05459479242563248, 0.04711355268955231, -0.04028920456767082, -0.036220140755176544, -0.00027455916278995574, -0.018867317587137222, -0.012699858285486698, -0.05207671597599983, 0.08634443581104279, 0.010847795754671097, -0.0457632802426815, 0.02308235689997673, -0.06109069660305977, -0.02788129821419716, -0.054996225982904434, 0.006162898149341345, -0.04426703602075577, -0.027169667184352875, 0.030289892107248306, 0.002698263619095087, -0.0015954653499647975, 0.03317290544509888, 0.013557463884353638, 0.024980036541819572, 0.010738314129412174, 0.03799009323120117, 0.01912277564406395, 0.026877716183662415, -0.03143944591283798, 0.011541178449988365, 0.02543620951473713, 0.019870899617671967, 0.030928533524274826, -0.0059439348988235, 0.09079668670892715, -0.027954285964369774, 0.024998284876346588, -0.03600117936730385, -0.05941198021173477, 0.006523274816572666, 0.014059253968298435, 0.0011780669447034597, -0.06827998161315918, -0.040070243179798126, -0.024523863568902016, -0.011632413603365421, -0.05346348509192467, -0.02968774363398552, -0.06915583461523056, -0.05375543236732483, -0.04412106052041054, -0.013557463884353638, -0.011650660075247288, -0.006354490760713816, -0.0007492642616853118, -0.09035876393318176, 0.020254084840416908, 0.030873792245984077, 0.03439544886350632, -0.02102045528590679, 0.002199894515797496, -0.015245303511619568, 0.029523521661758423, 0.03605591878294945, -0.012234562076628208, -0.02200578898191452, 0.0022329671774059534, 0.027060186490416527, 0.058134693652391434, 0.07743994146585464, -0.03828204423189163, -0.022115269675850868, -0.00002252354533993639, 0.020308824256062508, 0.013593957759439945, 0.0013913278235122561, 0.04791641980409622, 0.10356952995061874, 0.01061058510094881, -0.05065345764160156, 0.05152931064367294, -0.02875714935362339, -0.0064457254484295845, 0.06703919172286987, 0.010154412128031254, 0.022115269675850868, -0.021385394036769867, 0.009506646543741226, 0.03335537388920784, -0.02112993597984314, -0.028592927381396294, 0.03282621502876282, -0.00446137273684144, -0.010282141156494617, 0.010154412128031254, 0.07598018646240234, 0.010637955740094185, -0.05751429870724678, -0.08349791914224625, 0.03897542506456375, -0.023903468623757362, -0.013137783855199814, -0.018739590421319008, -0.026987198740243912, 0.010300387628376484, 0.04747849330306053, -0.05981341376900673, 0.06036081910133362, -0.037442684173583984, 0.03492461144924164, 0.04317221790552139, -0.012854957021772861, 0.027060186490416527, -0.06944778561592102, 0.02669524773955345, 0.025071272626519203, -0.02875714935362339, 0.05320802703499794, -0.0052596754394471645, 0.01388590782880783, 0.08517663180828094, 0.040909599512815475, -0.060470301657915115, 0.01171452458947897, -0.042478837072849274, 0.02362976409494877, -0.011522931978106499, -0.011057634837925434, -0.046639133244752884, 0.06995870172977448, 0.019542453810572624, -0.0657254159450531, -0.003006180515512824, 0.013785550370812416, 0.003658507950603962, 0.02269917167723179, 0.021640850231051445, 0.004089591559022665, 0.03282621502876282, 0.044230539351701736, -0.03350134938955307, -0.03335537388920784, -0.08203816413879395, -0.006673811934888363, 0.03603767231106758, 0.01598430424928665, 0.025983618572354317, 0.0319686084985733, -0.03154892846941948, -0.029468780383467674, -0.0073671950958669186, -0.006368176080286503, 0.036804042756557465, -0.03227880597114563, 0.0009990190155804157, -0.05667494237422943, -0.037095993757247925, 0.023502036929130554, 0.016148526221513748, -0.01965193636715412, -0.016759797930717468, 0.01685103215277195, -0.003585520200431347, -0.0337020643055439, -0.028282729908823967, -0.0252354945987463, 0.03065483085811138, -0.01738019287586212, -0.06130966171622276, -0.025271987542510033, 0.013785550370812416, -0.021841567009687424, 0.025126012042164803, 0.017790749669075012, -0.023246578872203827, 0.025053024291992188, -0.007266836706548929, -0.02112993597984314, -0.052149705588817596, 0.039340365678071976, -0.052259188145399094, -0.023155344650149345, -0.0031316280364990234, -0.026859469711780548, 0.031129250302910805, -0.020527787506580353, 0.06667425483465195, -0.012334919534623623, -0.052113212645053864, 0.011212733574211597, 0.018995046615600586, 0.03769814223051071, -0.05353647097945213, -0.026531025767326355, 0.037004757672548294, 0.005150193814188242, -0.022170010954141617, -0.006039731204509735, -0.0411650575697422, 0.0837898701429367, 0.02494354359805584, 0.029012607410550117, 0.009789474308490753, -0.018110070377588272, -0.01699700765311718, -0.057879239320755005, -0.055434152483940125, 0.0011649519437924027, 0.02136714570224285, 0.0021565582137554884, 0.07280521839857101, -0.0013400083407759666, 0.01056496798992157, 0.026768235489726067, -0.08240310102701187, 0.04251533001661301, -0.025271987542510033, -0.001236228970810771, -0.010674449615180492, 0.004326801747083664, 0.008658165112137794, 0.004611909855157137, -0.02744337171316147, 0.029651248827576637, 0.021348899230360985, 0.027425125241279602, -0.05393790453672409, -0.008772208355367184, -0.004372418858110905, 0.03777112811803818, 0.017708638682961464, 0.020473048090934753, -0.018794329836964607, 0.05076294019818306, -0.013758179731667042, -0.009132584556937218, -0.03335537388920784, -0.04798940569162369, -0.0073215775191783905, 0.007677392568439245, -0.0010389341041445732, 0.03198685497045517, -0.00970736239105463, 0.021531369537115097, -0.026768235489726067, 0.0794106051325798, -0.050142545253038406, -0.02718791551887989, -0.04083661362528801, 0.042332861572504044, -0.017945848405361176, -0.03809957578778267, -0.03344660997390747, 0.016486095264554024, 0.002454211004078388, 0.017945848405361176, -0.0002765549288596958, -0.012973561882972717, -0.013621327467262745, 0.005848138593137264, -0.036804042756557465, -0.018237799406051636, -0.004830872640013695, -0.007846176624298096, 0.03857399523258209, 0.0017220532754436135, -0.001385625684633851, 0.047369010746479034, -0.014041006565093994, 0.000938005861826241, 0.062039535492658615, -0.01532741542905569, 0.01295531541109085, 0.004130647052079439, -0.01778162643313408, 0.028063766658306122, 0.0029058223590254784, -0.015792710706591606, -0.03850100561976433, -0.008799578063189983, 0.026640506461262703, -0.08444675803184509, 0.007134546525776386, 0.03530779480934143, -0.00982596818357706, 0.010081424377858639, 0.011550301685929298, -0.0823301151394844, 0.0019284716108813882, 0.03246127441525459, -0.009232942946255207, 0.06043380871415138, 0.037442684173583984, 0.019250502809882164, -0.05152931064367294, 0.033775053918361664, 0.00817918311804533, 0.04331819340586662, 0.02107519656419754, -0.0016593295149505138, -0.011185363866388798, 0.004281184170395136, -0.007490361575037241, 0.005852700211107731, 0.02822798863053322, 0.05382842198014259, 0.017361946403980255, -0.04802589863538742, 0.03111100383102894, -0.016832785680890083, 0.023885222151875496, -0.013913278467953205, 0.003453230019658804, 0.008028645999729633, 0.06382773816585541, -0.020527787506580353, -0.005984990391880274, -0.0018007431644946337, -0.03777112811803818, -0.014707019552588463, -0.07641810923814774, -0.005797959864139557, 0.023118851706385612, 0.054266348481178284, 0.015382155776023865, -0.004753323271870613, -0.09130760282278061, -0.041201550513505936, 0.05645597726106644, -0.06722166389226913, -0.0319686084985733, -0.06703919172286987, 0.023684505373239517, 0.03777112811803818, 0.04083661362528801, -0.028063766658306122, -0.006304311566054821, -0.0011410028673708439, 0.03481512889266014, 0.004246971104294062, -0.04171246662735939, 0.03266199305653572, -0.023465542122721672, 0.06152862310409546, -0.0428437739610672, 0.011605042964220047, -0.003904841374605894, -0.0842277929186821, -0.03399401530623436, 0.0168784037232399, -0.045872762799263, -0.0366763137280941, -0.017252465710043907, -0.010446363128721714, 0.057587288320064545, 0.026932457461953163, 0.003453230019658804, -0.0027735321782529354, 0.08576053380966187, 0.03187737241387367, 0.04386560246348381, 0.011449944227933884, -0.0024085938930511475, -0.009397164918482304, 0.009118899703025818, 0.002213579835370183, 0.008375337347388268, 0.048828765749931335, 0.024231912568211555, 0.07663707435131073, -0.07641810923814774, 0.02342904917895794, -0.015409526415169239, 0.05550713837146759, -0.020655516535043716, -0.03640260919928551, -0.04616471379995346, 0.007540540769696236, 0.08123529702425003, -0.045799776911735535, 0.05375543236732483, 0.017672143876552582, -0.0049540395848453045, -0.015436896122992039, 0.01474351342767477, -0.0006614509620703757, -0.042478837072849274, -0.004486462101340294, 0.04288026690483093, -0.06598087400197983, 0.01728895865380764, 0.006322558503597975, 0.023994702845811844, -0.014615785330533981, 0.045069899410009384, 0.009698239155113697, 0.015373032540082932, 0.01976141706109047, 0.00843920186161995, 0.029213322326540947, -0.04269779846072197, -0.04371962696313858, 0.048536814749240875, -0.035581499338150024, -0.039486341178417206, 0.03388453647494316, -0.06455761194229126, -0.0321328304708004, -0.04101908206939697, 0.007056997157633305, 0.06627282500267029, 0.023064110428094864, 0.015646737068891525, 0.031913869082927704, 0.023994702845811844, 0.019962133839726448, 0.03955932706594467, -0.044631972908973694, 0.05094540864229202, 0.0004031429416500032, 0.0639372169971466, -0.03129347413778305, 0.01999862678349018, -0.06576190888881683, -0.02811850793659687, 0.027698827907443047, 0.05050748214125633, 0.0427342914044857, 0.030965028330683708, 0.059193018823862076, -0.04160298407077789, 0.01644047722220421, 0.01965193636715412, 0.044485997408628464, -0.0042127580381929874, 0.03530779480934143, 0.014907735399901867, 0.004313116427510977, 0.11393378674983978, 0.0026343995705246925, -0.03477863594889641, 0.0029081034008413553, -0.042223379015922546, -0.014177858829498291, 0.0505804680287838, -0.03291744738817215, -0.020381812006235123, 0.016759797930717468, 0.002495266729965806, -0.060762252658605576, -0.0042059156112372875, 0.021002208814024925, -0.0075268554501235485, 0.02762584015727043, 0.010683572851121426, 0.015911316499114037, -0.05736832320690155, -0.004028008319437504, 0.024523863568902016, -0.013566587120294571, 0.01760828122496605, 0.02401294931769371, 0.052843086421489716, 0.023337814956903458, -0.027461618185043335, -0.009552263654768467, 0.04225987195968628, -0.05094540864229202, 0.06171109154820442, -0.01117623969912529, -0.046785108745098114, 0.004073625430464745, -0.005857262294739485, -0.027060186490416527, -0.05061696469783783, -0.035727474838495255, 0.08868004381656647, -0.00037007039645686746, 0.026677001267671585, -0.0382455512881279, -0.03569098189473152, 0.03070957027375698, 0.03335537388920784, -0.010209153406322002, -0.030800804495811462, 0.009962819516658783, -0.01883082464337349, -0.012873203493654728, 0.0013833448756486177, -0.03446843847632408, -0.07554225623607635, -0.002883013803511858, -0.020473048090934753, 0.04860980063676834, -0.027498112991452217, 0.02968774363398552, 0.01366694550961256, -0.005510570481419563, -0.007307892665266991, -0.0016433635028079152, -0.03076431155204773, -0.01719772443175316, 0.058755092322826385, -0.0036471036728471518, 0.014296463690698147, 0.015820082277059555, -0.06386423110961914, 0.027498112991452217, -0.03598293289542198, -0.026968952268362045, -0.0010417852317914367, 0.024414382874965668, 0.006459410768002272, -0.0031726837623864412, 0.03100152127444744, 0.01411399431526661, -0.059886399656534195, 0.0457632802426815, 0.021294157952070236, -0.005852700211107731, 0.08043243736028671, -0.05678442493081093, 0.008813263848423958, -0.02165909670293331, -0.02176857925951481, -0.05864560976624489, -0.005428459495306015, 0.07495836168527603, 0.013639574870467186, 0.06827998161315918, 0.017973218113183975, -0.016139402985572815, -0.007462991401553154, 0.049558643251657486, 0.08357090502977371, 0.002944597043097019, -0.009333301335573196, 0.010364252142608166, 0.016641194000840187, -0.0012909697834402323, -0.037479180842638016, 0.03304517641663551, -0.044230539351701736, 0.044230539351701736, 0.040033746510744095, -0.015345661900937557, -0.016668563708662987, -0.02640329673886299, -0.049668122082948685, -0.023246578872203827, 0.008959239348769188, 0.006623632740229368, 0.010063177905976772, -0.009971942752599716, 0.0536094568669796, 0.019943885505199432, 0.008544121868908405, -0.0259106308221817, 0.03923088312149048, 0.02313709817826748, -0.02488880231976509 ]
719,939
ibm_platform_services.resource_controller_v2
list_resource_bindings_for_alias
Get a list of all resource bindings for the alias. View all of the resource bindings associated with a specific resource alias. :param str id: The resource alias URL-encoded CRN or GUID. :param int limit: (optional) Limit on how many items should be returned. :param str start: (optional) An optional token that indicates the beginning of the page of results to be returned. Any additional query parameters are ignored if a page token is present. If omitted, the first page of results is returned. This value is obtained from the 'start' query parameter in the 'next_url' field of the operation response. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse with `dict` result representing a `ResourceBindingsList` object
def list_resource_bindings_for_alias( self, id: str, *, limit: int = None, start: str = None, **kwargs ) -> DetailedResponse: """ Get a list of all resource bindings for the alias. View all of the resource bindings associated with a specific resource alias. :param str id: The resource alias URL-encoded CRN or GUID. :param int limit: (optional) Limit on how many items should be returned. :param str start: (optional) An optional token that indicates the beginning of the page of results to be returned. Any additional query parameters are ignored if a page token is present. If omitted, the first page of results is returned. This value is obtained from the 'start' query parameter in the 'next_url' field of the operation response. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse with `dict` result representing a `ResourceBindingsList` object """ if not id: raise ValueError('id must be provided') headers = {} sdk_headers = get_sdk_headers( service_name=self.DEFAULT_SERVICE_NAME, service_version='V2', operation_id='list_resource_bindings_for_alias', ) headers.update(sdk_headers) params = {'limit': limit, 'start': start} if 'headers' in kwargs: headers.update(kwargs.get('headers')) del kwargs['headers'] headers['Accept'] = 'application/json' path_param_keys = ['id'] path_param_values = self.encode_path_vars(id) path_param_dict = dict(zip(path_param_keys, path_param_values)) url = '/v2/resource_aliases/{id}/resource_bindings'.format(**path_param_dict) request = self.prepare_request(method='GET', url=url, headers=headers, params=params) response = self.send(request, **kwargs) return response
(self, id: str, *, limit: Optional[int] = None, start: Optional[str] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
[ -0.007273260969668627, -0.048277586698532104, 0.027617309242486954, -0.06647830456495285, 0.0018161191837862134, 0.0921279713511467, -0.02988361567258835, -0.016197938472032547, 0.00012174257426522672, -0.06219165027141571, -0.059732094407081604, 0.018639927729964256, 0.01473977230489254, -0.022540081292390823, -0.02345363050699234, 0.035979803651571274, -0.0002609161601867527, 0.04318279027938843, 0.0013911868445575237, -0.003344557946547866, 0.003803528845310211, 0.050069548189640045, 0.04212869331240654, 0.025965891778469086, -0.004760999232530594, 0.012324136681854725, 0.05741308256983757, -0.0019874097779393196, 0.012201158329844475, 0.0015438110567629337, -0.05548057332634926, -0.027705149725079536, 0.07786253839731216, 0.02201303280889988, -0.014037041924893856, -0.025561822578310966, 0.05649953335523605, 0.0168040432035923, -0.031939100474119186, 0.027599740773439407, 0.013615403324365616, 0.008287828415632248, -0.01242076139897108, -0.04096918925642967, 0.0378420390188694, 0.014001905918121338, -0.01441475935280323, -0.021152189001441002, 0.019043996930122375, -0.02036161720752716, 0.031043119728565216, -0.016320915892720222, -0.033133745193481445, -0.012833615764975548, 0.03917722776532173, -0.013141060248017311, -0.06883245706558228, 0.02166166715323925, 0.03306347131729126, -0.016461461782455444, 0.02180221490561962, -0.06219165027141571, -0.036577124148607254, -0.07891663908958435, -0.008551351726055145, -0.013773517683148384, -0.009003735147416592, -0.04068809747695923, -0.05786985903978348, -0.01309714000672102, 0.03770149126648903, 0.013703244738280773, 0.01175316795706749, -0.03973941132426262, -0.009276042692363262, -0.02967279590666294, 0.03265940025448799, 0.028109220787882805, -0.02345363050699234, -0.09283070266246796, -0.02394554205238819, -0.0005070090992376208, 0.04370983690023422, 0.003059073816984892, -0.001311031635850668, 0.007844229228794575, -0.031798556447029114, 0.005753606092184782, -0.038966406136751175, -0.03525950387120247, 0.004214187152683735, 0.017629751935601234, -0.021503552794456482, 0.05207233130931854, 0.006372887175530195, -0.03907181695103645, -0.023277947679162025, -0.024736113846302032, -0.009153065271675587, 0.032589126378297806, -0.033291857689619064, -0.086646668612957, 0.008068224415183067, 0.06932436674833298, 0.03605007380247116, -0.06816486269235611, -0.017339875921607018, 0.006065442692488432, -0.011313960887491703, 0.029866047203540802, 0.014449896290898323, 0.019043996930122375, 0.08046264201402664, -0.03875558823347092, 0.02369958721101284, 0.0617348738014698, 0.02589561976492405, -0.027195671573281288, 0.011515996418893337, -0.04848840460181236, 0.004130737856030464, -0.01184979360550642, 0.01916697435081005, -0.02334822155535221, 0.012201158329844475, 0.012482251040637493, -0.02953225001692772, 0.014564089477062225, -0.00466876570135355, -0.0438152477145195, -0.01441475935280323, 0.0008279043831862509, -0.0776517242193222, 0.05112364515662193, 0.04114487022161484, -0.013404584489762783, -0.002661591861397028, 0.07027304917573929, -0.018060173839330673, 0.046485625207424164, -0.0014944003196433187, 0.06805945187807083, -0.015293172560632229, -0.003717883722856641, 0.0027691973373293877, -0.038615040481090546, 0.07188933342695236, 0.07582462579011917, 0.01758583076298237, -0.024138793349266052, -0.007918894290924072, -0.04891004413366318, 0.02095893770456314, 0.03671766817569733, -0.0463099405169487, 0.006711076479405165, -0.008933461271226406, -0.03253642097115517, -0.005955641157925129, -0.019237248227000237, 0.007501648273319006, 0.019289951771497726, -0.012719422578811646, -0.0607510544359684, -0.029866047203540802, -0.00978552270680666, -0.08109509944915771, -0.022188715636730194, -0.01525803655385971, -0.01872776821255684, -0.06391333788633347, -0.01486275065690279, 0.03847449645400047, -0.028021378442645073, 0.027951106429100037, 0.04715321585536003, 0.02898763306438923, -0.018393971025943756, -0.009539566934108734, -0.002731864806264639, 0.01677769050002098, -0.035927098244428635, 0.01623307541012764, -0.026282120496034622, -0.0008262573392130435, 0.00759388180449605, -0.026756463572382927, 0.04725862666964531, -0.019061565399169922, -0.01851694844663143, -0.015345877967774868, 0.012728206813335419, 0.04037186875939369, -0.004253715742379427, -0.08460875600576401, -0.03550545871257782, 0.016408758237957954, -0.024964502081274986, -0.014976943843066692, -0.006913111545145512, -0.03819340467453003, 0.0031754635274410248, 0.014915455132722855, 0.047188352793455124, 0.06215651333332062, -0.009618624113500118, 0.012622796930372715, -0.056745488196611404, 0.0118234409019351, -0.020291343331336975, -0.02570236846804619, 0.01077812910079956, -0.027178103104233742, -0.028021378442645073, -0.06240246817469597, 0.06408902257680893, 0.017041215673089027, -0.015029649250209332, 0.05846717953681946, -0.051510147750377655, -0.031183665618300438, -0.05038577690720558, 0.00975917000323534, -0.03146475926041603, -0.005463729612529278, 0.010593662038445473, 0.03770149126648903, -0.00800673570483923, 0.04785594716668129, -0.009416588582098484, 0.05660494416952133, -0.030340390279889107, 0.0373501256108284, 0.003390674712136388, 0.05864286050200462, -0.004756607115268707, 0.020080523565411568, 0.013597835786640644, 0.008002343587577343, 0.01103286910802126, -0.00966254435479641, 0.06841081380844116, -0.01038284320384264, 0.01807774230837822, -0.08798185735940933, 0.012649149633944035, -0.0016909452388063073, 0.01073420885950327, -0.0030832302290946245, -0.09571189433336258, 0.00633775070309639, -0.014080963097512722, 0.035277072340250015, -0.02445502206683159, -0.029989024624228477, -0.06054023280739784, -0.05822122469544411, -0.06609180569648743, -0.004506259225308895, -0.03042823076248169, -0.04079350456595421, 0.033186446875333786, -0.08158700913190842, 0.0010156652424484491, 0.029040338471531868, 0.03942318260669708, -0.03445136174559593, 0.032887786626815796, -0.022575218230485916, 0.024911796674132347, 0.03171071410179138, 0.018200719729065895, -0.0214157123118639, 0.01734866015613079, 0.03977454826235771, 0.07441916316747665, 0.06254301220178604, -0.014590442180633545, -0.02997145615518093, -0.01319376565515995, -0.025122616440057755, -0.00570090115070343, -0.004945465829223394, 0.02703755721449852, 0.07898691296577454, -0.02196032926440239, 0.003737648017704487, 0.09683626145124435, -0.036120347678661346, -0.008107753470540047, 0.058291494846343994, -0.002624259330332279, 0.02176707796752453, -0.03928263485431671, 0.011867361143231392, 0.02728351205587387, -0.02006295695900917, -0.030691755935549736, 0.012780911289155483, -0.00384086137637496, -0.030041730031371117, -0.011463291943073273, 0.07800308614969254, 0.012262647040188313, -0.059732094407081604, -0.057237401604652405, 0.03661226108670235, -0.0336080864071846, 0.0326242633163929, -0.03917722776532173, -0.03192153200507164, 0.022136010229587555, 0.019746728241443634, -0.07280287891626358, 0.025860482826828957, -0.04954250156879425, 0.00258912262506783, 0.044588252902030945, 0.013562698848545551, 0.043850384652614594, -0.07188933342695236, 0.06331601738929749, 0.006675940006971359, -0.05084255337715149, 0.08250056207180023, 0.033081039786338806, 0.049964141100645065, 0.06437011808156967, 0.07645708322525024, -0.04834786057472229, 0.014976943843066692, -0.03107825666666031, 0.0007049265550449491, -0.024138793349266052, -0.03265940025448799, -0.0537940189242363, 0.06609180569648743, 0.018288562074303627, -0.07252179086208344, 0.028513289988040924, 0.03141205385327339, -0.04796135798096657, 0.04546666517853737, 0.03350267559289932, 0.02918088436126709, 0.04462338611483574, 0.01759461499750614, -0.0657404363155365, -0.0373501256108284, -0.054110247641801834, 0.009047655388712883, 0.01286875270307064, 0.021749509498476982, 0.01175316795706749, 0.050807416439056396, -0.016250643879175186, 0.0045238276943564415, 0.011946418322622776, -0.030902573838829994, 0.02728351205587387, -0.05822122469544411, -0.023471198976039886, -0.09030087292194366, -0.024138793349266052, 0.0472937636077404, 0.011393018066883087, 0.0046555898152291775, -0.03566357493400574, 0.04216383025050163, -0.017252033576369286, -0.0438152477145195, 0.0037683923728764057, -0.03907181695103645, 0.004018740262836218, -0.000013648001186084002, -0.05906450003385544, -0.01846424490213394, 0.011015300638973713, 0.0016986314440146089, 0.05442648008465767, 0.027968674898147583, -0.03344997391104698, 0.059978049248456955, 0.021837349981069565, -0.035681143403053284, -0.045888300985097885, 0.023892836645245552, -0.052353423088788986, -0.023980678990483284, 0.0433233343064785, -0.005468121729791164, 0.007901325821876526, -0.017093919217586517, 0.0358392558991909, 0.003399458946660161, -0.04402606561779976, -0.0026264553889632225, -0.025614527985453606, 0.028970064595341682, -0.04574775695800781, -0.0040472885593771935, 0.019746728241443634, 0.04508016258478165, 0.012297783978283405, 0.019131837412714958, -0.050069548189640045, 0.08137619495391846, -0.027511900290846825, 0.013729597441852093, -0.023682018741965294, -0.017339875921607018, -0.032694537192583084, -0.02405095100402832, -0.03107825666666031, 0.04441256821155548, 0.05108850821852684, -0.028003811836242676, 0.03664739802479744, -0.014221508987247944, -0.01832369901239872, 0.033485107123851776, -0.06489716470241547, 0.027406489476561546, -0.023067129775881767, 0.0010217042872682214, -0.015328309498727322, 0.01598711870610714, -0.006017129868268967, -0.004760999232530594, -0.029848478734493256, 0.050666868686676025, 0.008204379118978977, 0.03216749057173729, -0.05980236828327179, -0.008731426671147346, -0.009601055644452572, 0.02774028666317463, 0.0040626609697937965, 0.03200937435030937, -0.03350267559289932, 0.0438152477145195, -0.00026105341385118663, -0.014748556539416313, -0.01598711870610714, -0.02529829926788807, -0.010374058969318867, 0.022434672340750694, 0.001486714230850339, -0.004486495163291693, -0.014572873711585999, 0.017743945121765137, -0.037666354328393936, 0.1010526493191719, -0.062367331236600876, -0.017902059480547905, -0.056394122540950775, -0.002624259330332279, -0.00830539595335722, -0.05797526612877846, -0.02071298100054264, 0.0025078696198761463, -0.028021378442645073, 0.003542200895026326, -0.006473904941231012, -0.008885148912668228, -0.005015739239752293, -0.025473980233073235, 0.03678794205188751, -0.02470097690820694, -0.013949200510978699, -0.0009102555923163891, 0.021995464339852333, -0.007282044738531113, -0.00966254435479641, 0.06549448519945145, 0.03429324924945831, 0.006737428717315197, 0.042550332844257355, 0.02673889510333538, 0.023576607927680016, -0.004286656156182289, -0.017392579466104507, 0.038369085639715195, 0.00012167394743300974, -0.019641317427158356, 0.004326184745877981, 0.01872776821255684, 0.014388407580554485, -0.07150282710790634, 0.024367179721593857, 0.04096918925642967, 0.04490448161959648, -0.02095893770456314, 0.03829881176352501, -0.039704274386167526, 0.022241421043872833, 0.03745553642511368, -0.010532173328101635, 0.026774032041430473, 0.027178103104233742, 0.03146475926041603, -0.08446820825338364, 0.02340092696249485, 0.013747165910899639, 0.043885521590709686, 0.015196546912193298, -0.048031631857156754, 0.021152189001441002, 0.004211991094052792, -0.0005575178656727076, -0.008015519939363003, 0.02833760716021061, 0.028864655643701553, 0.03279994800686836, -0.017954764887690544, 0.05035063996911049, -0.013922848738729954, 0.03127150610089302, -0.006544177886098623, -0.0031337388791143894, -0.018745336681604385, 0.04676671698689461, -0.025684799998998642, -0.016979726031422615, 0.007703683339059353, -0.02687944285571575, -0.022768469527363777, -0.0622267872095108, -0.008314180187880993, 0.05200205743312836, 0.054777842015028, 0.0038650177884846926, -0.0005157932173460722, -0.08727912604808807, -0.023682018741965294, 0.047082945704460144, -0.0801815539598465, -0.030955279245972633, -0.013949200510978699, 0.011559916660189629, 0.016865532845258713, 0.03727985545992851, -0.019237248227000237, -0.04690726101398468, -0.005393456667661667, 0.04687212407588959, 0.007857405580580235, -0.017111487686634064, 0.03517166152596474, -0.009548351168632507, 0.09240905940532684, -0.03903668001294136, 0.036120347678661346, -0.013009298592805862, -0.1125071570277214, -0.015345877967774868, 0.000784532749094069, -0.06883245706558228, -0.04149623587727547, -0.01152478065341711, -0.008283436298370361, 0.0766678974032402, 0.04156650975346565, -0.0005339104682207108, -0.00674621295183897, 0.06879732012748718, 0.058291494846343994, 0.030849870294332504, -0.0069438559003174305, -0.004442574456334114, -0.031903963536024094, -0.016540519893169403, -0.025386139750480652, 0.0003886978083755821, 0.013018082827329636, 0.021538689732551575, 0.05857258662581444, -0.0393529087305069, 0.02629968896508217, 0.01441475935280323, 0.02698485180735588, 0.015029649250209332, -0.05284533277153969, -0.030164707452058792, 0.01349242590367794, 0.07624626159667969, 0.00096021534409374, 0.03664739802479744, -0.017058782279491425, -0.043147653341293335, -0.06299979239702225, 0.04072323441505432, -0.016733771190047264, -0.04641535133123398, 0.015670889988541603, 0.031640440225601196, -0.0662323534488678, 0.011357882060110569, -0.005841447506099939, 0.015521559864282608, -0.016575656831264496, 0.030164707452058792, -0.0009338629897683859, 0.0063509270548820496, 0.03135934844613075, 0.02181978151202202, 0.03132421150803566, -0.03520679846405983, -0.06510797888040543, 0.007853013463318348, -0.04905058816075325, -0.02136300690472126, 0.0353473462164402, -0.04311251640319824, -0.05491838976740837, -0.04739917442202568, 0.015837788581848145, 0.055550847202539444, 0.012236295267939568, 0.020291343331336975, 0.02809165231883526, 0.030463367700576782, 0.01707635074853897, 0.031447190791368484, -0.025087479501962662, 0.05671035125851631, 0.03619062155485153, 0.047574855387210846, -0.020291343331336975, 0.03244858235120773, -0.04089891538023949, 0.020203502848744392, 0.01872776821255684, 0.028741678223013878, 0.0413205549120903, 0.003294049296528101, 0.053161561489105225, -0.044588252902030945, 0.021696804091334343, 0.005951249040663242, 0.029760636389255524, -0.015082353726029396, -0.0009075105772353709, 0.0562535785138607, 0.048172175884246826, 0.10660421848297119, -0.014405975118279457, -0.045290980488061905, -0.043007105588912964, -0.0363311693072319, 0.009003735147416592, 0.03260669484734535, -0.04360442981123924, 0.015170195139944553, 0.045431528240442276, 0.018991291522979736, -0.020080523565411568, 0.00012695815530605614, 0.002933899872004986, -0.023330653086304665, 0.0602591410279274, -0.017937196418642998, -0.009952421300113201, -0.05751849338412285, -0.004466730635613203, 0.0033116175327450037, -0.012491035275161266, 0.027406489476561546, 0.019992683082818985, 0.04943709075450897, 0.05358320102095604, -0.019079133868217468, -0.018798042088747025, 0.024911796674132347, -0.04149623587727547, 0.02424420230090618, -0.014353270642459393, -0.04276115074753761, 0.012455898337066174, -0.017146624624729156, -0.0345919094979763, -0.0846790298819542, -0.008204379118978977, 0.06215651333332062, -0.027178103104233742, 0.00811653770506382, -0.014168803580105305, -0.044939614832401276, 0.00811653770506382, 0.022768469527363777, -0.010655151680111885, -0.01047946885228157, 0.02600102871656418, 0.00021919152641203254, -0.006675940006971359, -0.013887711800634861, -0.03749067336320877, -0.06746213138103485, -0.00024156361178029329, -0.04413147643208504, 0.050069548189640045, -0.03987995535135269, 0.04269087687134743, -0.015521559864282608, 0.01596076600253582, -0.010189592838287354, 0.005670156795531511, -0.03157017007470131, -0.010883538983762264, 0.07582462579011917, -0.014502600766718388, 0.03973941132426262, 0.032483719289302826, -0.02296171896159649, 0.02868897281587124, -0.04627480357885361, -0.03355538100004196, -0.025913188233971596, 0.004334968980401754, 0.04420175030827522, 0.0236468818038702, 0.03157017007470131, 0.014810045249760151, -0.0029009594582021236, 0.05790499597787857, 0.037525810301303864, -0.013184981420636177, 0.09767954051494598, -0.08453848212957382, -0.004049484618008137, -0.01770002394914627, -0.006078619044274092, -0.07252179086208344, 0.013009298592805862, 0.03973941132426262, 0.022522512823343277, 0.0642647072672844, 0.023734722286462784, -0.03002416156232357, -0.032835084944963455, 0.04968304559588432, 0.036823078989982605, 0.0065310015343129635, -0.01636483706533909, 0.012736990116536617, 0.004703902173787355, 0.03566357493400574, -0.0037134916055947542, 0.03489056974649429, -0.02057243511080742, 0.05597248673439026, 0.05716712772846222, -0.016031039878726006, 0.002426616381853819, -0.006091794930398464, -0.060575369745492935, -0.04462338611483574, 0.013158628717064857, 0.014432327821850777, 0.0026879440993070602, -0.03794744610786438, 0.026528077200055122, 0.013474857434630394, -0.0030437016393989325, -0.02774028666317463, 0.012332920916378498, 0.007800308521836996, -0.023787427693605423 ]
719,940
ibm_platform_services.resource_controller_v2
list_resource_instances
Get a list of all resource instances. View a list of all available resource instances. Resources is a broad term that could mean anything from a service instance to a virtual machine associated with the customer account. :param str guid: (optional) The GUID of the instance. :param str name: (optional) The human-readable name of the instance. :param str resource_group_id: (optional) The ID of the resource group. :param str resource_id: (optional) The unique ID of the offering. This value is provided by and stored in the global catalog. :param str resource_plan_id: (optional) The unique ID of the plan associated with the offering. This value is provided by and stored in the global catalog. :param str type: (optional) The type of the instance, for example, `service_instance`. :param str sub_type: (optional) The sub-type of instance, for example, `kms`. :param int limit: (optional) Limit on how many items should be returned. :param str start: (optional) An optional token that indicates the beginning of the page of results to be returned. Any additional query parameters are ignored if a page token is present. If omitted, the first page of results is returned. This value is obtained from the 'start' query parameter in the 'next_url' field of the operation response. :param str state: (optional) The state of the instance. If not specified, instances in state `active` and `provisioning` are returned. :param str updated_from: (optional) Start date inclusive filter. :param str updated_to: (optional) End date inclusive filter. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse with `dict` result representing a `ResourceInstancesList` object
def list_resource_instances( self, *, guid: str = None, name: str = None, resource_group_id: str = None, resource_id: str = None, resource_plan_id: str = None, type: str = None, sub_type: str = None, limit: int = None, start: str = None, state: str = None, updated_from: str = None, updated_to: str = None, **kwargs, ) -> DetailedResponse: """ Get a list of all resource instances. View a list of all available resource instances. Resources is a broad term that could mean anything from a service instance to a virtual machine associated with the customer account. :param str guid: (optional) The GUID of the instance. :param str name: (optional) The human-readable name of the instance. :param str resource_group_id: (optional) The ID of the resource group. :param str resource_id: (optional) The unique ID of the offering. This value is provided by and stored in the global catalog. :param str resource_plan_id: (optional) The unique ID of the plan associated with the offering. This value is provided by and stored in the global catalog. :param str type: (optional) The type of the instance, for example, `service_instance`. :param str sub_type: (optional) The sub-type of instance, for example, `kms`. :param int limit: (optional) Limit on how many items should be returned. :param str start: (optional) An optional token that indicates the beginning of the page of results to be returned. Any additional query parameters are ignored if a page token is present. If omitted, the first page of results is returned. This value is obtained from the 'start' query parameter in the 'next_url' field of the operation response. :param str state: (optional) The state of the instance. If not specified, instances in state `active` and `provisioning` are returned. :param str updated_from: (optional) Start date inclusive filter. :param str updated_to: (optional) End date inclusive filter. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse with `dict` result representing a `ResourceInstancesList` object """ headers = {} sdk_headers = get_sdk_headers( service_name=self.DEFAULT_SERVICE_NAME, service_version='V2', operation_id='list_resource_instances' ) headers.update(sdk_headers) params = { 'guid': guid, 'name': name, 'resource_group_id': resource_group_id, 'resource_id': resource_id, 'resource_plan_id': resource_plan_id, 'type': type, 'sub_type': sub_type, 'limit': limit, 'start': start, 'state': state, 'updated_from': updated_from, 'updated_to': updated_to, } if 'headers' in kwargs: headers.update(kwargs.get('headers')) del kwargs['headers'] headers['Accept'] = 'application/json' url = '/v2/resource_instances' request = self.prepare_request(method='GET', url=url, headers=headers, params=params) response = self.send(request, **kwargs) return response
(self, *, guid: Optional[str] = None, name: Optional[str] = None, resource_group_id: Optional[str] = None, resource_id: Optional[str] = None, resource_plan_id: Optional[str] = None, type: Optional[str] = None, sub_type: Optional[str] = None, limit: Optional[int] = None, start: Optional[str] = None, state: Optional[str] = None, updated_from: Optional[str] = None, updated_to: Optional[str] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
[ 0.02991349808871746, -0.08180578052997589, -0.017778601497411728, -0.07483962178230286, -0.038891274482011795, 0.024921705946326256, 0.034141622483730316, -0.07852759212255478, -0.054946962743997574, 0.004414382856339216, -0.009517931379377842, 0.0225189421325922, 0.015254766680300236, -0.008693726733326912, 0.0017310620751231909, 0.009899766184389591, -0.01193932257592678, -0.04246748238801956, -0.003781096078455448, -0.029429219663143158, 0.0385187529027462, 0.09424801170825958, -0.002868417650461197, 0.003939417656511068, 0.06288167834281921, 0.03185060992836952, 0.03799721971154213, -0.020525949075818062, -0.006742644123733044, 0.02456781081855297, 0.023543376475572586, 0.023562002927064896, 0.012954444624483585, 0.021159237250685692, -0.026206906884908676, 0.015664540231227875, 0.014984688721597195, 0.01924074999988079, -0.07625520974397659, 0.11525823920965195, -0.007571504916995764, -0.014202392660081387, 0.013932314701378345, -0.04202045500278473, 0.04641621187329292, 0.021643515676259995, 0.0716731920838356, -0.05137075111269951, -0.016111567616462708, -0.050849221646785736, 0.036209117621183395, -0.006779896095395088, -0.022705202922225, 0.008800826966762543, -0.009108157828450203, 0.013531853444874287, -0.05278633534908295, 0.04313801974058151, 0.012488792650401592, -0.022220924496650696, -0.028460662811994553, -0.007878835313022137, 0.013671549037098885, -0.018886854872107506, -0.02803226374089718, -0.0064865355379879475, -0.022444436326622963, -0.006202487740665674, -0.09745169430971146, 0.04518689215183258, 0.037494316697120667, 0.04973165690898895, -0.005178052466362715, -0.014099949039518833, -0.04667697846889496, 0.012833375483751297, 0.02598339319229126, 0.006090730894356966, -0.055542998015880585, -0.03579934313893318, -0.0035505981650203466, 0.0668676570057869, -0.015366523526608944, -0.015757670626044273, 0.01495674904435873, 0.01870059221982956, -0.02590888924896717, -0.07096540182828903, -0.03743843734264374, -0.014202392660081387, -0.023524750024080276, -0.003231626469641924, -0.05569200590252876, 0.028833186253905296, 0.04146167263388634, -0.02330123633146286, -0.04380856081843376, -0.05908195301890373, 0.007408526726067066, -0.01294513139873743, -0.05602727457880974, -0.08225280791521072, 0.022146418690681458, 0.0033759786747395992, 0.03321031481027603, -0.08888369798660278, -0.05923096090555191, 0.01897067204117775, -0.004621598403900862, 0.049582649022340775, -0.02594614215195179, 0.058150649070739746, -0.006877683103084564, 0.0027333784382790327, 0.0015715762274339795, 0.02067495882511139, -0.015450340695679188, 0.013829871080815792, -0.003951059188693762, -0.09171485900878906, -0.002020930638536811, -0.0198367852717638, 0.04544765502214432, -0.008861362002789974, -0.03339657559990883, 0.019091740250587463, -0.034383758902549744, 0.008395709097385406, -0.06139158830046654, -0.00008505428559146821, -0.04075388237833977, -0.0024772698525339365, -0.049061119556427, 0.054201919585466385, 0.006579665932804346, -0.03809035196900368, 0.0193525068461895, 0.04734751582145691, -0.017415393143892288, 0.0396735705435276, 0.001128042466007173, 0.04839057847857475, -0.01857021078467369, 0.017964862287044525, -0.01603706181049347, -0.0663088783621788, 0.054835204035043716, 0.041498925536870956, -0.006141952704638243, 0.022183671593666077, -0.015450340695679188, -0.046155449002981186, 0.047012247145175934, 0.0008125631138682365, 0.019147619605064392, -0.04786904901266098, 0.043473292142152786, -0.055021464824676514, -0.010803131386637688, -0.03205549716949463, -0.0636267215013504, 0.008502809330821037, -0.008712353184819221, -0.03069579415023327, -0.024176662787795067, 0.0022002067416906357, -0.05654880404472351, -0.02540598437190056, 0.021792523562908173, -0.014044070616364479, -0.04634170979261398, -0.006044165696948767, 0.01464010588824749, -0.03600423038005829, -0.06824599206447601, 0.06995958834886551, 0.052227552980184555, -0.04049311578273773, 0.028479289263486862, -0.005802026484161615, -0.004996448289602995, -0.05476070195436478, -0.014416593126952648, 0.001807894790545106, -0.04134991765022278, 0.020302437245845795, -0.0038160199765115976, 0.046863239258527756, -0.04652797058224678, -0.028293028473854065, 0.05513322353363037, 0.031012438237667084, 0.0034062459599226713, 0.029000820592045784, -0.06575009226799011, -0.014584227465093136, -0.025443237274885178, -0.013503914698958397, 0.022258175536990166, 0.03384360298514366, -0.03417887166142464, 0.040232352912425995, 0.00820944830775261, 0.004160602577030659, 0.021103357896208763, 0.019706401973962784, -0.01535721030086279, -0.026896072551608086, 0.007361961528658867, -0.02665393240749836, -0.06422275304794312, 0.008814796805381775, 0.0071896701119840145, 0.058783937245607376, -0.020283810794353485, 0.02656080201268196, -0.005168739706277847, -0.036879654973745346, 0.005974317900836468, -0.05923096090555191, -0.0009150066180154681, -0.053605884313583374, -0.05658605694770813, -0.048316072672605515, -0.0601622648537159, 0.057480111718177795, 0.004630911163985729, 0.030155638232827187, -0.03537094220519066, -0.004954539705067873, -0.011585427448153496, -0.022705202922225, 0.06470703333616257, 0.0212709940969944, -0.07107715308666229, 0.026151029393076897, 0.005098891910165548, 0.029634106904268265, 0.048353325575590134, 0.016493402421474457, 0.02007892355322838, 0.021028853952884674, -0.0245305597782135, -0.02935471571981907, -0.033657342195510864, -0.034272003918886185, -0.038369741290807724, 0.021755272522568703, 0.008647161535918713, -0.10221997648477554, 0.0022945012897253036, -0.049657151103019714, 0.02469819411635399, -0.04324977844953537, 0.001768314279615879, -0.09022477269172668, -0.04798080399632454, -0.055021464824676514, 0.03527781367301941, -0.0070220353081822395, -0.0166703499853611, 0.016819357872009277, -0.05800164118409157, 0.01927800104022026, -0.0015971871325746179, 0.02317085489630699, -0.03343382850289345, 0.030360525473952293, 0.0213641244918108, 0.02389727160334587, 0.0352591872215271, 0.014994001016020775, -0.019128993153572083, 0.019818158820271492, 0.012507418170571327, 0.015571409836411476, 0.01630714163184166, -0.08039020001888275, -0.024102158844470978, -0.032241757959127426, -0.02521972358226776, 0.0037019350565969944, 0.034197498112916946, -0.0022933371365070343, 0.10184745490550995, -0.06522856652736664, 0.0001596313959453255, 0.08761712163686752, -0.046863239258527756, 0.015664540231227875, 0.02523835003376007, 0.013354905880987644, -0.01991128921508789, -0.0657128393650055, -0.03579934313893318, 0.0337318480014801, -0.05449993535876274, -0.016716914251446724, -0.0008137272670865059, -0.00140859792008996, -0.03376909717917442, -0.015347897075116634, 0.046863239258527756, 0.0008346816175617278, -0.029038071632385254, 0.0043864441104233265, 0.06321694701910019, 0.014938123524188995, 0.02121511474251747, -0.0015657555777579546, -0.011902070604264736, 0.027641115710139275, 0.013401471078395844, -0.058932945132255554, 0.0027846002485603094, -0.03062129020690918, 0.028218524530529976, 0.04194595292210579, 0.004421367775648832, 0.01759234070777893, -0.03535231575369835, 0.06530306488275528, -0.003781096078455448, 0.013131392188370228, 0.09089531004428864, -0.013103453442454338, 0.01732226274907589, 0.04041861370205879, 0.06269541382789612, -0.0002694962313398719, 0.0036530415527522564, -0.043473292142152786, -0.012507418170571327, 0.024716820567846298, -0.015878740698099136, -0.050290439277887344, 0.024958958849310875, 0.0028614329639822245, -0.01722913235425949, 0.010775192640721798, 0.038928523659706116, 0.046900492161512375, -0.001299169729463756, -0.0360228568315506, -0.009205944836139679, 0.004323580767959356, 0.0864250510931015, -0.03535231575369835, -0.031105568632483482, -0.03455139324069023, -0.034365132451057434, 0.06053479015827179, 0.03790409117937088, 0.0797196626663208, 0.034365132451057434, -0.05867217853665352, -0.004323580767959356, -0.024102158844470978, -0.004155945964157581, 0.020283810794353485, -0.03881676867604256, 0.0020465415436774492, -0.07778254896402359, -0.041573431342840195, 0.021475879475474358, -0.035557202994823456, -0.007948683574795723, -0.07230647653341293, 0.010216409340500832, -0.008051127195358276, -0.05591551959514618, -0.03447689116001129, -0.050327692180871964, 0.01626988872885704, 0.05591551959514618, -0.03527781367301941, -0.038369741290807724, 0.016530653461813927, -0.032334890216588974, 0.04794355109333992, -0.001694974023848772, 0.0063887485302984715, 0.012926505878567696, -0.03708454221487045, 0.02998800203204155, -0.01166924461722374, 0.05412741377949715, 0.005783400498330593, 0.012535357847809792, -0.020898472517728806, -0.02186702750623226, 0.026300037279725075, -0.015999810770154, 0.026355914771556854, 0.0341043695807457, -0.012619175016880035, -0.02259344607591629, -0.003604148281738162, -0.0033061306457966566, -0.05118449032306671, 0.004318924155086279, 0.08158227056264877, 0.00958312302827835, 0.0009633180452510715, 0.0019371132366359234, -0.046267203986644745, 0.06712842732667923, -0.03799721971154213, -0.03270741179585457, -0.010216409340500832, 0.04596918821334839, -0.06358946859836578, -0.009378235787153244, -0.05241381376981735, -0.005392252467572689, 0.04008334130048752, 0.03386222943663597, 0.11391715705394745, 0.01994854025542736, -0.008120974525809288, 0.04470261186361313, -0.019687775522470474, 0.07096540182828903, 0.0032875046599656343, 0.021121984347701073, 0.0009411995415575802, -0.0035226589534431696, -0.015990497544407845, 0.04414382949471474, -0.06075830012559891, 0.00240276544354856, 0.04205770790576935, -0.02732447162270546, 0.002148984931409359, 0.025052089244127274, -0.014947435818612576, 0.03665614128112793, -0.01630714163184166, -0.003115213243290782, 0.042132213711738586, 0.008060439489781857, -0.012488792650401592, 0.02719409018754959, 0.004451635293662548, -0.005168739706277847, 0.00947602279484272, -0.02983899414539337, -0.01227459218353033, 0.07379656285047531, -0.04634170979261398, 0.03797859326004982, -0.02464231476187706, 0.06254640966653824, -0.007115165702998638, 0.022369932383298874, -0.049433641135692596, 0.027045080438256264, -0.007478374522179365, -0.0200230460613966, -0.048837605863809586, 0.044255588203668594, 0.030919307842850685, -0.03589247167110443, 0.001442357781343162, -0.0022514285519719124, -0.013224522583186626, 0.027119584381580353, -0.016400272026658058, 0.04775729030370712, -0.014817053452134132, 0.008391053415834904, 0.05897019803524017, 0.029820367693901062, 0.020749462768435478, 0.02793913334608078, 0.03369459509849548, 0.009871827438473701, -0.005243244115263224, -0.0367865264415741, -0.016335079446434975, 0.05520772561430931, -0.001853295834735036, 0.05133350193500519, 0.009853200986981392, -0.04794355109333992, -0.04414382949471474, 0.011725123040378094, 0.02857241965830326, -0.06735193729400635, 0.011166340671479702, -0.005727522075176239, -0.006556383334100246, -0.002299157902598381, 0.06005050987005234, -0.05468619614839554, -0.015804236754775047, -0.026393167674541473, 0.01193932257592678, 0.05464894324541092, 0.02983899414539337, 0.058858439326286316, -0.06466978043317795, 0.06507955491542816, -0.003722889581695199, 0.036991413682699203, 0.06519131362438202, 0.020954350009560585, -0.0008364277891814709, 0.023636506870388985, 0.01772272400557995, 0.002945250365883112, 0.007343335542827845, 0.08396641165018082, 0.00014384288806468248, -0.019594645127654076, 0.06642062962055206, -0.025704002007842064, 0.029559602960944176, 0.028199898079037666, -0.002295665442943573, 0.033564213663339615, 0.047608282417058945, 0.0034830786753445864, 0.011212905868887901, 0.005266526713967323, -0.02667255885899067, -0.04067937657237053, -0.06198762357234955, -0.006356152705848217, 0.04384581372141838, 0.01989266276359558, -0.028479289263486862, -0.05137075111269951, -0.09521656483411789, -0.04332428425550461, -0.008847392164170742, -0.07115165889263153, -0.008693726733326912, 0.05043944716453552, 0.010896261781454086, 0.023524750024080276, 0.001661214279010892, -0.02197878435254097, -0.025592245161533356, -0.028125394135713577, -0.03050953336060047, 0.02989487163722515, -0.02132687158882618, -0.012125583365559578, -0.015934618189930916, 0.09536557644605637, -0.06608536094427109, -0.01638164557516575, -0.0119765754789114, -0.06072105094790459, 0.08024118840694427, 0.020451445132493973, -0.027659742161631584, 0.0035715524572879076, -0.022779706865549088, 0.0008090707124210894, 0.04053036868572235, 0.03596697747707367, -0.02862829901278019, -0.02518247254192829, 0.04783179610967636, 0.018085932359099388, 0.050141431391239166, -0.02987624704837799, 0.002984830643981695, 0.015813549980521202, -0.009019683115184307, -0.018477080389857292, -0.015161636285483837, 0.015385149046778679, 0.03069579415023327, 0.048167064785957336, -0.002233966486528516, 0.016791418194770813, -0.024083532392978668, 0.04541040584445, -0.040344107896089554, 0.014295523054897785, -0.07625520974397659, -0.006677452940493822, 0.07673948258161545, -0.02266795001924038, 0.007077913731336594, 0.015170949511229992, 0.04436734318733215, 0.03151534125208855, 0.026449045166373253, 0.0191662460565567, 0.011296723037958145, -0.026858819648623466, 0.03417887166142464, 0.013718114234507084, -0.018747158348560333, -0.015431714244186878, 0.03213000297546387, 0.02659805491566658, 0.06776171177625656, 0.042840003967285156, -0.019538767635822296, 0.013559792190790176, -0.0028428067453205585, 0.005843935534358025, -0.029559602960944176, -0.03134770691394806, 0.031049689278006554, -0.0017427033744752407, -0.029429219663143158, -0.00532240467146039, -0.056809570640325546, 0.00828860979527235, 0.0198367852717638, -0.0436968058347702, 0.032968178391456604, 0.05230205878615379, -0.04786904901266098, -0.03054678626358509, 0.06005050987005234, 0.03509155288338661, 0.019091740250587463, -0.07044386863708496, 0.0599760040640831, -0.026225533336400986, -0.001481938175857067, -0.025759881362318993, -0.011082522571086884, 0.003008113242685795, -0.0014248958323150873, -0.016642410308122635, 0.02469819411635399, 0.005862561520189047, -0.013289714232087135, 0.03706591576337814, 0.003969685174524784, 0.004344535060226917, 0.038705013692379, 0.000960407720413059, 0.014723923057317734, -0.013699488714337349, 0.042392976582050323, -0.018458453938364983, 0.062322892248630524, -0.03654438629746437, -0.060236770659685135, 0.019818158820271492, 0.014342088252305984, 0.014155827462673187, 0.05498421564698219, -0.01764821819961071, -0.01093351375311613, -0.03727080300450325, 0.019799532368779182, -0.04853958636522293, -0.022854210808873177, -0.011892757378518581, 0.015329270623624325, 0.004996448289602995, 0.009299075230956078, 0.0016449164832010865, -0.010914888232946396, 0.010533053427934647, 0.00813494436442852, -0.029112577438354492, -0.04578292742371559, -0.03566896170377731, 0.056921325623989105, 0.021736646071076393, 0.018849601969122887, 0.038891274482011795, 0.06738919019699097, -0.0544254295527935, 0.07379656285047531, -0.050886474549770355, -0.004712400492280722, -0.02987624704837799, 0.05662330985069275, 0.012907879427075386, 0.0016681990819051862, -0.01298238430172205, 0.032316263765096664, -0.035482700914144516, -0.03799721971154213, -0.036916907876729965, -0.007855553179979324, 0.02138274908065796, -0.026151029393076897, 0.006365465931594372, -0.00909418798983097, -0.02384139411151409, -0.027138210833072662, -0.0191662460565567, 0.001847475185059011, -0.029391968622803688, -0.06414824724197388, 0.015580723062157631, 0.01920349709689617, -0.010551678948104382, -0.019017236307263374, 0.004484230652451515, 0.056995831429958344, -0.009489992633461952, 0.03997158631682396, -0.03615323826670647, -0.03734530881047249, 0.024884454905986786, 0.017070811241865158, 0.055654752999544144, 0.05509597063064575, 0.0597897432744503, -0.01722913235425949, 0.017499210312962532, 0.008828765712678432, 0.03933829814195633, -0.00895914901047945, 0.0037019350565969944, 0.018383949995040894, 0.009517931379377842, -0.004318924155086279, 0.020935723558068275, -0.015496905893087387, -0.01594393141567707, 0.05677231773734093, -0.01638164557516575, 0.07688849419355392, 0.029466472566127777, -0.007985935546457767, -0.0020605111494660378, -0.007115165702998638, -0.07897461950778961, -0.06548932939767838, 0.06466978043317795, -0.030211515724658966, 0.0463789626955986, -0.010421296581625938, -0.0008346816175617278, 0.005527291912585497, 0.01853295788168907, 0.061615101993083954, -0.012507418170571327, -0.02007892355322838, -0.04336153343319893, 0.049619901925325394, 0.06072105094790459, -0.01621400937438011, 0.02460506372153759, -0.05300984904170036, -0.014807740226387978, -0.021792523562908173, 0.01200451422482729, 0.05300984904170036, 0.009136096574366093, -0.0006164071382954717, -0.004328237380832434, 0.028367532417178154, 0.0016844968777149916, -0.008931209333240986, 0.018598150461912155, -0.007995248772203922, 0.008386396802961826, 0.021643515676259995, -0.012479479424655437, 0.026132402941584587, 0.014966062270104885, -0.025629498064517975 ]
719,941
ibm_platform_services.resource_controller_v2
list_resource_keys
Get a list of all of the resource keys. View all of the resource keys that exist for all of your resource instances. :param str guid: (optional) The GUID of the key. :param str name: (optional) The human-readable name of the key. :param str resource_group_id: (optional) The ID of the resource group. :param str resource_id: (optional) The unique ID of the offering. This value is provided by and stored in the global catalog. :param int limit: (optional) Limit on how many items should be returned. :param str start: (optional) An optional token that indicates the beginning of the page of results to be returned. Any additional query parameters are ignored if a page token is present. If omitted, the first page of results is returned. This value is obtained from the 'start' query parameter in the 'next_url' field of the operation response. :param str updated_from: (optional) Start date inclusive filter. :param str updated_to: (optional) End date inclusive filter. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse with `dict` result representing a `ResourceKeysList` object
def list_resource_keys( self, *, guid: str = None, name: str = None, resource_group_id: str = None, resource_id: str = None, limit: int = None, start: str = None, updated_from: str = None, updated_to: str = None, **kwargs, ) -> DetailedResponse: """ Get a list of all of the resource keys. View all of the resource keys that exist for all of your resource instances. :param str guid: (optional) The GUID of the key. :param str name: (optional) The human-readable name of the key. :param str resource_group_id: (optional) The ID of the resource group. :param str resource_id: (optional) The unique ID of the offering. This value is provided by and stored in the global catalog. :param int limit: (optional) Limit on how many items should be returned. :param str start: (optional) An optional token that indicates the beginning of the page of results to be returned. Any additional query parameters are ignored if a page token is present. If omitted, the first page of results is returned. This value is obtained from the 'start' query parameter in the 'next_url' field of the operation response. :param str updated_from: (optional) Start date inclusive filter. :param str updated_to: (optional) End date inclusive filter. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse with `dict` result representing a `ResourceKeysList` object """ headers = {} sdk_headers = get_sdk_headers( service_name=self.DEFAULT_SERVICE_NAME, service_version='V2', operation_id='list_resource_keys' ) headers.update(sdk_headers) params = { 'guid': guid, 'name': name, 'resource_group_id': resource_group_id, 'resource_id': resource_id, 'limit': limit, 'start': start, 'updated_from': updated_from, 'updated_to': updated_to, } if 'headers' in kwargs: headers.update(kwargs.get('headers')) del kwargs['headers'] headers['Accept'] = 'application/json' url = '/v2/resource_keys' request = self.prepare_request(method='GET', url=url, headers=headers, params=params) response = self.send(request, **kwargs) return response
(self, *, guid: Optional[str] = None, name: Optional[str] = None, resource_group_id: Optional[str] = None, resource_id: Optional[str] = None, limit: Optional[int] = None, start: Optional[str] = None, updated_from: Optional[str] = None, updated_to: Optional[str] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
[ -0.0367964431643486, -0.07416783273220062, -0.09860296547412872, -0.048259396106004715, 0.0073934257961809635, 0.04861873760819435, 0.013780699111521244, -0.059003669768571854, 0.026339640840888023, -0.016475750133395195, -0.026716947555541992, -0.03178364410996437, 0.060980040580034256, -0.01731121726334095, -0.003746122121810913, 0.01306201796978712, 0.024309368804097176, -0.03189144656062126, -0.012711661867797375, -0.03316710516810417, 0.037119846791028976, 0.06705289334058762, 0.06266894191503525, -0.003829219611361623, 0.0038584161084145308, 0.053649500012397766, 0.03032831847667694, 0.01422987412661314, 0.03862907737493515, 0.01829041913151741, -0.0392758883535862, 0.041611600667238235, 0.050199832767248154, 0.027130190283060074, -0.04829533025622368, -0.023896127939224243, 0.04448632523417473, -0.031118866056203842, -0.033508479595184326, 0.04168346896767616, -0.001273412024602294, 0.0440191812813282, 0.016888992860913277, -0.053649500012397766, 0.06816684454679489, 0.051673129200935364, 0.0488702766597271, -0.025585025548934937, 0.023896127939224243, 0.0027601823676377535, 0.06141125038266182, 0.0028545092791318893, -0.046498630195856094, -0.04714544117450714, -0.02337508462369442, -0.010582570917904377, -0.03570045530796051, -0.01848805695772171, -0.02504601515829563, -0.004386196844279766, -0.0196379441767931, 0.010807158425450325, 0.0012386009329929948, 0.00620760302990675, -0.039743032306432724, -0.02592639997601509, -0.023698490113019943, -0.025980301201343536, -0.0504513718187809, 0.05311049148440361, 0.011112597770988941, 0.030687658116221428, -0.020769866183400154, 0.0034856004640460014, -0.054619718343019485, -0.015595367178320885, -0.00586622953414917, 0.004202035255730152, -0.06633421033620834, -0.07096970081329346, 0.0016001870390027761, 0.016978826373815536, -0.0013419112656265497, -0.013412375003099442, 0.03783852979540825, 0.03970709815621376, -0.04315676540136337, -0.043767642229795456, 0.037694793194532394, -0.008152532391250134, -0.030472053214907646, 0.03773072734475136, -0.05379323661327362, 0.048367198556661606, 0.04534874111413956, -0.030076779425144196, -0.05077477917075157, -0.030382217839360237, 0.01574808731675148, 0.014984488487243652, 0.009059865958988667, -0.04146786406636238, 0.07740189135074615, 0.05185279995203018, 0.03649100288748741, -0.09608758240938187, -0.06468124687671661, 0.024866346269845963, 0.012064849026501179, 0.03952742740511894, -0.018326353281736374, 0.014786851592361927, 0.06626234203577042, 0.01592775620520115, -0.003948251251131296, 0.04060544818639755, 0.008763410151004791, 0.010950894095003605, 0.05152939260005951, -0.08595418930053711, 0.03239452466368675, -0.04398324713110924, 0.04333643615245819, -0.006171668879687786, -0.013771715573966503, -0.007101461756974459, -0.023159479722380638, 0.058141253888607025, -0.019422341138124466, 0.025836564600467682, -0.022620469331741333, 0.04078511893749237, -0.056667957454919815, 0.03392171859741211, 0.03490990772843361, -0.032897599041461945, 0.02502804808318615, 0.05731477215886116, 0.006975692696869373, 0.08286385983228683, 0.020266789942979813, 0.03473023697733879, 0.030831394717097282, 0.06547179818153381, -0.021883821114897728, -0.06615453958511353, 0.0639984980225563, 0.008893671445548534, 0.02808244153857231, 0.009944741614162922, 0.008934097364544868, 0.0015339336823672056, 0.014364627189934254, -0.030651723966002464, 0.012783529236912727, -0.018649758771061897, 0.013726797886192799, -0.07046662271022797, -0.03733545169234276, -0.024524971842765808, -0.015191108919680119, -0.01594572328031063, 0.010402900166809559, -0.04038984328508377, 0.013583061285316944, -0.007995320484042168, -0.0668732225894928, -0.02531552128493786, 0.007357491645962, -0.025872498750686646, -0.046211156994104385, 0.01231638714671135, 0.006656778044998646, -0.026357607915997505, -0.017463937401771545, 0.004480523988604546, -0.000966849853284657, -0.024309368804097176, -0.00826931744813919, -0.03776666149497032, 0.03219688683748245, -0.035359080880880356, 0.023051677271723747, -0.03307726979255676, -0.004453573375940323, 0.026357607915997505, -0.026231838390231133, 0.07833617925643921, -0.03108293190598488, -0.02238689735531807, -0.025297554209828377, -0.007132904138416052, -0.017266299575567245, 0.04427072033286095, -0.08135463297367096, -0.02504601515829563, 0.008107614703476429, -0.032430458813905716, 0.011462953872978687, 0.026249805465340614, -0.037694793194532394, 0.06054883450269699, -0.016844075173139572, 0.02905265986919403, 0.052966754883527756, -0.00777522474527359, -0.003678745822981, -0.03282573074102402, 0.018811462447047234, -0.007847093045711517, -0.024291401728987694, -0.014993472024798393, -0.03776666149497032, 0.02238689735531807, -0.032520294189453125, 0.0428333580493927, -0.010582570917904377, -0.014301742427051067, -0.012307403609156609, -0.07028695195913315, 0.008934097364544868, -0.02229706384241581, -0.008696034550666809, -0.0572788380086422, -0.022332996129989624, 0.03000491112470627, 0.03295150026679039, -0.007263164967298508, -0.03805413469672203, -0.017724458128213882, 0.023500852286815643, 0.00010148555156774819, 0.031819578260183334, 0.01383460033684969, -0.05278708413243294, -0.029106561094522476, 0.011453970335423946, 0.0011487659066915512, 0.0032587668392807245, 0.004332296084612608, -0.0039123171009123325, 0.05929114297032356, -0.002614200348034501, -0.006674745120108128, -0.010429850779473782, -0.008291776292026043, -0.02953776903450489, 0.030472053214907646, 0.014661082066595554, -0.06536399573087692, -0.008534330874681473, -0.06863398849964142, 0.027543431147933006, -0.046606432646512985, -0.0043906886130571365, -0.07524584978818893, -0.0759645327925682, -0.06173465773463249, 0.014732950367033482, 0.003970709629356861, -0.021829919889569283, 0.029699472710490227, -0.08861330896615982, 0.023411016911268234, 0.04276148974895477, 0.01001660991460085, 0.011642624624073505, 0.05591334402561188, -0.02238689735531807, 0.029807275161147118, -0.018829429522156715, 0.006553467828780413, -0.03765885904431343, -0.031729742884635925, 0.024794477969408035, 0.049840494990348816, 0.021883821114897728, -0.043264567852020264, -0.022836074233055115, -0.013843582943081856, 0.002369399880990386, -0.0296276044100523, -0.03031035140156746, 0.050702910870313644, 0.07754562795162201, -0.027723100036382675, -0.002084173494949937, 0.012379271909594536, -0.02454293891787529, -0.01422987412661314, 0.021937722340226173, 0.0412522628903389, -0.008529839105904102, -0.05267928168177605, -0.017374102026224136, 0.025189751759171486, -0.03591606020927429, -0.07445529848337173, 0.03852127492427826, 0.039563361555337906, 0.016448799520730972, 0.026088101789355278, 0.046103354543447495, -0.022063491865992546, -0.008830786682665348, -0.027327826246619225, 0.05799751728773117, 0.018110748380422592, -0.046498630195856094, 0.01771547459065914, -0.06859805434942245, 0.03694017976522446, 0.044055115431547165, -0.06363915652036667, 0.022512666881084442, -0.07697068154811859, 0.06457344442605972, 0.07833617925643921, -0.004451327491551638, 0.04685796797275543, -0.023411016911268234, 0.01857789047062397, -0.018649758771061897, -0.01848805695772171, 0.08257639408111572, -0.02630370669066906, 0.03665270656347275, 0.01976371370255947, 0.06442970782518387, -0.011184465140104294, 0.009845922701060772, -0.05673982575535774, -0.009315895847976208, -0.008224399760365486, -0.06310015171766281, -0.017760392278432846, 0.06054883450269699, 0.00787853542715311, -0.013547128066420555, 0.028693320229649544, 0.02375239133834839, -0.03526924550533295, -0.016188278794288635, 0.000008961574167187791, -0.06209399551153183, 0.01994338445365429, 0.08954758942127228, -0.039743032306432724, -0.013268639333546162, -0.028387879952788353, 0.022440798580646515, 0.005089156329631805, 0.06317202001810074, 0.06378289312124252, 0.09522517025470734, -0.03273589909076691, -0.01741901971399784, -0.02130887657403946, -0.03844940662384033, 0.03873687982559204, 0.007833617739379406, -0.0031913905404508114, -0.09702187031507492, -0.03909622132778168, -0.029465900734066963, -0.017284266650676727, -0.0028365422040224075, -0.058141253888607025, 0.04883434250950813, 0.005399087443947792, -0.05720696970820427, -0.005762919317930937, -0.04527687281370163, 0.027399694547057152, 0.02258453518152237, -0.051493458449840546, -0.00978303886950016, 0.03435292840003967, -0.03523331135511398, 0.07452716678380966, -0.00870950985699892, -0.01280149631202221, 0.03352644667029381, -0.013268639333546162, -0.002021288964897394, 0.014714983291924, 0.05709916725754738, -0.048367198556661606, 0.028513649478554726, -0.006351339165121317, 0.023500852286815643, 0.0006383904255926609, 0.02542332373559475, 0.040317974984645844, -0.011813310906291008, -0.018047863617539406, 0.02522568590939045, -0.01974574662744999, 0.021865854039788246, -0.06500465422868729, 0.03119073435664177, 0.060081690549850464, -0.01906300149857998, -0.002906164387241006, 0.0444144569337368, -0.017239348962903023, 0.04754071682691574, -0.06902926415205002, -0.033867817372083664, -0.006980184465646744, 0.01574808731675148, -0.04017424210906029, -0.022638436406850815, -0.025351455435156822, 0.02619590424001217, 0.0023649081122130156, -0.042402151972055435, 0.08710407465696335, 0.0129092987626791, 0.06080036982893944, -0.013430342078208923, -0.050595108419656754, 0.03773072734475136, -0.007918961346149445, 0.02238689735531807, 0.006661269813776016, -0.008673575706779957, -0.01066342182457447, 0.015191108919680119, -0.03286166489124298, -0.01374476496130228, 0.024866346269845963, -0.017481902614235878, -0.014517346397042274, -0.04197094216942787, 0.0015316877979785204, 0.03473023697733879, -0.0006518656737171113, -0.017526820302009583, -0.01800294779241085, 0.003027441678568721, -0.015819955617189407, 0.005309252068400383, -0.0019999530632048845, -0.03282573074102402, 0.02747156284749508, -0.011202432215213776, 0.03190941363573074, 0.05645235255360603, -0.013385424390435219, 0.0400664396584034, 0.05088258162140846, 0.06094410642981529, -0.05993795394897461, 0.01383460033684969, -0.032987434417009354, 0.027794968336820602, 0.01761665567755699, -0.02084173448383808, -0.06737630069255829, 0.06299234926700592, 0.04038984328508377, -0.008552297949790955, -0.015622317790985107, 0.03891655057668686, -0.010375949554145336, -0.0029510818421840668, 0.03870094567537308, 0.033310841768980026, -0.033831886947155, -0.022512666881084442, 0.04545654356479645, -0.002908410271629691, 0.027148155495524406, 0.036616772413253784, -0.011768393218517303, 0.020985471084713936, 0.04577994719147682, -0.052068404853343964, -0.00301845814101398, 0.01699679344892502, -0.06169872358441353, 0.04574401304125786, -0.014202923513948917, -0.007972861640155315, -0.03841347247362137, -0.018434155732393265, 0.004325558431446552, -0.12095393240451813, -0.00874993484467268, 0.0017225873889401555, -0.025638926774263382, -0.013861550018191338, 0.04488159716129303, -0.0008882441907189786, -0.03503567352890968, 0.01899113319814205, -0.015218059532344341, -0.0005474323988892138, 0.025010081008076668, 0.03334677591919899, -0.04060544818639755, 0.031729742884635925, 0.025549091398715973, 0.03286166489124298, 0.044845663011074066, 0.039347756654024124, -0.0246327742934227, -0.005542823579162359, -0.04380357638001442, 0.01643083244562149, 0.011265316978096962, 0.06780750304460526, -0.00933386292308569, -0.025261620059609413, 0.018739594146609306, -0.053649500012397766, 0.055122796446084976, 0.02288997359573841, 0.055122796446084976, 0.009253012016415596, 0.07862364500761032, 0.006382781080901623, 0.032125018537044525, 0.0010229968465864658, 0.006140226498246193, -0.04721730947494507, -0.06913706660270691, -0.006557959597557783, 0.05426038056612015, -0.01364594604820013, 0.003707942320033908, 0.007020610384643078, -0.03787446394562721, -0.04869060590863228, 0.024309368804097176, -0.10794581472873688, 0.04175533726811409, 0.01349322684109211, 0.0008197449496947229, 0.06762783974409103, 0.001211650436744094, -0.004442343953996897, -0.03852127492427826, 0.0009803251596167684, 0.034173257648944855, 0.01954811066389084, -0.020751899108290672, -0.018541958183050156, -0.034658368676900864, 0.04369577392935753, -0.054907191544771194, 0.0016316293040290475, -0.0342271588742733, -0.040138307958841324, 0.007056544069200754, 0.04955302178859711, -0.0220095906406641, -0.026034202426671982, -0.01594572328031063, -0.0379822663962841, 0.05868026241660118, 0.007689881604164839, -0.021686185151338577, -0.007523686625063419, 0.01954811066389084, 0.020410526543855667, 0.03237655758857727, 0.02865738607943058, 0.001420516986399889, -0.01965591125190258, 0.026177937164902687, 0.011220399290323257, 0.011076663620769978, -0.006593893747776747, 0.027112223207950592, 0.047971922904253006, -0.041611600667238235, 0.0031779154669493437, -0.061159711331129074, 0.06148311868309975, -0.041036657989025116, 0.04021017625927925, -0.014741933904588223, 0.006670253351330757, 0.0809234231710434, 0.009378780610859394, 0.004031348507851362, -0.0030454087536782026, 0.033005401492118835, 0.004031348507851362, -0.005170008167624474, -0.01099581178277731, 0.0007473154691979289, 0.007492244243621826, -0.004648964386433363, 0.022566568106412888, -0.004833126440644264, -0.007842601276934147, 0.005726985167711973, 0.006180652417242527, 0.048546869307756424, 0.03469430282711983, 0.05415257811546326, 0.014795835129916668, 0.014652098529040813, -0.010061527602374554, -0.029304197058081627, -0.03715578094124794, 0.03708391636610031, -0.04549247771501541, -0.03931182250380516, 0.032897599041461945, -0.012253502383828163, 0.0029937534127384424, 0.04901400953531265, 0.014975504949688911, -0.01615234464406967, 0.04049764573574066, -0.0064591411501169205, 0.009648285806179047, 0.04775632172822952, 0.029196396470069885, 0.04915774613618851, -0.08113902807235718, 0.008345677517354488, -0.01945827528834343, 0.0512419193983078, -0.013385424390435219, 0.02337508462369442, -0.026375574991106987, -0.0004808983358088881, -0.007164346519857645, 0.054332245141267776, 0.021272942423820496, 0.04056951403617859, 0.014059187844395638, -0.014158005826175213, 0.010007626377046108, 0.007200280204415321, -0.007397917564958334, 0.03977896645665169, -0.024812445044517517, 0.01564926840364933, -0.02729189209640026, 0.06626234203577042, -0.01710459589958191, -0.04861873760819435, 0.02883705496788025, -0.047971922904253006, -0.03931182250380516, 0.053254224359989166, -0.0030251957941800356, -0.034478697925806046, -0.03108293190598488, -0.01232537068426609, -0.04772038757801056, -0.033310841768980026, -0.026465410366654396, -0.015990640968084335, 0.027345793321728706, -0.019889483228325844, 0.027741067111492157, -0.04822346195578575, -0.025261620059609413, -0.03138837218284607, -0.02953776903450489, -0.008718493394553661, -0.042474016547203064, 0.03420919179916382, 0.02747156284749508, -0.021272942423820496, 0.012855397537350655, 0.023698490113019943, -0.057530373334884644, 0.07538958638906479, -0.006257012020796537, -0.025656893849372864, 0.001429500407539308, 0.011400070041418076, -0.020967504009604454, -0.002171762753278017, -0.028118375688791275, 0.06877772510051727, -0.014463445171713829, -0.0448097288608551, -0.008696034550666809, -0.026716947555541992, -0.02414766512811184, -0.01699679344892502, 0.05993795394897461, -0.027992606163024902, -0.009908807463943958, -0.015622317790985107, -0.047468848526477814, -0.014975504949688911, 0.00418406818062067, -0.0059111472219228745, -0.0012812726199626923, 0.0028163292445242405, 0.0013868288369849324, -0.013115919195115566, 0.04861873760819435, 0.028926890343427658, -0.039347756654024124, -0.006490583531558514, 0.0018281436059623957, -0.026555245742201805, -0.05810531973838806, 0.020877668634057045, 0.042402151972055435, 0.026267772540450096, 0.022261129692196846, -0.0904100090265274, 0.033831886947155, -0.01985354907810688, -0.005484430585056543, -0.049229614436626434, 0.043480172753334045, 0.034478697925806046, 0.028136342763900757, -0.004543408285826445, 0.00260521681047976, 0.007802175357937813, -0.005776394624263048, 0.01256792526692152, -0.0009842554572969675, 0.07125717401504517, -0.04534874111413956, -0.008305251598358154, 0.009010456502437592, -0.046498630195856094, -0.08221705257892609, -0.045636214315891266, 0.11498888581991196, -0.03676050901412964, 0.02346491813659668, -0.035053640604019165, 0.039563361555337906, 0.03137040510773659, -0.010465784929692745, 0.0832950696349144, -0.03119073435664177, -0.023357117548584938, 0.007932435721158981, 0.007550637237727642, 0.056955430656671524, 0.001044894102960825, 0.018757561221718788, -0.029771341010928154, 0.019530143588781357, 0.019691845402121544, -0.008992490358650684, -0.014310725964605808, -0.004125675186514854, -0.023932060226798058, -0.04035390913486481, 0.07474277168512344, 0.01800294779241085, 0.03160397708415985, 0.014041220769286156, -0.014346660114824772, -0.009145209565758705, 0.025369422510266304, -0.02795667201280594, 0.042402151972055435, 0.05117005109786987, -0.020302724093198776 ]
719,942
ibm_platform_services.resource_controller_v2
list_resource_keys_for_instance
Get a list of all the resource keys for the instance. You may have many resource keys for one resource instance. For example, you may have a different resource key for each user or each role. :param str id: The resource instance URL-encoded CRN or GUID. :param int limit: (optional) Limit on how many items should be returned. :param str start: (optional) An optional token that indicates the beginning of the page of results to be returned. Any additional query parameters are ignored if a page token is present. If omitted, the first page of results is returned. This value is obtained from the 'start' query parameter in the 'next_url' field of the operation response. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse with `dict` result representing a `ResourceKeysList` object
def list_resource_keys_for_instance( self, id: str, *, limit: int = None, start: str = None, **kwargs ) -> DetailedResponse: """ Get a list of all the resource keys for the instance. You may have many resource keys for one resource instance. For example, you may have a different resource key for each user or each role. :param str id: The resource instance URL-encoded CRN or GUID. :param int limit: (optional) Limit on how many items should be returned. :param str start: (optional) An optional token that indicates the beginning of the page of results to be returned. Any additional query parameters are ignored if a page token is present. If omitted, the first page of results is returned. This value is obtained from the 'start' query parameter in the 'next_url' field of the operation response. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse with `dict` result representing a `ResourceKeysList` object """ if not id: raise ValueError('id must be provided') headers = {} sdk_headers = get_sdk_headers( service_name=self.DEFAULT_SERVICE_NAME, service_version='V2', operation_id='list_resource_keys_for_instance' ) headers.update(sdk_headers) params = {'limit': limit, 'start': start} if 'headers' in kwargs: headers.update(kwargs.get('headers')) del kwargs['headers'] headers['Accept'] = 'application/json' path_param_keys = ['id'] path_param_values = self.encode_path_vars(id) path_param_dict = dict(zip(path_param_keys, path_param_values)) url = '/v2/resource_instances/{id}/resource_keys'.format(**path_param_dict) request = self.prepare_request(method='GET', url=url, headers=headers, params=params) response = self.send(request, **kwargs) return response
(self, id: str, *, limit: Optional[int] = None, start: Optional[str] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
[ 0.0004769674560520798, -0.08313143253326416, -0.051834478974342346, -0.04962652176618576, 0.006856064777821302, 0.06287427991628647, 0.03241845592856407, -0.04664752632379532, 0.044299378991127014, 0.019801542162895203, -0.025969810783863068, -0.022079596295952797, 0.05859854817390442, -0.04051430523395538, 0.006965586915612221, -0.005051145795732737, 0.025706958025693893, -0.03096400387585163, -0.016805026680231094, -0.025181254372000694, 0.03427594527602196, 0.09588853269815445, 0.031261902302503586, 0.004398395773023367, 0.031261902302503586, 0.06960329413414001, 0.02307843416929245, 0.010610472410917282, 0.04125029221177101, 0.0020863902755081654, -0.030490869656205177, 0.05144896358251572, 0.018539851531386375, 0.017094163224101067, -0.03516964241862297, -0.04486013203859329, 0.03728998452425003, -0.024340126663446426, -0.08109870553016663, 0.08102861046791077, 0.0005588349886238575, 0.039357755333185196, 0.012958619743585587, -0.07724353671073914, 0.0325060710310936, 0.027091313153505325, 0.040093742311000824, -0.025742005556821823, 0.001947297714650631, -0.039007287472486496, 0.051484011113643646, 0.0010371714597567916, -0.021886836737394333, -0.044194240123033524, -0.00527457008138299, 0.0006812256178818643, -0.04657743498682976, 0.0022824343759566545, 0.0006927254144102335, -0.01280967053025961, -0.025759529322385788, -0.006181410513818264, 0.015227911993861198, 0.005511137191206217, -0.010838277637958527, -0.020046871155500412, -0.0413554348051548, 0.007149583660066128, -0.043983958661556244, 0.0379558764398098, 0.01810176484286785, -0.005138763226568699, -0.01943354867398739, 0.007719096727669239, -0.05477842688560486, 0.00005571921792579815, -0.02439269609749317, -0.0155520960688591, -0.024760689586400986, -0.05004708468914032, -0.01692768931388855, 0.011539217084646225, -0.0007261295686475933, -0.033347200602293015, 0.035257261246442795, 0.02297329343855381, -0.018855273723602295, -0.05022231861948967, 0.01247672364115715, -0.022675395011901855, -0.03771054744720459, 0.03222569450736046, -0.0574069507420063, 0.0543578639626503, 0.005156286526471376, -0.023884516209363937, -0.024480313062667847, -0.04654238745570183, -0.030105354264378548, 0.011083606630563736, 0.0015530191594734788, -0.044054049998521805, 0.09588853269815445, 0.03890214487910271, 0.03392547369003296, -0.12056159973144531, -0.07019909471273422, -0.009261163882911205, -0.002604428445920348, 0.060000427067279816, -0.0030293732415884733, 0.047278374433517456, 0.056495729833841324, 0.02770463563501835, 0.0251286830753088, 0.021641509607434273, 0.025952287018299103, 0.016270559281110764, 0.012415391393005848, -0.09042119979858398, 0.016550935804843903, -0.04272226616740227, 0.024585455656051636, 0.011854640208184719, -0.020152011886239052, 0.005375330336391926, 0.009453922510147095, 0.010750660672783852, -0.008880027569830418, -0.01063675805926323, 0.016743693500757217, 0.028791092336177826, -0.09897266328334808, 0.019626308232545853, 0.025969810783863068, -0.023516522720456123, 0.05414757877588272, 0.06473176926374435, -0.00019618093210738152, 0.07303790003061295, 0.012283965945243835, 0.05092325806617737, 0.002396336989477277, 0.04272226616740227, -0.03637876361608505, -0.05961490795016289, 0.028195293620228767, 0.05116858705878258, 0.07387902587652206, -0.00742119736969471, 0.0032987967133522034, -0.01454449538141489, 0.052535418421030045, -0.011618073098361492, 0.0033338437788188457, -0.04061944782733917, 0.009690489619970322, -0.05078307166695595, -0.005826559849083424, -0.03231331333518028, 0.004017259925603867, 0.010811992920935154, 0.014150217175483704, -0.05723171308636665, -0.009795630350708961, 0.006807875353842974, -0.0451054610311985, -0.0033426054287701845, 0.010181146673858166, 0.0022758631967008114, -0.026600655168294907, -0.005125620402395725, 0.016174180433154106, -0.028756044805049896, -0.03693951293826103, 0.047523703426122665, 0.024199938401579857, -0.010934657417237759, 0.019766494631767273, -0.004507917445152998, -0.002954898402094841, -0.030876386910676956, -0.007784809917211533, -0.017944052815437317, 0.01734825409948826, 0.013606988824903965, 0.00823165848851204, 0.08747725933790207, -0.019380979239940643, -0.0345037505030632, -0.02749435417354107, -0.035011932253837585, -0.00565570592880249, 0.04983680322766304, -0.0745098739862442, -0.010794469155371189, 0.008630318567156792, -0.04307273402810097, -0.005541803315281868, 0.04156571626663208, -0.05498870834708214, 0.04528069496154785, -0.018539851531386375, -0.011959780938923359, 0.0574069507420063, 0.023866992443799973, 0.014728492125868797, -0.03523973748087883, 0.0037171700969338417, -0.0025562390219420195, -0.02651303820312023, -0.023271193727850914, -0.04149562120437622, 0.03453879803419113, -0.0036295526660978794, 0.00426696939393878, -0.021623985841870308, -0.015219150111079216, 0.007425578311085701, -0.051729340106248856, 0.027985012158751488, -0.01678750291466713, -0.02845814637839794, -0.040093742311000824, -0.027336642146110535, 0.03078876994550228, 0.0369044691324234, -0.014640875160694122, -0.04861015826463699, -0.04111010581254959, 0.048505015671253204, 0.02283310517668724, 0.01862746849656105, 0.010663042776286602, -0.03774559497833252, -0.0054235197603702545, 0.01946859620511532, 0.0015146866207942367, 0.03778064250946045, -0.0005544541636481881, -0.006343503016978502, 0.043002642691135406, 0.004634962882846594, -0.01593761332333088, -0.05046764761209488, 0.03353995829820633, -0.009672965854406357, 0.026565609499812126, 0.010102291591465473, -0.06469672173261642, 0.013598226942121983, -0.08116880059242249, 0.05074802413582802, -0.030981527641415596, -0.011267603375017643, -0.06529252231121063, -0.05134382098913193, -0.052079807966947556, 0.03205046057701111, 0.000029297083528945222, -0.023761851713061333, 0.04223160818219185, -0.0837622731924057, 0.010435237549245358, 0.03361005336046219, 0.01612160913646221, -0.010645519010722637, 0.06977853178977966, -0.017488442361354828, 0.025759529322385788, -0.030525917187333107, 0.010978465899825096, -0.03686942160129547, -0.020134488120675087, 0.020484957844018936, 0.032611213624477386, 0.000006156323252071161, -0.0465073399245739, -0.039427850395441055, -0.04843492433428764, -0.02286815270781517, -0.051729340106248856, 0.0005257046432234347, 0.001795062329620123, 0.05870368704199791, -0.05372701585292816, 0.025496676564216614, 0.055899929255247116, 0.0022824343759566545, -0.008560224436223507, 0.025566769763827324, 0.0410049632191658, -0.01855737529695034, -0.0625588521361351, -0.021501321345567703, 0.009725536219775677, -0.03432851284742355, -0.07479024678468704, -0.005997414235025644, 0.017961576581001282, -0.005734561942517757, -0.006939301732927561, 0.05463823676109314, -0.011837116442620754, -0.02572448179125786, 0.006238361820578575, 0.0656079426407814, 0.023989656940102577, 0.008398132398724556, -0.004630581941455603, -0.06858693808317184, 0.043668534606695175, 0.011048560030758381, -0.07598184794187546, 0.02064266987144947, -0.04559611901640892, 0.04587649554014206, 0.06389064341783524, -0.009953341446816921, 0.056846197694540024, -0.02971983700990677, 0.05302607640624046, -0.013712129555642605, 0.015122771263122559, 0.08250058442354202, -0.03082381747663021, 0.0379558764398098, 0.004369920119643211, 0.07493043690919876, 0.020765334367752075, 0.004126781597733498, -0.03869186341762543, 0.0033754620235413313, 0.006198934279382229, -0.04692790284752846, -0.020099442452192307, 0.06760562211275101, 0.018644992262125015, -0.02845814637839794, 0.03767549991607666, 0.022675395011901855, -0.05050269514322281, -0.011442838236689568, -0.0059536052867770195, -0.02060762234032154, 0.016778741031885147, 0.07401921600103378, -0.03113923966884613, -0.011241317726671696, -0.0066939727403223515, 0.016918929293751717, 0.0016899214824661613, 0.07878560572862625, 0.05449805036187172, 0.06851684302091599, -0.03217312693595886, -0.009708012454211712, -0.024725642055273056, -0.04314282909035683, 0.04573630541563034, 0.029632220044732094, -0.0012025494361296296, -0.12126254290342331, -0.025706958025693893, -0.024112321436405182, -0.019626308232545853, -0.004634962882846594, -0.08761744201183319, 0.07422950118780136, 0.014798586256802082, -0.05526908487081528, -0.0019374407129362226, -0.05467328429222107, 0.002854138147085905, 0.04647229239344597, -0.013493086211383343, -0.024147367104887962, 0.03085886314511299, -0.01943354867398739, 0.06133221089839935, 0.00017413966997992247, -0.03876195847988129, 0.03530982881784439, -0.0088887894526124, -0.003765359753742814, 0.020905522629618645, 0.04983680322766304, -0.029772408306598663, 0.04941624030470848, 0.018574899062514305, 0.011057321913540363, -0.008301752619445324, 0.009234878234565258, 0.01953868940472603, 0.015008868649601936, -0.016796264797449112, 0.0014664969639852643, -0.007986330427229404, 0.06988367438316345, -0.047733984887599945, 0.03721988946199417, 0.06262894719839096, -0.0017852054443210363, 0.03208550810813904, 0.04699799790978432, -0.018399663269519806, 0.0386568158864975, -0.08936979621648788, -0.02081790566444397, -0.0379558764398098, 0.009147261269390583, -0.04983680322766304, 0.0068034944124519825, -0.022675395011901855, 0.027949964627623558, 0.014763539656996727, -0.03757036104798317, 0.10366895794868469, -0.007434340193867683, 0.031437139958143234, 0.0044378237798810005, -0.018785180523991585, 0.051764387637376785, -0.000645083433482796, -0.000145116398925893, 0.022009501233696938, 0.00688235042616725, -0.04696295037865639, 0.04566621035337448, -0.03339976817369461, -0.01767243817448616, 0.039953555911779404, -0.016664838418364525, -0.0006018223357386887, -0.030157923698425293, 0.011144938878715038, 0.027897393330931664, -0.015665998682379723, 0.005717038176953793, 0.009217355400323868, -0.019135650247335434, -0.027546923607587814, -0.011942258104681969, 0.010505331680178642, -0.002413860522210598, 0.031752560287714005, -0.006233981344848871, 0.010540378279983997, 0.05863359197974205, -0.008433178998529911, 0.03148971125483513, 0.004126781597733498, 0.05285084247589111, -0.03559020534157753, 0.039883460849523544, -0.040479257702827454, 0.00320679834112525, 0.026285232976078987, -0.01859242096543312, -0.07822485268115997, 0.05695134028792381, 0.0376054085791111, -0.024830782786011696, -0.017076639458537102, 0.01640198566019535, -0.008205373771488667, -0.00726348627358675, 0.07906597852706909, 0.03834139183163643, -0.034941837191581726, 0.0033754620235413313, 0.04868025332689285, 0.00022109714336693287, 0.015149055980145931, 0.05544431880116463, 0.04125029221177101, 0.04731341823935509, 0.007526338566094637, -0.039357755333185196, -0.03728998452425003, 0.025882193818688393, -0.051729340106248856, 0.055899929255247116, -0.04202132672071457, -0.039603084325790405, -0.04973166063427925, -0.009129737503826618, 0.014588304795324802, -0.08761744201183319, -0.022289877757430077, 0.021886836737394333, 0.021185897290706635, -0.03658904507756233, 0.06322474777698517, 0.018329570069909096, -0.05393729731440544, 0.017479680478572845, -0.010575425811111927, 0.007938140071928501, 0.03075372241437435, 0.04230170324444771, -0.027511877939105034, 0.028510715812444687, 0.02269291877746582, 0.02540905959904194, 0.05800274759531021, 0.004613058641552925, 0.008910694159567356, -0.007911855354905128, -0.028002535924315453, 0.02029220014810562, -0.00484086386859417, 0.04139048233628273, -0.005585612263530493, -0.02025715261697769, 0.033732715994119644, -0.04517555236816406, 0.0650121420621872, 0.022850628942251205, 0.0386568158864975, -0.021150851622223854, 0.05894901603460312, -0.0007436530431732535, 0.03707970306277275, -0.010014673694968224, 0.016691122204065323, -0.05873873457312584, -0.07836504280567169, -0.010847039520740509, 0.09140251576900482, -0.010277526453137398, -0.026074951514601707, -0.002407289342954755, -0.04629705846309662, -0.059930332005023956, 0.019748972728848457, -0.09967360645532608, 0.038797006011009216, 0.05320131033658981, 0.004142114892601967, 0.055724695324897766, -0.011004750616848469, -0.00292423227801919, -0.05495366081595421, -0.015482001937925816, 0.01890784502029419, 0.006317217834293842, 0.016375700011849403, -0.03469650819897652, -0.02314852923154831, 0.0663088783621788, -0.04075963422656059, 0.03686942160129547, -0.06213829293847084, -0.07324818521738052, 0.03294415771961212, 0.030596012249588966, -0.02940441481769085, -0.009953341446816921, -0.0137647008523345, -0.02891375683248043, 0.033942997455596924, 0.017085401341319084, -0.043633487075567245, -0.02537401206791401, 0.001622017938643694, 0.013878603465855122, 0.028615856543183327, -0.008748602122068405, -0.017094163224101067, -0.022605299949645996, 0.04654238745570183, -0.017654914408922195, 0.012143777683377266, -0.026565609499812126, 0.03248854726552963, 0.032032936811447144, 0.0008909598691388965, 0.02367423288524151, -0.05460319295525551, 0.03537992388010025, -0.033627573400735855, 0.07261733710765839, -0.026092475280165672, -0.0005237880395725369, 0.08004729449748993, 0.0036996465642005205, -0.014264119789004326, -0.017514728009700775, 0.03743017092347145, -0.007868046872317791, 0.01859242096543312, -0.03502945601940155, 0.004170590545982122, 0.03893719241023064, 0.006155125331133604, 0.03452127426862717, 0.009935818612575531, -0.01586751826107502, 0.009410113096237183, 0.021956931799650192, 0.06609860062599182, 0.032996729016304016, 0.02286815270781517, 0.03396052122116089, 0.010610472410917282, -0.01569228433072567, -0.008047662675380707, -0.031647421419620514, 0.002381004160270095, -0.05481347441673279, -0.03595820069313049, 0.04464985057711601, -0.026495514437556267, -0.016130371019244194, 0.06637897342443466, 0.027967488393187523, -0.023902038112282753, 0.02032724767923355, -0.02936936728656292, -0.002676712814718485, 0.027827300131320953, 0.028475670143961906, 0.018820226192474365, -0.051729340106248856, 0.021816743537783623, -0.003975641448050737, 0.04493022710084915, -0.004494775086641312, 0.014211549423635006, 0.013475563377141953, 0.02328871749341488, -0.016270559281110764, 0.004954766482114792, 0.021431226283311844, 0.03427594527602196, 0.01841718703508377, -0.008958883583545685, -0.01348432432860136, -0.005712657235562801, -0.026881031692028046, 0.0011280745966359973, -0.07118041068315506, 0.052640561014413834, -0.019766494631767273, 0.04878539219498634, -0.01852232776582241, -0.05001203715801239, -0.005318379029631615, -0.0311041921377182, -0.02043238840997219, 0.02237749472260475, -0.01696273684501648, -0.023709280416369438, -0.015806186944246292, -0.028055105358362198, -0.03408318758010864, -0.02710883691906929, -0.02332376316189766, -0.012485485523939133, 0.02234244905412197, -0.017374539747834206, -0.014071361161768436, -0.05579478666186333, -0.02568943426012993, -0.021851791068911552, -0.02106323279440403, -0.03907737880945206, -0.039638131856918335, 0.05579478666186333, 0.030596012249588966, -0.0182769987732172, -0.011986066587269306, 0.020011823624372482, -0.06539765745401382, 0.05411253497004509, -0.02915908582508564, -0.025671910494565964, -0.006085031665861607, 0.016340652480721474, -0.018925368785858154, -0.012853479012846947, -0.02032724767923355, 0.0554092712700367, -0.033907949924468994, -0.055899929255247116, -0.009015834890305996, -0.006632640492171049, -0.031507231295108795, -0.04104001075029373, 0.018259475007653236, -0.006185791455209255, 0.006930539850145578, -0.003474031575024128, -0.05737190321087837, -0.02339385822415352, 0.0023262430913746357, -0.03827130049467087, 0.012362821027636528, -0.0015212579164654016, -0.024725642055273056, -0.019345931708812714, 0.043037690222263336, -0.005068669095635414, -0.007981949485838413, -0.024042226374149323, 0.013957458548247814, -0.023656709119677544, -0.013878603465855122, 0.044544707983732224, 0.03499440848827362, 0.05526908487081528, 0.02481326088309288, -0.07233696430921555, 0.01911812648177147, 0.023201098665595055, -0.02071276307106018, -0.05747704207897186, -0.004862768109887838, 0.05383215844631195, 0.04524564743041992, 0.012038636952638626, -0.0062996940687298775, 0.012135015800595284, -0.021501321345567703, 0.0268284622579813, -0.0028891852125525475, 0.06448643654584885, -0.057021431624889374, 0.0021137709263712168, 0.014763539656996727, -0.03219065070152283, -0.11432324349880219, -0.027949964627623558, 0.08243048936128616, -0.030701152980327606, 0.016279321163892746, -0.028072629123926163, 0.035397447645664215, 0.021361133083701134, -0.023972133174538612, 0.05737190321087837, -0.012047398835420609, -0.03483669459819794, 0.02721397764980793, 0.021729126572608948, 0.0738089382648468, 0.019380979239940643, 0.010785707272589207, -0.03425842151045799, 0.0049679093062877655, 0.03457384184002876, 0.01009352970868349, -0.0035266021732240915, 0.017979100346565247, -0.0155520960688591, -0.07401921600103378, 0.048084452748298645, 0.01523667387664318, 0.014316690154373646, -0.009410113096237183, -0.02092304639518261, -0.009427636861801147, 0.01386984158307314, -0.003441175213083625, 0.013046237640082836, 0.05477842688560486, -0.003822311060503125 ]
719,943
ibm_platform_services.resource_controller_v2
lock_resource_instance
Lock a resource instance. Locks a resource instance. A locked instance can not be updated or deleted. It does not affect actions performed on child resources like aliases, bindings, or keys. :param str id: The resource instance URL-encoded CRN or GUID. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse with `dict` result representing a `ResourceInstance` object
def lock_resource_instance(self, id: str, **kwargs) -> DetailedResponse: """ Lock a resource instance. Locks a resource instance. A locked instance can not be updated or deleted. It does not affect actions performed on child resources like aliases, bindings, or keys. :param str id: The resource instance URL-encoded CRN or GUID. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse with `dict` result representing a `ResourceInstance` object """ if not id: raise ValueError('id must be provided') headers = {} sdk_headers = get_sdk_headers( service_name=self.DEFAULT_SERVICE_NAME, service_version='V2', operation_id='lock_resource_instance' ) headers.update(sdk_headers) if 'headers' in kwargs: headers.update(kwargs.get('headers')) del kwargs['headers'] headers['Accept'] = 'application/json' path_param_keys = ['id'] path_param_values = self.encode_path_vars(id) path_param_dict = dict(zip(path_param_keys, path_param_values)) url = '/v2/resource_instances/{id}/lock'.format(**path_param_dict) request = self.prepare_request(method='POST', url=url, headers=headers) response = self.send(request, **kwargs) return response
(self, id: str, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
[ 0.07276707887649536, -0.04727023467421532, 0.00241803377866745, -0.004038183018565178, 0.01265977043658495, -0.030248694121837616, 0.024344347417354584, 0.009849443100392818, -0.0034840963780879974, 0.0025665289722383022, -0.021135078743100166, -0.06794431060552597, 0.026365654543042183, -0.02590465545654297, -0.03273100033402443, -0.026223808526992798, -0.0023094327189028263, -0.017846019938588142, -0.06088746339082718, -0.031649425625801086, 0.028209656476974487, 0.07957569509744644, 0.016019750386476517, 0.03214588761329651, 0.04907877370715141, 0.0709230825304985, 0.0318976566195488, 0.016693519428372383, -0.014104828238487244, -0.003947312943637371, 0.045922696590423584, 0.041135385632514954, 0.019539309665560722, 0.018262693658471107, 0.00682634674012661, -0.007526712026447058, -0.021950693801045418, 0.05514269694685936, -0.12673954665660858, 0.0213655773550272, -0.026365654543042183, 0.05141923204064369, -0.021259194239974022, -0.06088746339082718, 0.007438058033585548, -0.0078059714287519455, 0.04829861968755722, -0.009033827111124992, 0.0017021539388224483, -0.016072943806648254, 0.07102946937084198, -0.02900754101574421, -0.03390123322606087, 0.0022440506145358086, -0.010053346864879131, 0.03381257876753807, -0.022039348259568214, 0.05375969409942627, 0.009033827111124992, -0.04457515478134155, 0.004430476110428572, -0.016338905319571495, 0.010966481640934944, 0.004556808155030012, -0.036206234246492386, -0.025496847927570343, -0.043050311505794525, 0.04266023263335228, -0.028652925044298172, 0.03278419375419617, 0.02246488630771637, -0.02730538696050644, -0.0019736564718186855, -0.0028280578553676605, -0.028883425518870354, 0.015523289330303669, -0.06347616016864777, -0.0006543762283399701, 0.0012156659504398704, 0.005917644593864679, 0.007912356406450272, -0.054468926042318344, -0.010044481605291367, -0.027801847085356712, -0.03535515442490578, -0.023245040327310562, -0.008736836723983288, -0.04074531048536301, -0.056738466024398804, -0.07560400664806366, -0.0013663774589076638, 0.024929463863372803, -0.047908540815114975, 0.014530366286635399, 0.03819207847118378, -0.01758892461657524, 0.0042753322049975395, -0.0325005017220974, -0.004592269659042358, 0.010558674111962318, -0.03943323343992233, -0.018617309629917145, 0.0007042440120130777, -0.008661481551826, 0.06744784861803055, -0.09205815941095352, -0.033387038856744766, 0.020603155717253685, -0.020585425198078156, -0.005221711937338114, 0.052447617053985596, 0.009060423821210861, -0.0887247771024704, 0.04836954176425934, 0.011099462397396564, -0.011631385423243046, 0.004716384690254927, 0.01278388500213623, 0.023830154910683632, -0.047873079776763916, 0.004295279271900654, -0.04698654264211655, 0.0007901274366304278, 0.001610175590030849, 0.0071809617802500725, 0.029238039627671242, -0.029415348544716835, 0.026773463934659958, -0.030532386153936386, -0.005904346704483032, -0.027074886485934258, -0.01820950023829937, -0.033440232276916504, 0.041348155587911606, 0.010540942661464214, -0.03890131041407585, 0.007548875641077757, 0.06907907873392105, 0.0227840393781662, 0.028262848034501076, 0.026613885536789894, 0.020319463685154915, -0.04688015580177307, 0.016675788909196854, 0.01479632779955864, -0.04244746267795563, -0.03505373373627663, 0.0680861547589302, 0.039646003395318985, 0.010257250629365444, 0.029450809583067894, -0.03787292540073395, 0.08815739303827286, 0.05198661983013153, -0.004237654153257608, -0.006547086872160435, 0.004390581976622343, -0.04379500448703766, 0.05113554000854492, -0.03441542387008667, -0.00044243811862543225, -0.010824635624885559, 0.058476079255342484, -0.03861761838197708, 0.006547086872160435, -0.015337116084992886, -0.09645538777112961, -0.0096721351146698, 0.018049923703074455, 0.009565750136971474, -0.022252116352319717, -0.00004699346754932776, -0.016596000641584396, -0.0012234231689944863, -0.03953961655497551, 0.04773123189806938, 0.015035693533718586, -0.02242942526936531, 0.05209300294518471, 0.023936539888381958, -0.00032607995672151446, -0.01219877041876316, 0.036011192947626114, 0.04216377064585686, -0.024645769968628883, 0.02673800103366375, 0.03014230914413929, 0.021649271249771118, 0.00007265459862537682, -0.0313834622502327, 0.050780925899744034, 0.004556808155030012, 0.02051450125873089, 0.025816000998020172, -0.08383107930421829, 0.002885682974010706, -0.020053500309586525, -0.09212908148765564, 0.05319231003522873, 0.06134846433997154, -0.010700520128011703, 0.0055408659391105175, 0.0023027837742120028, 0.05769592523574829, 0.0680861547589302, -0.012952327728271484, 0.01395411603152752, -0.011170385405421257, -0.015186404809355736, -0.01793467439711094, -0.05432708188891411, -0.009184539318084717, -0.02730538696050644, 0.04468154162168503, 0.024823078885674477, -0.02219892479479313, 0.02526634745299816, -0.018617309629917145, 0.025089040398597717, -0.03790838643908501, -0.014441712759435177, 0.010470019653439522, -0.07702246308326721, -0.0024069519713521004, -0.05549731105566025, 0.018369078636169434, 0.028369233012199402, -0.0012311803875491023, -0.027128078043460846, -0.011844154447317123, 0.0007746129995211959, 0.0368800014257431, 0.013750212267041206, -0.035692039877176285, -0.04549715667963028, 0.008692510426044464, -0.008918577805161476, -0.03375938534736633, 0.006139279343187809, 0.010877827182412148, 0.03271327167749405, -0.004217707086354494, 0.05936262011528015, -0.016622597351670265, -0.03563884645700455, -0.00850633718073368, -0.047022003680467606, 0.013723616488277912, 0.01322715450078249, -0.0919872373342514, -0.010000154376029968, -0.02187976986169815, 0.01238494273275137, 0.009876038879156113, 0.01079803891479969, -0.03943323343992233, 0.008723539300262928, -0.031170694157481194, 0.016675788909196854, 0.03242957964539528, -0.02585146389901638, -0.022925885394215584, -0.07305077463388443, -0.027464963495731354, 0.02446846291422844, -0.001209016889333725, -0.07262523472309113, 0.04198646545410156, 0.03673815727233887, 0.004645461682230234, 0.044823385775089264, 0.01730523258447647, -0.0031981877982616425, 0.02271311730146408, 0.009415038861334324, -0.022553538903594017, 0.002513336716219783, -0.02670253999531269, -0.00108268519397825, -0.025213155895471573, -0.012376077473163605, 0.00717652915045619, 0.055000849068164825, -0.024521654471755028, 0.027074886485934258, -0.08071046322584152, 0.014158019796013832, 0.08212892711162567, -0.0008211563108488917, 0.004062562715262175, -0.012154443189501762, 0.038794923573732376, 0.00020598167611751705, -0.060142774134874344, 0.005589625332504511, 0.06836985051631927, -0.08496585488319397, -0.026826655492186546, -0.0038342790212482214, -0.028883425518870354, 0.010922154411673546, -0.011631385423243046, 0.005235009826719761, -0.02271311730146408, -0.03836938738822937, -0.03478777036070824, 0.029645847156643867, 0.060426466166973114, -0.019397461786866188, 0.023511001840233803, 0.01137428916990757, 0.014521501027047634, -0.034645926207304, -0.09205815941095352, 0.016081808134913445, 0.011888481676578522, 0.029167117550969124, 0.04638369381427765, 0.009973558597266674, 0.03723461925983429, -0.03574523329734802, 0.036844540387392044, 0.025709616020321846, 0.01563853956758976, 0.037979308515787125, -0.040177926421165466, 0.017553461715579033, 0.031809002161026, 0.016409827396273613, 0.05709308013319969, -0.04180915653705597, 0.006666769739240408, 0.02787277102470398, -0.019486116245388985, -0.03691546246409416, -0.043582234531641006, 0.03812115639448166, -0.05113554000854492, -0.013962981291115284, 0.04471700266003609, 0.06851169466972351, -0.037943847477436066, 0.028528809547424316, 0.00069316232111305, -0.043582234531641006, 0.03521331027150154, 0.02781957946717739, 0.02556777000427246, -0.006179173476994038, -0.00015334345516748726, -0.044220540672540665, 0.02987634763121605, 0.022659923881292343, 0.014140289276838303, 0.02273084782063961, -0.07180961966514587, -0.01294346246868372, -0.015558751299977303, -0.02758907899260521, -0.051348309963941574, -0.039397772401571274, -0.0013320241123437881, -0.05790869519114494, -0.007455789018422365, 0.009849443100392818, 0.011861884966492653, -0.04010700061917305, -0.05251854285597801, 0.0001540360681246966, -0.023493271321058273, -0.07163231074810028, -0.04386592656373978, -0.04854685068130493, 0.022518077865242958, 0.05067454278469086, 0.03150757774710655, -0.0672350823879242, -0.007482385262846947, -0.03161396458745003, 0.0012056924169883132, 0.022677654400467873, -0.0358516164124012, 0.03193311765789986, -0.032837387174367905, -0.007996577769517899, 0.0010139783844351768, 0.009556884877383709, -0.05088730901479721, 0.037695616483688354, 0.0121012507006526, 0.029504001140594482, -0.024805348366498947, 0.030550116673111916, 0.026330193504691124, -0.018635040149092674, 0.010700520128011703, -0.004459288902580738, 0.02955719456076622, 0.0698946937918663, -0.0678379237651825, 0.0018761371029540896, 0.04656100273132324, 0.00383206270635128, -0.0012001515133306384, 0.003931798506528139, 0.0015968774678185582, 0.030390540137887, -0.0522703118622303, -0.006795317865908146, -0.039362311363220215, -0.011666846461594105, -0.03305015712976456, 0.019166963174939156, 0.006932731252163649, 0.03787292540073395, 0.04102900251746178, 0.028032347559928894, 0.07404369860887527, -0.04411415755748749, 0.0038254137616604567, 0.045107077807188034, 0.01957477070391178, 0.03897223249077797, -0.034840963780879974, -0.04595815762877464, -0.035124655812978745, -0.006697798613458872, -0.010434558615088463, 0.04404323175549507, -0.020833654329180717, 0.016321174800395966, 0.03322746232151985, 0.03563884645700455, 0.018971923738718033, 0.01929107867181301, -0.010142000392079353, 0.04102900251746178, 0.014104828238487244, 0.03363526985049248, 0.016161596402525902, 0.04003607854247093, -0.03214588761329651, 0.00952142383903265, -0.015789251774549484, -0.01959250122308731, -0.01221650093793869, -0.009991289116442204, 0.020709538832306862, 0.06734146922826767, 0.016906289383769035, 0.07560400664806366, -0.0049158562906086445, 0.031968578696250916, 0.03305015712976456, -0.05010715872049332, -0.05375969409942627, 0.026081962510943413, -0.04946884885430336, -0.004239870235323906, -0.02730538696050644, 0.003382144495844841, -0.0025288511533290148, -0.038227539509534836, 0.053582388907670975, -0.02927350252866745, -0.011861884966492653, 0.02219892479479313, 0.01927334815263748, 0.048156771808862686, -0.013847731985151768, 0.04641915485262871, -0.0207627322524786, 0.000901498831808567, -0.0013929735869169235, 0.010239520110189915, 0.047624848783016205, 0.03407854214310646, -0.0011425265111029148, -0.027642270550131798, 0.02872384712100029, -0.01024838536977768, -0.01650734804570675, 0.062447771430015564, 0.007526712026447058, -0.031649425625801086, -0.05741223320364952, 0.05095823481678963, 0.01248246245086193, -0.01704813539981842, -0.0020844736136496067, 0.031188424676656723, 0.008023173548281193, -0.022110270336270332, 0.03780200332403183, -0.03773107752203941, -0.048156771808862686, -0.045603539794683456, 0.01596655882894993, 0.012757289223372936, -0.005784663837403059, -0.013040981255471706, -0.06861808151006699, 0.015434635803103447, -0.009769654832780361, 0.04638369381427765, 0.03358208015561104, -0.0494333878159523, 0.005345827434211969, 0.05663207918405533, 0.04656100273132324, -0.01618819311261177, -0.028564270585775375, 0.008745702914893627, 0.03070969507098198, -0.0028901156038045883, 0.03562111780047417, -0.051064617931842804, 0.04312123358249664, -0.0051020290702581406, -0.05230577290058136, 0.028475617989897728, 0.0193442702293396, 0.08837015926837921, -0.012872539460659027, -0.004578971303999424, -0.040780771523714066, -0.031117502599954605, -0.09425677359104156, 0.009716462343931198, 0.04663192480802536, -0.011046269908547401, -0.03780200332403183, -0.043334003537893295, -0.06567477434873581, -0.033103346824645996, 0.020018039271235466, -0.08893754333257675, -0.001571389497257769, -0.0026529664173722267, -0.04443331062793732, 0.005660548340529203, 0.022358501330018044, -0.028652925044298172, -0.0003421484725549817, -0.012509058229625225, -0.01148953940719366, -0.028280578553676605, 0.0335288867354393, -0.04751846566796303, -0.04783761873841286, 0.09141985327005386, -0.047022003680467606, 0.02163153886795044, -0.035727500915527344, -0.08865385502576828, 0.02101096324622631, 0.0008194940164685249, -0.04546169564127922, 0.025177692994475365, -0.004182245582342148, 0.01701267436146736, 0.044256001710891724, 0.10269661992788315, -0.028369233012199402, -0.013448789715766907, -0.020106693729758263, 0.08822831511497498, 0.013927520252764225, -0.02560323290526867, 0.0045523750595748425, 0.0035838319454342127, 0.010443423874676228, 0.030585579574108124, 0.005376856308430433, -0.0027637837920337915, 0.04542623460292816, 0.059043463319540024, 0.028883425518870354, -0.008883115835487843, -0.00810296181589365, 0.023227309808135033, -0.03663177043199539, -0.004281980916857719, -0.1057463139295578, -0.031401194632053375, 0.07326354086399078, -0.027074886485934258, 0.05950446426868439, 0.031649425625801086, 0.06028461828827858, -0.035106923431158066, 0.05145469680428505, 0.014158019796013832, -0.03101111762225628, 0.028901156038045883, 0.05319231003522873, 0.039397772401571274, -0.02898980863392353, 0.01593109779059887, 0.03390123322606087, 0.015806982293725014, 0.020425846800208092, -0.011427481658756733, -0.015248462557792664, 0.016702385619282722, 0.03294377028942108, -0.04124177247285843, -0.08000123500823975, -0.041383616626262665, -0.051596540957689285, -0.018741425126791, -0.05024900287389755, 0.011861884966492653, -0.0002994837996084243, 0.018617309629917145, 0.049043308943510056, -0.06407900154590607, -0.017127923667430878, 0.010709385387599468, -0.05514269694685936, -0.013705885037779808, 0.02441527135670185, 0.014902712777256966, -0.028883425518870354, -0.04056800156831741, 0.04461061954498291, 0.019823001697659492, 0.01820950023829937, -0.026596155017614365, -0.002183101139962673, -0.012588846497237682, 0.04907877370715141, 0.0175800584256649, 0.00433738948777318, 0.02673800103366375, 0.008852086961269379, 0.01563853956758976, -0.004445990547537804, 0.014964770525693893, 0.011010807938873768, 0.019982578232884407, -0.040851693600416183, -0.027411770075559616, 0.02445073239505291, -0.02505357936024666, 0.0449652336537838, 0.0057137408293783665, -0.07751892507076263, -0.03702184930443764, -0.006205769721418619, -0.0318976566195488, 0.04202192649245262, -0.03072742559015751, -0.03127707913517952, 0.02079819329082966, -0.0008737945463508368, -0.0074469237588346004, -0.020425846800208092, 0.0019736564718186855, 0.027447232976555824, 0.018422270193696022, 0.013581770472228527, -0.02101096324622631, -0.013962981291115284, -0.003812115639448166, -0.004565673414617777, -0.040461618453264236, -0.024645769968628883, 0.03586934879422188, 0.08092323690652847, -0.01675557717680931, -0.02930896356701851, -0.01647188514471054, 0.07102946937084198, -0.03719915449619293, -0.010425693355500698, -0.013413327746093273, -0.05950446426868439, -0.024858539924025536, 0.05553277209401131, -0.025745078921318054, -0.05457530915737152, -0.007593202404677868, 0.009273192845284939, -0.06883084774017334, 0.031986311078071594, 0.0039118509739637375, -0.013351269997656345, -0.00922886561602354, -0.03278419375419617, -0.0022617813665419817, -0.05489446595311165, -0.004149000160396099, 0.012863674201071262, -0.05620654299855232, -0.0325005017220974, -0.030532386153936386, -0.0053591253235936165, -0.010842366144061089, 0.011986000463366508, 0.004381716717034578, -0.028245117515325546, 0.019752077758312225, -0.005492106080055237, -0.0193442702293396, -0.022021615877747536, -0.004089158959686756, -0.04968161880970001, 0.07532031089067459, -0.026950770989060402, 0.0425538495182991, 0.07202238589525223, 0.08418569713830948, 0.01362609677016735, 0.05234123393893242, 0.011099462397396564, -0.06032007932662964, -0.08390200138092041, 0.02898980863392353, 0.033972155302762985, -0.03014230914413929, 0.02102869376540184, -0.003605995327234268, -0.055851925164461136, -0.0019049496622756124, 0.03335157781839371, -0.005363557953387499, 0.061525773257017136, 0.006418538745492697, 0.011312231421470642, 0.048724155873060226, 0.043298542499542236, -0.11092370003461838, -0.024557117372751236, 0.07546215504407883, -0.005598490592092276, 0.031135233119130135, 0.01817403919994831, 0.05766046419739723, 0.0601782351732254, -0.015851309522986412, 0.04180915653705597, 0.01847546175122261, -0.011072865687310696, 0.012340616434812546, 0.029521731659770012, 0.05617108196020126, 0.045355308800935745, 0.007912356406450272, -0.03202177211642265, 0.029504001140594482, -0.008626019582152367, 0.00503553869202733, 0.054717157036066055, 0.09042692929506302, -0.04936246573925018, -0.017792828381061554, 0.062376849353313446, 0.055284541100263596, 0.035692039877176285, 0.006360913626849651, -0.014982501044869423, 0.0035306396894156933, 0.01236721221357584, -0.011001942679286003, 0.01009767409414053, 0.008032038807868958, 0.02813873253762722 ]
719,945
ibm_platform_services.resource_controller_v2
run_reclamation_action
Perform a reclamation action. Reclaim a resource instance so that it can no longer be used, or restore the resource instance so that it's usable again. :param str id: The ID associated with the reclamation. :param str action_name: The reclamation action name. Specify `reclaim` to delete a resource, or `restore` to restore a resource. :param str request_by: (optional) The request initiator, if different from the request token. :param str comment: (optional) A comment to describe the action. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse with `dict` result representing a `Reclamation` object
def run_reclamation_action( self, id: str, action_name: str, *, request_by: str = None, comment: str = None, **kwargs ) -> DetailedResponse: """ Perform a reclamation action. Reclaim a resource instance so that it can no longer be used, or restore the resource instance so that it's usable again. :param str id: The ID associated with the reclamation. :param str action_name: The reclamation action name. Specify `reclaim` to delete a resource, or `restore` to restore a resource. :param str request_by: (optional) The request initiator, if different from the request token. :param str comment: (optional) A comment to describe the action. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse with `dict` result representing a `Reclamation` object """ if not id: raise ValueError('id must be provided') if not action_name: raise ValueError('action_name must be provided') headers = {} sdk_headers = get_sdk_headers( service_name=self.DEFAULT_SERVICE_NAME, service_version='V2', operation_id='run_reclamation_action' ) headers.update(sdk_headers) data = {'request_by': request_by, 'comment': comment} data = {k: v for (k, v) in data.items() if v is not None} data = json.dumps(data) headers['content-type'] = 'application/json' if 'headers' in kwargs: headers.update(kwargs.get('headers')) del kwargs['headers'] headers['Accept'] = 'application/json' path_param_keys = ['id', 'action_name'] path_param_values = self.encode_path_vars(id, action_name) path_param_dict = dict(zip(path_param_keys, path_param_values)) url = '/v1/reclamations/{id}/actions/{action_name}'.format(**path_param_dict) request = self.prepare_request(method='POST', url=url, headers=headers, data=data) response = self.send(request, **kwargs) return response
(self, id: str, action_name: str, *, request_by: Optional[str] = None, comment: Optional[str] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
[ 0.040558818727731705, -0.00355536094866693, -0.000535612809471786, -0.01794302836060524, 0.030843909829854965, -0.04953495040535927, -0.029624929651618004, 0.04133453220129013, 0.0250075776129961, 0.005614699795842171, 0.009230086579918861, 0.013307208195328712, 0.06711782515048981, 0.023308392614126205, -0.003465322544798255, -0.01267001312226057, 0.035239629447460175, -0.026909926906228065, -0.0004669296904467046, -0.04406800493597984, 0.0439571887254715, 0.023807065561413765, 0.01400904543697834, 0.033355750143527985, 0.0003289863234385848, 0.04783576354384422, 0.08052661269903183, 0.004811280407011509, 0.0036638686433434486, 0.011146287433803082, 0.02672523260116577, 0.00547617906704545, 0.015569710172712803, 0.055555976927280426, -0.033226463943719864, 0.004326458554714918, -0.017231956124305725, -0.0049082450568675995, -0.0908694863319397, -0.002045486820861697, -0.05910210311412811, 0.0703684389591217, 0.018875734880566597, -0.06253740936517715, -0.025524720549583435, -0.020168593153357506, 0.006487379316240549, 0.03189666569232941, -0.015523537062108517, 0.031434930860996246, -0.012873176485300064, -0.04768800735473633, -0.05385679006576538, 0.02177543006837368, 0.038083918392658234, 0.018986551091074944, -0.015782108530402184, 0.03311564773321152, 0.027648702263832092, -0.030456053093075752, 0.05611005797982216, 0.040263306349515915, 0.004737402778118849, 0.004615043289959431, 0.01566205732524395, -0.020833490416407585, -0.04783576354384422, 0.03416840359568596, -0.02181237004697323, 0.011561849154531956, 0.022846655920147896, -0.014627770520746708, -0.00996424537152052, -0.011053940281271935, 0.06165087968111038, -0.0004077698686160147, 0.0016172274481505156, -0.03241381049156189, 0.01002888847142458, 0.02408410608768463, 0.069001704454422, -0.02650359831750393, -0.0001227926986757666, -0.03023441880941391, 0.005000591743737459, -0.008537483401596546, 0.06405190378427505, -0.06608353555202484, -0.08045274019241333, -0.014572362415492535, 0.04927637800574303, -0.0211844090372324, -0.03326340392231941, -0.03723432496190071, 0.012559196911752224, 0.02570941485464573, -0.009604091756045818, -0.04661678522825241, 0.01206052303314209, 0.008435901254415512, -0.021424511447548866, 0.046469029039144516, 0.03581218048930168, 0.019171245396137238, 0.04916556179523468, -0.0010031196288764477, -0.020537979900836945, 0.008999218232929707, -0.013491901569068432, -0.026152679696679115, -0.013048635795712471, 0.07487497478723526, -0.1097821518778801, -0.02679910883307457, -0.009936541318893433, -0.011081644333899021, -0.04606270045042038, -0.02290206402540207, -0.004654290620237589, -0.03278319910168648, -0.024601250886917114, -0.05769842863082886, 0.0175736416131258, -0.031139420345425606, 0.00555005669593811, 0.054632507264614105, -0.06911252439022064, 0.05075392872095108, 0.008519014343619347, -0.04949801042675972, -0.051825154572725296, -0.044917598366737366, -0.03849024325609207, 0.05917597934603691, 0.003853179980069399, 0.06320231407880783, 0.026946865022182465, -0.005656255874782801, 0.06759802997112274, 0.01629001647233963, 0.015338842757046223, 0.006852149963378906, -0.015412719920277596, 0.015911394730210304, -0.017001088708639145, -0.08518090844154358, -0.014489250257611275, 0.028941560536623, -0.00693064508959651, 0.007498579099774361, 0.0172134879976511, 0.029994316399097443, 0.07675885409116745, -0.015505067072808743, 0.03089931793510914, 0.015569710172712803, 0.006016409490257502, 0.014923281036317348, 0.008943810127675533, -0.015209556557238102, 0.013297973200678825, -0.024989107623696327, 0.03023441880941391, 0.004788193851709366, 0.03732667118310928, -0.05570373311638832, -0.017499763518571854, 0.01073995977640152, -0.024564310908317566, 0.03952453285455704, -0.03885963186621666, 0.0175736416131258, -0.018718743696808815, -0.05503883212804794, -0.05958230793476105, 0.029846562072634697, -0.028960030525922775, -0.050643112510442734, 0.006579726468771696, -0.04192555323243141, -0.03948759287595749, -0.049350254237651825, 0.004751254804432392, -0.012097462080419064, -0.030142072588205338, -0.033983707427978516, -0.0055823782458901405, 0.0039224401116371155, 0.011820420622825623, 0.008237355388700962, 0.01873721368610859, 0.03956146910786629, 0.01392593327909708, 0.05489107593894005, -0.02236645109951496, -0.06896476447582245, -0.026115741580724716, -0.045250046998262405, 0.0547063834965229, -0.040891267359256744, -0.05917597934603691, 0.03697575256228447, -0.0025741735007613897, 0.039007388055324554, 0.04473290219902992, 0.003218294121325016, 0.043698616325855255, 0.007761768531054258, -0.02336380071938038, -0.005176051519811153, -0.049608826637268066, 0.06564027070999146, 0.022791247814893723, 0.01863563247025013, -0.020002366974949837, -0.019873082637786865, 0.053081076592206955, 0.0011768474942073226, 0.037585243582725525, 0.008989984169602394, -0.020907368510961533, 0.009899602271616459, -0.04454820975661278, 0.02709461934864521, -0.07003599405288696, 0.05079086869955063, 0.00523607712239027, 0.038120854645967484, 0.022588085383176804, -0.07306497544050217, 0.011469502002000809, 0.015181852504611015, 0.015154148451983929, -0.03849024325609207, -0.05164046213030815, -0.04831596836447716, -0.058695774525403976, -0.0036315470933914185, -0.008126539178192616, 0.0037977718748152256, 0.028128907084465027, 0.01363042276352644, 0.042405758053064346, 0.029070846736431122, -0.0018434777157381177, -0.010222816839814186, -0.008989984169602394, 0.07324966788291931, -0.02918166294693947, -0.0423688180744648, 0.04377249628305435, -0.08717560023069382, 0.015144913457334042, -0.02851676382124424, -0.006662838626652956, 0.016179200261831284, -0.03422380983829498, 0.01618843525648117, 0.06006251275539398, 0.024859821423888206, 0.01896808110177517, 0.03547973185777664, -0.0052914852276444435, 0.011432562954723835, -0.03019748069345951, -0.031139420345425606, -0.07587232440710068, 0.04768800735473633, 0.02454584278166294, -0.029661867767572403, 0.046801477670669556, 0.043070659041404724, 0.033558912575244904, -0.03389136120676994, -0.057181283831596375, -0.006034878548234701, 0.035904526710510254, 0.028405947610735893, -0.021165940910577774, -0.005785541608929634, 0.0012189808767288923, -0.033521972596645355, 0.0781625285744667, 0.030419113114476204, -0.017074966803193092, -0.03684646636247635, 0.01569899544119835, 0.0737668126821518, 0.0172504261136055, 0.03258003294467926, 0.018755683675408363, 0.03823167085647583, -0.00425488967448473, -0.0274270698428154, 0.018053844571113586, 0.03405758738517761, -0.07424701750278473, 0.005748603027313948, 0.03786228597164154, 0.026060333475470543, 0.014461545273661613, 0.013815116137266159, -0.012808533385396004, -0.08067437261343002, -0.0407065749168396, -0.02838747948408127, 0.051862094551324844, 0.014886341989040375, -0.011469502002000809, 0.024896761402487755, 0.057476796209812164, -0.040521878749132156, -0.025487782433629036, -0.05695965141057968, 0.029791153967380524, -0.00883761141449213, 0.08710172027349472, -0.0011554922675713897, 0.05200985074043274, 0.04731862246990204, 0.028738398104906082, 0.017333539202809334, 0.04820515215396881, 0.05762454867362976, -0.010158173739910126, -0.0783102884888649, -0.015809811651706696, 0.038083918392658234, 0.028165845200419426, 0.01283623743802309, -0.03765911981463432, -0.006542787421494722, -0.049571890383958817, -0.04358780011534691, -0.028332069516181946, -0.02550625056028366, 0.0005520621198229492, -0.034500852227211, -0.002892770804464817, 0.00836202409118414, 0.0305668693035841, -0.002871992764994502, 0.013824351131916046, 0.03625544533133507, -0.023252982646226883, 0.052748627960681915, 0.05799393728375435, -0.04000473394989967, -0.016530118882656097, -0.03538738563656807, -0.021424511447548866, -0.010693786665797234, 0.01859869249165058, -0.011469502002000809, 0.03852718323469162, -0.020962776616215706, -0.00367541192099452, -0.015985270962119102, -0.042147185653448105, -0.053118012845516205, -0.015006393194198608, 0.02864605002105236, -0.007581691723316908, -0.019669918343424797, -0.05766148865222931, -0.0659727230668068, -0.033485036343336105, -0.01989155076444149, 0.03555360808968544, -0.05444781109690666, -0.03451932221651077, -0.0011820420622825623, -0.06323924660682678, 0.073471300303936, -0.003710042219609022, 0.07243701815605164, -0.029828092083334923, -0.04384637251496315, -0.04942413419485092, 0.05707046762108803, 0.003991700708866119, -0.00225903932005167, -0.03405758738517761, -0.02253267727792263, 0.004271050449460745, -0.020925838500261307, -0.06135537102818489, 0.0016403142362833023, -0.002353694988414645, 0.0032044420950114727, 0.07432089745998383, -0.049350254237651825, 0.03653248772025108, 0.03723432496190071, -0.037086568772792816, 0.02319757454097271, 0.007988018915057182, 0.013067105785012245, -0.03786228597164154, -0.022052472457289696, 0.05603618174791336, 0.0501629076898098, 0.00870832521468401, 0.0061826338060200214, 0.017425885424017906, 0.03126870468258858, 0.009557917714118958, -0.06870619207620621, -0.009063861332833767, 0.039672285318374634, 0.03182278946042061, -0.02220022678375244, 0.0054900310933589935, -0.005956383887678385, 0.00505600031465292, -0.02227410487830639, -0.02940329536795616, 0.050089031457901, 0.014600066468119621, 0.008260441944003105, 0.026688292622566223, 0.022477269172668457, 0.058104753494262695, 0.029587989673018456, -0.0036292385775595903, 0.017222722992300987, 0.011524910107254982, 0.03019748069345951, 0.003864723490551114, -0.005859419237822294, -0.022126350551843643, 0.06312843412160873, 0.013750473968684673, -0.0042410376481711864, -0.03492564707994461, 0.00539306690916419, -0.009308581240475178, -0.027242375537753105, 0.00448575709015131, 0.002410257700830698, -0.003929366357624531, 0.008066513575613499, -0.0029204750899225473, -0.07912293821573257, 0.007715594954788685, 0.032727789133787155, -0.01569899544119835, 0.006404266692698002, 0.02256961539387703, 0.002985117956995964, 0.10704868286848068, 0.025690944865345955, 0.02445349469780922, 0.01002888847142458, -0.023585433140397072, -0.0735451802611351, -0.018681805580854416, 0.04030024632811546, -0.013575013726949692, -0.0391920804977417, -0.05116025730967522, -0.0033591233659535646, -0.08939193189144135, -0.00233291694894433, 0.028793806210160255, 0.08495927602052689, 0.013427258469164371, 0.052194543182849884, -0.006021026521921158, -0.04550861939787865, -0.01245761476457119, -0.038046978414058685, 0.0160960890352726, 0.04218412563204765, 0.019023489207029343, 0.0235300250351429, -0.01893114298582077, -0.0021332164760679007, -0.013787412084639072, 0.023733187466859818, 0.027741048485040665, -0.01184812467545271, -0.021332165226340294, -0.0018931141821667552, -0.028202785179018974, -0.07757151126861572, 0.0021909333299845457, -0.014886341989040375, -0.006935262121260166, -0.019374407827854156, -0.03575677052140236, -0.004688920918852091, -0.015144913457334042, 0.018090784549713135, -0.01777680404484272, -0.009742612019181252, -0.005513118114322424, -0.011220164597034454, -0.020741144195199013, -0.02031634747982025, 0.03638473153114319, 0.00685676746070385, 0.0008201571181416512, 0.030880847945809364, -0.019706856459379196, 0.023973289877176285, -0.035202689468860626, -0.005231459625065327, 0.02550625056028366, 0.027279313653707504, -0.04225800186395645, -0.06512312591075897, 0.041186776012182236, -0.040854327380657196, -0.03978310152888298, -0.019171245396137238, -0.019189713522791862, 0.0026203470770269632, -0.0485006645321846, -0.00134018633980304, 0.01672404818236828, 0.026355843991041183, -0.004986739717423916, 0.030585337430238724, -0.027242375537753105, -0.017887620255351067, -0.002590334275737405, -0.03727126494050026, 0.03740054741501808, 0.01771216094493866, -0.04207330942153931, -0.004755872301757336, 0.012005114927887917, -0.037086568772792816, 0.014803229831159115, 0.024398086592555046, -0.04909168556332588, -0.015043332241475582, -0.007614013273268938, 0.0023894794285297394, 0.007914140820503235, 0.06021026521921158, -0.04192555323243141, -0.027039211243391037, -0.07332354784011841, -0.043661680072546005, 0.031434930860996246, 0.030917787924408913, 0.025062985718250275, -0.05071699246764183, -0.015440423972904682, -0.04377249628305435, 0.00011420730879763141, 0.04469596594572067, -0.03577524051070213, 0.042775146663188934, 0.07446864992380142, -0.04521310701966286, 0.06353475898504257, -0.013907463289797306, -0.03330034017562866, 0.03555360808968544, 0.07698048651218414, -0.036920346319675446, 0.0038924275431782007, 0.08702784776687622, 0.07757151126861572, 0.010989297181367874, -0.024896761402487755, -0.0437355563044548, -0.008297380991280079, -0.005462327040731907, 0.0454716794192791, 0.05363515764474869, -0.04092820733785629, -0.008371259085834026, 0.0258017610758543, -0.03566442430019379, 0.014378433115780354, 0.032062891870737076, 0.02164614573121071, -0.04798351973295212, 0.013445728458464146, -0.061835575848817825, -0.046210456639528275, 0.04739249870181084, -0.008819141425192356, 0.019946958869695663, 0.04986739903688431, 0.03730820119380951, -0.009419397450983524, 0.012032818980515003, 0.01926359161734581, -0.03383595496416092, 0.017398182302713394, 0.05570373311638832, 0.053672097623348236, -0.00688908901065588, -0.04451126977801323, 0.026743700727820396, 0.02973574586212635, -0.020630327984690666, 0.019023489207029343, -0.010148938745260239, 0.014212208800017834, 0.0164931807667017, -0.031434930860996246, 0.025690944865345955, -0.003061304334551096, -0.006732098758220673, -0.025229210034012794, -0.07177211344242096, 0.012005114927887917, 0.08495927602052689, -0.011663430370390415, -0.02751941606402397, -0.029033908620476723, 0.022052472457289696, 0.027371661737561226, -0.020168593153357506, -0.009419397450983524, -0.036495547741651535, -0.05189903452992439, 0.0010475616436451674, -0.023012882098555565, 0.07912293821573257, -0.030382174998521805, -0.05444781109690666, -0.045545559376478195, -0.017832212150096893, -0.05200985074043274, 0.042147185653448105, 0.008999218232929707, 0.01681639440357685, 0.05500189587473869, -0.021092062816023827, -0.010961593128740788, 0.05237923935055733, -0.03841636702418327, 0.0019392877584323287, 0.06641598790884018, 0.037123508751392365, -0.03019748069345951, 0.022089410573244095, -0.08222579956054688, 0.06774578243494034, 0.013593483716249466, -0.05773536488413811, 0.0211844090372324, 0.0007895671296864748, -0.05171433836221695, 0.08089600503444672, 0.01817389577627182, -0.01423991285264492, -0.0028119671624153852, 0.03036370500922203, -0.04092820733785629, -0.024767475202679634, -0.0674872100353241, -0.014295320957899094, 0.030622277408838272, -0.02785186655819416, -0.004125603940337896, -0.04410494491457939, -0.023271452635526657, -0.0422210656106472, -0.001399057568050921, -0.057772304862737656, 0.014646239578723907, 0.06759802997112274, -0.019503694027662277, 0.0064827618189156055, 0.0328386053442955, -0.009927306324243546, 0.006261128932237625, 0.002504913369193673, 0.029661867767572403, -0.019282061606645584, 0.01290088053792715, 0.02454584278166294, -0.0351472832262516, -0.023862473666667938, -0.036661773920059204, -0.01718578301370144, -0.016899507492780685, 0.015357311815023422, -0.009890367276966572, -0.0009015379473567009, -0.08555029332637787, -0.02956952154636383, 0.0376775898039341, -0.004010170232504606, 0.022514207288622856, -0.0047327857464551926, -0.035442791879177094, 0.029828092083334923, -0.07524436712265015, 0.01348266750574112, -0.014535423368215561, 0.033355750143527985, 0.021387573331594467, -0.03823167085647583, 0.02689145691692829, -0.004428040236234665, -0.03727126494050026, 0.032395340502262115, -0.0376775898039341, -0.002414874965324998, 0.010389041155576706, -0.018349355086684227, 0.05599924176931381, 0.09168213605880737, 0.014461545273661613, 0.00218516169115901, 0.005670107901096344, -0.011635726317763329, -0.07565069198608398, -0.014978689141571522, -0.024342678487300873, 0.023973289877176285, -0.001262845704331994, 0.04233188182115555, 0.061244554817676544, -0.030049724504351616, 0.01913430541753769, -0.01625307835638523, 0.01415680069476366, -0.007429318968206644, 0.08835764229297638, -0.039007388055324554, 0.0027427070308476686, 0.035904526710510254, -0.030289826914668083, -0.005891740787774324, 0.030511461198329926, -0.08562417328357697, -0.003220602869987488, -0.06298068165779114, 0.04550861939787865, 0.05895434692502022, -0.026355843991041183, 0.008108070120215416, -0.03677259013056755, -0.0021528403740376234, -0.0486484169960022, 0.037751469761133194, 0.04609964042901993, 0.03016054257750511, 0.03304176777601242, -0.012780829332768917, 0.033651258796453476, -0.033983707427978516, -0.009927306324243546, 0.08215191960334778, 0.0579570010304451, 0.004829749930649996, -0.025432374328374863, 0.04299677908420563, 0.03970922529697418, 0.026263495907187462, 0.0001712748926365748, -0.04288596287369728, -0.04639514908194542, -0.01011200062930584, -0.059397611767053604, -0.020002366974949837, 0.06456904858350754, 0.03538738563656807 ]
719,953
ibm_platform_services.resource_controller_v2
unlock_resource_instance
Unlock a resource instance. Unlock a resource instance to update or delete it. Unlocking a resource instance does not affect child resources like aliases, bindings or keys. :param str id: The resource instance URL-encoded CRN or GUID. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse with `dict` result representing a `ResourceInstance` object
def unlock_resource_instance(self, id: str, **kwargs) -> DetailedResponse: """ Unlock a resource instance. Unlock a resource instance to update or delete it. Unlocking a resource instance does not affect child resources like aliases, bindings or keys. :param str id: The resource instance URL-encoded CRN or GUID. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse with `dict` result representing a `ResourceInstance` object """ if not id: raise ValueError('id must be provided') headers = {} sdk_headers = get_sdk_headers( service_name=self.DEFAULT_SERVICE_NAME, service_version='V2', operation_id='unlock_resource_instance' ) headers.update(sdk_headers) if 'headers' in kwargs: headers.update(kwargs.get('headers')) del kwargs['headers'] headers['Accept'] = 'application/json' path_param_keys = ['id'] path_param_values = self.encode_path_vars(id) path_param_dict = dict(zip(path_param_keys, path_param_values)) url = '/v2/resource_instances/{id}/lock'.format(**path_param_dict) request = self.prepare_request(method='DELETE', url=url, headers=headers) response = self.send(request, **kwargs) return response
(self, id: str, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
[ 0.08646820485591888, -0.04160128906369209, 0.012725308537483215, -0.018670884892344475, -0.015059169381856918, -0.051469169557094574, 0.011536193080246449, 0.0089272391051054, -0.007458592765033245, 0.021475067362189293, -0.012689812108874321, -0.05001383274793625, 0.01014297641813755, -0.0344310998916626, -0.021741287782788277, 0.005155791062861681, -0.010426944121718407, -0.01682509481906891, -0.03498128801584244, -0.05441533401608467, 0.034111637622117996, 0.09434831142425537, 0.010284960269927979, 0.030278069898486137, 0.00902041606605053, 0.056261125952005386, 0.03579769656062126, 0.027811098843812943, -0.002052111318334937, -0.029177695512771606, 0.020871635526418686, 0.03608166426420212, 0.01436699740588665, 0.03437785431742668, -0.0018313706386834383, -0.0014841756783425808, -0.016949329525232315, 0.0798659548163414, -0.10797876864671707, 0.04110434278845787, -0.010657668113708496, 0.039719998836517334, -0.000025044770154636353, -0.04859399423003197, 0.03901008144021034, 0.006611126009374857, 0.042169224470853806, -0.037625737488269806, -0.01499705109745264, -0.017295416444540024, 0.07163088768720627, -0.0052179088816046715, -0.027686864137649536, 0.02067640796303749, 0.02191876620054245, 0.030313566327095032, -0.030721770599484444, 0.062046971172094345, 0.02623152919113636, -0.045541342347860336, -0.010675415396690369, -0.02349833771586418, -0.007977721281349659, -0.013710321858525276, -0.025344129651784897, -0.014118525199592113, -0.044440966099500656, 0.04064289480447769, -0.02671072445809841, 0.038087185472249985, 0.009082533419132233, -0.017020322382450104, -0.028237050399184227, 0.0020731869153678417, -0.006025442387908697, -0.008483539335429668, -0.046002790331840515, -0.0027598123997449875, -0.0004370442475192249, -0.013816810213029385, 0.004483585711568594, -0.042701661586761475, -0.008443606086075306, -0.01639026775956154, -0.025645844638347626, -0.024989169090986252, 0.03398739919066429, -0.05427335202693939, -0.06577404588460922, -0.06733587384223938, -0.0027930899523198605, 0.013772440142929554, -0.04898444935679436, 0.0039910790510475636, 0.039649009704589844, -0.01840466447174549, -0.014100777916610241, -0.024705201387405396, -0.013364235870540142, -0.03366793692111969, -0.007250053808093071, -0.04156579077243805, 0.011420831084251404, 0.008692078292369843, 0.06943013519048691, -0.06580954790115356, -0.018511153757572174, 0.00859446357935667, -0.017055818811058998, -0.013444102369248867, 0.04124632850289345, 0.02990536205470562, -0.08306059241294861, 0.025965308770537376, 0.0016716388054192066, -0.0009423072915524244, -0.013710321858525276, 0.003352151485159993, 0.01099487952888012, -0.06644847244024277, -0.0009129121899604797, -0.044192492961883545, -0.012219490483403206, -0.009841260500252247, 0.014038659632205963, 0.02349833771586418, -0.05306648835539818, 0.01776573807001114, -0.02294814959168434, 0.0014154021628201008, -0.06272139400243759, -0.015573861077427864, -0.060414157807826996, 0.015165656805038452, 0.018848365172743797, -0.0357089564204216, 0.041849758476018906, 0.04720965027809143, 0.023267613723874092, 0.040216945111751556, 0.034803807735443115, 0.04941040277481079, -0.024882681667804718, 0.019753511995077133, 0.008430294692516327, -0.0396135114133358, -0.028592010959982872, 0.06449619680643082, 0.031680162996053696, 0.0135505897924304, -0.025113405659794807, -0.02935517393052578, 0.08795903623104095, 0.037235282361507416, 0.0022207172587513924, 0.0029128887690603733, -0.013870053924620152, 0.002087607281282544, 0.028308043256402016, -0.038087185472249985, 0.018759625032544136, 0.029177695512771606, 0.032851528376340866, -0.0360284186899662, -0.000022895599613548256, -0.0357089564204216, -0.04820353910326958, -0.0030814947094768286, 0.025468364357948303, 0.0029506031423807144, -0.06921716034412384, -0.013603833504021168, -0.010542306117713451, -0.000424010562710464, -0.037696730345487595, 0.05878134071826935, 0.032123859971761703, -0.012689812108874321, 0.037306275218725204, -0.0029128887690603733, 0.0064824530854821205, -0.03185763955116272, 0.029710134491324425, 0.018422413617372513, -0.008168512023985386, 0.018582144752144814, -0.008700951933860779, 0.03311774879693985, -0.026639731600880623, -0.05636761337518692, 0.030562037602066994, -0.0026621983852237463, 0.013488472439348698, 0.03398739919066429, -0.05494777485728264, 0.019061340019106865, -0.019611528143286705, -0.05019131302833557, 0.060414157807826996, 0.022522198036313057, -0.02967463806271553, 0.014757453463971615, -0.002344953129068017, 0.03815817832946777, 0.041459303349256516, -0.010080858133733273, 0.031591422855854034, -0.029159946367144585, -0.014801823534071445, -0.006624436937272549, -0.05203710496425629, 0.023427346721291542, -0.00506705092266202, 0.04394402354955673, 0.04181426391005516, -0.0064824530854821205, -0.001772580435499549, -0.023693565279245377, 0.03125420957803726, -0.004827453289180994, -0.05114970728754997, -0.001371032209135592, -0.04699667543172836, 0.00368048925884068, -0.05221458524465561, 0.034253619611263275, -0.0007598358206450939, 0.024474477395415306, -0.01950504072010517, -0.01014297641813755, 0.018599893897771835, 0.0441569983959198, 0.034253619611263275, -0.023001395165920258, -0.037625737488269806, 0.021776782348752022, -0.0480615571141243, -0.03688032180070877, 0.0011502915294840932, 0.0196470245718956, 0.025716837495565414, -0.019664771854877472, 0.0396135114133358, 0.0010005428921431303, -0.02356933057308197, 0.01757938414812088, -0.013878927566111088, 0.021191099658608437, 0.02083613909780979, -0.11607185006141663, -0.0023981970734894276, -0.0332774817943573, 0.03979099169373512, 0.0113587137311697, 0.027438391000032425, -0.05455731973052025, 0.009628284722566605, -0.03389865905046463, 0.018812868744134903, 0.038087185472249985, -0.005714852828532457, -0.02951490692794323, -0.06371527910232544, -0.0007287767948582768, 0.04728064313530922, -0.009122466668486595, -0.04149479791522026, 0.0441569983959198, 0.0245099738240242, -0.010311582125723362, 0.03755474463105202, -0.01611517369747162, -0.02671072445809841, -0.004738713148981333, 0.0030859317630529404, 0.036525361239910126, 0.029106702655553818, -0.0577874556183815, 0.02317887358367443, -0.02395978569984436, -0.00027703502564691007, -0.01374581828713417, 0.08171174675226212, -0.0008779708296060562, 0.0487004816532135, -0.04064289480447769, 0.010320455767214298, 0.060627132654190063, 0.016061929985880852, 0.03869061544537544, 0.019061340019106865, 0.001661655493080616, -0.02026820369064808, -0.020001983270049095, 0.0256635919213295, 0.05693554878234863, -0.06023667752742767, -0.02262868732213974, 0.0027287534903734922, -0.021883271634578705, -0.008323807269334793, 0.003975549712777138, 0.03137844428420067, -0.017242172732949257, -0.047564610838890076, -0.04195624589920044, 0.04760010913014412, 0.057893943041563034, 0.014828445389866829, 0.04781308397650719, 0.026888204738497734, 0.016239410266280174, -0.02136857993900776, -0.0685427337884903, 0.012787426821887493, 0.008208445273339748, 0.027527131140232086, 0.030970241874456406, 0.0010055345483124256, 0.02662198431789875, -0.024208256974816322, 0.0019012533593922853, 0.04050091281533241, 0.01611517369747162, 0.055941663682460785, -0.05114970728754997, -0.02145732007920742, 0.04245319217443466, 0.033011261373758316, 0.03178665041923523, -0.05558670312166214, -0.021865522488951683, 0.02356933057308197, -0.03258530795574188, -0.016283780336380005, -0.057113029062747955, 0.05409587174654007, -0.03430686518549919, -0.006908405106514692, 0.054770294576883316, 0.02749163657426834, -0.04124632850289345, 0.02983437106013298, 0.006966086104512215, -0.055941663682460785, 0.028751742094755173, 0.009441930800676346, 0.011518444865942001, 0.003893465269356966, 0.03022482618689537, -0.008980482816696167, 0.05991721153259277, 0.029887614771723747, 0.03006509505212307, 0.012281608767807484, -0.07226981222629547, -0.0135505897924304, 0.013169008307158947, -0.028556514531373978, -0.04135281592607498, -0.03627689182758331, 0.010542306117713451, -0.08057587593793869, -0.0246697049587965, -0.010613298043608665, -0.016168419271707535, -0.05487678200006485, -0.06084010750055313, 0.023924289271235466, -0.03130745515227318, -0.05824889987707138, -0.033224236220121384, -0.030597534030675888, 0.042630672454833984, 0.0733346939086914, 0.03343721106648445, -0.05579967796802521, -0.006340469233691692, -0.012743056751787663, -0.02356933057308197, 0.002821930218487978, -0.04628675803542137, 0.02012621983885765, -0.030508793890476227, -0.014233887195587158, 0.011846782639622688, -0.014473485760390759, -0.05998820438981056, 0.01611517369747162, 0.032461073249578476, 0.04188525676727295, -0.028467774391174316, 0.02577008120715618, 0.021776782348752022, -0.013639329932630062, 0.0347505621612072, -0.04032343253493309, 0.011926649138331413, 0.05835539102554321, -0.06250841915607452, -0.0072766756638884544, 0.08149876445531845, -0.009477426297962666, 0.009796890430152416, 0.019132332876324654, 0.001301149488426745, 0.0227174274623394, -0.0389745831489563, -0.005603927653282881, -0.05466380715370178, 0.003063746728003025, -0.024918178096413612, 0.018369169905781746, 0.008119705133140087, 0.054060377180576324, 0.04163678362965584, 0.021102359518408775, 0.07031753659248352, 0.010169598273932934, -0.011332090944051743, 0.062046971172094345, 0.033561449497938156, 0.027527131140232086, -0.0721278265118599, -0.046783700585365295, -0.038726113736629486, -0.023232119157910347, -0.012352600693702698, 0.032691795378923416, -0.012814048677682877, -0.006091997493058443, 0.016585495322942734, 0.017526140436530113, 0.01147407479584217, -0.003866843180730939, -0.006668807007372379, 0.03861962631344795, 0.0237113144248724, 0.034111637622117996, 0.01734866015613079, 0.02099587209522724, -0.03476831316947937, -0.014065281488001347, -0.007103632669895887, -0.020640911534428596, -0.00955729279667139, -0.00027453922666609287, 0.031360697001218796, 0.07894305884838104, -0.0007897855248302221, 0.07830412685871124, -0.015236648730933666, 0.015662601217627525, 0.002810837933793664, -0.02513115294277668, -0.06502863019704819, 0.034555334597826004, -0.04671270772814751, -0.008004343137145042, -0.03947152942419052, -0.00512916874140501, 0.0033610255923122168, -0.02960364706814289, 0.03741276264190674, -0.021581554785370827, -0.0012556702131405473, 0.047174155712127686, -0.0008912818739190698, 0.06467367708683014, -0.0028995778411626816, 0.018067453056573868, -0.01749064400792122, 0.0002906233421526849, 0.02818380668759346, 0.002815274754539132, 0.048416513949632645, 0.06123056262731552, -0.0015684785321354866, -0.05597715824842453, 0.018493404611945152, 0.010231715627014637, -0.0038402213249355555, 0.061337050050497055, -0.004583418369293213, -0.030597534030675888, -0.055160749703645706, 0.03592193126678467, -0.00829718541353941, -0.029887614771723747, -0.014757453463971615, 0.029000215232372284, -0.002344953129068017, -0.019380804151296616, 0.013089141808450222, -0.026834961026906967, -0.07390262931585312, -0.02067640796303749, 0.010213968344032764, 0.012148498557507992, -0.04539935663342476, 0.010639919899404049, -0.06620000302791595, 0.015795711427927017, -0.05800043046474457, 0.021901018917560577, 0.016337024047970772, -0.007649383507668972, -0.0006633311277255416, 0.05189512297511101, 0.0447959266602993, -0.014810697175562382, -0.020853888243436813, 0.0019356401171535254, 0.03258530795574188, -0.008306059055030346, 0.04760010913014412, -0.03540723770856857, 0.039187561720609665, 0.0363478809595108, -0.014500107616186142, 0.025095656514167786, 0.036986809223890305, 0.06612900644540787, 0.010737533681094646, -0.00374926277436316, -0.06588053703308105, -0.04092686250805855, -0.0727667585015297, 0.03420037403702736, 0.03709329664707184, -0.018759625032544136, -0.027544880285859108, -0.04291464015841484, -0.07752321660518646, -0.029301930218935013, 0.0044547454454004765, -0.1038612350821495, -0.010302707552909851, -0.020569920539855957, -0.02678171545267105, 0.0053598927333951, 0.03695131465792656, -0.01870638132095337, -0.008155201561748981, -0.04589629918336868, -0.009725898504257202, -0.032461073249578476, 0.032851528376340866, -0.027420643717050552, -0.0435180701315403, 0.07081447541713715, -0.023143379017710686, 0.05313748121261597, -0.044902414083480835, -0.07943999767303467, 0.049268417060375214, -0.03256756067276001, -0.024226006120443344, 0.014695335179567337, -0.0073476675897836685, -0.025148900225758553, 0.050865739583969116, 0.103932224214077, -0.011305469088256359, 0.011340965516865253, 0.012592198327183723, 0.06730037927627563, 0.004237332381308079, -0.019558284431695938, -0.002056548371911049, -0.02905345894396305, 0.0021386328153312206, 0.04284364730119705, -0.006167426239699125, -0.005745911505073309, 0.040039464831352234, 0.06811678409576416, 0.006411461159586906, 0.018812868744134903, -0.00902041606605053, 0.02238021418452263, -0.04468943923711777, -0.009530670009553432, -0.10925662517547607, -0.04649973288178444, 0.0714179128408432, 0.009450804442167282, 0.05136268213391304, 0.005351018626242876, 0.06225994601845741, -0.003097024280577898, 0.04955238848924637, 0.007578391581773758, -0.04699667543172836, 0.023356353864073753, 0.0581069178879261, 0.03498128801584244, -0.010320455767214298, -0.0006050955271348357, 0.062046971172094345, 0.0399329774081707, 0.019008096307516098, 0.01750839129090309, -0.021652547642588615, 0.02637351304292679, 0.04547034949064255, -0.046144772320985794, -0.07553544640541077, -0.061408042907714844, -0.04728064313530922, -0.034644074738025665, -0.04941040277481079, 0.008754195645451546, 0.018653137609362602, 0.013790187425911427, 0.032514315098524094, -0.029550403356552124, -0.024563217535614967, -0.017978712916374207, -0.042311206459999084, -0.030562037602066994, 0.04941040277481079, 0.018457908183336258, -0.007826863788068295, -0.046002790331840515, 0.04862949252128601, 0.018191689625382423, 0.05001383274793625, -0.03492804244160652, 0.04326959699392319, -0.038477640599012375, 0.04064289480447769, 0.0006832975777797401, 0.02168804407119751, 0.012938284315168858, 0.003935616463422775, 0.015414129011332989, -0.010071984492242336, 0.020143968984484673, 0.01576908864080906, 0.043873030692338943, -0.046393245458602905, -0.01950504072010517, 0.05264053866267204, -0.053350456058979034, 0.050617266446352005, 0.02253994718194008, -0.03547823056578636, -0.06712289899587631, -0.02481168881058693, -0.025184396654367447, 0.021936515346169472, -0.010080858133733273, -0.05604815110564232, 0.007170187775045633, -0.022096246480941772, 0.014313753694295883, -0.0004448089748620987, -0.011829035356640816, 0.04007495939731598, 0.0022983646485954523, -0.019842252135276794, -0.019469544291496277, -0.0029506031423807144, 0.00554180983453989, -0.006398150231689215, -0.03537174314260483, -0.0018846145831048489, 0.03125420957803726, 0.056474100798368454, 0.010524557903409004, -0.04199174419045448, -0.007059262599796057, 0.06112407520413399, -0.06776182353496552, -0.021812278777360916, -0.014251635409891605, -0.0691816657781601, -0.0202859528362751, 0.06020117923617363, -0.008416984230279922, -0.017224423587322235, -0.01788109913468361, -0.012104128487408161, -0.03061528131365776, 0.04962337762117386, 0.0054220110177993774, 0.007933351211249828, -0.015405254438519478, -0.07510948926210403, -0.010480187833309174, -0.08355753123760223, -0.019363056868314743, -0.008625523187220097, -0.05661608651280403, -0.03022482618689537, -0.024438980966806412, -0.01694045588374138, 0.01076415553689003, 0.027811098843812943, -0.0155827347189188, -0.045044396072626114, 0.02731415629386902, 0.003574001369997859, -0.005510750692337751, 0.00454348511993885, 0.0028596448246389627, -0.05551571026444435, 0.06701640784740448, -0.027136676013469696, 0.02536187693476677, 0.06740686297416687, 0.05998820438981056, -0.00036327916313894093, 0.08206669986248016, 0.015050294809043407, -0.1000276654958725, -0.08014991879463196, 0.013816810213029385, 0.038726113736629486, -0.019309813156723976, 0.02239796333014965, 0.019150080159306526, -0.0632893294095993, -0.020072976127266884, 0.008461354300379753, -0.023143379017710686, 0.07454155385494232, 0.029621394351124763, 0.01941630057990551, 0.03153817728161812, 0.00040903568151406944, -0.10215742886066437, -0.010089731775224209, 0.047955065965652466, -0.021652547642588615, 0.02012621983885765, 0.01581345871090889, 0.06896869093179703, 0.0648866519331932, -0.02692369930446148, 0.06162101775407791, 0.010054236277937889, 0.004800830967724323, -0.007857922464609146, 0.03776772320270538, 0.02637351304292679, 0.06382177025079727, 0.014810697175562382, -0.06250841915607452, 0.039329543709754944, -0.021031366661190987, 0.024155013263225555, 0.0746835395693779, 0.0902307778596878, -0.057148527354002, -0.02356933057308197, 0.04298562929034233, 0.016718605533242226, 0.03890359401702881, -0.00027467787731438875, 0.018582144752144814, -0.006655496079474688, -0.014668713323771954, -0.018351420760154724, 0.02120884694159031, -0.006908405106514692, 0.006029879208654165 ]
719,954
ibm_platform_services.resource_controller_v2
update_resource_alias
Update a resource alias. Use the resource alias URL-encoded CRN or GUID to update the resource alias. :param str id: The resource alias URL-encoded CRN or GUID. :param str name: The new name of the alias. Must be 180 characters or less and cannot include any special characters other than `(space) - . _ :`. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse with `dict` result representing a `ResourceAlias` object
def update_resource_alias(self, id: str, name: str, **kwargs) -> DetailedResponse: """ Update a resource alias. Use the resource alias URL-encoded CRN or GUID to update the resource alias. :param str id: The resource alias URL-encoded CRN or GUID. :param str name: The new name of the alias. Must be 180 characters or less and cannot include any special characters other than `(space) - . _ :`. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse with `dict` result representing a `ResourceAlias` object """ if not id: raise ValueError('id must be provided') if name is None: raise ValueError('name must be provided') headers = {} sdk_headers = get_sdk_headers( service_name=self.DEFAULT_SERVICE_NAME, service_version='V2', operation_id='update_resource_alias' ) headers.update(sdk_headers) data = {'name': name} data = {k: v for (k, v) in data.items() if v is not None} data = json.dumps(data) headers['content-type'] = 'application/json' if 'headers' in kwargs: headers.update(kwargs.get('headers')) del kwargs['headers'] headers['Accept'] = 'application/json' path_param_keys = ['id'] path_param_values = self.encode_path_vars(id) path_param_dict = dict(zip(path_param_keys, path_param_values)) url = '/v2/resource_aliases/{id}'.format(**path_param_dict) request = self.prepare_request(method='PATCH', url=url, headers=headers, data=data) response = self.send(request, **kwargs) return response
(self, id: str, name: str, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
[ -0.0008950107730925083, -0.05294124409556389, 0.025440003722906113, 0.004545117728412151, -0.0017674202099442482, -0.004088571760803461, -0.05391761660575867, -0.015486398711800575, 0.052507296204566956, -0.035312242805957794, -0.02144409529864788, -0.035348404198884964, 0.0488910935819149, 0.007955650798976421, -0.006052623502910137, 0.0149530079215765, -0.010215779766440392, 0.05207335203886032, 0.003383411793038249, -0.005342943128198385, 0.013596931472420692, 0.021426014602184296, 0.03395616635680199, -0.013172026723623276, 0.0282425619661808, 0.055508747696876526, 0.09691429883241653, -0.004624222405254841, -0.010649723932147026, -0.015025332570075989, -0.010703966952860355, -0.0442623496055603, 0.031479064375162125, 0.06552563607692719, -0.005148571915924549, -0.030538851395249367, -0.016101153567433357, 0.047155313193798065, -0.08440222591161728, 0.02303522638976574, -0.009664308279752731, 0.03355838358402252, 0.005894414149224758, -0.051856379956007004, 0.06585109233856201, 0.01902123913168907, -0.034408193081617355, 0.0016668445896357298, -0.008041536435484886, -0.00440272968262434, 0.029327422380447388, -0.0530497282743454, -0.020323073491454124, -0.003342729527503252, -0.006735181901603937, 0.016526056453585625, -0.018279917538166046, 0.06219872832298279, -0.008371515199542046, -0.021914202719926834, 0.04144170880317688, -0.037897828966379166, -0.006911471951752901, -0.053266700357198715, -0.04375608265399933, -0.02216733805835247, -0.008140982128679752, -0.01248494815081358, -0.048710282891988754, 0.0018160130130127072, 0.017628999426960945, -0.005727164912968874, 0.00002849880365829449, -0.062488023191690445, 0.03290746733546257, 0.029200855642557144, -0.019780641421675682, 0.020178424194455147, 0.0045880600810050964, -0.039488960057497025, -0.007982772774994373, -0.04451548308134079, 0.03851258382201195, -0.02762780711054802, -0.00828562956303358, -0.000835682381875813, -0.0157847348600626, -0.03977825492620468, -0.05196486786007881, -0.03238311782479286, 0.06400682777166367, -0.030918553471565247, -0.0459258034825325, 0.005781407933682203, 0.03278090059757233, -0.015658168122172356, 0.0050898087210953236, -0.06834627687931061, 0.03735539689660072, 0.030990878120064735, 0.0016046910313889384, -0.057859282940626144, 0.025910109281539917, 0.01459138747304678, 0.08960956335067749, -0.032274629920721054, -0.0018465247703716159, -0.007471983786672354, 0.01205100305378437, -0.0034037530422210693, 0.014293050393462181, -0.02862226404249668, -0.008366994559764862, -0.024011602625250816, 0.0039032413624227047, 0.005695523228496313, 0.03807863965630531, -0.057027556002140045, 0.01837032102048397, -0.03393808379769325, 0.024535952135920525, -0.00079217494931072, 0.007354456931352615, 0.006834627594798803, 0.014293050393462181, -0.037933990359306335, -0.03768085688352585, 0.06183710694313049, -0.018189512193202972, -0.030339960008859634, -0.02845953404903412, -0.027682049199938774, -0.03021339327096939, 0.06563412398099899, 0.0644407719373703, 0.002017164370045066, 0.0488910935819149, 0.040320686995983124, -0.004009467549622059, 0.02683224156498909, 0.0016419831663370132, 0.04513023793697357, -0.03498678281903267, -0.008037015795707703, -0.010866696015000343, -0.040284525603055954, 0.007702516857534647, 0.01905740052461624, -0.04111625254154205, -0.009248444810509682, 0.0018408744363114238, -0.0416586808860302, 0.015269425697624683, 0.037138424813747406, 0.0021731131710112095, -0.019039319828152657, -0.017873093485832214, -0.05200102925300598, 0.004384648520499468, -0.00933884922415018, -0.0007723987801000476, -0.022601282224059105, 0.01422976702451706, -0.004289723467081785, -0.016969041898846626, -0.05818473920226097, -0.07355361431837082, -0.02565697580575943, -0.01678823120892048, -0.0022183158434927464, -0.029616719111800194, -0.003442175220698118, -0.03325100615620613, -0.016064990311861038, -0.01564912684261799, 0.02234814688563347, 0.03207574039697647, -0.040103714913129807, -0.0011458849767223, -0.0003299787058494985, 0.016083072870969772, -0.02580162324011326, 0.02068469300866127, 0.020142262801527977, 0.0017821111250668764, 0.007883327081799507, -0.015893220901489258, 0.04885493218898773, 0.008439318276941776, -0.007178166881203651, 0.035167593508958817, -0.011309681460261345, 0.0120148416608572, 0.023993520066142082, -0.04006755352020264, -0.06429612636566162, 0.018460726365447044, -0.07102226465940475, 0.04907190427184105, -0.0054921116679906845, -0.040139876306056976, 0.03446243330836296, 0.014491941779851913, 0.09763753414154053, 0.07890559732913971, -0.015857059508562088, 0.10161536186933517, 0.0042806826531887054, -0.04151403531432152, -0.01681535318493843, -0.0004658689140342176, 0.037283074110746384, -0.03305211290717125, -0.03435394912958145, -0.02580162324011326, 0.017466271296143532, 0.02645253948867321, 0.012159490026533604, 0.03811480104923248, -0.0052660987712442875, -0.04115241393446922, -0.020738936960697174, 0.040284525603055954, -0.026669513434171677, -0.007982772774994373, -0.026777999475598335, 0.05283275619149208, 0.030990878120064735, -0.00941117387264967, 0.003747292561456561, 0.0112735191360116, -0.028170237317681313, 0.027609726414084435, -0.029689043760299683, -0.03211190178990364, 0.0061068665236234665, 0.0027505760081112385, -0.0391635000705719, -0.019997613504529, 0.000702899880707264, 0.0004929904825985432, 0.03449859842658043, 0.02762780711054802, 0.03202149644494057, -0.08577638119459152, -0.005342943128198385, -0.018225673586130142, 0.004438891541212797, -0.012132368050515652, -0.12230005860328674, 0.04523872584104538, -0.011128870770335197, 0.013913349248468876, 0.0472276397049427, 0.02534959837794304, -0.032346952706575394, -0.009465416893362999, -0.03312443941831589, 0.015486398711800575, -0.016535097733139992, -0.07228793948888779, 0.01129160076379776, -0.04679369553923607, -0.002644350053742528, -0.0290742889046669, -0.019907208159565926, -0.0022092752624303102, 0.034028489142656326, -0.017773648723959923, 0.0029991900082677603, 0.087584488093853, 0.029128532856702805, -0.020865503698587418, 0.009008871391415596, 0.03209381923079491, 0.07782073318958282, 0.054821670055389404, -0.015097656287252903, -0.0191658865660429, -0.05699139088392258, -0.0066131348721683025, -0.006057143677026033, 0.047950878739356995, 0.05207335203886032, 0.04198414087295532, -0.06190942972898483, 0.005415267311036587, 0.08635497838258743, -0.062451861798763275, 0.010315225459635258, 0.05912495404481888, -0.009727591648697853, -0.022944821044802666, 0.00020185769244562835, -0.013307634741067886, 0.07485544681549072, -0.06975659728050232, 0.008778338320553303, 0.040863119065761566, 0.0039665247313678265, -0.05446004867553711, 0.03630669787526131, 0.03655983507633209, -0.038693394511938095, -0.029399747028946877, -0.0475892573595047, 0.029472071677446365, -0.005279659293591976, 0.001498464960604906, 0.0437922440469265, -0.009420214220881462, 0.003256844822317362, -0.06632120162248611, -0.0429605171084404, -0.019075481221079826, -0.025566570460796356, 0.010351386852562428, 0.034824054688215256, 0.02572929859161377, 0.027013052254915237, -0.04079079255461693, -0.0006769084138795733, -0.01947326399385929, -0.0648023933172226, 0.06827395409345627, -0.0012362900888547301, 0.06961195170879364, 0.04118857532739639, 0.0888863205909729, -0.0034127936232835054, -0.030050665140151978, -0.05337518826127052, -0.007259531877934933, -0.056268151849508286, -0.04133322462439537, -0.058691009879112244, 0.015486398711800575, -0.04578115791082382, -0.0005011834437027574, 0.06939497590065002, 0.02572929859161377, -0.015350790694355965, 0.014799319207668304, 0.00816810317337513, -0.02820640057325363, 0.03912733867764473, 0.004836674313992262, -0.028369128704071045, 0.01271096058189869, -0.0018340940587222576, 0.014383455738425255, -0.007503625471144915, 0.014302090741693974, 0.01326243206858635, 0.0728665292263031, -0.006979275960475206, -0.021715311333537102, -0.0028342006262391806, -0.019111644476652145, -0.014826441183686256, -0.08794610947370529, -0.05525561422109604, -0.020521963015198708, -0.031406741589307785, 0.02641637809574604, -0.03131633624434471, -0.022113094106316566, 0.0009876759722828865, 0.006762303411960602, -0.06964810937643051, -0.05532793700695038, -0.004097612574696541, 0.007358977571129799, -0.011228316463530064, 0.03460708260536194, -0.0030986357014626265, -0.024680599570274353, -0.0038919406943023205, -0.01205100305378437, 0.004346226342022419, 0.02182379737496376, -0.017827890813350677, -0.010848615318536758, -0.001100682420656085, 0.0051847342401742935, -0.020449640229344368, -0.005257057957351208, -0.03655983507633209, -0.00010446029773447663, 0.04957817122340202, 0.042671218514442444, -0.013669255189597607, 0.033992327749729156, -0.014166483655571938, -0.016137314960360527, 0.001100117340683937, -0.03977825492620468, -0.029327422380447388, -0.049433521926403046, -0.0267599169164896, -0.020594287663698196, 0.024373222142457962, 0.06133083999156952, 0.027392754331231117, 0.04162251949310303, -0.02610900066792965, 0.05887182056903839, -0.023939277976751328, -0.009754713624715805, 0.03605356439948082, -0.004574499558657408, -0.04664904624223709, -0.008683412335813046, -0.014256889000535011, 0.024463627487421036, 0.07236026227474213, -0.03547497093677521, -0.010749169625341892, 0.003688529133796692, 0.022908659651875496, 0.03608972579240799, -0.009736631996929646, -0.031894929707050323, 0.01512477733194828, 0.018225673586130142, -0.051711734384298325, 0.004452452529221773, -0.00430780416354537, -0.0023550535552203655, -0.007553348317742348, 0.02862226404249668, -0.005320341791957617, 0.0162277203053236, -0.017068488523364067, 0.0014815140748396516, 0.007105843164026737, 0.05594269186258316, 0.006617655511945486, 0.012213733047246933, -0.007503625471144915, 0.05044605955481529, -0.0248614102602005, -0.015838978812098503, -0.02175147272646427, -0.0568467453122139, -0.026090919971466064, -0.004759829957038164, -0.018316078931093216, 0.009076674468815327, -0.02883923612535, 0.08498082309961319, 0.020919745787978172, 0.013705417513847351, -0.04661288484930992, -0.015929384157061577, -0.060209814459085464, 0.006097825709730387, -0.014428658410906792, -0.05225416272878647, -0.017312582582235336, -0.03431778773665428, -0.017936376854777336, -0.02234814688563347, 0.05641280114650726, 0.008041536435484886, 0.0059486571699380875, 0.006911471951752901, 0.01947326399385929, 0.004954201169312, -0.02410200610756874, 0.009365971200168133, -0.04147787392139435, -0.011083669029176235, 0.06357288360595703, 0.022637443616986275, 0.025494245812296867, -0.0256931371986866, 0.01633620634675026, -0.047950878739356995, 0.05887182056903839, 0.023559575900435448, -0.0031167168635874987, 0.03388383984565735, 0.005044606048613787, 0.044009216129779816, -0.011490491218864918, 0.048601794987916946, -0.00016414180572610348, -0.052471134811639786, 0.025096463039517403, 0.04682985693216324, 0.006685459055006504, -0.037246912717819214, 0.0024477187544107437, -0.07261339575052261, -0.018261834979057312, 0.015522560104727745, 0.007738678716123104, 0.0038557786028832197, -0.014012794941663742, 0.0170594472438097, -0.11803293228149414, 0.046468235552310944, -0.024409383535385132, 0.04371992126107216, -0.00467846542596817, -0.03923582658171654, 0.00438690884038806, 0.0353664867579937, 0.04187565669417381, -0.0712030753493309, 0.0013888487592339516, 0.0712030753493309, 0.01500725094228983, 0.039452798664569855, 0.051784057170152664, -0.02997834049165249, 0.045744992792606354, 0.021426014602184296, -0.009266525506973267, -0.024083925411105156, 0.011282559484243393, -0.0052525377832353115, -0.01326243206858635, 0.01303641963750124, -0.03187684714794159, -0.031135525554418564, -0.0446239709854126, 0.013172026723623276, -0.0021392113994807005, -0.0442623496055603, 0.005718124099075794, -0.03804247826337814, -0.06755071133375168, 0.020865503698587418, 0.05771463364362717, -0.06501936912536621, -0.00555087486281991, -0.058654844760894775, -0.005243497435003519, 0.021154800429940224, 0.06201791763305664, -0.0450940765440464, -0.0492527149617672, -0.0535198338329792, -0.01698712259531021, 0.01545023638755083, -0.009664308279752731, 0.06653816998004913, -0.02079317905008793, 0.028224481269717216, -0.046359747648239136, 0.03180452436208725, 0.05297740548849106, -0.10812453180551529, 0.017529554665088654, -0.006206312216818333, -0.09742056578397751, -0.025295354425907135, 0.017945418134331703, -0.024572113528847694, 0.0670444443821907, 0.08642730116844177, -0.018207592889666557, 0.02272784896194935, 0.05894414335489273, 0.06682746857404709, 0.03397424519062042, -0.0183341596275568, -0.00045569834765046835, -0.03822328895330429, -0.020286910235881805, -0.011454329825937748, -0.0030624736100435257, -0.037897828966379166, 0.004183497279882431, 0.08707822114229202, -0.03039420396089554, 0.04983130469918251, 0.04668520763516426, -0.003864819183945656, 0.042671218514442444, -0.025096463039517403, -0.036831047385931015, -0.008281109854578972, 0.044913265854120255, 0.05804008990526199, 0.06961195170879364, 0.013651174493134022, -0.02269168756902218, -0.09373203665018082, 0.002202495001256466, -0.0037585932295769453, -0.04885493218898773, -0.008724094368517399, 0.026289811357855797, 0.016064990311861038, -0.04274354502558708, -0.000748667458537966, 0.011336802504956722, -0.0018386142328381538, -0.00847548060119152, -0.02845953404903412, 0.012638636864721775, -0.0035054588224738836, 0.022872496396303177, -0.0036930495407432318, -0.03894652798771858, -0.09590175747871399, -0.024300897493958473, -0.019834885373711586, -0.028224481269717216, 0.018587294965982437, 0.029435910284519196, 0.006143028382211924, -0.02873075008392334, -0.03321484476327896, 0.02921893633902073, -0.016996163874864578, 0.004606141243129969, -0.03630669787526131, 0.005939616821706295, -0.021878041326999664, 0.014699873514473438, -0.05442388728260994, 0.039416637271642685, 0.04357527196407318, -0.0019719619303941727, -0.05341134965419769, -0.016155395656824112, -0.03433586657047272, 0.059414248913526535, 0.02269168756902218, 0.00016202294500544667, 0.051024653017520905, -0.024535952135920525, 0.02386695332825184, 0.013235311023890972, 0.011544735170900822, 0.014636590145528316, 0.04762542247772217, 0.04126090183854103, -0.0214802585542202, 0.08201552927494049, -0.004176716785877943, 0.14356334507465363, -0.03173219785094261, -0.0783270001411438, -0.054821670055389404, -0.0324011966586113, -0.015070534311234951, 0.06968427449464798, -0.007196248043328524, 0.01969023607671261, 0.05836554989218712, 0.04162251949310303, -0.016661664471030235, -0.021769555285573006, -0.026633350178599358, 0.0026240088045597076, 0.04440699890255928, -0.02793518453836441, -0.015477357432246208, -0.04415386542677879, 0.014455779455602169, -0.02269168756902218, 0.0046377829276025295, -0.005284179467707872, 0.06201791763305664, 0.035890836268663406, 0.024120088666677475, -0.017421068623661995, 0.015151899307966232, 0.02572929859161377, -0.0120148416608572, -0.054893992841243744, 0.022113094106316566, -0.037138424813747406, 0.03891036659479141, 0.014112240634858608, -0.028784992173314095, -0.07854397594928741, 0.012539191171526909, 0.021968446671962738, -0.0581485778093338, 0.03572810813784599, 0.03938047215342522, -0.014374415390193462, -0.02023266814649105, -0.0014611728256568313, 0.014799319207668304, -0.060824569314718246, -0.019527507945895195, 0.012918892316520214, -0.010405629873275757, -0.023740386590361595, -0.047191474586725235, -0.018912753090262413, -0.03572810813784599, -0.008864223025739193, 0.03350413963198662, -0.017186013981699944, 0.04288819059729576, -0.030990878120064735, -0.0010210128966718912, 0.030267637223005295, -0.037283074110746384, -0.04368375614285469, -0.007512666285037994, 0.01667974516749382, -0.0033336891792714596, 0.06321126222610474, 0.036107808351516724, 0.0002359008794883266, 0.07680819928646088, -0.012909851968288422, -0.0337030328810215, -0.046323586255311966, 0.018117187544703484, 0.058546360582113266, 0.014329212717711926, 0.05210951715707779, -0.0020623670425266027, -0.003776674158871174, 0.012475907802581787, -0.01531462837010622, -0.010288103483617306, 0.05995668098330498, -0.030882392078638077, -0.005541834514588118, -0.012882730923593044, 0.049542009830474854, -0.04111625254154205, -0.029020044952630997, 0.029273180291056633, -0.0070606404915452, 0.030864309519529343, -0.014012794941663742, 0.0027415354270488024, 0.034589000046253204, 0.018388403579592705, 0.03431778773665428, -0.010568358935415745, 0.0023912156466394663, 0.013895267620682716, 0.0037269513122737408, 0.050988491624593735, 0.055436424911022186, 0.030846228823065758, 0.0055734761990606785, 0.060896892100572586, 0.03757237270474434, -0.0013798082945868373, 0.07246875017881393, 0.05525561422109604, -0.10161536186933517, 0.0031890408135950565, 0.07825467735528946, 0.06668282300233841, 0.0522180013358593, 0.007413220591843128, -0.0005619243602268398, 0.013280512765049934, -0.013027379289269447, -0.01902123913168907, 0.03126209229230881, -0.02379462867975235, 0.00012402453285176307 ]
719,955
ibm_platform_services.resource_controller_v2
update_resource_binding
Update a resource binding. Use the resource binding URL-encoded CRN or GUID to update the resource binding. :param str id: The resource binding URL-encoded CRN or GUID. :param str name: The new name of the binding. Must be 180 characters or less and cannot include any special characters other than `(space) - . _ :`. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse with `dict` result representing a `ResourceBinding` object
def update_resource_binding(self, id: str, name: str, **kwargs) -> DetailedResponse: """ Update a resource binding. Use the resource binding URL-encoded CRN or GUID to update the resource binding. :param str id: The resource binding URL-encoded CRN or GUID. :param str name: The new name of the binding. Must be 180 characters or less and cannot include any special characters other than `(space) - . _ :`. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse with `dict` result representing a `ResourceBinding` object """ if not id: raise ValueError('id must be provided') if name is None: raise ValueError('name must be provided') headers = {} sdk_headers = get_sdk_headers( service_name=self.DEFAULT_SERVICE_NAME, service_version='V2', operation_id='update_resource_binding' ) headers.update(sdk_headers) data = {'name': name} data = {k: v for (k, v) in data.items() if v is not None} data = json.dumps(data) headers['content-type'] = 'application/json' if 'headers' in kwargs: headers.update(kwargs.get('headers')) del kwargs['headers'] headers['Accept'] = 'application/json' path_param_keys = ['id'] path_param_values = self.encode_path_vars(id) path_param_dict = dict(zip(path_param_keys, path_param_values)) url = '/v2/resource_bindings/{id}'.format(**path_param_dict) request = self.prepare_request(method='PATCH', url=url, headers=headers, data=data) response = self.send(request, **kwargs) return response
(self, id: str, name: str, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
[ 0.020385434851050377, -0.07902821153402328, -0.024359025061130524, -0.05563024431467056, -0.007637607399374247, -0.02343493327498436, -0.017631646245718002, 0.04391277953982353, 0.04735039547085762, -0.07215297967195511, -0.03877483680844307, -0.014933302067220211, 0.026761658489704132, 0.00494388397783041, -0.05485400930047035, 0.016698313876986504, 0.03977285325527191, 0.0427299439907074, -0.05496490001678467, -0.0568130798637867, 0.039957672357559204, 0.024340542033314705, 0.027926012873649597, 0.04003159701824188, 0.033193327486515045, 0.041473180055618286, 0.08952588587999344, 0.011116808280348778, 0.0013445515651255846, 0.027685750275850296, -0.015801945701241493, -0.04686986654996872, 0.031881120055913925, 0.023305561393499374, -0.0027630303520709276, -0.01696630008518696, 0.00905146636068821, 0.04132532328367233, -0.04705468565225601, -0.025652751326560974, -0.019941871985793114, 0.006981503218412399, -0.02341645210981369, -0.012660038657486439, 0.04051212593913078, 0.026761658489704132, -0.01416630670428276, 0.027796640992164612, -0.021734606474637985, -0.0020849790889769793, 0.03274976462125778, -0.038663946092128754, -0.0048930589109659195, 0.03348903730511665, 0.025375524535775185, 0.01029436755925417, -0.05625862628221512, 0.06531471014022827, -0.004056756850332022, -0.05718271806836128, -0.0012509874068200588, -0.059991952031850815, -0.07108103483915329, -0.06291207671165466, -0.04339528828859329, -0.034228309988975525, -0.047498248517513275, 0.0004842811613343656, -0.032121382653713226, -0.005498338025063276, 0.00879272073507309, 0.019091708585619926, -0.04239726811647415, -0.022178171202540398, -0.02966330386698246, 0.01822306402027607, 0.005003949627280235, 0.012909543700516224, 0.039957672357559204, -0.04831144958734512, 0.04298868775367737, -0.016227027401328087, 0.05496490001678467, -0.06161835044622421, -0.03208442032337189, -0.0015940560260787606, 0.0014023073017597198, -0.015746500343084335, -0.00833529606461525, -0.06280118972063065, 0.03566989302635193, -0.00742506654933095, -0.0359286367893219, 0.007799323182553053, 0.060213733464479446, -0.04938339442014694, 0.013001952320337296, -0.06339260190725327, 0.03452401980757713, 0.02265869826078415, -0.023028334602713585, -0.06705199927091599, -0.01329766120761633, 0.05433651804924011, 0.06464936584234238, -0.02269566059112549, 0.017280491068959236, 0.01643032766878605, -0.024063315242528915, -0.03687120974063873, 0.0411035418510437, -0.0166705921292305, -0.018805241212248802, -0.020200617611408234, -0.005304279271513224, 0.05418866500258446, 0.02130952477455139, -0.04868108406662941, 0.057921990752220154, -0.03306395560503006, -0.0012486772611737251, -0.012318125925958157, 0.002228213008493185, -0.008487770333886147, 0.04080783575773239, 0.02341645210981369, -0.06309689581394196, 0.029533930122852325, 0.010793376713991165, -0.0190177820622921, -0.019054744392633438, -0.03435768187046051, -0.054558299481868744, 0.060768187046051025, 0.024839550256729126, -0.03374778479337692, -0.026447469368577003, 0.04084479808807373, 0.0231392253190279, 0.04609363153576851, 0.036538537591695786, 0.03467187285423279, -0.017400622367858887, 0.010211199522018433, 0.018768277019262314, -0.027020404115319252, 0.013094361871480942, 0.05511275306344032, -0.032638873904943466, 0.008469289168715477, -0.04058605059981346, -0.019849462434649467, 0.03637219965457916, 0.030032940208911896, -0.010238922201097012, 0.03402500972151756, -0.008617143146693707, -0.037887707352638245, 0.00656104227527976, -0.03199201077222824, 0.03925536200404167, 0.013537924736738205, 0.03566989302635193, -0.04757217690348625, -0.00807655043900013, 0.003379860892891884, -0.07991534471511841, -0.02938607707619667, 0.013408551923930645, 0.038405198603868484, -0.023250116035342216, 0.009665986523032188, -0.01899929903447628, -0.017400622367858887, 0.037610482424497604, 0.039698924869298935, 0.04794181138277054, -0.027722712606191635, 0.014656074345111847, 0.024137241765856743, 0.04143621399998665, -0.030624357983469963, 0.03437616303563118, 0.020422399044036865, 0.02239995263516903, 0.04598274081945419, -0.02134648896753788, 0.02134648896753788, -0.006029690150171518, -0.008700311183929443, 0.018555736169219017, 0.00690295547246933, 0.031640857458114624, 0.018250785768032074, -0.05067712068557739, -0.026743177324533463, -0.0011447169817984104, -0.05718271806836128, 0.06250547617673874, -0.027537895366549492, 0.004629692994058132, -0.044615086168050766, 0.0022305233869701624, 0.11436543613672256, 0.06143353134393692, -0.02445143274962902, 0.084498830139637, -0.04679594188928604, 0.007485132664442062, -0.014637592248618603, -0.014434292912483215, 0.011523407883942127, 0.0034214449115097523, -0.012854098342359066, -0.0026428985875099897, 0.05045533925294876, 0.0033521379809826612, -0.043284397572278976, 0.03648309037089348, -0.02105078101158142, -0.027205223217606544, 0.017881149426102638, 0.04786788672208786, -0.025634268298745155, -0.0427299439907074, -0.009693709202110767, 0.04420848563313484, 0.03273128345608711, 0.014406570233404636, 0.015155083499848843, 0.0011268127709627151, 0.014803929254412651, 0.024636251851916313, 0.0010482651414349675, 0.0011429843725636601, -0.03517088294029236, -0.011578853242099285, -0.03700058162212372, 0.008959056809544563, -0.0017834946047514677, 0.03197352960705757, 0.0749252513051033, 0.0004028456751257181, 0.022030316293239594, -0.08117210119962692, -0.04923553764820099, -0.0010453773429617286, -0.015441551804542542, -0.025578822940587997, -0.07651469111442566, -0.007138598710298538, -0.03199201077222824, -0.015663333237171173, 0.028850102797150612, -0.002009896794334054, -0.05075104907155037, -0.022436916828155518, -0.04302565008401871, 0.0047636860981583595, 0.002205110853537917, -0.028221722692251205, -0.004786788485944271, -0.06368831545114517, 0.033156365156173706, 0.012909543700516224, -0.014997988007962704, -0.026447469368577003, 0.012345848605036736, 0.01352868415415287, 0.0025389385409653187, 0.11052121967077255, -0.010747171938419342, -0.005507579073309898, 0.026392024010419846, 0.0033336563501507044, 0.027260668575763702, 0.057404499500989914, -0.0011435619089752436, 0.014924060553312302, -0.046241484582424164, 0.0453173965215683, -0.015229010954499245, 0.04679594188928604, 0.05326457321643829, 0.036076489835977554, -0.01862042210996151, -0.04834841191768646, 0.04210156202316284, -0.04213852435350418, 0.002564351074397564, 0.0941832959651947, 0.024322060868144035, -0.004999329335987568, 0.02474714256823063, -0.021808534860610962, 0.06890018284320831, -0.07159852981567383, -0.008515493012964725, 0.03271280229091644, -0.019165635108947754, -0.0036432265769690275, 0.033692337572574615, 0.05588899180293083, -0.03095703013241291, -0.028480468317866325, -0.09632718563079834, 0.03274976462125778, -0.01611613668501377, -0.030032940208911896, 0.030901584774255753, 0.010128031484782696, -0.024784104898571968, -0.041547104716300964, -0.058143772184848785, 0.04831144958734512, -0.015256733633577824, 0.018047485500574112, -0.0018816791707649827, 0.0024534601252526045, 0.02108774334192276, -0.05855036899447441, -0.022529324516654015, 0.02288047969341278, -0.015912838280200958, 0.0019532961305230856, -0.03958803415298462, 0.04945731908082962, 0.057663243263959885, 0.018075209110975266, -0.001609072438441217, 0.009356415830552578, -0.01786266826093197, 0.053966883569955826, -0.013417793437838554, 0.00527193583548069, -0.0377952978014946, 0.05075104907155037, -0.029515448957681656, -0.02156827040016651, 0.009425722993910313, 0.00950889103114605, 0.01824154518544674, 0.03822037950158119, 0.004151476547122002, -0.0184448454529047, 0.0326203927397728, 0.008903611451387405, -0.006921437568962574, 0.02186398021876812, -0.041990671306848526, -0.039144471287727356, -0.018657386302947998, 0.007448168937116861, 0.016605906188488007, 0.023823050782084465, 0.017613163217902184, -0.023989388719201088, -0.02942303940653801, -0.006408567074686289, -0.03247253969311714, -0.049272503703832626, 0.01858345977962017, -0.03404349088668823, -0.0352078452706337, 0.014073897153139114, -0.013695020228624344, -0.049826957285404205, 0.03626130893826485, 0.005161045119166374, -0.04402367025613785, -0.026188723742961884, -0.020477844402194023, 0.0019590717274695635, 0.028813140466809273, -0.011865321546792984, -0.016079174354672432, -0.04339528828859329, 0.000020936424334649928, 0.015866633504629135, -0.014203269965946674, 0.016883132979273796, -0.043358322232961655, -0.002222437411546707, -0.006145201623439789, -0.01003562193363905, -0.048791974782943726, 0.011255421675741673, -0.05492793768644333, -0.013306902721524239, -0.002617486286908388, 0.009555094875395298, -0.0002811256272252649, 0.014351124875247478, 0.023342525586485863, -0.005290417931973934, -0.03481972962617874, 0.0047290329821407795, 0.005618469789624214, -0.006598006002604961, -0.01679072342813015, -0.026650767773389816, 0.02755637653172016, 0.042286377400159836, 0.02550489641726017, 0.03018079325556755, -0.027242185547947884, 0.07644075900316238, 0.017936594784259796, 0.017733296379446983, 0.011911525391042233, -0.018250785768032074, 0.025357041507959366, -0.07145067304372787, -0.02964482083916664, 0.034708838909864426, 0.07163549214601517, 0.010331330820918083, 0.00315114832483232, -0.04106657952070236, 0.041251398622989655, 0.0495312474668026, -0.0029432279989123344, 0.010922749526798725, 0.026410505175590515, -0.006598006002604961, -0.029607858508825302, 0.005941901355981827, 0.00406368775293231, 0.025929978117346764, 0.017973558977246284, -0.010275885462760925, 0.01822306402027607, 0.0005599410505965352, -0.028813140466809273, -0.013584129512310028, 0.008848166093230247, 0.04890286549925804, 0.006736619397997856, 0.03254646435379982, -0.01850029081106186, 0.02441447041928768, -0.04653719440102577, -0.021919425576925278, -0.04029034450650215, -0.07681039720773697, -0.03962499648332596, 0.01260459329932928, -0.015848150476813316, 0.01159733533859253, -0.005650813225656748, 0.07366848737001419, -0.029293667525053024, 0.027519414201378822, -0.047978777438402176, -0.05015962943434715, -0.07230083644390106, 0.04239726811647415, -0.002238609129562974, -0.023250116035342216, -0.0385160893201828, -0.04661112278699875, 0.003908902406692505, 0.0011343209771439433, 0.03299002721905708, -0.03725932538509369, -0.03591015562415123, 0.0096290223300457, -0.0011285454966127872, -0.008524734526872635, -0.00585873331874609, 0.014933302067220211, -0.028683766722679138, 0.02443295158445835, 0.04657415673136711, 0.05958535149693489, 0.026484431698918343, 0.007291073445230722, 0.02755637653172016, -0.05004873871803284, 0.011966971680521965, 0.030310166999697685, -0.008589420467615128, 0.007900972850620747, 0.01742834597826004, 0.0062098875641822815, -0.05311672016978264, -0.009933972731232643, 0.02239995263516903, -0.0495312474668026, 0.008136616088449955, 0.06394705921411514, 0.0010205423459410667, -0.006085135508328676, -0.005567644722759724, -0.07259654253721237, -0.020182134583592415, 0.0108026172965765, 0.024266615509986877, 0.05123157426714897, 0.010442222468554974, -0.005535301752388477, -0.07326188683509827, 0.03714843466877937, -0.013159047812223434, 0.03694513440132141, -0.01172670815140009, -0.02840653993189335, 0.005581506062299013, 0.006528698839247227, 0.03613193705677986, -0.03598408028483391, -0.009545854292809963, 0.042582087218761444, 0.015293696895241737, 0.014535943046212196, 0.04346921294927597, 0.0036501572467386723, 0.02005276270210743, -0.02445143274962902, -0.027759676799178123, -0.00950889103114605, 0.02781512215733528, 0.02108774334192276, -0.013685779646039009, -0.005955762695521116, -0.03332270309329033, -0.01718808151781559, -0.08346384763717651, 0.06427973508834839, 0.024599287658929825, 0.03130818530917168, 0.07093318551778793, 0.008552457205951214, -0.09381366521120071, 0.02445143274962902, 0.02528311498463154, -0.06280118972063065, -0.03772137314081192, -0.10224136710166931, -0.01457290630787611, 0.005567644722759724, 0.06989820301532745, -0.035244811326265335, -0.012798652984201908, -0.04040123522281647, 0.001072522485628724, -0.008367639034986496, -0.016642868518829346, 0.04834841191768646, -0.06372527778148651, 0.010220440104603767, -0.02580060437321663, 0.03566989302635193, 0.02912733145058155, -0.1382439285516739, -0.028960995376110077, 0.010275885462760925, -0.06834573298692703, -0.030809175223112106, -0.006232989951968193, -0.05067712068557739, 0.040253378450870514, 0.09440507739782333, -0.010257404297590256, 0.00766995083540678, 0.07499918341636658, 0.04601970314979553, 0.01172670815140009, -0.01390756107866764, -0.012364329770207405, -0.026225686073303223, 0.046241484582424164, -0.0005099824047647417, -0.015940560027956963, 0.01746531017124653, -0.0028900927864015102, 0.04520650580525398, -0.033692337572574615, 0.02289896085858345, 0.024359025061130524, 0.015044192783534527, -0.009943213313817978, -0.017104914411902428, -0.05725664272904396, -0.04339528828859329, 0.0448368676006794, -0.04195370525121689, 0.0770321786403656, 0.020976852625608444, -0.0041976808570325375, -0.06346653401851654, -0.017400622367858887, 0.004696689546108246, -0.11000372469425201, 0.007596023380756378, 0.05906786024570465, -0.06549952924251556, -0.013852115720510483, 0.020366953685879707, 0.007845527492463589, -0.02966330386698246, 0.04165799915790558, -0.010996676050126553, 0.02315770648419857, 0.00949964951723814, 0.007522096391767263, -0.011005917564034462, -0.029755711555480957, -0.044615086168050766, 0.00027260667411610484, -0.015607887879014015, -0.04084479808807373, 0.031104885041713715, 0.000046818175178486854, -0.017631646245718002, -0.025042850524187088, -0.008686450310051441, 0.04391277953982353, -0.021790051832795143, -0.0096290223300457, -0.03169630095362663, -0.0011660866439342499, -0.025042850524187088, 0.005535301752388477, -0.032417092472314835, 0.0436909981071949, 0.03273128345608711, 0.03469035401940346, -0.066682368516922, -0.0019891047850251198, -0.037111472338438034, 0.02472865954041481, 0.025966942310333252, -0.004079859238117933, 0.07566452771425247, 0.00884354580193758, 0.029460003599524498, -0.006491735577583313, 0.014720761217176914, 0.04757217690348625, 0.07141371071338654, -0.013963006436824799, 0.003992070909589529, 0.027279149740934372, -0.003798011690378189, 0.1540643572807312, 0.022270578891038895, -0.09240904450416565, -0.01896233670413494, -0.04635237529873848, -0.053079754114151, 0.05747842416167259, -0.027685750275850296, -0.009402620606124401, 0.07363152503967285, 0.03740718215703964, -0.012493702583014965, -0.0200712438672781, -0.018731312826275826, 0.006565662566572428, 0.006718137767165899, -0.003661708440631628, 0.023638233542442322, -0.058217696845531464, -0.017197323963046074, 0.027944495901465416, 0.006658071652054787, -0.022030316293239594, 0.06586916744709015, 0.05004873871803284, -0.03663094341754913, -0.01661514677107334, -0.011865321546792984, 0.030809175223112106, -0.05500186234712601, -0.016975540667772293, -0.00761912576854229, -0.0483853742480278, 0.05725664272904396, 0.024044834077358246, -0.022529324516654015, -0.08442490547895432, -0.015413828194141388, 0.03047650307416916, -0.009328693151473999, 0.03075372986495495, -0.004086790140718222, 0.009277868084609509, -0.00774849858134985, 0.01029436755925417, -0.018685108050704002, -0.06169227883219719, -0.009337933734059334, -0.029108848422765732, -0.044910795986652374, -0.037813782691955566, -0.04605666920542717, -0.03075372986495495, -0.04657415673136711, -0.00657490361481905, 0.026946477591991425, -0.009365656413137913, 0.010904267430305481, -0.03859001770615578, 0.015127360820770264, 0.018250785768032074, -0.020477844402194023, -0.022769588977098465, 0.0027445487212389708, 0.02239995263516903, -0.030531948432326317, 0.05932660773396492, -0.0014958714600652456, -0.030513467267155647, 0.043321359902620316, 0.025394005700945854, -0.0713767483830452, -0.02990356646478176, -0.0048283725045621395, 0.02156827040016651, -0.01680920459330082, 0.0770321786403656, 0.011856080032885075, -0.07710610330104828, 0.04720253869891167, -0.011662021279335022, 0.01223495788872242, 0.04187978059053421, -0.018509531393647194, -0.00533662224188447, 0.028979476541280746, 0.018038244917988777, -0.05651737004518509, 0.0022420743480324745, 0.05755235254764557, -0.002982501871883869, 0.07577541470527649, -0.012364329770207405, 0.008053448051214218, 0.00889437086880207, 0.02605934999883175, 0.06671933084726334, 0.01677224226295948, -0.011264662258327007, 0.02341645210981369, 0.03374778479337692, 0.024562323465943336, -0.008187441155314445, 0.011791394092142582, -0.027667267248034477, 0.03672335296869278, 0.06379920244216919, -0.007512855343520641, 0.03489365428686142, 0.03740718215703964, -0.09913641959428787, -0.016208546236157417, 0.05367117375135422, 0.03522632643580437, 0.05670218914747238, 0.0035254049580544233, 0.048533231019973755, 0.04831144958734512, -0.009102290496230125, 0.006112858187407255, 0.053966883569955826, -0.008700311183929443, 0.01571877859532833 ]
719,956
ibm_platform_services.resource_controller_v2
update_resource_instance
Update a resource instance. Use the resource instance URL-encoded CRN or GUID to make updates to the resource instance, like changing the name or plan. :param str id: The resource instance URL-encoded CRN or GUID. :param str name: (optional) The new name of the instance. Must be 180 characters or less and cannot include any special characters other than `(space) - . _ :`. :param dict parameters: (optional) The new configuration options for the instance. :param str resource_plan_id: (optional) The unique ID of the plan associated with the offering. This value is provided by and stored in the global catalog. :param bool allow_cleanup: (optional) A boolean that dictates if the resource instance should be deleted (cleaned up) during the processing of a region instance delete call. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse with `dict` result representing a `ResourceInstance` object
def update_resource_instance( self, id: str, *, name: str = None, parameters: dict = None, resource_plan_id: str = None, allow_cleanup: bool = None, **kwargs, ) -> DetailedResponse: """ Update a resource instance. Use the resource instance URL-encoded CRN or GUID to make updates to the resource instance, like changing the name or plan. :param str id: The resource instance URL-encoded CRN or GUID. :param str name: (optional) The new name of the instance. Must be 180 characters or less and cannot include any special characters other than `(space) - . _ :`. :param dict parameters: (optional) The new configuration options for the instance. :param str resource_plan_id: (optional) The unique ID of the plan associated with the offering. This value is provided by and stored in the global catalog. :param bool allow_cleanup: (optional) A boolean that dictates if the resource instance should be deleted (cleaned up) during the processing of a region instance delete call. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse with `dict` result representing a `ResourceInstance` object """ if not id: raise ValueError('id must be provided') headers = {} sdk_headers = get_sdk_headers( service_name=self.DEFAULT_SERVICE_NAME, service_version='V2', operation_id='update_resource_instance' ) headers.update(sdk_headers) data = { 'name': name, 'parameters': parameters, 'resource_plan_id': resource_plan_id, 'allow_cleanup': allow_cleanup, } data = {k: v for (k, v) in data.items() if v is not None} data = json.dumps(data) headers['content-type'] = 'application/json' if 'headers' in kwargs: headers.update(kwargs.get('headers')) del kwargs['headers'] headers['Accept'] = 'application/json' path_param_keys = ['id'] path_param_values = self.encode_path_vars(id) path_param_dict = dict(zip(path_param_keys, path_param_values)) url = '/v2/resource_instances/{id}'.format(**path_param_dict) request = self.prepare_request(method='PATCH', url=url, headers=headers, data=data) response = self.send(request, **kwargs) return response
(self, id: str, *, name: Optional[str] = None, parameters: Optional[dict] = None, resource_plan_id: Optional[str] = None, allow_cleanup: Optional[bool] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
[ 0.09043174237012863, -0.06242124363780022, 0.0026024538092315197, -0.03881562128663063, -0.024000929668545723, -0.04453819617629051, 0.030608244240283966, -0.016527699306607246, 0.01520058885216713, 0.021026697009801865, -0.03772381320595741, -0.036255523562431335, 0.049168962985277176, 0.024866845458745956, -0.01924780383706093, -0.0212525874376297, -0.0038754441775381565, -0.02017960511147976, -0.04126277565956116, -0.037064965814352036, 0.04002037271857262, 0.052745573222637177, -0.01615121401846409, 0.03397778794169426, 0.07040272653102875, 0.06953681260347366, 0.07236044853925705, -0.009134471416473389, -0.03986978158354759, 0.011925168335437775, 0.03529548645019531, 0.012179295532405376, 0.019520755857229233, 0.03200123831629753, -0.014984110370278358, -0.016640644520521164, -0.017591269686818123, 0.031078850850462914, -0.09005525708198547, 0.06486839801073074, -0.008748574182391167, 0.01694183237850666, -0.017017129808664322, -0.061555325984954834, 0.01272519864141941, 0.04295695945620537, 0.02411387488245964, 0.0014647626085206866, -0.04374757781624794, -0.007793243043124676, 0.057752825319767, -0.045328814536333084, -0.030965905636548996, 0.03674495220184326, -0.006861442234367132, 0.032867155969142914, -0.022174976766109467, 0.06215770170092583, 0.01565237157046795, -0.05816695839166641, -0.0010912187863141298, -0.0568116120994091, 0.019483108073472977, -0.026222191751003265, -0.025488046929240227, -0.008122667670249939, -0.028217563405632973, 0.031794171780347824, -0.053385596722364426, 0.03646259009838104, 0.04408641532063484, 0.011473385617136955, -0.014654685743153095, -0.02170437015593052, -0.03171887621283531, 0.03546490520238876, -0.028292860835790634, -0.009289771318435669, -0.01237695012241602, -0.013073448091745377, 0.018956027925014496, -0.011633392423391342, 0.013016974553465843, -0.07845950871706009, -0.005374325904995203, -0.032678913325071335, -0.005637865513563156, -0.09126000851392746, -0.07337696105241776, -0.06833206117153168, 0.02215615287423134, -0.02932819537818432, -0.018645428121089935, 0.0019118387717753649, 0.03578491508960724, -0.012480483390390873, -0.00027795194182544947, -0.09841322898864746, 0.03631199523806572, -0.0031507103703916073, -0.02051844261586666, -0.03704614192247391, 0.023342080414295197, -0.008913286961615086, 0.08945287764072418, -0.05387502908706665, -0.024960966780781746, 0.018043052405118942, -0.027897551655769348, -0.03779911249876022, 0.04276871681213379, 0.016923008486628532, -0.10097332298755646, 0.007440288085490465, 0.014184079132974148, -0.016781827434897423, -0.02697516232728958, -0.0003561902849469334, 0.01039099134504795, -0.03808147460222244, -0.03542725369334221, -0.028838764876127243, 0.0021236117463558912, -0.00840973760932684, -0.004498997703194618, -0.023906808346509933, -0.03021293506026268, 0.0266175027936697, -0.036067280918359756, -0.031342390924692154, 0.01456997636705637, -0.029347019270062447, -0.07130629569292068, 0.0499972328543663, -0.005214319564402103, -0.028556400910019875, 0.06821911036968231, 0.03826971724629402, 0.024320943281054497, 0.031078850850462914, 0.0448017343878746, 0.06053881719708443, -0.02814226783812046, 0.020499618723988533, -0.02592100389301777, -0.0609905980527401, -0.016405342146754265, 0.040208615362644196, -0.01380759384483099, 0.009110941551625729, 0.0027201054617762566, -0.043709930032491684, 0.06953681260347366, 0.033921316266059875, 0.01905956119298935, -0.05692455917596817, 0.03343188390135765, -0.04220398887991905, 0.018908968195319176, -0.041375722736120224, 0.0018236000323668122, -0.011351028457283974, 0.016452401876449585, 0.0072661638259887695, -0.03350717946887016, -0.017948931083083153, -0.06468015164136887, 0.003044823883101344, 0.03209536150097847, 0.022457340732216835, -0.012762847356498241, -0.010541585274040699, -0.04709829390048981, 0.006762614939361811, -0.08900109678506851, 0.06946151703596115, 0.03762969374656677, -0.04337109252810478, 0.07883599400520325, 0.023022068664431572, 0.0189936775714159, -0.008725044317543507, 0.02475390024483204, 0.029836449772119522, -0.014042897149920464, 0.01470174640417099, -0.011802810244262218, 0.050336066633462906, -0.020443145185709, -0.042354583740234375, 0.08154668658971786, -0.009355656802654266, 0.007788537070155144, 0.0313047431409359, -0.06279772520065308, -0.027728132903575897, -0.010325105860829353, -0.053460896015167236, 0.05236908793449402, 0.038589730858802795, -0.00679085124284029, -0.00048031273763626814, -0.00020309610408730805, 0.018579542636871338, 0.052745573222637177, 0.035201363265514374, 0.036349643021821976, -0.009454484097659588, -0.02332325652241707, -0.00913917738944292, -0.020499618723988533, 0.012612253427505493, -0.011915755458176136, 0.010372166521847248, 0.014353496953845024, -0.014814691618084908, 0.0014800573699176311, -0.028462279587984085, 0.006927327252924442, -0.028368158265948296, -0.032584793865680695, 0.005811989773064852, -0.022457340732216835, 0.012715786695480347, -0.03691437095403671, 0.013346399180591106, 0.04212868958711624, 0.03691437095403671, -0.02098904922604561, -0.024151524528861046, -0.04453819617629051, 0.01554883737117052, 0.052745573222637177, -0.045215871185064316, -0.02097022347152233, 0.010372166521847248, -0.013101683929562569, -0.016923008486628532, 0.009623901918530464, -0.023643268272280693, 0.03237772360444069, -0.006395542062819004, -0.018880732357501984, -0.02215615287423134, -0.08749515563249588, -0.011812222190201283, -0.03147416189312935, -0.009807438589632511, -0.003426015144214034, -0.10692179203033447, 0.04265576973557472, -0.03986978158354759, 0.011445149779319763, 0.03584139049053192, -0.005035489331930876, -0.024960966780781746, 0.005995526444166899, -0.028085794299840927, 0.05014782398939133, 0.021309060975909233, -0.030231758952140808, -0.005049607250839472, -0.057150449603796005, 0.03324364125728607, -0.022626759484410286, -0.012838144786655903, -0.04434995353221893, 0.018626604229211807, 0.06430366635322571, -0.0013082859804853797, 0.08395619690418243, 0.008240318857133389, -0.038326192647218704, 0.03934270143508911, 0.009816850535571575, 0.002870699390769005, -0.021045520901679993, -0.04389817267656326, 0.0044354661367833614, -0.061329435557127, -0.01569943130016327, -0.02769048511981964, 0.07684062421321869, -0.016198275610804558, 0.057338692247867584, -0.05952230468392372, -0.019878417253494263, 0.10699708759784698, -0.05372443422675133, 0.03281068429350853, 0.02115846611559391, 0.004764890298247337, -0.04148866608738899, -0.013798181898891926, -0.015718257054686546, 0.05827990546822548, -0.08779634535312653, -0.03275420889258385, 0.0027318706270307302, -0.02876346744596958, -0.022739704698324203, -0.004084864165633917, 0.01706419140100479, -0.006527311634272337, -0.01815599761903286, -0.0028777585830539465, 0.040283914655447006, 0.021666722372174263, 0.026372786611318588, 0.047663021832704544, 0.013864066451787949, -0.017017129808664322, -0.0431828498840332, -0.06404013186693192, 0.036537885665893555, -0.03207653760910034, 0.04160161316394806, 0.005190789233893156, 0.01789245754480362, -0.014965285547077656, -0.025883356109261513, 0.03542725369334221, -0.010936894454061985, 0.003891915548592806, 0.02008548378944397, -0.02249498851597309, 0.008357970975339413, 0.03757322207093239, 0.04973369091749191, 0.006536724045872688, -0.03467428311705589, -0.005256674252450466, 0.02735164761543274, -0.007049684878438711, -0.0036777895875275135, -0.028744643554091454, 0.03183182328939438, -0.0009876852855086327, 0.0034377803094685078, 0.05880698561668396, 0.07134394347667694, 0.05206789821386337, -0.014946461655199528, -0.012678137980401516, -0.06309891492128372, 0.038420312106609344, 0.0009970974642783403, -0.03738497942686081, 0.02206203155219555, -0.014729982241988182, -0.06441661715507507, -0.0068708546459674835, -0.0061037661507725716, 0.037422627210617065, 0.012536955997347832, -0.03646259009838104, -0.019200744107365608, -0.023605620488524437, -0.02311618998646736, -0.047550078481435776, -0.050260771065950394, -0.011153372935950756, -0.05632218345999718, -0.02321031130850315, 0.0009112117695622146, -0.026052774861454964, -0.026485731825232506, -0.027991672977805138, -0.02080080658197403, -0.027464592829346657, -0.05590805038809776, 0.0031012967228889465, 0.0008576802792958915, -0.010588645935058594, 0.06889678537845612, -0.0037177910562604666, -0.052933815866708755, 0.033130694180727005, -0.020047836005687714, 0.0016883007483556867, -0.004230752121657133, -0.026843393221497536, -0.014824103564023972, -0.04739948362112045, 0.001296520815230906, -0.013656999915838242, -0.01722419634461403, -0.017384203150868416, 0.035201363265514374, -0.00755323376506567, -0.011812222190201283, -0.0074591124430298805, 0.0038260305300354958, 0.011623979546129704, 0.025751587003469467, 0.03802500292658806, -0.03092825785279274, 0.015257061459124088, 0.012687550857663155, -0.027916375547647476, -0.023455025628209114, 0.05334794893860817, 0.0561339408159256, 0.03732850402593613, 0.03631199523806572, -0.025563344359397888, 0.07684062421321869, -0.0052190255373716354, -0.00016044739459175617, 0.008927404880523682, 0.015040582977235317, -0.02492331899702549, -0.03826971724629402, -0.037704989314079285, -0.0064096599817276, 0.037704989314079285, 0.00962860882282257, 0.05986114218831062, 0.0029295252170413733, 0.002395387040451169, 0.057865772396326065, 0.047211240977048874, 0.04084864258766174, -0.024057403206825256, -0.02366209402680397, -0.02053726650774479, 0.016640644520521164, -0.030156463384628296, 0.06355069577693939, -0.027897551655769348, -0.028537577018141747, 0.027276350185275078, 0.001034157699905336, 0.0415639653801918, 0.0031154148746281862, -0.026561029255390167, 0.06844500452280045, 0.013562878593802452, 0.013525229878723621, 0.03896621614694595, 0.024132700636982918, -0.061442382633686066, -0.007054390851408243, 0.0012235768372192979, -0.03945564478635788, -0.003910739906132221, 0.005124904680997133, -0.0368390753865242, 0.03505076840519905, -0.00449193874374032, 0.09201297909021378, -0.023417377844452858, 0.009798026643693447, -0.014287612400949001, -0.02063138782978058, -0.04536646232008934, 0.012160471640527248, -0.010503936558961868, -0.010955718345940113, -0.01825011894106865, 0.002065962413325906, 0.015153528191149235, -0.01330875139683485, 0.02787872776389122, -0.02356797270476818, 0.011953404173254967, 0.04419935867190361, 0.0033766014967113733, 0.032396551221609116, -0.019614877179265022, 0.030721191316843033, -0.020499618723988533, 0.020386671647429466, 0.03476840630173683, 0.029892923310399055, 0.04593119025230408, -0.000875328027177602, 0.005515507888048887, -0.04258047416806221, 0.014118194580078125, 0.04246752709150314, 0.026316313073039055, 0.04276871681213379, 0.006861442234367132, -0.015595898032188416, -0.08448327332735062, 0.026410434395074844, 0.011454561725258827, -0.025713937357068062, 0.002870699390769005, 0.04348403960466385, -0.01925721764564514, -0.010918070562183857, 0.013647587969899178, -0.09005525708198547, -0.04807715862989426, 0.014541739597916603, 0.012141646817326546, 0.04077334329485893, -0.008310910314321518, 0.012424010783433914, -0.09080822765827179, 0.030250584706664085, -0.01789245754480362, 0.028123442083597183, 0.011925168335437775, -0.03333776071667671, 0.037422627210617065, 0.06543312221765518, 0.07028978317975998, -0.014325261116027832, -0.032848332077264786, 0.05925876647233963, 0.005539038218557835, 0.02885758876800537, 0.058844633400440216, -0.020932575687766075, 0.05037371814250946, -0.003195418044924736, -0.020838454365730286, -0.015322946943342686, 0.0072661638259887695, 0.058844633400440216, 0.01304521132260561, -0.002242439892143011, -0.016734765842556953, -0.03885326907038689, -0.08237496018409729, 0.046119432896375656, 0.03382719308137894, -0.015605310909450054, -0.022457340732216835, -0.04581824690103531, -0.06648728251457214, -0.016170037910342216, 0.02897053398191929, -0.05684925988316536, -0.011991052888333797, -0.05278322100639343, -0.010767475701868534, 0.017412438988685608, 0.039417997002601624, -0.028179915621876717, -0.022438516840338707, -0.03757322207093239, -0.0736781507730484, 0.016330044716596603, 0.01232047751545906, 0.002484802156686783, -0.04950780048966408, 0.05730104446411133, -0.040923938155174255, 0.03851443529129028, 0.034824877977371216, -0.06825676560401917, 0.0548538900911808, 0.034900177270174026, -0.01910662278532982, 0.003498959122225642, -0.0017188901547342539, -0.039229754358530045, 0.002482449170202017, 0.11716219037771225, -0.034919001162052155, -0.003430721117183566, 0.04525351896882057, 0.0384579598903656, 0.027897551655769348, -0.03934270143508911, 0.018664252012968063, -0.005364913959056139, 0.03714026138186455, 0.01782657392323017, -0.04005802422761917, -0.018570130690932274, 0.0018741902895271778, 0.03538960590958595, 0.050712551921606064, 0.041752204298973083, -0.013148744590580463, 0.004496644716709852, -0.015934735536575317, 0.00914859026670456, -0.06991329789161682, -0.04713594540953636, 0.057790473103523254, -0.032678913325071335, 0.03986978158354759, 0.02330443263053894, 0.04947015270590782, -0.013336987234652042, 0.03324364125728607, 0.02287147380411625, -0.044688791036605835, 0.014805279672145844, 0.04984663799405098, 0.018946615979075432, -0.029892923310399055, 0.02652338147163391, 0.017995990812778473, -0.0034495454747229815, 0.004708417691290379, 0.02580805867910385, -0.02366209402680397, 0.02473507635295391, 0.021553777158260345, -0.034297797828912735, -0.042618121951818466, -0.05707515403628349, -0.020650211721658707, 0.0046448856592178345, -0.06035057455301285, 0.002085963264107704, -0.03346953168511391, 0.0035907274577766657, 0.008870932273566723, -0.029629383236169815, -0.00041060414514504373, 0.007341460790485144, -0.04069804772734642, -0.040396858006715775, 0.03665083274245262, 0.02204320766031742, -0.0009776849765330553, -0.051503174006938934, 0.06336245685815811, -0.008889756165444851, -0.017054777592420578, -0.05790342018008232, 0.006334363017231226, 0.006729672662913799, 0.040999237447977066, -0.009162708185613155, 0.012744023464620113, 0.0032636558171361685, -0.002743635792285204, 0.0070779211819171906, 0.02501744031906128, -0.006277890410274267, 0.0448017343878746, 0.054289162158966064, 0.006536724045872688, -0.01008980255573988, 0.05165376514196396, -0.011143960990011692, 0.08508565276861191, -0.013459345325827599, -0.08704337477684021, -0.054552700370550156, -0.012969913892447948, -0.032773036509752274, 0.03704614192247391, -0.023549146950244904, -0.031041203066706657, 0.03154945746064186, -0.012612253427505493, -0.011896931566298008, -0.002293030032888055, -0.009732142090797424, 0.03862737864255905, 0.024979790672659874, -0.0011306320084258914, -0.006786145269870758, -0.03655670955777168, -0.0028071675915271044, 0.03808147460222244, -0.013788769952952862, -0.01834424026310444, 0.0044519370421767235, 0.05349854379892349, -0.0058496384881436825, -0.01384524255990982, 0.007393227890133858, 0.06238359212875366, -0.0499972328543663, -0.003510724287480116, -0.05063725635409355, -0.05172906443476677, -0.011906343512237072, 0.035201363265514374, 0.043333444744348526, -0.049357205629348755, 0.003618963761255145, 0.02001018635928631, -0.040283914655447006, 0.00420486880466342, -0.0031083556823432446, -0.0007835597498342395, 0.009816850535571575, -0.005228437948971987, -0.035276662558317184, -0.048265401273965836, -0.03435427322983742, -0.009581548161804676, -0.0060519990511238575, -0.037064965814352036, -0.034900177270174026, -0.034542515873909, -0.011143960990011692, 0.017553621903061867, -0.022457340732216835, 0.000915329612325877, 0.024979790672659874, -0.006169650703668594, -0.006136708427220583, 0.03687672317028046, -0.03687672317028046, -0.043258145451545715, 0.042091041803359985, -0.00497901625931263, 0.029535261914134026, 0.08922698348760605, 0.03354483097791672, -0.034109555184841156, 0.034730758517980576, 0.0691603273153305, -0.026241017505526543, -0.0831279307603836, -0.002138906391337514, 0.02947879023849964, -0.019426634535193443, 0.012442834675312042, -0.00802854634821415, -0.0477006733417511, -0.02106434479355812, 0.022476164624094963, -0.03570961952209473, 0.04924426227807999, 0.03237772360444069, 0.016245335340499878, 0.010193335823714733, 0.05029841884970665, -0.10767476260662079, -0.05677396431565285, 0.04536646232008934, -0.01924780383706093, 0.06731554865837097, -0.02599630132317543, 0.03597315773367882, 0.03266008943319321, 0.023247959092259407, 0.06821911036968231, 0.025168033316731453, -0.013995836488902569, 0.036726128309965134, 0.059032876044511795, 0.048378344625234604, 0.027746956795454025, 0.034297797828912735, -0.012424010783433914, 0.012075762264430523, -0.009600372053682804, 0.030156463384628296, 0.09909089654684067, 0.07883599400520325, -0.05251968279480934, -0.017478324472904205, 0.07123099267482758, 0.028744643554091454, 0.025262154638767242, 0.026033949106931686, -0.0012212238507345319, 0.038401488214731216, 0.01340287271887064, -0.018946615979075432, 0.022024383768439293, -0.004666063003242016, 0.012367538176476955 ]
719,957
ibm_platform_services.resource_controller_v2
update_resource_key
Update a resource key. Use the resource key URL-encoded CRN or GUID to update the resource key. :param str id: The resource key URL-encoded CRN or GUID. :param str name: The new name of the key. Must be 180 characters or less and cannot include any special characters other than `(space) - . _ :`. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse with `dict` result representing a `ResourceKey` object
def update_resource_key(self, id: str, name: str, **kwargs) -> DetailedResponse: """ Update a resource key. Use the resource key URL-encoded CRN or GUID to update the resource key. :param str id: The resource key URL-encoded CRN or GUID. :param str name: The new name of the key. Must be 180 characters or less and cannot include any special characters other than `(space) - . _ :`. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse with `dict` result representing a `ResourceKey` object """ if not id: raise ValueError('id must be provided') if name is None: raise ValueError('name must be provided') headers = {} sdk_headers = get_sdk_headers( service_name=self.DEFAULT_SERVICE_NAME, service_version='V2', operation_id='update_resource_key' ) headers.update(sdk_headers) data = {'name': name} data = {k: v for (k, v) in data.items() if v is not None} data = json.dumps(data) headers['content-type'] = 'application/json' if 'headers' in kwargs: headers.update(kwargs.get('headers')) del kwargs['headers'] headers['Accept'] = 'application/json' path_param_keys = ['id'] path_param_values = self.encode_path_vars(id) path_param_dict = dict(zip(path_param_keys, path_param_values)) url = '/v2/resource_keys/{id}'.format(**path_param_dict) request = self.prepare_request(method='PATCH', url=url, headers=headers, data=data) response = self.send(request, **kwargs) return response
(self, id: str, name: str, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
[ -0.002604294801130891, -0.05786490812897682, -0.08371148258447647, 0.0040046293288469315, 0.01088473666459322, -0.039611466228961945, -0.021788176149129868, 0.0047386945225298405, 0.062428269535303116, -0.03377635031938553, -0.014344662427902222, -0.03171909600496292, 0.07840003073215485, 0.010417179204523563, -0.01585954800248146, 0.0035534363705664873, 0.05629391595721245, -0.0026767663657665253, -0.02249886281788349, -0.060520634055137634, 0.05360078439116478, 0.051393911242485046, 0.045072536915540695, -0.011595424264669418, 0.03299085423350334, 0.07290155440568924, 0.08056949824094772, 0.006891796365380287, 0.03205573931336403, -0.016261648386716843, -0.02261107787489891, 0.007303247228264809, 0.03162558376789093, 0.06328857690095901, -0.031681690365076065, -0.04447406157851219, -0.007392082829028368, 0.028146957978606224, -0.0982244685292244, 0.021937794983386993, -0.023340467363595963, 0.05835116654634476, 0.000485383061459288, -0.08318781852722168, 0.06153055652976036, 0.03770383074879646, -0.006115651223808527, 0.03003588877618313, 0.0014564413577318192, 0.0026346861850470304, 0.05595727264881134, -0.03615153953433037, -0.028857644647359848, -0.01876775547862053, -0.01201622560620308, 0.02496756613254547, -0.02947482094168663, 0.01462519634515047, -0.016888175159692764, -0.03920001536607742, -0.00010198596282862127, -0.029025964438915253, -0.03635726496577263, 0.007953152060508728, -0.053226739168167114, -0.04204276576638222, -0.02541642263531685, 0.004163599107414484, -0.023209551349282265, 0.02133932150900364, -0.00300405640155077, -0.005185212008655071, -0.04193054884672165, -0.01383034884929657, -0.017832640558481216, 0.02906337007880211, -0.04787788167595863, -0.01002443116158247, -0.007784831337630749, -0.027473675087094307, 0.024687033146619797, -0.06246567144989967, 0.023938940837979317, -0.047653455287218094, -0.006251242943108082, 0.01291393581777811, 0.009584927000105381, -0.048177119344472885, -0.009313744492828846, -0.05146872252225876, 0.009150099009275436, 0.008186930790543556, -0.06500918418169022, 0.009103342890739441, 0.06362521648406982, -0.030914897099137306, -0.005727578420192003, -0.07825040817260742, 0.031064515933394432, 0.012175195850431919, 0.033608026802539825, -0.03631986305117607, 0.03828360140323639, 0.027249246835708618, 0.0838610976934433, -0.04462368041276932, -0.004900001920759678, 0.022349245846271515, -0.003752148477360606, -0.0232656579464674, 0.008271090686321259, -0.03686222806572914, -0.022592375054955482, 0.005694849416613579, -0.02143283188343048, 0.020647335797548294, 0.024462604895234108, -0.01564447209239006, 0.04941146820783615, -0.03175650164484978, 0.014887028373777866, -0.04107024520635605, 0.011745043098926544, 0.0013933212030678988, 0.000270014425041154, -0.015148860402405262, -0.01939428225159645, 0.0715549886226654, 0.006068895570933819, -0.027679400518536568, -0.028857644647359848, -0.004448809195309877, -0.025977490469813347, 0.07372445613145828, 0.04727940633893013, -0.018057068809866905, 0.027511078864336014, 0.04499772563576698, 0.01993664912879467, 0.060296207666397095, 0.035216424614191055, 0.038096580654382706, -0.015681875869631767, 0.04140688478946686, -0.013577868230640888, -0.0675152912735939, -0.005643418058753014, -0.0079344492405653, -0.04552139341831207, 0.0010257040848955512, -0.009603629820048809, -0.004998188931494951, 0.026239322498440742, 0.013736837543547153, 0.03772253543138504, -0.020291993394494057, 0.021283214911818504, -0.06257788836956024, -0.0019275054801255465, -0.034767571836709976, 0.010174049995839596, 0.013334738090634346, 0.04178093373775482, -0.038302306085824966, 0.0024640276096761227, -0.031008409336209297, -0.07477178424596786, -0.013596570119261742, 0.014737410470843315, 0.03256069868803024, -0.024350391700863838, 0.016878822818398476, -0.03229886665940285, -0.01735573261976242, -0.016373861581087112, 0.012502485886216164, 0.0245561171323061, -0.06470994651317596, -0.0021343997213989496, -0.0002124464081134647, 0.05438628047704697, -0.01136164553463459, 0.028259171172976494, 0.02399504743516445, 0.010679012164473534, 0.041107650846242905, -0.006129677873104811, 0.05550841987133026, 0.005002864636480808, -0.016906876116991043, 0.003537071868777275, -0.0186648927628994, 0.0008842679671943188, 0.03076527826488018, -0.04585803300142288, -0.022349245846271515, 0.02390153519809246, -0.08191606402397156, 0.04698017239570618, 0.019001534208655357, -0.02530420757830143, 0.03143856301903725, -0.00015838508261367679, 0.07847484201192856, 0.05894964188337326, -0.02882024087011814, 0.08363667130470276, -0.015289127826690674, -0.02659466676414013, 0.0033266711980104446, 0.01898283138871193, 0.013998669572174549, -0.011127866804599762, -0.01844046451151371, 0.009949621744453907, 0.011034355498850346, -0.0006013957317918539, -0.006190460175275803, 0.006466319318860769, -0.02839008718729019, 0.017000388354063034, 0.027080927044153214, 0.05606948584318161, -0.039499253034591675, -0.0019041276536881924, 0.0032331596594303846, 0.03280382975935936, 0.019656114280223846, -0.06010918319225311, -0.005736929830163717, 0.012483783066272736, 0.006536453031003475, 0.006915174424648285, -0.03719886764883995, -0.06007177755236626, -0.04522215574979782, -0.013633974827826023, -0.044212229549884796, 0.0066954223439097404, -0.007078819442540407, 0.027959933504462242, 0.04245421662926674, 0.01961871050298214, 0.0066346400417387486, -0.08049468696117401, -0.014129585586488247, -0.0099122179672122, 0.004355297423899174, 0.004352959804236889, -0.05726643279194832, 0.037572916597127914, -0.06598170846700668, -0.012680157087743282, 0.03731108456850052, 0.032635509967803955, -0.03968627378344536, -0.01317576877772808, -0.050234369933605194, 0.029568331316113472, 0.008822808973491192, -0.05232902616262436, 0.023116039112210274, -0.07308857887983322, 0.03815268725156784, -0.011099813506007195, -0.024256879463791847, 0.007275193464010954, 0.05371299758553505, 0.028352683410048485, -0.0052366433665156364, 0.08625499159097672, 0.0336267314851284, -0.03239237889647484, -0.005087024997919798, 0.02133932150900364, 0.04451146721839905, 0.025117184966802597, -0.001607228652574122, -0.005849143490195274, -0.058687809854745865, 0.011866607703268528, -0.04020993784070015, 0.046157270669937134, 0.03652558475732803, 0.04525955766439438, -0.05722903087735176, -0.014662601053714752, 0.03256069868803024, -0.026295429095625877, 0.00453296909108758, 0.03845192492008209, 0.029605736956000328, -0.040022917091846466, 0.01885191537439823, -0.026819095015525818, 0.03108321875333786, -0.08004583418369293, -0.038638945668935776, 0.05625651031732559, 0.019010884687304497, -0.017243517562747, 0.06994659453630447, 0.04630688950419426, -0.06504659354686737, -0.005937979556620121, -0.03192482143640518, 0.04664352908730507, -0.004558684770017862, -0.06650537252426147, 0.06044582650065422, -0.02979275956749916, 0.021937794983386993, -0.045596200972795486, -0.05539620295166969, 0.007083495147526264, -0.03654428943991661, 0.06422369182109833, 0.031345050781965256, 0.004918704275041819, 0.05154353007674217, -0.024256879463791847, -0.017823290079832077, -0.031176729127764702, -0.01566317304968834, 0.046793147921562195, -0.051954980939626694, 0.06613132357597351, -0.010174049995839596, 0.06998399645090103, 0.0017229490913450718, -0.012231302447617054, -0.03622635081410408, 0.005035593640059233, -0.03652558475732803, -0.04877559095621109, -0.03957406058907509, 0.03656299039721489, -0.03473016619682312, 0.012773669324815273, 0.05457330495119095, 0.015074051916599274, -0.03153207153081894, 0.006251242943108082, -0.007335976231843233, -0.07162979990243912, 0.004577387124300003, 0.05128169804811478, -0.011025004088878632, 0.043164901435375214, -0.017196761444211006, -0.001436570193618536, -0.044960323721170425, 0.048700783401727676, 0.0396488718688488, 0.0816168263554573, -0.03214924782514572, -0.020927870646119118, -0.01307290606200695, -0.027267949655652046, -0.013792944140732288, -0.018917374312877655, 0.004147234372794628, -0.04245421662926674, -0.020609932020306587, -0.04245421662926674, -0.034879785031080246, -0.02122710831463337, 0.00238454295322299, 0.012680157087743282, -0.05588246509432793, -0.05094505846500397, 0.0012355204671621323, -0.02756718546152115, 0.025865277275443077, 0.03676871582865715, 0.012399623170495033, -0.04058398678898811, 0.013129012659192085, -0.030372530221939087, 0.009182827547192574, 0.02079695463180542, -0.016701150685548782, -0.004264123737812042, -0.00027352108736522496, 0.0124276764690876, 0.013306684792041779, 0.01479351706802845, -0.05404964089393616, 0.044100016355514526, 0.007284544873982668, 0.03901299089193344, -0.017626915127038956, 0.04574581980705261, 0.026239322498440742, -0.022779397666454315, 0.005507826339453459, -0.010155347175896168, -0.023621002212166786, -0.009089316241443157, -0.038751158863306046, 0.012446379289031029, 0.05131910368800163, 0.03557176887989044, 0.02176947332918644, 0.05262826383113861, 0.010286263190209866, 0.04084581881761551, -0.034374821931123734, -0.03785344958305359, 0.009388552978634834, -0.0012086359784007072, -0.011193324811756611, -0.03241107985377312, -0.012408974580466747, 0.02016107738018036, 0.044436659663915634, -0.027193140238523483, 0.03624505177140236, -0.018085122108459473, 0.08303820341825485, 0.02272329106926918, 0.003471613861620426, -0.021582450717687607, 0.00782223604619503, -0.014428822323679924, -0.006428914610296488, 0.004093465395271778, -0.01715000718832016, 0.009874813258647919, 0.005811738781630993, -0.00803731195628643, 0.008752674795687199, -0.00042109392234124243, 0.009215557016432285, -0.03160688281059265, 0.0026580640114843845, 0.0479900948703289, 0.02756718546152115, 0.005283399019390345, 0.020422909408807755, -0.01684141904115677, -0.04140688478946686, -0.011268134228885174, -0.012184546329081059, -0.0597725436091423, -0.0054189907386898994, -0.00889294221997261, 0.013942562974989414, 0.019992755725979805, -0.0030718522612005472, 0.0907435491681099, 0.04821452125906944, 0.004659209866076708, -0.04611986503005028, -0.01115592010319233, -0.060745060443878174, 0.028595812618732452, 0.018805159255862236, -0.030204210430383682, -0.07103132456541061, -0.002461689990013838, 0.027604591101408005, 0.0012285071425139904, 0.04492291808128357, 0.006891796365380287, -0.013877104967832565, 0.018356304615736008, 0.04290306940674782, 0.021713366732001305, -0.03336489945650101, -0.014597143046557903, -0.022480161860585213, 0.011548668146133423, 0.06489697098731995, 0.013624623417854309, 0.019674817100167274, 0.015298479236662388, 0.03256069868803024, -0.06953514367341995, 0.011698286980390549, 0.02433168888092041, -0.03278512880206108, 0.02861451543867588, -0.015242372639477253, 0.04413742199540138, -0.06313895434141159, 0.0026931308675557375, 0.010576149448752403, -0.05995956435799599, 0.005297425668686628, 0.033495813608169556, -0.007008685730397701, -0.020759550854563713, 0.019450388848781586, -0.0557328462600708, -0.05924887955188751, -0.001389814424328506, -0.003160688327625394, 0.00003784292857744731, 0.005208589602261782, 0.018085122108459473, -0.07312598079442978, 0.057191625237464905, 0.0020759550388902426, 0.02304122969508171, 0.0116328289732337, -0.01993664912879467, -0.012605348601937294, 0.02562214806675911, 0.0050636469386518, -0.03207444027066231, -0.03282253071665764, 0.05307712033390999, -0.030148103833198547, 0.03901299089193344, 0.02507978118956089, -0.0508328452706337, 0.042603831738233566, -0.0063354033045470715, -0.0022162222303450108, -0.008668514899909496, 0.03626375272870064, 0.04058398678898811, 0.027529781684279442, 0.01029561460018158, -0.003969562705606222, -0.0488504022359848, -0.08326262980699539, 0.048513758927583694, 0.029212988913059235, -0.059548113495111465, 0.03450573980808258, -0.0068871211260557175, -0.03920001536607742, 0.0043038660660386086, 0.018141228705644608, -0.0769786536693573, -0.003289266489446163, -0.0591740682721138, -0.027679400518536568, 0.04492291808128357, 0.08116797357797623, -0.032111845910549164, -0.05360078439116478, -0.05360078439116478, 0.0041916524060070515, 0.017944853752851486, 0.008425384759902954, 0.01863683946430683, -0.06848781555891037, -0.009252961724996567, -0.022667184472084045, 0.01767367124557495, 0.014784165658056736, -0.08430995792150497, -0.02047901600599289, 0.03762902319431305, -0.06848781555891037, -0.02904466725885868, 0.022386649623513222, -0.044773299247026443, 0.032841235399246216, 0.07331300526857376, -0.017654968425631523, 0.0019204921554774046, 0.05217941105365753, 0.02582787163555622, 0.038115281611680984, 0.007275193464010954, 0.017112601548433304, -0.024144666269421577, 0.020628632977604866, 0.022255733609199524, -0.02756718546152115, -0.05318933352828026, 0.002136737573891878, 0.04810230806469917, 0.0014903392875567079, 0.014550386928021908, 0.0075510526075959206, 0.006503724027425051, -0.004095803014934063, 0.05872521176934242, -0.048812996596097946, -0.017280923202633858, 0.0525534562766552, 0.0284274909645319, 0.033925965428352356, 0.028857644647359848, 0.026744285598397255, -0.08094353973865509, -0.00581641448661685, -0.005245994310826063, -0.06732826679944992, 0.015448097139596939, 0.02068474143743515, 0.03624505177140236, -0.030166804790496826, 0.005666796118021011, 0.011333592236042023, 0.0010023262584581971, -0.0018702297238633037, 0.004923379980027676, 0.041444290429353714, 0.001068368786945939, -0.012502485886216164, -0.02926909551024437, 0.0014295568689703941, -0.03934963420033455, -0.014026722870767117, -0.00841135811060667, -0.07301376760005951, 0.028034742921590805, 0.02594008669257164, 0.014550386928021908, 0.016897525638341904, -0.028745431452989578, 0.0016013842541724443, -0.00031355570536106825, -0.03719886764883995, -0.032766424119472504, 0.0057229031808674335, -0.023022528737783432, 0.009131396189332008, -0.07690384984016418, 0.028053445741534233, 0.02208741381764412, -0.0033149821683764458, -0.0698343813419342, -0.016850769519805908, -0.026538560166954994, 0.060520634055137634, 0.009454010985791683, -0.0034108315594494343, 0.07084430009126663, 0.01930077001452446, 0.013979966752231121, 0.016317754983901978, 0.015204967930912971, 0.04641910269856453, 0.041855741292238235, 0.025229398161172867, -0.027398865669965744, 0.04900001734495163, -0.06583208590745926, 0.13854661583900452, -0.0008714101859368384, -0.0977008044719696, -0.025472529232501984, -0.048812996596097946, -0.06530842185020447, 0.05068322643637657, -0.0043739997781813145, -0.018141228705644608, 0.03592711314558983, -0.0020163413137197495, -0.0018959454027935863, -0.031793903559446335, -0.04993513226509094, -0.0186648927628994, 0.04439925402402878, -0.020217183977365494, 0.013989318162202835, -0.04929925501346588, -0.021713366732001305, -0.04312749579548836, 0.0020280303433537483, -0.029867568984627724, 0.04312749579548836, 0.013652676716446877, 0.009154774248600006, -0.04092062637209892, 0.0008246544166468084, 0.031457263976335526, -0.023321764543652534, -0.009009831584990025, 0.002756251022219658, -0.051954980939626694, 0.02925039269030094, 0.02175077237188816, 0.02036680094897747, -0.030185507610440254, -0.009510118514299393, 0.023957643657922745, -0.01596241071820259, 0.008705919608473778, 0.032747723162174225, 0.0215450469404459, -0.05221681296825409, -0.053451165556907654, 0.03229886665940285, -0.06246567144989967, -0.017552105709910393, -0.029605736956000328, -0.05951071158051491, -0.037254977971315384, -0.030484745278954506, 0.022798100486397743, -0.03916260972619057, 0.006433590315282345, -0.016486074775457382, -0.005811738781630993, 0.031176729127764702, -0.026950011029839516, -0.011988172307610512, 0.02478054352104664, -0.01430725771933794, -0.02659466676414013, 0.00037609151331707835, -0.005152483005076647, 0.03385115787386894, 0.07013361155986786, 0.02390153519809246, -0.09508247673511505, 0.03867635130882263, 0.037984367460012436, -0.05689238756895065, -0.06901147961616516, 0.023508787155151367, 0.036301158368587494, 0.000035906949051423, 0.03856413811445236, -0.02519199438393116, -0.04555879533290863, -0.013418897986412048, -0.02057252638041973, 0.019693519920110703, 0.03953665494918823, -0.0036750014405697584, 0.0075463769026100636, 0.01801031269133091, 0.0044277687557041645, -0.06598170846700668, -0.044212229549884796, 0.07675422728061676, -0.04372597113251686, 0.012708211317658424, -0.05936109274625778, 0.05113207921385765, 0.062016818672418594, -0.009252961724996567, 0.08109316229820251, 0.005241318605840206, -0.005933303851634264, 0.006606586743146181, 0.02292901650071144, 0.06874964386224747, 0.03003588877618313, 0.025566039606928825, -0.011492561548948288, 0.0321679525077343, 0.048738185316324234, -0.006718800403177738, 0.01745859533548355, 0.04784047603607178, -0.07076949626207352, -0.029212988913059235, 0.08977102488279343, 0.06362521648406982, 0.07690384984016418, 0.01906699128448963, -0.010632256045937538, 0.017206113785505295, -0.008944373577833176, -0.020516419783234596, 0.05094505846500397, 0.013035501353442669, 0.0202545877546072 ]
719,958
ibm_platform_services.resource_manager_v2
ResourceManagerV2
The Resource Manager V2 service.
class ResourceManagerV2(BaseService): """The Resource Manager V2 service.""" DEFAULT_SERVICE_URL = 'https://resource-controller.cloud.ibm.com' DEFAULT_SERVICE_NAME = 'resource_manager' @classmethod def new_instance( cls, service_name: str = DEFAULT_SERVICE_NAME, ) -> 'ResourceManagerV2': """ Return a new client for the Resource Manager service using the specified parameters and external configuration. """ authenticator = get_authenticator_from_environment(service_name) service = cls(authenticator) service.configure_service(service_name) return service def __init__( self, authenticator: Authenticator = None, ) -> None: """ Construct a new client for the Resource Manager service. :param Authenticator authenticator: The authenticator specifies the authentication mechanism. Get up to date information from https://github.com/IBM/python-sdk-core/blob/main/README.md about initializing the authenticator of your choice. """ BaseService.__init__(self, service_url=self.DEFAULT_SERVICE_URL, authenticator=authenticator) ######################### # Resource Group ######################### def list_resource_groups( self, *, account_id: str = None, date: str = None, name: str = None, default: bool = None, include_deleted: bool = None, **kwargs ) -> DetailedResponse: """ Get a list of all resource groups. Call this method to retrieve information about all resource groups and associated quotas in an account. The `id` returned in the response can be used to [create a resource instance later](https://cloud.ibm.com/apidocs/resource-controller/resource-controller?code=java#create-resource-instance). The response can be filtered based on queryParams such as `account_id`, `name`, `default`, and more to narrow your search.Users need to be assigned IAM policies with the Viewer role or higher on the targeted resource groups. :param str account_id: (optional) The ID of the account that contains the resource groups that you want to get. :param str date: (optional) The date in the format of YYYY-MM which returns resource groups. Deleted resource groups will be excluded before this month. :param str name: (optional) The name of the resource group. :param bool default: (optional) Boolean value to specify whether or not to list default resource groups. :param bool include_deleted: (optional) Boolean value to specify whether or not to list default resource groups. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse with `dict` result representing a `ResourceGroupList` object """ headers = {} sdk_headers = get_sdk_headers( service_name=self.DEFAULT_SERVICE_NAME, service_version='V2', operation_id='list_resource_groups' ) headers.update(sdk_headers) params = { 'account_id': account_id, 'date': date, 'name': name, 'default': default, 'include_deleted': include_deleted, } if 'headers' in kwargs: headers.update(kwargs.get('headers')) headers['Accept'] = 'application/json' url = '/v2/resource_groups' request = self.prepare_request(method='GET', url=url, headers=headers, params=params) response = self.send(request, **kwargs) return response def create_resource_group(self, *, name: str = None, account_id: str = None, **kwargs) -> DetailedResponse: """ Create a resource group. Create a resource group in an account to organize your account resources in customizable groupings so that you can quickly assign users access to more than one resource at a time. To learn what makes a good resource group strategy, see [Best practices for organizing resources](https://cloud.ibm.com/docs/account?topic=account-account_setup). A default resource group is created when an account is created. If you have a Lite account or 30-day trial, you cannot create extra resource groups, but you can rename your default resource group. If you have a Pay-As-You-Go or Subscription account, you can create multiple resource groups. You must be assigned an IAM policy with the Administrator role on All Account Management services to create extra resource groups. :param str name: (optional) The new name of the resource group. :param str account_id: (optional) The account id of the resource group. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse with `dict` result representing a `ResCreateResourceGroup` object """ headers = {} sdk_headers = get_sdk_headers( service_name=self.DEFAULT_SERVICE_NAME, service_version='V2', operation_id='create_resource_group' ) headers.update(sdk_headers) data = {'name': name, 'account_id': account_id} data = {k: v for (k, v) in data.items() if v is not None} data = json.dumps(data) headers['content-type'] = 'application/json' if 'headers' in kwargs: headers.update(kwargs.get('headers')) headers['Accept'] = 'application/json' url = '/v2/resource_groups' request = self.prepare_request(method='POST', url=url, headers=headers, data=data) response = self.send(request, **kwargs) return response def get_resource_group(self, id: str, **kwargs) -> DetailedResponse: """ Get a resource group. Retrieve a resource group by alias ID. Call this method to get details about a particular resource group, like the name of the resource group, associated quotas, whether the state is active, the resource group ID and the CRN. The `id` returned in the response can be used to [create a resource instance later](https://cloud.ibm.com/apidocs/resource-controller/resource-controller?code=java#create-resource-instance). Users need to be assigned an IAM policy with the Viewer role or higher on the targeted resource group. :param str id: The short or long ID of the alias. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse with `dict` result representing a `ResourceGroup` object """ if id is None: raise ValueError('id must be provided') headers = {} sdk_headers = get_sdk_headers( service_name=self.DEFAULT_SERVICE_NAME, service_version='V2', operation_id='get_resource_group' ) headers.update(sdk_headers) if 'headers' in kwargs: headers.update(kwargs.get('headers')) headers['Accept'] = 'application/json' path_param_keys = ['id'] path_param_values = self.encode_path_vars(id) path_param_dict = dict(zip(path_param_keys, path_param_values)) url = '/v2/resource_groups/{id}'.format(**path_param_dict) request = self.prepare_request(method='GET', url=url, headers=headers) response = self.send(request, **kwargs) return response def update_resource_group(self, id: str, *, name: str = None, state: str = None, **kwargs) -> DetailedResponse: """ Update a resource group. Update a resource group by the alias ID. Call this method to update information about an existing resource group. You can rename a re
(authenticator: ibm_cloud_sdk_core.authenticators.authenticator.Authenticator = None) -> None
[ 0.0033290788996964693, -0.02633718214929104, -0.09716056287288666, -0.044655028730630875, 0.011870725080370903, -0.020618129521608353, -0.023931380361318588, 0.017674190923571587, 0.02927056886255741, -0.018011845648288727, 0.020385991781949997, -0.008684094995260239, 0.03140202537178993, -0.01082610059529543, -0.012123966589570045, 0.007734436541795731, -0.00403604656457901, -0.03857721760869026, 0.013158039189875126, -0.08179720491170883, -0.013896661810576916, 0.052421119064092636, 0.05934307351708412, -0.010372375138103962, 0.04604785889387131, 0.06968379020690918, 0.027772219851613045, -0.001828091568313539, 0.015025699511170387, 0.013442936353385448, -0.05461588501930237, 0.017505362629890442, -0.013516798615455627, 0.04098301753401756, -0.0054605333134531975, -0.0017370827263221145, -0.003252578666433692, -0.004658599849790335, -0.09775146096944809, 0.035812657326459885, 0.002173661720007658, 0.009675960056483746, 0.0340188592672348, -0.04769393429160118, 0.06360597908496857, 0.03813404589891434, 0.013865006156265736, 0.03195071592926979, 0.023234965279698372, -0.032056234776973724, 0.047187451273202896, -0.044781651347875595, -0.05347629636526108, -0.003711580066010356, -0.042903438210487366, -0.015162872150540352, -0.026717044413089752, -0.030536780133843422, 0.0003782144922297448, -0.03612921014428139, 0.010630893521010876, 0.005650464911013842, -0.035601623356342316, 0.008335886523127556, -0.07348242402076721, -0.0076341950334608555, -0.07014807313680649, -0.020597025752067566, -0.032583821564912796, 0.045583583414554596, -0.02184213325381279, 0.043642058968544006, 0.007945471443235874, -0.029966985806822777, -0.021884340792894363, 0.03363899514079094, -0.0005793573218397796, -0.02633718214929104, -0.007111883256584406, -0.02132509835064411, -0.018138468265533447, 0.005012083798646927, 0.042249228805303574, -0.02665373496711254, 0.04195377975702286, -0.006420743186026812, 0.03256271779537201, 0.0006344242719933391, -0.022686274722218513, -0.10087478160858154, -0.02104020118713379, 0.030916644260287285, -0.004748289939016104, 0.04423295706510544, 0.053096432238817215, -0.05461588501930237, -0.060524869710206985, -0.002970319241285324, -0.026695940643548965, -0.01718880981206894, -0.03469417244195938, -0.0640280544757843, -0.007407332304865122, -0.0014060214161872864, 0.04193267598748207, -0.009834236465394497, -0.024205727502703667, 0.04313557595014572, -0.01681949757039547, 0.046934209764003754, -0.03123319521546364, -0.021219579502940178, 0.025493040680885315, 0.0013499652268365026, -0.0056082578375935555, 0.0015260475920513272, 0.0015036251861602068, -0.01949964463710785, 0.0584145188331604, -0.05381395295262337, -0.030916644260287285, -0.037078868597745895, 0.05415160953998566, -0.004373702686280012, -0.005719051230698824, 0.049340009689331055, -0.040898602455854416, 0.05790803208947182, 0.011395895853638649, -0.02853194624185562, 0.0018729366129264235, -0.027518978342413902, -0.049677666276693344, 0.0036614590790122747, 0.03887266665697098, -0.06550529599189758, 0.0033369925804436207, 0.04406413063406944, 0.0009562528575770557, 0.028764085844159126, 0.0658007487654686, 0.0049909804947674274, -0.02846863679587841, 0.05554443970322609, -0.02445896901190281, -0.02378365583717823, 0.08542700856924057, -0.005898431409150362, -0.055839888751506805, -0.04275571182370186, -0.02251744642853737, -0.05043739080429077, 0.03804963082075119, -0.04824262484908104, -0.0021143080666661263, 0.041236259043216705, 0.0017054274212568998, -0.06364818662405014, 0.015331700444221497, -0.04062425717711449, -0.06297287344932556, 0.03750094026327133, -0.025682972744107246, -0.02119847573339939, -0.0050753941759467125, 0.0005143980961292982, -0.005961741786450148, -0.008652439340949059, -0.03672010824084282, 0.0016170565504580736, -0.05394057184457779, 0.008420300669968128, -0.02298172377049923, -0.016439635306596756, -0.04507710039615631, 0.03908370062708855, 0.03918921947479248, -0.033723410218954086, -0.00839392188936472, 0.020966337993741035, 0.004590013530105352, -0.0345042385160923, -0.011469758115708828, -0.002470429753884673, -0.03650907427072525, 0.03596038371324539, 0.004091443028301001, 0.07618367671966553, 0.024627797305583954, -0.023931380361318588, 0.02439565770328045, 0.000759066897444427, 0.030431263148784637, 0.027413461357355118, -0.022897308692336082, -0.038767147809267044, 0.012240036390721798, 0.005539671517908573, 0.04473944380879402, 0.03631914034485817, -0.024142416194081306, 0.08643998205661774, 0.023762553930282593, 0.05056401342153549, 0.02538752369582653, -0.037944111973047256, -0.054826922714710236, 0.00211826479062438, -0.05554443970322609, -0.002636619843542576, -0.061200182884931564, 0.008182886056602001, -0.002825232455506921, 0.011723000556230545, 0.03933694586157799, 0.007212124764919281, 0.03684673085808754, -0.00933302752673626, 0.011037136428058147, -0.025134282186627388, -0.008852922357618809, -0.01490963064134121, 0.026379387825727463, -0.04583682492375374, -0.09386841952800751, 0.008995371870696545, 0.013537902384996414, -0.009665408171713352, -0.03653017804026604, 0.011965690180659294, 0.03361789137125015, -0.029312776401638985, 0.04722965881228447, -0.011585826985538006, -0.07757650315761566, -0.035538312047719955, 0.05723272264003754, -0.007201572880148888, 0.0062466394156217575, 0.028658566996455193, -0.022137582302093506, 0.04836924746632576, 0.04326219856739044, 0.015521632507443428, -0.07576160132884979, 0.0024255847092717886, 0.011955139227211475, 0.005428878124803305, 0.0616222508251667, -0.023551518097519875, -0.013854455202817917, -0.04495047777891159, -0.02692808024585247, -0.017600327730178833, -0.021884340792894363, -0.10163450986146927, -0.05090166628360748, -0.045921240001916885, 0.034736379981040955, 0.023593725636601448, -0.008974268101155758, 0.008320058695971966, -0.06428129225969315, 0.04079308733344078, 0.015089009888470173, 0.0231083445250988, 0.004131012130528688, 0.02264406718313694, 0.047736141830682755, -0.004133650101721287, 0.18925628066062927, 0.038408391177654266, 0.0036588211078196764, -0.025830697268247604, -0.007919092662632465, -0.015015147626399994, 0.010557031258940697, -0.046596553176641464, -0.06613840162754059, -0.05558664724230766, 0.017178257927298546, 0.032731544226408005, -0.022264203056693077, 0.023804759606719017, 0.04554137587547302, 0.009971409104764462, -0.012145070359110832, -0.00326576828956604, -0.04110964015126228, 0.02933388017117977, -0.04321999102830887, 0.00036403557169251144, -0.05997617915272713, -0.03328023478388786, -0.04018108546733856, -0.012250588275492191, -0.03214064612984657, -0.018191225826740265, 0.004418547730892897, 0.0035849588457494974, -0.041700538247823715, 0.035327278077602386, 0.06892406940460205, 0.012651554308831692, -0.04068756848573685, -0.06622281670570374, 0.07550836354494095, -0.009391061961650848, -0.03665679693222046, 0.03492631018161774, -0.02023826725780964, 0.011976242065429688, 0.021187925711274147, -0.06702475249767303, 0.000013550349649449345, 0.021303994581103325, 0.06955717504024506, 0.04950883612036705, 0.019763438031077385, 0.033195823431015015, -0.02665373496711254, -0.041700538247823715, 0.021525580435991287, -0.01627080701291561, 0.08403418213129044, 0.002293687779456377, 0.0008975586970336735, 0.03596038371324539, 0.05233670771121979, 0.006273018661886454, -0.01511011365801096, -0.06411246955394745, -0.02794104814529419, 0.01306307315826416, -0.0034240446984767914, -0.06508322805166245, 0.02036488801240921, -0.060187213122844696, -0.026759251952171326, -0.01088941190391779, 0.0004052533477079123, -0.026442699134349823, -0.025767385959625244, -0.020101094618439674, -0.05900541692972183, -0.006652881857007742, 0.07204738259315491, -0.032668232917785645, -0.03697334975004196, 0.0013308401685208082, 0.0008012739126570523, 0.053223054856061935, 0.055839888751506805, 0.05668402835726738, 0.012947004288434982, -0.03368120267987251, -0.038492802530527115, 0.02020661160349846, 0.04668096452951431, 0.004925031680613756, -0.041700538247823715, 0.020375439897179604, -0.006679261103272438, -0.012619899585843086, -0.04193267598748207, -0.06423908472061157, -0.03378672152757645, -0.023277172818779945, 0.043515440076589584, -0.02901732735335827, 0.010198271833360195, -0.015183975920081139, 0.008763233199715614, 0.012799279764294624, 0.014856871217489243, 0.004988342523574829, 0.02713911421597004, -0.007064400240778923, -0.03268933668732643, 0.007096055429428816, 0.053012020885944366, -0.00550801632925868, -0.01799074374139309, -0.01363286841660738, -0.02357262186706066, -0.04144729673862457, 0.045583583414554596, 0.01067310106009245, -0.03422989323735237, -0.03912590816617012, 0.03309030458331108, -0.011796862818300724, 0.03275264799594879, 0.01752646639943123, -0.0042391675524413586, -0.030367951840162277, -0.06318391114473343, -0.018940400332212448, 0.002975594950839877, 0.001504944171756506, -0.009860615245997906, 0.05508016422390938, 0.016735084354877472, -0.02452228032052517, 0.036276936531066895, -0.03332244232296944, 0.06618060916662216, -0.012947004288434982, -0.013653971254825592, 0.005046376958489418, 0.000001617798488950939, -0.0051571703515946865, -0.030663400888442993, -0.030325744301080704, -0.02874298207461834, 0.013210797682404518, -0.012134518474340439, 0.1152251660823822, 0.037142179906368256, 0.03984342887997627, -0.01959460973739624, -0.01129037793725729, 0.02659042365849018, 0.012968107126653194, -0.018075156956911087, -0.04566799849271774, 0.0227073784917593, 0.03275264799594879, -0.019415229558944702, -0.037289902567863464, 0.04651213809847832, 0.03625583276152611, -0.020818613469600677, -0.027919944375753403, -0.02652711234986782, -0.016713980585336685, -0.01490963064134121, 0.02895401604473591, 0.023931380361318588, 0.028363117948174477, 0.031254298985004425, -0.05330746993422508, 0.003972735721617937, 0.002502084942534566, -0.02846863679587841, 0.0025456110015511513, -0.030262434855103493, 0.037627559155225754, 0.0385139063000679, -0.003521648468449712, 0.05676844343543053, 0.03135981783270836, 0.02277068793773651, 0.0008797526243142784, 0.009206406772136688, -0.02100854553282261, 0.0503951832652092, -0.023277172818779945, -0.013727833516895771, -0.059385281056165695, 0.028827395290136337, 0.029312776401638985, 0.036952245980501175, 0.052083466202020645, 0.0005668271332979202, 0.026695940643548965, 0.03572824224829674, 0.00017245525668840855, 0.04330440238118172, -0.009665408171713352, -0.03294258192181587, 0.017062189057469368, -0.02126178704202175, 0.005352377891540527, -0.02317165397107601, 0.028637465089559555, -0.005180912092328072, 0.013347970321774483, -0.03055788390338421, 0.04841145500540733, 0.03971680626273155, -0.0023569983895868063, 0.06035603955388069, -0.022728480398654938, -0.010525375604629517, -0.08855032920837402, 0.03515844792127609, -0.018465571105480194, -0.06284625828266144, -0.03197181969881058, 0.019942818209528923, -0.017980191856622696, -0.022812895476818085, 0.04756731167435646, -0.03555941581726074, -0.04053984582424164, -0.010504272766411304, 0.01537390798330307, 0.040371015667915344, -0.0074126082472503185, -0.008214541710913181, -0.025577455759048462, -0.042966749519109726, -0.038281768560409546, 0.04946662858128548, 0.012155622243881226, 0.00002450397914799396, -0.012440519407391548, 0.022158686071634293, -0.007296538911759853, -0.0268014594912529, 0.007380953058600426, 0.03790190443396568, 0.010804997757077217, -0.0417216420173645, 0.04347323253750801, -0.05178801715373993, 0.07580380886793137, 0.023277172818779945, 0.03376561775803566, 0.02914394810795784, 0.0035005449317395687, -0.015120665542781353, 0.062593013048172, -0.01580652967095375, -0.03823956102132797, -0.04710303619503975, -0.04182715713977814, 0.000012324120689299889, 0.042249228805303574, -0.002677507931366563, 0.013559006154537201, -0.042903438210487366, -0.03351237624883652, -0.03465196490287781, -0.0022963257506489754, -0.07681678235530853, -0.029798157513141632, -0.05187242850661278, -0.028721878305077553, 0.023213861510157585, 0.016471290960907936, -0.053434088826179504, -0.008921509608626366, -0.06770006567239761, -0.0010274772066622972, 0.05005752667784691, -0.016038667410612106, 0.01777970790863037, -0.008156507275998592, 0.0805732011795044, -0.0018544710474088788, 0.00936468318104744, 0.005217843223363161, 0.030156917870044708, 0.012609347701072693, 0.020713096484541893, -0.04199598729610443, -0.011986793950200081, -0.0047746691852808, 0.01814902015030384, 0.05883658677339554, 0.010868308134377003, -0.02941829338669777, -0.013548454269766808, 0.06689812988042831, -0.009675960056483746, 0.04520371928811073, -0.008889853954315186, 0.0341876856982708, 0.014624732546508312, -0.05816127732396126, 0.02834201417863369, 0.0009562528575770557, -0.05178801715373993, 0.05689506605267525, 0.03536948561668396, 0.02049150876700878, 0.009591545909643173, -0.012313898652791977, 0.03435651585459709, -0.010630893521010876, 0.028152083978056908, -0.06753123551607132, -0.016956670209765434, 0.0779985785484314, 0.010741687379777431, 0.028721878305077553, 0.011691344901919365, 0.04053984582424164, -0.0494244210422039, 0.013179142959415913, 0.013886109925806522, -0.02144116722047329, 0.006125294137746096, 0.046934209764003754, 0.013421832583844662, -0.01818067394196987, -0.02766670286655426, 0.031528644263744354, 0.012841486372053623, 0.02853194624185562, 0.029228363186120987, 0.011406447738409042, 0.025429731234908104, 0.02055482007563114, -0.04710303619503975, -0.09395282715559006, -0.05052180588245392, 0.03606589883565903, -0.06077811121940613, -0.0658007487654686, 0.003371285740286112, -0.013442936353385448, -0.011184860952198505, -0.03475748375058174, -0.0608203187584877, 0.01426597312092781, 0.0528009831905365, -0.08238810300827026, 0.023952484130859375, 0.06263522058725357, 0.005803465377539396, 0.04058204963803291, -0.05237891525030136, 0.0560087189078331, -0.010092753916978836, 0.004041322506964207, -0.045583583414554596, 0.0007260926649905741, -0.02129344269633293, 0.0039173392578959465, -0.02618945762515068, -0.04100412130355835, 0.04013887792825699, 0.03549610450863838, 0.06761565059423447, 0.022411927580833435, 0.020375439897179604, -0.0066159507259726524, 0.0023068776354193687, -0.019879506900906563, 0.0069377790205180645, -0.003859304590150714, -0.04085639864206314, 0.05849893018603325, -0.015606046654284, -0.04528813436627388, 0.03992784395813942, -0.043979715555906296, -0.07550836354494095, 0.06364818662405014, -0.01403383444994688, -0.04303005710244179, 0.0056240856647491455, 0.02023826725780964, -0.04032880812883377, -0.024205727502703667, -0.04537254944443703, -0.004922393709421158, 0.015943702310323715, 0.01306307315826416, 0.016429083421826363, -0.011511964723467827, -0.033533480018377304, -0.033069200813770294, 0.03733211010694504, 0.00258386111818254, 0.031127678230404854, 0.03197181969881058, 0.024142416194081306, -0.034208789467811584, 0.04051874205470085, 0.06225535646080971, -0.03750094026327133, 0.05123932287096977, 0.01635522022843361, -0.05178801715373993, 0.016502944752573967, 0.03817624971270561, 0.039020393043756485, 0.022158686071634293, -0.021673304960131645, 0.028721878305077553, 0.025282006710767746, 0.003859304590150714, 0.013981075957417488, -0.04482385516166687, -0.01098437700420618, -0.024163519963622093, 0.02861636132001877, 0.019679022952914238, -0.013158039189875126, -0.0073967804200947285, -0.06149563193321228, 0.04267130047082901, -0.012609347701072693, -0.0487913154065609, -0.014498111791908741, 0.04988870024681091, 0.006209708284586668, -0.04423295706510544, 0.014656388200819492, 0.022053169086575508, -0.004579461645334959, 0.10163450986146927, -0.03524286299943924, -0.05748596414923668, 0.009897546842694283, -0.011511964723467827, 0.05170360207557678, 0.05246332660317421, 0.016988325864076614, -0.053771745413541794, 0.03382892906665802, -0.02082916535437107, -0.028658566996455193, 0.0017357637407258153, 0.006943054962903261, 0.008541646413505077, 0.00423652958124876, 0.02026992291212082, -0.009892270900309086, -0.05634637549519539, 0.023023929446935654, -0.0062308115884661674, -0.013791143894195557, 0.026885872706770897, -0.007586712017655373, 0.019974473863840103, 0.007966575212776661, 0.025239799171686172, -0.06364818662405014, -0.029291672632098198, 0.07495967298746109, -0.044866062700748444, 0.043515440076589584, 0.007185745518654585, 0.015226183459162712, 0.0247966255992651, 0.07187855988740921, 0.02159944362938404, -0.005362929776310921, -0.04319888725876808, -0.026970285922288895, 0.012641003355383873, 0.050268564373254776, -0.015996461734175682, 0.002598369726911187, -0.018687158823013306, 0.05170360207557678, -0.0035928727593272924, 0.011543620377779007, 0.04938221350312233, -0.00631522573530674, -0.056852858513593674, -0.002287093084305525, 0.06170666590332985, 0.04144729673862457, 0.02566186897456646, 0.01336907409131527, -0.017199361696839333, 0.05575547739863396, -0.0007340064621530473, 0.041299570351839066, 0.05752817168831825, -0.016861705109477043, -0.028299808502197266 ]
719,959
ibm_platform_services.resource_manager_v2
__init__
Construct a new client for the Resource Manager service. :param Authenticator authenticator: The authenticator specifies the authentication mechanism. Get up to date information from https://github.com/IBM/python-sdk-core/blob/main/README.md about initializing the authenticator of your choice.
def __init__( self, authenticator: Authenticator = None, ) -> None: """ Construct a new client for the Resource Manager service. :param Authenticator authenticator: The authenticator specifies the authentication mechanism. Get up to date information from https://github.com/IBM/python-sdk-core/blob/main/README.md about initializing the authenticator of your choice. """ BaseService.__init__(self, service_url=self.DEFAULT_SERVICE_URL, authenticator=authenticator)
(self, authenticator: Optional[ibm_cloud_sdk_core.authenticators.authenticator.Authenticator] = None) -> NoneType
[ 0.005801933817565441, -0.06762319058179855, -0.0023596889805048704, -0.011622735299170017, -0.008467049337923527, -0.043924883008003235, -0.011000089347362518, 0.042038075625896454, -0.008646296337246895, 0.004896265920251608, 0.0014811441069468856, 0.029132312163710594, -0.02277376875281334, 0.005301929544657469, -0.008971771225333214, 0.05430232733488083, -0.021302059292793274, -0.017707690596580505, -0.028188908472657204, -0.07992517948150635, 0.024019062519073486, 0.05513252317905426, 0.037038035690784454, 0.039924852550029755, 0.0452079139649868, 0.07067982107400894, -0.01640579290688038, -0.0074953436851501465, -0.0005002988618798554, -0.021226586773991585, -0.026094550266861916, 0.014160492457449436, -0.005457591265439987, 0.05218910053372383, 0.03581161051988602, -0.00980196613818407, 0.009004790335893631, 0.014622760005295277, -0.08286859840154648, 0.00811799056828022, -0.0028467210941016674, -0.00309200631454587, 0.0806044265627861, -0.031962525099515915, 0.040113531053066254, 0.02175489254295826, 0.049585308879613876, -0.007990631274878979, 0.028811553493142128, -0.0027405882719904184, -0.012452931143343449, 0.006174578331410885, -0.013075578026473522, 0.009212339296936989, -0.052868351340293884, 0.030302131548523903, 0.001148004550486803, 0.0015188802499324083, -0.08015159517526627, 0.023339811712503433, -0.06992509216070175, -0.03413235396146774, -0.014556721784174442, 0.009735927917063236, -0.015518994070589542, -0.03613236919045448, -0.04339657723903656, 0.01912279613316059, 0.02050960063934326, 0.01640579290688038, 0.0534721314907074, 0.026019079610705376, -0.022320935502648354, -0.03535877540707588, 0.04071731120347977, 0.006759488955140114, -0.02566058561205864, -0.02371717430651188, -0.023377548903226852, -0.01564163714647293, -0.0053255148231983185, 0.002573134144768119, -0.0006639204802922904, 0.009169885888695717, 0.014179360121488571, -0.007509494666010141, 0.013952943496406078, -0.04411356523633003, -0.013500109314918518, 0.02852853387594223, -0.031113460659980774, 0.012651045806705952, -0.01829260028898716, 0.014037849381566048, 0.0008974129450507462, -0.030905911698937416, -0.011632169596850872, -0.016632210463285446, 0.006221748422831297, 0.019981294870376587, -0.0071321334689855576, -0.01183971855789423, 0.002286575036123395, 0.0048302276991307735, 0.04215128347277641, 0.006273635663092136, -0.0172171201556921, -0.01773599348962307, 0.03356631100177765, 0.03333989158272743, 0.03239648789167404, 0.02262282557785511, -0.027887018397450447, 0.037773892283439636, -0.04226449504494667, 0.048792850226163864, 0.06607601046562195, 0.0008714693249203265, 0.05150984972715378, 0.014868045225739479, -0.017566179856657982, -0.04350978508591652, 0.00445286650210619, -0.013443505391478539, 0.016009563580155373, -0.001396237756125629, 0.009745362214744091, 0.029264388605952263, -0.04698151350021362, -0.006731186527758837, 0.059547651559114456, -0.0355851948261261, 0.007849120534956455, 0.012452931143343449, 0.03545311838388443, -0.011396318674087524, 0.03571727126836777, 0.03966069966554642, -0.023094527423381805, 0.094642274081707, 0.013669922016561031, 0.042755063623189926, -0.06350994855165482, 0.04464187100529671, -0.014368041418492794, 0.002620304236188531, -0.012679347768425941, 0.0198114812374115, -0.012990671209990978, -0.00687269726768136, -0.04120787978172302, -0.020075634121894836, 0.0285662692040205, -0.0024528501089662313, -0.006575524806976318, 0.00990574061870575, 0.009363283403217793, -0.0709817111492157, 0.012207645922899246, -0.03258517012000084, -0.016594473272562027, -0.008726486004889011, 0.020396390929818153, -0.07535909861326218, -0.020490732043981552, -0.016858628019690514, -0.07992517948150635, -0.037132374942302704, -0.04947210103273392, -0.005184004083275795, -0.0432833693921566, -0.05909482017159462, -0.08475540578365326, -0.055736299604177475, 0.03954749181866646, 0.022339804098010063, 0.05434006452560425, -0.01886807754635811, -0.03913239389657974, 0.024170007556676865, 0.021264323964715004, -0.0014151057694107294, -0.014160492457449436, -0.027981359511613846, 0.0034198390785604715, 0.011264242231845856, 0.06452882289886475, 0.030924778431653976, 0.041736189275979996, 0.005000040400773287, -0.00046845898032188416, 0.04124561697244644, 0.012217080220580101, 0.03549085557460785, -0.013613318093121052, -0.0285662692040205, 0.03430216386914253, -0.023283207789063454, -0.009283093735575676, 0.027830414474010468, -0.03664180636405945, 0.09977439045906067, 0.00232784915715456, 0.03130213916301727, 0.062491074204444885, -0.023302076384425163, -0.010349140502512455, -0.030849305912852287, -0.0555853545665741, -0.035113491117954254, -0.04256638139486313, -0.02564171701669693, -0.0024292650632560253, 0.00639156112447381, -0.029094574972987175, 0.03728331997990608, 0.028830422088503838, -0.003808993147686124, 0.019962426275014877, 0.02850966528058052, 0.0694345235824585, 0.038038045167922974, 0.05441553518176079, -0.06615147739648819, -0.022905845195055008, 0.04071731120347977, -0.019245438277721405, -0.04449092596769333, -0.07188737392425537, -0.009613285772502422, 0.009401019662618637, 0.023226603865623474, 0.01031140424311161, 0.016254847869277, -0.04547206684947014, -0.0775100588798523, 0.026170022785663605, -0.010481216944754124, -0.05898160859942436, 0.028415324166417122, 0.016047300770878792, 0.07373644411563873, 0.02947193756699562, 0.001593173248693347, -0.0671326220035553, -0.007750062737613916, -0.006580241955816746, 0.005589668173342943, 0.02849079668521881, 0.002929269103333354, -0.027905886992812157, -0.027188898995518684, -0.01583031751215458, -0.025188883766531944, 0.03330215811729431, -0.04550980404019356, -0.049698516726493835, -0.017839767038822174, 0.03741539642214775, 0.028792686760425568, -0.0065896762534976006, 0.015320878475904465, -0.034811604768037796, 0.04037768766283989, -0.0138019984588027, 0.005726461298763752, 0.0007676949026063085, 0.015575597994029522, 0.07618929445743561, -0.00010237406240776181, 0.19079400599002838, 0.017264291644096375, 0.009613285772502422, 0.01727372407913208, 0.01028310228139162, -0.042868271470069885, 0.007419871632009745, -0.029188916087150574, -0.0630948543548584, -0.019415251910686493, -0.014434079639613628, 0.03166063502430916, 0.0673213005065918, 0.04324563220143318, -0.022207727655768394, -0.02779267728328705, 0.0073443991132080555, -0.008165160194039345, -0.046792831271886826, 0.002804267918691039, 0.012905765324831009, 0.033830463886260986, -0.00007687267498113215, -0.049773987382650375, 0.020339787006378174, -0.048641905188560486, -0.04264185577630997, -0.031905919313430786, 0.0003602623473852873, -0.0432833693921566, -0.026113418862223625, 0.027302108705043793, 0.013669922016561031, 0.009099130518734455, -0.013528411276638508, -0.04600037261843681, 0.00519343838095665, 0.019528459757566452, -0.044755078852176666, 0.030811570584774017, 0.0033608763478696346, 0.027453051880002022, -0.042792800813913345, -0.05996274948120117, 0.02671719714999199, 0.05607592687010765, 0.04158524423837662, -0.026113418862223625, 0.023245470598340034, 0.019981294870376587, -0.06317032128572464, 0.01929260976612568, -0.018990719690918922, -0.03235875442624092, -0.02767946943640709, -0.019849218428134918, -0.006382127292454243, 0.06852886080741882, -0.022358672693371773, 0.012028399854898453, -0.03264177590608597, 0.004165128339082003, -0.016651079058647156, -0.01673598401248455, -0.028320984914898872, -0.07056660950183868, 0.027302108705043793, -0.04415130242705345, -0.06683073192834854, -0.01690579764544964, 0.056679703295230865, -0.04920794442296028, -0.02179262973368168, 0.011820850893855095, -0.042038075625896454, 0.017726559191942215, 0.028320984914898872, -0.07181189954280853, 0.016651079058647156, -0.08339690417051315, -0.0029811563435941935, 0.04803812503814697, 0.010651029646396637, 0.05498157814145088, 0.008542521856725216, 0.0031438933219760656, -0.04826454073190689, 0.008787807077169418, 0.004731170367449522, -0.024924730882048607, -0.020113371312618256, 0.03717011213302612, 0.006707601714879274, 0.025924738496541977, -0.07686854898929596, -0.057698581367731094, 0.022019047290086746, -0.012103871442377567, 0.0723402127623558, 0.017056742683053017, -0.006627412047237158, -0.09494416415691376, 0.02056620456278324, 0.030207792297005653, 0.016594473272562027, 0.023302076384425163, -0.01636805757880211, -0.03271724656224251, -0.0453965961933136, 0.027302108705043793, -0.017971843481063843, 0.06256654858589172, 0.011518961749970913, 0.02869834564626217, 0.006476467475295067, -0.01958506368100643, 0.00020769625552929938, 0.026924746111035347, 0.01275482028722763, 0.02971722185611725, -0.025320960208773613, -0.0267360657453537, -0.006495335604995489, -0.00544815743342042, 0.013452939689159393, -0.013971811160445213, -0.07075528800487518, 0.0017511934274807572, -0.0019976578187197447, -0.02969835326075554, 0.034811604768037796, 0.00761326914653182, 0.08354784548282623, -0.006759488955140114, -0.020019030198454857, 0.018632225692272186, 0.03141535073518753, -0.03839653730392456, 0.02183036506175995, -0.011773680336773396, -0.013707658275961876, -0.002205206546932459, -0.0071321334689855576, -0.021339796483516693, -0.04113240912556648, -0.018924681469798088, -0.047698501497507095, 0.048641905188560486, 0.03064175695180893, 0.015047292225062847, 0.0033561591990292072, 0.00434201629832387, 0.009169885888695717, 0.010056685656309128, 0.00491041736677289, 0.02869834564626217, 0.01967940479516983, 0.025830397382378578, 0.0010406924411654472, -0.06573638319969177, 0.040868256241083145, 0.039698436856269836, 0.0413588248193264, -0.06339673697948456, -0.014952951110899448, 0.04615131765604019, -0.051736269146203995, -0.014660496264696121, -0.006938735488802195, -0.01956619694828987, -0.023056790232658386, -0.07558552175760269, -0.01590579003095627, -0.04498149827122688, -0.0036627654917538166, -0.02273603342473507, -0.061623141169548035, 0.03128327429294586, 0.07037793099880219, -0.00951422844082117, 0.0352078340947628, -0.03245309367775917, 0.0000340878359565977, -0.025981342419981956, -0.010801974684000015, -0.042906008660793304, 0.04641547054052353, 0.035924818366765976, -0.004018900450319052, -0.04079278185963631, 0.00903309229761362, -0.03047194518148899, 0.060642000287771225, -0.029868166893720627, 0.03456631675362587, 0.006009482778608799, 0.013481241650879383, 0.029151178896427155, -0.006915150210261345, -0.010566123761236668, -0.01036800816655159, 0.011934058740735054, 0.030887043103575706, 0.04441545531153679, 0.03275498375296593, 0.04626452550292015, 0.013952943496406078, -0.024019062519073486, -0.06207597628235817, 0.01227368414402008, 0.013349165208637714, 0.0068019418977200985, 0.01858505606651306, 0.004408054519444704, -0.03932107239961624, -0.023094527423381805, -0.0006367976311594248, -0.033094607293605804, 0.03764181584119797, -0.028943631798028946, 0.010481216944754124, 0.1219632551074028, -0.02266056090593338, 0.06396277993917465, 0.039622962474823, -0.009594417177140713, 0.034924812614917755, 0.00871233455836773, 0.043811675161123276, 0.062453337013721466, 0.0028278531972318888, -0.0569438561797142, 0.020113371312618256, -0.025396432727575302, 0.05252872779965401, 0.006566090974956751, -0.11313299089670181, 0.0007800770690664649, 0.029151178896427155, 0.007863271050155163, 0.025226619094610214, -0.011594433337450027, -0.007750062737613916, -0.041773922741413116, -0.04867963865399361, 0.012585007585585117, -0.07211378961801529, 0.00514155114069581, -0.039698436856269836, -0.006731186527758837, -0.009235924109816551, -0.00039180743624456227, -0.025264356285333633, 0.01428313460201025, -0.018594490364193916, -0.03532104194164276, -0.03354744240641594, -0.05094381049275398, 0.026207759976387024, 0.02562284842133522, -0.01328312698751688, -0.0029953073244541883, -0.052755143493413925, -0.0352078340947628, -0.010056685656309128, 0.01958506368100643, -0.10460462421178818, -0.0473211370408535, 0.023830382153391838, -0.06441561877727509, 0.039773907512426376, 0.059660859405994415, -0.010207629762589931, -0.005660423077642918, -0.03160402923822403, -0.021169982850551605, -0.03573613986372948, -0.00985857006162405, -0.017000136896967888, 0.002757097827270627, 0.07143454253673553, -0.026415308937430382, -0.015386917628347874, 0.007919875904917717, -0.04739661142230034, 0.004212298430502415, 0.05826462432742119, -0.06875527650117874, 0.023075658828020096, 0.022905845195055008, 0.016924666240811348, 0.05203815922141075, -0.04509470611810684, 0.017556745558977127, 0.043887149542570114, 0.028320984914898872, 0.011641603894531727, -0.016971835866570473, -0.03035873733460903, 0.04052862897515297, 0.011877454817295074, -0.0382833294570446, 0.013858603313565254, 0.08158556371927261, -0.07603835314512253, 0.051698531955480576, 0.03447197750210762, 0.01927374117076397, 0.01958506368100643, -0.01371709257364273, 0.027981359511613846, 0.012877462431788445, -0.031000250950455666, -0.08973657339811325, -0.022471880540251732, 0.018396375700831413, -0.032037995755672455, -0.018688831478357315, -0.043736204504966736, 0.0018490715883672237, -0.0534721314907074, -0.05588724464178085, -0.004379752557724714, -0.01958506368100643, -0.04705698415637016, 0.025113411247730255, 0.022434143349528313, -0.01229255273938179, 0.04652867838740349, 0.06184955686330795, -0.015018989332020283, 0.03273611515760422, 0.012839727103710175, 0.017990712076425552, 0.02549077197909355, -0.01229255273938179, -0.07267983257770538, -0.02354736067354679, -0.04849096015095711, 0.05535893887281418, -0.016688814386725426, -0.012849160470068455, 0.0113019784912467, -0.020113371312618256, 0.01610390469431877, -0.005457591265439987, -0.04350978508591652, 0.029773825779557228, 0.039849378168582916, -0.005844387225806713, 0.01614164002239704, -0.006344391033053398, -0.0026816255412995815, 0.01684919372200966, -0.10392536967992783, 0.026151156052947044, 0.03522669896483421, -0.021981310099363327, -0.007877422496676445, -0.029094574972987175, -0.013000105507671833, 0.0038726727943867445, -0.00871233455836773, -0.005533063784241676, 0.06286843121051788, 0.01862279325723648, 0.05132117122411728, 0.016075601801276207, 0.05381175875663757, 0.0015283143147826195, 0.0049764555878937244, -0.011943493038415909, 0.02360396459698677, 0.006929301656782627, -0.03917012736201286, 0.04026447609066963, -0.04358525946736336, -0.04441545531153679, 0.03045307658612728, 0.02949080429971218, -0.05513252317905426, 0.04320789873600006, 0.0026250213850289583, 0.015103896148502827, -0.0017488349694758654, -0.05913255363702774, -0.01838694140315056, 0.037792760878801346, -0.007768930867314339, 0.0036957846023142338, -0.021924706175923347, 0.0304908137768507, 0.027415316551923752, 0.04517017677426338, 0.0004230576741974801, -0.05917029082775116, -0.00990574061870575, -0.016471831128001213, 0.05403817445039749, 0.01631145365536213, 0.05094381049275398, 0.03317008167505264, 0.0074953436851501465, 0.051623061299324036, 0.0037995590828359127, 0.015971828252077103, 0.01077367179095745, -0.0653967559337616, 0.0609816275537014, 0.03545311838388443, -0.04517017677426338, -0.004360884428024292, -0.011717076413333416, 0.03233988583087921, -0.004603811074048281, -0.014471815899014473, 0.05584951117634773, 0.04113240912556648, -0.04852869361639023, -0.07418928295373917, -0.020113371312618256, -0.026415308937430382, 0.0048255110159516335, -0.008490635082125664, -0.03292479366064072, 0.06883074343204498, -0.03128327429294586, -0.1006045863032341, 0.02941533364355564, 0.03160402923822403, 0.059585388749837875, -0.01527370885014534, -0.03275498375296593, 0.041736189275979996, -0.0050236256793141365, 0.040905993431806564, 0.029320992529392242, -0.05018908530473709, 0.03432103246450424, -0.014537854120135307, 0.05800047144293785, 0.04430224746465683, 0.060755208134651184, -0.04400035738945007, 0.01329256035387516, 0.024094535037875175, -0.03875502943992615, 0.031151195988059044, -0.0033655932638794184, -0.03254743292927742, -0.012764254584908485, -0.01675485260784626, 0.01619824394583702, -0.06705714762210846, 0.058755192905664444, 0.020320920273661613, -0.06124578043818474, -0.004278336651623249, 0.00028228413430042565, 0.05335892364382744, -0.03450971469283104, -0.046755097806453705, -0.059660859405994415, 0.04618905484676361, 0.04592490196228027, -0.025056807324290276, 0.036038026213645935, 0.03824559226632118, 0.02967948652803898, 0.032113466411828995, -0.007556665223091841, 0.03620783984661102, -0.0008396294433623552, 0.023113394156098366, -0.017613349482417107, 0.043962620198726654, 0.03837766870856285, -0.04709472134709358, 0.011943493038415909, 0.011028391309082508, 0.0019776104018092155, -0.02171715721487999, -0.03567953407764435, 0.05890613794326782, -0.043962620198726654, -0.06728356331586838, -0.015783146023750305, 0.010952918790280819, 0.014113321900367737, 0.018651094287633896, 0.008438747376203537, -0.026811538264155388, 0.05234004557132721, -0.04803812503814697, 0.014500117860734463, 0.04162297770380974, 0.022207727655768394, -0.009990647435188293 ]
719,965
ibm_platform_services.resource_manager_v2
create_resource_group
Create a resource group. Create a resource group in an account to organize your account resources in customizable groupings so that you can quickly assign users access to more than one resource at a time. To learn what makes a good resource group strategy, see [Best practices for organizing resources](https://cloud.ibm.com/docs/account?topic=account-account_setup). A default resource group is created when an account is created. If you have a Lite account or 30-day trial, you cannot create extra resource groups, but you can rename your default resource group. If you have a Pay-As-You-Go or Subscription account, you can create multiple resource groups. You must be assigned an IAM policy with the Administrator role on All Account Management services to create extra resource groups. :param str name: (optional) The new name of the resource group. :param str account_id: (optional) The account id of the resource group. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse with `dict` result representing a `ResCreateResourceGroup` object
def create_resource_group(self, *, name: str = None, account_id: str = None, **kwargs) -> DetailedResponse: """ Create a resource group. Create a resource group in an account to organize your account resources in customizable groupings so that you can quickly assign users access to more than one resource at a time. To learn what makes a good resource group strategy, see [Best practices for organizing resources](https://cloud.ibm.com/docs/account?topic=account-account_setup). A default resource group is created when an account is created. If you have a Lite account or 30-day trial, you cannot create extra resource groups, but you can rename your default resource group. If you have a Pay-As-You-Go or Subscription account, you can create multiple resource groups. You must be assigned an IAM policy with the Administrator role on All Account Management services to create extra resource groups. :param str name: (optional) The new name of the resource group. :param str account_id: (optional) The account id of the resource group. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse with `dict` result representing a `ResCreateResourceGroup` object """ headers = {} sdk_headers = get_sdk_headers( service_name=self.DEFAULT_SERVICE_NAME, service_version='V2', operation_id='create_resource_group' ) headers.update(sdk_headers) data = {'name': name, 'account_id': account_id} data = {k: v for (k, v) in data.items() if v is not None} data = json.dumps(data) headers['content-type'] = 'application/json' if 'headers' in kwargs: headers.update(kwargs.get('headers')) headers['Accept'] = 'application/json' url = '/v2/resource_groups' request = self.prepare_request(method='POST', url=url, headers=headers, data=data) response = self.send(request, **kwargs) return response
(self, *, name: Optional[str] = None, account_id: Optional[str] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
[ -0.05999982729554176, -0.018682019785046577, -0.08034954965114594, -0.05569003149867058, -0.0055793095380067825, -0.012873167172074318, -0.03558390587568283, 0.012170483358204365, -0.00578542985022068, -0.03348522633314133, 0.06419719010591507, 0.027226654812693596, 0.043884944170713425, -0.035115450620651245, -0.017941860482096672, -0.0071580056101083755, 0.05119285732507706, -0.03931281715631485, -0.008619587868452072, -0.03043089248239994, 0.02066827192902565, 0.06595858931541443, 0.03809482976794243, -0.0012156430166214705, 0.0724794939160347, 0.08402224630117416, 0.018288517370820045, 0.011617705225944519, -0.019281642511487007, 0.043060462921857834, -0.043772514909505844, -0.0010247471509501338, 0.004579156171530485, 0.07210472971200943, 0.003696116851642728, 0.005181122105568647, -0.05351639911532402, 0.003820257494226098, -0.13274165987968445, 0.031161684542894363, 0.016705136746168137, 0.0275826808065176, 0.006563066504895687, -0.05344144627451897, 0.04572129249572754, -0.009331640787422657, 0.036052364856004715, 0.013229194097220898, -0.028800666332244873, -0.03625848516821861, 0.0480448342859745, -0.046733155846595764, -0.04890679195523262, -0.007916904054582119, -0.05078061670064926, 0.012657677754759789, -0.010980605147778988, -0.024359704926609993, -0.01055899541825056, -0.02625226601958275, -0.011655181646347046, 0.026795675978064537, -0.023647652938961983, -0.009266057051718235, -0.08469682186841965, 0.030880611389875412, -0.09204220771789551, -0.03097430244088173, -0.02703927271068096, 0.03685810789465904, -0.002154896967113018, 0.01935659721493721, 0.007373495493084192, -0.005026531405746937, -0.019281642511487007, 0.034628257155418396, 0.001844545011408627, -0.025521475821733475, 0.01225480530411005, -0.014494024217128754, -0.035771291702985764, -0.0007870058761909604, 0.025971192866563797, -0.01881318725645542, 0.03745773062109947, 0.009903157129883766, 0.013285408727824688, -0.007101790979504585, -0.014016199856996536, -0.0878448411822319, -0.014503393322229385, -0.00824950821697712, -0.011121142655611038, 0.05988739803433418, 0.05835086107254028, -0.04118663817644119, -0.025352831929922104, -0.006361630745232105, 0.002335252473130822, 0.005977496970444918, -0.03893805295228958, -0.06419719010591507, -0.024603301659226418, 0.004321505315601826, 0.050031088292598724, -0.019262904301285744, 0.005696423351764679, 0.022354714572429657, -0.025914978235960007, 0.015168600715696812, -0.027170440182089806, -0.020143602043390274, 0.027826277539134026, 0.004890679381787777, -0.003597741015255451, -0.014344118535518646, 0.015918130055069923, -0.017613939940929413, 0.037420254200696945, -0.053928639739751816, -0.0008584453607909381, -0.029981175437569618, 0.06708288192749023, -0.0018691389122977853, -0.007687360979616642, 0.05842581391334534, -0.023553960025310516, 0.06816969811916351, -0.012985596433281898, -0.01973136141896248, -0.007645199541002512, -0.029737578704953194, -0.0372890867292881, 0.013219824060797691, -0.002002648776397109, -0.02735782228410244, 0.031498972326517105, 0.02906300127506256, 0.01430664211511612, 0.032979294657707214, 0.04879436269402504, -0.013472790829837322, -0.014746990986168385, 0.04770754650235176, -0.010587102733552456, -0.022392190992832184, 0.04605858027935028, -0.0134072070941329, -0.053816210478544235, -0.0039561097510159016, -0.024003678932785988, -0.044334664940834045, 0.018653912469744682, -0.0070596300065517426, 0.008155816234648228, 0.027919970452785492, 0.030449630692601204, -0.02866949886083603, 0.013229194097220898, -0.03968758136034012, -0.03014981932938099, 0.05936272814869881, -0.0090786749497056, -0.011973732151091099, 0.010418458841741085, -0.024659516289830208, 0.00004596723010763526, -0.013304146938025951, -0.017838798463344574, -0.0026584870647639036, -0.04429718479514122, 0.005523094441741705, -0.009106782265007496, -0.016705136746168137, -0.11295408010482788, 0.023591438308358192, 0.05179248005151749, -0.028575807809829712, -0.022279761731624603, 0.01463456079363823, 0.02703927271068096, -0.04598362743854523, 0.014465916901826859, 0.01995621994137764, -0.01935659721493721, 0.02263578772544861, 0.0167238749563694, 0.08199851214885712, 0.003051989944651723, -0.011889410205185413, 0.051455192267894745, 0.014428440481424332, 0.028051137924194336, 0.025840025395154953, 0.002461735624819994, -0.043884944170713425, 0.007354757282882929, -0.007078368216753006, 0.030468368902802467, 0.020368460565805435, -0.000502126116771251, 0.04485933482646942, 0.024247275665402412, 0.05475312098860741, 0.0836474820971489, -0.037251610308885574, -0.039500199258327484, -0.0072891730815172195, -0.06738269329071045, -0.03151771053671837, -0.021680137142539024, 0.00474311551079154, -0.02006864920258522, 0.03164887800812721, 0.017670154571533203, 0.010071801021695137, 0.03841337934136391, 0.016405323520302773, 0.03537778556346893, -0.04403484985232353, -0.003445492824539542, -0.02402241714298725, 0.0438474677503109, -0.036764416843652725, -0.060561973601579666, 0.0028528962284326553, 0.03822599723935127, -0.01198310125619173, -0.04752016440033913, 0.013688280247151852, -0.00904588308185339, -0.03466573357582092, 0.013697649352252483, -0.027620157226920128, -0.0980384424328804, -0.014981218613684177, 0.060337115079164505, -0.04643334448337555, 0.011776980012655258, 0.022186070680618286, 0.004195022396743298, 0.07334145158529282, 0.027976185083389282, 0.04380999132990837, -0.04976874962449074, -0.018073027953505516, 0.0000038611010495515075, 0.0032182917930185795, 0.0582384318113327, -0.015562104061245918, -0.016573969274759293, -0.055615078657865524, -0.022991813719272614, -0.005851013585925102, 0.006591173820197582, -0.07266687601804733, -0.026439648121595383, -0.08529644459486008, 0.029025524854660034, 0.01709863916039467, -0.002221651840955019, 0.008315091952681541, -0.07139267027378082, 0.025127973407506943, 0.005396611522883177, -0.0006107493536546826, -0.017145484685897827, 0.03573381528258324, 0.02911921590566635, 0.019047414883971214, 0.09369117021560669, 0.04111168533563614, 0.043172892183065414, -0.05190490931272507, -0.012123637832701206, -0.015974344685673714, 0.015074909664690495, -0.020799441263079643, -0.05793862044811249, -0.04545895755290985, 0.006502167321741581, -0.0025413730181753635, 0.0038577341474592686, 0.024415919557213783, 0.03751394525170326, 0.017735738307237625, -0.014915634877979755, 0.0017321155173704028, -0.04096177965402603, 0.019693884998559952, -0.06629587709903717, 0.03798240050673485, -0.07633956521749496, -0.0033072985243052244, -0.044447094202041626, 0.012058054096996784, -0.03509671241044998, -0.01743592694401741, 0.03481563925743103, 0.019506502896547318, -0.032435882836580276, 0.04437214136123657, 0.04988117888569832, -0.018494637683033943, -0.0490192212164402, -0.06239832192659378, 0.042460840195417404, -0.008357252925634384, -0.06910660862922668, 0.03777628019452095, -0.046620726585388184, 0.0334477499127388, 0.027264131233096123, -0.0398000106215477, 0.011842564679682255, 0.018110504373908043, 0.09938759356737137, 0.01688314974308014, 0.010765115730464458, 0.05066818743944168, -0.040549539029598236, -0.06655821204185486, -0.014784467406570911, -0.04336027428507805, 0.10470925271511078, -0.007715468294918537, 0.005452826153486967, 0.02527787908911705, 0.05876310542225838, 0.025465261191129684, -0.028856880962848663, -0.042198505252599716, -0.021961210295557976, 0.019319120794534683, -0.03108673170208931, -0.05958758667111397, 0.01930038258433342, -0.05302920565009117, -0.02385377325117588, 0.0013749179197475314, -0.03515292704105377, -0.04669567942619324, -0.018447792157530785, -0.0018855348462238908, -0.045871198177337646, -0.018728865310549736, 0.0628480389714241, -0.0203871987760067, -0.009523707441985607, 0.025615166872739792, -0.0009134889114648104, 0.022654525935649872, 0.07296668738126755, 0.07296668738126755, 0.04995613172650337, -0.02698305808007717, -0.04313541576266289, 0.04557138681411743, 0.03206111863255501, -0.003944398369640112, -0.03359765559434891, -0.002869292162358761, 0.0053731887601315975, 0.006281993351876736, 0.007139267399907112, -0.05482807382941246, -0.035059235990047455, 0.016433430835604668, 0.006900354754179716, -0.060449544340372086, 0.023610176518559456, -0.03502175956964493, -0.01628352515399456, 0.027863753959536552, 0.000662279489915818, 0.011102404445409775, -0.008549319580197334, -0.022448405623435974, -0.05235462635755539, 0.007532770279794931, 0.02379755862057209, -0.007317280396819115, -0.014400333166122437, -0.027938708662986755, -0.010062431916594505, -0.04066196829080582, 0.051680050790309906, -0.005790114402770996, -0.027751324698328972, -0.040099821984767914, 0.03530283272266388, -0.016077404841780663, 0.035003021359443665, 0.03920038789510727, -0.022579573094844818, -0.04508419334888458, -0.06254822760820389, -0.022448405623435974, -0.003794492455199361, 0.015290399082005024, 0.011833195574581623, 0.017145484685897827, 0.018775710836052895, -0.02499680407345295, 0.027657633647322655, -0.009743882343173027, 0.05531526729464531, -0.0015810385812073946, 0.004778249654918909, 0.012226697988808155, 0.0056448932737112045, -0.002705332590267062, -0.044821858406066895, -0.04590867459774017, -0.021286634728312492, 0.04628343880176544, -0.027713848277926445, 0.11048062890768051, -0.004225471988320351, 0.025184188038110733, 0.010137384757399559, -0.004684558603912592, 0.021942472085356712, 0.03382251411676407, -0.009523707441985607, -0.03163013979792595, 0.016461540013551712, 0.030749443918466568, 0.011327262967824936, -0.049319032579660416, 0.01198310125619173, 0.025090496987104416, -0.027432775124907494, -0.010615210048854351, -0.0020506654400378466, -0.019768837839365005, -0.005560571327805519, 0.0277888011187315, 0.02242966741323471, 0.04527157545089722, 0.017407819628715515, -0.05138023942708969, -0.011908148415386677, -0.018222933635115623, -0.03361639380455017, 0.0058744363486766815, -0.0453840047121048, -0.010062431916594505, 0.026889367029070854, 0.007022153586149216, 0.09811339527368546, 0.06914408504962921, 0.04722035303711891, -0.01727665215730667, 0.00282478891313076, -0.03359765559434891, 0.03809482976794243, -0.043884944170713425, -0.002192373387515545, -0.0705307126045227, 0.020537104457616806, 0.03470320999622345, 0.02835094928741455, 0.07071809470653534, 0.014953111298382282, 0.017782583832740784, 0.009097413159906864, -0.012385972775518894, 0.034834377467632294, -0.01483131293207407, -0.03459078073501587, 0.002097511198371649, -0.015449674800038338, 0.020574580878019333, 0.008914714679121971, 0.015974344685673714, -0.018129242584109306, 0.00757961580529809, -0.016648922115564346, 0.03329784423112869, 0.056289657950401306, -0.010418458841741085, 0.06258570402860641, -0.008872553706169128, 0.021080514416098595, -0.03809482976794243, 0.006085241679102182, 0.0070596300065517426, -0.07847572863101959, 0.0035227881744503975, 0.004825095646083355, -0.048382122069597244, -0.036933060735464096, 0.05576498806476593, -0.055502649396657944, -0.044971764087677, 0.011083666235208511, 0.02417232282459736, -0.0019042730564251542, -0.042910557240247726, 0.0018644543597474694, -0.024434657767415047, -0.02938155271112919, -0.04324784502387047, 0.04680810868740082, 0.0033330635633319616, 0.003979532513767481, -0.005523094441741705, -0.008806969970464706, -0.0026983057614415884, -0.06374747306108475, 0.017557725310325623, -0.015590211376547813, 0.010081170126795769, -0.010961866937577724, 0.07364126294851303, -0.027151701971888542, 0.034178540110588074, 0.002487500663846731, -0.01600245200097561, 0.025671381503343582, 0.026908105239272118, 0.01483131293207407, 0.06352261453866959, 0.0023165142629295588, -0.02351648360490799, -0.02934407629072666, -0.04452204704284668, 0.019881267100572586, 0.04725782945752144, 0.011973732151091099, 0.013838185928761959, -0.02390998788177967, -0.022335976362228394, -0.0300936046987772, -0.010287290439009666, -0.09586481004953384, 0.01436285674571991, -0.036164794117212296, -0.02402241714298725, 0.03794492408633232, 0.010793223045766354, -0.05602732300758362, -0.03490933030843735, -0.08297290652990341, 0.020218554884195328, 0.04485933482646942, -0.0006593516445718706, 0.05445330962538719, -0.02703927271068096, 0.071505106985569, -0.010324766859412193, -0.008169869892299175, 0.03490933030843735, 0.006764502730220556, 0.04362260922789574, 0.006666127126663923, -0.06970623135566711, 0.008357252925634384, -0.003637559711933136, -0.003696116851642728, 0.06517157703638077, 0.029456505551934242, -0.026795675978064537, -0.05100547522306442, 0.06771998107433319, -0.011083666235208511, 0.05475312098860741, -0.008483735844492912, 0.029044263064861298, 0.004647082183510065, -0.03384125232696533, 0.0051670679822564125, -0.011008712463080883, -0.05805104970932007, 0.039125435054302216, 0.048981744796037674, 0.025952454656362534, -0.01247029472142458, 0.01373512577265501, -0.006694234441965818, -0.00893345382064581, 0.04894426837563515, -0.07266687601804733, -0.03886310011148453, 0.04407232627272606, 0.010802592150866985, 0.0014299615286290646, 0.03704548999667168, 0.041149161756038666, -0.03547147661447525, 0.03704548999667168, 0.016630183905363083, -0.004548706579953432, 0.011139880865812302, 0.03820725902915001, -0.005434087943285704, -0.03618353232741356, -0.05351639911532402, -0.0006476402631960809, 0.013781971298158169, 0.03524661809206009, -0.005532463546842337, 0.05943768098950386, 0.035171665251255035, 0.00965019129216671, -0.04084935039281845, -0.06768250465393066, -0.03159266337752342, -0.0022895780857652426, -0.029625149443745613, -0.0736037865281105, 0.009387855418026447, -0.011552121490240097, 0.008984983898699284, -0.04560886323451996, -0.06206103414297104, 0.009659560397267342, 0.062360845506191254, -0.06232336908578873, 0.014540869742631912, 0.027994923293590546, -0.015496520325541496, 0.037495207041502, -0.04976874962449074, 0.03927534073591232, 0.013276039622724056, -0.012910643592476845, -0.04407232627272606, -0.012104899622499943, -0.028163567185401917, 0.016424061730504036, -0.03897552937269211, -0.07172996550798416, 0.06194860488176346, 0.04523409903049469, 0.042086075991392136, 0.04815726354718208, 0.05257948487997055, -0.002400836208835244, -0.009931264445185661, -0.0008279957692138851, -0.010409089736640453, -0.009687667712569237, -0.04523409903049469, 0.05130528658628464, -0.01329477783292532, -0.0744282677769661, 0.009884418919682503, -0.04347270354628563, -0.07772620022296906, 0.05722656846046448, -0.0234602689743042, -0.0736037865281105, 0.023778820410370827, 0.06239832192659378, -0.03466573357582092, -0.0009913697140291333, -0.055952370166778564, -0.015580842271447182, 0.02653334103524685, 0.0027545203920453787, 0.024865636602044106, -0.016377216205000877, -0.03935029357671738, -0.0280698761343956, 0.047070443630218506, -0.03833842650055885, 0.0020213869865983725, 0.01650838553905487, 0.0036726940888911486, -0.022073639556765556, 0.013913138769567013, 0.03520914167165756, -0.02872571349143982, 0.08732017129659653, -0.027863753959536552, -0.04759511724114418, 0.015421567484736443, 0.021099252626299858, 0.057264044880867004, 0.00596344331279397, -0.009940633550286293, 0.01494374219328165, 0.029025524854660034, -0.011121142655611038, 0.014896896667778492, -0.03927534073591232, -0.04167383536696434, -0.02559642866253853, 0.05576498806476593, 0.0036492710933089256, -0.023329101502895355, 0.0066239661537110806, -0.06667064130306244, 0.04261074587702751, -0.016873780637979507, -0.025633905082941055, -0.0065818047150969505, 0.030562059953808784, -0.017473403364419937, -0.04725782945752144, 0.008169869892299175, 0.04830716922879219, -0.01995621994137764, 0.09683919697999954, -0.010324766859412193, -0.05081809312105179, 0.03640839084982872, -0.016264786943793297, 0.014803205616772175, 0.07727648317813873, 0.0277888011187315, -0.016751982271671295, -0.011280417442321777, -0.0008596164989285171, -0.02100556157529354, 0.0191317368298769, 0.03054332174360752, 0.02203616313636303, 0.0021033668890595436, 0.03953767567873001, -0.020593319088220596, -0.06389737874269485, 0.0051014842465519905, -0.022673264145851135, 0.0008824537508189678, 0.024603301659226418, 0.020256031304597855, -0.018775710836052895, 0.011880041100084782, 0.02181130461394787, -0.05981244519352913, -0.004689243156462908, 0.059025440365076065, -0.02462203986942768, 0.03354144096374512, -0.014709514565765858, 0.029793793335556984, 0.023610176518559456, 0.04039963334798813, 0.05018099397420883, 0.035827506333589554, -0.0382634736597538, -0.011317893862724304, 0.016639553010463715, 0.04313541576266289, 0.02171761356294155, 0.02565264329314232, -0.02106177620589733, 0.05917534604668617, 0.0018105818890035152, 0.017182961106300354, 0.049581367522478104, 0.002801366150379181, -0.06858193874359131, 0.01901930756866932, 0.05936272814869881, 0.046470820903778076, 0.02724539302289486, -0.0017368000699207187, -0.020537104457616806, 0.056889280676841736, 0.00904588308185339, 0.01914110593497753, 0.048382122069597244, 0.018831925466656685, -0.009364432655274868 ]
719,966
ibm_platform_services.resource_manager_v2
delete_resource_group
Delete a resource group. Delete a resource group by the alias ID. You can delete a resource group only if the targeted resource group does not contain any resources or if it is not a default resource group. When a user creates an account, a default resource group is created in the account. If you want to delete a resource group that contains resources, first [delete the resource instances](https://cloud.ibm.com/apidocs/resource-controller/resource-controller?code=java#delete-resource-instance). Then, delete the resource group when all resource instances in the group are deleted. Users need to be assigned an IAM policy with the Editor role or higher on the targeted resource group. :param str id: The short or long ID of the alias. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse
def delete_resource_group(self, id: str, **kwargs) -> DetailedResponse: """ Delete a resource group. Delete a resource group by the alias ID. You can delete a resource group only if the targeted resource group does not contain any resources or if it is not a default resource group. When a user creates an account, a default resource group is created in the account. If you want to delete a resource group that contains resources, first [delete the resource instances](https://cloud.ibm.com/apidocs/resource-controller/resource-controller?code=java#delete-resource-instance). Then, delete the resource group when all resource instances in the group are deleted. Users need to be assigned an IAM policy with the Editor role or higher on the targeted resource group. :param str id: The short or long ID of the alias. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse """ if id is None: raise ValueError('id must be provided') headers = {} sdk_headers = get_sdk_headers( service_name=self.DEFAULT_SERVICE_NAME, service_version='V2', operation_id='delete_resource_group' ) headers.update(sdk_headers) if 'headers' in kwargs: headers.update(kwargs.get('headers')) path_param_keys = ['id'] path_param_values = self.encode_path_vars(id) path_param_dict = dict(zip(path_param_keys, path_param_values)) url = '/v2/resource_groups/{id}'.format(**path_param_dict) request = self.prepare_request(method='DELETE', url=url, headers=headers) response = self.send(request, **kwargs) return response
(self, id: str, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
[ -0.01909453421831131, -0.007934799417853355, -0.030390918254852295, -0.056336164474487305, 0.0008136357646435499, -0.015186349861323833, -0.04565925896167755, 0.06395211070775986, 0.00624034134671092, 0.00680516054853797, 0.022337689995765686, -0.010303395800292492, 0.0266376044601202, -0.0448940210044384, -0.014384670183062553, -0.0050469329580664635, 0.003425355302169919, -0.021791091188788414, 0.03341543301939964, -0.07521206140518188, 0.020023752003908157, 0.08454068750143051, 0.011378374882042408, -0.02231946960091591, 0.046679574996232986, 0.06588342785835266, 0.026418963447213173, 0.017308976501226425, -0.01185209397226572, -0.005825837142765522, -0.03698654845356941, 0.010339835658669472, -0.01642530784010887, 0.0890592411160469, -0.035000573843717575, -0.016279548406600952, -0.006499976385384798, 0.014922159723937511, -0.11668071895837784, 0.034654393792152405, -0.043327100574970245, 0.022556329146027565, 0.029206620529294014, -0.06103691831231117, 0.05830392241477966, 0.0024232566356658936, 0.02651006355881691, 0.02140847034752369, -0.02313936874270439, -0.01458508986979723, 0.048355814069509506, -0.025198224931955338, -0.027020223438739777, 0.006039921659976244, -0.023758847266435623, 0.003227213164791465, -0.026036344468593597, 0.0046961987391114235, 0.03250443562865257, -0.023303348571062088, 0.03961022570729256, 0.03443575277924538, -0.0448940210044384, -0.015313888899981976, -0.0365128293633461, -0.01507702935487032, -0.06315043568611145, 0.004001562017947435, -0.052218448370695114, 0.014985929243266582, -0.03837126865983009, 0.02111695148050785, 0.027184203267097473, -0.012744872830808163, 0.012590003199875355, -0.009638367220759392, -0.004964943043887615, -0.02126271091401577, 0.006431651301681995, -0.032905276864767075, -0.03629419207572937, -0.02978966012597084, 0.07623237371444702, -0.013510111719369888, 0.0188212338835001, -0.010895545594394207, 0.04708041623234749, -0.000917831261176616, 0.006167461629956961, -0.07958485186100006, 0.007820924744009972, -0.0005147142801433802, -0.039537347853183746, 0.017236096784472466, 0.05349384620785713, -0.00015358869859483093, -0.01621577888727188, 0.01454865001142025, -0.010968425311148167, -0.048355814069509506, 0.0017980837728828192, -0.059142038226127625, 0.015450539067387581, 0.0011324853403493762, 0.060964036732912064, -0.0018925999756902456, 0.016060907393693924, -0.004468448925763369, -0.012243823148310184, 0.0317574180662632, -0.0277672428637743, 0.0077844844199717045, 0.013637651689350605, -0.027512162923812866, 0.027184203267097473, -0.006172016728669405, -0.015896927565336227, -0.04904817417263985, 0.037168748676776886, -0.06817914545536041, -0.01388362143188715, -0.03678613156080246, 0.04635161533951759, -0.010294285602867603, 0.028022322803735733, 0.0460236594080925, -0.04799141362309456, 0.04015682637691498, 0.00005110133861307986, -0.0102760661393404, -0.021845750510692596, -0.03503701090812683, -0.04544061794877052, 0.005552537273615599, 0.0160791277885437, -0.010075646452605724, 0.049558334052562714, 0.037241630256175995, 0.013728751800954342, 0.027876561507582664, 0.05531584471464157, 0.023175807669758797, -0.03217647597193718, 0.060125917196273804, -0.005261017940938473, -0.033743392676115036, 0.041577983647584915, -0.019203854724764824, -0.057538680732250214, -0.025708384811878204, -0.04897529259324074, -0.023248689249157906, 0.043764378875494, -0.021845750510692596, -0.012070734053850174, 0.034854814410209656, -0.011578794568777084, -0.03782466799020767, 0.01623399741947651, -0.042124584317207336, -0.012070734053850174, 0.0711672231554985, -0.013856290839612484, 0.0031862182077020407, 0.0030541233718395233, -0.03370695561170578, 0.025289325043559074, 0.011870314367115498, -0.052837926894426346, 0.003673602594062686, -0.06511819362640381, 0.027858342975378036, -0.00037464825436472893, -0.0172087661921978, -0.06734102964401245, 0.06030811741948128, 0.039828866720199585, -0.00877291802316904, -0.02098941244184971, -0.041031382977962494, 0.012389583513140678, -0.02616388536989689, 0.033524755388498306, -0.007971239276230335, -0.016479967162013054, 0.03607555106282234, -0.007793594617396593, 0.06748678535223007, -0.012535342946648598, -0.04729905724525452, -0.003997006919234991, -0.0008364107343368232, 0.018784794956445694, 0.06293179839849472, 0.0015828603645786643, -0.030172279104590416, 0.023175807669758797, -0.045076217502355576, 0.04966765269637108, -0.013710531406104565, -0.030791757628321648, 0.04474825784564018, 0.031866736710071564, 0.03638529032468796, 0.05265573039650917, -0.027111323550343513, 0.009911666624248028, 0.01399294100701809, -0.07295278459787369, 0.02175465039908886, -0.035000573843717575, 0.007934799417853355, 0.012161833234131336, 0.019276734441518784, 0.033542975783348083, -0.002906086156144738, 0.01462152972817421, -0.003901352174580097, 0.031101498752832413, -0.03394381329417229, -0.011597014032304287, -0.01621577888727188, 0.05568024516105652, -0.025635505095124245, -0.050396449863910675, 0.007456524763256311, 0.02705666422843933, 0.019641133025288582, -0.03210359811782837, -0.016944577917456627, 0.04810073599219322, -0.031229037791490555, 0.057174284011125565, -0.008759252727031708, -0.053821805864572525, -0.04161442443728447, 0.012088953517377377, -0.034362874925136566, 0.0019814223051071167, 0.013346131891012192, -0.00968391727656126, 0.02915196120738983, 0.05050577223300934, 0.062202997505664825, -0.05312944948673248, 0.03531031310558319, -0.001708122668787837, 0.016698608174920082, 0.06005303934216499, -0.05852255970239639, -0.004402401391416788, -0.0737544596195221, 0.0012298483634367585, -0.01931317336857319, 0.030190499499440193, -0.04343642294406891, -0.03190317749977112, -0.04022970423102379, 0.01909453421831131, 0.01454865001142025, -0.030664218589663506, 0.003309203078970313, -0.05673700198531151, 0.03602088987827301, 0.02636430412530899, 0.032978154718875885, -0.01931317336857319, 0.049339693039655685, 0.04463893920183182, 0.01790112629532814, 0.053748928010463715, 0.011724554002285004, 0.028987981379032135, -0.03931870684027672, -0.02140847034752369, 0.027603263035416603, -0.009046217426657677, -0.054805684834718704, -0.022428790107369423, -0.048428695648908615, 0.007584064733237028, -0.033251453191041946, 0.010758895426988602, 0.027111323550343513, 0.022483449429273605, 0.05385824665427208, 0.0016546015394851565, 0.00021935142285656184, -0.014393780380487442, 0.06639359146356583, -0.0349823534488678, 0.004170096945017576, -0.07820013165473938, -0.010084756650030613, -0.06428007036447525, 0.01980511285364628, -0.06336907297372818, -0.007802704349160194, 0.026072785258293152, 0.04343642294406891, -0.03676791116595268, 0.012881522998213768, 0.04988629370927811, -0.023030048236250877, -0.047444816678762436, -0.02621854469180107, 0.0647173523902893, -0.0018003613222390413, -0.01944071426987648, 0.031192597001791, -0.02315758913755417, 0.018356624990701675, -0.005939711816608906, -0.05404044687747955, 0.010758895426988602, 0.04135934263467789, 0.06347839534282684, 0.022756749764084816, 0.0023936491925269365, 0.03931870684027672, -0.03237689658999443, -0.043618619441986084, 0.010522035881876945, -0.0026692263782024384, 0.0988980233669281, -0.046060096472501755, 0.010266955941915512, 0.025708384811878204, 0.06927234679460526, 0.039901744574308395, 0.0015350328758358955, -0.0205521322786808, -0.035856910049915314, -0.046060096472501755, 0.02742106281220913, -0.06540971249341965, 0.038152627646923065, -0.03698654845356941, -0.0023731517139822245, 0.031994275748729706, -0.03833482787013054, -0.03935514762997627, 0.035346753895282745, 0.02616388536989689, -0.061219118535518646, -0.003090563230216503, 0.036968328058719635, -0.04565925896167755, 0.0002221982867922634, 0.015760278329253197, 0.038844987750053406, 0.05921491980552673, 0.06803338974714279, 0.0544048473238945, 0.023613087832927704, -0.0073016551323235035, 0.0011313465656712651, 0.09518115222454071, 0.009811456315219402, 0.0005078818066976964, -0.005497877486050129, -0.01803777553141117, -0.00040710257599130273, 0.0012275708140805364, 0.013637651689350605, -0.0559353232383728, -0.04230678081512451, -0.033123914152383804, 0.014393780380487442, -0.040958505123853683, -0.004974053241312504, -0.003632607636973262, 0.0031976057216525078, 0.009519937448203564, 0.03523743152618408, 0.03246799483895302, -0.01944071426987648, -0.03141123801469803, -0.036968328058719635, -0.006600186228752136, 0.010931985452771187, -0.012225603684782982, 0.00486017856746912, -0.007215110119432211, -0.04944901168346405, -0.01139659434556961, -0.0014735405566170812, -0.0037487598601728678, -0.041650865226984024, -0.004791853483766317, 0.06216655671596527, -0.05484212562441826, 0.01761871576309204, 0.017290756106376648, -0.04861089587211609, -0.04179662466049194, -0.06056319922208786, -0.0158787090331316, -0.017436515539884567, -0.008668153546750546, 0.011943194083869457, 0.07018334418535233, -0.01080444548279047, -0.004905728157609701, 0.0502142533659935, -0.005566202569752932, 0.02133559063076973, -0.03474549204111099, -0.021280931308865547, -0.015277449041604996, 0.04044834524393082, -0.002221698174253106, 0.007114900276064873, 0.017026567831635475, 0.01825641468167305, 0.043327100574970245, -0.029479920864105225, 0.10975713282823563, 0.013063722290098667, 0.007711604703217745, 0.016689497977495193, 0.013337021693587303, 0.015213679522275925, -0.018730133771896362, 0.021444911137223244, -0.048282936215400696, 0.005784842185676098, -0.007716159336268902, -0.003220380749553442, -0.03649460896849632, -0.009538156911730766, -0.004741748794913292, -0.0363488495349884, 0.0014655692502856255, -0.0235766489058733, 0.021317370235919952, -0.037933990359306335, 0.06777831166982651, 0.03673147037625313, 0.039063628762960434, 0.016525518149137497, -0.03924582526087761, -0.035383190959692, -0.04580501839518547, -0.05272860825061798, -0.0011740496847778559, -0.005037823226302862, 0.007652389816939831, 0.027184203267097473, 0.016133788973093033, 0.0958370715379715, 0.047590576112270355, 0.039901744574308395, -0.04554993659257889, -0.003486847737804055, -0.06573767215013504, 0.04121358320116997, -0.0036553824320435524, -0.027530383318662643, -0.07863741368055344, 0.023813508450984955, 0.02722064219415188, -0.014794619753956795, 0.02224658988416195, 0.006372436415404081, 0.027785463258624077, 0.03510989248752594, 0.013546551577746868, 0.01936783455312252, -0.029060861095786095, -0.022993609309196472, -0.017800915986299515, -0.03097395785152912, 0.06191147491335869, -0.010121196508407593, 0.05527940392494202, 0.004149599466472864, 0.021080510690808296, -0.028714681044220924, 0.063186876475811, 0.04474825784564018, -0.043327100574970245, 0.060745399445295334, -0.030718877911567688, -0.004491223953664303, -0.05444128438830376, 0.0016625727294012904, -0.021135171875357628, -0.042634740471839905, -0.03055489808320999, 0.030718877911567688, -0.02971678040921688, -0.05159896984696388, 0.015960698947310448, 0.017254317179322243, -0.057538680732250214, -0.0038558023516088724, -0.014184250496327877, 0.00430219154804945, -0.04168730229139328, 0.0012970344396308064, -0.026746923103928566, -0.028933320194482803, -0.04737193509936333, 0.053530286997556686, -0.03837126865983009, 0.03665858879685402, -0.003978786990046501, 0.009574596770107746, -0.011688114143908024, -0.08541524410247803, 0.028240961953997612, 0.0025826815981417894, 0.02860536053776741, -0.017053896561264992, 0.040666986256837845, -0.05119813233613968, 0.05068797245621681, 0.04846513271331787, 0.040594104677438736, 0.033051036298274994, -0.0012025183532387018, -0.04208814352750778, 0.05844968184828758, -0.004035724326968193, -0.06267671287059784, -0.04412877932190895, -0.04420166090130806, 0.037041209638118744, 0.018092434853315353, -0.012088953517377377, 0.016753267496824265, -0.015241009183228016, -0.03855346888303757, -0.025435086339712143, 0.012772202491760254, -0.10625889897346497, -0.021499570459127426, -0.048647332936525345, -0.009068992920219898, 0.012690212577581406, 0.021317370235919952, -0.029753219336271286, 0.007060240488499403, -0.08541524410247803, 0.028860440477728844, 0.03489125147461891, 0.018693694844841957, 0.05651836469769478, 0.0365128293633461, 0.05506076663732529, -0.018557045608758926, 0.022210149094462395, 0.0235766489058733, -0.0004480975039768964, 0.05826748162508011, -0.026418963447213173, -0.046606697142124176, 0.010749785229563713, -0.022064389660954475, -0.029352379962801933, 0.05742936208844185, 0.10144881904125214, -0.024396546185016632, 0.006864375900477171, 0.08126109093427658, 0.031137937679886818, 0.01880301535129547, -0.011387484148144722, 0.008558833040297031, -0.05422264710068703, -0.04810073599219322, 0.022465229034423828, 0.0003484570188447833, -0.056409042328596115, 0.05323876813054085, 0.021098731085658073, 0.007151340134441853, 0.006363326217979193, 0.01831107586622238, -0.0019677572418004274, -0.009223862551152706, 0.06468091160058975, -0.0619843564927578, -0.03306925669312477, 0.04886597394943237, 0.03756958991289139, -0.006882595829665661, 0.024505866691470146, 0.0315934382379055, -0.030718877911567688, 0.026182103902101517, 0.031192597001791, -0.03363407403230667, 0.0004745734331663698, 0.047590576112270355, 0.039755985140800476, -0.027038443833589554, -0.06686730682849884, 0.040594104677438736, 0.05036001279950142, 0.023376228287816048, 0.04391014203429222, 0.036549270153045654, 0.04944901168346405, 0.04452962055802345, -0.04008394479751587, -0.08315596729516983, -0.07459257543087006, -0.04176018387079239, -0.06428007036447525, -0.05163541063666344, -0.0010931985452771187, 0.003366140415892005, -0.010093865916132927, -0.04609653726220131, -0.031101498752832413, 0.01867547444999218, 0.021554231643676758, -0.07732557505369186, -0.0017058452358469367, -0.005083373282104731, -0.03028159961104393, 0.012508013285696507, -0.038699228316545486, 0.0646444708108902, -0.0033228679094463587, 0.02497958578169346, -0.08475932478904724, 0.021007630974054337, -0.03700476884841919, -0.000829008873552084, -0.026346083730459213, -0.03350653499364853, 0.03292349353432655, -0.013054612092673779, 0.02126271091401577, 0.012590003199875355, 0.004131379537284374, -0.0013072831789031625, 0.05826748162508011, -0.004810073412954807, -0.02722064219415188, 0.04482113942503929, -0.07007402181625366, 0.0692359060049057, -0.01754583604633808, -0.03212181478738785, 0.009693026542663574, -0.06755966693162918, -0.03673147037625313, 0.08111532777547836, -0.028076982125639915, -0.09379643201828003, -0.0034208004362881184, 0.013291471637785435, -0.025471525266766548, 0.01133282482624054, -0.07098502665758133, -0.02399570681154728, 0.0506150908768177, -0.011451254598796368, 0.009601927362382412, -0.020861871540546417, -0.02419612742960453, -0.05444128438830376, 0.06169283762574196, -0.021280931308865547, 0.030390918254852295, -0.0014928992604836822, 0.013118382543325424, -0.025562625378370285, -0.0028218186926096678, 0.03971954435110092, -0.05673700198531151, 0.03306925669312477, 0.007160450331866741, -0.03964666649699211, 0.018238196149468422, 0.04343642294406891, 0.026528283953666687, 0.023959267884492874, -0.014976819977164268, -0.009150982834398746, 0.016908137127757072, -0.0004646093584597111, 0.006235786713659763, -0.014639750123023987, -0.05243708938360214, -0.051088809967041016, 0.004575491417199373, -0.007748044561594725, -0.012325813062489033, -0.010658685117959976, -0.046825338155031204, 0.025635505095124245, -0.025981685146689415, -0.021882189437747, -0.016489077359437943, 0.04992273077368736, -0.020606791600584984, -0.05713784322142601, 0.008167103864252567, 0.02195507101714611, -0.0011717721354216337, 0.09321339428424835, 0.0011267915833741426, -0.026983782649040222, 0.0027876561507582664, -0.012079843319952488, 0.03330611437559128, 0.07280702143907547, 0.005816726945340633, -0.020187731832265854, 0.03394381329417229, 0.02707488276064396, -0.062202997505664825, -0.026054564863443375, 0.011050415225327015, 0.014867499470710754, -0.006673065945506096, 0.029352379962801933, -0.013163932599127293, -0.023941047489643097, 0.012599112465977669, -0.018985213711857796, 0.011642564088106155, 0.06821558624505997, 0.009000667370855808, -0.0046233185566961765, 0.010813555680215359, 0.03467261418700218, -0.05841324105858803, -0.03609377145767212, 0.038444146513938904, -0.008886792697012424, 0.019568253308534622, -0.027603263035416603, 0.05422264710068703, -0.004495779052376747, 0.011751883663237095, 0.05090660974383354, 0.01719965599477291, -0.03470905125141144, -0.008285533636808395, 0.011970523744821548, 0.03602088987827301, 0.03294171392917633, 0.04624229669570923, -0.037168748676776886, 0.060125917196273804, -0.005894162226468325, 0.006158351432532072, 0.06256739795207977, 0.02831384167075157, -0.0700375884771347, -0.021098731085658073, 0.045622818171978, 0.029498139396309853, 0.04278050363063812, -0.010294285602867603, -0.007825479842722416, 0.01600624807178974, -0.002436921698972583, 0.005885052029043436, 0.04405590146780014, 0.01685347780585289, -0.003270485671237111 ]
719,973
ibm_platform_services.resource_manager_v2
get_quota_definition
Get a quota definition. Call this method to retrieve information about a particular quota by passing the quota ID. The response can be used to identify the quota type, Standard or Paid. Information about available resources, such as number of apps, number of service instances, and memory, are returned in the response. Quotas for a resource group limit the number of apps, instances, and memory allowed for that specific resource group. Each resource group that you have on your account has a specific set of quotas. Standard quotas are for resource groups that are created by users with a Lite account, and Pay-As-You-Go quotas are for resource groups that are created with a Pay-As-You-Go account. No specific IAM policy needed. :param str id: The id of the quota. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse with `dict` result representing a `QuotaDefinition` object
def get_quota_definition(self, id: str, **kwargs) -> DetailedResponse: """ Get a quota definition. Call this method to retrieve information about a particular quota by passing the quota ID. The response can be used to identify the quota type, Standard or Paid. Information about available resources, such as number of apps, number of service instances, and memory, are returned in the response. Quotas for a resource group limit the number of apps, instances, and memory allowed for that specific resource group. Each resource group that you have on your account has a specific set of quotas. Standard quotas are for resource groups that are created by users with a Lite account, and Pay-As-You-Go quotas are for resource groups that are created with a Pay-As-You-Go account. No specific IAM policy needed. :param str id: The id of the quota. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse with `dict` result representing a `QuotaDefinition` object """ if id is None: raise ValueError('id must be provided') headers = {} sdk_headers = get_sdk_headers( service_name=self.DEFAULT_SERVICE_NAME, service_version='V2', operation_id='get_quota_definition' ) headers.update(sdk_headers) if 'headers' in kwargs: headers.update(kwargs.get('headers')) headers['Accept'] = 'application/json' path_param_keys = ['id'] path_param_values = self.encode_path_vars(id) path_param_dict = dict(zip(path_param_keys, path_param_values)) url = '/v2/quota_definitions/{id}'.format(**path_param_dict) request = self.prepare_request(method='GET', url=url, headers=headers) response = self.send(request, **kwargs) return response
(self, id: str, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
[ 0.007115582935512066, -0.036553509533405304, -0.0076123313046991825, -0.047437217086553574, -0.006887346971780062, 0.014857695437967777, -0.0038486800622195005, -0.03687572479248047, -0.047580424696207047, -0.02708396688103676, 0.04575454071164131, 0.009183129295706749, -0.012620090506970882, -0.0562802329659462, -0.010579395107924938, 0.02554449439048767, 0.03560476377606392, -0.022053832188248634, 0.026922859251499176, -0.026940759271383286, 0.04024108126759529, 0.04478789493441582, -0.014105860143899918, -0.014965100213885307, 0.061650484800338745, 0.07375144958496094, 0.030341919511556625, -0.011089568957686424, 0.010597296059131622, 0.009988667443394661, -0.019476110115647316, 0.013461429625749588, -0.02343219518661499, 0.08449195325374603, -0.04385705292224884, -0.03777076676487923, 0.016540374606847763, 0.010221377946436405, -0.16468770802021027, 0.05169761925935745, -0.054633356630802155, 0.020192144438624382, 0.04446567967534065, -0.04829645901918411, -0.012611139565706253, -0.03214990347623825, 0.009836509823799133, 0.0007132365135475993, -0.03999046981334686, 0.008986220695078373, 0.06924043595790863, -0.0029558758251369, -0.049513716250658035, -0.019350804388523102, -0.027620991691946983, 0.021677913144230843, -0.0100155184045434, 0.03898802399635315, 0.04149414226412773, 0.008408918045461178, -0.005781970452517271, 0.05925177037715912, -0.002783580217510462, -0.06591088324785233, -0.016030199825763702, 0.011250676587224007, -0.05090998113155365, 0.011143270879983902, -0.03812878206372261, 0.03859420493245125, -0.00364953326061368, -0.0015182148199528456, -0.014947199262678623, 0.011250676587224007, 0.023145781829953194, -0.026994463056325912, -0.003009578213095665, -0.05094578489661217, 0.015824340283870697, -0.0006891822558827698, -0.013309272937476635, -0.011125370860099792, 0.0646936297416687, -0.0429978109896183, 0.014517579227685928, 0.04926310479640961, 0.049728527665138245, 0.004334240220487118, 0.03676832094788551, -0.04192376136779785, -0.03809298202395439, 0.0019131519366055727, -0.056960463523864746, 0.04614835977554321, -0.011850354261696339, -0.057390082627534866, -0.05370251089334488, -0.06934784352779388, -0.045718736946582794, 0.04328422620892525, -0.056101225316524506, 0.016978943720459938, -0.013577785342931747, 0.008305988274514675, 0.05885795131325722, -0.03941764310002327, -0.011170122772455215, -0.02959008328616619, 0.014875595457851887, -0.006283193826675415, -0.03265112638473511, 0.03895222023129463, 0.02046065777540207, 0.014723438769578934, 0.02536548674106598, 0.03920283541083336, -0.005844623316079378, -0.003978461027145386, 0.023163683712482452, -0.0249179657548666, 0.015618480741977692, -0.02155260741710663, 0.04070650413632393, -0.00879378616809845, -0.0001001328055281192, 0.0498359315097332, -0.028462331742048264, 0.03456651791930199, 0.03551525995135307, -0.003741275053471327, 0.03256162256002426, -0.035855378955602646, -0.014562331140041351, 0.05477656051516533, 0.03794977441430092, 0.004869027528911829, 0.05957398563623428, 0.05581481009721756, -0.019207598641514778, 0.05624442920088768, -0.01544842217117548, 0.015367869287729263, -0.0010925105307251215, -0.04704340174794197, -0.026761751621961594, 0.01643296889960766, -0.015878042206168175, -0.030091308057308197, -0.0639059916138649, -0.0076123313046991825, -0.028909852728247643, -0.0007322560995817184, 0.026940759271383286, 0.011671345680952072, -0.02217913791537285, -0.006659111473709345, -0.0022644558921456337, -0.011975659988820553, 0.016996845602989197, -0.0012933354591950774, -0.015376819297671318, 0.033313456922769547, 0.03877321258187294, -0.0795513242483139, -0.010838956572115421, 0.005468705669045448, -0.06637630611658096, -0.04621996358036995, -0.023324791342020035, 0.03252582252025604, -0.01727430894970894, 0.01897488720715046, -0.033528268337249756, -0.03499613702297211, -0.07926490902900696, -0.007585479877889156, 0.03392208740115166, 0.0006030344520695508, -0.016782034188508987, 0.03662511333823204, 0.025884611532092094, -0.05595801770687103, -0.008838538080453873, -0.009997617453336716, 0.001052233623340726, -0.005289697553962469, 0.03286593779921532, 0.05391732230782509, 0.009872311726212502, 0.003895669709891081, -0.013094462454319, -0.01129542849957943, 0.07174655795097351, 0.025186477228999138, -0.030341919511556625, -0.046363167464733124, 0.04543232545256615, -0.030592530965805054, -0.017927689477801323, -0.021015582606196404, 0.0029715390410274267, 0.04067070409655571, 0.05040875822305679, 0.03463812172412872, 0.04385705292224884, 0.027835801243782043, 0.052270445972681046, -0.03252582252025604, -0.07214037328958511, 0.026708049699664116, -0.04915570095181465, 0.007527302019298077, -0.06616149842739105, 0.005464230664074421, -0.016737282276153564, 0.05602962151169777, 0.006721764337271452, 0.003971748054027557, 0.03177398443222046, -0.03709053620696068, 0.05542099103331566, -0.0646936297416687, -0.00927263405174017, -0.0400620736181736, -0.033528268337249756, 0.009281584061682224, 0.03528255224227905, 0.007120057940483093, -0.0336177721619606, -0.019458210095763206, 0.005406052805483341, 0.02151680737733841, 0.03325975686311722, -0.009433741681277752, -0.043320026248693466, -0.01467868685722351, 0.041171927005052567, -0.02790740504860878, 0.04385705292224884, -0.0029290243983268738, 0.028068512678146362, 0.047437217086553574, 0.01895698718726635, 0.06419239938259125, -0.0742526724934578, -0.0008200820884667337, -0.03213200345635414, 0.04425086826086044, 0.028874050825834274, -0.07024288922548294, -0.03023451380431652, -0.04557553306221962, -0.007639182265847921, 0.011017965152859688, 0.043355826288461685, -0.05087418109178543, -0.04285460337996483, -0.07704520225524902, 0.05577901005744934, -0.009764906950294971, 0.027370380237698555, -0.0074019962921738625, -0.05065936967730522, 0.0007702953880652785, -0.03447701409459114, 0.006914198398590088, -0.006314520258456469, 0.018885383382439613, -0.01596754603087902, 0.0005084956646896899, 0.024953767657279968, 0.06032581999897957, 0.013971603475511074, -0.029518481343984604, -0.020764971151947975, 0.005455280188471079, 0.04722240939736366, 0.013577785342931747, -0.031433869153261185, -0.032042499631643295, -0.03626709803938866, -0.04478789493441582, 0.07156755030155182, 0.03499613702297211, 0.035497359931468964, -0.0008128099143505096, 0.008095653727650642, 0.05173341929912567, -0.0020999920088797808, 0.0287308432161808, -0.03136226534843445, 0.0179813914000988, -0.06401339173316956, -0.009854410775005817, 0.022859368473291397, 0.03513934463262558, -0.02153470739722252, -0.03261532634496689, 0.048045847564935684, 0.04088551178574562, -0.05645924061536789, 0.04854707047343254, 0.03492453321814537, 0.003687572432681918, -0.02173161692917347, -0.02321738563477993, 0.10919510573148727, -0.04278299957513809, 0.02728087641298771, -0.0021872585639357567, -0.02259085699915886, 0.0007490381831303239, 0.0054508051835000515, -0.012727495282888412, 0.025401288643479347, 0.033152349293231964, -0.0213019959628582, 0.03218570724129677, 0.03218570724129677, 0.04786683991551399, -0.021248294040560722, 0.07546993345022202, 0.023074179887771606, -0.04897668957710266, 0.06848860532045364, -0.020943978801369667, -0.009174179285764694, 0.038880620151758194, 0.04543232545256615, 0.02149890549480915, -0.022662460803985596, -0.04539652168750763, -0.010713650844991207, -0.010794204659759998, 0.015170959755778313, -0.018205150961875916, 0.06823799014091492, -0.008963844738900661, -0.020997682586312294, 0.029912298545241356, 0.042890407145023346, -0.035479459911584854, 0.001944478484801948, 0.02767469361424446, -0.01407005824148655, 0.003947134595364332, 0.07819085568189621, -0.03726954385638237, 0.03805718198418617, 0.013461429625749588, -0.031165357679128647, -0.03701893240213394, 0.07976613193750381, 0.04131513088941574, 0.06021841615438461, -0.06157888099551201, -0.014347520656883717, 0.022018030285835266, -0.04389285296201706, 0.03027031570672989, -0.013720992021262646, -0.01821410283446312, -0.059967804700136185, 0.0338146835565567, -0.014616033993661404, -0.05141120404005051, -0.024542048573493958, -0.00537025136873126, 0.038415197283029556, -0.01833045668900013, -0.025401288643479347, -0.02343219518661499, -0.02470315620303154, 0.01626291126012802, 0.027119768783450127, 0.048690278083086014, -0.09487443417310715, 0.01096426323056221, -0.07969452440738678, 0.03499613702297211, 0.018169349059462547, 0.0002250191173516214, -0.027853703126311302, 0.008046426810324192, 0.034799229353666306, -0.015162008814513683, -0.00434319069609046, -0.039954669773578644, 0.010355634614825249, 0.007111107464879751, 0.04009787738323212, -0.023074179887771606, -0.00033004669239744544, 0.04786683991551399, -0.03859420493245125, -0.03723374009132385, -0.04349903389811516, -0.004882453475147486, 0.003023003926500678, -0.009836509823799133, 0.019887831062078476, -0.005871474742889404, 0.0039985994808375835, 0.02063966542482376, 0.012432131916284561, -0.0519840307533741, 0.049907535314559937, -0.003707710886374116, -0.00879378616809845, 0.04493110254406929, -0.019046491011977196, -0.05474076047539711, 0.009174179285764694, 0.005455280188471079, -0.010087122209370136, 0.04933470860123634, -0.020926078781485558, 0.04539652168750763, -0.005844623316079378, 0.023718608543276787, 0.03820038586854935, -0.017462266609072685, 0.02767469361424446, 0.007979298010468483, -0.010221377946436405, 0.007187186274677515, -0.03730534389615059, 0.026529040187597275, 0.02620682492852211, -0.04621996358036995, 0.04020528122782707, 0.06354796886444092, -0.053559307008981705, -0.044823694974184036, 0.012217321433126926, -0.008784836158156395, -0.004895878955721855, -0.021015582606196404, 0.003524227300658822, -0.007433322723954916, 0.027603091672062874, -0.006726239807903767, 0.00351527682505548, -0.014553381130099297, -0.02935737371444702, -0.015582678839564323, -0.07214037328958511, 0.007961397059261799, 0.034602317959070206, -0.06515904515981674, 0.015188860706984997, 0.04518171399831772, 0.09229671955108643, 0.0008195227128453553, -0.009523245505988598, -0.08263026177883148, -0.013908950611948967, -0.029339471831917763, -0.01936870627105236, -0.039954669773578644, 0.01813354901969433, 0.0037278493400663137, -0.018366258591413498, 0.036302898079156876, 0.009988667443394661, 0.030753638595342636, 0.011009015142917633, 0.03784237056970596, -0.012029362842440605, -0.016245009377598763, 0.01733696088194847, 0.010060270316898823, -0.04704340174794197, 0.0014029780868440866, 0.02704816497862339, 0.03472762554883957, 0.028909852728247643, 0.011384932324290276, -0.0018236477626487613, -0.0216958150267601, 0.12652312219142914, -0.029697488993406296, -0.0023024952970445156, -0.0023964745923876762, 0.006681487429887056, -0.03066413477063179, -0.02429143711924553, 0.010113973170518875, -0.08549439907073975, 0.009693303145468235, -0.009550096467137337, -0.01406110730022192, -0.04647057503461838, 0.015958596020936966, 0.009290535002946854, -0.0031080329790711403, 0.030968448147177696, 0.007093206979334354, -0.01212781760841608, -0.011689246632158756, 0.017748679965734482, -0.05449014902114868, 0.013407726772129536, -0.004636317025870085, 0.00008929440809879452, 0.0027791049797087908, -0.06236651912331581, 0.03284803777933121, -0.016549324616789818, -0.01054359320551157, -0.06029001995921135, -0.0035756921861320734, 0.0022308919578790665, 0.04425086826086044, -0.013506181538105011, 0.07740321755409241, -0.019494011998176575, 0.015716934576630592, 0.0017106487648561597, 0.013667289167642593, -0.009872311726212502, 0.04407186061143875, 0.009008596651256084, -0.005625338293612003, 0.027531487867236137, -0.005508982576429844, -0.040384288877248764, -0.07862047851085663, 0.03175608441233635, -0.014714487828314304, 0.06358377635478973, -0.01700579561293125, 0.006811268627643585, -0.038415197283029556, 0.0022655746433883905, 0.03324185311794281, -0.08212903887033463, -0.0357658714056015, 0.0026157598476856947, 0.020979780703783035, 0.015725886449217796, -0.00044836002052761614, -0.0498359315097332, -0.02617102488875389, -0.07482550293207169, -0.012539536692202091, 0.03626709803938866, 0.010364584624767303, 0.12100966274738312, -0.03490663319826126, 0.07675878703594208, -0.0422101728618145, 0.08019575476646423, -0.03222150728106499, -0.06924043595790863, 0.01813354901969433, -0.0008872102480381727, -0.029554283246397972, 0.025096973404288292, -0.04203116521239281, -0.017184803262352943, 0.04790263995528221, 0.05706787109375, 0.02196432650089264, -0.020747071132063866, 0.028874050825834274, -0.005289697553962469, 0.07353664189577103, -0.022644558921456337, -0.043749645352363586, -0.0322394073009491, 0.012808049097657204, 0.0016054813750088215, 0.01256638765335083, -0.03220360726118088, 0.01162659376859665, 0.025204379111528397, -0.035210948437452316, -0.010561494156718254, 0.03873741254210472, -0.009201030246913433, -0.015188860706984997, -0.0064443014562129974, -0.04836806282401085, -0.02024584636092186, 0.04980012774467468, 0.020908178761601448, 0.011232775636017323, 0.04457308351993561, 0.05767649784684181, -0.028587637469172478, 0.04138673469424248, 0.013443528674542904, -0.013658339157700539, 0.005473181139677763, 0.08986220508813858, -0.04579034075140953, -0.08391912281513214, -0.050623569637537, -0.014884546399116516, -0.01354198344051838, 0.11377771943807602, 0.00023872444580774754, 0.03023451380431652, 0.026564842090010643, 0.043355826288461685, 0.005088313017040491, -0.02599201537668705, -0.015940696001052856, -0.060182616114616394, -0.02982279472053051, -0.03701893240213394, 0.0162181593477726, 0.010409336537122726, -0.017515968531370163, -0.023056278005242348, -0.010006568394601345, 0.012888602912425995, -0.00671281386166811, -0.047437217086553574, -0.020961880683898926, 0.030592530965805054, -0.01765022613108158, 0.009451641701161861, -0.057855505496263504, 0.005978879518806934, 0.019655119627714157, -0.047831036150455475, -0.07181815803050995, -0.02532968483865261, 0.001222850987687707, 0.04725820943713188, 0.01448177732527256, -0.03386838361620903, 0.04643477126955986, 0.01406110730022192, -0.006976851262152195, 0.02062176540493965, -0.014347520656883717, 0.021624211221933365, -0.0013112362939864397, 0.03891642019152641, -0.05581481009721756, 0.05918016657233238, -0.013685190118849277, 0.06297514587640762, -0.08084017783403397, -0.05710367113351822, 0.020729169249534607, -0.010033419355750084, -0.05327289178967476, 0.05799871310591698, -0.020317450165748596, -0.03279433399438858, 0.021176690235733986, 0.018223052844405174, -0.03902382403612137, -0.04002627357840538, -0.037806566804647446, -0.024005023762583733, 0.03404739126563072, -0.02470315620303154, -0.017363812774419785, -0.054633356630802155, -0.058822151273489, -0.033993691205978394, -0.00927263405174017, -0.023790212348103523, 0.02450624667108059, 0.02046065777540207, 0.0498359315097332, 0.019207598641514778, -0.00425592390820384, -0.015358918346464634, -0.09043502807617188, 0.03805718198418617, -0.004007549956440926, -0.0045915646478533745, 0.05005074292421341, 0.045038506388664246, 0.012557437643408775, -0.025669800117611885, 0.0010796443093568087, 0.02769259549677372, -0.03254372254014015, 0.026708049699664116, 0.0003451505326665938, -0.00879378616809845, -0.09423001110553741, -0.018813779577612877, 0.005235994700342417, -0.058643143624067307, -0.00010139145888388157, -0.011447585187852383, 0.006368223112076521, -0.01637926697731018, -0.0312727615237236, -0.03531835228204727, -0.0041910335421562195, 0.01021242793649435, -0.017193755134940147, -0.06745035201311111, 0.04296201094985008, 0.01596754603087902, -0.01137598231434822, 0.014866645447909832, 0.001737500075250864, -0.037162140011787415, -0.04765202850103378, -0.006189214531332254, 0.037197940051555634, 0.07962292432785034, 0.04392865300178528, -0.008596877567470074, 0.009505344554781914, 0.018634771928191185, -0.03089684434235096, 0.034154798835515976, 0.037376947700977325, 0.017113201320171356, 0.0223760474473238, 0.04707920178771019, 0.01696104370057583, -0.012808049097657204, 0.003841967321932316, 0.052700065076351166, 0.02788950502872467, 0.051626015454530716, -0.01653142273426056, -0.04217437282204628, 0.024166129529476166, 0.029142562299966812, -0.051267996430397034, -0.035210948437452316, 0.021176690235733986, -0.044823694974184036, 0.030306117609143257, 0.0008435769705101848, 0.007930071093142033, 0.013783644884824753, 0.02642163634300232, 0.06920463591814041, 0.00274554081261158, 0.030538829043507576, -0.033975787460803986, 0.024846361950039864, 0.024237733334302902, 0.025007469579577446, 0.027979008853435516, -0.0003065518394578248, 0.04829645901918411, -0.00549108162522316, 0.020120540633797646, 0.06046902760863304, -0.024327237159013748, -0.043355826288461685, 0.012915453873574734, 0.03773496672511101, 0.04213857278227806, 0.040778107941150665, -0.04410766437649727, -0.020138442516326904, 0.014651834964752197, 0.0003076706489082426, -0.020800773054361343, 0.009022021666169167, 0.021642113104462624, -0.017435414716601372 ]
719,974
ibm_platform_services.resource_manager_v2
get_resource_group
Get a resource group. Retrieve a resource group by alias ID. Call this method to get details about a particular resource group, like the name of the resource group, associated quotas, whether the state is active, the resource group ID and the CRN. The `id` returned in the response can be used to [create a resource instance later](https://cloud.ibm.com/apidocs/resource-controller/resource-controller?code=java#create-resource-instance). Users need to be assigned an IAM policy with the Viewer role or higher on the targeted resource group. :param str id: The short or long ID of the alias. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse with `dict` result representing a `ResourceGroup` object
def get_resource_group(self, id: str, **kwargs) -> DetailedResponse: """ Get a resource group. Retrieve a resource group by alias ID. Call this method to get details about a particular resource group, like the name of the resource group, associated quotas, whether the state is active, the resource group ID and the CRN. The `id` returned in the response can be used to [create a resource instance later](https://cloud.ibm.com/apidocs/resource-controller/resource-controller?code=java#create-resource-instance). Users need to be assigned an IAM policy with the Viewer role or higher on the targeted resource group. :param str id: The short or long ID of the alias. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse with `dict` result representing a `ResourceGroup` object """ if id is None: raise ValueError('id must be provided') headers = {} sdk_headers = get_sdk_headers( service_name=self.DEFAULT_SERVICE_NAME, service_version='V2', operation_id='get_resource_group' ) headers.update(sdk_headers) if 'headers' in kwargs: headers.update(kwargs.get('headers')) headers['Accept'] = 'application/json' path_param_keys = ['id'] path_param_values = self.encode_path_vars(id) path_param_dict = dict(zip(path_param_keys, path_param_values)) url = '/v2/resource_groups/{id}'.format(**path_param_dict) request = self.prepare_request(method='GET', url=url, headers=headers) response = self.send(request, **kwargs) return response
(self, id: str, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
[ -0.01509736105799675, -0.023522060364484787, -0.04901982471346855, -0.04148978367447853, 0.007203863933682442, 0.000815443869214505, -0.011966056190431118, 0.026746558025479317, 0.012935269623994827, -0.027454830706119537, 0.020334839820861816, -0.0021714104805141687, 0.02825629524886608, -0.03164854273200035, -0.0047272443771362305, 0.01178898848593235, 0.014752544462680817, -0.026448339223861694, 0.022552847862243652, -0.05550609901547432, 0.02354069985449314, 0.05845101550221443, 0.02456582896411419, -0.01331736333668232, 0.05889834463596344, 0.08745285868644714, 0.03032519295811653, -0.01536762248724699, 0.0046713282354176044, 0.005558997392654419, -0.04025962948799133, -0.010130142793059349, -0.008662343956530094, 0.07213183492422104, -0.03718423843383789, 0.01383924763649702, -0.019328350201249123, -0.001016975031234324, -0.15581966936588287, 0.05051092430949211, -0.041303396224975586, 0.02147180214524269, 0.05517060309648514, -0.07295193523168564, 0.04029690474271774, -0.008159098215401173, 0.03278550133109093, -0.002032784977927804, -0.01609453186392784, -0.029188230633735657, 0.07045435160398483, -0.018834423273801804, -0.04119156301021576, -0.01667233183979988, -0.04376370832324028, -0.004368449095636606, -0.03899219632148743, 0.008508574217557907, 0.03345649689435959, -0.000474996049888432, -0.0018568821251392365, 0.016113171353936195, -0.03453754261136055, -0.0010606595315039158, -0.07175906002521515, -0.010195378214120865, -0.07798439264297485, -0.007525382097810507, -0.05673625320196152, 0.02907639928162098, -0.02337295189499855, 0.046261295676231384, 0.012646369636058807, -0.01721285469830036, -0.010819775052368641, -0.021770020946860313, -0.03118257410824299, -0.05181563273072243, 0.013233489356935024, -0.012049930170178413, -0.03589816763997078, -0.005381929688155651, 0.06072494015097618, -0.012692966498434544, 0.01426793821156025, -0.023801641538739204, 0.04271993786096573, -0.017604267224669456, 0.008806793950498104, -0.09155337512493134, -0.011565323919057846, 0.011332339607179165, -0.03274822607636452, 0.060389444231987, 0.037706125527620316, -0.028274932876229286, -0.03824664652347565, 0.014817779883742332, -0.011966056190431118, -0.016364794224500656, -0.0380416214466095, -0.07962460070848465, 0.009379934519529343, 0.016327515244483948, 0.0475660040974617, -0.00720852380618453, 0.009314699098467827, 0.02547912672162056, -0.0032501262612640858, 0.03714696317911148, -0.02564687468111515, -0.0018335838103666902, 0.007963391952216625, 0.017594948410987854, 0.007646533660590649, -0.006705278530716896, 0.0064443363808095455, -0.02642969973385334, 0.023298395797610283, -0.06076221540570259, -0.028815455734729767, -0.01877850666642189, 0.05695991963148117, 0.005624232813715935, 0.0031429536174982786, 0.04790150374174118, -0.05215112864971161, 0.046671345829963684, 0.012720923870801926, -0.014566157013177872, 0.007241141516715288, -0.03353105112910271, -0.06859047710895538, 0.022552847862243652, 0.016551179811358452, -0.029300063848495483, 0.03610319644212723, 0.053083065897226334, 0.020502587780356407, 0.06463906913995743, 0.027361636981368065, 0.00541920680552721, -0.030082888901233673, 0.03410885110497475, -0.01845232956111431, -0.038358479738235474, 0.06445268541574478, -0.018908977508544922, -0.030082888901233673, -0.042496275156736374, -0.000726327474694699, -0.038693975657224655, 0.035804975777864456, -0.027156610041856766, 0.005237479228526354, 0.012254956178367138, 0.018787827342748642, -0.03690465912222862, 0.03548811748623848, -0.04186255857348442, -0.028032630681991577, 0.03988685458898544, -0.018592119216918945, -0.037128325551748276, -0.004892663098871708, -0.016681652516126633, -0.005181563086807728, -0.0023286747746169567, -0.03341921791434288, 0.008690301328897476, -0.06646566092967987, 0.01893693581223488, -0.045105695724487305, -0.021285414695739746, -0.07019340991973877, 0.03403429687023163, 0.03192812204360962, -0.005172243807464838, -0.03910402953624725, 0.024509912356734276, 0.03573042154312134, -0.049653541296720505, -0.024174416437745094, 0.03446298837661743, -0.014883015304803848, 0.022180072963237762, 0.029672836884856224, 0.05435049906373024, 0.0007006992818787694, -0.0241930540651083, 0.00975736789405346, 0.008988521061837673, 0.0285358764231205, 0.03218906372785568, -0.016225002706050873, -0.05654986575245857, 0.025833262130618095, -0.012692966498434544, 0.02031620219349861, 0.017315367236733437, -0.0017229163786396384, 0.05010087043046951, 0.016597777605056763, 0.07377204298973083, 0.04603762924671173, -0.02460310608148575, -0.0027352317702025175, 0.008960562758147717, -0.060613106936216354, 0.024043945595622063, -0.04767783731222153, 0.008671662770211697, -0.015982700511813164, 0.01662573590874672, 0.022552847862243652, 0.028759540989995003, 0.01148144993931055, 0.0037114345468580723, 0.036587800830602646, -0.03649460896849632, -0.003601931966841221, -0.0678076520562172, 0.051890186965465546, -0.026877030730247498, -0.07925182580947876, -0.000039534465031465515, 0.04555302485823631, 0.002520886482670903, -0.06046399846673012, 0.00242536305449903, 0.05636347830295563, -0.044658366590738297, 0.04916893690824509, -0.023186564445495605, -0.10698623210191727, -0.013867205008864403, 0.03423932194709778, -0.012171082198619843, 0.017725419253110886, 0.016718929633498192, 0.008704280480742455, 0.04767783731222153, 0.045031141489744186, 0.06806859374046326, -0.07641874253749847, -0.010530875064432621, -0.015498093329370022, 0.014650031924247742, 0.05927111953496933, -0.04641040414571762, -0.000048708210670156404, -0.054574161767959595, -0.00428224541246891, 0.01011150423437357, 0.0013850897084921598, -0.08857118338346481, -0.05326945334672928, -0.09132971614599228, 0.036177750676870346, -0.003960727248340845, -0.021080389618873596, 0.022105518728494644, -0.05930839851498604, 0.027398914098739624, -0.0006139127654023468, 0.023596616461873055, -0.0016332175582647324, 0.025907816365361214, 0.02072625234723091, 0.0038465652614831924, 0.09490834921598434, 0.0397004671394825, 0.017436519265174866, -0.02456582896411419, -0.008028627373278141, 0.002977535128593445, 0.014445005916059017, -0.02680247463285923, -0.06639111042022705, -0.045441191643476486, -0.0121990405023098, 0.012422705069184303, -0.002765519544482231, 0.015395579859614372, 0.029561005532741547, -0.004846066236495972, 0.013783331029117107, 0.03416476771235466, -0.030679328367114067, 0.02957964316010475, -0.027902159839868546, -0.002250625053420663, -0.07947549223899841, -0.023130647838115692, -0.035059425979852676, 0.008489935658872128, -0.04447197914123535, -0.016075894236564636, 0.025404570624232292, 0.019962064921855927, -0.04916893690824509, 0.00946846790611744, 0.06229059025645256, 0.006593446247279644, -0.02961692214012146, -0.02659744955599308, 0.06598106026649475, -0.014137466438114643, -0.046671345829963684, 0.018228664994239807, -0.018964894115924835, 0.01124846562743187, 0.01732468791306019, -0.06340891867876053, -0.015507412143051624, 0.03192812204360962, 0.05856284871697426, 0.03880580887198448, 0.022646041586995125, 0.0607994943857193, -0.03623366728425026, -0.042496275156736374, 0.02307473123073578, -0.015563328750431538, 0.11026664823293686, -0.012814117595553398, -0.008326847106218338, 0.025367293506860733, 0.06560828536748886, 0.045515745878219604, -0.012553175911307335, -0.03554403409361839, -0.021210860460996628, -0.011341659352183342, 0.005055752117186785, -0.05401500314474106, 0.016690971329808235, -0.042458996176719666, -0.013242808170616627, 0.014445005916059017, -0.004515229258686304, -0.056065261363983154, -0.002520886482670903, 0.009878519922494888, -0.03688602149486542, 0.008503914810717106, 0.06736032664775848, -0.0339038260281086, -0.006877686362713575, -0.008392082527279854, 0.008671662770211697, 0.008988521061837673, 0.06363257765769958, 0.06668932735919952, 0.010335168801248074, -0.001056582317687571, -0.02544184774160385, 0.05811551958322525, 0.009887839667499065, 0.02469629980623722, -0.008629726245999336, -0.026877030730247498, -0.009459149092435837, 0.0015109010273590684, -0.012310872785747051, -0.058674681931734085, -0.028759540989995003, 0.002200533403083682, 0.03610319644212723, -0.03955135866999626, -0.026541532948613167, -0.0014503251295536757, -0.00982260424643755, 0.0019093035953119397, -0.0021189891267567873, 0.01443568617105484, -0.030623411759734154, -0.03287869691848755, -0.041303396224975586, 0.02344750612974167, 0.03817209228873253, 0.003105676267296076, 0.00652355095371604, -0.010241975076496601, -0.01927243359386921, -0.0339224636554718, 0.022925622761249542, 0.00021055925753898919, -0.042869050055742264, -0.033810634166002274, 0.04417375847697258, -0.020856725051999092, 0.03653188422322273, 0.02531137689948082, -0.011863543651998043, -0.05822735279798508, -0.03718423843383789, -0.02204960212111473, 0.0073110368102788925, -0.001743884989991784, 0.00665868166834116, 0.037575654685497284, 0.0050650713965296745, -0.012702285312116146, 0.0384703129529953, -0.029766030609607697, 0.05994211509823799, -0.041005175560712814, -0.018303219228982925, -0.033270109444856644, 0.004554836545139551, -0.03354968875646591, -0.025907816365361214, -0.03325147181749344, 0.00804726593196392, 0.041005175560712814, -0.011714433319866657, 0.12748882174491882, 0.004004994407296181, 0.026821114122867584, 0.01749243587255478, -0.01482709962874651, 0.005740724969655275, -0.011267104186117649, 0.002495258115231991, -0.04644768312573433, -0.0011224002810195088, 0.0041261459700763226, 0.014202701859176159, -0.035711780190467834, 0.02849859744310379, 0.018638717010617256, -0.04223533347249031, -0.01383924763649702, 0.013233489356935024, -0.005596274975687265, -0.02629922889173031, 0.056848086416721344, 0.04745417460799217, 0.023186564445495605, 0.03479848429560661, -0.03246864676475525, -0.029766030609607697, -0.019179239869117737, -0.03487303853034973, -0.004123816266655922, -0.036997854709625244, 0.035879530012607574, 0.030996186658740044, -0.015106679871678352, 0.07641874253749847, 0.05815279856324196, 0.03470529243350029, -0.009897158481180668, 0.0012441343860700727, -0.05725814029574394, 0.038731254637241364, 0.011966056190431118, -0.011080717667937279, -0.05930839851498604, 0.007040775381028652, 0.013578305020928383, 0.010894330218434334, 0.038656700402498245, 0.007674491498619318, 0.01625296100974083, 0.005801300518214703, 0.015526051633059978, 0.0009732904727570713, -0.03438843414187431, -0.02680247463285923, -0.001201032311655581, -0.04148978367447853, 0.024677660316228867, 0.015237150713801384, 0.04223533347249031, -0.018387094140052795, 0.01985023356974125, -0.023596616461873055, 0.04376370832324028, 0.028759540989995003, -0.006155436392873526, 0.05654986575245857, -0.02808854728937149, 0.0032035293988883495, -0.0562516488134861, 0.013988357037305832, 0.015302387066185474, -0.07783528417348862, -0.01930971071124077, 0.021770020946860313, 0.021770020946860313, -0.0653473436832428, 0.04846066236495972, -0.02982194721698761, -0.031033463776111603, -0.005498421378433704, -0.000016891337509150617, 0.015656521543860435, 0.003403895767405629, 0.007404230535030365, -0.03565586730837822, 0.005134966690093279, -0.03574905917048454, 0.037240155041217804, -0.02395075187087059, -0.009925116784870625, 0.005568316671997309, 0.023317035287618637, -0.005512400530278683, -0.04786422476172447, 0.030381107702851295, -0.008140459656715393, 0.02758530154824257, -0.03690465912222862, 0.047752391546964645, -0.03992412984371185, 0.06900052726268768, 0.012497259303927422, 0.03755701333284378, 0.05010087043046951, 0.027473468333482742, -0.008252291940152645, 0.054909661412239075, 0.010782497934997082, -0.040595125406980515, -0.05572976544499397, -0.04916893690824509, -0.0030311213340610266, 0.022888343781232834, -0.002045599278062582, 0.006146117113530636, -0.04268266260623932, -0.021210860460996628, -0.02957964316010475, 0.007269099820405245, -0.10303482413291931, -0.01501348614692688, -0.047342341393232346, -0.020502587780356407, 0.03850758820772171, 0.014873696491122246, -0.026206035166978836, -0.0032827439717948437, -0.07634418457746506, 0.008904647082090378, 0.030381107702851295, 0.010912968777120113, 0.07481580972671509, 0.013149614445865154, 0.0703052431344986, -0.03688602149486542, 0.019831594079732895, -0.0004135465424042195, -0.022403737530112267, 0.042458996176719666, -0.008308207616209984, -0.047044120728969574, -0.01724081300199032, -0.01608521305024624, 0.005540358833968639, 0.06918691843748093, 0.06180598586797714, -0.011863543651998043, -0.03880580887198448, 0.06031488627195358, 0.014510241337120533, 0.06270064413547516, -0.01480846107006073, -0.00912365224212408, -0.026653364300727844, -0.05729541555047035, -0.01923515647649765, 0.007050094660371542, -0.050324536859989166, 0.06504911929368973, 0.03668099641799927, 0.026858391240239143, 0.022105518728494644, 0.03209587186574936, -0.003720753826200962, -0.01205924991518259, 0.09610122442245483, -0.057929132133722305, -0.04029690474271774, 0.05013814941048622, 0.02076353132724762, 0.003145283553749323, 0.045515745878219604, 0.023671170696616173, -0.021770020946860313, 0.0013151944149285555, 0.022515570744872093, -0.017529712989926338, 0.026746558025479317, 0.04600035399198532, -0.0048973229713737965, -0.03518989682197571, -0.04950443282723427, 0.0034504923969507217, 0.023876195773482323, 0.058711957186460495, 0.0258518997579813, 0.03366152197122574, 0.016485944390296936, 0.026783837005496025, -0.02039075642824173, -0.07593413442373276, -0.06709937751293182, -0.01700782962143421, -0.0649372935295105, -0.06467634439468384, 0.010521555319428444, 0.0022319862619042397, -0.009007159620523453, -0.0384703129529953, -0.05159197002649307, 0.03940224647521973, 0.02452855184674263, -0.09423734992742538, 0.029430534690618515, 0.0401105172932148, -0.03077252209186554, 0.034518904983997345, -0.04294360429048538, 0.04271993786096573, 0.03755701333284378, -0.006430357228964567, -0.03272958844900131, 0.004643370397388935, -0.01205924991518259, 0.01596406102180481, 0.0016099191270768642, -0.06087404862046242, 0.04730506241321564, 0.00595507025718689, 0.06363257765769958, 0.029672836884856224, -0.012171082198619843, 0.008173077367246151, -0.0069009847939014435, -0.007846900261938572, -0.02449127472937107, 0.0343325175344944, -0.04607490822672844, 0.07224366813898087, -0.04271993786096573, -0.033773355185985565, 0.03159262612462044, -0.07082712650299072, -0.04935532063245773, 0.06914964318275452, -0.020744891837239265, -0.059084732085466385, 0.005512400530278683, 0.007725748233497143, -0.011099356226623058, 0.004776171408593655, -0.06683843582868576, -0.003972376696765423, 0.03315827623009682, -0.003688136115670204, 0.0010094030294567347, -0.03748245909810066, -0.01588018611073494, -0.041750725358724594, 0.023466143757104874, -0.024509912356734276, 0.035804975777864456, 0.01329872477799654, 0.028983205556869507, -0.004135465249419212, 0.016187725588679314, 0.03427660092711449, -0.07235550135374069, 0.051964741200208664, 0.0018300890224054456, -0.07202000170946121, 0.019346987828612328, 0.03410885110497475, 0.031462155282497406, 0.002497588051483035, -0.032655030488967896, 0.036587800830602646, -0.00016833090921863914, -0.0025837922003120184, -0.00609020097181201, -0.0299896951764822, -0.049280766397714615, -0.059830281883478165, 0.034146130084991455, -0.027063416317105293, 0.007119989953935146, -0.0015237150946632028, -0.030996186658740044, 0.04007324203848839, -0.017930446192622185, -0.023466143757104874, -0.0005690633552148938, 0.047342341393232346, -0.029672836884856224, -0.06683843582868576, 0.012143123894929886, 0.017977042123675346, 0.0007746716728433967, 0.07761161774396896, 0.009100353345274925, -0.02514362893998623, -0.011761030182242393, -0.004058580845594406, 0.024826770648360252, 0.07582230120897293, 0.013084379024803638, -0.04391281679272652, 0.04883343726396561, -0.00903511792421341, -0.03962591290473938, 0.006849728524684906, 0.008117161691188812, 0.013457153923809528, -0.003504078835248947, 0.03751973807811737, -0.03921585902571678, -0.0243980810046196, 0.03382927179336548, 0.02907639928162098, 0.013979037292301655, 0.05613981559872627, -0.007707109674811363, 0.002201698487624526, 0.01811683364212513, 0.025777345523238182, -0.054872382432222366, -0.044658366590738297, 0.05673625320196152, -0.019458821043372154, 0.020167091861367226, -0.01910468563437462, 0.04107973352074623, 0.015162596479058266, 0.04484475404024124, 0.04339093342423439, 0.02303745411336422, -0.03966318815946579, -0.01940290443599224, 0.01009286567568779, 0.05558065325021744, 0.010996842756867409, 0.03461209684610367, -0.03196540102362633, 0.07064073532819748, 0.018172748386859894, 0.0289459265768528, 0.04536663740873337, 0.010316530242562294, -0.07537496834993362, -0.011173910461366177, 0.05811551958322525, 0.07541225105524063, 0.04711867496371269, -0.033568330109119415, -0.022851066663861275, 0.043651875108480453, -0.014295895583927631, -0.003518057754263282, 0.06721121072769165, -0.0042869048193097115, -0.013410557061433792 ]
719,975
ibm_platform_services.resource_manager_v2
list_quota_definitions
List quota definitions. Get a list of all quota definitions. Quotas for a resource group limit the number of apps, instances, and memory allowed for that specific resource group. Each resource group that you have on your account has a specific set of quotas. Standard quotas are for resource groups that are created by users with a Lite account, and Pay-As-You-Go quotas are for resource groups that are created with a Pay-As-You-Go account. This method provides list of all available quota definitions. No specific IAM policy needed. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse with `dict` result representing a `QuotaDefinitionList` object
def list_quota_definitions(self, **kwargs) -> DetailedResponse: """ List quota definitions. Get a list of all quota definitions. Quotas for a resource group limit the number of apps, instances, and memory allowed for that specific resource group. Each resource group that you have on your account has a specific set of quotas. Standard quotas are for resource groups that are created by users with a Lite account, and Pay-As-You-Go quotas are for resource groups that are created with a Pay-As-You-Go account. This method provides list of all available quota definitions. No specific IAM policy needed. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse with `dict` result representing a `QuotaDefinitionList` object """ headers = {} sdk_headers = get_sdk_headers( service_name=self.DEFAULT_SERVICE_NAME, service_version='V2', operation_id='list_quota_definitions' ) headers.update(sdk_headers) if 'headers' in kwargs: headers.update(kwargs.get('headers')) headers['Accept'] = 'application/json' url = '/v2/quota_definitions' request = self.prepare_request(method='GET', url=url, headers=headers) response = self.send(request, **kwargs) return response
(self, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
[ -0.005301324184983969, -0.04177602007985115, -0.03236319497227669, -0.0699792429804802, -0.004931156989187002, 0.040859416127204895, -0.022862235084176064, -0.06719417124986649, -0.04734615609049797, 0.0029150673653930426, 0.05178816244006157, 0.010514513589441776, -0.03539504110813141, -0.06592503190040588, -0.001724142231978476, 0.02363782376050949, 0.028132712468504906, -0.042304832488298416, 0.037827569991350174, -0.03271573781967163, 0.0136873759329319, 0.054220691323280334, -0.003036252921447158, -0.01098162867128849, 0.03793333098292351, 0.04657056927680969, 0.017133455723524094, -0.014886012300848961, -0.005781660322099924, 0.034742843359708786, -0.03828587383031845, 0.014806690625846386, -0.022897489368915558, 0.06070743128657341, -0.014727368950843811, -0.05862744525074959, 0.03135845437645912, 0.012902973219752312, -0.13347174227237701, 0.039907556027173996, -0.037192996591329575, -0.0011909250169992447, 0.03645266219973564, -0.033456072211265564, 0.012382976710796356, 0.0014156694523990154, 0.037439774721860886, 0.006698264740407467, -0.01002977043390274, 0.0014145678142085671, 0.06081319600343704, -0.003862519282847643, -0.05362137407064438, -0.0292784683406353, -0.02703983709216118, 0.03564181923866272, -0.008491813205182552, 0.03141133859753609, 0.032821498811244965, -0.0034703181590884924, -0.010752477683126926, 0.05108308419585228, 0.0003227946872357279, -0.08171883225440979, -0.0040696365758776665, 0.023496808484196663, -0.044666849076747894, -0.0015302450628951192, -0.04195228964090347, 0.039978064596652985, -0.03460182622075081, -0.00483420817181468, -0.020271064713597298, 0.015300246886909008, 0.006993517279624939, -0.01725684478878975, 0.011836539022624493, -0.021822242066264153, -0.019477849826216698, -0.015185671858489513, -0.02005954086780548, 0.02171647921204567, 0.04900309443473816, -0.013061616569757462, 0.034090641885995865, 0.05270477011799812, 0.03167574107646942, 0.026211367920041084, 0.05467899516224861, -0.03825061768293381, -0.04734615609049797, -0.000641182588879019, -0.03160523250699043, 0.05816914141178131, -0.028220847249031067, -0.06634807586669922, -0.08143679797649384, -0.06860433518886566, -0.0747385323047638, 0.04255161061882973, -0.052881039679050446, 0.009677230380475521, 0.016587018966674805, 0.031464219093322754, 0.05235222727060318, -0.03476046770811081, -0.04001332074403763, -0.048262760043144226, 0.026281876489520073, 0.018314465880393982, -0.05242273584008217, 0.02649340033531189, 0.07445650547742844, 0.02975439839065075, 0.010496886447072029, 0.05432645231485367, -0.01185416616499424, -0.012735516764223576, 0.04829801619052887, -0.024290023371577263, 0.023179521784186363, 0.005006071645766497, 0.08129578083753586, 0.008738591335713863, 0.0006026235059835017, 0.05721728503704071, -0.018005993217229843, 0.04480786621570587, 0.02577069215476513, 0.003983704838901758, 0.031464219093322754, -0.028062203899025917, -0.020993772894144058, 0.024466294795274734, 0.042128559201955795, 0.01292941439896822, 0.07071957737207413, 0.014877199195325375, -0.003862519282847643, 0.017248032614588737, -0.02005954086780548, 0.012374162673950195, -0.00009199097257805988, -0.04265737161040306, -0.031217439100146294, 0.027744919061660767, 0.005407086107879877, -0.01256806030869484, -0.04223432391881943, 0.006037252023816109, -0.04001332074403763, -0.007288769818842411, 0.043891262263059616, -0.006566062103956938, -0.04290414974093437, 0.042128559201955795, -0.018023621290922165, -0.01956598460674286, -0.004043196327984333, 0.0029613382648676634, -0.021311059594154358, 0.028608642518520355, 0.012286027893424034, -0.058909475803375244, -0.006239962764084339, 0.014454150572419167, -0.04096517711877823, -0.05672372877597809, -0.031076423823833466, 0.01829683966934681, -0.011871793307363987, 0.008738591335713863, 0.0006852501537650824, -0.04385600984096527, -0.07019076496362686, 0.004406753461807966, 0.014330761507153511, 0.00688334833830595, -0.00794978253543377, 0.029155079275369644, 0.0072138551622629166, -0.05531356483697891, -0.005345391575247049, -0.036628931760787964, -0.010576208122074604, 0.0011270270915701985, 0.009968075901269913, 0.06779348850250244, -0.007874867878854275, 0.017530065029859543, -0.029066944494843483, -0.0025669338647276163, 0.0721297338604927, 0.009686043485999107, -0.032504212111234665, -0.0522112138569355, 0.02522425539791584, -0.015185671858489513, -0.029877787455916405, -0.025559168308973312, -0.02078224904835224, 0.03754553943872452, 0.03659367933869362, 0.026440519839525223, 0.05425594747066498, 0.025206629186868668, 0.038638412952423096, -0.04100043326616287, -0.04886208102107048, 0.010241294279694557, -0.03511301055550575, 0.01583787053823471, -0.06793450564146042, -0.0026352384593337774, -0.024695444852113724, 0.07551412284374237, 0.00871215108782053, -0.0011237220605835319, 0.009686043485999107, -0.04325668886303902, 0.04850953817367554, -0.051999688148498535, -0.036011986434459686, -0.06592503190040588, -0.038074348121881485, 0.027498140931129456, 0.03659367933869362, -0.009853499941527843, -0.01790023222565651, -0.021998511627316475, -0.0061826747842133045, 0.014938893727958202, 0.013837205246090889, 0.013775510713458061, -0.02698695659637451, -0.006517588160932064, 0.04463159665465355, -0.017133455723524094, 0.05274002254009247, 0.0137666966766119, 0.006001997739076614, 0.055666107684373856, 0.011483998969197273, 0.04639429971575737, -0.05330408737063408, 0.014366015791893005, -0.03023032657802105, 0.036170631647109985, 0.055419329553842545, -0.03765130043029785, -0.05298680067062378, -0.04329194501042366, -0.013987034559249878, -0.007791139651089907, 0.025964589789509773, -0.06031963974237442, -0.04318618029356003, -0.0601433664560318, 0.042375337332487106, -0.02044733427464962, 0.04963766783475876, -0.004001331981271505, -0.05905049294233322, -0.00205024192109704, -0.001897107227705419, 0.024060873314738274, 0.0088663874194026, 0.003950654063373804, -0.03461945429444313, 0.010091464966535568, 0.0259469635784626, 0.05150613188743591, 0.010091464966535568, -0.04318618029356003, -0.004891496151685715, 0.035201143473386765, 0.07304634153842926, 0.010479259304702282, -0.020711740478873253, -0.016357868909835815, -0.0006681739469058812, -0.030265580862760544, 0.05302205681800842, 0.05806338042020798, 0.060742687433958054, 0.020905638113617897, -0.016507698222994804, 0.045477692037820816, -0.0063457246869802475, 0.032662853598594666, -0.004829801619052887, 0.01463923417031765, -0.03758079186081886, -0.02411375381052494, 0.04290414974093437, 0.04121195524930954, -0.0004971368471160531, -0.02339104562997818, 0.0493556372821331, 0.06684163212776184, -0.04829801619052887, 0.057640332728624344, 0.058133888989686966, 0.01523855235427618, 0.0063104708679020405, -0.038003839552402496, 0.12106232345104218, -0.03446080908179283, 0.02362019754946232, 0.012365349568426609, -0.032451331615448, 0.007196228019893169, 0.016578204929828644, -0.012902973219752312, 0.026828313246369362, 0.016807356849312782, -0.022967997938394547, 0.03923773020505905, 0.002328969072550535, 0.01861412636935711, -0.02730424329638481, 0.06250538676977158, 0.028273729607462883, -0.06634807586669922, 0.06239962577819824, -0.000714444846380502, -0.019865643233060837, 0.05298680067062378, 0.039519764482975006, 0.006010811310261488, -0.010109092108905315, -0.07748834788799286, -0.025277135893702507, 0.009809432551264763, 0.005944710224866867, -0.012620941735804081, 0.07946257293224335, 0.009924008511006832, -0.01942496746778488, 0.0158290583640337, 0.010637902654707432, -0.03132320195436478, -0.012541620060801506, 0.01924869790673256, -0.022421561181545258, -0.00297455838881433, 0.07033178210258484, -0.012894160114228725, 0.025312390178442, 0.026616789400577545, -0.019054800271987915, -0.008090798743069172, 0.08524423837661743, 0.04695836082100868, 0.07375141978263855, -0.06708841025829315, -0.017327353358268738, 0.024607310071587563, -0.03461945429444313, 0.04798072949051857, -0.01125484798103571, 0.013660934753715992, -0.061236243695020676, 0.03599436208605766, 0.0024149008095264435, -0.04512515291571617, -0.02187512256205082, -0.01965411938726902, 0.05457323044538498, -0.022774100303649902, 0.004494888242334127, -0.035536058247089386, -0.029155079275369644, 0.023814095184206963, 0.03509538248181343, 0.04431430995464325, -0.06923890858888626, 0.025823574513196945, -0.09236554801464081, 0.02746288664638996, -0.0015049062203615904, -0.010576208122074604, -0.01069959718734026, -0.008064358495175838, 0.016172785311937332, 0.0040343827567994595, -0.016111088916659355, -0.030812019482254982, 0.007068432401865721, 0.013846018351614475, 0.03135845437645912, -0.019142936915159225, -0.010488072410225868, 0.056758981198072433, -0.05323357880115509, -0.018561244010925293, -0.06215284764766693, -0.008725371211767197, -0.004948783665895462, -0.035289280116558075, 0.019160563126206398, -0.030900154262781143, -0.023020878434181213, -0.009968075901269913, 0.00315303192473948, -0.0620470866560936, 0.04403227940201759, -0.008738591335713863, 0.0016734645469114184, 0.049531906843185425, -0.01351991854608059, -0.06352775543928146, 0.009553841315209866, -0.000004148545031057438, -0.023849347606301308, 0.056230172514915466, -0.03135845437645912, 0.0522112138569355, 0.039413999766111374, 0.04135297238826752, 0.03758079186081886, -0.04843903332948685, 0.041423480957746506, 0.03588859736919403, 0.0029613382648676634, 0.009809432551264763, -0.04304516687989235, 0.0063809785060584545, 0.006279623135924339, -0.06751146167516708, 0.03846214339137077, 0.08200086653232574, -0.0582396499812603, -0.05217595770955086, -0.003417437197640538, -0.03930823877453804, -0.002622018102556467, -0.042058054357767105, -0.0335618332028389, -0.008051138371229172, 0.017873791977763176, -0.014603979885578156, 0.02171647921204567, -0.00686572166159749, -0.0048738690093159676, -0.0006141912308521569, -0.09194249659776688, 0.005389459431171417, 0.038074348121881485, -0.06701790541410446, -0.023814095184206963, 0.028608642518520355, 0.09490383416414261, -0.005605390295386314, 0.015688041225075722, -0.05651220306754112, -0.023443927988409996, -0.03888519108295441, -0.011845353059470654, -0.056230172514915466, 0.05735829845070839, -0.007531141396611929, -0.0031464218627661467, 0.03056524135172367, 0.006200301926583052, 0.02778017334640026, 0.006204708479344845, 0.02658153511583805, 0.018085315823554993, -0.005993184633553028, 0.00902503076940775, 0.005318951327353716, -0.0370519794523716, -0.02362019754946232, 0.021452074870467186, 0.031164558604359627, 0.04974342882633209, 0.018314465880393982, 0.006032845005393028, -0.030917780473828316, 0.11119119822978973, -0.03796858713030815, 0.003005405655130744, -0.0023135454393923283, 0.005962336901575327, -0.02354968897998333, -0.031710997223854065, -0.02157546393573284, -0.09786517918109894, 0.0019477849127724767, -0.001923547824844718, -0.04473735764622688, -0.04145873337984085, -0.0027255769819021225, 0.020006660372018814, 0.011034510098397732, 0.04406753182411194, 0.010673156008124352, -0.01640193536877632, 0.007403345312923193, 0.01958361081779003, -0.04360923171043396, -0.0037633671890944242, -0.007390125188976526, 0.0018111756071448326, -0.0005894032656215131, -0.006768772844225168, 0.002802695147693157, -0.039731286466121674, -0.011686709709465504, -0.053832896053791046, 0.01981276273727417, 0.025241883471608162, 0.04286889731884003, -0.025330018252134323, 0.08468016982078552, -0.031164558604359627, 0.015934819355607033, 0.020870383828878403, 0.04727564752101898, -0.03722825273871422, 0.03015981987118721, 0.0019720220007002354, 0.006341318134218454, 0.030529987066984177, -0.023584943264722824, -0.023814095184206963, -0.060108114033937454, 0.02441341243684292, -0.012286027893424034, 0.07375141978263855, -0.007231481838971376, -0.010928748175501823, -0.0496729239821434, 0.0029877787455916405, 0.04632379114627838, -0.06102471798658371, -0.00575081305578351, 0.02354968897998333, 0.03525402769446373, 0.015934819355607033, -0.00445522740483284, -0.035289280116558075, -0.029613381251692772, -0.0854557603597641, 0.007874867878854275, 0.023285284638404846, -0.039519764482975006, 0.11083865910768509, -0.030124565586447716, 0.0778408870100975, -0.04727564752101898, 0.07311684638261795, -0.02656390890479088, -0.06021387502551079, 0.021293431520462036, 0.01150162611156702, -0.02035919949412346, 0.019636493176221848, -0.05020173266530037, -0.01926632598042488, 0.039660777896642685, 0.030054057016968727, 0.014789063483476639, -0.019283952191472054, 0.020165303722023964, -0.029965922236442566, 0.08827608078718185, -0.025664931163191795, -0.01166026946157217, -0.015811430290341377, 0.00859757512807846, 0.003820655168965459, -0.0011281288461759686, -0.007614869624376297, 0.008747405372560024, 0.035835716873407364, -0.04202279821038246, -0.023020878434181213, 0.0005257807206362486, 0.001423381268978119, -0.03396725282073021, -0.02800932340323925, -0.04050687700510025, -0.020993772894144058, 0.06659485399723053, 0.02776254527270794, 0.00791452918201685, 0.024043245241045952, 0.07121313363313675, -0.013960594311356544, 0.06352775543928146, 0.015326688066124916, -0.009130792692303658, -0.010637902654707432, 0.04991970211267471, -0.07558463513851166, -0.08750049024820328, -0.05841591954231262, -0.01647244393825531, 0.0036818422377109528, 0.12430569529533386, -0.000274733523838222, 0.019319206476211548, 0.03366759419441223, 0.01988327130675316, 0.019037174060940742, -0.009879941120743752, -0.011025696992874146, -0.0349896214902401, -0.05460848659276962, -0.020976144820451736, 0.020464962348341942, 0.005305730737745762, -0.01758294552564621, 0.002522866241633892, -0.005230816081166267, 0.0026815093588083982, 0.012233147397637367, -0.03796858713030815, -0.03484860435128212, 0.03892044350504875, 0.010690783150494099, 0.013378903269767761, -0.037757061421871185, -0.017644640058279037, 0.006980297155678272, -0.015256179496645927, -0.06222335621714592, -0.015582279302179813, -0.0011160102440044284, 0.02649340033531189, -0.0021097331773489714, -0.04403227940201759, 0.03729875758290291, 0.019777508452534676, -0.038321126252412796, -0.006812840700149536, 0.0008218594593927264, -0.016111088916659355, 0.004089467227458954, 0.0273747518658638, -0.034566573798656464, 0.034954365342855453, -0.018349720165133476, 0.05407967418432236, -0.06849857419729233, -0.034020133316516876, 0.033949628472328186, -0.006416232790797949, -0.04255161061882973, 0.05312781780958176, -0.0334031879901886, -0.018561244010925293, -0.004521328955888748, 0.04487837478518486, -0.06359826028347015, -0.042692624032497406, -0.0316581167280674, -0.05076579749584198, 0.022774100303649902, -0.02793881483376026, -0.012382976710796356, -0.03086489997804165, -0.06243487820029259, -0.03350895270705223, -0.0021824445575475693, -0.00922774150967598, 0.01090230792760849, 0.035536058247089386, 0.058521684259176254, 0.00891045480966568, -0.000057976347306976095, 0.002837949199602008, -0.07699479162693024, 0.06634807586669922, -0.02354968897998333, 0.008527067489922047, 0.056935250759124756, 0.030177446082234383, 0.00497081782668829, -0.022932743653655052, -0.0022782913874834776, 0.01972462795674801, -0.03867366537451744, 0.04272788017988205, -0.008227407932281494, 0.009906381368637085, -0.08298797905445099, -0.006363351829349995, 0.005556915886700153, -0.04438481852412224, 0.007108092773705721, 0.01249755173921585, -0.005631830543279648, 0.009959261864423752, -0.0022088850382715464, -0.05161189287900925, 0.015176857821643353, 0.005534882191568613, -0.008601982146501541, -0.05594813823699951, 0.026299502700567245, 0.03511301055550575, -0.01118433941155672, 0.03405538946390152, -0.007227075286209583, -0.046359043568372726, -0.055419329553842545, 0.004565396346151829, 0.039519764482975006, 0.06303419917821884, 0.030759137123823166, -0.010232481174170971, 0.0005274332943372428, -0.028820166364312172, -0.0010311802616342902, 0.032821498811244965, 0.07318735867738724, 0.006209115497767925, 0.01877276971936226, 0.06472638994455338, 0.014982961118221283, -0.012894160114228725, 0.009218927472829819, 0.023250030353665352, 0.003122184658423066, 0.04526617005467415, -0.02608797885477543, -0.04043636843562126, 0.03555368632078171, 0.004957597237080336, -0.034742843359708786, -0.02078224904835224, 0.02841474488377571, -0.03867366537451744, 0.023496808484196663, 0.011871793307363987, -0.006001997739076614, 0.019460221752524376, 0.04375024512410164, 0.06472638994455338, -0.003426250535994768, 0.015881938859820366, -0.04135297238826752, -0.00018122773326467723, -0.01069959718734026, 0.01292941439896822, 0.019054800271987915, 0.004728446248918772, 0.0310235433280468, -0.006649790797382593, 0.021381566300988197, 0.05270477011799812, -0.03380861133337021, -0.014304321259260178, 0.018508363515138626, 0.010470445267856121, 0.026528654620051384, 0.026687297970056534, -0.039660777896642685, -0.014586353674530983, -0.0047901407815515995, 0.009791805408895016, -0.003772180760279298, -0.008372831158339977, 0.025312390178442, -0.053268834948539734 ]
719,976
ibm_platform_services.resource_manager_v2
list_resource_groups
Get a list of all resource groups. Call this method to retrieve information about all resource groups and associated quotas in an account. The `id` returned in the response can be used to [create a resource instance later](https://cloud.ibm.com/apidocs/resource-controller/resource-controller?code=java#create-resource-instance). The response can be filtered based on queryParams such as `account_id`, `name`, `default`, and more to narrow your search.Users need to be assigned IAM policies with the Viewer role or higher on the targeted resource groups. :param str account_id: (optional) The ID of the account that contains the resource groups that you want to get. :param str date: (optional) The date in the format of YYYY-MM which returns resource groups. Deleted resource groups will be excluded before this month. :param str name: (optional) The name of the resource group. :param bool default: (optional) Boolean value to specify whether or not to list default resource groups. :param bool include_deleted: (optional) Boolean value to specify whether or not to list default resource groups. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse with `dict` result representing a `ResourceGroupList` object
def list_resource_groups( self, *, account_id: str = None, date: str = None, name: str = None, default: bool = None, include_deleted: bool = None, **kwargs ) -> DetailedResponse: """ Get a list of all resource groups. Call this method to retrieve information about all resource groups and associated quotas in an account. The `id` returned in the response can be used to [create a resource instance later](https://cloud.ibm.com/apidocs/resource-controller/resource-controller?code=java#create-resource-instance). The response can be filtered based on queryParams such as `account_id`, `name`, `default`, and more to narrow your search.Users need to be assigned IAM policies with the Viewer role or higher on the targeted resource groups. :param str account_id: (optional) The ID of the account that contains the resource groups that you want to get. :param str date: (optional) The date in the format of YYYY-MM which returns resource groups. Deleted resource groups will be excluded before this month. :param str name: (optional) The name of the resource group. :param bool default: (optional) Boolean value to specify whether or not to list default resource groups. :param bool include_deleted: (optional) Boolean value to specify whether or not to list default resource groups. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse with `dict` result representing a `ResourceGroupList` object """ headers = {} sdk_headers = get_sdk_headers( service_name=self.DEFAULT_SERVICE_NAME, service_version='V2', operation_id='list_resource_groups' ) headers.update(sdk_headers) params = { 'account_id': account_id, 'date': date, 'name': name, 'default': default, 'include_deleted': include_deleted, } if 'headers' in kwargs: headers.update(kwargs.get('headers')) headers['Accept'] = 'application/json' url = '/v2/resource_groups' request = self.prepare_request(method='GET', url=url, headers=headers, params=params) response = self.send(request, **kwargs) return response
(self, *, account_id: Optional[str] = None, date: Optional[str] = None, name: Optional[str] = None, default: Optional[bool] = None, include_deleted: Optional[bool] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
[ -0.015752729028463364, -0.029645565897226334, -0.08183528482913971, -0.07142740488052368, -0.012775021605193615, 0.019613416865468025, -0.018721044063568115, -0.011149964295327663, 0.026019714772701263, 0.005025468301028013, 0.027090560644865036, -0.01559304166585207, 0.004870477132499218, -0.027654165402054787, -0.005837997421622276, 0.003982800990343094, 0.006162069272249937, -0.027466297149658203, 0.032219357788562775, -0.051964279264211655, 0.018946485593914986, 0.040316466242074966, 0.027297215536236763, 0.010755441151559353, 0.049409277737140656, 0.054932594299316406, 0.03815598413348198, -0.012709268368780613, -0.028574718162417412, 0.05489502102136612, -0.031486671417951584, 0.01037970557808876, -0.0009546041255816817, 0.03732936456799507, -0.020458821207284927, -0.007984388619661331, -0.014371899887919426, -0.01149751991033554, -0.11550122499465942, 0.025568831712007523, 0.02650817111134529, -0.015433353371918201, 0.06421327590942383, -0.05234001576900482, 0.050686780363321304, 0.02113514579832554, 0.02951405756175518, 0.005344843957573175, 0.0153676001355052, -0.028969241306185722, 0.0733436569571495, -0.03605186194181442, -0.05962929502129555, -0.0030293709132820368, -0.03246358409523964, -0.040203746408224106, -0.04914626106619835, -0.014860356226563454, 0.01935040019452572, -0.022732025012373924, 0.014071310870349407, -0.014916717074811459, -0.04118065908551216, -0.015480320900678635, -0.0725170373916626, 0.00803605280816555, -0.03798690438270569, -0.025080373510718346, -0.0654156282544136, 0.005880267359316349, -0.049521997570991516, 0.06958629935979843, 0.02175511047244072, -0.004224680829793215, -0.04989773407578468, -0.0037174373865127563, 0.0070826224982738495, -0.008012568578124046, -0.028631078079342842, -0.02951405756175518, -0.023746510967612267, 0.01835470087826252, 0.013160151429474354, 0.0031186083797365427, 0.004710789304226637, 0.004583978559821844, 0.021604817360639572, -0.01802593097090721, 0.017922604456543922, -0.06507746875286102, -0.02421618066728115, 0.007185949943959713, -0.007030958775430918, 0.058389365673065186, 0.02705298736691475, -0.05177641287446022, -0.04441198706626892, 0.006772640161216259, -0.010952702723443508, 0.00400393595919013, -0.06331150978803635, -0.07612410187721252, -0.00911629293113947, -0.0007027436513453722, 0.01363921444863081, -0.02872501313686371, -0.03295204043388367, 0.035788848996162415, 0.006425084546208382, 0.04129337891936302, -0.05290362238883972, -0.03537553921341896, 0.06447628885507584, -0.004271647892892361, 0.017152344807982445, 0.007749553769826889, -0.029758285731077194, -0.025117946788668633, 0.04381081089377403, -0.05673612654209137, -0.016203612089157104, -0.011394192464649677, 0.08506661653518677, -0.023859232664108276, -0.026376662775874138, 0.06838393956422806, -0.02498644031584263, 0.06218429654836655, -0.001203529187478125, 0.031712114810943604, 0.005861480720341206, -0.007481841836124659, -0.04625309258699417, 0.0031749687623232603, 0.0410679392516613, -0.027466297149658203, 0.03197512775659561, 0.057825762778520584, 0.009684594348073006, 0.040316466242074966, 0.04429926723241806, 0.003224284155294299, 0.012155057862401009, 0.0461779460310936, -0.026188794523477554, -0.04317206144332886, 0.1070847436785698, -0.006988688372075558, -0.03137395158410072, -0.010445458814501762, -0.02286353148519993, -0.007035655435174704, 0.009853675030171871, -0.07680042833089828, -0.008749950677156448, 0.033064763993024826, 0.008529205806553364, -0.04783118516206741, -0.003050506114959717, -0.03834385424852371, -0.056322816759347916, 0.0659792348742485, -0.02846199832856655, -0.024178607389330864, 0.012765628285706043, -0.00483760004863143, -0.039414700120687485, -0.012803202494978905, -0.025456110015511513, -0.02812383510172367, -0.044487133622169495, 0.008125289343297482, 0.009360522031784058, -0.011450552381575108, -0.06500231474637985, 0.02600092627108097, 0.007110802922397852, -0.022018125280737877, -0.03515009582042694, -0.009445061907172203, 0.017499901354312897, -0.055082887411117554, 0.002330736955627799, 0.001025641686283052, -0.038475360721349716, 0.014052524231374264, 0.00772607047110796, 0.09017662703990936, -0.028969241306185722, -0.010220017284154892, -0.000639338162727654, 0.011431765742599964, 0.0009675200562924147, -0.004511179868131876, -0.04542647674679756, -0.050574056804180145, -0.002017232356593013, -0.003971059340983629, 0.02911953628063202, 0.017452934756875038, 0.00193151761777699, 0.05361751839518547, 0.02387801930308342, 0.020045513287186623, 0.04373566433787346, -0.02455434389412403, -0.059328705072402954, -0.011892042122781277, -0.03084792010486126, 0.0036657738965004683, -0.029814647510647774, 0.002129953121766448, -0.015104584395885468, 0.011920223012566566, 0.015076404437422752, 0.04166911542415619, 0.01661692187190056, -0.004741318058222532, 0.005518621765077114, -0.04636581614613533, 0.007195343263447285, -0.04208242520689964, 0.0001541104429634288, -0.03990315645933151, -0.06947357207536697, 0.012126877903938293, 0.03062247857451439, -0.02393437922000885, -0.023615004494786263, -0.006279486697167158, 0.017105378210544586, -0.04467500373721123, 0.02415982075035572, -0.010774227790534496, -0.06560349464416504, -0.0032430707942694426, 0.051363103091716766, -0.00026829895796254277, 0.0040391613729298115, 0.04347264766693115, -0.020609116181731224, 0.06432599574327469, 0.04129337891936302, 0.05279089882969856, -0.022130846977233887, -0.02878137305378914, -0.023220481351017952, 0.017978964373469353, 0.05260303243994713, -0.017997751012444496, -0.0257754847407341, -0.05861480534076691, -0.0057769399136304855, -0.025963352993130684, -0.0331399105489254, -0.07247946411371231, -0.07943058013916016, -0.05812634900212288, 0.015339420177042484, 0.003625851823017001, 0.013019250705838203, -0.020627902820706367, -0.07762704789638519, -0.0029894490726292133, 0.045614343136548996, 0.03982800990343094, 0.00040567739051766694, 0.016645101830363274, 0.05786333605647087, 0.018166832625865936, 0.07150255143642426, 0.02042124792933464, 0.021736323833465576, -0.03793054446578026, -0.007430178113281727, 0.004356188699603081, 0.03535675257444382, -0.06049348786473274, -0.07007475197315216, -0.022130846977233887, -0.007345637772232294, -0.0008583217859268188, -0.030697626993060112, 0.009167957119643688, 0.050235893577337265, 0.005739366635680199, -0.02421618066728115, 0.02526824176311493, -0.058163922280073166, 0.03840021416544914, 0.01702083833515644, 0.008585566654801369, -0.06898511946201324, -0.033609580248594284, -0.047230008989572525, -0.015809088945388794, -0.013131971471011639, -0.02917589619755745, 0.022356288507580757, 0.05500774085521698, -0.024911293759942055, 0.02276959829032421, 0.08341337740421295, -0.008543295785784721, -0.017443541437387466, -0.07120195776224136, 0.0495595708489418, -0.003024674253538251, -0.03515009582042694, 0.013460740447044373, -0.02098485268652439, 0.03024674393236637, 0.01935040019452572, -0.07274247705936432, 0.009647020138800144, -0.02438526228070259, 0.08687014877796173, 0.030885495245456696, 0.013902230188250542, 0.04835721477866173, -0.023070186376571655, -0.04392353072762489, -0.000012585685908561572, -0.021492095664143562, 0.08807250112295151, 0.011619633994996548, -0.01853317581117153, 0.03971529006958008, 0.04546405002474785, 0.018617715686559677, 0.015996957197785378, -0.039640143513679504, -0.04151882231235504, 0.0002565571921877563, -0.05384296178817749, -0.08296249806880951, 0.003560098120942712, -0.03374108672142029, -0.01673903688788414, 0.0035460079088807106, -0.009778527542948723, -0.055233184248209, 0.0057863336987793446, -0.014653701335191727, -0.055871933698654175, 0.004292783327400684, 0.11136813461780548, 0.000832489924505353, -0.008980088867247105, 0.047230008989572525, 0.023521069437265396, 0.050461336970329285, 0.08559264987707138, 0.09333280473947525, 0.014775816351175308, -0.022299928590655327, -0.018373487517237663, 0.052077002823352814, 0.0331399105489254, -0.0018023583106696606, -0.05703671649098396, 0.009618840180337429, -0.002247370546683669, -0.008172256872057915, 0.004264602903276682, -0.05628524348139763, -0.021830258890986443, -0.03347807377576828, 0.054256271570920944, -0.01929404027760029, -0.022694451734423637, 0.014954290352761745, -0.0220932736992836, 0.007594562601298094, 0.02382165938615799, -0.015311239287257195, 0.00895190890878439, -0.0011389495339244604, -0.021454522386193275, 0.033008404076099396, 0.03903896361589432, -0.02186783216893673, 0.029927367344498634, -0.030040089040994644, -0.028048688545823097, -0.014540980570018291, 0.029607992619276047, 0.015743335708975792, -0.05226486921310425, -0.07086379826068878, 0.0018105775816366076, 0.0013949197018519044, 0.011347225867211819, 0.011459946632385254, -0.06015532463788986, -0.041593968868255615, -0.026433022692799568, -0.012925316579639912, -0.028311703354120255, -0.025343390181660652, 0.009534299373626709, 0.050123173743486404, 0.02276959829032421, -0.03197512775659561, -0.0016332771629095078, -0.03223814442753792, 0.05451928451657295, -0.03473678603768349, -0.029814647510647774, -0.01322590559720993, 0.03351564705371857, -0.011873255483806133, -0.04283389821648598, -0.027710525318980217, -0.01193900965154171, 0.03960256651043892, -0.00878282729536295, 0.1243685930967331, 0.04196970537304878, 0.027691738680005074, -0.00603995518758893, -0.0399407297372818, 0.021961765363812447, 0.04546405002474785, -0.0028720316477119923, -0.04813177511096001, 0.016832970082759857, 0.021435735747218132, -0.035845208913087845, -0.07184071093797684, 0.05489502102136612, 0.0038841702044010162, -0.031204869970679283, -0.03124244324862957, -0.01297228317707777, -0.011121783405542374, -0.011093603447079659, 0.012493220157921314, 0.01222081109881401, 0.023558642715215683, 0.027635378763079643, -0.041368525475263596, 0.009083416312932968, -0.020627902820706367, -0.01740596815943718, 0.021492095664143562, -0.03274538740515709, 0.021266654133796692, 0.01690811663866043, -0.041481249034404755, 0.06169584020972252, 0.05279089882969856, 0.03206906095147133, -0.0010121386731043458, 0.01252140011638403, -0.02303261309862137, 0.027090560644865036, 0.01409009750932455, 0.011967189610004425, -0.060906797647476196, 0.06560349464416504, 0.02087213099002838, 0.042195145040750504, 0.03468042612075806, 0.025456110015511513, 0.025474896654486656, -0.009576570242643356, -0.01266230084002018, 0.036577895283699036, -0.05451928451657295, -0.030209168791770935, 0.023013826459646225, -0.042646028101444244, -0.0004875760932918638, 0.01572454907000065, 0.028762586414813995, -0.008026659488677979, 0.010313951410353184, -0.025587618350982666, 0.04012859985232353, 0.019838858395814896, -0.012587154284119606, 0.06947357207536697, -0.022788384929299355, 0.0007790650124661624, -0.0943097248673439, 0.007434874773025513, 0.0050160749815404415, -0.08852338790893555, -0.0218114722520113, -0.007838791236281395, -0.004182410892099142, -0.03911411017179489, 0.03345928713679314, -0.04016617313027382, -0.028330489993095398, 0.004318614955991507, -0.005283786449581385, 0.033947743475437164, 0.008496329188346863, 0.02203691378235817, -0.0538053885102272, -0.03304597735404968, -0.021773897111415863, 0.02081577107310295, 0.006063438951969147, 0.051513396203517914, -0.031054574996232986, -0.005124099086970091, -0.036408811807632446, -0.04719243571162224, 0.03575127571821213, 0.022130846977233887, 0.012277171947062016, -0.021191507577896118, 0.02990858070552349, -0.04227029159665108, 0.05673612654209137, 0.0196885634213686, 0.010313951410353184, 0.01657934859395027, 0.019115565344691277, 0.00009760328248376027, 0.08025719970464706, 0.0020113615319132805, -0.0254936832934618, -0.033572006970644, -0.042533308267593384, 0.004743666388094425, 0.04553919658064842, 0.030002515763044357, 0.008317854255437851, -0.05282847210764885, -0.028330489993095398, -0.042195145040750504, 0.017368393018841743, -0.10595753788948059, 0.01841106079518795, -0.03236965090036392, 0.034004103392362595, 0.0307352002710104, 0.016391480341553688, -0.022074487060308456, -0.011084210127592087, -0.07604895532131195, 0.03118608333170414, 0.04211999848484993, 0.006486141588538885, 0.03620215877890587, -0.010746047832071781, 0.07612410187721252, -0.04381081089377403, -0.004506482742726803, 0.004983197897672653, 0.020346101373434067, 0.03719785809516907, 0.014127671718597412, -0.05876510217785835, -0.01980128325521946, -0.03699120506644249, 0.010407885536551476, 0.07274247705936432, 0.026470597833395004, -0.022619303315877914, -0.002764007542282343, 0.06556592136621475, 0.03124244324862957, 0.06053106114268303, 0.0014829827705398202, 0.024178607389330864, 0.00458867521956563, -0.05790090933442116, -0.003980452660471201, -0.0022908151149749756, -0.02973949909210205, 0.06943599879741669, 0.04223271831870079, -0.024366475641727448, -0.013883442617952824, -0.008021961897611618, 0.005960111506283283, -0.052077002823352814, 0.0733436569571495, -0.05707428976893425, -0.011741748079657555, 0.07225402444601059, 0.003050506114959717, 0.01090573612600565, 0.042533308267593384, 0.06691857427358627, -0.016598135232925415, 0.03220057114958763, 0.02906317450106144, 0.009351127780973911, -0.01563061587512493, 0.0300213024020195, -0.004987894557416439, -0.03186240792274475, -0.060568634420633316, 0.009576570242643356, 0.03588278219103813, 0.03633366525173187, 0.051738839596509933, 0.04914626106619835, 0.006716279778629541, 0.013798902742564678, -0.016823576763272285, -0.04392353072762489, -0.02979586087167263, 0.04178183525800705, -0.057337306439876556, -0.049785010516643524, 0.03169332817196846, 0.0003369881596881896, 0.016870543360710144, -0.02560640498995781, -0.028574718162417412, 0.011375405825674534, 0.0733436569571495, -0.047455448657274246, 0.05917841196060181, 0.06838393956422806, -0.003113911719992757, 0.036127012223005295, -0.034905869513750076, 0.029758285731077194, 0.004342098254710436, 0.0122489919885993, -0.032501157373189926, 0.017387181520462036, -0.015405173413455486, 0.02198055200278759, -0.0393771268427372, -0.03967771679162979, 0.00483760004863143, 0.033665940165519714, 0.038137197494506836, -0.005692399572581053, 0.006509625352919102, -0.04178183525800705, 0.02276959829032421, 0.02030852809548378, 0.03186240792274475, 0.03616458550095558, -0.05568406730890274, 0.06244731321930885, -0.02594456635415554, -0.03359079360961914, 0.050423763692379, -0.029100747779011726, -0.07687557488679886, 0.048958394676446915, -0.044825296849012375, -0.06519018858671188, 0.0021886618342250586, 0.05534590408205986, -0.046440962702035904, -0.0052556064911186695, -0.04422412067651749, 0.001148342969827354, 0.013301052153110504, -0.018598929047584534, 0.004628597293049097, -0.018561355769634247, -0.05613495036959648, -0.04997288063168526, 0.029589205980300903, 0.017199313268065453, 0.037291791290044785, -0.014165244996547699, 0.02226235531270504, 0.011337831616401672, 0.024479197338223457, 0.05106251314282417, -0.013394986279308796, 0.08168499171733856, -0.026789972558617592, -0.030547332018613815, -0.009609446860849857, 0.002862638095393777, 0.045614343136548996, 0.0064720516093075275, -0.02846199832856655, 0.0273347906768322, 0.028330489993095398, 0.001688463380560279, -0.010032149963080883, -0.06342422962188721, -0.04129337891936302, 0.0213793758302927, 0.04407382756471634, -0.009994575753808022, -0.0037080440670251846, -0.023971952497959137, -0.02432890236377716, 0.05951657146215439, -0.019218893721699715, -0.015048224478960037, -0.016438446938991547, 0.05249031260609627, -0.01818561926484108, -0.04831964150071144, 0.02900681458413601, 0.06549077481031418, 0.002291989279910922, 0.06872210651636124, -0.01594999060034752, -0.037404511123895645, -0.013235298916697502, 0.009351127780973911, 0.0405043363571167, 0.06263518333435059, 0.0015499107539653778, -0.028969241306185722, -0.008162863552570343, 0.0017835715552791953, 0.018890123814344406, 0.0027006021700799465, 0.035676129162311554, 0.016532381996512413, 0.013798902742564678, 0.02293867990374565, -0.019312826916575432, -0.039752863347530365, 0.018768010661005974, -0.015921810641884804, -0.012342926114797592, 0.04835721477866173, -0.01935040019452572, 0.003088079858571291, 0.0278983935713768, 0.025005226954817772, -0.033215057104825974, -0.024460410699248314, 0.07199100404977798, -0.02639544941484928, 0.02571912482380867, -0.005931931082159281, 0.01780048944056034, 0.018927698954939842, 0.059892307966947556, 0.05031104385852814, 0.022074487060308456, -0.0399407297372818, -0.03146788477897644, -0.017697162926197052, 0.05628524348139763, 0.0046896543353796005, 0.021172720938920975, -0.014578554779291153, 0.058389365673065186, -0.0009311206522397697, 0.01853317581117153, 0.017603229731321335, -0.007984388619661331, -0.035394325852394104, -0.02087213099002838, 0.0572245828807354, 0.054030828177928925, 0.03282053396105766, 0.004189455881714821, 0.032106637954711914, 0.03340292349457741, -0.0004808245867025107, 0.004175365436822176, 0.02840563654899597, 0.018824370577931404, -0.03979043662548065 ]
719,985
ibm_platform_services.resource_manager_v2
update_resource_group
Update a resource group. Update a resource group by the alias ID. Call this method to update information about an existing resource group. You can rename a resource group and activate or suspend a particular resource group. To update a resource group, users need to be assigned with IAM policies with the Editor role or higher. :param str id: The short or long ID of the alias. :param str name: (optional) The new name of the resource group. :param str state: (optional) The state of the resource group. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse with `dict` result representing a `ResourceGroup` object
def update_resource_group(self, id: str, *, name: str = None, state: str = None, **kwargs) -> DetailedResponse: """ Update a resource group. Update a resource group by the alias ID. Call this method to update information about an existing resource group. You can rename a resource group and activate or suspend a particular resource group. To update a resource group, users need to be assigned with IAM policies with the Editor role or higher. :param str id: The short or long ID of the alias. :param str name: (optional) The new name of the resource group. :param str state: (optional) The state of the resource group. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse with `dict` result representing a `ResourceGroup` object """ if id is None: raise ValueError('id must be provided') headers = {} sdk_headers = get_sdk_headers( service_name=self.DEFAULT_SERVICE_NAME, service_version='V2', operation_id='update_resource_group' ) headers.update(sdk_headers) data = {'name': name, 'state': state} data = {k: v for (k, v) in data.items() if v is not None} data = json.dumps(data) headers['content-type'] = 'application/json' if 'headers' in kwargs: headers.update(kwargs.get('headers')) headers['Accept'] = 'application/json' path_param_keys = ['id'] path_param_values = self.encode_path_vars(id) path_param_dict = dict(zip(path_param_keys, path_param_values)) url = '/v2/resource_groups/{id}'.format(**path_param_dict) request = self.prepare_request(method='PATCH', url=url, headers=headers, data=data) response = self.send(request, **kwargs) return response
(self, id: str, *, name: Optional[str] = None, state: Optional[str] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
[ -0.018113698810338974, -0.020870743319392204, -0.05190397799015045, -0.042531903833150864, -0.0017596164252609015, -0.044075097888708115, -0.024484073743224144, 0.006525636184960604, 0.028097404167056084, -0.023825393989682198, 0.0008921584230847657, -0.038918573409318924, 0.029395943507552147, 0.029414763674139977, -0.026610668748617172, -0.02322317287325859, 0.01737974025309086, -0.03571927174925804, -0.006144542712718248, -0.0605609156191349, 0.012477279640734196, 0.024107685312628746, 0.0335550382733345, 0.004128511529415846, 0.05081245303153992, 0.062104105949401855, 0.09560268372297287, -0.018508905544877052, -0.022677408531308174, -0.004184970166534185, -0.0181607473641634, -0.004389631096273661, 0.001235024887137115, 0.05600661411881447, -0.02676122449338436, -0.02175525762140751, -0.03204948455095291, 0.0005607600905932486, -0.08431103080511093, 0.012928945943713188, -0.007937093265354633, 0.029640596359968185, -0.0035004133824259043, -0.038768019527196884, 0.07260534912347794, 0.040800515562295914, 0.013455890119075775, 0.025632059201598167, -0.018781786784529686, 0.002267740899696946, 0.02709997445344925, -0.062104105949401855, -0.040424127131700516, 0.008948637172579765, -0.02346782572567463, 0.024465253576636314, -0.015168458223342896, 0.0008174688555300236, 0.04189204424619675, -0.051000647246837616, 0.014829708263278008, -0.013079501688480377, -0.02717525139451027, -0.03641559183597565, -0.08799964189529419, -0.034928854554891586, -0.06511521339416504, -0.002585318638011813, -0.08393464237451553, 0.015827137976884842, -0.03035573475062847, 0.0253685861825943, 0.0010974077740684152, -0.04373634606599808, -0.045693568885326385, 0.04136509820818901, -0.03189892694354057, 0.004184970166534185, 0.015328423120081425, 0.000909801630768925, -0.009334435686469078, -0.006389195099473, 0.057098139077425, -0.017558524385094643, 0.004140273667871952, -0.022376298904418945, 0.03246350958943367, -0.029433583840727806, -0.05032314732670784, -0.10576517879962921, 0.0390314906835556, -0.013267695903778076, -0.009767282754182816, 0.009334435686469078, 0.06737354397773743, -0.010228358209133148, -0.02504865638911724, -0.03649086877703667, 0.01176214125007391, -0.008064123801887035, -0.037017811089754105, -0.08024603128433228, 0.01907348819077015, -0.00997429620474577, 0.09123657643795013, -0.021228313446044922, 0.02311025559902191, 0.02128477208316326, -0.015591895207762718, -0.022112825885415077, 0.027476362884044647, -0.05781327933073044, -0.02311025559902191, -0.005914004985243082, 0.01335238292813301, -0.006535045802593231, -0.003048747079446912, -0.05547966808080673, 0.05182870104908943, -0.04832828789949417, -0.022206922993063927, -0.006516226567327976, 0.03756357356905937, 0.03423253819346428, 0.007551294751465321, 0.03583218902349472, -0.05171578377485275, 0.07655742764472961, 0.03457128629088402, -0.03835399076342583, -0.018857065588235855, -0.05171578377485275, -0.05890480428934097, 0.03807169944047928, 0.03268934413790703, -0.022338658571243286, 0.05736161023378372, 0.020870743319392204, 0.02348664402961731, 0.011555127799510956, 0.0659056305885315, 0.016768109053373337, -0.016212936490774155, 0.02862434834241867, 0.026403656229376793, -0.030186360701918602, 0.04606995731592178, -0.018838245421648026, -0.05051134154200554, -0.0006416248506866395, -0.015366061590611935, -0.04889287054538727, 0.04994675889611244, -0.002132476307451725, -0.000023744823920424096, 0.008440513163805008, 0.01953456550836563, -0.0682392418384552, 0.03233177587389946, -0.0319177471101284, -0.016043560579419136, 0.022771505638957024, -0.014538006857037544, 0.014820298179984093, 0.0002803800452966243, -0.03918204456567764, -0.020588451996445656, 0.005518796853721142, -0.031880106776952744, 0.003488651243969798, -0.040537044405937195, 0.018038420006632805, -0.038730379194021225, 0.002742931479588151, -0.07061048597097397, 0.047274399548769, 0.015949463471770287, -0.011987974867224693, 0.0011532779317349195, -0.013277105055749416, 0.01448154915124178, 0.0008927465532906353, 0.027928028255701065, 0.03778940811753273, -0.025970809161663055, 0.033197470009326935, -0.024258241057395935, 0.06455063074827194, -0.005198866594582796, -0.03577572852373123, 0.022225743159651756, -0.03398788347840309, 0.023091435432434082, 0.028304416686296463, -0.0289254579693079, -0.029414763674139977, 0.01588359661400318, -0.051527589559555054, 0.08137519657611847, 0.015591895207762718, 0.010473011061549187, 0.00908978283405304, 0.04509134590625763, 0.10117323696613312, 0.06368494033813477, -0.0032228268682956696, 0.01976039819419384, 0.0018337179208174348, -0.031296707689762115, 0.00760775338858366, -0.02900073677301407, 0.0197039395570755, -0.030261637642979622, 0.006285688374191523, 0.02167997881770134, -0.0020654320251196623, 0.03773295134305954, 0.0006869090721011162, 0.031259067356586456, -0.018537135794758797, -0.026629488915205002, 0.0031404918991029263, 0.07377215474843979, -0.022357478737831116, -0.05570550262928009, -0.00040079496102407575, 0.027965668588876724, 0.035173509269952774, -0.043924540281295776, 0.03182365000247955, 0.013267695903778076, -0.04445148631930351, 0.05890480428934097, -0.04264482110738754, -0.05404939129948616, -0.01719154603779316, -0.007758308667689562, -0.06695952266454697, 0.0019642775878310204, 0.017125677317380905, -0.00988019909709692, 0.009127422235906124, 0.03073212318122387, 0.04339759796857834, -0.08732213824987411, -0.02497337944805622, -0.01073648314923048, -0.023863032460212708, 0.033310383558273315, -0.03825989365577698, -0.007386624813079834, -0.026140183210372925, -0.028078584000468254, 0.01620352640748024, 0.010153080336749554, -0.05175342410802841, -0.0030581566970795393, -0.022357478737831116, 0.022696228697896004, 0.0030628617387264967, -0.015968283638358116, -0.020983660593628883, -0.08837603032588959, 0.02000505104660988, 0.004893050994724035, 0.004309648647904396, 0.005683466792106628, 0.01964748091995716, 0.0251803919672966, -0.010265997610986233, 0.13474708795547485, 0.038993850350379944, -0.01648581773042679, 0.006426834035664797, -0.011122280731797218, 0.010999955236911774, 0.008896883577108383, -0.027457542717456818, -0.006600914057344198, -0.08476269990205765, 0.03762003406882286, 0.0135029386729002, -0.005208276212215424, 0.04697328805923462, 0.03063802607357502, 0.001651404658332467, -0.02508629485964775, 0.03214358165860176, -0.046182870864868164, 0.03227531537413597, 0.007777127902954817, 0.0036250920966267586, -0.07674562186002731, -0.020343799144029617, -0.044037457555532455, 0.02356192283332348, -0.0640236884355545, -0.0029381830245256424, 0.01827366277575493, -0.0012185578234493732, -0.03039337322115898, 0.03195538744330406, 0.03265170380473137, -0.0268176831305027, -0.02136004902422428, -0.04704856500029564, 0.05408703163266182, -0.0002189228544011712, -0.013653493486344814, 0.04008537903428078, -0.007918274030089378, -0.008840425871312618, -0.04829064756631851, -0.0505489781498909, 0.007711260113865137, -0.028379695490002632, 0.04185440391302109, -0.01529078371822834, 0.010228358209133148, 0.029057195410132408, -0.026140183210372925, -0.0640236884355545, 0.03801524266600609, -0.016786929219961166, 0.013230056501924992, -0.0234490055590868, 0.062405217438936234, 0.026497753337025642, 0.07482603937387466, 0.022037548944354057, -0.031052052974700928, -0.06270632892847061, 0.0326705239713192, -0.006727945059537888, -0.0034133733715862036, -0.047500234097242355, 0.026196641847491264, -0.04479023441672325, 0.01629762351512909, 0.015507207252085209, 0.009169765748083591, 0.007711260113865137, -0.0063186222687363625, 0.010595337487757206, -0.05875425040721893, 0.021623520180583, 0.03283989802002907, -0.027890389785170555, 0.03773295134305954, 0.030186360701918602, -0.011159920133650303, 0.01639172062277794, 0.03634031116962433, 0.028003307059407234, 0.04445148631930351, 0.026384836062788963, 0.00158906530123204, 0.03438309207558632, 0.02156706340610981, -0.0330469124019146, -0.04712384566664696, -0.03579454869031906, 0.0015608362155035138, -0.019139356911182404, 0.012392592616379261, -0.04648398235440254, -0.062405217438936234, 0.014500368386507034, 0.012665473856031895, -0.056307725608348846, 0.012298495508730412, -0.005989282391965389, -0.007904158905148506, 0.013804049231112003, 0.016768109053373337, 0.011959745548665524, -0.03573809191584587, -0.009597907774150372, -0.019252274185419083, -0.022225743159651756, 0.042268432676792145, -0.02525567077100277, -0.002371247624978423, -0.009362665005028248, -0.04448912292718887, -0.007527770474553108, 0.03464656323194504, -0.017182135954499245, -0.018076058477163315, -0.0328587181866169, 0.04516662284731865, -0.01340884156525135, 0.03585100919008255, 0.005749334581196308, -0.020795466378331184, -0.011254017241299152, -0.01648581773042679, -0.01446272898465395, -0.006807927507907152, -0.01865946128964424, -0.012157349847257137, 0.054764531552791595, 0.021924631670117378, -0.0005795795004814863, 0.06409896910190582, -0.033216286450624466, 0.05788855627179146, -0.002785275224596262, -0.03052511066198349, -0.002104247221723199, 0.056383002549409866, 0.0011185796465724707, -0.04505370557308197, -0.012147939763963223, -0.006041035987436771, 0.05743689090013504, -0.03763885423541069, 0.045994676649570465, 0.018076058477163315, 0.03201184421777725, 0.03895621374249458, 0.023957129567861557, -0.015742450952529907, 0.005706991069018841, -0.003319276263937354, -0.06127605214715004, 0.03086385875940323, -0.027514001354575157, 0.009776691906154156, 0.00251945061609149, 0.009536744095385075, 0.011310474947094917, -0.040424127131700516, 0.0251803919672966, 0.0036415590438991785, -0.014406271278858185, 0.040875792503356934, 0.07068576663732529, 0.02694941870868206, 0.04471495747566223, 0.040725238621234894, -0.053334254771471024, -0.02678004465997219, -0.012091481126844883, -0.04844120517373085, -0.017906684428453445, 0.00360627262853086, -0.0021983443293720484, 0.013719362206757069, -0.00629509799182415, 0.11050767451524734, 0.03379968926310539, -0.000047563160478603095, -0.01092467736452818, 0.000503419665619731, -0.024013588204979897, 0.0434352345764637, -0.01869709976017475, -0.02672358602285385, -0.052995506674051285, -0.011526898480951786, -0.006520931143313646, -0.01808546856045723, 0.08807491511106491, 0.004620169289410114, -0.009310911409556866, 0.029207749292254448, -0.016419949010014534, 0.03733774274587631, -0.020814286544919014, -0.0077394889667630196, -0.04915634170174599, -0.02501101791858673, 0.06372258067131042, -0.00807353388518095, 0.016156477853655815, -0.04162857308983803, 0.024804003536701202, -0.04723675921559334, 0.06771229952573776, 0.029188930988311768, 0.0019619252998381853, 0.06349674612283707, -0.00536824157461524, 0.02314789406955242, -0.10132379084825516, 0.03033691644668579, 0.0014126332243904471, -0.05596897378563881, -0.0055658454075455666, 0.025782614946365356, -0.0578509159386158, -0.015808317810297012, -0.016881026327610016, -0.0728311836719513, -0.045919399708509445, -0.022865602746605873, 0.011611586436629295, 0.00990842841565609, -0.015337832272052765, 0.01544133946299553, -0.03967135027050972, 0.006887909956276417, -0.033517397940158844, 0.05611953139305115, -0.01957220397889614, 0.009066258557140827, -0.02672358602285385, 0.0357569120824337, 0.031409621238708496, -0.04881759360432625, -0.005998692009598017, 0.015733040869235992, 0.015704810619354248, 0.001774907112121582, 0.03780822828412056, -0.0270058773458004, 0.06955660134553909, 0.012129120528697968, 0.014857937581837177, 0.033103372901678085, -0.010030753910541534, 0.005085949786007404, 0.049796201288700104, -0.0038979738019406796, -0.04456440359354019, -0.026403656229376793, -0.06737354397773743, 0.038504548370838165, -0.001659638131968677, -0.025537962093949318, 0.04644634574651718, -0.04524189978837967, -0.013916965574026108, -0.009433237835764885, -0.02128477208316326, -0.06372258067131042, -0.004457851871848106, -0.10674379020929337, -0.02331726998090744, 0.017756128683686256, 0.04335995763540268, -0.03459010645747185, -0.007767718285322189, -0.08634352684020996, 0.020475536584854126, 0.030242817476391792, -0.018226614221930504, 0.04889287054538727, -0.03080740198493004, 0.017539706081151962, -0.03457128629088402, 0.01530960388481617, 0.03457128629088402, -0.030129902064800262, 0.0016913959989324212, 0.0013302982551977038, -0.051602866500616074, -0.02881254255771637, -0.0010256587993353605, -0.04445148631930351, 0.047801341861486435, 0.09914074093103409, -0.040612321346998215, 0.0006292745820246637, 0.07490132004022598, 0.012063252739608288, 0.03743183985352516, 0.0002765573444776237, 0.01814192719757557, -0.01610942929983139, -0.03238823264837265, -0.0073772151954472065, -0.022790325805544853, -0.047801341861486435, 0.017633803188800812, 0.05995869264006615, 0.02002386935055256, 0.02128477208316326, 0.02713761292397976, 0.012232626788318157, -0.0115363085642457, 0.06312035769224167, -0.047726064920425415, -0.04795189946889877, 0.07234187424182892, 0.0037427134811878204, 0.04264482110738754, 0.020193245261907578, 0.044150374829769135, -0.04358579218387604, 0.014820298179984093, 0.03985954448580742, -0.05088772997260094, 0.010200128890573978, 0.024201782420277596, 0.020136786624789238, -0.06466355174779892, -0.03174837306141853, 0.0011838595382869244, 0.02512393519282341, 0.022583311423659325, 0.010821170173585415, 0.0303745549172163, -0.0014114569639787078, 0.014283944852650166, -0.012467870488762856, -0.025782614946365356, -0.053334254771471024, -0.019007621333003044, -0.03671669960021973, -0.06334619224071503, 0.01875355839729309, 0.029678234830498695, 0.00018701805674936622, -0.03609566017985344, -0.0285490695387125, 0.028379695490002632, 0.01168686430901289, -0.0868704691529274, -0.0036980172153562307, 0.035192325711250305, -0.027382265776395798, 0.014142799191176891, -0.046182870864868164, 0.02154824323952198, 0.026121364906430244, -0.022733867168426514, -0.06293216347694397, -0.025650877505540848, -0.029132472351193428, 0.03423253819346428, -0.008191155269742012, -0.062217023223638535, 0.04644634574651718, 0.006596209015697241, 0.02685532160103321, 0.03216239809989929, 0.004361402243375778, 0.015055540949106216, 0.03989718481898308, 0.0008927465532906353, 0.011969155631959438, 0.02868080511689186, -0.02154824323952198, 0.13278988003730774, -0.02166116051375866, -0.056759390980005264, -0.012900716625154018, -0.07388506829738617, -0.04840356484055519, 0.07354632019996643, -0.021077757701277733, -0.03762003406882286, 0.022301020100712776, 0.0461452342569828, -0.016288213431835175, -0.01905466988682747, -0.04719912260770798, -0.007833586074411869, 0.03775176778435707, -0.0001906937250168994, 0.016664601862430573, -0.006883205380290747, -0.007419558707624674, 0.008257023058831692, 0.02350546419620514, 0.016730470582842827, 0.05066189542412758, 0.006906729657202959, -0.024747546762228012, -0.011479849927127361, 0.029922887682914734, 0.051188841462135315, -0.054952725768089294, 0.0020807229448109865, 0.01157394703477621, -0.08069770038127899, 0.02164234034717083, 0.03714954853057861, 0.028266778215765953, -0.01601533219218254, -0.007490131538361311, -0.014829708263278008, 0.011828009970486164, 0.025951988995075226, 0.003156958846375346, -0.03895621374249458, 0.0007321932935155928, -0.0009456761763431132, 0.01181859988719225, -0.03295281529426575, -0.03442073240876198, -0.022037548944354057, -0.011112871579825878, 0.008332300931215286, -0.03447718918323517, 0.011846829205751419, -0.03086385875940323, 0.03611448034644127, -0.01522491592913866, -0.02670476585626602, 0.003578043542802334, -0.0032557607628405094, 0.01689043454825878, 0.07418617606163025, -0.03236941248178482, -0.02341136708855629, 0.011065823026001453, -0.013587625697255135, 0.006539750844240189, 0.05517856031656265, -0.026159003376960754, -0.011940926313400269, 0.08815019577741623, 0.015629533678293228, -0.016843385994434357, -0.05694758519530296, 0.022865602746605873, 0.031089693307876587, -0.013070091605186462, 0.060372721403837204, -0.05924355611205101, -0.04821537062525749, 0.011555127799510956, -0.028153862804174423, -0.002064255764707923, 0.06116313487291336, -0.0072784130461514, -0.009442646987736225, 0.01907348819077015, 0.053296614438295364, -0.03726246580481529, -0.07422381639480591, 0.051188841462135315, 0.003403963753953576, 0.05077481269836426, -0.032915178686380386, 0.0010662381537258625, 0.03596392273902893, 0.0803213119506836, 0.030562749132514, 0.03078858181834221, -0.04332232102751732, -0.016532866284251213, -0.015723630785942078, 0.054839808493852615, 0.015817727893590927, 0.027288168668746948, -0.009009800851345062, 0.04554301127791405, 0.027626918628811836, 0.022094007581472397, 0.05179106071591377, 0.051188841462135315, -0.10471128672361374, -0.012825438752770424, 0.07343339920043945, 0.07211603969335556, 0.06601855158805847, 0.006243344862014055, -0.011263426393270493, 0.042531903833150864, -0.005796383135020733, 0.01270311325788498, 0.05815202742815018, -0.025933168828487396, -0.006116313394159079 ]
719,986
ibm_platform_services.usage_metering_v4
UsageMeteringV4
The usage_metering V4 service.
class UsageMeteringV4(BaseService): """The usage_metering V4 service.""" DEFAULT_SERVICE_URL = 'https://billing.cloud.ibm.com' DEFAULT_SERVICE_NAME = 'usage_metering' @classmethod def new_instance( cls, service_name: str = DEFAULT_SERVICE_NAME, ) -> 'UsageMeteringV4': """ Return a new client for the usage_metering service using the specified parameters and external configuration. """ authenticator = get_authenticator_from_environment(service_name) service = cls(authenticator) service.configure_service(service_name) return service def __init__( self, authenticator: Authenticator = None, ) -> None: """ Construct a new client for the usage_metering service. :param Authenticator authenticator: The authenticator specifies the authentication mechanism. Get up to date information from https://github.com/IBM/python-sdk-core/blob/master/README.md about initializing the authenticator of your choice. """ BaseService.__init__(self, service_url=self.DEFAULT_SERVICE_URL, authenticator=authenticator) ######################### # Resource Usage ######################### def report_resource_usage( self, resource_id: str, resource_usage: List['ResourceInstanceUsage'], **kwargs ) -> DetailedResponse: """ Report Resource Controller resource usage. Report usage for resource instances that were provisioned through the resource controller. :param str resource_id: The resource for which the usage is submitted. :param List[ResourceInstanceUsage] resource_usage: :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse with `dict` result representing a `ResponseAccepted` object """ if resource_id is None: raise ValueError('resource_id must be provided') if resource_usage is None: raise ValueError('resource_usage must be provided') resource_usage = [convert_model(x) for x in resource_usage] headers = {} sdk_headers = get_sdk_headers( service_name=self.DEFAULT_SERVICE_NAME, service_version='V4', operation_id='report_resource_usage' ) headers.update(sdk_headers) data = json.dumps(resource_usage) headers['content-type'] = 'application/json' if 'headers' in kwargs: headers.update(kwargs.get('headers')) headers['Accept'] = 'application/json' path_param_keys = ['resource_id'] path_param_values = self.encode_path_vars(resource_id) path_param_dict = dict(zip(path_param_keys, path_param_values)) url = '/v4/metering/resources/{resource_id}/usage'.format(**path_param_dict) request = self.prepare_request(method='POST', url=url, headers=headers, data=data) response = self.send(request) return response
(authenticator: ibm_cloud_sdk_core.authenticators.authenticator.Authenticator = None) -> None
[ 0.0471680723130703, -0.09890954941511154, -0.0544157549738884, -0.015735609456896782, 0.014437228441238403, -0.008274760097265244, -0.0208516214042902, -0.0019669511821120977, -0.04453255236148834, -0.024378567934036255, -0.017838213592767715, -0.0029940293170511723, 0.011656366288661957, -0.03114178031682968, -0.008177866227924824, 0.02953333593904972, 0.00530010974034667, -0.028506258502602577, 0.040307965129613876, -0.06751584261655807, 0.024766145274043083, 0.05829152092337608, 0.01322605088353157, 0.051005080342292786, 0.03315717726945877, 0.06449274718761444, 0.033099040389060974, -0.02226627618074417, 0.029843397438526154, -0.013284187763929367, -0.051935262978076935, 0.03864138573408127, -0.04995862394571304, 0.060655735433101654, 0.018448645249009132, -0.02391347661614418, 0.03931964561343193, -0.01743125729262829, -0.13293877243995667, 0.06092704087495804, -0.019436966627836227, -0.0020299323368817568, 0.0724380686879158, -0.03211072087287903, 0.0018652123399078846, 0.044338762760162354, -0.012305556796491146, 0.04193578660488129, 0.05526842176914215, 0.00030824451823718846, 0.04519142955541611, -0.0005347345722839236, -0.03726549074053764, 0.019252866506576538, -0.01158853992819786, 0.013322945684194565, 0.015658093616366386, 0.015280207619071007, -0.03767244517803192, -0.0011251833057031035, -0.05092756450176239, 0.019698580726981163, 0.006734143476933241, -0.02028963528573513, -0.021084167063236237, 0.0024429436307400465, -0.029455821961164474, 0.022401927039027214, -0.014001204632222652, 0.04398994520306587, 0.06677944958209991, -0.021801183000206947, -0.006913397461175919, 0.018177341669797897, 0.06282616406679153, 0.008047059178352356, 0.02497931197285652, -0.04302100092172623, -0.005353401880711317, -0.06139213219285011, 0.005566569045186043, -0.01870056986808777, 0.0633687749505043, -0.044493794441223145, 0.0489509254693985, 0.053369298577308655, 0.010319226421415806, -0.031238673254847527, -0.03678102046251297, 0.02480490133166313, -0.04391242936253548, 0.028312470763921738, -0.019863300025463104, 0.0561210922896862, 0.04364112392067909, -0.06592677533626556, -0.07542240619659424, -0.045385219156742096, -0.06301995366811752, 0.045423977077007294, -0.008923951536417007, -0.03230451047420502, -0.020212119445204735, 0.005343712400645018, 0.04751688987016678, -0.0489121675491333, -0.03866076469421387, 0.01743125729262829, 0.02612266317009926, 0.022692609578371048, -0.013758969493210316, 0.030153458938002586, -0.01306133158504963, -0.02957209385931492, -0.030153458938002586, 0.053175508975982666, 0.0362577922642231, -0.017256848514080048, 0.001718660001643002, -0.010086680762469769, -0.019834231585264206, -0.061159588396549225, 0.04437752068042755, -0.016568899154663086, 0.005372780375182629, -0.006269051227718592, -0.011869532987475395, 0.0181579627096653, -0.00011165536852786317, 0.009602210484445095, 0.008919106796383858, -0.008953019045293331, 0.004299677908420563, 0.027653589844703674, 0.044842611998319626, -0.006312653888016939, -0.006821347866207361, 0.03369978442788124, -0.03426177054643631, 0.07631383091211319, 0.05340805649757385, 0.030579794198274612, -0.04216833412647247, 0.0017671070527285337, 0.010629287920892239, 0.03298276662826538, 0.016413869336247444, 0.03119991533458233, -0.07580998539924622, -0.03654847294092178, -0.053020477294921875, -0.019107526168227196, 0.03203320503234863, -0.01105562224984169, -0.025987010449171066, 0.0008544852607883513, -0.0027614831924438477, -0.0416644848883152, 0.00689401850104332, -0.051198869943618774, -0.01851647160947323, -0.018264546990394592, 0.013419839553534985, -0.03612213954329491, -0.008953019045293331, 0.030579794198274612, -0.08294139057397842, 0.00006188356928760186, -0.04852458834648132, 0.007257371675223112, -0.02466925047338009, -0.008579976856708527, -0.031238673254847527, -0.014369402080774307, 0.022053107619285583, 0.028971349820494652, 0.060113128274679184, -0.03284711763262749, 0.017479704692959785, 0.029591472819447517, 0.009989786893129349, -0.02664589136838913, -0.04569527879357338, -0.017789766192436218, -0.02517309971153736, -0.0126931332051754, 0.04840831831097603, 0.010280469432473183, 0.025328131392598152, 0.002538626780733466, 0.054338239133358, 0.05135389789938927, 0.06395013630390167, 0.04255590960383415, -0.008749541826546192, -0.010377363301813602, 0.04325354844331741, -0.00833774171769619, -0.0011366894468665123, 0.021859319880604744, -0.02482428029179573, 0.07305818796157837, 0.017508773133158684, -0.0010749194771051407, 0.017140574753284454, -0.004323901608586311, 0.02340962551534176, -0.03203320503234863, -0.09751427173614502, -0.001004671212285757, -0.028331849724054337, -0.0038975670468062162, -0.01700492389500141, 0.026510238647460938, -0.011743570677936077, 0.03282773867249489, 0.07367830723524094, -0.003798250574618578, 0.005324333440512419, -0.031258054077625275, 0.0361802764236927, -0.0325951911509037, -0.012111769057810307, -0.027091603726148605, -0.04023044928908348, 0.027808621525764465, 0.03135494515299797, 0.009045069105923176, -0.057710155844688416, -0.04604410007596016, 0.020444665104150772, 0.02592887356877327, 0.060423191636800766, 0.06030691787600517, -0.07530613243579865, -0.030386004596948624, 0.029281411319971085, -0.00007925638783490285, -0.016249148175120354, -0.003163594054058194, 0.021684911102056503, 0.03930026665329933, 0.03585083410143852, 0.012363693676888943, -0.08061593025922775, -0.028545016422867775, -0.01795448549091816, 0.039959147572517395, 0.02430105209350586, -0.025076204910874367, -0.003170860931277275, -0.05840779468417168, -0.00219586375169456, -0.012615618295967579, -0.03513382002711296, -0.07224427908658981, -0.009655501693487167, -0.041780758649110794, 0.04840831831097603, -0.012722201645374298, -0.03548263758420944, 0.0019039700273424387, -0.05150892958045006, 0.055927302688360214, -0.02608390524983406, 0.0343974232673645, 0.025056827813386917, -0.002300024963915348, 0.020754726603627205, 0.008487927727401257, 0.09371601790189743, 0.019281934946775436, -0.012877232395112514, -0.031103022396564484, -0.027828000485897064, -0.004689676687121391, 0.020057089626789093, -0.03899020701646805, -0.06356256455183029, -0.013216362334787846, -0.013419839553534985, -0.05053998902440071, 0.05929921939969063, 0.03495940938591957, 0.0035172575153410435, -0.007218614220619202, 0.04581155255436897, 0.018342062830924988, 0.00009212514123646542, 0.00029461877420544624, -0.04259466752409935, 0.03240140154957771, -0.011472267098724842, -0.04980359226465225, -0.02354527823626995, 0.039610326290130615, -0.06360132247209549, -0.032905254513025284, 0.024921175092458725, -0.023138321936130524, -0.05220656841993332, 0.01476666796952486, 0.02990153431892395, -0.00027448296896182, -0.031781282275915146, -0.04507515951991081, 0.10061488300561905, -0.039629705250263214, -0.04317603260278702, -0.018148273229599, 0.00679227989166975, 0.02790551446378231, 0.0005159613210707903, -0.07003509253263474, -0.00907898135483265, 0.05697375908493996, -0.007567433174699545, 0.04003666341304779, 0.029630230739712715, 0.05131513997912407, -0.0398428738117218, 0.05542345345020294, -0.008672025986015797, 0.0013771080411970615, 0.04929974302649498, 0.0052080606110394, -0.003899989416822791, 0.052284084260463715, 0.02118106186389923, -0.026180798187851906, -0.03154873475432396, -0.01810951717197895, -0.01831299439072609, -0.03358351066708565, 0.01849709264934063, -0.06937620788812637, 0.01305164210498333, -0.07755407691001892, -0.047206830233335495, 0.0361802764236927, 0.011385062709450722, -0.010212643072009087, -0.06495783478021622, 0.03366102650761604, -0.05348556861281395, -0.015871262177824974, 0.054454512894153595, -0.046858008950948715, 0.016762686893343925, -0.029785260558128357, -0.03302152454853058, 0.041742000728845596, 0.03026973269879818, 0.11076939105987549, 0.035618290305137634, -0.04364112392067909, -0.025870738551020622, 0.0008296561427414417, -0.011762949638068676, -0.00898693222552538, -0.04941601678729057, -0.0009477458661422133, -0.013565180823206902, 0.03877703845500946, -0.02753731794655323, -0.07677892595529556, 0.03594772890210152, -0.029998429119586945, 0.03740113973617554, 0.020987272262573242, -0.03298276662826538, -0.05906667187809944, -0.007175011560320854, 0.027614831924438477, 0.012179594486951828, 0.026025768369436264, -0.029959671199321747, 0.005053029861301184, -0.0652291402220726, 0.038331326097249985, 0.004069554153829813, 0.03408735990524292, -0.039881631731987, 0.02337086945772171, 0.07108154892921448, -0.028777562081813812, 0.013720211572945118, -0.038718901574611664, -0.008546063676476479, 0.007499607279896736, 0.025095583871006966, -0.027614831924438477, -0.0471293143928051, 0.028583774343132973, -0.01575498841702938, -0.04236212372779846, -0.07050018012523651, -0.0011300280457362533, -0.001234794850461185, -0.024727387353777885, -0.0030134080443531275, -0.00315148220397532, 0.03604462370276451, 0.020018331706523895, -0.010464567691087723, -0.04193578660488129, 0.06507410854101181, -0.04100560396909714, -0.008676870726048946, 0.052090294659137726, -0.0452689453959465, -0.022014349699020386, -0.03141308203339577, -0.01140444166958332, -0.06460902094841003, 0.0020069200545549393, -0.03945529833436012, 0.03462996706366539, 0.01755722053349018, 0.05926046147942543, 0.026878437027335167, 0.003965393174439669, 0.04402869939804077, 0.008720473386347294, -0.012954747304320335, -0.019814852625131607, -0.020696589723229408, 0.00471390038728714, 0.019659822806715965, -0.04398994520306587, 0.04298224300146103, 0.06867857277393341, -0.028506258502602577, -0.06817471981048584, -0.004965825006365776, 0.008676870726048946, -0.015706541016697884, -0.02375844493508339, 0.018148273229599, -0.025696327909827232, -0.041393179446458817, -0.031238673254847527, 0.003713468322530389, -0.0035826610401272774, -0.022072486579418182, -0.016074739396572113, -0.08170114457607269, -0.028738804161548615, 0.031044885516166687, -0.022421305999159813, 0.01322605088353157, -0.03790499269962311, 0.019291624426841736, -0.009737862274050713, -0.01761535555124283, -0.06596553325653076, 0.06247734650969505, -0.02842874266207218, 0.01368145365267992, -0.023099565878510475, 0.0030788115691393614, -0.012557481415569782, -0.001888224738650024, 0.00897724274545908, -0.0012874810490757227, 0.023254595696926117, 0.02575446479022503, 0.013797726482152939, -0.025463782250881195, 0.013410150073468685, 0.027052845805883408, 0.044881369918584824, 0.038311947137117386, 0.040114179253578186, -0.005440606269985437, 0.03662598878145218, 0.005106321536004543, 0.00841525662690401, -0.04515267163515091, -0.011133138090372086, 0.07867804914712906, 0.011811397038400173, 0.04336982220411301, -0.011840464547276497, -0.01758628711104393, 0.004144647158682346, 0.04116063565015793, -0.0208516214042902, 0.005721599329262972, -0.05364060029387474, -0.02680092118680477, 0.02466925047338009, -0.015590268187224865, 0.047555647790431976, -0.03821505233645439, -0.006690540816634893, 0.022363169118762016, -0.009364819154143333, 0.030192216858267784, 0.06395013630390167, 0.03730424866080284, -0.024184780195355415, 0.015183312818408012, -0.017450636252760887, 0.05092756450176239, 0.031258054077625275, -0.045036401599645615, 0.013855863362550735, 0.010716493241488934, 0.02879694104194641, -0.038893312215805054, 0.024572355672717094, 0.041238151490688324, 0.0040598646737635136, -0.03389357402920723, 0.030386004596948624, -0.05503587797284126, 0.0363159254193306, 0.002129248809069395, -0.03647095710039139, -0.007010291796177626, 0.04968731850385666, -0.006520976312458515, 0.0090741366147995, -0.008831901475787163, -0.010028544813394547, -0.0470905564725399, -0.06937620788812637, 0.0023496830835938454, 0.03951343521475792, -0.008579976856708527, 0.006167312618345022, -0.04096684604883194, -0.07863929122686386, 0.0013722634175792336, 0.008037369698286057, -0.0778641402721405, -0.09828942269086838, -0.013904310762882233, -0.06460902094841003, 0.029068244621157646, 0.013003194704651833, -0.02866128832101822, -0.04441627860069275, -0.04767192155122757, -0.01323574036359787, -0.010794008150696754, -0.01150133553892374, 0.015367412008345127, -0.04972607642412186, 0.06030691787600517, -0.02154925838112831, 0.027983030304312706, 0.015522442758083344, -0.0013201828114688396, 0.0470905564725399, 0.01885560154914856, -0.016704551875591278, 0.019165663048624992, 0.005382469855248928, 0.0022237207740545273, 0.0508112907409668, -0.009408421814441681, 0.0029601161368191242, 0.018913738429546356, 0.019068768247961998, 0.020037710666656494, 0.031258054077625275, -0.049028437584638596, -0.02428167313337326, 0.0013637851225212216, -0.016026291996240616, 0.000468725454993546, 0.03914523497223854, -0.04623788967728615, 0.03827318921685219, 0.01722778007388115, 0.00233030435629189, 0.03457183390855789, 0.0009653079323470592, 0.015522442758083344, 0.03951343521475792, -0.016733620315790176, -0.09441366046667099, 0.018894359469413757, 0.05340805649757385, -0.016704551875591278, -0.008047059178352356, 0.026510238647460938, 0.06212852895259857, -0.05325302481651306, -0.06298119574785233, -0.019068768247961998, -0.03575393930077553, -0.024223538115620613, 0.11007175594568253, -0.030734824016690254, -0.02937830612063408, 0.04674173891544342, 0.0687560886144638, -0.031103022396564484, 0.07863929122686386, 0.012102079577744007, -0.02412664331495762, 0.04914471134543419, 0.024959933012723923, -0.04619913175702095, -0.03678102046251297, -0.04933850094676018, 0.019979573786258698, -0.013904310762882233, -0.011937359347939491, 0.016045670956373215, -0.017470015212893486, 0.0326145701110363, -0.005406693555414677, -0.03414549678564072, 0.03083171881735325, 0.052632901817560196, -0.029765883460640907, 0.016636725515127182, 0.025463782250881195, -0.016055360436439514, 0.022421305999159813, -0.04127690568566322, 0.032149478793144226, -0.001784063526429236, -0.010823076590895653, -0.02608390524983406, -0.0014752134447917342, -0.0036892446223646402, -0.003643220057711005, 0.024049127474427223, 0.01530927512794733, 0.05697375908493996, 0.0006322343251667917, 0.03044414147734642, 0.0061285546980798244, 0.007145943585783243, 0.00898693222552538, 0.02410726435482502, 0.0015333498595282435, 0.00842494610697031, 0.0023714841809123755, -0.02571570686995983, 0.026335829868912697, -0.05759388208389282, -0.05964803695678711, 0.032537054270505905, 0.03647095710039139, -0.04736185818910599, 0.030696066096425056, 0.015406169928610325, -0.02317707985639572, -0.022905776277184486, -0.015406169928610325, -0.050307441502809525, 0.025231236591935158, 0.000705510494299233, 0.012886921875178814, -0.0634850487112999, 0.03061855025589466, 0.05600481852889061, -0.0059880586341023445, -0.015890641137957573, -0.037459276616573334, 0.04042423889040947, -0.04410621523857117, 0.020386528223752975, 0.05185774713754654, 0.05813648924231529, 0.013284187763929367, 0.03486251458525658, 0.05034619942307472, -0.05674121528863907, 0.0067874351516366005, 0.024785522371530533, -0.020425286144018173, 0.03501754626631737, 0.03457183390855789, 0.0060801077634096146, -0.0104064317420125, -0.00896755326539278, 0.0779028981924057, 0.003713468322530389, -0.03011470101773739, 0.018216099590063095, -0.010774629190564156, -0.06185722351074219, -0.04778819531202316, -0.003478500060737133, -0.03654847294092178, 0.00629811966791749, -0.02682030014693737, -0.036897290498018265, 0.015706541016697884, -0.02699471078813076, -0.09100298583507538, 0.0008114884840324521, -0.0034712329506874084, 0.026917194947600365, -0.040889330208301544, 0.029223274439573288, 0.0562373623251915, 0.02771172672510147, 0.05817524716258049, -0.013894621282815933, -0.06631435453891754, 0.033099040389060974, -0.026335829868912697, 0.08139108866453171, 0.07084900140762329, 0.031432460993528366, -0.031258054077625275, 0.013187293894588947, 0.03383543714880943, -0.07596500962972641, 0.010125438682734966, 0.012664065696299076, 0.020619075745344162, -0.014204681850969791, -0.0024489995557814837, 0.04464882239699364, -0.0435248501598835, -0.009534384123980999, 0.03920337185263634, 0.011811397038400173, 0.05650866776704788, 0.005372780375182629, 0.0471293143928051, -0.04209081828594208, 0.016801444813609123, -0.07689519971609116, 0.015435238368809223, 0.04205206036567688, -0.05057874694466591, 0.007199235260486603, 0.02247944287955761, 0.05759388208389282, 0.02232441119849682, -0.005697376094758511, 0.015522442758083344, -0.014359712600708008, 0.01719871163368225, -0.021432986482977867, 0.04767192155122757, 0.027789242565631866, -0.012073011137545109, 0.013768658973276615, -0.027866756543517113, 0.020967893302440643, -0.017537841573357582, -0.056469909846782684, 0.04054051265120506, 0.012034253217279911, -0.04038548097014427, 0.01115251611918211, -0.012160215526819229, 0.021878698840737343, -0.020231498405337334, 0.00730097433552146, -0.03172314539551735, 0.03736238554120064, -0.0003227786219213158, 0.01140444166958332, 0.09046037495136261, -0.008168176747858524, 0.011317236348986626 ]
719,987
ibm_platform_services.usage_metering_v4
__init__
Construct a new client for the usage_metering service. :param Authenticator authenticator: The authenticator specifies the authentication mechanism. Get up to date information from https://github.com/IBM/python-sdk-core/blob/master/README.md about initializing the authenticator of your choice.
def __init__( self, authenticator: Authenticator = None, ) -> None: """ Construct a new client for the usage_metering service. :param Authenticator authenticator: The authenticator specifies the authentication mechanism. Get up to date information from https://github.com/IBM/python-sdk-core/blob/master/README.md about initializing the authenticator of your choice. """ BaseService.__init__(self, service_url=self.DEFAULT_SERVICE_URL, authenticator=authenticator)
(self, authenticator: Optional[ibm_cloud_sdk_core.authenticators.authenticator.Authenticator] = None) -> NoneType
[ 0.005126168020069599, -0.08309411257505417, 0.00949954241514206, 0.003604897065088153, -0.010870702564716339, -0.017376992851495743, -0.010960320942103863, 0.018694382160902023, -0.057104796171188354, 0.004718404728919268, -0.008240405470132828, 0.035524703562259674, -0.03781893476843834, -0.019841497763991356, -0.0002829978766385466, 0.03688690438866615, -0.013093237765133381, -0.009212763980031013, 0.0050679161213338375, -0.06674773246049881, 0.01178480964154005, 0.032656919211149216, 0.007052962202578783, 0.056925561279058456, 0.02231496386229992, 0.06606663018465042, -0.005412946920841932, -0.030111758038401604, 0.009185878559947014, -0.026544949039816856, -0.02423279546201229, 0.00876019150018692, -0.03516623005270958, 0.055635057389736176, 0.0335710234940052, -0.04782033711671829, 0.02496766485273838, 0.0009174676379188895, -0.12001686543226242, 0.035417161881923676, 0.010637694969773293, -0.012591375038027763, 0.05283896625041962, -0.014392702840268612, 0.01944717764854431, 0.04394882544875145, 0.013747450895607471, 0.015288886614143848, 0.01764584891498089, -0.03251352906227112, -0.03914528340101242, 0.024429956451058388, -0.008755710907280445, 0.027530750259757042, -0.035435087978839874, 0.0402565523982048, 0.032172977924346924, -0.002538439119234681, -0.07244745641946793, 0.060331057757139206, -0.08969002217054367, 0.0012591375270858407, 0.022512122988700867, -0.0152440769597888, -0.011211252771317959, -0.00031002340256236494, -0.0404716357588768, 0.045526109635829926, 0.0040216222405433655, 0.00810149684548378, 0.07613973319530487, 0.00024603030760772526, -0.03457475081086159, -0.003954408690333366, 0.04172629117965698, -0.01624780334532261, -0.004816985223442316, -0.008899100124835968, -0.012716840021312237, -0.019303787499666214, -0.002307671820744872, 0.0016041680937632918, 0.015011069364845753, 0.010019328445196152, 0.04237154498696327, 0.015468123368918896, 0.0036721108481287956, -0.04782033711671829, -0.024627115577459335, 0.07302100956439972, -0.05201447755098343, -0.006192626431584358, -0.008751229383051395, 0.029448581859469414, -0.0017408359562978148, -0.03667181730270386, -0.04233569651842117, -0.024071482941508293, -0.023928092792630196, 0.0404357872903347, 0.01825525239109993, -0.03251352906227112, 0.0018842252902686596, 0.002321114530786872, 0.02907218411564827, -0.05248049274086952, -0.011202290654182434, -0.032800305634737015, 0.038750965148210526, 0.03989807888865471, 0.03290785104036331, 0.0008104857406578958, -0.026007238775491714, 0.03846418485045433, -0.033463481813669205, 0.06549306958913803, 0.06237435340881348, -0.027871299535036087, 0.03651050478219986, 0.0338040329515934, -0.03213713318109512, -0.031402260065078735, 0.006649679969996214, 0.004687038250267506, 0.009974519722163677, 0.0005332290311343968, 0.008634725585579872, 0.007209794130176306, -0.006138855125755072, 0.020450901240110397, 0.06223096698522568, -0.04842974245548248, 0.033463481813669205, 0.024017712101340294, 0.030810780823230743, 0.013944611884653568, 0.037532154470682144, 0.04527517780661583, -0.028821254149079323, 0.10546284914016724, 0.0031366413459181786, 0.03242390975356102, -0.04391298070549965, -0.0008043244597502053, 0.02419694885611534, 0.049720246344804764, -0.04678076505661011, 0.011937160976231098, -0.01614922285079956, -0.018084978684782982, -0.06230266019701958, -0.021096153184771538, 0.0338219553232193, -0.0037774124648422003, -0.013155970722436905, 0.0029910115990787745, 0.0017285135108977556, -0.05126168206334114, 0.008885657414793968, -0.030093833804130554, 0.001727393246255815, -0.0402565523982048, 0.06137062981724739, -0.06610247492790222, -0.015969986096024513, 0.012654107995331287, -0.060510292649269104, -0.013433787040412426, -0.0671778991818428, 0.009616046212613583, -0.036707665771245956, -0.048250507563352585, -0.05334082618355751, -0.03971884027123451, 0.05018626153469086, -0.009633970446884632, 0.0679306909441948, 0.0017710821703076363, 0.00846445094794035, 0.032603148370981216, -0.01080797053873539, 0.02158009260892868, -0.04943346977233887, -0.029161803424358368, -0.00623743562027812, -0.017063328996300697, 0.08259224891662598, -0.0050320690497756, 0.02149047516286373, 0.004294958431273699, 0.048214659094810486, 0.05111829191446304, 0.017224641516804695, 0.0472109355032444, 0.02084522321820259, 0.0013330725487321615, 0.04298095032572746, -0.010933435522019863, -0.012680993415415287, 0.050903208553791046, -0.01944717764854431, 0.0745624452829361, 0.011955084279179573, 0.009687741287052631, 0.04925423115491867, 0.016731740906834602, 0.016633160412311554, -0.024053558707237244, -0.0745624452829361, -0.030129680410027504, -0.02082729898393154, -0.03971884027123451, -0.004776656627655029, 0.0403640940785408, -0.05083151534199715, 0.03588317707180977, 0.06954382359981537, 0.0073621454648673534, 0.003858068957924843, 0.027871299535036087, 0.07714345306158066, 0.008065649308264256, 0.036815207451581955, -0.04785618558526039, -0.015996871516108513, 0.04549026116728783, 0.014276199042797089, -0.025111055001616478, -0.05513319373130798, -0.04581288993358612, 0.019841497763991356, 0.02283474989235401, 0.027333589270710945, 0.07886412739753723, -0.04470162093639374, -0.05000702664256096, 0.009625008329749107, -0.016713818535208702, -0.04921838641166687, -0.008684015832841396, 0.020701833069324493, 0.04520348459482193, 0.03308708593249321, 0.029448581859469414, -0.06567230820655823, -0.020773528143763542, -0.029824979603290558, 0.016552504152059555, 0.028642017394304276, 0.007371107116341591, -0.027387360110878944, -0.020809374749660492, 0.000499062065500766, -0.013084275647997856, 0.007057443261146545, -0.039432063698768616, -0.04599212482571602, -0.025935543701052666, 0.042299848049879074, -0.0038625497836619616, -0.01960849016904831, 0.003851347602903843, -0.05111829191446304, 0.05276726931333542, -0.014419588260352612, 0.008267290890216827, 0.039539605379104614, -0.006362901069223881, 0.0472109355032444, -0.008549588732421398, 0.12274125963449478, 0.032119207084178925, 0.02437618561089039, -0.01279749721288681, -0.03665389493107796, -0.04839389771223068, 0.035345468670129776, -0.01894531399011612, -0.04929007962346077, 0.002690790221095085, -0.0004937409539707005, -0.011623497121036053, 0.03505868837237358, 0.04782033711671829, -0.03932452201843262, -0.0028207367286086082, 0.034610599279403687, -0.014303084462881088, -0.03314085677266121, 0.002437618561089039, -0.0019290344789624214, 0.013155970722436905, 0.023480001837015152, -0.03939621523022652, -0.01559358835220337, -0.01818355917930603, -0.034126657992601395, -0.03853588178753853, -0.006358420010656118, -0.0472826287150383, -0.02353377267718315, -0.006255359388887882, -0.007160504348576069, 0.026670413091778755, -0.0053995042107999325, -0.03176073357462883, 0.050150416791439056, 0.00777887087315321, -0.02914387919008732, -0.0011202290188521147, 0.006864763796329498, 0.019913192838430405, -0.014473360031843185, -0.04466577246785164, 0.0019223131239414215, 0.060402750968933105, 0.000029458524295478128, -0.03029099479317665, 0.03115133009850979, 0.059793345630168915, -0.03310500830411911, 0.050257958471775055, -0.022476276382803917, -0.029986292123794556, -0.03159942105412483, -0.013021542690694332, 0.021436704322695732, 0.06599493324756622, -0.01346963457763195, -0.009669817052781582, -0.04642229154706001, -0.020665986463427544, 0.005789343733340502, -0.021902719512581825, -0.044271454215049744, -0.052408795803785324, 0.013245588168501854, -0.0808715745806694, -0.05610107257962227, -0.0050455117598176, 0.03520207852125168, -0.045597802847623825, -0.04097349941730499, 0.04925423115491867, -0.01896323822438717, -0.01083485595881939, 0.031456030905246735, -0.07370211184024811, 0.05047304183244705, -0.05667462944984436, -0.016373267397284508, 0.06201587989926338, 0.0009505143971182406, 0.08015462756156921, 0.05334082618355751, 0.012555527500808239, -0.009920748881995678, -0.0028543437365442514, -0.02439410798251629, -0.028749559074640274, -0.03799816966056824, 0.013980458490550518, 0.011847542598843575, 0.0336068719625473, -0.030093833804130554, -0.05800098180770874, 0.04369789734482765, -0.03256729990243912, 0.05688971281051636, 0.039467912167310715, -0.013675756752490997, -0.09951218962669373, 0.01209847442805767, 0.04574119299650192, 0.0004492118605412543, 0.02036128379404545, -0.0339294970035553, -0.003463748376816511, -0.0541294701397419, 0.025308215990662575, -0.009078336879611015, 0.07101356238126755, -0.018694382160902023, 0.05068812519311905, 0.05610107257962227, -0.010512229986488819, -0.018515145406126976, 0.002162042073905468, 0.0269930399954319, 0.024143176153302193, -0.005547374486923218, -0.04853728413581848, -0.026043085381388664, 0.015432275831699371, -0.006654160562902689, -0.02831939049065113, -0.044845011085271835, -0.02713642828166485, -0.003486152971163392, -0.040865957736968994, 0.041511207818984985, -0.045454416424036026, 0.0676439106464386, 0.020630137994885445, -0.023175299167633057, -0.0031971337739378214, 0.027315665036439896, -0.059685803949832916, 0.011175405234098434, 0.0005374298780225217, -0.03306916356086731, -0.008267290890216827, -0.011641420423984528, 0.015226153656840324, -0.04118858277797699, 0.013702642172574997, -0.08961832523345947, 0.0026415002066642046, 0.025344062596559525, 0.019429253414273262, 0.026813803240656853, -0.007003671955317259, 0.01148906908929348, -0.002932759700343013, -0.006999191362410784, 0.0052740382961928844, -0.011040978133678436, -0.008822924457490444, 0.017269451171159744, -0.05857453867793083, 0.03455682471394539, 0.06434595584869385, 0.01960849016904831, -0.06370070576667786, -0.009365115314722061, 0.04592043161392212, -0.06653264164924622, -0.03444928303360939, 0.01969810761511326, -0.0402565523982048, -0.05527658388018608, -0.06445349752902985, 0.008881175890564919, -0.028731634840369225, 0.014778061769902706, -0.036098260432481766, -0.0874674841761589, 0.018676459789276123, 0.07244745641946793, -0.0338040329515934, 0.02150839753448963, -0.05846699699759483, 0.02557707019150257, 0.0023031909950077534, -0.027405284345149994, -0.04792788252234459, 0.026831727474927902, -0.00842412281781435, 0.027405284345149994, -0.008513741195201874, -0.019303787499666214, -0.0338219553232193, 0.002004089765250683, -0.02779960446059704, 0.019859420135617256, 0.0337861105799675, 0.021096153184771538, 0.023462077602744102, -0.005412946920841932, 0.010539115406572819, -0.004019381944090128, 0.021974412724375725, 0.034019116312265396, 0.05473887175321579, 0.001372280647046864, 0.025397833436727524, 0.0031747291795909405, -0.0203254371881485, -0.05183523893356323, 0.004160530865192413, 0.042801711708307266, 0.0006659762002527714, 0.02625816874206066, 0.019106626510620117, -0.03640296310186386, 0.016633160412311554, -0.013388978317379951, -0.04330357536673546, 0.036779362708330154, -0.043626200407743454, -0.017305299639701843, 0.09822168201208115, 0.0026616642717272043, 0.010503267869353294, 0.0474977120757103, 0.04509594291448593, 0.04100934416055679, 0.004344248212873936, 0.028659939765930176, 0.08316580951213837, 0.013908764347434044, -0.004816985223442316, 0.028713712468743324, -0.04108104109764099, 0.06524214148521423, 0.008325542323291302, -0.08036971837282181, 0.005771420430392027, 0.007061924319714308, 0.023910168558359146, 0.01881984807550907, -0.0005920410621911287, -0.01355029083788395, 0.004194137640297413, -0.02098861150443554, 0.0019133512396365404, -0.0739888921380043, -0.02828354388475418, -0.034090809524059296, -0.04316018521785736, 0.006833397317677736, 0.05678217113018036, -0.022476276382803917, 0.006694489158689976, 0.004498839844018221, -0.047712795436382294, -0.03448513150215149, -0.040937650948762894, -0.000190999053302221, 0.005327809602022171, 0.01484079472720623, -0.011238138191401958, -0.0471033938229084, -0.02831939049065113, 0.015790749341249466, -0.002950683468952775, -0.11148519814014435, -0.05986504256725311, 0.0066138324327766895, -0.06861179322004318, 0.018568916246294975, 0.0010888626566156745, 0.0021508398931473494, -0.03505868837237358, -0.0027938513085246086, 0.00018525788618717343, -0.05463133007287979, 0.013048428110778332, -0.013711604289710522, -0.01951887086033821, 0.05936317890882492, -0.01764584891498089, -0.012994657270610332, -0.026670413091778755, -0.028534475713968277, 0.010270260274410248, 0.014356856234371662, -0.03599071875214577, 0.02563084103167057, 0.012385252863168716, 0.008585435338318348, 0.013388978317379951, -0.04911084100604057, 0.023336611688137054, 0.0303268413990736, -0.012214978225529194, 0.011318794451653957, -0.014733253046870232, -0.06868348270654678, -0.0014955057995393872, -0.011883390136063099, -0.027835452929139137, -0.008545107208192348, 0.09148238599300385, -0.07972446084022522, 0.056244462728500366, 0.021167848259210587, 0.018497223034501076, 0.028570322319865227, -0.03219090402126312, 0.0056414734572172165, 0.04301679506897926, -0.032800305634737015, -0.05466717854142189, 0.006775145418941975, 0.02625816874206066, -0.019017009064555168, -0.05792928487062454, -0.0168751310557127, 0.025128979235887527, -0.03586525470018387, -0.08538834005594254, -0.018443452194333076, -0.010781084187328815, -0.045526109635829926, 0.04939762130379677, -0.025828002020716667, -0.04126027598977089, 0.08309411257505417, 0.06950797140598297, -0.027243971824645996, 0.08252055197954178, -0.019393404945731163, 0.012062626890838146, 0.0405791774392128, 0.01748453453183174, -0.06291206181049347, -0.013541328720748425, -0.04380543902516365, 0.00574453454464674, -0.005802786443382502, 0.031258873641490936, -0.0006228473503142595, 0.014249313622713089, 0.03538131341338158, 0.014688443392515182, -0.0036026567686349154, 0.004330805502831936, 0.041618749499320984, 0.007751984987407923, 0.015629436820745468, 0.024017712101340294, -0.0007287090411409736, 0.041547056287527084, -0.06000843271613121, -0.017394917085766792, 0.02903633750975132, -0.03525584936141968, -0.000102010861155577, -0.02426864206790924, -0.027190200984477997, -0.005699725355952978, -0.010888626798987389, 0.0008228082442656159, 0.0471750870347023, 0.015629436820745468, 0.043554507195949554, -0.006981267593801022, 0.0403999425470829, 0.00976839754730463, -0.014697405509650707, 0.0032285002525895834, 0.03853588178753853, 0.008988718502223492, -0.02299606241285801, 0.003156805643811822, -0.07549447566270828, -0.022727208212018013, 0.026760032400488853, 0.055670905858278275, -0.039611298590898514, 0.036743514239788055, 0.03245975822210312, -0.01752038300037384, -0.030219299718737602, -0.05513319373130798, -0.03109755925834179, 0.05463133007287979, 0.013191817328333855, -0.001651217695325613, -0.06491951644420624, 0.03835664317011833, 0.06491951644420624, 0.04574119299650192, 0.013057390227913857, -0.0338757261633873, -0.008885657414793968, -0.050939057022333145, 0.043626200407743454, 0.026777956634759903, 0.038213253021240234, 0.06552892178297043, 0.013335206545889378, 0.050150416791439056, -0.027190200984477997, -0.009929710067808628, 0.034090809524059296, -0.030792856588959694, 0.03710198774933815, 0.03903774172067642, -0.038822658360004425, 0.007671328727155924, 0.004297198727726936, 0.018049130216240883, -0.015584627166390419, 0.000370795838534832, 0.040650874376297, 0.011282946914434433, -0.07499261200428009, -0.0675005242228508, -0.023336611688137054, -0.0471392385661602, -0.011014092713594437, -0.01178480964154005, -0.014419588260352612, 0.03308708593249321, -0.021365009248256683, -0.09320306032896042, 0.027154352515935898, -0.0024398588575422764, 0.040041469037532806, -0.023157374933362007, -0.017995359376072884, 0.0540936216711998, 0.030524002388119698, 0.028552398085594177, 0.01898116059601307, -0.05660293623805046, 0.03771139308810234, -0.021902719512581825, 0.06914950162172318, 0.0337681844830513, 0.030183453112840652, 0.007756466045975685, 0.03489737585186958, 0.03328424692153931, -0.07628311961889267, 0.03290785104036331, -0.003582492470741272, -0.011390489526093006, 0.005699725355952978, -0.02235081046819687, 0.04172629117965698, -0.022798901423811913, 0.0270468108355999, 0.019823573529720306, -0.046171363443136215, -0.0032889926806092262, -0.0077923135831952095, 0.031240947544574738, -0.03778308629989624, -0.03767554461956024, -0.07004568725824356, 0.059040553867816925, 0.019429253414273262, -0.0268854983150959, 0.010619771666824818, 0.05448794364929199, 0.059721652418375015, 0.03789062798023224, -0.034789834171533585, -0.0012624982045963407, -0.0201282761991024, 0.030792856588959694, -0.021831024438142776, 0.027476979419589043, 0.02500351332128048, -0.04577704146504402, 0.0016500974306836724, 0.014177619479596615, -0.0020970688201487064, -0.02713642828166485, -0.05552751570940018, 0.04645814001560211, 0.001708349329419434, -0.05083151534199715, 0.014858718030154705, -0.0012053664540871978, 0.01899908483028412, -0.019859420135617256, 0.018694382160902023, -0.029878750443458557, 0.07255499809980392, -0.053018201142549515, 0.010736275464296341, 0.06298375874757767, 0.016409115865826607, -0.011354641988873482 ]
720,000
ibm_platform_services.usage_metering_v4
report_resource_usage
Report Resource Controller resource usage. Report usage for resource instances that were provisioned through the resource controller. :param str resource_id: The resource for which the usage is submitted. :param List[ResourceInstanceUsage] resource_usage: :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse with `dict` result representing a `ResponseAccepted` object
def report_resource_usage( self, resource_id: str, resource_usage: List['ResourceInstanceUsage'], **kwargs ) -> DetailedResponse: """ Report Resource Controller resource usage. Report usage for resource instances that were provisioned through the resource controller. :param str resource_id: The resource for which the usage is submitted. :param List[ResourceInstanceUsage] resource_usage: :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse with `dict` result representing a `ResponseAccepted` object """ if resource_id is None: raise ValueError('resource_id must be provided') if resource_usage is None: raise ValueError('resource_usage must be provided') resource_usage = [convert_model(x) for x in resource_usage] headers = {} sdk_headers = get_sdk_headers( service_name=self.DEFAULT_SERVICE_NAME, service_version='V4', operation_id='report_resource_usage' ) headers.update(sdk_headers) data = json.dumps(resource_usage) headers['content-type'] = 'application/json' if 'headers' in kwargs: headers.update(kwargs.get('headers')) headers['Accept'] = 'application/json' path_param_keys = ['resource_id'] path_param_values = self.encode_path_vars(resource_id) path_param_dict = dict(zip(path_param_keys, path_param_values)) url = '/v4/metering/resources/{resource_id}/usage'.format(**path_param_dict) request = self.prepare_request(method='POST', url=url, headers=headers, data=data) response = self.send(request) return response
(self, resource_id: str, resource_usage: List[ibm_platform_services.usage_metering_v4.ResourceInstanceUsage], **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
[ -0.017516471445560455, -0.0559367798268795, -0.00907070655375719, -0.024925196543335915, -0.01287016924470663, -0.005062930751591921, 0.01967206783592701, -0.017742900177836418, -0.056842491030693054, -0.061371054500341415, -0.02193634770810604, 0.01095005962997675, 0.05423404276371002, -0.04372778162360191, -0.0024522156454622746, -0.013141882605850697, -0.012535056099295616, -0.017308158800005913, 0.016302818432450294, -0.0155329629778862, 0.006561884190887213, 0.0476766861975193, -0.024091942235827446, 0.053074728697538376, 0.01589524745941162, 0.0685805231332779, 0.07234828174114227, -0.027515534311532974, 0.017136072739958763, 0.040829502046108246, -0.023530401289463043, 0.03727911040186882, -0.04383646696805954, 0.03988756239414215, -0.028004618361592293, 0.0276242196559906, 0.003493784461170435, 0.006457727402448654, -0.13788561522960663, 0.04405383765697479, -0.06879789382219315, 0.024273084476590157, -0.021356692537665367, -0.04024984687566757, 0.005515786819159985, 0.035630714148283005, 0.02588525228202343, 0.017552699893712997, 0.011258001439273357, -0.026845306158065796, 0.06234922260046005, 0.013051311485469341, -0.04811142757534981, 0.07173240184783936, 0.03311283513903618, 0.016782846301794052, -0.0108866598457098, 0.05017645284533501, 0.018186699599027634, -0.0518067330121994, -0.013042254373431206, 0.04256846755743027, 0.0009085424826480448, -0.05883505940437317, -0.00470517436042428, -0.016701331362128258, -0.03517785668373108, 0.008572565391659737, -0.038221050053834915, 0.011158373206853867, 0.017733843997120857, 0.008174051530659199, 0.027044564485549927, 0.01526124868541956, 0.03865579143166542, -0.04213372617959976, -0.00013260191190056503, -0.008658607490360737, 0.013069425709545612, -0.02588525228202343, 0.006924169138073921, -0.012960740365087986, 0.05811049044132233, -0.05561072379350662, 0.023005086928606033, 0.010442860424518585, -0.038402192294597626, -0.053763072937726974, -0.06781972199678421, -0.0008915603393688798, -0.0026741151232272387, 0.015840904787182808, -0.03072175569832325, 0.05539335310459137, 0.022642802447080612, -0.020052466541528702, -0.059958141297101974, -0.05705986171960831, -0.05242261663079262, 0.02950810082256794, -0.033547576516866684, -0.02780536189675331, -0.033221520483493805, -0.003493784461170435, 0.04347418248653412, -0.0580018050968647, -0.005235015880316496, 0.03818482160568237, -0.01413816586136818, 0.022045033052563667, -0.0002306735550519079, 0.027569876983761787, -0.012055028229951859, -0.02537805400788784, 0.023059429600834846, 0.03497860208153725, -0.00915222056210041, -0.06426933407783508, 0.002522408263757825, -0.04865485429763794, -0.0020921949762851, -0.0694500058889389, 0.032025981694459915, -0.022389203310012817, -0.03273243457078934, 0.008196694776415825, -0.04137292876839638, -0.001974452519789338, -0.022842058911919594, 0.0710802897810936, -0.01743495836853981, -0.018911268562078476, -0.03543145954608917, 0.061552196741104126, 0.030413812026381493, 0.005361815914511681, 0.005162558984011412, 0.06176956743001938, -0.006960397586226463, 0.05571940913796425, 0.07064554840326309, 0.034616317600011826, -0.0036296413745731115, 0.0201792661100626, 0.05086479336023331, 0.008386894129216671, 0.003269620705395937, 0.07165994495153427, -0.07550016045570374, -0.013875509612262249, -0.027352506294846535, -0.028584273532032967, 0.042206183075904846, 0.01027077529579401, 0.035304658114910126, 0.00974546279758215, 0.003967019263654947, -0.021465377882122993, 0.023059429600834846, -0.02586713805794716, 0.0314100943505764, -0.036174140870571136, 0.035630714148283005, 0.00853180792182684, 0.009016363881528378, 0.01914675347507, -0.06133482605218887, 0.030957240611314774, -0.04796651378273964, -0.0030499855056405067, -0.025993937626481056, -0.029888499528169632, -0.00026209044153802097, 0.005235015880316496, -0.030468154698610306, 0.04162652790546417, 0.058074261993169785, -0.01413816586136818, 0.026700392365455627, 0.03037758357822895, 0.036500196903944016, -0.04506823420524597, 0.009115992113947868, -0.003043192671611905, -0.014826507307589054, -0.04437989369034767, 0.026682278141379356, 0.0044357250444591045, 0.007503824774175882, -0.011629343964159489, 0.06267527490854263, 0.04213372617959976, 0.035286545753479004, 0.035829972475767136, -0.0225884597748518, -0.06336361914873123, 0.017172301188111305, -0.045285604894161224, 0.05209656059741974, -0.022008804604411125, -0.046988345682621, 0.04742308706045151, 0.012027856893837452, 0.0021555947605520487, 0.004510446451604366, 0.06347230821847916, 0.05329209938645363, -0.0009968493832275271, -0.08738310635089874, 0.0003758705279324204, -0.015315592288970947, -0.002880164422094822, -0.0172538161277771, 0.04195258393883705, -0.03385552018880844, 0.03999624773859978, 0.03992379084229469, -0.015116334892809391, 0.014364594593644142, -0.05300227180123329, 0.0031269709579646587, -0.014717821963131428, -0.054270271211862564, -0.000004095163149031578, -0.03919922187924385, -0.007078140042722225, 0.036500196903944016, 0.013187168166041374, -0.05919734388589859, -0.04021361842751503, -0.010397574864327908, 0.0224616602063179, 0.07629718631505966, 0.05195164680480957, -0.07390610873699188, 0.027008336037397385, 0.0013925323728471994, 0.0006402252474799752, 0.014373651705682278, -0.009636776521801949, -0.013159996829926968, -0.00682454090565443, 0.025124454870820045, -0.03294980525970459, -0.07002966105937958, -0.009564319625496864, -0.03948904946446419, 0.06785595417022705, 0.0252150259912014, -0.08796276152133942, 0.0018408598843961954, -0.026537364348769188, -0.021447263658046722, -0.03778630867600441, -0.0241825133562088, -0.018195755779743195, -0.02432742714881897, -0.08231111615896225, 0.05448764190077782, -0.028040846809744835, 0.007444953545928001, 0.01723570190370083, -0.05195164680480957, 0.010651174001395702, -0.026012051850557327, 0.010397574864327908, -0.013902680948376656, 0.01849464140832424, -0.008563508279621601, -0.000503802380990237, 0.02881976030766964, -0.0011276116129010916, 0.007277396973222494, -0.0345076322555542, -0.03173615410923958, -0.019635839387774467, 0.045829031616449356, -0.015360877849161625, 0.015025763772428036, 0.007598924450576305, -0.035467687994241714, -0.04401760920882225, 0.04854616895318031, 0.042713385075330734, 0.044090066105127335, -0.0076804389245808125, 0.051154620945453644, 0.09006401151418686, -0.04811142757534981, 0.02275148779153824, -0.0012362970737740397, 0.014989535324275494, -0.030105870217084885, -0.02296885848045349, -0.04778537154197693, 0.0903538390994072, -0.021537834778428078, -0.056335292756557465, 0.03177238255739212, 0.028385017067193985, -0.0731453076004982, -0.000416344526456669, 0.04434366524219513, -0.04249601066112518, -0.07086291909217834, -0.018168585374951363, 0.08433990925550461, -0.02758799120783806, -0.002560900989919901, -0.04188012704253197, 0.014781221747398376, 0.027352506294846535, 0.021465377882122993, -0.03646396845579147, -0.01690058782696724, 0.03988756239414215, -0.007472124882042408, 0.05539335310459137, 0.02795027568936348, 0.050683651119470596, -0.011040630750358105, 0.06829069554805756, 0.03293169289827347, 0.007213997188955545, 0.05608169361948967, -0.0014083823189139366, 0.013875509612262249, 0.02967112883925438, 0.043256811797618866, -0.00845029391348362, -0.015668818727135658, -0.02655547857284546, -0.008740121498703957, -0.045647889375686646, 0.01457290817052126, -0.009265434928238392, 0.017000216990709305, -0.029743585735559464, -0.020052466541528702, 0.09303475171327591, -0.009455634281039238, 0.03829350695014, -0.014083823189139366, 0.0483650267124176, -0.012987911701202393, -0.012218056246638298, 0.031663697212934494, -0.007512881886214018, 0.028203874826431274, -0.03517785668373108, -0.04090195894241333, 0.04963302239775658, 0.002932243049144745, 0.06687778234481812, 0.013413595966994762, -0.05216901749372482, -0.010750803165137768, -0.0020265309140086174, -0.04437989369034767, 0.012761483900249004, -0.0552484393119812, -0.003552655689418316, -0.05466878414154053, -0.015560134314000607, 0.027189478278160095, -0.037170425057411194, 0.0032356565352529287, -0.0077574243769049644, -0.034254033118486404, 0.007259282749146223, -0.04282207041978836, -0.03608357161283493, 0.020777035504579544, 0.03829350695014, -0.0003348304599057883, 0.052567530423402786, -0.024562912061810493, 0.019418466836214066, -0.07075423002243042, 0.0033918919507414103, -0.025468625128269196, 0.026138851419091225, -0.05586432293057442, 0.0032424493692815304, 0.020921949297189713, 0.009817919693887234, -0.013676253147423267, -0.05086479336023331, -0.04727817326784134, 0.028602387756109238, 0.021121205762028694, -0.054125357419252396, -0.025486739352345467, 0.015442391857504845, -0.020269837230443954, -0.04068458825349808, 0.008305380120873451, 0.020632121711969376, 0.016284704208374023, -0.007748367264866829, -0.002689965069293976, -0.008491051383316517, -0.027225706726312637, 0.028203874826431274, 0.009143163450062275, 0.015315592288970947, 0.08064460754394531, -0.04811142757534981, -0.026120737195014954, -0.010442860424518585, 0.019364124163985252, -0.028765417635440826, -0.01779724285006523, 0.041988812386989594, -0.03336643427610397, 0.050647422671318054, -0.027171364054083824, 0.019038068130612373, -0.0005705986404791474, 0.0020638913847506046, 0.046843431890010834, 0.006285642273724079, 0.06495767086744308, -0.0042817541398108006, 0.007771010044962168, -0.08064460754394531, -0.0029231859371066093, -0.025341825559735298, 0.08020986616611481, -0.04256846755743027, 0.00921562034636736, 0.013775881379842758, 0.015551077201962471, -0.02918204478919506, -0.011457257904112339, -0.04006870463490486, 0.042894527316093445, 0.02849370241165161, 0.019762638956308365, 0.0069377548061311245, 0.004886317066848278, -0.016511131078004837, 0.027515534311532974, 0.0008434444316662848, -0.07905055582523346, -0.009346948936581612, -0.06742121279239655, -0.04742308706045151, -0.031337637454271317, -0.011104030534625053, 0.0527486726641655, -0.03412723168730736, 0.009618662297725677, -0.022189946845173836, -0.01896561123430729, -0.053183414041996, 0.024019485339522362, -0.0483650267124176, 0.009691119194030762, -0.028403131291270256, 0.025939594954252243, 0.030667413026094437, -0.0201792661100626, -0.0017616100376471877, -0.03273243457078934, 0.013169053941965103, -0.011602172628045082, -0.0063943276181817055, -0.00042285435483790934, 0.01459102239459753, 0.01987132430076599, 0.06263905018568039, -0.028910331428050995, 0.037858765572309494, 0.02175520546734333, 0.0630737915635109, 0.0005915432120673358, 0.015043877996504307, -0.041517842561006546, 0.019019953906536102, 0.08158654719591141, 0.012218056246638298, 0.06709515303373337, -0.01573221944272518, -0.0020582308061420918, -0.023204345256090164, 0.02519691176712513, 0.0076170386746525764, -0.051879189908504486, 0.010370403528213501, -0.019364124163985252, -0.03586620092391968, -0.050828564912080765, 0.007005683146417141, -0.0880352184176445, -0.01519784890115261, 0.02450856938958168, -0.038945622742176056, -0.006475841626524925, 0.030576840043067932, 0.06966737657785416, -0.062204308807849884, 0.04300321266055107, -0.0013778145657852292, 0.026120737195014954, 0.06086385250091553, 0.011466315016150475, 0.012263341806828976, 0.021700862795114517, 0.019581496715545654, -0.034616317600011826, 0.025432396680116653, 0.02157406322658062, 0.04611885920166969, -0.007662324700504541, 0.04169898480176926, -0.022298632189631462, 0.01999812386929989, 0.029272615909576416, -0.04383646696805954, -0.028511816635727882, 0.07818107306957245, 0.04883599653840065, 0.006525655742734671, 0.041336700320243835, 0.013024140149354935, -0.06698647141456604, -0.07256565243005753, 0.005629000719636679, 0.02535993978381157, -0.03818482160568237, 0.02604828029870987, -0.021447263658046722, -0.0708266869187355, -0.010877602733671665, 0.021302348002791405, -0.0580018050968647, -0.070391945540905, -0.029634900391101837, -0.009537148289382458, 0.015994876623153687, -0.03121083974838257, -0.008377837017178535, -0.04865485429763794, 0.005561072379350662, -0.027551762759685516, 0.00690605491399765, -0.02865673042833805, 0.03861956298351288, -0.06448670476675034, 0.04883599653840065, -0.0527486726641655, -0.003149613970890641, 0.05561072379350662, -0.027859704568982124, 0.05637152120471001, 0.026319993659853935, 0.017480242997407913, 0.020650235936045647, 0.015560134314000607, -0.02275148779153824, 0.025341825559735298, 0.07694929838180542, -0.016474902629852295, -0.014011366292834282, 0.028258217498660088, 0.029725471511483192, 0.030830441042780876, -0.0742683932185173, -0.054270271211862564, -0.02950810082256794, 0.029308844357728958, -0.025233140215277672, -0.00728645408526063, -0.06397950649261475, -0.01475405041128397, 0.031645581126213074, 0.03829350695014, 0.04506823420524597, 0.04713325947523117, -0.03452574461698532, 0.017742900177836418, -0.0025699581019580364, -0.0870932787656784, -0.002186162630096078, 0.06691401451826096, 0.022008804604411125, 0.016293760389089584, 0.014500451274216175, 0.06093630939722061, -0.013123768381774426, -0.051879189908504486, -0.0006764537538401783, -0.057023633271455765, 0.0157050471752882, 0.08564414083957672, -0.020831378176808357, -0.05379930138587952, 0.03807613626122475, 0.05075610801577568, -0.02586713805794716, 0.056842491030693054, 0.0015193320577964187, -0.013621910475194454, 0.04934319481253624, 0.029290730133652687, -0.0016868888633325696, -0.012199942022562027, -0.059306029230356216, -0.008246508426964283, -0.03642774000763893, -0.017552699893712997, 0.014364594593644142, 0.004931602627038956, 0.022208061069250107, -0.011611229740083218, -0.034054774791002274, -0.014518565498292446, 0.013920795172452927, 0.01104968786239624, -0.0027714790776371956, 0.04912582412362099, -0.01815047115087509, 0.021338578313589096, -0.03090289793908596, 0.054451413452625275, -0.018856925889849663, 0.007911395281553268, -0.028077075257897377, -0.005094630643725395, -0.016701331362128258, -0.026700392365455627, 0.015623534098267555, 0.03814859315752983, 0.0431118980050087, -0.021103091537952423, 0.0034484989009797573, -0.0038877693004906178, 0.014228736981749535, 0.0024499513674527407, 0.003394156228750944, 0.013839281164109707, -0.016773788258433342, 0.03242449462413788, -0.006729441229254007, 0.06419687718153, -0.08078952133655548, -0.06984851509332657, -0.02021549455821514, -0.0014695179415866733, -0.0061180852353572845, 0.026609821245074272, -0.01844935491681099, -0.04644491896033287, 0.020450979471206665, 0.07731158286333084, -0.03052249737083912, 0.015089163556694984, -0.026827191933989525, 0.020632121711969376, -0.007186825852841139, 0.018222928047180176, 0.07415971159934998, -0.033583804965019226, 0.010977230966091156, -0.011303286999464035, -0.027479305863380432, -0.05292981490492821, -0.03343889117240906, 0.037532709538936615, 0.04814765602350235, 0.01499859243631363, 0.0662618950009346, 0.054451413452625275, -0.0545600987970829, 0.025939594954252243, -0.010125861503183842, -0.008735593408346176, -0.01691870205104351, -0.015043877996504307, 0.0038560694083571434, -0.023439830169081688, -0.005773914512246847, 0.023186231032013893, -0.010297946631908417, 0.008395951241254807, -0.03017832711338997, -0.030287012457847595, -0.028729189187288284, -0.015641648322343826, 0.034942373633384705, -0.06676910072565079, 0.0075400532223284245, -0.04209749773144722, -0.04021361842751503, 0.003860597964376211, -0.0628201887011528, 0.0031088567338883877, 0.02637433633208275, -0.02655547857284546, -0.036681339144706726, -0.011520657688379288, 0.05865391716361046, 0.059450943022966385, -0.012109370902180672, 0.007268339861184359, -0.006838126573711634, -0.048944681882858276, 0.03211655095219612, -0.05474124103784561, 0.027225706726312637, 0.06742121279239655, -0.014246851205825806, -0.010316060855984688, -0.006570941302925348, 0.01172897219657898, -0.029037130996584892, -0.02193634770810604, 0.03208032250404358, -0.014020423404872417, -0.0011242151958867908, 0.00965489074587822, 0.008871450088918209, -0.017679501324892044, -0.019617725163698196, 0.04213372617959976, 0.06383459270000458, 0.05952339991927147, 0.012598455883562565, -0.03323963284492493, 0.005769385956227779, 0.043945152312517166, -0.06158842518925667, -0.030450040474534035, 0.0621318519115448, -0.01726287230849266, 0.006267528049647808, 0.01641150377690792, 0.046843431890010834, 0.03905430808663368, -0.008246508426964283, 0.04191635549068451, -0.0331309475004673, -0.03162746876478195, -0.004100611433386803, 0.04887222498655319, 0.0194909255951643, 0.022914515808224678, -0.0006385270389728248, -0.055465810000896454, 0.023548515513539314, -0.048220112919807434, -0.012281456030905247, 0.04832879826426506, 0.05053873732686043, -0.02139292098581791, -0.008477465249598026, 0.0252150259912014, 0.025631653144955635, 0.014944249764084816, -0.019617725163698196, -0.004673474468290806, 0.008305380120873451, 0.0011706328950822353, -0.014464222826063633, 0.10404820740222931, 0.020143037661910057, 0.03092101216316223 ]
720,008
ibm_platform_services.usage_reports_v4
UsageReportsV4
The Usage Reports V4 service.
class UsageReportsV4(BaseService): """The Usage Reports V4 service.""" DEFAULT_SERVICE_URL = 'https://billing.cloud.ibm.com' DEFAULT_SERVICE_NAME = 'usage_reports' @classmethod def new_instance( cls, service_name: str = DEFAULT_SERVICE_NAME, ) -> 'UsageReportsV4': """ Return a new client for the Usage Reports service using the specified parameters and external configuration. """ authenticator = get_authenticator_from_environment(service_name) service = cls(authenticator) service.configure_service(service_name) return service def __init__( self, authenticator: Authenticator = None, ) -> None: """ Construct a new client for the Usage Reports service. :param Authenticator authenticator: The authenticator specifies the authentication mechanism. Get up to date information from https://github.com/IBM/python-sdk-core/blob/main/README.md about initializing the authenticator of your choice. """ BaseService.__init__(self, service_url=self.DEFAULT_SERVICE_URL, authenticator=authenticator) ######################### # Account operations ######################### def get_account_summary( self, account_id: str, billingmonth: str, **kwargs, ) -> DetailedResponse: """ Get account summary. Returns the summary for the account for a given month. Account billing managers are authorized to access this report. :param str account_id: Account ID for which the usage report is requested. :param str billingmonth: The billing month for which the usage report is requested. Format is yyyy-mm. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse with `dict` result representing a `AccountSummary` object """ if not account_id: raise ValueError('account_id must be provided') if not billingmonth: raise ValueError('billingmonth must be provided') headers = {} sdk_headers = get_sdk_headers( service_name=self.DEFAULT_SERVICE_NAME, service_version='V4', operation_id='get_account_summary', ) headers.update(sdk_headers) if 'headers' in kwargs: headers.update(kwargs.get('headers')) del kwargs['headers'] headers['Accept'] = 'application/json' path_param_keys = ['account_id', 'billingmonth'] path_param_values = self.encode_path_vars(account_id, billingmonth) path_param_dict = dict(zip(path_param_keys, path_param_values)) url = '/v4/accounts/{account_id}/summary/{billingmonth}'.format(**path_param_dict) request = self.prepare_request( method='GET', url=url, headers=headers, ) response = self.send(request, **kwargs) return response def get_account_usage( self, account_id: str, billingmonth: str, *, names: Optional[bool] = None, accept_language: Optional[str] = None, **kwargs, ) -> DetailedResponse: """ Get account usage. Usage for all the resources and plans in an account for a given month. Account billing managers are authorized to access this report. :param str account_id: Account ID for which the usage report is requested. :param str billingmonth: The billing month for which the usage report is requested. Format is yyyy-mm. :param bool names: (optional) Include the name of every resource, plan, resource instance, organization, and resource group. :param str accept_language: (optional) Prioritize the names returned in the order of the specified languages. Language will default to English. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse with `dict` result representing a `AccountUsage` object """ if not account_id: raise ValueError('account_id must be provided') if not billingmonth: raise ValueError('billingmonth must be provided') headers = { 'Accept-Language': accept_language, } sdk_headers = get_sdk_headers( service_name=self.DEFAULT_SERVICE_NAME, service_version='V4', operation_id='get_account_usage', ) headers.update(sdk_headers) params = { '_names': names, } if 'headers' in kwargs: headers.update(kwargs.get('headers')) del kwargs['headers'] headers['Accept'] = 'application/json' path_param_keys = ['account_id', 'billingmonth'] path_param_values = self.encode_path_vars(account_id, billingmonth) path_param_dict = dict(zip(path_param_keys, path_param_values)) url = '/v4/accounts/{account_id}/usage/{billingmonth}'.format(**path_param_dict) request = self.prepare_request( method='GET', url=url, headers=headers, params=params, ) response = self.send(request, **kwargs) return response ######################### # Resource operations ######################### def get_resource_group_usage( self, account_id: str, resource_group_id: str, billingmonth: str, *, names: Optional[bool] = None, accept_language: Optional[str] = None, **kwargs, ) -> DetailedResponse: """ Get resource group usage. Usage for all the resources and plans in a resource group in a given month. Account billing managers or resource group billing managers are authorized to access this report. :param str account_id: Account ID for which the usage report is requested. :param str resource_group_id: Resource group for which the usage report is requested. :param str billingmonth: The billing month for which the usage report is requested. Format is yyyy-mm. :param bool names: (optional) Include the name of every resource, plan, resource instance, organization, and resource group. :param str accept_language: (optional) Prioritize the names returned in the order of the specified languages. Language will default to English. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse with `dict` result representing a `ResourceGroupUsage` object """ if not account_id: raise ValueError('account_id must be provided') if not resource_group_id: raise ValueError('resource_group_id must be provided') if not billingmonth: raise ValueError('billingmonth must be provided') headers = { 'Accept-Language': accept_language, } sdk_headers = get_sdk_headers( service_name=self.DEFAULT_SERVICE_NAME, service_version='V4', operation_id='get_resource_group_usage', ) headers.update(sdk_headers) params = { '_names': names, } if 'headers' in kwargs: headers.update(kwargs.get('headers')) del kwargs['headers'] headers['Accept'] = 'application/json' path_param_keys = ['account_id', 'resource_group_id', 'billingmonth'] path_param_values = self.encode_path_vars(account_id, resource_group_id, billingmonth) path_param_dict = dict(zip(path_param_keys, path_param_values)) url = '/v4/accounts/{account_id}/reso
(authenticator: ibm_cloud_sdk_core.authenticators.authenticator.Authenticator = None) -> None
[ 0.01787051558494568, -0.05730009078979492, -0.04164678230881691, -0.027587417513132095, -0.002609309973195195, -0.014958511106669903, -0.027158280834555626, -0.026218265295028687, -0.038561079651117325, -0.04622425138950348, 0.002955429954454303, -0.010708005167543888, 0.0457746796309948, -0.03872456029057503, -0.01064669992774725, 0.04789993166923523, 0.02922222763299942, -0.025789126753807068, 0.03905152156949043, -0.024154316633939743, -0.003024398349225521, 0.020966438576579094, -0.010544524528086185, 0.062408871948719025, 0.030918342992663383, 0.039439789950847626, 0.07140032202005386, -0.029017876833677292, 0.03721236065030098, 0.022621681913733482, -0.03974631801247597, 0.035434506833553314, -0.040951989591121674, 0.06788548082113266, -0.027934815734624863, -0.012526731006801128, 0.05464352294802666, -0.008848409168422222, -0.1185237243771553, 0.04789993166923523, 0.0035276133567094803, -0.0017293223645538092, 0.08096396178007126, -0.0255234707146883, 0.0082557899877429, 0.00785219669342041, -0.0038724560290575027, 0.014927858486771584, 0.022560376673936844, -0.00507301976904273, 0.050638239830732346, 0.006426846608519554, -0.04732774943113327, 0.016532015055418015, 0.00679467897862196, 0.008730906993150711, -0.004199418239295483, 0.02987615205347538, -0.005512374918907881, -0.0028379280120134354, -0.038642819970846176, 0.03578190132975578, 0.006656741723418236, -0.029917022213339806, -0.06024274602532387, 0.009170262143015862, -0.030795732513070107, -0.014631548896431923, -0.015489824116230011, 0.023173430934548378, 0.029344838112592697, 0.050556499511003494, 0.0045825764536857605, 0.01119844801723957, 0.057463571429252625, -0.028527433052659035, 0.012628907337784767, -0.029263097792863846, -0.042423319071531296, -0.053826116025447845, 0.01999576948583126, -0.009665814228355885, 0.03925587236881256, -0.0386836901307106, 0.044589441269636154, 0.028384387493133545, 0.023520829156041145, -0.03169487789273262, -0.030060067772865295, 0.022846469655632973, -0.025850431993603706, 0.01111670769751072, -0.018984230235219002, 0.08729885518550873, 0.010278867557644844, -0.08092309534549713, -0.06449325382709503, -0.027812205255031586, -0.0989060029387474, 0.03817281126976013, -0.020516864955425262, -0.08002394437789917, -0.05946621298789978, 0.029344838112592697, 0.0346170999109745, -0.013129567727446556, -0.028180036693811417, 0.005890424828976393, 0.04687817394733429, 0.009538094513118267, -0.03298228979110718, 0.0030524968169629574, 0.019014883786439896, -0.055869631469249725, -0.0009042542660608888, 0.052804362028837204, -0.001205672393552959, -0.03312533721327782, -0.0295900609344244, -0.0064370641484856606, -0.007862414233386517, -0.050842590630054474, 0.061468854546546936, 0.007673389278352261, 0.020005986094474792, -0.014662201516330242, -0.012945651076734066, 0.015622653067111969, 0.05713660642504692, 0.0007701487629674375, 0.03257358819246292, -0.02638174593448639, 0.0033232620917260647, -0.01505046896636486, 0.040379807353019714, -0.021620361134409904, 0.009916144423186779, 0.028363952413201332, -0.06833505630493164, 0.07466994225978851, 0.05096520110964775, 0.04761384055018425, -0.04834950342774391, -0.013568922877311707, -0.0012043952010571957, 0.02034316584467888, 0.06543327122926712, 0.009660704992711544, -0.0819857195019722, -0.061468854546546936, -0.0020307404920458794, -0.06130537390708923, -0.0069377245381474495, -0.0230508204549551, -0.03218531981110573, -0.00628890935331583, 0.01570439338684082, -0.018585745245218277, -0.0025582220405340195, -0.011903460137546062, 0.00023149164917413145, -0.0019106841646134853, 0.0007203381392173469, -0.020629258826375008, -0.007775564678013325, 0.01620505377650261, -0.03518928587436676, -0.026708707213401794, -0.07164554297924042, -0.03183792531490326, -0.018636833876371384, 0.024460844695568085, -0.04377203807234764, -0.003277283161878586, -0.032675765454769135, 0.023152995854616165, 0.04491640254855156, -0.03249184787273407, -0.01246542576700449, 0.022805599495768547, -0.007515016943216324, -0.050556499511003494, -0.04178982973098755, -0.01730854995548725, -0.05153738334774971, -0.012506295926868916, 0.024746935814619064, 0.012230422347784042, 0.04998431354761124, 0.022519506514072418, 0.03408578783273697, 0.05468439310789108, 0.0685802772641182, 0.011760414578020573, -0.017420943826436996, -0.07924741506576538, 0.012036288157105446, 0.002025631722062826, -0.010554742068052292, -0.020629258826375008, -0.02043512463569641, 0.0757734403014183, 0.00926732923835516, 0.022008629515767097, 0.03606799617409706, 0.01105540245771408, 0.024808241054415703, -0.010718222707509995, -0.07654997706413269, 0.038499776273965836, -0.02253994159400463, -0.012863910757005215, -0.02899744175374508, 0.03661974146962166, -0.03044833615422249, 0.059793174266815186, 0.060447096824645996, 0.006999030243605375, 0.008838191628456116, -0.01970967836678028, 0.028159601613879204, -0.06003839522600174, 0.018779879435896873, -0.04005284234881401, -0.0417080894112587, -0.00537954643368721, 0.04998431354761124, 0.02746480703353882, -0.043363332748413086, -0.05591050162911415, 0.041973747313022614, 0.011831937357783318, 0.05619659274816513, 0.056809645146131516, -0.09898774325847626, -0.043935518711805344, 0.031960535794496536, -0.014120670966804028, 0.0188207495957613, -0.009027216583490372, 0.012455208227038383, 0.020465776324272156, 0.05047475919127464, 0.036681048572063446, -0.08599100261926651, -0.010810180567204952, -0.03700800985097885, 0.03843846917152405, 0.016480928286910057, -0.052804362028837204, -0.025094332173466682, -0.021967759355902672, -0.005783140193670988, 0.00011510722106322646, -0.045611198991537094, -0.08738059550523758, -0.012097593396902084, -0.034698840230703354, 0.047286879271268845, -0.015500041656196117, -0.012639124877750874, -0.04315898194909096, -0.033472735434770584, 0.023582134395837784, 0.013333918526768684, 0.026259135454893112, 0.03140878677368164, 0.0033309252467006445, 0.0031112476717680693, -0.00009914228576235473, 0.08672666549682617, 0.032675765454769135, -0.009824185632169247, -0.03664017841219902, -0.03177661821246147, 0.005747378803789616, 0.05276349186897278, -0.05141477286815643, -0.07593692094087601, -0.012455208227038383, 0.01111670769751072, -0.05116955190896988, 0.02407257631421089, 0.04834950342774391, 0.028833961114287376, 0.004912092816084623, 0.03661974146962166, -0.003979740664362907, -0.017972692847251892, 0.024665195494890213, -0.008368183858692646, -0.006248039193451405, -0.031735748052597046, -0.0311022587120533, -0.06179581582546234, 0.023316476494073868, -0.020823391154408455, -0.019873159006237984, 0.00033398656523786485, 0.03821368142962456, -0.07013335078954697, 0.02683131769299507, 0.08243529498577118, -0.013691533356904984, -0.012996738776564598, -0.04900342971086502, 0.08950584381818771, -0.04965735226869583, 0.011791067197918892, 0.017993127927184105, -0.009578964672982693, 0.006804896518588066, 0.028077861294150352, -0.0524774007499218, -0.032757505774497986, 0.030591381713747978, -0.018790096044540405, 0.03686496615409851, 0.06281757354736328, 0.030693557113409042, -0.035005368292331696, 0.002148242434486747, 0.014835900627076626, -0.031735748052597046, 0.04704165831208229, 0.017247244715690613, -0.03792759031057358, 0.05689138546586037, 0.04324072226881981, -0.0027485243044793606, -0.031020518392324448, -0.032961856573820114, -0.022703424096107483, 0.004477846436202526, -0.017911385744810104, -0.08983280509710312, -0.016245923936367035, -0.10634438693523407, -0.020772304385900497, 0.029998762533068657, -0.009895709343254566, -0.01751290075480938, -0.05705486610531807, 0.026054782792925835, -0.02006729133427143, -0.018698139116168022, 0.06306279450654984, -0.009042542427778244, -0.015091339126229286, -0.005798466503620148, -0.04174895957112312, 0.05059736967086792, 0.03952153027057648, 0.09179458022117615, 0.03467840701341629, -0.02768959291279316, -0.01334413606673479, 0.017635513097047806, -0.0032032057642936707, 0.022805599495768547, -0.048022542148828506, 0.011239318177103996, -0.012189552187919617, 0.013977625407278538, 0.013865231536328793, -0.07761260122060776, 0.011239318177103996, -0.0022644673008471727, 0.0543983019888401, -0.03508710861206055, -0.03189922869205475, -0.024685630574822426, 0.019607501104474068, 0.03839759901165962, -0.01663419045507908, 0.04348594322800636, -0.001207588124088943, 0.012087375856935978, -0.08141353726387024, 0.006391085218638182, 0.015101556666195393, 0.007693824358284473, -0.044957272708415985, 0.045243363827466965, 0.04078850895166397, -0.02981484681367874, -0.0025390642695128918, -0.03553668037056923, -0.04920778051018715, -0.01555112935602665, 0.04150373861193657, -0.013875449076294899, -0.03243054077029228, 0.012230422347784042, -0.03946022689342499, -0.028220906853675842, -0.04413986951112747, -0.006380867678672075, -0.00911917444318533, -0.019290758296847343, -0.017277898266911507, 0.003954196814447641, 0.004416541196405888, 0.007351535838097334, -0.005471504759043455, -0.032307930290699005, 0.07295339554548264, -0.0609375424683094, -0.015285473316907883, 0.06298105418682098, -0.030979648232460022, -0.03439231589436531, -0.06351236999034882, -0.04646947234869003, -0.045897290110588074, 0.03300272673368454, -0.02209036983549595, 0.03970544785261154, 0.042586799710989, 0.013640445657074451, 0.030795732513070107, -0.014151323586702347, 0.01308869756758213, -0.003517395816743374, 0.004403769504278898, -0.06314453482627869, -0.027893945574760437, -0.0009100016322918236, -0.0045825764536857605, -0.017758123576641083, 0.06155059486627579, 0.061468854546546936, -0.05844445526599884, -0.05276349186897278, -0.011535627767443657, 0.012455208227038383, -0.008066765032708645, -0.017206374555826187, 0.015827003866434097, -0.0053642201237380505, -0.02390909567475319, 0.007320883218199015, 0.011351712048053741, -0.021497750654816628, -0.04724600911140442, -0.002222319832071662, -0.06388019770383835, -0.04806341230869293, -0.011474322527647018, -0.043935518711805344, -0.0010868931422010064, 0.028527433052659035, -0.001274640904739499, -0.03067312203347683, -0.032021839171648026, -0.08333443850278854, 0.06191842630505562, -0.021109484136104584, 0.020240990445017815, -0.0015901081496849656, 0.01199541799724102, 0.00169866974465549, 0.0011852371972054243, 0.031654007732868195, 0.019750548526644707, 0.016818108037114143, 0.025748256593942642, 0.030039632692933083, -0.002583766123279929, 0.028261777013540268, -0.02580956183373928, 0.023500392213463783, -0.014079800806939602, 0.06273583322763443, -0.010232888162136078, 0.004820134956389666, 0.004120232071727514, 0.031143128871917725, -0.050106924027204514, 0.0048124720342457294, 0.06338975578546524, 0.02785307541489601, 0.05562441051006317, -0.014161541126668453, 0.008736015297472477, -0.01840182952582836, 0.062245387583971024, -0.01910684071481228, -0.046060770750045776, -0.03439231589436531, -0.00970668438822031, -0.016041573137044907, -0.024379104375839233, 0.021048178896307945, -0.04916691035032272, -0.009900817647576332, 0.012128246016800404, 0.024174751713871956, 0.020169468596577644, 0.0330231599509716, 0.02734219655394554, -0.029528755694627762, 0.02094600349664688, -0.030509641394019127, 0.02907918207347393, 0.023418651893734932, 0.010396369732916355, -0.006043687928467989, 0.01847335323691368, -0.023152995854616165, -0.06322627514600754, 0.028466127812862396, 0.017472030594944954, 0.017216593027114868, -0.018146390095353127, 0.06670024991035461, -0.04908517003059387, 0.023868225514888763, 0.01919879950582981, -0.000514709681738168, 0.0034867431968450546, 0.04900342971086502, -0.012782170437276363, 0.010197127237915993, -0.0013653218047693372, 0.00864405743777752, -0.04164678230881691, -0.03715105727314949, -0.02086426131427288, 0.01461111381649971, -0.01261868979781866, 0.01105540245771408, -0.03614973649382591, -0.060733191668987274, 0.029017876833677292, 0.005660529248416424, -0.06719069182872772, -0.059139251708984375, -0.027219586074352264, 0.01910684071481228, 0.022928209975361824, 0.005129216238856316, -0.029712671414017677, -0.0674767792224884, -0.06212277710437775, 0.0025275694206357002, 0.04475292190909386, -0.004697524011135101, 0.07013335078954697, -0.04716426879167557, 0.058771416544914246, -0.034208398312330246, 0.05370350554585457, 0.03559798747301102, 0.0326961986720562, 0.052313920110464096, -0.01628679409623146, -0.012005635537207127, 0.005203293636441231, -0.03698757663369179, -0.002715317066758871, 0.0526408813893795, -0.0409928597509861, 0.01591896265745163, -0.031960535794496536, 0.026913058012723923, 0.030918342992663383, 0.033758826553821564, -0.016961153596639633, -0.009584072977304459, -0.014856335707008839, -0.021926889196038246, -0.018636833876371384, 0.023520829156041145, -0.01962793618440628, 0.004345018416643143, 0.02094600349664688, -0.00063380814390257, 0.06163233518600464, 0.049044299870729446, 0.024644760414958, 0.01753333769738674, 0.014539591036736965, -0.059057511389255524, 0.014365892857313156, 0.08059613406658173, 0.0020818281918764114, -0.03778454661369324, 0.07814391702413559, 0.027301326394081116, -0.04479379206895828, -0.06580109894275665, 0.0023104462306946516, -0.03596581891179085, -0.010820398107171059, 0.11549932509660721, -0.056155722588300705, -0.03737584128975868, 0.016889629885554314, 0.02282603457570076, -0.010263541713356972, 0.08672666549682617, 0.013006956316530704, 0.0031802162993699312, 0.045611198991537094, 0.0427502803504467, -0.047940801829099655, -0.019607501104474068, -0.03081616759300232, 0.042341578751802444, -0.03694670647382736, -0.023868225514888763, 0.021129919216036797, 0.007331100758165121, 0.03610886633396149, -0.02441997453570366, -0.02754654735326767, 0.022580811753869057, 0.029242662712931633, -0.009241784922778606, 0.00100387551356107, 0.07074639946222305, -0.017604859545826912, 0.05983404442667961, -0.02544173039495945, 0.06179581582546234, 0.009154935367405415, -0.019249888136982918, -0.025646081194281578, 0.008393727242946625, -0.03706931695342064, 0.010830615647137165, 0.0056962911039590836, 0.006488151848316193, 0.049902573227882385, -0.01188302505761385, 0.044671181589365005, 0.01840182952582836, 0.013190872967243195, 0.00012907655036542565, -0.0018672595033422112, 0.00661587156355381, 0.004843124654144049, 0.027730463072657585, -0.03422883525490761, 0.06751765310764313, -0.06723155826330185, -0.05636007338762283, 0.07638649642467499, 0.018575528636574745, -0.05529744550585747, 0.023234736174345016, 0.007939046248793602, -0.013834578916430473, -0.020516864955425262, 0.053090453147888184, -0.07103249430656433, 0.019025100395083427, -0.0007663171854801476, -0.020516864955425262, -0.07323948293924332, -0.014978946186602116, 0.044957272708415985, -0.04054328799247742, -0.014069583266973495, -0.02572782151401043, 0.012976303696632385, -0.04078850895166397, -0.007535452023148537, 0.04491640254855156, 0.021926889196038246, 0.024440409615635872, 0.0856640413403511, 0.02435866743326187, -0.04557032883167267, 0.04977996274828911, 0.026340875774621964, -0.01290478091686964, 0.005476613529026508, 0.025400860235095024, 0.05337654426693916, -0.019157929345965385, -0.013926537707448006, 0.04745035991072655, -0.010447457432746887, 0.005440851673483849, -0.019352063536643982, -0.01955641433596611, -0.050188664346933365, -0.03300272673368454, 0.020741650834679604, -0.03210357949137688, 0.025421295315027237, 0.014120670966804028, -0.012884345836937428, 0.044589441269636154, -0.02668827213346958, -0.004023164976388216, 0.004087024834007025, 0.02260124683380127, 0.014774595387279987, -0.06183668598532677, 0.06633241474628448, 0.05713660642504692, -0.015500041656196117, 0.06040622666478157, -0.018156608566641808, -0.061959296464920044, 0.012608472257852554, 0.006881528068333864, 0.04732774943113327, 0.05926186218857765, 0.02085404470562935, -0.023296041414141655, 0.02013881504535675, 0.0003930568345822394, -0.07283078134059906, 0.02501259185373783, -0.01839161291718483, 0.02407257631421089, -0.0057933577336370945, 0.008409054018557072, 0.016409404575824738, -0.013763056136667728, -0.005716726183891296, 0.02646348625421524, 0.015970049425959587, 0.04319985210895538, 0.01540808379650116, 0.02950832061469555, -0.014784812927246094, 0.04491640254855156, -0.04949387162923813, 0.015561346895992756, 0.03653800114989281, -0.04221896827220917, 0.0007171451579779387, 0.013190872967243195, 0.04072720184922218, 0.04986170306801796, 0.00879732146859169, 0.02399083599448204, -0.032226189970970154, -0.010217562317848206, -0.05174173414707184, 0.030836602672934532, 0.0023270498495548964, 0.009507441893219948, 0.012077158316969872, -0.03651756793260574, 0.014672419056296349, -0.034862320870161057, -0.0012861356372013688, 0.060079265385866165, 0.013190872967243195, -0.020629258826375008, 0.005420416593551636, 0.0015134763671085238, 0.03811150789260864, -0.023582134395837784, -0.010013210587203503, 0.014958511106669903, 0.004534043371677399, 0.0008340085041709244, 0.019219234585762024, 0.05145564302802086, -0.004950408823788166, 0.0027178714517503977 ]
720,009
ibm_platform_services.usage_reports_v4
__init__
Construct a new client for the Usage Reports service. :param Authenticator authenticator: The authenticator specifies the authentication mechanism. Get up to date information from https://github.com/IBM/python-sdk-core/blob/main/README.md about initializing the authenticator of your choice.
def __init__( self, authenticator: Authenticator = None, ) -> None: """ Construct a new client for the Usage Reports service. :param Authenticator authenticator: The authenticator specifies the authentication mechanism. Get up to date information from https://github.com/IBM/python-sdk-core/blob/main/README.md about initializing the authenticator of your choice. """ BaseService.__init__(self, service_url=self.DEFAULT_SERVICE_URL, authenticator=authenticator)
(self, authenticator: Optional[ibm_cloud_sdk_core.authenticators.authenticator.Authenticator] = None) -> NoneType
[ -0.028126152232289314, -0.09076912701129913, 0.006413232069462538, -0.010669163428246975, -0.017565306276082993, -0.028974631801247597, -0.01549826841801405, 0.022421490401029587, -0.030725745484232903, -0.016319667920470238, -0.009161760099232197, 0.025580717250704765, -0.043001603335142136, -0.02178964391350746, -0.021464696153998375, 0.041376855224370956, -0.004743354860693216, -0.008376466110348701, 0.003405196126550436, -0.06935858726501465, 0.008101162500679493, 0.0184228103607893, 0.004097969736903906, 0.0548802986741066, 0.020056582987308502, 0.06787826120853424, -0.0014532447094097733, -0.02864968217909336, 0.014568552374839783, -0.020923113450407982, -0.018224230036139488, -0.002953877905383706, -0.040618643164634705, 0.057985369116067886, 0.0357985645532608, -0.02113974653184414, 0.014866422861814499, 0.007929661311209202, -0.08564215153455734, 0.04516793042421341, 0.002183252014219761, -0.010172713547945023, 0.08513667434453964, -0.028830209746956825, 0.01270009484142065, 0.04152127727866173, 0.009468656964600086, 0.0024168090894818306, 0.01946084201335907, -0.01191480178385973, -0.04155738279223442, 0.02942594885826111, -0.010253950022161007, 0.01595861278474331, -0.0472620464861393, 0.030960431322455406, 0.036159615963697433, 0.007762673776596785, -0.06834763288497925, 0.03982432186603546, -0.0721748098731041, -0.00947768334299326, 0.025797350332140923, -0.03399328887462616, -0.0116891423240304, 0.0004219825495965779, -0.03596103563904762, 0.009793605655431747, 0.017971491441130638, 0.016175245866179466, 0.0746660903096199, 0.0203273743391037, -0.036556776612997055, -0.004118279088288546, 0.08051517605781555, -0.022078488022089005, -0.00845770351588726, -0.0010645468719303608, -0.031321484595537186, -0.0254001896828413, 0.015570479445159435, -0.002859101165086031, 0.0048877764493227005, 0.031014589592814445, 0.05592735484242439, 0.02103142999112606, 0.034625135362148285, -0.03718862310051918, -0.016725853085517883, 0.07892653346061707, -0.022926965728402138, -0.002748528029769659, -0.002710165921598673, 0.00936936680227518, 0.013187519274652004, -0.04495129734277725, -0.030509112402796745, -0.02494887262582779, -0.030202217400074005, 0.03475150465965271, 0.006498982664197683, -0.03525698184967041, -0.008922562003135681, 0.013738127425312996, -0.00004368619556771591, -0.02718741074204445, 0.004328141920268536, -0.020345427095890045, 0.056324515491724014, 0.038127366453409195, 0.03206164762377739, 0.010660137049853802, -0.011571799404919147, 0.007776213344186544, -0.0210855882614851, 0.05643283203244209, 0.048706263303756714, -0.016617538407444954, 0.05217238888144493, 0.022728387266397476, -0.035184770822525024, -0.03346975892782211, 0.0013968299608677626, 0.01389157585799694, 0.01775486022233963, -0.014397052116692066, -0.016084982082247734, 0.0102900555357337, 0.013115308247506618, 0.0038610275369137526, 0.0640149787068367, -0.050222694873809814, 0.024010131135582924, 0.007135341409593821, 0.05827420949935913, 0.004779460374265909, 0.04329044744372368, 0.03352391719818115, -0.039102211594581604, 0.09799021482467651, 0.0011023448314517736, 0.03032858669757843, -0.04903121292591095, 0.021121693775057793, -0.002938081743195653, 0.05253344401717186, -0.02805394120514393, 0.008850350975990295, -0.0446985587477684, -0.019442789256572723, -0.04242391511797905, -0.043615393340587616, -0.005668557249009609, -0.012257803231477737, -0.013557599857449532, 0.009865816682577133, 0.00004530811929726042, -0.05863526463508606, 0.02489471435546875, -0.02063426934182644, -0.0016946999821811914, -0.027620676904916763, 0.05780484154820442, -0.044120870530605316, -0.03388497233390808, 0.008417084813117981, -0.0746660903096199, -0.03013000637292862, -0.05202796682715416, 0.0033149325754493475, -0.041629593819379807, -0.040618643164634705, -0.06712004542350769, -0.04563730210065842, 0.022186804562807083, -0.0025431783869862556, 0.07762673497200012, 0.019641369581222534, -0.009076009504497051, 0.04657604172825813, 0.008642744272947311, 0.005564753897488117, -0.045853931456804276, -0.0223492793738842, -0.000013125250916345976, -0.01770070195198059, 0.06690341234207153, 0.01016368716955185, 0.03671925142407417, 0.005695636384189129, 0.01158082578331232, 0.047478679567575455, 0.023865709081292152, 0.040979694575071335, 0.006232704967260361, -0.044734664261341095, 0.026952724903821945, -0.02316165156662464, -0.055205248296260834, 0.03561803698539734, -0.01960526406764984, 0.0899025946855545, 0.0053345817141234875, 0.0016394135309383273, 0.049717217683792114, 0.022620070725679398, 0.02774704620242119, -0.04614277556538582, -0.07249975949525833, -0.008746547624468803, -0.020923113450407982, -0.03336144611239433, -0.011066323146224022, 0.005045738071203232, -0.04906731843948364, 0.05827420949935913, 0.06755331158638, 0.006688536144793034, -0.006819418631494045, 0.03292817994952202, 0.06693951785564423, 0.013774232938885689, 0.03139369562268257, -0.06722836196422577, -0.018323520198464394, 0.03504034876823425, 0.018504047766327858, -0.026302827522158623, -0.03870505094528198, -0.05556630343198776, 0.011039244011044502, 0.02651946060359478, 0.023594917729496956, 0.05599956586956978, -0.04040201008319855, -0.06791436672210693, -0.009279103018343449, -0.01590445451438427, -0.05412208288908005, 0.020814796909689903, 0.02845110185444355, 0.061704229563474655, 0.03440850228071213, 0.04401255398988724, -0.07697683572769165, -0.013864496722817421, -0.04227949306368828, 0.018079807981848717, 0.04054643213748932, 0.000782473012804985, -0.01750212162733078, -0.041846226900815964, -0.028776051476597786, -0.030473006889224052, -0.002870383905246854, -0.04105190560221672, -0.0731857642531395, -0.022638123482465744, 0.04993385076522827, -0.008232044987380505, -0.022620070725679398, 0.008692389354109764, -0.02937179058790207, 0.03892168402671814, -0.005312015768140554, 0.01005537062883377, 0.02662777528166771, -0.009048930369317532, 0.07055006921291351, 0.007663383614271879, 0.127019003033638, 0.04440971463918686, 0.0332711823284626, -0.009468656964600086, -0.028180310502648354, -0.03587077558040619, 0.0352930873632431, -0.0251474529504776, -0.056721676141023636, 0.02290891297161579, 0.009134680964052677, -0.00156494602560997, 0.058815792202949524, 0.06394276767969131, 0.0030802469700574875, -0.01926226168870926, 0.019226156175136566, -0.0008614537073299289, -0.03643040731549263, -0.011273929849267006, 0.030346637591719627, 0.048706263303756714, 0.019587211310863495, -0.04733425751328468, -0.02195211872458458, -0.001330260536633432, -0.014776159077882767, -0.037766311317682266, 0.0009759757085703313, -0.02778315171599388, -0.022277068346738815, 0.010615005157887936, 0.010398372076451778, 0.009432551451027393, -0.010885795578360558, -0.04805636778473854, 0.01904563046991825, 0.004382300190627575, -0.004165667574852705, -0.0062236785888671875, -0.002579283667728305, 0.03384886682033539, -0.009667236357927322, -0.02612229995429516, -0.015371899120509624, 0.046214986592531204, -0.003396169748157263, -0.044987402856349945, 0.03489592671394348, 0.05101701244711876, -0.04365149885416031, 0.04950058460235596, -0.0031118392944335938, -0.06358171254396439, -0.027927571907639503, 0.003290110034868121, 0.001997083192691207, 0.07531598955392838, -0.008850350975990295, -0.005023172125220299, -0.05256954953074455, -0.011996039189398289, 0.010903848335146904, -0.019334472715854645, -0.04783973470330238, -0.07582146674394608, 0.011680115945637226, -0.0838368758559227, -0.052966710180044174, -0.016057902947068214, 0.015832243487238884, -0.04957279562950134, -0.034264080226421356, 0.036502618342638016, -0.018206177279353142, -0.011959933675825596, 0.01183356437832117, -0.08362024277448654, 0.02917321026325226, -0.07188596576452255, -0.007726568263024092, 0.05516914278268814, 0.011120481416583061, 0.0675894170999527, 0.034372396767139435, 0.009076009504497051, -0.018242282792925835, 0.009206891991198063, -0.018242282792925835, -0.03240465000271797, -0.030617428943514824, 0.021717432886362076, -0.00358798005618155, 0.018756786361336708, -0.06852816045284271, -0.05033101141452789, 0.0406547486782074, -0.004619242157787085, 0.053724922239780426, 0.024353131651878357, -0.0024664541706442833, -0.07069449126720428, 0.011598878540098667, 0.04715372994542122, -0.014514395035803318, 0.03525698184967041, -0.031032642349600792, -0.0016642359551042318, -0.08427014201879501, -0.0004437022435013205, -0.026104247197508812, 0.05888800323009491, -0.02901073731482029, 0.05354439467191696, 0.03345170617103577, -0.04191843792796135, -0.02251175418496132, 0.010425451211631298, 0.019839949905872345, 0.042351704090833664, -0.005460950545966625, -0.05228070542216301, -0.01649116910994053, 0.011048270389437675, 0.004562827292829752, -0.043254341930150986, -0.04614277556538582, -0.002631185343489051, 0.0029944966081529856, -0.017845124006271362, 0.03693588450551033, -0.023107493296265602, 0.0935131385922432, 0.009730421006679535, -0.021013377234339714, 0.0015547913499176502, 0.036105457693338394, -0.08968596160411835, 0.025219663977622986, 0.0005759948980994523, -0.006602786015719175, -0.010560846887528896, -0.026537513360381126, -0.006277836859226227, -0.03931884467601776, 0.024010131135582924, -0.07336629182100296, 0.011680115945637226, 0.03733304515480995, 0.004657604265958071, 0.005041224882006645, 0.00031112751457840204, 0.008886456489562988, 0.019695527851581573, 0.0014464749256148934, 0.012077275663614273, -0.02753041312098503, 0.006756233982741833, 0.017429910600185394, -0.04783973470330238, 0.031104853376746178, 0.05726325884461403, 0.0246419757604599, -0.05679388716816902, -0.016310641542077065, 0.05628840997815132, -0.06101822480559349, -0.03496813774108887, -0.00269211339764297, -0.019081735983490944, -0.04856184124946594, -0.07199428230524063, 0.004003192763775587, -0.028035888448357582, 0.003987396601587534, -0.03554582595825195, -0.08795289695262909, -0.0004465229867491871, 0.054338715970516205, -0.020760638639330864, 0.04141296073794365, -0.049464479088783264, 0.014722000807523727, -0.01618427224457264, -0.04047422111034393, -0.07130828499794006, 0.03251296654343605, 0.024118447676301003, 0.03312676027417183, 0.003971600439399481, -0.0001953361788764596, -0.028288627043366432, 0.004434201866388321, -0.03888557851314545, 0.015209424309432507, 0.011490561999380589, 0.021103641018271446, 0.02901073731482029, -0.01806175522506237, 0.0030193189159035683, 0.0005917910602875054, 0.02651946060359478, 0.022222910076379776, 0.053724922239780426, -0.004657604265958071, 0.026302827522158623, 0.012059223838150501, -0.012140460312366486, -0.07473830133676529, 0.01366591639816761, 0.027855362743139267, 0.017935387790203094, 0.014740053564310074, 0.024515606462955475, -0.03074379824101925, -0.011653036810457706, 0.013115308247506618, -0.05188354477286339, 0.007473830133676529, -0.02296307124197483, 0.008705928921699524, 0.08152613043785095, -0.02312554605305195, 0.02911905199289322, 0.07437724620103836, 0.024208709597587585, 0.0675894170999527, 0.017664596438407898, 0.0175292007625103, 0.06065717339515686, 0.034426555037498474, -0.05152248963713646, 0.03688172623515129, -0.03133953735232353, 0.05661335960030556, -0.00805151741951704, -0.06090990826487541, 0.010669163428246975, 0.020562058314681053, 0.015940560027956963, 0.016094008460640907, 0.004303319379687309, -0.015074029564857483, -0.018883155658841133, -0.012555673718452454, 0.007983819581568241, -0.06722836196422577, -0.037008095532655716, -0.041990648955106735, -0.009486709721386433, -0.006936761550605297, 0.032946232706308365, -0.034173816442489624, 0.00716242054477334, 0.003472893964499235, -0.049356162548065186, -0.010380319319665432, -0.022475648671388626, 0.0016123343957588077, -0.0030351150780916214, -0.0063590737991034985, -0.0012715891934931278, -0.03780241683125496, -0.04527624696493149, 0.019731633365154266, 0.014749079942703247, -0.1000843346118927, -0.060693275183439255, 0.027061041444540024, -0.0497894287109375, 0.0287038404494524, 0.026898566633462906, -0.036105457693338394, -0.05173912271857262, 0.00034469430102035403, -0.02845110185444355, -0.04942837357521057, -0.00848478265106678, 0.007667896803468466, -0.021970171481370926, 0.05961011350154877, -0.022836703807115555, 0.014857396483421326, 0.011093402281403542, -0.023793498054146767, 0.06863647699356079, 0.033560022711753845, -0.026483355090022087, 0.0294620543718338, 0.016834169626235962, -0.004109252709895372, 0.008918048813939095, -0.05563851445913315, 0.027566518634557724, 0.022132646292448044, 0.0025770270731300116, 0.041593488305807114, -0.0076949759386479855, -0.06899753212928772, -0.0027959165163338184, -0.014631737023591995, -0.036159615963697433, -0.02525576949119568, 0.09120239317417145, -0.07986527681350708, 0.02987726777791977, 0.029227368533611298, 0.011743300594389439, 0.04668435826897621, -0.0037504546344280243, 0.005041224882006645, 0.028180310502648354, -0.04054643213748932, -0.06932248175144196, 0.0014250373933464289, 0.043362654745578766, -0.013016018085181713, -0.05838252604007721, -0.013088229112327099, -0.0022836702410131693, -0.03547361493110657, -0.09127460420131683, -0.0036850133910775185, -0.025075241923332214, -0.056216198951005936, 0.0655675157904625, -0.003238208359107375, -0.05614398792386055, 0.060476645827293396, 0.035636089742183685, -0.02971479296684265, 0.08715857565402985, -0.0036060328129678965, 0.014397052116692066, 0.06336507946252823, 0.007306842133402824, -0.055710725486278534, -0.0042378781363368034, -0.0553857758641243, 0.02657361887395382, -0.012925754301249981, 0.027115199714899063, 0.009220431558787823, 0.02047179453074932, 0.010633057914674282, -0.002845561597496271, -0.009667236357927322, 0.014568552374839783, 0.011752326972782612, 0.02475029230117798, 0.018188124522566795, 0.03146590664982796, -0.001388931879773736, 0.04357928782701492, -0.057949263602495193, 0.012654963880777359, 0.031628381460905075, -0.040365904569625854, -0.0022227424196898937, 0.0012332270853221416, -0.019587211310863495, 0.009107601828873158, -0.015841269865632057, 0.016337720677256584, 0.06152370199561119, 0.009387419559061527, 0.03888557851314545, 0.009685289114713669, 0.04820078983902931, 0.020598163828253746, -0.0036060328129678965, 0.0007142111426219344, 0.03229633346199989, 0.012916727922856808, -0.013620784506201744, 0.03229633346199989, -0.07387176901102066, -0.04004095494747162, 0.022674228996038437, 0.036159615963697433, -0.025887614116072655, 0.028071993961930275, 0.012086302042007446, -0.004562827292829752, -0.029046842828392982, -0.010587926022708416, -0.03838010132312775, 0.054338715970516205, 0.01212240755558014, 0.0018944083712995052, -0.040004849433898926, 0.030761850997805595, 0.060946013778448105, 0.02688051387667656, 0.007952227257192135, -0.03733304515480995, 0.0004673964576795697, -0.03798294439911842, 0.04170180484652519, 0.030671587213873863, 0.04119632765650749, 0.062065284699201584, 0.011616931296885014, 0.043723709881305695, -0.006643404718488455, -0.002434861846268177, 0.023739339783787727, -0.024551711976528168, 0.0416656993329525, 0.019117841497063637, -0.04029369354248047, 0.0016450550174340606, -0.003718862310051918, 0.005740767810493708, -0.018332546576857567, -0.0028387918137013912, 0.056721676141023636, 0.010118555277585983, -0.07488272339105606, -0.07271639257669449, -0.020291268825531006, -0.05664946511387825, -0.003971600439399481, -0.011021191254258156, 0.0029290553648024797, 0.04069085419178009, -0.02469613403081894, -0.10853300988674164, 0.017917335033416748, 0.003901646239683032, 0.05574682727456093, -0.01859431155025959, 0.004350707866251469, 0.08008190989494324, 0.006729154847562313, 0.039102211594581604, 0.014342893846333027, -0.03718862310051918, 0.04314602538943291, -0.015254556201398373, 0.05426650494337082, 0.044590242207050323, 0.0411602221429348, -0.009071496315300465, 0.0238837618380785, 0.019677475094795227, -0.07560483366250992, 0.0462510921061039, -0.025327980518341064, -0.01904563046991825, 0.0069322483614087105, -0.00801089871674776, 0.031032642349600792, -0.037874627858400345, 0.03845231235027313, 0.02256591245532036, -0.05361660569906235, 0.0018752273172140121, 0.001986928516998887, 0.030093900859355927, -0.027873413637280464, -0.038741156458854675, -0.07101944088935852, 0.04989774525165558, 0.011490561999380589, -0.03718862310051918, 0.008742034435272217, 0.03352391719818115, 0.05737157538533211, 0.028974631801247597, -0.02424481511116028, 0.01587737537920475, -0.027349885553121567, 0.042243387550115585, -0.04592614248394966, 0.030238322913646698, 0.037116412073373795, -0.04213507100939751, 0.012194618582725525, 0.0002252360136481002, -0.01097605936229229, -0.013187519274652004, -0.047478679567575455, 0.05766041949391365, -0.021681327372789383, -0.049861639738082886, 0.012041171081364155, 0.0187928918749094, 0.018097860738635063, -0.0033803735859692097, 0.008561506867408752, -0.013016018085181713, 0.049608901143074036, -0.051450278609991074, 0.00043947112862952054, 0.05578293278813362, 0.019677475094795227, -0.015083055943250656 ]
720,015
ibm_platform_services.usage_reports_v4
create_reports_snapshot_config
Setup the snapshot configuration. Snapshots of the billing reports would be taken on a periodic interval and stored based on the configuration setup by the customer for the given Account Id. :param str account_id: Account ID for which billing report snapshot is configured. :param str interval: Frequency of taking the snapshot of the billing reports. :param str cos_bucket: The name of the COS bucket to store the snapshot of the billing reports. :param str cos_location: Region of the COS instance. :param str cos_reports_folder: (optional) The billing reports root folder to store the billing reports snapshots. Defaults to "IBMCloud-Billing-Reports". :param List[str] report_types: (optional) The type of billing reports to take snapshot of. Possible values are [account_summary, enterprise_summary, account_resource_instance_usage]. :param str versioning: (optional) A new version of report is created or the existing report version is overwritten with every update. Defaults to "new". :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse with `dict` result representing a `SnapshotConfig` object
def create_reports_snapshot_config( self, account_id: str, interval: str, cos_bucket: str, cos_location: str, *, cos_reports_folder: Optional[str] = None, report_types: Optional[List[str]] = None, versioning: Optional[str] = None, **kwargs, ) -> DetailedResponse: """ Setup the snapshot configuration. Snapshots of the billing reports would be taken on a periodic interval and stored based on the configuration setup by the customer for the given Account Id. :param str account_id: Account ID for which billing report snapshot is configured. :param str interval: Frequency of taking the snapshot of the billing reports. :param str cos_bucket: The name of the COS bucket to store the snapshot of the billing reports. :param str cos_location: Region of the COS instance. :param str cos_reports_folder: (optional) The billing reports root folder to store the billing reports snapshots. Defaults to "IBMCloud-Billing-Reports". :param List[str] report_types: (optional) The type of billing reports to take snapshot of. Possible values are [account_summary, enterprise_summary, account_resource_instance_usage]. :param str versioning: (optional) A new version of report is created or the existing report version is overwritten with every update. Defaults to "new". :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse with `dict` result representing a `SnapshotConfig` object """ if account_id is None: raise ValueError('account_id must be provided') if interval is None: raise ValueError('interval must be provided') if cos_bucket is None: raise ValueError('cos_bucket must be provided') if cos_location is None: raise ValueError('cos_location must be provided') headers = {} sdk_headers = get_sdk_headers( service_name=self.DEFAULT_SERVICE_NAME, service_version='V4', operation_id='create_reports_snapshot_config', ) headers.update(sdk_headers) data = { 'account_id': account_id, 'interval': interval, 'cos_bucket': cos_bucket, 'cos_location': cos_location, 'cos_reports_folder': cos_reports_folder, 'report_types': report_types, 'versioning': versioning, } data = {k: v for (k, v) in data.items() if v is not None} data = json.dumps(data) headers['content-type'] = 'application/json' if 'headers' in kwargs: headers.update(kwargs.get('headers')) del kwargs['headers'] headers['Accept'] = 'application/json' url = '/v1/billing-reports-snapshot-config' request = self.prepare_request( method='POST', url=url, headers=headers, data=data, ) response = self.send(request, **kwargs) return response
(self, account_id: str, interval: str, cos_bucket: str, cos_location: str, *, cos_reports_folder: Optional[str] = None, report_types: Optional[List[str]] = None, versioning: Optional[str] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
[ -0.06103556230664253, -0.08541222661733627, -0.04417096823453903, -0.043382201343774796, -0.04668750986456871, 0.005094122141599655, -0.05179571732878685, 0.01385037787258625, -0.11253079771995544, -0.01477060653269291, -0.01218833215534687, 0.01748434081673622, 0.008887717500329018, -0.02302449196577072, -0.018413960933685303, -0.015456082299351692, 0.038950078189373016, -0.04435877129435539, 0.05765513330698013, -0.015240110456943512, 0.024695927277207375, -0.0320577546954155, -0.025221772491931915, 0.10148805379867554, 0.02954121306538582, 0.010930061340332031, 0.030517781153321266, 0.006127031520009041, -0.014451343566179276, 0.0790269672870636, 0.0027536428533494473, 0.010019222274422646, 0.03879983723163605, 0.0068078129552304745, 0.00305412570014596, -0.032264336943626404, 0.018554812297225, -0.0078078568913042545, -0.13266314566135406, 0.063627228140831, -0.00021421135170385242, 0.032996766269207, 0.033804312348365784, -0.04345732182264328, 0.03059290163218975, 0.026799308136105537, -0.028339281678199768, 0.013315143063664436, -0.024414226412773132, -0.0034226865973323584, 0.05145767703652382, 0.013737697154283524, -0.07482021301984787, 0.0005584167083725333, 0.02370057813823223, 0.0024695927277207375, -0.013362093828618526, -0.000019201994291506708, 0.02370057813823223, 0.0037325595039874315, -0.02929707057774067, 0.02388838119804859, 0.012366743758320808, -0.038950078189373016, 0.019869424402713776, -0.028001239523291588, -0.053598616272211075, -0.014301101677119732, 0.012808077968657017, -0.008390042930841446, 0.03754156827926636, -0.020057225599884987, 0.024639587849378586, 0.0005807181587442756, -0.014348052442073822, -0.028977807611227036, -0.03502502292394638, 0.043344639241695404, -0.03633963689208031, -0.0014460734091699123, -0.01671435497701168, -0.02221694588661194, -0.005141072440892458, -0.025503475219011307, 0.03367285057902336, 0.03966372460126877, -0.011399565264582634, -0.03192629665136337, -0.008404127322137356, 0.05130743235349655, 0.01385037787258625, -0.014930238015949726, 0.005662222392857075, 0.012460645288228989, 0.003507197368890047, -0.03425503522157669, -0.032790184020996094, -0.013906718231737614, -0.011268104426562786, 0.024357885122299194, -0.05468786507844925, -0.13273826241493225, -0.01833883859217167, 0.04803968220949173, 0.012610886245965958, -0.06302626430988312, -0.02582273818552494, -0.014432563446462154, 0.006094166077673435, -0.014423172920942307, 0.016564112156629562, -0.00015082827303558588, -0.02678052708506584, -0.07654798775911331, 0.01956894062459469, 0.04120370000600815, -0.024245204403996468, -0.01317429170012474, -0.0245644673705101, -0.05367373675107956, 0.04755140095949173, -0.05592735484242439, 0.018207378685474396, 0.03913788124918938, 0.02582273818552494, 0.06490428000688553, -0.027306372299790382, 0.026273462921380997, -0.0013979491777718067, 0.008272666484117508, 0.025991760194301605, -0.008643575012683868, -0.013916108757257462, -0.01474243588745594, 0.05604003742337227, -0.034179914742708206, 0.02678052708506584, 0.018939804285764694, -0.016939716413617134, -0.014817557297647, 0.013653186149895191, 0.0034931122791022062, -0.009178809821605682, -0.04075297713279724, -0.040302250534296036, 0.021672319620847702, 0.0063383085653185844, 0.021465737372636795, -0.06712034344673157, 0.012291623279452324, 0.008432297967374325, -0.008601319044828415, -0.05626539885997772, -0.04206758737564087, -0.03985152766108513, -0.07797528058290482, 0.058706823736429214, 0.07857624441385269, 0.006742082070559263, 0.02259254828095436, 0.02370057813823223, 0.043194398283958435, 0.06156140938401222, -0.07042565196752548, -0.008667049929499626, 0.000934313633479178, -0.04326951876282692, -0.026480045169591904, -0.0010751648806035519, -0.036546219140291214, -0.015446692705154419, 0.02400106191635132, -0.04315683990716934, 0.006141116842627525, -0.07628506422042847, 0.04127882048487663, 0.02428276464343071, -0.02144695818424225, -0.02572883851826191, -0.021803781390190125, 0.00143668323289603, -0.061598967760801315, 0.004929795395582914, 0.021315496414899826, -0.006230322644114494, -0.005563626531511545, -0.03478088229894638, 0.06869787722826004, 0.006281968206167221, -0.036208175122737885, 0.02255498804152012, -0.004784249234944582, 0.02000088430941105, -0.011728218756616116, -0.00036621338222175837, -0.08436053991317749, -0.0356447696685791, -0.0833839699625969, 0.011653097346425056, 0.05081915110349655, 0.039813969284296036, -0.04323196038603783, -0.0004923926899209619, -0.029747795313596725, 0.09592912346124649, -0.05044354498386383, 0.0007406430668197572, -0.06546768546104431, -0.005197412800043821, 0.025184212252497673, -0.0076341405510902405, 0.031099967658519745, -0.03335358947515488, -0.014225981198251247, -0.041842225939035416, 0.03218921646475792, 0.04109102115035057, 0.017165077850222588, -0.03838667273521423, -0.04552314057946205, 0.05483810603618622, -0.015427912585437298, 0.0075449347496032715, -0.03825521469116211, -0.05641563981771469, 0.038762278854846954, 0.06171165034174919, -0.04533533751964569, -0.032452140003442764, -0.032639943063259125, 0.005234973505139351, 0.009793860837817192, -0.0011027483269572258, -0.02495885081589222, -0.029616333544254303, -0.047964561730623245, -0.0037677723448723555, 0.017399830743670464, 0.05900730565190315, 0.014235371723771095, 0.016385700553655624, 0.07346803694963455, 0.0245644673705101, 0.07527093589305878, 0.004753731191158295, -0.03992664813995361, -0.05115719139575958, 0.054124459624290466, -0.02693076804280281, 0.00019352382514625788, 0.02631102316081524, -0.053110331296920776, -0.003976701758801937, 0.011380785144865513, 0.018010186031460762, -0.015615713782608509, 0.011981750838458538, -0.029747795313596725, 0.051194753497838974, -0.02043282799422741, 0.012855028733611107, -0.0737309604883194, -0.005117597058415413, -0.02385082095861435, -0.00014694019046146423, -0.0020399964414536953, -0.027738315984606743, -0.004805376753211021, 0.03001071698963642, 0.050180625170469284, -0.007375913206487894, 0.051570355892181396, -0.004732603672891855, -0.014939627610147, 0.027869777753949165, -0.011859679594635963, 0.003995481878519058, -0.032546039670705795, 0.017841164022684097, -0.005399299785494804, 0.04740115627646446, -0.03748522698879242, 0.0824074000120163, 0.03179483488202095, 0.06336430460214615, -0.02708101086318493, -0.053598616272211075, 0.02779465727508068, 0.05194595828652382, -0.011061522178351879, -0.027250031009316444, 0.019437478855252266, -0.04717579483985901, -0.042368073016405106, -0.002514195628464222, 0.029372191056609154, 0.011916019953787327, -0.017155688256025314, 0.017747264355421066, 0.05096939206123352, -0.016967887058854103, 0.05025574564933777, 0.057692691683769226, 0.00016872811829671264, -0.01877078413963318, -0.01908065564930439, 0.03382309153676033, -0.029954377561807632, 0.037222303450107574, -0.0055401511490345, -0.014498294331133366, 0.020601850003004074, 0.04443389177322388, 0.001195475459098816, 0.01057323720306158, -0.04732603579759598, 0.022667668759822845, -0.03748522698879242, 0.006915798876434565, 0.020789651200175285, -0.05758001282811165, 0.0027184300124645233, -0.0037114317528903484, -0.009376001544296741, 0.08360933512449265, -0.010592018254101276, -0.0035306725185364485, 0.04206758737564087, -0.01960650086402893, 0.01477060653269291, -0.0626130998134613, 0.00795809831470251, 0.028020018711686134, 0.04792700335383415, 0.012366743758320808, -0.04052761569619179, -0.04349488019943237, -0.03992664813995361, -0.02317473478615284, 0.002894494216889143, 0.019794302061200142, -0.0038170702755451202, 0.036978162825107574, 0.024752268567681313, 0.0018439783016219735, 0.003291225293651223, 0.08638879656791687, -0.03816131129860878, -0.07264170795679092, 0.030630463734269142, -0.05945802852511406, 0.009944101795554161, 0.03906276077032089, 0.0944267138838768, 0.07020028680562973, -0.02905292809009552, 0.015174380503594875, -0.028151480481028557, -0.029165608808398247, -0.0236066784709692, 0.002413252368569374, 0.04300659894943237, -0.040790535509586334, 0.008305531926453114, 0.04619922488927841, 0.029860476031899452, -0.05280984938144684, -0.013437214307487011, 0.035438187420368195, -0.03335358947515488, -0.005126987583935261, -0.007563714869320393, -0.016413871198892593, 0.02683686837553978, 0.02837684191763401, 0.014592194929718971, -0.07005004584789276, -0.012056871317327023, -0.04826504737138748, 0.03034876100718975, -0.007352437824010849, -0.04484705254435539, 0.011549806222319603, -0.0030635157600045204, 0.016291800886392593, -0.05521370843052864, -0.0062491027638316154, -0.041654422879219055, 0.010826770216226578, -0.013268192298710346, -0.01291136909276247, 0.04255587235093117, -0.014930238015949726, 0.011840899474918842, -0.03917544335126877, -0.021277936175465584, 0.012498205527663231, 0.07294219732284546, 0.05551419407129288, -0.03966372460126877, 0.001032322645187378, -0.03412357345223427, -0.02308083325624466, 0.011080302298069, -0.016883375123143196, -0.03555087000131607, 0.03387943282723427, -0.0751582533121109, 0.030273640528321266, -0.0578053742647171, 0.033222127705812454, -0.05044354498386383, -0.055138587951660156, 0.02591663971543312, -0.01951259933412075, 0.009319661185145378, -0.006873543374240398, 0.016545332968235016, -0.046612389385700226, 0.0011473512277007103, 0.011446516029536724, 0.02905292809009552, 0.06035947799682617, 0.05145767703652382, 0.040302250534296036, 0.030855825170874596, 0.005342959426343441, 0.00798626895993948, -0.03121264837682247, -0.03406723588705063, 0.03887495771050453, 0.05228400230407715, -0.061073124408721924, 0.03618939593434334, 0.017615802586078644, 0.019165167585015297, 0.031494349241256714, 0.015287061221897602, -0.011878459714353085, 0.04732603579759598, -0.018273109570145607, -0.02308083325624466, 0.006620011292397976, -0.02385082095861435, -0.01926845870912075, 0.023062052205204964, -0.018658101558685303, -0.10757283121347427, 0.04905381426215172, 0.0491289347410202, 0.020583070814609528, 0.004892235156148672, -0.03093094564974308, 0.003056473331525922, 0.0038710632361471653, -0.05705416575074196, 0.017127517610788345, 0.0040565175004303455, -0.011831508949398994, -0.02477104961872101, 0.004732603672891855, -0.00690171355381608, -0.015812905505299568, 0.014714266173541546, 0.02948487177491188, 0.022517427802085876, 0.0419173464179039, 0.03806741163134575, -0.029109269380569458, 0.01383159775286913, 0.0040870350785553455, 0.02693076804280281, -0.03632085397839546, 0.06787154823541641, 0.03213287517428398, -0.005882889498025179, -0.02779465727508068, 0.012610886245965958, -0.057317089289426804, -0.05416202172636986, 0.0009137727902270854, 0.04758895933628082, -0.027494173496961594, 0.006436904426664114, 0.015042918734252453, -0.05502590909600258, 0.007117685861885548, 0.02114647440612316, -0.043720245361328125, 0.02567249722778797, -0.06866031140089035, -0.012808077968657017, -0.022893032059073448, 0.01751251146197319, -0.07512069493532181, 0.02644248493015766, 0.0363771952688694, 0.054424941539764404, 0.022611329331994057, -0.02760685421526432, 0.02751295454800129, -0.020414048805832863, -0.001457810983993113, 0.007587190251797438, -0.009535633027553558, 0.011380785144865513, -0.041128579527139664, 0.03305310383439064, -0.04180466756224632, -0.0022371881641447544, -0.06636913120746613, 0.03252726048231125, -0.03224555775523186, -0.024263983592391014, -0.03844301402568817, 0.0539742186665535, -0.015963148325681686, -0.023832039907574654, -0.029616333544254303, -0.025184212252497673, 0.0006267882999964058, 0.04435877129435539, 0.03361650928854942, -0.01154041662812233, -0.0004539520014077425, 0.050368424504995346, 0.05063134804368019, -0.06088532134890556, -0.0059016696177423, -0.001125049777328968, -0.051720596849918365, 0.0031315938103944063, -0.014000619761645794, 0.006967444438487291, 0.015268281102180481, 0.03265872225165367, -0.04856552928686142, -0.004523674491792917, 0.024151302874088287, -0.01606643758714199, -0.013146121054887772, 0.012629666365683079, -0.013071000576019287, -0.05194595828652382, -0.05859414115548134, 0.0056199668906629086, 0.06133604794740677, 0.026573944836854935, 0.05280984938144684, -0.031043626368045807, 0.11080302298069, -0.01457341481000185, 0.06933639943599701, 0.027681976556777954, -0.05265960469841957, 0.08774097263813019, 0.01893041469156742, -0.058894623070955276, 0.042856354266405106, -0.03609549254179001, -0.016169728711247444, 0.01748434081673622, 0.020019665360450745, 0.013455994427204132, -0.04293147474527359, 0.0477016419172287, 0.07605969905853271, 0.05213376134634018, -0.015174380503594875, -0.01603826880455017, 0.0078923674300313, -0.00032982678385451436, -0.021315496414899826, -0.07249146699905396, -0.01951259933412075, -0.04071541503071785, 0.014395003207027912, 0.028339281678199768, -0.02086477354168892, -0.003453204408288002, 0.04172954708337784, -0.02139061689376831, 0.049654778093099594, -0.05773025378584862, -0.008014438673853874, 0.031494349241256714, -0.036546219140291214, -0.014808166772127151, 0.038330335170030594, 0.053410813212394714, -0.015625104308128357, 0.1093757301568985, -0.01522133033722639, -0.04341975972056389, 0.011869069188833237, 0.0611858032643795, -0.012836248613893986, -0.06437843292951584, -0.020057225599884987, -0.04991770163178444, -0.002395645948126912, 0.035100143402814865, 0.004495503846555948, 0.028414402157068253, -0.025409575551748276, 0.025503475219011307, 0.02877122536301613, 0.02447056584060192, 0.03136289119720459, -0.010441776365041733, 0.014554634690284729, 0.0031362890731543303, 0.059232667088508606, 0.01110847294330597, 0.008535589091479778, -0.02813269942998886, -0.03414235636591911, 0.043344639241695404, 0.015681445598602295, 0.020639410242438316, 0.02505275048315525, 0.02033892832696438, -0.01800079643726349, 0.05855657905340195, -0.058857064694166183, 0.03472454100847244, 0.01748434081673622, -0.05254692584276199, 0.0031715016812086105, 0.01014129351824522, 0.01112725306302309, 0.032151658087968826, 0.012075651437044144, -0.059270229190588, 0.02182256244122982, -0.009272710420191288, 0.02924072928726673, 0.029353411868214607, 0.056302960962057114, 0.0009478118736296892, 0.07812552154064178, -0.0086154043674469, -0.011070912703871727, 0.02255498804152012, 0.03136289119720459, 0.03940080478787422, -0.01014129351824522, -0.07688602805137634, -0.0036198783200234175, -0.010920670814812183, -0.045072417706251144, 0.025221772491931915, -0.05198352038860321, -0.0004184457357041538, -0.0166204534471035, 0.06753350049257278, -0.04139150306582451, 0.0166204534471035, 0.011230544187128544, -0.0070472601801157, -0.016329361125826836, -0.016075829043984413, -0.0510820709168911, -0.024245204403996468, -0.04443389177322388, -0.0027278203051537275, 0.004990831017494202, -0.0028005933854728937, -0.031438011676073074, 0.01871444284915924, 0.036827921867370605, -0.05232156440615654, -0.019399918615818024, -0.02539079450070858, 0.023343754932284355, 0.017043007537722588, -0.05592735484242439, -0.028020018711686134, -0.013164901174604893, -0.03295920416712761, 0.08421029895544052, 0.003910971339792013, -0.02587907947599888, 0.02644248493015766, 0.018395179882645607, -0.034668199717998505, 0.04229294881224632, -0.06223749369382858, -0.012413694523274899, 0.05754245072603226, 0.025522256270051003, 0.015174380503594875, 0.0033170480746775866, 0.013521725311875343, 0.0030142178293317556, 0.002068166621029377, -0.04664995148777962, 0.01726836897432804, -0.008051998913288116, -0.032395798712968826, 0.012150771915912628, -0.020320147275924683, -0.008535589091479778, 0.09547840058803558, -0.0003283596015535295, -0.03816131129860878, 0.060922883450984955, -0.02948487177491188, 0.04740115627646446, -0.004474376328289509, 0.005272533744573593, 0.09232333302497864, 0.03228311985731125, -0.02447056584060192, -0.037560347467660904, 0.026292242109775543, -0.038950078189373016, 0.0058922795578837395, -0.0033334807958453894, 0.00043458494474180043, -0.006826593074947596, 0.015042918734252453, 0.011014571413397789, -0.04766407981514931, 0.028451962396502495, -0.0025282809510827065, 0.05536395311355591, 0.054950788617134094, 0.004331177566200495, 0.0004812419356312603, 0.052396684885025024, 0.017615802586078644, -0.002319351537153125, 0.02447056584060192, 0.04435877129435539, 0.015719005838036537, -0.028602203354239464, -0.013549895025789738, -0.006164591759443283, 0.03166337311267853, 0.02486494928598404, 0.025597376748919487, 0.01859237253665924, 0.002826416166499257, -0.05949559062719345, 0.0022958761546760798, -0.0007224497967399657, 0.04736359789967537, 0.029691454023122787, -0.05416202172636986, -0.004716170951724052, 0.006098861340433359, 0.017841164022684097, 0.03917544335126877, -0.04244319349527359, -0.006375868804752827, -0.00004570331293507479, 0.03440527617931366, 0.03921300172805786, 0.029315851628780365, 0.00334756588563323, -0.00019763197633437812, -0.007915843278169632, 0.03496868163347244, 0.020357707515358925, 0.029184389859437943, 0.019794302061200142, -0.0016831730026751757 ]
720,016
ibm_platform_services.usage_reports_v4
delete_reports_snapshot_config
Delete the snapshot configuration. Delete the configuration of snapshot of the billing reports setup by the customer for the given Account Id. :param str account_id: Account ID for which the billing report snapshot is configured. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse
def delete_reports_snapshot_config( self, account_id: str, **kwargs, ) -> DetailedResponse: """ Delete the snapshot configuration. Delete the configuration of snapshot of the billing reports setup by the customer for the given Account Id. :param str account_id: Account ID for which the billing report snapshot is configured. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse """ if not account_id: raise ValueError('account_id must be provided') headers = {} sdk_headers = get_sdk_headers( service_name=self.DEFAULT_SERVICE_NAME, service_version='V4', operation_id='delete_reports_snapshot_config', ) headers.update(sdk_headers) params = { 'account_id': account_id, } if 'headers' in kwargs: headers.update(kwargs.get('headers')) del kwargs['headers'] url = '/v1/billing-reports-snapshot-config' request = self.prepare_request( method='DELETE', url=url, headers=headers, params=params, ) response = self.send(request, **kwargs) return response
(self, account_id: str, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
[ -0.043259043246507645, -0.07107359170913696, 0.0033230974804610014, -0.05367593467235565, -0.048793017864227295, -0.005986096803098917, -0.05172276869416237, 0.05750993266701698, -0.06832469254732132, -0.023655029013752937, -0.02025507017970085, -0.0062166787683963776, 0.008617447689175606, -0.03410809114575386, -0.005850459914654493, -0.0044873119331896305, 0.002995308954268694, 0.006515079643577337, 0.045718587934970856, -0.019206147640943527, 0.03108791634440422, 0.0008709002286195755, -0.03946121782064438, 0.06626301258802414, 0.026259252801537514, 0.005389295518398285, 0.08456491678953171, -0.005140628200024366, -0.03264321759343147, 0.07906711101531982, -0.0028913209680467844, 0.03483148664236069, 0.027687957510352135, 0.0056289201602339745, -0.05114405229687691, -0.031449612230062485, 0.05447167158126831, 0.0047653671354055405, -0.10604976117610931, 0.03275172412395477, -0.04510370269417763, 0.02577096037566662, 0.06119924783706665, -0.0442717969417572, 0.007021456491202116, 0.005122543312609196, -0.008694307878613472, 0.0029252299573272467, -0.042571816593408585, -0.0011009173467755318, 0.038014426827430725, 0.011972193606197834, -0.07219485938549042, 0.03146769851446152, 0.07979051023721695, -0.0026358719915151596, -0.031503867357969284, -0.02526458352804184, 0.042861174792051315, -0.04477817192673683, -0.0019226492149755359, -0.007523311767727137, 0.010814760811626911, -0.019350826740264893, 0.03768889978528023, -0.07168848067522049, -0.05121639370918274, 0.0022594803012907505, -0.012650376185774803, -0.06865022331476212, -0.04141438379883766, -0.02862837165594101, 0.014901944436132908, 0.01314771082252264, -0.015345023944973946, -0.013771639205515385, -0.027977315708994865, 0.034415535628795624, -0.025644365698099136, -0.005185840651392937, -0.010190832428634167, -0.043548401445150375, 0.022081643342971802, -0.06271837651729584, -0.011737089604139328, -0.006723055616021156, 0.006912947166711092, -0.028393268585205078, 0.0050275977700948715, 0.03410809114575386, 0.06459920853376389, -0.00472015468403697, -0.05447167158126831, 0.002963660517707467, -0.0039922380819916725, -0.006207636557519436, -0.012306763790547848, 0.012731758877635002, -0.03251662105321884, 0.005624399054795504, -0.007432887330651283, -0.08029688894748688, 0.008386865258216858, 0.06478005647659302, 0.01588757149875164, -0.0408356674015522, -0.015607255510985851, -0.04687602072954178, 0.013527492992579937, 0.0221358984708786, 0.008273834362626076, -0.015164175070822239, -0.00550232594832778, -0.057401422411203384, 0.06521409004926682, 0.043656911700963974, -0.05458018183708191, -0.0738224983215332, -0.02452310360968113, -0.06467154622077942, 0.047599416226148605, -0.028158165514469147, 0.003395437030121684, 0.0014094907091930509, -0.002495713997632265, 0.051867447793483734, -0.005285307299345732, 0.012279636226594448, -0.016873197630047798, 0.02936985157430172, 0.013753554783761501, 0.005041161552071571, -0.0037887832149863243, -0.01657479628920555, 0.06452686339616776, -0.006971722934395075, 0.038701653480529785, 0.03837612271308899, 0.03275172412395477, -0.020490173250436783, 0.0027647267561405897, 0.029550701379776, -0.03501233458518982, -0.023998640477657318, 0.0026087446603924036, -0.01691840961575508, 0.009729667566716671, 0.026150742545723915, -0.04372924938797951, 0.006736619397997856, -0.05830566585063934, 0.0047111124731600285, -0.04698453098535538, -0.04951641336083412, -0.04242713749408722, -0.026566695421934128, 0.01877211034297943, 0.0741480216383934, 0.010254129767417908, 0.020743362605571747, 0.07913945615291595, 0.05949926748871803, 0.08398620039224625, -0.09447543323040009, 0.007125444244593382, -0.036187853664159775, -0.04806962236762047, -0.0009901474695652723, -0.04032929241657257, -0.020110391080379486, -0.01668330654501915, 0.03069004788994789, -0.008237664587795734, 0.00032100669341161847, -0.03855697438120842, 0.06355028599500656, 0.03629636391997337, -0.002941054292023182, -0.06058436259627342, -0.03166663274168968, 0.004697548691183329, -0.042065441608428955, 0.03141344338655472, 0.009046963416039944, 0.031630463898181915, -0.013500366359949112, -0.06470771878957748, 0.040690988302230835, -0.03492191061377525, -0.04184842109680176, -0.024342253804206848, -0.027742212638258934, -0.002305822679772973, -0.040473971515893936, 0.01824764907360077, -0.05613547936081886, -0.03924419730901718, -0.1250750571489334, 0.06452686339616776, -0.0009528473601676524, -0.012026447802782059, -0.05429082363843918, 0.019350826740264893, -0.0011608235072344542, 0.05052916705608368, -0.05121639370918274, 0.01283122505992651, -0.07494375854730606, 0.03050919994711876, 0.08369684219360352, -0.015245557762682438, 0.022551851347088814, 0.011203586123883724, -0.019658269360661507, 0.005850459914654493, -0.0029862665105611086, 0.01978486403822899, 0.0012840267736464739, 0.005701259709894657, -0.011447731405496597, 0.023311415687203407, 0.015562042593955994, 0.02566245011985302, 0.014504076912999153, -0.036766570061445236, 0.021303992718458176, 0.005158713087439537, 0.006460824981331825, -0.004661378916352987, -0.04304202273488045, 0.05240999534726143, 0.018410412594676018, 0.023202907294034958, -0.029098577797412872, 0.04546539857983589, -0.037435710430145264, -0.03571764752268791, 0.002020985819399357, 0.05841417610645294, 0.008504416793584824, -0.03794208541512489, 0.07581183314323425, 0.0443803071975708, 0.057003553956747055, -0.004069098737090826, -0.006112691015005112, -0.04864833876490593, 0.047020699828863144, 0.016963621601462364, -0.0042702932842075825, 0.0447058342397213, -0.061163078993558884, 0.005606314167380333, 0.009973813779652119, 0.02812199480831623, -0.022117814049124718, 0.016086503863334656, -0.011357307434082031, 0.03273364156484604, -0.005601793061941862, 0.04025695100426674, -0.08246707171201706, 0.010543487966060638, -0.03553679585456848, 0.028718795627355576, 0.009792964905500412, -0.008310004137456417, 0.012270594015717506, 0.023239076137542725, 0.045031361281871796, 0.06271837651729584, -0.012189212255179882, 0.0093770120292902, 0.008120113052427769, -0.005479719955474138, -0.009765837341547012, -0.018663600087165833, -0.03446979075670242, 0.04861216992139816, 0.02309439703822136, 0.013192922808229923, -0.08861593157052994, 0.03349320590496063, 0.032878320664167404, 0.05725674331188202, 0.010941354557871819, -0.017759356647729874, -0.015209387987852097, 0.04618879407644272, 0.05092703551054001, 0.025029480457305908, -0.011945066042244434, -0.07291825115680695, -0.006958159152418375, -0.01758754998445511, -0.0013495844323188066, -0.00966637022793293, 0.0011789083946496248, -0.006564813200384378, 0.09910516440868378, 0.013744511641561985, 0.04181225225329399, 0.05345891788601875, -0.016818942502141, -0.043837759643793106, -0.001103743095882237, 0.027868807315826416, -0.013455153442919254, 0.06315241754055023, -0.0037367891054600477, 0.00223461352288723, -0.01000998355448246, -0.03273364156484604, -0.024251829832792282, 0.022606104612350464, -0.018500836566090584, 0.0330953374505043, -0.044235628098249435, 0.0011353916488587856, -0.021322079002857208, -0.06723959743976593, 0.02645818516612053, -0.004103008192032576, 0.02560819685459137, 0.05154192075133324, -0.042861174792051315, 0.012478570453822613, 0.016059376299381256, -0.033800650388002396, 0.003212327603250742, -0.023474179208278656, -0.010453063063323498, 0.006894862279295921, 0.03137727454304695, 0.020888041704893112, -0.08333514630794525, -0.0003958894230891019, -0.010995609685778618, -0.02812199480831623, 0.03513893112540245, -0.00793022196739912, 0.016167886555194855, 0.10858164727687836, 0.03982291370630264, 0.008296440355479717, 0.0409441776573658, 0.02743477001786232, -0.026042234152555466, -0.004869354888796806, 0.011682835407555103, -0.010118492878973484, 0.009991898201406002, 0.03588040918111801, 0.029641125351190567, 0.027127325534820557, -0.032878320664167404, 0.03011133149266243, 0.04886535555124283, -0.03349320590496063, -0.019314656034111977, 0.016032250598073006, 0.008504416793584824, -0.07704160362482071, -0.03177514299750328, 0.028212418779730797, 0.009946686215698719, -0.0889776274561882, -0.028302844613790512, 0.04861216992139816, -0.02759753353893757, -0.03295065835118294, 0.02663903497159481, -0.0006075390847399831, 0.009675413370132446, 0.052952539175748825, 0.0028732360806316137, -0.025969894602894783, -0.005723865702748299, 0.010371681302785873, 0.029858144000172615, -0.022895462810993195, -0.04604411497712135, 0.031069831922650337, -0.012867394834756851, -0.043259043246507645, -0.03074430301785469, -0.002371380338445306, -0.047599416226148605, -0.00922781229019165, 0.00991955865174532, 0.001728236791677773, 0.01134826522320509, -0.02692839317023754, 0.005565623287111521, -0.04741856828331947, -0.025807129219174385, -0.007007892709225416, 0.04608028382062912, 0.04032929241657257, -0.03446979075670242, -0.017017876729369164, 0.02965920977294445, -0.03651338070631027, 0.01737053133547306, 0.011339222081005573, -0.0023013015743345022, 0.00785336084663868, -0.05732908472418785, 0.0204178337007761, -0.05020364001393318, 0.042644158005714417, 0.007274644449353218, -0.033402781933546066, 0.06449069827795029, 0.029062408953905106, 0.06648003309965134, 0.0032620609272271395, -0.0068812984973192215, -0.048901528120040894, -0.02314865216612816, 0.00330049148760736, 0.06051202118396759, -0.018075842410326004, -0.00420473562553525, 0.029966652393341064, -0.015037581324577332, -0.03011133149266243, 0.0009002881706692278, -0.06221200153231621, -0.00998285599052906, 0.04550156742334366, 0.013825894333422184, -0.03103366121649742, 0.04271649569272995, -0.012550910003483295, 0.019766777753829956, -0.0022402650211006403, 0.04915471374988556, 0.016348734498023987, 0.03000282309949398, -0.03206450119614601, -0.016882238909602165, 0.02229866199195385, -0.07523311674594879, -0.014178548939526081, 0.027796467766165733, 0.04401860758662224, -0.08615639060735703, 0.013825894333422184, 0.022316746413707733, 0.03050919994711876, -0.010814760811626911, -0.06521409004926682, -0.05458018183708191, 0.003372830804437399, -0.06119924783706665, 0.00023920084640849382, 0.020580599084496498, -0.02343801036477089, -0.021810369566082954, -0.007713203318417072, -0.0007748242351226509, -0.01944125071167946, -0.008558671921491623, 0.0042092567309737206, 0.02309439703822136, 0.05895672366023064, 0.037725068628787994, -0.012975904159247875, -0.00995572842657566, 0.011013694107532501, 0.024776291102170944, -0.01613171584904194, 0.1157432571053505, 0.0333123579621315, 0.04268032684922218, -0.009711583144962788, -0.005579186603426933, -0.056424837559461594, -0.01731627620756626, 0.0278326366096735, 0.014793435111641884, 0.008848029188811779, -0.04239096865057945, 0.012460485100746155, -0.040473971515893936, -0.013418983668088913, 0.026476269587874413, -0.0443803071975708, 0.005710302386432886, -0.05078235641121864, -0.01628543809056282, -0.040690988302230835, -0.024450764060020447, -0.026422016322612762, -0.0010884839575737715, 0.0184284970164299, 0.051578089594841, 0.029297512024641037, -0.05110788345336914, 0.03633253276348114, -0.04521220922470093, 0.007767457980662584, -0.0019769039936363697, 0.0018073581159114838, 0.02115931361913681, -0.009046963416039944, 0.04774409532546997, -0.04380159080028534, 0.007066668476909399, -0.09483713656663895, -0.0029998300597071648, -0.06000564619898796, -0.02099655009806156, -0.034198515117168427, 0.018663600087165833, -0.04853982850909233, -0.03935270756483078, -0.0034790795762091875, -0.005312434863299131, -0.025933723896741867, 0.014305143617093563, 0.004887439776211977, 0.0019915979355573654, -0.007885009981691837, 0.02560819685459137, 0.0278326366096735, -0.021575266495347023, 0.03224534913897514, 0.02531883865594864, -0.001018970157019794, 0.020671023055911064, 0.02430608496069908, -0.035446371883153915, 0.007066668476909399, 0.004937173333019018, -0.0710374265909195, -0.003639583010226488, 0.02738051488995552, 0.013328559696674347, 0.0019802949391305447, -0.013355687260627747, 0.02200930379331112, -0.02886347472667694, -0.08955634385347366, 0.0167646873742342, 0.06192264333367348, 0.04886535555124283, 0.02240717224776745, -0.009747752919793129, 0.09339034557342529, 0.01531789731234312, 0.08333514630794525, 0.04875684902071953, -0.07132678478956223, 0.06752895563840866, -0.03193790465593338, -0.05490570887923241, 0.05429082363843918, -0.061633285135030746, -0.0060584363527596, 0.03855697438120842, 0.08007986843585968, 0.02121356874704361, -0.01723489537835121, 0.028953900560736656, 0.058595024049282074, 0.03034643642604351, 0.008563192561268806, -0.025517771020531654, -0.005968011915683746, -0.02065293863415718, -0.01639394834637642, -0.044850513339042664, -0.07121827453374863, -0.0055746654979884624, 0.017786484211683273, 0.0014773090369999409, -0.01567959412932396, 0.029749633744359016, 0.03985908627510071, -0.057184405624866486, 0.0745820626616478, -0.023076312616467476, -0.04940790310502052, 0.040112271904945374, 0.014992369338870049, -0.02971346490085125, 0.0048105791211128235, 0.01265941932797432, -0.011818472295999527, 0.07660757005214691, 0.012189212255179882, -0.07320760935544968, 0.017696058377623558, 0.03371022269129753, 0.003137727500870824, -0.033674053847789764, -0.022262493148446083, -0.029568785801529884, 0.018627431243658066, -0.026964562013745308, 0.03700167313218117, 0.011700919829308987, -0.019061468541622162, 0.03300491347908974, 0.009774879552423954, 0.01813913881778717, 0.04680367931723595, -0.027018817141652107, -0.012370061129331589, 0.00020515041251201183, 0.06539493799209595, 0.014422695152461529, -0.003185200272127986, -0.030310265719890594, 0.03000282309949398, 0.03159429132938385, -0.030780473724007607, 0.029749633744359016, 0.0033434429205954075, 0.023003973066806793, -0.02920708805322647, 0.042173951864242554, -0.019983796402812004, 0.026892222464084625, -0.00038995532668195665, 0.001653636572882533, -0.04817813262343407, 0.040582481771707535, -0.012587079778313637, 0.017542337998747826, -0.04618879407644272, -0.020544428378343582, -0.031069831922650337, -0.0589928925037384, 0.02190079540014267, -0.019079552963376045, 0.02076144702732563, -0.025734789669513702, 0.09903282672166824, 0.013807808980345726, -0.03754422068595886, 0.0662991851568222, 0.0011958630057051778, 0.06821618229150772, -0.012162084691226482, -0.04828663915395737, 0.014811520464718342, -0.019766777753829956, -0.002561271656304598, 0.0006979635218158364, -0.05468868836760521, -0.03000282309949398, 0.022443341091275215, 0.0814543217420578, -0.011257840320467949, 0.053422749042510986, -0.01991145685315132, 0.018627431243658066, -0.01254186686128378, -0.028610287234187126, -0.04636964201927185, -0.03725486248731613, -0.005850459914654493, -0.05251850560307503, 0.005524931941181421, 0.025734789669513702, -0.03629636391997337, -0.03443361818790436, 0.014160464517772198, -0.07407568395137787, -0.041667573153972626, -0.025119904428720474, 0.009774879552423954, -0.015770019963383675, -0.04741856828331947, -0.027235835790634155, -0.007238475140184164, -0.02947836183011532, 0.07179699093103409, 0.04897386580705643, -0.01570672169327736, 0.0002132038353011012, 0.0038181710988283157, -0.03971440717577934, 0.022895462810993195, -0.0184284970164299, -0.007862403057515621, 0.035211268812417984, -0.010453063063323498, -0.005714823491871357, 0.02714541181921959, 0.0257890447974205, -0.015977995470166206, 0.00526270130649209, -0.0070892744697630405, 0.0294964462518692, -0.02595180831849575, -0.029044324532151222, -0.004125614184886217, -0.020454004406929016, -0.004512178711593151, 0.04568241909146309, 0.03126876428723335, -0.05595463141798973, 0.05584612116217613, -0.023528434336185455, 0.04007610306143761, 0.012171126902103424, -0.003239454934373498, 0.04817813262343407, -0.0034135219175368547, 0.01317483838647604, -0.024559272453188896, 0.08116496354341507, -0.030183671042323112, -0.051578089594841, 0.004518960602581501, 0.021249739453196526, -0.013265262357890606, 0.031124085187911987, 0.011203586123883724, -0.02280503883957863, 0.005339561961591244, 0.00811559148132801, 0.06043968349695206, 0.06206732243299484, 0.0077538941986858845, -0.006465346086770296, 0.04419945552945137, -0.02258802019059658, 0.02510182000696659, 0.02846560813486576, 0.0012342933332547545, 0.03551871329545975, 0.007821712642908096, -0.033800650388002396, 0.02086995728313923, 0.014214718714356422, -0.015290769748389721, 0.03056345507502556, 0.04275266453623772, -0.009594030678272247, 0.004132396075874567, 0.01617692969739437, -0.026837967336177826, 0.08716914057731628, 0.020291240885853767, -0.08058624714612961, 0.014305143617093563, -0.016837026923894882, 0.039497386664152145, 0.026729458943009377, -0.01765988953411579, -0.025535857304930687, -0.03040068969130516, 0.015308854170143604, 0.046622831374406815, 0.044524986296892166, 0.017280107364058495, 0.03553679585456848, -0.01023604441434145, -0.01697266474366188, 0.03190173581242561, -0.025987979024648666, 0.053639765828847885, 0.000950586749240756 ]
720,020
ibm_platform_services.usage_reports_v4
get_account_summary
Get account summary. Returns the summary for the account for a given month. Account billing managers are authorized to access this report. :param str account_id: Account ID for which the usage report is requested. :param str billingmonth: The billing month for which the usage report is requested. Format is yyyy-mm. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse with `dict` result representing a `AccountSummary` object
def get_account_summary( self, account_id: str, billingmonth: str, **kwargs, ) -> DetailedResponse: """ Get account summary. Returns the summary for the account for a given month. Account billing managers are authorized to access this report. :param str account_id: Account ID for which the usage report is requested. :param str billingmonth: The billing month for which the usage report is requested. Format is yyyy-mm. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse with `dict` result representing a `AccountSummary` object """ if not account_id: raise ValueError('account_id must be provided') if not billingmonth: raise ValueError('billingmonth must be provided') headers = {} sdk_headers = get_sdk_headers( service_name=self.DEFAULT_SERVICE_NAME, service_version='V4', operation_id='get_account_summary', ) headers.update(sdk_headers) if 'headers' in kwargs: headers.update(kwargs.get('headers')) del kwargs['headers'] headers['Accept'] = 'application/json' path_param_keys = ['account_id', 'billingmonth'] path_param_values = self.encode_path_vars(account_id, billingmonth) path_param_dict = dict(zip(path_param_keys, path_param_values)) url = '/v4/accounts/{account_id}/summary/{billingmonth}'.format(**path_param_dict) request = self.prepare_request( method='GET', url=url, headers=headers, ) response = self.send(request, **kwargs) return response
(self, account_id: str, billingmonth: str, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
[ -0.0508732795715332, 0.0008598202257417142, 0.0008855563355609775, -0.013710330240428448, 0.014103391207754612, -0.013785199262201786, -0.0037317366804927588, -0.049750249832868576, -0.049563080072402954, -0.03586210682988167, -0.023714659735560417, -0.018810760229825974, 0.002751424675807357, -0.04039166122674942, -0.014524527825415134, 0.021375013515353203, 0.049825116991996765, -0.004417253192514181, 0.026428651064634323, 0.019596882164478302, 0.024556932970881462, 0.028300367295742035, -0.057012513279914856, 0.051434796303510666, 0.03616158291697502, 0.007369887549430132, 0.07632863521575928, -0.03180047869682312, 0.032305844128131866, 0.07393284142017365, 0.02012096345424652, -0.008928092196583748, -0.0039072101935744286, 0.056638170033693314, -0.08243043720722198, 0.008768996223807335, 0.04065370187163353, 0.02596072107553482, -0.15258240699768066, 0.017238518223166466, 0.005334394983947277, 0.0178187508136034, 0.07153704017400742, -0.012765113264322281, 0.0011394079774618149, -0.03634875267744064, 0.03829533979296684, -0.029254943132400513, -0.02180550806224346, -0.026952730491757393, 0.011922840029001236, 0.0105377696454525, -0.033541176468133926, -0.012512431479990482, 0.024856407195329666, -0.021861659362912178, -0.036985136568546295, -0.00009680289076641202, -0.0060409680008888245, 0.02781372144818306, -0.03595569357275963, 0.001888094935566187, -0.01249371375888586, -0.05225834995508194, -0.07981003075838089, 0.010799809359014034, -0.0706760510802269, -0.0076459660194814205, 0.0020764365326613188, -0.047878533601760864, -0.0129710016772151, 0.0375840850174427, 0.02436976134777069, 0.015825370326638222, -0.0015710728475823998, -0.03837020695209503, -0.02019583061337471, -0.049937423318624496, -0.02977902442216873, -0.019709184765815735, 0.009484928101301193, -0.019989943131804466, 0.0023981379345059395, -0.03694770112633705, -0.0209070835262537, -0.03170689195394516, 0.002674216404557228, -0.04012962058186531, -0.020757347345352173, 0.023246731609106064, 0.022928539663553238, 0.003268486587330699, -0.03782740980386734, 0.07602916657924652, -0.044247400015592575, -0.02762654982507229, -0.03541289269924164, 0.0065556904301047325, -0.056301262229681015, 0.04465917870402336, -0.05252039059996605, -0.07943569123744965, -0.04057883471250534, 0.05162196606397629, -0.015310648828744888, 0.022273438051342964, 0.007135923020541668, -0.01865166425704956, 0.00918545387685299, 0.038220468908548355, -0.016143562272191048, -0.02420130744576454, 0.006546332035213709, -0.05749915912747383, 0.02427617460489273, 0.032567884773015976, 0.010640713386237621, -0.006190705578774214, -0.03569365292787552, -0.05278243124485016, 0.0347016416490078, -0.03260531648993492, 0.048589784651994705, -0.003628792241215706, 0.022460609674453735, -0.003656867891550064, -0.002205117139965296, 0.01301779504865408, 0.05064867436885834, 0.02392054907977581, 0.001064539304934442, -0.03445831686258316, 0.021768074482679367, -0.009456852450966835, 0.027158619835972786, 0.012175521813333035, 0.04076600447297096, 0.027682701125741005, -0.043348975479602814, 0.06000726297497749, 0.005746172741055489, 0.03142613545060158, -0.03198765218257904, -0.02648480236530304, 0.000821216031908989, -0.011267739348113537, 0.0382579043507576, 0.0019208500161767006, -0.014215693809092045, -0.043086934834718704, 0.03720974177122116, -0.05517823249101639, -0.019877638667821884, -0.002746745478361845, -0.02197396382689476, -0.0069721476174890995, 0.055590007454156876, 0.060643646866083145, 0.006541652604937553, 0.015881523489952087, 0.02418258972465992, 0.04754162207245827, 0.05742429196834564, -0.03735947981476784, -0.009176095016300678, -0.011454910971224308, -0.043012067675590515, -0.04005475342273712, -0.04701754078269005, -0.08827019482851028, -0.029704155400395393, -0.008792392909526825, -0.05158453434705734, 0.015563330613076687, -0.028206782415509224, 0.004679293837398291, 0.018193094059824944, 0.005016202572733164, -0.03030310571193695, -0.0043096295557916164, -0.003064937423914671, -0.04817800596356392, -0.04986255243420601, 0.012287825345993042, -0.05794837325811386, -0.031238963827490807, 0.013700971379876137, -0.0041411747224628925, 0.006607162766158581, -0.01115543581545353, 0.021412447094917297, 0.03782740980386734, 0.020214548334479332, -0.014065956696867943, -0.046830371022224426, -0.11709464341402054, 0.0016903948271647096, -0.03623645007610321, 0.020944518968462944, -0.014019163325428963, -0.010144708678126335, 0.0570499487221241, 0.03101435862481594, 0.0651732012629509, 0.06423734128475189, 0.010481617413461208, -0.0015804314753040671, -0.0038112846668809652, -0.08385293930768967, 0.0473170168697834, 0.01656469888985157, -0.035918258130550385, -0.05225834995508194, 0.030527710914611816, -0.05255782604217529, 0.027083750814199448, 0.031313832849264145, -0.007089129649102688, 0.03215610608458519, -0.007856533862650394, 0.009410059079527855, -0.07108782976865768, 0.030696166679263115, 0.008324463851749897, -0.037602804601192474, -0.0063217259012162685, 0.04649346321821213, -0.00544669758528471, -0.029385963454842567, -0.04941334202885628, 0.008806430734694004, -0.020776063203811646, -0.03614286333322525, 0.0398675836622715, -0.0771896243095398, -0.04941334202885628, 0.032081238925457, -0.04012962058186531, 0.0457073412835598, -0.015432310290634632, -0.002088134875521064, 0.00838997308164835, 0.04260028898715973, 0.054354675114154816, -0.05858475714921951, -0.013270476832985878, -0.06172924116253853, 0.024051569402217865, -0.02444463036954403, -0.05764889717102051, -0.01001368835568428, -0.020663760602474213, 0.057012513279914856, 0.024407194927334785, 0.007842496037483215, -0.039830148220062256, -0.029348529875278473, -0.011660799384117126, 0.01817437633872032, -0.008806430734694004, 0.01546038594096899, -0.0726226344704628, -0.021281426772475243, -0.007482190616428852, 0.04065370187163353, 0.002536177169531584, -0.006747541483491659, 0.034140124917030334, 0.07995977252721786, -0.019203821197152138, 0.12323387712240219, 0.02047658897936344, 0.019072800874710083, -0.02420130744576454, -0.015563330613076687, -0.0009569155517965555, 0.045669905841350555, -0.022123700007796288, -0.05618895962834358, -0.016461754217743874, -0.010640713386237621, -0.052295785397291183, 0.006953430362045765, -0.008408690802752972, 0.029797742143273354, -0.009531721472740173, 0.021225275471806526, -0.006616521161049604, -0.010809168219566345, 0.04200134053826332, 0.057985804975032806, -0.026110459119081497, -0.0628897100687027, -0.014674264937639236, -0.05431723967194557, 0.03908146172761917, -0.024238741025328636, -0.02118784189224243, -0.010378673672676086, 0.0531567744910717, -0.041589561849832535, 0.003139805980026722, 0.05982008948922157, -0.030583864077925682, -0.013541875407099724, -0.017051346600055695, 0.028412671759724617, -0.015404234640300274, 0.013373421505093575, 0.029086489230394363, 0.02180550806224346, 0.0043213278986513615, 0.01796848699450493, -0.017874902114272118, -0.028113195672631264, -0.03509470075368881, -0.023976700380444527, 0.010416107252240181, 0.040803439915180206, 0.009629986248910427, -0.012699603103101254, -0.003914229106158018, 0.022460609674453735, -0.025754831731319427, 0.050798412412405014, 0.01050033513456583, -0.014777209609746933, 0.007215471006929874, 0.05023689568042755, 0.02603559009730816, -0.001712621422484517, -0.04484634846448898, -0.02143116481602192, 0.03799586370587349, -0.056301262229681015, -0.06337635219097137, -0.020626327022910118, -0.08699742704629898, 0.005877192597836256, 0.06562241166830063, 0.00500684417784214, -0.028019610792398453, 0.033878084272146225, 0.019559446722269058, 0.04679293558001518, -0.01687353290617466, 0.04207620769739151, -0.008404011838138103, -0.015348083339631557, 0.038145601749420166, -0.03625516593456268, -0.008619259111583233, 0.042113643139600754, 0.02852497436106205, 0.03269890323281288, 0.011127360165119171, -0.0007013091235421598, 0.05233322083950043, -0.00037902279291301966, 0.02420130744576454, -0.02551150880753994, 0.004527216777205467, -0.01049097627401352, 0.012250390835106373, 0.05457928031682968, -0.0306400153785944, -0.05529053509235382, 0.011295814998447895, 0.0849011018872261, -0.04387305676937103, -0.04278746247291565, -0.033878084272146225, 0.0017406971892341971, 0.041664429008960724, -0.010528410784900188, 0.03904402628540993, -0.02347133681178093, -0.02232958935201168, -0.03649849072098732, 0.029704155400395393, 0.049375906586647034, -0.024238741025328636, 0.006504218094050884, 0.012362693436443806, -0.019353559240698814, -0.01458067912608385, -0.015469744801521301, -0.033522460609674454, -0.06820538640022278, -0.023059559985995293, 0.021730639040470123, -0.0008165367180481553, -0.03404654189944267, -0.036442339420318604, -0.04012962058186531, -0.020776063203811646, 0.03851994499564171, -0.0015816012164577842, -0.008488238789141178, -0.04065370187163353, 0.023190578445792198, -0.006092440336942673, 0.00003849450149573386, -0.007557059172540903, -0.021131690591573715, -0.040803439915180206, 0.035132136195898056, -0.11634595692157745, 0.0055496422573924065, 0.00821216031908989, 0.03799586370587349, 0.007107846904546022, -0.02444463036954403, -0.01741633005440235, 0.02152475155889988, 0.06184154376387596, -0.002964332466945052, 0.0035632820799946785, 0.018848195672035217, -0.030902056023478508, 0.043798189610242844, -0.004955371841788292, -0.03764023631811142, -0.005184657406061888, -0.023059559985995293, -0.05173426866531372, -0.012437562458217144, -0.007833137176930904, -0.0028613880276679993, -0.039830148220062256, 0.07183651626110077, 0.009489607065916061, -0.09545759111642838, 0.004503820091485977, -0.001251711044460535, 0.01939099282026291, 0.0022343627642840147, 0.004620802588760853, 0.04578220844268799, -0.017809391021728516, -0.01181989535689354, 0.03065873123705387, 0.02427617460489273, -0.02435104362666607, -0.06453681737184525, 0.026728125289082527, -0.004679293837398291, -0.06341378390789032, -0.022273438051342964, -0.004969409666955471, 0.031033076345920563, 0.01974661834537983, -0.0332229845225811, 0.003385468851774931, -0.01784682646393776, -0.06962788850069046, 0.021580902859568596, -0.020251983776688576, 0.004426611587405205, 0.026241479441523552, -0.008563107810914516, -0.022703932598233223, -0.008277670480310917, 0.014777209609746933, 0.046006813645362854, -0.006920675281435251, -0.003858077572658658, 0.03764023631811142, 0.001857679570093751, 0.027420660480856895, -0.032811205834150314, -0.014094032347202301, -0.03434601426124573, 0.06554754823446274, 0.02055145800113678, 0.021543467417359352, 0.00005457957377075218, -0.004070985596626997, -0.03773382306098938, 0.040354229509830475, 0.039642974734306335, 0.04701754078269005, 0.02852497436106205, -0.04918873310089111, 0.060456473380327225, 0.010359955951571465, 0.036554642021656036, 0.03466420620679855, -0.030003631487488747, -0.001814396120607853, -0.01386942621320486, 0.01230654213577509, -0.04746675491333008, 0.016265224665403366, -0.054167501628398895, -0.0037340763956308365, -0.006827089469879866, 0.01929740607738495, 0.00635915994644165, 0.0033222984056919813, 0.024575650691986084, -0.07681528478860855, 0.032081238925457, -0.03142613545060158, -0.01708878017961979, 0.04529556259512901, -0.03870711848139763, -0.010219577699899673, 0.03217482194304466, -0.027514247223734856, -0.0395306721329689, 0.041589561849832535, -0.05472901836037636, 0.010519051924347878, 0.01386006735265255, 0.06408760696649551, -0.012437562458217144, -0.005708738230168819, 0.004658236633986235, -0.03374706581234932, 0.011295814998447895, 0.051696836948394775, 0.00020574269001372159, 0.01853000372648239, -0.004180948715656996, 0.04563247039914131, -0.04420996457338333, -0.012877415865659714, -0.023883115500211716, -0.011773102916777134, -0.0014798266347497702, 0.031220247969031334, -0.0036896229721605778, -0.04533299803733826, 0.016677003353834152, 0.004026532173156738, -0.04746675491333008, -0.0028239537496119738, -0.02843138761818409, 0.05454184487462044, 0.008357218466699123, -0.03694770112633705, -0.02047658897936344, -0.04420996457338333, -0.03180047869682312, 0.03930606693029404, 0.048589784651994705, 0.027420660480856895, 0.023321598768234253, -0.024145154282450676, 0.05454184487462044, -0.05233322083950043, 0.03374706581234932, 0.03709743916988373, -0.015404234640300274, 0.03820175305008888, -0.061542071402072906, -0.01967175118625164, -0.005189336836338043, -0.04555760324001312, 0.00802030973136425, 0.061167728155851364, 0.00695810979232192, 0.05693764612078667, -0.018661022186279297, 0.023415185511112213, 0.05982008948922157, 0.015413593500852585, 0.0036943024024367332, -0.03460805490612984, -0.0256050955504179, 0.02871214598417282, -0.0534936860203743, -0.0004670519847422838, 0.001856509712524712, 0.01563819870352745, 0.006869202945381403, 0.0024870445486158133, 0.050274331122636795, 0.06629623472690582, -0.018951138481497765, -0.02712118625640869, 0.0940350815653801, -0.052033744752407074, -0.018445774912834167, 0.03236199542880058, -0.01670507900416851, -0.06536037474870682, 0.07149960845708847, 0.013167532160878181, -0.04057883471250534, -0.0129710016772151, -0.020925801247358322, -0.052220918238162994, 0.035300590097904205, 0.0697401911020279, -0.05667560547590256, -0.04084087535738945, -0.03771510720252991, -0.030583864077925682, 0.004442989360541105, 0.06547267735004425, -0.001144672161899507, 0.05581461638212204, 0.021506033837795258, 0.05330651253461838, -0.006817730609327555, 0.011295814998447895, 0.0058912308886647224, 0.014992456883192062, -0.0414772592484951, -0.008062423206865788, 0.05296960473060608, 0.024912558495998383, 0.04630628973245621, -0.012241031974554062, 0.021861659362912178, -0.030771035701036453, 0.007692758925259113, 0.025212034583091736, 0.05173426866531372, 0.03589954227209091, -0.03889428824186325, 0.07318415492773056, 0.002533837454393506, 0.09193876385688782, 0.04836517944931984, -0.01616227999329567, -0.00802030973136425, -0.04027935862541199, -0.055590007454156876, 0.06835512071847916, -0.01939099282026291, -0.02940468117594719, 0.01345764845609665, 0.00693471310660243, 0.04817800596356392, 0.05600178614258766, -0.006569728255271912, 0.009035715833306313, -0.0001748885988490656, 0.03178176283836365, -0.013130097649991512, 0.05626382678747177, 0.002205117139965296, 0.06225332245230675, -0.06603419035673141, -0.0418141670525074, 0.05038663372397423, -0.0029175395611673594, -0.06921610981225967, -0.002458968898281455, -0.031575873494148254, 0.0005582981975749135, 0.030434126034379005, 0.07108782976865768, -0.011361325159668922, -0.004637179896235466, -0.015039249323308468, -0.0024542894680052996, -0.054167501628398895, -0.05963291972875595, 0.016985835507512093, -0.0823555663228035, 0.0021945887710899115, -0.021992679685354233, -0.04641859233379364, -0.03020951896905899, -0.02180550806224346, -0.032081238925457, 0.011698233895003796, 0.06375069916248322, 0.07569225132465363, -0.02012096345424652, -0.01967175118625164, 0.06251536309719086, -0.02523075044155121, 0.0011990689672529697, -0.01801528036594391, -0.02242317423224449, 0.13371549546718597, -0.05749915912747383, -0.00454359408468008, -0.02277880162000656, -0.023228013888001442, -0.006878561805933714, -0.05847245454788208, -0.04686780646443367, -0.0907408595085144, -0.014908229932188988, 0.023059559985995293, -0.06367582827806473, 0.04005475342273712, 0.012381411157548428, 0.028749579563736916, 0.04129008576273918, -0.04263772442936897, 0.06813051551580429, 0.013803916051983833, -0.022984690964221954, -0.03217482194304466, -0.036461055278778076, 0.06506089866161346, 0.04338641092181206, -0.005016202572733164, 0.022965973243117332, 0.01704198680818081, -0.024594366550445557, -0.005863154772669077, 0.014805285260081291, 0.015160911716520786, 0.0583227165043354, -0.004176269751042128, 0.02144988253712654, 0.025642529129981995, 0.017931053414940834, -0.011398759670555592, -0.02100067026913166, -0.016499189659953117, 0.009559797123074532, -0.0019489257829263806, 0.002175871515646577, -0.02363979071378708, 0.02047658897936344, 0.0178187508136034, 0.031837914139032364, 0.04102804511785507, 0.059221141040325165, 0.015001815743744373, -0.00022694574727211148, 0.06831768900156021, 0.050985582172870636, -0.011997709050774574, 0.01772516407072544, 0.021543467417359352, 0.04454687610268593, -0.012643451802432537, -0.01345764845609665, 0.03002234734594822, 0.051958877593278885, 0.012278466485440731, 0.03133254870772362, 0.014159542508423328, -0.013598027639091015, -0.022292155772447586, 0.007262263912707567, 0.016667643561959267, 0.04439713805913925, 0.02665325626730919, -0.008801751770079136, 0.007430718280375004, -0.023415185511112213, 0.04458431154489517, 0.04544530063867569, 0.03200636804103851, -0.0030041064601391554, -0.026971448212862015, 0.014103391207754612, 0.09972510486841202, -0.015656916424632072, -0.0047822380438447, -0.026540953665971756, 0.011997709050774574, -0.02373337745666504, 0.012615375220775604, 0.0173508208245039, 0.021749356761574745, 0.01755671016871929 ]
720,021
ibm_platform_services.usage_reports_v4
get_account_usage
Get account usage. Usage for all the resources and plans in an account for a given month. Account billing managers are authorized to access this report. :param str account_id: Account ID for which the usage report is requested. :param str billingmonth: The billing month for which the usage report is requested. Format is yyyy-mm. :param bool names: (optional) Include the name of every resource, plan, resource instance, organization, and resource group. :param str accept_language: (optional) Prioritize the names returned in the order of the specified languages. Language will default to English. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse with `dict` result representing a `AccountUsage` object
def get_account_usage( self, account_id: str, billingmonth: str, *, names: Optional[bool] = None, accept_language: Optional[str] = None, **kwargs, ) -> DetailedResponse: """ Get account usage. Usage for all the resources and plans in an account for a given month. Account billing managers are authorized to access this report. :param str account_id: Account ID for which the usage report is requested. :param str billingmonth: The billing month for which the usage report is requested. Format is yyyy-mm. :param bool names: (optional) Include the name of every resource, plan, resource instance, organization, and resource group. :param str accept_language: (optional) Prioritize the names returned in the order of the specified languages. Language will default to English. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse with `dict` result representing a `AccountUsage` object """ if not account_id: raise ValueError('account_id must be provided') if not billingmonth: raise ValueError('billingmonth must be provided') headers = { 'Accept-Language': accept_language, } sdk_headers = get_sdk_headers( service_name=self.DEFAULT_SERVICE_NAME, service_version='V4', operation_id='get_account_usage', ) headers.update(sdk_headers) params = { '_names': names, } if 'headers' in kwargs: headers.update(kwargs.get('headers')) del kwargs['headers'] headers['Accept'] = 'application/json' path_param_keys = ['account_id', 'billingmonth'] path_param_values = self.encode_path_vars(account_id, billingmonth) path_param_dict = dict(zip(path_param_keys, path_param_values)) url = '/v4/accounts/{account_id}/usage/{billingmonth}'.format(**path_param_dict) request = self.prepare_request( method='GET', url=url, headers=headers, params=params, ) response = self.send(request, **kwargs) return response
(self, account_id: str, billingmonth: str, *, names: Optional[bool] = None, accept_language: Optional[str] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
[ -0.019135259091854095, -0.019301652908325195, -0.0005794886965304613, -0.018275558948516846, -0.019301652908325195, 0.016796505078673363, -0.0010156939970329404, -0.03424009680747986, -0.06474558264017105, -0.051655955612659454, 0.007769654504954815, -0.007570907007902861, 0.029895376414060593, -0.03926888108253479, -0.016417497768998146, 0.01725870929658413, 0.031596288084983826, 0.0026137654203921556, 0.026179252192378044, 0.014337577857077122, -0.007219631690531969, 0.0024889702908694744, -0.031429894268512726, 0.056795667856931686, 0.026290182024240494, 0.03488718345761299, 0.08637674152851105, -0.01470734179019928, 0.019541999325156212, 0.039305854588747025, 0.007714190054684877, 0.03322324529290199, -0.015511577017605305, 0.053208962082862854, -0.08083029091358185, -0.016944410279393196, 0.04451952129602432, 0.021335352212190628, -0.11588387191295624, 0.012701374478638172, 0.023017775267362595, -0.010944998823106289, 0.08216144144535065, -0.025458214804530144, -0.018599102273583412, -0.03301987797021866, 0.009419724345207214, -0.024792639538645744, -0.04063700512051582, -0.034314047545194626, 0.07099458575248718, 0.0025005254428833723, -0.032428257167339325, 0.01553930900990963, 0.024219507351517677, -0.007344426587224007, -0.018349511548876762, 0.03595949709415436, 0.01562250591814518, 0.008481449447572231, -0.054429180920124054, 0.008962142281234264, 0.02148325741291046, -0.061676546931266785, -0.03893609344959259, 0.006350687239319086, -0.016833482310175896, -0.011638305149972439, -0.018830204382538795, -0.007344426587224007, 0.005527963861823082, 0.046442288905382156, 0.03849237784743309, -0.0010168495355173945, 0.029562588781118393, -0.06038237363100052, 0.006845246069133282, 0.011998823843896389, -0.045887645334005356, -0.01753603294491768, 0.01376444473862648, -0.010122274979948997, 0.012867768295109272, -0.043114420026540756, 0.01368124783039093, 0.0066418759524822235, -0.029507124796509743, -0.08230934292078018, -0.03485020622611046, 0.034203119575977325, -0.035645198076963425, -0.053319890052080154, -0.028175976127386093, 0.08253120630979538, -0.028823060914874077, -0.06382117420434952, -0.019135259091854095, -0.020041178911924362, -0.07121644169092178, 0.051655955612659454, -0.020947100594639778, -0.10375562310218811, -0.04019328951835632, 0.039527714252471924, 0.039527714252471924, -0.030542461201548576, -0.03096769005060196, -0.039749570190906525, 0.03305685147643089, -0.005671246908605099, -0.020595824345946312, 0.01437455415725708, 0.029507124796509743, -0.04200512915849686, 0.02183453179895878, 0.04122862592339516, -0.018857937306165695, -0.061787474900484085, -0.05483591929078102, -0.00657716765999794, 0.011444179341197014, -0.013977059163153172, 0.06389512866735458, 0.008786504156887531, 0.02425648272037506, 0.0061149634420871735, 0.008148661814630032, 0.00305285956710577, 0.047884367406368256, 0.02264801226556301, 0.04803227260708809, -0.026271693408489227, 0.019800832495093346, -0.00017650428344495595, 0.03268709033727646, 0.029821423813700676, 0.04714484140276909, 0.03405521437525749, -0.04618345573544502, 0.06711206585168839, 0.02070675417780876, 0.04928946867585182, -0.007788142655044794, -0.03460986167192459, -0.0015888273483142257, -0.005504853557795286, 0.06004958599805832, -0.01212824136018753, -0.05616706982254982, -0.04352115839719772, 0.02347997948527336, -0.03499811142683029, 0.01065843179821968, -0.00019817010615952313, -0.04784739017486572, -0.00011930648906854913, 0.028323881328105927, 0.025162402540445328, -0.0014744318323209882, 0.007737300358712673, 0.01956048794090748, 0.02237068861722946, 0.014919955283403397, -0.006688096560537815, -0.006313710939139128, -0.0035081307869404554, -0.02891550213098526, -0.02653052844107151, -0.07262154668569565, -0.05960587039589882, -0.00757552869617939, 0.02170511521399021, -0.016251103952527046, 0.010325644165277481, -0.04488928243517876, 0.007769654504954815, 0.02830539271235466, -0.04869784787297249, 0.01950502209365368, 0.005255263298749924, 0.00519517669454217, -0.06263793259859085, -0.015992268919944763, -0.008000756613910198, -0.024071602150797844, -0.03926888108253479, 0.03174419328570366, 0.029765957966446877, 0.027011221274733543, 0.0029072652105242014, 0.05749821662902832, 0.06093701720237732, 0.058422625064849854, -0.015557797625660896, -0.05313500761985779, -0.09147948026657104, 0.000848144933115691, -0.01939409412443638, -0.026271693408489227, -0.03460986167192459, -0.02237068861722946, 0.04045212268829346, 0.009271819144487381, 0.03427707403898239, 0.05975377559661865, 0.053541749715805054, 0.031318966299295425, -0.011407203041017056, -0.047773439437150955, 0.029987815767526627, 0.020466407760977745, -0.04148745909333229, -0.04126560315489769, 0.04973318427801132, -0.07369385659694672, 0.06016051396727562, 0.04851296544075012, 0.029655029997229576, 0.026493551209568977, -0.01845119707286358, 0.029987815767526627, -0.052987102419137955, 0.029174337163567543, -0.01501239649951458, -0.0025490568950772285, -0.03568217530846596, 0.05927308276295662, 0.05420732498168945, -0.07816799730062485, -0.05524266138672829, 0.02078070677816868, -0.004645153414458036, 0.02802807092666626, 0.05224757641553879, -0.07550569623708725, -0.010381109081208706, 0.046442288905382156, -0.03501660004258156, 0.02902643196284771, 0.007598639000207186, 0.030394556000828743, 0.027954118326306343, 0.04695995897054672, 0.028379345312714577, -0.06652044504880905, -0.0005601338925771415, -0.049992021173238754, 0.033593010157346725, -0.016241859644651413, -0.09340225160121918, -0.061454687267541885, 0.008176394738256931, 0.016417497768998146, 0.024515317752957344, -0.07021807879209518, -0.03882516175508499, -0.018294047564268112, -0.04503718763589859, 0.030764319002628326, -0.014180428348481655, 0.0006072209216654301, -0.05646288022398949, -0.029377706348896027, -0.0025467458181083202, 0.05217362567782402, 0.01587209664285183, 0.029285265132784843, 0.020762218162417412, 0.013219043612480164, 0.00172055559232831, 0.03716122731566429, 0.03878818824887276, -0.019652927294373512, -0.012479516677558422, -0.033093828707933426, 0.00472372816875577, 0.07698475569486618, -0.026382623240351677, -0.05831169709563255, 0.0026299424935132265, -0.028009582310914993, -0.08652465045452118, 0.002657674951478839, 0.024515317752957344, 0.007459977641701698, 0.0061935377307236195, 0.04063700512051582, 0.028823060914874077, -0.015086349099874496, 0.039194926619529724, 0.04429766163229942, -0.032594647258520126, -0.048993658274412155, -0.004534224513918161, -0.04104374349117279, 0.008148661814630032, -0.03782680258154869, -0.024441365152597427, 0.00044862707727588713, 0.07846380770206451, -0.09147948026657104, -0.00017722646589390934, 0.04603555053472519, -0.022943822667002678, -0.0014120342675596476, -0.01889491267502308, 0.07432245463132858, -0.036976344883441925, 0.03901004418730736, 0.035700660198926926, 0.016879701986908913, -0.01756376400589943, 0.027177615091204643, -0.033981263637542725, -0.04219001159071922, -0.011065171100199223, -0.02619774080812931, 0.014448506757616997, 0.04670112580060959, 0.02786167711019516, -0.025717047974467278, 0.019042817875742912, 0.007797386962920427, -0.023054752498865128, 0.010020589455962181, 0.029007943347096443, -0.013311484828591347, 0.06936762481927872, 0.047884367406368256, 0.005361570045351982, -0.04185722395777702, -0.015280474908649921, -0.05576033145189285, 0.007746544666588306, -0.07247363775968552, -0.058681461960077286, -0.015465356409549713, -0.07890751957893372, 0.0033209379762411118, 0.07809404283761978, -0.005352326203137636, -0.012109753675758839, -0.03516450524330139, 0.044556498527526855, 0.005560318008065224, 0.00406508706510067, 0.05672171339392662, -0.0021180512849241495, -0.00213307305239141, 0.03211395815014839, -0.05820076912641525, 0.012451784685254097, 0.02708517387509346, 0.046553220599889755, 0.024459853768348694, -0.02011513151228428, -0.003653725143522024, 0.03534938767552376, -0.027122149243950844, 0.03499811142683029, -0.052210599184036255, -0.010464305989444256, -0.015881340950727463, -0.002840245608240366, 0.05875541269779205, -0.07177108526229858, -0.00240346253849566, -0.004816168919205666, 0.05106433480978012, -0.05058364197611809, -0.034535907208919525, -0.0039518470875918865, 0.024496829137206078, 0.04019328951835632, -0.013024917803704739, 0.04818017780780792, 0.0053985463455319405, 0.020799195393919945, -0.06271187961101532, 0.01756376400589943, 0.001096002059057355, -0.005708223208785057, -0.006443128455430269, 0.03834446892142296, 0.0024912813678383827, -0.012950965203344822, -0.036033447831869125, -0.03793773055076599, -0.058459602296352386, -0.014781294390559196, 0.025735536590218544, 0.004356275778263807, -0.04851296544075012, -0.027491914108395576, -0.06326653063297272, -0.005726711358875036, 0.019153747707605362, -0.00464053126052022, -0.023350562900304794, -0.030949201434850693, -0.0013993235770612955, 0.005375436507165432, -0.028231440111994743, 0.025162402540445328, -0.026382623240351677, 0.012285390868782997, 0.07742846757173538, -0.056425902992486954, -0.01282154768705368, 0.029044920578598976, -0.008523047901690006, -0.007154922932386398, -0.03849237784743309, -0.017887307330965996, -0.016972143203020096, 0.06027144566178322, -0.02630867063999176, -0.028286904096603394, 0.014735073782503605, -0.013496366329491138, 0.051212240010499954, -0.02902643196284771, -0.01717551238834858, -0.02691878005862236, 0.028564227744936943, -0.058792389929294586, -0.0073582930490374565, -0.01517879031598568, 0.017887307330965996, -0.022555571049451828, 0.05028783157467842, 0.029507124796509743, -0.04851296544075012, -0.03294592350721359, -0.0012699064100161195, 0.017443591728806496, 0.02153872139751911, -0.01553930900990963, 0.027048196643590927, -0.015372916124761105, -0.02841632254421711, 0.022407665848731995, 0.02974747121334076, -0.02458927035331726, -0.06452372670173645, 0.001885793637484312, -0.030339092016220093, -0.07683684676885605, -0.02109500579535961, -0.06581789255142212, 0.02908189594745636, 0.03638472408056259, -0.011619816534221172, -0.042781632393598557, -0.011471911333501339, -0.062231190502643585, 0.010510526597499847, -0.036588095128536224, 0.006937686819583178, 0.028675155714154243, 0.008148661814630032, -0.01196184754371643, 0.004511114209890366, 0.010778605006635189, 0.02891550213098526, 0.02100256457924843, 0.03178117051720619, 0.015659483149647713, -0.011092904023826122, 0.009576873853802681, -0.028453297913074493, 0.012627421878278255, -0.04488928243517876, 0.08090424537658691, -0.0009417413384653628, 0.0022763563320040703, 0.0021122738253325224, 0.03956469148397446, -0.04729274660348892, -0.013940082862973213, 0.05283919721841812, 0.05428127571940422, 0.046996936202049255, 0.002168893814086914, 0.03390730917453766, 0.01168452575802803, 0.04374301806092262, 0.016047734767198563, -0.04825413227081299, -0.017194001004099846, -0.037198204547166824, -0.03152233362197876, -0.01587209664285183, -0.007247363682836294, -0.06559603661298752, -0.01035337708890438, 0.02017059735953808, 0.026401111856102943, -0.008005378767848015, 0.030782807618379593, 0.031318966299295425, -0.05013992637395859, 0.03473927825689316, -0.029507124796509743, -0.009022228419780731, 0.03063490241765976, -0.002930375514551997, -0.020244549959897995, 0.003512752940878272, -0.014670365490019321, -0.07927728444337845, 0.031651753932237625, 0.014864491298794746, 0.010131518356502056, 0.012303879484534264, 0.06378419697284698, -0.025791000574827194, -0.015779655426740646, -0.005467877257615328, -0.017683938145637512, -0.00966931413859129, 0.07735451310873032, 0.04063700512051582, 0.030394556000828743, 0.019911762326955795, 0.05025085434317589, -0.016657844185829163, -0.01822933927178383, -0.0066742305643856525, -0.01911677047610283, 0.0034318671096116304, 0.002008277690038085, -0.024626245722174644, -0.058681461960077286, 0.01631581224501133, -0.02492205798625946, -0.05450313538312912, -0.016519183292984962, -0.024071602150797844, 0.08438002318143845, 0.015289719216525555, -0.00944745633751154, -0.006757427006959915, -0.08001681417226791, -0.04281860962510109, -0.005916215479373932, 0.05439220368862152, -0.006919198669493198, 0.07705870270729065, -0.028878526762127876, 0.05550149455666542, -0.06914576888084412, 0.04056305065751076, 0.07158620655536652, 0.005458632949739695, 0.03523845598101616, -0.03438800200819969, -0.02083617076277733, -0.00703474972397089, -0.06249002367258072, -0.012146729975938797, 0.05368965491652489, -0.03289046138525009, 0.03294592350721359, -0.03329719975590706, 0.014383798465132713, 0.050102949142456055, 0.030006304383277893, 0.021520232781767845, -0.022684987634420395, -0.01875625178217888, 0.019135259091854095, -0.04185722395777702, 0.017489811405539513, -0.025735536590218544, -0.02658599242568016, 0.022185808047652245, -0.00344111118465662, 0.05646288022398949, 0.05805286392569542, -0.01606622152030468, -0.0030482374131679535, 0.020595824345946312, -0.01825707033276558, 0.0062258923426270485, 0.06700114160776138, -0.0008874323102645576, -0.03904702141880989, 0.09806127101182938, 0.008430606685578823, -0.030560949817299843, -0.03135593980550766, -0.00006925842899363488, -0.021963950246572495, 0.012923233211040497, 0.07410059869289398, -0.09961427748203278, -0.042337916791439056, 0.007496953941881657, -0.009244086220860481, -0.0034434222616255283, 0.048771798610687256, 0.011804698035120964, 0.03189209848642349, 0.03080129623413086, 0.05069456994533539, -0.029155848547816277, -0.008231858722865582, -0.008661708794534206, 0.016888946294784546, -0.029507124796509743, -0.017554519698023796, 0.045443929731845856, 0.026567503809928894, 0.04969621077179909, -0.022074878215789795, 0.014198916964232922, -0.008134796284139156, 0.023664861917495728, 0.04488928243517876, -0.0030713477171957493, 0.07003320008516312, -0.0035451070871204138, 0.08149586617946625, -0.0012236859183758497, 0.040673982352018356, 0.027843188494443893, -0.014818270690739155, -0.004115929361432791, 0.004506492055952549, -0.04060002788901329, 0.025513678789138794, -0.020263036713004112, 0.0028957100585103035, 0.011795454658567905, -0.031060131266713142, 0.005199798848479986, 0.03368544951081276, 0.010797092691063881, -0.010538258589804173, -0.010519769974052906, 0.036477167159318924, -0.010556747205555439, 0.06533720344305038, 0.002346842549741268, 0.05468801409006119, -0.08548931032419205, -0.049326445907354355, 0.06500441581010818, -0.001808374421671033, -0.04363209009170532, 0.027159126475453377, -0.009077693335711956, -0.008425984531641006, -0.015659483149647713, 0.07032901048660278, -0.04925249144434929, 0.03355603292584419, -0.0055418298579752445, -0.0033856467343866825, -0.07043994218111038, -0.02126139961183071, 0.021945461630821228, -0.07276944816112518, -0.005518719553947449, -0.004534224513918161, -0.036976344883441925, -0.03712425008416176, -0.030209675431251526, 0.019763857126235962, -0.013385437428951263, 0.055649399757385254, 0.08120005577802658, -0.013348461128771305, -0.054761968553066254, 0.06648346781730652, -0.010630699805915356, -0.008606244809925556, -0.010935754515230656, -0.012146729975938797, 0.07302828133106232, -0.06097399443387985, 0.006484726443886757, 0.01052901428192854, -0.031485360115766525, 0.015594773925840855, -0.05265431851148605, -0.005250641144812107, -0.050546664744615555, -0.012608934193849564, 0.03562670946121216, -0.022906845435500145, 0.02442287653684616, 0.015918316319584846, 0.026992732658982277, 0.05468801409006119, -0.039971429854631424, 0.04895668104290962, -0.0006441972800530493, 0.0053985463455319405, -0.015197278000414371, -0.054355230182409286, 0.06304466724395752, 0.031596288084983826, -0.03296441212296486, 0.01781335473060608, 0.007459977641701698, -0.05180386081337929, -0.027011221274733543, 0.006050254683941603, 0.013958570547401905, 0.06163956969976425, 0.016020001843571663, 0.011277785524725914, -0.000026017047275672667, 0.017656205222010612, -0.026549017056822777, 0.007288962136954069, 0.003041304415091872, 0.027769235894083977, -0.014476239681243896, 0.0034318671096116304, -0.00008391897426918149, 0.025938905775547028, -0.01221143826842308, 0.011721502058207989, 0.009743266738951206, 0.04463044926524162, -0.004273078870028257, -0.01440228708088398, 0.027676794677972794, 0.04470440372824669, -0.03080129623413086, 0.016306567937135696, 0.01083406899124384, 0.0014975420199334621, -0.010371864773333073, -0.004760704468935728, 0.061010971665382385, 0.07269549369812012, 0.016611622646450996, 0.046553220599889755, -0.007677213754504919, -0.017961259931325912, -0.006669608410447836, 0.03168872743844986, -0.024940544739365578, 0.03607042506337166, 0.03433253616094589, -0.023221144452691078, 0.010889533907175064, -0.023332074284553528, 0.050102949142456055, 0.05461406335234642, 0.07617127150297165, -0.01831253618001938, -0.024219507351517677, 0.010159251280128956, 0.02702970802783966, -0.03926888108253479, -0.037087276577949524, 0.01623261533677578, -0.003535863012075424, -0.026179252192378044, -0.01044581737369299, -0.0018106854986399412, 0.027954118326306343, -0.0055002314038574696 ]
720,025
ibm_platform_services.usage_reports_v4
get_org_usage
Get organization usage. Usage for all the resources and plans in an organization in a given month. Account billing managers or organization billing managers are authorized to access this report. :param str account_id: Account ID for which the usage report is requested. :param str organization_id: ID of the organization. :param str billingmonth: The billing month for which the usage report is requested. Format is yyyy-mm. :param bool names: (optional) Include the name of every resource, plan, resource instance, organization, and resource group. :param str accept_language: (optional) Prioritize the names returned in the order of the specified languages. Language will default to English. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse with `dict` result representing a `OrgUsage` object
def get_org_usage( self, account_id: str, organization_id: str, billingmonth: str, *, names: Optional[bool] = None, accept_language: Optional[str] = None, **kwargs, ) -> DetailedResponse: """ Get organization usage. Usage for all the resources and plans in an organization in a given month. Account billing managers or organization billing managers are authorized to access this report. :param str account_id: Account ID for which the usage report is requested. :param str organization_id: ID of the organization. :param str billingmonth: The billing month for which the usage report is requested. Format is yyyy-mm. :param bool names: (optional) Include the name of every resource, plan, resource instance, organization, and resource group. :param str accept_language: (optional) Prioritize the names returned in the order of the specified languages. Language will default to English. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse with `dict` result representing a `OrgUsage` object """ if not account_id: raise ValueError('account_id must be provided') if not organization_id: raise ValueError('organization_id must be provided') if not billingmonth: raise ValueError('billingmonth must be provided') headers = { 'Accept-Language': accept_language, } sdk_headers = get_sdk_headers( service_name=self.DEFAULT_SERVICE_NAME, service_version='V4', operation_id='get_org_usage', ) headers.update(sdk_headers) params = { '_names': names, } if 'headers' in kwargs: headers.update(kwargs.get('headers')) del kwargs['headers'] headers['Accept'] = 'application/json' path_param_keys = ['account_id', 'organization_id', 'billingmonth'] path_param_values = self.encode_path_vars(account_id, organization_id, billingmonth) path_param_dict = dict(zip(path_param_keys, path_param_values)) url = '/v4/accounts/{account_id}/organizations/{organization_id}/usage/{billingmonth}'.format(**path_param_dict) request = self.prepare_request( method='GET', url=url, headers=headers, params=params, ) response = self.send(request, **kwargs) return response
(self, account_id: str, organization_id: str, billingmonth: str, *, names: Optional[bool] = None, accept_language: Optional[str] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
[ -0.006940800230950117, -0.008229542523622513, -0.01232590340077877, -0.024891145527362823, -0.013651467859745026, 0.009564312174916267, -0.014314250089228153, -0.052065204828977585, -0.07658813893795013, -0.050076860934495926, 0.015906767919659615, -0.019386373460292816, 0.026971545070409775, -0.015197958797216415, -0.006250402424484491, 0.03547724708914757, 0.0224057137966156, -0.030893005430698395, 0.041976191103458405, 0.0034934133291244507, -0.002043577842414379, -0.00027443317230790854, -0.04606334865093231, 0.03764969855546951, 0.016707628965377808, 0.02549869567155838, 0.08807636052370071, -0.027118830010294914, 0.018677564337849617, 0.021779751405119896, 0.014056500978767872, -0.0007594376802444458, -0.019441604614257812, 0.04271261766552925, -0.05508454516530037, -0.008579344488680363, 0.05898759514093399, 0.004586543422192335, -0.08056483417749405, 0.02130107581615448, 0.0017006801208481193, -0.01918385550379753, 0.06741965562105179, -0.018889285624027252, -0.02028849348425865, -0.03148214519023895, 0.0023611607030034065, -0.015630608424544334, -0.0616387240588665, -0.029954062774777412, 0.03753923624753952, -0.011626300401985645, -0.026824260130524635, 0.018410610035061836, 0.019091803580522537, 0.013890805654227734, -0.005794739816337824, 0.04311764985322952, 0.06344296038150787, 0.0129610700532794, -0.04978229105472565, 0.01626577414572239, 0.02085922099649906, -0.06428985297679901, -0.047278448939323425, 0.023013263940811157, -0.022921210154891014, -0.001011432963423431, -0.007442489266395569, 0.016063258051872253, -0.0007019045297056437, 0.07323741167783737, 0.039730098098516464, 0.005039904732257128, 0.039435528218746185, -0.050371430814266205, -0.009371000342071056, 0.00441624503582716, -0.012500804848968983, -0.05898759514093399, 0.02761591598391533, 0.003463496221229434, 0.03056161291897297, -0.02899671159684658, 0.0336177758872509, -0.004984672646969557, 0.003969788085669279, -0.06837701052427292, -0.015722662210464478, 0.007824509404599667, -0.02155882492661476, -0.04665248841047287, -0.007014442700892687, 0.03774175047874451, -0.002259902423247695, -0.055010903626680374, -0.03520108759403229, -0.011819612234830856, -0.06333249807357788, 0.04297036677598953, -0.008703616447746754, -0.0966925248503685, -0.06329567730426788, 0.04948772117495537, 0.05280163139104843, -0.0259037297219038, -0.02548028528690338, -0.03350730985403061, 0.038883209228515625, 0.005836163647472858, -0.04046652093529701, 0.046173810958862305, 0.027284525334835052, -0.041276589035987854, 0.03247631713747978, 0.06786151230335236, -0.032844528555870056, -0.042933542281389236, -0.05493726208806038, 0.0019641821272671223, -0.0069500054232776165, -0.0038040922954678535, 0.04470096156001091, 0.013522593304514885, 0.058877132833004, 0.011939280666410923, -0.020417366176843643, 0.004874208942055702, 0.06970257312059402, -0.0023208875209093094, 0.05202838405966759, -0.04094519838690758, 0.028683731332421303, -0.0070696743205189705, 0.03577181696891785, 0.029512207955121994, 0.026290351524949074, 0.022773925215005875, -0.04422228783369064, 0.06646230071783066, -0.0051641762256622314, 0.030727308243513107, -0.0007335477857850492, -0.03695009648799896, 0.007419475819915533, 0.029751546680927277, 0.051917921751737595, -0.00022855047427583486, -0.04009830951690674, -0.03437260910868645, 0.03602956607937813, -0.048824939876794815, 0.025038430467247963, -0.0002088453620672226, -0.052764810621738434, -0.006982224062085152, 0.026566511020064354, 0.01583312451839447, -0.004229837562888861, 0.03840453177690506, 0.009610339067876339, 0.000845737406052649, 0.0012875921092927456, 0.00538970623165369, 0.007921164855360985, -0.017213920131325722, -0.00426896009594202, -0.03615843877196312, -0.07496800273656845, -0.06465806066989899, -0.02478068135678768, 0.0252225361764431, -0.0252409465610981, -0.012850605882704258, -0.04429592937231064, 0.04285990074276924, 0.02478068135678768, -0.03323115035891533, -0.00539891142398119, 0.023768099024891853, -0.022332070395350456, -0.030635256320238113, -0.03415168076753616, 0.00017216797277797014, -0.044921889901161194, -0.0031159957870841026, 0.024191541597247124, -0.00455892737954855, 0.03630572557449341, 0.012436367571353912, 0.04610016942024231, 0.04790440946817398, 0.039877381175756454, -0.0019906472880393267, -0.030469560995697975, -0.07828191667795181, -0.00883709266781807, 0.018962929025292397, -0.025461874902248383, -0.014894183725118637, -0.005159573629498482, 0.047278448939323425, -0.004878812003880739, 0.05677832290530205, 0.021890215575695038, 0.05965037643909454, 0.026732206344604492, -0.011166035197675228, -0.019275909289717674, 0.04838308319449425, 0.025185715407133102, -0.02787366509437561, -0.05817753076553345, 0.028904657810926437, -0.061712365597486496, 0.09455689787864685, -0.003880036063492298, 0.035072214901447296, 0.005076725967228413, -0.020527830347418785, 0.01493100542575121, -0.06771422922611237, 0.058619383722543716, -0.040429700165987015, 0.00010420693433843553, -0.038735926151275635, 0.06594680994749069, 0.025590749457478523, -0.06646230071783066, -0.03869910165667534, 0.028794195502996445, -0.0060893092304468155, 0.058508921414613724, 0.052359774708747864, -0.059613555669784546, -0.029236050322651863, 0.01324643474072218, -0.018539484590291977, 0.005992653779685497, 0.001354330568574369, 0.011552657932043076, 0.0000162531177920755, 0.0322553887963295, 0.038036320358514786, -0.060018591582775116, 0.005882190074771643, -0.05313302204012871, 0.04050334170460701, -0.007677224464714527, -0.09728166460990906, -0.05685196444392204, 0.018981339409947395, 0.00047522387467324734, 0.013890805654227734, -0.05283845216035843, -0.05357487499713898, -0.037042148411273956, -0.05644693225622177, 0.04381725192070007, -0.026732206344604492, -0.005909806117415428, -0.03877274692058563, -0.042933542281389236, 0.013274050317704678, 0.037778571248054504, 0.003633794141933322, 0.03418850526213646, -0.0036038770340383053, -0.008777258917689323, 0.021264255046844482, -0.006066296249628067, 0.050224144011735916, -0.013955242931842804, -0.039987847208976746, -0.009803649969398975, 0.03591910004615784, 0.07216959446668625, -0.044369570910930634, -0.0321817472577095, 0.015188753604888916, 0.015943588688969612, -0.06252243369817734, -0.0091086495667696, 0.034427840262651443, -0.009228318929672241, 0.009683981537818909, 0.008570139296352863, 0.03713420033454895, -0.02689790166914463, 0.032292209565639496, 0.023050084710121155, 0.010401994921267033, -0.05000321939587593, 0.010125835426151752, -0.02551710605621338, 0.025148894637823105, -0.015326833352446556, 0.013853984884917736, -0.0006173307774588466, 0.07250098139047623, -0.08800271898508072, 0.008441264741122723, 0.03774175047874451, -0.023215780034661293, 0.03446466475725174, -0.013817163184285164, 0.05515819042921066, -0.06926071643829346, 0.05015050247311592, 0.04495871067047119, -0.011847227811813354, -0.032973404973745346, 0.044627320021390915, 0.003992801066488028, -0.04816215857863426, 0.00619977293536067, -0.04304400831460953, 0.016173722222447395, 0.057367462664842606, 0.03463035821914673, -0.016155309975147247, 0.006457521580159664, 0.03249472752213478, -0.049082688987255096, 0.013596235774457455, -0.009766829200088978, -0.023215780034661293, 0.10744432359933853, 0.02675061672925949, 0.0021643973886966705, -0.04834626242518425, -0.04864083230495453, -0.006365468725562096, 0.015464913100004196, -0.04694705829024315, -0.05335395038127899, 0.0036383969709277153, -0.09971186518669128, 0.0364714190363884, 0.0727955549955368, -0.005891395267099142, -0.010328352451324463, -0.044627320021390915, 0.04164480045437813, -0.0010660893749445677, 0.008634576573967934, 0.07769277691841125, -0.013835573568940163, -0.00742407888174057, -0.025112072005867958, -0.05475315451622009, 0.030193401500582695, 0.04330175742506981, 0.029622672125697136, 0.008174311369657516, 0.021080149337649345, -0.000524127040989697, 0.02884942665696144, -0.033415257930755615, 0.013430540449917316, -0.06767740100622177, -0.021890215575695038, -0.013126765377819538, -0.00567507091909647, 0.031205985695123672, -0.05213885009288788, -0.0011374305468052626, 0.016072463244199753, 0.05578415095806122, -0.05490044131875038, -0.02339988574385643, -0.00019086625252384692, 0.03304704651236534, 0.044075001031160355, -0.029236050322651863, 0.06425303220748901, -0.0035532477777451277, 0.004717718809843063, -0.07345833629369736, -0.019404783844947815, -0.020988095551729202, 0.02356558106839657, -0.017444053664803505, 0.04683659225702286, 0.01079782284796238, -0.01737961545586586, -0.03825724869966507, -0.017453258857131004, -0.064363494515419, -0.03162942826747894, 0.036655526608228683, -0.006135336123406887, -0.027082007378339767, -0.0017639666330069304, -0.05070282146334648, -0.002545266877859831, 0.006535766646265984, -0.003857022849842906, -0.03757605701684952, -0.026584921404719353, -0.0019331141375005245, 0.005380501039326191, -0.005808547604829073, 0.03192399814724922, -0.013053122907876968, -0.0037074366118758917, 0.07614628225564957, -0.04661566764116287, -0.012169413268566132, 0.04941407963633537, -0.03393075615167618, -0.02270028367638588, -0.026953134685754776, -0.03350730985403061, -0.03450148552656174, 0.05784614011645317, -0.03380187973380089, 0.007879741489887238, 0.044627320021390915, -0.019680943340063095, 0.04889858141541481, -0.02028849348425865, 0.007157125044614077, 0.0041331821121275425, 0.032568369060754776, -0.05114467442035675, -0.009371000342071056, -0.03192399814724922, 0.013955242931842804, -0.014618025161325932, 0.03822042793035507, 0.0560787208378315, -0.05375898256897926, -0.04109248146414757, 0.010199477896094322, 0.01863153837621212, 0.013660673052072525, -0.013412130065262318, 0.010199477896094322, 0.007944178767502308, 0.006388481706380844, 0.038036320358514786, 0.01795955002307892, 0.004768348298966885, -0.07390019297599792, 0.0059052035212516785, -0.015400475822389126, -0.05714653432369232, -0.025572337210178375, -0.06568905711174011, 0.06244879215955734, 0.06289064884185791, -0.019147034734487534, -0.030064526945352554, -0.028923070058226585, -0.09212669730186462, 0.041534338146448135, -0.03041432797908783, -0.009904908016324043, 0.039582811295986176, -0.0005692905979231, -0.010245504789054394, 0.01414855383336544, 0.009628749452531338, 0.02339988574385643, 0.01918385550379753, 0.015547760762274265, 0.007364244200289249, -0.01692855730652809, 0.03433578833937645, -0.04414864256978035, 0.028370751067996025, -0.045879241079092026, 0.07415793836116791, -0.0217061098664999, -0.020067565143108368, -0.004952454008162022, 0.035256318747997284, -0.03586386889219284, -0.015906767919659615, 0.03766810894012451, 0.047720301896333694, 0.044185467064380646, 0.009518285281956196, 0.02535141073167324, 0.009297357872128487, 0.032016050070524216, -0.016440674662590027, -0.05939263105392456, 0.00647593243047595, -0.021761341020464897, -0.020638294517993927, -0.02689790166914463, -0.047720301896333694, -0.0560787208378315, 0.0181896835565567, 0.03175830468535423, 0.014977031387388706, -0.035256318747997284, 0.030322276055812836, 0.03753923624753952, -0.0335809551179409, 0.050813283771276474, -0.03961963206529617, -0.0025038430467247963, -0.01422219630330801, 0.0057164947502315044, -0.040135130286216736, -0.025185715407133102, 0.0009631050634197891, -0.07504165172576904, 0.03683963045477867, 0.019828228279948235, -0.006586396135389805, -0.0034611946903169155, 0.0546426922082901, -0.011479015462100506, -0.004333397373557091, -0.004045731853693724, 0.005523183383047581, 0.007971794344484806, 0.05342759191989899, 0.015087495557963848, 0.022387301549315453, 0.022166375070810318, 0.01793193444609642, -0.01456279307603836, -0.005872984882444143, -0.028536446392536163, -0.059908125549554825, -0.019165445119142532, -0.009154676459729671, -0.04425910860300064, -0.017757033929228783, 0.04241804778575897, -0.013301665894687176, -0.052212491631507874, -0.020398955792188644, -0.008514907211065292, 0.07459979504346848, 0.002816823311150074, -0.012730937451124191, 0.00009550504182698205, -0.04735209047794342, -0.030469560995697975, -0.011018750257790089, 0.06933435797691345, -0.0032264594919979572, 0.1276223510503769, -0.017977960407733917, 0.011110803112387657, -0.05070282146334648, 0.07478389889001846, 0.0757044330239296, -0.0008503400604240596, 0.07268509268760681, -0.03043273836374283, -0.00868980772793293, 0.015105905942618847, -0.06532084941864014, -0.007930370047688484, 0.05659421533346176, -0.051623351871967316, 0.03984056040644646, 0.001096006715670228, 0.019533658400177956, 0.04632109776139259, 0.03516426682472229, 0.004846593365073204, -0.007465502712875605, -0.03137167915701866, 0.01610007882118225, -0.0757044330239296, -0.0037925858050584793, -0.010448021814227104, -0.04422228783369064, 0.005909806117415428, 0.03137167915701866, 0.05132878199219704, 0.04216029867529869, -0.015087495557963848, -0.00654957490041852, 0.007635800633579493, -0.0019987018313258886, 0.0050583151169121265, 0.04746255278587341, -0.028775785118341446, -0.03385711461305618, 0.10346762835979462, -0.00932497438043356, 0.006793515291064978, -0.035514067858457565, -0.0016385443741455674, -0.01623815856873989, 0.0052562290802598, 0.08027026057243347, -0.11186286807060242, -0.044774603098630905, 0.006047885399311781, -0.0462106317281723, -0.017453258857131004, 0.050813283771276474, 0.014084117487072945, 0.022240018472075462, 0.030211811885237694, 0.061160046607255936, -0.04046652093529701, 0.005007686093449593, -0.016182927414774895, 0.00903960969299078, -0.02844439260661602, -0.010309942066669464, 0.009205305017530918, -0.0008031628676690161, 0.03814678639173508, -0.05015050247311592, 0.010374379344284534, 0.01107398234307766, 0.010595306754112244, -0.007120303809642792, -0.0010194875067099929, 0.07191184163093567, -0.006752091459929943, 0.06778787076473236, -0.013375308364629745, 0.034409429877996445, 0.021669289097189903, -0.04009830951690674, 0.013982858508825302, 0.008395238779485226, -0.04709434136748314, 0.00011161432485096157, -0.007980999536812305, -0.008722026832401752, 0.04746255278587341, -0.05000321939587593, -0.00938480906188488, 0.04193937033414841, 0.009822060354053974, -0.011258088052272797, -0.0175176952034235, 0.038735926151275635, -0.02437564916908741, 0.04816215857863426, -0.025167305022478104, 0.05979766324162483, -0.08240589499473572, 0.006236594170331955, 0.0769563540816307, -0.022037500515580177, -0.031205985695123672, 0.03954599052667618, 0.03617684915661812, -0.020988095551729202, -0.018705179914832115, 0.02914399653673172, -0.05648375302553177, 0.024302005767822266, 0.011515837162733078, -0.006098514888435602, -0.04157115891575813, -0.02130107581615448, 0.0546426922082901, -0.05699925124645233, 0.012657294981181622, -0.020914454013109207, -0.027358166873455048, -0.04576877877116203, -0.022240018472075462, 0.04569513723254204, -0.02479909174144268, 0.03984056040644646, 0.11223108321428299, 0.007483913097530603, -0.056262824684381485, 0.042675796896219254, 0.027800021693110466, 0.016044847667217255, -0.010613717138767242, 0.032439496368169785, 0.040429700165987015, -0.04031923785805702, 0.004542818292975426, -0.007930370047688484, -0.026842670515179634, 0.024191541597247124, -0.05243341997265816, 0.001711036078631878, -0.03345207870006561, -0.022608229890465736, 0.02087763324379921, -0.03098505735397339, 0.0035946716088801622, 0.0023956806398928165, 0.043780431151390076, 0.027155650779604912, -0.032568369060754776, 0.037042148411273956, 0.007829112000763416, 0.031316448003053665, 0.013706699945032597, -0.04915633052587509, 0.05504772439599037, 0.04311764985322952, -0.03980373963713646, 0.04171844199299812, 0.003014737507328391, -0.024173131212592125, -0.058913953602313995, -0.02282915636897087, 0.003203446278348565, 0.056815143674612045, -0.006227388978004456, -0.007801496423780918, 0.034538306295871735, -0.00048068954492919147, -0.03836771100759506, 0.05280163139104843, -0.012261467054486275, -0.0038869401905685663, 0.0008998186094686389, 0.00931576918810606, 0.018705179914832115, 0.010981929488480091, -0.0019411687972024083, 0.008321596309542656, -0.012123387306928635, 0.025020020082592964, 0.0005540443235076964, -0.0058499714359641075, 0.017039019614458084, 0.05644693225622177, -0.012215440161526203, -0.005642852280288935, 0.0008566687465645373, -0.011957691982388496, -0.02028849348425865, -0.005509375128895044, 0.03249472752213478, 0.03807314112782478, 0.005026096478104591, 0.07401065528392792, -0.013421335257589817, -0.028370751067996025, -0.018981339409947395, 0.012997890822589397, -0.028959890827536583, 0.007732456550002098, 0.017333589494228363, -0.02505684085190296, 0.010144246742129326, -0.034409429877996445, 0.06351660937070847, 0.06381117552518845, 0.0616755448281765, -0.037612877786159515, -0.02200067974627018, 0.03892002999782562, 0.02282915636897087, -0.03304704651236534, -0.04989275336265564, 0.01423140149563551, -0.007465502712875605, -0.03232903033494949, -0.005831561051309109, 0.01127649936825037, 0.010263915173709393, -0.03109552152454853 ]
720,026
ibm_platform_services.usage_reports_v4
get_reports_snapshot
Fetch the current or past snapshots. Returns the billing reports snapshots captured for the given Account Id in the specific time period. :param str account_id: Account ID for which the billing report snapshot is requested. :param str month: The month for which billing report snapshot is requested. Format is yyyy-mm. :param int date_from: (optional) Timestamp in milliseconds for which billing report snapshot is requested. :param int date_to: (optional) Timestamp in milliseconds for which billing report snapshot is requested. :param int limit: (optional) Number of usage records returned. The default value is 30. Maximum value is 200. :param str start: (optional) The offset from which the records must be fetched. Offset information is included in the response. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse with `dict` result representing a `SnapshotList` object
def get_reports_snapshot( self, account_id: str, month: str, *, date_from: int = None, date_to: int = None, limit: int = None, start: str = None, **kwargs, ) -> DetailedResponse: """ Fetch the current or past snapshots. Returns the billing reports snapshots captured for the given Account Id in the specific time period. :param str account_id: Account ID for which the billing report snapshot is requested. :param str month: The month for which billing report snapshot is requested. Format is yyyy-mm. :param int date_from: (optional) Timestamp in milliseconds for which billing report snapshot is requested. :param int date_to: (optional) Timestamp in milliseconds for which billing report snapshot is requested. :param int limit: (optional) Number of usage records returned. The default value is 30. Maximum value is 200. :param str start: (optional) The offset from which the records must be fetched. Offset information is included in the response. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse with `dict` result representing a `SnapshotList` object """ if not account_id: raise ValueError('account_id must be provided') if not month: raise ValueError('month must be provided') headers = {} sdk_headers = get_sdk_headers( service_name=self.DEFAULT_SERVICE_NAME, service_version='V4', operation_id='get_reports_snapshot', ) headers.update(sdk_headers) params = { 'account_id': account_id, 'month': month, 'date_from': date_from, 'date_to': date_to, '_limit': limit, '_start': start, } if 'headers' in kwargs: headers.update(kwargs.get('headers')) del kwargs['headers'] headers['Accept'] = 'application/json' url = '/v1/billing-reports-snapshots' request = self.prepare_request( method='GET', url=url, headers=headers, params=params, ) response = self.send(request, **kwargs) return response
(self, account_id: str, month: str, *, date_from: Optional[int] = None, date_to: Optional[int] = None, limit: Optional[int] = None, start: Optional[str] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
[ -0.032450832426548004, -0.0635070875287056, -0.03854765743017197, 0.008649085648357868, -0.06676111370325089, 0.020632650703191757, -0.017235593870282173, -0.007853459566831589, -0.08038509637117386, -0.0030864051077514887, -0.0275519210845232, 0.015259937383234501, 0.023618485778570175, -0.011174529790878296, -0.007455646060407162, 0.020382342860102654, 0.016752853989601135, -0.03616971895098686, 0.03665245696902275, 0.04015678912401199, 0.030966857448220253, 0.0002544999006204307, -0.022885436192154884, 0.06690414249897003, 0.008000963367521763, 0.02460184507071972, 0.034274518489837646, -0.011943337507545948, -0.008009903132915497, 0.07452070713043213, 0.014214001595973969, -0.010101774707436562, 0.055640216916799545, 0.026461286470294, -0.04573511332273483, -0.007831110619008541, 0.04108650982379913, 0.021294184029102325, -0.15705130994319916, 0.030394719913601875, -0.006968436762690544, -0.0035825541708618402, 0.08017054200172424, 0.0052430895157158375, 0.014455371536314487, -0.032164767384529114, 0.009315088391304016, -0.06515197455883026, 0.005050887353718281, -0.01930958777666092, 0.054245635867118835, 0.04480539262294769, -0.0512419231235981, -0.03523999825119972, 0.031968094408512115, 0.04151561111211777, -0.04838124290108681, 0.030680788680911064, 0.043947190046310425, 0.015760555863380432, -0.027677075937390327, -0.001934311119839549, 0.03330903872847557, -0.046807870268821716, -0.014088846743106842, 0.00020784625667147338, -0.05224316194653511, -0.034113604575395584, -0.018773209303617477, 0.02664007805287838, -0.008157406933605671, 0.026157338172197342, 0.014964929781854153, 0.027444645762443542, -0.03296933323144913, -0.014365975745022297, 0.026693716645240784, 0.025942787528038025, -0.08825196325778961, -0.02896438166499138, 0.010870582424104214, -0.014088846743106842, -0.028606796637177467, -0.027122817933559418, -0.022492093965411186, 0.007728304713964462, -0.00961009506136179, -0.04119378700852394, -0.006736006587743759, -0.021866319701075554, -0.013749141246080399, 0.017861368134617805, -0.024011829867959023, 0.058608174324035645, -0.021472975611686707, -0.06997937709093094, -0.05388805270195007, 0.013150186277925968, -0.0949745625257492, 0.04752304032444954, -0.06225553900003433, -0.1097070649266243, -0.01625223644077778, 0.08961078524589539, -0.003942374140024185, -0.0159751083701849, -0.0027757531497627497, -0.0402640663087368, 0.0067002479918301105, 0.0007609854801557958, -0.02671159617602825, 0.024476690217852592, 0.007688076235353947, -0.04358960688114166, -0.003810514695942402, 0.04677211120724678, -0.02506670542061329, -0.01770939491689205, -0.0516352653503418, -0.0766662135720253, 0.021884199231863022, -0.013838537968695164, 0.04763031378388405, 0.005122404545545578, -0.02218814566731453, 0.007808761205524206, 0.008751891553401947, 0.01623435690999031, -0.0006799701368436217, -0.0076791369356215, -0.0006078944425098598, -0.017333930358290672, -0.02608582191169262, 0.02644340693950653, 0.031199287623167038, -0.008546280674636364, 0.06575987488031387, 0.058608174324035645, -0.0190413985401392, 0.021776923909783363, -0.023600606247782707, -0.015179481357336044, -0.0021186908707022667, -0.02115114964544773, -0.043196260929107666, -0.023815156891942024, 0.05689176544547081, 0.048023659735918045, -0.0034931579139083624, -0.00721427658572793, 0.008546280674636364, -0.027712833136320114, -0.049418240785598755, -0.04845276102423668, -0.06368587911128998, -0.04630725085735321, 0.03954889625310898, 0.028392244130373, 0.028445882722735405, 0.032522350549697876, 0.01034314464777708, 0.03044835850596428, 0.023690002039074898, -0.0949745625257492, 0.0022024998906999826, 0.00918993353843689, -0.02867831289768219, -0.01717301644384861, -0.02664007805287838, -0.022849678993225098, -0.014410673640668392, 0.04276715964078903, -0.006440998986363411, -0.029071656987071037, -0.050991613417863846, 0.010048137046396732, 0.03779672831296921, -0.0028249211609363556, -0.027891626581549644, 0.04655756056308746, -0.00031959154875949025, -0.0833888128399849, -0.030841702595353127, 0.009753129445016384, -0.0313602015376091, -0.06136157736182213, -0.03590152785181999, 0.034292396157979965, -0.003517742035910487, -0.01977444812655449, 0.009078187867999077, 0.0077998219057917595, 0.028052538633346558, -0.05142071470618248, -0.06304222345352173, -0.07659469544887543, -0.019005639478564262, -0.021687526255846024, 0.011192409321665764, 0.030770184472203255, 0.015054326504468918, -0.004724591039121151, 0.0002782458032015711, -0.013400495983660221, 0.0495612733066082, 0.009663733653724194, 0.012649567797780037, -0.02513822168111801, 0.0017443441320210695, 0.02376152016222477, -0.031985972076654434, 0.0017979817930608988, -0.05392381176352501, -0.024262139573693275, -0.053315915167331696, 0.027516162022948265, 0.0402640663087368, -0.003864152356982231, 0.023314539343118668, 0.0009341906988993287, 0.036902766674757004, -0.03861917555332184, -0.09776372462511063, -0.01643996872007847, -0.04333929717540741, 0.0512419231235981, 0.0551038421690464, -0.01929170824587345, -0.018594417721033096, -0.05117040500044823, 0.03454270586371422, -0.033291157335042953, -0.013802778907120228, -0.022062990814447403, -0.04405446723103523, -0.010986797511577606, 0.005864392966032028, -0.018683813512325287, 0.05943061783909798, -0.000407311599701643, 0.012747903354465961, 0.07187457382678986, 0.04287443682551384, 0.062327057123184204, -0.009690552018582821, -0.05020492523908615, -0.08074267953634262, 0.06114702671766281, 0.013221703469753265, 0.013257461600005627, 0.010083895176649094, -0.039405860006809235, 0.020811444148421288, 0.010825884528458118, 0.015751617029309273, -0.028606796637177467, -0.000364010309567675, -0.004907853435724974, 0.04594966769218445, -0.005877802614122629, 0.049597032368183136, -0.08417549729347229, -0.027909506112337112, -0.05910879373550415, 0.02812405675649643, -0.0074109481647610664, -0.021043874323368073, 0.00834513921290636, 0.044590841978788376, 0.0393701046705246, 0.016583001241087914, 0.007013134658336639, -0.004203857854008675, 0.015367213636636734, 0.019917482510209084, -0.014714621007442474, 0.0362054742872715, -0.04158712923526764, -0.04215926676988602, -0.015653280541300774, 0.004688832443207502, -0.043482329696416855, 0.057678453624248505, 0.009449182078242302, 0.09018292278051376, -0.03908403590321541, 0.019828084856271744, 0.025263376533985138, 0.03983496502041817, -0.0040563540533185005, 0.047380004078149796, 0.027534041553735733, -0.06504470109939575, -0.06254160404205322, -0.044698119163513184, 0.02031082473695278, -0.0039870720356702805, -0.02442305162549019, -0.011004677042365074, 0.07062302529811859, -0.0026774173602461815, 0.026568561792373657, 0.07638014853000641, -0.015903590247035027, -0.019273828715085983, -0.01884472742676735, 0.02544216997921467, -0.008251273073256016, 0.06575987488031387, -0.04076468572020531, 0.004145750310271978, 0.004264200571924448, 0.0064767575822770596, -0.05095585435628891, 0.010298446752130985, -0.06872782856225967, -0.007133819628506899, 0.003258492797613144, 0.010870582424104214, 0.04466236010193825, -0.03166414797306061, 0.04101499542593956, 0.005417412146925926, -0.006186219397932291, 0.07212488353252411, 0.0037010041996836662, -0.011210287921130657, 0.04852427914738655, 0.025281256064772606, 0.028463762253522873, -0.018916243687272072, -0.013248522765934467, 0.016457846388220787, 0.0664750412106514, -0.027802228927612305, -0.06365012377500534, -0.025477927178144455, -0.04076468572020531, 0.0011923223501071334, 0.035686977207660675, 0.039763446897268295, -0.03248659148812294, 0.06050337478518486, -0.008139527402818203, 0.07212488353252411, 0.022331180050969124, 0.07105212658643723, -0.02488791197538376, -0.06676111370325089, 0.02488791197538376, -0.03237931802868843, 0.035311512649059296, 0.029643792659044266, 0.016493605449795723, 0.014830836094915867, -0.004413939081132412, 0.028463762253522873, 0.04219502583146095, -0.043482329696416855, 0.005667721386998892, -0.01304291095584631, 0.05892999842762947, -0.028177693486213684, -0.029643792659044266, 0.031789302825927734, -0.0028651494067162275, -0.04316050186753273, -0.05041947960853577, 0.0211690291762352, -0.02876770868897438, -0.02969742938876152, -0.019255949184298515, -0.033183883875608444, 0.05699904263019562, -0.02460184507071972, 0.03128868341445923, -0.03230779990553856, -0.010495117865502834, -0.027408886700868607, 0.043661121279001236, 0.01331110019236803, -0.021651769056916237, 0.044125981628894806, -0.0029590155463665724, 0.024923671036958694, -0.03125292435288429, 0.03164626657962799, -0.03861917555332184, 0.008787649683654308, -0.039405860006809235, -0.002590256044641137, 0.017387568950653076, -0.009341906756162643, 0.005591734778136015, -0.02395819127559662, -0.07602255791425705, 0.05503232404589653, 0.03701004385948181, 0.0542098768055439, -0.07916931062936783, 0.013141246512532234, 0.02115114964544773, -0.03248659148812294, -0.009922982193529606, -0.018210014328360558, -0.04262412711977959, 0.017468024045228958, -0.12973181903362274, 0.007513753604143858, -0.022813919931650162, 0.016305873170495033, -0.04083620011806488, -0.05928758531808853, 0.021025994792580605, 0.04029982537031174, 0.045055702328681946, 0.0406574085354805, 0.01401733048260212, 0.00747352559119463, 0.009493879973888397, 0.006293495185673237, -0.0052386196330189705, 0.00840771570801735, 0.00017110999033320695, 0.02143721841275692, -0.048595793545246124, -0.02115114964544773, -0.021919958293437958, -0.043661121279001236, -0.002348886104300618, 0.0787402093410492, 0.03044835850596428, -0.06575987488031387, 0.015644341707229614, 0.024065466597676277, 0.02606794238090515, -0.0015074440743774176, 0.011165590025484562, 0.008358548395335674, 0.021008115261793137, 0.0023734699934720993, -0.018522899597883224, 0.04244533181190491, -0.04863155260682106, -0.009341906756162643, -0.010593454353511333, -0.036420028656721115, -0.06919268518686295, 0.019613534212112427, -0.004418408963829279, -0.005314606241881847, 0.03127080202102661, -0.035597581416368484, -0.014035209082067013, 0.020453859120607376, -0.0753789097070694, -0.007929446175694466, -0.003638426773250103, -0.001071637379936874, -0.01660982146859169, 0.020561134442687035, 0.021276304498314857, -0.011424839496612549, -0.017950763925909996, 0.06021730601787567, 0.002760108793154359, 0.029161052778363228, 0.003417171072214842, -0.0194883793592453, -0.02996561862528324, 0.015849953517317772, 0.016171779483556747, -0.019738689064979553, 0.027516162022948265, 0.0640077069401741, 0.006154931150376797, -0.018138496205210686, 0.0001371673570247367, -0.00649463664740324, -0.012774722650647163, -0.019524138420820236, 0.014821896329522133, 0.040979236364364624, -0.006668959278613329, -0.005837574135512114, -0.03704579919576645, 0.018987759947776794, 0.0321468859910965, -0.060181546956300735, 0.012435016222298145, -0.04870307072997093, 0.003079700283706188, -0.02599642612040043, 0.02469124086201191, -0.04981158301234245, -0.003868622239679098, 0.01884472742676735, 0.058250587433576584, 0.021186908707022667, -0.010083895176649094, 0.030090773478150368, -0.03926282748579979, 0.02190207876265049, 0.02458396553993225, -0.04637876898050308, 0.04948975518345833, 0.006508046295493841, -0.010736487805843353, 0.012810480780899525, -0.028714071959257126, -0.016645578667521477, 0.021115390583872795, -0.04130106046795845, -0.01151423528790474, -0.04316050186753273, 0.051563750952482224, -0.039012517780065536, -0.0015689039137214422, -0.032897815108299255, -0.017378628253936768, -0.00927932932972908, 0.03538303077220917, 0.030484117567539215, -0.04119378700852394, -0.005417412146925926, -0.00984252616763115, -0.031235044822096825, -0.03368450328707695, -0.0023779398761689663, -0.01382959820330143, -0.010709669440984726, 0.030394719913601875, 0.01678861305117607, -0.0774528980255127, 0.008184225298464298, 0.03658093884587288, -0.021848440170288086, -0.029768947511911392, 0.039942238479852676, 0.036420028656721115, 0.00032853116863407195, 0.012864118441939354, -0.047272730618715286, -0.03861917555332184, -0.0745922178030014, 0.03482877463102341, 0.03407784551382065, 0.047093939036130905, 0.0818154364824295, -0.012023793533444405, 0.11664421111345291, -0.048309728503227234, 0.0525292307138443, 0.007571861147880554, -0.07859717309474945, 0.04591390863060951, -0.02402970939874649, -0.026872508227825165, 0.004912323318421841, -0.0432320199906826, -0.0063113742507994175, 0.032844178378582, 0.02227754145860672, 0.060646407306194305, -0.11549993604421616, 0.048667311668395996, 0.08939623832702637, 0.04602118209004402, 0.0011057197116315365, -0.0095206992700696, 0.02664007805287838, -0.012283043004572392, -0.03786824643611908, -0.031968094408512115, 0.028928622603416443, -0.015340394340455532, 0.016368450596928596, -0.045806631445884705, 0.00377252115868032, 0.031163528561592102, 0.04780910909175873, -0.03854765743017197, 0.0771668329834938, -0.024816395714879036, -0.03148535639047623, 0.060825198888778687, -0.047272730618715286, -0.04244533181190491, 0.06601018458604813, 0.03246871381998062, 0.013257461600005627, 0.04158712923526764, -0.008376426994800568, -0.042087748646736145, 0.006485696882009506, 0.042087748646736145, -0.04501994699239731, -0.05896575748920441, -0.035686977207660675, -0.04870307072997093, 0.034381791949272156, 0.06947875767946243, -0.00482739694416523, 0.019273828715085983, -0.004308898467570543, 0.02495943009853363, 0.024101225659251213, 0.0211690291762352, 0.01669027842581272, 0.0347214974462986, -0.03686700761318207, -0.007737244479358196, 0.0766662135720253, 0.023403935134410858, 0.032522350549697876, -0.010477239266037941, 0.011710907332599163, 0.05288681387901306, 0.0028025719802826643, 0.0380827970802784, 0.021025994792580605, 0.06354284286499023, -0.02254573069512844, 0.061933714896440506, -0.008975381962954998, 0.03405996784567833, 0.02764131687581539, -0.005819695070385933, -0.0007498109480366111, 0.009690552018582821, -0.03869068995118141, 0.04147985577583313, 0.0030081833247095346, -0.008734012022614479, 0.008273622021079063, -0.025692477822303772, 0.03718883544206619, 0.01178242452442646, 0.009078187867999077, 0.01922019012272358, 0.02624673582613468, 0.013552469201385975, -0.00656168395653367, 0.041336819529533386, 0.01104937493801117, 0.0626131221652031, -0.04426901787519455, -0.03711731731891632, 0.032719023525714874, 0.004125636536628008, -0.006905859336256981, -0.021025994792580605, -0.04047861695289612, -0.007308142259716988, -0.019810205325484276, 0.08968230336904526, -0.017968643456697464, 0.0008190930238924921, 0.02347545139491558, 0.022939074784517288, -0.04655756056308746, -0.036509424448013306, -0.012846238911151886, -0.06300646811723709, -0.03990647941827774, -0.026979783549904823, -0.04305322840809822, 0.006217508111149073, -0.023243021219968796, 0.038476139307022095, 0.023260900750756264, 0.007983083836734295, 0.019935360178351402, 0.008827878162264824, 0.014866594225168228, 0.034489069133996964, -0.015912530943751335, -0.03035896271467209, -0.028374366462230682, -0.017012104392051697, 0.06872782856225967, -0.010217989794909954, -0.045627839863300323, 0.021973595023155212, -0.025460047647356987, 0.04566359892487526, -0.03711731731891632, -0.036509424448013306, -0.025746116414666176, 0.030966857448220253, 0.03293357416987419, -0.024154864251613617, 0.035311512649059296, 0.03797551989555359, 0.015894651412963867, 0.05117040500044823, -0.06036033853888512, 0.009270389564335346, 0.012023793533444405, -0.003602668410167098, -0.026371890679001808, -0.012837300077080727, 0.05020492523908615, 0.07895475625991821, 0.012694265693426132, -0.07276853919029236, 0.03080594353377819, -0.010834824293851852, 0.018630176782608032, 0.014258699491620064, 0.02022142894566059, 0.03439967334270477, 0.022617248818278313, 0.011809242889285088, -0.0013945812825113535, -0.005560446064919233, -0.02810617722570896, -0.016931647434830666, 0.01679755374789238, 0.002512034261599183, -0.008108238689601421, -0.033827535808086395, 0.00834513921290636, -0.02672947570681572, 0.014446431770920753, 0.045699357986450195, 0.026514923200011253, 0.05403108522295952, 0.013150186277925968, -0.011505295522511005, 0.033183883875608444, 0.011246046982705593, 0.023868795484304428, -0.014804016798734665, 0.032164767384529114, -0.012810480780899525, -0.022509973496198654, -0.02208087034523487, 0.022474214434623718, 0.058786965906620026, 0.027784351259469986, 0.032647505402565, 0.011818182654678822, 0.02022142894566059, -0.051349200308322906, -0.009458121843636036, 0.00941342394798994, 0.023421814665198326, 0.013963691890239716, -0.038940999656915665, 0.02513822168111801, -0.031968094408512115, 0.031789302825927734, 0.038190074265003204, -0.02236693911254406, 0.035973045974969864, -0.002670712536200881, 0.005448700860142708, 0.03701004385948181, -0.013007152825593948, -0.020668409764766693, 0.03495392948389053, -0.049418240785598755, 0.0010051489807665348, -0.03647366538643837, 0.017316050827503204, 0.04405446723103523, 0.004755879752337933 ]
720,027
ibm_platform_services.usage_reports_v4
get_reports_snapshot_config
Fetch the snapshot configuration. Returns the configuration of snapshot of the billing reports setup by the customer for the given Account Id. :param str account_id: Account ID for which the billing report snapshot is configured. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse with `dict` result representing a `SnapshotConfig` object
def get_reports_snapshot_config( self, account_id: str, **kwargs, ) -> DetailedResponse: """ Fetch the snapshot configuration. Returns the configuration of snapshot of the billing reports setup by the customer for the given Account Id. :param str account_id: Account ID for which the billing report snapshot is configured. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse with `dict` result representing a `SnapshotConfig` object """ if not account_id: raise ValueError('account_id must be provided') headers = {} sdk_headers = get_sdk_headers( service_name=self.DEFAULT_SERVICE_NAME, service_version='V4', operation_id='get_reports_snapshot_config', ) headers.update(sdk_headers) params = { 'account_id': account_id, } if 'headers' in kwargs: headers.update(kwargs.get('headers')) del kwargs['headers'] headers['Accept'] = 'application/json' url = '/v1/billing-reports-snapshot-config' request = self.prepare_request( method='GET', url=url, headers=headers, params=params, ) response = self.send(request, **kwargs) return response
(self, account_id: str, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
[ -0.03116985782980919, -0.07500635087490082, -0.024304328486323357, -0.013385121710598469, -0.052263177931308746, -0.008910109288990498, -0.022423848509788513, 0.0078102052211761475, -0.06649097055196762, -0.013562525622546673, -0.03432764858007431, -0.0001970846060430631, -0.009978966787457466, -0.01158447191119194, 0.0020878217183053493, -0.003545859595760703, 0.028083031997084618, -0.0034815508406609297, 0.043428465723991394, 0.016729183495044708, 0.04850221425294876, -0.011868318542838097, -0.019674088805913925, 0.0828830823302269, 0.0036212564446032047, 0.01699529029428959, 0.06716509908437729, -0.03285519406199455, -0.012906131334602833, 0.09232097119092941, -0.006967536639422178, 0.014618078246712685, 0.032074619084596634, 0.0030203007627278566, -0.05449846759438515, -0.022618992254137993, 0.04498961940407753, 0.015256731770932674, -0.1347559690475464, 0.028491061180830002, -0.028242694213986397, 0.01915961690247059, 0.0960109680891037, -0.039596542716026306, -0.0013704447774216533, -0.0029936900828033686, -0.016037309542298317, -0.02506716549396515, -0.0394546203315258, -0.016267934814095497, 0.07578693330287933, 0.035321108996868134, -0.0590754859149456, 0.014449544250965118, 0.05939481407403946, -0.012081203050911427, -0.04761519655585289, -0.003654519561678171, 0.035888802260160446, -0.0035769054666161537, -0.03842567652463913, -0.030336059629917145, 0.018485482782125473, -0.026007406413555145, 0.014529376290738583, -0.05286635085940361, -0.06670384854078293, 0.003370673395693302, -0.00557935144752264, -0.01714608259499073, -0.019337020814418793, -0.012923871167004108, 0.0014147957554087043, -0.00597407529130578, -0.043854232877492905, -0.03143596276640892, -0.035977501422166824, 0.02591870352625847, -0.04115769639611244, 0.013065794482827187, -0.02920067496597767, -0.013535914942622185, -0.005557176191359758, -0.028703944757580757, -0.010333774611353874, 0.0009186193929053843, 0.0033041469287127256, -0.03640327230095863, -0.0025280050467699766, 0.021572310477495193, 0.030868271365761757, 0.017678294330835342, -0.026308992877602577, 0.0413350984454155, -0.010475697927176952, -0.03321000188589096, -0.027089569717645645, 0.04992144554853439, -0.051376160234212875, 0.035161446779966354, -0.07912212610244751, -0.09693346917629242, -0.008267019875347614, 0.07905115932226181, 0.0007467594114132226, -0.03331644460558891, 0.0005189062794670463, -0.017243655398488045, 0.011034520342946053, 0.004120204597711563, 0.017900049686431885, -0.004661286249756813, -0.014520506374537945, -0.05492423474788666, 0.03198591619729996, 0.05652087181806564, -0.042222119867801666, -0.02104009874165058, -0.004590325057506561, -0.0437832735478878, 0.03672260046005249, -0.02618481032550335, 0.018361300230026245, 0.024109184741973877, -0.027745964005589485, 0.03803538903594017, -0.030229618772864342, 0.011229664087295532, 0.01621471345424652, 0.012498102150857449, 0.04623144492506981, -0.006923185661435127, -0.03629682958126068, 0.004424009006470442, 0.06602972000837326, -0.020756252110004425, 0.04843125492334366, 0.056130580604076385, 0.02428658865392208, 0.004248822573572397, -0.01564702019095421, 0.0027120616286993027, -0.001514585455879569, -0.04098029062151909, -0.014360842294991016, -0.009562068618834019, 0.02637995406985283, 0.032535869628190994, -0.03881596401333809, -0.0032464906107634306, -0.00867061410099268, -0.026894425973296165, -0.057053081691265106, -0.04488317668437958, -0.05102135241031647, -0.05102135241031647, 0.048324812203645706, 0.07486443221569061, 0.03019413724541664, 0.0114869000390172, 0.028526540845632553, 0.04069644585251808, 0.06798116117715836, -0.09963000565767288, -0.004692332353442907, -0.013287548907101154, -0.07025192677974701, -0.027408896014094353, -0.006408714689314365, -0.021270722150802612, -0.019088655710220337, 0.023772116750478745, -0.05559837073087692, -0.004989483393728733, -0.05375336855649948, 0.023736637085676193, 0.038745004683732986, -0.004838690161705017, -0.04119317606091499, 0.008156142197549343, 0.01775812730193138, -0.07578693330287933, -0.0001771266688592732, 0.038212791085243225, 0.006790132727473974, -0.014192309230566025, -0.014990625903010368, 0.0590754859149456, -0.008023089729249477, -0.026699280366301537, -0.010582140646874905, -0.02595418505370617, 0.014972886070609093, -0.05499519780278206, -0.03510822355747223, -0.0876375064253807, -0.021111059933900833, -0.07273558527231216, 0.021448126062750816, 0.021838415414094925, 0.021962597966194153, -0.06904558092355728, 0.0003193269658368081, 0.008914544247090816, 0.0480409674346447, -0.05318567901849747, 0.0018006492173299193, -0.05535000562667847, 0.010901466943323612, 0.06702318042516708, -0.022849617525935173, 0.017137212678790092, -0.034238945692777634, -0.0196563471108675, -0.02826043590903282, 0.025155868381261826, 0.026468656957149506, 0.006541767623275518, -0.00487417122349143, -0.017465410754084587, 0.05808202549815178, -0.021873896941542625, 0.01884029060602188, -0.000806633208412677, -0.05552740767598152, 0.028668463230133057, 0.03853211924433708, -0.032340724021196365, -0.02460591495037079, -0.031063416972756386, 0.03179077059030533, -0.0039139725267887115, -0.003712175879627466, -0.030726348981261253, 0.009198389947414398, -0.0186096653342247, -0.0011786269024014473, 0.007020757999271154, 0.0722743347287178, 0.021306203678250313, 0.008023089729249477, 0.09253385663032532, 0.04012875258922577, 0.06776827573776245, -0.02923615649342537, -0.057053081691265106, -0.037432216107845306, 0.05723048746585846, -0.004967308137565851, -0.004696767311543226, 0.04069644585251808, -0.050382696092128754, 0.014937405474483967, 0.025386491790413857, 0.01645420864224434, -0.03590654209256172, -0.008963329717516899, -0.027408896014094353, 0.036900002509355545, -0.01599295809864998, 0.06251712143421173, -0.06592327356338501, -0.010892597027122974, -0.04236404225230217, -0.002519134897738695, 0.0078102052211761475, -0.024038223549723625, -0.005237848963588476, 0.024854281917214394, 0.03432764858007431, 0.061310775578022, 0.028863608837127686, -0.01150464080274105, 0.012533582746982574, -0.00562813738361001, -0.019301539286971092, 0.028863608837127686, -0.005756755359470844, -0.004412921145558357, 0.011282885447144508, 0.00005332510772859678, -0.056201543658971786, 0.043499428778886795, 0.034576013684272766, 0.04722490906715393, -0.04598307982087135, -0.04144154116511345, 0.01630341447889805, 0.031116638332605362, 0.011167572811245918, 0.041725389659404755, 0.001548957428894937, -0.07514827698469162, -0.03807086870074272, 0.009083077311515808, -0.01191266905516386, 0.005920853931456804, -0.03031831979751587, 0.022157741710543633, 0.08238635212182999, -0.006328882649540901, 0.02691216580569744, 0.05602413788437843, -0.004905216861516237, -0.03290841728448868, -0.000498948385939002, 0.023506011813879013, -0.027479859068989754, 0.05166000500321388, -0.01413021795451641, -0.005104796029627323, -0.0011531250784173608, 0.002587878843769431, -0.0025013943668454885, -0.007983174175024033, -0.05286635085940361, 0.012666636146605015, -0.019957933574914932, 0.005353161599487066, 0.018396779894828796, -0.07160019874572754, 0.03885144740343094, -0.0012063462054356933, -0.006532897241413593, 0.06663288921117783, -0.0034128068946301937, 0.025013944134116173, 0.02572355978190899, -0.01780247688293457, 0.04332202300429344, -0.04814740642905235, -0.015895385295152664, 0.023647934198379517, 0.04367683082818985, 0.030477983877062798, -0.04069644585251808, -0.02618481032550335, -0.024534953758120537, -0.021572310477495193, 0.024694617837667465, 0.05378885194659233, -0.03179077059030533, 0.06830048561096191, 0.0028939004987478256, 0.05325663834810257, 0.037751540541648865, 0.059678658843040466, -0.014600337482988834, -0.06638452410697937, 0.027586299926042557, -0.03415024280548096, -0.02934259921312332, 0.013855241239070892, 0.041654426604509354, 0.01610827073454857, -0.02332860790193081, -0.0031910520046949387, 0.03507274389266968, -0.03746769577264786, 0.004989483393728733, -0.019124137237668037, 0.044315483421087265, -0.061346255242824554, -0.005362031515687704, 0.03038928098976612, 0.01281742937862873, -0.08586347103118896, -0.026273511350154877, 0.060068946331739426, -0.03973846510052681, -0.04985048621892929, 0.017332356423139572, -0.004439531825482845, 0.00237942929379642, 0.019709568470716476, 0.010138630867004395, -0.07280654460191727, -0.000591530988458544, -0.004931827541440725, 0.053114715963602066, 0.008346851915121078, -0.01247149147093296, 0.028508801013231277, 0.01467129960656166, -0.00809405092149973, -0.051695484668016434, -0.004812079947441816, -0.050027888268232346, 0.005140277091413736, -0.026042886078357697, -0.007397741079330444, 0.029644185677170753, -0.026078367605805397, 0.018485482782125473, -0.03485985845327377, -0.04513154178857803, 0.03501952067017555, 0.0657103881239891, 0.06191394850611687, -0.04988596588373184, -0.0004806536016985774, 0.012063462287187576, -0.026894425973296165, 0.018237117677927017, -0.028083031997084618, -0.03564043715596199, 0.032074619084596634, -0.07089058309793472, 0.008595217019319534, -0.07599981129169464, 0.015726853162050247, -0.009145169518887997, -0.04938923567533493, 0.03354706987738609, 0.014972886070609093, 0.05495971813797951, 0.030176397413015366, 0.007291298825293779, -0.0336889922618866, -0.0020257304422557354, -0.003661172231659293, 0.013961683958768845, -0.011894929222762585, -0.007202596869319677, 0.00789890717715025, -0.008102921769022942, -0.029608704149723053, 0.010573269799351692, -0.04846673458814621, -0.029786108061671257, 0.07039385288953781, 0.029147455468773842, -0.03487759828567505, 0.02116428129374981, 0.018219375982880592, -0.002778588095679879, 0.026007406413555145, 0.02904101274907589, 0.023275386542081833, 0.014804352074861526, -0.0415479838848114, -0.0197273101657629, 0.02746211737394333, -0.0502052940428257, -0.012879520654678345, 0.006581683177500963, -0.007827945053577423, -0.07000356167554855, 0.01235617883503437, 0.012152164243161678, 0.01380202081054449, 0.003395066363736987, -0.03757413849234581, -0.03285519406199455, 0.004989483393728733, -0.060565680265426636, 0.002127737505361438, 0.016046179458498955, -0.014777741394937038, 0.005934159271419048, -0.007100589573383331, -0.023914040997624397, -0.0229383185505867, 0.002315120305866003, 0.02664606086909771, -0.007446527015417814, 0.0317375510931015, 0.04062548279762268, -0.045592792332172394, -0.012320698238909245, 0.02802981063723564, 0.030956974253058434, -0.03885144740343094, 0.074012890458107, 0.046125005930662155, 0.009069772437214851, -0.02066754922270775, -0.0038895797915756702, -0.05364692956209183, -0.031116638332605362, -0.01942572370171547, 0.035853318870067596, -0.016791274771094322, -0.03977394476532936, 0.023151203989982605, -0.06194942817091942, 0.004887476563453674, 0.038603078573942184, -0.048679620027542114, 0.019372502341866493, -0.05070202425122261, 0.026770243421196938, -0.04158346354961395, 0.01606391929090023, -0.06727154552936554, 0.024570435285568237, 0.053540486842393875, 0.03525014594197273, 0.06748443096876144, -0.015265602618455887, 0.025013944134116173, -0.04530894756317139, 0.03760961815714836, 0.015238991938531399, -0.049069907516241074, 0.021306203678250313, -0.06560394912958145, 0.057407889515161514, -0.009437885135412216, 0.0009236088371835649, -0.03058442659676075, 0.00040525695658288896, -0.06524913758039474, -0.011078870855271816, -0.03530336916446686, 0.030956974253058434, -0.02606062777340412, -0.012622284702956676, -0.031116638332605362, -0.014085866510868073, -0.023062502965331078, 0.0569111593067646, 0.04850221425294876, -0.01730574667453766, 0.01104339025914669, 0.05272442847490311, 0.007277993485331535, -0.04860865697264671, -0.008519820868968964, -0.005654748063534498, -0.007215902209281921, 0.020170819014310837, 0.004860865883529186, -0.030761830508708954, -0.0007750331424176693, 0.008839147165417671, -0.06145269796252251, -0.00033623576746322215, -0.02559937722980976, -0.0036057333927601576, 0.014156828634440899, -0.040448080748319626, 0.01564702019095421, -0.04016423597931862, -0.1050940454006195, 0.00830250047147274, 0.03574687987565994, 0.06407827138900757, 0.05712404474616051, -0.04232856258749962, 0.12915001809597015, -0.023843079805374146, 0.06858433037996292, 0.005242283921688795, -0.07954788953065872, 0.04030615836381912, -0.020064376294612885, -0.052617985755205154, 0.021252982318401337, -0.05190837010741234, 0.0023882994428277016, 0.02591870352625847, 0.03251812979578972, 0.040909331291913986, -0.03881596401333809, 0.022494809702038765, 0.06688125431537628, 0.06691673398017883, 0.0011320584453642368, -0.03287293389439583, 0.022956060245633125, 0.015389785170555115, -0.06581683456897736, -0.05016981065273285, -0.03409702330827713, 0.005277764983475208, 0.028331397101283073, 0.02031274139881134, 0.006404279265552759, 0.04850221425294876, 0.050914909690618515, -0.04339298605918884, 0.0917532742023468, -0.014972886070609093, -0.049176350235939026, 0.029058752581477165, -0.008311371318995953, -0.016897717490792274, 0.03583557903766632, 0.007224772125482559, -0.014618078246712685, 0.0741548165678978, -0.003093479899689555, -0.04459933191537857, 0.03251812979578972, 0.053008273243904114, -0.04381875321269035, -0.03849663957953453, -0.005011659115552902, -0.05715952441096306, -0.0018671756843104959, 0.021341685205698013, 0.02034822292625904, 0.009987837634980679, -0.02494298294186592, 0.012710986658930779, 0.02031274139881134, 0.01787343993782997, 0.04243500530719757, -0.01335851103067398, -0.02332860790193081, -0.01907091587781906, 0.06986164301633835, 0.02490750141441822, 0.005681358743458986, -0.03012317605316639, 0.0022995974868535995, 0.045628271996974945, -0.0370064452290535, 0.042612407356500626, 0.03988038748502731, 0.06258808076381683, -0.0295022614300251, 0.07120990753173828, -0.005326550919562578, 0.010041058994829655, 0.037290289998054504, -0.010200722143054008, -0.01357139553874731, 0.03927721455693245, 0.0044994056224823, 0.04275432974100113, -0.002041253261268139, -0.04367683082818985, 0.0010655319783836603, -0.03189721331000328, 0.06897462159395218, 0.0044373138807713985, 0.024889761582016945, 0.006382104009389877, 0.05783366039395332, 0.017855698242783546, -0.027426637709140778, 0.046515293419361115, 0.02923615649342537, 0.09657866507768631, -0.041725389659404755, -0.04197375476360321, 0.011291755363345146, -0.021838415414094925, -0.029360339045524597, -0.009712861850857735, -0.061346255242824554, -0.0014414064353331923, -0.00012626165698748082, 0.07358711957931519, -0.009411274455487728, 0.02011759765446186, -0.016463078558444977, 0.017891179770231247, -0.02799432910978794, -0.02579452097415924, -0.052617985755205154, -0.07926404476165771, -0.010910337790846825, -0.031648848205804825, -0.03757413849234581, 0.01981601119041443, -0.01216103509068489, -0.013331900350749493, 0.03895788639783859, -0.03920625522732735, -0.027018608525395393, -0.03340514749288559, -0.004293173551559448, -0.016791274771094322, -0.05577577278017998, -0.03881596401333809, -0.004018197301775217, -0.043534908443689346, 0.09771404415369034, 0.017891179770231247, -0.030477983877062798, 0.03370673209428787, 0.004661286249756813, -0.020862694829702377, 0.013793149963021278, -0.034079283475875854, -0.006852224003523588, 0.05783366039395332, 0.009260481223464012, -0.020561108365654945, 0.03329870477318764, 0.03487759828567505, 0.0252090897411108, -0.0003295831265859306, -0.02799432910978794, 0.026238031685352325, -0.0037964426446706057, -0.021767454221844673, -0.0028739424888044596, -0.03266005218029022, 0.012169905006885529, 0.05989154428243637, 0.01853870414197445, -0.06876173615455627, 0.0457347147166729, -0.014848703518509865, 0.019833751022815704, 0.0038585339207202196, -0.02602514624595642, 0.06077856197953224, 0.03202139586210251, 0.0028007635846734047, -0.004443966783583164, 0.03574687987565994, -0.026468656957149506, -0.028668463230133057, -0.014485025778412819, 0.03031831979751587, -0.004577019717544317, 0.015975218266248703, 0.0016553997993469238, -0.035196926444768906, 0.02332860790193081, 0.05602413788437843, 0.04967308044433594, 0.04530894756317139, -0.014804352074861526, 0.006288967095315456, 0.04619596526026726, -0.018822548910975456, 0.01806858368217945, 0.020206300541758537, 0.020844953134655952, 0.02989255078136921, -0.0017862351378425956, -0.014485025778412819, 0.001688663032837212, 0.03583557903766632, 0.03312130272388458, 0.021217502653598785, 0.05109231173992157, 0.01915961690247059, -0.04158346354961395, -0.004776598885655403, 0.00024531627423129976, 0.060565680265426636, 0.02533327229321003, -0.05194384977221489, 0.02352375164628029, -0.005663618445396423, 0.05272442847490311, 0.033156782388687134, -0.035196926444768906, 0.007495312951505184, -0.0262912530452013, 0.007969868369400501, 0.05733692646026611, 0.033387407660484314, 0.010511178523302078, 0.005801106337457895, -0.02760404162108898, -0.0028828128706663847, 0.016924329102039337, 0.005623702425509691, 0.037822503596544266, 0.010218462906777859 ]
720,028
ibm_platform_services.usage_reports_v4
get_resource_group_usage
Get resource group usage. Usage for all the resources and plans in a resource group in a given month. Account billing managers or resource group billing managers are authorized to access this report. :param str account_id: Account ID for which the usage report is requested. :param str resource_group_id: Resource group for which the usage report is requested. :param str billingmonth: The billing month for which the usage report is requested. Format is yyyy-mm. :param bool names: (optional) Include the name of every resource, plan, resource instance, organization, and resource group. :param str accept_language: (optional) Prioritize the names returned in the order of the specified languages. Language will default to English. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse with `dict` result representing a `ResourceGroupUsage` object
def get_resource_group_usage( self, account_id: str, resource_group_id: str, billingmonth: str, *, names: Optional[bool] = None, accept_language: Optional[str] = None, **kwargs, ) -> DetailedResponse: """ Get resource group usage. Usage for all the resources and plans in a resource group in a given month. Account billing managers or resource group billing managers are authorized to access this report. :param str account_id: Account ID for which the usage report is requested. :param str resource_group_id: Resource group for which the usage report is requested. :param str billingmonth: The billing month for which the usage report is requested. Format is yyyy-mm. :param bool names: (optional) Include the name of every resource, plan, resource instance, organization, and resource group. :param str accept_language: (optional) Prioritize the names returned in the order of the specified languages. Language will default to English. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse with `dict` result representing a `ResourceGroupUsage` object """ if not account_id: raise ValueError('account_id must be provided') if not resource_group_id: raise ValueError('resource_group_id must be provided') if not billingmonth: raise ValueError('billingmonth must be provided') headers = { 'Accept-Language': accept_language, } sdk_headers = get_sdk_headers( service_name=self.DEFAULT_SERVICE_NAME, service_version='V4', operation_id='get_resource_group_usage', ) headers.update(sdk_headers) params = { '_names': names, } if 'headers' in kwargs: headers.update(kwargs.get('headers')) del kwargs['headers'] headers['Accept'] = 'application/json' path_param_keys = ['account_id', 'resource_group_id', 'billingmonth'] path_param_values = self.encode_path_vars(account_id, resource_group_id, billingmonth) path_param_dict = dict(zip(path_param_keys, path_param_values)) url = '/v4/accounts/{account_id}/resource_groups/{resource_group_id}/usage/{billingmonth}'.format( **path_param_dict ) request = self.prepare_request( method='GET', url=url, headers=headers, params=params, ) response = self.send(request, **kwargs) return response
(self, account_id: str, resource_group_id: str, billingmonth: str, *, names: Optional[bool] = None, accept_language: Optional[str] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
[ -0.012629983015358448, -0.02122434973716736, -0.029762666672468185, -0.02585783414542675, -0.03235965967178345, 0.0005896950024180114, 0.013863087631762028, -0.0022350025828927755, -0.04958575963973999, -0.03422800078988075, 0.01743161864578724, 0.002061013365164399, 0.04726902022957802, -0.028492195531725883, -0.02770749293267727, 0.01662823185324669, 0.006828784942626953, -0.03527427092194557, 0.019169175997376442, -0.022662973031401634, -0.005109911784529686, -0.0029800033662468195, -0.03176179155707359, 0.054107144474983215, 0.023783976212143898, 0.05212670564651489, 0.08773727715015411, -0.02595125138759613, -0.0012296016793698072, 0.04371917247772217, -0.004255145788192749, 0.028641661629080772, -0.019767044112086296, 0.06150577589869499, -0.06606452912092209, -0.00802452303469181, 0.02761407569050789, -0.013872429728507996, -0.10051672905683517, 0.016460081562399864, 0.025222599506378174, 0.0059973737224936485, 0.051267266273498535, -0.056947022676467896, -0.0005710116238333285, -0.001098233973607421, 0.018169613555073738, -0.0011776384199038148, -0.030080284923315048, -0.0414024293422699, 0.06755919754505157, -0.009593929164111614, -0.048987891525030136, 0.030678153038024902, 0.0007706905016675591, -0.007753613870590925, -0.022083787247538567, 0.030248435214161873, 0.031425490975379944, -0.01416202262043953, -0.027670124545693398, 0.035236906260252, 0.00602539861574769, -0.04285973310470581, -0.06711079925298691, -0.009752738289535046, -0.04730638489127159, -0.021467234939336777, -0.03505007177591324, 0.008085244335234165, -0.0243818461894989, 0.07611619681119919, 0.02225193753838539, -0.02073858119547367, 0.01084571797400713, -0.04001985862851143, -0.007501387968659401, 0.00536213768646121, -0.02727777324616909, -0.019262591376900673, 0.01937469281256199, 0.015423152595758438, 0.04151453077793121, -0.03618975728750229, 0.028286676853895187, -0.02292454056441784, 0.004554080311208963, -0.06755919754505157, -0.021280400454998016, -0.019243909046053886, -0.03413458541035652, -0.02172880247235298, -0.016273247078061104, 0.07847030460834503, 0.006856810301542282, -0.07906817644834518, -0.04711955040693283, 0.01323719322681427, -0.06277624517679214, 0.025895200669765472, -0.0310144554823637, -0.11322144418954849, -0.03527427092194557, 0.022326670587062836, 0.04749321937561035, -0.02376529388129711, -0.010574808344244957, -0.0031878561712801456, 0.0051192534156143665, -0.000892716518137604, -0.009178223088383675, -0.011424902826547623, 0.0154418358579278, -0.019710993394255638, 0.01631995476782322, 0.036638159304857254, -0.0393846221268177, -0.07450942695140839, -0.016273247078061104, -0.022009052336215973, -0.007552767172455788, -0.029015330597758293, 0.061356306076049805, 0.00782367680221796, 0.006698001176118851, 0.033555399626493454, -0.012863525189459324, 0.039571456611156464, 0.05735806003212929, 0.02314874157309532, 0.047904253005981445, -0.00702029000967741, 0.0008611882803961635, 0.0038230919744819403, 0.012274998240172863, -0.0016231209738180041, 0.04304656758904457, 0.05575128644704819, -0.019972560927271843, 0.04192556440830231, 0.05634915456175804, 0.029370315372943878, -0.03178047388792038, -0.00011574954260140657, 0.015376443974673748, -0.012751424685120583, 0.08826041221618652, -0.014143338426947594, -0.06991330534219742, -0.03125733882188797, 0.010444024577736855, -0.053210340440273285, 0.027146989479660988, -0.027819592505693436, -0.013891112990677357, 0.009290323592722416, 0.033275146037340164, 0.007496716920286417, 0.0012377756647765636, -0.0023611155338585377, 0.014320830814540386, 0.014255438931286335, -0.01629193127155304, -0.001474821357987821, 0.009911547414958477, 0.005763831082731485, 0.008351482450962067, -0.011163335293531418, -0.06613925844430923, -0.03144417330622673, -0.0255215335637331, 0.030771570280194283, -0.026792004704475403, 0.016917824745178223, -0.05952533334493637, 0.0360402911901474, 0.03351803123950958, -0.026082035154104233, 0.018188295885920525, 0.005516275763511658, 0.004610130563378334, -0.05575128644704819, -0.005506934132426977, -0.004782951902598143, -0.028492195531725883, -0.01456371508538723, 0.021579334512352943, 0.02471814677119255, 0.001556561328470707, -0.004182747565209866, 0.05115516856312752, 0.04887579008936882, 0.048277921974658966, 0.009458474814891815, -0.04110349342226982, -0.0931181013584137, -0.013171801343560219, 0.008136623539030552, -0.0021894616074860096, 0.0005473654018715024, -0.018580647185444832, 0.04439177364110947, 0.010023647919297218, 0.045774344354867935, 0.030603419989347458, 0.024138960987329483, -0.0012506205821409822, 0.014171363785862923, -0.0707353800535202, 0.04151453077793121, -0.015815503895282745, -0.02804379351437092, -0.02243877202272415, 0.0539950467646122, -0.04110349342226982, 0.07174427807331085, 0.04405547305941582, 0.028492195531725883, -0.003570866072550416, -0.02823062799870968, 0.017347542569041252, -0.03802073374390602, 0.04741848632693291, -0.016964532434940338, -0.041888196021318436, -0.04054299369454384, 0.05328507721424103, 0.043681804090738297, -0.08646680414676666, -0.04162662848830223, 0.03740417957305908, -0.023746609687805176, 0.07585462927818298, 0.058366961777210236, -0.0866910070180893, -0.030696837231516838, 0.03221019357442856, -0.007221136707812548, 0.04121559485793114, 0.003194862511008978, 0.013293243944644928, 0.013349293731153011, 0.04659641534090042, 0.035629257559776306, -0.06004846841096878, -0.005670413840562105, -0.05451818183064461, 0.03447088599205017, 0.03318173065781593, -0.06905387341976166, -0.056760188192129135, -0.002589987125247717, -0.015217634849250317, -0.013274560682475567, -0.05795592814683914, -0.057470157742500305, -0.0242510624229908, -0.07170691341161728, 0.04936156049370766, -0.01020114030689001, 0.018216321244835854, -0.022233253344893456, -0.04061772674322128, 0.01836578920483589, 0.03945935517549515, 0.0200286116451025, 0.031145239248871803, -0.0019208877347409725, 0.0052874041721224785, -0.0031925272196531296, 0.04966049641370773, 0.03953408822417259, -0.02613808587193489, -0.029183480888605118, -0.04551277682185173, -0.007856372743844986, 0.052537739276885986, -0.048614222556352615, -0.03316304832696915, -0.025166548788547516, 0.003781054401770234, -0.04371917247772217, -0.002592322649434209, 0.03519953787326813, 0.01836578920483589, 0.06468195468187332, 0.011331486515700817, 0.03643264248967171, -0.0423365980386734, 0.03749759867787361, 0.016656257212162018, -0.02955714985728264, -0.06669975817203522, -0.00919690728187561, -0.06520508974790573, 0.0014187712222337723, -0.01756240241229534, -0.028679030016064644, 0.0008179828873835504, 0.06184207648038864, -0.09618217498064041, -0.006842797622084618, 0.06442038714885712, 0.012480515986680984, -0.023316891863942146, -0.02703488990664482, 0.09416437149047852, -0.04285973310470581, 0.030939720571041107, 0.009836813434958458, 0.005534959025681019, -0.017618453130126, 0.03934725373983383, -0.05612495169043541, -0.020850682631134987, 0.012060139328241348, -0.0005642972537316382, 0.021672751754522324, 0.04229923337697983, 0.024213694036006927, -0.011602395214140415, -0.0416639968752861, 0.03334987908601761, -0.023522408679127693, 0.037534963339567184, 0.015339076519012451, -0.030155017971992493, 0.04835265502333641, 0.06834390014410019, 0.0026460373774170876, -0.00469887675717473, -0.038712017238140106, -0.024512629956007004, 0.01922522485256195, -0.036208443343639374, -0.06815706938505173, -0.016637573018670082, -0.08377639204263687, -0.008379507809877396, 0.05504131689667702, -0.0011776384199038148, 0.014974750578403473, -0.04338287189602852, 0.03813283145427704, -0.006244928576052189, -0.003717997809872031, 0.06920333951711655, -0.02727777324616909, -0.0031294706277549267, 0.011891988106071949, -0.061356306076049805, 0.03437746688723564, 0.03334987908601761, 0.060496870428323746, 0.028809813782572746, -0.0028352069202810526, -0.0001796818251023069, 0.052500370889902115, -0.003615239169448614, 0.020327545702457428, -0.03334987908601761, 0.006959569174796343, -0.016843091696500778, -0.013022334314882755, 0.03316304832696915, -0.07469625771045685, -0.02746460773050785, 0.004675522446632385, 0.03243439272046089, -0.02296190708875656, -0.01473186630755663, 0.0025245952419936657, 0.02202773652970791, 0.05556445196270943, -0.017599768936634064, 0.026792004704475403, 0.0031691729091107845, -0.0012774779461324215, -0.04001985862851143, -0.007538754492998123, 0.01631995476782322, 0.004752591717988253, -0.019729677587747574, 0.03045395202934742, -0.003734345780685544, -0.02320479042828083, -0.011630420573055744, -0.0180201455950737, -0.06950227171182632, -0.027259090915322304, 0.03820756822824478, -0.009262299165129662, -0.008617721498012543, 0.0038768069352954626, -0.05063203349709511, -0.027782225981354713, 0.008519633673131466, 0.003696979023516178, -0.022532189264893532, -0.0045190490782260895, -0.011041893623769283, 0.033742234110832214, -0.05507868155837059, 0.005894614849239588, 0.01814158819615841, 0.0023587800096720457, 0.087886743247509, -0.05044519901275635, -0.025390749797225, 0.026866739615797997, 0.0076461839489638805, -0.009556562639772892, -0.0487636923789978, -0.03206072747707367, -0.03798336535692215, 0.0503704659640789, -0.025913884863257408, 0.03897358477115631, 0.02344767563045025, -0.01280747540295124, 0.04237396642565727, -0.013872429728507996, 0.005151949357241392, -0.01740359328687191, 0.023372942581772804, -0.07794716954231262, 0.010490733198821545, -0.023559775203466415, 0.02869771234691143, -0.015722086653113365, 0.04558751359581947, 0.02623150311410427, -0.05735806003212929, -0.015666035935282707, -0.01913180761039257, -0.004834331572055817, 0.013321269303560257, 0.01283550076186657, 0.030248435214161873, 0.001597431255504489, -0.00705765699967742, -0.008879289031028748, 0.023615825921297073, -0.0016021020710468292, -0.07480835914611816, -0.0066092549823224545, -0.023335574194788933, -0.0471569187939167, -0.01910378411412239, -0.06277624517679214, 0.05302350968122482, 0.03998249024152756, 0.0010287550976499915, -0.018225662410259247, -0.019524160772562027, -0.053957678377628326, 0.03792731463909149, -0.04222450032830238, 0.0034587655682116747, -0.011976063251495361, 0.022569555789232254, 0.010873742401599884, 0.003970223944634199, 0.012433807365596294, 0.005343454424291849, 0.03495665267109871, 0.019262591376900673, -0.0008973873918876052, 0.014722524210810661, -0.004381258971989155, -0.03673157840967178, 0.01631995476782322, -0.06124420836567879, 0.08003971725702286, -0.018533939495682716, 0.005142607726156712, -0.020234128460288048, 0.05832959711551666, -0.04730638489127159, 0.0313507579267025, 0.05025836452841759, 0.03452693670988083, 0.07458415627479553, -0.014619765803217888, 0.004694205708801746, -0.04069245979189873, 0.030042918398976326, 0.0121255312114954, -0.07477099448442459, -0.01743161864578724, -0.014787916094064713, -0.02869771234691143, -0.006212232634425163, -0.013536128215491772, -0.07122114300727844, -0.004631149582564831, 0.00802452303469181, 0.0321541428565979, 0.00039935781387612224, 0.01650678925216198, 0.015666035935282707, -0.028548244386911392, -0.00034739458351396024, -0.042971834540367126, 0.025596266612410545, -0.0031434830743819475, 0.03600292280316353, -0.03859991952776909, 0.004899723455309868, -0.01127543579787016, -0.06823179870843887, 0.02320479042828083, -0.0024358490481972694, 0.04043089225888252, -0.008127281442284584, 0.06232784315943718, -0.031219972297549248, 0.015591302886605263, -0.00000509049868924194, -0.0016908482648432255, 0.011238069273531437, 0.09065189212560654, 0.0067960890009999275, 0.042411334812641144, 0.01266734953969717, 0.007660196628421545, -0.04502701014280319, -0.019449425861239433, -0.009771421551704407, -0.0135641535744071, 0.005941323470324278, 0.014077946543693542, -0.0397956557571888, -0.033798281103372574, 0.01200408861041069, -0.014918699860572815, -0.05862852931022644, -0.009168881922960281, -0.06516772508621216, 0.04730638489127159, 0.01285418402403593, -0.014432931318879128, -0.02012202888727188, -0.06509298831224442, -0.04835265502333641, 0.01219092309474945, 0.0727531835436821, -0.018524598330259323, 0.09401490539312363, -0.022700339555740356, 0.0610947385430336, -0.05261247232556343, 0.024699464440345764, 0.08676574379205704, 0.03437746688723564, 0.03837571665644646, -0.01203211396932602, 0.0002658006560523063, -0.010518757626414299, -0.05455554649233818, -0.006095461547374725, 0.060496870428323746, 0.016179829835891724, 0.017973437905311584, -0.05212670564651489, 0.03822625055909157, 0.022457454353570938, 0.029575832188129425, 0.0036666186060756445, -0.007917093113064766, -0.02533469907939434, -0.027763541787862778, -0.03288279473781586, -0.010490733198821545, -0.033985115587711334, -0.0010556124616414309, 0.023335574194788933, 0.018935631960630417, 0.056423887610435486, 0.04390600696206093, -0.0017048608278855681, -0.005193986929953098, 0.050930965691804886, -0.033312514424324036, -0.010827033780515194, 0.07929237931966782, 0.02542811632156372, -0.026605170220136642, 0.0759667307138443, 0.024512629956007004, -0.02101883292198181, -0.035031385719776154, 0.01965494453907013, -0.024325795471668243, 0.007038973271846771, 0.06804496794939041, -0.07346315681934357, -0.042411334812641144, 0.014246097765862942, 0.003010363783687353, 0.0082066860049963, 0.05489184707403183, 0.026978839188814163, 0.03551715612411499, 0.02533469907939434, 0.05507868155837059, -0.04353233799338341, -0.02314874157309532, -0.02789432555437088, 0.016273247078061104, -0.06001110374927521, -0.046148013323545456, 0.025390749797225, 0.029575832188129425, 0.03310699760913849, -0.03316304832696915, -0.01337731909006834, 0.009266969747841358, 0.02968793362379074, -0.006497154477983713, 0.008799884468317032, 0.10103986412286758, 0.0012833165237680078, 0.07899343967437744, 0.007291199639439583, 0.0494362935423851, 0.02040228061378002, -0.01063085813075304, -0.009374399669468403, 0.006081448867917061, -0.04723165184259415, 0.005081886425614357, -0.002788498532027006, -0.010145089589059353, 0.02296190708875656, -0.0215046014636755, 0.04087929427623749, 0.0414024293422699, 0.018580647185444832, -0.031276021152734756, -0.012863525189459324, 0.02051438018679619, 0.01200408861041069, 0.04592381417751312, -0.023952126502990723, 0.07450942695140839, -0.0718190148472786, -0.03306962922215462, 0.06871756911277771, -0.024269744753837585, -0.051977235823869705, 0.04413020610809326, -0.016730990260839462, -0.06875493377447128, -0.004549409728497267, 0.08160912245512009, -0.0581427626311779, 0.02126171626150608, -0.0369744598865509, -0.010257190093398094, -0.05066939815878868, -0.008603708818554878, 0.03110787272453308, -0.06767129898071289, -0.020420962944626808, -0.01219092309474945, -0.023933444172143936, -0.03916041925549507, -0.02320479042828083, 0.016889799386262894, -0.02400817722082138, 0.03465772047638893, 0.08026391267776489, 0.020869364961981773, -0.06128157302737236, 0.06453248858451843, 0.004941761028021574, -0.04521384462714195, -0.03045395202934742, 0.011135309934616089, 0.0698012039065361, -0.009299665689468384, -0.027856959030032158, 0.027333823963999748, -0.012181580998003483, 0.030939720571041107, -0.06875493377447128, -0.015339076519012451, -0.016179829835891724, -0.025913884863257408, 0.04797898977994919, -0.008589696139097214, 0.008374837227165699, -0.016123779118061066, 0.010640200227499008, 0.058703262358903885, -0.035872139036655426, 0.04267290234565735, 0.001351043814793229, 0.0282679945230484, -0.03848781809210777, -0.04857685789465904, 0.04289710149168968, 0.0471569187939167, -0.03968355432152748, 0.057096488773822784, -0.00913151539862156, -0.03960882127285004, -0.022700339555740356, -0.010901767760515213, 0.022625604644417763, 0.05160357058048248, -0.02709093876183033, -0.033312514424324036, 0.005651730578392744, -0.014507665298879147, -0.027315139770507812, 0.006375712342560291, 0.009421107359230518, 0.008351482450962067, -0.00711370725184679, 0.015339076519012451, -0.028641661629080772, 0.009631295688450336, -0.025465482845902443, 0.00788439717143774, 0.00854765810072422, 0.041178226470947266, 0.014946725219488144, -0.01219092309474945, 0.04405547305941582, 0.06161787360906601, -0.026268869638442993, -0.046148013323545456, 0.047829519957304, -0.004843673203140497, 0.005380820948630571, -0.01157437078654766, 0.0594879649579525, 0.06449511647224426, 0.03159363940358162, 0.06094527244567871, -0.02017807960510254, -0.06711079925298691, -0.01550722774118185, 0.022887172177433968, -0.011807912960648537, 0.020346229895949364, 0.012704716064035892, -0.03990775719285011, 0.01697387546300888, -0.025166548788547516, 0.05418187752366066, 0.06655029207468033, 0.056610722094774246, -0.04200029745697975, -0.015348418615758419, 0.01783331111073494, 0.036675527691841125, -0.024568678811192513, -0.03916041925549507, 0.018001461401581764, 0.013545469380915165, -0.02040228061378002, -0.01200408861041069, 0.03919778764247894, -0.005222012288868427, -0.010341265238821507 ]
720,029
ibm_platform_services.usage_reports_v4
get_resource_usage_account
Get resource instance usage in an account. Query for resource instance usage in an account. Filter the results with query parameters. Account billing administrator is authorized to access this report. :param str account_id: Account ID for which the usage report is requested. :param str billingmonth: The billing month for which the usage report is requested. Format is yyyy-mm. :param bool names: (optional) Include the name of every resource, plan, resource instance, organization, and resource group. :param bool tags: (optional) Include the tags associated with every resource instance. By default it is always `true`. :param str accept_language: (optional) Prioritize the names returned in the order of the specified languages. Language will default to English. :param int limit: (optional) Number of usage records returned. The default value is 30. Maximum value is 200. :param str start: (optional) The offset from which the records must be fetched. Offset information is included in the response. :param str resource_group_id: (optional) Filter by resource group. :param str organization_id: (optional) Filter by organization_id. :param str resource_instance_id: (optional) Filter by resource instance_id. :param str resource_id: (optional) Filter by resource_id. :param str plan_id: (optional) Filter by plan_id. :param str region: (optional) Region in which the resource instance is provisioned. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse with `dict` result representing a `InstancesUsage` object
def get_resource_usage_account( self, account_id: str, billingmonth: str, *, names: Optional[bool] = None, tags: Optional[bool] = None, accept_language: Optional[str] = None, limit: Optional[int] = None, start: Optional[str] = None, resource_group_id: Optional[str] = None, organization_id: Optional[str] = None, resource_instance_id: Optional[str] = None, resource_id: Optional[str] = None, plan_id: Optional[str] = None, region: Optional[str] = None, **kwargs, ) -> DetailedResponse: """ Get resource instance usage in an account. Query for resource instance usage in an account. Filter the results with query parameters. Account billing administrator is authorized to access this report. :param str account_id: Account ID for which the usage report is requested. :param str billingmonth: The billing month for which the usage report is requested. Format is yyyy-mm. :param bool names: (optional) Include the name of every resource, plan, resource instance, organization, and resource group. :param bool tags: (optional) Include the tags associated with every resource instance. By default it is always `true`. :param str accept_language: (optional) Prioritize the names returned in the order of the specified languages. Language will default to English. :param int limit: (optional) Number of usage records returned. The default value is 30. Maximum value is 200. :param str start: (optional) The offset from which the records must be fetched. Offset information is included in the response. :param str resource_group_id: (optional) Filter by resource group. :param str organization_id: (optional) Filter by organization_id. :param str resource_instance_id: (optional) Filter by resource instance_id. :param str resource_id: (optional) Filter by resource_id. :param str plan_id: (optional) Filter by plan_id. :param str region: (optional) Region in which the resource instance is provisioned. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse with `dict` result representing a `InstancesUsage` object """ if not account_id: raise ValueError('account_id must be provided') if not billingmonth: raise ValueError('billingmonth must be provided') headers = { 'Accept-Language': accept_language, } sdk_headers = get_sdk_headers( service_name=self.DEFAULT_SERVICE_NAME, service_version='V4', operation_id='get_resource_usage_account', ) headers.update(sdk_headers) params = { '_names': names, '_tags': tags, '_limit': limit, '_start': start, 'resource_group_id': resource_group_id, 'organization_id': organization_id, 'resource_instance_id': resource_instance_id, 'resource_id': resource_id, 'plan_id': plan_id, 'region': region, } if 'headers' in kwargs: headers.update(kwargs.get('headers')) del kwargs['headers'] headers['Accept'] = 'application/json' path_param_keys = ['account_id', 'billingmonth'] path_param_values = self.encode_path_vars(account_id, billingmonth) path_param_dict = dict(zip(path_param_keys, path_param_values)) url = '/v4/accounts/{account_id}/resource_instances/usage/{billingmonth}'.format(**path_param_dict) request = self.prepare_request( method='GET', url=url, headers=headers, params=params, ) response = self.send(request, **kwargs) return response
(self, account_id: str, billingmonth: str, *, names: Optional[bool] = None, tags: Optional[bool] = None, accept_language: Optional[str] = None, limit: Optional[int] = None, start: Optional[str] = None, resource_group_id: Optional[str] = None, organization_id: Optional[str] = None, resource_instance_id: Optional[str] = None, resource_id: Optional[str] = None, plan_id: Optional[str] = None, region: Optional[str] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
[ 0.022499296814203262, -0.048260435461997986, -0.013501430861651897, -0.028244586661458015, -0.031228430569171906, 0.022202765569090843, 0.015716148540377617, -0.05748996511101723, -0.06134486943483353, -0.046629514545202255, 0.004390050191432238, 0.007677375338971615, 0.031821493059396744, -0.027670057490468025, -0.010554653592407703, 0.02463061362504959, 0.015984879806637764, -0.012139241211116314, 0.006718282587826252, 0.014770954847335815, -0.004948362708091736, 0.030246172100305557, -0.04637004807591438, 0.05852782353758812, 0.04214448109269142, 0.055673711001873016, 0.07754287868738174, -0.009150763973593712, 0.021127840504050255, 0.03736291825771332, 0.01971931755542755, 0.0442943312227726, -0.00919246394187212, 0.05118868127465248, -0.05730463191866875, -0.014696822501718998, 0.04477619379758835, 0.03137669712305069, -0.10941997170448303, 0.06809095293283463, 0.0032965918071568012, 0.004244101233780384, 0.0654592365026474, -0.027892455458641052, 0.0012498322175815701, -0.015215751715004444, 0.052411869168281555, -0.04955776035785675, -0.030246172100305557, -0.05070681869983673, 0.07565249502658844, 0.02173943631350994, -0.05011375620961189, 0.023222090676426888, 0.013390231877565384, 0.003097360022366047, -0.043664202094078064, 0.06208619847893715, 0.011740777641534805, -0.01232457347214222, -0.05059561878442764, 0.009952324442565441, 0.02540900744497776, -0.044813260436058044, -0.048371635377407074, 0.011092116124927998, -0.030431503430008888, -0.02261049672961235, -0.038178376853466034, 0.004450283013284206, 0.02657659910619259, 0.05407985672354698, 0.022258365526795387, -0.022202765569090843, 0.0066117169335484505, -0.03936450183391571, 0.014937753789126873, 0.006695115938782692, -0.08021166175603867, -0.028077788650989532, 0.018069863319396973, 0.03656598925590515, 0.009433395229279995, -0.049335360527038574, 0.033452413976192474, 0.003468023845925927, -0.02288849465548992, -0.07732047885656357, -0.0567857027053833, 0.002028226386755705, -0.03973516821861267, -0.04014289751648903, -0.028355786576867104, 0.07850660383701324, 0.02657659910619259, -0.05033615231513977, -0.034212276339530945, -0.04774150624871254, -0.07435517013072968, 0.021517038345336914, -0.025353409349918365, -0.11245941370725632, -0.021442905068397522, 0.0279109887778759, 0.037677980959415436, -0.03519453480839729, -0.043738335371017456, -0.02540900744497776, 0.027169661596417427, 0.01251917239278555, -0.01684667356312275, 0.0385119765996933, -0.0011739619076251984, -0.02657659910619259, 0.01294543594121933, 0.029375111684203148, -0.0279109887778759, -0.0308021679520607, -0.05033615231513977, -0.03169175982475281, 0.018533192574977875, -0.03241455554962158, 0.049224160611629486, 0.009299029596149921, 0.01740266941487789, -0.007195512298494577, 0.0032224589958786964, 0.014391024596989155, -0.0021475336980074644, 0.01981198415160179, 0.0019737849943339825, -0.03582466393709183, -0.016568675637245178, 0.0006446076440624893, 0.024371149018406868, 0.006046454422175884, 0.06423604488372803, 0.04418313130736351, -0.055377181619405746, 0.07187172025442123, 0.052930798381567, 0.09036785364151001, -0.032562822103500366, -0.029189780354499817, -0.02116490714251995, -0.02031238004565239, 0.05181880667805672, 0.02281436137855053, -0.043553005903959274, -0.03091336600482464, 0.01232457347214222, -0.04870523139834404, 0.0264653991907835, 0.010258122347295284, -0.02589087188243866, -0.020571844652295113, 0.035083334892988205, 0.005235627293586731, -0.0003414161619730294, -0.01597561314702034, -0.012157774530351162, 0.026502465829253197, -0.005921355448663235, -0.016448209062218666, -0.011064316146075726, 0.008631834760308266, -0.037603847682476044, -0.008580868132412434, -0.037399984896183014, -0.030820701271295547, -0.010304455645382404, -0.008970065973699093, -0.022388096898794174, 0.010832651518285275, -0.07235358655452728, 0.04996548965573311, 0.05445052310824394, -0.046444181352853775, 0.02368542179465294, 0.016522342339158058, 0.00527269346639514, -0.06456964462995529, -0.0062086195684969425, -0.01187977660447359, -0.03771504759788513, -0.03869730606675148, 0.03858610987663269, 0.025946469977498055, 0.027262328192591667, -0.01467828918248415, 0.09400035440921783, 0.06301286071538925, 0.044813260436058044, -0.004352983552962542, -0.06412485241889954, -0.08006339520215988, -0.0038386876694858074, -0.012398706749081612, -0.0034888735972344875, 0.0017293785931542516, -0.03675132244825363, 0.04896469786763191, 0.0025135644245892763, 0.01149984635412693, 0.041143689304590225, 0.0548582524061203, 0.011870509944856167, -0.013909162022173405, -0.02818898670375347, 0.030283238738775253, -0.020349446684122086, -0.0423298142850399, -0.024037551134824753, 0.06186379864811897, -0.042515143752098083, 0.0606406070291996, 0.035472530871629715, 0.00011887306027347222, 0.015530816279351711, -0.02511247619986534, 0.029282445088028908, -0.06816508620977402, -0.005407059099525213, -0.056155577301979065, -0.027354992926120758, -0.015076752752065659, 0.03178442642092705, 0.05863902345299721, -0.07687568664550781, -0.0626051276922226, 0.02954190969467163, -0.0037854048423469067, 0.06557043641805649, 0.049817223101854324, -0.07643088698387146, -0.003273425158113241, 0.022480763494968414, -0.013343899510800838, 0.049520693719387054, -0.005745289847254753, 0.012880569323897362, 0.01664280705153942, 0.03458293899893761, 0.00352594000287354, -0.0799151286482811, 0.0011838077334687114, -0.04214448109269142, 0.0442943312227726, -0.009702126495540142, -0.11082849651575089, -0.033934276551008224, 0.001061025308445096, 0.006546850316226482, -0.01149984635412693, -0.06182673200964928, -0.05152227729558945, -0.009905992075800896, -0.049409493803977966, 0.06275339424610138, -0.0031390595249831676, -0.006157653406262398, -0.04585111886262894, -0.019422786310315132, -0.015123086050152779, 0.031710293143987656, 0.02463061362504959, 0.00175717833917588, 0.03626945987343788, 0.01833859458565712, 0.013260499574244022, 0.0017525451257824898, 0.03560226410627365, -0.015419617295265198, -0.0021510086953639984, -0.03486093506217003, 0.010035724379122257, 0.05975101515650749, -0.04829750210046768, -0.03510186821222305, -0.024185817688703537, -0.016837406903505325, -0.05800889432430267, 0.038178376853466034, 0.02414875105023384, 0.035954393446445465, -0.02917124703526497, 0.047593239694833755, 0.04725964367389679, -0.007992439903318882, 0.03929036855697632, 0.015604948624968529, -0.026391267776489258, -0.04733377695083618, -0.03434200584888458, -0.03799304738640785, 0.024760346859693527, -0.03780771419405937, -0.045295123010873795, -0.013084434904158115, 0.05541424825787544, -0.07391037791967392, -0.01184271089732647, 0.04370126873254776, 0.014131559990346432, -0.016059011220932007, 0.0068480148911476135, 0.10163602977991104, -0.020367980003356934, 0.030431503430008888, 0.032192155718803406, -0.0015637382166460156, 0.009804058820009232, 0.03810424730181694, -0.022499296814203262, -0.04677778109908104, -0.014020361006259918, 0.0006336035439744592, 0.0500766895711422, 0.03387867659330368, 0.03523160144686699, -0.026780463755130768, 0.020849842578172684, 0.0068341149017214775, -0.011527646332979202, 0.03840077668428421, 0.0385119765996933, -0.04032822698354721, 0.056822769343853, 0.05126281455159187, 0.0098689254373312, -0.04944656044244766, -0.021331705152988434, -0.036528922617435455, 0.02590940333902836, -0.06590403616428375, -0.05244893580675125, -0.006750715430825949, -0.0693512111902237, -0.009776259772479534, 0.056452106684446335, 0.004624031949788332, 0.017393402755260468, -0.03350801393389702, 0.014455891214311123, 0.006296652369201183, -0.01895945705473423, 0.06523684412240982, -0.02299969270825386, -0.01463195588439703, 0.007417910732328892, -0.06616350263357162, 0.045665789395570755, 0.04733377695083618, 0.08399242907762527, 0.019886115565896034, -0.033137351274490356, -0.010665852576494217, 0.03443467244505882, -0.02520514279603958, 0.03491653501987457, -0.058379560708999634, -0.000981100951321423, -0.04611058533191681, -0.017986463382840157, 0.05126281455159187, -0.058750223368406296, -0.017523134127259254, -0.03714051842689514, 0.04792683944106102, -0.03387867659330368, -0.04255221039056778, -0.01765286736190319, -0.014418824575841427, 0.02705846168100834, 0.0047213309444487095, 0.02511247619986534, -0.019978782162070274, 0.019867584109306335, -0.0683133527636528, 0.013269766233861446, 0.012593304738402367, -0.0018927024211734533, -0.02270316146314144, 0.01794939860701561, -0.003794671269133687, -0.01338096521794796, -0.031209897249937057, -0.03625092655420303, -0.028059255331754684, -0.015493749640882015, 0.009683593176305294, 0.006000121124088764, -0.028151920065283775, -0.014715355820953846, -0.03404547646641731, -0.0033406082075089216, -0.01077705156058073, -0.014289092272520065, -0.008395536802709103, -0.010665852576494217, -0.018783390522003174, 0.02272169478237629, -0.0010789793450385332, 0.02590940333902836, -0.002016643062233925, -0.009349996224045753, 0.07242771983146667, -0.05411692336201668, -0.011203315109014511, 0.017847465351223946, -0.01934865303337574, -0.04266341030597687, -0.04785270616412163, -0.02301822602748871, -0.04188501834869385, 0.04533218964934349, -0.011333047412335873, 0.013482898473739624, 0.009424128569662571, -0.02136877179145813, 0.04347887262701988, -0.021887701004743576, 0.004605498630553484, -0.029504843056201935, 0.006963847205042839, -0.04851990193128586, 0.0002252941339975223, -0.03597292676568031, 0.041329022496938705, -0.011722244322299957, 0.02136877179145813, 0.05218947306275368, -0.04025409743189812, -0.016930071637034416, 0.009776259772479534, 0.004464183002710342, 0.017940131947398186, 0.0007314819958992302, 0.021906234323978424, 0.006528317462652922, -0.009692859835922718, 0.0068202149122953415, 0.03156202659010887, -0.013056634925305843, -0.059157952666282654, 0.01400182768702507, -0.04310820624232292, -0.06519977748394012, -0.005212460644543171, -0.06664536148309708, 0.050299085676670074, 0.014446624554693699, 0.0034170574508607388, -0.03308175131678581, -0.012000242248177528, -0.0769498199224472, 0.027392059564590454, -0.049706023186445236, 0.0016459792386740446, 0.0007401694310829043, 0.016012679785490036, 0.02051624469459057, -0.006519050803035498, 0.005527524743229151, 0.013668229803442955, 0.020460644736886024, 0.033637747168540955, 0.015706881880760193, 0.02570553869009018, 0.007853440940380096, -0.02809632197022438, 0.03311881795525551, -0.029300978407263756, 0.06868401169776917, 0.01019325666129589, 0.0017455951310694218, 0.014909953810274601, 0.030653901398181915, -0.04496152698993683, -0.005138327833265066, 0.07487410306930542, 0.048853497952222824, 0.06431017816066742, 0.01425202563405037, 0.007612509187310934, -0.002851795172318816, 0.04266341030597687, 0.013612630777060986, -0.06649709492921829, -0.009535327553749084, -0.03880850598216057, -0.016151677817106247, -0.020479178056120872, 0.039401568472385406, -0.07316904515028, -0.02713259495794773, 0.02088690921664238, 0.030190572142601013, 0.0264653991907835, 0.02676193043589592, 0.02830018661916256, -0.05849075689911842, 0.04447966441512108, -0.03500920161604881, 0.007149179466068745, 0.055488381534814835, -0.008247271180152893, -0.005393159110099077, 0.03408254310488701, -0.0029722608160227537, -0.03660305589437485, 0.0317658931016922, 0.02800365537405014, 0.022740228101611137, -0.003924403805285692, 0.061937931925058365, -0.0356207974255085, 0.0008583185262978077, 0.016874471679329872, -0.0192374549806118, -0.0038502709940075874, 0.08740253746509552, 0.033044684678316116, 0.01992318220436573, 0.018459061160683632, 0.013399498537182808, -0.020238246768712997, -0.05070681869983673, -0.020923975855112076, 0.005527524743229151, -0.018551725894212723, -0.02956044301390648, -0.030765101313591003, -0.07858073711395264, 0.00015043740859255195, -0.014752421528100967, -0.06957361102104187, -0.03702931851148605, 0.003708955366164446, 0.05037321895360947, 0.017458267509937286, -0.017662134021520615, -0.010267389006912708, -0.07539302855730057, -0.03254428878426552, -0.011407180689275265, 0.042959943413734436, -0.008131438866257668, 0.02520514279603958, -0.029616042971611023, 0.07372504472732544, -0.060974206775426865, 0.03895677253603935, 0.05155934393405914, 0.0027637623716145754, 0.058564890176057816, -0.027503259479999542, -0.006064987741410732, 0.017754798755049706, -0.03793744742870331, -0.005031762178987265, 0.03291495144367218, -0.016624273732304573, 0.0074642435647547245, -0.04462793096899986, 0.009702126495540142, 0.03169175982475281, 0.033823076635599136, -0.010285922326147556, -0.016476009041070938, -0.025483140721917152, 0.03241455554962158, -0.025093942880630493, 0.020645977929234505, -0.031154297292232513, -0.031710293143987656, 0.028466984629631042, 0.007348411250859499, 0.052300672978162766, 0.026595132425427437, 0.010739985853433609, -0.010656585916876793, 0.02857818454504013, -0.06805388629436493, 0.0134736318141222, 0.09059024602174759, 0.0004476924368645996, -0.0264653991907835, 0.06894347816705704, 0.006750715430825949, -0.0062410528771579266, -0.01558641530573368, -0.010860451497137547, -0.010610253550112247, 0.0074596102349460125, 0.0751335620880127, -0.05908381938934326, -0.0433306060731411, 0.00779320765286684, 0.007737608160823584, 0.013918427750468254, 0.07754287868738174, 0.032118022441864014, 0.015957079827785492, 0.046629514545202255, 0.05052148550748825, -0.033934276551008224, -0.028077788650989532, -0.018764859065413475, 0.0192374549806118, -0.019015057012438774, -0.032099489122629166, 0.02203596755862236, -0.0020988842006772757, 0.05189293995499611, -0.008525269106030464, -0.012936169281601906, 0.0030602936167269945, 0.031821493059396744, 0.02589087188243866, -0.015753215178847313, 0.1029704213142395, 0.013056634925305843, 0.06308698654174805, -0.014214958995580673, 0.06627470254898071, 0.013102967292070389, -0.02329622395336628, -0.011323780752718449, 0.014909953810274601, -0.02173943631350994, 0.02540900744497776, -0.01971931755542755, 0.01049905363470316, 0.008001706562936306, -0.015864413231611252, 0.03600999340415001, 0.04651831462979317, -0.016670607030391693, 0.01289910264313221, -0.015178685076534748, 0.022017434239387512, -0.011333047412335873, 0.07628262042999268, -0.0015208801487460732, 0.04733377695083618, -0.06104834005236626, -0.06279046088457108, 0.022406630218029022, 0.023703955113887787, -0.041329022496938705, 0.02097957395017147, -0.01554934959858656, -0.02501981146633625, -0.024426748976111412, 0.04966895654797554, -0.05737876519560814, 0.011981709860265255, -0.006435651332139969, -0.003998536616563797, -0.05726756900548935, -0.014539290219545364, 0.010980917140841484, -0.03715905174612999, -0.006718282587826252, 0.004804730415344238, -0.044998593628406525, -0.04611058533191681, -0.05237480252981186, 0.052115339785814285, -0.013186367228627205, 0.028133386746048927, 0.06479204446077347, 0.007376210764050484, -0.0558219775557518, 0.06431017816066742, -0.01107358280569315, -0.019682250916957855, -0.04255221039056778, 0.009646527469158173, 0.08147192001342773, -0.04118075594305992, 0.00041091564344242215, 0.019886115565896034, -0.03717758506536484, -0.013334632851183414, -0.0616043359041214, -0.012815703637897968, -0.011722244322299957, -0.015818079933524132, 0.021869167685508728, -0.020164113491773605, 0.0037529715336859226, -0.005230993963778019, 0.002018959727138281, 0.019571052864193916, -0.04496152698993683, 0.019107721745967865, 0.04284874349832535, 0.014326157979667187, -0.01858879253268242, -0.05107748135924339, 0.06301286071538925, 0.04929829388856888, -0.023407423868775368, 0.019997315481305122, 0.00303017720580101, -0.0712786614894867, 0.02261049672961235, 0.014038894325494766, 0.032877884805202484, 0.059343285858631134, 0.033545080572366714, 0.01442809123545885, 0.008451135829091072, 0.01726366952061653, -0.026873130351305008, 0.010730719193816185, -0.009609460830688477, 0.015781013295054436, -0.0027637623716145754, -0.004943729378283024, 0.013686763122677803, 0.005532158073037863, -0.01875559240579605, 0.04155141860246658, -0.001147320494055748, 0.06141900271177292, 0.021776502951979637, 0.010044991038739681, 0.015317684039473534, 0.03764091432094574, -0.06801681965589523, 0.005175394006073475, 0.03888263925909996, -0.014131559990346432, -0.006662683095782995, 0.013501430861651897, 0.04370126873254776, 0.0635688528418541, 0.0029606777243316174, 0.059528615325689316, -0.034990668296813965, -0.02887471579015255, 0.003250258741900325, 0.060307011008262634, 0.002413948532193899, 0.018505392596125603, 0.04110662266612053, -0.05797182768583298, 0.00997085776180029, -0.023944886401295662, 0.052930798381567, 0.06968480348587036, 0.07635675370693207, -0.018403461202979088, -0.00884959939867258, 0.01664280705153942, 0.025149542838335037, -0.03135816380381584, -0.013112233951687813, 0.0010905625531449914, -0.008682801388204098, -0.016031213104724884, -0.00029291133978404105, 0.007348411250859499, 0.020757175981998444, -0.015957079827785492 ]
720,030
ibm_platform_services.usage_reports_v4
get_resource_usage_org
Get resource instance usage in an organization. Query for resource instance usage in an organization. Filter the results with query parameters. Account billing administrator and organization billing administrators are authorized to access this report. :param str account_id: Account ID for which the usage report is requested. :param str organization_id: ID of the organization. :param str billingmonth: The billing month for which the usage report is requested. Format is yyyy-mm. :param bool names: (optional) Include the name of every resource, plan, resource instance, organization, and resource group. :param bool tags: (optional) Include the tags associated with every resource instance. By default it is always `true`. :param str accept_language: (optional) Prioritize the names returned in the order of the specified languages. Language will default to English. :param int limit: (optional) Number of usage records returned. The default value is 30. Maximum value is 200. :param str start: (optional) The offset from which the records must be fetched. Offset information is included in the response. :param str resource_instance_id: (optional) Filter by resource instance id. :param str resource_id: (optional) Filter by resource_id. :param str plan_id: (optional) Filter by plan_id. :param str region: (optional) Region in which the resource instance is provisioned. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse with `dict` result representing a `InstancesUsage` object
def get_resource_usage_org( self, account_id: str, organization_id: str, billingmonth: str, *, names: Optional[bool] = None, tags: Optional[bool] = None, accept_language: Optional[str] = None, limit: Optional[int] = None, start: Optional[str] = None, resource_instance_id: Optional[str] = None, resource_id: Optional[str] = None, plan_id: Optional[str] = None, region: Optional[str] = None, **kwargs, ) -> DetailedResponse: """ Get resource instance usage in an organization. Query for resource instance usage in an organization. Filter the results with query parameters. Account billing administrator and organization billing administrators are authorized to access this report. :param str account_id: Account ID for which the usage report is requested. :param str organization_id: ID of the organization. :param str billingmonth: The billing month for which the usage report is requested. Format is yyyy-mm. :param bool names: (optional) Include the name of every resource, plan, resource instance, organization, and resource group. :param bool tags: (optional) Include the tags associated with every resource instance. By default it is always `true`. :param str accept_language: (optional) Prioritize the names returned in the order of the specified languages. Language will default to English. :param int limit: (optional) Number of usage records returned. The default value is 30. Maximum value is 200. :param str start: (optional) The offset from which the records must be fetched. Offset information is included in the response. :param str resource_instance_id: (optional) Filter by resource instance id. :param str resource_id: (optional) Filter by resource_id. :param str plan_id: (optional) Filter by plan_id. :param str region: (optional) Region in which the resource instance is provisioned. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse with `dict` result representing a `InstancesUsage` object """ if not account_id: raise ValueError('account_id must be provided') if not organization_id: raise ValueError('organization_id must be provided') if not billingmonth: raise ValueError('billingmonth must be provided') headers = { 'Accept-Language': accept_language, } sdk_headers = get_sdk_headers( service_name=self.DEFAULT_SERVICE_NAME, service_version='V4', operation_id='get_resource_usage_org', ) headers.update(sdk_headers) params = { '_names': names, '_tags': tags, '_limit': limit, '_start': start, 'resource_instance_id': resource_instance_id, 'resource_id': resource_id, 'plan_id': plan_id, 'region': region, } if 'headers' in kwargs: headers.update(kwargs.get('headers')) del kwargs['headers'] headers['Accept'] = 'application/json' path_param_keys = ['account_id', 'organization_id', 'billingmonth'] path_param_values = self.encode_path_vars(account_id, organization_id, billingmonth) path_param_dict = dict(zip(path_param_keys, path_param_values)) url = ( '/v4/accounts/{account_id}/organizations/{organization_id}/resource_instances/usage/{billingmonth}'.format( **path_param_dict ) ) request = self.prepare_request( method='GET', url=url, headers=headers, params=params, ) response = self.send(request, **kwargs) return response
(self, account_id: str, organization_id: str, billingmonth: str, *, names: Optional[bool] = None, tags: Optional[bool] = None, accept_language: Optional[str] = None, limit: Optional[int] = None, start: Optional[str] = None, resource_instance_id: Optional[str] = None, resource_id: Optional[str] = None, plan_id: Optional[str] = None, region: Optional[str] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
[ 0.044443659484386444, -0.040338873863220215, -0.02946118451654911, -0.03334207460284233, -0.02175537683069706, 0.014833211898803711, 0.008050981909036636, -0.07843876630067825, -0.06657219678163528, -0.040450822561979294, 0.003939197398722172, -0.0055554574355483055, 0.037409547716379166, -0.01957237534224987, -0.008811300620436668, 0.03492801636457443, -0.001350381993688643, -0.03712967410683632, 0.02212853915989399, 0.0008518601534888148, 0.0011422272073104978, 0.02733415737748146, -0.063810795545578, 0.04089861735701561, 0.03599152714014053, 0.050227679312229156, 0.07679685205221176, -0.019273845478892326, 0.025412369519472122, 0.027315499261021614, 0.02281888946890831, 0.02149416320025921, -0.015103754587471485, 0.032838303595781326, -0.04940672218799591, -0.003386450232937932, 0.05705655366182327, 0.012948740273714066, -0.08567812293767929, 0.06974408030509949, -0.02201659046113491, -0.00006865608156658709, 0.052205443382263184, -0.028155114501714706, 0.006539674010127783, -0.01562618277966976, 0.04929477348923683, -0.04104788228869438, -0.051347166299819946, -0.043324172496795654, 0.05242934077978134, 0.0036873125936836004, -0.040077660232782364, 0.029330577701330185, 0.012286377139389515, 0.026233328506350517, -0.03873427212238312, 0.07881192862987518, 0.047205064445734024, -0.009273089468479156, -0.047578226774930954, 0.014170847833156586, 0.01792113110423088, -0.04612289369106293, -0.05724313482642174, 0.020337359979748726, -0.0297783724963665, -0.01250094547867775, -0.0351145975291729, 0.01888202503323555, 0.014460048638284206, 0.06534076482057571, 0.0250018909573555, -0.013228612951934338, 0.00837749894708395, -0.04078666865825653, -0.005886639468371868, 0.0008611892117187381, -0.0409359335899353, -0.06802753359079361, 0.038696955889463425, 0.043846599757671356, 0.03233453631401062, -0.04429439455270767, 0.05056352540850639, -0.011334812268614769, -0.0020465634297579527, -0.0670199915766716, -0.038435742259025574, -0.017249438911676407, -0.03276367112994194, -0.02796853333711624, -0.008363505825400352, 0.03892085328698158, 0.04213005304336548, -0.032577089965343475, -0.05026499554514885, -0.039443280547857285, -0.06522881239652634, 0.013191296719014645, -0.005028365645557642, -0.10836640745401382, -0.041085198521614075, 0.032036006450653076, 0.05153374746441841, -0.03711101785302162, -0.04339880496263504, -0.029964953660964966, 0.028267063200473785, 0.025132497772574425, -0.031028466299176216, 0.0728786438703537, -0.008606061339378357, -0.028546934947371483, 0.03162552788853645, 0.05463099852204323, -0.03711101785302162, -0.025039207190275192, -0.046831902116537094, -0.02919997088611126, -0.0036243414506316185, -0.015644840896129608, 0.04000302776694298, 0.012454300187528133, 0.04578704759478569, 0.002280956134200096, -0.027147576212882996, 0.011717304587364197, 0.01909659430384636, 0.0006285457056947052, 0.008312195539474487, -0.0494813546538353, -0.012239731848239899, -0.012538261711597443, 0.04052545502781868, 0.007332644425332546, 0.04537656530737877, 0.03599152714014053, -0.05399662256240845, 0.07310254126787186, 0.029964953660964966, 0.07638637721538544, -0.03531983494758606, -0.03164418414235115, -0.011474749073386192, 0.00603590440005064, 0.04716774821281433, 0.03638334944844246, -0.027464764192700386, -0.025225788354873657, 0.023733139038085938, -0.059855274856090546, 0.04903355985879898, 0.014786566607654095, -0.026046747341752052, -0.025785531848669052, 0.03498398885130882, -0.004025490954518318, -0.005998588167130947, 0.002269294811412692, -0.01122286356985569, 0.0021876655519008636, -0.013890976086258888, -0.00702012050896883, -0.00013833252887707204, 0.00009620597120374441, -0.015915382653474808, -0.012519603595137596, -0.04791407287120819, -0.03142028674483299, -0.026774413883686066, -0.008773984387516975, -0.0250018909573555, -0.01084970124065876, -0.06907238811254501, 0.09806711971759796, 0.05123521760106087, -0.03436827287077904, 0.010989637114107609, 0.031942714005708694, -0.01983359083533287, -0.0425405316054821, -0.021718060597777367, 0.0005028948653489351, -0.06052696704864502, -0.01361110433936119, 0.026046747341752052, -0.007556541822850704, 0.023789113387465477, -0.004935074597597122, 0.07586394995450974, 0.05589975044131279, 0.024498121812939644, 0.017464008182287216, -0.04526461660861969, -0.06000453978776932, -0.0164844561368227, 0.013275258243083954, -0.0028570257127285004, 0.021662086248397827, -0.020859787240624428, 0.05381004139780998, -0.012258389964699745, 0.03063664585351944, 0.010243312455713749, 0.06101207807660103, 0.013704394921660423, -0.012491616420447826, -0.017370717599987984, 0.04653337225317955, -0.016671037301421165, -0.03201734647154808, -0.036569930613040924, 0.0436227023601532, -0.029330577701330185, 0.08500643074512482, -0.007808426395058632, 0.003239517332985997, -0.00600791722536087, -0.03548775985836983, 0.023210711777210236, -0.08358841389417648, 0.013340561650693417, -0.07295327633619308, -0.03015153482556343, -0.01754796877503395, 0.04899624362587929, 0.03253977373242378, -0.06843801587820053, -0.04854844883084297, 0.03655127063393593, 0.004039484541863203, 0.09418623149394989, 0.05403393879532814, -0.05966869369149208, -0.017156148329377174, -0.0032791660632938147, 0.011549381539225578, 0.03962986171245575, -0.013452510349452496, -0.0030599329620599747, -0.010122034698724747, 0.016624391078948975, 0.008092963136732578, -0.07466983050107956, 0.0023602531291544437, -0.0462721586227417, 0.04739164561033249, -0.0014331775018945336, -0.11672525107860565, -0.0324464850127697, 0.005247598513960838, -0.010224654339253902, -0.021830009296536446, -0.05444441735744476, -0.05787751078605652, -0.015085096471011639, -0.05526537448167801, 0.07418471574783325, -0.02270694077014923, -0.012006505392491817, -0.020486624911427498, -0.03914475068449974, 0.0020453971810638905, 0.022203171625733376, 0.02052394114434719, 0.01273417193442583, 0.018732760101556778, -0.007724464870989323, 0.02796853333711624, -0.0215314794331789, 0.04328685626387596, -0.019348477944731712, -0.027576712891459465, -0.017240110784769058, 0.0324464850127697, 0.04601094499230385, -0.06239277869462967, -0.012239731848239899, -0.014236151240766048, 0.013042031787335873, -0.04765285924077034, 0.025076523423194885, 0.0255243182182312, 0.021251607686281204, -0.028117798268795013, 0.022203171625733376, 0.056720707565546036, -0.022203171625733376, 0.03690577670931816, -0.006124530453234911, 0.002917664824053645, -0.04630947485566139, -0.02052394114434719, -0.03170016035437584, 0.04366001859307289, -0.019908223301172256, -0.014879857189953327, -0.007411941420286894, 0.054481733590364456, -0.0696694478392601, -0.006343763321638107, 0.042577847838401794, 0.016185926273465157, 0.011950531043112278, 0.019796272739768028, 0.09321600943803787, -0.04317490756511688, 0.04037619009613991, 0.035506416112184525, -0.020486624911427498, -0.0024978569708764553, 0.0526532381772995, 0.0006431223591789603, -0.047205064445734024, 0.01366707868874073, -0.014954489655792713, 0.05631022900342941, 0.031718816608190536, 0.041085198521614075, -0.01792113110423088, 0.022221829742193222, 0.03147626295685768, -0.026046747341752052, 0.050003781914711, 0.0032348528038710356, -0.03992839530110359, 0.08366304636001587, 0.04216736927628517, 0.009860820136964321, -0.046234842389822006, -0.037689417600631714, 0.002375412965193391, 0.025244446471333504, -0.03341670706868172, -0.041346412152051926, 0.00856408104300499, -0.08164796978235245, 0.019852248951792717, 0.05026499554514885, 0.003955523017793894, 0.009804845787584782, -0.0473170131444931, 0.013946950435638428, -0.0029013389721512794, -0.018546178936958313, 0.08000605553388596, -0.03962986171245575, -0.020673206076025963, -0.04448097571730614, -0.05966869369149208, 0.057093869894742966, 0.05466831475496292, 0.07224427163600922, 0.002280956134200096, 0.005448173265904188, -0.008092963136732578, 0.02494591660797596, -0.03308086097240448, 0.03444290533661842, -0.07452056556940079, -0.007299992721527815, -0.039331331849098206, -0.021251607686281204, 0.028976071625947952, -0.04074935242533684, -0.010523184202611446, -0.023434609174728394, 0.04563777893781662, -0.03535715118050575, -0.026737097650766373, -0.01936713606119156, -0.0010693439980968833, 0.027670003473758698, -0.006693603470921516, 0.03854769095778465, -0.028043165802955627, 0.012631552293896675, -0.07791633903980255, -0.011334812268614769, -0.00702012050896883, 0.02393837831914425, -0.02531907893717289, 0.019591033458709717, 0.006842868402600288, -0.015458258800208569, -0.03429364040493965, -0.0178185123950243, -0.035618364810943604, -0.0265878327190876, 0.018284965306520462, -0.00850810669362545, -0.015728801488876343, 0.000059217691159574315, -0.028528276830911636, 0.0019649341702461243, -0.023789113387465477, -0.009179798886179924, -0.01686694845557213, -0.012174428440630436, -0.019404452294111252, 0.017893144860863686, 0.012659539468586445, 0.02931191958487034, 0.012575577944517136, -0.013835001736879349, 0.0728413313627243, -0.03877158835530281, -0.008792642503976822, 0.036700539290905, -0.03451753780245781, -0.05817604437470436, -0.03235319256782532, -0.03977913036942482, -0.056571442633867264, 0.03431229665875435, -0.023901062086224556, 0.042577847838401794, 0.03951791301369667, -0.020785154774785042, 0.04186883941292763, -0.014478706754744053, 0.03817452862858772, -0.005742039065808058, 0.010429893620312214, -0.0441451296210289, -0.004804467782378197, -0.0563848614692688, 0.03224124386906624, -0.005812007002532482, 0.007500567473471165, 0.08075238019227982, -0.04455560818314552, -0.024498121812939644, 0.018760748207569122, 0.0008127947221510112, 0.012361009605228901, 0.009277754463255405, 0.007132069207727909, 0.023807771503925323, 0.02132624015212059, 0.017062857747077942, 0.028976071625947952, 0.010010085999965668, -0.06929628551006317, 0.020356018096208572, -0.026102721691131592, -0.047578226774930954, -0.010084718465805054, -0.06478101760149002, 0.06414664536714554, 0.03397645056247711, -0.0050097075290977955, -0.023901062086224556, -0.024013010784983635, -0.09493255615234375, 0.05806409567594528, -0.046719953417778015, -0.0178185123950243, 0.012137112207710743, 0.005014372058212757, 0.014842540957033634, -0.004781145136803389, -0.00015013961819931865, -0.0005282582715153694, 0.008666700683534145, 0.01622324250638485, 0.008018330670893192, 0.01739870384335518, 0.02701696939766407, -0.03877158835530281, 0.05899700149893761, -0.031028466299176216, 0.07063966989517212, -0.009814174845814705, -0.010084718465805054, 0.011549381539225578, 0.03291293606162071, -0.039331331849098206, -0.00879730749875307, 0.06403469294309616, 0.04489145427942276, 0.07149794697761536, 0.021363556385040283, -0.00012091341341147199, -0.004435969982296228, 0.0334913395345211, -0.015308993868529797, -0.07086356729269028, 0.0025934798177331686, -0.02446080558001995, -0.010663120076060295, -0.03164418414235115, 0.006124530453234911, -0.0648556500673294, -0.005756032653152943, 0.02569224126636982, 0.019292503595352173, 0.004610890056937933, 0.03162552788853645, 0.029162654653191566, -0.04854844883084297, 0.059220898896455765, -0.0351145975291729, 0.02446080558001995, 0.021027710288763046, 0.008750662207603455, -0.02265096642076969, 0.01936713606119156, 0.01306068990379572, -0.042353950440883636, 0.03336073085665703, 0.03839842602610588, 0.006087214220315218, -0.014394745230674744, 0.0510486364364624, -0.02615869604051113, 0.013219283893704414, 0.021885983645915985, 0.001840157900005579, 0.014329441823065281, 0.06828875094652176, 0.020281385630369186, 0.01297672837972641, 0.0223337784409523, -0.015327651984989643, -0.019124580547213554, -0.042727112770080566, -0.04074935242533684, -0.025095181539654732, -0.033379390835762024, -0.040712036192417145, -0.045563146471977234, -0.05179496109485626, 0.025039207190275192, -0.0024138952139765024, -0.06261667609214783, -0.0441451296210289, 0.015281006693840027, 0.04754091054201126, 0.005672070663422346, -0.02414361760020256, 0.0005903548444621265, -0.0414956770837307, -0.02653185836970806, -0.022576333954930305, 0.05254128947854042, -0.008013665676116943, 0.06884849071502686, -0.03000226989388466, 0.031028466299176216, -0.04537656530737877, 0.06269130855798721, 0.05537732318043709, -0.003953190986067057, 0.08926048129796982, -0.025300420820713043, -0.0019439436728134751, 0.03479740768671036, -0.04619752615690231, -0.0009900468867272139, 0.03414437547326088, -0.029591791331768036, 0.01082171406596899, -0.015392955392599106, 0.007673155050724745, 0.031718816608190536, 0.041346412152051926, -0.03362194821238518, -0.0015497907297685742, -0.02701696939766407, 0.03558104857802391, -0.050974003970623016, 0.0005489570903591812, -0.009991427883505821, -0.044966086745262146, 0.008993217721581459, 0.039070118218660355, 0.05242934077978134, 0.012920753099024296, 0.010094047524034977, -0.014758579432964325, 0.01871410198509693, -0.0531756654381752, 0.010915004648268223, 0.07911045849323273, -0.020878445357084274, -0.022483043372631073, 0.07224427163600922, 0.005723380949348211, 0.01957237534224987, -0.008018330670893192, -0.012006505392491817, -0.00835417676717043, 0.0067915585823357105, 0.07601321488618851, -0.06922165304422379, -0.04791407287120819, 0.0015392955392599106, -0.014730592258274555, -0.004331017844378948, 0.07590126246213913, 0.035972870886325836, 0.007962356321513653, 0.04328685626387596, 0.04836186766624451, -0.043958548456430435, -0.016092635691165924, -0.02808048203587532, 0.016661707311868668, -0.024815309792757034, -0.03517057001590729, 0.004025490954518318, -0.027035627514123917, 0.04701848328113556, -0.0218113511800766, -0.01605531945824623, 0.017585285007953644, 0.03227856010198593, -0.027390131726861, -0.011689317412674427, 0.09799248725175858, 0.008009001612663269, 0.0521308109164238, -0.024236908182501793, 0.06377348303794861, 0.00015334648196585476, -0.03977913036942482, -0.005149643402546644, 0.015915382653474808, -0.02324802801012993, -0.005163636989891529, 0.0003483822220005095, -0.003691977122798562, 0.038323793560266495, -0.03248380124568939, 0.015915382653474808, 0.045563146471977234, -0.024647386744618416, 0.011819924227893353, -0.00789705291390419, 0.01839691400527954, -0.03261440619826317, 0.05787751078605652, -0.026737097650766373, 0.05291445180773735, -0.05325029790401459, -0.017809182405471802, 0.03851037472486496, 0.0031485590152442455, -0.021307582035660744, 0.027390131726861, 0.024274224415421486, -0.040600087493658066, -0.028994731605052948, 0.022986814379692078, -0.06425859034061432, 0.007677819579839706, 0.005756032653152943, -0.0035263861063867807, -0.02615869604051113, -0.007029449567198753, 0.040450822561979294, -0.028173772618174553, 0.01079372689127922, -0.008955901488661766, -0.034069743007421494, -0.04780212417244911, -0.03802526369690895, 0.07642368972301483, -0.01818234473466873, 0.014329441823065281, 0.09329064190387726, 0.02244572713971138, -0.06974408030509949, 0.04750359430909157, 0.014460048638284206, 0.0021631766576319933, -0.04164494201540947, 0.03847305849194527, 0.04448097571730614, -0.02707294374704361, -0.015010464005172253, 0.008732004091143608, -0.03184942528605461, -0.010663120076060295, -0.06194498389959335, -0.006842868402600288, 0.004034820012748241, -0.02138221450150013, 0.007729129400104284, -0.019497742876410484, -0.004317024257034063, -0.01457199826836586, 0.013573788106441498, -0.004715841729193926, -0.041085198521614075, 0.005350218154489994, 0.05787751078605652, 0.03287561982870102, 0.0013830336974933743, -0.04880966246128082, 0.05362346023321152, 0.0521308109164238, -0.029106680303812027, 0.032894279807806015, -0.0022961159702390432, -0.052093494683504105, -0.006880184635519981, -0.011110914871096611, 0.025356395170092583, 0.0569072887301445, 0.020393334329128265, -0.00896056555211544, 0.04317490756511688, 0.009692897088825703, -0.028976071625947952, 0.03974181413650513, -0.01765058934688568, -0.014739921316504478, 0.006562996655702591, 0.006908171810209751, 0.027147576212882996, -0.0034400923177599907, -0.007276670075953007, 0.043697334825992584, -0.011241521686315536, 0.052989084273576736, 0.03662590682506561, 0.010961649939417839, 0.00020786320965271443, 0.04664532095193863, -0.06351226568222046, -0.01850886270403862, 0.03173747658729553, -0.017296085134148598, -0.01125085074454546, 0.012986057437956333, 0.025710899382829666, 0.027483422309160233, -0.005616096314042807, 0.08105091005563736, -0.04377196729183197, -0.04380928352475166, 0.004715841729193926, 0.04213005304336548, -0.0013037367025390267, -0.005867981351912022, 0.017473336309194565, -0.06310179084539413, 0.015775447711348534, -0.03492801636457443, 0.06030306965112686, 0.07063966989517212, 0.06877385824918747, -0.03692443668842316, -0.00850810669362545, 0.03367792069911957, 0.025934798642992973, -0.022986814379692078, -0.02621467038989067, 0.0017118832329288125, -0.006479034665971994, -0.018910013139247894, 0.009077179245650768, 0.018490204587578773, 0.009240438230335712, -0.03436827287077904 ]
720,031
ibm_platform_services.usage_reports_v4
get_resource_usage_resource_group
Get resource instance usage in a resource group. Query for resource instance usage in a resource group. Filter the results with query parameters. Account billing administrator and resource group billing administrators are authorized to access this report. :param str account_id: Account ID for which the usage report is requested. :param str resource_group_id: Resource group for which the usage report is requested. :param str billingmonth: The billing month for which the usage report is requested. Format is yyyy-mm. :param bool names: (optional) Include the name of every resource, plan, resource instance, organization, and resource group. :param bool tags: (optional) Include the tags associated with every resource instance. By default it is always `true`. :param str accept_language: (optional) Prioritize the names returned in the order of the specified languages. Language will default to English. :param int limit: (optional) Number of usage records returned. The default value is 30. Maximum value is 200. :param str start: (optional) The offset from which the records must be fetched. Offset information is included in the response. :param str resource_instance_id: (optional) Filter by resource instance id. :param str resource_id: (optional) Filter by resource_id. :param str plan_id: (optional) Filter by plan_id. :param str region: (optional) Region in which the resource instance is provisioned. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse with `dict` result representing a `InstancesUsage` object
def get_resource_usage_resource_group( self, account_id: str, resource_group_id: str, billingmonth: str, *, names: Optional[bool] = None, tags: Optional[bool] = None, accept_language: Optional[str] = None, limit: Optional[int] = None, start: Optional[str] = None, resource_instance_id: Optional[str] = None, resource_id: Optional[str] = None, plan_id: Optional[str] = None, region: Optional[str] = None, **kwargs, ) -> DetailedResponse: """ Get resource instance usage in a resource group. Query for resource instance usage in a resource group. Filter the results with query parameters. Account billing administrator and resource group billing administrators are authorized to access this report. :param str account_id: Account ID for which the usage report is requested. :param str resource_group_id: Resource group for which the usage report is requested. :param str billingmonth: The billing month for which the usage report is requested. Format is yyyy-mm. :param bool names: (optional) Include the name of every resource, plan, resource instance, organization, and resource group. :param bool tags: (optional) Include the tags associated with every resource instance. By default it is always `true`. :param str accept_language: (optional) Prioritize the names returned in the order of the specified languages. Language will default to English. :param int limit: (optional) Number of usage records returned. The default value is 30. Maximum value is 200. :param str start: (optional) The offset from which the records must be fetched. Offset information is included in the response. :param str resource_instance_id: (optional) Filter by resource instance id. :param str resource_id: (optional) Filter by resource_id. :param str plan_id: (optional) Filter by plan_id. :param str region: (optional) Region in which the resource instance is provisioned. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse with `dict` result representing a `InstancesUsage` object """ if not account_id: raise ValueError('account_id must be provided') if not resource_group_id: raise ValueError('resource_group_id must be provided') if not billingmonth: raise ValueError('billingmonth must be provided') headers = { 'Accept-Language': accept_language, } sdk_headers = get_sdk_headers( service_name=self.DEFAULT_SERVICE_NAME, service_version='V4', operation_id='get_resource_usage_resource_group', ) headers.update(sdk_headers) params = { '_names': names, '_tags': tags, '_limit': limit, '_start': start, 'resource_instance_id': resource_instance_id, 'resource_id': resource_id, 'plan_id': plan_id, 'region': region, } if 'headers' in kwargs: headers.update(kwargs.get('headers')) del kwargs['headers'] headers['Accept'] = 'application/json' path_param_keys = ['account_id', 'resource_group_id', 'billingmonth'] path_param_values = self.encode_path_vars(account_id, resource_group_id, billingmonth) path_param_dict = dict(zip(path_param_keys, path_param_values)) url = '/v4/accounts/{account_id}/resource_groups/{resource_group_id}/resource_instances/usage/{billingmonth}'.format( **path_param_dict ) request = self.prepare_request( method='GET', url=url, headers=headers, params=params, ) response = self.send(request, **kwargs) return response
(self, account_id: str, resource_group_id: str, billingmonth: str, *, names: Optional[bool] = None, tags: Optional[bool] = None, accept_language: Optional[str] = None, limit: Optional[int] = None, start: Optional[str] = None, resource_instance_id: Optional[str] = None, resource_id: Optional[str] = None, plan_id: Optional[str] = None, region: Optional[str] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
[ 0.017139721661806107, -0.03811543434858322, -0.036159832030534744, -0.03004857525229454, -0.03501279652118683, 0.008983545936644077, 0.018747452646493912, -0.029446851462125778, -0.05565943941473961, -0.030593886971473694, 0.0027806214056909084, 0.004475319758057594, 0.04283520206809044, -0.021699659526348114, -0.011874640360474586, 0.020872289314866066, -0.003509271191433072, -0.04309845715761185, 0.019480803981423378, -0.01614311710000038, -0.003777226200327277, 0.02688952535390854, -0.0411052480340004, 0.052613213658332825, 0.03582135960459709, 0.05848001688718796, 0.07860015332698822, -0.020477408543229103, 0.008687385357916355, 0.037588924169540405, 0.0033564898185431957, 0.034730736166238785, -0.013792634010314941, 0.05641159415245056, -0.0593826025724411, -0.012043874710798264, 0.032022979110479355, -0.004983024206012487, -0.0916876420378685, 0.05975868180394173, 0.008438234217464924, 0.00718307588249445, 0.04076677933335304, -0.055433791130781174, 0.02254583314061165, 0.018014101311564445, 0.04441472887992859, -0.01972525380551815, -0.014761033467948437, -0.04227108508348465, 0.0666785016655922, 0.003692608792334795, -0.055320966988801956, 0.029145989567041397, -0.0041956123895943165, 0.010784015990793705, -0.037024807184934616, 0.046483151614665985, 0.02876991219818592, -0.021530425176024437, -0.027829719707369804, 0.03990180045366287, 0.012438756413757801, -0.03450509160757065, -0.07852493971586227, -0.0033423868007957935, -0.05550900846719742, -0.02386210300028324, -0.053327757865190506, 0.011310524307191372, -0.007197178900241852, 0.07649412006139755, 0.01835257187485695, -0.02820579707622528, -0.011357533745467663, -0.025535646826028824, -0.0008068032911978662, 0.003001566743478179, -0.05054478719830513, -0.03685557469725609, 0.016876468434929848, 0.04524209722876549, 0.04189500957727432, -0.03696839511394501, 0.04133089259266853, -0.026080960407853127, 0.0005802754894830287, -0.05825437232851982, -0.04291041940450668, -0.035595715045928955, -0.03817184269428253, -0.009528858587145805, -0.012711412273347378, 0.08258657157421112, 0.036930788308382034, -0.05137215554714203, -0.057727862149477005, -0.015184120275080204, -0.0725829154253006, 0.007432227488607168, -0.02959728240966797, -0.11425227671861649, -0.010116479359567165, 0.013153303414583206, 0.04200783371925354, -0.03285035118460655, -0.024294592440128326, -0.0002996865950990468, 0.005156959872692823, 0.0185594130307436, -0.013040480203926563, 0.00082560715964064, -0.014601200819015503, -0.017506398260593414, 0.015137110836803913, 0.034937579184770584, -0.04046591743826866, -0.051898665726184845, -0.022827891632914543, -0.04588142782449722, -0.011536170728504658, -0.040503524243831635, 0.05250038951635361, 0.010539566166698933, 0.009035256691277027, 0.012457559816539288, -0.01178062055259943, 0.038002610206604004, 0.030010966584086418, 0.013764428906142712, -0.0000272876386588905, -0.023824496194720268, -0.022978322580456734, -0.00176286231726408, 0.015231129713356495, -0.013284930028021336, 0.04979263246059418, 0.047912247478961945, -0.03785217925906181, 0.0518234483897686, 0.07247009128332138, 0.06464768201112747, -0.043361712247133255, -0.0011200051521882415, 0.0009589970577508211, -0.02668268233537674, 0.07987881451845169, 0.010144684463739395, -0.05750221759080887, -0.031402453780174255, -0.0010101200314238667, -0.06581352651119232, 0.05336536467075348, -0.013914859853684902, 0.0006363932625390589, -0.00522747403010726, 0.03918725252151489, -0.010088273324072361, 0.0011582005536183715, -0.024501435458660126, -0.008217288181185722, 0.01124471053481102, -0.026588663458824158, -0.010389135219156742, -0.0034975188318639994, 0.00909636914730072, -0.004150953143835068, -0.002818229142576456, -0.05250038951635361, -0.01983807608485222, -0.02954087033867836, 0.004950117319822311, -0.02585531398653984, 0.015240532346069813, -0.07987881451845169, 0.07446330040693283, 0.05381665751338005, -0.02279028296470642, 0.020891092717647552, 0.010765212588012218, -0.005302689503878355, -0.04851397126913071, -0.004726821556687355, -0.005537738092243671, -0.04779942333698273, -0.024388611316680908, 0.020458605140447617, 0.019330373033881187, 0.004635152406990528, -0.01681065373122692, 0.07401201128959656, 0.04422668740153313, 0.037231650203466415, 0.018126925453543663, -0.04497884213924408, -0.07604282349348068, -0.01793888583779335, 0.00787411816418171, 0.01675424352288246, 0.022921910509467125, -0.030142594128847122, 0.05253799632191658, 0.011197701096534729, 0.024614257737994194, 0.01839958131313324, 0.03512561693787575, -0.01696108467876911, 0.011583180166780949, -0.053741443902254105, 0.04727291315793991, -0.035746145993471146, -0.028863931074738503, -0.009862626902759075, 0.06498615443706512, -0.019029511138796806, 0.07104099541902542, 0.04952937737107277, 0.0021036823745816946, -0.013134499080479145, -0.0369119867682457, 0.02243301086127758, -0.05509532243013382, 0.021737266331911087, -0.0394505076110363, -0.05821676179766655, -0.020891092717647552, 0.0354640893638134, 0.038773566484451294, -0.07581718266010284, -0.05325254425406456, 0.042496733367443085, -0.02995455637574196, 0.09680229425430298, 0.057878293097019196, -0.08333872258663177, -0.02617497928440571, 0.012814833782613277, 0.011263514868915081, 0.05904413387179375, -0.01556019764393568, -0.001375032588839531, -0.004021676257252693, 0.03352728858590126, 0.0192081481218338, -0.0765693336725235, -0.004912509582936764, -0.048777222633361816, 0.040089838206768036, 0.03561452031135559, -0.07687019556760788, -0.032587096095085144, -0.013886653818190098, -0.012457559816539288, -0.034373462200164795, -0.056900493800640106, -0.056035514920949936, -0.00933141727000475, -0.0562235526740551, 0.06622721254825592, -0.010539566166698933, 0.010934446938335896, -0.01789187639951706, -0.03719404339790344, 0.005274483934044838, 0.025234784930944443, 0.03501279652118683, 0.014789239503443241, 0.012363540939986706, 0.01100966241210699, 0.008974144235253334, 0.023316791281104088, 0.044903628528118134, -0.020533818751573563, -0.016208931803703308, -0.050620000809431076, 0.008015147410333157, 0.039638545364141464, -0.06167667359113693, -0.026306606829166412, -0.04516687989234924, 0.011846434324979782, -0.034937579184770584, 0.016274744644761086, 0.02201932482421398, 0.0434369258582592, 0.02933402732014656, 0.024351004511117935, 0.04746095463633537, -0.034730736166238785, 0.04166936129331589, -0.010586575604975224, -0.027735698968172073, -0.05870566517114639, -0.030217809602618217, -0.06991276890039444, 0.0215116199105978, -0.024087749421596527, -0.038453903049230576, -0.013933663256466389, 0.038002610206604004, -0.07702063024044037, -0.021793678402900696, 0.05949542671442032, 0.03990180045366287, -0.01579524576663971, 0.003965264651924372, 0.11131887882947922, -0.027510052546858788, 0.024708276614546776, 0.009778009727597237, -0.0020484458655118942, 0.008786105550825596, 0.04189500957727432, -0.04516687989234924, -0.02269626408815384, 0.008414729498326778, 0.012203708291053772, 0.04588142782449722, 0.03311360627412796, 0.03328283876180649, -0.014140506274998188, -0.029221205040812492, 0.0314776673913002, -0.008489944972097874, 0.05791589990258217, 0.024501435458660126, -0.03704361245036125, 0.03555810824036598, 0.0753282830119133, 0.005627056583762169, -0.01527814008295536, -0.043662574142217636, -0.018380777910351753, 0.03102637641131878, -0.03627265244722366, -0.06118777394294739, -0.013914859853684902, -0.0828874334692955, -0.011573778465390205, 0.043211281299591064, -0.001694698235951364, 0.02692713402211666, -0.04309845715761185, 0.014403759501874447, -0.004165055695921183, -0.027622876688838005, 0.07468894869089127, -0.047047268599271774, -0.018380777910351753, -0.006995037663727999, -0.05953303351998329, 0.055170536041259766, 0.044903628528118134, 0.08168398588895798, 0.030499868094921112, -0.014469573274254799, -0.0013997126370668411, 0.046633582562208176, -0.0110660744830966, 0.028751108795404434, -0.04020266234874725, 0.004912509582936764, -0.03034943714737892, -0.019245754927396774, 0.03621624410152435, -0.06152624264359474, -0.03149647265672684, -0.025121962651610374, 0.03506920486688614, -0.008518150076270103, -0.01860642433166504, -0.016632018610835075, -0.0009954295819625258, 0.03679916262626648, 0.0005397296627052128, 0.012730215676128864, -0.020966308191418648, 0.00581509480252862, -0.049341339617967606, -0.002740663243457675, 0.024050142616033554, 0.004823191091418266, -0.027660483494400978, 0.017412377521395683, -0.008029250428080559, -0.017609817907214165, -0.0026960039976984262, -0.013190911151468754, -0.05080804228782654, -0.024012533947825432, 0.03215460851788521, -0.00772838806733489, -0.004806737881153822, 0.0018991902470588684, -0.025798901915550232, -0.017816660925745964, -0.011075476184487343, -0.009956645779311657, -0.019593626260757446, -0.00866388063877821, -0.014967875555157661, 0.03311360627412796, -0.034373462200164795, 0.008687385357916355, 0.0325118824839592, -0.02136118896305561, 0.07483937591314316, -0.05212431028485298, -0.016979889944195747, 0.016124313697218895, 0.010379732586443424, -0.034223031252622604, -0.047611385583877563, -0.0354640893638134, -0.04979263246059418, 0.03394097462296486, -0.02248942106962204, 0.06216557323932648, 0.028450246900320053, -0.022301383316516876, 0.04512927308678627, -0.016434576362371445, 0.01799529790878296, -0.024181770160794258, -0.002187124453485012, -0.0772462710738182, 0.012617392465472221, -0.048890046775341034, 0.035388872027397156, -0.012711412273347378, 0.022602245211601257, 0.05054478719830513, -0.05584747716784477, 0.0087108900770545, -0.007916427217423916, -0.01364220306277275, 0.007206581067293882, 0.018361972644925117, 0.029051970690488815, 0.014469573274254799, 0.0016147817950695753, -0.015870461240410805, 0.026795506477355957, 0.0013961868826299906, -0.06047322601079941, 0.010154087096452713, -0.031007571145892143, -0.03960093855857849, -0.010163488797843456, -0.06051083654165268, 0.06175189092755318, 0.01384904608130455, 0.01747819222509861, -0.013726821169257164, -0.01650039106607437, -0.06607677787542343, 0.05024392530322075, -0.05268842726945877, 0.001642987597733736, -0.014450769871473312, 0.02662627212703228, 0.01477043516933918, -0.014714024029672146, 0.017863670364022255, -0.0027618175372481346, 0.03087594546377659, 0.02448263205587864, 0.004176808521151543, 0.031139198690652847, -0.0074087223038077354, -0.03439226746559143, 0.026494644582271576, -0.04422668740153313, 0.07096578180789948, -0.01579524576663971, 0.0069151208736002445, -0.0036503002047538757, 0.05122172459959984, -0.04584382101893425, 0.027585268020629883, 0.061714280396699905, 0.028036560863256454, 0.0828874334692955, -0.007949333637952805, -0.014140506274998188, -0.04441472887992859, 0.03807782381772995, 0.002611386589705944, -0.07179315388202667, -0.02008252777159214, -0.013651605695486069, -0.024520238861441612, -0.010915643535554409, 0.019856881350278854, -0.06453486531972885, -0.01502428762614727, 0.0003443457535468042, 0.0318913534283638, 0.026287801563739777, 0.011413945816457272, 0.015325149521231651, -0.03142125532031059, 0.014093495905399323, -0.04885243996977806, 0.03967615216970444, 0.032267432659864426, 0.0314776673913002, -0.023241575807332993, 0.03439226746559143, -0.004628100898116827, -0.031759727746248245, 0.029014362022280693, 0.00389004941098392, 0.04979263246059418, -0.011037868447601795, 0.06366988271474838, -0.03849150985479355, 0.034317053854465485, 0.025516843423247337, -0.006501436233520508, 0.017562808468937874, 0.09213893115520477, 0.00003334747816552408, 0.03755131736397743, 0.006905719172209501, -0.016782449558377266, -0.04527970403432846, -0.03783337399363518, -0.027322014793753624, -0.0016805953346192837, -0.01428153458982706, -0.013143900781869888, -0.043060850352048874, -0.05340297520160675, -0.0037490203976631165, -0.012655000202357769, -0.05592269077897072, -0.019650038331747055, -0.03926246985793114, 0.029108380898833275, 0.013435360975563526, -0.01972525380551815, -0.01583285443484783, -0.05784068629145622, -0.041067637503147125, 0.01267380453646183, 0.057577431201934814, -0.018361972644925117, 0.05129694193601608, -0.02641942910850048, 0.06051083654165268, -0.036253850907087326, 0.026551056653261185, 0.06848367303609848, 0.029108380898833275, 0.04930373281240463, -0.01814572885632515, 0.007662574760615826, 0.005744580645114183, -0.04497884213924408, -0.0020825278479605913, 0.036517105996608734, 0.017092712223529816, -0.0019744057208299637, -0.045204490423202515, 0.030781924724578857, 0.010013057850301266, 0.0358777716755867, -0.021662050858139992, -0.007949333637952805, -0.03091355226933956, -0.008236092515289783, -0.02585531398653984, -0.006078348960727453, -0.028036560863256454, -0.005730477627366781, 0.020985111594200134, 0.032380253076553345, 0.050055887550115585, 0.008033950813114643, 0.016237135976552963, -0.007112561725080013, 0.05449359863996506, -0.05848001688718796, -0.0007057324983179569, 0.09228936582803726, 0.01646278239786625, -0.021492816507816315, 0.057013317942619324, 0.03350848704576492, -0.0030227212700992823, -0.025027943775057793, 0.003821885446086526, -0.012513971887528896, 0.0037208145949989557, 0.06754347681999207, -0.04870200902223587, -0.043512143194675446, 0.012429353781044483, 0.021191954612731934, 0.01466701366007328, 0.07747191935777664, 0.03960093855857849, 0.017196133732795715, 0.0362914577126503, 0.05870566517114639, -0.03941290080547333, -0.02831861935555935, -0.03448628634214401, 0.0177320446819067, -0.05065761134028435, -0.04682162031531334, 0.012871244922280312, 0.001548968255519867, 0.030857140198349953, -0.01716792769730091, -0.023993730545043945, 0.0185594130307436, 0.0382094532251358, -0.020985111594200134, 0.0016570904990658164, 0.1149292141199112, 0.017920082435011864, 0.060021933168172836, -0.000391061621485278, 0.07201880216598511, 0.003711412660777569, -0.006717680487781763, -0.015494383871555328, 0.01252337358891964, -0.031722117215394974, 0.00679759681224823, 0.0012845390010625124, -0.00264429347589612, 0.019443195313215256, -0.01111308392137289, 0.055433791130781174, 0.0438506118953228, -0.00470096617937088, -0.016218332573771477, -0.006233480758965015, 0.00901645328849554, 0.009994253516197205, 0.04998067021369934, -0.015983285382390022, 0.0625416487455368, -0.053327757865190506, -0.04174457862973213, 0.035802558064460754, -0.004827891942113638, -0.047912247478961945, 0.0386231355369091, -0.02162444405257702, -0.07250770181417465, -0.01564481481909752, 0.06088691204786301, -0.06885974854230881, 0.006477931048721075, -0.03341446816921234, -0.010530163533985615, -0.0394505076110363, 0.0013186209835112095, 0.034787148237228394, -0.037889786064624786, -0.013764428906142712, 0.0054296157322824, -0.025874117389321327, -0.04584382101893425, -0.03474954143166542, 0.043324101716279984, -0.007258291356265545, 0.023185163736343384, 0.0705144926905632, 0.0402778759598732, -0.06299294531345367, 0.058442410081624985, 0.007563854567706585, -0.03975136950612068, -0.0509960800409317, 0.025084353983402252, 0.07547871023416519, -0.007704883348196745, -0.02739723026752472, 0.030274221673607826, -0.019593626260757446, 0.00203199265524745, -0.07231966406106949, -0.02493392303586006, 0.010003656148910522, -0.03040584921836853, 0.039375290274620056, -0.00940193235874176, -0.00655314652249217, -0.025667274370789528, -0.005636458285152912, 0.03159049153327942, -0.03644188866019249, 0.015955079346895218, 0.04170697182416916, 0.02724679931998253, -0.03465552255511284, -0.05152258649468422, 0.042948026210069656, 0.050018277019262314, -0.031552884727716446, 0.05596030130982399, -0.01359519362449646, -0.04810028523206711, 0.015729432925581932, -0.000018271332010044716, 0.03760772943496704, 0.044640373438596725, -0.006162966601550579, -0.019038911908864975, 0.018014101311564445, -0.007968137040734291, -0.0221321489661932, 0.0019297465914860368, -0.003709062235429883, 0.0027735698968172073, 0.003227213164791465, 0.006929223891347647, -0.010483154095709324, 0.0012669103452935815, -0.022527029737830162, 0.03213580325245857, 0.0024351004976779222, 0.06133820489048958, 0.03311360627412796, 0.00989083293825388, 0.024313395842909813, 0.05626116320490837, -0.051484979689121246, -0.051033686846494675, 0.06039801239967346, -0.013115695677697659, 0.002267040777951479, 0.007089057005941868, 0.04941655322909355, 0.05562182888388634, 0.013172106817364693, 0.053064506500959396, -0.04046591743826866, -0.06957429647445679, -0.010154087096452713, 0.0390368215739727, 0.01124471053481102, 0.002379863988608122, 0.015099503099918365, -0.05122172459959984, 0.010972054675221443, -0.025178374722599983, 0.04873961582779884, 0.07664454728364944, 0.05784068629145622, -0.03352728858590126, -0.0014714023564010859, 0.012410550378262997, 0.039939407259225845, -0.02903316542506218, -0.0175252016633749, 0.0028675892390310764, 0.009768607094883919, -0.010003656148910522, -0.0025902322959154844, 0.0450916662812233, -0.0011100155534222722, -0.009909636341035366 ]
720,040
ibm_platform_services.usage_reports_v4
update_reports_snapshot_config
Update the snapshot configuration. Updates the configuration of snapshot of the billing reports setup by the customer for the given Account Id. :param str account_id: Account ID for which billing report snapshot is configured. :param str interval: (optional) Frequency of taking the snapshot of the billing reports. :param str cos_bucket: (optional) The name of the COS bucket to store the snapshot of the billing reports. :param str cos_location: (optional) Region of the COS instance. :param str cos_reports_folder: (optional) The billing reports root folder to store the billing reports snapshots. :param List[str] report_types: (optional) The type of billing reports to take snapshot of. Possible values are [account_summary, enterprise_summary, account_resource_instance_usage]. :param str versioning: (optional) A new version of report is created or the existing report version is overwritten with every update. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse with `dict` result representing a `SnapshotConfig` object
def update_reports_snapshot_config( self, account_id: str, *, interval: Optional[str] = None, cos_bucket: Optional[str] = None, cos_location: Optional[str] = None, cos_reports_folder: Optional[str] = None, report_types: Optional[List[str]] = None, versioning: Optional[str] = None, **kwargs, ) -> DetailedResponse: """ Update the snapshot configuration. Updates the configuration of snapshot of the billing reports setup by the customer for the given Account Id. :param str account_id: Account ID for which billing report snapshot is configured. :param str interval: (optional) Frequency of taking the snapshot of the billing reports. :param str cos_bucket: (optional) The name of the COS bucket to store the snapshot of the billing reports. :param str cos_location: (optional) Region of the COS instance. :param str cos_reports_folder: (optional) The billing reports root folder to store the billing reports snapshots. :param List[str] report_types: (optional) The type of billing reports to take snapshot of. Possible values are [account_summary, enterprise_summary, account_resource_instance_usage]. :param str versioning: (optional) A new version of report is created or the existing report version is overwritten with every update. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse with `dict` result representing a `SnapshotConfig` object """ if account_id is None: raise ValueError('account_id must be provided') headers = {} sdk_headers = get_sdk_headers( service_name=self.DEFAULT_SERVICE_NAME, service_version='V4', operation_id='update_reports_snapshot_config', ) headers.update(sdk_headers) data = { 'account_id': account_id, 'interval': interval, 'cos_bucket': cos_bucket, 'cos_location': cos_location, 'cos_reports_folder': cos_reports_folder, 'report_types': report_types, 'versioning': versioning, } data = {k: v for (k, v) in data.items() if v is not None} data = json.dumps(data) headers['content-type'] = 'application/json' if 'headers' in kwargs: headers.update(kwargs.get('headers')) del kwargs['headers'] headers['Accept'] = 'application/json' url = '/v1/billing-reports-snapshot-config' request = self.prepare_request( method='PATCH', url=url, headers=headers, data=data, ) response = self.send(request, **kwargs) return response
(self, account_id: str, *, interval: Optional[str] = None, cos_bucket: Optional[str] = None, cos_location: Optional[str] = None, cos_reports_folder: Optional[str] = None, report_types: Optional[List[str]] = None, versioning: Optional[str] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
[ -0.024619854986667633, -0.0908174067735672, -0.04585941135883331, -0.014779425226151943, -0.05536181107163429, -0.014807594008743763, -0.04875144734978676, 0.017624512314796448, -0.09404747188091278, 0.00033040091511793435, -0.030779514461755753, -0.02792503871023655, 0.01639445684850216, -0.007910842075943947, -0.03292037174105644, -0.021483687683939934, 0.027887480333447456, -0.035155124962329865, 0.05911770090460777, -0.010272357612848282, 0.025765402242541313, -0.03613165766000748, -0.017361599951982498, 0.09832918643951416, 0.02170904166996479, -0.004603311885148287, 0.07759667932987213, -0.012516501359641552, -0.021633923053741455, 0.07477975636720657, 0.009394418448209763, -0.0005510594346560538, 0.033690329641103745, -0.007615066133439541, -0.023248955607414246, -0.04766223579645157, 0.03224430978298187, -0.007070461753755808, -0.09930571913719177, 0.044657524675130844, -0.018206674605607986, 0.0331457257270813, 0.05723975598812103, -0.05014112591743469, 0.02285458706319332, 0.0469861775636673, -0.03661992400884628, 0.027530670166015625, -0.01633811928331852, 0.015981309115886688, 0.05731487274169922, -0.009455451741814613, -0.07455440610647202, 0.003840397112071514, 0.04999088868498802, 0.009755922481417656, -0.018967241048812866, -0.003535230876877904, 0.04469508305191994, -0.02379355952143669, -0.01554938219487667, -0.01484515331685543, 0.00011553761578397825, -0.03427249193191528, 0.011802882887423038, -0.050291359424591064, -0.02563394606113434, -0.0014025899581611156, -0.014309938997030258, -0.03173726797103882, 0.011051705107092857, -0.0068920571357011795, 0.014394446276128292, -0.014920271001756191, -0.03846030682325363, -0.024713752791285515, -0.03293915092945099, 0.04499555751681328, -0.04206596314907074, 0.004157300107181072, 0.002927246270701289, -0.01333340723067522, 0.016328729689121246, -0.03733354061841965, 0.01977475732564926, 0.014497733674943447, 0.011117433197796345, -0.051380567252635956, -0.018817005679011345, 0.04833829775452614, 0.03849786892533302, -0.023455530405044556, 0.010197239927947521, -0.013784114271402359, 0.021408570930361748, -0.027155080810189247, -0.031023647636175156, -0.027587007731199265, -0.01865738071501255, 0.03532414138317108, -0.05254489555954933, -0.12552182376384735, 0.010112732648849487, 0.057953376322984695, 0.03476075828075409, -0.04916459321975708, -0.026159770786762238, -0.023511867970228195, 0.023737221956253052, -0.01930527202785015, 0.03492977097630501, -0.021878056228160858, -0.033277180045843124, -0.07909902930259705, 0.028713775798678398, 0.05720219761133194, -0.04807538539171219, -0.03440394625067711, -0.009718364104628563, -0.04781247302889824, 0.03716452792286873, -0.03511756658554077, 0.02687338925898075, 0.04086407646536827, 0.011680816300213337, 0.04837585613131523, -0.02848842181265354, 0.04514579102396965, 0.00015903844905551523, 0.010572829283773899, 0.005122094415128231, -0.020638613030314445, -0.006863887887448072, 0.0005510594346560538, 0.07207551598548889, -0.02317383885383606, 0.027004845440387726, 0.0070047336630523205, -0.007323984522372484, -0.01665736921131611, -0.0025446151848882437, 0.015934361144900322, -0.002457760274410248, -0.05667637288570404, -0.03894857317209244, 0.008319295011460781, 0.0131831718608737, 0.02692972682416439, -0.06922104209661484, -0.004901435691863298, -0.008826340548694134, -0.008924932219088078, -0.05355898290872574, -0.03887345641851425, -0.04871388524770737, -0.06865765899419785, 0.051380567252635956, 0.07121166586875916, 0.022929705679416656, 0.014657358638942242, 0.027962597087025642, 0.028563540428876877, 0.059943996369838715, -0.08052626997232437, -0.0015786472940817475, -0.01202823594212532, -0.07076095789670944, -0.02067617140710354, -0.01868554949760437, -0.033803004771471024, -0.0009653809829615057, 0.02985932119190693, -0.03988754749298096, 0.015624499879777431, -0.040112901479005814, 0.05543692782521248, 0.028356965631246567, -0.024976665154099464, -0.00819722842425108, -0.01918320544064045, -0.0002008520532399416, -0.04833829775452614, 0.003873260924592614, 0.037652790546417236, -0.008615071885287762, -0.005680782720446587, -0.052056629210710526, 0.05453551560640335, -0.01352120190858841, -0.05799093469977379, 0.016582252457737923, -0.011774713173508644, 0.0195681843906641, -0.0297466441988945, -0.021521246060729027, -0.07864832878112793, -0.029408615082502365, -0.10711796581745148, 0.03015979193150997, 0.030403925105929375, 0.03434760868549347, -0.070986308157444, 0.014779425226151943, -0.0039835902862250805, 0.07136189937591553, -0.039699751883745193, 0.02969030663371086, -0.06328673660755157, 0.017821695655584335, 0.04394390806555748, -0.012281758710741997, 0.0386105440557003, -0.02238510176539421, -0.039737310260534286, -0.04409414157271385, 0.03800960257649422, 0.02734287455677986, -0.0006919052684679627, -0.03607532009482384, -0.03158703073859215, 0.038911014795303345, -0.006178438197821379, 0.0021185565274208784, -0.029239600524306297, -0.04518334940075874, 0.03701429069042206, 0.04683594033122063, -0.020694950595498085, -0.03012223355472088, -0.03553071618080139, 0.018328741192817688, -0.0014295853907242417, 0.005812238901853561, -0.03256356343626976, -0.010619777254760265, -0.04578429460525513, -0.025352254509925842, 0.024450840428471565, 0.0689205750823021, 0.010525880381464958, 0.00884511973708868, 0.0662914514541626, 0.038648102432489395, 0.08939016610383987, -0.02687338925898075, -0.05014112591743469, -0.05468574911355972, 0.04003778100013733, -0.011530580930411816, -0.00045833588228560984, 0.03872321918606758, -0.054047249257564545, -0.0032864033710211515, 0.03921148553490639, 0.004265281837433577, -0.017117466777563095, 0.012018846347928047, -0.009126811288297176, 0.04315517097711563, -0.023605765774846077, -0.0019401516765356064, -0.0835309848189354, -0.0016866291407495737, -0.03346497565507889, 0.0027817056979984045, 0.008098636753857136, -0.010920248925685883, -0.005535242147743702, 0.03992510586977005, 0.05006600543856621, 0.024770090356469154, 0.02848842181265354, -0.021201996132731438, 0.02807527408003807, 0.022422660142183304, 0.012910869903862476, 0.023549426347017288, -0.021258333697915077, 0.036507245153188705, -0.01218786183744669, 0.04356831684708595, -0.04262934625148773, 0.062497999519109726, 0.025690283626317978, 0.0642257109284401, -0.04315517097711563, -0.05656369403004646, 0.03554949536919594, 0.02306116186082363, -0.0011120954295620322, 0.019605742767453194, 0.003690161509439349, -0.04232887551188469, -0.04514579102396965, -0.010028225369751453, 0.033953242003917694, -0.014309938997030258, -0.019868655130267143, 0.030178571119904518, 0.05145568773150444, -0.014779425226151943, 0.04398146644234657, 0.061671704053878784, -0.010948417708277702, 0.0011156165273860097, -0.020169125869870186, 0.0396621935069561, -0.02411281131207943, 0.04972797632217407, 0.01689211279153824, 0.017746577039361, 0.00884511973708868, -0.011727765202522278, -0.018169116228818893, -0.0020270065870136023, -0.06674215942621231, 0.013042326085269451, -0.027324095368385315, 0.01780291646718979, 0.01202823594212532, -0.05716463923454285, 0.011859221383929253, 0.0007341590244323015, 0.004230070393532515, 0.05528669431805611, -0.02296726405620575, 0.021164437755942345, 0.053108278661966324, -0.01654469408094883, -0.004603311885148287, -0.04954018071293831, -0.019812317565083504, 0.03141801431775093, 0.030723176896572113, 0.0034906298387795687, -0.04661059007048607, -0.049239709973335266, -0.0490519180893898, -0.01067611575126648, 0.023624544963240623, 0.032432105392217636, 0.01857287436723709, 0.05885478854179382, 0.03256356343626976, -0.012563450261950493, 0.02651657909154892, 0.08067650347948074, -0.012732465751469135, -0.054573073983192444, 0.026347564533352852, -0.05442284047603607, -0.018967241048812866, 0.022817028686404228, 0.06719285994768143, 0.04604720324277878, -0.025145679712295532, 0.029577629640698433, -0.023417970165610313, -0.020732510834932327, -0.034723199903964996, -0.013051715679466724, 0.040112901479005814, -0.03256356343626976, -0.00346480798907578, 0.05246977508068085, 0.033164504915475845, -0.0772210881114006, -0.023605765774846077, 0.04368099570274353, -0.024826429784297943, -0.02349308878183365, 0.022666793316602707, -0.0075681172311306, 0.012835752218961716, 0.039849989116191864, 0.020845185965299606, -0.08022580295801163, 0.014948439784348011, -0.031136324629187584, 0.02557760663330555, 0.0005718928878195584, -0.04217863827943802, 0.007939011789858341, -0.0021021245047450066, -0.00006675507029285654, -0.03346497565507889, -0.013032936491072178, -0.05648857727646828, 0.00281222234480083, -0.012206641025841236, -0.006117404904216528, 0.05476086959242821, -0.01192494947463274, -0.005183127708733082, -0.05588763579726219, -0.018525924533605576, 0.018873345106840134, 0.04822562262415886, 0.04807538539171219, -0.06204729527235031, -0.0074319662526249886, -0.006417876109480858, 0.005488293711096048, 0.01792498305439949, -0.009934327565133572, -0.04469508305191994, 0.03169970586895943, -0.07782202959060669, 0.014591630548238754, -0.04270446300506592, 0.026591697707772255, -0.038065940141677856, -0.046009644865989685, 0.03267623856663704, -0.0009923764737322927, 0.03277013450860977, 0.004943689331412315, -0.01759634166955948, -0.03297670930624008, 0.012169081717729568, 0.008370938710868359, 0.039737310260534286, 0.02317383885383606, 0.03793448209762573, 0.01900480128824711, -0.0024002480786293745, 0.0058404081501066685, -0.010028225369751453, -0.054197486490011215, -0.02390623651444912, 0.0454087033867836, 0.03814105689525604, -0.05990643799304962, 0.05904258415102959, 0.011502411216497421, 0.01915503665804863, 0.04514579102396965, 0.035474374890327454, -0.0021807632874697447, 0.02848842181265354, -0.01900480128824711, -0.013981298543512821, 0.0029741949401795864, -0.04717397317290306, -0.007281730882823467, 0.02739921398460865, -0.0013685522135347128, -0.10952173918485641, 0.021408570930361748, 0.02396257407963276, 0.025615166872739792, 0.0010088084964081645, -0.05014112591743469, 0.010441373102366924, -0.0071784439496695995, -0.06058249622583389, 0.02384989894926548, 0.013399135321378708, -0.0037112883292138577, -0.024413282051682472, -0.01315500307828188, -0.013662047684192657, -0.020601054653525352, 0.009239488281309605, 0.027587007731199265, 0.011417903937399387, 0.054573073983192444, 0.03308938816189766, -0.03763401135802269, 0.006812244653701782, 0.0258405189961195, 0.00498594343662262, -0.02751189097762108, 0.08954040706157684, 0.037915702909231186, 0.007694878615438938, -0.027098743245005608, 0.0187982264906168, -0.07613188028335571, -0.028525980189442635, -0.016676148399710655, 0.05160592123866081, -0.02202829159796238, -0.016901502385735512, 0.025145679712295532, -0.07782202959060669, 0.01192494947463274, 0.018638601526618004, -0.03299548849463463, 0.010403813794255257, -0.052845366299152374, 0.0037441523745656013, -0.023680882528424263, -0.004150257911533117, -0.09171882271766663, 0.014563461765646935, 0.0227043516933918, 0.05246977508068085, 0.03554949536919594, -0.006464824546128511, 0.034892212599515915, -0.04007533937692642, 0.026234887540340424, -0.00916906539350748, -0.009493011049926281, 0.004551668651401997, -0.034779537469148636, 0.03722086548805237, -0.013023546896874905, 0.004605659283697605, -0.06794404238462448, 0.021014202386140823, -0.016000088304281235, -0.04097675532102585, -0.026910947635769844, 0.04792514815926552, -0.01998133212327957, -0.00981226097792387, -0.021314673125743866, -0.027887480333447456, -0.013277069665491581, 0.021784158423542976, 0.04007533937692642, -0.005694867577403784, 0.01569022797048092, 0.04619744047522545, 0.04315517097711563, -0.0657280683517456, -0.0013239510590210557, -0.023605765774846077, -0.05074206739664078, 0.034685637801885605, -0.030723176896572113, -0.016009479761123657, 0.0163099505007267, 0.03876078128814697, -0.04833829775452614, -0.0013990688603371382, -0.010253578424453735, 0.0015410884516313672, -0.026535358279943466, 0.020319361239671707, 0.004734768066555262, -0.04661059007048607, -0.06415059417486191, 0.0017453149193897843, 0.044920437037944794, 0.01947428658604622, 0.05014112591743469, -0.03417859598994255, 0.08450751006603241, -0.012131523340940475, 0.07128678262233734, 0.047361765056848526, -0.08525869250297546, 0.07012245804071426, 0.0009102163603529334, -0.06400035321712494, 0.020788848400115967, -0.03883589804172516, -0.015436706133186817, 0.008765307255089283, 0.0464603528380394, 0.01098597701638937, -0.015201962552964687, 0.0454087033867836, 0.08570940047502518, 0.06133367493748665, -0.012403825297951698, -0.00901883002370596, -0.00313147297129035, 0.006361537612974644, -0.03894857317209244, -0.09074229001998901, -0.009615076705813408, -0.03121144138276577, 0.027474330738186836, 0.01912686787545681, 0.0053568375296890736, 0.01709868758916855, 0.04184060916304588, -0.034779537469148636, 0.07560605555772781, -0.041202109307050705, -0.011258278973400593, 0.02422548644244671, -0.03340863808989525, 0.004938994534313679, 0.037972044199705124, 0.05277024582028389, -0.02244143933057785, 0.08428215980529785, -0.016056427732110023, -0.053108278661966324, 0.010328696109354496, 0.054873544722795486, -0.03297670930624008, -0.06122099980711937, -0.00038145753205753863, -0.05198150873184204, 0.0040962668135762215, 0.010948417708277702, 0.004948384594172239, 0.018169116228818893, -0.03461052104830742, 0.022572895511984825, 0.04371855407953262, 0.03308938816189766, 0.03883589804172516, -0.012169081717729568, 0.00859629176557064, 0.0005079253460280597, 0.07207551598548889, 0.024413282051682472, 0.010037614963948727, -0.02771846391260624, -0.01625361107289791, 0.04845097288489342, -0.0016866291407495737, 0.022216087207198143, 0.0195681843906641, 0.04773735627532005, -0.020788848400115967, 0.044657524675130844, -0.041465021669864655, 0.03218797221779823, 0.012751244939863682, -0.03763401135802269, -0.011680816300213337, 0.021389789879322052, 0.0020727815572172403, 0.040188018232584, 0.006835718639194965, -0.04473264515399933, 0.0026549443136900663, -0.03701429069042206, 0.0037911010440438986, 0.0023028296418488026, 0.03089219145476818, 0.002882645232602954, 0.1012587770819664, 0.001201884588226676, -0.009718364104628563, 0.04390634968876839, 0.032018959522247314, 0.07962485402822495, -0.023680882528424263, -0.06933371722698212, -0.0059390002861619, -0.010554049164056778, -0.03981242701411247, 0.023211397230625153, -0.06565295159816742, 0.0015234827296808362, -0.016112765297293663, 0.06606609374284744, -0.027962597087025642, 0.013117443770170212, 0.018084608018398285, 0.01648835465312004, -0.02279824949800968, -0.024507177993655205, -0.049915771931409836, -0.0344415083527565, -0.024563517421483994, -0.002193674212321639, -0.009662025608122349, 0.017436716705560684, 0.006319283973425627, -0.00407044542953372, 0.02724897861480713, -0.043042492121458054, -0.026798270642757416, -0.015934361144900322, 0.00562444468960166, -0.013408525846898556, -0.04638523608446121, -0.028319407254457474, -0.008774696849286556, -0.03158703073859215, 0.08931504935026169, -0.001953062484972179, -0.02651657909154892, 0.03115510381758213, 0.005295804236084223, -0.027587007731199265, 0.03218797221779823, -0.05329607054591179, 0.0028849926311522722, 0.059493288397789, 0.020112788304686546, -0.009361554868519306, -0.00755403283983469, -0.000932516937609762, 0.029615188017487526, -0.0015270038275048137, -0.04833829775452614, 0.030291248112916946, -0.02229120396077633, -0.021540027111768723, 0.009586907923221588, -0.0091972341760993, -0.005948389880359173, 0.06937127560377121, 0.02587807923555374, -0.0391363687813282, 0.04687350243330002, -0.03325840085744858, 0.0367889367043972, 0.010967196896672249, -0.003661992261186242, 0.08856387436389923, 0.010300527326762676, -0.030554160475730896, -0.018469586968421936, 0.046948619186878204, -0.042817141860723495, -0.026497799903154373, 0.015727786347270012, 0.016826385632157326, -0.018723109737038612, 0.040112901479005814, -0.00007394407293759286, -0.04394390806555748, 0.036826495081186295, 0.0030023641884326935, 0.06460130214691162, 0.08368121832609177, -0.013126833364367485, 0.01067611575126648, 0.05464819073677063, 0.011474242433905602, 0.0120000671595335, 0.005089230369776487, 0.04300493374466896, 0.019145647063851357, -0.03699551150202751, -0.030591720715165138, -0.003457765793427825, 0.042817141860723495, 0.02651657909154892, 0.01692967116832733, 0.011042315512895584, 0.004906130488961935, -0.051230333745479584, -0.005220686551183462, -0.009718364104628563, 0.05295804142951965, 0.05085474252700806, -0.04604720324277878, -0.001093316008336842, 0.00755403283983469, 0.029896879568696022, 0.0341973751783371, -0.02631000615656376, -0.00783102959394455, -0.009924937970936298, 0.033164504915475845, 0.0600191131234169, 0.05224442109465599, 0.019493065774440765, 0.01657286286354065, -0.011521191336214542, 0.021483687683939934, 0.010112732648849487, 0.02176537923514843, 0.00879817083477974, -0.004415517672896385 ]
720,041
ibm_platform_services.usage_reports_v4
validate_reports_snapshot_config
Verify billing to COS authorization. Verify billing service to COS bucket authorization for the given account_id. If COS bucket information is not provided, COS bucket information is retrieved from the configuration file. :param str account_id: Account ID for which billing report snapshot is configured. :param str interval: (optional) Frequency of taking the snapshot of the billing reports. :param str cos_bucket: (optional) The name of the COS bucket to store the snapshot of the billing reports. :param str cos_location: (optional) Region of the COS instance. :param str cos_reports_folder: (optional) The billing reports root folder to store the billing reports snapshots. Defaults to "IBMCloud-Billing-Reports". :param List[str] report_types: (optional) The type of billing reports to take snapshot of. Possible values are [account_summary, enterprise_summary, account_resource_instance_usage]. :param str versioning: (optional) A new version of report is created or the existing report version is overwritten with every update. Defaults to "new". :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse with `dict` result representing a `SnapshotConfigValidateResponse` object
def validate_reports_snapshot_config( self, account_id: str, *, interval: str = None, cos_bucket: str = None, cos_location: str = None, cos_reports_folder: str = None, report_types: List[str] = None, versioning: str = None, **kwargs, ) -> DetailedResponse: """ Verify billing to COS authorization. Verify billing service to COS bucket authorization for the given account_id. If COS bucket information is not provided, COS bucket information is retrieved from the configuration file. :param str account_id: Account ID for which billing report snapshot is configured. :param str interval: (optional) Frequency of taking the snapshot of the billing reports. :param str cos_bucket: (optional) The name of the COS bucket to store the snapshot of the billing reports. :param str cos_location: (optional) Region of the COS instance. :param str cos_reports_folder: (optional) The billing reports root folder to store the billing reports snapshots. Defaults to "IBMCloud-Billing-Reports". :param List[str] report_types: (optional) The type of billing reports to take snapshot of. Possible values are [account_summary, enterprise_summary, account_resource_instance_usage]. :param str versioning: (optional) A new version of report is created or the existing report version is overwritten with every update. Defaults to "new". :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse with `dict` result representing a `SnapshotConfigValidateResponse` object """ if account_id is None: raise ValueError('account_id must be provided') headers = {} sdk_headers = get_sdk_headers( service_name=self.DEFAULT_SERVICE_NAME, service_version='V4', operation_id='validate_reports_snapshot_config', ) headers.update(sdk_headers) data = { 'account_id': account_id, 'interval': interval, 'cos_bucket': cos_bucket, 'cos_location': cos_location, 'cos_reports_folder': cos_reports_folder, 'report_types': report_types, 'versioning': versioning, } data = {k: v for (k, v) in data.items() if v is not None} data = json.dumps(data) headers['content-type'] = 'application/json' if 'headers' in kwargs: headers.update(kwargs.get('headers')) del kwargs['headers'] headers['Accept'] = 'application/json' url = '/v1/billing-reports-snapshot-config/validate' request = self.prepare_request( method='POST', url=url, headers=headers, data=data, ) response = self.send(request, **kwargs) return response
(self, account_id: str, *, interval: Optional[str] = None, cos_bucket: Optional[str] = None, cos_location: Optional[str] = None, cos_reports_folder: Optional[str] = None, report_types: Optional[List[str]] = None, versioning: Optional[str] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
[ -0.028032558038830757, -0.0691482350230217, -0.04467865824699402, -0.020246783271431923, -0.04460325092077255, -0.00922793336212635, -0.024808907881379128, 0.022904882207512856, -0.09938644617795944, -0.0016778061399236321, -0.006107968278229237, 0.02818337269127369, 0.027862893417477608, -0.03549785166978836, -0.021208222955465317, -0.02807026170194149, 0.02829648368060589, -0.043924588710069656, 0.0734841376543045, -0.02199999801814556, 0.007781061809509993, -0.025638386607170105, -0.029201367869973183, 0.0840788260102272, 0.008940444327890873, 0.02479005791246891, 0.0637943372130394, -0.01124507188796997, -0.024563835933804512, 0.0892065018415451, -0.002040702383965254, 0.027542412281036377, 0.06296485662460327, 0.022188514471054077, -0.027391599491238594, -0.053275056183338165, 0.062059976160526276, -0.014280203729867935, -0.1309065818786621, 0.06786631792783737, -0.04712938517332077, 0.03958868235349655, 0.05497171729803085, -0.01888945698738098, 0.022980287671089172, 0.038042839616537094, -0.029691513627767563, 0.03272664546966553, -0.06040102243423462, 0.00045362033415585756, 0.04626220464706421, -0.009604969061911106, -0.04505569115281105, 0.0006315337959676981, 0.06089116632938385, -0.0033131958916783333, -0.01097172126173973, 0.03003084473311901, 0.0640205591917038, -0.0058628953993320465, -0.037496138364076614, 0.018163666129112244, 0.004170950502157211, -0.03985260799527168, 0.02933333069086075, -0.04056897386908531, -0.02424335666000843, -0.01725878193974495, -0.020246783271431923, -0.006433160975575447, -0.004826049320399761, -0.00576392374932766, 0.007479433435946703, -0.012470435351133347, -0.013639244250953197, -0.057158518582582474, -0.04045586660504341, 0.08098713308572769, -0.04396229237318039, 0.014091686345636845, 0.024771206080913544, -0.021528704091906548, 0.03270779550075531, -0.045470431447029114, 0.02752356044948101, 0.02309339866042137, 0.012894599698483944, -0.02375321090221405, 0.01275321189314127, 0.06647128611803055, 0.026580974459648132, -0.018041128292679787, -0.005716794636100531, 0.002070158254355192, -0.010198798961937428, -0.009152526967227459, -0.028635814785957336, -0.01496829278767109, -0.0342913419008255, 0.015580975450575352, -0.0477326437830925, -0.07465294748544693, -0.00974635686725378, 0.06575492024421692, 0.02150985226035118, -0.0427180752158165, -0.0366855151951313, -0.038306765258312225, 0.006136246025562286, -0.002078405814245343, 0.04637531563639641, -0.034592967480421066, -0.01988860033452511, -0.0581011064350605, 0.02249014377593994, 0.0342913419008255, -0.05014566704630852, -0.027014564722776413, -0.06752698123455048, -0.04445243626832962, 0.057535555213689804, -0.03529048338532448, 0.03789202496409416, 0.04173778370022774, 0.031161950901150703, 0.050598107278347015, -0.01934189908206463, 0.03996571898460388, 0.014308481477200985, 0.01633504591882229, 0.042944297194480896, -0.01943615823984146, 0.00040266168070957065, -0.010585259646177292, 0.03992801532149315, -0.02823992818593979, 0.051955435425043106, 0.02927677519619465, -0.008134531788527966, -0.01889888383448124, 0.02032219059765339, 0.0316709466278553, -0.021528704091906548, -0.07834789156913757, -0.03351841866970062, 0.01177292037755251, 0.003346186364069581, 0.0011864822590723634, -0.04430162161588669, 0.01659896969795227, 0.0004356522695161402, -0.012592972256243229, -0.0316709466278553, -0.04882604256272316, -0.04837360233068466, -0.09772749245166779, 0.04445243626832962, 0.04916537553071976, 0.032311905175447464, 0.021095113828778267, 0.024922018870711327, 0.0427180752158165, 0.049127671867609024, -0.09373091906309128, 0.0023446870036423206, 0.016118250787258148, -0.0419263020157814, -0.022207366302609444, -0.014836330898106098, -0.039400167763233185, -0.03382004797458649, 0.048298195004463196, -0.05467008799314499, 0.008733075112104416, -0.0577617771923542, 0.04079519584774971, 0.03868379816412926, -0.004991001915186644, -0.03097343258559704, -0.019681232050061226, -0.009765208698809147, -0.039513278752565384, 0.011508995667099953, 0.027994854375720024, -0.0022351110819727182, 0.021057410165667534, -0.033065978437662125, 0.0525209866464138, -0.006833760999143124, -0.04516880214214325, -0.002007711911574006, 0.015901455655694008, 0.023112250491976738, -0.02452613227069378, -0.008949870243668556, -0.0743890255689621, -0.03710025176405907, -0.037213362753391266, 0.009510709904134274, 0.005966580472886562, 0.04166237637400627, -0.06232390180230141, -0.012385603040456772, -0.004613966681063175, 0.043170519173145294, -0.03932476043701172, 0.008445586077868938, -0.04765723645687103, 0.03037017583847046, 0.031482428312301636, -0.025317905470728874, 0.013582688756287098, -0.053275056183338165, -0.003756212070584297, -0.04958011582493782, 0.0263736043125391, 0.05915680527687073, -0.005080547649413347, -0.024865463376045227, -0.018107110634446144, 0.09697342664003372, -0.014836330898106098, 0.018380461260676384, -0.04837360233068466, -0.026128532364964485, 0.049391597509384155, 0.049994852393865585, -0.015109681524336338, -0.023734359070658684, -0.027165377512574196, 0.012517564930021763, 0.010029133409261703, 0.014817479066550732, -0.004781275987625122, -0.03382004797458649, -0.038589540868997574, 0.012300769798457623, 0.0318971686065197, 0.07559553533792496, 0.03510196506977081, 0.020887743681669235, 0.053652092814445496, 0.017767777666449547, 0.08347556740045547, 0.004373607225716114, -0.04015423730015755, -0.051201365888118744, 0.04920307919383049, -0.025317905470728874, -0.002117287600412965, -0.009275062941014767, -0.0423787422478199, -0.013903168961405754, 0.0006580440676771104, 0.0017543913563713431, -0.005061695817857981, -0.012310195714235306, -0.0587797686457634, 0.08106254041194916, -0.03217994421720505, 0.028579259291291237, -0.04350984841585159, 0.015769492834806442, -0.02130248211324215, -0.004397171549499035, -0.007875320501625538, 0.002015959471464157, -0.004887317307293415, 0.037251066416502, 0.04833589866757393, -0.044527843594551086, 0.0288808885961771, -0.020623819902539253, 0.014666665345430374, 0.005792201496660709, 0.006734789349138737, 0.02778748609125614, -0.016353897750377655, 0.04920307919383049, 0.008393744006752968, 0.05625363439321518, -0.02369665540754795, 0.051352180540561676, 0.027278488501906395, 0.05244557932019234, -0.038476429879665375, -0.059383027255535126, -0.026128532364964485, 0.026826046407222748, -0.012790915556252003, -0.004877891391515732, -0.02135903760790825, -0.021472148597240448, -0.049504708498716354, 0.006404883693903685, 0.004387745633721352, 0.01469494216144085, -0.04958011582493782, -0.00019381959282327443, 0.057535555213689804, -0.03127506002783775, 0.05040959268808365, 0.05335046350955963, -0.02916366420686245, -0.0010498070623725653, -0.007031704299151897, 0.03757154569029808, -0.037496138364076614, 0.04954241216182709, -0.006843186914920807, 0.01269665639847517, 0.019700083881616592, 0.01802227646112442, -0.04034275561571121, 0.0342913419008255, -0.02369665540754795, 0.020341042429208755, -0.031802911311388016, 0.01253641676157713, 0.015241643413901329, -0.03025706484913826, 0.025808051228523254, 0.009458867833018303, 0.0034875746350735426, 0.041586969047784805, -0.02610968053340912, 0.014647813513875008, 0.03325449302792549, -0.021321333944797516, -0.011876605451107025, -0.07408739626407623, -0.017268206924200058, 0.033838897943496704, 0.03909853845834732, 0.021151669323444366, -0.05259639397263527, -0.03219879791140556, -0.026524418964982033, 0.000025239995011361316, 0.0027759207878261805, 0.016862893477082253, 0.00473650312051177, 0.06884660571813583, 0.02375321090221405, -0.005636674351990223, 0.0042487140744924545, 0.05176691710948944, -0.015986287966370583, -0.057422444224357605, 0.02763667143881321, -0.07774463295936584, 0.016589544713497162, 0.01932304911315441, 0.07129733264446259, 0.04422621428966522, -0.033235643059015274, 0.031802911311388016, -0.009246785193681717, -0.01305484026670456, -0.00490145618095994, 0.014572406187653542, 0.03436674922704697, -0.07480376213788986, -0.031652096658945084, 0.04580976441502571, 0.020567264407873154, -0.049127671867609024, -0.041247639805078506, 0.04015423730015755, -0.029465291649103165, -0.028522703796625137, 0.03532818704843521, -0.03229305520653725, -0.0004330012307036668, 0.02922021970152855, 0.029031701385974884, -0.05512252822518349, 0.0029974288772791624, -0.04245414957404137, 0.02807026170194149, 0.003258997108787298, -0.009407025761902332, -0.012215936556458473, -0.004665809217840433, -0.004854326602071524, -0.05357668548822403, -0.05957154557108879, -0.025676090270280838, 0.004583332687616348, -0.0006715937633998692, 0.008733075112104416, 0.04441473260521889, 0.00685261283069849, -0.005716794636100531, -0.031425874680280685, -0.010434445925056934, 0.008832046762108803, 0.06172064319252968, 0.06658439338207245, -0.05086203292012215, -0.023847470059990883, 0.018634960055351257, -0.04418851062655449, 0.008511567488312721, -0.015562123619019985, -0.030483286827802658, 0.042416445910930634, -0.058892879635095596, 0.014496998861432076, -0.03031362034380436, 0.020623819902539253, -0.06764009594917297, -0.005924163851886988, 0.010556982830166817, -0.02413024567067623, 0.03063410148024559, 0.006612252909690142, 0.009623820893466473, -0.045960575342178345, -0.007366322912275791, -0.0022551410365849733, 0.04200170934200287, 0.034762635827064514, 0.029672661796212196, 0.02905055321753025, 0.019586972892284393, -0.011065979488193989, -0.0010792629327625036, -0.045357320457696915, -0.0642467811703682, 0.0525209866464138, 0.060099393129348755, -0.08196742832660675, 0.010915165767073631, -0.0174284465610981, 0.00517480680719018, -0.001091634389013052, 0.042265634983778, 0.016363322734832764, 0.04034275561571121, -0.020623819902539253, 0.002172664739191532, 0.01671208068728447, -0.015222791582345963, -0.00030869749025441706, 0.033933158963918686, -0.00037968612741678953, -0.09448499232530594, 0.039626386016607285, 0.012093400582671165, 0.004366537556052208, 0.0059995707124471664, -0.057422444224357605, -0.011160238645970821, -0.013856039382517338, -0.04558354243636131, -0.005570693407207727, 0.016796912997961044, -0.026317048817873, -0.03576177731156349, 0.0075359889306128025, -0.01763581670820713, -0.03576177731156349, 0.008209939114749432, -0.00794130191206932, 0.026317048817873, 0.043773774057626724, 0.04810967668890953, -0.005368037149310112, 0.0321233905851841, -0.0010592329781502485, 0.008761352859437466, -0.02861696295440197, 0.09199655801057816, 0.03248157352209091, 0.009821764193475246, 0.01747557707130909, 0.017107967287302017, -0.07665123045444489, -0.02348928526043892, 0.0023446870036423206, 0.06104198098182678, -0.026958009228110313, 0.0014940014807507396, 0.025676090270280838, -0.07616108655929565, -0.0028748924378305674, 0.010368464514613152, -0.06040102243423462, 0.018653810024261475, -0.0585535503923893, 0.0005623124889098108, -0.014751497656106949, 0.0047294339165091515, -0.051201365888118744, -0.005457582883536816, 0.035686369985342026, 0.03985260799527168, 0.04015423730015755, -0.03757154569029808, 0.03184061497449875, -0.010868036188185215, 0.02473350241780281, 0.011056553572416306, -0.006112681236118078, 0.004104969557374716, -0.03687402978539467, -0.003169451141729951, -0.012658952735364437, -0.004203941207379103, -0.07947899401187897, 0.03346186503767967, -0.010189373046159744, 0.003996571991592646, -0.03206683322787285, 0.03875920549035072, -0.021585259586572647, -0.020058266818523407, -0.03768465667963028, 0.0008442051475867629, -0.0026887315325438976, 0.023168805986642838, 0.04984403774142265, -0.03662895783782005, 0.02614738419651985, 0.041850894689559937, 0.04004112631082535, -0.0889802798628807, 0.0022681017871946096, -0.045960575342178345, -0.03436674922704697, 0.00316709466278553, -0.00774335814639926, -0.015260495245456696, -0.004540916532278061, 0.0339520089328289, -0.034743782132864, -0.005834618117660284, -0.02069922722876072, 0.01600513979792595, 0.000506051757838577, -0.0026675232220441103, 0.0032731357496231794, -0.024224504828453064, -0.06575492024421692, 0.033122532069683075, 0.05368979647755623, 0.013988002203404903, 0.021113965660333633, -0.025355609133839607, 0.10308139026165009, -0.010575834661722183, 0.09184575080871582, 0.032029129564762115, -0.0739365816116333, 0.07257925719022751, 0.025242500007152557, -0.0476195327937603, 0.051427584141492844, -0.06601884216070175, 0.00608911644667387, 0.004189802333712578, 0.027712078765034676, 0.00576392374932766, -0.057422444224357605, 0.015100255608558655, 0.09358011186122894, 0.026467863470315933, -0.006093829404562712, 0.01708911545574665, -0.006112681236118078, -0.009081833064556122, -0.04924078285694122, -0.07080718874931335, -0.027730930596590042, -0.03282090276479721, -0.0009590830304659903, 0.01839931309223175, -0.02413024567067623, 0.005829905159771442, 0.04942930117249489, -0.05444386601448059, 0.0731448084115982, -0.046224500983953476, -0.021604111418128014, 0.03229305520653725, -0.04618679732084274, -0.013856039382517338, 0.03740188106894493, 0.0522947683930397, -0.0067724925465881824, 0.09312766790390015, -0.022377032786607742, -0.034762635827064514, 0.012988858856260777, 0.049127671867609024, -0.007474720478057861, -0.05557497218251228, -0.0366855151951313, -0.04543272778391838, 0.01512853242456913, 0.028654666617512703, 0.033235643059015274, 0.009213794954121113, -0.03387660160660744, -0.006461438722908497, 0.043283626437187195, 0.006310625001788139, 0.05210625007748604, -0.029616106301546097, -0.0034734357614070177, -0.00996315199881792, 0.042416445910930634, 0.01937960274517536, 0.010142243467271328, -0.01512853242456913, -0.03860839456319809, 0.05056040361523628, 0.0015776562504470348, 0.04128534346818924, 0.05127677321434021, 0.03826906159520149, -0.0026133244391530752, 0.05188002809882164, -0.03821250796318054, 0.03276434913277626, 0.0012866322649642825, -0.02850385196506977, -0.012093400582671165, 0.007766922935843468, 0.013497856445610523, 0.03229305520653725, 0.00783290434628725, -0.07453984022140503, 0.00647086463868618, -0.037043698132038116, 0.03357497602701187, 0.01932304911315441, 0.03446100652217865, 0.004321764688938856, 0.057648666203022, -0.03676092252135277, -0.008162809535861015, 0.0639074444770813, 0.023357324302196503, 0.07137273997068405, -0.01721165142953396, -0.045621246099472046, 0.04777034372091293, -0.020623819902539253, -0.014072834514081478, 0.04980633407831192, -0.059722356498241425, -0.007564266212284565, -0.007781061809509993, 0.04675235226750374, -0.02118937112390995, 0.026524418964982033, 0.020510708913207054, 0.0025402738247066736, -0.01894601248204708, -0.022433588281273842, -0.04675235226750374, -0.024978574365377426, -0.02922021970152855, -0.026882601901888847, 0.020397597923874855, -0.0017414308385923505, -0.0369117334485054, 0.03500770777463913, 0.02605312503874302, -0.0646992176771164, -0.0054717217572033405, 0.0016683802241459489, 0.008751926943659782, -0.0007375748828053474, -0.05700770393013954, -0.0369117334485054, 0.006928019691258669, -0.027617819607257843, 0.07069408148527145, 0.007389887701719999, -0.026354752480983734, 0.012734360061585903, 0.027862893417477608, -0.038042839616537094, 0.018578404560685158, -0.0475064218044281, -0.02020908147096634, 0.04068208485841751, 0.013375319540500641, 0.008502141572535038, 0.01589202880859375, -0.0057309335097670555, -0.009793486446142197, 0.012489287182688713, -0.05244557932019234, 0.052784912288188934, -0.013959724456071854, -0.023225361481308937, 0.018173091113567352, -0.03431019186973572, -0.00819579977542162, 0.09682261198759079, 0.015166236087679863, -0.05014566704630852, 0.045131098479032516, -0.03924935311079025, 0.029898881912231445, -0.005858182441443205, 0.0044395881704986095, 0.06616965681314468, 0.025921162217855453, -0.029465291649103165, -0.021773776039481163, 0.03649699687957764, -0.03370693698525429, -0.0320102795958519, 0.029352180659770966, -0.01828620210289955, -0.014327333308756351, 0.02594001404941082, -0.011659810319542885, -0.02528020180761814, 0.04245414957404137, 0.01785261183977127, 0.044527843594551086, 0.055725786834955215, 0.027278488501906395, -0.00971807911992073, 0.061343610286712646, 0.013742929324507713, -0.02507283352315426, 0.035742927342653275, 0.01725878193974495, 0.026317048817873, -0.04882604256272316, -0.031482428312301636, -0.01272493414580822, 0.04388688504695892, 0.06273864209651947, 0.020793484523892403, 0.02861696295440197, -0.017296483740210533, -0.04264266788959503, 0.020020563155412674, -0.020850040018558502, 0.03259468451142311, 0.03434789553284645, -0.08257068693637848, -0.006140958983451128, 0.003207154804840684, 0.018163666129112244, 0.01779605634510517, -0.040380459278821945, 0.012065122835338116, -0.014864608645439148, 0.0367986261844635, 0.030162807554006577, 0.048411305993795395, 0.0076585253700613976, 0.026580974459648132, -0.02081233635544777, 0.0040955436415970325, 0.002209190046414733, 0.01960582472383976, 0.010594685561954975, 0.00149517972022295 ]
720,042
ibm_platform_services.user_management_v1
UserManagementV1
The User Management V1 service.
class UserManagementV1(BaseService): """The User Management V1 service.""" DEFAULT_SERVICE_URL = 'https://user-management.cloud.ibm.com' DEFAULT_SERVICE_NAME = 'user_management' @classmethod def new_instance( cls, service_name: str = DEFAULT_SERVICE_NAME, ) -> 'UserManagementV1': """ Return a new client for the User Management service using the specified parameters and external configuration. """ authenticator = get_authenticator_from_environment(service_name) service = cls(authenticator) service.configure_service(service_name) return service def __init__( self, authenticator: Authenticator = None, ) -> None: """ Construct a new client for the User Management service. :param Authenticator authenticator: The authenticator specifies the authentication mechanism. Get up to date information from https://github.com/IBM/python-sdk-core/blob/main/README.md about initializing the authenticator of your choice. """ BaseService.__init__(self, service_url=self.DEFAULT_SERVICE_URL, authenticator=authenticator) ######################### # Users ######################### def list_users( self, account_id: str, *, limit: int = None, include_settings: bool = None, search: str = None, start: str = None, user_id: str = None, **kwargs, ) -> DetailedResponse: """ List users. Retrieve users in the account. You can use the IAM service token or a user token for authorization. To use this method, the requesting user or service ID must have at least the viewer, editor, or administrator role on the User Management service. If unrestricted view is enabled, the user can see all users in the same account without an IAM role. If restricted view is enabled and user has the viewer, editor, or administrator role on the user management service, the API returns all users in the account. If unrestricted view is enabled and the user does not have these roles, the API returns only the current user. Users are returned in a paginated list with a default limit of 100 users. You can iterate through all users by following the `next_url` field. Additional substring search fields are supported to filter the users. :param str account_id: The account ID of the specified user. :param int limit: (optional) The number of results to be returned. :param bool include_settings: (optional) The user settings to be returned. Set to true to view language, allowed IP address, and authentication settings. :param str search: (optional) The desired search results to be returned. To view the list of users with the additional search filter, use the following query options: `firstname`, `lastname`, `email`, `state`, `substate`, `iam_id`, `realm`, and `userId`. HTML URL encoding for the search query and `:` must be used. For example, search=state%3AINVALID returns a list of invalid users. Multiple search queries can be combined to obtain `OR` results using `,` operator (not URL encoded). For example, search=state%3AINVALID,email%3Amail.test.ibm.com. :param str start: (optional) An optional token that indicates the beginning of the page of results to be returned. If omitted, the first page of results is returned. This value is obtained from the 'next_url' field of the operation response. :param str user_id: (optional) Filter users based on their user ID. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse with `dict` result representing a `UserList` object """ if not account_id: raise ValueError('account_id must be provided') headers = {} sdk_headers = get_sdk_headers( service_name=self.DEFAULT_SERVICE_NAME, service_version='V1', operation_id='list_users', ) headers.update(sdk_headers) params = { 'limit': limit, 'include_settings': include_settings, 'search': search, '_start': start, 'user_id': user_id, } if 'headers' in kwargs: headers.update(kwargs.get('headers')) del kwargs['headers'] headers['Accept'] = 'application/json' path_param_keys = ['account_id'] path_param_values = self.encode_path_vars(account_id) path_param_dict = dict(zip(path_param_keys, path_param_values)) url = '/v2/accounts/{account_id}/users'.format(**path_param_dict) request = self.prepare_request( method='GET', url=url, headers=headers, params=params, ) response = self.send(request, **kwargs) return response def invite_users( self, account_id: str, *, users: List['InviteUser'] = None, iam_policy: List['InviteUserIamPolicy'] = None, access_groups: List[str] = None, **kwargs, ) -> DetailedResponse: """ Invite users to an account. Invite users to the account. You must use a user token for authorization. Service IDs can't invite users to the account. To use this method, the requesting user must have the editor or administrator role on the User Management service. For more information, see the [Inviting users](https://cloud.ibm.com/docs/account?topic=account-iamuserinv) documentation. You can specify the user account role and the corresponding IAM policy information in the request body. <br/><br/>When you invite a user to an account, the user is initially created in the `PROCESSING` state. After the user is successfully created, all specified permissions are configured, and the activation email is sent, the invited user is transitioned to the `PENDING` state. When the invited user clicks the activation email and creates and confirms their IBM Cloud account, the user is transitioned to `ACTIVE` state. If the user email is already verified, no email is generated. :param str account_id: The account ID of the specified user. :param List[InviteUser] users: (optional) A list of users to be invited. :param List[InviteUserIamPolicy] iam_policy: (optional) A list of IAM policies. :param List[str] access_groups: (optional) A list of access groups. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse with `dict` result representing a `InvitedUserList` object """ if not account_id: raise ValueError('account_id must be provided') if users is not None: users = [convert_model(x) for x in users] if iam_policy is not None: iam_policy = [convert_model(x) for x in iam_policy] headers = {} sdk_headers = get_sdk_headers( service_name=self.DEFAULT_SERVICE_NAME, service_version='V1', operation_id='invite_users', ) headers.update(sdk_headers) data = { 'users': users, 'iam_policy': iam_policy, 'access_groups': access_groups, } data = {k: v for (k, v) in data.items() if v is not None} data = json.dumps(data) headers['content-type'] = 'application/json' if 'headers' in kwargs: headers.update(kwargs.get('headers')) del kwargs['headers'] headers['Accept'] = 'appl
(authenticator: ibm_cloud_sdk_core.authenticators.authenticator.Authenticator = None) -> None
[ 0.00212968816049397, -0.06691092997789383, -0.018298722803592682, -0.036000028252601624, 0.009431475773453712, -0.027149375528097153, -0.03436265513300896, -0.05810452997684479, -0.06332641839981079, 0.0038749261293560266, -0.0034572859294712543, -0.05708670616149902, 0.02338784746825695, 0.012136456556618214, -0.008076219819486141, 0.0817357748746872, 0.0291407722979784, -0.009708059020340443, 0.030247103422880173, -0.025622637942433357, 0.02029011957347393, 0.037880789488554, 0.05832579731941223, 0.07014141976833344, 0.034915823489427567, -0.01516780536621809, 0.002482331357896328, -0.011848810128867626, 0.06739771366119385, 0.03192872554063797, -0.03467242792248726, 0.010676098987460136, 0.000910649134311825, 0.011649671010673046, 0.013364484533667564, -0.011505847796797752, 0.05456427112221718, 0.04471791908144951, -0.03551324084401131, 0.029406292364001274, -0.0312870554625988, 0.02803444117307663, 0.09948132932186127, -0.02414015308022499, 0.015123551711440086, 0.0368850938975811, 0.0067984070628881454, 0.028322085738182068, 0.05359070003032684, 0.020102042704820633, 0.05527232214808464, -0.014382309280335903, -0.005545486696064472, -0.0530596598982811, -0.023011695593595505, 0.00413491390645504, -0.03294655308127403, -0.05407748371362686, -0.00974678061902523, -0.026507703587412834, -0.03872160241007805, -0.020367562770843506, 0.007290724664926529, -0.02133007161319256, -0.013110028579831123, 0.018298722803592682, -0.030202850699424744, -0.023166581988334656, -0.01793363317847252, 0.020810095593333244, 0.027392767369747162, -0.002720192540436983, -0.01568778045475483, -0.0015640761703252792, 0.003944071941077709, 0.02982669696211815, 0.007467737887054682, -0.018752319738268852, -0.06899083405733109, -0.049607906490564346, 0.016429023817181587, 0.023564860224723816, 0.007600497454404831, 0.013032585382461548, 0.06965462863445282, 0.07160177826881409, -0.0026095593348145485, -0.05752923712134361, -0.03363247960805893, 0.0447843000292778, -0.016074996441602707, -0.020500322803854942, -0.007816231809556484, 0.04027046635746956, 0.03414139151573181, -0.03732762485742569, 0.004336819518357515, -0.00747326947748661, -0.03923051431775093, 0.027149375528097153, -0.014349119737744331, -0.07186729460954666, -0.03529197350144386, 0.0648752823472023, 0.04097851738333702, -0.052749887108802795, -0.032902300357818604, -0.0072851930744946, 0.07810700684785843, 0.003330057952553034, -0.08319612592458725, -0.0027575313579291105, 0.012335596606135368, -0.05403323099017143, -0.0006254230393096805, 0.025312865152955055, 0.060140181332826614, 0.06314940005540848, 0.007395826280117035, -0.012921951711177826, 0.008784271776676178, -0.030158596113324165, 0.028897378593683243, -0.0025998789351433516, 0.03881010785698891, -0.020124170929193497, -0.04951939731836319, -0.0091438302770257, 0.07894781976938248, -0.001198295271024108, -0.03717273846268654, -0.08638236671686172, -0.007213281467556953, 0.0033770769368857145, 0.0309772826731205, -0.024759698659181595, -0.04471791908144951, 0.0434788279235363, 0.01429380290210247, 0.06828278303146362, 0.012324533425271511, 0.017369404435157776, -0.055449336767196655, 0.006964356638491154, -0.02279042825102806, -0.00829748623073101, 0.06651265174150467, 0.036752332001924515, -0.05031595751643181, -0.04797053337097168, -0.027901681140065193, -0.04628891125321388, -0.051555048674345016, -0.0398721881210804, -0.0312870554625988, 0.00331069715321064, 0.019128471612930298, -0.07841677963733673, 0.000569069292396307, -0.02298956923186779, 0.003092196537181735, -0.021296881139278412, -0.034606050699949265, 0.0325925275683403, -0.01189306378364563, -0.00285433535464108, -0.030158596113324165, 0.00444745272397995, -0.05730797350406647, -0.01521205808967352, -0.02763616107404232, -0.018298722803592682, -0.005481872707605362, -0.011749240569770336, -0.03363247960805893, 0.014835905283689499, 0.0210866779088974, -0.05297115445137024, -0.01429380290210247, 0.005412727128714323, -0.04341244697570801, -0.05385621637105942, 0.014658892527222633, -0.05226309970021248, -0.009586362168192863, 0.036000028252601624, 0.013076838105916977, 0.07788573950529099, -0.010836517438292503, 0.0315968282520771, -0.026109423488378525, 0.006516292691230774, 0.054387256503105164, 0.03199510648846626, -0.04686420410871506, 0.016373706981539726, 0.009320843033492565, 0.0342741496860981, -0.06314940005540848, -0.06536206603050232, -0.05421024560928345, 0.04748374968767166, 0.027768921107053757, -0.02854335308074951, 0.0167941115796566, -0.018165962770581245, -0.013519370928406715, -0.060051675885915756, -0.004320224747061729, -0.04996193200349808, -0.04102277383208275, -0.03062325529754162, -0.006510761100798845, 0.02953905053436756, -0.019670573994517326, 0.053988978266716, 0.027149375528097153, 0.002341274172067642, 0.04042535275220871, 0.0007156581850722432, 0.07124774903059006, -0.07138051092624664, -0.039650920778512955, -0.056334398686885834, -0.005880151875317097, 0.07160177826881409, 0.018807636573910713, -0.022115567699074745, 0.02418440766632557, 0.00725753465667367, 0.02243640273809433, 0.025003092363476753, 0.06611437350511551, 0.03867734968662262, -0.07465524971485138, -0.0023938247468322515, 0.017867254093289375, 0.018077457323670387, -0.013995093293488026, 0.04009345546364784, 0.025866029784083366, 0.06018443405628204, 0.04102277383208275, -0.008253233507275581, -0.04031471908092499, -0.004552554339170456, 0.016915809363126755, 0.01531162764877081, -0.018221279606223106, -0.030468368902802467, -0.01157222781330347, -0.027370641008019447, 0.030025837942957878, -0.012789192609488964, -0.03013646975159645, -0.06252985447645187, -0.025246484205126762, -0.01568778045475483, 0.014083599671721458, -0.03117642179131508, -0.004408731125295162, -0.045248959213495255, -0.03498220071196556, 0.05788326635956764, 0.022967442870140076, 0.015322691760957241, -0.028454845771193504, 0.05058147758245468, -0.005008915904909372, 0.004569149110466242, 0.16559569537639618, 0.03692934662103653, -0.016074996441602707, -0.01884082518517971, -0.022370023652911186, 0.007871548645198345, 0.012778128497302532, -0.05062573030591011, -0.06863680481910706, 0.001851722365245223, -0.021407514810562134, -0.014017220586538315, 0.015875857323408127, 0.04471791908144951, 0.07191155105829239, 0.0003910190425813198, 0.013596814125776291, 0.03164108097553253, -0.022923188284039497, 0.016218820586800575, 0.027569781988859177, 0.034451164305210114, -0.045448098331689835, -0.08647087216377258, -0.0232329610735178, 0.027968060225248337, -0.06080397963523865, -0.013773826882243156, 0.03133130818605423, 0.002989860950037837, -0.028720365837216377, 0.06040570139884949, -0.006140139885246754, -0.04396561533212662, 0.007644750643521547, -0.052351608872413635, 0.027392767369747162, -0.009409349411725998, -0.017679177224636078, 0.028521226719021797, -0.015189931727945805, -0.023564860224723816, -0.06000741943717003, -0.0579717718064785, 0.05173205956816673, -0.02633069083094597, 0.031021535396575928, 0.012988331727683544, 0.06465401500463486, 0.04243887588381767, -0.032504018396139145, -0.0075562442652881145, -0.003847267711535096, -0.05182056874036789, 0.07120349258184433, -0.007965587079524994, 0.01306577492505312, 0.09275483340024948, -0.015920110046863556, 0.004914877936244011, 0.007163496688008308, -0.045248959213495255, -0.02748127467930317, 0.018110645934939384, -0.02533499151468277, -0.04783777520060539, 0.02513585239648819, 0.012479419820010662, 0.01076460536569357, 0.00949785578995943, -0.028720365837216377, -0.03807993233203888, -0.03418564423918724, 0.02962755784392357, -0.018874015659093857, -0.04823605343699455, 0.08686915040016174, -0.007025205064564943, -0.015532894060015678, 0.03363247960805893, -0.0065218242816627026, -0.013906586915254593, 0.0786822959780693, 0.023609114810824394, 0.034451164305210114, -0.057750504463911057, -0.06930060684680939, -0.007429016288369894, 0.03954028710722923, -0.0035651533398777246, -0.0553608275949955, -0.004912111908197403, -0.005216353107243776, 0.01909528113901615, -0.02489245869219303, -0.024051647633314133, 0.0025708377361297607, -0.026374943554401398, 0.0654948279261589, -0.014260613359510899, -0.015012918971478939, -0.04042535275220871, -0.025556256994605064, 0.019571004435420036, 0.056998200714588165, 0.008734486997127533, -0.054387256503105164, 0.007644750643521547, -0.11107568442821503, 0.050846997648477554, 0.015853730961680412, 0.03613278642296791, -0.019526751711964607, 0.030224977061152458, 0.08381567150354385, -0.0017632158705964684, 0.030645383521914482, -0.023852506652474403, -0.0046770162880420685, -0.013995093293488026, -0.016528593376278877, 0.015654589980840683, -0.023365721106529236, 0.0182876605540514, -0.0030977281276136637, -0.022768301889300346, -0.01334235817193985, -0.006792875472456217, 0.01818808913230896, -0.06261835992336273, 0.0007011375855654478, 0.02314445562660694, 0.04058023914694786, 0.0507584884762764, -0.020754778757691383, 0.007080521434545517, 0.02878674678504467, -0.03416351601481438, -0.05558209493756294, 0.07970011979341507, -0.016628162935376167, -0.049298133701086044, -0.0487670935690403, -0.04352308064699173, -0.02003566361963749, -0.00039966226904653013, -0.07155752182006836, 0.07731044292449951, 0.03586726635694504, 0.06699943542480469, 0.015543957240879536, -0.06438849121332169, 0.001511525479145348, 0.03487157076597214, -0.04323543608188629, 0.005468043498694897, -0.010642909444868565, -0.006732027046382427, -0.002037032973021269, -0.05133378133177757, 0.04841306805610657, 0.01574309729039669, 0.03569025546312332, -0.04633316397666931, -0.009276589378714561, -0.03803567588329315, -0.017258770763874054, -0.062441349029541016, -0.023520607501268387, 0.013154281303286552, 0.013961903750896454, 0.004997852724045515, 0.006754153873771429, -0.027060868218541145, 0.003061772556975484, 0.0067486222833395, -0.058193039149045944, 0.04474004730582237, 0.06460975855588913, 0.0019568237476050854, 0.010012299753725529, 0.001551629975438118, 0.0275255274027586, 0.0019789505749940872, -0.020400753244757652, -0.050138942897319794, 0.030269229784607887, 0.03617703914642334, 0.024073773995041847, -0.009055322967469692, 0.004240015521645546, -0.04303629696369171, -0.02114199474453926, 0.036354053765535355, 0.038854364305734634, 0.005152739118784666, 0.019548878073692322, 0.020168423652648926, 0.011505847796797752, 0.018564242869615555, -0.01983652450144291, -0.027105122804641724, 0.015720970928668976, 0.02179473079741001, 0.051555048674345016, 0.006062696687877178, 0.012379849329590797, 0.0365753211081028, -0.002377229742705822, -0.027901681140065193, 0.03752676397562027, -0.03604428097605705, 0.05637865513563156, -0.02728213556110859, 0.0019305484602227807, -0.048944104462862015, 0.04686420410871506, -0.026861729100346565, -0.01494653895497322, -0.05460852384567261, 0.01959313079714775, 0.018309786915779114, -0.004555319901555777, 0.05151079595088959, -0.04947514459490776, -0.048059042543172836, 0.0009127234807237983, -0.009890603832900524, 0.04398773983120918, 0.011904126964509487, 0.02597666345536709, 0.031309179961681366, 0.02803444117307663, 0.022679796442389488, 0.05978615581989288, 0.04717397689819336, -0.004807010293006897, -0.006770748645067215, -0.04277077689766884, -0.057750504463911057, -0.03148619458079338, 0.0011021827813237906, 0.006400127895176411, -0.043500956147909164, -0.05952063575387001, 0.011727114208042622, -0.02533499151468277, 0.08023115992546082, 0.021606653928756714, -0.018309786915779114, 0.008430246263742447, 0.02708299458026886, -0.01194838061928749, 0.03792504593729973, 0.022657670080661774, 0.008623854257166386, -0.049652159214019775, -0.045448098331689835, 0.03881010785698891, 0.014083599671721458, -0.0099680470302701, 0.026972362771630287, -0.03438478335738182, -0.0576619990170002, 0.006483102682977915, -0.03431840240955353, -0.06146777793765068, -0.046642936766147614, 0.027968060225248337, -0.013707447797060013, 0.03637617826461792, 0.06403446942567825, -0.052749887108802795, -0.07593859732151031, -0.07416846603155136, -0.021949617192149162, -0.025644764304161072, 0.018365103751420975, 0.006754153873771429, -0.04327968880534172, 0.05991891399025917, -0.02017948590219021, 0.005434853490442038, 0.036000028252601624, -0.030070090666413307, 0.01848679967224598, -0.0029815633315593004, -0.0038942869286984205, -0.028454845771193504, 0.00353472912684083, -0.013884460553526878, 0.055095307528972626, -0.04170869663357735, -0.02823358029127121, -0.01194838061928749, 0.013353421352803707, -0.011157353408634663, 0.031906601041555405, 0.02343210205435753, -0.004085129126906395, -0.0007391677354462445, -0.002407653955742717, -0.032304879277944565, 0.02962755784392357, -0.02303382195532322, -0.007611560635268688, 0.025512004271149635, -0.015820540487766266, 0.07151326537132263, -0.016860492527484894, 0.015112488530576229, -0.013807017356157303, 0.011760303750634193, -0.05230735242366791, 0.005935468710958958, 0.017059631645679474, -0.04031471908092499, 0.012955142185091972, 0.018553178757429123, 0.04801478609442711, -0.03858884423971176, -0.06460975855588913, -0.04007132723927498, 0.014924411661922932, -0.003736634738743305, 0.0771334320306778, -0.0032221905421465635, 0.00854641105979681, -0.006311621051281691, 0.020522449165582657, -0.016063934192061424, 0.039053503423929214, 0.01129564456641674, -0.01719239167869091, 0.010742479003965855, -0.011290113441646099, -0.03748251125216484, -0.02063308283686638, -0.014338056556880474, 0.016473276540637016, -0.0028405061457306147, -0.019427182152867317, -0.0042483131401240826, 0.023764001205563545, -0.04462941363453865, 0.01923910528421402, -0.017612798139452934, 0.04184145852923393, 0.05328092724084854, -0.058547064661979675, -0.014172106981277466, 0.004345117136836052, -0.02169516123831272, 0.031950853765010834, -0.05690969154238701, -0.002574986545369029, 0.028565479442477226, 0.05646716058254242, -0.02989307790994644, 0.014835905283689499, -0.05717521160840988, 0.03283591940999031, -0.01499079167842865, 0.012999394908547401, 0.057042453438043594, 0.013674257323145866, 0.030601128935813904, -0.036199167370796204, 0.013320231810212135, 0.0053850687108933926, 0.011179479770362377, 0.01413891650736332, 0.00877320859581232, -0.025246484205126762, -0.023808253929018974, 0.0654948279261589, -0.04162019118666649, -0.041398923844099045, 0.06031719222664833, 0.02098710834980011, -0.0428592823445797, 0.03436265513300896, 0.0030147533398121595, -0.003111557336524129, -0.0662471279501915, 0.0012819616822525859, -0.08580707013607025, 0.02068839967250824, -0.02243640273809433, 0.013032585382461548, -0.01973695494234562, -0.014714209362864494, 0.06739771366119385, -0.036553192883729935, -0.016329452395439148, 0.027813173830509186, 0.05252861976623535, -0.03803567588329315, 0.03108791448175907, 0.03367673233151436, 0.024206534028053284, 0.006632457487285137, 0.03673020750284195, 0.05261712521314621, -0.011262455023825169, 0.03243764117360115, -0.01659497246146202, -0.036907218396663666, -0.003271975554525852, 0.047395240515470505, 0.008441309444606304, -0.011483721435070038, 0.021916426718235016, 0.039695173501968384, -0.004618933890014887, -0.06301664561033249, 0.0530596598982811, -0.012667495757341385, -0.05522806942462921, -0.025866029784083366, -0.01963738352060318, -0.0051416754722595215, 0.006743090692907572, 0.02478182502090931, -0.01499079167842865, 0.02178366668522358, -0.038655221462249756, -0.014559322968125343, -0.011135227046906948, 0.06443274766206741, 0.026817476376891136, -0.02807869389653206, 0.029450545087456703, 0.04266014322638512, 0.011030125431716442, 0.04934238642454147, -0.009204678237438202, -0.07425697147846222, 0.0266847163438797, 0.0040934267453849316, 0.018752319738268852, 0.04029259458184242, 0.0398721881210804, -0.03903137519955635, 0.003980027511715889, 0.023852506652474403, -0.030247103422880173, 0.002760297153145075, -0.006256304681301117, 0.04597913846373558, 0.042461004108190536, -0.027614034712314606, 0.03137556090950966, -0.036907218396663666, -0.04717397689819336, -0.035203468054533005, -0.040646620094776154, 0.019316548481583595, 0.0010793646797537804, 0.053236670792102814, -0.022126629948616028, -0.021319007501006126, -0.04263801500201225, 0.09602957218885422, 0.026994489133358, -0.06876956671476364, 0.007500927429646254, -0.005102953873574734, -0.013231724500656128, 0.04268227145075798, -0.02124156430363655, -0.0000831909419503063, 0.002037032973021269, 0.029317785054445267, -0.08160301297903061, 0.0329686775803566, 0.03648681193590164, -0.026507703587412834, 0.04571361839771271, 0.034650303423404694, -0.001074524479918182, -0.044496651738882065, -0.022724049165844917, 0.014249550178647041, 0.014913348481059074, 0.006660115905106068, -0.02834421396255493, 0.03498220071196556, -0.03668595105409622, -0.007412421051412821, 0.0105433389544487, 0.002431163564324379, 0.0003369125188328326, 0.01649540290236473, 0.025711143389344215, 0.04836881533265114, 0.020124170929193497, 0.05341368541121483 ]
720,043
ibm_platform_services.user_management_v1
__init__
Construct a new client for the User Management service. :param Authenticator authenticator: The authenticator specifies the authentication mechanism. Get up to date information from https://github.com/IBM/python-sdk-core/blob/main/README.md about initializing the authenticator of your choice.
def __init__( self, authenticator: Authenticator = None, ) -> None: """ Construct a new client for the User Management service. :param Authenticator authenticator: The authenticator specifies the authentication mechanism. Get up to date information from https://github.com/IBM/python-sdk-core/blob/main/README.md about initializing the authenticator of your choice. """ BaseService.__init__(self, service_url=self.DEFAULT_SERVICE_URL, authenticator=authenticator)
(self, authenticator: Optional[ibm_cloud_sdk_core.authenticators.authenticator.Authenticator] = None) -> NoneType
[ -0.02048785611987114, -0.0619632713496685, 0.0205063633620739, -0.0039930036291480064, 0.0037732264026999474, -0.049489185214042664, 0.00018623220967128873, 0.024855637922883034, -0.020820992067456245, 0.016638286411762238, -0.006611821707338095, 0.009355565533041954, -0.04301154240965843, -0.005353308282792568, -0.01621261239051819, 0.06821881979703903, 0.0018600085750222206, -0.01196513045579195, -0.015870222821831703, -0.07750961184501648, 0.027983414009213448, 0.035645537078380585, 0.04008734971284866, 0.06758956611156464, 0.03697808086872101, 0.05096978694200516, -0.02950103208422661, -0.0021353084594011307, 0.03625628724694252, -0.02239413373172283, -0.012409310787916183, 0.021080097183585167, -0.0004537241184152663, 0.050710681825876236, 0.05130292475223541, -0.0238192155957222, 0.03533091023564339, 0.03879182040691376, -0.07195734977722168, -0.003576583694666624, -0.0026026240084320307, 0.007393765728920698, 0.08491263538599014, -0.022060997784137726, 0.040346454828977585, 0.04582469165325165, 0.046972159296274185, 0.018433518707752228, 0.018738891929388046, 0.016286643221974373, -0.02950103208422661, 0.008147948421537876, -0.008971533738076687, -0.005311666522175074, -0.06510955840349197, 0.021209649741649628, 0.027150573208928108, -0.02461504004895687, -0.09172341227531433, 0.043936919420957565, -0.08987265825271606, -0.018711131066083908, 0.002226689364761114, -0.01619410514831543, -0.016388434916734695, -0.008041529916226864, -0.05311666429042816, 0.022079505026340485, 0.02074696123600006, 0.028261026367545128, 0.06285163760185242, 0.015666639432311058, -0.02604012005031109, -0.01645321026444435, 0.03788495063781738, 0.004203526768833399, -0.018350234255194664, -0.022653238847851753, -0.03584912046790123, -0.014445141889154911, 0.005362562369555235, -0.0009074482368305326, -0.009568402543663979, 0.0299081988632679, 0.03627479448914528, 0.028890283778309822, 0.010503034107387066, -0.050155457109212875, -0.018461279571056366, 0.06448029726743698, -0.03527538850903511, -0.025262802839279175, 0.0021110172383487225, 0.03362821415066719, -0.004286810755729675, -0.02794639766216278, -0.020672932267189026, -0.00181720987893641, -0.019432926550507545, 0.025577431544661522, 0.007671379018574953, -0.016369925811886787, -0.0024615039583295584, 0.010900946334004402, 0.029278941452503204, -0.009392580948770046, -0.008110933005809784, -0.026780422776937485, 0.03510881960391998, 0.026632362976670265, 0.017961576581001282, 0.01259438693523407, -0.031111188232898712, 0.023189958184957504, -0.02839057892560959, 0.03856972977519035, 0.08580099791288376, 0.01717500574886799, 0.05637399107217789, 0.03555300086736679, -0.035775091499090195, -0.05467129871249199, 0.019303372129797935, -0.003708450123667717, 0.03127775713801384, -0.017785754054784775, -0.005145098548382521, 0.01155796367675066, 0.0016020596958696842, 0.0019178447546437383, 0.04245631769299507, -0.06681224703788757, 0.016425449401140213, -0.005381069611757994, 0.029408494010567665, -0.01686037704348564, 0.030907606706023216, 0.030944621190428734, -0.009036310948431492, 0.1143026202917099, -0.004714798182249069, 0.03359119966626167, -0.06788568943738937, 0.035478971898555756, -0.013186627998948097, 0.019414417445659637, -0.007722274400293827, 0.017119482159614563, -0.017822768539190292, -0.014315588399767876, -0.04889694228768349, -0.00981825403869152, 0.012834984809160233, -0.00782406609505415, -0.02104308269917965, 0.012760954909026623, 0.017887545749545097, -0.08239560574293137, 0.010632586665451527, -0.01978456974029541, 0.00006849961937405169, -0.02239413373172283, 0.015546340495347977, -0.04826768487691879, -0.022893836721777916, -0.0018137397710233927, -0.0544862225651741, -0.030963128432631493, -0.042678408324718475, -0.001811426249332726, -0.050747696310281754, -0.06211133301258087, -0.0606677420437336, -0.038976896554231644, 0.0450843870639801, -0.0015442235162481666, 0.0544862225651741, -0.02091353014111519, -0.021061589941382408, 0.033702246844768524, 0.002185047371312976, 0.0009861052967607975, -0.007426153868436813, -0.04567662999033928, 0.01017915178090334, 0.008129440248012543, 0.06762658059597015, 0.046453945338726044, 0.03164790943264961, 0.0049276347272098064, -0.011271096765995026, 0.034646131098270416, 0.01266841683536768, 0.04937813803553581, 0.014019467867910862, -0.001925941789522767, 0.02559593878686428, -0.006079729646444321, -0.04415901005268097, 0.0016402314649894834, -0.027428187429904938, 0.0882439911365509, 0.0006512343534268439, -0.0015696714399382472, 0.06955136358737946, -0.019192326813936234, -0.0008964593871496618, -0.032887913286685944, -0.035645537078380585, -0.05892803519964218, -0.02740967832505703, -0.03960615396499634, -0.008966906927525997, 0.02241264097392559, -0.04308557137846947, 0.04134586453437805, 0.046564992517232895, -0.0074400343000888824, 0.018461279571056366, 0.043640799820423126, 0.07206839323043823, 0.0351458340883255, 0.03916197270154953, -0.05718832463026047, -0.020709946751594543, 0.05637399107217789, -0.01674007810652256, -0.053227707743644714, -0.0431596040725708, -0.020802484825253487, 0.014408126473426819, 0.021672340109944344, -0.005431965459138155, 0.051562029868364334, -0.043640799820423126, -0.06744150817394257, 0.010752885602414608, -0.010068106465041637, -0.05940923094749451, 0.027076544240117073, 0.01993262954056263, 0.06758956611156464, 0.04623185470700264, 0.025929074734449387, -0.06681224703788757, -0.00851347204297781, -0.016092313453555107, 0.0074030193500220776, 0.021672340109944344, 0.012335280887782574, -0.04278945177793503, -0.0215798020362854, 0.0007593878544867039, -0.016221866011619568, 0.001165975583717227, -0.040457502007484436, -0.05866893008351326, -0.002956580836325884, 0.028723714873194695, 0.0132976733148098, -0.005274651106446981, -0.0015823954017832875, -0.03734823316335678, 0.06614597886800766, -0.006436000112444162, -0.005316293332725763, 0.009369445964694023, 0.012427818961441517, 0.06907016783952713, 0.000028719232432194985, 0.1587207317352295, 0.02641027234494686, 0.00850884523242712, 0.004441811703145504, -0.020302779972553253, -0.04856380820274353, -0.004124870058149099, -0.013991707004606724, -0.07069883495569229, -0.012927522882819176, -0.009387954138219357, 0.0039374809712171555, 0.06170416623353958, 0.05367188900709152, -0.024466978386044502, -0.006352716125547886, 0.021339204162359238, -0.02409682795405388, -0.037274204194545746, 0.0056401751935482025, 0.014260065741837025, 0.041308846324682236, -0.012427818961441517, -0.05507846549153328, -0.013445734046399593, -0.03372075408697128, -0.047120217233896255, -0.03125924989581108, 0.0004441811761353165, -0.04082765057682991, -0.02976013720035553, 0.028668193146586418, -0.038680776953697205, 0.0030375514179468155, 0.010419749654829502, -0.038939882069826126, 0.004626886919140816, 0.02378219924867153, -0.0334431417286396, 0.02644728682935238, 0.0004971011658199131, 0.00013548103743232787, -0.049748290330171585, -0.038273610174655914, 0.03533091023564339, 0.0459357351064682, 0.03527538850903511, -0.04563961550593376, 0.037977490574121475, 0.03849570080637932, -0.042826466262340546, 0.01397319883108139, -0.01383439265191555, -0.03681151196360588, -0.03224014863371849, -0.0028825507033616304, -0.014639470726251602, 0.08506069332361221, -0.04008734971284866, 0.021006068214774132, -0.04967426136136055, 0.010086613707244396, -0.004518155474215746, -0.008268247358500957, -0.045602601021528244, -0.07684334367513657, 0.03403538092970848, -0.04053153097629547, -0.05311666429042816, -0.015666639432311058, 0.0276687853038311, -0.04541752487421036, -0.04715723171830177, 0.014408126473426819, -0.022098012268543243, -0.016416195780038834, 0.02354160137474537, -0.06818180531263351, 0.021505771204829216, -0.061667151749134064, -0.013029313646256924, 0.03731121867895126, 0.015324249863624573, 0.03298044949769974, 0.041308846324682236, 0.002174637047573924, -0.045306477695703506, -0.0025008325465023518, 0.008101679384708405, -0.03172193840146065, -0.001311722444370389, 0.014852307736873627, 0.029019836336374283, 0.019303372129797935, -0.06277760118246078, -0.042974527925252914, 0.019673524424433708, -0.007407646160572767, 0.07351198047399521, 0.0348312072455883, 0.008666159585118294, -0.08668936043977737, 0.026188181713223457, 0.03459060937166214, 0.022912345826625824, 0.03510881960391998, -0.03890286758542061, -0.025355340912938118, -0.07765766978263855, 0.011983637697994709, -0.016971422359347343, 0.05674414336681366, 0.004578304942697287, 0.05648503825068474, 0.04271542280912399, -0.0107899010181427, -0.0010208069579675794, 0.02367115393280983, 0.012464833445847034, 0.03527538850903511, -0.0365338996052742, -0.02533683367073536, -0.011391395702958107, -0.0026627734769135714, 0.019821584224700928, 0.0007588095031678677, -0.05685519054532051, -0.009443476796150208, -0.0009236423647962511, -0.03808853402733803, 0.030259842053055763, -0.013427226804196835, 0.08928041160106659, 0.01093796081840992, -0.02365264669060707, 0.024411456659436226, 0.0028362818993628025, -0.03942107781767845, 0.00837466586381197, 0.014112005941569805, -0.023893244564533234, -0.002743744058534503, -0.01757291704416275, -0.02753923274576664, -0.026114150881767273, -0.010688109323382378, -0.08520875126123428, 0.030815068632364273, 0.037570323795080185, 0.018489040434360504, 0.0007108055287972093, 0.008943772874772549, -0.006287939380854368, 0.007722274400293827, -0.021487263962626457, 0.033128511160612106, 0.004629200324416161, 0.01838724873960018, 0.005593906622380018, -0.0572623535990715, 0.040198396891355515, 0.059557292610406876, 0.044344086199998856, -0.05766952037811279, -0.01757291704416275, 0.02948252484202385, -0.052228301763534546, -0.04093869775533676, -0.010336466133594513, -0.026946989819407463, -0.05655906721949577, -0.06170416623353958, -0.011095275171101093, -0.04360378533601761, 0.012390803545713425, -0.01674007810652256, -0.07617706805467606, 0.04915604740381241, 0.08128515630960464, 0.01258513331413269, 0.010077360086143017, -0.047934550791978836, 0.011169305071234703, -0.03181447461247444, -0.009910792112350464, -0.051525015383958817, 0.019895615056157112, 0.03262880817055702, 0.031499847769737244, -0.011826323345303535, 0.00181720987893641, -0.059557292610406876, 0.012492595240473747, -0.015722163021564484, 0.03573807701468468, 0.029815660789608955, 0.030555961653590202, 0.02239413373172283, -0.0020797858014702797, 0.005834504496306181, -0.013862153515219688, -0.004997038282454014, 0.034405533224344254, 0.054190102964639664, 0.022764284163713455, 0.02946401759982109, 0.023634139448404312, -0.01086393091827631, -0.05578175187110901, -0.0023539287503808737, 0.01592574454843998, 0.011520949192345142, 0.01087318453937769, 0.0126591632142663, -0.04375184327363968, -0.015046636573970318, 0.005445845890790224, -0.05755847692489624, 0.05781758204102516, -0.060408636927604675, 0.015481564216315746, 0.1046786904335022, -0.0220054741948843, 0.05034053325653076, 0.0484897755086422, -0.018479786813259125, 0.029130881652235985, 0.0055291298776865005, 0.034405533224344254, 0.05885400250554085, 0.007477049715816975, 0.003652927465736866, 0.02561444789171219, -0.02852013148367405, 0.06533164530992508, 0.006250924430787563, -0.09890434145927429, -0.0051682330667972565, 0.013047821819782257, -0.0049276347272098064, 0.027483709156513214, -0.016425449401140213, -0.029963720589876175, -0.03677449747920036, -0.04308557137846947, 0.0033521796576678753, -0.07058779150247574, -0.014019467867910862, -0.03170343115925789, -0.011743039824068546, -0.003687629010528326, 0.009670194238424301, -0.03446105495095253, 0.03505329787731171, -0.0009398364345543087, -0.0332210510969162, -0.03449806943535805, -0.023985782638192177, 0.026946989819407463, 0.005996445659548044, -0.00976273138076067, 0.0013718720292672515, -0.0478605218231678, -0.02641027234494686, 0.00034961916389875114, -0.012909014709293842, -0.1063813865184784, -0.04660200700163841, 0.023578615859150887, -0.06100087985396385, 0.04819365590810776, 0.054449208080768585, -0.028298040851950645, -0.028427595272660255, -0.03505329787731171, -0.008217351511120796, -0.05711429566144943, 0.008212724700570107, -0.025558924302458763, -0.019062774255871773, 0.0470091737806797, -0.009670194238424301, -0.019303372129797935, 0.026539824903011322, -0.03198104351758957, 0.019414417445659637, 0.0382365956902504, -0.029667600989341736, 0.008615263737738132, 0.010974976234138012, 0.002963521284982562, 0.028834760189056396, -0.05578175187110901, 0.019747553393244743, 0.038273610174655914, 0.0017952321795746684, -0.009424968622624874, -0.01673082448542118, -0.03164790943264961, 0.021006068214774132, -0.014639470726251602, -0.03538643196225166, 0.010206912644207478, 0.09002071619033813, -0.08187739551067352, 0.032739851623773575, 0.027502216398715973, 0.034072395414114, 0.04341870918869972, -0.02809445932507515, 0.015231712721288204, 0.012307520024478436, -0.024726085364818573, -0.06462836265563965, -0.021783383563160896, -0.0043747215531766415, -0.030352380126714706, -0.03484971448779106, -0.03222164139151573, -0.0051543521694839, -0.048341717571020126, -0.08298784494400024, -0.03261030092835426, -0.002171166706830263, -0.05467129871249199, 0.024281904101371765, 0.0035696434788405895, -0.027705799788236618, 0.04967426136136055, 0.055152494460344315, -0.02059890143573284, 0.06274058669805527, 0.007800931576639414, 0.011872592382133007, 0.02822401188313961, -0.007986007258296013, -0.07595498114824295, -0.014574694447219372, -0.040753621608018875, 0.033258065581321716, -0.0009589223773218691, 0.018294712528586388, -0.004714798182249069, 0.021949952468276024, 0.0012573566054925323, 0.015416787937283516, -0.014750516042113304, 0.014981860294938087, 0.0229678675532341, -0.004788828082382679, 0.004992411006242037, 0.012705432251095772, -0.0010797997238114476, 0.028186995536088943, -0.07847200334072113, -0.0020670618396252394, 0.03597867488861084, 0.0006361969863064587, -0.004756439942866564, -0.023597124963998795, -0.029445510357618332, 0.0011185499606654048, -0.025762507691979408, 0.00632495479658246, 0.05963132157921791, 0.02529981918632984, 0.029130881652235985, 0.0005682396003976464, 0.04301154240965843, 0.005672563798725605, 0.0021815772633999586, -0.01092870719730854, 0.037570323795080185, -0.0051127104088664055, -0.021209649741649628, 0.04319661855697632, -0.03956913948059082, -0.029723122715950012, 0.026225196197628975, 0.028427595272660255, -0.04771246016025543, 0.03484971448779106, 0.032887913286685944, 0.004501961171627045, -0.018923968076705933, -0.05504144728183746, -0.029149388894438744, 0.06466537714004517, 0.0019097476033493876, 0.004205840174108744, -0.03919898718595505, 0.027150573208928108, 0.05478234216570854, 0.04275243729352951, -0.0007084920653142035, -0.025114743039011955, 0.011243335902690887, -0.03305448219180107, 0.04008734971284866, 0.03003775142133236, 0.05133993923664093, 0.05119187757372856, 0.013371704146265984, 0.043640799820423126, 0.005307039711624384, -0.00228452542796731, 0.01576843112707138, -0.05607787147164345, 0.044492147862911224, 0.027576247230172157, -0.04141989350318909, -0.012909014709293842, 0.006486895494163036, 0.0047610667534172535, -0.014898576773703098, -0.027446694672107697, 0.07532572001218796, 0.028686700388789177, -0.06566478312015533, -0.09238968044519424, -0.028131473809480667, -0.029260434210300446, 0.0019687404856085777, 0.003218000056222081, -0.02309742011129856, 0.06596089899539948, -0.015518579632043839, -0.07876812666654587, 0.030500439926981926, 0.055152494460344315, 0.04911903291940689, -0.011872592382133007, -0.02781684510409832, 0.05274651199579239, 0.005024799611419439, 0.053634874522686005, 0.03031536377966404, -0.059557292610406876, 0.05089575797319412, -0.011706024408340454, 0.0504145622253418, 0.03520135581493378, 0.05504144728183746, -0.035219863057136536, 0.02713206596672535, 0.03144432604312897, -0.06844091415405273, 0.03666345402598381, -0.02104308269917965, -0.009286162443459034, 0.000584433670155704, -0.015601863153278828, 0.024874145165085793, -0.07206839323043823, 0.04760141298174858, 0.004821216221898794, -0.07010659575462341, -0.001533813076093793, 0.0003889476938638836, 0.06303671002388, -0.034516576677560806, -0.048378732055425644, -0.05089575797319412, 0.09157534688711166, 0.021968459710478783, -0.037033602595329285, 0.024115335196256638, 0.02409682795405388, 0.038976896554231644, 0.04926709458231926, -0.027224604040384293, 0.00850421842187643, 0.002907998627051711, 0.05674414336681366, -0.03657091408967972, 0.02711355872452259, 0.026780422776937485, -0.04819365590810776, 0.0239302609115839, 0.04589872062206268, -0.012066921219229698, -0.03956913948059082, -0.04889694228768349, 0.03657091408967972, -0.0191182978451252, -0.05481935665011406, -0.011252589523792267, 0.0062277899123728275, 0.017239781096577644, -0.006565552670508623, 0.0038819583132863045, -0.025355340912938118, 0.04182706028223038, -0.057336386293172836, 0.014676486141979694, 0.046713050454854965, 0.021931445226073265, 0.0011995204258710146 ]
720,048
ibm_platform_services.user_management_v1
accept
Accept an invitation. Accept a user invitation to an account. You can use the user's token for authorization. To use this method, the requesting user must provide the account ID for the account that they are accepting an invitation for. If the user already accepted the invitation request, it returns 204 with no response body. :param str account_id: (optional) The account ID. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse
def accept( self, *, account_id: str = None, **kwargs, ) -> DetailedResponse: """ Accept an invitation. Accept a user invitation to an account. You can use the user's token for authorization. To use this method, the requesting user must provide the account ID for the account that they are accepting an invitation for. If the user already accepted the invitation request, it returns 204 with no response body. :param str account_id: (optional) The account ID. :param dict headers: A `dict` containing the request headers :return: A `DetailedResponse` containing the result, headers and HTTP status code. :rtype: DetailedResponse """ headers = {} sdk_headers = get_sdk_headers( service_name=self.DEFAULT_SERVICE_NAME, service_version='V1', operation_id='accept', ) headers.update(sdk_headers) data = { 'account_id': account_id, } data = {k: v for (k, v) in data.items() if v is not None} data = json.dumps(data) headers['content-type'] = 'application/json' if 'headers' in kwargs: headers.update(kwargs.get('headers')) del kwargs['headers'] url = '/v2/users/accept' request = self.prepare_request( method='POST', url=url, headers=headers, data=data, ) response = self.send(request, **kwargs) return response
(self, *, account_id: Optional[str] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
[ -0.014652092941105366, -0.07631711661815643, 0.03651752322912216, -0.049375299364328384, -0.007014971226453781, -0.03035012073814869, 0.023858115077018738, -0.02317284792661667, -0.04519156366586685, 0.031233754009008408, 0.04324396327137947, -0.06690371036529541, 0.0022417702712118626, -0.004233327694237232, -0.07022184878587723, 0.03500272333621979, 0.039312694221735, 0.007393671665340662, 0.012956958264112473, 0.03635522350668907, 0.0014821155928075314, -0.0005759399500675499, 0.00457370700314641, 0.04749983176589012, 0.0149947265163064, 0.03420925512909889, 0.005171061959117651, -0.009900306351482868, -0.02053998038172722, 0.053595103323459625, 0.009521606378257275, -0.023767950013279915, 0.05244096741080284, -0.00870559737086296, -0.04198162630200386, 0.0009760548127815127, -0.045119430869817734, 0.0814385861158371, -0.06531677395105362, 0.02946648560464382, -0.07072678208351135, 0.03740115836262703, 0.08165498822927475, 0.029033685103058815, -0.022685948759317398, -0.0042761568911373615, 0.0012837487738579512, -0.0022609306033700705, -0.008069922216236591, -0.013858625665307045, 0.0344436913728714, -0.02986321970820427, 0.005180078558623791, -0.06455937772989273, -0.014111092314124107, 0.02569751627743244, -0.038194626569747925, -0.013020074926316738, 0.010901156812906265, -0.03363218903541565, -0.018222695216536522, -0.039132360368967056, 0.03294692188501358, -0.012785641476511955, -0.027861518785357475, 0.04688669741153717, -0.05503777042031288, -0.007127679884433746, -0.0346420556306839, 0.02261381596326828, 0.015382443554699421, 0.009314223192632198, 0.0013536280021071434, 0.03303708881139755, -0.0005497352685779333, 0.0179341621696949, -0.016752976924180984, 0.03145015612244606, -0.02905171923339367, 0.03327152132987976, 0.04876216500997543, -0.0340469554066658, -0.012893841601908207, -0.05020483210682869, 0.010630656965076923, 0.03411908820271492, -0.04685063287615776, -0.09528819471597672, -0.044073496013879776, 0.004366323817521334, 0.011433141306042671, -0.0380864255130291, -0.012244641780853271, 0.030945220962166786, 0.008421571925282478, 0.015084893442690372, 0.06502824276685715, 0.00395606504753232, 0.02950255386531353, 0.030927186831831932, -0.07148417830467224, 0.014029942452907562, -0.049699898809194565, 0.05503777042031288, 0.038915958255529404, -0.0196563471108675, 0.00108819967135787, -0.004959169775247574, 0.03323545679450035, -0.0000296211783279432, -0.0002603564353194088, -0.03415515646338463, -0.009521606378257275, 0.016617728397250175, -0.01572507806122303, -0.012993025593459606, 0.00478334492072463, 0.06423477828502655, 0.015202109701931477, 0.03417319059371948, 0.03274855390191078, 0.011072473600506783, 0.04825723171234131, 0.020395712926983833, -0.016103778034448624, -0.02748281881213188, -0.054604969918727875, -0.002799676964059472, 0.050709765404462814, 0.0016027136007323861, -0.0259319506585598, -0.06376590579748154, -0.0030543978791683912, 0.049375299364328384, -0.026923784986138344, 0.05103436857461929, 0.01799727790057659, 0.026040149852633476, 0.06365770846605301, 0.01460700947791338, 0.00852977205067873, -0.007808438502252102, -0.0035570773761719465, 0.004923103377223015, -0.033415790647268295, -0.06102484092116356, 0.004972694907337427, -0.013579108752310276, 0.0036810566671192646, -0.01913337968289852, -0.013975842855870724, -0.01829482801258564, 0.022271182388067245, 0.038879893720149994, -0.0012499362928792834, -0.014120109379291534, 0.02423681691288948, -0.0022338805720210075, 0.01460700947791338, -0.009756039828062057, -0.00010467793617863208, 0.014552909880876541, 0.004438457079231739, 0.060483839362859726, 0.013885675929486752, -0.033776454627513885, -0.036409325897693634, 0.046742431819438934, -0.01148724090307951, -0.018141545355319977, -0.027825452387332916, -0.027825452387332916, -0.052693434059619904, -0.026148350909352303, -0.06174617260694504, 0.0032843230292201042, 0.08526165783405304, -0.04818509891629219, -0.011424124240875244, -0.000030325605621328577, 0.06982511281967163, -0.046381764113903046, 0.005125978495925665, -0.026274584233760834, 0.0051890951581299305, -0.005292786750942469, 0.06059204041957855, 0.06163797527551651, -0.024326981976628304, -0.005134995095431805, 0.017528411000967026, -0.0024390099570155144, 0.016789045184850693, 0.0005787576665170491, -0.07400885224342346, -0.03942089155316353, -0.034750256687402725, 0.02950255386531353, -0.0773991197347641, -0.10264579951763153, 0.01148724090307951, -0.0522606335580349, 0.020035047084093094, 0.001528326072730124, 0.039168424904346466, -0.019872747361660004, -0.013299591839313507, -0.06477577984333038, -0.003850119188427925, -0.06232324242591858, -0.05049336701631546, -0.03963729366660118, 0.010342123918235302, 0.027536917477846146, -0.05893297120928764, 0.047067031264305115, 0.049663834273815155, -0.006275604013353586, 0.03204525634646416, 0.007393671665340662, 0.04519156366586685, -0.052909836173057556, -0.03859135881066322, 0.005180078558623791, 0.04602109640836716, -0.010738857090473175, 0.01106345746666193, -0.013245492242276669, -0.008615430444478989, -0.01375944260507822, -0.024417148903012276, -0.007619088515639305, -0.01693331077694893, -0.041188161820173264, -0.12493501603603363, 0.023569582030177116, 0.04843756556510925, -0.007438755128532648, -0.022631848230957985, 0.06257570534944534, 0.07638925313949585, 0.04724736511707306, 0.023569582030177116, -0.0013716613175347447, -0.04894249886274338, -0.050024498254060745, -0.0014900051755830646, -0.007952705025672913, -0.02281218208372593, -0.04912283271551132, -0.04194556176662445, -0.08050085604190826, -0.008899455890059471, 0.01725791208446026, 0.011270840652287006, -0.027536917477846146, -0.05702143907546997, -0.007876063697040081, 0.016843143850564957, 0.006672337651252747, 0.02638278342783451, 0.05049336701631546, -0.04558829590678215, 0.009710956364870071, 0.00456469040364027, 0.027284450829029083, -0.0644511729478836, 0.016843143850564957, 0.05878870561718941, -0.03599455580115318, 0.05171963572502136, 0.023371215909719467, 0.04760803282260895, -0.001337848836556077, -0.04025042802095413, -0.030530454590916634, 0.01353402528911829, 0.009350289590656757, -0.05013269931077957, 0.018808778375387192, -0.0644151121377945, -0.025300784036517143, 0.010693773627281189, -0.00015567848458886147, 0.0028132018633186817, -0.00500425323843956, -0.007524413522332907, 0.0830976590514183, -0.0344436913728714, -0.026563117280602455, 0.06257570534944534, 0.0364634245634079, -0.011090507730841637, -0.028186118230223656, -0.02225314825773239, 0.03476829081773758, -0.025012249127030373, 0.010711806826293468, 0.04230622947216034, 0.01614886149764061, -0.01375944260507822, 0.033415790647268295, -0.016617728397250175, -0.06376590579748154, -0.02852875180542469, -0.010360157117247581, 0.02236134745180607, 0.03476829081773758, -0.026346717029809952, 0.05013269931077957, -0.006383804138749838, -0.0567329041659832, -0.016825111582875252, -0.09875059872865677, 0.02995338663458824, -0.055614836513996124, 0.04612929746508598, -0.012073324993252754, 0.010829024016857147, -0.0005714316503144801, -0.018664512783288956, 0.03482238948345184, -0.003992131911218166, -0.04371282830834389, 0.0358683243393898, 0.01440864335745573, 0.045371897518634796, 0.0563361719250679, -0.0056940289214253426, 0.00093717040726915, -0.004639077931642532, -0.007114154752343893, -0.0005776305915787816, 0.03622899204492569, -0.07393671572208405, -0.020576046779751778, 0.037545423954725266, 0.0522606335580349, 0.048726100474596024, 0.0401061587035656, -0.029448453336954117, -0.011388057842850685, 0.056588638573884964, 0.016915278509259224, 0.006595695856958628, -0.024741750210523605, -0.007014971226453781, -0.03200918808579445, -0.014706193469464779, 0.059870705008506775, -0.049086764454841614, -0.0020884869154542685, 0.05139503255486488, -0.0043821027502417564, 0.008818306028842926, -0.021856414154171944, -0.025517184287309647, 0.023389248177409172, 0.014886526390910149, -0.02605818398296833, -0.054604969918727875, 0.04259476065635681, -0.01773579604923725, -0.01481439359486103, -0.015111943706870079, -0.0059645287692546844, -0.031179653480648994, 0.004077790305018425, 0.004621044732630253, -0.04584076255559921, 0.008759697899222374, 0.007876063697040081, -0.03680605813860893, 0.025499150156974792, 0.05583123862743378, 0.007141204550862312, -0.047391630709171295, 0.015752127394080162, -0.0644151121377945, 0.04230622947216034, 0.016491495072841644, 0.06387411057949066, -0.012163490988314152, 0.006861688103526831, 0.05680503696203232, -0.017176762223243713, -0.008236730471253395, -0.00029614134109579027, -0.030692754313349724, 0.010062607005238533, -0.007087104953825474, -0.014643076807260513, -0.005270245019346476, 0.011361007578670979, -0.04169309511780739, -0.0563361719250679, 0.0006024264148436487, 0.015166043303906918, -0.01055852323770523, -0.005202620290219784, 0.02115311473608017, 0.05503777042031288, -0.0154996607452631, -0.006821112707257271, -0.027212318032979965, 0.03220755606889725, 0.030296020209789276, -0.05666077136993408, 0.010874107480049133, -0.02160394750535488, -0.00005195153062231839, -0.0224875807762146, -0.021008847281336784, 0.00040518672903999686, -0.031756721436977386, 0.04454236477613449, -0.062792107462883, 0.024543382227420807, -0.026977885514497757, -0.015075876377522945, 0.04169309511780739, -0.015607859939336777, -0.024038448929786682, 0.028709085658192635, -0.014652092941105366, -0.003218952100723982, 0.03173868730664253, 0.019800612702965736, 0.030169786885380745, -0.08454032242298126, 0.007934671826660633, 0.013317625969648361, 0.04648996517062187, -0.012767608277499676, -0.01916944608092308, -0.020576046779751778, 0.01819564588367939, -0.053306568413972855, 0.015463593415915966, 0.04811296612024307, -0.00831788033246994, 0.0014099822146818042, 0.027122151106595993, -0.07343178242444992, -0.02573358453810215, -0.02605818398296833, -0.021621981635689735, 0.009728989563882351, 0.04331609606742859, -0.020269479602575302, 0.08814699202775955, -0.024741750210523605, 0.033578090369701385, 0.0018202407518401742, -0.0498441681265831, -0.0309993214905262, 0.0212793480604887, 0.03399285674095154, 0.005509187001734972, -0.025228649377822876, 0.020936714485287666, -0.05860837176442146, -0.036048658192157745, 0.026977885514497757, 0.019764546304941177, 0.03294692188501358, 0.0376896932721138, -0.04158489406108856, 0.0005066242883913219, -0.011180673725903034, 0.014138142578303814, -0.009097822941839695, -0.01432749256491661, 0.015553760342299938, 0.08684859424829483, 0.039493028074502945, 0.018348928540945053, -0.006171912420541048, -0.0676611140370369, -0.008290830068290234, 0.02625655010342598, 0.01816859468817711, 0.006672337651252747, -0.008831830695271492, 0.05507383495569229, -0.0478244312107563, 0.04032256081700325, 0.025228649377822876, -0.03895202651619911, -0.006325196009129286, 0.03323545679450035, -0.018538279458880424, -0.030855054035782814, 0.024615516886115074, -0.012100374326109886, -0.033650223165750504, 0.010071623139083385, -0.01676199398934841, 0.011180673725903034, -0.056552570313215256, 0.01525621023029089, -0.019025178626179695, 0.02804185263812542, 0.007244896609336138, -0.012343824841082096, 0.04025042802095413, -0.06466757506132126, 0.007380146533250809, -0.02326301485300064, 0.03467812389135361, -0.027212318032979965, -0.009575705975294113, -0.014525859616696835, -0.04025042802095413, 0.05442463606595993, 0.06257570534944534, 0.007560479920357466, 0.04490302875638008, -0.035597823560237885, -0.06171010807156563, -0.0007788151269778609, 0.03363218903541565, 0.07970738410949707, 0.03581422567367554, 0.05608370527625084, 0.02079244703054428, -0.02160394750535488, -0.042161960154771805, 0.05666077136993408, -0.036932289600372314, -0.0030498895794153214, 0.007997788488864899, -0.00646495446562767, -0.057526372373104095, -0.022920381277799606, -0.0607723742723465, -0.01859237812459469, 0.024128615856170654, -0.050024498254060745, 0.0154004767537117, 0.007150221616029739, 0.032514121383428574, -0.0733596459031105, -0.03467812389135361, -0.053955771028995514, -0.018222695216536522, -0.011622491292655468, 0.0006886483752168715, 0.020882613956928253, -0.05337870121002197, 0.02216298133134842, -0.018285812810063362, 0.01845712959766388, 0.08158285170793533, -0.042486563324928284, 0.05799523741006851, -0.014255359768867493, -0.01933174580335617, -0.015490643680095673, -0.00416795676574111, -0.021333446726202965, 0.010783940553665161, -0.01989077962934971, -0.023605648428201675, -0.02521061711013317, -0.014498809352517128, 0.0429554283618927, 0.007163746282458305, 0.04688669741153717, 0.0019566179253160954, -0.02228921465575695, 0.002574260113760829, -0.05373936891555786, -0.005495661869645119, -0.05601157248020172, 0.0026621725410223007, 0.005103436764329672, -0.009120364673435688, 0.05312623456120491, 0.013173358514904976, -0.031991153955459595, -0.0688873827457428, 0.0344436913728714, -0.060231372714042664, -0.07429738342761993, 0.009521606378257275, -0.06243143975734711, 0.003820815123617649, 0.015075876377522945, 0.09283566474914551, -0.0035751108080148697, -0.03711262345314026, 0.0014471759786829352, 0.020107179880142212, 0.021730180829763412, 0.006230521015822887, -0.009332256391644478, -0.03383055701851845, 0.0000694565533194691, -0.04071929305791855, 0.022523649036884308, -0.04789656400680542, 0.003793765092268586, 0.0008988495683297515, 0.021225247532129288, 0.012055291794240475, -0.03615685924887657, -0.03246002271771431, 0.02306464873254299, -0.03714869171380997, -0.019457979127764702, 0.0021527307108044624, 0.014300443232059479, 0.03532732278108597, -0.03610275685787201, 0.045083362609148026, -0.006839146371930838, 0.028582852333784103, -0.002937181154266, 0.07545151561498642, -0.008115005679428577, -0.009174464270472527, -0.03563389182090759, 0.001580171869136393, -0.03193705528974533, 0.027771351858973503, 0.030007487162947655, 0.05240490287542343, -0.054316435009241104, 0.0028718102257698774, -0.07545151561498642, 0.05467710271477699, -0.04126029461622238, -0.002759101800620556, 0.03895202651619911, 0.0007421848713420331, 0.028925485908985138, -0.01270449161529541, 0.003599906573072076, 0.022920381277799606, 0.015869343653321266, 0.03047635406255722, -0.023569582030177116, 0.03707655891776085, -0.0024119599256664515, 0.10892140865325928, -0.05254916846752167, -0.02310071513056755, -0.003793765092268586, -0.012010208331048489, -0.018772711977362633, 0.04349642992019653, -0.051322899758815765, 0.00022457150043919683, -0.022379381582140923, 0.04396529495716095, -0.007673188578337431, 0.07400885224342346, -0.016969377174973488, 0.07992378622293472, 0.025156516581773758, 0.01497669331729412, 0.06315277516841888, -0.06730044633150101, -0.015905410051345825, 0.031991153955459595, 0.0027478309348225594, -0.06939231604337692, 0.0000334426986228209, 0.02274004928767681, -0.006807588040828705, 0.007145713083446026, -0.00037813669769093394, 0.08215992152690887, 0.006054695695638657, 0.0445784293115139, -0.07711058109998703, -0.01660871133208275, -0.014300443232059479, 0.022631848230957985, 0.003365473123267293, -0.05702143907546997, 0.07884178310632706, 0.00031051167752593756, 0.001772903255186975, -0.08035659044981003, 0.003185139736160636, -0.019476013258099556, -0.036769989877939224, 0.004796870052814484, 0.006604712922126055, -0.05907724052667618, -0.015283260494470596, 0.024669615551829338, 0.048004765063524246, 0.025715550407767296, -0.06560531258583069, 0.03833889216184616, -0.05283770337700844, 0.011171657592058182, 0.05976250767707825, -0.02264988236129284, 0.027933651581406593, 0.019620278850197792, -0.019115345552563667, 0.009007656015455723, -0.026454918086528778, -0.0360666923224926, 0.07234977930784225, 0.01578819379210472, -0.037545423954725266, 0.04685063287615776, 0.026599183678627014, 0.05446070432662964, -0.029069753363728523, 0.0992555320262909, -0.005775178782641888, -0.020269479602575302, 0.01699642837047577, 0.05575910210609436, 0.01551769394427538, -0.03191902115941048, -0.027951685711741447, -0.023858115077018738, -0.022667914628982544, -0.0154996607452631, 0.021297380328178406, 0.0401061587035656, 0.052585236728191376, -0.013380742631852627, 0.05694930627942085, -0.014769310131669044, -0.04566042870283127, 0.06794964522123337, -0.015905410051345825, 0.02544504962861538, -0.027987752109766006, -0.0029822643846273422, 0.01845712959766388, 0.04425382986664772, 0.02362368255853653, 0.03862742707133293, 0.05114256590604782, -0.022523649036884308, -0.04648996517062187, 0.031107520684599876, 0.04122422635555267, -0.038843825459480286, 0.06318884342908859, 0.038843825459480286, 0.00646495446562767, -0.009097822941839695, 0.0522606335580349, 0.034587956964969635, 0.03873562440276146, 0.027050018310546875, -0.03186492249369621, 0.016590677201747894, -0.010684757493436337, 0.03269445523619652, 0.055290237069129944, -0.0015260718064382672, 0.026653284206986427, -0.04331609606742859, -0.016076726838946342, 0.0065911877900362015, 0.07166451215744019, 0.06748078018426895 ]