hexsha stringlengths 40 40 | repo stringlengths 7 114 | path stringlengths 4 124 | license listlengths 1 9 | language stringclasses 1
value | identifier stringlengths 1 71 | return_type stringlengths 1 749 ⌀ | original_string stringlengths 76 22.7k | original_docstring stringlengths 16 7.61k | docstring stringlengths 16 2.47k | docstring_tokens listlengths 6 477 | code stringlengths 14 10.2k | code_tokens listlengths 6 996 | short_docstring stringlengths 2 644 | short_docstring_tokens listlengths 1 116 | comment listlengths 1 89 | parameters listlengths 0 64 | docstring_params dict |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
cdb853d5c657e372b41b5c9a194af9835cef1cc1 | sed-i/python-libjuju | juju/client/_client6.py | [
"Apache-2.0"
] | Python | ListAll | <not_specific> | async def ListAll(self, entities=None):
'''
ListAll takes a list of Entities representing ActionReceivers and
returns all of the Actions that have been enqueued or run by each of
those Entities.
entities : typing.Sequence[~Entity]
Returns -> ActionsByReceivers
''... |
ListAll takes a list of Entities representing ActionReceivers and
returns all of the Actions that have been enqueued or run by each of
those Entities.
entities : typing.Sequence[~Entity]
Returns -> ActionsByReceivers
| ListAll takes a list of Entities representing ActionReceivers and
returns all of the Actions that have been enqueued or run by each of
those Entities.
entities : typing.Sequence[~Entity]
Returns -> ActionsByReceivers | [
"ListAll",
"takes",
"a",
"list",
"of",
"Entities",
"representing",
"ActionReceivers",
"and",
"returns",
"all",
"of",
"the",
"Actions",
"that",
"have",
"been",
"enqueued",
"or",
"run",
"by",
"each",
"of",
"those",
"Entities",
".",
"entities",
":",
"typing",
"... | async def ListAll(self, entities=None):
if entities is not None and not isinstance(entities, (bytes, str, list)):
raise Exception("Expected entities to be a Sequence, received: {}".format(type(entities)))
_params = dict()
msg = dict(type='Action',
request='ListAll'... | [
"async",
"def",
"ListAll",
"(",
"self",
",",
"entities",
"=",
"None",
")",
":",
"if",
"entities",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"entities",
",",
"(",
"bytes",
",",
"str",
",",
"list",
")",
")",
":",
"raise",
"Exception",
"(",
... | ListAll takes a list of Entities representing ActionReceivers and
returns all of the Actions that have been enqueued or run by each of
those Entities. | [
"ListAll",
"takes",
"a",
"list",
"of",
"Entities",
"representing",
"ActionReceivers",
"and",
"returns",
"all",
"of",
"the",
"Actions",
"that",
"have",
"been",
"enqueued",
"or",
"run",
"by",
"each",
"of",
"those",
"Entities",
"."
] | [
"'''\n ListAll takes a list of Entities representing ActionReceivers and\n returns all of the Actions that have been enqueued or run by each of\n those Entities.\n\n entities : typing.Sequence[~Entity]\n Returns -> ActionsByReceivers\n '''",
"# map input types to rpc msg"... | [
{
"param": "self",
"type": null
},
{
"param": "entities",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
},
{
"identifier": "entities",
"type": null,
"docstring": null,
"docstring_tokens... |
cdb853d5c657e372b41b5c9a194af9835cef1cc1 | sed-i/python-libjuju | juju/client/_client6.py | [
"Apache-2.0"
] | Python | ListCompleted | <not_specific> | async def ListCompleted(self, entities=None):
'''
ListCompleted takes a list of Entities representing ActionReceivers
and returns all of the Actions that have been run on each of those
Entities.
entities : typing.Sequence[~Entity]
Returns -> ActionsByReceivers
''... |
ListCompleted takes a list of Entities representing ActionReceivers
and returns all of the Actions that have been run on each of those
Entities.
entities : typing.Sequence[~Entity]
Returns -> ActionsByReceivers
| ListCompleted takes a list of Entities representing ActionReceivers
and returns all of the Actions that have been run on each of those
Entities.
entities : typing.Sequence[~Entity]
Returns -> ActionsByReceivers | [
"ListCompleted",
"takes",
"a",
"list",
"of",
"Entities",
"representing",
"ActionReceivers",
"and",
"returns",
"all",
"of",
"the",
"Actions",
"that",
"have",
"been",
"run",
"on",
"each",
"of",
"those",
"Entities",
".",
"entities",
":",
"typing",
".",
"Sequence"... | async def ListCompleted(self, entities=None):
if entities is not None and not isinstance(entities, (bytes, str, list)):
raise Exception("Expected entities to be a Sequence, received: {}".format(type(entities)))
_params = dict()
msg = dict(type='Action',
request='Li... | [
"async",
"def",
"ListCompleted",
"(",
"self",
",",
"entities",
"=",
"None",
")",
":",
"if",
"entities",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"entities",
",",
"(",
"bytes",
",",
"str",
",",
"list",
")",
")",
":",
"raise",
"Exception",
... | ListCompleted takes a list of Entities representing ActionReceivers
and returns all of the Actions that have been run on each of those
Entities. | [
"ListCompleted",
"takes",
"a",
"list",
"of",
"Entities",
"representing",
"ActionReceivers",
"and",
"returns",
"all",
"of",
"the",
"Actions",
"that",
"have",
"been",
"run",
"on",
"each",
"of",
"those",
"Entities",
"."
] | [
"'''\n ListCompleted takes a list of Entities representing ActionReceivers\n and returns all of the Actions that have been run on each of those\n Entities.\n\n entities : typing.Sequence[~Entity]\n Returns -> ActionsByReceivers\n '''",
"# map input types to rpc msg"
] | [
{
"param": "self",
"type": null
},
{
"param": "entities",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
},
{
"identifier": "entities",
"type": null,
"docstring": null,
"docstring_tokens... |
cdb853d5c657e372b41b5c9a194af9835cef1cc1 | sed-i/python-libjuju | juju/client/_client6.py | [
"Apache-2.0"
] | Python | ListOperations | <not_specific> | async def ListOperations(self, actions=None, applications=None, limit=None, machines=None, offset=None, status=None, units=None):
'''
ListOperations fetches the called actions for specified apps/units.
actions : typing.Sequence[str]
applications : typing.Sequence[str]
limit : in... |
ListOperations fetches the called actions for specified apps/units.
actions : typing.Sequence[str]
applications : typing.Sequence[str]
limit : int
machines : typing.Sequence[str]
offset : int
status : typing.Sequence[str]
units : typing.Sequence[str]
... | ListOperations fetches the called actions for specified apps/units. | [
"ListOperations",
"fetches",
"the",
"called",
"actions",
"for",
"specified",
"apps",
"/",
"units",
"."
] | async def ListOperations(self, actions=None, applications=None, limit=None, machines=None, offset=None, status=None, units=None):
if actions is not None and not isinstance(actions, (bytes, str, list)):
raise Exception("Expected actions to be a Sequence, received: {}".format(type(actions)))
i... | [
"async",
"def",
"ListOperations",
"(",
"self",
",",
"actions",
"=",
"None",
",",
"applications",
"=",
"None",
",",
"limit",
"=",
"None",
",",
"machines",
"=",
"None",
",",
"offset",
"=",
"None",
",",
"status",
"=",
"None",
",",
"units",
"=",
"None",
... | ListOperations fetches the called actions for specified apps/units. | [
"ListOperations",
"fetches",
"the",
"called",
"actions",
"for",
"specified",
"apps",
"/",
"units",
"."
] | [
"'''\n ListOperations fetches the called actions for specified apps/units.\n\n actions : typing.Sequence[str]\n applications : typing.Sequence[str]\n limit : int\n machines : typing.Sequence[str]\n offset : int\n status : typing.Sequence[str]\n units : typing.... | [
{
"param": "self",
"type": null
},
{
"param": "actions",
"type": null
},
{
"param": "applications",
"type": null
},
{
"param": "limit",
"type": null
},
{
"param": "machines",
"type": null
},
{
"param": "offset",
"type": null
},
{
"param": "... | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
},
{
"identifier": "actions",
"type": null,
"docstring": null,
"docstring_tokens"... |
cdb853d5c657e372b41b5c9a194af9835cef1cc1 | sed-i/python-libjuju | juju/client/_client6.py | [
"Apache-2.0"
] | Python | ListPending | <not_specific> | async def ListPending(self, entities=None):
'''
ListPending takes a list of Entities representing ActionReceivers
and returns all of the Actions that are enqueued for each of those
Entities.
entities : typing.Sequence[~Entity]
Returns -> ActionsByReceivers
'''
... |
ListPending takes a list of Entities representing ActionReceivers
and returns all of the Actions that are enqueued for each of those
Entities.
entities : typing.Sequence[~Entity]
Returns -> ActionsByReceivers
| ListPending takes a list of Entities representing ActionReceivers
and returns all of the Actions that are enqueued for each of those
Entities.
entities : typing.Sequence[~Entity]
Returns -> ActionsByReceivers | [
"ListPending",
"takes",
"a",
"list",
"of",
"Entities",
"representing",
"ActionReceivers",
"and",
"returns",
"all",
"of",
"the",
"Actions",
"that",
"are",
"enqueued",
"for",
"each",
"of",
"those",
"Entities",
".",
"entities",
":",
"typing",
".",
"Sequence",
"["... | async def ListPending(self, entities=None):
if entities is not None and not isinstance(entities, (bytes, str, list)):
raise Exception("Expected entities to be a Sequence, received: {}".format(type(entities)))
_params = dict()
msg = dict(type='Action',
request='List... | [
"async",
"def",
"ListPending",
"(",
"self",
",",
"entities",
"=",
"None",
")",
":",
"if",
"entities",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"entities",
",",
"(",
"bytes",
",",
"str",
",",
"list",
")",
")",
":",
"raise",
"Exception",
"... | ListPending takes a list of Entities representing ActionReceivers
and returns all of the Actions that are enqueued for each of those
Entities. | [
"ListPending",
"takes",
"a",
"list",
"of",
"Entities",
"representing",
"ActionReceivers",
"and",
"returns",
"all",
"of",
"the",
"Actions",
"that",
"are",
"enqueued",
"for",
"each",
"of",
"those",
"Entities",
"."
] | [
"'''\n ListPending takes a list of Entities representing ActionReceivers\n and returns all of the Actions that are enqueued for each of those\n Entities.\n\n entities : typing.Sequence[~Entity]\n Returns -> ActionsByReceivers\n '''",
"# map input types to rpc msg"
] | [
{
"param": "self",
"type": null
},
{
"param": "entities",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
},
{
"identifier": "entities",
"type": null,
"docstring": null,
"docstring_tokens... |
cdb853d5c657e372b41b5c9a194af9835cef1cc1 | sed-i/python-libjuju | juju/client/_client6.py | [
"Apache-2.0"
] | Python | ListRunning | <not_specific> | async def ListRunning(self, entities=None):
'''
ListRunning takes a list of Entities representing ActionReceivers and
returns all of the Actions that have are running on each of those
Entities.
entities : typing.Sequence[~Entity]
Returns -> ActionsByReceivers
'''... |
ListRunning takes a list of Entities representing ActionReceivers and
returns all of the Actions that have are running on each of those
Entities.
entities : typing.Sequence[~Entity]
Returns -> ActionsByReceivers
| ListRunning takes a list of Entities representing ActionReceivers and
returns all of the Actions that have are running on each of those
Entities.
entities : typing.Sequence[~Entity]
Returns -> ActionsByReceivers | [
"ListRunning",
"takes",
"a",
"list",
"of",
"Entities",
"representing",
"ActionReceivers",
"and",
"returns",
"all",
"of",
"the",
"Actions",
"that",
"have",
"are",
"running",
"on",
"each",
"of",
"those",
"Entities",
".",
"entities",
":",
"typing",
".",
"Sequence... | async def ListRunning(self, entities=None):
if entities is not None and not isinstance(entities, (bytes, str, list)):
raise Exception("Expected entities to be a Sequence, received: {}".format(type(entities)))
_params = dict()
msg = dict(type='Action',
request='List... | [
"async",
"def",
"ListRunning",
"(",
"self",
",",
"entities",
"=",
"None",
")",
":",
"if",
"entities",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"entities",
",",
"(",
"bytes",
",",
"str",
",",
"list",
")",
")",
":",
"raise",
"Exception",
"... | ListRunning takes a list of Entities representing ActionReceivers and
returns all of the Actions that have are running on each of those
Entities. | [
"ListRunning",
"takes",
"a",
"list",
"of",
"Entities",
"representing",
"ActionReceivers",
"and",
"returns",
"all",
"of",
"the",
"Actions",
"that",
"have",
"are",
"running",
"on",
"each",
"of",
"those",
"Entities",
"."
] | [
"'''\n ListRunning takes a list of Entities representing ActionReceivers and\n returns all of the Actions that have are running on each of those\n Entities.\n\n entities : typing.Sequence[~Entity]\n Returns -> ActionsByReceivers\n '''",
"# map input types to rpc msg"
] | [
{
"param": "self",
"type": null
},
{
"param": "entities",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
},
{
"identifier": "entities",
"type": null,
"docstring": null,
"docstring_tokens... |
cdb853d5c657e372b41b5c9a194af9835cef1cc1 | sed-i/python-libjuju | juju/client/_client6.py | [
"Apache-2.0"
] | Python | Operations | <not_specific> | async def Operations(self, entities=None):
'''
Operations fetches the specified operation ids.
entities : typing.Sequence[~Entity]
Returns -> OperationResults
'''
if entities is not None and not isinstance(entities, (bytes, str, list)):
raise Exception("Expec... |
Operations fetches the specified operation ids.
entities : typing.Sequence[~Entity]
Returns -> OperationResults
| Operations fetches the specified operation ids.
entities : typing.Sequence[~Entity]
Returns -> OperationResults | [
"Operations",
"fetches",
"the",
"specified",
"operation",
"ids",
".",
"entities",
":",
"typing",
".",
"Sequence",
"[",
"~Entity",
"]",
"Returns",
"-",
">",
"OperationResults"
] | async def Operations(self, entities=None):
if entities is not None and not isinstance(entities, (bytes, str, list)):
raise Exception("Expected entities to be a Sequence, received: {}".format(type(entities)))
_params = dict()
msg = dict(type='Action',
request='Opera... | [
"async",
"def",
"Operations",
"(",
"self",
",",
"entities",
"=",
"None",
")",
":",
"if",
"entities",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"entities",
",",
"(",
"bytes",
",",
"str",
",",
"list",
")",
")",
":",
"raise",
"Exception",
"(... | Operations fetches the specified operation ids. | [
"Operations",
"fetches",
"the",
"specified",
"operation",
"ids",
"."
] | [
"'''\n Operations fetches the specified operation ids.\n\n entities : typing.Sequence[~Entity]\n Returns -> OperationResults\n '''",
"# map input types to rpc msg"
] | [
{
"param": "self",
"type": null
},
{
"param": "entities",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
},
{
"identifier": "entities",
"type": null,
"docstring": null,
"docstring_tokens... |
cdb853d5c657e372b41b5c9a194af9835cef1cc1 | sed-i/python-libjuju | juju/client/_client6.py | [
"Apache-2.0"
] | Python | Run | <not_specific> | async def Run(self, applications=None, commands=None, machines=None, timeout=None, units=None, workload_context=None):
'''
Run the commands specified on the machines identified through the
list of machines, units and services.
applications : typing.Sequence[str]
commands : str
... |
Run the commands specified on the machines identified through the
list of machines, units and services.
applications : typing.Sequence[str]
commands : str
machines : typing.Sequence[str]
timeout : int
units : typing.Sequence[str]
workload_context : bool
... | Run the commands specified on the machines identified through the
list of machines, units and services.
| [
"Run",
"the",
"commands",
"specified",
"on",
"the",
"machines",
"identified",
"through",
"the",
"list",
"of",
"machines",
"units",
"and",
"services",
"."
] | async def Run(self, applications=None, commands=None, machines=None, timeout=None, units=None, workload_context=None):
if applications is not None and not isinstance(applications, (bytes, str, list)):
raise Exception("Expected applications to be a Sequence, received: {}".format(type(applications)))
... | [
"async",
"def",
"Run",
"(",
"self",
",",
"applications",
"=",
"None",
",",
"commands",
"=",
"None",
",",
"machines",
"=",
"None",
",",
"timeout",
"=",
"None",
",",
"units",
"=",
"None",
",",
"workload_context",
"=",
"None",
")",
":",
"if",
"application... | Run the commands specified on the machines identified through the
list of machines, units and services. | [
"Run",
"the",
"commands",
"specified",
"on",
"the",
"machines",
"identified",
"through",
"the",
"list",
"of",
"machines",
"units",
"and",
"services",
"."
] | [
"'''\n Run the commands specified on the machines identified through the\n list of machines, units and services.\n\n applications : typing.Sequence[str]\n commands : str\n machines : typing.Sequence[str]\n timeout : int\n units : typing.Sequence[str]\n workloa... | [
{
"param": "self",
"type": null
},
{
"param": "applications",
"type": null
},
{
"param": "commands",
"type": null
},
{
"param": "machines",
"type": null
},
{
"param": "timeout",
"type": null
},
{
"param": "units",
"type": null
},
{
"param":... | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
},
{
"identifier": "applications",
"type": null,
"docstring": null,
"docstring_to... |
cdb853d5c657e372b41b5c9a194af9835cef1cc1 | sed-i/python-libjuju | juju/client/_client6.py | [
"Apache-2.0"
] | Python | RunOnAllMachines | <not_specific> | async def RunOnAllMachines(self, applications=None, commands=None, machines=None, timeout=None, units=None, workload_context=None):
'''
RunOnAllMachines attempts to run the specified command on all the machines.
applications : typing.Sequence[str]
commands : str
machines : typin... |
RunOnAllMachines attempts to run the specified command on all the machines.
applications : typing.Sequence[str]
commands : str
machines : typing.Sequence[str]
timeout : int
units : typing.Sequence[str]
workload_context : bool
Returns -> ActionResults
... | RunOnAllMachines attempts to run the specified command on all the machines. | [
"RunOnAllMachines",
"attempts",
"to",
"run",
"the",
"specified",
"command",
"on",
"all",
"the",
"machines",
"."
] | async def RunOnAllMachines(self, applications=None, commands=None, machines=None, timeout=None, units=None, workload_context=None):
if applications is not None and not isinstance(applications, (bytes, str, list)):
raise Exception("Expected applications to be a Sequence, received: {}".format(type(app... | [
"async",
"def",
"RunOnAllMachines",
"(",
"self",
",",
"applications",
"=",
"None",
",",
"commands",
"=",
"None",
",",
"machines",
"=",
"None",
",",
"timeout",
"=",
"None",
",",
"units",
"=",
"None",
",",
"workload_context",
"=",
"None",
")",
":",
"if",
... | RunOnAllMachines attempts to run the specified command on all the machines. | [
"RunOnAllMachines",
"attempts",
"to",
"run",
"the",
"specified",
"command",
"on",
"all",
"the",
"machines",
"."
] | [
"'''\n RunOnAllMachines attempts to run the specified command on all the machines.\n\n applications : typing.Sequence[str]\n commands : str\n machines : typing.Sequence[str]\n timeout : int\n units : typing.Sequence[str]\n workload_context : bool\n Returns -> ... | [
{
"param": "self",
"type": null
},
{
"param": "applications",
"type": null
},
{
"param": "commands",
"type": null
},
{
"param": "machines",
"type": null
},
{
"param": "timeout",
"type": null
},
{
"param": "units",
"type": null
},
{
"param":... | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
},
{
"identifier": "applications",
"type": null,
"docstring": null,
"docstring_to... |
cdb853d5c657e372b41b5c9a194af9835cef1cc1 | sed-i/python-libjuju | juju/client/_client6.py | [
"Apache-2.0"
] | Python | WatchActionsProgress | <not_specific> | async def WatchActionsProgress(self, entities=None):
'''
WatchActionsProgress creates a watcher that reports on action log messages.
entities : typing.Sequence[~Entity]
Returns -> StringsWatchResults
'''
if entities is not None and not isinstance(entities, (bytes, str, l... |
WatchActionsProgress creates a watcher that reports on action log messages.
entities : typing.Sequence[~Entity]
Returns -> StringsWatchResults
| WatchActionsProgress creates a watcher that reports on action log messages.
entities : typing.Sequence[~Entity]
Returns -> StringsWatchResults | [
"WatchActionsProgress",
"creates",
"a",
"watcher",
"that",
"reports",
"on",
"action",
"log",
"messages",
".",
"entities",
":",
"typing",
".",
"Sequence",
"[",
"~Entity",
"]",
"Returns",
"-",
">",
"StringsWatchResults"
] | async def WatchActionsProgress(self, entities=None):
if entities is not None and not isinstance(entities, (bytes, str, list)):
raise Exception("Expected entities to be a Sequence, received: {}".format(type(entities)))
_params = dict()
msg = dict(type='Action',
requ... | [
"async",
"def",
"WatchActionsProgress",
"(",
"self",
",",
"entities",
"=",
"None",
")",
":",
"if",
"entities",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"entities",
",",
"(",
"bytes",
",",
"str",
",",
"list",
")",
")",
":",
"raise",
"Except... | WatchActionsProgress creates a watcher that reports on action log messages. | [
"WatchActionsProgress",
"creates",
"a",
"watcher",
"that",
"reports",
"on",
"action",
"log",
"messages",
"."
] | [
"'''\n WatchActionsProgress creates a watcher that reports on action log messages.\n\n entities : typing.Sequence[~Entity]\n Returns -> StringsWatchResults\n '''",
"# map input types to rpc msg"
] | [
{
"param": "self",
"type": null
},
{
"param": "entities",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
},
{
"identifier": "entities",
"type": null,
"docstring": null,
"docstring_tokens... |
cdb853d5c657e372b41b5c9a194af9835cef1cc1 | sed-i/python-libjuju | juju/client/_client6.py | [
"Apache-2.0"
] | Python | AreManuallyProvisioned | <not_specific> | async def AreManuallyProvisioned(self, entities=None):
'''
AreManuallyProvisioned returns whether each given entity is
manually provisioned or not. Only machine tags are accepted.
entities : typing.Sequence[~Entity]
Returns -> BoolResults
'''
if entities is not N... |
AreManuallyProvisioned returns whether each given entity is
manually provisioned or not. Only machine tags are accepted.
entities : typing.Sequence[~Entity]
Returns -> BoolResults
| AreManuallyProvisioned returns whether each given entity is
manually provisioned or not. Only machine tags are accepted.
entities : typing.Sequence[~Entity]
Returns -> BoolResults | [
"AreManuallyProvisioned",
"returns",
"whether",
"each",
"given",
"entity",
"is",
"manually",
"provisioned",
"or",
"not",
".",
"Only",
"machine",
"tags",
"are",
"accepted",
".",
"entities",
":",
"typing",
".",
"Sequence",
"[",
"~Entity",
"]",
"Returns",
"-",
">... | async def AreManuallyProvisioned(self, entities=None):
if entities is not None and not isinstance(entities, (bytes, str, list)):
raise Exception("Expected entities to be a Sequence, received: {}".format(type(entities)))
_params = dict()
msg = dict(type='Firewaller',
... | [
"async",
"def",
"AreManuallyProvisioned",
"(",
"self",
",",
"entities",
"=",
"None",
")",
":",
"if",
"entities",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"entities",
",",
"(",
"bytes",
",",
"str",
",",
"list",
")",
")",
":",
"raise",
"Exce... | AreManuallyProvisioned returns whether each given entity is
manually provisioned or not. | [
"AreManuallyProvisioned",
"returns",
"whether",
"each",
"given",
"entity",
"is",
"manually",
"provisioned",
"or",
"not",
"."
] | [
"'''\n AreManuallyProvisioned returns whether each given entity is\n manually provisioned or not. Only machine tags are accepted.\n\n entities : typing.Sequence[~Entity]\n Returns -> BoolResults\n '''",
"# map input types to rpc msg"
] | [
{
"param": "self",
"type": null
},
{
"param": "entities",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
},
{
"identifier": "entities",
"type": null,
"docstring": null,
"docstring_tokens... |
cdb853d5c657e372b41b5c9a194af9835cef1cc1 | sed-i/python-libjuju | juju/client/_client6.py | [
"Apache-2.0"
] | Python | ControllerAPIInfoForModels | <not_specific> | async def ControllerAPIInfoForModels(self, entities=None):
'''
ControllerAPIInfoForModels returns the controller api connection details for the specified models.
entities : typing.Sequence[~Entity]
Returns -> ControllerAPIInfoResults
'''
if entities is not None and not i... |
ControllerAPIInfoForModels returns the controller api connection details for the specified models.
entities : typing.Sequence[~Entity]
Returns -> ControllerAPIInfoResults
| ControllerAPIInfoForModels returns the controller api connection details for the specified models.
entities : typing.Sequence[~Entity]
Returns -> ControllerAPIInfoResults | [
"ControllerAPIInfoForModels",
"returns",
"the",
"controller",
"api",
"connection",
"details",
"for",
"the",
"specified",
"models",
".",
"entities",
":",
"typing",
".",
"Sequence",
"[",
"~Entity",
"]",
"Returns",
"-",
">",
"ControllerAPIInfoResults"
] | async def ControllerAPIInfoForModels(self, entities=None):
if entities is not None and not isinstance(entities, (bytes, str, list)):
raise Exception("Expected entities to be a Sequence, received: {}".format(type(entities)))
_params = dict()
msg = dict(type='Firewaller',
... | [
"async",
"def",
"ControllerAPIInfoForModels",
"(",
"self",
",",
"entities",
"=",
"None",
")",
":",
"if",
"entities",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"entities",
",",
"(",
"bytes",
",",
"str",
",",
"list",
")",
")",
":",
"raise",
"... | ControllerAPIInfoForModels returns the controller api connection details for the specified models. | [
"ControllerAPIInfoForModels",
"returns",
"the",
"controller",
"api",
"connection",
"details",
"for",
"the",
"specified",
"models",
"."
] | [
"'''\n ControllerAPIInfoForModels returns the controller api connection details for the specified models.\n\n entities : typing.Sequence[~Entity]\n Returns -> ControllerAPIInfoResults\n '''",
"# map input types to rpc msg"
] | [
{
"param": "self",
"type": null
},
{
"param": "entities",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
},
{
"identifier": "entities",
"type": null,
"docstring": null,
"docstring_tokens... |
cdb853d5c657e372b41b5c9a194af9835cef1cc1 | sed-i/python-libjuju | juju/client/_client6.py | [
"Apache-2.0"
] | Python | ControllerConfig | <not_specific> | async def ControllerConfig(self):
'''
ControllerConfig returns the controller's configuration.
Returns -> ControllerConfigResult
'''
# map input types to rpc msg
_params = dict()
msg = dict(type='Firewaller',
request='ControllerConfig',
... |
ControllerConfig returns the controller's configuration.
Returns -> ControllerConfigResult
| ControllerConfig returns the controller's configuration. | [
"ControllerConfig",
"returns",
"the",
"controller",
"'",
"s",
"configuration",
"."
] | async def ControllerConfig(self):
_params = dict()
msg = dict(type='Firewaller',
request='ControllerConfig',
version=6,
params=_params)
reply = await self.rpc(msg)
return reply | [
"async",
"def",
"ControllerConfig",
"(",
"self",
")",
":",
"_params",
"=",
"dict",
"(",
")",
"msg",
"=",
"dict",
"(",
"type",
"=",
"'Firewaller'",
",",
"request",
"=",
"'ControllerConfig'",
",",
"version",
"=",
"6",
",",
"params",
"=",
"_params",
")",
... | ControllerConfig returns the controller's configuration. | [
"ControllerConfig",
"returns",
"the",
"controller",
"'",
"s",
"configuration",
"."
] | [
"'''\n ControllerConfig returns the controller's configuration.\n\n\n Returns -> ControllerConfigResult\n '''",
"# map input types to rpc msg"
] | [
{
"param": "self",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
}
],
"outlier_params": [],
"others": []
} |
cdb853d5c657e372b41b5c9a194af9835cef1cc1 | sed-i/python-libjuju | juju/client/_client6.py | [
"Apache-2.0"
] | Python | FirewallRules | <not_specific> | async def FirewallRules(self, known_services=None):
'''
FirewallRules returns the firewall rules for the specified well known service types.
known_services : typing.Sequence[str]
Returns -> ListFirewallRulesResults
'''
if known_services is not None and not isinstance(kno... |
FirewallRules returns the firewall rules for the specified well known service types.
known_services : typing.Sequence[str]
Returns -> ListFirewallRulesResults
| FirewallRules returns the firewall rules for the specified well known service types. | [
"FirewallRules",
"returns",
"the",
"firewall",
"rules",
"for",
"the",
"specified",
"well",
"known",
"service",
"types",
"."
] | async def FirewallRules(self, known_services=None):
if known_services is not None and not isinstance(known_services, (bytes, str, list)):
raise Exception("Expected known_services to be a Sequence, received: {}".format(type(known_services)))
_params = dict()
msg = dict(type='Firewalle... | [
"async",
"def",
"FirewallRules",
"(",
"self",
",",
"known_services",
"=",
"None",
")",
":",
"if",
"known_services",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"known_services",
",",
"(",
"bytes",
",",
"str",
",",
"list",
")",
")",
":",
"raise"... | FirewallRules returns the firewall rules for the specified well known service types. | [
"FirewallRules",
"returns",
"the",
"firewall",
"rules",
"for",
"the",
"specified",
"well",
"known",
"service",
"types",
"."
] | [
"'''\n FirewallRules returns the firewall rules for the specified well known service types.\n\n known_services : typing.Sequence[str]\n Returns -> ListFirewallRulesResults\n '''",
"# map input types to rpc msg"
] | [
{
"param": "self",
"type": null
},
{
"param": "known_services",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
},
{
"identifier": "known_services",
"type": null,
"docstring": null,
"docstring_... |
cdb853d5c657e372b41b5c9a194af9835cef1cc1 | sed-i/python-libjuju | juju/client/_client6.py | [
"Apache-2.0"
] | Python | GetCloudSpec | <not_specific> | async def GetCloudSpec(self):
'''
GetCloudSpec constructs the CloudSpec for a validated and authorized model.
Returns -> CloudSpecResult
'''
# map input types to rpc msg
_params = dict()
msg = dict(type='Firewaller',
request='GetCloudSpec',
... |
GetCloudSpec constructs the CloudSpec for a validated and authorized model.
Returns -> CloudSpecResult
| GetCloudSpec constructs the CloudSpec for a validated and authorized model. | [
"GetCloudSpec",
"constructs",
"the",
"CloudSpec",
"for",
"a",
"validated",
"and",
"authorized",
"model",
"."
] | async def GetCloudSpec(self):
_params = dict()
msg = dict(type='Firewaller',
request='GetCloudSpec',
version=6,
params=_params)
reply = await self.rpc(msg)
return reply | [
"async",
"def",
"GetCloudSpec",
"(",
"self",
")",
":",
"_params",
"=",
"dict",
"(",
")",
"msg",
"=",
"dict",
"(",
"type",
"=",
"'Firewaller'",
",",
"request",
"=",
"'GetCloudSpec'",
",",
"version",
"=",
"6",
",",
"params",
"=",
"_params",
")",
"reply",... | GetCloudSpec constructs the CloudSpec for a validated and authorized model. | [
"GetCloudSpec",
"constructs",
"the",
"CloudSpec",
"for",
"a",
"validated",
"and",
"authorized",
"model",
"."
] | [
"'''\n GetCloudSpec constructs the CloudSpec for a validated and authorized model.\n\n\n Returns -> CloudSpecResult\n '''",
"# map input types to rpc msg"
] | [
{
"param": "self",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
}
],
"outlier_params": [],
"others": []
} |
cdb853d5c657e372b41b5c9a194af9835cef1cc1 | sed-i/python-libjuju | juju/client/_client6.py | [
"Apache-2.0"
] | Python | GetExposeInfo | <not_specific> | async def GetExposeInfo(self, entities=None):
'''
GetExposeInfo returns the expose flag and per-endpoint expose settings
for the specified applications.
entities : typing.Sequence[~Entity]
Returns -> ExposeInfoResults
'''
if entities is not None and not isinstanc... |
GetExposeInfo returns the expose flag and per-endpoint expose settings
for the specified applications.
entities : typing.Sequence[~Entity]
Returns -> ExposeInfoResults
| GetExposeInfo returns the expose flag and per-endpoint expose settings
for the specified applications.
entities : typing.Sequence[~Entity]
Returns -> ExposeInfoResults | [
"GetExposeInfo",
"returns",
"the",
"expose",
"flag",
"and",
"per",
"-",
"endpoint",
"expose",
"settings",
"for",
"the",
"specified",
"applications",
".",
"entities",
":",
"typing",
".",
"Sequence",
"[",
"~Entity",
"]",
"Returns",
"-",
">",
"ExposeInfoResults"
] | async def GetExposeInfo(self, entities=None):
if entities is not None and not isinstance(entities, (bytes, str, list)):
raise Exception("Expected entities to be a Sequence, received: {}".format(type(entities)))
_params = dict()
msg = dict(type='Firewaller',
request... | [
"async",
"def",
"GetExposeInfo",
"(",
"self",
",",
"entities",
"=",
"None",
")",
":",
"if",
"entities",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"entities",
",",
"(",
"bytes",
",",
"str",
",",
"list",
")",
")",
":",
"raise",
"Exception",
... | GetExposeInfo returns the expose flag and per-endpoint expose settings
for the specified applications. | [
"GetExposeInfo",
"returns",
"the",
"expose",
"flag",
"and",
"per",
"-",
"endpoint",
"expose",
"settings",
"for",
"the",
"specified",
"applications",
"."
] | [
"'''\n GetExposeInfo returns the expose flag and per-endpoint expose settings\n for the specified applications.\n\n entities : typing.Sequence[~Entity]\n Returns -> ExposeInfoResults\n '''",
"# map input types to rpc msg"
] | [
{
"param": "self",
"type": null
},
{
"param": "entities",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
},
{
"identifier": "entities",
"type": null,
"docstring": null,
"docstring_tokens... |
cdb853d5c657e372b41b5c9a194af9835cef1cc1 | sed-i/python-libjuju | juju/client/_client6.py | [
"Apache-2.0"
] | Python | InstanceId | <not_specific> | async def InstanceId(self, entities=None):
'''
InstanceId returns the provider specific instance id for each given
machine or an CodeNotProvisioned error, if not set.
entities : typing.Sequence[~Entity]
Returns -> StringResults
'''
if entities is not None and not... |
InstanceId returns the provider specific instance id for each given
machine or an CodeNotProvisioned error, if not set.
entities : typing.Sequence[~Entity]
Returns -> StringResults
| InstanceId returns the provider specific instance id for each given
machine or an CodeNotProvisioned error, if not set.
entities : typing.Sequence[~Entity]
Returns -> StringResults | [
"InstanceId",
"returns",
"the",
"provider",
"specific",
"instance",
"id",
"for",
"each",
"given",
"machine",
"or",
"an",
"CodeNotProvisioned",
"error",
"if",
"not",
"set",
".",
"entities",
":",
"typing",
".",
"Sequence",
"[",
"~Entity",
"]",
"Returns",
"-",
... | async def InstanceId(self, entities=None):
if entities is not None and not isinstance(entities, (bytes, str, list)):
raise Exception("Expected entities to be a Sequence, received: {}".format(type(entities)))
_params = dict()
msg = dict(type='Firewaller',
request='I... | [
"async",
"def",
"InstanceId",
"(",
"self",
",",
"entities",
"=",
"None",
")",
":",
"if",
"entities",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"entities",
",",
"(",
"bytes",
",",
"str",
",",
"list",
")",
")",
":",
"raise",
"Exception",
"(... | InstanceId returns the provider specific instance id for each given
machine or an CodeNotProvisioned error, if not set. | [
"InstanceId",
"returns",
"the",
"provider",
"specific",
"instance",
"id",
"for",
"each",
"given",
"machine",
"or",
"an",
"CodeNotProvisioned",
"error",
"if",
"not",
"set",
"."
] | [
"'''\n InstanceId returns the provider specific instance id for each given\n machine or an CodeNotProvisioned error, if not set.\n\n entities : typing.Sequence[~Entity]\n Returns -> StringResults\n '''",
"# map input types to rpc msg"
] | [
{
"param": "self",
"type": null
},
{
"param": "entities",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
},
{
"identifier": "entities",
"type": null,
"docstring": null,
"docstring_tokens... |
cdb853d5c657e372b41b5c9a194af9835cef1cc1 | sed-i/python-libjuju | juju/client/_client6.py | [
"Apache-2.0"
] | Python | Life | <not_specific> | async def Life(self, entities=None):
'''
Life returns the life status of every supplied entity, where available.
entities : typing.Sequence[~Entity]
Returns -> LifeResults
'''
if entities is not None and not isinstance(entities, (bytes, str, list)):
raise Exc... |
Life returns the life status of every supplied entity, where available.
entities : typing.Sequence[~Entity]
Returns -> LifeResults
| Life returns the life status of every supplied entity, where available.
entities : typing.Sequence[~Entity]
Returns -> LifeResults | [
"Life",
"returns",
"the",
"life",
"status",
"of",
"every",
"supplied",
"entity",
"where",
"available",
".",
"entities",
":",
"typing",
".",
"Sequence",
"[",
"~Entity",
"]",
"Returns",
"-",
">",
"LifeResults"
] | async def Life(self, entities=None):
if entities is not None and not isinstance(entities, (bytes, str, list)):
raise Exception("Expected entities to be a Sequence, received: {}".format(type(entities)))
_params = dict()
msg = dict(type='Firewaller',
request='Life',
... | [
"async",
"def",
"Life",
"(",
"self",
",",
"entities",
"=",
"None",
")",
":",
"if",
"entities",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"entities",
",",
"(",
"bytes",
",",
"str",
",",
"list",
")",
")",
":",
"raise",
"Exception",
"(",
"... | Life returns the life status of every supplied entity, where available. | [
"Life",
"returns",
"the",
"life",
"status",
"of",
"every",
"supplied",
"entity",
"where",
"available",
"."
] | [
"'''\n Life returns the life status of every supplied entity, where available.\n\n entities : typing.Sequence[~Entity]\n Returns -> LifeResults\n '''",
"# map input types to rpc msg"
] | [
{
"param": "self",
"type": null
},
{
"param": "entities",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
},
{
"identifier": "entities",
"type": null,
"docstring": null,
"docstring_tokens... |
cdb853d5c657e372b41b5c9a194af9835cef1cc1 | sed-i/python-libjuju | juju/client/_client6.py | [
"Apache-2.0"
] | Python | MacaroonForRelations | <not_specific> | async def MacaroonForRelations(self, entities=None):
'''
MacaroonForRelations returns the macaroon for the specified relations.
entities : typing.Sequence[~Entity]
Returns -> MacaroonResults
'''
if entities is not None and not isinstance(entities, (bytes, str, list)):
... |
MacaroonForRelations returns the macaroon for the specified relations.
entities : typing.Sequence[~Entity]
Returns -> MacaroonResults
| MacaroonForRelations returns the macaroon for the specified relations.
entities : typing.Sequence[~Entity]
Returns -> MacaroonResults | [
"MacaroonForRelations",
"returns",
"the",
"macaroon",
"for",
"the",
"specified",
"relations",
".",
"entities",
":",
"typing",
".",
"Sequence",
"[",
"~Entity",
"]",
"Returns",
"-",
">",
"MacaroonResults"
] | async def MacaroonForRelations(self, entities=None):
if entities is not None and not isinstance(entities, (bytes, str, list)):
raise Exception("Expected entities to be a Sequence, received: {}".format(type(entities)))
_params = dict()
msg = dict(type='Firewaller',
... | [
"async",
"def",
"MacaroonForRelations",
"(",
"self",
",",
"entities",
"=",
"None",
")",
":",
"if",
"entities",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"entities",
",",
"(",
"bytes",
",",
"str",
",",
"list",
")",
")",
":",
"raise",
"Except... | MacaroonForRelations returns the macaroon for the specified relations. | [
"MacaroonForRelations",
"returns",
"the",
"macaroon",
"for",
"the",
"specified",
"relations",
"."
] | [
"'''\n MacaroonForRelations returns the macaroon for the specified relations.\n\n entities : typing.Sequence[~Entity]\n Returns -> MacaroonResults\n '''",
"# map input types to rpc msg"
] | [
{
"param": "self",
"type": null
},
{
"param": "entities",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
},
{
"identifier": "entities",
"type": null,
"docstring": null,
"docstring_tokens... |
cdb853d5c657e372b41b5c9a194af9835cef1cc1 | sed-i/python-libjuju | juju/client/_client6.py | [
"Apache-2.0"
] | Python | ModelConfig | <not_specific> | async def ModelConfig(self):
'''
ModelConfig returns the current model's configuration.
Returns -> ModelConfigResult
'''
# map input types to rpc msg
_params = dict()
msg = dict(type='Firewaller',
request='ModelConfig',
ver... |
ModelConfig returns the current model's configuration.
Returns -> ModelConfigResult
| ModelConfig returns the current model's configuration. | [
"ModelConfig",
"returns",
"the",
"current",
"model",
"'",
"s",
"configuration",
"."
] | async def ModelConfig(self):
_params = dict()
msg = dict(type='Firewaller',
request='ModelConfig',
version=6,
params=_params)
reply = await self.rpc(msg)
return reply | [
"async",
"def",
"ModelConfig",
"(",
"self",
")",
":",
"_params",
"=",
"dict",
"(",
")",
"msg",
"=",
"dict",
"(",
"type",
"=",
"'Firewaller'",
",",
"request",
"=",
"'ModelConfig'",
",",
"version",
"=",
"6",
",",
"params",
"=",
"_params",
")",
"reply",
... | ModelConfig returns the current model's configuration. | [
"ModelConfig",
"returns",
"the",
"current",
"model",
"'",
"s",
"configuration",
"."
] | [
"'''\n ModelConfig returns the current model's configuration.\n\n\n Returns -> ModelConfigResult\n '''",
"# map input types to rpc msg"
] | [
{
"param": "self",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
}
],
"outlier_params": [],
"others": []
} |
cdb853d5c657e372b41b5c9a194af9835cef1cc1 | sed-i/python-libjuju | juju/client/_client6.py | [
"Apache-2.0"
] | Python | OpenedMachinePortRanges | <not_specific> | async def OpenedMachinePortRanges(self, entities=None):
'''
OpenedMachinePortRanges returns a list of the opened port ranges for the
specified machines where each result is broken down by unit. The list of
opened ports for each unit is further grouped by endpoint name and includes
... |
OpenedMachinePortRanges returns a list of the opened port ranges for the
specified machines where each result is broken down by unit. The list of
opened ports for each unit is further grouped by endpoint name and includes
the subnet CIDRs that belong to the space that each endpoint is b... | OpenedMachinePortRanges returns a list of the opened port ranges for the
specified machines where each result is broken down by unit. The list of
opened ports for each unit is further grouped by endpoint name and includes
the subnet CIDRs that belong to the space that each endpoint is bound to.
entities : typing.Seque... | [
"OpenedMachinePortRanges",
"returns",
"a",
"list",
"of",
"the",
"opened",
"port",
"ranges",
"for",
"the",
"specified",
"machines",
"where",
"each",
"result",
"is",
"broken",
"down",
"by",
"unit",
".",
"The",
"list",
"of",
"opened",
"ports",
"for",
"each",
"u... | async def OpenedMachinePortRanges(self, entities=None):
if entities is not None and not isinstance(entities, (bytes, str, list)):
raise Exception("Expected entities to be a Sequence, received: {}".format(type(entities)))
_params = dict()
msg = dict(type='Firewaller',
... | [
"async",
"def",
"OpenedMachinePortRanges",
"(",
"self",
",",
"entities",
"=",
"None",
")",
":",
"if",
"entities",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"entities",
",",
"(",
"bytes",
",",
"str",
",",
"list",
")",
")",
":",
"raise",
"Exc... | OpenedMachinePortRanges returns a list of the opened port ranges for the
specified machines where each result is broken down by unit. | [
"OpenedMachinePortRanges",
"returns",
"a",
"list",
"of",
"the",
"opened",
"port",
"ranges",
"for",
"the",
"specified",
"machines",
"where",
"each",
"result",
"is",
"broken",
"down",
"by",
"unit",
"."
] | [
"'''\n OpenedMachinePortRanges returns a list of the opened port ranges for the\n specified machines where each result is broken down by unit. The list of\n opened ports for each unit is further grouped by endpoint name and includes\n the subnet CIDRs that belong to the space that each e... | [
{
"param": "self",
"type": null
},
{
"param": "entities",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
},
{
"identifier": "entities",
"type": null,
"docstring": null,
"docstring_tokens... |
cdb853d5c657e372b41b5c9a194af9835cef1cc1 | sed-i/python-libjuju | juju/client/_client6.py | [
"Apache-2.0"
] | Python | SetRelationsStatus | <not_specific> | async def SetRelationsStatus(self, entities=None):
'''
SetRelationsStatus sets the status for the specified relations.
entities : typing.Sequence[~EntityStatusArgs]
Returns -> ErrorResults
'''
if entities is not None and not isinstance(entities, (bytes, str, list)):
... |
SetRelationsStatus sets the status for the specified relations.
entities : typing.Sequence[~EntityStatusArgs]
Returns -> ErrorResults
| SetRelationsStatus sets the status for the specified relations. | [
"SetRelationsStatus",
"sets",
"the",
"status",
"for",
"the",
"specified",
"relations",
"."
] | async def SetRelationsStatus(self, entities=None):
if entities is not None and not isinstance(entities, (bytes, str, list)):
raise Exception("Expected entities to be a Sequence, received: {}".format(type(entities)))
_params = dict()
msg = dict(type='Firewaller',
re... | [
"async",
"def",
"SetRelationsStatus",
"(",
"self",
",",
"entities",
"=",
"None",
")",
":",
"if",
"entities",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"entities",
",",
"(",
"bytes",
",",
"str",
",",
"list",
")",
")",
":",
"raise",
"Exceptio... | SetRelationsStatus sets the status for the specified relations. | [
"SetRelationsStatus",
"sets",
"the",
"status",
"for",
"the",
"specified",
"relations",
"."
] | [
"'''\n SetRelationsStatus sets the status for the specified relations.\n\n entities : typing.Sequence[~EntityStatusArgs]\n Returns -> ErrorResults\n '''",
"# map input types to rpc msg"
] | [
{
"param": "self",
"type": null
},
{
"param": "entities",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
},
{
"identifier": "entities",
"type": null,
"docstring": null,
"docstring_tokens... |
cdb853d5c657e372b41b5c9a194af9835cef1cc1 | sed-i/python-libjuju | juju/client/_client6.py | [
"Apache-2.0"
] | Python | SpaceInfos | <not_specific> | async def SpaceInfos(self, space_ids=None):
'''
SpaceInfos returns a comprehensive representation of either all spaces or
a filtered subset of the known spaces and their associated subnet details.
space_ids : typing.Sequence[str]
Returns -> SpaceInfos
'''
if spac... |
SpaceInfos returns a comprehensive representation of either all spaces or
a filtered subset of the known spaces and their associated subnet details.
space_ids : typing.Sequence[str]
Returns -> SpaceInfos
| SpaceInfos returns a comprehensive representation of either all spaces or
a filtered subset of the known spaces and their associated subnet details.
| [
"SpaceInfos",
"returns",
"a",
"comprehensive",
"representation",
"of",
"either",
"all",
"spaces",
"or",
"a",
"filtered",
"subset",
"of",
"the",
"known",
"spaces",
"and",
"their",
"associated",
"subnet",
"details",
"."
] | async def SpaceInfos(self, space_ids=None):
if space_ids is not None and not isinstance(space_ids, (bytes, str, list)):
raise Exception("Expected space_ids to be a Sequence, received: {}".format(type(space_ids)))
_params = dict()
msg = dict(type='Firewaller',
reque... | [
"async",
"def",
"SpaceInfos",
"(",
"self",
",",
"space_ids",
"=",
"None",
")",
":",
"if",
"space_ids",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"space_ids",
",",
"(",
"bytes",
",",
"str",
",",
"list",
")",
")",
":",
"raise",
"Exception",
... | SpaceInfos returns a comprehensive representation of either all spaces or
a filtered subset of the known spaces and their associated subnet details. | [
"SpaceInfos",
"returns",
"a",
"comprehensive",
"representation",
"of",
"either",
"all",
"spaces",
"or",
"a",
"filtered",
"subset",
"of",
"the",
"known",
"spaces",
"and",
"their",
"associated",
"subnet",
"details",
"."
] | [
"'''\n SpaceInfos returns a comprehensive representation of either all spaces or\n a filtered subset of the known spaces and their associated subnet details.\n\n space_ids : typing.Sequence[str]\n Returns -> SpaceInfos\n '''",
"# map input types to rpc msg"
] | [
{
"param": "self",
"type": null
},
{
"param": "space_ids",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
},
{
"identifier": "space_ids",
"type": null,
"docstring": null,
"docstring_token... |
cdb853d5c657e372b41b5c9a194af9835cef1cc1 | sed-i/python-libjuju | juju/client/_client6.py | [
"Apache-2.0"
] | Python | Watch | <not_specific> | async def Watch(self, entities=None):
'''
Watch starts an NotifyWatcher for each given entity.
entities : typing.Sequence[~Entity]
Returns -> NotifyWatchResults
'''
if entities is not None and not isinstance(entities, (bytes, str, list)):
raise Exception("Exp... |
Watch starts an NotifyWatcher for each given entity.
entities : typing.Sequence[~Entity]
Returns -> NotifyWatchResults
| Watch starts an NotifyWatcher for each given entity.
entities : typing.Sequence[~Entity]
Returns -> NotifyWatchResults | [
"Watch",
"starts",
"an",
"NotifyWatcher",
"for",
"each",
"given",
"entity",
".",
"entities",
":",
"typing",
".",
"Sequence",
"[",
"~Entity",
"]",
"Returns",
"-",
">",
"NotifyWatchResults"
] | async def Watch(self, entities=None):
if entities is not None and not isinstance(entities, (bytes, str, list)):
raise Exception("Expected entities to be a Sequence, received: {}".format(type(entities)))
_params = dict()
msg = dict(type='Firewaller',
request='Watch'... | [
"async",
"def",
"Watch",
"(",
"self",
",",
"entities",
"=",
"None",
")",
":",
"if",
"entities",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"entities",
",",
"(",
"bytes",
",",
"str",
",",
"list",
")",
")",
":",
"raise",
"Exception",
"(",
... | Watch starts an NotifyWatcher for each given entity. | [
"Watch",
"starts",
"an",
"NotifyWatcher",
"for",
"each",
"given",
"entity",
"."
] | [
"'''\n Watch starts an NotifyWatcher for each given entity.\n\n entities : typing.Sequence[~Entity]\n Returns -> NotifyWatchResults\n '''",
"# map input types to rpc msg"
] | [
{
"param": "self",
"type": null
},
{
"param": "entities",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
},
{
"identifier": "entities",
"type": null,
"docstring": null,
"docstring_tokens... |
cdb853d5c657e372b41b5c9a194af9835cef1cc1 | sed-i/python-libjuju | juju/client/_client6.py | [
"Apache-2.0"
] | Python | WatchCloudSpecsChanges | <not_specific> | async def WatchCloudSpecsChanges(self, entities=None):
'''
WatchCloudSpecsChanges returns a watcher for cloud spec changes.
entities : typing.Sequence[~Entity]
Returns -> NotifyWatchResults
'''
if entities is not None and not isinstance(entities, (bytes, str, list)):
... |
WatchCloudSpecsChanges returns a watcher for cloud spec changes.
entities : typing.Sequence[~Entity]
Returns -> NotifyWatchResults
| WatchCloudSpecsChanges returns a watcher for cloud spec changes.
entities : typing.Sequence[~Entity]
Returns -> NotifyWatchResults | [
"WatchCloudSpecsChanges",
"returns",
"a",
"watcher",
"for",
"cloud",
"spec",
"changes",
".",
"entities",
":",
"typing",
".",
"Sequence",
"[",
"~Entity",
"]",
"Returns",
"-",
">",
"NotifyWatchResults"
] | async def WatchCloudSpecsChanges(self, entities=None):
if entities is not None and not isinstance(entities, (bytes, str, list)):
raise Exception("Expected entities to be a Sequence, received: {}".format(type(entities)))
_params = dict()
msg = dict(type='Firewaller',
... | [
"async",
"def",
"WatchCloudSpecsChanges",
"(",
"self",
",",
"entities",
"=",
"None",
")",
":",
"if",
"entities",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"entities",
",",
"(",
"bytes",
",",
"str",
",",
"list",
")",
")",
":",
"raise",
"Exce... | WatchCloudSpecsChanges returns a watcher for cloud spec changes. | [
"WatchCloudSpecsChanges",
"returns",
"a",
"watcher",
"for",
"cloud",
"spec",
"changes",
"."
] | [
"'''\n WatchCloudSpecsChanges returns a watcher for cloud spec changes.\n\n entities : typing.Sequence[~Entity]\n Returns -> NotifyWatchResults\n '''",
"# map input types to rpc msg"
] | [
{
"param": "self",
"type": null
},
{
"param": "entities",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
},
{
"identifier": "entities",
"type": null,
"docstring": null,
"docstring_tokens... |
cdb853d5c657e372b41b5c9a194af9835cef1cc1 | sed-i/python-libjuju | juju/client/_client6.py | [
"Apache-2.0"
] | Python | WatchEgressAddressesForRelations | <not_specific> | async def WatchEgressAddressesForRelations(self, entities=None):
'''
WatchEgressAddressesForRelations creates a watcher that notifies when addresses, from which
connections will originate for the relation, change.
Each event contains the entire set of addresses which are required for ing... |
WatchEgressAddressesForRelations creates a watcher that notifies when addresses, from which
connections will originate for the relation, change.
Each event contains the entire set of addresses which are required for ingress for the relation.
entities : typing.Sequence[~Entity]
... | WatchEgressAddressesForRelations creates a watcher that notifies when addresses, from which
connections will originate for the relation, change.
Each event contains the entire set of addresses which are required for ingress for the relation.
entities : typing.Sequence[~Entity]
Returns -> StringsWatchResults | [
"WatchEgressAddressesForRelations",
"creates",
"a",
"watcher",
"that",
"notifies",
"when",
"addresses",
"from",
"which",
"connections",
"will",
"originate",
"for",
"the",
"relation",
"change",
".",
"Each",
"event",
"contains",
"the",
"entire",
"set",
"of",
"addresse... | async def WatchEgressAddressesForRelations(self, entities=None):
if entities is not None and not isinstance(entities, (bytes, str, list)):
raise Exception("Expected entities to be a Sequence, received: {}".format(type(entities)))
_params = dict()
msg = dict(type='Firewaller',
... | [
"async",
"def",
"WatchEgressAddressesForRelations",
"(",
"self",
",",
"entities",
"=",
"None",
")",
":",
"if",
"entities",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"entities",
",",
"(",
"bytes",
",",
"str",
",",
"list",
")",
")",
":",
"raise... | WatchEgressAddressesForRelations creates a watcher that notifies when addresses, from which
connections will originate for the relation, change. | [
"WatchEgressAddressesForRelations",
"creates",
"a",
"watcher",
"that",
"notifies",
"when",
"addresses",
"from",
"which",
"connections",
"will",
"originate",
"for",
"the",
"relation",
"change",
"."
] | [
"'''\n WatchEgressAddressesForRelations creates a watcher that notifies when addresses, from which\n connections will originate for the relation, change.\n Each event contains the entire set of addresses which are required for ingress for the relation.\n\n entities : typing.Sequence[~Ent... | [
{
"param": "self",
"type": null
},
{
"param": "entities",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
},
{
"identifier": "entities",
"type": null,
"docstring": null,
"docstring_tokens... |
cdb853d5c657e372b41b5c9a194af9835cef1cc1 | sed-i/python-libjuju | juju/client/_client6.py | [
"Apache-2.0"
] | Python | WatchForModelConfigChanges | <not_specific> | async def WatchForModelConfigChanges(self):
'''
WatchForModelConfigChanges returns a NotifyWatcher that observes
changes to the model configuration.
Note that although the NotifyWatchResult contains an Error field,
it's not used because we are only returning a single watcher,
... |
WatchForModelConfigChanges returns a NotifyWatcher that observes
changes to the model configuration.
Note that although the NotifyWatchResult contains an Error field,
it's not used because we are only returning a single watcher,
so we use the regular error return.
Retu... | WatchForModelConfigChanges returns a NotifyWatcher that observes
changes to the model configuration.
Note that although the NotifyWatchResult contains an Error field,
it's not used because we are only returning a single watcher,
so we use the regular error return.
| [
"WatchForModelConfigChanges",
"returns",
"a",
"NotifyWatcher",
"that",
"observes",
"changes",
"to",
"the",
"model",
"configuration",
".",
"Note",
"that",
"although",
"the",
"NotifyWatchResult",
"contains",
"an",
"Error",
"field",
"it",
"'",
"s",
"not",
"used",
"be... | async def WatchForModelConfigChanges(self):
_params = dict()
msg = dict(type='Firewaller',
request='WatchForModelConfigChanges',
version=6,
params=_params)
reply = await self.rpc(msg)
return reply | [
"async",
"def",
"WatchForModelConfigChanges",
"(",
"self",
")",
":",
"_params",
"=",
"dict",
"(",
")",
"msg",
"=",
"dict",
"(",
"type",
"=",
"'Firewaller'",
",",
"request",
"=",
"'WatchForModelConfigChanges'",
",",
"version",
"=",
"6",
",",
"params",
"=",
... | WatchForModelConfigChanges returns a NotifyWatcher that observes
changes to the model configuration. | [
"WatchForModelConfigChanges",
"returns",
"a",
"NotifyWatcher",
"that",
"observes",
"changes",
"to",
"the",
"model",
"configuration",
"."
] | [
"'''\n WatchForModelConfigChanges returns a NotifyWatcher that observes\n changes to the model configuration.\n Note that although the NotifyWatchResult contains an Error field,\n it's not used because we are only returning a single watcher,\n so we use the regular error return.\n... | [
{
"param": "self",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
}
],
"outlier_params": [],
"others": []
} |
cdb853d5c657e372b41b5c9a194af9835cef1cc1 | sed-i/python-libjuju | juju/client/_client6.py | [
"Apache-2.0"
] | Python | WatchIngressAddressesForRelations | <not_specific> | async def WatchIngressAddressesForRelations(self, entities=None):
'''
WatchIngressAddressesForRelations creates a watcher that returns the ingress networks
that have been recorded against the specified relations.
entities : typing.Sequence[~Entity]
Returns -> StringsWatchResults... |
WatchIngressAddressesForRelations creates a watcher that returns the ingress networks
that have been recorded against the specified relations.
entities : typing.Sequence[~Entity]
Returns -> StringsWatchResults
| WatchIngressAddressesForRelations creates a watcher that returns the ingress networks
that have been recorded against the specified relations.
entities : typing.Sequence[~Entity]
Returns -> StringsWatchResults | [
"WatchIngressAddressesForRelations",
"creates",
"a",
"watcher",
"that",
"returns",
"the",
"ingress",
"networks",
"that",
"have",
"been",
"recorded",
"against",
"the",
"specified",
"relations",
".",
"entities",
":",
"typing",
".",
"Sequence",
"[",
"~Entity",
"]",
"... | async def WatchIngressAddressesForRelations(self, entities=None):
if entities is not None and not isinstance(entities, (bytes, str, list)):
raise Exception("Expected entities to be a Sequence, received: {}".format(type(entities)))
_params = dict()
msg = dict(type='Firewaller',
... | [
"async",
"def",
"WatchIngressAddressesForRelations",
"(",
"self",
",",
"entities",
"=",
"None",
")",
":",
"if",
"entities",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"entities",
",",
"(",
"bytes",
",",
"str",
",",
"list",
")",
")",
":",
"rais... | WatchIngressAddressesForRelations creates a watcher that returns the ingress networks
that have been recorded against the specified relations. | [
"WatchIngressAddressesForRelations",
"creates",
"a",
"watcher",
"that",
"returns",
"the",
"ingress",
"networks",
"that",
"have",
"been",
"recorded",
"against",
"the",
"specified",
"relations",
"."
] | [
"'''\n WatchIngressAddressesForRelations creates a watcher that returns the ingress networks\n that have been recorded against the specified relations.\n\n entities : typing.Sequence[~Entity]\n Returns -> StringsWatchResults\n '''",
"# map input types to rpc msg"
] | [
{
"param": "self",
"type": null
},
{
"param": "entities",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
},
{
"identifier": "entities",
"type": null,
"docstring": null,
"docstring_tokens... |
cdb853d5c657e372b41b5c9a194af9835cef1cc1 | sed-i/python-libjuju | juju/client/_client6.py | [
"Apache-2.0"
] | Python | WatchModelMachineStartTimes | <not_specific> | async def WatchModelMachineStartTimes(self):
'''
WatchModelMachineStartTimes watches the non-container machines in the model
for changes to the Life or AgentStartTime fields and reports them as a batch.
Returns -> StringsWatchResult
'''
# map input types to rpc msg
... |
WatchModelMachineStartTimes watches the non-container machines in the model
for changes to the Life or AgentStartTime fields and reports them as a batch.
Returns -> StringsWatchResult
| WatchModelMachineStartTimes watches the non-container machines in the model
for changes to the Life or AgentStartTime fields and reports them as a batch.
| [
"WatchModelMachineStartTimes",
"watches",
"the",
"non",
"-",
"container",
"machines",
"in",
"the",
"model",
"for",
"changes",
"to",
"the",
"Life",
"or",
"AgentStartTime",
"fields",
"and",
"reports",
"them",
"as",
"a",
"batch",
"."
] | async def WatchModelMachineStartTimes(self):
_params = dict()
msg = dict(type='Firewaller',
request='WatchModelMachineStartTimes',
version=6,
params=_params)
reply = await self.rpc(msg)
return reply | [
"async",
"def",
"WatchModelMachineStartTimes",
"(",
"self",
")",
":",
"_params",
"=",
"dict",
"(",
")",
"msg",
"=",
"dict",
"(",
"type",
"=",
"'Firewaller'",
",",
"request",
"=",
"'WatchModelMachineStartTimes'",
",",
"version",
"=",
"6",
",",
"params",
"=",
... | WatchModelMachineStartTimes watches the non-container machines in the model
for changes to the Life or AgentStartTime fields and reports them as a batch. | [
"WatchModelMachineStartTimes",
"watches",
"the",
"non",
"-",
"container",
"machines",
"in",
"the",
"model",
"for",
"changes",
"to",
"the",
"Life",
"or",
"AgentStartTime",
"fields",
"and",
"reports",
"them",
"as",
"a",
"batch",
"."
] | [
"'''\n WatchModelMachineStartTimes watches the non-container machines in the model\n for changes to the Life or AgentStartTime fields and reports them as a batch.\n\n\n Returns -> StringsWatchResult\n '''",
"# map input types to rpc msg"
] | [
{
"param": "self",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
}
],
"outlier_params": [],
"others": []
} |
cdb853d5c657e372b41b5c9a194af9835cef1cc1 | sed-i/python-libjuju | juju/client/_client6.py | [
"Apache-2.0"
] | Python | WatchModelMachines | <not_specific> | async def WatchModelMachines(self):
'''
WatchModelMachines returns a StringsWatcher that notifies of
changes to the life cycles of the top level machines in the current
model.
Returns -> StringsWatchResult
'''
# map input types to rpc msg
_params = dict... |
WatchModelMachines returns a StringsWatcher that notifies of
changes to the life cycles of the top level machines in the current
model.
Returns -> StringsWatchResult
| WatchModelMachines returns a StringsWatcher that notifies of
changes to the life cycles of the top level machines in the current
model.
| [
"WatchModelMachines",
"returns",
"a",
"StringsWatcher",
"that",
"notifies",
"of",
"changes",
"to",
"the",
"life",
"cycles",
"of",
"the",
"top",
"level",
"machines",
"in",
"the",
"current",
"model",
"."
] | async def WatchModelMachines(self):
_params = dict()
msg = dict(type='Firewaller',
request='WatchModelMachines',
version=6,
params=_params)
reply = await self.rpc(msg)
return reply | [
"async",
"def",
"WatchModelMachines",
"(",
"self",
")",
":",
"_params",
"=",
"dict",
"(",
")",
"msg",
"=",
"dict",
"(",
"type",
"=",
"'Firewaller'",
",",
"request",
"=",
"'WatchModelMachines'",
",",
"version",
"=",
"6",
",",
"params",
"=",
"_params",
")"... | WatchModelMachines returns a StringsWatcher that notifies of
changes to the life cycles of the top level machines in the current
model. | [
"WatchModelMachines",
"returns",
"a",
"StringsWatcher",
"that",
"notifies",
"of",
"changes",
"to",
"the",
"life",
"cycles",
"of",
"the",
"top",
"level",
"machines",
"in",
"the",
"current",
"model",
"."
] | [
"'''\n WatchModelMachines returns a StringsWatcher that notifies of\n changes to the life cycles of the top level machines in the current\n model.\n\n\n Returns -> StringsWatchResult\n '''",
"# map input types to rpc msg"
] | [
{
"param": "self",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
}
],
"outlier_params": [],
"others": []
} |
cdb853d5c657e372b41b5c9a194af9835cef1cc1 | sed-i/python-libjuju | juju/client/_client6.py | [
"Apache-2.0"
] | Python | WatchOpenedPorts | <not_specific> | async def WatchOpenedPorts(self, entities=None):
'''
WatchOpenedPorts returns a new StringsWatcher for each given
model tag.
entities : typing.Sequence[~Entity]
Returns -> StringsWatchResults
'''
if entities is not None and not isinstance(entities, (bytes, str, l... |
WatchOpenedPorts returns a new StringsWatcher for each given
model tag.
entities : typing.Sequence[~Entity]
Returns -> StringsWatchResults
| WatchOpenedPorts returns a new StringsWatcher for each given
model tag.
entities : typing.Sequence[~Entity]
Returns -> StringsWatchResults | [
"WatchOpenedPorts",
"returns",
"a",
"new",
"StringsWatcher",
"for",
"each",
"given",
"model",
"tag",
".",
"entities",
":",
"typing",
".",
"Sequence",
"[",
"~Entity",
"]",
"Returns",
"-",
">",
"StringsWatchResults"
] | async def WatchOpenedPorts(self, entities=None):
if entities is not None and not isinstance(entities, (bytes, str, list)):
raise Exception("Expected entities to be a Sequence, received: {}".format(type(entities)))
_params = dict()
msg = dict(type='Firewaller',
requ... | [
"async",
"def",
"WatchOpenedPorts",
"(",
"self",
",",
"entities",
"=",
"None",
")",
":",
"if",
"entities",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"entities",
",",
"(",
"bytes",
",",
"str",
",",
"list",
")",
")",
":",
"raise",
"Exception"... | WatchOpenedPorts returns a new StringsWatcher for each given
model tag. | [
"WatchOpenedPorts",
"returns",
"a",
"new",
"StringsWatcher",
"for",
"each",
"given",
"model",
"tag",
"."
] | [
"'''\n WatchOpenedPorts returns a new StringsWatcher for each given\n model tag.\n\n entities : typing.Sequence[~Entity]\n Returns -> StringsWatchResults\n '''",
"# map input types to rpc msg"
] | [
{
"param": "self",
"type": null
},
{
"param": "entities",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
},
{
"identifier": "entities",
"type": null,
"docstring": null,
"docstring_tokens... |
cdb853d5c657e372b41b5c9a194af9835cef1cc1 | sed-i/python-libjuju | juju/client/_client6.py | [
"Apache-2.0"
] | Python | WatchSubnets | <not_specific> | async def WatchSubnets(self, entities=None):
'''
WatchSubnets returns a new StringsWatcher that watches the specified
subnet tags or all tags if no entities are specified.
entities : typing.Sequence[~Entity]
Returns -> StringsWatchResult
'''
if entities is not No... |
WatchSubnets returns a new StringsWatcher that watches the specified
subnet tags or all tags if no entities are specified.
entities : typing.Sequence[~Entity]
Returns -> StringsWatchResult
| WatchSubnets returns a new StringsWatcher that watches the specified
subnet tags or all tags if no entities are specified.
entities : typing.Sequence[~Entity]
Returns -> StringsWatchResult | [
"WatchSubnets",
"returns",
"a",
"new",
"StringsWatcher",
"that",
"watches",
"the",
"specified",
"subnet",
"tags",
"or",
"all",
"tags",
"if",
"no",
"entities",
"are",
"specified",
".",
"entities",
":",
"typing",
".",
"Sequence",
"[",
"~Entity",
"]",
"Returns",
... | async def WatchSubnets(self, entities=None):
if entities is not None and not isinstance(entities, (bytes, str, list)):
raise Exception("Expected entities to be a Sequence, received: {}".format(type(entities)))
_params = dict()
msg = dict(type='Firewaller',
request=... | [
"async",
"def",
"WatchSubnets",
"(",
"self",
",",
"entities",
"=",
"None",
")",
":",
"if",
"entities",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"entities",
",",
"(",
"bytes",
",",
"str",
",",
"list",
")",
")",
":",
"raise",
"Exception",
... | WatchSubnets returns a new StringsWatcher that watches the specified
subnet tags or all tags if no entities are specified. | [
"WatchSubnets",
"returns",
"a",
"new",
"StringsWatcher",
"that",
"watches",
"the",
"specified",
"subnet",
"tags",
"or",
"all",
"tags",
"if",
"no",
"entities",
"are",
"specified",
"."
] | [
"'''\n WatchSubnets returns a new StringsWatcher that watches the specified\n subnet tags or all tags if no entities are specified.\n\n entities : typing.Sequence[~Entity]\n Returns -> StringsWatchResult\n '''",
"# map input types to rpc msg"
] | [
{
"param": "self",
"type": null
},
{
"param": "entities",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
},
{
"identifier": "entities",
"type": null,
"docstring": null,
"docstring_tokens... |
cdb853d5c657e372b41b5c9a194af9835cef1cc1 | sed-i/python-libjuju | juju/client/_client6.py | [
"Apache-2.0"
] | Python | WatchUnits | <not_specific> | async def WatchUnits(self, entities=None):
'''
WatchUnits starts a StringsWatcher to watch all units belonging to
to any entity (machine or service) passed in args.
entities : typing.Sequence[~Entity]
Returns -> StringsWatchResults
'''
if entities is not None and... |
WatchUnits starts a StringsWatcher to watch all units belonging to
to any entity (machine or service) passed in args.
entities : typing.Sequence[~Entity]
Returns -> StringsWatchResults
| WatchUnits starts a StringsWatcher to watch all units belonging to
to any entity (machine or service) passed in args.
entities : typing.Sequence[~Entity]
Returns -> StringsWatchResults | [
"WatchUnits",
"starts",
"a",
"StringsWatcher",
"to",
"watch",
"all",
"units",
"belonging",
"to",
"to",
"any",
"entity",
"(",
"machine",
"or",
"service",
")",
"passed",
"in",
"args",
".",
"entities",
":",
"typing",
".",
"Sequence",
"[",
"~Entity",
"]",
"Ret... | async def WatchUnits(self, entities=None):
if entities is not None and not isinstance(entities, (bytes, str, list)):
raise Exception("Expected entities to be a Sequence, received: {}".format(type(entities)))
_params = dict()
msg = dict(type='Firewaller',
request='W... | [
"async",
"def",
"WatchUnits",
"(",
"self",
",",
"entities",
"=",
"None",
")",
":",
"if",
"entities",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"entities",
",",
"(",
"bytes",
",",
"str",
",",
"list",
")",
")",
":",
"raise",
"Exception",
"(... | WatchUnits starts a StringsWatcher to watch all units belonging to
to any entity (machine or service) passed in args. | [
"WatchUnits",
"starts",
"a",
"StringsWatcher",
"to",
"watch",
"all",
"units",
"belonging",
"to",
"to",
"any",
"entity",
"(",
"machine",
"or",
"service",
")",
"passed",
"in",
"args",
"."
] | [
"'''\n WatchUnits starts a StringsWatcher to watch all units belonging to\n to any entity (machine or service) passed in args.\n\n entities : typing.Sequence[~Entity]\n Returns -> StringsWatchResults\n '''",
"# map input types to rpc msg"
] | [
{
"param": "self",
"type": null
},
{
"param": "entities",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
},
{
"identifier": "entities",
"type": null,
"docstring": null,
"docstring_tokens... |
cdb853d5c657e372b41b5c9a194af9835cef1cc1 | sed-i/python-libjuju | juju/client/_client6.py | [
"Apache-2.0"
] | Python | AddMachines | <not_specific> | async def AddMachines(self, params=None):
'''
AddMachines adds new machines with the supplied parameters.
params : typing.Sequence[~AddMachineParams]
Returns -> AddMachinesResults
'''
if params is not None and not isinstance(params, (bytes, str, list)):
raise... |
AddMachines adds new machines with the supplied parameters.
params : typing.Sequence[~AddMachineParams]
Returns -> AddMachinesResults
| AddMachines adds new machines with the supplied parameters. | [
"AddMachines",
"adds",
"new",
"machines",
"with",
"the",
"supplied",
"parameters",
"."
] | async def AddMachines(self, params=None):
if params is not None and not isinstance(params, (bytes, str, list)):
raise Exception("Expected params to be a Sequence, received: {}".format(type(params)))
_params = dict()
msg = dict(type='MachineManager',
request='AddMac... | [
"async",
"def",
"AddMachines",
"(",
"self",
",",
"params",
"=",
"None",
")",
":",
"if",
"params",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"params",
",",
"(",
"bytes",
",",
"str",
",",
"list",
")",
")",
":",
"raise",
"Exception",
"(",
... | AddMachines adds new machines with the supplied parameters. | [
"AddMachines",
"adds",
"new",
"machines",
"with",
"the",
"supplied",
"parameters",
"."
] | [
"'''\n AddMachines adds new machines with the supplied parameters.\n\n params : typing.Sequence[~AddMachineParams]\n Returns -> AddMachinesResults\n '''",
"# map input types to rpc msg"
] | [
{
"param": "self",
"type": null
},
{
"param": "params",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
},
{
"identifier": "params",
"type": null,
"docstring": null,
"docstring_tokens":... |
cdb853d5c657e372b41b5c9a194af9835cef1cc1 | sed-i/python-libjuju | juju/client/_client6.py | [
"Apache-2.0"
] | Python | DestroyMachine | <not_specific> | async def DestroyMachine(self, entities=None):
'''
DestroyMachine removes a set of machines from the model.
entities : typing.Sequence[~Entity]
Returns -> DestroyMachineResults
'''
if entities is not None and not isinstance(entities, (bytes, str, list)):
rais... |
DestroyMachine removes a set of machines from the model.
entities : typing.Sequence[~Entity]
Returns -> DestroyMachineResults
| DestroyMachine removes a set of machines from the model.
entities : typing.Sequence[~Entity]
Returns -> DestroyMachineResults | [
"DestroyMachine",
"removes",
"a",
"set",
"of",
"machines",
"from",
"the",
"model",
".",
"entities",
":",
"typing",
".",
"Sequence",
"[",
"~Entity",
"]",
"Returns",
"-",
">",
"DestroyMachineResults"
] | async def DestroyMachine(self, entities=None):
if entities is not None and not isinstance(entities, (bytes, str, list)):
raise Exception("Expected entities to be a Sequence, received: {}".format(type(entities)))
_params = dict()
msg = dict(type='MachineManager',
re... | [
"async",
"def",
"DestroyMachine",
"(",
"self",
",",
"entities",
"=",
"None",
")",
":",
"if",
"entities",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"entities",
",",
"(",
"bytes",
",",
"str",
",",
"list",
")",
")",
":",
"raise",
"Exception",
... | DestroyMachine removes a set of machines from the model. | [
"DestroyMachine",
"removes",
"a",
"set",
"of",
"machines",
"from",
"the",
"model",
"."
] | [
"'''\n DestroyMachine removes a set of machines from the model.\n\n entities : typing.Sequence[~Entity]\n Returns -> DestroyMachineResults\n '''",
"# map input types to rpc msg"
] | [
{
"param": "self",
"type": null
},
{
"param": "entities",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
},
{
"identifier": "entities",
"type": null,
"docstring": null,
"docstring_tokens... |
cdb853d5c657e372b41b5c9a194af9835cef1cc1 | sed-i/python-libjuju | juju/client/_client6.py | [
"Apache-2.0"
] | Python | ForceDestroyMachine | <not_specific> | async def ForceDestroyMachine(self, entities=None):
'''
ForceDestroyMachine forcibly removes a set of machines from the model.
TODO (anastasiamac 2019-4-24) From Juju 3.0 this call will be removed in favour of DestroyMachinesWithParams.
Also from ModelManger v6 this call is less useful a... |
ForceDestroyMachine forcibly removes a set of machines from the model.
TODO (anastasiamac 2019-4-24) From Juju 3.0 this call will be removed in favour of DestroyMachinesWithParams.
Also from ModelManger v6 this call is less useful as it does not support MaxWait customisation.
entities ... | ForceDestroyMachine forcibly removes a set of machines from the model.
TODO (anastasiamac 2019-4-24) From Juju 3.0 this call will be removed in favour of DestroyMachinesWithParams.
Also from ModelManger v6 this call is less useful as it does not support MaxWait customisation.
entities : typing.Sequence[~Entity]
Return... | [
"ForceDestroyMachine",
"forcibly",
"removes",
"a",
"set",
"of",
"machines",
"from",
"the",
"model",
".",
"TODO",
"(",
"anastasiamac",
"2019",
"-",
"4",
"-",
"24",
")",
"From",
"Juju",
"3",
".",
"0",
"this",
"call",
"will",
"be",
"removed",
"in",
"favour"... | async def ForceDestroyMachine(self, entities=None):
if entities is not None and not isinstance(entities, (bytes, str, list)):
raise Exception("Expected entities to be a Sequence, received: {}".format(type(entities)))
_params = dict()
msg = dict(type='MachineManager',
... | [
"async",
"def",
"ForceDestroyMachine",
"(",
"self",
",",
"entities",
"=",
"None",
")",
":",
"if",
"entities",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"entities",
",",
"(",
"bytes",
",",
"str",
",",
"list",
")",
")",
":",
"raise",
"Excepti... | ForceDestroyMachine forcibly removes a set of machines from the model. | [
"ForceDestroyMachine",
"forcibly",
"removes",
"a",
"set",
"of",
"machines",
"from",
"the",
"model",
"."
] | [
"'''\n ForceDestroyMachine forcibly removes a set of machines from the model.\n TODO (anastasiamac 2019-4-24) From Juju 3.0 this call will be removed in favour of DestroyMachinesWithParams.\n Also from ModelManger v6 this call is less useful as it does not support MaxWait customisation.\n\n ... | [
{
"param": "self",
"type": null
},
{
"param": "entities",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
},
{
"identifier": "entities",
"type": null,
"docstring": null,
"docstring_tokens... |
cdb853d5c657e372b41b5c9a194af9835cef1cc1 | sed-i/python-libjuju | juju/client/_client6.py | [
"Apache-2.0"
] | Python | GetUpgradeSeriesMessages | <not_specific> | async def GetUpgradeSeriesMessages(self, params=None):
'''
GetUpgradeSeriesMessages returns all new messages associated with upgrade
series events. Messages that have already been retrieved once are not
returned by this method.
params : typing.Sequence[~UpgradeSeriesNotification... |
GetUpgradeSeriesMessages returns all new messages associated with upgrade
series events. Messages that have already been retrieved once are not
returned by this method.
params : typing.Sequence[~UpgradeSeriesNotificationParam]
Returns -> StringsResults
| GetUpgradeSeriesMessages returns all new messages associated with upgrade
series events. Messages that have already been retrieved once are not
returned by this method.
| [
"GetUpgradeSeriesMessages",
"returns",
"all",
"new",
"messages",
"associated",
"with",
"upgrade",
"series",
"events",
".",
"Messages",
"that",
"have",
"already",
"been",
"retrieved",
"once",
"are",
"not",
"returned",
"by",
"this",
"method",
"."
] | async def GetUpgradeSeriesMessages(self, params=None):
if params is not None and not isinstance(params, (bytes, str, list)):
raise Exception("Expected params to be a Sequence, received: {}".format(type(params)))
_params = dict()
msg = dict(type='MachineManager',
re... | [
"async",
"def",
"GetUpgradeSeriesMessages",
"(",
"self",
",",
"params",
"=",
"None",
")",
":",
"if",
"params",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"params",
",",
"(",
"bytes",
",",
"str",
",",
"list",
")",
")",
":",
"raise",
"Exceptio... | GetUpgradeSeriesMessages returns all new messages associated with upgrade
series events. | [
"GetUpgradeSeriesMessages",
"returns",
"all",
"new",
"messages",
"associated",
"with",
"upgrade",
"series",
"events",
"."
] | [
"'''\n GetUpgradeSeriesMessages returns all new messages associated with upgrade\n series events. Messages that have already been retrieved once are not\n returned by this method.\n\n params : typing.Sequence[~UpgradeSeriesNotificationParam]\n Returns -> StringsResults\n ''... | [
{
"param": "self",
"type": null
},
{
"param": "params",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
},
{
"identifier": "params",
"type": null,
"docstring": null,
"docstring_tokens":... |
cdb853d5c657e372b41b5c9a194af9835cef1cc1 | sed-i/python-libjuju | juju/client/_client6.py | [
"Apache-2.0"
] | Python | InstanceTypes | <not_specific> | async def InstanceTypes(self, constraints=None):
'''
InstanceTypes returns instance type information for the cloud and region
in which the current model is deployed.
constraints : typing.Sequence[~ModelInstanceTypesConstraint]
Returns -> InstanceTypesResults
'''
... |
InstanceTypes returns instance type information for the cloud and region
in which the current model is deployed.
constraints : typing.Sequence[~ModelInstanceTypesConstraint]
Returns -> InstanceTypesResults
| InstanceTypes returns instance type information for the cloud and region
in which the current model is deployed.
| [
"InstanceTypes",
"returns",
"instance",
"type",
"information",
"for",
"the",
"cloud",
"and",
"region",
"in",
"which",
"the",
"current",
"model",
"is",
"deployed",
"."
] | async def InstanceTypes(self, constraints=None):
if constraints is not None and not isinstance(constraints, (bytes, str, list)):
raise Exception("Expected constraints to be a Sequence, received: {}".format(type(constraints)))
_params = dict()
msg = dict(type='MachineManager',
... | [
"async",
"def",
"InstanceTypes",
"(",
"self",
",",
"constraints",
"=",
"None",
")",
":",
"if",
"constraints",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"constraints",
",",
"(",
"bytes",
",",
"str",
",",
"list",
")",
")",
":",
"raise",
"Exce... | InstanceTypes returns instance type information for the cloud and region
in which the current model is deployed. | [
"InstanceTypes",
"returns",
"instance",
"type",
"information",
"for",
"the",
"cloud",
"and",
"region",
"in",
"which",
"the",
"current",
"model",
"is",
"deployed",
"."
] | [
"'''\n InstanceTypes returns instance type information for the cloud and region\n in which the current model is deployed.\n\n constraints : typing.Sequence[~ModelInstanceTypesConstraint]\n Returns -> InstanceTypesResults\n '''",
"# map input types to rpc msg"
] | [
{
"param": "self",
"type": null
},
{
"param": "constraints",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
},
{
"identifier": "constraints",
"type": null,
"docstring": null,
"docstring_tok... |
cdb853d5c657e372b41b5c9a194af9835cef1cc1 | sed-i/python-libjuju | juju/client/_client6.py | [
"Apache-2.0"
] | Python | UpgradeSeriesComplete | <not_specific> | async def UpgradeSeriesComplete(self, force=None, series=None, tag=None):
'''
UpgradeSeriesComplete marks a machine as having completed a managed series
upgrade.
force : bool
series : str
tag : Entity
Returns -> ErrorResult
'''
if force is not Non... |
UpgradeSeriesComplete marks a machine as having completed a managed series
upgrade.
force : bool
series : str
tag : Entity
Returns -> ErrorResult
| UpgradeSeriesComplete marks a machine as having completed a managed series
upgrade.
force : bool
series : str
tag : Entity
Returns -> ErrorResult | [
"UpgradeSeriesComplete",
"marks",
"a",
"machine",
"as",
"having",
"completed",
"a",
"managed",
"series",
"upgrade",
".",
"force",
":",
"bool",
"series",
":",
"str",
"tag",
":",
"Entity",
"Returns",
"-",
">",
"ErrorResult"
] | async def UpgradeSeriesComplete(self, force=None, series=None, tag=None):
if force is not None and not isinstance(force, bool):
raise Exception("Expected force to be a bool, received: {}".format(type(force)))
if series is not None and not isinstance(series, (bytes, str)):
raise E... | [
"async",
"def",
"UpgradeSeriesComplete",
"(",
"self",
",",
"force",
"=",
"None",
",",
"series",
"=",
"None",
",",
"tag",
"=",
"None",
")",
":",
"if",
"force",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"force",
",",
"bool",
")",
":",
"rais... | UpgradeSeriesComplete marks a machine as having completed a managed series
upgrade. | [
"UpgradeSeriesComplete",
"marks",
"a",
"machine",
"as",
"having",
"completed",
"a",
"managed",
"series",
"upgrade",
"."
] | [
"'''\n UpgradeSeriesComplete marks a machine as having completed a managed series\n upgrade.\n\n force : bool\n series : str\n tag : Entity\n Returns -> ErrorResult\n '''",
"# map input types to rpc msg"
] | [
{
"param": "self",
"type": null
},
{
"param": "force",
"type": null
},
{
"param": "series",
"type": null
},
{
"param": "tag",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
},
{
"identifier": "force",
"type": null,
"docstring": null,
"docstring_tokens": ... |
cdb853d5c657e372b41b5c9a194af9835cef1cc1 | sed-i/python-libjuju | juju/client/_client6.py | [
"Apache-2.0"
] | Python | UpgradeSeriesPrepare | <not_specific> | async def UpgradeSeriesPrepare(self, force=None, series=None, tag=None):
'''
UpgradeSeriesPrepare prepares a machine for a OS series upgrade.
force : bool
series : str
tag : Entity
Returns -> ErrorResult
'''
if force is not None and not isinstance(force, ... |
UpgradeSeriesPrepare prepares a machine for a OS series upgrade.
force : bool
series : str
tag : Entity
Returns -> ErrorResult
| UpgradeSeriesPrepare prepares a machine for a OS series upgrade.
force : bool
series : str
tag : Entity
Returns -> ErrorResult | [
"UpgradeSeriesPrepare",
"prepares",
"a",
"machine",
"for",
"a",
"OS",
"series",
"upgrade",
".",
"force",
":",
"bool",
"series",
":",
"str",
"tag",
":",
"Entity",
"Returns",
"-",
">",
"ErrorResult"
] | async def UpgradeSeriesPrepare(self, force=None, series=None, tag=None):
if force is not None and not isinstance(force, bool):
raise Exception("Expected force to be a bool, received: {}".format(type(force)))
if series is not None and not isinstance(series, (bytes, str)):
raise Ex... | [
"async",
"def",
"UpgradeSeriesPrepare",
"(",
"self",
",",
"force",
"=",
"None",
",",
"series",
"=",
"None",
",",
"tag",
"=",
"None",
")",
":",
"if",
"force",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"force",
",",
"bool",
")",
":",
"raise... | UpgradeSeriesPrepare prepares a machine for a OS series upgrade. | [
"UpgradeSeriesPrepare",
"prepares",
"a",
"machine",
"for",
"a",
"OS",
"series",
"upgrade",
"."
] | [
"'''\n UpgradeSeriesPrepare prepares a machine for a OS series upgrade.\n\n force : bool\n series : str\n tag : Entity\n Returns -> ErrorResult\n '''",
"# map input types to rpc msg"
] | [
{
"param": "self",
"type": null
},
{
"param": "force",
"type": null
},
{
"param": "series",
"type": null
},
{
"param": "tag",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
},
{
"identifier": "force",
"type": null,
"docstring": null,
"docstring_tokens": ... |
cdb853d5c657e372b41b5c9a194af9835cef1cc1 | sed-i/python-libjuju | juju/client/_client6.py | [
"Apache-2.0"
] | Python | UpgradeSeriesValidate | <not_specific> | async def UpgradeSeriesValidate(self, args=None):
'''
UpgradeSeriesValidate validates that the incoming arguments correspond to a
valid series upgrade for the target machine.
If they do, a list of the machine's current units is returned for use in
soliciting user confirmation of ... |
UpgradeSeriesValidate validates that the incoming arguments correspond to a
valid series upgrade for the target machine.
If they do, a list of the machine's current units is returned for use in
soliciting user confirmation of the command.
args : typing.Sequence[~UpdateSeriesArg... | UpgradeSeriesValidate validates that the incoming arguments correspond to a
valid series upgrade for the target machine.
If they do, a list of the machine's current units is returned for use in
soliciting user confirmation of the command.
| [
"UpgradeSeriesValidate",
"validates",
"that",
"the",
"incoming",
"arguments",
"correspond",
"to",
"a",
"valid",
"series",
"upgrade",
"for",
"the",
"target",
"machine",
".",
"If",
"they",
"do",
"a",
"list",
"of",
"the",
"machine",
"'",
"s",
"current",
"units",
... | async def UpgradeSeriesValidate(self, args=None):
if args is not None and not isinstance(args, (bytes, str, list)):
raise Exception("Expected args to be a Sequence, received: {}".format(type(args)))
_params = dict()
msg = dict(type='MachineManager',
request='Upgrad... | [
"async",
"def",
"UpgradeSeriesValidate",
"(",
"self",
",",
"args",
"=",
"None",
")",
":",
"if",
"args",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"args",
",",
"(",
"bytes",
",",
"str",
",",
"list",
")",
")",
":",
"raise",
"Exception",
"("... | UpgradeSeriesValidate validates that the incoming arguments correspond to a
valid series upgrade for the target machine. | [
"UpgradeSeriesValidate",
"validates",
"that",
"the",
"incoming",
"arguments",
"correspond",
"to",
"a",
"valid",
"series",
"upgrade",
"for",
"the",
"target",
"machine",
"."
] | [
"'''\n UpgradeSeriesValidate validates that the incoming arguments correspond to a\n valid series upgrade for the target machine.\n If they do, a list of the machine's current units is returned for use in\n soliciting user confirmation of the command.\n\n args : typing.Sequence[~U... | [
{
"param": "self",
"type": null
},
{
"param": "args",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
},
{
"identifier": "args",
"type": null,
"docstring": null,
"docstring_tokens": [... |
cdb853d5c657e372b41b5c9a194af9835cef1cc1 | sed-i/python-libjuju | juju/client/_client6.py | [
"Apache-2.0"
] | Python | WatchUpgradeSeriesNotifications | <not_specific> | async def WatchUpgradeSeriesNotifications(self, entities=None):
'''
WatchUpgradeSeriesNotifications returns a watcher that fires on upgrade
series events.
entities : typing.Sequence[~Entity]
Returns -> NotifyWatchResults
'''
if entities is not None and not isinst... |
WatchUpgradeSeriesNotifications returns a watcher that fires on upgrade
series events.
entities : typing.Sequence[~Entity]
Returns -> NotifyWatchResults
| WatchUpgradeSeriesNotifications returns a watcher that fires on upgrade
series events.
entities : typing.Sequence[~Entity]
Returns -> NotifyWatchResults | [
"WatchUpgradeSeriesNotifications",
"returns",
"a",
"watcher",
"that",
"fires",
"on",
"upgrade",
"series",
"events",
".",
"entities",
":",
"typing",
".",
"Sequence",
"[",
"~Entity",
"]",
"Returns",
"-",
">",
"NotifyWatchResults"
] | async def WatchUpgradeSeriesNotifications(self, entities=None):
if entities is not None and not isinstance(entities, (bytes, str, list)):
raise Exception("Expected entities to be a Sequence, received: {}".format(type(entities)))
_params = dict()
msg = dict(type='MachineManager',
... | [
"async",
"def",
"WatchUpgradeSeriesNotifications",
"(",
"self",
",",
"entities",
"=",
"None",
")",
":",
"if",
"entities",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"entities",
",",
"(",
"bytes",
",",
"str",
",",
"list",
")",
")",
":",
"raise"... | WatchUpgradeSeriesNotifications returns a watcher that fires on upgrade
series events. | [
"WatchUpgradeSeriesNotifications",
"returns",
"a",
"watcher",
"that",
"fires",
"on",
"upgrade",
"series",
"events",
"."
] | [
"'''\n WatchUpgradeSeriesNotifications returns a watcher that fires on upgrade\n series events.\n\n entities : typing.Sequence[~Entity]\n Returns -> NotifyWatchResults\n '''",
"# map input types to rpc msg"
] | [
{
"param": "self",
"type": null
},
{
"param": "entities",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
},
{
"identifier": "entities",
"type": null,
"docstring": null,
"docstring_tokens... |
cdb853d5c657e372b41b5c9a194af9835cef1cc1 | sed-i/python-libjuju | juju/client/_client6.py | [
"Apache-2.0"
] | Python | CreateSpaces | <not_specific> | async def CreateSpaces(self, spaces=None):
'''
CreateSpaces creates a new Juju network space, associating the
specified subnets with it (optional; can be empty).
spaces : typing.Sequence[~CreateSpaceParams]
Returns -> ErrorResults
'''
if spaces is not None and no... |
CreateSpaces creates a new Juju network space, associating the
specified subnets with it (optional; can be empty).
spaces : typing.Sequence[~CreateSpaceParams]
Returns -> ErrorResults
| CreateSpaces creates a new Juju network space, associating the
specified subnets with it (optional; can be empty).
| [
"CreateSpaces",
"creates",
"a",
"new",
"Juju",
"network",
"space",
"associating",
"the",
"specified",
"subnets",
"with",
"it",
"(",
"optional",
";",
"can",
"be",
"empty",
")",
"."
] | async def CreateSpaces(self, spaces=None):
if spaces is not None and not isinstance(spaces, (bytes, str, list)):
raise Exception("Expected spaces to be a Sequence, received: {}".format(type(spaces)))
_params = dict()
msg = dict(type='Spaces',
request='CreateSpaces'... | [
"async",
"def",
"CreateSpaces",
"(",
"self",
",",
"spaces",
"=",
"None",
")",
":",
"if",
"spaces",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"spaces",
",",
"(",
"bytes",
",",
"str",
",",
"list",
")",
")",
":",
"raise",
"Exception",
"(",
... | CreateSpaces creates a new Juju network space, associating the
specified subnets with it (optional; can be empty). | [
"CreateSpaces",
"creates",
"a",
"new",
"Juju",
"network",
"space",
"associating",
"the",
"specified",
"subnets",
"with",
"it",
"(",
"optional",
";",
"can",
"be",
"empty",
")",
"."
] | [
"'''\n CreateSpaces creates a new Juju network space, associating the\n specified subnets with it (optional; can be empty).\n\n spaces : typing.Sequence[~CreateSpaceParams]\n Returns -> ErrorResults\n '''",
"# map input types to rpc msg"
] | [
{
"param": "self",
"type": null
},
{
"param": "spaces",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
},
{
"identifier": "spaces",
"type": null,
"docstring": null,
"docstring_tokens":... |
cdb853d5c657e372b41b5c9a194af9835cef1cc1 | sed-i/python-libjuju | juju/client/_client6.py | [
"Apache-2.0"
] | Python | ListSpaces | <not_specific> | async def ListSpaces(self):
'''
ListSpaces lists all the available spaces and their associated subnets.
Returns -> ListSpacesResults
'''
# map input types to rpc msg
_params = dict()
msg = dict(type='Spaces',
request='ListSpaces',
... |
ListSpaces lists all the available spaces and their associated subnets.
Returns -> ListSpacesResults
| ListSpaces lists all the available spaces and their associated subnets. | [
"ListSpaces",
"lists",
"all",
"the",
"available",
"spaces",
"and",
"their",
"associated",
"subnets",
"."
] | async def ListSpaces(self):
_params = dict()
msg = dict(type='Spaces',
request='ListSpaces',
version=6,
params=_params)
reply = await self.rpc(msg)
return reply | [
"async",
"def",
"ListSpaces",
"(",
"self",
")",
":",
"_params",
"=",
"dict",
"(",
")",
"msg",
"=",
"dict",
"(",
"type",
"=",
"'Spaces'",
",",
"request",
"=",
"'ListSpaces'",
",",
"version",
"=",
"6",
",",
"params",
"=",
"_params",
")",
"reply",
"=",
... | ListSpaces lists all the available spaces and their associated subnets. | [
"ListSpaces",
"lists",
"all",
"the",
"available",
"spaces",
"and",
"their",
"associated",
"subnets",
"."
] | [
"'''\n ListSpaces lists all the available spaces and their associated subnets.\n\n\n Returns -> ListSpacesResults\n '''",
"# map input types to rpc msg"
] | [
{
"param": "self",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
}
],
"outlier_params": [],
"others": []
} |
cdb853d5c657e372b41b5c9a194af9835cef1cc1 | sed-i/python-libjuju | juju/client/_client6.py | [
"Apache-2.0"
] | Python | MoveSubnets | <not_specific> | async def MoveSubnets(self, args=None):
'''
MoveSubnets ensures that the input subnets are in the input space.
args : typing.Sequence[~MoveSubnetsParam]
Returns -> MoveSubnetsResults
'''
if args is not None and not isinstance(args, (bytes, str, list)):
raise ... |
MoveSubnets ensures that the input subnets are in the input space.
args : typing.Sequence[~MoveSubnetsParam]
Returns -> MoveSubnetsResults
| MoveSubnets ensures that the input subnets are in the input space. | [
"MoveSubnets",
"ensures",
"that",
"the",
"input",
"subnets",
"are",
"in",
"the",
"input",
"space",
"."
] | async def MoveSubnets(self, args=None):
if args is not None and not isinstance(args, (bytes, str, list)):
raise Exception("Expected args to be a Sequence, received: {}".format(type(args)))
_params = dict()
msg = dict(type='Spaces',
request='MoveSubnets',
... | [
"async",
"def",
"MoveSubnets",
"(",
"self",
",",
"args",
"=",
"None",
")",
":",
"if",
"args",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"args",
",",
"(",
"bytes",
",",
"str",
",",
"list",
")",
")",
":",
"raise",
"Exception",
"(",
"\"Exp... | MoveSubnets ensures that the input subnets are in the input space. | [
"MoveSubnets",
"ensures",
"that",
"the",
"input",
"subnets",
"are",
"in",
"the",
"input",
"space",
"."
] | [
"'''\n MoveSubnets ensures that the input subnets are in the input space.\n\n args : typing.Sequence[~MoveSubnetsParam]\n Returns -> MoveSubnetsResults\n '''",
"# map input types to rpc msg"
] | [
{
"param": "self",
"type": null
},
{
"param": "args",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
},
{
"identifier": "args",
"type": null,
"docstring": null,
"docstring_tokens": [... |
cdb853d5c657e372b41b5c9a194af9835cef1cc1 | sed-i/python-libjuju | juju/client/_client6.py | [
"Apache-2.0"
] | Python | ReloadSpaces | <not_specific> | async def ReloadSpaces(self):
'''
ReloadSpaces refreshes spaces from substrate
Returns -> None
'''
# map input types to rpc msg
_params = dict()
msg = dict(type='Spaces',
request='ReloadSpaces',
version=6,
... |
ReloadSpaces refreshes spaces from substrate
Returns -> None
| ReloadSpaces refreshes spaces from substrate
Returns -> None | [
"ReloadSpaces",
"refreshes",
"spaces",
"from",
"substrate",
"Returns",
"-",
">",
"None"
] | async def ReloadSpaces(self):
_params = dict()
msg = dict(type='Spaces',
request='ReloadSpaces',
version=6,
params=_params)
reply = await self.rpc(msg)
return reply | [
"async",
"def",
"ReloadSpaces",
"(",
"self",
")",
":",
"_params",
"=",
"dict",
"(",
")",
"msg",
"=",
"dict",
"(",
"type",
"=",
"'Spaces'",
",",
"request",
"=",
"'ReloadSpaces'",
",",
"version",
"=",
"6",
",",
"params",
"=",
"_params",
")",
"reply",
"... | ReloadSpaces refreshes spaces from substrate
Returns -> None | [
"ReloadSpaces",
"refreshes",
"spaces",
"from",
"substrate",
"Returns",
"-",
">",
"None"
] | [
"'''\n ReloadSpaces refreshes spaces from substrate\n\n\n Returns -> None\n '''",
"# map input types to rpc msg"
] | [
{
"param": "self",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
}
],
"outlier_params": [],
"others": []
} |
cdb853d5c657e372b41b5c9a194af9835cef1cc1 | sed-i/python-libjuju | juju/client/_client6.py | [
"Apache-2.0"
] | Python | RemoveSpace | <not_specific> | async def RemoveSpace(self, space_param=None):
'''
RemoveSpace removes a space.
Returns SpaceResults if entities/settings are found which makes the deletion not possible.
space_param : typing.Sequence[~RemoveSpaceParam]
Returns -> RemoveSpaceResults
'''
if space_... |
RemoveSpace removes a space.
Returns SpaceResults if entities/settings are found which makes the deletion not possible.
space_param : typing.Sequence[~RemoveSpaceParam]
Returns -> RemoveSpaceResults
| RemoveSpace removes a space.
Returns SpaceResults if entities/settings are found which makes the deletion not possible.
| [
"RemoveSpace",
"removes",
"a",
"space",
".",
"Returns",
"SpaceResults",
"if",
"entities",
"/",
"settings",
"are",
"found",
"which",
"makes",
"the",
"deletion",
"not",
"possible",
"."
] | async def RemoveSpace(self, space_param=None):
if space_param is not None and not isinstance(space_param, (bytes, str, list)):
raise Exception("Expected space_param to be a Sequence, received: {}".format(type(space_param)))
_params = dict()
msg = dict(type='Spaces',
... | [
"async",
"def",
"RemoveSpace",
"(",
"self",
",",
"space_param",
"=",
"None",
")",
":",
"if",
"space_param",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"space_param",
",",
"(",
"bytes",
",",
"str",
",",
"list",
")",
")",
":",
"raise",
"Except... | RemoveSpace removes a space. | [
"RemoveSpace",
"removes",
"a",
"space",
"."
] | [
"'''\n RemoveSpace removes a space.\n Returns SpaceResults if entities/settings are found which makes the deletion not possible.\n\n space_param : typing.Sequence[~RemoveSpaceParam]\n Returns -> RemoveSpaceResults\n '''",
"# map input types to rpc msg"
] | [
{
"param": "self",
"type": null
},
{
"param": "space_param",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
},
{
"identifier": "space_param",
"type": null,
"docstring": null,
"docstring_tok... |
cdb853d5c657e372b41b5c9a194af9835cef1cc1 | sed-i/python-libjuju | juju/client/_client6.py | [
"Apache-2.0"
] | Python | ShowSpace | <not_specific> | async def ShowSpace(self, entities=None):
'''
ShowSpace shows the spaces for a set of given entities.
entities : typing.Sequence[~Entity]
Returns -> ShowSpaceResults
'''
if entities is not None and not isinstance(entities, (bytes, str, list)):
raise Exception... |
ShowSpace shows the spaces for a set of given entities.
entities : typing.Sequence[~Entity]
Returns -> ShowSpaceResults
| ShowSpace shows the spaces for a set of given entities.
entities : typing.Sequence[~Entity]
Returns -> ShowSpaceResults | [
"ShowSpace",
"shows",
"the",
"spaces",
"for",
"a",
"set",
"of",
"given",
"entities",
".",
"entities",
":",
"typing",
".",
"Sequence",
"[",
"~Entity",
"]",
"Returns",
"-",
">",
"ShowSpaceResults"
] | async def ShowSpace(self, entities=None):
if entities is not None and not isinstance(entities, (bytes, str, list)):
raise Exception("Expected entities to be a Sequence, received: {}".format(type(entities)))
_params = dict()
msg = dict(type='Spaces',
request='ShowSp... | [
"async",
"def",
"ShowSpace",
"(",
"self",
",",
"entities",
"=",
"None",
")",
":",
"if",
"entities",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"entities",
",",
"(",
"bytes",
",",
"str",
",",
"list",
")",
")",
":",
"raise",
"Exception",
"("... | ShowSpace shows the spaces for a set of given entities. | [
"ShowSpace",
"shows",
"the",
"spaces",
"for",
"a",
"set",
"of",
"given",
"entities",
"."
] | [
"'''\n ShowSpace shows the spaces for a set of given entities.\n\n entities : typing.Sequence[~Entity]\n Returns -> ShowSpaceResults\n '''",
"# map input types to rpc msg"
] | [
{
"param": "self",
"type": null
},
{
"param": "entities",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
},
{
"identifier": "entities",
"type": null,
"docstring": null,
"docstring_tokens... |
cdb853d5c657e372b41b5c9a194af9835cef1cc1 | sed-i/python-libjuju | juju/client/_client6.py | [
"Apache-2.0"
] | Python | AddToUnit | <not_specific> | async def AddToUnit(self, storages=None):
'''
AddToUnit validates and creates additional storage instances for units.
A "CHANGE" block can block this operation.
storages : typing.Sequence[~StorageAddParams]
Returns -> AddStorageResults
'''
if storages is not None... |
AddToUnit validates and creates additional storage instances for units.
A "CHANGE" block can block this operation.
storages : typing.Sequence[~StorageAddParams]
Returns -> AddStorageResults
| AddToUnit validates and creates additional storage instances for units.
A "CHANGE" block can block this operation.
| [
"AddToUnit",
"validates",
"and",
"creates",
"additional",
"storage",
"instances",
"for",
"units",
".",
"A",
"\"",
"CHANGE",
"\"",
"block",
"can",
"block",
"this",
"operation",
"."
] | async def AddToUnit(self, storages=None):
if storages is not None and not isinstance(storages, (bytes, str, list)):
raise Exception("Expected storages to be a Sequence, received: {}".format(type(storages)))
_params = dict()
msg = dict(type='Storage',
request='AddTo... | [
"async",
"def",
"AddToUnit",
"(",
"self",
",",
"storages",
"=",
"None",
")",
":",
"if",
"storages",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"storages",
",",
"(",
"bytes",
",",
"str",
",",
"list",
")",
")",
":",
"raise",
"Exception",
"("... | AddToUnit validates and creates additional storage instances for units. | [
"AddToUnit",
"validates",
"and",
"creates",
"additional",
"storage",
"instances",
"for",
"units",
"."
] | [
"'''\n AddToUnit validates and creates additional storage instances for units.\n A \"CHANGE\" block can block this operation.\n\n storages : typing.Sequence[~StorageAddParams]\n Returns -> AddStorageResults\n '''",
"# map input types to rpc msg"
] | [
{
"param": "self",
"type": null
},
{
"param": "storages",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
},
{
"identifier": "storages",
"type": null,
"docstring": null,
"docstring_tokens... |
cdb853d5c657e372b41b5c9a194af9835cef1cc1 | sed-i/python-libjuju | juju/client/_client6.py | [
"Apache-2.0"
] | Python | Attach | <not_specific> | async def Attach(self, ids=None):
'''
Attach attaches existing storage instances to units.
A "CHANGE" block can block this operation.
ids : typing.Sequence[~StorageAttachmentId]
Returns -> ErrorResults
'''
if ids is not None and not isinstance(ids, (bytes, str, l... |
Attach attaches existing storage instances to units.
A "CHANGE" block can block this operation.
ids : typing.Sequence[~StorageAttachmentId]
Returns -> ErrorResults
| Attach attaches existing storage instances to units.
A "CHANGE" block can block this operation.
| [
"Attach",
"attaches",
"existing",
"storage",
"instances",
"to",
"units",
".",
"A",
"\"",
"CHANGE",
"\"",
"block",
"can",
"block",
"this",
"operation",
"."
] | async def Attach(self, ids=None):
if ids is not None and not isinstance(ids, (bytes, str, list)):
raise Exception("Expected ids to be a Sequence, received: {}".format(type(ids)))
_params = dict()
msg = dict(type='Storage',
request='Attach',
versi... | [
"async",
"def",
"Attach",
"(",
"self",
",",
"ids",
"=",
"None",
")",
":",
"if",
"ids",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"ids",
",",
"(",
"bytes",
",",
"str",
",",
"list",
")",
")",
":",
"raise",
"Exception",
"(",
"\"Expected id... | Attach attaches existing storage instances to units. | [
"Attach",
"attaches",
"existing",
"storage",
"instances",
"to",
"units",
"."
] | [
"'''\n Attach attaches existing storage instances to units.\n A \"CHANGE\" block can block this operation.\n\n ids : typing.Sequence[~StorageAttachmentId]\n Returns -> ErrorResults\n '''",
"# map input types to rpc msg"
] | [
{
"param": "self",
"type": null
},
{
"param": "ids",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
},
{
"identifier": "ids",
"type": null,
"docstring": null,
"docstring_tokens": []... |
cdb853d5c657e372b41b5c9a194af9835cef1cc1 | sed-i/python-libjuju | juju/client/_client6.py | [
"Apache-2.0"
] | Python | CreatePool | <not_specific> | async def CreatePool(self, pools=None):
'''
CreatePool creates a new pool with specified parameters.
pools : typing.Sequence[~StoragePool]
Returns -> ErrorResults
'''
if pools is not None and not isinstance(pools, (bytes, str, list)):
raise Exception("Expecte... |
CreatePool creates a new pool with specified parameters.
pools : typing.Sequence[~StoragePool]
Returns -> ErrorResults
| CreatePool creates a new pool with specified parameters. | [
"CreatePool",
"creates",
"a",
"new",
"pool",
"with",
"specified",
"parameters",
"."
] | async def CreatePool(self, pools=None):
if pools is not None and not isinstance(pools, (bytes, str, list)):
raise Exception("Expected pools to be a Sequence, received: {}".format(type(pools)))
_params = dict()
msg = dict(type='Storage',
request='CreatePool',
... | [
"async",
"def",
"CreatePool",
"(",
"self",
",",
"pools",
"=",
"None",
")",
":",
"if",
"pools",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"pools",
",",
"(",
"bytes",
",",
"str",
",",
"list",
")",
")",
":",
"raise",
"Exception",
"(",
"\"E... | CreatePool creates a new pool with specified parameters. | [
"CreatePool",
"creates",
"a",
"new",
"pool",
"with",
"specified",
"parameters",
"."
] | [
"'''\n CreatePool creates a new pool with specified parameters.\n\n pools : typing.Sequence[~StoragePool]\n Returns -> ErrorResults\n '''",
"# map input types to rpc msg"
] | [
{
"param": "self",
"type": null
},
{
"param": "pools",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
},
{
"identifier": "pools",
"type": null,
"docstring": null,
"docstring_tokens": ... |
cdb853d5c657e372b41b5c9a194af9835cef1cc1 | sed-i/python-libjuju | juju/client/_client6.py | [
"Apache-2.0"
] | Python | DetachStorage | <not_specific> | async def DetachStorage(self, force=None, ids=None, max_wait=None):
'''
DetachStorage sets the specified storage attachments to Dying, unless they are
already Dying or Dead. Any associated, persistent storage will remain
alive. This call can be forced.
force : bool
ids :... |
DetachStorage sets the specified storage attachments to Dying, unless they are
already Dying or Dead. Any associated, persistent storage will remain
alive. This call can be forced.
force : bool
ids : StorageAttachmentIds
max_wait : int
Returns -> ErrorResults
... | DetachStorage sets the specified storage attachments to Dying, unless they are
already Dying or Dead. Any associated, persistent storage will remain
alive. This call can be forced.
force : bool
ids : StorageAttachmentIds
max_wait : int
Returns -> ErrorResults | [
"DetachStorage",
"sets",
"the",
"specified",
"storage",
"attachments",
"to",
"Dying",
"unless",
"they",
"are",
"already",
"Dying",
"or",
"Dead",
".",
"Any",
"associated",
"persistent",
"storage",
"will",
"remain",
"alive",
".",
"This",
"call",
"can",
"be",
"fo... | async def DetachStorage(self, force=None, ids=None, max_wait=None):
if force is not None and not isinstance(force, bool):
raise Exception("Expected force to be a bool, received: {}".format(type(force)))
if ids is not None and not isinstance(ids, (dict, StorageAttachmentIds)):
rai... | [
"async",
"def",
"DetachStorage",
"(",
"self",
",",
"force",
"=",
"None",
",",
"ids",
"=",
"None",
",",
"max_wait",
"=",
"None",
")",
":",
"if",
"force",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"force",
",",
"bool",
")",
":",
"raise",
... | DetachStorage sets the specified storage attachments to Dying, unless they are
already Dying or Dead. | [
"DetachStorage",
"sets",
"the",
"specified",
"storage",
"attachments",
"to",
"Dying",
"unless",
"they",
"are",
"already",
"Dying",
"or",
"Dead",
"."
] | [
"'''\n DetachStorage sets the specified storage attachments to Dying, unless they are\n already Dying or Dead. Any associated, persistent storage will remain\n alive. This call can be forced.\n\n force : bool\n ids : StorageAttachmentIds\n max_wait : int\n Returns ->... | [
{
"param": "self",
"type": null
},
{
"param": "force",
"type": null
},
{
"param": "ids",
"type": null
},
{
"param": "max_wait",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
},
{
"identifier": "force",
"type": null,
"docstring": null,
"docstring_tokens": ... |
cdb853d5c657e372b41b5c9a194af9835cef1cc1 | sed-i/python-libjuju | juju/client/_client6.py | [
"Apache-2.0"
] | Python | Import | <not_specific> | async def Import(self, storage=None):
'''
Import imports existing storage into the model.
A "CHANGE" block can block this operation.
storage : typing.Sequence[~ImportStorageParams]
Returns -> ImportStorageResults
'''
if storage is not None and not isinstance(stor... |
Import imports existing storage into the model.
A "CHANGE" block can block this operation.
storage : typing.Sequence[~ImportStorageParams]
Returns -> ImportStorageResults
| Import imports existing storage into the model.
A "CHANGE" block can block this operation.
| [
"Import",
"imports",
"existing",
"storage",
"into",
"the",
"model",
".",
"A",
"\"",
"CHANGE",
"\"",
"block",
"can",
"block",
"this",
"operation",
"."
] | async def Import(self, storage=None):
if storage is not None and not isinstance(storage, (bytes, str, list)):
raise Exception("Expected storage to be a Sequence, received: {}".format(type(storage)))
_params = dict()
msg = dict(type='Storage',
request='Import',
... | [
"async",
"def",
"Import",
"(",
"self",
",",
"storage",
"=",
"None",
")",
":",
"if",
"storage",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"storage",
",",
"(",
"bytes",
",",
"str",
",",
"list",
")",
")",
":",
"raise",
"Exception",
"(",
"\... | Import imports existing storage into the model. | [
"Import",
"imports",
"existing",
"storage",
"into",
"the",
"model",
"."
] | [
"'''\n Import imports existing storage into the model.\n A \"CHANGE\" block can block this operation.\n\n storage : typing.Sequence[~ImportStorageParams]\n Returns -> ImportStorageResults\n '''",
"# map input types to rpc msg"
] | [
{
"param": "self",
"type": null
},
{
"param": "storage",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
},
{
"identifier": "storage",
"type": null,
"docstring": null,
"docstring_tokens"... |
cdb853d5c657e372b41b5c9a194af9835cef1cc1 | sed-i/python-libjuju | juju/client/_client6.py | [
"Apache-2.0"
] | Python | ListFilesystems | <not_specific> | async def ListFilesystems(self, filters=None):
'''
ListFilesystems returns a list of filesystems in the environment matching
the provided filter. Each result describes a filesystem in detail, including
the filesystem's attachments.
filters : typing.Sequence[~FilesystemFilter]
... |
ListFilesystems returns a list of filesystems in the environment matching
the provided filter. Each result describes a filesystem in detail, including
the filesystem's attachments.
filters : typing.Sequence[~FilesystemFilter]
Returns -> FilesystemDetailsListResults
| ListFilesystems returns a list of filesystems in the environment matching
the provided filter. Each result describes a filesystem in detail, including
the filesystem's attachments.
| [
"ListFilesystems",
"returns",
"a",
"list",
"of",
"filesystems",
"in",
"the",
"environment",
"matching",
"the",
"provided",
"filter",
".",
"Each",
"result",
"describes",
"a",
"filesystem",
"in",
"detail",
"including",
"the",
"filesystem",
"'",
"s",
"attachments",
... | async def ListFilesystems(self, filters=None):
if filters is not None and not isinstance(filters, (bytes, str, list)):
raise Exception("Expected filters to be a Sequence, received: {}".format(type(filters)))
_params = dict()
msg = dict(type='Storage',
request='List... | [
"async",
"def",
"ListFilesystems",
"(",
"self",
",",
"filters",
"=",
"None",
")",
":",
"if",
"filters",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"filters",
",",
"(",
"bytes",
",",
"str",
",",
"list",
")",
")",
":",
"raise",
"Exception",
... | ListFilesystems returns a list of filesystems in the environment matching
the provided filter. | [
"ListFilesystems",
"returns",
"a",
"list",
"of",
"filesystems",
"in",
"the",
"environment",
"matching",
"the",
"provided",
"filter",
"."
] | [
"'''\n ListFilesystems returns a list of filesystems in the environment matching\n the provided filter. Each result describes a filesystem in detail, including\n the filesystem's attachments.\n\n filters : typing.Sequence[~FilesystemFilter]\n Returns -> FilesystemDetailsListResult... | [
{
"param": "self",
"type": null
},
{
"param": "filters",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
},
{
"identifier": "filters",
"type": null,
"docstring": null,
"docstring_tokens"... |
cdb853d5c657e372b41b5c9a194af9835cef1cc1 | sed-i/python-libjuju | juju/client/_client6.py | [
"Apache-2.0"
] | Python | ListPools | <not_specific> | async def ListPools(self, filters=None):
'''
ListPools returns a list of pools.
If filter is provided, returned list only contains pools that match
the filter.
Pools can be filtered on names and provider types.
If both names and types are provided as filter,
pools... |
ListPools returns a list of pools.
If filter is provided, returned list only contains pools that match
the filter.
Pools can be filtered on names and provider types.
If both names and types are provided as filter,
pools that match either are returned.
This method... | ListPools returns a list of pools.
If filter is provided, returned list only contains pools that match
the filter.
Pools can be filtered on names and provider types.
If both names and types are provided as filter,
pools that match either are returned.
This method lists union of pools and environment provider types.
If ... | [
"ListPools",
"returns",
"a",
"list",
"of",
"pools",
".",
"If",
"filter",
"is",
"provided",
"returned",
"list",
"only",
"contains",
"pools",
"that",
"match",
"the",
"filter",
".",
"Pools",
"can",
"be",
"filtered",
"on",
"names",
"and",
"provider",
"types",
... | async def ListPools(self, filters=None):
if filters is not None and not isinstance(filters, (bytes, str, list)):
raise Exception("Expected filters to be a Sequence, received: {}".format(type(filters)))
_params = dict()
msg = dict(type='Storage',
request='ListPools'... | [
"async",
"def",
"ListPools",
"(",
"self",
",",
"filters",
"=",
"None",
")",
":",
"if",
"filters",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"filters",
",",
"(",
"bytes",
",",
"str",
",",
"list",
")",
")",
":",
"raise",
"Exception",
"(",
... | ListPools returns a list of pools. | [
"ListPools",
"returns",
"a",
"list",
"of",
"pools",
"."
] | [
"'''\n ListPools returns a list of pools.\n If filter is provided, returned list only contains pools that match\n the filter.\n Pools can be filtered on names and provider types.\n If both names and types are provided as filter,\n pools that match either are returned.\n ... | [
{
"param": "self",
"type": null
},
{
"param": "filters",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
},
{
"identifier": "filters",
"type": null,
"docstring": null,
"docstring_tokens"... |
cdb853d5c657e372b41b5c9a194af9835cef1cc1 | sed-i/python-libjuju | juju/client/_client6.py | [
"Apache-2.0"
] | Python | ListStorageDetails | <not_specific> | async def ListStorageDetails(self, filters=None):
'''
ListStorageDetails returns storage matching a filter.
filters : typing.Sequence[~StorageFilter]
Returns -> StorageDetailsListResults
'''
if filters is not None and not isinstance(filters, (bytes, str, list)):
... |
ListStorageDetails returns storage matching a filter.
filters : typing.Sequence[~StorageFilter]
Returns -> StorageDetailsListResults
| ListStorageDetails returns storage matching a filter. | [
"ListStorageDetails",
"returns",
"storage",
"matching",
"a",
"filter",
"."
] | async def ListStorageDetails(self, filters=None):
if filters is not None and not isinstance(filters, (bytes, str, list)):
raise Exception("Expected filters to be a Sequence, received: {}".format(type(filters)))
_params = dict()
msg = dict(type='Storage',
request='L... | [
"async",
"def",
"ListStorageDetails",
"(",
"self",
",",
"filters",
"=",
"None",
")",
":",
"if",
"filters",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"filters",
",",
"(",
"bytes",
",",
"str",
",",
"list",
")",
")",
":",
"raise",
"Exception",... | ListStorageDetails returns storage matching a filter. | [
"ListStorageDetails",
"returns",
"storage",
"matching",
"a",
"filter",
"."
] | [
"'''\n ListStorageDetails returns storage matching a filter.\n\n filters : typing.Sequence[~StorageFilter]\n Returns -> StorageDetailsListResults\n '''",
"# map input types to rpc msg"
] | [
{
"param": "self",
"type": null
},
{
"param": "filters",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
},
{
"identifier": "filters",
"type": null,
"docstring": null,
"docstring_tokens"... |
cdb853d5c657e372b41b5c9a194af9835cef1cc1 | sed-i/python-libjuju | juju/client/_client6.py | [
"Apache-2.0"
] | Python | ListVolumes | <not_specific> | async def ListVolumes(self, filters=None):
'''
ListVolumes lists volumes with the given filters. Each filter produces
an independent list of volumes, or an error if the filter is invalid
or the volumes could not be listed.
filters : typing.Sequence[~VolumeFilter]
Returns... |
ListVolumes lists volumes with the given filters. Each filter produces
an independent list of volumes, or an error if the filter is invalid
or the volumes could not be listed.
filters : typing.Sequence[~VolumeFilter]
Returns -> VolumeDetailsListResults
| ListVolumes lists volumes with the given filters. Each filter produces
an independent list of volumes, or an error if the filter is invalid
or the volumes could not be listed.
| [
"ListVolumes",
"lists",
"volumes",
"with",
"the",
"given",
"filters",
".",
"Each",
"filter",
"produces",
"an",
"independent",
"list",
"of",
"volumes",
"or",
"an",
"error",
"if",
"the",
"filter",
"is",
"invalid",
"or",
"the",
"volumes",
"could",
"not",
"be",
... | async def ListVolumes(self, filters=None):
if filters is not None and not isinstance(filters, (bytes, str, list)):
raise Exception("Expected filters to be a Sequence, received: {}".format(type(filters)))
_params = dict()
msg = dict(type='Storage',
request='ListVolu... | [
"async",
"def",
"ListVolumes",
"(",
"self",
",",
"filters",
"=",
"None",
")",
":",
"if",
"filters",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"filters",
",",
"(",
"bytes",
",",
"str",
",",
"list",
")",
")",
":",
"raise",
"Exception",
"(",... | ListVolumes lists volumes with the given filters. | [
"ListVolumes",
"lists",
"volumes",
"with",
"the",
"given",
"filters",
"."
] | [
"'''\n ListVolumes lists volumes with the given filters. Each filter produces\n an independent list of volumes, or an error if the filter is invalid\n or the volumes could not be listed.\n\n filters : typing.Sequence[~VolumeFilter]\n Returns -> VolumeDetailsListResults\n ''... | [
{
"param": "self",
"type": null
},
{
"param": "filters",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
},
{
"identifier": "filters",
"type": null,
"docstring": null,
"docstring_tokens"... |
cdb853d5c657e372b41b5c9a194af9835cef1cc1 | sed-i/python-libjuju | juju/client/_client6.py | [
"Apache-2.0"
] | Python | Remove | <not_specific> | async def Remove(self, storage=None):
'''
Remove sets the specified storage entities to Dying, unless they are
already Dying or Dead, such that the storage will eventually be removed
from the model. If the arguments specify that the storage should be
destroyed, then the associate... |
Remove sets the specified storage entities to Dying, unless they are
already Dying or Dead, such that the storage will eventually be removed
from the model. If the arguments specify that the storage should be
destroyed, then the associated cloud storage will be destroyed first;
... | Remove sets the specified storage entities to Dying, unless they are
already Dying or Dead, such that the storage will eventually be removed
from the model. If the arguments specify that the storage should be
destroyed, then the associated cloud storage will be destroyed first;
otherwise it will only be released from J... | [
"Remove",
"sets",
"the",
"specified",
"storage",
"entities",
"to",
"Dying",
"unless",
"they",
"are",
"already",
"Dying",
"or",
"Dead",
"such",
"that",
"the",
"storage",
"will",
"eventually",
"be",
"removed",
"from",
"the",
"model",
".",
"If",
"the",
"argumen... | async def Remove(self, storage=None):
if storage is not None and not isinstance(storage, (bytes, str, list)):
raise Exception("Expected storage to be a Sequence, received: {}".format(type(storage)))
_params = dict()
msg = dict(type='Storage',
request='Remove',
... | [
"async",
"def",
"Remove",
"(",
"self",
",",
"storage",
"=",
"None",
")",
":",
"if",
"storage",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"storage",
",",
"(",
"bytes",
",",
"str",
",",
"list",
")",
")",
":",
"raise",
"Exception",
"(",
"\... | Remove sets the specified storage entities to Dying, unless they are
already Dying or Dead, such that the storage will eventually be removed
from the model. | [
"Remove",
"sets",
"the",
"specified",
"storage",
"entities",
"to",
"Dying",
"unless",
"they",
"are",
"already",
"Dying",
"or",
"Dead",
"such",
"that",
"the",
"storage",
"will",
"eventually",
"be",
"removed",
"from",
"the",
"model",
"."
] | [
"'''\n Remove sets the specified storage entities to Dying, unless they are\n already Dying or Dead, such that the storage will eventually be removed\n from the model. If the arguments specify that the storage should be\n destroyed, then the associated cloud storage will be destroyed fir... | [
{
"param": "self",
"type": null
},
{
"param": "storage",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
},
{
"identifier": "storage",
"type": null,
"docstring": null,
"docstring_tokens"... |
cdb853d5c657e372b41b5c9a194af9835cef1cc1 | sed-i/python-libjuju | juju/client/_client6.py | [
"Apache-2.0"
] | Python | RemovePool | <not_specific> | async def RemovePool(self, pools=None):
'''
RemovePool deletes the named pool
pools : typing.Sequence[~StoragePoolDeleteArg]
Returns -> ErrorResults
'''
if pools is not None and not isinstance(pools, (bytes, str, list)):
raise Exception("Expected pools to be ... |
RemovePool deletes the named pool
pools : typing.Sequence[~StoragePoolDeleteArg]
Returns -> ErrorResults
| RemovePool deletes the named pool
pools : typing.Sequence[~StoragePoolDeleteArg]
Returns -> ErrorResults | [
"RemovePool",
"deletes",
"the",
"named",
"pool",
"pools",
":",
"typing",
".",
"Sequence",
"[",
"~StoragePoolDeleteArg",
"]",
"Returns",
"-",
">",
"ErrorResults"
] | async def RemovePool(self, pools=None):
if pools is not None and not isinstance(pools, (bytes, str, list)):
raise Exception("Expected pools to be a Sequence, received: {}".format(type(pools)))
_params = dict()
msg = dict(type='Storage',
request='RemovePool',
... | [
"async",
"def",
"RemovePool",
"(",
"self",
",",
"pools",
"=",
"None",
")",
":",
"if",
"pools",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"pools",
",",
"(",
"bytes",
",",
"str",
",",
"list",
")",
")",
":",
"raise",
"Exception",
"(",
"\"E... | RemovePool deletes the named pool
pools : typing.Sequence[~StoragePoolDeleteArg]
Returns -> ErrorResults | [
"RemovePool",
"deletes",
"the",
"named",
"pool",
"pools",
":",
"typing",
".",
"Sequence",
"[",
"~StoragePoolDeleteArg",
"]",
"Returns",
"-",
">",
"ErrorResults"
] | [
"'''\n RemovePool deletes the named pool\n\n pools : typing.Sequence[~StoragePoolDeleteArg]\n Returns -> ErrorResults\n '''",
"# map input types to rpc msg"
] | [
{
"param": "self",
"type": null
},
{
"param": "pools",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
},
{
"identifier": "pools",
"type": null,
"docstring": null,
"docstring_tokens": ... |
cdb853d5c657e372b41b5c9a194af9835cef1cc1 | sed-i/python-libjuju | juju/client/_client6.py | [
"Apache-2.0"
] | Python | StorageDetails | <not_specific> | async def StorageDetails(self, entities=None):
'''
StorageDetails retrieves and returns detailed information about desired
storage identified by supplied tags. If specified storage cannot be
retrieved, individual error is returned instead of storage information.
entities : typin... |
StorageDetails retrieves and returns detailed information about desired
storage identified by supplied tags. If specified storage cannot be
retrieved, individual error is returned instead of storage information.
entities : typing.Sequence[~Entity]
Returns -> StorageDetailsResul... | StorageDetails retrieves and returns detailed information about desired
storage identified by supplied tags. If specified storage cannot be
retrieved, individual error is returned instead of storage information.
entities : typing.Sequence[~Entity]
Returns -> StorageDetailsResults | [
"StorageDetails",
"retrieves",
"and",
"returns",
"detailed",
"information",
"about",
"desired",
"storage",
"identified",
"by",
"supplied",
"tags",
".",
"If",
"specified",
"storage",
"cannot",
"be",
"retrieved",
"individual",
"error",
"is",
"returned",
"instead",
"of... | async def StorageDetails(self, entities=None):
if entities is not None and not isinstance(entities, (bytes, str, list)):
raise Exception("Expected entities to be a Sequence, received: {}".format(type(entities)))
_params = dict()
msg = dict(type='Storage',
request='... | [
"async",
"def",
"StorageDetails",
"(",
"self",
",",
"entities",
"=",
"None",
")",
":",
"if",
"entities",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"entities",
",",
"(",
"bytes",
",",
"str",
",",
"list",
")",
")",
":",
"raise",
"Exception",
... | StorageDetails retrieves and returns detailed information about desired
storage identified by supplied tags. | [
"StorageDetails",
"retrieves",
"and",
"returns",
"detailed",
"information",
"about",
"desired",
"storage",
"identified",
"by",
"supplied",
"tags",
"."
] | [
"'''\n StorageDetails retrieves and returns detailed information about desired\n storage identified by supplied tags. If specified storage cannot be\n retrieved, individual error is returned instead of storage information.\n\n entities : typing.Sequence[~Entity]\n Returns -> Stora... | [
{
"param": "self",
"type": null
},
{
"param": "entities",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
},
{
"identifier": "entities",
"type": null,
"docstring": null,
"docstring_tokens... |
240cdaeaf76bddaf9677917b434bec7cd79baa10 | sed-i/python-libjuju | juju/client/_client9.py | [
"Apache-2.0"
] | Python | AllModels | <not_specific> | async def AllModels(self):
'''
AllModels allows controller administrators to get the list of all the
models in the controller.
Returns -> UserModelList
'''
# map input types to rpc msg
_params = dict()
msg = dict(type='Controller',
re... |
AllModels allows controller administrators to get the list of all the
models in the controller.
Returns -> UserModelList
| AllModels allows controller administrators to get the list of all the
models in the controller.
| [
"AllModels",
"allows",
"controller",
"administrators",
"to",
"get",
"the",
"list",
"of",
"all",
"the",
"models",
"in",
"the",
"controller",
"."
] | async def AllModels(self):
_params = dict()
msg = dict(type='Controller',
request='AllModels',
version=9,
params=_params)
reply = await self.rpc(msg)
return reply | [
"async",
"def",
"AllModels",
"(",
"self",
")",
":",
"_params",
"=",
"dict",
"(",
")",
"msg",
"=",
"dict",
"(",
"type",
"=",
"'Controller'",
",",
"request",
"=",
"'AllModels'",
",",
"version",
"=",
"9",
",",
"params",
"=",
"_params",
")",
"reply",
"="... | AllModels allows controller administrators to get the list of all the
models in the controller. | [
"AllModels",
"allows",
"controller",
"administrators",
"to",
"get",
"the",
"list",
"of",
"all",
"the",
"models",
"in",
"the",
"controller",
"."
] | [
"'''\n AllModels allows controller administrators to get the list of all the\n models in the controller.\n\n\n Returns -> UserModelList\n '''",
"# map input types to rpc msg"
] | [
{
"param": "self",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
}
],
"outlier_params": [],
"others": []
} |
240cdaeaf76bddaf9677917b434bec7cd79baa10 | sed-i/python-libjuju | juju/client/_client9.py | [
"Apache-2.0"
] | Python | ConfigSet | <not_specific> | async def ConfigSet(self, config=None):
'''
ConfigSet changes the value of specified controller configuration
settings. Only some settings can be changed after bootstrap.
Settings that aren't specified in the params are left unchanged.
config : typing.Mapping[str, typing.Any]
... |
ConfigSet changes the value of specified controller configuration
settings. Only some settings can be changed after bootstrap.
Settings that aren't specified in the params are left unchanged.
config : typing.Mapping[str, typing.Any]
Returns -> None
| ConfigSet changes the value of specified controller configuration
settings. Only some settings can be changed after bootstrap.
Settings that aren't specified in the params are left unchanged.
| [
"ConfigSet",
"changes",
"the",
"value",
"of",
"specified",
"controller",
"configuration",
"settings",
".",
"Only",
"some",
"settings",
"can",
"be",
"changed",
"after",
"bootstrap",
".",
"Settings",
"that",
"aren",
"'",
"t",
"specified",
"in",
"the",
"params",
... | async def ConfigSet(self, config=None):
if config is not None and not isinstance(config, dict):
raise Exception("Expected config to be a Mapping, received: {}".format(type(config)))
_params = dict()
msg = dict(type='Controller',
request='ConfigSet',
... | [
"async",
"def",
"ConfigSet",
"(",
"self",
",",
"config",
"=",
"None",
")",
":",
"if",
"config",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"config",
",",
"dict",
")",
":",
"raise",
"Exception",
"(",
"\"Expected config to be a Mapping, received: {}\"... | ConfigSet changes the value of specified controller configuration
settings. | [
"ConfigSet",
"changes",
"the",
"value",
"of",
"specified",
"controller",
"configuration",
"settings",
"."
] | [
"'''\n ConfigSet changes the value of specified controller configuration\n settings. Only some settings can be changed after bootstrap.\n Settings that aren't specified in the params are left unchanged.\n\n config : typing.Mapping[str, typing.Any]\n Returns -> None\n '''",
... | [
{
"param": "self",
"type": null
},
{
"param": "config",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
},
{
"identifier": "config",
"type": null,
"docstring": null,
"docstring_tokens":... |
240cdaeaf76bddaf9677917b434bec7cd79baa10 | sed-i/python-libjuju | juju/client/_client9.py | [
"Apache-2.0"
] | Python | ControllerAPIInfoForModels | <not_specific> | async def ControllerAPIInfoForModels(self, entities=None):
'''
ControllerAPIInfoForModels returns the controller api connection details for the specified models.
entities : typing.Sequence[~Entity]
Returns -> ControllerAPIInfoResults
'''
if entities is not None and not i... |
ControllerAPIInfoForModels returns the controller api connection details for the specified models.
entities : typing.Sequence[~Entity]
Returns -> ControllerAPIInfoResults
| ControllerAPIInfoForModels returns the controller api connection details for the specified models.
entities : typing.Sequence[~Entity]
Returns -> ControllerAPIInfoResults | [
"ControllerAPIInfoForModels",
"returns",
"the",
"controller",
"api",
"connection",
"details",
"for",
"the",
"specified",
"models",
".",
"entities",
":",
"typing",
".",
"Sequence",
"[",
"~Entity",
"]",
"Returns",
"-",
">",
"ControllerAPIInfoResults"
] | async def ControllerAPIInfoForModels(self, entities=None):
if entities is not None and not isinstance(entities, (bytes, str, list)):
raise Exception("Expected entities to be a Sequence, received: {}".format(type(entities)))
_params = dict()
msg = dict(type='Controller',
... | [
"async",
"def",
"ControllerAPIInfoForModels",
"(",
"self",
",",
"entities",
"=",
"None",
")",
":",
"if",
"entities",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"entities",
",",
"(",
"bytes",
",",
"str",
",",
"list",
")",
")",
":",
"raise",
"... | ControllerAPIInfoForModels returns the controller api connection details for the specified models. | [
"ControllerAPIInfoForModels",
"returns",
"the",
"controller",
"api",
"connection",
"details",
"for",
"the",
"specified",
"models",
"."
] | [
"'''\n ControllerAPIInfoForModels returns the controller api connection details for the specified models.\n\n entities : typing.Sequence[~Entity]\n Returns -> ControllerAPIInfoResults\n '''",
"# map input types to rpc msg"
] | [
{
"param": "self",
"type": null
},
{
"param": "entities",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
},
{
"identifier": "entities",
"type": null,
"docstring": null,
"docstring_tokens... |
240cdaeaf76bddaf9677917b434bec7cd79baa10 | sed-i/python-libjuju | juju/client/_client9.py | [
"Apache-2.0"
] | Python | ControllerConfig | <not_specific> | async def ControllerConfig(self):
'''
ControllerConfig returns the controller's configuration.
Returns -> ControllerConfigResult
'''
# map input types to rpc msg
_params = dict()
msg = dict(type='Controller',
request='ControllerConfig',
... |
ControllerConfig returns the controller's configuration.
Returns -> ControllerConfigResult
| ControllerConfig returns the controller's configuration. | [
"ControllerConfig",
"returns",
"the",
"controller",
"'",
"s",
"configuration",
"."
] | async def ControllerConfig(self):
_params = dict()
msg = dict(type='Controller',
request='ControllerConfig',
version=9,
params=_params)
reply = await self.rpc(msg)
return reply | [
"async",
"def",
"ControllerConfig",
"(",
"self",
")",
":",
"_params",
"=",
"dict",
"(",
")",
"msg",
"=",
"dict",
"(",
"type",
"=",
"'Controller'",
",",
"request",
"=",
"'ControllerConfig'",
",",
"version",
"=",
"9",
",",
"params",
"=",
"_params",
")",
... | ControllerConfig returns the controller's configuration. | [
"ControllerConfig",
"returns",
"the",
"controller",
"'",
"s",
"configuration",
"."
] | [
"'''\n ControllerConfig returns the controller's configuration.\n\n\n Returns -> ControllerConfigResult\n '''",
"# map input types to rpc msg"
] | [
{
"param": "self",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
}
],
"outlier_params": [],
"others": []
} |
240cdaeaf76bddaf9677917b434bec7cd79baa10 | sed-i/python-libjuju | juju/client/_client9.py | [
"Apache-2.0"
] | Python | ControllerVersion | <not_specific> | async def ControllerVersion(self):
'''
ControllerVersion returns the version information associated with this
controller binary.
NOTE: the implementation intentionally does not check for SuperuserAccess
as the Version is known even to users with login access.
Returns -... |
ControllerVersion returns the version information associated with this
controller binary.
NOTE: the implementation intentionally does not check for SuperuserAccess
as the Version is known even to users with login access.
Returns -> ControllerVersionResults
| ControllerVersion returns the version information associated with this
controller binary.
the implementation intentionally does not check for SuperuserAccess
as the Version is known even to users with login access.
| [
"ControllerVersion",
"returns",
"the",
"version",
"information",
"associated",
"with",
"this",
"controller",
"binary",
".",
"the",
"implementation",
"intentionally",
"does",
"not",
"check",
"for",
"SuperuserAccess",
"as",
"the",
"Version",
"is",
"known",
"even",
"to... | async def ControllerVersion(self):
_params = dict()
msg = dict(type='Controller',
request='ControllerVersion',
version=9,
params=_params)
reply = await self.rpc(msg)
return reply | [
"async",
"def",
"ControllerVersion",
"(",
"self",
")",
":",
"_params",
"=",
"dict",
"(",
")",
"msg",
"=",
"dict",
"(",
"type",
"=",
"'Controller'",
",",
"request",
"=",
"'ControllerVersion'",
",",
"version",
"=",
"9",
",",
"params",
"=",
"_params",
")",
... | ControllerVersion returns the version information associated with this
controller binary. | [
"ControllerVersion",
"returns",
"the",
"version",
"information",
"associated",
"with",
"this",
"controller",
"binary",
"."
] | [
"'''\n ControllerVersion returns the version information associated with this\n controller binary.\n\n NOTE: the implementation intentionally does not check for SuperuserAccess\n as the Version is known even to users with login access.\n\n\n Returns -> ControllerVersionResults\n ... | [
{
"param": "self",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
}
],
"outlier_params": [],
"others": []
} |
240cdaeaf76bddaf9677917b434bec7cd79baa10 | sed-i/python-libjuju | juju/client/_client9.py | [
"Apache-2.0"
] | Python | DestroyController | <not_specific> | async def DestroyController(self, destroy_models=None, destroy_storage=None):
'''
DestroyController destroys the controller.
If the args specify the destruction of the models, this method will
attempt to do so. Otherwise, if the controller has any non-empty,
non-Dead hosted mode... |
DestroyController destroys the controller.
If the args specify the destruction of the models, this method will
attempt to do so. Otherwise, if the controller has any non-empty,
non-Dead hosted models, then an error with the code
params.CodeHasHostedModels will be transmitted.
... | DestroyController destroys the controller.
If the args specify the destruction of the models, this method will
attempt to do so. Otherwise, if the controller has any non-empty,
non-Dead hosted models, then an error with the code
params.CodeHasHostedModels will be transmitted.
destroy_models : bool
destroy_storage : bo... | [
"DestroyController",
"destroys",
"the",
"controller",
".",
"If",
"the",
"args",
"specify",
"the",
"destruction",
"of",
"the",
"models",
"this",
"method",
"will",
"attempt",
"to",
"do",
"so",
".",
"Otherwise",
"if",
"the",
"controller",
"has",
"any",
"non",
"... | async def DestroyController(self, destroy_models=None, destroy_storage=None):
if destroy_models is not None and not isinstance(destroy_models, bool):
raise Exception("Expected destroy_models to be a bool, received: {}".format(type(destroy_models)))
if destroy_storage is not None and not isin... | [
"async",
"def",
"DestroyController",
"(",
"self",
",",
"destroy_models",
"=",
"None",
",",
"destroy_storage",
"=",
"None",
")",
":",
"if",
"destroy_models",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"destroy_models",
",",
"bool",
")",
":",
"raise... | DestroyController destroys the controller. | [
"DestroyController",
"destroys",
"the",
"controller",
"."
] | [
"'''\n DestroyController destroys the controller.\n\n If the args specify the destruction of the models, this method will\n attempt to do so. Otherwise, if the controller has any non-empty,\n non-Dead hosted models, then an error with the code\n params.CodeHasHostedModels will be ... | [
{
"param": "self",
"type": null
},
{
"param": "destroy_models",
"type": null
},
{
"param": "destroy_storage",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
},
{
"identifier": "destroy_models",
"type": null,
"docstring": null,
"docstring_... |
240cdaeaf76bddaf9677917b434bec7cd79baa10 | sed-i/python-libjuju | juju/client/_client9.py | [
"Apache-2.0"
] | Python | GetCloudSpec | <not_specific> | async def GetCloudSpec(self):
'''
GetCloudSpec constructs the CloudSpec for a validated and authorized model.
Returns -> CloudSpecResult
'''
# map input types to rpc msg
_params = dict()
msg = dict(type='Controller',
request='GetCloudSpec',
... |
GetCloudSpec constructs the CloudSpec for a validated and authorized model.
Returns -> CloudSpecResult
| GetCloudSpec constructs the CloudSpec for a validated and authorized model. | [
"GetCloudSpec",
"constructs",
"the",
"CloudSpec",
"for",
"a",
"validated",
"and",
"authorized",
"model",
"."
] | async def GetCloudSpec(self):
_params = dict()
msg = dict(type='Controller',
request='GetCloudSpec',
version=9,
params=_params)
reply = await self.rpc(msg)
return reply | [
"async",
"def",
"GetCloudSpec",
"(",
"self",
")",
":",
"_params",
"=",
"dict",
"(",
")",
"msg",
"=",
"dict",
"(",
"type",
"=",
"'Controller'",
",",
"request",
"=",
"'GetCloudSpec'",
",",
"version",
"=",
"9",
",",
"params",
"=",
"_params",
")",
"reply",... | GetCloudSpec constructs the CloudSpec for a validated and authorized model. | [
"GetCloudSpec",
"constructs",
"the",
"CloudSpec",
"for",
"a",
"validated",
"and",
"authorized",
"model",
"."
] | [
"'''\n GetCloudSpec constructs the CloudSpec for a validated and authorized model.\n\n\n Returns -> CloudSpecResult\n '''",
"# map input types to rpc msg"
] | [
{
"param": "self",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
}
],
"outlier_params": [],
"others": []
} |
240cdaeaf76bddaf9677917b434bec7cd79baa10 | sed-i/python-libjuju | juju/client/_client9.py | [
"Apache-2.0"
] | Python | GetControllerAccess | <not_specific> | async def GetControllerAccess(self, entities=None):
'''
GetControllerAccess returns the level of access the specified users
have on the controller.
entities : typing.Sequence[~Entity]
Returns -> UserAccessResults
'''
if entities is not None and not isinstance(ent... |
GetControllerAccess returns the level of access the specified users
have on the controller.
entities : typing.Sequence[~Entity]
Returns -> UserAccessResults
| GetControllerAccess returns the level of access the specified users
have on the controller.
entities : typing.Sequence[~Entity]
Returns -> UserAccessResults | [
"GetControllerAccess",
"returns",
"the",
"level",
"of",
"access",
"the",
"specified",
"users",
"have",
"on",
"the",
"controller",
".",
"entities",
":",
"typing",
".",
"Sequence",
"[",
"~Entity",
"]",
"Returns",
"-",
">",
"UserAccessResults"
] | async def GetControllerAccess(self, entities=None):
if entities is not None and not isinstance(entities, (bytes, str, list)):
raise Exception("Expected entities to be a Sequence, received: {}".format(type(entities)))
_params = dict()
msg = dict(type='Controller',
r... | [
"async",
"def",
"GetControllerAccess",
"(",
"self",
",",
"entities",
"=",
"None",
")",
":",
"if",
"entities",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"entities",
",",
"(",
"bytes",
",",
"str",
",",
"list",
")",
")",
":",
"raise",
"Excepti... | GetControllerAccess returns the level of access the specified users
have on the controller. | [
"GetControllerAccess",
"returns",
"the",
"level",
"of",
"access",
"the",
"specified",
"users",
"have",
"on",
"the",
"controller",
"."
] | [
"'''\n GetControllerAccess returns the level of access the specified users\n have on the controller.\n\n entities : typing.Sequence[~Entity]\n Returns -> UserAccessResults\n '''",
"# map input types to rpc msg"
] | [
{
"param": "self",
"type": null
},
{
"param": "entities",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
},
{
"identifier": "entities",
"type": null,
"docstring": null,
"docstring_tokens... |
240cdaeaf76bddaf9677917b434bec7cd79baa10 | sed-i/python-libjuju | juju/client/_client9.py | [
"Apache-2.0"
] | Python | HostedModelConfigs | <not_specific> | async def HostedModelConfigs(self):
'''
HostedModelConfigs returns all the information that the client needs in
order to connect directly with the host model's provider and destroy it
directly.
Returns -> HostedModelConfigsResults
'''
# map input types to rpc m... |
HostedModelConfigs returns all the information that the client needs in
order to connect directly with the host model's provider and destroy it
directly.
Returns -> HostedModelConfigsResults
| HostedModelConfigs returns all the information that the client needs in
order to connect directly with the host model's provider and destroy it
directly.
| [
"HostedModelConfigs",
"returns",
"all",
"the",
"information",
"that",
"the",
"client",
"needs",
"in",
"order",
"to",
"connect",
"directly",
"with",
"the",
"host",
"model",
"'",
"s",
"provider",
"and",
"destroy",
"it",
"directly",
"."
] | async def HostedModelConfigs(self):
_params = dict()
msg = dict(type='Controller',
request='HostedModelConfigs',
version=9,
params=_params)
reply = await self.rpc(msg)
return reply | [
"async",
"def",
"HostedModelConfigs",
"(",
"self",
")",
":",
"_params",
"=",
"dict",
"(",
")",
"msg",
"=",
"dict",
"(",
"type",
"=",
"'Controller'",
",",
"request",
"=",
"'HostedModelConfigs'",
",",
"version",
"=",
"9",
",",
"params",
"=",
"_params",
")"... | HostedModelConfigs returns all the information that the client needs in
order to connect directly with the host model's provider and destroy it
directly. | [
"HostedModelConfigs",
"returns",
"all",
"the",
"information",
"that",
"the",
"client",
"needs",
"in",
"order",
"to",
"connect",
"directly",
"with",
"the",
"host",
"model",
"'",
"s",
"provider",
"and",
"destroy",
"it",
"directly",
"."
] | [
"'''\n HostedModelConfigs returns all the information that the client needs in\n order to connect directly with the host model's provider and destroy it\n directly.\n\n\n Returns -> HostedModelConfigsResults\n '''",
"# map input types to rpc msg"
] | [
{
"param": "self",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
}
],
"outlier_params": [],
"others": []
} |
240cdaeaf76bddaf9677917b434bec7cd79baa10 | sed-i/python-libjuju | juju/client/_client9.py | [
"Apache-2.0"
] | Python | IdentityProviderURL | <not_specific> | async def IdentityProviderURL(self):
'''
IdentityProviderURL returns the URL of the configured external identity
provider for this controller or an empty string if no external identity
provider has been configured when the controller was bootstrapped.
NOTE: the implementation in... |
IdentityProviderURL returns the URL of the configured external identity
provider for this controller or an empty string if no external identity
provider has been configured when the controller was bootstrapped.
NOTE: the implementation intentionally does not check for SuperuserAccess
... | IdentityProviderURL returns the URL of the configured external identity
provider for this controller or an empty string if no external identity
provider has been configured when the controller was bootstrapped.
the implementation intentionally does not check for SuperuserAccess
as the URL is known even to users with l... | [
"IdentityProviderURL",
"returns",
"the",
"URL",
"of",
"the",
"configured",
"external",
"identity",
"provider",
"for",
"this",
"controller",
"or",
"an",
"empty",
"string",
"if",
"no",
"external",
"identity",
"provider",
"has",
"been",
"configured",
"when",
"the",
... | async def IdentityProviderURL(self):
_params = dict()
msg = dict(type='Controller',
request='IdentityProviderURL',
version=9,
params=_params)
reply = await self.rpc(msg)
return reply | [
"async",
"def",
"IdentityProviderURL",
"(",
"self",
")",
":",
"_params",
"=",
"dict",
"(",
")",
"msg",
"=",
"dict",
"(",
"type",
"=",
"'Controller'",
",",
"request",
"=",
"'IdentityProviderURL'",
",",
"version",
"=",
"9",
",",
"params",
"=",
"_params",
"... | IdentityProviderURL returns the URL of the configured external identity
provider for this controller or an empty string if no external identity
provider has been configured when the controller was bootstrapped. | [
"IdentityProviderURL",
"returns",
"the",
"URL",
"of",
"the",
"configured",
"external",
"identity",
"provider",
"for",
"this",
"controller",
"or",
"an",
"empty",
"string",
"if",
"no",
"external",
"identity",
"provider",
"has",
"been",
"configured",
"when",
"the",
... | [
"'''\n IdentityProviderURL returns the URL of the configured external identity\n provider for this controller or an empty string if no external identity\n provider has been configured when the controller was bootstrapped.\n\n NOTE: the implementation intentionally does not check for Supe... | [
{
"param": "self",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
}
],
"outlier_params": [],
"others": []
} |
240cdaeaf76bddaf9677917b434bec7cd79baa10 | sed-i/python-libjuju | juju/client/_client9.py | [
"Apache-2.0"
] | Python | InitiateMigration | <not_specific> | async def InitiateMigration(self, specs=None):
'''
InitiateMigration attempts to begin the migration of one or
more models to other controllers.
specs : typing.Sequence[~MigrationSpec]
Returns -> InitiateMigrationResults
'''
if specs is not None and not isinstanc... |
InitiateMigration attempts to begin the migration of one or
more models to other controllers.
specs : typing.Sequence[~MigrationSpec]
Returns -> InitiateMigrationResults
| InitiateMigration attempts to begin the migration of one or
more models to other controllers.
| [
"InitiateMigration",
"attempts",
"to",
"begin",
"the",
"migration",
"of",
"one",
"or",
"more",
"models",
"to",
"other",
"controllers",
"."
] | async def InitiateMigration(self, specs=None):
if specs is not None and not isinstance(specs, (bytes, str, list)):
raise Exception("Expected specs to be a Sequence, received: {}".format(type(specs)))
_params = dict()
msg = dict(type='Controller',
request='InitiateM... | [
"async",
"def",
"InitiateMigration",
"(",
"self",
",",
"specs",
"=",
"None",
")",
":",
"if",
"specs",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"specs",
",",
"(",
"bytes",
",",
"str",
",",
"list",
")",
")",
":",
"raise",
"Exception",
"(",... | InitiateMigration attempts to begin the migration of one or
more models to other controllers. | [
"InitiateMigration",
"attempts",
"to",
"begin",
"the",
"migration",
"of",
"one",
"or",
"more",
"models",
"to",
"other",
"controllers",
"."
] | [
"'''\n InitiateMigration attempts to begin the migration of one or\n more models to other controllers.\n\n specs : typing.Sequence[~MigrationSpec]\n Returns -> InitiateMigrationResults\n '''",
"# map input types to rpc msg"
] | [
{
"param": "self",
"type": null
},
{
"param": "specs",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
},
{
"identifier": "specs",
"type": null,
"docstring": null,
"docstring_tokens": ... |
240cdaeaf76bddaf9677917b434bec7cd79baa10 | sed-i/python-libjuju | juju/client/_client9.py | [
"Apache-2.0"
] | Python | ListBlockedModels | <not_specific> | async def ListBlockedModels(self):
'''
ListBlockedModels returns a list of all models on the controller
which have a block in place. The resulting slice is sorted by model
name, then owner. Callers must be controller administrators to retrieve the
list.
Returns -> Mode... |
ListBlockedModels returns a list of all models on the controller
which have a block in place. The resulting slice is sorted by model
name, then owner. Callers must be controller administrators to retrieve the
list.
Returns -> ModelBlockInfoList
| ListBlockedModels returns a list of all models on the controller
which have a block in place. The resulting slice is sorted by model
name, then owner. Callers must be controller administrators to retrieve the
list.
| [
"ListBlockedModels",
"returns",
"a",
"list",
"of",
"all",
"models",
"on",
"the",
"controller",
"which",
"have",
"a",
"block",
"in",
"place",
".",
"The",
"resulting",
"slice",
"is",
"sorted",
"by",
"model",
"name",
"then",
"owner",
".",
"Callers",
"must",
"... | async def ListBlockedModels(self):
_params = dict()
msg = dict(type='Controller',
request='ListBlockedModels',
version=9,
params=_params)
reply = await self.rpc(msg)
return reply | [
"async",
"def",
"ListBlockedModels",
"(",
"self",
")",
":",
"_params",
"=",
"dict",
"(",
")",
"msg",
"=",
"dict",
"(",
"type",
"=",
"'Controller'",
",",
"request",
"=",
"'ListBlockedModels'",
",",
"version",
"=",
"9",
",",
"params",
"=",
"_params",
")",
... | ListBlockedModels returns a list of all models on the controller
which have a block in place. | [
"ListBlockedModels",
"returns",
"a",
"list",
"of",
"all",
"models",
"on",
"the",
"controller",
"which",
"have",
"a",
"block",
"in",
"place",
"."
] | [
"'''\n ListBlockedModels returns a list of all models on the controller\n which have a block in place. The resulting slice is sorted by model\n name, then owner. Callers must be controller administrators to retrieve the\n list.\n\n\n Returns -> ModelBlockInfoList\n '''",
... | [
{
"param": "self",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
}
],
"outlier_params": [],
"others": []
} |
240cdaeaf76bddaf9677917b434bec7cd79baa10 | sed-i/python-libjuju | juju/client/_client9.py | [
"Apache-2.0"
] | Python | ModelConfig | <not_specific> | async def ModelConfig(self):
'''
ModelConfig returns the model config for the controller
model. For information on the current model, use
client.ModelGet
Returns -> ModelConfigResults
'''
# map input types to rpc msg
_params = dict()
msg = dict... |
ModelConfig returns the model config for the controller
model. For information on the current model, use
client.ModelGet
Returns -> ModelConfigResults
| ModelConfig returns the model config for the controller
model. For information on the current model, use
client.ModelGet
| [
"ModelConfig",
"returns",
"the",
"model",
"config",
"for",
"the",
"controller",
"model",
".",
"For",
"information",
"on",
"the",
"current",
"model",
"use",
"client",
".",
"ModelGet"
] | async def ModelConfig(self):
_params = dict()
msg = dict(type='Controller',
request='ModelConfig',
version=9,
params=_params)
reply = await self.rpc(msg)
return reply | [
"async",
"def",
"ModelConfig",
"(",
"self",
")",
":",
"_params",
"=",
"dict",
"(",
")",
"msg",
"=",
"dict",
"(",
"type",
"=",
"'Controller'",
",",
"request",
"=",
"'ModelConfig'",
",",
"version",
"=",
"9",
",",
"params",
"=",
"_params",
")",
"reply",
... | ModelConfig returns the model config for the controller
model. | [
"ModelConfig",
"returns",
"the",
"model",
"config",
"for",
"the",
"controller",
"model",
"."
] | [
"'''\n ModelConfig returns the model config for the controller\n model. For information on the current model, use\n client.ModelGet\n\n\n Returns -> ModelConfigResults\n '''",
"# map input types to rpc msg"
] | [
{
"param": "self",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
}
],
"outlier_params": [],
"others": []
} |
240cdaeaf76bddaf9677917b434bec7cd79baa10 | sed-i/python-libjuju | juju/client/_client9.py | [
"Apache-2.0"
] | Python | ModifyControllerAccess | <not_specific> | async def ModifyControllerAccess(self, changes=None):
'''
ModifyControllerAccess changes the model access granted to users.
changes : typing.Sequence[~ModifyControllerAccess]
Returns -> ErrorResults
'''
if changes is not None and not isinstance(changes, (bytes, str, list... |
ModifyControllerAccess changes the model access granted to users.
changes : typing.Sequence[~ModifyControllerAccess]
Returns -> ErrorResults
| ModifyControllerAccess changes the model access granted to users. | [
"ModifyControllerAccess",
"changes",
"the",
"model",
"access",
"granted",
"to",
"users",
"."
] | async def ModifyControllerAccess(self, changes=None):
if changes is not None and not isinstance(changes, (bytes, str, list)):
raise Exception("Expected changes to be a Sequence, received: {}".format(type(changes)))
_params = dict()
msg = dict(type='Controller',
req... | [
"async",
"def",
"ModifyControllerAccess",
"(",
"self",
",",
"changes",
"=",
"None",
")",
":",
"if",
"changes",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"changes",
",",
"(",
"bytes",
",",
"str",
",",
"list",
")",
")",
":",
"raise",
"Excepti... | ModifyControllerAccess changes the model access granted to users. | [
"ModifyControllerAccess",
"changes",
"the",
"model",
"access",
"granted",
"to",
"users",
"."
] | [
"'''\n ModifyControllerAccess changes the model access granted to users.\n\n changes : typing.Sequence[~ModifyControllerAccess]\n Returns -> ErrorResults\n '''",
"# map input types to rpc msg"
] | [
{
"param": "self",
"type": null
},
{
"param": "changes",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
},
{
"identifier": "changes",
"type": null,
"docstring": null,
"docstring_tokens"... |
240cdaeaf76bddaf9677917b434bec7cd79baa10 | sed-i/python-libjuju | juju/client/_client9.py | [
"Apache-2.0"
] | Python | MongoVersion | <not_specific> | async def MongoVersion(self):
'''
MongoVersion allows the introspection of the mongo version per controller
Returns -> StringResult
'''
# map input types to rpc msg
_params = dict()
msg = dict(type='Controller',
request='MongoVersion',
... |
MongoVersion allows the introspection of the mongo version per controller
Returns -> StringResult
| MongoVersion allows the introspection of the mongo version per controller
Returns -> StringResult | [
"MongoVersion",
"allows",
"the",
"introspection",
"of",
"the",
"mongo",
"version",
"per",
"controller",
"Returns",
"-",
">",
"StringResult"
] | async def MongoVersion(self):
_params = dict()
msg = dict(type='Controller',
request='MongoVersion',
version=9,
params=_params)
reply = await self.rpc(msg)
return reply | [
"async",
"def",
"MongoVersion",
"(",
"self",
")",
":",
"_params",
"=",
"dict",
"(",
")",
"msg",
"=",
"dict",
"(",
"type",
"=",
"'Controller'",
",",
"request",
"=",
"'MongoVersion'",
",",
"version",
"=",
"9",
",",
"params",
"=",
"_params",
")",
"reply",... | MongoVersion allows the introspection of the mongo version per controller
Returns -> StringResult | [
"MongoVersion",
"allows",
"the",
"introspection",
"of",
"the",
"mongo",
"version",
"per",
"controller",
"Returns",
"-",
">",
"StringResult"
] | [
"'''\n MongoVersion allows the introspection of the mongo version per controller\n\n\n Returns -> StringResult\n '''",
"# map input types to rpc msg"
] | [
{
"param": "self",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
}
],
"outlier_params": [],
"others": []
} |
240cdaeaf76bddaf9677917b434bec7cd79baa10 | sed-i/python-libjuju | juju/client/_client9.py | [
"Apache-2.0"
] | Python | RemoveBlocks | <not_specific> | async def RemoveBlocks(self, all_=None):
'''
RemoveBlocks removes all the blocks in the controller.
all_ : bool
Returns -> None
'''
if all_ is not None and not isinstance(all_, bool):
raise Exception("Expected all_ to be a bool, received: {}".format(type(all_... |
RemoveBlocks removes all the blocks in the controller.
all_ : bool
Returns -> None
| RemoveBlocks removes all the blocks in the controller.
all_ : bool
Returns -> None | [
"RemoveBlocks",
"removes",
"all",
"the",
"blocks",
"in",
"the",
"controller",
".",
"all_",
":",
"bool",
"Returns",
"-",
">",
"None"
] | async def RemoveBlocks(self, all_=None):
if all_ is not None and not isinstance(all_, bool):
raise Exception("Expected all_ to be a bool, received: {}".format(type(all_)))
_params = dict()
msg = dict(type='Controller',
request='RemoveBlocks',
ver... | [
"async",
"def",
"RemoveBlocks",
"(",
"self",
",",
"all_",
"=",
"None",
")",
":",
"if",
"all_",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"all_",
",",
"bool",
")",
":",
"raise",
"Exception",
"(",
"\"Expected all_ to be a bool, received: {}\"",
"."... | RemoveBlocks removes all the blocks in the controller. | [
"RemoveBlocks",
"removes",
"all",
"the",
"blocks",
"in",
"the",
"controller",
"."
] | [
"'''\n RemoveBlocks removes all the blocks in the controller.\n\n all_ : bool\n Returns -> None\n '''",
"# map input types to rpc msg"
] | [
{
"param": "self",
"type": null
},
{
"param": "all_",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
},
{
"identifier": "all_",
"type": null,
"docstring": null,
"docstring_tokens": [... |
240cdaeaf76bddaf9677917b434bec7cd79baa10 | sed-i/python-libjuju | juju/client/_client9.py | [
"Apache-2.0"
] | Python | WatchAllModelSummaries | <not_specific> | async def WatchAllModelSummaries(self):
'''
WatchAllModelSummaries starts watching the summary updates from the cache.
This method is superuser access only, and watches all models in the
controller.
Returns -> SummaryWatcherID
'''
# map input types to rpc msg
... |
WatchAllModelSummaries starts watching the summary updates from the cache.
This method is superuser access only, and watches all models in the
controller.
Returns -> SummaryWatcherID
| WatchAllModelSummaries starts watching the summary updates from the cache.
This method is superuser access only, and watches all models in the
controller.
| [
"WatchAllModelSummaries",
"starts",
"watching",
"the",
"summary",
"updates",
"from",
"the",
"cache",
".",
"This",
"method",
"is",
"superuser",
"access",
"only",
"and",
"watches",
"all",
"models",
"in",
"the",
"controller",
"."
] | async def WatchAllModelSummaries(self):
_params = dict()
msg = dict(type='Controller',
request='WatchAllModelSummaries',
version=9,
params=_params)
reply = await self.rpc(msg)
return reply | [
"async",
"def",
"WatchAllModelSummaries",
"(",
"self",
")",
":",
"_params",
"=",
"dict",
"(",
")",
"msg",
"=",
"dict",
"(",
"type",
"=",
"'Controller'",
",",
"request",
"=",
"'WatchAllModelSummaries'",
",",
"version",
"=",
"9",
",",
"params",
"=",
"_params... | WatchAllModelSummaries starts watching the summary updates from the cache. | [
"WatchAllModelSummaries",
"starts",
"watching",
"the",
"summary",
"updates",
"from",
"the",
"cache",
"."
] | [
"'''\n WatchAllModelSummaries starts watching the summary updates from the cache.\n This method is superuser access only, and watches all models in the\n controller.\n\n\n Returns -> SummaryWatcherID\n '''",
"# map input types to rpc msg"
] | [
{
"param": "self",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
}
],
"outlier_params": [],
"others": []
} |
240cdaeaf76bddaf9677917b434bec7cd79baa10 | sed-i/python-libjuju | juju/client/_client9.py | [
"Apache-2.0"
] | Python | WatchAllModels | <not_specific> | async def WatchAllModels(self):
'''
WatchAllModels starts watching events for all models in the
controller. The returned AllWatcherId should be used with Next on the
AllModelWatcher endpoint to receive deltas.
Returns -> AllWatcherId
'''
# map input types to rp... |
WatchAllModels starts watching events for all models in the
controller. The returned AllWatcherId should be used with Next on the
AllModelWatcher endpoint to receive deltas.
Returns -> AllWatcherId
| WatchAllModels starts watching events for all models in the
controller. The returned AllWatcherId should be used with Next on the
AllModelWatcher endpoint to receive deltas.
| [
"WatchAllModels",
"starts",
"watching",
"events",
"for",
"all",
"models",
"in",
"the",
"controller",
".",
"The",
"returned",
"AllWatcherId",
"should",
"be",
"used",
"with",
"Next",
"on",
"the",
"AllModelWatcher",
"endpoint",
"to",
"receive",
"deltas",
"."
] | async def WatchAllModels(self):
_params = dict()
msg = dict(type='Controller',
request='WatchAllModels',
version=9,
params=_params)
reply = await self.rpc(msg)
return reply | [
"async",
"def",
"WatchAllModels",
"(",
"self",
")",
":",
"_params",
"=",
"dict",
"(",
")",
"msg",
"=",
"dict",
"(",
"type",
"=",
"'Controller'",
",",
"request",
"=",
"'WatchAllModels'",
",",
"version",
"=",
"9",
",",
"params",
"=",
"_params",
")",
"rep... | WatchAllModels starts watching events for all models in the
controller. | [
"WatchAllModels",
"starts",
"watching",
"events",
"for",
"all",
"models",
"in",
"the",
"controller",
"."
] | [
"'''\n WatchAllModels starts watching events for all models in the\n controller. The returned AllWatcherId should be used with Next on the\n AllModelWatcher endpoint to receive deltas.\n\n\n Returns -> AllWatcherId\n '''",
"# map input types to rpc msg"
] | [
{
"param": "self",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
}
],
"outlier_params": [],
"others": []
} |
240cdaeaf76bddaf9677917b434bec7cd79baa10 | sed-i/python-libjuju | juju/client/_client9.py | [
"Apache-2.0"
] | Python | WatchCloudSpecsChanges | <not_specific> | async def WatchCloudSpecsChanges(self, entities=None):
'''
WatchCloudSpecsChanges returns a watcher for cloud spec changes.
entities : typing.Sequence[~Entity]
Returns -> NotifyWatchResults
'''
if entities is not None and not isinstance(entities, (bytes, str, list)):
... |
WatchCloudSpecsChanges returns a watcher for cloud spec changes.
entities : typing.Sequence[~Entity]
Returns -> NotifyWatchResults
| WatchCloudSpecsChanges returns a watcher for cloud spec changes.
entities : typing.Sequence[~Entity]
Returns -> NotifyWatchResults | [
"WatchCloudSpecsChanges",
"returns",
"a",
"watcher",
"for",
"cloud",
"spec",
"changes",
".",
"entities",
":",
"typing",
".",
"Sequence",
"[",
"~Entity",
"]",
"Returns",
"-",
">",
"NotifyWatchResults"
] | async def WatchCloudSpecsChanges(self, entities=None):
if entities is not None and not isinstance(entities, (bytes, str, list)):
raise Exception("Expected entities to be a Sequence, received: {}".format(type(entities)))
_params = dict()
msg = dict(type='Controller',
... | [
"async",
"def",
"WatchCloudSpecsChanges",
"(",
"self",
",",
"entities",
"=",
"None",
")",
":",
"if",
"entities",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"entities",
",",
"(",
"bytes",
",",
"str",
",",
"list",
")",
")",
":",
"raise",
"Exce... | WatchCloudSpecsChanges returns a watcher for cloud spec changes. | [
"WatchCloudSpecsChanges",
"returns",
"a",
"watcher",
"for",
"cloud",
"spec",
"changes",
"."
] | [
"'''\n WatchCloudSpecsChanges returns a watcher for cloud spec changes.\n\n entities : typing.Sequence[~Entity]\n Returns -> NotifyWatchResults\n '''",
"# map input types to rpc msg"
] | [
{
"param": "self",
"type": null
},
{
"param": "entities",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
},
{
"identifier": "entities",
"type": null,
"docstring": null,
"docstring_tokens... |
240cdaeaf76bddaf9677917b434bec7cd79baa10 | sed-i/python-libjuju | juju/client/_client9.py | [
"Apache-2.0"
] | Python | WatchModelSummaries | <not_specific> | async def WatchModelSummaries(self):
'''
WatchModelSummaries starts watching the summary updates from the cache.
Only models that the user has access to are returned.
Returns -> SummaryWatcherID
'''
# map input types to rpc msg
_params = dict()
msg = di... |
WatchModelSummaries starts watching the summary updates from the cache.
Only models that the user has access to are returned.
Returns -> SummaryWatcherID
| WatchModelSummaries starts watching the summary updates from the cache.
Only models that the user has access to are returned.
| [
"WatchModelSummaries",
"starts",
"watching",
"the",
"summary",
"updates",
"from",
"the",
"cache",
".",
"Only",
"models",
"that",
"the",
"user",
"has",
"access",
"to",
"are",
"returned",
"."
] | async def WatchModelSummaries(self):
_params = dict()
msg = dict(type='Controller',
request='WatchModelSummaries',
version=9,
params=_params)
reply = await self.rpc(msg)
return reply | [
"async",
"def",
"WatchModelSummaries",
"(",
"self",
")",
":",
"_params",
"=",
"dict",
"(",
")",
"msg",
"=",
"dict",
"(",
"type",
"=",
"'Controller'",
",",
"request",
"=",
"'WatchModelSummaries'",
",",
"version",
"=",
"9",
",",
"params",
"=",
"_params",
"... | WatchModelSummaries starts watching the summary updates from the cache. | [
"WatchModelSummaries",
"starts",
"watching",
"the",
"summary",
"updates",
"from",
"the",
"cache",
"."
] | [
"'''\n WatchModelSummaries starts watching the summary updates from the cache.\n Only models that the user has access to are returned.\n\n\n Returns -> SummaryWatcherID\n '''",
"# map input types to rpc msg"
] | [
{
"param": "self",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
}
],
"outlier_params": [],
"others": []
} |
240cdaeaf76bddaf9677917b434bec7cd79baa10 | sed-i/python-libjuju | juju/client/_client9.py | [
"Apache-2.0"
] | Python | ChangeModelCredential | <not_specific> | async def ChangeModelCredential(self, model_credentials=None):
'''
ChangeModelCredential changes cloud credential reference for models.
These new cloud credentials must already exist on the controller.
model_credentials : typing.Sequence[~ChangeModelCredentialParams]
Returns -> ... |
ChangeModelCredential changes cloud credential reference for models.
These new cloud credentials must already exist on the controller.
model_credentials : typing.Sequence[~ChangeModelCredentialParams]
Returns -> ErrorResults
| ChangeModelCredential changes cloud credential reference for models.
These new cloud credentials must already exist on the controller.
| [
"ChangeModelCredential",
"changes",
"cloud",
"credential",
"reference",
"for",
"models",
".",
"These",
"new",
"cloud",
"credentials",
"must",
"already",
"exist",
"on",
"the",
"controller",
"."
] | async def ChangeModelCredential(self, model_credentials=None):
if model_credentials is not None and not isinstance(model_credentials, (bytes, str, list)):
raise Exception("Expected model_credentials to be a Sequence, received: {}".format(type(model_credentials)))
_params = dict()
msg... | [
"async",
"def",
"ChangeModelCredential",
"(",
"self",
",",
"model_credentials",
"=",
"None",
")",
":",
"if",
"model_credentials",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"model_credentials",
",",
"(",
"bytes",
",",
"str",
",",
"list",
")",
")",... | ChangeModelCredential changes cloud credential reference for models. | [
"ChangeModelCredential",
"changes",
"cloud",
"credential",
"reference",
"for",
"models",
"."
] | [
"'''\n ChangeModelCredential changes cloud credential reference for models.\n These new cloud credentials must already exist on the controller.\n\n model_credentials : typing.Sequence[~ChangeModelCredentialParams]\n Returns -> ErrorResults\n '''",
"# map input types to rpc msg"
... | [
{
"param": "self",
"type": null
},
{
"param": "model_credentials",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
},
{
"identifier": "model_credentials",
"type": null,
"docstring": null,
"docstri... |
240cdaeaf76bddaf9677917b434bec7cd79baa10 | sed-i/python-libjuju | juju/client/_client9.py | [
"Apache-2.0"
] | Python | CreateModel | <not_specific> | async def CreateModel(self, cloud_tag=None, config=None, credential=None, name=None, owner_tag=None, region=None):
'''
CreateModel creates a new model using the account and
model config specified in the args.
cloud_tag : str
config : typing.Mapping[str, typing.Any]
crede... |
CreateModel creates a new model using the account and
model config specified in the args.
cloud_tag : str
config : typing.Mapping[str, typing.Any]
credential : str
name : str
owner_tag : str
region : str
Returns -> ModelInfo
| CreateModel creates a new model using the account and
model config specified in the args.
| [
"CreateModel",
"creates",
"a",
"new",
"model",
"using",
"the",
"account",
"and",
"model",
"config",
"specified",
"in",
"the",
"args",
"."
] | async def CreateModel(self, cloud_tag=None, config=None, credential=None, name=None, owner_tag=None, region=None):
if cloud_tag is not None and not isinstance(cloud_tag, (bytes, str)):
raise Exception("Expected cloud_tag to be a str, received: {}".format(type(cloud_tag)))
if config is not No... | [
"async",
"def",
"CreateModel",
"(",
"self",
",",
"cloud_tag",
"=",
"None",
",",
"config",
"=",
"None",
",",
"credential",
"=",
"None",
",",
"name",
"=",
"None",
",",
"owner_tag",
"=",
"None",
",",
"region",
"=",
"None",
")",
":",
"if",
"cloud_tag",
"... | CreateModel creates a new model using the account and
model config specified in the args. | [
"CreateModel",
"creates",
"a",
"new",
"model",
"using",
"the",
"account",
"and",
"model",
"config",
"specified",
"in",
"the",
"args",
"."
] | [
"'''\n CreateModel creates a new model using the account and\n model config specified in the args.\n\n cloud_tag : str\n config : typing.Mapping[str, typing.Any]\n credential : str\n name : str\n owner_tag : str\n region : str\n Returns -> ModelInfo\n ... | [
{
"param": "self",
"type": null
},
{
"param": "cloud_tag",
"type": null
},
{
"param": "config",
"type": null
},
{
"param": "credential",
"type": null
},
{
"param": "name",
"type": null
},
{
"param": "owner_tag",
"type": null
},
{
"param": "... | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
},
{
"identifier": "cloud_tag",
"type": null,
"docstring": null,
"docstring_token... |
240cdaeaf76bddaf9677917b434bec7cd79baa10 | sed-i/python-libjuju | juju/client/_client9.py | [
"Apache-2.0"
] | Python | DestroyModels | <not_specific> | async def DestroyModels(self, models=None):
'''
DestroyModels will try to destroy the specified models.
If there is a block on destruction, this method will return an error.
From ModelManager v7 onwards, DestroyModels gains 'force' and 'max-wait' parameters.
models : typing.Sequ... |
DestroyModels will try to destroy the specified models.
If there is a block on destruction, this method will return an error.
From ModelManager v7 onwards, DestroyModels gains 'force' and 'max-wait' parameters.
models : typing.Sequence[~DestroyModelParams]
Returns -> ErrorResul... | DestroyModels will try to destroy the specified models.
If there is a block on destruction, this method will return an error.
From ModelManager v7 onwards, DestroyModels gains 'force' and 'max-wait' parameters.
| [
"DestroyModels",
"will",
"try",
"to",
"destroy",
"the",
"specified",
"models",
".",
"If",
"there",
"is",
"a",
"block",
"on",
"destruction",
"this",
"method",
"will",
"return",
"an",
"error",
".",
"From",
"ModelManager",
"v7",
"onwards",
"DestroyModels",
"gains... | async def DestroyModels(self, models=None):
if models is not None and not isinstance(models, (bytes, str, list)):
raise Exception("Expected models to be a Sequence, received: {}".format(type(models)))
_params = dict()
msg = dict(type='ModelManager',
request='Destro... | [
"async",
"def",
"DestroyModels",
"(",
"self",
",",
"models",
"=",
"None",
")",
":",
"if",
"models",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"models",
",",
"(",
"bytes",
",",
"str",
",",
"list",
")",
")",
":",
"raise",
"Exception",
"(",
... | DestroyModels will try to destroy the specified models. | [
"DestroyModels",
"will",
"try",
"to",
"destroy",
"the",
"specified",
"models",
"."
] | [
"'''\n DestroyModels will try to destroy the specified models.\n If there is a block on destruction, this method will return an error.\n From ModelManager v7 onwards, DestroyModels gains 'force' and 'max-wait' parameters.\n\n models : typing.Sequence[~DestroyModelParams]\n Returns... | [
{
"param": "self",
"type": null
},
{
"param": "models",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
},
{
"identifier": "models",
"type": null,
"docstring": null,
"docstring_tokens":... |
240cdaeaf76bddaf9677917b434bec7cd79baa10 | sed-i/python-libjuju | juju/client/_client9.py | [
"Apache-2.0"
] | Python | DumpModels | <not_specific> | async def DumpModels(self, entities=None, simplified=None):
'''
DumpModels will export the models into the database agnostic
representation. The user needs to either be a controller admin, or have
admin privileges on the model itself.
entities : typing.Sequence[~Entity]
... |
DumpModels will export the models into the database agnostic
representation. The user needs to either be a controller admin, or have
admin privileges on the model itself.
entities : typing.Sequence[~Entity]
simplified : bool
Returns -> StringResults
| DumpModels will export the models into the database agnostic
representation. The user needs to either be a controller admin, or have
admin privileges on the model itself.
entities : typing.Sequence[~Entity]
simplified : bool
Returns -> StringResults | [
"DumpModels",
"will",
"export",
"the",
"models",
"into",
"the",
"database",
"agnostic",
"representation",
".",
"The",
"user",
"needs",
"to",
"either",
"be",
"a",
"controller",
"admin",
"or",
"have",
"admin",
"privileges",
"on",
"the",
"model",
"itself",
".",
... | async def DumpModels(self, entities=None, simplified=None):
if entities is not None and not isinstance(entities, (bytes, str, list)):
raise Exception("Expected entities to be a Sequence, received: {}".format(type(entities)))
if simplified is not None and not isinstance(simplified, bool):
... | [
"async",
"def",
"DumpModels",
"(",
"self",
",",
"entities",
"=",
"None",
",",
"simplified",
"=",
"None",
")",
":",
"if",
"entities",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"entities",
",",
"(",
"bytes",
",",
"str",
",",
"list",
")",
")... | DumpModels will export the models into the database agnostic
representation. | [
"DumpModels",
"will",
"export",
"the",
"models",
"into",
"the",
"database",
"agnostic",
"representation",
"."
] | [
"'''\n DumpModels will export the models into the database agnostic\n representation. The user needs to either be a controller admin, or have\n admin privileges on the model itself.\n\n entities : typing.Sequence[~Entity]\n simplified : bool\n Returns -> StringResults\n ... | [
{
"param": "self",
"type": null
},
{
"param": "entities",
"type": null
},
{
"param": "simplified",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
},
{
"identifier": "entities",
"type": null,
"docstring": null,
"docstring_tokens... |
240cdaeaf76bddaf9677917b434bec7cd79baa10 | sed-i/python-libjuju | juju/client/_client9.py | [
"Apache-2.0"
] | Python | DumpModelsDB | <not_specific> | async def DumpModelsDB(self, entities=None):
'''
DumpModelsDB will gather all documents from all model collections
for the specified model. The map result contains a map of collection
names to lists of documents represented as maps.
entities : typing.Sequence[~Entity]
Re... |
DumpModelsDB will gather all documents from all model collections
for the specified model. The map result contains a map of collection
names to lists of documents represented as maps.
entities : typing.Sequence[~Entity]
Returns -> MapResults
| DumpModelsDB will gather all documents from all model collections
for the specified model. The map result contains a map of collection
names to lists of documents represented as maps.
entities : typing.Sequence[~Entity]
Returns -> MapResults | [
"DumpModelsDB",
"will",
"gather",
"all",
"documents",
"from",
"all",
"model",
"collections",
"for",
"the",
"specified",
"model",
".",
"The",
"map",
"result",
"contains",
"a",
"map",
"of",
"collection",
"names",
"to",
"lists",
"of",
"documents",
"represented",
... | async def DumpModelsDB(self, entities=None):
if entities is not None and not isinstance(entities, (bytes, str, list)):
raise Exception("Expected entities to be a Sequence, received: {}".format(type(entities)))
_params = dict()
msg = dict(type='ModelManager',
reques... | [
"async",
"def",
"DumpModelsDB",
"(",
"self",
",",
"entities",
"=",
"None",
")",
":",
"if",
"entities",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"entities",
",",
"(",
"bytes",
",",
"str",
",",
"list",
")",
")",
":",
"raise",
"Exception",
... | DumpModelsDB will gather all documents from all model collections
for the specified model. | [
"DumpModelsDB",
"will",
"gather",
"all",
"documents",
"from",
"all",
"model",
"collections",
"for",
"the",
"specified",
"model",
"."
] | [
"'''\n DumpModelsDB will gather all documents from all model collections\n for the specified model. The map result contains a map of collection\n names to lists of documents represented as maps.\n\n entities : typing.Sequence[~Entity]\n Returns -> MapResults\n '''",
"# ma... | [
{
"param": "self",
"type": null
},
{
"param": "entities",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
},
{
"identifier": "entities",
"type": null,
"docstring": null,
"docstring_tokens... |
240cdaeaf76bddaf9677917b434bec7cd79baa10 | sed-i/python-libjuju | juju/client/_client9.py | [
"Apache-2.0"
] | Python | ListModelSummaries | <not_specific> | async def ListModelSummaries(self, all_=None, user_tag=None):
'''
ListModelSummaries returns models that the specified user
has access to in the current server. Controller admins (superuser)
can list models for any user. Other users
can only ask about their own models.
... |
ListModelSummaries returns models that the specified user
has access to in the current server. Controller admins (superuser)
can list models for any user. Other users
can only ask about their own models.
all_ : bool
user_tag : str
Returns -> ModelSummaryResult... | ListModelSummaries returns models that the specified user
has access to in the current server. Controller admins (superuser)
can list models for any user. Other users
can only ask about their own models.
all_ : bool
user_tag : str
Returns -> ModelSummaryResults | [
"ListModelSummaries",
"returns",
"models",
"that",
"the",
"specified",
"user",
"has",
"access",
"to",
"in",
"the",
"current",
"server",
".",
"Controller",
"admins",
"(",
"superuser",
")",
"can",
"list",
"models",
"for",
"any",
"user",
".",
"Other",
"users",
... | async def ListModelSummaries(self, all_=None, user_tag=None):
if all_ is not None and not isinstance(all_, bool):
raise Exception("Expected all_ to be a bool, received: {}".format(type(all_)))
if user_tag is not None and not isinstance(user_tag, (bytes, str)):
raise Exception("Ex... | [
"async",
"def",
"ListModelSummaries",
"(",
"self",
",",
"all_",
"=",
"None",
",",
"user_tag",
"=",
"None",
")",
":",
"if",
"all_",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"all_",
",",
"bool",
")",
":",
"raise",
"Exception",
"(",
"\"Expect... | ListModelSummaries returns models that the specified user
has access to in the current server. | [
"ListModelSummaries",
"returns",
"models",
"that",
"the",
"specified",
"user",
"has",
"access",
"to",
"in",
"the",
"current",
"server",
"."
] | [
"'''\n ListModelSummaries returns models that the specified user\n has access to in the current server. Controller admins (superuser)\n can list models for any user. Other users\n can only ask about their own models.\n\n all_ : bool\n user_tag : str\n Returns -> Mo... | [
{
"param": "self",
"type": null
},
{
"param": "all_",
"type": null
},
{
"param": "user_tag",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
},
{
"identifier": "all_",
"type": null,
"docstring": null,
"docstring_tokens": [... |
240cdaeaf76bddaf9677917b434bec7cd79baa10 | sed-i/python-libjuju | juju/client/_client9.py | [
"Apache-2.0"
] | Python | ListModels | <not_specific> | async def ListModels(self, tag=None):
'''
ListModels returns the models that the specified user
has access to in the current server. Controller admins (superuser)
can list models for any user. Other users
can only ask about their own models.
tag : str
Returns -... |
ListModels returns the models that the specified user
has access to in the current server. Controller admins (superuser)
can list models for any user. Other users
can only ask about their own models.
tag : str
Returns -> UserModelList
| ListModels returns the models that the specified user
has access to in the current server. Controller admins (superuser)
can list models for any user. Other users
can only ask about their own models.
tag : str
Returns -> UserModelList | [
"ListModels",
"returns",
"the",
"models",
"that",
"the",
"specified",
"user",
"has",
"access",
"to",
"in",
"the",
"current",
"server",
".",
"Controller",
"admins",
"(",
"superuser",
")",
"can",
"list",
"models",
"for",
"any",
"user",
".",
"Other",
"users",
... | async def ListModels(self, tag=None):
if tag is not None and not isinstance(tag, (bytes, str)):
raise Exception("Expected tag to be a str, received: {}".format(type(tag)))
_params = dict()
msg = dict(type='ModelManager',
request='ListModels',
ver... | [
"async",
"def",
"ListModels",
"(",
"self",
",",
"tag",
"=",
"None",
")",
":",
"if",
"tag",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"tag",
",",
"(",
"bytes",
",",
"str",
")",
")",
":",
"raise",
"Exception",
"(",
"\"Expected tag to be a str... | ListModels returns the models that the specified user
has access to in the current server. | [
"ListModels",
"returns",
"the",
"models",
"that",
"the",
"specified",
"user",
"has",
"access",
"to",
"in",
"the",
"current",
"server",
"."
] | [
"'''\n ListModels returns the models that the specified user\n has access to in the current server. Controller admins (superuser)\n can list models for any user. Other users\n can only ask about their own models.\n\n tag : str\n Returns -> UserModelList\n '''",
"... | [
{
"param": "self",
"type": null
},
{
"param": "tag",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
},
{
"identifier": "tag",
"type": null,
"docstring": null,
"docstring_tokens": []... |
240cdaeaf76bddaf9677917b434bec7cd79baa10 | sed-i/python-libjuju | juju/client/_client9.py | [
"Apache-2.0"
] | Python | ModelDefaultsForClouds | <not_specific> | async def ModelDefaultsForClouds(self, entities=None):
'''
ModelDefaultsForClouds returns the default config values for the specified
clouds.
entities : typing.Sequence[~Entity]
Returns -> ModelDefaultsResults
'''
if entities is not None and not isinstance(entiti... |
ModelDefaultsForClouds returns the default config values for the specified
clouds.
entities : typing.Sequence[~Entity]
Returns -> ModelDefaultsResults
| ModelDefaultsForClouds returns the default config values for the specified
clouds.
entities : typing.Sequence[~Entity]
Returns -> ModelDefaultsResults | [
"ModelDefaultsForClouds",
"returns",
"the",
"default",
"config",
"values",
"for",
"the",
"specified",
"clouds",
".",
"entities",
":",
"typing",
".",
"Sequence",
"[",
"~Entity",
"]",
"Returns",
"-",
">",
"ModelDefaultsResults"
] | async def ModelDefaultsForClouds(self, entities=None):
if entities is not None and not isinstance(entities, (bytes, str, list)):
raise Exception("Expected entities to be a Sequence, received: {}".format(type(entities)))
_params = dict()
msg = dict(type='ModelManager',
... | [
"async",
"def",
"ModelDefaultsForClouds",
"(",
"self",
",",
"entities",
"=",
"None",
")",
":",
"if",
"entities",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"entities",
",",
"(",
"bytes",
",",
"str",
",",
"list",
")",
")",
":",
"raise",
"Exce... | ModelDefaultsForClouds returns the default config values for the specified
clouds. | [
"ModelDefaultsForClouds",
"returns",
"the",
"default",
"config",
"values",
"for",
"the",
"specified",
"clouds",
"."
] | [
"'''\n ModelDefaultsForClouds returns the default config values for the specified\n clouds.\n\n entities : typing.Sequence[~Entity]\n Returns -> ModelDefaultsResults\n '''",
"# map input types to rpc msg"
] | [
{
"param": "self",
"type": null
},
{
"param": "entities",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
},
{
"identifier": "entities",
"type": null,
"docstring": null,
"docstring_tokens... |
240cdaeaf76bddaf9677917b434bec7cd79baa10 | sed-i/python-libjuju | juju/client/_client9.py | [
"Apache-2.0"
] | Python | ModelInfo | <not_specific> | async def ModelInfo(self, entities=None):
'''
ModelInfo returns information about the specified models.
entities : typing.Sequence[~Entity]
Returns -> ModelInfoResults
'''
if entities is not None and not isinstance(entities, (bytes, str, list)):
raise Excepti... |
ModelInfo returns information about the specified models.
entities : typing.Sequence[~Entity]
Returns -> ModelInfoResults
| ModelInfo returns information about the specified models.
entities : typing.Sequence[~Entity]
Returns -> ModelInfoResults | [
"ModelInfo",
"returns",
"information",
"about",
"the",
"specified",
"models",
".",
"entities",
":",
"typing",
".",
"Sequence",
"[",
"~Entity",
"]",
"Returns",
"-",
">",
"ModelInfoResults"
] | async def ModelInfo(self, entities=None):
if entities is not None and not isinstance(entities, (bytes, str, list)):
raise Exception("Expected entities to be a Sequence, received: {}".format(type(entities)))
_params = dict()
msg = dict(type='ModelManager',
request='... | [
"async",
"def",
"ModelInfo",
"(",
"self",
",",
"entities",
"=",
"None",
")",
":",
"if",
"entities",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"entities",
",",
"(",
"bytes",
",",
"str",
",",
"list",
")",
")",
":",
"raise",
"Exception",
"("... | ModelInfo returns information about the specified models. | [
"ModelInfo",
"returns",
"information",
"about",
"the",
"specified",
"models",
"."
] | [
"'''\n ModelInfo returns information about the specified models.\n\n entities : typing.Sequence[~Entity]\n Returns -> ModelInfoResults\n '''",
"# map input types to rpc msg"
] | [
{
"param": "self",
"type": null
},
{
"param": "entities",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
},
{
"identifier": "entities",
"type": null,
"docstring": null,
"docstring_tokens... |
240cdaeaf76bddaf9677917b434bec7cd79baa10 | sed-i/python-libjuju | juju/client/_client9.py | [
"Apache-2.0"
] | Python | ModifyModelAccess | <not_specific> | async def ModifyModelAccess(self, changes=None):
'''
ModifyModelAccess changes the model access granted to users.
changes : typing.Sequence[~ModifyModelAccess]
Returns -> ErrorResults
'''
if changes is not None and not isinstance(changes, (bytes, str, list)):
... |
ModifyModelAccess changes the model access granted to users.
changes : typing.Sequence[~ModifyModelAccess]
Returns -> ErrorResults
| ModifyModelAccess changes the model access granted to users. | [
"ModifyModelAccess",
"changes",
"the",
"model",
"access",
"granted",
"to",
"users",
"."
] | async def ModifyModelAccess(self, changes=None):
if changes is not None and not isinstance(changes, (bytes, str, list)):
raise Exception("Expected changes to be a Sequence, received: {}".format(type(changes)))
_params = dict()
msg = dict(type='ModelManager',
reques... | [
"async",
"def",
"ModifyModelAccess",
"(",
"self",
",",
"changes",
"=",
"None",
")",
":",
"if",
"changes",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"changes",
",",
"(",
"bytes",
",",
"str",
",",
"list",
")",
")",
":",
"raise",
"Exception",
... | ModifyModelAccess changes the model access granted to users. | [
"ModifyModelAccess",
"changes",
"the",
"model",
"access",
"granted",
"to",
"users",
"."
] | [
"'''\n ModifyModelAccess changes the model access granted to users.\n\n changes : typing.Sequence[~ModifyModelAccess]\n Returns -> ErrorResults\n '''",
"# map input types to rpc msg"
] | [
{
"param": "self",
"type": null
},
{
"param": "changes",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
},
{
"identifier": "changes",
"type": null,
"docstring": null,
"docstring_tokens"... |
240cdaeaf76bddaf9677917b434bec7cd79baa10 | sed-i/python-libjuju | juju/client/_client9.py | [
"Apache-2.0"
] | Python | SetModelDefaults | <not_specific> | async def SetModelDefaults(self, config=None):
'''
SetModelDefaults writes new values for the specified default model settings.
config : typing.Sequence[~ModelDefaultValues]
Returns -> ErrorResults
'''
if config is not None and not isinstance(config, (bytes, str, list)):... |
SetModelDefaults writes new values for the specified default model settings.
config : typing.Sequence[~ModelDefaultValues]
Returns -> ErrorResults
| SetModelDefaults writes new values for the specified default model settings. | [
"SetModelDefaults",
"writes",
"new",
"values",
"for",
"the",
"specified",
"default",
"model",
"settings",
"."
] | async def SetModelDefaults(self, config=None):
if config is not None and not isinstance(config, (bytes, str, list)):
raise Exception("Expected config to be a Sequence, received: {}".format(type(config)))
_params = dict()
msg = dict(type='ModelManager',
request='Set... | [
"async",
"def",
"SetModelDefaults",
"(",
"self",
",",
"config",
"=",
"None",
")",
":",
"if",
"config",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"config",
",",
"(",
"bytes",
",",
"str",
",",
"list",
")",
")",
":",
"raise",
"Exception",
"(... | SetModelDefaults writes new values for the specified default model settings. | [
"SetModelDefaults",
"writes",
"new",
"values",
"for",
"the",
"specified",
"default",
"model",
"settings",
"."
] | [
"'''\n SetModelDefaults writes new values for the specified default model settings.\n\n config : typing.Sequence[~ModelDefaultValues]\n Returns -> ErrorResults\n '''",
"# map input types to rpc msg"
] | [
{
"param": "self",
"type": null
},
{
"param": "config",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
},
{
"identifier": "config",
"type": null,
"docstring": null,
"docstring_tokens":... |
240cdaeaf76bddaf9677917b434bec7cd79baa10 | sed-i/python-libjuju | juju/client/_client9.py | [
"Apache-2.0"
] | Python | UnsetModelDefaults | <not_specific> | async def UnsetModelDefaults(self, keys=None):
'''
UnsetModelDefaults removes the specified default model settings.
keys : typing.Sequence[~ModelUnsetKeys]
Returns -> ErrorResults
'''
if keys is not None and not isinstance(keys, (bytes, str, list)):
raise Exc... |
UnsetModelDefaults removes the specified default model settings.
keys : typing.Sequence[~ModelUnsetKeys]
Returns -> ErrorResults
| UnsetModelDefaults removes the specified default model settings. | [
"UnsetModelDefaults",
"removes",
"the",
"specified",
"default",
"model",
"settings",
"."
] | async def UnsetModelDefaults(self, keys=None):
if keys is not None and not isinstance(keys, (bytes, str, list)):
raise Exception("Expected keys to be a Sequence, received: {}".format(type(keys)))
_params = dict()
msg = dict(type='ModelManager',
request='UnsetModelD... | [
"async",
"def",
"UnsetModelDefaults",
"(",
"self",
",",
"keys",
"=",
"None",
")",
":",
"if",
"keys",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"keys",
",",
"(",
"bytes",
",",
"str",
",",
"list",
")",
")",
":",
"raise",
"Exception",
"(",
... | UnsetModelDefaults removes the specified default model settings. | [
"UnsetModelDefaults",
"removes",
"the",
"specified",
"default",
"model",
"settings",
"."
] | [
"'''\n UnsetModelDefaults removes the specified default model settings.\n\n keys : typing.Sequence[~ModelUnsetKeys]\n Returns -> ErrorResults\n '''",
"# map input types to rpc msg"
] | [
{
"param": "self",
"type": null
},
{
"param": "keys",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
},
{
"identifier": "keys",
"type": null,
"docstring": null,
"docstring_tokens": [... |
240cdaeaf76bddaf9677917b434bec7cd79baa10 | sed-i/python-libjuju | juju/client/_client9.py | [
"Apache-2.0"
] | Python | ValidateModelUpgrades | <not_specific> | async def ValidateModelUpgrades(self, force=None, model=None):
'''
ValidateModelUpgrades validates if a model is allowed to perform an upgrade.
Examples of why you would want to block a model upgrade, would be situations
like upgrade-series. If performing an upgrade-series we don't know ... |
ValidateModelUpgrades validates if a model is allowed to perform an upgrade.
Examples of why you would want to block a model upgrade, would be situations
like upgrade-series. If performing an upgrade-series we don't know the
current status of the machine, so performing an upgrade-model ... | ValidateModelUpgrades validates if a model is allowed to perform an upgrade.
Examples of why you would want to block a model upgrade, would be situations
like upgrade-series. If performing an upgrade-series we don't know the
current status of the machine, so performing an upgrade-model can lead to
bad unintended errors... | [
"ValidateModelUpgrades",
"validates",
"if",
"a",
"model",
"is",
"allowed",
"to",
"perform",
"an",
"upgrade",
".",
"Examples",
"of",
"why",
"you",
"would",
"want",
"to",
"block",
"a",
"model",
"upgrade",
"would",
"be",
"situations",
"like",
"upgrade",
"-",
"s... | async def ValidateModelUpgrades(self, force=None, model=None):
if force is not None and not isinstance(force, bool):
raise Exception("Expected force to be a bool, received: {}".format(type(force)))
if model is not None and not isinstance(model, (bytes, str, list)):
raise Exceptio... | [
"async",
"def",
"ValidateModelUpgrades",
"(",
"self",
",",
"force",
"=",
"None",
",",
"model",
"=",
"None",
")",
":",
"if",
"force",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"force",
",",
"bool",
")",
":",
"raise",
"Exception",
"(",
"\"Exp... | ValidateModelUpgrades validates if a model is allowed to perform an upgrade. | [
"ValidateModelUpgrades",
"validates",
"if",
"a",
"model",
"is",
"allowed",
"to",
"perform",
"an",
"upgrade",
"."
] | [
"'''\n ValidateModelUpgrades validates if a model is allowed to perform an upgrade.\n Examples of why you would want to block a model upgrade, would be situations\n like upgrade-series. If performing an upgrade-series we don't know the\n current status of the machine, so performing an up... | [
{
"param": "self",
"type": null
},
{
"param": "force",
"type": null
},
{
"param": "model",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
},
{
"identifier": "force",
"type": null,
"docstring": null,
"docstring_tokens": ... |
b817cb84b89d27dceaa9c1820774462174dc3f5c | sed-i/python-libjuju | juju/client/_client5.py | [
"Apache-2.0"
] | Python | UpdateStatus | <not_specific> | async def UpdateStatus(self, entities=None):
'''
UpdateStatus updates the status data of each given entity.
TODO(fwereade): WTF. This method exists *only* for the convenience of the
*client* API -- and is itself completely broken -- but we still expose it
in every facade with a S... |
UpdateStatus updates the status data of each given entity.
TODO(fwereade): WTF. This method exists *only* for the convenience of the
*client* API -- and is itself completely broken -- but we still expose it
in every facade with a StatusSetter? FFS.
entities : typing.Sequence[~E... | UpdateStatus updates the status data of each given entity.
| [
"UpdateStatus",
"updates",
"the",
"status",
"data",
"of",
"each",
"given",
"entity",
"."
] | async def UpdateStatus(self, entities=None):
if entities is not None and not isinstance(entities, (bytes, str, list)):
raise Exception("Expected entities to be a Sequence, received: {}".format(type(entities)))
_params = dict()
msg = dict(type='Machiner',
request='U... | [
"async",
"def",
"UpdateStatus",
"(",
"self",
",",
"entities",
"=",
"None",
")",
":",
"if",
"entities",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"entities",
",",
"(",
"bytes",
",",
"str",
",",
"list",
")",
")",
":",
"raise",
"Exception",
... | UpdateStatus updates the status data of each given entity. | [
"UpdateStatus",
"updates",
"the",
"status",
"data",
"of",
"each",
"given",
"entity",
"."
] | [
"'''\n UpdateStatus updates the status data of each given entity.\n TODO(fwereade): WTF. This method exists *only* for the convenience of the\n *client* API -- and is itself completely broken -- but we still expose it\n in every facade with a StatusSetter? FFS.\n\n entities : typi... | [
{
"param": "self",
"type": null
},
{
"param": "entities",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
},
{
"identifier": "entities",
"type": null,
"docstring": null,
"docstring_tokens... |
201cf4683d7f5f6f3b76fe38fbb37c25a7e14749 | sed-i/python-libjuju | juju/client/_client1.py | [
"Apache-2.0"
] | Python | ModelConfig | <not_specific> | async def ModelConfig(self):
'''
ModelConfig returns the current model's configuration.
Returns -> ModelConfigResult
'''
# map input types to rpc msg
_params = dict()
msg = dict(type='ActionPruner',
request='ModelConfig',
v... |
ModelConfig returns the current model's configuration.
Returns -> ModelConfigResult
| ModelConfig returns the current model's configuration. | [
"ModelConfig",
"returns",
"the",
"current",
"model",
"'",
"s",
"configuration",
"."
] | async def ModelConfig(self):
_params = dict()
msg = dict(type='ActionPruner',
request='ModelConfig',
version=1,
params=_params)
reply = await self.rpc(msg)
return reply | [
"async",
"def",
"ModelConfig",
"(",
"self",
")",
":",
"_params",
"=",
"dict",
"(",
")",
"msg",
"=",
"dict",
"(",
"type",
"=",
"'ActionPruner'",
",",
"request",
"=",
"'ModelConfig'",
",",
"version",
"=",
"1",
",",
"params",
"=",
"_params",
")",
"reply",... | ModelConfig returns the current model's configuration. | [
"ModelConfig",
"returns",
"the",
"current",
"model",
"'",
"s",
"configuration",
"."
] | [
"'''\n ModelConfig returns the current model's configuration.\n\n\n Returns -> ModelConfigResult\n '''",
"# map input types to rpc msg"
] | [
{
"param": "self",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
}
],
"outlier_params": [],
"others": []
} |
201cf4683d7f5f6f3b76fe38fbb37c25a7e14749 | sed-i/python-libjuju | juju/client/_client1.py | [
"Apache-2.0"
] | Python | WatchForModelConfigChanges | <not_specific> | async def WatchForModelConfigChanges(self):
'''
WatchForModelConfigChanges returns a NotifyWatcher that observes
changes to the model configuration.
Note that although the NotifyWatchResult contains an Error field,
it's not used because we are only returning a single watcher,
... |
WatchForModelConfigChanges returns a NotifyWatcher that observes
changes to the model configuration.
Note that although the NotifyWatchResult contains an Error field,
it's not used because we are only returning a single watcher,
so we use the regular error return.
Retu... | WatchForModelConfigChanges returns a NotifyWatcher that observes
changes to the model configuration.
Note that although the NotifyWatchResult contains an Error field,
it's not used because we are only returning a single watcher,
so we use the regular error return.
| [
"WatchForModelConfigChanges",
"returns",
"a",
"NotifyWatcher",
"that",
"observes",
"changes",
"to",
"the",
"model",
"configuration",
".",
"Note",
"that",
"although",
"the",
"NotifyWatchResult",
"contains",
"an",
"Error",
"field",
"it",
"'",
"s",
"not",
"used",
"be... | async def WatchForModelConfigChanges(self):
_params = dict()
msg = dict(type='ActionPruner',
request='WatchForModelConfigChanges',
version=1,
params=_params)
reply = await self.rpc(msg)
return reply | [
"async",
"def",
"WatchForModelConfigChanges",
"(",
"self",
")",
":",
"_params",
"=",
"dict",
"(",
")",
"msg",
"=",
"dict",
"(",
"type",
"=",
"'ActionPruner'",
",",
"request",
"=",
"'WatchForModelConfigChanges'",
",",
"version",
"=",
"1",
",",
"params",
"=",
... | WatchForModelConfigChanges returns a NotifyWatcher that observes
changes to the model configuration. | [
"WatchForModelConfigChanges",
"returns",
"a",
"NotifyWatcher",
"that",
"observes",
"changes",
"to",
"the",
"model",
"configuration",
"."
] | [
"'''\n WatchForModelConfigChanges returns a NotifyWatcher that observes\n changes to the model configuration.\n Note that although the NotifyWatchResult contains an Error field,\n it's not used because we are only returning a single watcher,\n so we use the regular error return.\n... | [
{
"param": "self",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
}
],
"outlier_params": [],
"others": []
} |
201cf4683d7f5f6f3b76fe38fbb37c25a7e14749 | sed-i/python-libjuju | juju/client/_client1.py | [
"Apache-2.0"
] | Python | UpdateToolsAvailable | <not_specific> | async def UpdateToolsAvailable(self):
'''
UpdateToolsAvailable invokes a lookup and further update in environ
for new patches of the current tool versions.
Returns -> None
'''
# map input types to rpc msg
_params = dict()
msg = dict(type='AgentTools',
... |
UpdateToolsAvailable invokes a lookup and further update in environ
for new patches of the current tool versions.
Returns -> None
| UpdateToolsAvailable invokes a lookup and further update in environ
for new patches of the current tool versions.
> None | [
"UpdateToolsAvailable",
"invokes",
"a",
"lookup",
"and",
"further",
"update",
"in",
"environ",
"for",
"new",
"patches",
"of",
"the",
"current",
"tool",
"versions",
".",
">",
"None"
] | async def UpdateToolsAvailable(self):
_params = dict()
msg = dict(type='AgentTools',
request='UpdateToolsAvailable',
version=1,
params=_params)
reply = await self.rpc(msg)
return reply | [
"async",
"def",
"UpdateToolsAvailable",
"(",
"self",
")",
":",
"_params",
"=",
"dict",
"(",
")",
"msg",
"=",
"dict",
"(",
"type",
"=",
"'AgentTools'",
",",
"request",
"=",
"'UpdateToolsAvailable'",
",",
"version",
"=",
"1",
",",
"params",
"=",
"_params",
... | UpdateToolsAvailable invokes a lookup and further update in environ
for new patches of the current tool versions. | [
"UpdateToolsAvailable",
"invokes",
"a",
"lookup",
"and",
"further",
"update",
"in",
"environ",
"for",
"new",
"patches",
"of",
"the",
"current",
"tool",
"versions",
"."
] | [
"'''\n UpdateToolsAvailable invokes a lookup and further update in environ\n for new patches of the current tool versions.\n\n\n Returns -> None\n '''",
"# map input types to rpc msg"
] | [
{
"param": "self",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
}
],
"outlier_params": [],
"others": []
} |
201cf4683d7f5f6f3b76fe38fbb37c25a7e14749 | sed-i/python-libjuju | juju/client/_client1.py | [
"Apache-2.0"
] | Python | Next | <not_specific> | async def Next(self):
'''
Next will return the current state of everything on the first call
and subsequent calls will
Returns -> AllWatcherNextResults
'''
# map input types to rpc msg
_params = dict()
msg = dict(type='AllWatcher',
re... |
Next will return the current state of everything on the first call
and subsequent calls will
Returns -> AllWatcherNextResults
| Next will return the current state of everything on the first call
and subsequent calls will
| [
"Next",
"will",
"return",
"the",
"current",
"state",
"of",
"everything",
"on",
"the",
"first",
"call",
"and",
"subsequent",
"calls",
"will"
] | async def Next(self):
_params = dict()
msg = dict(type='AllWatcher',
request='Next',
version=1,
params=_params)
reply = await self.rpc(msg)
return reply | [
"async",
"def",
"Next",
"(",
"self",
")",
":",
"_params",
"=",
"dict",
"(",
")",
"msg",
"=",
"dict",
"(",
"type",
"=",
"'AllWatcher'",
",",
"request",
"=",
"'Next'",
",",
"version",
"=",
"1",
",",
"params",
"=",
"_params",
")",
"reply",
"=",
"await... | Next will return the current state of everything on the first call
and subsequent calls will | [
"Next",
"will",
"return",
"the",
"current",
"state",
"of",
"everything",
"on",
"the",
"first",
"call",
"and",
"subsequent",
"calls",
"will"
] | [
"'''\n Next will return the current state of everything on the first call\n and subsequent calls will\n\n\n Returns -> AllWatcherNextResults\n '''",
"# map input types to rpc msg"
] | [
{
"param": "self",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
}
],
"outlier_params": [],
"others": []
} |
201cf4683d7f5f6f3b76fe38fbb37c25a7e14749 | sed-i/python-libjuju | juju/client/_client1.py | [
"Apache-2.0"
] | Python | Rescale | <not_specific> | async def Rescale(self, entities=None):
'''
Rescale causes any supplied services to be scaled up to their
minimum size.
entities : typing.Sequence[~Entity]
Returns -> ErrorResults
'''
if entities is not None and not isinstance(entities, (bytes, str, list)):
... |
Rescale causes any supplied services to be scaled up to their
minimum size.
entities : typing.Sequence[~Entity]
Returns -> ErrorResults
| Rescale causes any supplied services to be scaled up to their
minimum size.
entities : typing.Sequence[~Entity]
Returns -> ErrorResults | [
"Rescale",
"causes",
"any",
"supplied",
"services",
"to",
"be",
"scaled",
"up",
"to",
"their",
"minimum",
"size",
".",
"entities",
":",
"typing",
".",
"Sequence",
"[",
"~Entity",
"]",
"Returns",
"-",
">",
"ErrorResults"
] | async def Rescale(self, entities=None):
if entities is not None and not isinstance(entities, (bytes, str, list)):
raise Exception("Expected entities to be a Sequence, received: {}".format(type(entities)))
_params = dict()
msg = dict(type='ApplicationScaler',
reques... | [
"async",
"def",
"Rescale",
"(",
"self",
",",
"entities",
"=",
"None",
")",
":",
"if",
"entities",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"entities",
",",
"(",
"bytes",
",",
"str",
",",
"list",
")",
")",
":",
"raise",
"Exception",
"(",
... | Rescale causes any supplied services to be scaled up to their
minimum size. | [
"Rescale",
"causes",
"any",
"supplied",
"services",
"to",
"be",
"scaled",
"up",
"to",
"their",
"minimum",
"size",
"."
] | [
"'''\n Rescale causes any supplied services to be scaled up to their\n minimum size.\n\n entities : typing.Sequence[~Entity]\n Returns -> ErrorResults\n '''",
"# map input types to rpc msg"
] | [
{
"param": "self",
"type": null
},
{
"param": "entities",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
},
{
"identifier": "entities",
"type": null,
"docstring": null,
"docstring_tokens... |
201cf4683d7f5f6f3b76fe38fbb37c25a7e14749 | sed-i/python-libjuju | juju/client/_client1.py | [
"Apache-2.0"
] | Python | Watch | <not_specific> | async def Watch(self):
'''
Watch returns a watcher that sends the names of services whose
unit count may be below their configured minimum.
Returns -> StringsWatchResult
'''
# map input types to rpc msg
_params = dict()
msg = dict(type='ApplicationScale... |
Watch returns a watcher that sends the names of services whose
unit count may be below their configured minimum.
Returns -> StringsWatchResult
| Watch returns a watcher that sends the names of services whose
unit count may be below their configured minimum.
| [
"Watch",
"returns",
"a",
"watcher",
"that",
"sends",
"the",
"names",
"of",
"services",
"whose",
"unit",
"count",
"may",
"be",
"below",
"their",
"configured",
"minimum",
"."
] | async def Watch(self):
_params = dict()
msg = dict(type='ApplicationScaler',
request='Watch',
version=1,
params=_params)
reply = await self.rpc(msg)
return reply | [
"async",
"def",
"Watch",
"(",
"self",
")",
":",
"_params",
"=",
"dict",
"(",
")",
"msg",
"=",
"dict",
"(",
"type",
"=",
"'ApplicationScaler'",
",",
"request",
"=",
"'Watch'",
",",
"version",
"=",
"1",
",",
"params",
"=",
"_params",
")",
"reply",
"=",... | Watch returns a watcher that sends the names of services whose
unit count may be below their configured minimum. | [
"Watch",
"returns",
"a",
"watcher",
"that",
"sends",
"the",
"names",
"of",
"services",
"whose",
"unit",
"count",
"may",
"be",
"below",
"their",
"configured",
"minimum",
"."
] | [
"'''\n Watch returns a watcher that sends the names of services whose\n unit count may be below their configured minimum.\n\n\n Returns -> StringsWatchResult\n '''",
"# map input types to rpc msg"
] | [
{
"param": "self",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
}
],
"outlier_params": [],
"others": []
} |
201cf4683d7f5f6f3b76fe38fbb37c25a7e14749 | sed-i/python-libjuju | juju/client/_client1.py | [
"Apache-2.0"
] | Python | ControllerAPIInfoForModels | <not_specific> | async def ControllerAPIInfoForModels(self, entities=None):
'''
ControllerAPIInfoForModels returns the controller api connection details for the specified models.
entities : typing.Sequence[~Entity]
Returns -> ControllerAPIInfoResults
'''
if entities is not None and not i... |
ControllerAPIInfoForModels returns the controller api connection details for the specified models.
entities : typing.Sequence[~Entity]
Returns -> ControllerAPIInfoResults
| ControllerAPIInfoForModels returns the controller api connection details for the specified models.
entities : typing.Sequence[~Entity]
Returns -> ControllerAPIInfoResults | [
"ControllerAPIInfoForModels",
"returns",
"the",
"controller",
"api",
"connection",
"details",
"for",
"the",
"specified",
"models",
".",
"entities",
":",
"typing",
".",
"Sequence",
"[",
"~Entity",
"]",
"Returns",
"-",
">",
"ControllerAPIInfoResults"
] | async def ControllerAPIInfoForModels(self, entities=None):
if entities is not None and not isinstance(entities, (bytes, str, list)):
raise Exception("Expected entities to be a Sequence, received: {}".format(type(entities)))
_params = dict()
msg = dict(type='CAASAdmission',
... | [
"async",
"def",
"ControllerAPIInfoForModels",
"(",
"self",
",",
"entities",
"=",
"None",
")",
":",
"if",
"entities",
"is",
"not",
"None",
"and",
"not",
"isinstance",
"(",
"entities",
",",
"(",
"bytes",
",",
"str",
",",
"list",
")",
")",
":",
"raise",
"... | ControllerAPIInfoForModels returns the controller api connection details for the specified models. | [
"ControllerAPIInfoForModels",
"returns",
"the",
"controller",
"api",
"connection",
"details",
"for",
"the",
"specified",
"models",
"."
] | [
"'''\n ControllerAPIInfoForModels returns the controller api connection details for the specified models.\n\n entities : typing.Sequence[~Entity]\n Returns -> ControllerAPIInfoResults\n '''",
"# map input types to rpc msg"
] | [
{
"param": "self",
"type": null
},
{
"param": "entities",
"type": null
}
] | {
"returns": [],
"raises": [],
"params": [
{
"identifier": "self",
"type": null,
"docstring": null,
"docstring_tokens": [],
"default": null,
"is_optional": null
},
{
"identifier": "entities",
"type": null,
"docstring": null,
"docstring_tokens... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.