@canonical/jujulib
Version:
Juju API client
1,918 lines • 382 kB
JSON
[
{
"Name": "Action",
"Description": "",
"Version": 7,
"Schema": {
"type": "object",
"properties": {
"Actions": {
"type": "object",
"properties": {
"Params": {
"$ref": "#/definitions/Entities"
},
"Result": {
"$ref": "#/definitions/ActionResults"
}
}
},
"ApplicationsCharmsActions": {
"type": "object",
"properties": {
"Params": {
"$ref": "#/definitions/Entities"
},
"Result": {
"$ref": "#/definitions/ApplicationsCharmActionsResults"
}
}
},
"Cancel": {
"type": "object",
"properties": {
"Params": {
"$ref": "#/definitions/Entities"
},
"Result": {
"$ref": "#/definitions/ActionResults"
}
}
},
"EnqueueOperation": {
"type": "object",
"properties": {
"Params": {
"$ref": "#/definitions/Actions"
},
"Result": {
"$ref": "#/definitions/EnqueuedActions"
}
}
},
"ListOperations": {
"type": "object",
"properties": {
"Params": {
"$ref": "#/definitions/OperationQueryArgs"
},
"Result": {
"$ref": "#/definitions/OperationResults"
}
}
},
"Operations": {
"type": "object",
"properties": {
"Params": {
"$ref": "#/definitions/Entities"
},
"Result": {
"$ref": "#/definitions/OperationResults"
}
}
},
"Run": {
"type": "object",
"properties": {
"Params": {
"$ref": "#/definitions/RunParams"
},
"Result": {
"$ref": "#/definitions/EnqueuedActions"
}
}
},
"RunOnAllMachines": {
"type": "object",
"properties": {
"Params": {
"$ref": "#/definitions/RunParams"
},
"Result": {
"$ref": "#/definitions/EnqueuedActions"
}
}
},
"WatchActionsProgress": {
"type": "object",
"properties": {
"Params": {
"$ref": "#/definitions/Entities"
},
"Result": {
"$ref": "#/definitions/StringsWatchResults"
}
}
}
},
"definitions": {
"Action": {
"type": "object",
"properties": {
"execution-group": {
"type": "string"
},
"name": {
"type": "string"
},
"parallel": {
"type": "boolean"
},
"parameters": {
"type": "object",
"patternProperties": {
".*": {
"type": "object",
"additionalProperties": true
}
}
},
"receiver": {
"type": "string"
},
"tag": {
"type": "string"
}
},
"additionalProperties": false,
"required": ["tag", "receiver", "name"]
},
"ActionMessage": {
"type": "object",
"properties": {
"message": {
"type": "string"
},
"timestamp": {
"type": "string",
"format": "date-time"
}
},
"additionalProperties": false,
"required": ["timestamp", "message"]
},
"ActionResult": {
"type": "object",
"properties": {
"action": {
"$ref": "#/definitions/Action"
},
"completed": {
"type": "string",
"format": "date-time"
},
"enqueued": {
"type": "string",
"format": "date-time"
},
"error": {
"$ref": "#/definitions/Error"
},
"log": {
"type": "array",
"items": {
"$ref": "#/definitions/ActionMessage"
}
},
"message": {
"type": "string"
},
"output": {
"type": "object",
"patternProperties": {
".*": {
"type": "object",
"additionalProperties": true
}
}
},
"started": {
"type": "string",
"format": "date-time"
},
"status": {
"type": "string"
}
},
"additionalProperties": false
},
"ActionResults": {
"type": "object",
"properties": {
"results": {
"type": "array",
"items": {
"$ref": "#/definitions/ActionResult"
}
}
},
"additionalProperties": false
},
"ActionSpec": {
"type": "object",
"properties": {
"description": {
"type": "string"
},
"params": {
"type": "object",
"patternProperties": {
".*": {
"type": "object",
"additionalProperties": true
}
}
}
},
"additionalProperties": false,
"required": ["description", "params"]
},
"Actions": {
"type": "object",
"properties": {
"actions": {
"type": "array",
"items": {
"$ref": "#/definitions/Action"
}
}
},
"additionalProperties": false
},
"ApplicationCharmActionsResult": {
"type": "object",
"properties": {
"actions": {
"type": "object",
"patternProperties": {
".*": {
"$ref": "#/definitions/ActionSpec"
}
}
},
"application-tag": {
"type": "string"
},
"error": {
"$ref": "#/definitions/Error"
}
},
"additionalProperties": false
},
"ApplicationsCharmActionsResults": {
"type": "object",
"properties": {
"results": {
"type": "array",
"items": {
"$ref": "#/definitions/ApplicationCharmActionsResult"
}
}
},
"additionalProperties": false
},
"EnqueuedActions": {
"type": "object",
"properties": {
"actions": {
"type": "array",
"items": {
"$ref": "#/definitions/ActionResult"
}
},
"operation": {
"type": "string"
}
},
"additionalProperties": false,
"required": ["operation"]
},
"Entities": {
"type": "object",
"properties": {
"entities": {
"type": "array",
"items": {
"$ref": "#/definitions/Entity"
}
}
},
"additionalProperties": false,
"required": ["entities"]
},
"Entity": {
"type": "object",
"properties": {
"tag": {
"type": "string"
}
},
"additionalProperties": false,
"required": ["tag"]
},
"Error": {
"type": "object",
"properties": {
"code": {
"type": "string"
},
"info": {
"type": "object",
"patternProperties": {
".*": {
"type": "object",
"additionalProperties": true
}
}
},
"message": {
"type": "string"
}
},
"additionalProperties": false,
"required": ["message", "code"]
},
"OperationQueryArgs": {
"type": "object",
"properties": {
"actions": {
"type": "array",
"items": {
"type": "string"
}
},
"applications": {
"type": "array",
"items": {
"type": "string"
}
},
"limit": {
"type": "integer"
},
"machines": {
"type": "array",
"items": {
"type": "string"
}
},
"offset": {
"type": "integer"
},
"status": {
"type": "array",
"items": {
"type": "string"
}
},
"units": {
"type": "array",
"items": {
"type": "string"
}
}
},
"additionalProperties": false
},
"OperationResult": {
"type": "object",
"properties": {
"actions": {
"type": "array",
"items": {
"$ref": "#/definitions/ActionResult"
}
},
"completed": {
"type": "string",
"format": "date-time"
},
"enqueued": {
"type": "string",
"format": "date-time"
},
"error": {
"$ref": "#/definitions/Error"
},
"fail": {
"type": "string"
},
"operation": {
"type": "string"
},
"started": {
"type": "string",
"format": "date-time"
},
"status": {
"type": "string"
},
"summary": {
"type": "string"
}
},
"additionalProperties": false,
"required": ["operation", "summary"]
},
"OperationResults": {
"type": "object",
"properties": {
"results": {
"type": "array",
"items": {
"$ref": "#/definitions/OperationResult"
}
},
"truncated": {
"type": "boolean"
}
},
"additionalProperties": false
},
"RunParams": {
"type": "object",
"properties": {
"applications": {
"type": "array",
"items": {
"type": "string"
}
},
"commands": {
"type": "string"
},
"execution-group": {
"type": "string"
},
"machines": {
"type": "array",
"items": {
"type": "string"
}
},
"parallel": {
"type": "boolean"
},
"timeout": {
"type": "integer"
},
"units": {
"type": "array",
"items": {
"type": "string"
}
}
},
"additionalProperties": false,
"required": ["commands", "timeout"]
},
"StringsWatchResult": {
"type": "object",
"properties": {
"changes": {
"type": "array",
"items": {
"type": "string"
}
},
"error": {
"$ref": "#/definitions/Error"
},
"watcher-id": {
"type": "string"
}
},
"additionalProperties": false,
"required": ["watcher-id"]
},
"StringsWatchResults": {
"type": "object",
"properties": {
"results": {
"type": "array",
"items": {
"$ref": "#/definitions/StringsWatchResult"
}
}
},
"additionalProperties": false,
"required": ["results"]
}
}
}
},
{
"Name": "Admin",
"Description": "",
"Version": 3,
"Schema": {
"type": "object",
"properties": {
"Login": {
"type": "object",
"properties": {
"Params": {
"$ref": "#/definitions/LoginRequest"
},
"Result": {
"$ref": "#/definitions/LoginResult"
}
}
},
"RedirectInfo": {
"type": "object",
"properties": {
"Result": {
"$ref": "#/definitions/RedirectInfoResult"
}
}
}
},
"definitions": {
"Address": {
"type": "object",
"properties": {
"cidr": {
"type": "string"
},
"config-type": {
"type": "string"
},
"is-secondary": {
"type": "boolean"
},
"scope": {
"type": "string"
},
"space-id": {
"type": "string"
},
"space-name": {
"type": "string"
},
"type": {
"type": "string"
},
"value": {
"type": "string"
}
},
"additionalProperties": false,
"required": ["value", "type", "scope"]
},
"AuthUserInfo": {
"type": "object",
"properties": {
"controller-access": {
"type": "string"
},
"credentials": {
"type": "string"
},
"display-name": {
"type": "string"
},
"identity": {
"type": "string"
},
"last-connection": {
"type": "string",
"format": "date-time"
},
"model-access": {
"type": "string"
}
},
"additionalProperties": false,
"required": [
"display-name",
"identity",
"controller-access",
"model-access"
]
},
"FacadeVersions": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"versions": {
"type": "array",
"items": {
"type": "integer"
}
}
},
"additionalProperties": false,
"required": ["name", "versions"]
},
"HostPort": {
"type": "object",
"properties": {
"Address": {
"$ref": "#/definitions/Address"
},
"cidr": {
"type": "string"
},
"config-type": {
"type": "string"
},
"is-secondary": {
"type": "boolean"
},
"port": {
"type": "integer"
},
"scope": {
"type": "string"
},
"space-id": {
"type": "string"
},
"space-name": {
"type": "string"
},
"type": {
"type": "string"
},
"value": {
"type": "string"
}
},
"additionalProperties": false,
"required": ["value", "type", "scope", "Address", "port"]
},
"LoginRequest": {
"type": "object",
"properties": {
"auth-tag": {
"type": "string"
},
"bakery-version": {
"type": "integer"
},
"cli-args": {
"type": "string"
},
"client-version": {
"type": "string"
},
"credentials": {
"type": "string"
},
"macaroons": {
"type": "array",
"items": {
"type": "array",
"items": {
"$ref": "#/definitions/Macaroon"
}
}
},
"nonce": {
"type": "string"
},
"token": {
"type": "string"
},
"user-data": {
"type": "string"
}
},
"additionalProperties": false,
"required": [
"auth-tag",
"credentials",
"nonce",
"macaroons",
"user-data"
]
},
"LoginResult": {
"type": "object",
"properties": {
"bakery-discharge-required": {
"$ref": "#/definitions/Macaroon"
},
"controller-tag": {
"type": "string"
},
"discharge-required": {
"$ref": "#/definitions/Macaroon"
},
"discharge-required-error": {
"type": "string"
},
"facades": {
"type": "array",
"items": {
"$ref": "#/definitions/FacadeVersions"
}
},
"model-tag": {
"type": "string"
},
"public-dns-name": {
"type": "string"
},
"server-version": {
"type": "string"
},
"servers": {
"type": "array",
"items": {
"type": "array",
"items": {
"$ref": "#/definitions/HostPort"
}
}
},
"user-info": {
"$ref": "#/definitions/AuthUserInfo"
}
},
"additionalProperties": false
},
"Macaroon": {
"type": "object",
"additionalProperties": false
},
"RedirectInfoResult": {
"type": "object",
"properties": {
"ca-cert": {
"type": "string"
},
"servers": {
"type": "array",
"items": {
"type": "array",
"items": {
"$ref": "#/definitions/HostPort"
}
}
}
},
"additionalProperties": false,
"required": ["servers", "ca-cert"]
}
}
}
},
{
"Name": "Annotations",
"Description": "",
"Version": 2,
"Schema": {
"type": "object",
"properties": {
"Get": {
"type": "object",
"properties": {
"Params": {
"$ref": "#/definitions/Entities"
},
"Result": {
"$ref": "#/definitions/AnnotationsGetResults"
}
}
},
"Set": {
"type": "object",
"properties": {
"Params": {
"$ref": "#/definitions/AnnotationsSet"
},
"Result": {
"$ref": "#/definitions/ErrorResults"
}
}
}
},
"definitions": {
"AnnotationsGetResult": {
"type": "object",
"properties": {
"annotations": {
"type": "object",
"patternProperties": {
".*": {
"type": "string"
}
}
},
"entity": {
"type": "string"
},
"error": {
"$ref": "#/definitions/ErrorResult"
}
},
"additionalProperties": false,
"required": ["entity", "annotations"]
},
"AnnotationsGetResults": {
"type": "object",
"properties": {
"results": {
"type": "array",
"items": {
"$ref": "#/definitions/AnnotationsGetResult"
}
}
},
"additionalProperties": false,
"required": ["results"]
},
"AnnotationsSet": {
"type": "object",
"properties": {
"annotations": {
"type": "array",
"items": {
"$ref": "#/definitions/EntityAnnotations"
}
}
},
"additionalProperties": false,
"required": ["annotations"]
},
"Entities": {
"type": "object",
"properties": {
"entities": {
"type": "array",
"items": {
"$ref": "#/definitions/Entity"
}
}
},
"additionalProperties": false,
"required": ["entities"]
},
"Entity": {
"type": "object",
"properties": {
"tag": {
"type": "string"
}
},
"additionalProperties": false,
"required": ["tag"]
},
"EntityAnnotations": {
"type": "object",
"properties": {
"annotations": {
"type": "object",
"patternProperties": {
".*": {
"type": "string"
}
}
},
"entity": {
"type": "string"
}
},
"additionalProperties": false,
"required": ["entity", "annotations"]
},
"Error": {
"type": "object",
"properties": {
"code": {
"type": "string"
},
"info": {
"type": "object",
"patternProperties": {
".*": {
"type": "object",
"additionalProperties": true
}
}
},
"message": {
"type": "string"
}
},
"additionalProperties": false,
"required": ["message", "code"]
},
"ErrorResult": {
"type": "object",
"properties": {
"error": {
"$ref": "#/definitions/Error"
}
},
"additionalProperties": false
},
"ErrorResults": {
"type": "object",
"properties": {
"results": {
"type": "array",
"items": {
"$ref": "#/definitions/ErrorResult"
}
}
},
"additionalProperties": false,
"required": ["results"]
}
}
}
},
{
"Name": "Application",
"Description": "",
"Version": 22,
"Schema": {
"type": "object",
"properties": {
"AddRelation": {
"type": "object",
"properties": {
"Params": {
"$ref": "#/definitions/AddRelation"
},
"Result": {
"$ref": "#/definitions/AddRelationResults"
}
}
},
"AddUnits": {
"type": "object",
"properties": {
"Params": {
"$ref": "#/definitions/AddApplicationUnits"
},
"Result": {
"$ref": "#/definitions/AddApplicationUnitsResults"
}
}
},
"ApplicationsInfo": {
"type": "object",
"properties": {
"Params": {
"$ref": "#/definitions/Entities"
},
"Result": {
"$ref": "#/definitions/ApplicationInfoResults"
}
}
},
"CharmConfig": {
"type": "object",
"properties": {
"Params": {
"$ref": "#/definitions/ApplicationGetArgs"
},
"Result": {
"$ref": "#/definitions/ApplicationGetConfigResults"
}
}
},
"CharmRelations": {
"type": "object",
"properties": {
"Params": {
"$ref": "#/definitions/ApplicationCharmRelations"
},
"Result": {
"$ref": "#/definitions/ApplicationCharmRelationsResults"
}
}
},
"Consume": {
"type": "object",
"properties": {
"Params": {
"$ref": "#/definitions/ConsumeApplicationArgsV5"
},
"Result": {
"$ref": "#/definitions/ErrorResults"
}
}
},
"Deploy": {
"type": "object",
"properties": {
"Params": {
"$ref": "#/definitions/ApplicationsDeploy"
},
"Result": {
"$ref": "#/definitions/ErrorResults"
}
}
},
"DeployFromRepository": {
"type": "object",
"properties": {
"Params": {
"$ref": "#/definitions/DeployFromRepositoryArgs"
},
"Result": {
"$ref": "#/definitions/DeployFromRepositoryResults"
}
}
},
"DestroyApplication": {
"type": "object",
"properties": {
"Params": {
"$ref": "#/definitions/DestroyApplicationsParams"
},
"Result": {
"$ref": "#/definitions/DestroyApplicationResults"
}
}
},
"DestroyConsumedApplications": {
"type": "object",
"properties": {
"Params": {
"$ref": "#/definitions/DestroyConsumedApplicationsParams"
},
"Result": {
"$ref": "#/definitions/ErrorResults"
}
}
},
"DestroyRelation": {
"type": "object",
"properties": {
"Params": {
"$ref": "#/definitions/DestroyRelation"
}
}
},
"DestroyUnit": {
"type": "object",
"properties": {
"Params": {
"$ref": "#/definitions/DestroyUnitsParams"
},
"Result": {
"$ref": "#/definitions/DestroyUnitResults"
}
}
},
"Expose": {
"type": "object",
"properties": {
"Params": {
"$ref": "#/definitions/ApplicationExpose"
}
}
},
"Get": {
"type": "object",
"properties": {
"Params": {
"$ref": "#/definitions/ApplicationGet"
},
"Result": {
"$ref": "#/definitions/ApplicationGetResults"
}
}
},
"GetApplicationStorage": {
"type": "object",
"properties": {
"Params": {
"$ref": "#/definitions/Entities"
},
"Result": {
"$ref": "#/definitions/ApplicationStorageGetResults"
}
}
},
"GetCharmURLOrigin": {
"type": "object",
"properties": {
"Params": {
"$ref": "#/definitions/ApplicationGet"
},
"Result": {
"$ref": "#/definitions/CharmURLOriginResult"
}
}
},
"GetConfig": {
"type": "object",
"properties": {
"Params": {
"$ref": "#/definitions/Entities"
},
"Result": {
"$ref": "#/definitions/ApplicationGetConfigResults"
}
}
},
"GetConstraints": {
"type": "object",
"properties": {
"Params": {
"$ref": "#/definitions/Entities"
},
"Result": {
"$ref": "#/definitions/ApplicationGetConstraintsResults"
}
}
},
"Leader": {
"type": "object",
"properties": {
"Params": {
"$ref": "#/definitions/Entity"
},
"Result": {
"$ref": "#/definitions/StringResult"
}
}
},
"MergeBindings": {
"type": "object",
"properties": {
"Params": {
"$ref": "#/definitions/ApplicationMergeBindingsArgs"
},
"Result": {
"$ref": "#/definitions/ErrorResults"
}
}
},
"ResolveUnitErrors": {
"type": "object",
"properties": {
"Params": {
"$ref": "#/definitions/UnitsResolved"
},
"Result": {
"$ref": "#/definitions/ErrorResults"
}
}
},
"ScaleApplications": {
"type": "object",
"properties": {
"Params": {
"$ref": "#/definitions/ScaleApplicationsParamsV2"
},
"Result": {
"$ref": "#/definitions/ScaleApplicationResults"
}
}
},
"SetCharm": {
"type": "object",
"properties": {
"Params": {
"$ref": "#/definitions/ApplicationSetCharmV2"
}
}
},
"SetConfigs": {
"type": "object",
"properties": {
"Params": {
"$ref": "#/definitions/ConfigSetArgs"
},
"Result": {
"$ref": "#/definitions/ErrorResults"
}
}
},
"SetConstraints": {
"type": "object",
"properties": {
"Params": {
"$ref": "#/definitions/SetConstraints"
}
}
},
"SetRelationsSuspended": {
"type": "object",
"properties": {
"Params": {
"$ref": "#/definitions/RelationSuspendedArgs"
},
"Result": {
"$ref": "#/definitions/ErrorResults"
}
}
},
"Unexpose": {
"type": "object",
"properties": {
"Params": {
"$ref": "#/definitions/ApplicationUnexpose"
}
}
},
"UnitsInfo": {
"type": "object",
"properties": {
"Params": {
"$ref": "#/definitions/Entities"
},
"Result": {
"$ref": "#/definitions/UnitInfoResults"
}
}
},
"UnsetApplicationsConfig": {
"type": "object",
"properties": {
"Params": {
"$ref": "#/definitions/ApplicationConfigUnsetArgs"
},
"Result": {
"$ref": "#/definitions/ErrorResults"
}
}
},
"UpdateApplicationStorage": {
"type": "object",
"properties": {
"Params": {
"$ref": "#/definitions/ApplicationStorageUpdateRequest"
},
"Result": {
"$ref": "#/definitions/ErrorResults"
}
}
}
},
"definitions": {
"AddApplicationUnits": {
"type": "object",
"properties": {
"application": {
"type": "string"
},
"attach-storage": {
"type": "array",
"items": {
"type": "string"
}
},
"num-units": {
"type": "integer"
},
"placement": {
"type": "array",
"items": {
"$ref": "#/definitions/Placement"
}
},
"policy": {
"type": "string"
}
},
"additionalProperties": false,
"required": ["application", "num-units", "placement"]
},
"AddApplicationUnitsResults": {
"type": "object",
"properties": {
"units": {
"type": "array",
"items": {
"type": "string"
}
}
},
"additionalProperties": false,
"required": ["units"]
},
"AddRelation": {
"type": "object",
"properties": {
"endpoints": {
"type": "array",
"items": {
"type": "string"
}
},
"via-cidrs": {
"type": "array",
"items": {
"type": "string"
}
}
},
"additionalProperties": false,
"required": ["endpoints"]
},
"AddRelationResults": {
"type": "object",
"properties": {
"endpoints": {
"type": "object",
"patternProperties": {
".*": {
"$ref": "#/definitions/CharmRelation"
}
}
}
},
"additionalProperties": false,
"required": ["endpoints"]
},
"ApplicationCharmRelations": {
"type": "object",
"properties": {
"application": {
"type": "string"
}
},
"additionalProperties": false,
"required": ["application"]
},
"ApplicationCharmRelationsResults": {
"type": "object",
"properties": {
"charm-relations": {
"type": "array",
"items": {
"type": "string"
}
}
},
"additionalProperties": false,
"required": ["charm-relations"]
},
"ApplicationConfigUnsetArgs": {
"type": "object",
"properties": {
"Args": {
"type": "array",
"items": {
"$ref": "#/definitions/ApplicationUnset"
}
}
},
"additionalProperties": false,
"required": ["Args"]
},
"ApplicationConstraint": {
"type": "object",
"properties": {
"constraints": {
"$ref": "#/definitions/Value"
},
"error": {
"$ref": "#/definitions/Error"
}
},
"additionalProperties": false,
"required": ["constraints"]
},
"ApplicationDeploy": {
"type": "object",
"properties": {
"Force": {
"type": "boolean"
},
"application": {
"type": "string"
},
"attach-storage": {
"type": "array",
"items": {
"type": "string"
}
},
"channel": {
"type": "string"
},
"charm-origin": {
"$ref": "#/definitions/CharmOrigin"
},
"charm-url": {
"type": "string"
},
"config": {
"type": "object",
"patternProperties": {
".*": {
"type": "string"
}
}
},
"config-yaml": {
"type": "string"
},
"constraints": {
"$ref": "#/definitions/Value"
},
"devices": {
"type": "object",
"patternProperties": {
".*": {
"$ref": "#/definitions/Constraints"
}
}
},
"endpoint-bindings": {
"type": "object",
"patternProperties": {
".*": {
"type": "string"
}
}
},
"num-units": {
"type": "integer"
},
"placement": {
"type": "array",
"items": {
"$ref": "#/definitions/Placement"
}
},
"policy": {
"type": "string"
},
"resources": {
"type": "object",
"patternProperties": {
".*": {
"type": "string"
}
}
},
"storage": {
"type": "object",
"patternProperties": {
".*": {
"$ref": "#/definitions/Directive"
}
}
}
},
"additionalProperties": false,
"required": [
"application",
"charm-url",
"channel",
"num-units",
"config-yaml",
"constraints",
"Force"
]
},
"ApplicationExpose": {
"type": "object",
"properties": {
"application": {
"type": "string"
},
"exposed-endpoints": {
"type": "object",
"patternProperties": {
".*": {
"$ref": "#/definitions/ExposedEndpoint"
}
}
}
},
"additionalProperties": false,
"required": ["application"]
},
"ApplicationGet": {
"type": "object",
"properties": {
"application": {
"type": "string"
},
"branch": {
"type": "string"
}
},
"additionalProperties": false,
"required": ["application", "branch"]
},
"ApplicationGetArgs": {
"type": "object",
"properties": {
"args": {
"type": "array",
"items": {
"$ref": "#/definitions/ApplicationGet"
}
}
},
"additionalProperties": false,
"required": ["args"]
},
"ApplicationGetConfigResults": {
"type": "object",
"properties": {
"Results": {
"type": "array",
"items": {
"$ref": "#/definitions/ConfigResult"
}
}
},
"additionalProperties": false,
"required": ["Results"]
},
"ApplicationGetConstraintsResults": {
"type": "object",
"properties": {
"results": {
"type": "array",
"items": {
"$ref": "#/definitions/ApplicationConstraint"
}
}
},
"additionalProperties": false,
"required": ["results"]
},
"ApplicationGetResults": {
"type": "object",
"properties": {
"application": {
"type": "string"
},
"application-config": {
"type": "object",
"patternProperties": {
".*": {
"type": "object",
"additionalProperties": true
}
}
},
"base": {
"$ref": "#/definitions/Base"
},
"channel": {
"type": "string"
},
"charm": {
"type": "string"
},
"config": {
"type": "object",
"patternProperties": {
".*": {
"type": "object",
"additionalProperties": true
}
}
},
"constraints": {
"$ref": "#/definitions/Value"
},
"endpoint-bindings": {
"type": "object",
"patternProperties": {
".*": {
"type": "string"
}
}
}
},
"additionalProperties": false,
"required": [
"application",
"charm",
"config",
"constraints",
"base",
"channel"
]
},
"ApplicationInfoResult": {
"type": "object",
"properties": {
"error": {
"$ref": "#/definitions/Error"
},
"result": {
"$ref": "#/definitions/ApplicationResult"
}
},
"additionalProperties": false
},
"ApplicationInfoResults": {
"type": "object",
"properties": {
"results": {
"type": "array",
"items": {
"$ref": "#/definitions/ApplicationInfoResult"
}
}
},
"additionalProperties": false,
"required": ["results"]
},
"ApplicationMergeBindings": {
"type": "object",
"properties": {
"application-tag": {
"type": "string"
},
"bindings": {
"type": "object",
"patternProperties": {
".*": {
"type": "string"
}
}
},
"force": {
"type": "boolean"
}
},
"additionalProperties": false,
"required": ["application-tag", "bindings", "force"]
},
"ApplicationMergeBindingsArgs": {
"type": "object",
"properties": {
"args": {
"type": "array",
"items": {
"$ref": "#/definitions/ApplicationMergeBindings"
}
}
},
"additionalProperties": false,
"required": ["args"]
},
"ApplicationOfferDetailsV5": {
"type": "object",
"properties": {
"application-description": {
"type": "string"
},
"endpoints": {
"type": "array",
"items": {
"$ref": "#/definitions/RemoteEndpoint"
}
},
"offer-name": {
"type": "string"
},
"offer-url": {
"type": "string"
},
"offer-uuid": {
"type": "string"
},
"source-model-tag": {
"type": "string"
},
"users": {
"type": "array",
"items": {
"$ref": "#/definitions/OfferUserDetails"
}
}
},
"additionalProperties": false,
"required": [
"source-model-tag",
"offer-uuid",
"offer-url",
"offer-name",
"application-description"
]
},
"ApplicationResult": {
"type": "object",
"properties": {
"base": {
"$ref": "#/definitions/Base"
},
"channel": {
"type": "string"
},
"charm": {
"type": "string"
},
"constraints": {
"$ref": "#/definitions/Value"
},
"endpoint-bindings": {
"type": "object",
"patternProperties": {
".*": {
"type": "string"
}
}
},
"exposed": {
"type": "boolean"
},
"exposed-endpoints": {
"type": "object",
"patternProperties": {
".*": {
"$ref": "#/definitions/ExposedEndpoint"
}
}
},
"life": {
"type": "string"
},
"principal": {
"type": "boolean"
},
"remote": {
"type": "boolean"
},
"tag": {
"type": "string"
}
},
"additionalProperties": false,
"required": ["tag", "principal", "exposed", "remote", "life"]
},
"ApplicationSetCharmV2": {
"type": "object",
"properties": {
"application": {
"type": "string"
},
"channel": {
"type": "string"
},
"charm-origin": {
"$ref": "#/definitions/CharmOrigin"
},
"charm-url": {
"type": "string"
},
"config-settings": {
"type": "object",
"patternProperties": {
".*": {
"type": "string"
}
}
},
"config-settings-yaml": {
"type": "string"
},
"endpoint-bindings": {
"type": "object",
"patternProperties": {
".*": {
"type": "string"
}
}
},
"force": {
"type": "boolean"
},
"force-base": {
"type": "boolean"
},
"force-units": {
"type": "boolean"
},
"generation": {
"type": "string"
},
"resource-ids": {
"type": "object",
"patternProperties": {
".*": {
"type": "string"
}
}
},
"storage-directives": {
"type": "object",
"patternProperties": {
".*": {
"$ref": "#/definitions/StorageDirectives"
}
}
}
},
"additionalProperties": false,
"required": [
"application",
"generation",
"charm-url",
"channel",
"force",
"force-units",
"force-base"
]
},
"ApplicationStorageGetResult": {
"type": "object",
"properties": {
"Error": {
"$ref": "#/definitions/Error"
},
"storage-constraints": {
"type": "object",
"patternProperties": {
".*": {
"$ref": "#/definitions/StorageDirectives"
}
}
}
},
"additionalProperties": false,
"required": ["storage-constraints", "Error"]
},
"ApplicationStorageGetResults": {
"type": "object",
"properties": {
"results": {
"type": "array",
"items": {
"$ref": "#/definitions/ApplicationStorageGetResult"
}
}
},
"additionalProperties": false,
"required": ["results"]
},
"ApplicationStorageUpdate": {
"type": "object",
"properties": {
"application-tag": {
"type": "string"
},
"storage-constraints": {
"type": "object",
"patternProperties": {
".*": {
"$ref": "#/definitions/StorageDirectives"
}
}
}
},
"additionalProperties": false,
"required": ["application-tag", "storage-constraints"]
},
"ApplicationStorageUpdateRequest": {
"type": "object",
"properties": {
"storage-updates": {
"type": "array",
"items": {
"$ref": "#/definitions/ApplicationStorageUpdate"
}
}
},
"additionalProperties": false,
"required": ["storage-updates"]
},
"ApplicationUnexpose": {
"type": "object",
"properties": {
"application": {
"type": "string"
},
"exposed-endpoints": {
"type": "array",
"items": {
"type": "string"
}
}
},
"additionalProperties": false,
"required": ["application", "exposed-endpoints"]
},
"ApplicationUnset": {
"type": "object",
"properties": {
"application": {
"type": "string"
},
"branch": {
"type": "string"
},
"options": {
"type": "array",
"items": {
"type": "string"
}
}
},
"additionalProperties": false,
"required": ["application", "branch", "options"]
},
"ApplicationsDeploy":