88class ApplicationFacade (Type ):
99 name = 'Application'
1010 version = 17
11- schema = {'definitions' : {'' : {'additionalProperties' : False , 'type' : 'object' },
12- 'AddApplicationUnits' : {'additionalProperties' : False ,
11+ schema = {'definitions' : {'AddApplicationUnits' : {'additionalProperties' : False ,
1312 'properties' : {'application' : {'type' : 'string' },
1413 'attach-storage' : {'items' : {'type' : 'string' },
1514 'type' : 'array' },
@@ -713,8 +712,6 @@ class ApplicationFacade(Type):
713712 'properties' : {'Params' : {'$ref' : '#/definitions/ApplicationsDeploy' },
714713 'Result' : {'$ref' : '#/definitions/ErrorResults' }},
715714 'type' : 'object' },
716- 'Destroy' : {'properties' : {'Params' : {'$ref' : '#/definitions/' }},
717- 'type' : 'object' },
718715 'DestroyApplication' : {'description' : 'DestroyApplication '
719716 'removes a given set of '
720717 'applications.' ,
@@ -741,8 +738,6 @@ class ApplicationFacade(Type):
741738 'properties' : {'Params' : {'$ref' : '#/definitions/DestroyUnitsParams' },
742739 'Result' : {'$ref' : '#/definitions/DestroyUnitResults' }},
743740 'type' : 'object' },
744- 'DestroyUnits' : {'properties' : {'Params' : {'$ref' : '#/definitions/' }},
745- 'type' : 'object' },
746741 'Expose' : {'description' : 'Expose changes the juju-managed '
747742 'firewall to expose any ports that\n '
748743 'were also explicitly marked by '
@@ -1058,25 +1053,6 @@ async def Deploy(self, applications=None):
10581053
10591054
10601055
1061- @ReturnMapping (None )
1062- async def Destroy (self ):
1063- '''
1064-
1065- Returns -> None
1066- '''
1067-
1068- # map input types to rpc msg
1069- _params = dict ()
1070- msg = dict (type = 'Application' ,
1071- request = 'Destroy' ,
1072- version = 17 ,
1073- params = _params )
1074-
1075- reply = await self .rpc (msg )
1076- return reply
1077-
1078-
1079-
10801056 @ReturnMapping (DestroyApplicationResults )
10811057 async def DestroyApplication (self , applications = None ):
10821058 '''
@@ -1185,25 +1161,6 @@ async def DestroyUnit(self, units=None):
11851161
11861162
11871163
1188- @ReturnMapping (None )
1189- async def DestroyUnits (self ):
1190- '''
1191-
1192- Returns -> None
1193- '''
1194-
1195- # map input types to rpc msg
1196- _params = dict ()
1197- msg = dict (type = 'Application' ,
1198- request = 'DestroyUnits' ,
1199- version = 17 ,
1200- params = _params )
1201-
1202- reply = await self .rpc (msg )
1203- return reply
1204-
1205-
1206-
12071164 @ReturnMapping (None )
12081165 async def Expose (self , application = None , exposed_endpoints = None ):
12091166 '''
0 commit comments