juju.client package

These packages are for internal use in communicating with the low-level API. You should use the object oriented API instead. They are documented here for developer reference.

juju.client.client module

Replace auto-generated classes with our own, where necessary.

juju.client._definitions module

class juju.client._definitions.APIHostPortsResult(servers=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.Action(name=None, parameters=None, receiver=None, tag=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.ActionExecutionResult(action_tag=None, message=None, results=None, status=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.ActionExecutionResults(results=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.ActionResult(action=None, completed=None, enqueued=None, error=None, message=None, output=None, started=None, status=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.ActionResults(results=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.ActionSpec(description=None, params=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.Actions(actions=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.ActionsByName(actions=None, error=None, name=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.ActionsByNames(actions=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.ActionsByReceiver(actions=None, error=None, receiver=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.ActionsByReceivers(actions=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.AddApplicationUnits(application=None, num_units=None, placement=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.AddApplicationUnitsResults(units=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.AddCharm(channel=None, url=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.AddCharmWithAuthorization(channel=None, macaroon=None, url=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.AddMachineParams(addresses=None, constraints=None, container_type=None, disks=None, hardware_characteristics=None, instance_id=None, jobs=None, nonce=None, parent_id=None, placement=None, series=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.AddMachines(params=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.AddMachinesResult(error=None, machine=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.AddMachinesResults(machines=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.AddPendingResourcesArgs(addcharmwithauthorization=None, entity=None, resources=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.AddPendingResourcesResult(errorresult=None, pending_ids=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.AddRelation(endpoints=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.AddRelationResults(endpoints=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.AddSubnetParams(space_tag=None, subnet_provider_id=None, subnet_tag=None, zones=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.AddSubnetsParams(subnets=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.AddUser(display_name=None, password=None, username=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.AddUserResult(error=None, secret_key=None, tag=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.AddUserResults(results=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.AddUsers(users=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.Address(scope=None, space_name=None, type_=None, value=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.AdoptResourcesArgs(model_tag=None, source_controller_version=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.AgentGetEntitiesResult(container_type=None, error=None, jobs=None, life=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.AgentGetEntitiesResults(entities=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.AgentVersionResult(version=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.AllWatcherId(watcher_id=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.AllWatcherNextResults(deltas=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.AnnotationsGetResult(annotations=None, entity=None, error=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.AnnotationsGetResults(results=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.AnnotationsSet(annotations=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.ApplicationCharmActionsResult(actions=None, application_tag=None, error=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.ApplicationCharmRelations(application=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.ApplicationCharmRelationsResults(charm_relations=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.ApplicationDeploy(application=None, channel=None, charm_url=None, config=None, config_yaml=None, constraints=None, endpoint_bindings=None, num_units=None, placement=None, resources=None, series=None, storage=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.ApplicationDestroy(application=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.ApplicationExpose(application=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.ApplicationGet(application=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.ApplicationGetResults(application=None, charm=None, config=None, constraints=None, series=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.ApplicationMetricCredential(application=None, metrics_credentials=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.ApplicationMetricCredentials(creds=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.ApplicationOffer(access=None, application_description=None, bindings=None, endpoints=None, offer_name=None, offer_url=None, source_model_tag=None, spaces=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.ApplicationRelationsChange(changed=None, removed=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.ApplicationRelationsWatchResult(applicationrelationswatcherid=None, changes=None, error=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.ApplicationSet(application=None, options=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.ApplicationSetCharm(application=None, channel=None, charm_url=None, config_settings=None, config_settings_yaml=None, force_series=None, force_units=None, resource_ids=None, storage_constraints=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.ApplicationStatus(can_upgrade_to=None, charm=None, err=None, exposed=None, life=None, meter_statuses=None, relations=None, series=None, status=None, subordinate_to=None, units=None, workload_version=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.ApplicationStatusResult(application=None, error=None, units=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.ApplicationStatusResults(results=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.ApplicationTag(name=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.ApplicationURLs(application_urls=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.ApplicationUnexpose(application=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.ApplicationUnset(application=None, options=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.ApplicationUpdate(application=None, charm_url=None, constraints=None, force_charm_url=None, force_series=None, min_units=None, settings=None, settings_yaml=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.ApplicationsCharmActionsResults(results=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.ApplicationsDeploy(applications=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.BackupsCreateArgs(notes=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.BackupsInfoArgs(id_=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.BackupsListArgs(**unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.BackupsListResult(list_=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.BackupsMetadataResult(ca_cert=None, ca_private_key=None, checksum=None, checksum_format=None, finished=None, hostname=None, id_=None, machine=None, model=None, notes=None, series=None, size=None, started=None, stored=None, version=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.BackupsRemoveArgs(id_=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.Block(id_=None, message=None, tag=None, type_=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.BlockDevice(busaddress=None, devicelinks=None, devicename=None, filesystemtype=None, hardwareid=None, inuse=None, label=None, mountpoint=None, size=None, uuid=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.BlockDeviceResult(error=None, result=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.BlockDeviceResults(results=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.BlockResult(error=None, result=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.BlockResults(results=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.BlockSwitchParams(message=None, type_=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.BoolResult(error=None, result=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.BoolResults(results=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.BundleChange(args=None, id_=None, method=None, requires=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.BundleChangesParams(yaml=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.BundleChangesResults(changes=None, errors=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.BytesResult(result=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.CharmActionSpec(description=None, params=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.CharmActions(specs=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.CharmInfo(actions=None, config=None, meta=None, metrics=None, revision=None, url=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.CharmMeta(categories=None, description=None, extra_bindings=None, min_juju_version=None, name=None, payload_classes=None, peers=None, provides=None, requires=None, resources=None, series=None, storage=None, subordinate=None, summary=None, tags=None, terms=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.CharmMetric(description=None, type_=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.CharmMetrics(metrics=None, plan=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.CharmOption(default=None, description=None, type_=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.CharmPayloadClass(name=None, type_=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.CharmPlan(required=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.CharmRelation(interface=None, limit=None, name=None, optional=None, role=None, scope=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.CharmResource(description=None, fingerprint=None, name=None, origin=None, path=None, revision=None, size=None, type_=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.CharmResourceMeta(description=None, name=None, path=None, type_=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.CharmStorage(count_max=None, count_min=None, description=None, location=None, minimum_size=None, name=None, properties=None, read_only=None, shared=None, type_=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.CharmURL(url=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.CharmURLs(urls=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.CharmsList(names=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.CharmsListResult(charm_urls=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.ClaimLeadershipBulkParams(params=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.ClaimLeadershipBulkResults(results=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.ClaimLeadershipParams(application_tag=None, duration=None, unit_tag=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.Cloud(auth_types=None, endpoint=None, identity_endpoint=None, regions=None, storage_endpoint=None, type_=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.CloudCredential(attrs=None, auth_type=None, redacted=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.CloudCredentialResult(error=None, result=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.CloudCredentialResults(results=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.CloudImageMetadata(arch=None, image_id=None, priority=None, region=None, root_storage_size=None, root_storage_type=None, series=None, source=None, stream=None, version=None, virt_type=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.CloudImageMetadataList(metadata=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.CloudInstanceTypesConstraint(cloud_tag=None, constraints=None, region=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.CloudInstanceTypesConstraints(constraints=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.CloudRegion(endpoint=None, identity_endpoint=None, name=None, storage_endpoint=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.CloudResult(cloud=None, error=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.CloudResults(results=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.CloudSpec(credential=None, endpoint=None, identity_endpoint=None, name=None, region=None, storage_endpoint=None, type_=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.CloudSpecResult(error=None, result=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.CloudSpecResults(results=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.CloudsResult(clouds=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.ConfigSettingsResult(error=None, settings=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.ConfigSettingsResults(results=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.ConfigValue(source=None, value=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.Constraints(count=None, pool=None, size=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.ConstraintsResult(constraints=None, error=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.ConstraintsResults(results=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.ConsumeApplicationArg(application_alias=None, application_url=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.ConsumeApplicationArgs(args=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.ConsumeApplicationResult(error=None, local_name=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.ConsumeApplicationResults(results=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.ContainerConfig(updatebehavior=None, apt_mirror=None, apt_proxy=None, authorized_keys=None, provider_type=None, proxy=None, ssl_hostname_verification=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.ContainerManagerConfig(config=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.ContainerManagerConfigParams(type_=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.ControllerConfigResult(config=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.ControllersChangeResult(error=None, result=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.ControllersChangeResults(results=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.ControllersChanges(added=None, converted=None, demoted=None, maintained=None, promoted=None, removed=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.ControllersSpec(constraints=None, num_controllers=None, placement=None, series=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.ControllersSpecs(specs=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.CreateSpaceParams(provider_id=None, public=None, space_tag=None, subnet_tags=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.CreateSpacesParams(spaces=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.DeployerConnectionValues(api_addresses=None, state_addresses=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.DestroyApplicationInfo(destroyed_storage=None, destroyed_units=None, detached_storage=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.DestroyApplicationResult(error=None, info=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.DestroyApplicationResults(results=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.DestroyApplicationUnits(unit_names=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.DestroyControllerArgs(destroy_models=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.DestroyMachineInfo(destroyed_storage=None, destroyed_units=None, detached_storage=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.DestroyMachineResult(error=None, info=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.DestroyMachineResults(results=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.DestroyMachines(force=None, machine_names=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.DestroyRelation(endpoints=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.DestroyUnitInfo(destroyed_storage=None, detached_storage=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.DestroyUnitResult(error=None, info=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.DestroyUnitResults(results=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.DetailedStatus(data=None, err=None, info=None, kind=None, life=None, since=None, status=None, version=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.DeviceBridgeInfo(bridge_name=None, host_device_name=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.DiscoverSpacesResults(results=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.DistributionGroupResult(error=None, result=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.DistributionGroupResults(results=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.DumpModelRequest(entities=None, simplified=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.Endpoint(application_name=None, relation=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.EndpointStatus(application=None, name=None, role=None, subordinate=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.Entities(entities=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.EntitiesCharmURL(entities=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.EntitiesPortRanges(entities=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.EntitiesResult(entities=None, error=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.EntitiesResults(results=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.EntitiesVersion(agent_tools=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.EntitiesWatchResult(changes=None, error=None, watcher_id=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.Entity(tag=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.EntityAnnotations(annotations=None, entity=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.EntityCharmURL(charm_url=None, tag=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.EntityMetrics(error=None, metrics=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.EntityPassword(password=None, tag=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.EntityPasswords(changes=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.EntityPortRange(from_port=None, protocol=None, tag=None, to_port=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.EntityStatus(data=None, info=None, since=None, status=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.EntityStatusArgs(data=None, info=None, status=None, tag=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.EntityVersion(tag=None, tools=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.EntityWorkloadVersion(tag=None, workload_version=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.EntityWorkloadVersions(entities=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.EnvListArgs(patterns=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.EnvListResults(results=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.Error(code=None, info=None, message=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.ErrorInfo(macaroon=None, macaroon_path=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.ErrorResult(error=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.ErrorResults(results=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.Filesystem(filesystem_tag=None, info=None, volume_tag=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.FilesystemAttachment(filesystem_tag=None, info=None, machine_tag=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.FilesystemAttachmentDetails(filesystemattachmentinfo=None, life=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.FilesystemAttachmentInfo(mount_point=None, read_only=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.FilesystemAttachmentParams(filesystem_id=None, filesystem_tag=None, instance_id=None, machine_tag=None, mount_point=None, provider=None, read_only=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.FilesystemAttachmentParamsResult(error=None, result=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.FilesystemAttachmentParamsResults(results=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.FilesystemAttachmentResult(error=None, result=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.FilesystemAttachmentResults(results=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.FilesystemAttachments(filesystem_attachments=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.FilesystemDetails(filesystem_tag=None, info=None, machine_attachments=None, status=None, storage=None, volume_tag=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.FilesystemDetailsListResult(error=None, result=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.FilesystemDetailsListResults(results=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.FilesystemFilter(machines=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.FilesystemFilters(filters=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.FilesystemInfo(filesystem_id=None, size=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.FilesystemParams(attachment=None, attributes=None, filesystem_tag=None, provider=None, size=None, tags=None, volume_tag=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.FilesystemParamsResult(error=None, result=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.FilesystemParamsResults(results=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.FilesystemResult(error=None, result=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.FilesystemResults(results=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.Filesystems(filesystems=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.FindActionsByNames(names=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.FindTags(prefixes=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.FindTagsResults(matches=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.FindToolsParams(arch=None, major=None, minor=None, number=None, series=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.FindToolsResult(error=None, list_=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.FullStatus(applications=None, machines=None, model=None, relations=None, remote_applications=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.GetApplicationConstraints(application=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.GetConstraintsResults(constraints=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.GetLeadershipSettingsBulkResults(results=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.GetLeadershipSettingsResult(error=None, settings=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.HAMember(public_address=None, series=None, tag=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.HardwareCharacteristics(arch=None, availability_zone=None, cpu_cores=None, cpu_power=None, mem=None, root_disk=None, tags=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.History(error=None, statuses=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.HostNetworkChange(error=None, new_bridges=None, reconfigure_delay=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.HostNetworkChangeResults(results=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.HostPort(address=None, port=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.HostedModelConfig(cloud_spec=None, config=None, error=None, name=None, owner=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.HostedModelConfigsResults(models=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.ImageFilterParams(images=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.ImageMetadata(arch=None, created=None, kind=None, series=None, url=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.ImageMetadataFilter(arches=None, region=None, root_storage_type=None, series=None, stream=None, virt_type=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.ImageSpec(arch=None, kind=None, series=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.InitiateMigrationArgs(specs=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.InitiateMigrationResult(error=None, migration_id=None, model_tag=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.InitiateMigrationResults(results=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.InstanceInfo(characteristics=None, instance_id=None, network_config=None, nonce=None, tag=None, volume_attachments=None, volumes=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.InstanceType(arches=None, cost=None, cpu_cores=None, deprecated=None, memory=None, name=None, root_disk=None, virt_type=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.InstanceTypesResult(cost_currency=None, cost_divisor=None, cost_unit=None, error=None, instance_types=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.InstanceTypesResults(results=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.InstancesInfo(machines=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.IntResult(error=None, result=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.IntResults(results=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.InterfaceAddress(cidr=None, value=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.IsMasterResult(master=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.IsMeteredResult(metered=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.JobsResult(error=None, jobs=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.JobsResults(results=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.LifeResult(error=None, life=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.LifeResults(results=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.ListCloudImageMetadataResult(result=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.ListImageResult(result=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.ListResourcesArgs(entities=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.ListSSHKeys(entities=None, mode=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.ListSpacesResults(results=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.ListSubnetsResults(results=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.ListUnitResourcesArgs(resource_names=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.LogForwardingGetLastSentParams(ids=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.LogForwardingGetLastSentResult(err=None, record_id=None, record_timestamp=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.LogForwardingGetLastSentResults(results=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.LogForwardingID(model=None, sink=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.LogForwardingSetLastSentParam(logforwardingid=None, record_id=None, record_timestamp=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.LogForwardingSetLastSentParams(params=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.LookUpArg(id_=None, name=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.LookUpArgs(args=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.LookUpPayloadArg(id_=None, name=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.LookUpPayloadArgs(args=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.Macaroon(**unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.MachineAddresses(addresses=None, tag=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.MachineAddressesResult(addresses=None, error=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.MachineAddressesResults(results=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.MachineBlockDevices(block_devices=None, machine=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.MachineContainers(container_types=None, machine_tag=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.MachineContainersParams(params=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.MachineHardware(arch=None, availability_zone=None, cores=None, cpu_power=None, mem=None, root_disk=None, tags=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.MachineNetworkConfigResult(error=None, info=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.MachineNetworkConfigResults(results=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.MachinePortRange(port_range=None, relation_tag=None, unit_tag=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.MachinePorts(machine_tag=None, subnet_tag=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.MachinePortsParams(params=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.MachinePortsResult(error=None, ports=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.MachinePortsResults(results=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.MachineStatus(agent_status=None, containers=None, dns_name=None, hardware=None, has_vote=None, id_=None, instance_id=None, instance_status=None, ip_addresses=None, jobs=None, series=None, wants_vote=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.MachineStorageId(attachment_tag=None, machine_tag=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.MachineStorageIds(ids=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.MachineStorageIdsWatchResult(changes=None, error=None, watcher_id=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.MachineStorageIdsWatchResults(results=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.MapResult(error=None, result=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.MapResults(results=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.MasterMigrationStatus(migration_id=None, phase=None, phase_changed_time=None, spec=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.Member(address=None, arbiter=None, buildindexes=None, hidden=None, id_=None, priority=None, slavedelay=None, tags=None, votes=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.MergeLeadershipSettingsBulkParams(params=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.MergeLeadershipSettingsParam(application_tag=None, settings=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.MetadataImageIds(image_ids=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.MetadataSaveParams(metadata=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.MeterStatus(color=None, message=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.MeterStatusParam(code=None, info=None, tag=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.MeterStatusParams(statues=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.MeterStatusResult(code=None, error=None, info=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.MeterStatusResults(results=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.Metric(key=None, time=None, value=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.MetricBatch(charm_url=None, created=None, metrics=None, uuid=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.MetricBatchParam(batch=None, tag=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.MetricBatchParams(batches=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.MetricResult(key=None, time=None, unit=None, value=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.MetricResults(results=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.MigrationModelInfo(agent_version=None, name=None, owner_tag=None, uuid=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.MigrationSpec(external_control=None, model_tag=None, skip_initial_prechecks=None, target_info=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.MigrationStatus(attempt=None, external_control=None, migration_id=None, phase=None, source_api_addrs=None, source_ca_cert=None, target_api_addrs=None, target_ca_cert=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.MigrationTargetInfo(addrs=None, auth_tag=None, ca_cert=None, controller_tag=None, macaroons=None, password=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.MinionReport(migration_id=None, phase=None, success=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.MinionReports(failed=None, migration_id=None, phase=None, success_count=None, unknown_count=None, unknown_sample=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.Model(name=None, owner_tag=None, uuid=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.ModelArgs(model_tag=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.ModelBlockInfo(blocks=None, model_uuid=None, name=None, owner_tag=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.ModelBlockInfoList(models=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.ModelConfigResult(config=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.ModelConfigResults(config=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.ModelCreateArgs(cloud_tag=None, config=None, credential=None, name=None, owner_tag=None, region=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.ModelDefaultValues(cloud_region=None, cloud_tag=None, config=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.ModelDefaults(controller=None, default=None, regions=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.ModelDefaultsResult(config=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.ModelInfo(agent_version=None, cloud_credential_tag=None, cloud_region=None, cloud_tag=None, controller_uuid=None, default_series=None, life=None, machines=None, migration=None, name=None, owner_tag=None, provider_type=None, sla=None, status=None, users=None, uuid=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.ModelInfoResult(error=None, result=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.ModelInfoResults(results=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.ModelInstanceTypesConstraint(value=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.ModelInstanceTypesConstraints(constraints=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.ModelMachineInfo(hardware=None, has_vote=None, id_=None, instance_id=None, status=None, wants_vote=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.ModelMigrationStatus(end=None, start=None, status=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.ModelResult(error=None, name=None, uuid=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.ModelSLA(creds=None, level=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.ModelSLAInfo(level=None, owner=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.ModelSet(config=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.ModelStatus(application_count=None, hosted_machine_count=None, life=None, machines=None, model_tag=None, owner_tag=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.ModelStatusInfo(available_version=None, cloud_tag=None, meter_status=None, model_status=None, name=None, region=None, sla=None, version=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.ModelStatusResults(models=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.ModelTag(**unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.ModelUnset(keys=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.ModelUnsetKeys(cloud_region=None, cloud_tag=None, keys=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.ModelUserInfo(access=None, display_name=None, last_connection=None, user=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.ModelUserInfoResult(error=None, result=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.ModelUserInfoResults(results=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.ModifyControllerAccess(access=None, action=None, user_tag=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.ModifyControllerAccessRequest(changes=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.ModifyModelAccess(access=None, action=None, model_tag=None, user_tag=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.ModifyModelAccessRequest(changes=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.ModifyUserSSHKeys(ssh_keys=None, user=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.MongoUpgradeResults(ha_members=None, master=None, rs_members=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.MongoVersion(engine=None, major=None, minor=None, patch=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.NetworkConfig(address=None, cidr=None, config_type=None, device_index=None, disabled=None, dns_search_domains=None, dns_servers=None, gateway_address=None, interface_name=None, interface_type=None, mac_address=None, mtu=None, no_auto_start=None, parent_interface_name=None, provider_address_id=None, provider_id=None, provider_space_id=None, provider_subnet_id=None, provider_vlan_id=None, vlan_tag=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.NetworkInfo(addresses=None, interface_name=None, mac_address=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.NetworkInfoParams(bindings=None, unit=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.NetworkInfoResult(error=None, network_info=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.NetworkInfoResults(results=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.NetworkInterface(dns_nameservers=None, gateway=None, ip_addresses=None, is_up=None, mac_address=None, space=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.NetworkRoute(destination_cidr=None, gateway_ip=None, metric=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.NotifyWatchResult(notifywatcherid=None, error=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.NotifyWatchResults(results=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.Payload(class_=None, id_=None, labels=None, machine=None, status=None, type_=None, unit=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.PayloadListArgs(patterns=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.PayloadListResults(results=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.PayloadResult(entity=None, error=None, not_found=None, payload=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.PayloadResults(results=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.PhaseResult(error=None, phase=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.PhaseResults(results=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.Placement(directive=None, scope=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.PortRange(from_port=None, protocol=None, to_port=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.PrivateAddress(target=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.PrivateAddressResults(private_address=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.ProviderInterfaceInfo(interface_name=None, mac_address=None, provider_id=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.ProviderInterfaceInfoResult(error=None, interfaces=None, machine_tag=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.ProviderInterfaceInfoResults(results=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.ProviderSpace(error=None, name=None, provider_id=None, subnets=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.ProvisioningInfo(constraints=None, controller_config=None, endpoint_bindings=None, image_metadata=None, jobs=None, placement=None, series=None, subnets_to_zones=None, tags=None, volumes=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.ProvisioningInfoResult(error=None, result=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.ProvisioningInfoResults(results=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.ProvisioningScriptParams(data_dir=None, disable_package_commands=None, machine_id=None, nonce=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.ProvisioningScriptResult(script=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.ProxyConfig(ftp=None, http=None, https=None, no_proxy=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.ProxyConfigResult(apt_proxy_settings=None, error=None, proxy_settings=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.ProxyConfigResults(results=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.PublicAddress(target=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.PublicAddressResults(public_address=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.RebootActionResult(error=None, result=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.RebootActionResults(results=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.RegionDefaults(region_name=None, value=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.RelationChange(changedunits=None, departedunits=None, id_=None, life=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.RelationIds(relation_ids=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.RelationResult(endpoint=None, error=None, id_=None, key=None, life=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.RelationResults(results=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.RelationStatus(endpoints=None, id_=None, interface=None, key=None, scope=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.RelationUnit(relation=None, unit=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.RelationUnitChange(settings=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.RelationUnitPair(local_unit=None, relation=None, remote_unit=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.RelationUnitPairs(relation_unit_pairs=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.RelationUnitSettings(relation=None, settings=None, unit=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.RelationUnits(relation_units=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.RelationUnitsChange(changed=None, departed=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.RelationUnitsSettings(relation_units=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.RelationUnitsWatchResult(changes=None, error=None, watcher_id=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.RelationUnitsWatchResults(results=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.RemoteApplicationChange(application_tag=None, life=None, relations=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.RemoteApplicationInfo(application_url=None, description=None, endpoints=None, icon_url_path=None, model_tag=None, name=None, source_model_label=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.RemoteApplicationInfoResult(error=None, result=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.RemoteApplicationInfoResults(results=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.RemoteApplicationStatus(application_name=None, application_url=None, endpoints=None, err=None, life=None, relations=None, status=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.RemoteApplicationWatchResult(change=None, error=None, id_=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.RemoteEndpoint(interface=None, limit=None, name=None, role=None, scope=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.RemoteEntityId(model_uuid=None, token=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.RemoteRelationChange(changed_units=None, departed_units=None, id_=None, life=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.RemoteRelationUnitChange(settings=None, unit_id=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.RemoteRelationsChange(changed=None, initial=None, removed=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.RemoteRelationsWatchResult(remoterelationswatcherid=None, change=None, error=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.RemoteSpace(cloud_type=None, name=None, provider_attributes=None, provider_id=None, subnets=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.RemoveBlocksArgs(all_=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.ResolveCharmResult(error=None, url=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.ResolveCharmResults(urls=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.ResolveCharms(references=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.Resolved(retry=None, unit_name=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.ResolvedModeResult(error=None, mode=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.ResolvedModeResults(results=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.Resource(charmresource=None, application=None, id_=None, pending_id=None, timestamp=None, username=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.ResourceResult(errorresult=None, resource=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.ResourcesResult(errorresult=None, charm_store_resources=None, resources=None, unit_resources=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.ResourcesResults(results=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.RestoreArgs(backup_id=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.ResumeReplicationParams(members=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.RetryStrategy(jitter_retry_time=None, max_retry_time=None, min_retry_time=None, retry_time_factor=None, should_retry=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.RetryStrategyResult(error=None, result=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.RetryStrategyResults(results=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.RunParams(applications=None, commands=None, machines=None, timeout=None, units=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.SSHAddressResult(address=None, error=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.SSHAddressResults(results=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.SSHAddressesResult(addresses=None, error=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.SSHAddressesResults(results=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.SSHHostKeySet(entity_keys=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.SSHHostKeys(public_keys=None, tag=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.SSHProxyResult(use_proxy=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.SSHPublicKeysResult(error=None, public_keys=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.SSHPublicKeysResults(results=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.SerializedModel(bytes_=None, charms=None, tools=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.SerializedModelResource(application=None, application_revision=None, charmstore_revision=None, name=None, unit_revisions=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.SerializedModelResourceRevision(description=None, fingerprint=None, origin=None, path=None, revision=None, size=None, timestamp=None, type_=None, username=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.SerializedModelTools(uri=None, version=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.SetConstraints(application=None, constraints=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.SetMachineBlockDevices(machine_block_devices=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.SetMachineNetworkConfig(config=None, tag=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.SetMachinesAddresses(machine_addresses=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.SetMigrationPhaseArgs(phase=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.SetMigrationStatusMessageArgs(message=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.SetModelAgentVersion(version=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.SetModelDefaults(config=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.SetPayloadStatusArg(entity=None, status=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.SetPayloadStatusArgs(args=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.SetStatus(entities=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.SetStatusArg(entity=None, status=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.SetStatusArgs(args=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.Settings(ftp=None, http=None, https=None, noproxy=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.SettingsResult(error=None, settings=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.SettingsResults(results=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.SingularClaim(controller_tag=None, duration=None, model_tag=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.SingularClaims(claims=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.Space(error=None, name=None, subnets=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.SpaceResult(error=None, tag=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.SpaceResults(results=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.StateServingInfo(api_port=None, ca_private_key=None, cert=None, private_key=None, shared_secret=None, state_port=None, system_identity=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.StatusHistoryFilter(date=None, delta=None, size=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.StatusHistoryPruneArgs(max_history_mb=None, max_history_time=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.StatusHistoryRequest(filter_=None, historykind=None, size=None, tag=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.StatusHistoryRequests(requests=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.StatusHistoryResult(error=None, history=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.StatusHistoryResults(results=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.StatusParams(patterns=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.StatusResult(data=None, error=None, id_=None, info=None, life=None, since=None, status=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.StatusResults(results=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.StorageAddParams(name=None, storage=None, unit=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.StorageAttachment(kind=None, life=None, location=None, owner_tag=None, storage_tag=None, unit_tag=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.StorageAttachmentDetails(location=None, machine_tag=None, storage_tag=None, unit_tag=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.StorageAttachmentId(storage_tag=None, unit_tag=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.StorageAttachmentIds(ids=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.StorageAttachmentIdsResult(error=None, result=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.StorageAttachmentIdsResults(results=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.StorageAttachmentResult(error=None, result=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.StorageAttachmentResults(results=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.StorageConstraints(count=None, pool=None, size=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.StorageDetails(attachments=None, kind=None, owner_tag=None, persistent=None, status=None, storage_tag=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.StorageDetailsListResult(error=None, result=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.StorageDetailsListResults(results=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.StorageDetailsResult(error=None, result=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.StorageDetailsResults(results=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.StorageFilter(**unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.StorageFilters(filters=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.StoragePool(attrs=None, name=None, provider=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.StoragePoolFilter(names=None, providers=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.StoragePoolFilters(filters=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.StoragePoolsResult(error=None, storage_pools=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.StoragePoolsResults(results=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.StoragesAddParams(storages=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.StringBoolResult(error=None, ok=None, result=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.StringBoolResults(results=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.StringResult(error=None, result=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.StringResults(results=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.StringsResult(error=None, result=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.StringsResults(results=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.StringsWatchResult(changes=None, error=None, watcher_id=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.StringsWatchResults(results=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.Subnet(cidr=None, life=None, provider_id=None, space_tag=None, status=None, vlan_tag=None, zones=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.SubnetsFilters(space_tag=None, zone=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.Tools(sha256=None, size=None, url=None, version=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.ToolsResult(disable_ssl_hostname_verification=None, error=None, tools=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.ToolsResults(results=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.TrackArgs(payloads=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.TrackPayloadArgs(payloads=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.UndertakerModelInfo(global_name=None, is_system=None, life=None, name=None, uuid=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.UndertakerModelInfoResult(error=None, result=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.UnitNetworkConfig(binding_name=None, unit_tag=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.UnitNetworkConfigResult(error=None, info=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.UnitNetworkConfigResults(results=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.UnitResourceResult(errorresult=None, resource=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.UnitResources(entity=None, download_progress=None, resources=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.UnitResourcesResult(errorresult=None, resources=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.UnitSettings(version=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.UnitStatus(agent_status=None, charm=None, leader=None, machine=None, opened_ports=None, public_address=None, subordinates=None, workload_status=None, workload_version=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.UnitsNetworkConfig(args=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.UnsetModelDefaults(keys=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.UpdateBehavior(enable_os_refresh_update=None, enable_os_upgrade=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.UpdateCloudCredential(credential=None, tag=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.UpdateCloudCredentials(credentials=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.UpgradeMongoParams(target=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.UserAccess(access=None, user_tag=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.UserAccessResult(error=None, result=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.UserAccessResults(results=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.UserCloud(cloud_tag=None, user_tag=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.UserClouds(user_clouds=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.UserInfo(access=None, created_by=None, date_created=None, disabled=None, display_name=None, last_connection=None, username=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.UserInfoRequest(entities=None, include_disabled=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.UserInfoResult(error=None, result=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.UserInfoResults(results=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.UserModel(last_connection=None, model=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.UserModelList(user_models=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.Value(arch=None, container=None, cores=None, cpu_power=None, instance_type=None, mem=None, root_disk=None, spaces=None, tags=None, virt_type=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.Version(version=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.VersionResult(error=None, version=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.VersionResults(results=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.Volume(info=None, volume_tag=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.VolumeAttachment(info=None, machine_tag=None, volume_tag=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.VolumeAttachmentDetails(volumeattachmentinfo=None, life=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.VolumeAttachmentInfo(bus_address=None, device_link=None, device_name=None, read_only=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.VolumeAttachmentParams(instance_id=None, machine_tag=None, provider=None, read_only=None, volume_id=None, volume_tag=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.VolumeAttachmentParamsResult(error=None, result=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.VolumeAttachmentParamsResults(results=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.VolumeAttachmentResult(error=None, result=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.VolumeAttachmentResults(results=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.VolumeAttachments(volume_attachments=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.VolumeDetails(info=None, machine_attachments=None, status=None, storage=None, volume_tag=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.VolumeDetailsListResult(error=None, result=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.VolumeDetailsListResults(results=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.VolumeFilter(machines=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.VolumeFilters(filters=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.VolumeInfo(hardware_id=None, persistent=None, size=None, volume_id=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.VolumeParams(attachment=None, attributes=None, provider=None, size=None, tags=None, volume_tag=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.VolumeParamsResult(error=None, result=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.VolumeParamsResults(results=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.VolumeResult(error=None, result=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.VolumeResults(results=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.Volumes(volumes=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.WatchContainer(container_type=None, machine_tag=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.WatchContainers(params=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.ZoneResult(available=None, error=None, name=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

class juju.client._definitions.ZoneResults(results=None, **unknown_fields)[source]

Bases: juju.client.facade.Type

juju.client._client module

class juju.client._client.ActionFacade[source]

Bases: juju.client._client.TypeFactory

class juju.client._client.AgentFacade[source]

Bases: juju.client._client.TypeFactory

class juju.client._client.AgentToolsFacade[source]

Bases: juju.client._client.TypeFactory

class juju.client._client.AllModelWatcherFacade[source]

Bases: juju.client._client.TypeFactory

class juju.client._client.AllWatcherFacade[source]

Bases: juju.client._client.TypeFactory

class juju.client._client.AnnotationsFacade[source]

Bases: juju.client._client.TypeFactory

class juju.client._client.ApplicationFacade[source]

Bases: juju.client._client.TypeFactory

class juju.client._client.ApplicationRelationsWatcherFacade[source]

Bases: juju.client._client.TypeFactory

class juju.client._client.ApplicationScalerFacade[source]

Bases: juju.client._client.TypeFactory

class juju.client._client.BackupsFacade[source]

Bases: juju.client._client.TypeFactory

class juju.client._client.BlockFacade[source]

Bases: juju.client._client.TypeFactory

class juju.client._client.BundleFacade[source]

Bases: juju.client._client.TypeFactory

class juju.client._client.CharmRevisionUpdaterFacade[source]

Bases: juju.client._client.TypeFactory

class juju.client._client.CharmsFacade[source]

Bases: juju.client._client.TypeFactory

class juju.client._client.CleanerFacade[source]

Bases: juju.client._client.TypeFactory

class juju.client._client.ClientFacade[source]

Bases: juju.client._client.TypeFactory

class juju.client._client.CloudFacade[source]

Bases: juju.client._client.TypeFactory

class juju.client._client.ControllerFacade[source]

Bases: juju.client._client.TypeFactory

class juju.client._client.DeployerFacade[source]

Bases: juju.client._client.TypeFactory

class juju.client._client.DiscoverSpacesFacade[source]

Bases: juju.client._client.TypeFactory

class juju.client._client.DiskManagerFacade[source]

Bases: juju.client._client.TypeFactory

class juju.client._client.EntityWatcherFacade[source]

Bases: juju.client._client.TypeFactory

class juju.client._client.FilesystemAttachmentsWatcherFacade[source]

Bases: juju.client._client.TypeFactory

class juju.client._client.FirewallerFacade[source]

Bases: juju.client._client.TypeFactory

class juju.client._client.HighAvailabilityFacade[source]

Bases: juju.client._client.TypeFactory

class juju.client._client.HostKeyReporterFacade[source]

Bases: juju.client._client.TypeFactory

class juju.client._client.ImageManagerFacade[source]

Bases: juju.client._client.TypeFactory

class juju.client._client.ImageMetadataFacade[source]

Bases: juju.client._client.TypeFactory

class juju.client._client.InstancePollerFacade[source]

Bases: juju.client._client.TypeFactory

class juju.client._client.KeyManagerFacade[source]

Bases: juju.client._client.TypeFactory

class juju.client._client.KeyUpdaterFacade[source]

Bases: juju.client._client.TypeFactory

class juju.client._client.LeadershipServiceFacade[source]

Bases: juju.client._client.TypeFactory

class juju.client._client.LifeFlagFacade[source]

Bases: juju.client._client.TypeFactory

class juju.client._client.LogForwardingFacade[source]

Bases: juju.client._client.TypeFactory

class juju.client._client.LoggerFacade[source]

Bases: juju.client._client.TypeFactory

class juju.client._client.MachineActionsFacade[source]

Bases: juju.client._client.TypeFactory

class juju.client._client.MachineManagerFacade[source]

Bases: juju.client._client.TypeFactory

class juju.client._client.MachineUndertakerFacade[source]

Bases: juju.client._client.TypeFactory

class juju.client._client.MachinerFacade[source]

Bases: juju.client._client.TypeFactory

class juju.client._client.MeterStatusFacade[source]

Bases: juju.client._client.TypeFactory

class juju.client._client.MetricsAdderFacade[source]

Bases: juju.client._client.TypeFactory

class juju.client._client.MetricsDebugFacade[source]

Bases: juju.client._client.TypeFactory

class juju.client._client.MetricsManagerFacade[source]

Bases: juju.client._client.TypeFactory

class juju.client._client.MigrationFlagFacade[source]

Bases: juju.client._client.TypeFactory

class juju.client._client.MigrationMasterFacade[source]

Bases: juju.client._client.TypeFactory

class juju.client._client.MigrationMinionFacade[source]

Bases: juju.client._client.TypeFactory

class juju.client._client.MigrationStatusWatcherFacade[source]

Bases: juju.client._client.TypeFactory

class juju.client._client.MigrationTargetFacade[source]

Bases: juju.client._client.TypeFactory

class juju.client._client.ModelConfigFacade[source]

Bases: juju.client._client.TypeFactory

class juju.client._client.ModelManagerFacade[source]

Bases: juju.client._client.TypeFactory

class juju.client._client.NotifyWatcherFacade[source]

Bases: juju.client._client.TypeFactory

class juju.client._client.PayloadsFacade[source]

Bases: juju.client._client.TypeFactory

class juju.client._client.PayloadsHookContextFacade[source]

Bases: juju.client._client.TypeFactory

class juju.client._client.PingerFacade[source]

Bases: juju.client._client.TypeFactory

class juju.client._client.ProvisionerFacade[source]

Bases: juju.client._client.TypeFactory

class juju.client._client.ProxyUpdaterFacade[source]

Bases: juju.client._client.TypeFactory

class juju.client._client.RebootFacade[source]

Bases: juju.client._client.TypeFactory

class juju.client._client.RelationUnitsWatcherFacade[source]

Bases: juju.client._client.TypeFactory

class juju.client._client.RemoteApplicationWatcherFacade[source]

Bases: juju.client._client.TypeFactory

class juju.client._client.RemoteRelationsWatcherFacade[source]

Bases: juju.client._client.TypeFactory

class juju.client._client.ResourcesFacade[source]

Bases: juju.client._client.TypeFactory

class juju.client._client.ResourcesHookContextFacade[source]

Bases: juju.client._client.TypeFactory

class juju.client._client.ResumerFacade[source]

Bases: juju.client._client.TypeFactory

class juju.client._client.RetryStrategyFacade[source]

Bases: juju.client._client.TypeFactory

class juju.client._client.SSHClientFacade[source]

Bases: juju.client._client.TypeFactory

class juju.client._client.SingularFacade[source]

Bases: juju.client._client.TypeFactory

class juju.client._client.SpacesFacade[source]

Bases: juju.client._client.TypeFactory

class juju.client._client.StatusHistoryFacade[source]

Bases: juju.client._client.TypeFactory

class juju.client._client.StorageFacade[source]

Bases: juju.client._client.TypeFactory

class juju.client._client.StorageProvisionerFacade[source]

Bases: juju.client._client.TypeFactory

class juju.client._client.StringsWatcherFacade[source]

Bases: juju.client._client.TypeFactory

class juju.client._client.SubnetsFacade[source]

Bases: juju.client._client.TypeFactory

class juju.client._client.TypeFactory[source]

Bases: object

classmethod from_connection(connection)[source]

Given a connected Connection object, return an initialized and connected instance of an API Interface matching the name of this class.

@param connection: initialized Connection object.

class juju.client._client.UndertakerFacade[source]

Bases: juju.client._client.TypeFactory

class juju.client._client.UnitAssignerFacade[source]

Bases: juju.client._client.TypeFactory

class juju.client._client.UniterFacade[source]

Bases: juju.client._client.TypeFactory

class juju.client._client.UpgraderFacade[source]

Bases: juju.client._client.TypeFactory

class juju.client._client.UserManagerFacade[source]

Bases: juju.client._client.TypeFactory

class juju.client._client.VolumeAttachmentsWatcherFacade[source]

Bases: juju.client._client.TypeFactory

juju.client._client.lookup_facade(name, version)[source]

Given a facade name and version, attempt to pull that facade out of the correct client<version>.py file.

juju.client._client1 module

class juju.client._client1.AgentToolsFacade[source]

Bases: juju.client.facade.Type

coroutine UpdateToolsAvailable()[source]

Returns -> None

name = ‘AgentTools’
schema = {‘type’: ‘object’, ‘properties’: {‘UpdateToolsAvailable’: {‘type’: ‘object’}}}
version = 1
class juju.client._client1.AllWatcherFacade[source]

Bases: juju.client.facade.Type

coroutine Next()[source]

Returns -> typing.Sequence<+T_co>[~Delta]<~Delta>

coroutine Stop()[source]

Returns -> None

connect(connection)
from_json(data)
name = ‘AllWatcher’
coroutine rpc(msg)[source]
schema = {‘type’: ‘object’, ‘definitions’: {‘Delta’: {‘required’: [‘removed’, ‘entity’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘entity’: {‘type’: ‘object’, ‘additionalProperties’: True}, ‘removed’: {‘type’: ‘boolean’}}}, ‘AllWatcherNextResults’: {‘required’: [‘deltas’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘deltas’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/Delta’}}}}}, ‘properties’: {‘Next’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/AllWatcherNextResults’}}}, ‘Stop’: {‘type’: ‘object’}}}
serialize()
to_json()
version = 1
class juju.client._client1.ApplicationRelationsWatcherFacade[source]

Bases: juju.client.facade.Type

coroutine Next()[source]

Returns -> typing.Union[str, _ForwardRef(‘ApplicationRelationsChange’), _ForwardRef(‘Error’)]

coroutine Stop()[source]

Returns -> None

name = ‘ApplicationRelationsWatcher’
schema = {‘type’: ‘object’, ‘definitions’: {‘Macaroon’: {‘type’: ‘object’, ‘additionalProperties’: False}, ‘Error’: {‘required’: [‘message’, ‘code’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘message’: {‘type’: ‘string’}, ‘code’: {‘type’: ‘string’}, ‘info’: {‘$ref’: ‘#/definitions/ErrorInfo’}}}, ‘RelationChange’: {‘required’: [‘id’, ‘life’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘id’: {‘type’: ‘integer’}, ‘life’: {‘type’: ‘string’}, ‘changedunits’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘$ref’: ‘#/definitions/RelationUnitChange’}}}, ‘departedunits’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}}}, ‘ApplicationRelationsChange’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘changed’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/RelationChange’}}, ‘removed’: {‘type’: ‘array’, ‘items’: {‘type’: ‘integer’}}}}, ‘ApplicationRelationsWatchResult’: {‘required’: [‘ApplicationRelationsWatcherId’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘changes’: {‘$ref’: ‘#/definitions/ApplicationRelationsChange’}, ‘error’: {‘$ref’: ‘#/definitions/Error’}, ‘ApplicationRelationsWatcherId’: {‘type’: ‘string’}}}, ‘RelationUnitChange’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘settings’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘type’: ‘object’, ‘additionalProperties’: True}}}}}, ‘ErrorInfo’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘macaroon’: {‘$ref’: ‘#/definitions/Macaroon’}, ‘macaroon-path’: {‘type’: ‘string’}}}}, ‘properties’: {‘Next’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ApplicationRelationsWatchResult’}}}, ‘Stop’: {‘type’: ‘object’}}}
version = 1
class juju.client._client1.ApplicationScalerFacade[source]

Bases: juju.client.facade.Type

coroutine Rescale(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~ErrorResult]<~ErrorResult>

coroutine Watch()[source]

Returns -> typing.Union[typing.Sequence<+T_co>[str], _ForwardRef(‘Error’)]

name = ‘ApplicationScaler’
schema = {‘type’: ‘object’, ‘definitions’: {‘Macaroon’: {‘type’: ‘object’, ‘additionalProperties’: False}, ‘Error’: {‘required’: [‘message’, ‘code’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘message’: {‘type’: ‘string’}, ‘code’: {‘type’: ‘string’}, ‘info’: {‘$ref’: ‘#/definitions/ErrorInfo’}}}, ‘Entity’: {‘required’: [‘tag’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘tag’: {‘type’: ‘string’}}}, ‘ErrorResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/ErrorResult’}}}}, ‘StringsWatchResult’: {‘required’: [‘watcher-id’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘watcher-id’: {‘type’: ‘string’}, ‘changes’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}, ‘error’: {‘$ref’: ‘#/definitions/Error’}}}, ‘ErrorResult’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}}}, ‘Entities’: {‘required’: [‘entities’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘entities’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/Entity’}}}}, ‘ErrorInfo’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘macaroon’: {‘$ref’: ‘#/definitions/Macaroon’}, ‘macaroon-path’: {‘type’: ‘string’}}}}, ‘properties’: {‘Watch’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/StringsWatchResult’}}}, ‘Rescale’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ErrorResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}}}
version = 1
class juju.client._client1.BackupsFacade[source]

Bases: juju.client.facade.Type

coroutine Create(notes)[source]

notes : str Returns -> typing.Union[str, int, _ForwardRef(‘Number’)]

coroutine FinishRestore()[source]

Returns -> None

coroutine Info(id_)[source]

id_ : str Returns -> typing.Union[str, int, _ForwardRef(‘Number’)]

coroutine List()[source]

Returns -> typing.Sequence<+T_co>[~BackupsMetadataResult]<~BackupsMetadataResult>

coroutine PrepareRestore()[source]

Returns -> None

coroutine Remove(id_)[source]

id_ : str Returns -> None

coroutine Restore(backup_id)[source]

backup_id : str Returns -> None

name = ‘Backups’
schema = {‘type’: ‘object’, ‘definitions’: {‘RestoreArgs’: {‘required’: [‘backup-id’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘backup-id’: {‘type’: ‘string’}}}, ‘BackupsCreateArgs’: {‘required’: [‘notes’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘notes’: {‘type’: ‘string’}}}, ‘Number’: {‘required’: [‘Major’, ‘Minor’, ‘Tag’, ‘Patch’, ‘Build’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘Major’: {‘type’: ‘integer’}, ‘Minor’: {‘type’: ‘integer’}, ‘Tag’: {‘type’: ‘string’}, ‘Patch’: {‘type’: ‘integer’}, ‘Build’: {‘type’: ‘integer’}}}, ‘BackupsMetadataResult’: {‘required’: [‘id’, ‘checksum’, ‘checksum-format’, ‘size’, ‘stored’, ‘started’, ‘finished’, ‘notes’, ‘model’, ‘machine’, ‘hostname’, ‘version’, ‘series’, ‘ca-cert’, ‘ca-private-key’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘started’: {‘type’: ‘string’, ‘format’: ‘date-time’}, ‘id’: {‘type’: ‘string’}, ‘checksum’: {‘type’: ‘string’}, ‘notes’: {‘type’: ‘string’}, ‘stored’: {‘type’: ‘string’, ‘format’: ‘date-time’}, ‘finished’: {‘type’: ‘string’, ‘format’: ‘date-time’}, ‘series’: {‘type’: ‘string’}, ‘ca-private-key’: {‘type’: ‘string’}, ‘ca-cert’: {‘type’: ‘string’}, ‘checksum-format’: {‘type’: ‘string’}, ‘hostname’: {‘type’: ‘string’}, ‘version’: {‘$ref’: ‘#/definitions/Number’}, ‘machine’: {‘type’: ‘string’}, ‘size’: {‘type’: ‘integer’}, ‘model’: {‘type’: ‘string’}}}, ‘BackupsListArgs’: {‘type’: ‘object’, ‘additionalProperties’: False}, ‘BackupsRemoveArgs’: {‘required’: [‘id’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘id’: {‘type’: ‘string’}}}, ‘BackupsListResult’: {‘required’: [‘list’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘list’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/BackupsMetadataResult’}}}}, ‘BackupsInfoArgs’: {‘required’: [‘id’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘id’: {‘type’: ‘string’}}}}, ‘properties’: {‘FinishRestore’: {‘type’: ‘object’}, ‘PrepareRestore’: {‘type’: ‘object’}, ‘Remove’: {‘type’: ‘object’, ‘properties’: {‘Params’: {‘$ref’: ‘#/definitions/BackupsRemoveArgs’}}}, ‘List’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/BackupsListResult’}, ‘Params’: {‘$ref’: ‘#/definitions/BackupsListArgs’}}}, ‘Restore’: {‘type’: ‘object’, ‘properties’: {‘Params’: {‘$ref’: ‘#/definitions/RestoreArgs’}}}, ‘Info’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/BackupsMetadataResult’}, ‘Params’: {‘$ref’: ‘#/definitions/BackupsInfoArgs’}}}, ‘Create’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/BackupsMetadataResult’}, ‘Params’: {‘$ref’: ‘#/definitions/BackupsCreateArgs’}}}}}
version = 1
class juju.client._client1.BundleFacade[source]

Bases: juju.client.facade.Type

coroutine GetChanges(yaml)[source]

yaml : str Returns -> typing.Sequence<+T_co>[~BundleChange]<~BundleChange>

name = ‘Bundle’
schema = {‘type’: ‘object’, ‘definitions’: {‘BundleChangesParams’: {‘required’: [‘yaml’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘yaml’: {‘type’: ‘string’}}}, ‘BundleChange’: {‘required’: [‘id’, ‘method’, ‘args’, ‘requires’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘method’: {‘type’: ‘string’}, ‘id’: {‘type’: ‘string’}, ‘args’: {‘type’: ‘array’, ‘items’: {‘type’: ‘object’, ‘additionalProperties’: True}}, ‘requires’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}}}, ‘BundleChangesResults’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘errors’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}, ‘changes’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/BundleChange’}}}}}, ‘properties’: {‘GetChanges’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/BundleChangesResults’}, ‘Params’: {‘$ref’: ‘#/definitions/BundleChangesParams’}}}}}
version = 1
class juju.client._client1.ClientFacade[source]

Bases: juju.client.facade.Type

coroutine APIHostPorts()[source]

Returns -> typing.Sequence<+T_co>[~HostPort]<~HostPort>

coroutine AbortCurrentUpgrade()[source]

Returns -> None

coroutine AddCharm(channel, url)[source]

channel : str url : str Returns -> None

coroutine AddCharmWithAuthorization(channel, macaroon, url)[source]

channel : str macaroon : Macaroon url : str Returns -> None

coroutine AddMachines(params)[source]

params : typing.Sequence<+T_co>[~AddMachineParams]<~AddMachineParams> Returns -> typing.Sequence<+T_co>[~AddMachinesResult]<~AddMachinesResult>

coroutine AddMachinesV2(params)[source]

params : typing.Sequence<+T_co>[~AddMachineParams]<~AddMachineParams> Returns -> typing.Sequence<+T_co>[~AddMachinesResult]<~AddMachinesResult>

coroutine AgentVersion()[source]

Returns -> Number

coroutine CACert()[source]

Returns -> typing.Sequence<+T_co>[int]

coroutine DestroyMachines(force, machine_names)[source]

force : bool machine_names : typing.Sequence<+T_co>[str] Returns -> None

coroutine FindTools(arch, major, minor, number, series)[source]

arch : str major : int minor : int number : Number series : str Returns -> typing.Union[_ForwardRef(‘Error’), typing.Sequence<+T_co>[~Tools]<~Tools>]

coroutine FullStatus(patterns)[source]

patterns : typing.Sequence<+T_co>[str] Returns -> typing.Union[_ForwardRef(‘ModelStatusInfo’), typing.Sequence<+T_co>[~RelationStatus]<~RelationStatus>, typing.Mapping<~KT, +VT_co>[str, ~RemoteApplicationStatus]<~RemoteApplicationStatus>]

coroutine GetBundleChanges(yaml)[source]

yaml : str Returns -> typing.Sequence<+T_co>[~BundleChange]<~BundleChange>

coroutine GetModelConstraints()[source]

Returns -> Value

coroutine InjectMachines(params)[source]

params : typing.Sequence<+T_co>[~AddMachineParams]<~AddMachineParams> Returns -> typing.Sequence<+T_co>[~AddMachinesResult]<~AddMachinesResult>

coroutine ModelGet()[source]

Returns -> typing.Mapping<~KT, +VT_co>[str, ~ConfigValue]<~ConfigValue>

coroutine ModelInfo()[source]

Returns -> typing.Union[_ForwardRef(‘Number’), _ForwardRef(‘ModelMigrationStatus’), _ForwardRef(‘ModelSLAInfo’), _ForwardRef(‘EntityStatus’), typing.Sequence<+T_co>[~ModelUserInfo]<~ModelUserInfo>]

coroutine ModelSet(config)[source]

config : typing.Mapping<~KT, +VT_co>[str, typing.Any] Returns -> None

coroutine ModelUnset(keys)[source]

keys : typing.Sequence<+T_co>[str] Returns -> None

coroutine ModelUserInfo()[source]

Returns -> typing.Sequence<+T_co>[~ModelUserInfoResult]<~ModelUserInfoResult>

coroutine PrivateAddress(target)[source]

target : str Returns -> str

coroutine ProvisioningScript(data_dir, disable_package_commands, machine_id, nonce)[source]

data_dir : str disable_package_commands : bool machine_id : str nonce : str Returns -> str

coroutine PublicAddress(target)[source]

target : str Returns -> str

coroutine ResolveCharms(references)[source]

references : typing.Sequence<+T_co>[str] Returns -> typing.Sequence<+T_co>[~ResolveCharmResult]<~ResolveCharmResult>

coroutine Resolved(retry, unit_name)[source]

retry : bool unit_name : str Returns -> None

coroutine RetryProvisioning(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~ErrorResult]<~ErrorResult>

coroutine SLALevel()[source]

Returns -> typing.Union[_ForwardRef(‘Error’), str]

coroutine SetModelAgentVersion(version)[source]

version : Number Returns -> None

coroutine SetModelConstraints(application, constraints)[source]

application : str constraints : Value Returns -> None

coroutine SetSLALevel(creds, level)[source]

creds : typing.Sequence<+T_co>[int] level : str Returns -> None

coroutine StatusHistory(requests)[source]

requests : typing.Sequence<+T_co>[~StatusHistoryRequest]<~StatusHistoryRequest> Returns -> typing.Sequence<+T_co>[~StatusHistoryResult]<~StatusHistoryResult>

coroutine WatchAll()[source]

Returns -> str

name = ‘Client’
schema = {‘type’: ‘object’, ‘definitions’: {‘Macaroon’: {‘type’: ‘object’, ‘additionalProperties’: False}, ‘AddCharm’: {‘required’: [‘url’, ‘channel’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘url’: {‘type’: ‘string’}, ‘channel’: {‘type’: ‘string’}}}, ‘ResolveCharms’: {‘required’: [‘references’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘references’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}}}, ‘StringResult’: {‘required’: [‘result’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}, ‘result’: {‘type’: ‘string’}}}, ‘ModelSLA’: {‘required’: [‘ModelSLAInfo’, ‘creds’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘ModelSLAInfo’: {‘$ref’: ‘#/definitions/ModelSLAInfo’}, ‘creds’: {‘type’: ‘array’, ‘items’: {‘type’: ‘integer’}}}}, ‘ModelMigrationStatus’: {‘required’: [‘status’, ‘start’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘end’: {‘type’: ‘string’, ‘format’: ‘date-time’}, ‘status’: {‘type’: ‘string’}, ‘start’: {‘type’: ‘string’, ‘format’: ‘date-time’}}}, ‘NetworkInterface’: {‘required’: [‘ip-addresses’, ‘mac-address’, ‘is-up’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘ip-addresses’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}, ‘is-up’: {‘type’: ‘boolean’}, ‘space’: {‘type’: ‘string’}, ‘mac-address’: {‘type’: ‘string’}, ‘gateway’: {‘type’: ‘string’}, ‘dns-nameservers’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}}}, ‘ModelSet’: {‘required’: [‘config’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘config’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘type’: ‘object’, ‘additionalProperties’: True}}}}}, ‘ProvisioningScriptParams’: {‘required’: [‘machine-id’, ‘nonce’, ‘data-dir’, ‘disable-package-commands’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘nonce’: {‘type’: ‘string’}, ‘disable-package-commands’: {‘type’: ‘boolean’}, ‘data-dir’: {‘type’: ‘string’}, ‘machine-id’: {‘type’: ‘string’}}}, ‘HardwareCharacteristics’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘availability-zone’: {‘type’: ‘string’}, ‘mem’: {‘type’: ‘integer’}, ‘arch’: {‘type’: ‘string’}, ‘root-disk’: {‘type’: ‘integer’}, ‘tags’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}, ‘cpu-power’: {‘type’: ‘integer’}, ‘cpu-cores’: {‘type’: ‘integer’}}}, ‘StatusHistoryRequests’: {‘required’: [‘requests’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘requests’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/StatusHistoryRequest’}}}}, ‘StatusHistoryFilter’: {‘required’: [‘size’, ‘date’, ‘delta’, ‘exclude’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘date’: {‘type’: ‘string’, ‘format’: ‘date-time’}, ‘size’: {‘type’: ‘integer’}, ‘delta’: {‘type’: ‘integer’}, ‘exclude’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}}}, ‘Error’: {‘required’: [‘message’, ‘code’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘message’: {‘type’: ‘string’}, ‘code’: {‘type’: ‘string’}, ‘info’: {‘$ref’: ‘#/definitions/ErrorInfo’}}}, ‘Entities’: {‘required’: [‘entities’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘entities’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/Entity’}}}}, ‘PrivateAddressResults’: {‘required’: [‘private-address’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘private-address’: {‘type’: ‘string’}}}, ‘RemoteApplicationStatus’: {‘required’: [‘application-url’, ‘application-name’, ‘endpoints’, ‘life’, ‘relations’, ‘status’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘status’: {‘$ref’: ‘#/definitions/DetailedStatus’}, ‘application-url’: {‘type’: ‘string’}, ‘life’: {‘type’: ‘string’}, ‘err’: {‘type’: ‘object’, ‘additionalProperties’: True}, ‘relations’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}}}, ‘endpoints’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/RemoteEndpoint’}}, ‘application-name’: {‘type’: ‘string’}}}, ‘Binary’: {‘required’: [‘Number’, ‘Series’, ‘Arch’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘Arch’: {‘type’: ‘string’}, ‘Number’: {‘$ref’: ‘#/definitions/Number’}, ‘Series’: {‘type’: ‘string’}}}, ‘AddMachinesResults’: {‘required’: [‘machines’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘machines’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/AddMachinesResult’}}}}, ‘StatusHistoryRequest’: {‘required’: [‘historyKind’, ‘size’, ‘filter’, ‘tag’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘tag’: {‘type’: ‘string’}, ‘historyKind’: {‘type’: ‘string’}, ‘filter’: {‘$ref’: ‘#/definitions/StatusHistoryFilter’}, ‘size’: {‘type’: ‘integer’}}}, ‘ModelInfo’: {‘required’: [‘name’, ‘uuid’, ‘controller-uuid’, ‘cloud-tag’, ‘owner-tag’, ‘life’, ‘users’, ‘machines’, ‘sla’, ‘agent-version’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘machines’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/ModelMachineInfo’}}, ‘owner-tag’: {‘type’: ‘string’}, ‘cloud-tag’: {‘type’: ‘string’}, ‘status’: {‘$ref’: ‘#/definitions/EntityStatus’}, ‘agent-version’: {‘$ref’: ‘#/definitions/Number’}, ‘uuid’: {‘type’: ‘string’}, ‘users’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/ModelUserInfo’}}, ‘provider-type’: {‘type’: ‘string’}, ‘controller-uuid’: {‘type’: ‘string’}, ‘migration’: {‘$ref’: ‘#/definitions/ModelMigrationStatus’}, ‘life’: {‘type’: ‘string’}, ‘default-series’: {‘type’: ‘string’}, ‘cloud-credential-tag’: {‘type’: ‘string’}, ‘sla’: {‘$ref’: ‘#/definitions/ModelSLAInfo’}, ‘cloud-region’: {‘type’: ‘string’}, ‘name’: {‘type’: ‘string’}}}, ‘HostPort’: {‘required’: [‘Address’, ‘port’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘port’: {‘type’: ‘integer’}, ‘Address’: {‘$ref’: ‘#/definitions/Address’}}}, ‘BundleChange’: {‘required’: [‘id’, ‘method’, ‘args’, ‘requires’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘method’: {‘type’: ‘string’}, ‘id’: {‘type’: ‘string’}, ‘args’: {‘type’: ‘array’, ‘items’: {‘type’: ‘object’, ‘additionalProperties’: True}}, ‘requires’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}}}, ‘MachineStatus’: {‘required’: [‘agent-status’, ‘instance-status’, ‘dns-name’, ‘instance-id’, ‘series’, ‘id’, ‘containers’, ‘constraints’, ‘hardware’, ‘jobs’, ‘has-vote’, ‘wants-vote’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘jobs’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}, ‘dns-name’: {‘type’: ‘string’}, ‘containers’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘$ref’: ‘#/definitions/MachineStatus’}}}, ‘has-vote’: {‘type’: ‘boolean’}, ‘series’: {‘type’: ‘string’}, ‘constraints’: {‘type’: ‘string’}, ‘ip-addresses’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}, ‘id’: {‘type’: ‘string’}, ‘hardware’: {‘type’: ‘string’}, ‘network-interfaces’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘$ref’: ‘#/definitions/NetworkInterface’}}}, ‘wants-vote’: {‘type’: ‘boolean’}, ‘instance-status’: {‘$ref’: ‘#/definitions/DetailedStatus’}, ‘instance-id’: {‘type’: ‘string’}, ‘agent-status’: {‘$ref’: ‘#/definitions/DetailedStatus’}}}, ‘Tools’: {‘required’: [‘version’, ‘url’, ‘size’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘sha256’: {‘type’: ‘string’}, ‘url’: {‘type’: ‘string’}, ‘size’: {‘type’: ‘integer’}, ‘version’: {‘$ref’: ‘#/definitions/Binary’}}}, ‘FullStatus’: {‘required’: [‘model’, ‘machines’, ‘applications’, ‘remote-applications’, ‘relations’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘machines’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘$ref’: ‘#/definitions/MachineStatus’}}}, ‘relations’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/RelationStatus’}}, ‘applications’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘$ref’: ‘#/definitions/ApplicationStatus’}}}, ‘remote-applications’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘$ref’: ‘#/definitions/RemoteApplicationStatus’}}}, ‘model’: {‘$ref’: ‘#/definitions/ModelStatusInfo’}}}, ‘Number’: {‘required’: [‘Major’, ‘Minor’, ‘Tag’, ‘Patch’, ‘Build’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘Major’: {‘type’: ‘integer’}, ‘Minor’: {‘type’: ‘integer’}, ‘Tag’: {‘type’: ‘string’}, ‘Patch’: {‘type’: ‘integer’}, ‘Build’: {‘type’: ‘integer’}}}, ‘AddMachinesResult’: {‘required’: [‘machine’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}, ‘machine’: {‘type’: ‘string’}}}, ‘ModelUserInfo’: {‘required’: [‘user’, ‘display-name’, ‘last-connection’, ‘access’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘access’: {‘type’: ‘string’}, ‘last-connection’: {‘type’: ‘string’, ‘format’: ‘date-time’}, ‘user’: {‘type’: ‘string’}, ‘display-name’: {‘type’: ‘string’}}}, ‘UnitStatus’: {‘required’: [‘agent-status’, ‘workload-status’, ‘workload-version’, ‘machine’, ‘opened-ports’, ‘public-address’, ‘charm’, ‘subordinates’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘public-address’: {‘type’: ‘string’}, ‘charm’: {‘type’: ‘string’}, ‘machine’: {‘type’: ‘string’}, ‘subordinates’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘$ref’: ‘#/definitions/UnitStatus’}}}, ‘opened-ports’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}, ‘workload-version’: {‘type’: ‘string’}, ‘leader’: {‘type’: ‘boolean’}, ‘workload-status’: {‘$ref’: ‘#/definitions/DetailedStatus’}, ‘agent-status’: {‘$ref’: ‘#/definitions/DetailedStatus’}}}, ‘ModelStatusInfo’: {‘required’: [‘name’, ‘cloud-tag’, ‘version’, ‘available-version’, ‘model-status’, ‘meter-status’, ‘sla’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘sla’: {‘type’: ‘string’}, ‘available-version’: {‘type’: ‘string’}, ‘meter-status’: {‘$ref’: ‘#/definitions/MeterStatus’}, ‘version’: {‘type’: ‘string’}, ‘region’: {‘type’: ‘string’}, ‘model-status’: {‘$ref’: ‘#/definitions/DetailedStatus’}, ‘cloud-tag’: {‘type’: ‘string’}, ‘name’: {‘type’: ‘string’}}}, ‘ResolveCharmResults’: {‘required’: [‘urls’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘urls’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/ResolveCharmResult’}}}}, ‘AllWatcherId’: {‘required’: [‘watcher-id’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘watcher-id’: {‘type’: ‘string’}}}, ‘PrivateAddress’: {‘required’: [‘target’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘target’: {‘type’: ‘string’}}}, ‘SetModelAgentVersion’: {‘required’: [‘version’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘version’: {‘$ref’: ‘#/definitions/Number’}}}, ‘GetConstraintsResults’: {‘required’: [‘constraints’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘constraints’: {‘$ref’: ‘#/definitions/Value’}}}, ‘BundleChangesResults’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘errors’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}, ‘changes’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/BundleChange’}}}}, ‘MeterStatus’: {‘required’: [‘color’, ‘message’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘message’: {‘type’: ‘string’}, ‘color’: {‘type’: ‘string’}}}, ‘Address’: {‘required’: [‘value’, ‘type’, ‘scope’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘type’: {‘type’: ‘string’}, ‘scope’: {‘type’: ‘string’}, ‘space-name’: {‘type’: ‘string’}, ‘value’: {‘type’: ‘string’}}}, ‘DestroyMachines’: {‘required’: [‘machine-names’, ‘force’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘force’: {‘type’: ‘boolean’}, ‘machine-names’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}}}, ‘ApplicationStatus’: {‘required’: [‘charm’, ‘series’, ‘exposed’, ‘life’, ‘relations’, ‘can-upgrade-to’, ‘subordinate-to’, ‘units’, ‘meter-statuses’, ‘status’, ‘workload-version’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘charm’: {‘type’: ‘string’}, ‘status’: {‘$ref’: ‘#/definitions/DetailedStatus’}, ‘series’: {‘type’: ‘string’}, ‘can-upgrade-to’: {‘type’: ‘string’}, ‘relations’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}}}, ‘life’: {‘type’: ‘string’}, ‘workload-version’: {‘type’: ‘string’}, ‘err’: {‘type’: ‘object’, ‘additionalProperties’: True}, ‘subordinate-to’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}, ‘exposed’: {‘type’: ‘boolean’}, ‘units’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘$ref’: ‘#/definitions/UnitStatus’}}}, ‘meter-statuses’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘$ref’: ‘#/definitions/MeterStatus’}}}}}, ‘AgentVersionResult’: {‘required’: [‘version’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘version’: {‘$ref’: ‘#/definitions/Number’}}}, ‘PublicAddress’: {‘required’: [‘target’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘target’: {‘type’: ‘string’}}}, ‘DetailedStatus’: {‘required’: [‘status’, ‘info’, ‘data’, ‘since’, ‘kind’, ‘version’, ‘life’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘kind’: {‘type’: ‘string’}, ‘version’: {‘type’: ‘string’}, ‘status’: {‘type’: ‘string’}, ‘life’: {‘type’: ‘string’}, ‘err’: {‘type’: ‘object’, ‘additionalProperties’: True}, ‘since’: {‘type’: ‘string’, ‘format’: ‘date-time’}, ‘info’: {‘type’: ‘string’}, ‘data’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘type’: ‘object’, ‘additionalProperties’: True}}}}}, ‘APIHostPortsResult’: {‘required’: [‘servers’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘servers’: {‘type’: ‘array’, ‘items’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/HostPort’}}}}}, ‘History’: {‘required’: [‘statuses’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}, ‘statuses’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/DetailedStatus’}}}}, ‘ModelUserInfoResult’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}, ‘result’: {‘$ref’: ‘#/definitions/ModelUserInfo’}}}, ‘RelationStatus’: {‘required’: [‘id’, ‘key’, ‘interface’, ‘scope’, ‘endpoints’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘key’: {‘type’: ‘string’}, ‘scope’: {‘type’: ‘string’}, ‘id’: {‘type’: ‘integer’}, ‘interface’: {‘type’: ‘string’}, ‘endpoints’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/EndpointStatus’}}}}, ‘ErrorResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/ErrorResult’}}}}, ‘ModelUnset’: {‘required’: [‘keys’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘keys’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}}}, ‘BundleChangesParams’: {‘required’: [‘yaml’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘yaml’: {‘type’: ‘string’}}}, ‘ModelSLAInfo’: {‘required’: [‘level’, ‘owner’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘level’: {‘type’: ‘string’}, ‘owner’: {‘type’: ‘string’}}}, ‘AddMachineParams’: {‘required’: [‘series’, ‘constraints’, ‘jobs’, ‘parent-id’, ‘container-type’, ‘instance-id’, ‘nonce’, ‘hardware-characteristics’, ‘addresses’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘jobs’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}, ‘nonce’: {‘type’: ‘string’}, ‘parent-id’: {‘type’: ‘string’}, ‘container-type’: {‘type’: ‘string’}, ‘disks’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/Constraints’}}, ‘placement’: {‘$ref’: ‘#/definitions/Placement’}, ‘addresses’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/Address’}}, ‘series’: {‘type’: ‘string’}, ‘constraints’: {‘$ref’: ‘#/definitions/Value’}, ‘hardware-characteristics’: {‘$ref’: ‘#/definitions/HardwareCharacteristics’}, ‘instance-id’: {‘type’: ‘string’}}}, ‘AddMachines’: {‘required’: [‘params’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘params’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/AddMachineParams’}}}}, ‘ErrorInfo’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘macaroon’: {‘$ref’: ‘#/definitions/Macaroon’}, ‘macaroon-path’: {‘type’: ‘string’}}}, ‘ProvisioningScriptResult’: {‘required’: [‘script’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘script’: {‘type’: ‘string’}}}, ‘Entity’: {‘required’: [‘tag’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘tag’: {‘type’: ‘string’}}}, ‘PublicAddressResults’: {‘required’: [‘public-address’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘public-address’: {‘type’: ‘string’}}}, ‘MachineHardware’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘availability-zone’: {‘type’: ‘string’}, ‘mem’: {‘type’: ‘integer’}, ‘arch’: {‘type’: ‘string’}, ‘cores’: {‘type’: ‘integer’}, ‘root-disk’: {‘type’: ‘integer’}, ‘tags’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}, ‘cpu-power’: {‘type’: ‘integer’}}}, ‘ResolveCharmResult’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘url’: {‘type’: ‘string’}, ‘error’: {‘type’: ‘string’}}}, ‘StatusParams’: {‘required’: [‘patterns’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘patterns’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}}}, ‘BytesResult’: {‘required’: [‘result’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘result’: {‘type’: ‘array’, ‘items’: {‘type’: ‘integer’}}}}, ‘ModelUserInfoResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/ModelUserInfoResult’}}}}, ‘Placement’: {‘required’: [‘scope’, ‘directive’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘scope’: {‘type’: ‘string’}, ‘directive’: {‘type’: ‘string’}}}, ‘FindToolsParams’: {‘required’: [‘number’, ‘major’, ‘minor’, ‘arch’, ‘series’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘minor’: {‘type’: ‘integer’}, ‘number’: {‘$ref’: ‘#/definitions/Number’}, ‘series’: {‘type’: ‘string’}, ‘arch’: {‘type’: ‘string’}, ‘major’: {‘type’: ‘integer’}}}, ‘ErrorResult’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}}}, ‘RemoteEndpoint’: {‘required’: [‘name’, ‘role’, ‘interface’, ‘limit’, ‘scope’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘scope’: {‘type’: ‘string’}, ‘limit’: {‘type’: ‘integer’}, ‘interface’: {‘type’: ‘string’}, ‘role’: {‘type’: ‘string’}, ‘name’: {‘type’: ‘string’}}}, ‘EntityStatus’: {‘required’: [‘status’, ‘info’, ‘since’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘since’: {‘type’: ‘string’, ‘format’: ‘date-time’}, ‘status’: {‘type’: ‘string’}, ‘info’: {‘type’: ‘string’}, ‘data’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘type’: ‘object’, ‘additionalProperties’: True}}}}}, ‘EndpointStatus’: {‘required’: [‘application’, ‘name’, ‘role’, ‘subordinate’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘application’: {‘type’: ‘string’}, ‘subordinate’: {‘type’: ‘boolean’}, ‘role’: {‘type’: ‘string’}, ‘name’: {‘type’: ‘string’}}}, ‘SetConstraints’: {‘required’: [‘application’, ‘constraints’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘application’: {‘type’: ‘string’}, ‘constraints’: {‘$ref’: ‘#/definitions/Value’}}}, ‘ModelMachineInfo’: {‘required’: [‘id’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘id’: {‘type’: ‘string’}, ‘hardware’: {‘$ref’: ‘#/definitions/MachineHardware’}, ‘has-vote’: {‘type’: ‘boolean’}, ‘wants-vote’: {‘type’: ‘boolean’}, ‘status’: {‘type’: ‘string’}, ‘instance-id’: {‘type’: ‘string’}}}, ‘FindToolsResult’: {‘required’: [‘list’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}, ‘list’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/Tools’}}}}, ‘ModelConfigResults’: {‘required’: [‘config’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘config’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘$ref’: ‘#/definitions/ConfigValue’}}}}}, ‘Resolved’: {‘required’: [‘unit-name’, ‘retry’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘unit-name’: {‘type’: ‘string’}, ‘retry’: {‘type’: ‘boolean’}}}, ‘StatusHistoryResult’: {‘required’: [‘history’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}, ‘history’: {‘$ref’: ‘#/definitions/History’}}}, ‘StatusHistoryResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/StatusHistoryResult’}}}}, ‘ConfigValue’: {‘required’: [‘value’, ‘source’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘source’: {‘type’: ‘string’}, ‘value’: {‘type’: ‘object’, ‘additionalProperties’: True}}}, ‘Value’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘mem’: {‘type’: ‘integer’}, ‘tags’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}, ‘arch’: {‘type’: ‘string’}, ‘cores’: {‘type’: ‘integer’}, ‘root-disk’: {‘type’: ‘integer’}, ‘container’: {‘type’: ‘string’}, ‘spaces’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}, ‘cpu-power’: {‘type’: ‘integer’}, ‘virt-type’: {‘type’: ‘string’}, ‘instance-type’: {‘type’: ‘string’}}}, ‘AddCharmWithAuthorization’: {‘required’: [‘url’, ‘channel’, ‘macaroon’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘url’: {‘type’: ‘string’}, ‘macaroon’: {‘$ref’: ‘#/definitions/Macaroon’}, ‘channel’: {‘type’: ‘string’}}}, ‘Constraints’: {‘required’: [‘Pool’, ‘Size’, ‘Count’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘Count’: {‘type’: ‘integer’}, ‘Pool’: {‘type’: ‘string’}, ‘Size’: {‘type’: ‘integer’}}}}, ‘properties’: {‘SetSLALevel’: {‘type’: ‘object’, ‘properties’: {‘Params’: {‘$ref’: ‘#/definitions/ModelSLA’}}}, ‘AddCharm’: {‘type’: ‘object’, ‘properties’: {‘Params’: {‘$ref’: ‘#/definitions/AddCharm’}}}, ‘SetModelConstraints’: {‘type’: ‘object’, ‘properties’: {‘Params’: {‘$ref’: ‘#/definitions/SetConstraints’}}}, ‘AbortCurrentUpgrade’: {‘type’: ‘object’}, ‘FindTools’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/FindToolsResult’}, ‘Params’: {‘$ref’: ‘#/definitions/FindToolsParams’}}}, ‘AddMachines’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/AddMachinesResults’}, ‘Params’: {‘$ref’: ‘#/definitions/AddMachines’}}}, ‘AgentVersion’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/AgentVersionResult’}}}, ‘ModelUnset’: {‘type’: ‘object’, ‘properties’: {‘Params’: {‘$ref’: ‘#/definitions/ModelUnset’}}}, ‘RetryProvisioning’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ErrorResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘ModelGet’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ModelConfigResults’}}}, ‘WatchAll’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/AllWatcherId’}}}, ‘ProvisioningScript’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ProvisioningScriptResult’}, ‘Params’: {‘$ref’: ‘#/definitions/ProvisioningScriptParams’}}}, ‘ModelInfo’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ModelInfo’}}}, ‘GetModelConstraints’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/GetConstraintsResults’}}}, ‘PublicAddress’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/PublicAddressResults’}, ‘Params’: {‘$ref’: ‘#/definitions/PublicAddress’}}}, ‘FullStatus’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/FullStatus’}, ‘Params’: {‘$ref’: ‘#/definitions/StatusParams’}}}, ‘AddMachinesV2’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/AddMachinesResults’}, ‘Params’: {‘$ref’: ‘#/definitions/AddMachines’}}}, ‘ModelUserInfo’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ModelUserInfoResults’}}}, ‘StatusHistory’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/StatusHistoryResults’}, ‘Params’: {‘$ref’: ‘#/definitions/StatusHistoryRequests’}}}, ‘InjectMachines’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/AddMachinesResults’}, ‘Params’: {‘$ref’: ‘#/definitions/AddMachines’}}}, ‘SLALevel’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/StringResult’}}}, ‘ModelSet’: {‘type’: ‘object’, ‘properties’: {‘Params’: {‘$ref’: ‘#/definitions/ModelSet’}}}, ‘ResolveCharms’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ResolveCharmResults’}, ‘Params’: {‘$ref’: ‘#/definitions/ResolveCharms’}}}, ‘PrivateAddress’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/PrivateAddressResults’}, ‘Params’: {‘$ref’: ‘#/definitions/PrivateAddress’}}}, ‘SetModelAgentVersion’: {‘type’: ‘object’, ‘properties’: {‘Params’: {‘$ref’: ‘#/definitions/SetModelAgentVersion’}}}, ‘APIHostPorts’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/APIHostPortsResult’}}}, ‘DestroyMachines’: {‘type’: ‘object’, ‘properties’: {‘Params’: {‘$ref’: ‘#/definitions/DestroyMachines’}}}, ‘Resolved’: {‘type’: ‘object’, ‘properties’: {‘Params’: {‘$ref’: ‘#/definitions/Resolved’}}}, ‘CACert’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/BytesResult’}}}, ‘GetBundleChanges’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/BundleChangesResults’}, ‘Params’: {‘$ref’: ‘#/definitions/BundleChangesParams’}}}, ‘AddCharmWithAuthorization’: {‘type’: ‘object’, ‘properties’: {‘Params’: {‘$ref’: ‘#/definitions/AddCharmWithAuthorization’}}}}}
version = 1
class juju.client._client1.CloudFacade[source]

Bases: juju.client.facade.Type

coroutine Cloud(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~CloudResult]<~CloudResult>

coroutine Clouds()[source]

Returns -> typing.Mapping<~KT, +VT_co>[str, ~Cloud]<~Cloud>

coroutine Credential(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~CloudCredentialResult]<~CloudCredentialResult>

coroutine DefaultCloud()[source]

Returns -> typing.Union[_ForwardRef(‘Error’), str]

coroutine InstanceTypes(constraints)[source]

constraints : typing.Sequence<+T_co>[~CloudInstanceTypesConstraint]<~CloudInstanceTypesConstraint> Returns -> typing.Sequence<+T_co>[~InstanceTypesResult]<~InstanceTypesResult>

coroutine RevokeCredentials(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~ErrorResult]<~ErrorResult>

coroutine UpdateCredentials(credentials)[source]

credentials : typing.Sequence<+T_co>[~UpdateCloudCredential]<~UpdateCloudCredential> Returns -> typing.Sequence<+T_co>[~ErrorResult]<~ErrorResult>

coroutine UserCredentials(user_clouds)[source]

user_clouds : typing.Sequence<+T_co>[~UserCloud]<~UserCloud> Returns -> typing.Sequence<+T_co>[~StringsResult]<~StringsResult>

name = ‘Cloud’
schema = {‘type’: ‘object’, ‘definitions’: {‘CloudInstanceTypesConstraint’: {‘required’: [‘cloud-tag’, ‘region’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘region’: {‘type’: ‘string’}, ‘cloud-tag’: {‘type’: ‘string’}, ‘constraints’: {‘$ref’: ‘#/definitions/Value’}}}, ‘CloudResults’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/CloudResult’}}}}, ‘InstanceType’: {‘required’: [‘arches’, ‘cpu-cores’, ‘memory’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘virt-type’: {‘type’: ‘string’}, ‘memory’: {‘type’: ‘integer’}, ‘root-disk’: {‘type’: ‘integer’}, ‘arches’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}, ‘deprecated’: {‘type’: ‘boolean’}, ‘cpu-cores’: {‘type’: ‘integer’}, ‘cost’: {‘type’: ‘integer’}, ‘name’: {‘type’: ‘string’}}}, ‘ErrorResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/ErrorResult’}}}}, ‘Cloud’: {‘required’: [‘type’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘type’: {‘type’: ‘string’}, ‘endpoint’: {‘type’: ‘string’}, ‘auth-types’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}, ‘storage-endpoint’: {‘type’: ‘string’}, ‘identity-endpoint’: {‘type’: ‘string’}, ‘regions’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/CloudRegion’}}}}, ‘InstanceTypesResult’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}, ‘cost-divisor’: {‘type’: ‘integer’}, ‘cost-currency’: {‘type’: ‘string’}, ‘cost-unit’: {‘type’: ‘string’}, ‘instance-types’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/InstanceType’}}}}, ‘InstanceTypesResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/InstanceTypesResult’}}}}, ‘ErrorInfo’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘macaroon’: {‘$ref’: ‘#/definitions/Macaroon’}, ‘macaroon-path’: {‘type’: ‘string’}}}, ‘StringsResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/StringsResult’}}}}, ‘Error’: {‘required’: [‘message’, ‘code’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘message’: {‘type’: ‘string’}, ‘code’: {‘type’: ‘string’}, ‘info’: {‘$ref’: ‘#/definitions/ErrorInfo’}}}, ‘Entity’: {‘required’: [‘tag’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘tag’: {‘type’: ‘string’}}}, ‘StringResult’: {‘required’: [‘result’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}, ‘result’: {‘type’: ‘string’}}}, ‘CloudsResult’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘clouds’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘$ref’: ‘#/definitions/Cloud’}}}}}, ‘ErrorResult’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}}}, ‘UpdateCloudCredential’: {‘required’: [‘tag’, ‘credential’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘tag’: {‘type’: ‘string’}, ‘credential’: {‘$ref’: ‘#/definitions/CloudCredential’}}}, ‘Macaroon’: {‘type’: ‘object’, ‘additionalProperties’: False}, ‘CloudResult’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}, ‘cloud’: {‘$ref’: ‘#/definitions/Cloud’}}}, ‘CloudRegion’: {‘required’: [‘name’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘storage-endpoint’: {‘type’: ‘string’}, ‘identity-endpoint’: {‘type’: ‘string’}, ‘endpoint’: {‘type’: ‘string’}, ‘name’: {‘type’: ‘string’}}}, ‘UserClouds’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘user-clouds’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/UserCloud’}}}}, ‘UserCloud’: {‘required’: [‘user-tag’, ‘cloud-tag’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘cloud-tag’: {‘type’: ‘string’}, ‘user-tag’: {‘type’: ‘string’}}}, ‘CloudCredential’: {‘required’: [‘auth-type’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘attrs’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘type’: ‘string’}}}, ‘redacted’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}, ‘auth-type’: {‘type’: ‘string’}}}, ‘CloudCredentialResult’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}, ‘result’: {‘$ref’: ‘#/definitions/CloudCredential’}}}, ‘StringsResult’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}, ‘result’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}}}, ‘Value’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘mem’: {‘type’: ‘integer’}, ‘tags’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}, ‘arch’: {‘type’: ‘string’}, ‘cores’: {‘type’: ‘integer’}, ‘root-disk’: {‘type’: ‘integer’}, ‘container’: {‘type’: ‘string’}, ‘spaces’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}, ‘cpu-power’: {‘type’: ‘integer’}, ‘virt-type’: {‘type’: ‘string’}, ‘instance-type’: {‘type’: ‘string’}}}, ‘CloudInstanceTypesConstraints’: {‘required’: [‘constraints’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘constraints’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/CloudInstanceTypesConstraint’}}}}, ‘CloudCredentialResults’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/CloudCredentialResult’}}}}, ‘Entities’: {‘required’: [‘entities’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘entities’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/Entity’}}}}, ‘UpdateCloudCredentials’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘credentials’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/UpdateCloudCredential’}}}}}, ‘properties’: {‘UpdateCredentials’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ErrorResults’}, ‘Params’: {‘$ref’: ‘#/definitions/UpdateCloudCredentials’}}}, ‘Clouds’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/CloudsResult’}}}, ‘InstanceTypes’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/InstanceTypesResults’}, ‘Params’: {‘$ref’: ‘#/definitions/CloudInstanceTypesConstraints’}}}, ‘UserCredentials’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/StringsResults’}, ‘Params’: {‘$ref’: ‘#/definitions/UserClouds’}}}, ‘Cloud’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/CloudResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘RevokeCredentials’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ErrorResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘Credential’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/CloudCredentialResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘DefaultCloud’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/StringResult’}}}}}
version = 1
class juju.client._client1.DeployerFacade[source]

Bases: juju.client.facade.Type

coroutine APIAddresses()[source]

Returns -> typing.Union[_ForwardRef(‘Error’), typing.Sequence<+T_co>[str]]

coroutine APIHostPorts()[source]

Returns -> typing.Sequence<+T_co>[~HostPort]<~HostPort>

coroutine CACert()[source]

Returns -> typing.Sequence<+T_co>[int]

coroutine ConnectionInfo()[source]

Returns -> typing.Sequence<+T_co>[str]

coroutine Life(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~LifeResult]<~LifeResult>

coroutine ModelUUID()[source]

Returns -> typing.Union[_ForwardRef(‘Error’), str]

coroutine Remove(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~ErrorResult]<~ErrorResult>

coroutine SetPasswords(changes)[source]

changes : typing.Sequence<+T_co>[~EntityPassword]<~EntityPassword> Returns -> typing.Sequence<+T_co>[~ErrorResult]<~ErrorResult>

coroutine SetStatus(entities)[source]

entities : typing.Sequence<+T_co>[~EntityStatusArgs]<~EntityStatusArgs> Returns -> typing.Sequence<+T_co>[~ErrorResult]<~ErrorResult>

coroutine StateAddresses()[source]

Returns -> typing.Union[_ForwardRef(‘Error’), typing.Sequence<+T_co>[str]]

coroutine UpdateStatus(entities)[source]

entities : typing.Sequence<+T_co>[~EntityStatusArgs]<~EntityStatusArgs> Returns -> typing.Sequence<+T_co>[~ErrorResult]<~ErrorResult>

coroutine WatchAPIHostPorts()[source]

Returns -> typing.Union[str, _ForwardRef(‘Error’)]

coroutine WatchUnits(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~StringsWatchResult]<~StringsWatchResult>

name = ‘Deployer’
schema = {‘type’: ‘object’, ‘definitions’: {‘Macaroon’: {‘type’: ‘object’, ‘additionalProperties’: False}, ‘ErrorResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/ErrorResult’}}}}, ‘StringsWatchResult’: {‘required’: [‘watcher-id’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘watcher-id’: {‘type’: ‘string’}, ‘changes’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}, ‘error’: {‘$ref’: ‘#/definitions/Error’}}}, ‘LifeResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/LifeResult’}}}}, ‘EntityPasswords’: {‘required’: [‘changes’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘changes’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/EntityPassword’}}}}, ‘ErrorInfo’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘macaroon’: {‘$ref’: ‘#/definitions/Macaroon’}, ‘macaroon-path’: {‘type’: ‘string’}}}, ‘EntityStatusArgs’: {‘required’: [‘tag’, ‘status’, ‘info’, ‘data’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘tag’: {‘type’: ‘string’}, ‘status’: {‘type’: ‘string’}, ‘info’: {‘type’: ‘string’}, ‘data’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘type’: ‘object’, ‘additionalProperties’: True}}}}}, ‘EntityPassword’: {‘required’: [‘tag’, ‘password’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘tag’: {‘type’: ‘string’}, ‘password’: {‘type’: ‘string’}}}, ‘Error’: {‘required’: [‘message’, ‘code’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘message’: {‘type’: ‘string’}, ‘code’: {‘type’: ‘string’}, ‘info’: {‘$ref’: ‘#/definitions/ErrorInfo’}}}, ‘Entity’: {‘required’: [‘tag’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘tag’: {‘type’: ‘string’}}}, ‘StringResult’: {‘required’: [‘result’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}, ‘result’: {‘type’: ‘string’}}}, ‘HostPort’: {‘required’: [‘Address’, ‘port’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘port’: {‘type’: ‘integer’}, ‘Address’: {‘$ref’: ‘#/definitions/Address’}}}, ‘BytesResult’: {‘required’: [‘result’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘result’: {‘type’: ‘array’, ‘items’: {‘type’: ‘integer’}}}}, ‘LifeResult’: {‘required’: [‘life’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}, ‘life’: {‘type’: ‘string’}}}, ‘ErrorResult’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}}}, ‘StringsWatchResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/StringsWatchResult’}}}}, ‘DeployerConnectionValues’: {‘required’: [‘state-addresses’, ‘api-addresses’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘api-addresses’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}, ‘state-addresses’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}}}, ‘NotifyWatchResult’: {‘required’: [‘NotifyWatcherId’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘NotifyWatcherId’: {‘type’: ‘string’}, ‘error’: {‘$ref’: ‘#/definitions/Error’}}}, ‘Address’: {‘required’: [‘value’, ‘type’, ‘scope’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘type’: {‘type’: ‘string’}, ‘scope’: {‘type’: ‘string’}, ‘space-name’: {‘type’: ‘string’}, ‘value’: {‘type’: ‘string’}}}, ‘SetStatus’: {‘required’: [‘entities’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘entities’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/EntityStatusArgs’}}}}, ‘StringsResult’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}, ‘result’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}}}, ‘Entities’: {‘required’: [‘entities’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘entities’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/Entity’}}}}, ‘APIHostPortsResult’: {‘required’: [‘servers’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘servers’: {‘type’: ‘array’, ‘items’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/HostPort’}}}}}}, ‘properties’: {‘WatchAPIHostPorts’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/NotifyWatchResult’}}}, ‘ConnectionInfo’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/DeployerConnectionValues’}}}, ‘Life’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/LifeResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘WatchUnits’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/StringsWatchResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘StateAddresses’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/StringsResult’}}}, ‘Remove’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ErrorResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘APIAddresses’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/StringsResult’}}}, ‘APIHostPorts’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/APIHostPortsResult’}}}, ‘UpdateStatus’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ErrorResults’}, ‘Params’: {‘$ref’: ‘#/definitions/SetStatus’}}}, ‘CACert’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/BytesResult’}}}, ‘SetStatus’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ErrorResults’}, ‘Params’: {‘$ref’: ‘#/definitions/SetStatus’}}}, ‘SetPasswords’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ErrorResults’}, ‘Params’: {‘$ref’: ‘#/definitions/EntityPasswords’}}}, ‘ModelUUID’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/StringResult’}}}}}
version = 1
class juju.client._client1.HostKeyReporterFacade[source]

Bases: juju.client.facade.Type

coroutine ReportKeys(entity_keys)[source]

entity_keys : typing.Sequence<+T_co>[~SSHHostKeys]<~SSHHostKeys> Returns -> typing.Sequence<+T_co>[~ErrorResult]<~ErrorResult>

name = ‘HostKeyReporter’
schema = {‘type’: ‘object’, ‘definitions’: {‘Macaroon’: {‘type’: ‘object’, ‘additionalProperties’: False}, ‘Error’: {‘required’: [‘message’, ‘code’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘message’: {‘type’: ‘string’}, ‘code’: {‘type’: ‘string’}, ‘info’: {‘$ref’: ‘#/definitions/ErrorInfo’}}}, ‘ErrorResult’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}}}, ‘ErrorResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/ErrorResult’}}}}, ‘SSHHostKeySet’: {‘required’: [‘entity-keys’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘entity-keys’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/SSHHostKeys’}}}}, ‘ErrorInfo’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘macaroon’: {‘$ref’: ‘#/definitions/Macaroon’}, ‘macaroon-path’: {‘type’: ‘string’}}}, ‘SSHHostKeys’: {‘required’: [‘tag’, ‘public-keys’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘public-keys’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}, ‘tag’: {‘type’: ‘string’}}}}, ‘properties’: {‘ReportKeys’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ErrorResults’}, ‘Params’: {‘$ref’: ‘#/definitions/SSHHostKeySet’}}}}}
version = 1
class juju.client._client1.KeyManagerFacade[source]

Bases: juju.client.facade.Type

coroutine AddKeys(ssh_keys, user)[source]

ssh_keys : typing.Sequence<+T_co>[str] user : str Returns -> typing.Sequence<+T_co>[~ErrorResult]<~ErrorResult>

coroutine DeleteKeys(ssh_keys, user)[source]

ssh_keys : typing.Sequence<+T_co>[str] user : str Returns -> typing.Sequence<+T_co>[~ErrorResult]<~ErrorResult>

coroutine ImportKeys(ssh_keys, user)[source]

ssh_keys : typing.Sequence<+T_co>[str] user : str Returns -> typing.Sequence<+T_co>[~ErrorResult]<~ErrorResult>

coroutine ListKeys(entities, mode)[source]

entities : Entities mode : bool Returns -> typing.Sequence<+T_co>[~StringsResult]<~StringsResult>

name = ‘KeyManager’
schema = {‘type’: ‘object’, ‘definitions’: {‘ModifyUserSSHKeys’: {‘required’: [‘user’, ‘ssh-keys’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘ssh-keys’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}, ‘user’: {‘type’: ‘string’}}}, ‘Macaroon’: {‘type’: ‘object’, ‘additionalProperties’: False}, ‘Error’: {‘required’: [‘message’, ‘code’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘message’: {‘type’: ‘string’}, ‘code’: {‘type’: ‘string’}, ‘info’: {‘$ref’: ‘#/definitions/ErrorInfo’}}}, ‘StringsResult’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}, ‘result’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}}}, ‘Entity’: {‘required’: [‘tag’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘tag’: {‘type’: ‘string’}}}, ‘ErrorResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/ErrorResult’}}}}, ‘ErrorResult’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}}}, ‘Entities’: {‘required’: [‘entities’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘entities’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/Entity’}}}}, ‘ErrorInfo’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘macaroon’: {‘$ref’: ‘#/definitions/Macaroon’}, ‘macaroon-path’: {‘type’: ‘string’}}}, ‘StringsResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/StringsResult’}}}}, ‘ListSSHKeys’: {‘required’: [‘entities’, ‘mode’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘mode’: {‘type’: ‘boolean’}, ‘entities’: {‘$ref’: ‘#/definitions/Entities’}}}}, ‘properties’: {‘ImportKeys’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ErrorResults’}, ‘Params’: {‘$ref’: ‘#/definitions/ModifyUserSSHKeys’}}}, ‘DeleteKeys’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ErrorResults’}, ‘Params’: {‘$ref’: ‘#/definitions/ModifyUserSSHKeys’}}}, ‘ListKeys’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/StringsResults’}, ‘Params’: {‘$ref’: ‘#/definitions/ListSSHKeys’}}}, ‘AddKeys’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ErrorResults’}, ‘Params’: {‘$ref’: ‘#/definitions/ModifyUserSSHKeys’}}}}}
version = 1
class juju.client._client1.KeyUpdaterFacade[source]

Bases: juju.client.facade.Type

coroutine AuthorisedKeys(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~StringsResult]<~StringsResult>

coroutine WatchAuthorisedKeys(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~NotifyWatchResult]<~NotifyWatchResult>

name = ‘KeyUpdater’
schema = {‘type’: ‘object’, ‘definitions’: {‘Macaroon’: {‘type’: ‘object’, ‘additionalProperties’: False}, ‘Error’: {‘required’: [‘message’, ‘code’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘message’: {‘type’: ‘string’}, ‘code’: {‘type’: ‘string’}, ‘info’: {‘$ref’: ‘#/definitions/ErrorInfo’}}}, ‘StringsResult’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}, ‘result’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}}}, ‘Entity’: {‘required’: [‘tag’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘tag’: {‘type’: ‘string’}}}, ‘NotifyWatchResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/NotifyWatchResult’}}}}, ‘NotifyWatchResult’: {‘required’: [‘NotifyWatcherId’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘NotifyWatcherId’: {‘type’: ‘string’}, ‘error’: {‘$ref’: ‘#/definitions/Error’}}}, ‘Entities’: {‘required’: [‘entities’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘entities’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/Entity’}}}}, ‘ErrorInfo’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘macaroon’: {‘$ref’: ‘#/definitions/Macaroon’}, ‘macaroon-path’: {‘type’: ‘string’}}}, ‘StringsResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/StringsResult’}}}}}, ‘properties’: {‘WatchAuthorisedKeys’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/NotifyWatchResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘AuthorisedKeys’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/StringsResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}}}
version = 1
class juju.client._client1.LifeFlagFacade[source]

Bases: juju.client.facade.Type

coroutine Life(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~LifeResult]<~LifeResult>

coroutine Watch(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~NotifyWatchResult]<~NotifyWatchResult>

name = ‘LifeFlag’
schema = {‘type’: ‘object’, ‘definitions’: {‘Macaroon’: {‘type’: ‘object’, ‘additionalProperties’: False}, ‘Error’: {‘required’: [‘message’, ‘code’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘message’: {‘type’: ‘string’}, ‘code’: {‘type’: ‘string’}, ‘info’: {‘$ref’: ‘#/definitions/ErrorInfo’}}}, ‘Entity’: {‘required’: [‘tag’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘tag’: {‘type’: ‘string’}}}, ‘NotifyWatchResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/NotifyWatchResult’}}}}, ‘LifeResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/LifeResult’}}}}, ‘NotifyWatchResult’: {‘required’: [‘NotifyWatcherId’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘NotifyWatcherId’: {‘type’: ‘string’}, ‘error’: {‘$ref’: ‘#/definitions/Error’}}}, ‘Entities’: {‘required’: [‘entities’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘entities’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/Entity’}}}}, ‘ErrorInfo’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘macaroon’: {‘$ref’: ‘#/definitions/Macaroon’}, ‘macaroon-path’: {‘type’: ‘string’}}}, ‘LifeResult’: {‘required’: [‘life’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}, ‘life’: {‘type’: ‘string’}}}}, ‘properties’: {‘Watch’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/NotifyWatchResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘Life’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/LifeResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}}}
version = 1
class juju.client._client1.LogForwardingFacade[source]

Bases: juju.client.facade.Type

coroutine GetLastSent(ids)[source]

ids : typing.Sequence<+T_co>[~LogForwardingID]<~LogForwardingID> Returns -> typing.Sequence<+T_co>[~LogForwardingGetLastSentResult]<~LogForwardingGetLastSentResult>

coroutine SetLastSent(params)[source]

params : typing.Sequence<+T_co>[~LogForwardingSetLastSentParam]<~LogForwardingSetLastSentParam> Returns -> typing.Sequence<+T_co>[~ErrorResult]<~ErrorResult>

name = ‘LogForwarding’
schema = {‘type’: ‘object’, ‘definitions’: {‘LogForwardingID’: {‘required’: [‘model’, ‘sink’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘sink’: {‘type’: ‘string’}, ‘model’: {‘type’: ‘string’}}}, ‘Macaroon’: {‘type’: ‘object’, ‘additionalProperties’: False}, ‘Error’: {‘required’: [‘message’, ‘code’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘message’: {‘type’: ‘string’}, ‘code’: {‘type’: ‘string’}, ‘info’: {‘$ref’: ‘#/definitions/ErrorInfo’}}}, ‘LogForwardingGetLastSentResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/LogForwardingGetLastSentResult’}}}}, ‘ErrorResult’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}}}, ‘ErrorResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/ErrorResult’}}}}, ‘LogForwardingSetLastSentParam’: {‘required’: [‘LogForwardingID’, ‘record-id’, ‘record-timestamp’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘LogForwardingID’: {‘$ref’: ‘#/definitions/LogForwardingID’}, ‘record-id’: {‘type’: ‘integer’}, ‘record-timestamp’: {‘type’: ‘integer’}}}, ‘LogForwardingSetLastSentParams’: {‘required’: [‘params’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘params’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/LogForwardingSetLastSentParam’}}}}, ‘LogForwardingGetLastSentParams’: {‘required’: [‘ids’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘ids’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/LogForwardingID’}}}}, ‘ErrorInfo’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘macaroon’: {‘$ref’: ‘#/definitions/Macaroon’}, ‘macaroon-path’: {‘type’: ‘string’}}}, ‘LogForwardingGetLastSentResult’: {‘required’: [‘record-id’, ‘record-timestamp’, ‘err’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘record-id’: {‘type’: ‘integer’}, ‘record-timestamp’: {‘type’: ‘integer’}, ‘err’: {‘$ref’: ‘#/definitions/Error’}}}}, ‘properties’: {‘SetLastSent’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ErrorResults’}, ‘Params’: {‘$ref’: ‘#/definitions/LogForwardingSetLastSentParams’}}}, ‘GetLastSent’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/LogForwardingGetLastSentResults’}, ‘Params’: {‘$ref’: ‘#/definitions/LogForwardingGetLastSentParams’}}}}}
version = 1
class juju.client._client1.LoggerFacade[source]

Bases: juju.client.facade.Type

coroutine LoggingConfig(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~StringResult]<~StringResult>

coroutine WatchLoggingConfig(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~NotifyWatchResult]<~NotifyWatchResult>

name = ‘Logger’
schema = {‘type’: ‘object’, ‘definitions’: {‘Macaroon’: {‘type’: ‘object’, ‘additionalProperties’: False}, ‘Error’: {‘required’: [‘message’, ‘code’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘message’: {‘type’: ‘string’}, ‘code’: {‘type’: ‘string’}, ‘info’: {‘$ref’: ‘#/definitions/ErrorInfo’}}}, ‘StringResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/StringResult’}}}}, ‘Entity’: {‘required’: [‘tag’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘tag’: {‘type’: ‘string’}}}, ‘StringResult’: {‘required’: [‘result’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}, ‘result’: {‘type’: ‘string’}}}, ‘NotifyWatchResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/NotifyWatchResult’}}}}, ‘NotifyWatchResult’: {‘required’: [‘NotifyWatcherId’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘NotifyWatcherId’: {‘type’: ‘string’}, ‘error’: {‘$ref’: ‘#/definitions/Error’}}}, ‘Entities’: {‘required’: [‘entities’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘entities’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/Entity’}}}}, ‘ErrorInfo’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘macaroon’: {‘$ref’: ‘#/definitions/Macaroon’}, ‘macaroon-path’: {‘type’: ‘string’}}}}, ‘properties’: {‘LoggingConfig’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/StringResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘WatchLoggingConfig’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/NotifyWatchResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}}}
version = 1
class juju.client._client1.MachineActionsFacade[source]

Bases: juju.client.facade.Type

coroutine Actions(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~ActionResult]<~ActionResult>

coroutine BeginActions(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~ErrorResult]<~ErrorResult>

coroutine FinishActions(results)[source]

results : typing.Sequence<+T_co>[~ActionExecutionResult]<~ActionExecutionResult> Returns -> typing.Sequence<+T_co>[~ErrorResult]<~ErrorResult>

coroutine RunningActions(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~ActionsByReceiver]<~ActionsByReceiver>

coroutine WatchActionNotifications(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~StringsWatchResult]<~StringsWatchResult>

name = ‘MachineActions’
schema = {‘type’: ‘object’, ‘definitions’: {‘ActionsByReceivers’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘actions’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/ActionsByReceiver’}}}}, ‘Macaroon’: {‘type’: ‘object’, ‘additionalProperties’: False}, ‘ErrorResult’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}}}, ‘ErrorResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/ErrorResult’}}}}, ‘StringsWatchResult’: {‘required’: [‘watcher-id’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘watcher-id’: {‘type’: ‘string’}, ‘changes’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}, ‘error’: {‘$ref’: ‘#/definitions/Error’}}}, ‘ActionExecutionResults’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/ActionExecutionResult’}}}}, ‘ActionExecutionResult’: {‘required’: [‘action-tag’, ‘status’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘message’: {‘type’: ‘string’}, ‘action-tag’: {‘type’: ‘string’}, ‘status’: {‘type’: ‘string’}, ‘results’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘type’: ‘object’, ‘additionalProperties’: True}}}}}, ‘ActionResults’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/ActionResult’}}}}, ‘ErrorInfo’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘macaroon’: {‘$ref’: ‘#/definitions/Macaroon’}, ‘macaroon-path’: {‘type’: ‘string’}}}, ‘Action’: {‘required’: [‘tag’, ‘receiver’, ‘name’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘tag’: {‘type’: ‘string’}, ‘receiver’: {‘type’: ‘string’}, ‘parameters’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘type’: ‘object’, ‘additionalProperties’: True}}}, ‘name’: {‘type’: ‘string’}}}, ‘Error’: {‘required’: [‘message’, ‘code’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘message’: {‘type’: ‘string’}, ‘code’: {‘type’: ‘string’}, ‘info’: {‘$ref’: ‘#/definitions/ErrorInfo’}}}, ‘Entities’: {‘required’: [‘entities’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘entities’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/Entity’}}}}, ‘Entity’: {‘required’: [‘tag’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘tag’: {‘type’: ‘string’}}}, ‘ActionsByReceiver’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘actions’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/ActionResult’}}, ‘receiver’: {‘type’: ‘string’}, ‘error’: {‘$ref’: ‘#/definitions/Error’}}}, ‘ActionResult’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘status’: {‘type’: ‘string’}, ‘output’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘type’: ‘object’, ‘additionalProperties’: True}}}, ‘enqueued’: {‘type’: ‘string’, ‘format’: ‘date-time’}, ‘message’: {‘type’: ‘string’}, ‘error’: {‘$ref’: ‘#/definitions/Error’}, ‘action’: {‘$ref’: ‘#/definitions/Action’}, ‘started’: {‘type’: ‘string’, ‘format’: ‘date-time’}, ‘completed’: {‘type’: ‘string’, ‘format’: ‘date-time’}}}, ‘StringsWatchResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/StringsWatchResult’}}}}}, ‘properties’: {‘RunningActions’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ActionsByReceivers’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘WatchActionNotifications’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/StringsWatchResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘FinishActions’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ErrorResults’}, ‘Params’: {‘$ref’: ‘#/definitions/ActionExecutionResults’}}}, ‘Actions’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ActionResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘BeginActions’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ErrorResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}}}
version = 1
class juju.client._client1.MachineUndertakerFacade[source]

Bases: juju.client.facade.Type

coroutine AllMachineRemovals(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~EntitiesResult]<~EntitiesResult>

coroutine CompleteMachineRemovals(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> None

coroutine GetMachineProviderInterfaceInfo(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~ProviderInterfaceInfoResult]<~ProviderInterfaceInfoResult>

coroutine WatchMachineRemovals(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~NotifyWatchResult]<~NotifyWatchResult>

name = ‘MachineUndertaker’
schema = {‘type’: ‘object’, ‘definitions’: {‘Macaroon’: {‘type’: ‘object’, ‘additionalProperties’: False}, ‘NotifyWatchResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/NotifyWatchResult’}}}}, ‘EntitiesResult’: {‘required’: [‘entities’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}, ‘entities’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/Entity’}}}}, ‘NotifyWatchResult’: {‘required’: [‘NotifyWatcherId’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘NotifyWatcherId’: {‘type’: ‘string’}, ‘error’: {‘$ref’: ‘#/definitions/Error’}}}, ‘EntitiesResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/EntitiesResult’}}}}, ‘Error’: {‘required’: [‘message’, ‘code’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘message’: {‘type’: ‘string’}, ‘code’: {‘type’: ‘string’}, ‘info’: {‘$ref’: ‘#/definitions/ErrorInfo’}}}, ‘Entity’: {‘required’: [‘tag’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘tag’: {‘type’: ‘string’}}}, ‘ProviderInterfaceInfoResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/ProviderInterfaceInfoResult’}}}}, ‘ProviderInterfaceInfoResult’: {‘required’: [‘machine-tag’, ‘interfaces’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘interfaces’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/ProviderInterfaceInfo’}}, ‘error’: {‘$ref’: ‘#/definitions/Error’}, ‘machine-tag’: {‘type’: ‘string’}}}, ‘ProviderInterfaceInfo’: {‘required’: [‘interface-name’, ‘mac-address’, ‘provider-id’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘interface-name’: {‘type’: ‘string’}, ‘provider-id’: {‘type’: ‘string’}, ‘mac-address’: {‘type’: ‘string’}}}, ‘Entities’: {‘required’: [‘entities’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘entities’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/Entity’}}}}, ‘ErrorInfo’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘macaroon’: {‘$ref’: ‘#/definitions/Macaroon’}, ‘macaroon-path’: {‘type’: ‘string’}}}}, ‘properties’: {‘CompleteMachineRemovals’: {‘type’: ‘object’, ‘properties’: {‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘GetMachineProviderInterfaceInfo’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ProviderInterfaceInfoResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘WatchMachineRemovals’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/NotifyWatchResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘AllMachineRemovals’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/EntitiesResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}}}
version = 1
class juju.client._client1.MachinerFacade[source]

Bases: juju.client.facade.Type

coroutine APIAddresses()[source]

Returns -> typing.Union[_ForwardRef(‘Error’), typing.Sequence<+T_co>[str]]

coroutine APIHostPorts()[source]

Returns -> typing.Sequence<+T_co>[~HostPort]<~HostPort>

coroutine CACert()[source]

Returns -> typing.Sequence<+T_co>[int]

coroutine EnsureDead(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~ErrorResult]<~ErrorResult>

coroutine Jobs(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~JobsResult]<~JobsResult>

coroutine Life(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~LifeResult]<~LifeResult>

coroutine ModelUUID()[source]

Returns -> typing.Union[_ForwardRef(‘Error’), str]

coroutine SetMachineAddresses(machine_addresses)[source]

machine_addresses : typing.Sequence<+T_co>[~MachineAddresses]<~MachineAddresses> Returns -> typing.Sequence<+T_co>[~ErrorResult]<~ErrorResult>

coroutine SetObservedNetworkConfig(config, tag)[source]

config : typing.Sequence<+T_co>[~NetworkConfig]<~NetworkConfig> tag : str Returns -> None

coroutine SetProviderNetworkConfig(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~ErrorResult]<~ErrorResult>

coroutine SetStatus(entities)[source]

entities : typing.Sequence<+T_co>[~EntityStatusArgs]<~EntityStatusArgs> Returns -> typing.Sequence<+T_co>[~ErrorResult]<~ErrorResult>

coroutine UpdateStatus(entities)[source]

entities : typing.Sequence<+T_co>[~EntityStatusArgs]<~EntityStatusArgs> Returns -> typing.Sequence<+T_co>[~ErrorResult]<~ErrorResult>

coroutine Watch(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~NotifyWatchResult]<~NotifyWatchResult>

coroutine WatchAPIHostPorts()[source]

Returns -> typing.Union[str, _ForwardRef(‘Error’)]

name = ‘Machiner’
schema = {‘type’: ‘object’, ‘definitions’: {‘NetworkRoute’: {‘required’: [‘destination-cidr’, ‘gateway-ip’, ‘metric’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘destination-cidr’: {‘type’: ‘string’}, ‘gateway-ip’: {‘type’: ‘string’}, ‘metric’: {‘type’: ‘integer’}}}, ‘Macaroon’: {‘type’: ‘object’, ‘additionalProperties’: False}, ‘ErrorResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/ErrorResult’}}}}, ‘LifeResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/LifeResult’}}}}, ‘ErrorInfo’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘macaroon’: {‘$ref’: ‘#/definitions/Macaroon’}, ‘macaroon-path’: {‘type’: ‘string’}}}, ‘EntityStatusArgs’: {‘required’: [‘tag’, ‘status’, ‘info’, ‘data’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘tag’: {‘type’: ‘string’}, ‘status’: {‘type’: ‘string’}, ‘info’: {‘type’: ‘string’}, ‘data’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘type’: ‘object’, ‘additionalProperties’: True}}}}}, ‘Error’: {‘required’: [‘message’, ‘code’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘message’: {‘type’: ‘string’}, ‘code’: {‘type’: ‘string’}, ‘info’: {‘$ref’: ‘#/definitions/ErrorInfo’}}}, ‘Entity’: {‘required’: [‘tag’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘tag’: {‘type’: ‘string’}}}, ‘SetMachineNetworkConfig’: {‘required’: [‘tag’, ‘config’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘config’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/NetworkConfig’}}, ‘tag’: {‘type’: ‘string’}}}, ‘StringResult’: {‘required’: [‘result’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}, ‘result’: {‘type’: ‘string’}}}, ‘HostPort’: {‘required’: [‘Address’, ‘port’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘port’: {‘type’: ‘integer’}, ‘Address’: {‘$ref’: ‘#/definitions/Address’}}}, ‘BytesResult’: {‘required’: [‘result’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘result’: {‘type’: ‘array’, ‘items’: {‘type’: ‘integer’}}}}, ‘LifeResult’: {‘required’: [‘life’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}, ‘life’: {‘type’: ‘string’}}}, ‘JobsResult’: {‘required’: [‘jobs’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘jobs’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}, ‘error’: {‘$ref’: ‘#/definitions/Error’}}}, ‘ErrorResult’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}}}, ‘NotifyWatchResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/NotifyWatchResult’}}}}, ‘NetworkConfig’: {‘required’: [‘device-index’, ‘mac-address’, ‘cidr’, ‘mtu’, ‘provider-id’, ‘provider-subnet-id’, ‘provider-space-id’, ‘provider-address-id’, ‘provider-vlan-id’, ‘vlan-tag’, ‘interface-name’, ‘parent-interface-name’, ‘interface-type’, ‘disabled’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘cidr’: {‘type’: ‘string’}, ‘provider-address-id’: {‘type’: ‘string’}, ‘no-auto-start’: {‘type’: ‘boolean’}, ‘mtu’: {‘type’: ‘integer’}, ‘provider-space-id’: {‘type’: ‘string’}, ‘mac-address’: {‘type’: ‘string’}, ‘gateway-address’: {‘type’: ‘string’}, ‘provider-id’: {‘type’: ‘string’}, ‘vlan-tag’: {‘type’: ‘integer’}, ‘disabled’: {‘type’: ‘boolean’}, ‘provider-subnet-id’: {‘type’: ‘string’}, ‘address’: {‘type’: ‘string’}, ‘provider-vlan-id’: {‘type’: ‘string’}, ‘config-type’: {‘type’: ‘string’}, ‘device-index’: {‘type’: ‘integer’}, ‘interface-type’: {‘type’: ‘string’}, ‘interface-name’: {‘type’: ‘string’}, ‘dns-search-domains’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}, ‘routes’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/NetworkRoute’}}, ‘dns-servers’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}, ‘parent-interface-name’: {‘type’: ‘string’}}}, ‘JobsResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/JobsResult’}}}}, ‘NotifyWatchResult’: {‘required’: [‘NotifyWatcherId’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘NotifyWatcherId’: {‘type’: ‘string’}, ‘error’: {‘$ref’: ‘#/definitions/Error’}}}, ‘Address’: {‘required’: [‘value’, ‘type’, ‘scope’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘type’: {‘type’: ‘string’}, ‘scope’: {‘type’: ‘string’}, ‘space-name’: {‘type’: ‘string’}, ‘value’: {‘type’: ‘string’}}}, ‘SetStatus’: {‘required’: [‘entities’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘entities’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/EntityStatusArgs’}}}}, ‘MachineAddresses’: {‘required’: [‘tag’, ‘addresses’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘tag’: {‘type’: ‘string’}, ‘addresses’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/Address’}}}}, ‘StringsResult’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}, ‘result’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}}}, ‘Entities’: {‘required’: [‘entities’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘entities’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/Entity’}}}}, ‘SetMachinesAddresses’: {‘required’: [‘machine-addresses’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘machine-addresses’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/MachineAddresses’}}}}, ‘APIHostPortsResult’: {‘required’: [‘servers’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘servers’: {‘type’: ‘array’, ‘items’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/HostPort’}}}}}}, ‘properties’: {‘SetMachineAddresses’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ErrorResults’}, ‘Params’: {‘$ref’: ‘#/definitions/SetMachinesAddresses’}}}, ‘Jobs’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/JobsResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘WatchAPIHostPorts’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/NotifyWatchResult’}}}, ‘Life’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/LifeResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘EnsureDead’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ErrorResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘APIAddresses’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/StringsResult’}}}, ‘SetProviderNetworkConfig’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ErrorResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘APIHostPorts’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/APIHostPortsResult’}}}, ‘Watch’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/NotifyWatchResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘UpdateStatus’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ErrorResults’}, ‘Params’: {‘$ref’: ‘#/definitions/SetStatus’}}}, ‘CACert’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/BytesResult’}}}, ‘SetStatus’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ErrorResults’}, ‘Params’: {‘$ref’: ‘#/definitions/SetStatus’}}}, ‘SetObservedNetworkConfig’: {‘type’: ‘object’, ‘properties’: {‘Params’: {‘$ref’: ‘#/definitions/SetMachineNetworkConfig’}}}, ‘ModelUUID’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/StringResult’}}}}}
version = 1
class juju.client._client1.MeterStatusFacade[source]

Bases: juju.client.facade.Type

coroutine GetMeterStatus(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~MeterStatusResult]<~MeterStatusResult>

coroutine WatchMeterStatus(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~NotifyWatchResult]<~NotifyWatchResult>

name = ‘MeterStatus’
schema = {‘type’: ‘object’, ‘definitions’: {‘Macaroon’: {‘type’: ‘object’, ‘additionalProperties’: False}, ‘Error’: {‘required’: [‘message’, ‘code’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘message’: {‘type’: ‘string’}, ‘code’: {‘type’: ‘string’}, ‘info’: {‘$ref’: ‘#/definitions/ErrorInfo’}}}, ‘Entity’: {‘required’: [‘tag’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘tag’: {‘type’: ‘string’}}}, ‘MeterStatusResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/MeterStatusResult’}}}}, ‘NotifyWatchResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/NotifyWatchResult’}}}}, ‘NotifyWatchResult’: {‘required’: [‘NotifyWatcherId’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘NotifyWatcherId’: {‘type’: ‘string’}, ‘error’: {‘$ref’: ‘#/definitions/Error’}}}, ‘Entities’: {‘required’: [‘entities’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘entities’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/Entity’}}}}, ‘ErrorInfo’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘macaroon’: {‘$ref’: ‘#/definitions/Macaroon’}, ‘macaroon-path’: {‘type’: ‘string’}}}, ‘MeterStatusResult’: {‘required’: [‘code’, ‘info’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}, ‘code’: {‘type’: ‘string’}, ‘info’: {‘type’: ‘string’}}}}, ‘properties’: {‘GetMeterStatus’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/MeterStatusResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘WatchMeterStatus’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/NotifyWatchResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}}}
version = 1
class juju.client._client1.MetricsManagerFacade[source]

Bases: juju.client.facade.Type

coroutine AddJujuMachineMetrics()[source]

Returns -> None

coroutine CleanupOldMetrics(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~ErrorResult]<~ErrorResult>

coroutine SendMetrics(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~ErrorResult]<~ErrorResult>

name = ‘MetricsManager’
schema = {‘type’: ‘object’, ‘definitions’: {‘Macaroon’: {‘type’: ‘object’, ‘additionalProperties’: False}, ‘Error’: {‘required’: [‘message’, ‘code’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘message’: {‘type’: ‘string’}, ‘code’: {‘type’: ‘string’}, ‘info’: {‘$ref’: ‘#/definitions/ErrorInfo’}}}, ‘Entity’: {‘required’: [‘tag’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘tag’: {‘type’: ‘string’}}}, ‘ErrorResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/ErrorResult’}}}}, ‘ErrorResult’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}}}, ‘Entities’: {‘required’: [‘entities’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘entities’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/Entity’}}}}, ‘ErrorInfo’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘macaroon’: {‘$ref’: ‘#/definitions/Macaroon’}, ‘macaroon-path’: {‘type’: ‘string’}}}}, ‘properties’: {‘SendMetrics’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ErrorResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘AddJujuMachineMetrics’: {‘type’: ‘object’}, ‘CleanupOldMetrics’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ErrorResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}}}
version = 1
class juju.client._client1.MigrationFlagFacade[source]

Bases: juju.client.facade.Type

coroutine Phase(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~PhaseResult]<~PhaseResult>

coroutine Watch(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~NotifyWatchResult]<~NotifyWatchResult>

name = ‘MigrationFlag’
schema = {‘type’: ‘object’, ‘definitions’: {‘Macaroon’: {‘type’: ‘object’, ‘additionalProperties’: False}, ‘Error’: {‘required’: [‘message’, ‘code’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘message’: {‘type’: ‘string’}, ‘code’: {‘type’: ‘string’}, ‘info’: {‘$ref’: ‘#/definitions/ErrorInfo’}}}, ‘PhaseResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/PhaseResult’}}}}, ‘Entity’: {‘required’: [‘tag’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘tag’: {‘type’: ‘string’}}}, ‘NotifyWatchResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/NotifyWatchResult’}}}}, ‘PhaseResult’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘phase’: {‘type’: ‘string’}, ‘error’: {‘$ref’: ‘#/definitions/Error’}}}, ‘NotifyWatchResult’: {‘required’: [‘NotifyWatcherId’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘NotifyWatcherId’: {‘type’: ‘string’}, ‘error’: {‘$ref’: ‘#/definitions/Error’}}}, ‘Entities’: {‘required’: [‘entities’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘entities’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/Entity’}}}}, ‘ErrorInfo’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘macaroon’: {‘$ref’: ‘#/definitions/Macaroon’}, ‘macaroon-path’: {‘type’: ‘string’}}}}, ‘properties’: {‘Phase’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/PhaseResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘Watch’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/NotifyWatchResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}}}
version = 1
class juju.client._client1.MigrationMasterFacade[source]

Bases: juju.client.facade.Type

coroutine Export()[source]

Returns -> typing.Sequence<+T_co>[~SerializedModelTools]<~SerializedModelTools>

coroutine MigrationStatus()[source]

Returns -> typing.Union[str, _ForwardRef(‘MigrationSpec’)]

coroutine MinionReports()[source]

Returns -> typing.Union[typing.Sequence<+T_co>[str], int]

coroutine ModelInfo()[source]

Returns -> typing.Union[_ForwardRef(‘Number’), str]

coroutine Prechecks()[source]

Returns -> None

coroutine Reap()[source]

Returns -> None

coroutine SetPhase(phase)[source]

phase : str Returns -> None

coroutine SetStatusMessage(message)[source]

message : str Returns -> None

coroutine Watch()[source]

Returns -> typing.Union[str, _ForwardRef(‘Error’)]

coroutine WatchMinionReports()[source]

Returns -> typing.Union[str, _ForwardRef(‘Error’)]

name = ‘MigrationMaster’
schema = {‘type’: ‘object’, ‘definitions’: {‘Macaroon’: {‘type’: ‘object’, ‘additionalProperties’: False}, ‘Number’: {‘required’: [‘Major’, ‘Minor’, ‘Tag’, ‘Patch’, ‘Build’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘Major’: {‘type’: ‘integer’}, ‘Minor’: {‘type’: ‘integer’}, ‘Tag’: {‘type’: ‘string’}, ‘Patch’: {‘type’: ‘integer’}, ‘Build’: {‘type’: ‘integer’}}}, ‘MigrationSpec’: {‘required’: [‘model-tag’, ‘target-info’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘target-info’: {‘$ref’: ‘#/definitions/MigrationTargetInfo’}, ‘model-tag’: {‘type’: ‘string’}}}, ‘SetMigrationStatusMessageArgs’: {‘required’: [‘message’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘message’: {‘type’: ‘string’}}}, ‘MigrationModelInfo’: {‘required’: [‘uuid’, ‘name’, ‘owner-tag’, ‘agent-version’, ‘controller-agent-version’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘owner-tag’: {‘type’: ‘string’}, ‘uuid’: {‘type’: ‘string’}, ‘controller-agent-version’: {‘$ref’: ‘#/definitions/Number’}, ‘agent-version’: {‘$ref’: ‘#/definitions/Number’}, ‘name’: {‘type’: ‘string’}}}, ‘ErrorInfo’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘macaroon’: {‘$ref’: ‘#/definitions/Macaroon’}, ‘macaroon-path’: {‘type’: ‘string’}}}, ‘MasterMigrationStatus’: {‘required’: [‘spec’, ‘migration-id’, ‘phase’, ‘phase-changed-time’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘phase’: {‘type’: ‘string’}, ‘phase-changed-time’: {‘type’: ‘string’, ‘format’: ‘date-time’}, ‘migration-id’: {‘type’: ‘string’}, ‘spec’: {‘$ref’: ‘#/definitions/MigrationSpec’}}}, ‘Error’: {‘required’: [‘message’, ‘code’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘message’: {‘type’: ‘string’}, ‘code’: {‘type’: ‘string’}, ‘info’: {‘$ref’: ‘#/definitions/ErrorInfo’}}}, ‘MigrationTargetInfo’: {‘required’: [‘controller-tag’, ‘addrs’, ‘ca-cert’, ‘auth-tag’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘macaroons’: {‘type’: ‘string’}, ‘controller-tag’: {‘type’: ‘string’}, ‘auth-tag’: {‘type’: ‘string’}, ‘addrs’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}, ‘ca-cert’: {‘type’: ‘string’}, ‘password’: {‘type’: ‘string’}}}, ‘SetMigrationPhaseArgs’: {‘required’: [‘phase’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘phase’: {‘type’: ‘string’}}}, ‘SerializedModelResourceRevision’: {‘required’: [‘revision’, ‘type’, ‘path’, ‘description’, ‘origin’, ‘fingerprint’, ‘size’, ‘timestamp’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘origin’: {‘type’: ‘string’}, ‘fingerprint’: {‘type’: ‘string’}, ‘username’: {‘type’: ‘string’}, ‘timestamp’: {‘type’: ‘string’, ‘format’: ‘date-time’}, ‘size’: {‘type’: ‘integer’}, ‘description’: {‘type’: ‘string’}, ‘type’: {‘type’: ‘string’}, ‘revision’: {‘type’: ‘integer’}, ‘path’: {‘type’: ‘string’}}}, ‘SerializedModelResource’: {‘required’: [‘application’, ‘name’, ‘application-revision’, ‘charmstore-revision’, ‘unit-revisions’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘charmstore-revision’: {‘$ref’: ‘#/definitions/SerializedModelResourceRevision’}, ‘application’: {‘type’: ‘string’}, ‘name’: {‘type’: ‘string’}, ‘unit-revisions’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘$ref’: ‘#/definitions/SerializedModelResourceRevision’}}}, ‘application-revision’: {‘$ref’: ‘#/definitions/SerializedModelResourceRevision’}}}, ‘NotifyWatchResult’: {‘required’: [‘NotifyWatcherId’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘NotifyWatcherId’: {‘type’: ‘string’}, ‘error’: {‘$ref’: ‘#/definitions/Error’}}}, ‘SerializedModel’: {‘required’: [‘bytes’, ‘charms’, ‘tools’, ‘resources’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘bytes’: {‘type’: ‘array’, ‘items’: {‘type’: ‘integer’}}, ‘charms’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}, ‘tools’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/SerializedModelTools’}}, ‘resources’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/SerializedModelResource’}}}}, ‘SerializedModelTools’: {‘required’: [‘version’, ‘uri’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘version’: {‘type’: ‘string’}, ‘uri’: {‘type’: ‘string’}}}, ‘MinionReports’: {‘required’: [‘migration-id’, ‘phase’, ‘success-count’, ‘unknown-count’, ‘unknown-sample’, ‘failed’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘phase’: {‘type’: ‘string’}, ‘failed’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}, ‘success-count’: {‘type’: ‘integer’}, ‘unknown-sample’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}, ‘migration-id’: {‘type’: ‘string’}, ‘unknown-count’: {‘type’: ‘integer’}}}}, ‘properties’: {‘Prechecks’: {‘type’: ‘object’}, ‘Watch’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/NotifyWatchResult’}}}, ‘MigrationStatus’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/MasterMigrationStatus’}}}, ‘WatchMinionReports’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/NotifyWatchResult’}}}, ‘SetStatusMessage’: {‘type’: ‘object’, ‘properties’: {‘Params’: {‘$ref’: ‘#/definitions/SetMigrationStatusMessageArgs’}}}, ‘SetPhase’: {‘type’: ‘object’, ‘properties’: {‘Params’: {‘$ref’: ‘#/definitions/SetMigrationPhaseArgs’}}}, ‘Export’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/SerializedModel’}}}, ‘ModelInfo’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/MigrationModelInfo’}}}, ‘Reap’: {‘type’: ‘object’}, ‘MinionReports’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/MinionReports’}}}}}
version = 1
class juju.client._client1.MigrationMinionFacade[source]

Bases: juju.client.facade.Type

coroutine Report(migration_id, phase, success)[source]

migration_id : str phase : str success : bool Returns -> None

coroutine Watch()[source]

Returns -> typing.Union[str, _ForwardRef(‘Error’)]

name = ‘MigrationMinion’
schema = {‘type’: ‘object’, ‘definitions’: {‘Macaroon’: {‘type’: ‘object’, ‘additionalProperties’: False}, ‘Error’: {‘required’: [‘message’, ‘code’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘message’: {‘type’: ‘string’}, ‘code’: {‘type’: ‘string’}, ‘info’: {‘$ref’: ‘#/definitions/ErrorInfo’}}}, ‘NotifyWatchResult’: {‘required’: [‘NotifyWatcherId’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘NotifyWatcherId’: {‘type’: ‘string’}, ‘error’: {‘$ref’: ‘#/definitions/Error’}}}, ‘ErrorInfo’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘macaroon’: {‘$ref’: ‘#/definitions/Macaroon’}, ‘macaroon-path’: {‘type’: ‘string’}}}, ‘MinionReport’: {‘required’: [‘migration-id’, ‘phase’, ‘success’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘phase’: {‘type’: ‘string’}, ‘success’: {‘type’: ‘boolean’}, ‘migration-id’: {‘type’: ‘string’}}}}, ‘properties’: {‘Report’: {‘type’: ‘object’, ‘properties’: {‘Params’: {‘$ref’: ‘#/definitions/MinionReport’}}}, ‘Watch’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/NotifyWatchResult’}}}}}
version = 1
class juju.client._client1.MigrationStatusWatcherFacade[source]

Bases: juju.client.facade.Type

coroutine Next()[source]

Returns -> typing.Union[int, typing.Sequence<+T_co>[str]]

coroutine Stop()[source]

Returns -> None

name = ‘MigrationStatusWatcher’
schema = {‘type’: ‘object’, ‘definitions’: {‘MigrationStatus’: {‘required’: [‘migration-id’, ‘attempt’, ‘phase’, ‘source-api-addrs’, ‘source-ca-cert’, ‘target-api-addrs’, ‘target-ca-cert’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘attempt’: {‘type’: ‘integer’}, ‘phase’: {‘type’: ‘string’}, ‘target-api-addrs’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}, ‘target-ca-cert’: {‘type’: ‘string’}, ‘source-ca-cert’: {‘type’: ‘string’}, ‘migration-id’: {‘type’: ‘string’}, ‘source-api-addrs’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}}}}, ‘properties’: {‘Next’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/MigrationStatus’}}}, ‘Stop’: {‘type’: ‘object’}}}
version = 1
class juju.client._client1.MigrationTargetFacade[source]

Bases: juju.client.facade.Type

coroutine Abort(model_tag)[source]

model_tag : str Returns -> None

coroutine Activate(model_tag)[source]

model_tag : str Returns -> None

coroutine AdoptResources(model_tag, source_controller_version)[source]

model_tag : str source_controller_version : Number Returns -> None

coroutine CACert()[source]

Returns -> typing.Sequence<+T_co>[int]

coroutine Import(bytes_, charms, tools)[source]

bytes_ : typing.Sequence<+T_co>[int] charms : typing.Sequence<+T_co>[str] tools : typing.Sequence<+T_co>[~SerializedModelTools]<~SerializedModelTools> Returns -> None

coroutine LatestLogTime(model_tag)[source]

model_tag : str Returns -> str

coroutine Prechecks(agent_version, name, owner_tag, uuid)[source]

agent_version : Number name : str owner_tag : str uuid : str Returns -> None

name = ‘MigrationTarget’
schema = {‘type’: ‘object’, ‘definitions’: {‘Number’: {‘required’: [‘Major’, ‘Minor’, ‘Tag’, ‘Patch’, ‘Build’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘Major’: {‘type’: ‘integer’}, ‘Minor’: {‘type’: ‘integer’}, ‘Tag’: {‘type’: ‘string’}, ‘Patch’: {‘type’: ‘integer’}, ‘Build’: {‘type’: ‘integer’}}}, ‘AdoptResourcesArgs’: {‘required’: [‘model-tag’, ‘source-controller-version’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘model-tag’: {‘type’: ‘string’}, ‘source-controller-version’: {‘$ref’: ‘#/definitions/Number’}}}, ‘SerializedModelResourceRevision’: {‘required’: [‘revision’, ‘type’, ‘path’, ‘description’, ‘origin’, ‘fingerprint’, ‘size’, ‘timestamp’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘origin’: {‘type’: ‘string’}, ‘fingerprint’: {‘type’: ‘string’}, ‘username’: {‘type’: ‘string’}, ‘timestamp’: {‘type’: ‘string’, ‘format’: ‘date-time’}, ‘size’: {‘type’: ‘integer’}, ‘description’: {‘type’: ‘string’}, ‘type’: {‘type’: ‘string’}, ‘revision’: {‘type’: ‘integer’}, ‘path’: {‘type’: ‘string’}}}, ‘SerializedModel’: {‘required’: [‘bytes’, ‘charms’, ‘tools’, ‘resources’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘bytes’: {‘type’: ‘array’, ‘items’: {‘type’: ‘integer’}}, ‘charms’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}, ‘tools’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/SerializedModelTools’}}, ‘resources’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/SerializedModelResource’}}}}, ‘ModelArgs’: {‘required’: [‘model-tag’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘model-tag’: {‘type’: ‘string’}}}, ‘MigrationModelInfo’: {‘required’: [‘uuid’, ‘name’, ‘owner-tag’, ‘agent-version’, ‘controller-agent-version’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘owner-tag’: {‘type’: ‘string’}, ‘uuid’: {‘type’: ‘string’}, ‘controller-agent-version’: {‘$ref’: ‘#/definitions/Number’}, ‘agent-version’: {‘$ref’: ‘#/definitions/Number’}, ‘name’: {‘type’: ‘string’}}}, ‘SerializedModelResource’: {‘required’: [‘application’, ‘name’, ‘application-revision’, ‘charmstore-revision’, ‘unit-revisions’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘charmstore-revision’: {‘$ref’: ‘#/definitions/SerializedModelResourceRevision’}, ‘application’: {‘type’: ‘string’}, ‘name’: {‘type’: ‘string’}, ‘unit-revisions’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘$ref’: ‘#/definitions/SerializedModelResourceRevision’}}}, ‘application-revision’: {‘$ref’: ‘#/definitions/SerializedModelResourceRevision’}}}, ‘BytesResult’: {‘required’: [‘result’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘result’: {‘type’: ‘array’, ‘items’: {‘type’: ‘integer’}}}}, ‘SerializedModelTools’: {‘required’: [‘version’, ‘uri’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘version’: {‘type’: ‘string’}, ‘uri’: {‘type’: ‘string’}}}}, ‘properties’: {‘Prechecks’: {‘type’: ‘object’, ‘properties’: {‘Params’: {‘$ref’: ‘#/definitions/MigrationModelInfo’}}}, ‘Import’: {‘type’: ‘object’, ‘properties’: {‘Params’: {‘$ref’: ‘#/definitions/SerializedModel’}}}, ‘CACert’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/BytesResult’}}}, ‘AdoptResources’: {‘type’: ‘object’, ‘properties’: {‘Params’: {‘$ref’: ‘#/definitions/AdoptResourcesArgs’}}}, ‘LatestLogTime’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘type’: ‘string’, ‘format’: ‘date-time’}, ‘Params’: {‘$ref’: ‘#/definitions/ModelArgs’}}}, ‘Abort’: {‘type’: ‘object’, ‘properties’: {‘Params’: {‘$ref’: ‘#/definitions/ModelArgs’}}}, ‘Activate’: {‘type’: ‘object’, ‘properties’: {‘Params’: {‘$ref’: ‘#/definitions/ModelArgs’}}}}}
version = 1
class juju.client._client1.ModelConfigFacade[source]

Bases: juju.client.facade.Type

coroutine ModelGet()[source]

Returns -> typing.Mapping<~KT, +VT_co>[str, ~ConfigValue]<~ConfigValue>

coroutine ModelSet(config)[source]

config : typing.Mapping<~KT, +VT_co>[str, typing.Any] Returns -> None

coroutine ModelUnset(keys)[source]

keys : typing.Sequence<+T_co>[str] Returns -> None

coroutine SLALevel()[source]

Returns -> typing.Union[_ForwardRef(‘Error’), str]

coroutine SetSLALevel(creds, level)[source]

creds : typing.Sequence<+T_co>[int] level : str Returns -> None

name = ‘ModelConfig’
schema = {‘type’: ‘object’, ‘definitions’: {‘ModelSLAInfo’: {‘required’: [‘level’, ‘owner’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘level’: {‘type’: ‘string’}, ‘owner’: {‘type’: ‘string’}}}, ‘Macaroon’: {‘type’: ‘object’, ‘additionalProperties’: False}, ‘Error’: {‘required’: [‘message’, ‘code’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘message’: {‘type’: ‘string’}, ‘code’: {‘type’: ‘string’}, ‘info’: {‘$ref’: ‘#/definitions/ErrorInfo’}}}, ‘ConfigValue’: {‘required’: [‘value’, ‘source’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘source’: {‘type’: ‘string’}, ‘value’: {‘type’: ‘object’, ‘additionalProperties’: True}}}, ‘StringResult’: {‘required’: [‘result’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}, ‘result’: {‘type’: ‘string’}}}, ‘ModelSLA’: {‘required’: [‘ModelSLAInfo’, ‘creds’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘ModelSLAInfo’: {‘$ref’: ‘#/definitions/ModelSLAInfo’}, ‘creds’: {‘type’: ‘array’, ‘items’: {‘type’: ‘integer’}}}}, ‘ModelSet’: {‘required’: [‘config’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘config’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘type’: ‘object’, ‘additionalProperties’: True}}}}}, ‘ModelUnset’: {‘required’: [‘keys’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘keys’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}}}, ‘ErrorInfo’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘macaroon’: {‘$ref’: ‘#/definitions/Macaroon’}, ‘macaroon-path’: {‘type’: ‘string’}}}, ‘ModelConfigResults’: {‘required’: [‘config’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘config’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘$ref’: ‘#/definitions/ConfigValue’}}}}}}, ‘properties’: {‘ModelUnset’: {‘type’: ‘object’, ‘properties’: {‘Params’: {‘$ref’: ‘#/definitions/ModelUnset’}}}, ‘SLALevel’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/StringResult’}}}, ‘ModelSet’: {‘type’: ‘object’, ‘properties’: {‘Params’: {‘$ref’: ‘#/definitions/ModelSet’}}}, ‘ModelGet’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ModelConfigResults’}}}, ‘SetSLALevel’: {‘type’: ‘object’, ‘properties’: {‘Params’: {‘$ref’: ‘#/definitions/ModelSLA’}}}}}
version = 1
class juju.client._client1.NotifyWatcherFacade[source]

Bases: juju.client.facade.Type

coroutine Next()[source]

Returns -> None

coroutine Stop()[source]

Returns -> None

name = ‘NotifyWatcher’
schema = {‘type’: ‘object’, ‘properties’: {‘Next’: {‘type’: ‘object’}, ‘Stop’: {‘type’: ‘object’}}}
version = 1
class juju.client._client1.PayloadsFacade[source]

Bases: juju.client.facade.Type

coroutine List(patterns)[source]

patterns : typing.Sequence<+T_co>[str] Returns -> typing.Sequence<+T_co>[~Payload]<~Payload>

name = ‘Payloads’
schema = {‘type’: ‘object’, ‘definitions’: {‘PayloadListResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/Payload’}}}}, ‘PayloadListArgs’: {‘required’: [‘patterns’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘patterns’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}}}, ‘Payload’: {‘required’: [‘class’, ‘type’, ‘id’, ‘status’, ‘labels’, ‘unit’, ‘machine’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘id’: {‘type’: ‘string’}, ‘status’: {‘type’: ‘string’}, ‘type’: {‘type’: ‘string’}, ‘unit’: {‘type’: ‘string’}, ‘class’: {‘type’: ‘string’}, ‘machine’: {‘type’: ‘string’}, ‘labels’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}}}}, ‘properties’: {‘List’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/PayloadListResults’}, ‘Params’: {‘$ref’: ‘#/definitions/PayloadListArgs’}}}}}
version = 1
class juju.client._client1.PayloadsHookContextFacade[source]

Bases: juju.client.facade.Type

coroutine List(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~PayloadResult]<~PayloadResult>

coroutine LookUp(args)[source]

args : typing.Sequence<+T_co>[~LookUpPayloadArg]<~LookUpPayloadArg> Returns -> typing.Sequence<+T_co>[~PayloadResult]<~PayloadResult>

coroutine SetStatus(args)[source]

args : typing.Sequence<+T_co>[~SetPayloadStatusArg]<~SetPayloadStatusArg> Returns -> typing.Sequence<+T_co>[~PayloadResult]<~PayloadResult>

coroutine Track(payloads)[source]

payloads : typing.Sequence<+T_co>[~Payload]<~Payload> Returns -> typing.Sequence<+T_co>[~PayloadResult]<~PayloadResult>

coroutine Untrack(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~PayloadResult]<~PayloadResult>

name = ‘PayloadsHookContext’
schema = {‘type’: ‘object’, ‘definitions’: {‘LookUpPayloadArg’: {‘required’: [‘name’, ‘id’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘id’: {‘type’: ‘string’}, ‘name’: {‘type’: ‘string’}}}, ‘Macaroon’: {‘type’: ‘object’, ‘additionalProperties’: False}, ‘Payload’: {‘required’: [‘class’, ‘type’, ‘id’, ‘status’, ‘labels’, ‘unit’, ‘machine’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘id’: {‘type’: ‘string’}, ‘status’: {‘type’: ‘string’}, ‘type’: {‘type’: ‘string’}, ‘unit’: {‘type’: ‘string’}, ‘class’: {‘type’: ‘string’}, ‘machine’: {‘type’: ‘string’}, ‘labels’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}}}, ‘SetPayloadStatusArgs’: {‘required’: [‘args’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘args’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/SetPayloadStatusArg’}}}}, ‘TrackPayloadArgs’: {‘required’: [‘payloads’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘payloads’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/Payload’}}}}, ‘Entities’: {‘required’: [‘entities’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘entities’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/Entity’}}}}, ‘ErrorInfo’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘macaroon’: {‘$ref’: ‘#/definitions/Macaroon’}, ‘macaroon-path’: {‘type’: ‘string’}}}, ‘PayloadResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/PayloadResult’}}}}, ‘LookUpPayloadArgs’: {‘required’: [‘args’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘args’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/LookUpPayloadArg’}}}}, ‘Error’: {‘required’: [‘message’, ‘code’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘message’: {‘type’: ‘string’}, ‘code’: {‘type’: ‘string’}, ‘info’: {‘$ref’: ‘#/definitions/ErrorInfo’}}}, ‘Entity’: {‘required’: [‘tag’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘tag’: {‘type’: ‘string’}}}, ‘PayloadResult’: {‘required’: [‘Entity’, ‘payload’, ‘not-found’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}, ‘Entity’: {‘$ref’: ‘#/definitions/Entity’}, ‘payload’: {‘$ref’: ‘#/definitions/Payload’}, ‘not-found’: {‘type’: ‘boolean’}}}, ‘SetPayloadStatusArg’: {‘required’: [‘Entity’, ‘status’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘status’: {‘type’: ‘string’}, ‘Entity’: {‘$ref’: ‘#/definitions/Entity’}}}}, ‘properties’: {‘SetStatus’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/PayloadResults’}, ‘Params’: {‘$ref’: ‘#/definitions/SetPayloadStatusArgs’}}}, ‘LookUp’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/PayloadResults’}, ‘Params’: {‘$ref’: ‘#/definitions/LookUpPayloadArgs’}}}, ‘Untrack’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/PayloadResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘List’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/PayloadResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘Track’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/PayloadResults’}, ‘Params’: {‘$ref’: ‘#/definitions/TrackPayloadArgs’}}}}}
version = 1
class juju.client._client1.PingerFacade[source]

Bases: juju.client.facade.Type

coroutine Ping()[source]

Returns -> None

coroutine Stop()[source]

Returns -> None

name = ‘Pinger’
schema = {‘type’: ‘object’, ‘properties’: {‘Stop’: {‘type’: ‘object’}, ‘Ping’: {‘type’: ‘object’}}}
version = 1
class juju.client._client1.ProxyUpdaterFacade[source]

Bases: juju.client.facade.Type

coroutine ProxyConfig(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~ProxyConfigResult]<~ProxyConfigResult>

coroutine WatchForProxyConfigAndAPIHostPortChanges(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~NotifyWatchResult]<~NotifyWatchResult>

name = ‘ProxyUpdater’
schema = {‘type’: ‘object’, ‘definitions’: {‘Macaroon’: {‘type’: ‘object’, ‘additionalProperties’: False}, ‘Error’: {‘required’: [‘message’, ‘code’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘message’: {‘type’: ‘string’}, ‘code’: {‘type’: ‘string’}, ‘info’: {‘$ref’: ‘#/definitions/ErrorInfo’}}}, ‘ProxyConfigResult’: {‘required’: [‘proxy-settings’, ‘apt-proxy-settings’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘apt-proxy-settings’: {‘$ref’: ‘#/definitions/ProxyConfig’}, ‘error’: {‘$ref’: ‘#/definitions/Error’}, ‘proxy-settings’: {‘$ref’: ‘#/definitions/ProxyConfig’}}}, ‘Entity’: {‘required’: [‘tag’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘tag’: {‘type’: ‘string’}}}, ‘NotifyWatchResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/NotifyWatchResult’}}}}, ‘ProxyConfig’: {‘required’: [‘http’, ‘https’, ‘ftp’, ‘no-proxy’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘ftp’: {‘type’: ‘string’}, ‘no-proxy’: {‘type’: ‘string’}, ‘http’: {‘type’: ‘string’}, ‘https’: {‘type’: ‘string’}}}, ‘NotifyWatchResult’: {‘required’: [‘NotifyWatcherId’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘NotifyWatcherId’: {‘type’: ‘string’}, ‘error’: {‘$ref’: ‘#/definitions/Error’}}}, ‘Entities’: {‘required’: [‘entities’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘entities’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/Entity’}}}}, ‘ErrorInfo’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘macaroon’: {‘$ref’: ‘#/definitions/Macaroon’}, ‘macaroon-path’: {‘type’: ‘string’}}}, ‘ProxyConfigResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/ProxyConfigResult’}}}}}, ‘properties’: {‘ProxyConfig’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ProxyConfigResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘WatchForProxyConfigAndAPIHostPortChanges’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/NotifyWatchResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}}}
version = 1
class juju.client._client1.RelationUnitsWatcherFacade[source]

Bases: juju.client.facade.Type

coroutine Next()[source]

Returns -> typing.Union[_ForwardRef(‘RelationUnitsChange’), _ForwardRef(‘Error’), str]

coroutine Stop()[source]

Returns -> None

name = ‘RelationUnitsWatcher’
schema = {‘type’: ‘object’, ‘definitions’: {‘Macaroon’: {‘type’: ‘object’, ‘additionalProperties’: False}, ‘Error’: {‘required’: [‘message’, ‘code’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘message’: {‘type’: ‘string’}, ‘code’: {‘type’: ‘string’}, ‘info’: {‘$ref’: ‘#/definitions/ErrorInfo’}}}, ‘UnitSettings’: {‘required’: [‘version’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘version’: {‘type’: ‘integer’}}}, ‘RelationUnitsWatchResult’: {‘required’: [‘watcher-id’, ‘changes’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘watcher-id’: {‘type’: ‘string’}, ‘changes’: {‘$ref’: ‘#/definitions/RelationUnitsChange’}, ‘error’: {‘$ref’: ‘#/definitions/Error’}}}, ‘RelationUnitsChange’: {‘required’: [‘changed’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘changed’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘$ref’: ‘#/definitions/UnitSettings’}}}, ‘departed’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}}}, ‘ErrorInfo’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘macaroon’: {‘$ref’: ‘#/definitions/Macaroon’}, ‘macaroon-path’: {‘type’: ‘string’}}}}, ‘properties’: {‘Next’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/RelationUnitsWatchResult’}}}, ‘Stop’: {‘type’: ‘object’}}}
version = 1
class juju.client._client1.RemoteApplicationWatcherFacade[source]

Bases: juju.client.facade.Type

coroutine Next()[source]

Returns -> typing.Union[_ForwardRef(‘RemoteApplicationChange’), _ForwardRef(‘Error’), str]

coroutine Stop()[source]

Returns -> None

name = ‘RemoteApplicationWatcher’
schema = {‘type’: ‘object’, ‘definitions’: {‘Macaroon’: {‘type’: ‘object’, ‘additionalProperties’: False}, ‘Error’: {‘required’: [‘message’, ‘code’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘message’: {‘type’: ‘string’}, ‘code’: {‘type’: ‘string’}, ‘info’: {‘$ref’: ‘#/definitions/ErrorInfo’}}}, ‘RemoteRelationUnitChange’: {‘required’: [‘unit-id’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘unit-id’: {‘$ref’: ‘#/definitions/RemoteEntityId’}, ‘settings’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘type’: ‘object’, ‘additionalProperties’: True}}}}}, ‘RemoteEntityId’: {‘required’: [‘model-uuid’, ‘token’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘model-uuid’: {‘type’: ‘string’}, ‘token’: {‘type’: ‘string’}}}, ‘RemoteApplicationChange’: {‘required’: [‘application-tag’, ‘life’, ‘relations’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘application-tag’: {‘type’: ‘string’}, ‘relations’: {‘$ref’: ‘#/definitions/RemoteRelationsChange’}, ‘life’: {‘type’: ‘string’}}}, ‘RemoteRelationChange’: {‘required’: [‘id’, ‘life’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘id’: {‘type’: ‘integer’}, ‘departed-units’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}, ‘changed-units’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘$ref’: ‘#/definitions/RemoteRelationUnitChange’}}}, ‘life’: {‘type’: ‘string’}}}, ‘RemoteApplicationWatchResult’: {‘required’: [‘id’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}, ‘id’: {‘type’: ‘string’}, ‘change’: {‘$ref’: ‘#/definitions/RemoteApplicationChange’}}}, ‘ErrorInfo’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘macaroon’: {‘$ref’: ‘#/definitions/Macaroon’}, ‘macaroon-path’: {‘type’: ‘string’}}}, ‘RemoteRelationsChange’: {‘required’: [‘initial’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘initial’: {‘type’: ‘boolean’}, ‘changed’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/RemoteRelationChange’}}, ‘removed’: {‘type’: ‘array’, ‘items’: {‘type’: ‘integer’}}}}}, ‘properties’: {‘Next’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/RemoteApplicationWatchResult’}}}, ‘Stop’: {‘type’: ‘object’}}}
version = 1
class juju.client._client1.RemoteRelationsWatcherFacade[source]

Bases: juju.client.facade.Type

coroutine Next()[source]

Returns -> typing.Union[str, _ForwardRef(‘RemoteRelationsChange’), _ForwardRef(‘Error’)]

coroutine Stop()[source]

Returns -> None

name = ‘RemoteRelationsWatcher’
schema = {‘type’: ‘object’, ‘definitions’: {‘Macaroon’: {‘type’: ‘object’, ‘additionalProperties’: False}, ‘Error’: {‘required’: [‘message’, ‘code’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘message’: {‘type’: ‘string’}, ‘code’: {‘type’: ‘string’}, ‘info’: {‘$ref’: ‘#/definitions/ErrorInfo’}}}, ‘RemoteEntityId’: {‘required’: [‘model-uuid’, ‘token’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘model-uuid’: {‘type’: ‘string’}, ‘token’: {‘type’: ‘string’}}}, ‘RemoteRelationsWatchResult’: {‘required’: [‘RemoteRelationsWatcherId’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}, ‘RemoteRelationsWatcherId’: {‘type’: ‘string’}, ‘change’: {‘$ref’: ‘#/definitions/RemoteRelationsChange’}}}, ‘RemoteRelationChange’: {‘required’: [‘id’, ‘life’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘id’: {‘type’: ‘integer’}, ‘departed-units’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}, ‘changed-units’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘$ref’: ‘#/definitions/RemoteRelationUnitChange’}}}, ‘life’: {‘type’: ‘string’}}}, ‘RemoteRelationUnitChange’: {‘required’: [‘unit-id’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘unit-id’: {‘$ref’: ‘#/definitions/RemoteEntityId’}, ‘settings’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘type’: ‘object’, ‘additionalProperties’: True}}}}}, ‘ErrorInfo’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘macaroon’: {‘$ref’: ‘#/definitions/Macaroon’}, ‘macaroon-path’: {‘type’: ‘string’}}}, ‘RemoteRelationsChange’: {‘required’: [‘initial’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘initial’: {‘type’: ‘boolean’}, ‘changed’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/RemoteRelationChange’}}, ‘removed’: {‘type’: ‘array’, ‘items’: {‘type’: ‘integer’}}}}}, ‘properties’: {‘Next’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/RemoteRelationsWatchResult’}}}, ‘Stop’: {‘type’: ‘object’}}}
version = 1
class juju.client._client1.ResourcesFacade[source]

Bases: juju.client.facade.Type

coroutine AddPendingResources(application_tag, charm_url, resources)[source]

Fix the calling signature of AddPendingResources.

The ResourcesFacade doesn’t conform to the standard facade pattern in the Juju source, which leads to the schemagened code not matching up properly with the actual calling convention in the API. There is work planned to fix this in Juju, but we have to work around it for now.

application_tag : str charm_url : str resources : typing.Sequence<+T_co>[~CharmResource]<~CharmResource> Returns -> typing.Union[_ForwardRef(‘ErrorResult’),

typing.Sequence<+T_co>[str]]
coroutine ListResources(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~ResourcesResult]<~ResourcesResult>

connect(connection)
from_json(data)
name = ‘Resources’
coroutine rpc(msg)
schema = {‘type’: ‘object’, ‘definitions’: {‘Macaroon’: {‘type’: ‘object’, ‘additionalProperties’: False}, ‘ErrorResult’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}}}, ‘UnitResources’: {‘required’: [‘Entity’, ‘resources’, ‘download-progress’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘download-progress’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘type’: ‘integer’}}}, ‘Entity’: {‘$ref’: ‘#/definitions/Entity’}, ‘resources’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/Resource’}}}}, ‘AddPendingResourcesResult’: {‘required’: [‘ErrorResult’, ‘pending-ids’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘pending-ids’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}, ‘ErrorResult’: {‘$ref’: ‘#/definitions/ErrorResult’}}}, ‘AddPendingResourcesArgs’: {‘required’: [‘Entity’, ‘AddCharmWithAuthorization’, ‘resources’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘Entity’: {‘$ref’: ‘#/definitions/Entity’}, ‘AddCharmWithAuthorization’: {‘$ref’: ‘#/definitions/AddCharmWithAuthorization’}, ‘resources’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/CharmResource’}}}}, ‘Resource’: {‘required’: [‘CharmResource’, ‘id’, ‘pending-id’, ‘application’, ‘username’, ‘timestamp’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘CharmResource’: {‘$ref’: ‘#/definitions/CharmResource’}, ‘id’: {‘type’: ‘string’}, ‘username’: {‘type’: ‘string’}, ‘application’: {‘type’: ‘string’}, ‘timestamp’: {‘type’: ‘string’, ‘format’: ‘date-time’}, ‘pending-id’: {‘type’: ‘string’}}}, ‘Error’: {‘required’: [‘message’, ‘code’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘message’: {‘type’: ‘string’}, ‘code’: {‘type’: ‘string’}, ‘info’: {‘$ref’: ‘#/definitions/ErrorInfo’}}}, ‘ErrorInfo’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘macaroon’: {‘$ref’: ‘#/definitions/Macaroon’}, ‘macaroon-path’: {‘type’: ‘string’}}}, ‘CharmResource’: {‘required’: [‘name’, ‘type’, ‘path’, ‘origin’, ‘revision’, ‘fingerprint’, ‘size’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘origin’: {‘type’: ‘string’}, ‘fingerprint’: {‘type’: ‘array’, ‘items’: {‘type’: ‘integer’}}, ‘size’: {‘type’: ‘integer’}, ‘description’: {‘type’: ‘string’}, ‘type’: {‘type’: ‘string’}, ‘revision’: {‘type’: ‘integer’}, ‘path’: {‘type’: ‘string’}, ‘name’: {‘type’: ‘string’}}}, ‘Entity’: {‘required’: [‘tag’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘tag’: {‘type’: ‘string’}}}, ‘ResourcesResult’: {‘required’: [‘ErrorResult’, ‘resources’, ‘charm-store-resources’, ‘unit-resources’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘unit-resources’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/UnitResources’}}, ‘ErrorResult’: {‘$ref’: ‘#/definitions/ErrorResult’}, ‘charm-store-resources’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/CharmResource’}}, ‘resources’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/Resource’}}}}, ‘ListResourcesArgs’: {‘required’: [‘entities’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘entities’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/Entity’}}}}, ‘ResourcesResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/ResourcesResult’}}}}, ‘AddCharmWithAuthorization’: {‘required’: [‘url’, ‘channel’, ‘macaroon’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘url’: {‘type’: ‘string’}, ‘macaroon’: {‘$ref’: ‘#/definitions/Macaroon’}, ‘channel’: {‘type’: ‘string’}}}}, ‘properties’: {‘AddPendingResources’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/AddPendingResourcesResult’}, ‘Params’: {‘$ref’: ‘#/definitions/AddPendingResourcesArgs’}}}, ‘ListResources’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ResourcesResults’}, ‘Params’: {‘$ref’: ‘#/definitions/ListResourcesArgs’}}}}}
serialize()
to_json()
version = 1
class juju.client._client1.ResourcesHookContextFacade[source]

Bases: juju.client.facade.Type

coroutine GetResourceInfo(resource_names)[source]

resource_names : typing.Sequence<+T_co>[str] Returns -> typing.Union[_ForwardRef(‘ErrorResult’), typing.Sequence<+T_co>[~UnitResourceResult]<~UnitResourceResult>]

name = ‘ResourcesHookContext’
schema = {‘type’: ‘object’, ‘definitions’: {‘Macaroon’: {‘type’: ‘object’, ‘additionalProperties’: False}, ‘CharmResource’: {‘required’: [‘name’, ‘type’, ‘path’, ‘origin’, ‘revision’, ‘fingerprint’, ‘size’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘origin’: {‘type’: ‘string’}, ‘fingerprint’: {‘type’: ‘array’, ‘items’: {‘type’: ‘integer’}}, ‘size’: {‘type’: ‘integer’}, ‘description’: {‘type’: ‘string’}, ‘type’: {‘type’: ‘string’}, ‘revision’: {‘type’: ‘integer’}, ‘path’: {‘type’: ‘string’}, ‘name’: {‘type’: ‘string’}}}, ‘UnitResourcesResult’: {‘required’: [‘ErrorResult’, ‘resources’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘ErrorResult’: {‘$ref’: ‘#/definitions/ErrorResult’}, ‘resources’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/UnitResourceResult’}}}}, ‘ErrorResult’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}}}, ‘ListUnitResourcesArgs’: {‘required’: [‘resource-names’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘resource-names’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}}}, ‘UnitResourceResult’: {‘required’: [‘ErrorResult’, ‘resource’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘ErrorResult’: {‘$ref’: ‘#/definitions/ErrorResult’}, ‘resource’: {‘$ref’: ‘#/definitions/Resource’}}}, ‘Resource’: {‘required’: [‘CharmResource’, ‘id’, ‘pending-id’, ‘application’, ‘username’, ‘timestamp’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘CharmResource’: {‘$ref’: ‘#/definitions/CharmResource’}, ‘id’: {‘type’: ‘string’}, ‘username’: {‘type’: ‘string’}, ‘application’: {‘type’: ‘string’}, ‘timestamp’: {‘type’: ‘string’, ‘format’: ‘date-time’}, ‘pending-id’: {‘type’: ‘string’}}}, ‘Error’: {‘required’: [‘message’, ‘code’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘message’: {‘type’: ‘string’}, ‘code’: {‘type’: ‘string’}, ‘info’: {‘$ref’: ‘#/definitions/ErrorInfo’}}}, ‘ErrorInfo’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘macaroon’: {‘$ref’: ‘#/definitions/Macaroon’}, ‘macaroon-path’: {‘type’: ‘string’}}}}, ‘properties’: {‘GetResourceInfo’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/UnitResourcesResult’}, ‘Params’: {‘$ref’: ‘#/definitions/ListUnitResourcesArgs’}}}}}
version = 1
class juju.client._client1.RetryStrategyFacade[source]

Bases: juju.client.facade.Type

coroutine RetryStrategy(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~RetryStrategyResult]<~RetryStrategyResult>

coroutine WatchRetryStrategy(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~NotifyWatchResult]<~NotifyWatchResult>

name = ‘RetryStrategy’
schema = {‘type’: ‘object’, ‘definitions’: {‘Macaroon’: {‘type’: ‘object’, ‘additionalProperties’: False}, ‘Error’: {‘required’: [‘message’, ‘code’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘message’: {‘type’: ‘string’}, ‘code’: {‘type’: ‘string’}, ‘info’: {‘$ref’: ‘#/definitions/ErrorInfo’}}}, ‘Entity’: {‘required’: [‘tag’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘tag’: {‘type’: ‘string’}}}, ‘RetryStrategyResult’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}, ‘result’: {‘$ref’: ‘#/definitions/RetryStrategy’}}}, ‘RetryStrategyResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/RetryStrategyResult’}}}}, ‘NotifyWatchResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/NotifyWatchResult’}}}}, ‘NotifyWatchResult’: {‘required’: [‘NotifyWatcherId’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘NotifyWatcherId’: {‘type’: ‘string’}, ‘error’: {‘$ref’: ‘#/definitions/Error’}}}, ‘Entities’: {‘required’: [‘entities’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘entities’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/Entity’}}}}, ‘ErrorInfo’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘macaroon’: {‘$ref’: ‘#/definitions/Macaroon’}, ‘macaroon-path’: {‘type’: ‘string’}}}, ‘RetryStrategy’: {‘required’: [‘should-retry’, ‘min-retry-time’, ‘max-retry-time’, ‘jitter-retry-time’, ‘retry-time-factor’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘jitter-retry-time’: {‘type’: ‘boolean’}, ‘max-retry-time’: {‘type’: ‘integer’}, ‘min-retry-time’: {‘type’: ‘integer’}, ‘retry-time-factor’: {‘type’: ‘integer’}, ‘should-retry’: {‘type’: ‘boolean’}}}}, ‘properties’: {‘WatchRetryStrategy’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/NotifyWatchResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘RetryStrategy’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/RetryStrategyResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}}}
version = 1
class juju.client._client1.SSHClientFacade[source]

Bases: juju.client.facade.Type

coroutine PrivateAddress(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~SSHAddressResult]<~SSHAddressResult>

coroutine Proxy()[source]

Returns -> bool

coroutine PublicAddress(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~SSHAddressResult]<~SSHAddressResult>

coroutine PublicKeys(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~SSHPublicKeysResult]<~SSHPublicKeysResult>

name = ‘SSHClient’
schema = {‘type’: ‘object’, ‘definitions’: {‘SSHPublicKeysResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/SSHPublicKeysResult’}}}}, ‘Macaroon’: {‘type’: ‘object’, ‘additionalProperties’: False}, ‘Error’: {‘required’: [‘message’, ‘code’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘message’: {‘type’: ‘string’}, ‘code’: {‘type’: ‘string’}, ‘info’: {‘$ref’: ‘#/definitions/ErrorInfo’}}}, ‘SSHAddressResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/SSHAddressResult’}}}}, ‘Entity’: {‘required’: [‘tag’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘tag’: {‘type’: ‘string’}}}, ‘SSHProxyResult’: {‘required’: [‘use-proxy’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘use-proxy’: {‘type’: ‘boolean’}}}, ‘SSHPublicKeysResult’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}, ‘public-keys’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}}}, ‘Entities’: {‘required’: [‘entities’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘entities’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/Entity’}}}}, ‘ErrorInfo’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘macaroon’: {‘$ref’: ‘#/definitions/Macaroon’}, ‘macaroon-path’: {‘type’: ‘string’}}}, ‘SSHAddressResult’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘address’: {‘type’: ‘string’}, ‘error’: {‘$ref’: ‘#/definitions/Error’}}}}, ‘properties’: {‘PublicKeys’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/SSHPublicKeysResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘Proxy’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/SSHProxyResult’}}}, ‘PrivateAddress’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/SSHAddressResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘PublicAddress’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/SSHAddressResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}}}
version = 1
class juju.client._client1.SingularFacade[source]

Bases: juju.client.facade.Type

coroutine Claim(claims)[source]

claims : typing.Sequence<+T_co>[~SingularClaim]<~SingularClaim> Returns -> typing.Sequence<+T_co>[~ErrorResult]<~ErrorResult>

coroutine Wait(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~ErrorResult]<~ErrorResult>

name = ‘Singular’
schema = {‘type’: ‘object’, ‘definitions’: {‘Macaroon’: {‘type’: ‘object’, ‘additionalProperties’: False}, ‘Error’: {‘required’: [‘message’, ‘code’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘message’: {‘type’: ‘string’}, ‘code’: {‘type’: ‘string’}, ‘info’: {‘$ref’: ‘#/definitions/ErrorInfo’}}}, ‘Entity’: {‘required’: [‘tag’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘tag’: {‘type’: ‘string’}}}, ‘ErrorResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/ErrorResult’}}}}, ‘ErrorResult’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}}}, ‘SingularClaim’: {‘required’: [‘model-tag’, ‘controller-tag’, ‘duration’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘controller-tag’: {‘type’: ‘string’}, ‘model-tag’: {‘type’: ‘string’}, ‘duration’: {‘type’: ‘integer’}}}, ‘SingularClaims’: {‘required’: [‘claims’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘claims’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/SingularClaim’}}}}, ‘Entities’: {‘required’: [‘entities’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘entities’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/Entity’}}}}, ‘ErrorInfo’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘macaroon’: {‘$ref’: ‘#/definitions/Macaroon’}, ‘macaroon-path’: {‘type’: ‘string’}}}}, ‘properties’: {‘Wait’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ErrorResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘Claim’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ErrorResults’}, ‘Params’: {‘$ref’: ‘#/definitions/SingularClaims’}}}}}
version = 1
class juju.client._client1.StringsWatcherFacade[source]

Bases: juju.client.facade.Type

coroutine Next()[source]

Returns -> typing.Union[typing.Sequence<+T_co>[str], _ForwardRef(‘Error’)]

coroutine Stop()[source]

Returns -> None

name = ‘StringsWatcher’
schema = {‘type’: ‘object’, ‘definitions’: {‘Macaroon’: {‘type’: ‘object’, ‘additionalProperties’: False}, ‘Error’: {‘required’: [‘message’, ‘code’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘message’: {‘type’: ‘string’}, ‘code’: {‘type’: ‘string’}, ‘info’: {‘$ref’: ‘#/definitions/ErrorInfo’}}}, ‘ErrorInfo’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘macaroon’: {‘$ref’: ‘#/definitions/Macaroon’}, ‘macaroon-path’: {‘type’: ‘string’}}}, ‘StringsWatchResult’: {‘required’: [‘watcher-id’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘watcher-id’: {‘type’: ‘string’}, ‘changes’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}, ‘error’: {‘$ref’: ‘#/definitions/Error’}}}}, ‘properties’: {‘Next’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/StringsWatchResult’}}}, ‘Stop’: {‘type’: ‘object’}}}
version = 1
class juju.client._client1.UndertakerFacade[source]

Bases: juju.client.facade.Type

coroutine ModelConfig()[source]

Returns -> typing.Mapping<~KT, +VT_co>[str, typing.Any]

coroutine ModelInfo()[source]

Returns -> typing.Union[_ForwardRef(‘Error’), _ForwardRef(‘UndertakerModelInfo’)]

coroutine ProcessDyingModel()[source]

Returns -> None

coroutine RemoveModel()[source]

Returns -> None

coroutine SetStatus(entities)[source]

entities : typing.Sequence<+T_co>[~EntityStatusArgs]<~EntityStatusArgs> Returns -> typing.Sequence<+T_co>[~ErrorResult]<~ErrorResult>

coroutine UpdateStatus(entities)[source]

entities : typing.Sequence<+T_co>[~EntityStatusArgs]<~EntityStatusArgs> Returns -> typing.Sequence<+T_co>[~ErrorResult]<~ErrorResult>

coroutine WatchModelResources()[source]

Returns -> typing.Sequence<+T_co>[~NotifyWatchResult]<~NotifyWatchResult>

name = ‘Undertaker’
schema = {‘type’: ‘object’, ‘definitions’: {‘Macaroon’: {‘type’: ‘object’, ‘additionalProperties’: False}, ‘ErrorResult’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}}}, ‘ErrorResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/ErrorResult’}}}}, ‘NotifyWatchResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/NotifyWatchResult’}}}}, ‘NotifyWatchResult’: {‘required’: [‘NotifyWatcherId’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘NotifyWatcherId’: {‘type’: ‘string’}, ‘error’: {‘$ref’: ‘#/definitions/Error’}}}, ‘ErrorInfo’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘macaroon’: {‘$ref’: ‘#/definitions/Macaroon’}, ‘macaroon-path’: {‘type’: ‘string’}}}, ‘EntityStatusArgs’: {‘required’: [‘tag’, ‘status’, ‘info’, ‘data’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘tag’: {‘type’: ‘string’}, ‘status’: {‘type’: ‘string’}, ‘info’: {‘type’: ‘string’}, ‘data’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘type’: ‘object’, ‘additionalProperties’: True}}}}}, ‘Error’: {‘required’: [‘message’, ‘code’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘message’: {‘type’: ‘string’}, ‘code’: {‘type’: ‘string’}, ‘info’: {‘$ref’: ‘#/definitions/ErrorInfo’}}}, ‘UndertakerModelInfoResult’: {‘required’: [‘result’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}, ‘result’: {‘$ref’: ‘#/definitions/UndertakerModelInfo’}}}, ‘ModelConfigResult’: {‘required’: [‘config’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘config’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘type’: ‘object’, ‘additionalProperties’: True}}}}}, ‘SetStatus’: {‘required’: [‘entities’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘entities’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/EntityStatusArgs’}}}}, ‘UndertakerModelInfo’: {‘required’: [‘uuid’, ‘name’, ‘global-name’, ‘is-system’, ‘life’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘global-name’: {‘type’: ‘string’}, ‘uuid’: {‘type’: ‘string’}, ‘name’: {‘type’: ‘string’}, ‘life’: {‘type’: ‘string’}, ‘is-system’: {‘type’: ‘boolean’}}}}, ‘properties’: {‘ProcessDyingModel’: {‘type’: ‘object’}, ‘ModelConfig’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ModelConfigResult’}}}, ‘SetStatus’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ErrorResults’}, ‘Params’: {‘$ref’: ‘#/definitions/SetStatus’}}}, ‘UpdateStatus’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ErrorResults’}, ‘Params’: {‘$ref’: ‘#/definitions/SetStatus’}}}, ‘WatchModelResources’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/NotifyWatchResults’}}}, ‘RemoveModel’: {‘type’: ‘object’}, ‘ModelInfo’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/UndertakerModelInfoResult’}}}}}
version = 1
class juju.client._client1.UnitAssignerFacade[source]

Bases: juju.client.facade.Type

coroutine AssignUnits(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~ErrorResult]<~ErrorResult>

coroutine SetAgentStatus(entities)[source]

entities : typing.Sequence<+T_co>[~EntityStatusArgs]<~EntityStatusArgs> Returns -> typing.Sequence<+T_co>[~ErrorResult]<~ErrorResult>

coroutine WatchUnitAssignments()[source]

Returns -> typing.Union[typing.Sequence<+T_co>[str], _ForwardRef(‘Error’)]

name = ‘UnitAssigner’
schema = {‘type’: ‘object’, ‘definitions’: {‘EntityStatusArgs’: {‘required’: [‘tag’, ‘status’, ‘info’, ‘data’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘tag’: {‘type’: ‘string’}, ‘status’: {‘type’: ‘string’}, ‘info’: {‘type’: ‘string’}, ‘data’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘type’: ‘object’, ‘additionalProperties’: True}}}}}, ‘Macaroon’: {‘type’: ‘object’, ‘additionalProperties’: False}, ‘Error’: {‘required’: [‘message’, ‘code’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘message’: {‘type’: ‘string’}, ‘code’: {‘type’: ‘string’}, ‘info’: {‘$ref’: ‘#/definitions/ErrorInfo’}}}, ‘Entity’: {‘required’: [‘tag’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘tag’: {‘type’: ‘string’}}}, ‘ErrorResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/ErrorResult’}}}}, ‘StringsWatchResult’: {‘required’: [‘watcher-id’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘watcher-id’: {‘type’: ‘string’}, ‘changes’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}, ‘error’: {‘$ref’: ‘#/definitions/Error’}}}, ‘SetStatus’: {‘required’: [‘entities’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘entities’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/EntityStatusArgs’}}}}, ‘ErrorResult’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}}}, ‘Entities’: {‘required’: [‘entities’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘entities’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/Entity’}}}}, ‘ErrorInfo’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘macaroon’: {‘$ref’: ‘#/definitions/Macaroon’}, ‘macaroon-path’: {‘type’: ‘string’}}}}, ‘properties’: {‘WatchUnitAssignments’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/StringsWatchResult’}}}, ‘SetAgentStatus’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ErrorResults’}, ‘Params’: {‘$ref’: ‘#/definitions/SetStatus’}}}, ‘AssignUnits’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ErrorResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}}}
version = 1
class juju.client._client1.UpgraderFacade[source]

Bases: juju.client.facade.Type

coroutine DesiredVersion(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~VersionResult]<~VersionResult>

coroutine SetTools(agent_tools)[source]

agent_tools : typing.Sequence<+T_co>[~EntityVersion]<~EntityVersion> Returns -> typing.Sequence<+T_co>[~ErrorResult]<~ErrorResult>

coroutine Tools(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~ToolsResult]<~ToolsResult>

coroutine WatchAPIVersion(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~NotifyWatchResult]<~NotifyWatchResult>

name = ‘Upgrader’
schema = {‘type’: ‘object’, ‘definitions’: {‘Tools’: {‘required’: [‘version’, ‘url’, ‘size’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘sha256’: {‘type’: ‘string’}, ‘url’: {‘type’: ‘string’}, ‘size’: {‘type’: ‘integer’}, ‘version’: {‘$ref’: ‘#/definitions/Binary’}}}, ‘Macaroon’: {‘type’: ‘object’, ‘additionalProperties’: False}, ‘ToolsResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/ToolsResult’}}}}, ‘Number’: {‘required’: [‘Major’, ‘Minor’, ‘Tag’, ‘Patch’, ‘Build’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘Major’: {‘type’: ‘integer’}, ‘Minor’: {‘type’: ‘integer’}, ‘Tag’: {‘type’: ‘string’}, ‘Patch’: {‘type’: ‘integer’}, ‘Build’: {‘type’: ‘integer’}}}, ‘ErrorResult’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}}}, ‘EntityVersion’: {‘required’: [‘tag’, ‘tools’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘tag’: {‘type’: ‘string’}, ‘tools’: {‘$ref’: ‘#/definitions/Version’}}}, ‘NotifyWatchResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/NotifyWatchResult’}}}}, ‘Version’: {‘required’: [‘version’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘version’: {‘$ref’: ‘#/definitions/Binary’}}}, ‘VersionResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/VersionResult’}}}}, ‘ErrorInfo’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘macaroon’: {‘$ref’: ‘#/definitions/Macaroon’}, ‘macaroon-path’: {‘type’: ‘string’}}}, ‘ToolsResult’: {‘required’: [‘tools’, ‘disable-ssl-hostname-verification’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}, ‘disable-ssl-hostname-verification’: {‘type’: ‘boolean’}, ‘tools’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/Tools’}}}}, ‘Error’: {‘required’: [‘message’, ‘code’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘message’: {‘type’: ‘string’}, ‘code’: {‘type’: ‘string’}, ‘info’: {‘$ref’: ‘#/definitions/ErrorInfo’}}}, ‘EntitiesVersion’: {‘required’: [‘agent-tools’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘agent-tools’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/EntityVersion’}}}}, ‘Entity’: {‘required’: [‘tag’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘tag’: {‘type’: ‘string’}}}, ‘Binary’: {‘required’: [‘Number’, ‘Series’, ‘Arch’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘Arch’: {‘type’: ‘string’}, ‘Number’: {‘$ref’: ‘#/definitions/Number’}, ‘Series’: {‘type’: ‘string’}}}, ‘NotifyWatchResult’: {‘required’: [‘NotifyWatcherId’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘NotifyWatcherId’: {‘type’: ‘string’}, ‘error’: {‘$ref’: ‘#/definitions/Error’}}}, ‘Entities’: {‘required’: [‘entities’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘entities’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/Entity’}}}}, ‘VersionResult’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘version’: {‘$ref’: ‘#/definitions/Number’}, ‘error’: {‘$ref’: ‘#/definitions/Error’}}}, ‘ErrorResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/ErrorResult’}}}}}, ‘properties’: {‘Tools’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ToolsResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘WatchAPIVersion’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/NotifyWatchResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘SetTools’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ErrorResults’}, ‘Params’: {‘$ref’: ‘#/definitions/EntitiesVersion’}}}, ‘DesiredVersion’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/VersionResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}}}
version = 1
class juju.client._client1.UserManagerFacade[source]

Bases: juju.client.facade.Type

coroutine AddUser(users)[source]

users : typing.Sequence<+T_co>[~AddUser]<~AddUser> Returns -> typing.Sequence<+T_co>[~AddUserResult]<~AddUserResult>

coroutine DisableUser(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~ErrorResult]<~ErrorResult>

coroutine EnableUser(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~ErrorResult]<~ErrorResult>

coroutine RemoveUser(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~ErrorResult]<~ErrorResult>

coroutine SetPassword(changes)[source]

changes : typing.Sequence<+T_co>[~EntityPassword]<~EntityPassword> Returns -> typing.Sequence<+T_co>[~ErrorResult]<~ErrorResult>

coroutine UserInfo(entities, include_disabled)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> include_disabled : bool Returns -> typing.Sequence<+T_co>[~UserInfoResult]<~UserInfoResult>

name = ‘UserManager’
schema = {‘type’: ‘object’, ‘definitions’: {‘Macaroon’: {‘type’: ‘object’, ‘additionalProperties’: False}, ‘EntityPasswords’: {‘required’: [‘changes’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘changes’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/EntityPassword’}}}}, ‘ErrorResult’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}}}, ‘ErrorResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/ErrorResult’}}}}, ‘AddUsers’: {‘required’: [‘users’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘users’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/AddUser’}}}}, ‘AddUserResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/AddUserResult’}}}}, ‘AddUser’: {‘required’: [‘username’, ‘display-name’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘username’: {‘type’: ‘string’}, ‘display-name’: {‘type’: ‘string’}, ‘password’: {‘type’: ‘string’}}}, ‘Error’: {‘required’: [‘message’, ‘code’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘message’: {‘type’: ‘string’}, ‘code’: {‘type’: ‘string’}, ‘info’: {‘$ref’: ‘#/definitions/ErrorInfo’}}}, ‘UserInfo’: {‘required’: [‘username’, ‘display-name’, ‘access’, ‘created-by’, ‘date-created’, ‘disabled’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘access’: {‘type’: ‘string’}, ‘date-created’: {‘type’: ‘string’, ‘format’: ‘date-time’}, ‘display-name’: {‘type’: ‘string’}, ‘username’: {‘type’: ‘string’}, ‘last-connection’: {‘type’: ‘string’, ‘format’: ‘date-time’}, ‘disabled’: {‘type’: ‘boolean’}, ‘created-by’: {‘type’: ‘string’}}}, ‘ErrorInfo’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘macaroon’: {‘$ref’: ‘#/definitions/Macaroon’}, ‘macaroon-path’: {‘type’: ‘string’}}}, ‘EntityPassword’: {‘required’: [‘tag’, ‘password’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘tag’: {‘type’: ‘string’}, ‘password’: {‘type’: ‘string’}}}, ‘AddUserResult’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘secret-key’: {‘type’: ‘array’, ‘items’: {‘type’: ‘integer’}}, ‘error’: {‘$ref’: ‘#/definitions/Error’}, ‘tag’: {‘type’: ‘string’}}}, ‘Entity’: {‘required’: [‘tag’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘tag’: {‘type’: ‘string’}}}, ‘UserInfoResult’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}, ‘result’: {‘$ref’: ‘#/definitions/UserInfo’}}}, ‘Entities’: {‘required’: [‘entities’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘entities’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/Entity’}}}}, ‘UserInfoResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/UserInfoResult’}}}}, ‘UserInfoRequest’: {‘required’: [‘entities’, ‘include-disabled’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘entities’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/Entity’}}, ‘include-disabled’: {‘type’: ‘boolean’}}}}, ‘properties’: {‘EnableUser’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ErrorResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘RemoveUser’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ErrorResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘UserInfo’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/UserInfoResults’}, ‘Params’: {‘$ref’: ‘#/definitions/UserInfoRequest’}}}, ‘AddUser’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/AddUserResults’}, ‘Params’: {‘$ref’: ‘#/definitions/AddUsers’}}}, ‘DisableUser’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ErrorResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘SetPassword’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ErrorResults’}, ‘Params’: {‘$ref’: ‘#/definitions/EntityPasswords’}}}}}
version = 1

juju.client._client2 module

class juju.client._client2.ActionFacade[source]

Bases: juju.client.facade.Type

coroutine Actions(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~ActionResult]<~ActionResult>

coroutine ApplicationsCharmsActions(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~ApplicationCharmActionsResult]<~ApplicationCharmActionsResult>

coroutine Cancel(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~ActionResult]<~ActionResult>

coroutine Enqueue(actions)[source]

actions : typing.Sequence<+T_co>[~Action]<~Action> Returns -> typing.Sequence<+T_co>[~ActionResult]<~ActionResult>

coroutine FindActionTagsByPrefix(prefixes)[source]

prefixes : typing.Sequence<+T_co>[str] Returns -> typing.Sequence<+T_co>[~Entity]<~Entity>

coroutine FindActionsByNames(names)[source]

names : typing.Sequence<+T_co>[str] Returns -> typing.Sequence<+T_co>[~ActionsByName]<~ActionsByName>

coroutine ListAll(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~ActionsByReceiver]<~ActionsByReceiver>

coroutine ListCompleted(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~ActionsByReceiver]<~ActionsByReceiver>

coroutine ListPending(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~ActionsByReceiver]<~ActionsByReceiver>

coroutine ListRunning(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~ActionsByReceiver]<~ActionsByReceiver>

coroutine Run(applications, commands, machines, timeout, units)[source]

applications : typing.Sequence<+T_co>[str] commands : str machines : typing.Sequence<+T_co>[str] timeout : int units : typing.Sequence<+T_co>[str] Returns -> typing.Sequence<+T_co>[~ActionResult]<~ActionResult>

coroutine RunOnAllMachines(applications, commands, machines, timeout, units)[source]

applications : typing.Sequence<+T_co>[str] commands : str machines : typing.Sequence<+T_co>[str] timeout : int units : typing.Sequence<+T_co>[str] Returns -> typing.Sequence<+T_co>[~ActionResult]<~ActionResult>

name = ‘Action’
schema = {‘type’: ‘object’, ‘definitions’: {‘Macaroon’: {‘type’: ‘object’, ‘additionalProperties’: False}, ‘FindTags’: {‘required’: [‘prefixes’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘prefixes’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}}}, ‘Entities’: {‘required’: [‘entities’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘entities’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/Entity’}}}}, ‘RunParams’: {‘required’: [‘commands’, ‘timeout’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘machines’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}, ‘commands’: {‘type’: ‘string’}, ‘applications’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}, ‘units’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}, ‘timeout’: {‘type’: ‘integer’}}}, ‘Actions’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘actions’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/Action’}}}}, ‘ActionsByReceivers’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘actions’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/ActionsByReceiver’}}}}, ‘ActionResults’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/ActionResult’}}}}, ‘FindTagsResults’: {‘required’: [‘matches’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘matches’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/Entity’}}}}}}, ‘ErrorInfo’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘macaroon’: {‘$ref’: ‘#/definitions/Macaroon’}, ‘macaroon-path’: {‘type’: ‘string’}}}, ‘Action’: {‘required’: [‘tag’, ‘receiver’, ‘name’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘tag’: {‘type’: ‘string’}, ‘receiver’: {‘type’: ‘string’}, ‘parameters’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘type’: ‘object’, ‘additionalProperties’: True}}}, ‘name’: {‘type’: ‘string’}}}, ‘Error’: {‘required’: [‘message’, ‘code’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘message’: {‘type’: ‘string’}, ‘code’: {‘type’: ‘string’}, ‘info’: {‘$ref’: ‘#/definitions/ErrorInfo’}}}, ‘ApplicationCharmActionsResult’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘application-tag’: {‘type’: ‘string’}, ‘actions’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘$ref’: ‘#/definitions/ActionSpec’}}}, ‘error’: {‘$ref’: ‘#/definitions/Error’}}}, ‘ActionsByReceiver’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘actions’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/ActionResult’}}, ‘receiver’: {‘type’: ‘string’}, ‘error’: {‘$ref’: ‘#/definitions/Error’}}}, ‘ActionsByNames’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘actions’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/ActionsByName’}}}}, ‘ActionsByName’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘actions’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/ActionResult’}}, ‘error’: {‘$ref’: ‘#/definitions/Error’}, ‘name’: {‘type’: ‘string’}}}, ‘ApplicationsCharmActionsResults’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/ApplicationCharmActionsResult’}}}}, ‘Entity’: {‘required’: [‘tag’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘tag’: {‘type’: ‘string’}}}, ‘ActionResult’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘status’: {‘type’: ‘string’}, ‘output’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘type’: ‘object’, ‘additionalProperties’: True}}}, ‘enqueued’: {‘type’: ‘string’, ‘format’: ‘date-time’}, ‘message’: {‘type’: ‘string’}, ‘error’: {‘$ref’: ‘#/definitions/Error’}, ‘action’: {‘$ref’: ‘#/definitions/Action’}, ‘started’: {‘type’: ‘string’, ‘format’: ‘date-time’}, ‘completed’: {‘type’: ‘string’, ‘format’: ‘date-time’}}}, ‘ActionSpec’: {‘required’: [‘description’, ‘params’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘params’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘type’: ‘object’, ‘additionalProperties’: True}}}, ‘description’: {‘type’: ‘string’}}}, ‘FindActionsByNames’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘names’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}}}}, ‘properties’: {‘ListAll’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ActionsByReceivers’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘Actions’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ActionResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘FindActionTagsByPrefix’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/FindTagsResults’}, ‘Params’: {‘$ref’: ‘#/definitions/FindTags’}}}, ‘Enqueue’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ActionResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Actions’}}}, ‘Cancel’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ActionResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘FindActionsByNames’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ActionsByNames’}, ‘Params’: {‘$ref’: ‘#/definitions/FindActionsByNames’}}}, ‘Run’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ActionResults’}, ‘Params’: {‘$ref’: ‘#/definitions/RunParams’}}}, ‘RunOnAllMachines’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ActionResults’}, ‘Params’: {‘$ref’: ‘#/definitions/RunParams’}}}, ‘ListRunning’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ActionsByReceivers’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘ApplicationsCharmsActions’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ApplicationsCharmActionsResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘ListPending’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ActionsByReceivers’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘ListCompleted’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ActionsByReceivers’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}}}
version = 2
class juju.client._client2.AgentFacade[source]

Bases: juju.client.facade.Type

coroutine ClearReboot(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~ErrorResult]<~ErrorResult>

coroutine CloudSpec(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~CloudSpecResult]<~CloudSpecResult>

coroutine ControllerConfig()[source]

Returns -> typing.Mapping<~KT, +VT_co>[str, typing.Any]

coroutine GetCloudSpec()[source]

Returns -> typing.Union[_ForwardRef(‘Error’), _ForwardRef(‘CloudSpec’)]

coroutine GetEntities(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~AgentGetEntitiesResult]<~AgentGetEntitiesResult>

coroutine IsMaster()[source]

Returns -> bool

coroutine ModelConfig()[source]

Returns -> typing.Mapping<~KT, +VT_co>[str, typing.Any]

coroutine SetPasswords(changes)[source]

changes : typing.Sequence<+T_co>[~EntityPassword]<~EntityPassword> Returns -> typing.Sequence<+T_co>[~ErrorResult]<~ErrorResult>

coroutine StateServingInfo()[source]

Returns -> typing.Union[int, str]

coroutine WatchCredentials(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~NotifyWatchResult]<~NotifyWatchResult>

coroutine WatchForModelConfigChanges()[source]

Returns -> typing.Union[str, _ForwardRef(‘Error’)]

name = ‘Agent’
schema = {‘type’: ‘object’, ‘definitions’: {‘Macaroon’: {‘type’: ‘object’, ‘additionalProperties’: False}, ‘ModelTag’: {‘type’: ‘object’, ‘additionalProperties’: False}, ‘ErrorResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/ErrorResult’}}}}, ‘IsMasterResult’: {‘required’: [‘master’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘master’: {‘type’: ‘boolean’}}}, ‘EntityPasswords’: {‘required’: [‘changes’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘changes’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/EntityPassword’}}}}, ‘CloudSpecResult’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}, ‘result’: {‘$ref’: ‘#/definitions/CloudSpec’}}}, ‘ErrorInfo’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘macaroon’: {‘$ref’: ‘#/definitions/Macaroon’}, ‘macaroon-path’: {‘type’: ‘string’}}}, ‘EntityPassword’: {‘required’: [‘tag’, ‘password’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘tag’: {‘type’: ‘string’}, ‘password’: {‘type’: ‘string’}}}, ‘Error’: {‘required’: [‘message’, ‘code’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘message’: {‘type’: ‘string’}, ‘code’: {‘type’: ‘string’}, ‘info’: {‘$ref’: ‘#/definitions/ErrorInfo’}}}, ‘Entity’: {‘required’: [‘tag’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘tag’: {‘type’: ‘string’}}}, ‘ModelConfigResult’: {‘required’: [‘config’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘config’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘type’: ‘object’, ‘additionalProperties’: True}}}}}, ‘StateServingInfo’: {‘required’: [‘api-port’, ‘state-port’, ‘cert’, ‘private-key’, ‘ca-private-key’, ‘shared-secret’, ‘system-identity’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘system-identity’: {‘type’: ‘string’}, ‘api-port’: {‘type’: ‘integer’}, ‘private-key’: {‘type’: ‘string’}, ‘ca-private-key’: {‘type’: ‘string’}, ‘state-port’: {‘type’: ‘integer’}, ‘cert’: {‘type’: ‘string’}, ‘shared-secret’: {‘type’: ‘string’}}}, ‘ErrorResult’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}}}, ‘NotifyWatchResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/NotifyWatchResult’}}}}, ‘AgentGetEntitiesResult’: {‘required’: [‘life’, ‘jobs’, ‘container-type’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘jobs’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}, ‘error’: {‘$ref’: ‘#/definitions/Error’}, ‘container-type’: {‘type’: ‘string’}, ‘life’: {‘type’: ‘string’}}}, ‘CloudSpecResults’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/CloudSpecResult’}}}}, ‘CloudCredential’: {‘required’: [‘auth-type’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘attrs’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘type’: ‘string’}}}, ‘redacted’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}, ‘auth-type’: {‘type’: ‘string’}}}, ‘ControllerConfigResult’: {‘required’: [‘config’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘config’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘type’: ‘object’, ‘additionalProperties’: True}}}}}, ‘NotifyWatchResult’: {‘required’: [‘NotifyWatcherId’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘NotifyWatcherId’: {‘type’: ‘string’}, ‘error’: {‘$ref’: ‘#/definitions/Error’}}}, ‘CloudSpec’: {‘required’: [‘type’, ‘name’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘type’: {‘type’: ‘string’}, ‘endpoint’: {‘type’: ‘string’}, ‘storage-endpoint’: {‘type’: ‘string’}, ‘region’: {‘type’: ‘string’}, ‘identity-endpoint’: {‘type’: ‘string’}, ‘credential’: {‘$ref’: ‘#/definitions/CloudCredential’}, ‘name’: {‘type’: ‘string’}}}, ‘Entities’: {‘required’: [‘entities’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘entities’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/Entity’}}}}, ‘AgentGetEntitiesResults’: {‘required’: [‘entities’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘entities’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/AgentGetEntitiesResult’}}}}}, ‘properties’: {‘ModelConfig’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ModelConfigResult’}}}, ‘WatchCredentials’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/NotifyWatchResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘ControllerConfig’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ControllerConfigResult’}}}, ‘IsMaster’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/IsMasterResult’}}}, ‘CloudSpec’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/CloudSpecResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘SetPasswords’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ErrorResults’}, ‘Params’: {‘$ref’: ‘#/definitions/EntityPasswords’}}}, ‘WatchForModelConfigChanges’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/NotifyWatchResult’}}}, ‘GetCloudSpec’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/CloudSpecResult’}, ‘Params’: {‘$ref’: ‘#/definitions/ModelTag’}}}, ‘StateServingInfo’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/StateServingInfo’}}}, ‘ClearReboot’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ErrorResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘GetEntities’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/AgentGetEntitiesResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}}}
version = 2
class juju.client._client2.AllModelWatcherFacade[source]

Bases: juju.client.facade.Type

coroutine Next()[source]

Returns -> typing.Sequence<+T_co>[~Delta]<~Delta>

coroutine Stop()[source]

Returns -> None

name = ‘AllModelWatcher’
schema = {‘type’: ‘object’, ‘definitions’: {‘Delta’: {‘required’: [‘removed’, ‘entity’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘entity’: {‘type’: ‘object’, ‘additionalProperties’: True}, ‘removed’: {‘type’: ‘boolean’}}}, ‘AllWatcherNextResults’: {‘required’: [‘deltas’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘deltas’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/Delta’}}}}}, ‘properties’: {‘Next’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/AllWatcherNextResults’}}}, ‘Stop’: {‘type’: ‘object’}}}
version = 2
class juju.client._client2.AnnotationsFacade[source]

Bases: juju.client.facade.Type

coroutine Get(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~AnnotationsGetResult]<~AnnotationsGetResult>

coroutine Set(annotations)[source]

annotations : typing.Sequence<+T_co>[~EntityAnnotations]<~EntityAnnotations> Returns -> typing.Sequence<+T_co>[~ErrorResult]<~ErrorResult>

name = ‘Annotations’
schema = {‘type’: ‘object’, ‘definitions’: {‘EntityAnnotations’: {‘required’: [‘entity’, ‘annotations’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘entity’: {‘type’: ‘string’}, ‘annotations’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘type’: ‘string’}}}}}, ‘AnnotationsSet’: {‘required’: [‘annotations’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘annotations’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/EntityAnnotations’}}}}, ‘Entity’: {‘required’: [‘tag’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘tag’: {‘type’: ‘string’}}}, ‘ErrorResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/ErrorResult’}}}}, ‘AnnotationsGetResult’: {‘required’: [‘entity’, ‘annotations’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/ErrorResult’}, ‘entity’: {‘type’: ‘string’}, ‘annotations’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘type’: ‘string’}}}}}, ‘Macaroon’: {‘type’: ‘object’, ‘additionalProperties’: False}, ‘AnnotationsGetResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/AnnotationsGetResult’}}}}, ‘ErrorResult’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}}}, ‘Entities’: {‘required’: [‘entities’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘entities’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/Entity’}}}}, ‘Error’: {‘required’: [‘message’, ‘code’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘message’: {‘type’: ‘string’}, ‘code’: {‘type’: ‘string’}, ‘info’: {‘$ref’: ‘#/definitions/ErrorInfo’}}}, ‘ErrorInfo’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘macaroon’: {‘$ref’: ‘#/definitions/Macaroon’}, ‘macaroon-path’: {‘type’: ‘string’}}}}, ‘properties’: {‘Get’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/AnnotationsGetResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘Set’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ErrorResults’}, ‘Params’: {‘$ref’: ‘#/definitions/AnnotationsSet’}}}}}
version = 2
class juju.client._client2.ApplicationFacade[source]

Bases: juju.client.facade.Type

coroutine AddRelation(endpoints)[source]

endpoints : typing.Sequence<+T_co>[str] Returns -> typing.Mapping<~KT, +VT_co>[str, ~CharmRelation]<~CharmRelation>

coroutine AddUnits(application, num_units, placement)[source]

application : str num_units : int placement : typing.Sequence<+T_co>[~Placement]<~Placement> Returns -> typing.Sequence<+T_co>[str]

coroutine CharmRelations(application)[source]

application : str Returns -> typing.Sequence<+T_co>[str]

coroutine Deploy(applications)[source]

applications : typing.Sequence<+T_co>[~ApplicationDeploy]<~ApplicationDeploy> Returns -> typing.Sequence<+T_co>[~ErrorResult]<~ErrorResult>

coroutine Destroy(application)[source]

application : str Returns -> None

coroutine DestroyRelation(endpoints)[source]

endpoints : typing.Sequence<+T_co>[str] Returns -> None

coroutine DestroyUnits(unit_names)[source]

unit_names : typing.Sequence<+T_co>[str] Returns -> None

coroutine Expose(application)[source]

application : str Returns -> None

coroutine Get(application)[source]

application : str Returns -> typing.Union[str, typing.Mapping<~KT, +VT_co>[str, typing.Any], _ForwardRef(‘Value’)]

coroutine GetCharmURL(application)[source]

application : str Returns -> typing.Union[_ForwardRef(‘Error’), str]

coroutine GetConstraints(application)[source]

application : str Returns -> Value

coroutine Set(application, options)[source]

application : str options : typing.Mapping<~KT, +VT_co>[str, str] Returns -> None

coroutine SetCharm(application, channel, charm_url, config_settings, config_settings_yaml, force_series, force_units, resource_ids, storage_constraints)[source]

application : str channel : str charm_url : str config_settings : typing.Mapping<~KT, +VT_co>[str, str] config_settings_yaml : str force_series : bool force_units : bool resource_ids : typing.Mapping<~KT, +VT_co>[str, str] storage_constraints : typing.Mapping<~KT, +VT_co>[str, ~StorageConstraints]<~StorageConstraints> Returns -> None

coroutine SetConstraints(application, constraints)[source]

application : str constraints : Value Returns -> None

coroutine SetMetricCredentials(creds)[source]

creds : typing.Sequence<+T_co>[~ApplicationMetricCredential]<~ApplicationMetricCredential> Returns -> typing.Sequence<+T_co>[~ErrorResult]<~ErrorResult>

coroutine Unexpose(application)[source]

application : str Returns -> None

coroutine Unset(application, options)[source]

application : str options : typing.Sequence<+T_co>[str] Returns -> None

coroutine Update(application, charm_url, constraints, force_charm_url, force_series, min_units, settings, settings_yaml)[source]

application : str charm_url : str constraints : Value force_charm_url : bool force_series : bool min_units : int settings : typing.Mapping<~KT, +VT_co>[str, str] settings_yaml : str Returns -> None

name = ‘Application’
schema = {‘type’: ‘object’, ‘definitions’: {‘ApplicationsDeploy’: {‘required’: [‘applications’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘applications’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/ApplicationDeploy’}}}}, ‘Macaroon’: {‘type’: ‘object’, ‘additionalProperties’: False}, ‘AddApplicationUnits’: {‘required’: [‘application’, ‘num-units’, ‘placement’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘application’: {‘type’: ‘string’}, ‘num-units’: {‘type’: ‘integer’}, ‘placement’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/Placement’}}}}, ‘Value’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘mem’: {‘type’: ‘integer’}, ‘tags’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}, ‘arch’: {‘type’: ‘string’}, ‘cores’: {‘type’: ‘integer’}, ‘root-disk’: {‘type’: ‘integer’}, ‘container’: {‘type’: ‘string’}, ‘spaces’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}, ‘cpu-power’: {‘type’: ‘integer’}, ‘virt-type’: {‘type’: ‘string’}, ‘instance-type’: {‘type’: ‘string’}}}, ‘ApplicationMetricCredentials’: {‘required’: [‘creds’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘creds’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/ApplicationMetricCredential’}}}}, ‘Placement’: {‘required’: [‘scope’, ‘directive’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘scope’: {‘type’: ‘string’}, ‘directive’: {‘type’: ‘string’}}}, ‘SetConstraints’: {‘required’: [‘application’, ‘constraints’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘application’: {‘type’: ‘string’}, ‘constraints’: {‘$ref’: ‘#/definitions/Value’}}}, ‘ApplicationUnset’: {‘required’: [‘application’, ‘options’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘application’: {‘type’: ‘string’}, ‘options’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}}}, ‘ErrorInfo’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘macaroon’: {‘$ref’: ‘#/definitions/Macaroon’}, ‘macaroon-path’: {‘type’: ‘string’}}}, ‘StorageConstraints’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘pool’: {‘type’: ‘string’}, ‘size’: {‘type’: ‘integer’}, ‘count’: {‘type’: ‘integer’}}}, ‘ApplicationUpdate’: {‘required’: [‘application’, ‘charm-url’, ‘force-charm-url’, ‘force-series’, ‘settings-yaml’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘min-units’: {‘type’: ‘integer’}, ‘charm-url’: {‘type’: ‘string’}, ‘force-series’: {‘type’: ‘boolean’}, ‘settings-yaml’: {‘type’: ‘string’}, ‘application’: {‘type’: ‘string’}, ‘constraints’: {‘$ref’: ‘#/definitions/Value’}, ‘force-charm-url’: {‘type’: ‘boolean’}, ‘settings’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘type’: ‘string’}}}}}, ‘AddRelationResults’: {‘required’: [‘endpoints’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘endpoints’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘$ref’: ‘#/definitions/CharmRelation’}}}}}, ‘ApplicationDestroy’: {‘required’: [‘application’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘application’: {‘type’: ‘string’}}}, ‘AddApplicationUnitsResults’: {‘required’: [‘units’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘units’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}}}, ‘CharmRelation’: {‘required’: [‘name’, ‘role’, ‘interface’, ‘optional’, ‘limit’, ‘scope’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘scope’: {‘type’: ‘string’}, ‘optional’: {‘type’: ‘boolean’}, ‘limit’: {‘type’: ‘integer’}, ‘interface’: {‘type’: ‘string’}, ‘role’: {‘type’: ‘string’}, ‘name’: {‘type’: ‘string’}}}, ‘ApplicationDeploy’: {‘required’: [‘application’, ‘series’, ‘charm-url’, ‘channel’, ‘num-units’, ‘config-yaml’, ‘constraints’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘storage’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘$ref’: ‘#/definitions/Constraints’}}}, ‘num-units’: {‘type’: ‘integer’}, ‘series’: {‘type’: ‘string’}, ‘constraints’: {‘$ref’: ‘#/definitions/Value’}, ‘endpoint-bindings’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘type’: ‘string’}}}, ‘charm-url’: {‘type’: ‘string’}, ‘config-yaml’: {‘type’: ‘string’}, ‘placement’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/Placement’}}, ‘config’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘type’: ‘string’}}}, ‘application’: {‘type’: ‘string’}, ‘channel’: {‘type’: ‘string’}, ‘resources’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘type’: ‘string’}}}}}, ‘ApplicationGet’: {‘required’: [‘application’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘application’: {‘type’: ‘string’}}}, ‘GetApplicationConstraints’: {‘required’: [‘application’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘application’: {‘type’: ‘string’}}}, ‘ApplicationUnexpose’: {‘required’: [‘application’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘application’: {‘type’: ‘string’}}}, ‘ErrorResult’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}}}, ‘DestroyRelation’: {‘required’: [‘endpoints’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘endpoints’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}}}, ‘ApplicationMetricCredential’: {‘required’: [‘application’, ‘metrics-credentials’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘application’: {‘type’: ‘string’}, ‘metrics-credentials’: {‘type’: ‘array’, ‘items’: {‘type’: ‘integer’}}}}, ‘ApplicationCharmRelationsResults’: {‘required’: [‘charm-relations’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘charm-relations’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}}}, ‘ApplicationSet’: {‘required’: [‘application’, ‘options’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘application’: {‘type’: ‘string’}, ‘options’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘type’: ‘string’}}}}}, ‘Error’: {‘required’: [‘message’, ‘code’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘message’: {‘type’: ‘string’}, ‘code’: {‘type’: ‘string’}, ‘info’: {‘$ref’: ‘#/definitions/ErrorInfo’}}}, ‘ErrorResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/ErrorResult’}}}}, ‘Constraints’: {‘required’: [‘Pool’, ‘Size’, ‘Count’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘Count’: {‘type’: ‘integer’}, ‘Pool’: {‘type’: ‘string’}, ‘Size’: {‘type’: ‘integer’}}}, ‘GetConstraintsResults’: {‘required’: [‘constraints’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘constraints’: {‘$ref’: ‘#/definitions/Value’}}}, ‘ApplicationExpose’: {‘required’: [‘application’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘application’: {‘type’: ‘string’}}}, ‘DestroyApplicationUnits’: {‘required’: [‘unit-names’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘unit-names’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}}}, ‘ApplicationCharmRelations’: {‘required’: [‘application’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘application’: {‘type’: ‘string’}}}, ‘StringResult’: {‘required’: [‘result’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}, ‘result’: {‘type’: ‘string’}}}, ‘AddRelation’: {‘required’: [‘endpoints’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘endpoints’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}}}, ‘ApplicationSetCharm’: {‘required’: [‘application’, ‘charm-url’, ‘channel’, ‘force-units’, ‘force-series’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘charm-url’: {‘type’: ‘string’}, ‘force-series’: {‘type’: ‘boolean’}, ‘storage-constraints’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘$ref’: ‘#/definitions/StorageConstraints’}}}, ‘application’: {‘type’: ‘string’}, ‘config-settings-yaml’: {‘type’: ‘string’}, ‘resource-ids’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘type’: ‘string’}}}, ‘config-settings’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘type’: ‘string’}}}, ‘channel’: {‘type’: ‘string’}, ‘force-units’: {‘type’: ‘boolean’}}}, ‘ApplicationGetResults’: {‘required’: [‘application’, ‘charm’, ‘config’, ‘constraints’, ‘series’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘charm’: {‘type’: ‘string’}, ‘application’: {‘type’: ‘string’}, ‘constraints’: {‘$ref’: ‘#/definitions/Value’}, ‘series’: {‘type’: ‘string’}, ‘config’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘type’: ‘object’, ‘additionalProperties’: True}}}}}}, ‘properties’: {‘DestroyUnits’: {‘type’: ‘object’, ‘properties’: {‘Params’: {‘$ref’: ‘#/definitions/DestroyApplicationUnits’}}}, ‘Unexpose’: {‘type’: ‘object’, ‘properties’: {‘Params’: {‘$ref’: ‘#/definitions/ApplicationUnexpose’}}}, ‘GetConstraints’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/GetConstraintsResults’}, ‘Params’: {‘$ref’: ‘#/definitions/GetApplicationConstraints’}}}, ‘DestroyRelation’: {‘type’: ‘object’, ‘properties’: {‘Params’: {‘$ref’: ‘#/definitions/DestroyRelation’}}}, ‘SetConstraints’: {‘type’: ‘object’, ‘properties’: {‘Params’: {‘$ref’: ‘#/definitions/SetConstraints’}}}, ‘CharmRelations’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ApplicationCharmRelationsResults’}, ‘Params’: {‘$ref’: ‘#/definitions/ApplicationCharmRelations’}}}, ‘GetCharmURL’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/StringResult’}, ‘Params’: {‘$ref’: ‘#/definitions/ApplicationGet’}}}, ‘Unset’: {‘type’: ‘object’, ‘properties’: {‘Params’: {‘$ref’: ‘#/definitions/ApplicationUnset’}}}, ‘Expose’: {‘type’: ‘object’, ‘properties’: {‘Params’: {‘$ref’: ‘#/definitions/ApplicationExpose’}}}, ‘AddUnits’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/AddApplicationUnitsResults’}, ‘Params’: {‘$ref’: ‘#/definitions/AddApplicationUnits’}}}, ‘Update’: {‘type’: ‘object’, ‘properties’: {‘Params’: {‘$ref’: ‘#/definitions/ApplicationUpdate’}}}, ‘SetCharm’: {‘type’: ‘object’, ‘properties’: {‘Params’: {‘$ref’: ‘#/definitions/ApplicationSetCharm’}}}, ‘Get’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ApplicationGetResults’}, ‘Params’: {‘$ref’: ‘#/definitions/ApplicationGet’}}}, ‘AddRelation’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/AddRelationResults’}, ‘Params’: {‘$ref’: ‘#/definitions/AddRelation’}}}, ‘Deploy’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ErrorResults’}, ‘Params’: {‘$ref’: ‘#/definitions/ApplicationsDeploy’}}}, ‘Set’: {‘type’: ‘object’, ‘properties’: {‘Params’: {‘$ref’: ‘#/definitions/ApplicationSet’}}}, ‘Destroy’: {‘type’: ‘object’, ‘properties’: {‘Params’: {‘$ref’: ‘#/definitions/ApplicationDestroy’}}}, ‘SetMetricCredentials’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ErrorResults’}, ‘Params’: {‘$ref’: ‘#/definitions/ApplicationMetricCredentials’}}}}}
version = 2
class juju.client._client2.BlockFacade[source]

Bases: juju.client.facade.Type

coroutine List()[source]

Returns -> typing.Sequence<+T_co>[~BlockResult]<~BlockResult>

coroutine SwitchBlockOff(message, type_)[source]

message : str type_ : str Returns -> Error

coroutine SwitchBlockOn(message, type_)[source]

message : str type_ : str Returns -> Error

name = ‘Block’
schema = {‘type’: ‘object’, ‘definitions’: {‘Macaroon’: {‘type’: ‘object’, ‘additionalProperties’: False}, ‘Error’: {‘required’: [‘message’, ‘code’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘message’: {‘type’: ‘string’}, ‘code’: {‘type’: ‘string’}, ‘info’: {‘$ref’: ‘#/definitions/ErrorInfo’}}}, ‘BlockSwitchParams’: {‘required’: [‘type’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘type’: {‘type’: ‘string’}, ‘message’: {‘type’: ‘string’}}}, ‘ErrorResult’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}}}, ‘BlockResult’: {‘required’: [‘result’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}, ‘result’: {‘$ref’: ‘#/definitions/Block’}}}, ‘BlockResults’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/BlockResult’}}}}, ‘ErrorInfo’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘macaroon’: {‘$ref’: ‘#/definitions/Macaroon’}, ‘macaroon-path’: {‘type’: ‘string’}}}, ‘Block’: {‘required’: [‘id’, ‘tag’, ‘type’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘tag’: {‘type’: ‘string’}, ‘message’: {‘type’: ‘string’}, ‘id’: {‘type’: ‘string’}, ‘type’: {‘type’: ‘string’}}}}, ‘properties’: {‘SwitchBlockOn’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ErrorResult’}, ‘Params’: {‘$ref’: ‘#/definitions/BlockSwitchParams’}}}, ‘List’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/BlockResults’}}}, ‘SwitchBlockOff’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ErrorResult’}, ‘Params’: {‘$ref’: ‘#/definitions/BlockSwitchParams’}}}}}
version = 2
class juju.client._client2.CharmRevisionUpdaterFacade[source]

Bases: juju.client.facade.Type

coroutine UpdateLatestRevisions()[source]

Returns -> Error

name = ‘CharmRevisionUpdater’
schema = {‘type’: ‘object’, ‘definitions’: {‘Macaroon’: {‘type’: ‘object’, ‘additionalProperties’: False}, ‘Error’: {‘required’: [‘message’, ‘code’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘message’: {‘type’: ‘string’}, ‘code’: {‘type’: ‘string’}, ‘info’: {‘$ref’: ‘#/definitions/ErrorInfo’}}}, ‘ErrorResult’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}}}, ‘ErrorInfo’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘macaroon’: {‘$ref’: ‘#/definitions/Macaroon’}, ‘macaroon-path’: {‘type’: ‘string’}}}}, ‘properties’: {‘UpdateLatestRevisions’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ErrorResult’}}}}}
version = 2
class juju.client._client2.CharmsFacade[source]

Bases: juju.client.facade.Type

coroutine CharmInfo(url)[source]

url : str Returns -> typing.Union[_ForwardRef(‘CharmActions’), typing.Mapping<~KT, +VT_co>[str, ~CharmOption]<~CharmOption>, _ForwardRef(‘CharmMeta’), _ForwardRef(‘CharmMetrics’), int, str]

coroutine IsMetered(url)[source]

url : str Returns -> bool

coroutine List(names)[source]

names : typing.Sequence<+T_co>[str] Returns -> typing.Sequence<+T_co>[str]

name = ‘Charms’
schema = {‘type’: ‘object’, ‘definitions’: {‘CharmOption’: {‘required’: [‘type’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘type’: {‘type’: ‘string’}, ‘default’: {‘type’: ‘object’, ‘additionalProperties’: True}, ‘description’: {‘type’: ‘string’}}}, ‘CharmActionSpec’: {‘required’: [‘description’, ‘params’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘params’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘type’: ‘object’, ‘additionalProperties’: True}}}, ‘description’: {‘type’: ‘string’}}}, ‘CharmsList’: {‘required’: [‘names’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘names’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}}}, ‘CharmActions’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘specs’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘$ref’: ‘#/definitions/CharmActionSpec’}}}}}, ‘CharmMetric’: {‘required’: [‘type’, ‘description’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘type’: {‘type’: ‘string’}, ‘description’: {‘type’: ‘string’}}}, ‘IsMeteredResult’: {‘required’: [‘metered’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘metered’: {‘type’: ‘boolean’}}}, ‘CharmsListResult’: {‘required’: [‘charm-urls’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘charm-urls’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}}}, ‘CharmInfo’: {‘required’: [‘revision’, ‘url’, ‘config’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘url’: {‘type’: ‘string’}, ‘meta’: {‘$ref’: ‘#/definitions/CharmMeta’}, ‘actions’: {‘$ref’: ‘#/definitions/CharmActions’}, ‘config’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘$ref’: ‘#/definitions/CharmOption’}}}, ‘metrics’: {‘$ref’: ‘#/definitions/CharmMetrics’}, ‘revision’: {‘type’: ‘integer’}}}, ‘CharmStorage’: {‘required’: [‘name’, ‘description’, ‘type’, ‘shared’, ‘read-only’, ‘count-min’, ‘count-max’, ‘minimum-size’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘location’: {‘type’: ‘string’}, ‘count-min’: {‘type’: ‘integer’}, ‘count-max’: {‘type’: ‘integer’}, ‘minimum-size’: {‘type’: ‘integer’}, ‘description’: {‘type’: ‘string’}, ‘type’: {‘type’: ‘string’}, ‘shared’: {‘type’: ‘boolean’}, ‘read-only’: {‘type’: ‘boolean’}, ‘properties’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}, ‘name’: {‘type’: ‘string’}}}, ‘CharmPlan’: {‘required’: [‘required’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘required’: {‘type’: ‘boolean’}}}, ‘CharmResourceMeta’: {‘required’: [‘name’, ‘type’, ‘path’, ‘description’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘type’: {‘type’: ‘string’}, ‘name’: {‘type’: ‘string’}, ‘path’: {‘type’: ‘string’}, ‘description’: {‘type’: ‘string’}}}, ‘CharmRelation’: {‘required’: [‘name’, ‘role’, ‘interface’, ‘optional’, ‘limit’, ‘scope’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘scope’: {‘type’: ‘string’}, ‘optional’: {‘type’: ‘boolean’}, ‘limit’: {‘type’: ‘integer’}, ‘interface’: {‘type’: ‘string’}, ‘role’: {‘type’: ‘string’}, ‘name’: {‘type’: ‘string’}}}, ‘CharmPayloadClass’: {‘required’: [‘name’, ‘type’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘type’: {‘type’: ‘string’}, ‘name’: {‘type’: ‘string’}}}, ‘CharmURL’: {‘required’: [‘url’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘url’: {‘type’: ‘string’}}}, ‘CharmMeta’: {‘required’: [‘name’, ‘summary’, ‘description’, ‘subordinate’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘provides’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘$ref’: ‘#/definitions/CharmRelation’}}}, ‘tags’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}, ‘payload-classes’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘$ref’: ‘#/definitions/CharmPayloadClass’}}}, ‘terms’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}, ‘categories’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}, ‘series’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}, ‘extra-bindings’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘type’: ‘string’}}}, ‘peers’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘$ref’: ‘#/definitions/CharmRelation’}}}, ‘min-juju-version’: {‘type’: ‘string’}, ‘requires’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘$ref’: ‘#/definitions/CharmRelation’}}}, ‘storage’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘$ref’: ‘#/definitions/CharmStorage’}}}, ‘summary’: {‘type’: ‘string’}, ‘description’: {‘type’: ‘string’}, ‘resources’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘$ref’: ‘#/definitions/CharmResourceMeta’}}}, ‘subordinate’: {‘type’: ‘boolean’}, ‘name’: {‘type’: ‘string’}}}, ‘CharmMetrics’: {‘required’: [‘metrics’, ‘plan’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘metrics’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘$ref’: ‘#/definitions/CharmMetric’}}}, ‘plan’: {‘$ref’: ‘#/definitions/CharmPlan’}}}}, ‘properties’: {‘CharmInfo’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/CharmInfo’}, ‘Params’: {‘$ref’: ‘#/definitions/CharmURL’}}}, ‘IsMetered’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/IsMeteredResult’}, ‘Params’: {‘$ref’: ‘#/definitions/CharmURL’}}}, ‘List’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/CharmsListResult’}, ‘Params’: {‘$ref’: ‘#/definitions/CharmsList’}}}}}
version = 2
class juju.client._client2.CleanerFacade[source]

Bases: juju.client.facade.Type

coroutine Cleanup()[source]

Returns -> None

coroutine WatchCleanups()[source]

Returns -> typing.Union[str, _ForwardRef(‘Error’)]

name = ‘Cleaner’
schema = {‘type’: ‘object’, ‘definitions’: {‘Macaroon’: {‘type’: ‘object’, ‘additionalProperties’: False}, ‘Error’: {‘required’: [‘message’, ‘code’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘message’: {‘type’: ‘string’}, ‘code’: {‘type’: ‘string’}, ‘info’: {‘$ref’: ‘#/definitions/ErrorInfo’}}}, ‘NotifyWatchResult’: {‘required’: [‘NotifyWatcherId’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘NotifyWatcherId’: {‘type’: ‘string’}, ‘error’: {‘$ref’: ‘#/definitions/Error’}}}, ‘ErrorInfo’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘macaroon’: {‘$ref’: ‘#/definitions/Macaroon’}, ‘macaroon-path’: {‘type’: ‘string’}}}}, ‘properties’: {‘WatchCleanups’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/NotifyWatchResult’}}}, ‘Cleanup’: {‘type’: ‘object’}}}
version = 2
class juju.client._client2.DiscoverSpacesFacade[source]

Bases: juju.client.facade.Type

coroutine AddSubnets(subnets)[source]

subnets : typing.Sequence<+T_co>[~AddSubnetParams]<~AddSubnetParams> Returns -> typing.Sequence<+T_co>[~ErrorResult]<~ErrorResult>

coroutine CreateSpaces(spaces)[source]

spaces : typing.Sequence<+T_co>[~CreateSpaceParams]<~CreateSpaceParams> Returns -> typing.Sequence<+T_co>[~ErrorResult]<~ErrorResult>

coroutine ListSpaces()[source]

Returns -> typing.Sequence<+T_co>[~ProviderSpace]<~ProviderSpace>

coroutine ListSubnets(space_tag, zone)[source]

space_tag : str zone : str Returns -> typing.Sequence<+T_co>[~Subnet]<~Subnet>

coroutine ModelConfig()[source]

Returns -> typing.Mapping<~KT, +VT_co>[str, typing.Any]

name = ‘DiscoverSpaces’
schema = {‘type’: ‘object’, ‘definitions’: {‘Macaroon’: {‘type’: ‘object’, ‘additionalProperties’: False}, ‘ErrorResult’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}}}, ‘ErrorResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/ErrorResult’}}}}, ‘AddSubnetParams’: {‘required’: [‘space-tag’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘subnet-tag’: {‘type’: ‘string’}, ‘space-tag’: {‘type’: ‘string’}, ‘provider-network-id’: {‘type’: ‘string’}, ‘zones’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}, ‘vlan-tag’: {‘type’: ‘integer’}, ‘subnet-provider-id’: {‘type’: ‘string’}}}, ‘ProviderSpace’: {‘required’: [‘name’, ‘provider-id’, ‘subnets’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}, ‘provider-id’: {‘type’: ‘string’}, ‘subnets’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/Subnet’}}, ‘name’: {‘type’: ‘string’}}}, ‘SubnetsFilters’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘zone’: {‘type’: ‘string’}, ‘space-tag’: {‘type’: ‘string’}}}, ‘ErrorInfo’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘macaroon’: {‘$ref’: ‘#/definitions/Macaroon’}, ‘macaroon-path’: {‘type’: ‘string’}}}, ‘CreateSpacesParams’: {‘required’: [‘spaces’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘spaces’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/CreateSpaceParams’}}}}, ‘Subnet’: {‘required’: [‘cidr’, ‘vlan-tag’, ‘life’, ‘space-tag’, ‘zones’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘cidr’: {‘type’: ‘string’}, ‘space-tag’: {‘type’: ‘string’}, ‘status’: {‘type’: ‘string’}, ‘life’: {‘type’: ‘string’}, ‘provider-network-id’: {‘type’: ‘string’}, ‘provider-space-id’: {‘type’: ‘string’}, ‘provider-id’: {‘type’: ‘string’}, ‘vlan-tag’: {‘type’: ‘integer’}, ‘zones’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}}}, ‘Error’: {‘required’: [‘message’, ‘code’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘message’: {‘type’: ‘string’}, ‘code’: {‘type’: ‘string’}, ‘info’: {‘$ref’: ‘#/definitions/ErrorInfo’}}}, ‘DiscoverSpacesResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/ProviderSpace’}}}}, ‘AddSubnetsParams’: {‘required’: [‘subnets’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘subnets’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/AddSubnetParams’}}}}, ‘ModelConfigResult’: {‘required’: [‘config’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘config’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘type’: ‘object’, ‘additionalProperties’: True}}}}}, ‘CreateSpaceParams’: {‘required’: [‘subnet-tags’, ‘space-tag’, ‘public’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘public’: {‘type’: ‘boolean’}, ‘provider-id’: {‘type’: ‘string’}, ‘space-tag’: {‘type’: ‘string’}, ‘subnet-tags’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}}}, ‘ListSubnetsResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/Subnet’}}}}}, ‘properties’: {‘ModelConfig’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ModelConfigResult’}}}, ‘CreateSpaces’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ErrorResults’}, ‘Params’: {‘$ref’: ‘#/definitions/CreateSpacesParams’}}}, ‘ListSpaces’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/DiscoverSpacesResults’}}}, ‘ListSubnets’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ListSubnetsResults’}, ‘Params’: {‘$ref’: ‘#/definitions/SubnetsFilters’}}}, ‘AddSubnets’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ErrorResults’}, ‘Params’: {‘$ref’: ‘#/definitions/AddSubnetsParams’}}}}}
version = 2
class juju.client._client2.DiskManagerFacade[source]

Bases: juju.client.facade.Type

coroutine SetMachineBlockDevices(machine_block_devices)[source]

machine_block_devices : typing.Sequence<+T_co>[~MachineBlockDevices]<~MachineBlockDevices> Returns -> typing.Sequence<+T_co>[~ErrorResult]<~ErrorResult>

name = ‘DiskManager’
schema = {‘type’: ‘object’, ‘definitions’: {‘SetMachineBlockDevices’: {‘required’: [‘machine-block-devices’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘machine-block-devices’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/MachineBlockDevices’}}}}, ‘Macaroon’: {‘type’: ‘object’, ‘additionalProperties’: False}, ‘Error’: {‘required’: [‘message’, ‘code’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘message’: {‘type’: ‘string’}, ‘code’: {‘type’: ‘string’}, ‘info’: {‘$ref’: ‘#/definitions/ErrorInfo’}}}, ‘ErrorResult’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}}}, ‘ErrorResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/ErrorResult’}}}}, ‘MachineBlockDevices’: {‘required’: [‘machine’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘machine’: {‘type’: ‘string’}, ‘block-devices’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/BlockDevice’}}}}, ‘ErrorInfo’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘macaroon’: {‘$ref’: ‘#/definitions/Macaroon’}, ‘macaroon-path’: {‘type’: ‘string’}}}, ‘BlockDevice’: {‘required’: [‘DeviceName’, ‘DeviceLinks’, ‘Label’, ‘UUID’, ‘HardwareId’, ‘WWN’, ‘BusAddress’, ‘Size’, ‘FilesystemType’, ‘InUse’, ‘MountPoint’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘InUse’: {‘type’: ‘boolean’}, ‘UUID’: {‘type’: ‘string’}, ‘MountPoint’: {‘type’: ‘string’}, ‘FilesystemType’: {‘type’: ‘string’}, ‘DeviceLinks’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}, ‘BusAddress’: {‘type’: ‘string’}, ‘WWN’: {‘type’: ‘string’}, ‘Label’: {‘type’: ‘string’}, ‘HardwareId’: {‘type’: ‘string’}, ‘DeviceName’: {‘type’: ‘string’}, ‘Size’: {‘type’: ‘integer’}}}}, ‘properties’: {‘SetMachineBlockDevices’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ErrorResults’}, ‘Params’: {‘$ref’: ‘#/definitions/SetMachineBlockDevices’}}}}}
version = 2
class juju.client._client2.EntityWatcherFacade[source]

Bases: juju.client.facade.Type

coroutine Next()[source]

Returns -> typing.Union[typing.Sequence<+T_co>[str], _ForwardRef(‘Error’)]

coroutine Stop()[source]

Returns -> None

name = ‘EntityWatcher’
schema = {‘type’: ‘object’, ‘definitions’: {‘EntitiesWatchResult’: {‘required’: [‘watcher-id’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘watcher-id’: {‘type’: ‘string’}, ‘changes’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}, ‘error’: {‘$ref’: ‘#/definitions/Error’}}}, ‘Error’: {‘required’: [‘message’, ‘code’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘message’: {‘type’: ‘string’}, ‘code’: {‘type’: ‘string’}, ‘info’: {‘$ref’: ‘#/definitions/ErrorInfo’}}}, ‘ErrorInfo’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘macaroon’: {‘$ref’: ‘#/definitions/Macaroon’}, ‘macaroon-path’: {‘type’: ‘string’}}}, ‘Macaroon’: {‘type’: ‘object’, ‘additionalProperties’: False}}, ‘properties’: {‘Next’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/EntitiesWatchResult’}}}, ‘Stop’: {‘type’: ‘object’}}}
version = 2
class juju.client._client2.FilesystemAttachmentsWatcherFacade[source]

Bases: juju.client.facade.Type

coroutine Next()[source]

Returns -> typing.Union[typing.Sequence<+T_co>[~MachineStorageId]<~MachineStorageId>, _ForwardRef(‘Error’)]

coroutine Stop()[source]

Returns -> None

name = ‘FilesystemAttachmentsWatcher’
schema = {‘type’: ‘object’, ‘definitions’: {‘Macaroon’: {‘type’: ‘object’, ‘additionalProperties’: False}, ‘Error’: {‘required’: [‘message’, ‘code’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘message’: {‘type’: ‘string’}, ‘code’: {‘type’: ‘string’}, ‘info’: {‘$ref’: ‘#/definitions/ErrorInfo’}}}, ‘MachineStorageId’: {‘required’: [‘machine-tag’, ‘attachment-tag’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘attachment-tag’: {‘type’: ‘string’}, ‘machine-tag’: {‘type’: ‘string’}}}, ‘ErrorInfo’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘macaroon’: {‘$ref’: ‘#/definitions/Macaroon’}, ‘macaroon-path’: {‘type’: ‘string’}}}, ‘MachineStorageIdsWatchResult’: {‘required’: [‘watcher-id’, ‘changes’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘watcher-id’: {‘type’: ‘string’}, ‘changes’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/MachineStorageId’}}, ‘error’: {‘$ref’: ‘#/definitions/Error’}}}}, ‘properties’: {‘Next’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/MachineStorageIdsWatchResult’}}}, ‘Stop’: {‘type’: ‘object’}}}
version = 2
class juju.client._client2.HighAvailabilityFacade[source]

Bases: juju.client.facade.Type

coroutine EnableHA(specs)[source]

specs : typing.Sequence<+T_co>[~ControllersSpec]<~ControllersSpec> Returns -> typing.Sequence<+T_co>[~ControllersChangeResult]<~ControllersChangeResult>

coroutine ResumeHAReplicationAfterUpgrade(members)[source]

members : typing.Sequence<+T_co>[~Member]<~Member> Returns -> None

coroutine StopHAReplicationForUpgrade(target)[source]

target : MongoVersion Returns -> typing.Union[_ForwardRef(‘HAMember’), typing.Sequence<+T_co>[~Member]<~Member>]

name = ‘HighAvailability’
schema = {‘type’: ‘object’, ‘definitions’: {‘Macaroon’: {‘type’: ‘object’, ‘additionalProperties’: False}, ‘MongoUpgradeResults’: {‘required’: [‘rs-members’, ‘master’, ‘ha-members’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘rs-members’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/Member’}}, ‘ha-members’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/HAMember’}}, ‘master’: {‘$ref’: ‘#/definitions/HAMember’}}}, ‘ControllersChangeResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/ControllersChangeResult’}}}}, ‘MongoVersion’: {‘required’: [‘major’, ‘minor’, ‘patch’, ‘engine’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘minor’: {‘type’: ‘integer’}, ‘patch’: {‘type’: ‘string’}, ‘major’: {‘type’: ‘integer’}, ‘engine’: {‘type’: ‘string’}}}, ‘ControllersSpecs’: {‘required’: [‘specs’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘specs’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/ControllersSpec’}}}}, ‘ControllersChanges’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘converted’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}, ‘demoted’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}, ‘maintained’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}, ‘added’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}, ‘removed’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}, ‘promoted’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}}}, ‘ResumeReplicationParams’: {‘required’: [‘members’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘members’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/Member’}}}}, ‘ControllersSpec’: {‘required’: [‘num-controllers’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘series’: {‘type’: ‘string’}, ‘constraints’: {‘$ref’: ‘#/definitions/Value’}, ‘placement’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}, ‘num-controllers’: {‘type’: ‘integer’}}}, ‘ErrorInfo’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘macaroon’: {‘$ref’: ‘#/definitions/Macaroon’}, ‘macaroon-path’: {‘type’: ‘string’}}}, ‘ControllersChangeResult’: {‘required’: [‘result’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}, ‘result’: {‘$ref’: ‘#/definitions/ControllersChanges’}}}, ‘Member’: {‘required’: [‘Id’, ‘Address’, ‘Arbiter’, ‘BuildIndexes’, ‘Hidden’, ‘Priority’, ‘Tags’, ‘SlaveDelay’, ‘Votes’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘Arbiter’: {‘type’: ‘boolean’}, ‘Address’: {‘type’: ‘string’}, ‘BuildIndexes’: {‘type’: ‘boolean’}, ‘Votes’: {‘type’: ‘integer’}, ‘Id’: {‘type’: ‘integer’}, ‘Tags’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘type’: ‘string’}}}, ‘Priority’: {‘type’: ‘number’}, ‘SlaveDelay’: {‘type’: ‘integer’}, ‘Hidden’: {‘type’: ‘boolean’}}}, ‘Error’: {‘required’: [‘message’, ‘code’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘message’: {‘type’: ‘string’}, ‘code’: {‘type’: ‘string’}, ‘info’: {‘$ref’: ‘#/definitions/ErrorInfo’}}}, ‘Address’: {‘required’: [‘Value’, ‘Type’, ‘Scope’, ‘SpaceName’, ‘SpaceProviderId’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘Value’: {‘type’: ‘string’}, ‘Scope’: {‘type’: ‘string’}, ‘SpaceProviderId’: {‘type’: ‘string’}, ‘Type’: {‘type’: ‘string’}, ‘SpaceName’: {‘type’: ‘string’}}}, ‘Value’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘mem’: {‘type’: ‘integer’}, ‘tags’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}, ‘arch’: {‘type’: ‘string’}, ‘cores’: {‘type’: ‘integer’}, ‘root-disk’: {‘type’: ‘integer’}, ‘container’: {‘type’: ‘string’}, ‘spaces’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}, ‘cpu-power’: {‘type’: ‘integer’}, ‘virt-type’: {‘type’: ‘string’}, ‘instance-type’: {‘type’: ‘string’}}}, ‘HAMember’: {‘required’: [‘tag’, ‘public-address’, ‘series’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘public-address’: {‘$ref’: ‘#/definitions/Address’}, ‘series’: {‘type’: ‘string’}, ‘tag’: {‘type’: ‘string’}}}, ‘UpgradeMongoParams’: {‘required’: [‘target’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘target’: {‘$ref’: ‘#/definitions/MongoVersion’}}}}, ‘properties’: {‘StopHAReplicationForUpgrade’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/MongoUpgradeResults’}, ‘Params’: {‘$ref’: ‘#/definitions/UpgradeMongoParams’}}}, ‘EnableHA’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ControllersChangeResults’}, ‘Params’: {‘$ref’: ‘#/definitions/ControllersSpecs’}}}, ‘ResumeHAReplicationAfterUpgrade’: {‘type’: ‘object’, ‘properties’: {‘Params’: {‘$ref’: ‘#/definitions/ResumeReplicationParams’}}}}}
version = 2
class juju.client._client2.ImageManagerFacade[source]

Bases: juju.client.facade.Type

coroutine DeleteImages(images)[source]

images : typing.Sequence<+T_co>[~ImageSpec]<~ImageSpec> Returns -> typing.Sequence<+T_co>[~ErrorResult]<~ErrorResult>

coroutine ListImages(images)[source]

images : typing.Sequence<+T_co>[~ImageSpec]<~ImageSpec> Returns -> typing.Sequence<+T_co>[~ImageMetadata]<~ImageMetadata>

name = ‘ImageManager’
schema = {‘type’: ‘object’, ‘definitions’: {‘Macaroon’: {‘type’: ‘object’, ‘additionalProperties’: False}, ‘Error’: {‘required’: [‘message’, ‘code’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘message’: {‘type’: ‘string’}, ‘code’: {‘type’: ‘string’}, ‘info’: {‘$ref’: ‘#/definitions/ErrorInfo’}}}, ‘ErrorResult’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}}}, ‘ErrorResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/ErrorResult’}}}}, ‘ImageFilterParams’: {‘required’: [‘images’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘images’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/ImageSpec’}}}}, ‘ImageMetadata’: {‘required’: [‘kind’, ‘arch’, ‘series’, ‘url’, ‘created’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘kind’: {‘type’: ‘string’}, ‘url’: {‘type’: ‘string’}, ‘series’: {‘type’: ‘string’}, ‘created’: {‘type’: ‘string’, ‘format’: ‘date-time’}, ‘arch’: {‘type’: ‘string’}}}, ‘ImageSpec’: {‘required’: [‘kind’, ‘arch’, ‘series’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘kind’: {‘type’: ‘string’}, ‘series’: {‘type’: ‘string’}, ‘arch’: {‘type’: ‘string’}}}, ‘ErrorInfo’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘macaroon’: {‘$ref’: ‘#/definitions/Macaroon’}, ‘macaroon-path’: {‘type’: ‘string’}}}, ‘ListImageResult’: {‘required’: [‘result’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘result’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/ImageMetadata’}}}}}, ‘properties’: {‘ListImages’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ListImageResult’}, ‘Params’: {‘$ref’: ‘#/definitions/ImageFilterParams’}}}, ‘DeleteImages’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ErrorResults’}, ‘Params’: {‘$ref’: ‘#/definitions/ImageFilterParams’}}}}}
version = 2
class juju.client._client2.ImageMetadataFacade[source]

Bases: juju.client.facade.Type

coroutine Delete(image_ids)[source]

image_ids : typing.Sequence<+T_co>[str] Returns -> typing.Sequence<+T_co>[~ErrorResult]<~ErrorResult>

coroutine List(arches, region, root_storage_type, series, stream, virt_type)[source]

arches : typing.Sequence<+T_co>[str] region : str root_storage_type : str series : typing.Sequence<+T_co>[str] stream : str virt_type : str Returns -> typing.Sequence<+T_co>[~CloudImageMetadata]<~CloudImageMetadata>

coroutine Save(metadata)[source]

metadata : typing.Sequence<+T_co>[~CloudImageMetadataList]<~CloudImageMetadataList> Returns -> typing.Sequence<+T_co>[~ErrorResult]<~ErrorResult>

coroutine UpdateFromPublishedImages()[source]

Returns -> None

name = ‘ImageMetadata’
schema = {‘type’: ‘object’, ‘definitions’: {‘Macaroon’: {‘type’: ‘object’, ‘additionalProperties’: False}, ‘Error’: {‘required’: [‘message’, ‘code’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘message’: {‘type’: ‘string’}, ‘code’: {‘type’: ‘string’}, ‘info’: {‘$ref’: ‘#/definitions/ErrorInfo’}}}, ‘MetadataSaveParams’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘metadata’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/CloudImageMetadataList’}}}}, ‘ErrorResult’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}}}, ‘ErrorResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/ErrorResult’}}}}, ‘ListCloudImageMetadataResult’: {‘required’: [‘result’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘result’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/CloudImageMetadata’}}}}, ‘CloudImageMetadata’: {‘required’: [‘image-id’, ‘region’, ‘version’, ‘series’, ‘arch’, ‘source’, ‘priority’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘source’: {‘type’: ‘string’}, ‘version’: {‘type’: ‘string’}, ‘virt-type’: {‘type’: ‘string’}, ‘arch’: {‘type’: ‘string’}, ‘stream’: {‘type’: ‘string’}, ‘region’: {‘type’: ‘string’}, ‘series’: {‘type’: ‘string’}, ‘priority’: {‘type’: ‘integer’}, ‘root-storage-size’: {‘type’: ‘integer’}, ‘image-id’: {‘type’: ‘string’}, ‘root-storage-type’: {‘type’: ‘string’}}}, ‘CloudImageMetadataList’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘metadata’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/CloudImageMetadata’}}}}, ‘ImageMetadataFilter’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘virt-type’: {‘type’: ‘string’}, ‘arches’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}, ‘region’: {‘type’: ‘string’}, ‘series’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}, ‘stream’: {‘type’: ‘string’}, ‘root-storage-type’: {‘type’: ‘string’}}}, ‘ErrorInfo’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘macaroon’: {‘$ref’: ‘#/definitions/Macaroon’}, ‘macaroon-path’: {‘type’: ‘string’}}}, ‘MetadataImageIds’: {‘required’: [‘image-ids’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘image-ids’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}}}}, ‘properties’: {‘Save’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ErrorResults’}, ‘Params’: {‘$ref’: ‘#/definitions/MetadataSaveParams’}}}, ‘Delete’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ErrorResults’}, ‘Params’: {‘$ref’: ‘#/definitions/MetadataImageIds’}}}, ‘List’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ListCloudImageMetadataResult’}, ‘Params’: {‘$ref’: ‘#/definitions/ImageMetadataFilter’}}}, ‘UpdateFromPublishedImages’: {‘type’: ‘object’}}}
version = 2
class juju.client._client2.LeadershipServiceFacade[source]

Bases: juju.client.facade.Type

coroutine BlockUntilLeadershipReleased(name)[source]

name : str Returns -> Error

coroutine ClaimLeadership(params)[source]

params : typing.Sequence<+T_co>[~ClaimLeadershipParams]<~ClaimLeadershipParams> Returns -> typing.Sequence<+T_co>[~ErrorResult]<~ErrorResult>

name = ‘LeadershipService’
schema = {‘type’: ‘object’, ‘definitions’: {‘Macaroon’: {‘type’: ‘object’, ‘additionalProperties’: False}, ‘ApplicationTag’: {‘required’: [‘Name’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘Name’: {‘type’: ‘string’}}}, ‘ErrorResult’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}}}, ‘ClaimLeadershipParams’: {‘required’: [‘application-tag’, ‘unit-tag’, ‘duration’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘application-tag’: {‘type’: ‘string’}, ‘duration’: {‘type’: ‘number’}, ‘unit-tag’: {‘type’: ‘string’}}}, ‘ClaimLeadershipBulkResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/ErrorResult’}}}}, ‘Error’: {‘required’: [‘message’, ‘code’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘message’: {‘type’: ‘string’}, ‘code’: {‘type’: ‘string’}, ‘info’: {‘$ref’: ‘#/definitions/ErrorInfo’}}}, ‘ClaimLeadershipBulkParams’: {‘required’: [‘params’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘params’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/ClaimLeadershipParams’}}}}, ‘ErrorInfo’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘macaroon’: {‘$ref’: ‘#/definitions/Macaroon’}, ‘macaroon-path’: {‘type’: ‘string’}}}}, ‘properties’: {‘ClaimLeadership’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ClaimLeadershipBulkResults’}, ‘Params’: {‘$ref’: ‘#/definitions/ClaimLeadershipBulkParams’}}}, ‘BlockUntilLeadershipReleased’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ErrorResult’}, ‘Params’: {‘$ref’: ‘#/definitions/ApplicationTag’}}}}}
version = 2
class juju.client._client2.MachineManagerFacade[source]

Bases: juju.client.facade.Type

coroutine AddMachines(params)[source]

params : typing.Sequence<+T_co>[~AddMachineParams]<~AddMachineParams> Returns -> typing.Sequence<+T_co>[~AddMachinesResult]<~AddMachinesResult>

coroutine InstanceTypes(constraints)[source]

constraints : typing.Sequence<+T_co>[~ModelInstanceTypesConstraint]<~ModelInstanceTypesConstraint> Returns -> typing.Sequence<+T_co>[~InstanceTypesResult]<~InstanceTypesResult>

name = ‘MachineManager’
schema = {‘type’: ‘object’, ‘definitions’: {‘InstanceType’: {‘required’: [‘arches’, ‘cpu-cores’, ‘memory’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘virt-type’: {‘type’: ‘string’}, ‘memory’: {‘type’: ‘integer’}, ‘root-disk’: {‘type’: ‘integer’}, ‘arches’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}, ‘deprecated’: {‘type’: ‘boolean’}, ‘cpu-cores’: {‘type’: ‘integer’}, ‘cost’: {‘type’: ‘integer’}, ‘name’: {‘type’: ‘string’}}}, ‘Macaroon’: {‘type’: ‘object’, ‘additionalProperties’: False}, ‘AddMachinesResult’: {‘required’: [‘machine’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}, ‘machine’: {‘type’: ‘string’}}}, ‘ModelInstanceTypesConstraints’: {‘required’: [‘constraints’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘constraints’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/ModelInstanceTypesConstraint’}}}}, ‘InstanceTypesResult’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}, ‘cost-divisor’: {‘type’: ‘integer’}, ‘cost-currency’: {‘type’: ‘string’}, ‘cost-unit’: {‘type’: ‘string’}, ‘instance-types’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/InstanceType’}}}}, ‘InstanceTypesResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/InstanceTypesResult’}}}}, ‘Placement’: {‘required’: [‘scope’, ‘directive’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘scope’: {‘type’: ‘string’}, ‘directive’: {‘type’: ‘string’}}}, ‘HardwareCharacteristics’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘availability-zone’: {‘type’: ‘string’}, ‘mem’: {‘type’: ‘integer’}, ‘arch’: {‘type’: ‘string’}, ‘root-disk’: {‘type’: ‘integer’}, ‘tags’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}, ‘cpu-power’: {‘type’: ‘integer’}, ‘cpu-cores’: {‘type’: ‘integer’}}}, ‘AddMachineParams’: {‘required’: [‘series’, ‘constraints’, ‘jobs’, ‘parent-id’, ‘container-type’, ‘instance-id’, ‘nonce’, ‘hardware-characteristics’, ‘addresses’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘jobs’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}, ‘nonce’: {‘type’: ‘string’}, ‘parent-id’: {‘type’: ‘string’}, ‘container-type’: {‘type’: ‘string’}, ‘disks’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/Constraints’}}, ‘placement’: {‘$ref’: ‘#/definitions/Placement’}, ‘addresses’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/Address’}}, ‘series’: {‘type’: ‘string’}, ‘constraints’: {‘$ref’: ‘#/definitions/Value’}, ‘hardware-characteristics’: {‘$ref’: ‘#/definitions/HardwareCharacteristics’}, ‘instance-id’: {‘type’: ‘string’}}}, ‘AddMachines’: {‘required’: [‘params’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘params’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/AddMachineParams’}}}}, ‘ErrorInfo’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘macaroon’: {‘$ref’: ‘#/definitions/Macaroon’}, ‘macaroon-path’: {‘type’: ‘string’}}}, ‘ModelInstanceTypesConstraint’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘value’: {‘$ref’: ‘#/definitions/Value’}}}, ‘Error’: {‘required’: [‘message’, ‘code’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘message’: {‘type’: ‘string’}, ‘code’: {‘type’: ‘string’}, ‘info’: {‘$ref’: ‘#/definitions/ErrorInfo’}}}, ‘Address’: {‘required’: [‘value’, ‘type’, ‘scope’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘type’: {‘type’: ‘string’}, ‘scope’: {‘type’: ‘string’}, ‘space-name’: {‘type’: ‘string’}, ‘value’: {‘type’: ‘string’}}}, ‘Value’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘mem’: {‘type’: ‘integer’}, ‘tags’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}, ‘arch’: {‘type’: ‘string’}, ‘cores’: {‘type’: ‘integer’}, ‘root-disk’: {‘type’: ‘integer’}, ‘container’: {‘type’: ‘string’}, ‘spaces’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}, ‘cpu-power’: {‘type’: ‘integer’}, ‘virt-type’: {‘type’: ‘string’}, ‘instance-type’: {‘type’: ‘string’}}}, ‘AddMachinesResults’: {‘required’: [‘machines’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘machines’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/AddMachinesResult’}}}}, ‘Constraints’: {‘required’: [‘Pool’, ‘Size’, ‘Count’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘Count’: {‘type’: ‘integer’}, ‘Pool’: {‘type’: ‘string’}, ‘Size’: {‘type’: ‘integer’}}}}, ‘properties’: {‘InstanceTypes’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/InstanceTypesResults’}, ‘Params’: {‘$ref’: ‘#/definitions/ModelInstanceTypesConstraints’}}}, ‘AddMachines’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/AddMachinesResults’}, ‘Params’: {‘$ref’: ‘#/definitions/AddMachines’}}}}}
version = 2
class juju.client._client2.MetricsAdderFacade[source]

Bases: juju.client.facade.Type

coroutine AddMetricBatches(batches)[source]

batches : typing.Sequence<+T_co>[~MetricBatchParam]<~MetricBatchParam> Returns -> typing.Sequence<+T_co>[~ErrorResult]<~ErrorResult>

name = ‘MetricsAdder’
schema = {‘type’: ‘object’, ‘definitions’: {‘Macaroon’: {‘type’: ‘object’, ‘additionalProperties’: False}, ‘Error’: {‘required’: [‘message’, ‘code’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘message’: {‘type’: ‘string’}, ‘code’: {‘type’: ‘string’}, ‘info’: {‘$ref’: ‘#/definitions/ErrorInfo’}}}, ‘MetricBatchParams’: {‘required’: [‘batches’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘batches’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/MetricBatchParam’}}}}, ‘ErrorResult’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}}}, ‘ErrorResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/ErrorResult’}}}}, ‘MetricBatchParam’: {‘required’: [‘tag’, ‘batch’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘tag’: {‘type’: ‘string’}, ‘batch’: {‘$ref’: ‘#/definitions/MetricBatch’}}}, ‘MetricBatch’: {‘required’: [‘uuid’, ‘charm-url’, ‘created’, ‘metrics’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘metrics’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/Metric’}}, ‘created’: {‘type’: ‘string’, ‘format’: ‘date-time’}, ‘charm-url’: {‘type’: ‘string’}, ‘uuid’: {‘type’: ‘string’}}}, ‘ErrorInfo’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘macaroon’: {‘$ref’: ‘#/definitions/Macaroon’}, ‘macaroon-path’: {‘type’: ‘string’}}}, ‘Metric’: {‘required’: [‘key’, ‘value’, ‘time’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘key’: {‘type’: ‘string’}, ‘value’: {‘type’: ‘string’}, ‘time’: {‘type’: ‘string’, ‘format’: ‘date-time’}}}}, ‘properties’: {‘AddMetricBatches’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ErrorResults’}, ‘Params’: {‘$ref’: ‘#/definitions/MetricBatchParams’}}}}}
version = 2
class juju.client._client2.MetricsDebugFacade[source]

Bases: juju.client.facade.Type

coroutine GetMetrics(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~EntityMetrics]<~EntityMetrics>

coroutine SetMeterStatus(statues)[source]

statues : typing.Sequence<+T_co>[~MeterStatusParam]<~MeterStatusParam> Returns -> typing.Sequence<+T_co>[~ErrorResult]<~ErrorResult>

name = ‘MetricsDebug’
schema = {‘type’: ‘object’, ‘definitions’: {‘Macaroon’: {‘type’: ‘object’, ‘additionalProperties’: False}, ‘ErrorResult’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}}}, ‘ErrorResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/ErrorResult’}}}}, ‘MetricResult’: {‘required’: [‘time’, ‘key’, ‘value’, ‘unit’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘value’: {‘type’: ‘string’}, ‘key’: {‘type’: ‘string’}, ‘unit’: {‘type’: ‘string’}, ‘time’: {‘type’: ‘string’, ‘format’: ‘date-time’}}}, ‘MeterStatusParam’: {‘required’: [‘tag’, ‘code’, ‘info’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘tag’: {‘type’: ‘string’}, ‘code’: {‘type’: ‘string’}, ‘info’: {‘type’: ‘string’}}}, ‘MeterStatusParams’: {‘required’: [‘statues’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘statues’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/MeterStatusParam’}}}}, ‘ErrorInfo’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘macaroon’: {‘$ref’: ‘#/definitions/Macaroon’}, ‘macaroon-path’: {‘type’: ‘string’}}}, ‘Error’: {‘required’: [‘message’, ‘code’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘message’: {‘type’: ‘string’}, ‘code’: {‘type’: ‘string’}, ‘info’: {‘$ref’: ‘#/definitions/ErrorInfo’}}}, ‘MetricResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/EntityMetrics’}}}}, ‘Entity’: {‘required’: [‘tag’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘tag’: {‘type’: ‘string’}}}, ‘EntityMetrics’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}, ‘metrics’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/MetricResult’}}}}, ‘Entities’: {‘required’: [‘entities’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘entities’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/Entity’}}}}}, ‘properties’: {‘GetMetrics’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/MetricResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘SetMeterStatus’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ErrorResults’}, ‘Params’: {‘$ref’: ‘#/definitions/MeterStatusParams’}}}}}
version = 2
class juju.client._client2.ModelManagerFacade[source]

Bases: juju.client.facade.Type

coroutine CreateModel(cloud_tag, config, credential, name, owner_tag, region)[source]

cloud_tag : str config : typing.Mapping<~KT, +VT_co>[str, typing.Any] credential : str name : str owner_tag : str region : str Returns -> typing.Union[_ForwardRef(‘Number’), _ForwardRef(‘ModelMigrationStatus’), _ForwardRef(‘ModelSLAInfo’), _ForwardRef(‘EntityStatus’), typing.Sequence<+T_co>[~ModelUserInfo]<~ModelUserInfo>]

coroutine DestroyModels(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~ErrorResult]<~ErrorResult>

coroutine DumpModels(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~MapResult]<~MapResult>

coroutine DumpModelsDB(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~MapResult]<~MapResult>

coroutine ListModels(tag)[source]

tag : str Returns -> typing.Sequence<+T_co>[~UserModel]<~UserModel>

coroutine ModelDefaults()[source]

Returns -> typing.Mapping<~KT, +VT_co>[str, ~ModelDefaults]<~ModelDefaults>

coroutine ModelInfo(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~ModelInfoResult]<~ModelInfoResult>

coroutine ModelStatus(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~ModelStatus]<~ModelStatus>

coroutine ModifyModelAccess(changes)[source]

changes : typing.Sequence<+T_co>[~ModifyModelAccess]<~ModifyModelAccess> Returns -> typing.Sequence<+T_co>[~ErrorResult]<~ErrorResult>

coroutine SetModelDefaults(config)[source]

config : typing.Sequence<+T_co>[~ModelDefaultValues]<~ModelDefaultValues> Returns -> typing.Sequence<+T_co>[~ErrorResult]<~ErrorResult>

coroutine UnsetModelDefaults(keys)[source]

keys : typing.Sequence<+T_co>[~ModelUnsetKeys]<~ModelUnsetKeys> Returns -> typing.Sequence<+T_co>[~ErrorResult]<~ErrorResult>

name = ‘ModelManager’
schema = {‘type’: ‘object’, ‘definitions’: {‘Macaroon’: {‘type’: ‘object’, ‘additionalProperties’: False}, ‘ErrorResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/ErrorResult’}}}}, ‘RegionDefaults’: {‘required’: [‘region-name’, ‘value’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘region-name’: {‘type’: ‘string’}, ‘value’: {‘type’: ‘object’, ‘additionalProperties’: True}}}, ‘ModelUnsetKeys’: {‘required’: [‘keys’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘cloud-tag’: {‘type’: ‘string’}, ‘keys’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}, ‘cloud-region’: {‘type’: ‘string’}}}, ‘ModelInfoResult’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}, ‘result’: {‘$ref’: ‘#/definitions/ModelInfo’}}}, ‘ModifyModelAccessRequest’: {‘required’: [‘changes’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘changes’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/ModifyModelAccess’}}}}, ‘ErrorInfo’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘macaroon’: {‘$ref’: ‘#/definitions/Macaroon’}, ‘macaroon-path’: {‘type’: ‘string’}}}, ‘UserModel’: {‘required’: [‘model’, ‘last-connection’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘model’: {‘$ref’: ‘#/definitions/Model’}, ‘last-connection’: {‘type’: ‘string’, ‘format’: ‘date-time’}}}, ‘ModelCreateArgs’: {‘required’: [‘name’, ‘owner-tag’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘owner-tag’: {‘type’: ‘string’}, ‘cloud-tag’: {‘type’: ‘string’}, ‘region’: {‘type’: ‘string’}, ‘config’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘type’: ‘object’, ‘additionalProperties’: True}}}, ‘credential’: {‘type’: ‘string’}, ‘name’: {‘type’: ‘string’}}}, ‘Error’: {‘required’: [‘message’, ‘code’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘message’: {‘type’: ‘string’}, ‘code’: {‘type’: ‘string’}, ‘info’: {‘$ref’: ‘#/definitions/ErrorInfo’}}}, ‘Entity’: {‘required’: [‘tag’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘tag’: {‘type’: ‘string’}}}, ‘MachineHardware’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘availability-zone’: {‘type’: ‘string’}, ‘mem’: {‘type’: ‘integer’}, ‘arch’: {‘type’: ‘string’}, ‘cores’: {‘type’: ‘integer’}, ‘root-disk’: {‘type’: ‘integer’}, ‘tags’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}, ‘cpu-power’: {‘type’: ‘integer’}}}, ‘ModelInfo’: {‘required’: [‘name’, ‘uuid’, ‘controller-uuid’, ‘cloud-tag’, ‘owner-tag’, ‘life’, ‘users’, ‘machines’, ‘sla’, ‘agent-version’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘machines’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/ModelMachineInfo’}}, ‘owner-tag’: {‘type’: ‘string’}, ‘cloud-tag’: {‘type’: ‘string’}, ‘status’: {‘$ref’: ‘#/definitions/EntityStatus’}, ‘agent-version’: {‘$ref’: ‘#/definitions/Number’}, ‘uuid’: {‘type’: ‘string’}, ‘users’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/ModelUserInfo’}}, ‘provider-type’: {‘type’: ‘string’}, ‘controller-uuid’: {‘type’: ‘string’}, ‘migration’: {‘$ref’: ‘#/definitions/ModelMigrationStatus’}, ‘life’: {‘type’: ‘string’}, ‘default-series’: {‘type’: ‘string’}, ‘cloud-credential-tag’: {‘type’: ‘string’}, ‘sla’: {‘$ref’: ‘#/definitions/ModelSLAInfo’}, ‘cloud-region’: {‘type’: ‘string’}, ‘name’: {‘type’: ‘string’}}}, ‘ModelDefaultsResult’: {‘required’: [‘config’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘config’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘$ref’: ‘#/definitions/ModelDefaults’}}}}}, ‘UnsetModelDefaults’: {‘required’: [‘keys’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘keys’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/ModelUnsetKeys’}}}}, ‘MapResult’: {‘required’: [‘result’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}, ‘result’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘type’: ‘object’, ‘additionalProperties’: True}}}}}, ‘ModelMigrationStatus’: {‘required’: [‘status’, ‘start’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘end’: {‘type’: ‘string’, ‘format’: ‘date-time’}, ‘status’: {‘type’: ‘string’}, ‘start’: {‘type’: ‘string’, ‘format’: ‘date-time’}}}, ‘ModelInfoResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/ModelInfoResult’}}}}, ‘Number’: {‘required’: [‘Major’, ‘Minor’, ‘Tag’, ‘Patch’, ‘Build’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘Major’: {‘type’: ‘integer’}, ‘Minor’: {‘type’: ‘integer’}, ‘Tag’: {‘type’: ‘string’}, ‘Patch’: {‘type’: ‘integer’}, ‘Build’: {‘type’: ‘integer’}}}, ‘ErrorResult’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}}}, ‘ModelUserInfo’: {‘required’: [‘user’, ‘display-name’, ‘last-connection’, ‘access’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘access’: {‘type’: ‘string’}, ‘last-connection’: {‘type’: ‘string’, ‘format’: ‘date-time’}, ‘user’: {‘type’: ‘string’}, ‘display-name’: {‘type’: ‘string’}}}, ‘EntityStatus’: {‘required’: [‘status’, ‘info’, ‘since’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘since’: {‘type’: ‘string’, ‘format’: ‘date-time’}, ‘status’: {‘type’: ‘string’}, ‘info’: {‘type’: ‘string’}, ‘data’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘type’: ‘object’, ‘additionalProperties’: True}}}}}, ‘SetModelDefaults’: {‘required’: [‘config’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘config’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/ModelDefaultValues’}}}}, ‘ModelStatus’: {‘required’: [‘model-tag’, ‘life’, ‘hosted-machine-count’, ‘application-count’, ‘owner-tag’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘machines’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/ModelMachineInfo’}}, ‘owner-tag’: {‘type’: ‘string’}, ‘hosted-machine-count’: {‘type’: ‘integer’}, ‘life’: {‘type’: ‘string’}, ‘application-count’: {‘type’: ‘integer’}, ‘model-tag’: {‘type’: ‘string’}}}, ‘ModelMachineInfo’: {‘required’: [‘id’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘id’: {‘type’: ‘string’}, ‘hardware’: {‘$ref’: ‘#/definitions/MachineHardware’}, ‘has-vote’: {‘type’: ‘boolean’}, ‘wants-vote’: {‘type’: ‘boolean’}, ‘status’: {‘type’: ‘string’}, ‘instance-id’: {‘type’: ‘string’}}}, ‘ModelDefaults’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘regions’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/RegionDefaults’}}, ‘default’: {‘type’: ‘object’, ‘additionalProperties’: True}, ‘controller’: {‘type’: ‘object’, ‘additionalProperties’: True}}}, ‘UserModelList’: {‘required’: [‘user-models’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘user-models’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/UserModel’}}}}, ‘ModelSLAInfo’: {‘required’: [‘level’, ‘owner’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘level’: {‘type’: ‘string’}, ‘owner’: {‘type’: ‘string’}}}, ‘ModelDefaultValues’: {‘required’: [‘config’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘config’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘type’: ‘object’, ‘additionalProperties’: True}}}, ‘cloud-tag’: {‘type’: ‘string’}, ‘cloud-region’: {‘type’: ‘string’}}}, ‘ModifyModelAccess’: {‘required’: [‘user-tag’, ‘action’, ‘access’, ‘model-tag’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘access’: {‘type’: ‘string’}, ‘action’: {‘type’: ‘string’}, ‘model-tag’: {‘type’: ‘string’}, ‘user-tag’: {‘type’: ‘string’}}}, ‘ModelStatusResults’: {‘required’: [‘models’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘models’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/ModelStatus’}}}}, ‘Model’: {‘required’: [‘name’, ‘uuid’, ‘owner-tag’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘owner-tag’: {‘type’: ‘string’}, ‘uuid’: {‘type’: ‘string’}, ‘name’: {‘type’: ‘string’}}}, ‘Entities’: {‘required’: [‘entities’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘entities’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/Entity’}}}}, ‘MapResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/MapResult’}}}}}, ‘properties’: {‘ListModels’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/UserModelList’}, ‘Params’: {‘$ref’: ‘#/definitions/Entity’}}}, ‘ModelInfo’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ModelInfoResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘ModelDefaults’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ModelDefaultsResult’}}}, ‘ModifyModelAccess’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ErrorResults’}, ‘Params’: {‘$ref’: ‘#/definitions/ModifyModelAccessRequest’}}}, ‘SetModelDefaults’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ErrorResults’}, ‘Params’: {‘$ref’: ‘#/definitions/SetModelDefaults’}}}, ‘DumpModels’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/MapResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘DestroyModels’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ErrorResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘CreateModel’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ModelInfo’}, ‘Params’: {‘$ref’: ‘#/definitions/ModelCreateArgs’}}}, ‘DumpModelsDB’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/MapResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘ModelStatus’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ModelStatusResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘UnsetModelDefaults’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ErrorResults’}, ‘Params’: {‘$ref’: ‘#/definitions/UnsetModelDefaults’}}}}}
version = 2
class juju.client._client2.RebootFacade[source]

Bases: juju.client.facade.Type

coroutine ClearReboot(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~ErrorResult]<~ErrorResult>

coroutine GetRebootAction(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~RebootActionResult]<~RebootActionResult>

coroutine RequestReboot(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~ErrorResult]<~ErrorResult>

coroutine WatchForRebootEvent()[source]

Returns -> typing.Union[str, _ForwardRef(‘Error’)]

name = ‘Reboot’
schema = {‘type’: ‘object’, ‘definitions’: {‘RebootActionResult’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}, ‘result’: {‘type’: ‘string’}}}, ‘Macaroon’: {‘type’: ‘object’, ‘additionalProperties’: False}, ‘Error’: {‘required’: [‘message’, ‘code’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘message’: {‘type’: ‘string’}, ‘code’: {‘type’: ‘string’}, ‘info’: {‘$ref’: ‘#/definitions/ErrorInfo’}}}, ‘Entity’: {‘required’: [‘tag’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘tag’: {‘type’: ‘string’}}}, ‘ErrorResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/ErrorResult’}}}}, ‘ErrorResult’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}}}, ‘NotifyWatchResult’: {‘required’: [‘NotifyWatcherId’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘NotifyWatcherId’: {‘type’: ‘string’}, ‘error’: {‘$ref’: ‘#/definitions/Error’}}}, ‘Entities’: {‘required’: [‘entities’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘entities’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/Entity’}}}}, ‘ErrorInfo’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘macaroon’: {‘$ref’: ‘#/definitions/Macaroon’}, ‘macaroon-path’: {‘type’: ‘string’}}}, ‘RebootActionResults’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/RebootActionResult’}}}}}, ‘properties’: {‘WatchForRebootEvent’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/NotifyWatchResult’}}}, ‘RequestReboot’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ErrorResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘GetRebootAction’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/RebootActionResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘ClearReboot’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ErrorResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}}}
version = 2
class juju.client._client2.ResumerFacade[source]

Bases: juju.client.facade.Type

coroutine ResumeTransactions()[source]

Returns -> None

name = ‘Resumer’
schema = {‘type’: ‘object’, ‘properties’: {‘ResumeTransactions’: {‘type’: ‘object’}}}
version = 2
class juju.client._client2.SSHClientFacade[source]

Bases: juju.client.facade.Type

coroutine AllAddresses(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~SSHAddressesResult]<~SSHAddressesResult>

coroutine PrivateAddress(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~SSHAddressResult]<~SSHAddressResult>

coroutine Proxy()[source]

Returns -> bool

coroutine PublicAddress(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~SSHAddressResult]<~SSHAddressResult>

coroutine PublicKeys(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~SSHPublicKeysResult]<~SSHPublicKeysResult>

name = ‘SSHClient’
schema = {‘type’: ‘object’, ‘definitions’: {‘Macaroon’: {‘type’: ‘object’, ‘additionalProperties’: False}, ‘SSHAddressResult’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘address’: {‘type’: ‘string’}, ‘error’: {‘$ref’: ‘#/definitions/Error’}}}, ‘SSHAddressesResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/SSHAddressesResult’}}}}, ‘SSHProxyResult’: {‘required’: [‘use-proxy’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘use-proxy’: {‘type’: ‘boolean’}}}, ‘SSHAddressesResult’: {‘required’: [‘addresses’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}, ‘addresses’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}}}, ‘ErrorInfo’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘macaroon’: {‘$ref’: ‘#/definitions/Macaroon’}, ‘macaroon-path’: {‘type’: ‘string’}}}, ‘SSHPublicKeysResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/SSHPublicKeysResult’}}}}, ‘Error’: {‘required’: [‘message’, ‘code’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘message’: {‘type’: ‘string’}, ‘code’: {‘type’: ‘string’}, ‘info’: {‘$ref’: ‘#/definitions/ErrorInfo’}}}, ‘SSHAddressResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/SSHAddressResult’}}}}, ‘Entity’: {‘required’: [‘tag’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘tag’: {‘type’: ‘string’}}}, ‘SSHPublicKeysResult’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}, ‘public-keys’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}}}, ‘Entities’: {‘required’: [‘entities’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘entities’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/Entity’}}}}}, ‘properties’: {‘AllAddresses’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/SSHAddressesResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘PublicKeys’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/SSHPublicKeysResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘Proxy’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/SSHProxyResult’}}}, ‘PrivateAddress’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/SSHAddressResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘PublicAddress’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/SSHAddressResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}}}
version = 2
class juju.client._client2.SpacesFacade[source]

Bases: juju.client.facade.Type

coroutine CreateSpaces(spaces)[source]

spaces : typing.Sequence<+T_co>[~CreateSpaceParams]<~CreateSpaceParams> Returns -> typing.Sequence<+T_co>[~ErrorResult]<~ErrorResult>

coroutine ListSpaces()[source]

Returns -> typing.Sequence<+T_co>[~Space]<~Space>

name = ‘Spaces’
schema = {‘type’: ‘object’, ‘definitions’: {‘Macaroon’: {‘type’: ‘object’, ‘additionalProperties’: False}, ‘Error’: {‘required’: [‘message’, ‘code’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘message’: {‘type’: ‘string’}, ‘code’: {‘type’: ‘string’}, ‘info’: {‘$ref’: ‘#/definitions/ErrorInfo’}}}, ‘ErrorResult’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}}}, ‘ErrorResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/ErrorResult’}}}}, ‘ListSpacesResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/Space’}}}}, ‘CreateSpaceParams’: {‘required’: [‘subnet-tags’, ‘space-tag’, ‘public’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘public’: {‘type’: ‘boolean’}, ‘provider-id’: {‘type’: ‘string’}, ‘space-tag’: {‘type’: ‘string’}, ‘subnet-tags’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}}}, ‘Space’: {‘required’: [‘name’, ‘subnets’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}, ‘subnets’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/Subnet’}}, ‘name’: {‘type’: ‘string’}}}, ‘ErrorInfo’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘macaroon’: {‘$ref’: ‘#/definitions/Macaroon’}, ‘macaroon-path’: {‘type’: ‘string’}}}, ‘Subnet’: {‘required’: [‘cidr’, ‘vlan-tag’, ‘life’, ‘space-tag’, ‘zones’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘cidr’: {‘type’: ‘string’}, ‘space-tag’: {‘type’: ‘string’}, ‘status’: {‘type’: ‘string’}, ‘life’: {‘type’: ‘string’}, ‘provider-network-id’: {‘type’: ‘string’}, ‘provider-space-id’: {‘type’: ‘string’}, ‘provider-id’: {‘type’: ‘string’}, ‘vlan-tag’: {‘type’: ‘integer’}, ‘zones’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}}}, ‘CreateSpacesParams’: {‘required’: [‘spaces’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘spaces’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/CreateSpaceParams’}}}}}, ‘properties’: {‘CreateSpaces’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ErrorResults’}, ‘Params’: {‘$ref’: ‘#/definitions/CreateSpacesParams’}}}, ‘ListSpaces’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ListSpacesResults’}}}}}
version = 2
class juju.client._client2.StatusHistoryFacade[source]

Bases: juju.client.facade.Type

coroutine ModelConfig()[source]

Returns -> typing.Mapping<~KT, +VT_co>[str, typing.Any]

coroutine Prune(max_history_mb, max_history_time)[source]

max_history_mb : int max_history_time : int Returns -> None

coroutine WatchForModelConfigChanges()[source]

Returns -> typing.Union[str, _ForwardRef(‘Error’)]

name = ‘StatusHistory’
schema = {‘type’: ‘object’, ‘definitions’: {‘Macaroon’: {‘type’: ‘object’, ‘additionalProperties’: False}, ‘Error’: {‘required’: [‘message’, ‘code’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘message’: {‘type’: ‘string’}, ‘code’: {‘type’: ‘string’}, ‘info’: {‘$ref’: ‘#/definitions/ErrorInfo’}}}, ‘StatusHistoryPruneArgs’: {‘required’: [‘max-history-time’, ‘max-history-mb’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘max-history-mb’: {‘type’: ‘integer’}, ‘max-history-time’: {‘type’: ‘integer’}}}, ‘ModelConfigResult’: {‘required’: [‘config’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘config’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘type’: ‘object’, ‘additionalProperties’: True}}}}}, ‘NotifyWatchResult’: {‘required’: [‘NotifyWatcherId’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘NotifyWatcherId’: {‘type’: ‘string’}, ‘error’: {‘$ref’: ‘#/definitions/Error’}}}, ‘ErrorInfo’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘macaroon’: {‘$ref’: ‘#/definitions/Macaroon’}, ‘macaroon-path’: {‘type’: ‘string’}}}}, ‘properties’: {‘ModelConfig’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ModelConfigResult’}}}, ‘WatchForModelConfigChanges’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/NotifyWatchResult’}}}, ‘Prune’: {‘type’: ‘object’, ‘properties’: {‘Params’: {‘$ref’: ‘#/definitions/StatusHistoryPruneArgs’}}}}}
version = 2
class juju.client._client2.SubnetsFacade[source]

Bases: juju.client.facade.Type

coroutine AddSubnets(subnets)[source]

subnets : typing.Sequence<+T_co>[~AddSubnetParams]<~AddSubnetParams> Returns -> typing.Sequence<+T_co>[~ErrorResult]<~ErrorResult>

coroutine AllSpaces()[source]

Returns -> typing.Sequence<+T_co>[~SpaceResult]<~SpaceResult>

coroutine AllZones()[source]

Returns -> typing.Sequence<+T_co>[~ZoneResult]<~ZoneResult>

coroutine ListSubnets(space_tag, zone)[source]

space_tag : str zone : str Returns -> typing.Sequence<+T_co>[~Subnet]<~Subnet>

name = ‘Subnets’
schema = {‘type’: ‘object’, ‘definitions’: {‘ZoneResult’: {‘required’: [‘name’, ‘available’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}, ‘available’: {‘type’: ‘boolean’}, ‘name’: {‘type’: ‘string’}}}, ‘Macaroon’: {‘type’: ‘object’, ‘additionalProperties’: False}, ‘ErrorResult’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}}}, ‘ErrorResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/ErrorResult’}}}}, ‘ZoneResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/ZoneResult’}}}}, ‘AddSubnetParams’: {‘required’: [‘space-tag’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘subnet-tag’: {‘type’: ‘string’}, ‘space-tag’: {‘type’: ‘string’}, ‘provider-network-id’: {‘type’: ‘string’}, ‘zones’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}, ‘vlan-tag’: {‘type’: ‘integer’}, ‘subnet-provider-id’: {‘type’: ‘string’}}}, ‘SubnetsFilters’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘zone’: {‘type’: ‘string’}, ‘space-tag’: {‘type’: ‘string’}}}, ‘ErrorInfo’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘macaroon’: {‘$ref’: ‘#/definitions/Macaroon’}, ‘macaroon-path’: {‘type’: ‘string’}}}, ‘Subnet’: {‘required’: [‘cidr’, ‘vlan-tag’, ‘life’, ‘space-tag’, ‘zones’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘cidr’: {‘type’: ‘string’}, ‘space-tag’: {‘type’: ‘string’}, ‘status’: {‘type’: ‘string’}, ‘life’: {‘type’: ‘string’}, ‘provider-network-id’: {‘type’: ‘string’}, ‘provider-space-id’: {‘type’: ‘string’}, ‘provider-id’: {‘type’: ‘string’}, ‘vlan-tag’: {‘type’: ‘integer’}, ‘zones’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}}}, ‘Error’: {‘required’: [‘message’, ‘code’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘message’: {‘type’: ‘string’}, ‘code’: {‘type’: ‘string’}, ‘info’: {‘$ref’: ‘#/definitions/ErrorInfo’}}}, ‘AddSubnetsParams’: {‘required’: [‘subnets’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘subnets’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/AddSubnetParams’}}}}, ‘ListSubnetsResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/Subnet’}}}}, ‘SpaceResult’: {‘required’: [‘tag’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}, ‘tag’: {‘type’: ‘string’}}}, ‘SpaceResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/SpaceResult’}}}}}, ‘properties’: {‘AllZones’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ZoneResults’}}}, ‘AllSpaces’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/SpaceResults’}}}, ‘ListSubnets’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ListSubnetsResults’}, ‘Params’: {‘$ref’: ‘#/definitions/SubnetsFilters’}}}, ‘AddSubnets’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ErrorResults’}, ‘Params’: {‘$ref’: ‘#/definitions/AddSubnetsParams’}}}}}
version = 2
class juju.client._client2.VolumeAttachmentsWatcherFacade[source]

Bases: juju.client.facade.Type

coroutine Next()[source]

Returns -> typing.Union[typing.Sequence<+T_co>[~MachineStorageId]<~MachineStorageId>, _ForwardRef(‘Error’)]

coroutine Stop()[source]

Returns -> None

name = ‘VolumeAttachmentsWatcher’
schema = {‘type’: ‘object’, ‘definitions’: {‘Macaroon’: {‘type’: ‘object’, ‘additionalProperties’: False}, ‘Error’: {‘required’: [‘message’, ‘code’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘message’: {‘type’: ‘string’}, ‘code’: {‘type’: ‘string’}, ‘info’: {‘$ref’: ‘#/definitions/ErrorInfo’}}}, ‘MachineStorageId’: {‘required’: [‘machine-tag’, ‘attachment-tag’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘attachment-tag’: {‘type’: ‘string’}, ‘machine-tag’: {‘type’: ‘string’}}}, ‘ErrorInfo’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘macaroon’: {‘$ref’: ‘#/definitions/Macaroon’}, ‘macaroon-path’: {‘type’: ‘string’}}}, ‘MachineStorageIdsWatchResult’: {‘required’: [‘watcher-id’, ‘changes’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘watcher-id’: {‘type’: ‘string’}, ‘changes’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/MachineStorageId’}}, ‘error’: {‘$ref’: ‘#/definitions/Error’}}}}, ‘properties’: {‘Next’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/MachineStorageIdsWatchResult’}}}, ‘Stop’: {‘type’: ‘object’}}}
version = 2

juju.client._client3 module

class juju.client._client3.ApplicationFacade[source]

Bases: juju.client.facade.Type

coroutine AddRelation(endpoints)[source]

endpoints : typing.Sequence<+T_co>[str] Returns -> typing.Mapping<~KT, +VT_co>[str, ~CharmRelation]<~CharmRelation>

coroutine AddUnits(application, num_units, placement)[source]

application : str num_units : int placement : typing.Sequence<+T_co>[~Placement]<~Placement> Returns -> typing.Sequence<+T_co>[str]

coroutine CharmRelations(application)[source]

application : str Returns -> typing.Sequence<+T_co>[str]

coroutine Deploy(applications)[source]

applications : typing.Sequence<+T_co>[~ApplicationDeploy]<~ApplicationDeploy> Returns -> typing.Sequence<+T_co>[~ErrorResult]<~ErrorResult>

coroutine Destroy(application)[source]

application : str Returns -> None

coroutine DestroyRelation(endpoints)[source]

endpoints : typing.Sequence<+T_co>[str] Returns -> None

coroutine DestroyUnits(unit_names)[source]

unit_names : typing.Sequence<+T_co>[str] Returns -> None

coroutine Expose(application)[source]

application : str Returns -> None

coroutine Get(application)[source]

application : str Returns -> typing.Union[str, typing.Mapping<~KT, +VT_co>[str, typing.Any], _ForwardRef(‘Value’)]

coroutine GetCharmURL(application)[source]

application : str Returns -> typing.Union[_ForwardRef(‘Error’), str]

coroutine GetConstraints(application)[source]

application : str Returns -> Value

coroutine Set(application, options)[source]

application : str options : typing.Mapping<~KT, +VT_co>[str, str] Returns -> None

coroutine SetCharm(application, channel, charm_url, config_settings, config_settings_yaml, force_series, force_units, resource_ids, storage_constraints)[source]

application : str channel : str charm_url : str config_settings : typing.Mapping<~KT, +VT_co>[str, str] config_settings_yaml : str force_series : bool force_units : bool resource_ids : typing.Mapping<~KT, +VT_co>[str, str] storage_constraints : typing.Mapping<~KT, +VT_co>[str, ~StorageConstraints]<~StorageConstraints> Returns -> None

coroutine SetConstraints(application, constraints)[source]

application : str constraints : Value Returns -> None

coroutine SetMetricCredentials(creds)[source]

creds : typing.Sequence<+T_co>[~ApplicationMetricCredential]<~ApplicationMetricCredential> Returns -> typing.Sequence<+T_co>[~ErrorResult]<~ErrorResult>

coroutine Unexpose(application)[source]

application : str Returns -> None

coroutine Unset(application, options)[source]

application : str options : typing.Sequence<+T_co>[str] Returns -> None

coroutine Update(application, charm_url, constraints, force_charm_url, force_series, min_units, settings, settings_yaml)[source]

application : str charm_url : str constraints : Value force_charm_url : bool force_series : bool min_units : int settings : typing.Mapping<~KT, +VT_co>[str, str] settings_yaml : str Returns -> None

name = ‘Application’
schema = {‘type’: ‘object’, ‘definitions’: {‘ApplicationsDeploy’: {‘required’: [‘applications’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘applications’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/ApplicationDeploy’}}}}, ‘Macaroon’: {‘type’: ‘object’, ‘additionalProperties’: False}, ‘AddApplicationUnits’: {‘required’: [‘application’, ‘num-units’, ‘placement’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘application’: {‘type’: ‘string’}, ‘num-units’: {‘type’: ‘integer’}, ‘placement’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/Placement’}}}}, ‘Value’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘mem’: {‘type’: ‘integer’}, ‘tags’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}, ‘arch’: {‘type’: ‘string’}, ‘cores’: {‘type’: ‘integer’}, ‘root-disk’: {‘type’: ‘integer’}, ‘container’: {‘type’: ‘string’}, ‘spaces’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}, ‘cpu-power’: {‘type’: ‘integer’}, ‘virt-type’: {‘type’: ‘string’}, ‘instance-type’: {‘type’: ‘string’}}}, ‘ApplicationMetricCredentials’: {‘required’: [‘creds’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘creds’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/ApplicationMetricCredential’}}}}, ‘Placement’: {‘required’: [‘scope’, ‘directive’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘scope’: {‘type’: ‘string’}, ‘directive’: {‘type’: ‘string’}}}, ‘SetConstraints’: {‘required’: [‘application’, ‘constraints’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘application’: {‘type’: ‘string’}, ‘constraints’: {‘$ref’: ‘#/definitions/Value’}}}, ‘ApplicationUnset’: {‘required’: [‘application’, ‘options’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘application’: {‘type’: ‘string’}, ‘options’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}}}, ‘ErrorInfo’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘macaroon’: {‘$ref’: ‘#/definitions/Macaroon’}, ‘macaroon-path’: {‘type’: ‘string’}}}, ‘StorageConstraints’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘pool’: {‘type’: ‘string’}, ‘size’: {‘type’: ‘integer’}, ‘count’: {‘type’: ‘integer’}}}, ‘ApplicationUpdate’: {‘required’: [‘application’, ‘charm-url’, ‘force-charm-url’, ‘force-series’, ‘settings-yaml’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘min-units’: {‘type’: ‘integer’}, ‘charm-url’: {‘type’: ‘string’}, ‘force-series’: {‘type’: ‘boolean’}, ‘settings-yaml’: {‘type’: ‘string’}, ‘application’: {‘type’: ‘string’}, ‘constraints’: {‘$ref’: ‘#/definitions/Value’}, ‘force-charm-url’: {‘type’: ‘boolean’}, ‘settings’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘type’: ‘string’}}}}}, ‘AddRelationResults’: {‘required’: [‘endpoints’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘endpoints’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘$ref’: ‘#/definitions/CharmRelation’}}}}}, ‘ApplicationDestroy’: {‘required’: [‘application’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘application’: {‘type’: ‘string’}}}, ‘AddApplicationUnitsResults’: {‘required’: [‘units’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘units’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}}}, ‘CharmRelation’: {‘required’: [‘name’, ‘role’, ‘interface’, ‘optional’, ‘limit’, ‘scope’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘scope’: {‘type’: ‘string’}, ‘optional’: {‘type’: ‘boolean’}, ‘limit’: {‘type’: ‘integer’}, ‘interface’: {‘type’: ‘string’}, ‘role’: {‘type’: ‘string’}, ‘name’: {‘type’: ‘string’}}}, ‘ApplicationDeploy’: {‘required’: [‘application’, ‘series’, ‘charm-url’, ‘channel’, ‘num-units’, ‘config-yaml’, ‘constraints’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘storage’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘$ref’: ‘#/definitions/Constraints’}}}, ‘num-units’: {‘type’: ‘integer’}, ‘series’: {‘type’: ‘string’}, ‘constraints’: {‘$ref’: ‘#/definitions/Value’}, ‘endpoint-bindings’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘type’: ‘string’}}}, ‘charm-url’: {‘type’: ‘string’}, ‘config-yaml’: {‘type’: ‘string’}, ‘placement’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/Placement’}}, ‘config’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘type’: ‘string’}}}, ‘application’: {‘type’: ‘string’}, ‘channel’: {‘type’: ‘string’}, ‘resources’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘type’: ‘string’}}}}}, ‘ApplicationGet’: {‘required’: [‘application’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘application’: {‘type’: ‘string’}}}, ‘GetApplicationConstraints’: {‘required’: [‘application’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘application’: {‘type’: ‘string’}}}, ‘ApplicationUnexpose’: {‘required’: [‘application’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘application’: {‘type’: ‘string’}}}, ‘ErrorResult’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}}}, ‘DestroyRelation’: {‘required’: [‘endpoints’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘endpoints’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}}}, ‘ApplicationMetricCredential’: {‘required’: [‘application’, ‘metrics-credentials’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘application’: {‘type’: ‘string’}, ‘metrics-credentials’: {‘type’: ‘array’, ‘items’: {‘type’: ‘integer’}}}}, ‘ApplicationCharmRelationsResults’: {‘required’: [‘charm-relations’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘charm-relations’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}}}, ‘ApplicationSet’: {‘required’: [‘application’, ‘options’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘application’: {‘type’: ‘string’}, ‘options’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘type’: ‘string’}}}}}, ‘Error’: {‘required’: [‘message’, ‘code’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘message’: {‘type’: ‘string’}, ‘code’: {‘type’: ‘string’}, ‘info’: {‘$ref’: ‘#/definitions/ErrorInfo’}}}, ‘ErrorResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/ErrorResult’}}}}, ‘Constraints’: {‘required’: [‘Pool’, ‘Size’, ‘Count’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘Count’: {‘type’: ‘integer’}, ‘Pool’: {‘type’: ‘string’}, ‘Size’: {‘type’: ‘integer’}}}, ‘GetConstraintsResults’: {‘required’: [‘constraints’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘constraints’: {‘$ref’: ‘#/definitions/Value’}}}, ‘ApplicationExpose’: {‘required’: [‘application’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘application’: {‘type’: ‘string’}}}, ‘DestroyApplicationUnits’: {‘required’: [‘unit-names’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘unit-names’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}}}, ‘ApplicationCharmRelations’: {‘required’: [‘application’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘application’: {‘type’: ‘string’}}}, ‘StringResult’: {‘required’: [‘result’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}, ‘result’: {‘type’: ‘string’}}}, ‘AddRelation’: {‘required’: [‘endpoints’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘endpoints’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}}}, ‘ApplicationSetCharm’: {‘required’: [‘application’, ‘charm-url’, ‘channel’, ‘force-units’, ‘force-series’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘charm-url’: {‘type’: ‘string’}, ‘force-series’: {‘type’: ‘boolean’}, ‘storage-constraints’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘$ref’: ‘#/definitions/StorageConstraints’}}}, ‘application’: {‘type’: ‘string’}, ‘config-settings-yaml’: {‘type’: ‘string’}, ‘resource-ids’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘type’: ‘string’}}}, ‘config-settings’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘type’: ‘string’}}}, ‘channel’: {‘type’: ‘string’}, ‘force-units’: {‘type’: ‘boolean’}}}, ‘ApplicationGetResults’: {‘required’: [‘application’, ‘charm’, ‘config’, ‘constraints’, ‘series’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘charm’: {‘type’: ‘string’}, ‘application’: {‘type’: ‘string’}, ‘constraints’: {‘$ref’: ‘#/definitions/Value’}, ‘series’: {‘type’: ‘string’}, ‘config’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘type’: ‘object’, ‘additionalProperties’: True}}}}}}, ‘properties’: {‘DestroyUnits’: {‘type’: ‘object’, ‘properties’: {‘Params’: {‘$ref’: ‘#/definitions/DestroyApplicationUnits’}}}, ‘Unexpose’: {‘type’: ‘object’, ‘properties’: {‘Params’: {‘$ref’: ‘#/definitions/ApplicationUnexpose’}}}, ‘GetConstraints’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/GetConstraintsResults’}, ‘Params’: {‘$ref’: ‘#/definitions/GetApplicationConstraints’}}}, ‘DestroyRelation’: {‘type’: ‘object’, ‘properties’: {‘Params’: {‘$ref’: ‘#/definitions/DestroyRelation’}}}, ‘SetConstraints’: {‘type’: ‘object’, ‘properties’: {‘Params’: {‘$ref’: ‘#/definitions/SetConstraints’}}}, ‘CharmRelations’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ApplicationCharmRelationsResults’}, ‘Params’: {‘$ref’: ‘#/definitions/ApplicationCharmRelations’}}}, ‘GetCharmURL’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/StringResult’}, ‘Params’: {‘$ref’: ‘#/definitions/ApplicationGet’}}}, ‘Unset’: {‘type’: ‘object’, ‘properties’: {‘Params’: {‘$ref’: ‘#/definitions/ApplicationUnset’}}}, ‘Expose’: {‘type’: ‘object’, ‘properties’: {‘Params’: {‘$ref’: ‘#/definitions/ApplicationExpose’}}}, ‘AddUnits’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/AddApplicationUnitsResults’}, ‘Params’: {‘$ref’: ‘#/definitions/AddApplicationUnits’}}}, ‘Update’: {‘type’: ‘object’, ‘properties’: {‘Params’: {‘$ref’: ‘#/definitions/ApplicationUpdate’}}}, ‘SetCharm’: {‘type’: ‘object’, ‘properties’: {‘Params’: {‘$ref’: ‘#/definitions/ApplicationSetCharm’}}}, ‘Get’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ApplicationGetResults’}, ‘Params’: {‘$ref’: ‘#/definitions/ApplicationGet’}}}, ‘AddRelation’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/AddRelationResults’}, ‘Params’: {‘$ref’: ‘#/definitions/AddRelation’}}}, ‘Deploy’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ErrorResults’}, ‘Params’: {‘$ref’: ‘#/definitions/ApplicationsDeploy’}}}, ‘Set’: {‘type’: ‘object’, ‘properties’: {‘Params’: {‘$ref’: ‘#/definitions/ApplicationSet’}}}, ‘Destroy’: {‘type’: ‘object’, ‘properties’: {‘Params’: {‘$ref’: ‘#/definitions/ApplicationDestroy’}}}, ‘SetMetricCredentials’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ErrorResults’}, ‘Params’: {‘$ref’: ‘#/definitions/ApplicationMetricCredentials’}}}}}
version = 3
class juju.client._client3.ControllerFacade[source]

Bases: juju.client.facade.Type

coroutine AllModels()[source]

Returns -> typing.Sequence<+T_co>[~UserModel]<~UserModel>

coroutine CloudSpec(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~CloudSpecResult]<~CloudSpecResult>

coroutine ControllerConfig()[source]

Returns -> typing.Mapping<~KT, +VT_co>[str, typing.Any]

coroutine DestroyController(destroy_models)[source]

destroy_models : bool Returns -> None

coroutine GetCloudSpec()[source]

Returns -> typing.Union[_ForwardRef(‘Error’), _ForwardRef(‘CloudSpec’)]

coroutine GetControllerAccess(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~UserAccessResult]<~UserAccessResult>

coroutine HostedModelConfigs()[source]

Returns -> typing.Sequence<+T_co>[~HostedModelConfig]<~HostedModelConfig>

coroutine InitiateMigration(specs)[source]

specs : typing.Sequence<+T_co>[~MigrationSpec]<~MigrationSpec> Returns -> typing.Sequence<+T_co>[~InitiateMigrationResult]<~InitiateMigrationResult>

coroutine ListBlockedModels()[source]

Returns -> typing.Sequence<+T_co>[~ModelBlockInfo]<~ModelBlockInfo>

coroutine ModelConfig()[source]

Returns -> typing.Mapping<~KT, +VT_co>[str, ~ConfigValue]<~ConfigValue>

coroutine ModelStatus(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~ModelStatus]<~ModelStatus>

coroutine ModifyControllerAccess(changes)[source]

changes : typing.Sequence<+T_co>[~ModifyControllerAccess]<~ModifyControllerAccess> Returns -> typing.Sequence<+T_co>[~ErrorResult]<~ErrorResult>

coroutine RemoveBlocks(all_)[source]

all_ : bool Returns -> None

coroutine WatchAllModels()[source]

Returns -> str

name = ‘Controller’
schema = {‘type’: ‘object’, ‘definitions’: {‘Macaroon’: {‘type’: ‘object’, ‘additionalProperties’: False}, ‘ModelMachineInfo’: {‘required’: [‘id’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘id’: {‘type’: ‘string’}, ‘hardware’: {‘$ref’: ‘#/definitions/MachineHardware’}, ‘has-vote’: {‘type’: ‘boolean’}, ‘wants-vote’: {‘type’: ‘boolean’}, ‘status’: {‘type’: ‘string’}, ‘instance-id’: {‘type’: ‘string’}}}, ‘ErrorResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/ErrorResult’}}}}, ‘MigrationTargetInfo’: {‘required’: [‘controller-tag’, ‘addrs’, ‘ca-cert’, ‘auth-tag’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘macaroons’: {‘type’: ‘string’}, ‘controller-tag’: {‘type’: ‘string’}, ‘auth-tag’: {‘type’: ‘string’}, ‘addrs’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}, ‘ca-cert’: {‘type’: ‘string’}, ‘password’: {‘type’: ‘string’}}}, ‘UserAccessResult’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}, ‘result’: {‘$ref’: ‘#/definitions/UserAccess’}}}, ‘CloudSpecResult’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}, ‘result’: {‘$ref’: ‘#/definitions/CloudSpec’}}}, ‘UserModel’: {‘required’: [‘model’, ‘last-connection’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘model’: {‘$ref’: ‘#/definitions/Model’}, ‘last-connection’: {‘type’: ‘string’, ‘format’: ‘date-time’}}}, ‘CloudSpecResults’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/CloudSpecResult’}}}}, ‘RemoveBlocksArgs’: {‘required’: [‘all’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘all’: {‘type’: ‘boolean’}}}, ‘Error’: {‘required’: [‘message’, ‘code’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘message’: {‘type’: ‘string’}, ‘code’: {‘type’: ‘string’}, ‘info’: {‘$ref’: ‘#/definitions/ErrorInfo’}}}, ‘ModelTag’: {‘type’: ‘object’, ‘additionalProperties’: False}, ‘Entity’: {‘required’: [‘tag’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘tag’: {‘type’: ‘string’}}}, ‘ModelBlockInfoList’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘models’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/ModelBlockInfo’}}}}, ‘MachineHardware’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘availability-zone’: {‘type’: ‘string’}, ‘mem’: {‘type’: ‘integer’}, ‘arch’: {‘type’: ‘string’}, ‘cores’: {‘type’: ‘integer’}, ‘root-disk’: {‘type’: ‘integer’}, ‘tags’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}, ‘cpu-power’: {‘type’: ‘integer’}}}, ‘InitiateMigrationArgs’: {‘required’: [‘specs’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘specs’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/MigrationSpec’}}}}, ‘ModelConfigResults’: {‘required’: [‘config’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘config’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘$ref’: ‘#/definitions/ConfigValue’}}}}}, ‘UserAccessResults’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/UserAccessResult’}}}}, ‘ModifyControllerAccess’: {‘required’: [‘user-tag’, ‘action’, ‘access’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘access’: {‘type’: ‘string’}, ‘action’: {‘type’: ‘string’}, ‘user-tag’: {‘type’: ‘string’}}}, ‘InitiateMigrationResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/InitiateMigrationResult’}}}}, ‘ErrorResult’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}}}, ‘ModelBlockInfo’: {‘required’: [‘name’, ‘model-uuid’, ‘owner-tag’, ‘blocks’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘model-uuid’: {‘type’: ‘string’}, ‘owner-tag’: {‘type’: ‘string’}, ‘name’: {‘type’: ‘string’}, ‘blocks’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}}}, ‘UserAccess’: {‘required’: [‘user-tag’, ‘access’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘access’: {‘type’: ‘string’}, ‘user-tag’: {‘type’: ‘string’}}}, ‘MigrationSpec’: {‘required’: [‘model-tag’, ‘target-info’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘target-info’: {‘$ref’: ‘#/definitions/MigrationTargetInfo’}, ‘model-tag’: {‘type’: ‘string’}}}, ‘ModelStatus’: {‘required’: [‘model-tag’, ‘life’, ‘hosted-machine-count’, ‘application-count’, ‘owner-tag’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘machines’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/ModelMachineInfo’}}, ‘owner-tag’: {‘type’: ‘string’}, ‘hosted-machine-count’: {‘type’: ‘integer’}, ‘life’: {‘type’: ‘string’}, ‘application-count’: {‘type’: ‘integer’}, ‘model-tag’: {‘type’: ‘string’}}}, ‘DestroyControllerArgs’: {‘required’: [‘destroy-models’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘destroy-models’: {‘type’: ‘boolean’}}}, ‘ModifyControllerAccessRequest’: {‘required’: [‘changes’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘changes’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/ModifyControllerAccess’}}}}, ‘AllWatcherId’: {‘required’: [‘watcher-id’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘watcher-id’: {‘type’: ‘string’}}}, ‘CloudCredential’: {‘required’: [‘auth-type’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘attrs’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘type’: ‘string’}}}, ‘redacted’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}, ‘auth-type’: {‘type’: ‘string’}}}, ‘HostedModelConfig’: {‘required’: [‘name’, ‘owner’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘cloud-spec’: {‘$ref’: ‘#/definitions/CloudSpec’}, ‘config’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘type’: ‘object’, ‘additionalProperties’: True}}}, ‘error’: {‘$ref’: ‘#/definitions/Error’}, ‘owner’: {‘type’: ‘string’}, ‘name’: {‘type’: ‘string’}}}, ‘ControllerConfigResult’: {‘required’: [‘config’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘config’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘type’: ‘object’, ‘additionalProperties’: True}}}}}, ‘ConfigValue’: {‘required’: [‘value’, ‘source’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘source’: {‘type’: ‘string’}, ‘value’: {‘type’: ‘object’, ‘additionalProperties’: True}}}, ‘UserModelList’: {‘required’: [‘user-models’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘user-models’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/UserModel’}}}}, ‘Model’: {‘required’: [‘name’, ‘uuid’, ‘owner-tag’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘owner-tag’: {‘type’: ‘string’}, ‘uuid’: {‘type’: ‘string’}, ‘name’: {‘type’: ‘string’}}}, ‘HostedModelConfigsResults’: {‘required’: [‘models’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘models’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/HostedModelConfig’}}}}, ‘CloudSpec’: {‘required’: [‘type’, ‘name’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘type’: {‘type’: ‘string’}, ‘endpoint’: {‘type’: ‘string’}, ‘storage-endpoint’: {‘type’: ‘string’}, ‘region’: {‘type’: ‘string’}, ‘identity-endpoint’: {‘type’: ‘string’}, ‘credential’: {‘$ref’: ‘#/definitions/CloudCredential’}, ‘name’: {‘type’: ‘string’}}}, ‘InitiateMigrationResult’: {‘required’: [‘model-tag’, ‘migration-id’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}, ‘migration-id’: {‘type’: ‘string’}, ‘model-tag’: {‘type’: ‘string’}}}, ‘ModelStatusResults’: {‘required’: [‘models’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘models’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/ModelStatus’}}}}, ‘Entities’: {‘required’: [‘entities’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘entities’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/Entity’}}}}, ‘ErrorInfo’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘macaroon’: {‘$ref’: ‘#/definitions/Macaroon’}, ‘macaroon-path’: {‘type’: ‘string’}}}}, ‘properties’: {‘ModifyControllerAccess’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ErrorResults’}, ‘Params’: {‘$ref’: ‘#/definitions/ModifyControllerAccessRequest’}}}, ‘AllModels’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/UserModelList’}}}, ‘ControllerConfig’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ControllerConfigResult’}}}, ‘GetCloudSpec’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/CloudSpecResult’}, ‘Params’: {‘$ref’: ‘#/definitions/ModelTag’}}}, ‘ModelStatus’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ModelStatusResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘WatchAllModels’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/AllWatcherId’}}}, ‘ListBlockedModels’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ModelBlockInfoList’}}}, ‘DestroyController’: {‘type’: ‘object’, ‘properties’: {‘Params’: {‘$ref’: ‘#/definitions/DestroyControllerArgs’}}}, ‘ModelConfig’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ModelConfigResults’}}}, ‘RemoveBlocks’: {‘type’: ‘object’, ‘properties’: {‘Params’: {‘$ref’: ‘#/definitions/RemoveBlocksArgs’}}}, ‘GetControllerAccess’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/UserAccessResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘CloudSpec’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/CloudSpecResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘HostedModelConfigs’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/HostedModelConfigsResults’}}}, ‘InitiateMigration’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/InitiateMigrationResults’}, ‘Params’: {‘$ref’: ‘#/definitions/InitiateMigrationArgs’}}}}}
version = 3
class juju.client._client3.FirewallerFacade[source]

Bases: juju.client.facade.Type

coroutine CloudSpec(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~CloudSpecResult]<~CloudSpecResult>

coroutine GetAssignedMachine(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~StringResult]<~StringResult>

coroutine GetCloudSpec()[source]

Returns -> typing.Union[_ForwardRef(‘Error’), _ForwardRef(‘CloudSpec’)]

coroutine GetExposed(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~BoolResult]<~BoolResult>

coroutine GetMachineActiveSubnets(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~StringsResult]<~StringsResult>

coroutine GetMachinePorts(params)[source]

params : typing.Sequence<+T_co>[~MachinePorts]<~MachinePorts> Returns -> typing.Sequence<+T_co>[~MachinePortsResult]<~MachinePortsResult>

coroutine InstanceId(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~StringResult]<~StringResult>

coroutine Life(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~LifeResult]<~LifeResult>

coroutine ModelConfig()[source]

Returns -> typing.Mapping<~KT, +VT_co>[str, typing.Any]

coroutine Watch(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~NotifyWatchResult]<~NotifyWatchResult>

coroutine WatchForModelConfigChanges()[source]

Returns -> typing.Union[str, _ForwardRef(‘Error’)]

coroutine WatchModelMachines()[source]

Returns -> typing.Union[typing.Sequence<+T_co>[str], _ForwardRef(‘Error’)]

coroutine WatchOpenedPorts(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~StringsWatchResult]<~StringsWatchResult>

coroutine WatchUnits(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~StringsWatchResult]<~StringsWatchResult>

name = ‘Firewaller’
schema = {‘type’: ‘object’, ‘definitions’: {‘Macaroon’: {‘type’: ‘object’, ‘additionalProperties’: False}, ‘ModelTag’: {‘type’: ‘object’, ‘additionalProperties’: False}, ‘StringsWatchResult’: {‘required’: [‘watcher-id’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘watcher-id’: {‘type’: ‘string’}, ‘changes’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}, ‘error’: {‘$ref’: ‘#/definitions/Error’}}}, ‘LifeResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/LifeResult’}}}}, ‘StringsResult’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}, ‘result’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}}}, ‘CloudSpecResult’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}, ‘result’: {‘$ref’: ‘#/definitions/CloudSpec’}}}, ‘MachinePortsResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/MachinePortsResult’}}}}, ‘CloudSpecResults’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/CloudSpecResult’}}}}, ‘MachinePortsResult’: {‘required’: [‘ports’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}, ‘ports’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/MachinePortRange’}}}}, ‘Entity’: {‘required’: [‘tag’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘tag’: {‘type’: ‘string’}}}, ‘StringsResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/StringsResult’}}}}, ‘StringResult’: {‘required’: [‘result’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}, ‘result’: {‘type’: ‘string’}}}, ‘ModelConfigResult’: {‘required’: [‘config’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘config’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘type’: ‘object’, ‘additionalProperties’: True}}}}}, ‘BoolResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/BoolResult’}}}}, ‘MachinePorts’: {‘required’: [‘machine-tag’, ‘subnet-tag’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘subnet-tag’: {‘type’: ‘string’}, ‘machine-tag’: {‘type’: ‘string’}}}, ‘LifeResult’: {‘required’: [‘life’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}, ‘life’: {‘type’: ‘string’}}}, ‘NotifyWatchResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/NotifyWatchResult’}}}}, ‘Entities’: {‘required’: [‘entities’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘entities’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/Entity’}}}}, ‘BoolResult’: {‘required’: [‘result’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}, ‘result’: {‘type’: ‘boolean’}}}, ‘CloudCredential’: {‘required’: [‘auth-type’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘attrs’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘type’: ‘string’}}}, ‘redacted’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}, ‘auth-type’: {‘type’: ‘string’}}}, ‘StringsWatchResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/StringsWatchResult’}}}}, ‘PortRange’: {‘required’: [‘from-port’, ‘to-port’, ‘protocol’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘protocol’: {‘type’: ‘string’}, ‘to-port’: {‘type’: ‘integer’}, ‘from-port’: {‘type’: ‘integer’}}}, ‘MachinePortsParams’: {‘required’: [‘params’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘params’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/MachinePorts’}}}}, ‘StringResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/StringResult’}}}}, ‘CloudSpec’: {‘required’: [‘type’, ‘name’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘type’: {‘type’: ‘string’}, ‘endpoint’: {‘type’: ‘string’}, ‘storage-endpoint’: {‘type’: ‘string’}, ‘region’: {‘type’: ‘string’}, ‘identity-endpoint’: {‘type’: ‘string’}, ‘credential’: {‘$ref’: ‘#/definitions/CloudCredential’}, ‘name’: {‘type’: ‘string’}}}, ‘NotifyWatchResult’: {‘required’: [‘NotifyWatcherId’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘NotifyWatcherId’: {‘type’: ‘string’}, ‘error’: {‘$ref’: ‘#/definitions/Error’}}}, ‘MachinePortRange’: {‘required’: [‘unit-tag’, ‘relation-tag’, ‘port-range’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘relation-tag’: {‘type’: ‘string’}, ‘port-range’: {‘$ref’: ‘#/definitions/PortRange’}, ‘unit-tag’: {‘type’: ‘string’}}}, ‘ErrorInfo’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘macaroon’: {‘$ref’: ‘#/definitions/Macaroon’}, ‘macaroon-path’: {‘type’: ‘string’}}}, ‘Error’: {‘required’: [‘message’, ‘code’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘message’: {‘type’: ‘string’}, ‘code’: {‘type’: ‘string’}, ‘info’: {‘$ref’: ‘#/definitions/ErrorInfo’}}}}, ‘properties’: {‘GetMachineActiveSubnets’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/StringsResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘InstanceId’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/StringResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘Life’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/LifeResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘GetCloudSpec’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/CloudSpecResult’}, ‘Params’: {‘$ref’: ‘#/definitions/ModelTag’}}}, ‘WatchModelMachines’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/StringsWatchResult’}}}, ‘WatchUnits’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/StringsWatchResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘ModelConfig’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ModelConfigResult’}}}, ‘GetMachinePorts’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/MachinePortsResults’}, ‘Params’: {‘$ref’: ‘#/definitions/MachinePortsParams’}}}, ‘GetAssignedMachine’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/StringResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘Watch’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/NotifyWatchResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘CloudSpec’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/CloudSpecResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘WatchForModelConfigChanges’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/NotifyWatchResult’}}}, ‘WatchOpenedPorts’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/StringsWatchResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘GetExposed’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/BoolResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}}}
version = 3
class juju.client._client3.InstancePollerFacade[source]

Bases: juju.client.facade.Type

coroutine AreManuallyProvisioned(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~BoolResult]<~BoolResult>

coroutine InstanceId(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~StringResult]<~StringResult>

coroutine InstanceStatus(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~StatusResult]<~StatusResult>

coroutine Life(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~LifeResult]<~LifeResult>

coroutine ModelConfig()[source]

Returns -> typing.Mapping<~KT, +VT_co>[str, typing.Any]

coroutine ProviderAddresses(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~MachineAddressesResult]<~MachineAddressesResult>

coroutine SetInstanceStatus(entities)[source]

entities : typing.Sequence<+T_co>[~EntityStatusArgs]<~EntityStatusArgs> Returns -> typing.Sequence<+T_co>[~ErrorResult]<~ErrorResult>

coroutine SetProviderAddresses(machine_addresses)[source]

machine_addresses : typing.Sequence<+T_co>[~MachineAddresses]<~MachineAddresses> Returns -> typing.Sequence<+T_co>[~ErrorResult]<~ErrorResult>

coroutine Status(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~StatusResult]<~StatusResult>

coroutine WatchForModelConfigChanges()[source]

Returns -> typing.Union[str, _ForwardRef(‘Error’)]

coroutine WatchModelMachines()[source]

Returns -> typing.Union[typing.Sequence<+T_co>[str], _ForwardRef(‘Error’)]

name = ‘InstancePoller’
schema = {‘type’: ‘object’, ‘definitions’: {‘Macaroon’: {‘type’: ‘object’, ‘additionalProperties’: False}, ‘Address’: {‘required’: [‘value’, ‘type’, ‘scope’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘type’: {‘type’: ‘string’}, ‘scope’: {‘type’: ‘string’}, ‘space-name’: {‘type’: ‘string’}, ‘value’: {‘type’: ‘string’}}}, ‘ErrorResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/ErrorResult’}}}}, ‘StringsWatchResult’: {‘required’: [‘watcher-id’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘watcher-id’: {‘type’: ‘string’}, ‘changes’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}, ‘error’: {‘$ref’: ‘#/definitions/Error’}}}, ‘LifeResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/LifeResult’}}}}, ‘MachineAddressesResult’: {‘required’: [‘addresses’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}, ‘addresses’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/Address’}}}}, ‘ErrorInfo’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘macaroon’: {‘$ref’: ‘#/definitions/Macaroon’}, ‘macaroon-path’: {‘type’: ‘string’}}}, ‘EntityStatusArgs’: {‘required’: [‘tag’, ‘status’, ‘info’, ‘data’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘tag’: {‘type’: ‘string’}, ‘status’: {‘type’: ‘string’}, ‘info’: {‘type’: ‘string’}, ‘data’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘type’: ‘object’, ‘additionalProperties’: True}}}}}, ‘StringResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/StringResult’}}}}, ‘Error’: {‘required’: [‘message’, ‘code’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘message’: {‘type’: ‘string’}, ‘code’: {‘type’: ‘string’}, ‘info’: {‘$ref’: ‘#/definitions/ErrorInfo’}}}, ‘Entity’: {‘required’: [‘tag’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘tag’: {‘type’: ‘string’}}}, ‘StringResult’: {‘required’: [‘result’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}, ‘result’: {‘type’: ‘string’}}}, ‘ModelConfigResult’: {‘required’: [‘config’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘config’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘type’: ‘object’, ‘additionalProperties’: True}}}}}, ‘BoolResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/BoolResult’}}}}, ‘LifeResult’: {‘required’: [‘life’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}, ‘life’: {‘type’: ‘string’}}}, ‘ErrorResult’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}}}, ‘BoolResult’: {‘required’: [‘result’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}, ‘result’: {‘type’: ‘boolean’}}}, ‘NotifyWatchResult’: {‘required’: [‘NotifyWatcherId’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘NotifyWatcherId’: {‘type’: ‘string’}, ‘error’: {‘$ref’: ‘#/definitions/Error’}}}, ‘SetMachinesAddresses’: {‘required’: [‘machine-addresses’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘machine-addresses’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/MachineAddresses’}}}}, ‘StatusResult’: {‘required’: [‘id’, ‘life’, ‘status’, ‘info’, ‘data’, ‘since’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘status’: {‘type’: ‘string’}, ‘id’: {‘type’: ‘string’}, ‘life’: {‘type’: ‘string’}, ‘error’: {‘$ref’: ‘#/definitions/Error’}, ‘since’: {‘type’: ‘string’, ‘format’: ‘date-time’}, ‘info’: {‘type’: ‘string’}, ‘data’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘type’: ‘object’, ‘additionalProperties’: True}}}}}, ‘SetStatus’: {‘required’: [‘entities’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘entities’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/EntityStatusArgs’}}}}, ‘MachineAddressesResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/MachineAddressesResult’}}}}, ‘MachineAddresses’: {‘required’: [‘tag’, ‘addresses’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘tag’: {‘type’: ‘string’}, ‘addresses’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/Address’}}}}, ‘Entities’: {‘required’: [‘entities’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘entities’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/Entity’}}}}, ‘StatusResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/StatusResult’}}}}}, ‘properties’: {‘AreManuallyProvisioned’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/BoolResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘ModelConfig’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ModelConfigResult’}}}, ‘WatchForModelConfigChanges’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/NotifyWatchResult’}}}, ‘WatchModelMachines’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/StringsWatchResult’}}}, ‘Life’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/LifeResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘InstanceId’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/StringResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘Status’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/StatusResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘InstanceStatus’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/StatusResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘ProviderAddresses’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/MachineAddressesResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘SetInstanceStatus’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ErrorResults’}, ‘Params’: {‘$ref’: ‘#/definitions/SetStatus’}}}, ‘SetProviderAddresses’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ErrorResults’}, ‘Params’: {‘$ref’: ‘#/definitions/SetMachinesAddresses’}}}}}
version = 3
class juju.client._client3.MachineManagerFacade[source]

Bases: juju.client.facade.Type

coroutine AddMachines(params)[source]

params : typing.Sequence<+T_co>[~AddMachineParams]<~AddMachineParams> Returns -> typing.Sequence<+T_co>[~AddMachinesResult]<~AddMachinesResult>

coroutine DestroyMachine(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~DestroyMachineResult]<~DestroyMachineResult>

coroutine ForceDestroyMachine(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~DestroyMachineResult]<~DestroyMachineResult>

coroutine InstanceTypes(constraints)[source]

constraints : typing.Sequence<+T_co>[~ModelInstanceTypesConstraint]<~ModelInstanceTypesConstraint> Returns -> typing.Sequence<+T_co>[~InstanceTypesResult]<~InstanceTypesResult>

name = ‘MachineManager’
schema = {‘type’: ‘object’, ‘definitions’: {‘Macaroon’: {‘type’: ‘object’, ‘additionalProperties’: False}, ‘DestroyMachineInfo’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘destroyed-units’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/Entity’}}, ‘detached-storage’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/Entity’}}, ‘destroyed-storage’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/Entity’}}}}, ‘InstanceType’: {‘required’: [‘arches’, ‘cpu-cores’, ‘memory’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘virt-type’: {‘type’: ‘string’}, ‘memory’: {‘type’: ‘integer’}, ‘root-disk’: {‘type’: ‘integer’}, ‘arches’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}, ‘deprecated’: {‘type’: ‘boolean’}, ‘cpu-cores’: {‘type’: ‘integer’}, ‘cost’: {‘type’: ‘integer’}, ‘name’: {‘type’: ‘string’}}}, ‘DestroyMachineResults’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/DestroyMachineResult’}}}}, ‘Placement’: {‘required’: [‘scope’, ‘directive’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘scope’: {‘type’: ‘string’}, ‘directive’: {‘type’: ‘string’}}}, ‘InstanceTypesResult’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}, ‘cost-divisor’: {‘type’: ‘integer’}, ‘cost-currency’: {‘type’: ‘string’}, ‘cost-unit’: {‘type’: ‘string’}, ‘instance-types’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/InstanceType’}}}}, ‘InstanceTypesResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/InstanceTypesResult’}}}}, ‘HardwareCharacteristics’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘availability-zone’: {‘type’: ‘string’}, ‘mem’: {‘type’: ‘integer’}, ‘arch’: {‘type’: ‘string’}, ‘root-disk’: {‘type’: ‘integer’}, ‘tags’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}, ‘cpu-power’: {‘type’: ‘integer’}, ‘cpu-cores’: {‘type’: ‘integer’}}}, ‘AddMachines’: {‘required’: [‘params’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘params’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/AddMachineParams’}}}}, ‘AddMachineParams’: {‘required’: [‘series’, ‘constraints’, ‘jobs’, ‘parent-id’, ‘container-type’, ‘instance-id’, ‘nonce’, ‘hardware-characteristics’, ‘addresses’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘jobs’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}, ‘nonce’: {‘type’: ‘string’}, ‘parent-id’: {‘type’: ‘string’}, ‘container-type’: {‘type’: ‘string’}, ‘disks’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/Constraints’}}, ‘placement’: {‘$ref’: ‘#/definitions/Placement’}, ‘addresses’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/Address’}}, ‘series’: {‘type’: ‘string’}, ‘constraints’: {‘$ref’: ‘#/definitions/Value’}, ‘hardware-characteristics’: {‘$ref’: ‘#/definitions/HardwareCharacteristics’}, ‘instance-id’: {‘type’: ‘string’}}}, ‘ModelInstanceTypesConstraints’: {‘required’: [‘constraints’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘constraints’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/ModelInstanceTypesConstraint’}}}}, ‘Error’: {‘required’: [‘message’, ‘code’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘message’: {‘type’: ‘string’}, ‘code’: {‘type’: ‘string’}, ‘info’: {‘$ref’: ‘#/definitions/ErrorInfo’}}}, ‘Entity’: {‘required’: [‘tag’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘tag’: {‘type’: ‘string’}}}, ‘AddMachinesResults’: {‘required’: [‘machines’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘machines’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/AddMachinesResult’}}}}, ‘AddMachinesResult’: {‘required’: [‘machine’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}, ‘machine’: {‘type’: ‘string’}}}, ‘ModelInstanceTypesConstraint’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘value’: {‘$ref’: ‘#/definitions/Value’}}}, ‘DestroyMachineResult’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}, ‘info’: {‘$ref’: ‘#/definitions/DestroyMachineInfo’}}}, ‘Address’: {‘required’: [‘value’, ‘type’, ‘scope’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘type’: {‘type’: ‘string’}, ‘scope’: {‘type’: ‘string’}, ‘space-name’: {‘type’: ‘string’}, ‘value’: {‘type’: ‘string’}}}, ‘Value’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘mem’: {‘type’: ‘integer’}, ‘tags’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}, ‘arch’: {‘type’: ‘string’}, ‘cores’: {‘type’: ‘integer’}, ‘root-disk’: {‘type’: ‘integer’}, ‘container’: {‘type’: ‘string’}, ‘spaces’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}, ‘cpu-power’: {‘type’: ‘integer’}, ‘virt-type’: {‘type’: ‘string’}, ‘instance-type’: {‘type’: ‘string’}}}, ‘Entities’: {‘required’: [‘entities’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘entities’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/Entity’}}}}, ‘Constraints’: {‘required’: [‘Pool’, ‘Size’, ‘Count’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘Count’: {‘type’: ‘integer’}, ‘Pool’: {‘type’: ‘string’}, ‘Size’: {‘type’: ‘integer’}}}, ‘ErrorInfo’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘macaroon’: {‘$ref’: ‘#/definitions/Macaroon’}, ‘macaroon-path’: {‘type’: ‘string’}}}}, ‘properties’: {‘DestroyMachine’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/DestroyMachineResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘ForceDestroyMachine’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/DestroyMachineResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘AddMachines’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/AddMachinesResults’}, ‘Params’: {‘$ref’: ‘#/definitions/AddMachines’}}}, ‘InstanceTypes’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/InstanceTypesResults’}, ‘Params’: {‘$ref’: ‘#/definitions/ModelInstanceTypesConstraints’}}}}}
version = 3
class juju.client._client3.ModelManagerFacade[source]

Bases: juju.client.facade.Type

coroutine CreateModel(cloud_tag, config, credential, name, owner_tag, region)[source]

cloud_tag : str config : typing.Mapping<~KT, +VT_co>[str, typing.Any] credential : str name : str owner_tag : str region : str Returns -> typing.Union[_ForwardRef(‘Number’), _ForwardRef(‘ModelMigrationStatus’), _ForwardRef(‘ModelSLAInfo’), _ForwardRef(‘EntityStatus’), typing.Sequence<+T_co>[~ModelUserInfo]<~ModelUserInfo>]

coroutine DestroyModels(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~ErrorResult]<~ErrorResult>

coroutine DumpModels(entities, simplified)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> simplified : bool Returns -> typing.Sequence<+T_co>[~StringResult]<~StringResult>

coroutine DumpModelsDB(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~MapResult]<~MapResult>

coroutine ListModels(tag)[source]

tag : str Returns -> typing.Sequence<+T_co>[~UserModel]<~UserModel>

coroutine ModelDefaults()[source]

Returns -> typing.Mapping<~KT, +VT_co>[str, ~ModelDefaults]<~ModelDefaults>

coroutine ModelInfo(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~ModelInfoResult]<~ModelInfoResult>

coroutine ModelStatus(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~ModelStatus]<~ModelStatus>

coroutine ModifyModelAccess(changes)[source]

changes : typing.Sequence<+T_co>[~ModifyModelAccess]<~ModifyModelAccess> Returns -> typing.Sequence<+T_co>[~ErrorResult]<~ErrorResult>

coroutine SetModelDefaults(config)[source]

config : typing.Sequence<+T_co>[~ModelDefaultValues]<~ModelDefaultValues> Returns -> typing.Sequence<+T_co>[~ErrorResult]<~ErrorResult>

coroutine UnsetModelDefaults(keys)[source]

keys : typing.Sequence<+T_co>[~ModelUnsetKeys]<~ModelUnsetKeys> Returns -> typing.Sequence<+T_co>[~ErrorResult]<~ErrorResult>

name = ‘ModelManager’
schema = {‘type’: ‘object’, ‘definitions’: {‘Macaroon’: {‘type’: ‘object’, ‘additionalProperties’: False}, ‘ErrorResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/ErrorResult’}}}}, ‘RegionDefaults’: {‘required’: [‘region-name’, ‘value’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘region-name’: {‘type’: ‘string’}, ‘value’: {‘type’: ‘object’, ‘additionalProperties’: True}}}, ‘ModelUnsetKeys’: {‘required’: [‘keys’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘cloud-tag’: {‘type’: ‘string’}, ‘keys’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}, ‘cloud-region’: {‘type’: ‘string’}}}, ‘ModelInfoResult’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}, ‘result’: {‘$ref’: ‘#/definitions/ModelInfo’}}}, ‘ModifyModelAccessRequest’: {‘required’: [‘changes’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘changes’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/ModifyModelAccess’}}}}, ‘ErrorInfo’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘macaroon’: {‘$ref’: ‘#/definitions/Macaroon’}, ‘macaroon-path’: {‘type’: ‘string’}}}, ‘UserModel’: {‘required’: [‘model’, ‘last-connection’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘model’: {‘$ref’: ‘#/definitions/Model’}, ‘last-connection’: {‘type’: ‘string’, ‘format’: ‘date-time’}}}, ‘ModelCreateArgs’: {‘required’: [‘name’, ‘owner-tag’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘owner-tag’: {‘type’: ‘string’}, ‘cloud-tag’: {‘type’: ‘string’}, ‘region’: {‘type’: ‘string’}, ‘config’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘type’: ‘object’, ‘additionalProperties’: True}}}, ‘credential’: {‘type’: ‘string’}, ‘name’: {‘type’: ‘string’}}}, ‘Error’: {‘required’: [‘message’, ‘code’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘message’: {‘type’: ‘string’}, ‘code’: {‘type’: ‘string’}, ‘info’: {‘$ref’: ‘#/definitions/ErrorInfo’}}}, ‘Entity’: {‘required’: [‘tag’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘tag’: {‘type’: ‘string’}}}, ‘MachineHardware’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘availability-zone’: {‘type’: ‘string’}, ‘mem’: {‘type’: ‘integer’}, ‘arch’: {‘type’: ‘string’}, ‘cores’: {‘type’: ‘integer’}, ‘root-disk’: {‘type’: ‘integer’}, ‘tags’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}, ‘cpu-power’: {‘type’: ‘integer’}}}, ‘DumpModelRequest’: {‘required’: [‘entities’, ‘simplified’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘simplified’: {‘type’: ‘boolean’}, ‘entities’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/Entity’}}}}, ‘ModelDefaultsResult’: {‘required’: [‘config’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘config’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘$ref’: ‘#/definitions/ModelDefaults’}}}}}, ‘StringResult’: {‘required’: [‘result’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}, ‘result’: {‘type’: ‘string’}}}, ‘MapResult’: {‘required’: [‘result’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}, ‘result’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘type’: ‘object’, ‘additionalProperties’: True}}}}}, ‘ModelMigrationStatus’: {‘required’: [‘status’, ‘start’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘end’: {‘type’: ‘string’, ‘format’: ‘date-time’}, ‘status’: {‘type’: ‘string’}, ‘start’: {‘type’: ‘string’, ‘format’: ‘date-time’}}}, ‘ModelInfoResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/ModelInfoResult’}}}}, ‘Number’: {‘required’: [‘Major’, ‘Minor’, ‘Tag’, ‘Patch’, ‘Build’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘Major’: {‘type’: ‘integer’}, ‘Minor’: {‘type’: ‘integer’}, ‘Tag’: {‘type’: ‘string’}, ‘Patch’: {‘type’: ‘integer’}, ‘Build’: {‘type’: ‘integer’}}}, ‘ErrorResult’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}}}, ‘ModelUserInfo’: {‘required’: [‘user’, ‘display-name’, ‘last-connection’, ‘access’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘access’: {‘type’: ‘string’}, ‘last-connection’: {‘type’: ‘string’, ‘format’: ‘date-time’}, ‘user’: {‘type’: ‘string’}, ‘display-name’: {‘type’: ‘string’}}}, ‘EntityStatus’: {‘required’: [‘status’, ‘info’, ‘since’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘since’: {‘type’: ‘string’, ‘format’: ‘date-time’}, ‘status’: {‘type’: ‘string’}, ‘info’: {‘type’: ‘string’}, ‘data’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘type’: ‘object’, ‘additionalProperties’: True}}}}}, ‘SetModelDefaults’: {‘required’: [‘config’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘config’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/ModelDefaultValues’}}}}, ‘ModelInfo’: {‘required’: [‘name’, ‘uuid’, ‘controller-uuid’, ‘cloud-tag’, ‘owner-tag’, ‘life’, ‘users’, ‘machines’, ‘sla’, ‘agent-version’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘machines’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/ModelMachineInfo’}}, ‘owner-tag’: {‘type’: ‘string’}, ‘cloud-tag’: {‘type’: ‘string’}, ‘status’: {‘$ref’: ‘#/definitions/EntityStatus’}, ‘agent-version’: {‘$ref’: ‘#/definitions/Number’}, ‘uuid’: {‘type’: ‘string’}, ‘users’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/ModelUserInfo’}}, ‘provider-type’: {‘type’: ‘string’}, ‘controller-uuid’: {‘type’: ‘string’}, ‘migration’: {‘$ref’: ‘#/definitions/ModelMigrationStatus’}, ‘life’: {‘type’: ‘string’}, ‘default-series’: {‘type’: ‘string’}, ‘cloud-credential-tag’: {‘type’: ‘string’}, ‘sla’: {‘$ref’: ‘#/definitions/ModelSLAInfo’}, ‘cloud-region’: {‘type’: ‘string’}, ‘name’: {‘type’: ‘string’}}}, ‘ModelStatus’: {‘required’: [‘model-tag’, ‘life’, ‘hosted-machine-count’, ‘application-count’, ‘owner-tag’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘machines’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/ModelMachineInfo’}}, ‘owner-tag’: {‘type’: ‘string’}, ‘hosted-machine-count’: {‘type’: ‘integer’}, ‘life’: {‘type’: ‘string’}, ‘application-count’: {‘type’: ‘integer’}, ‘model-tag’: {‘type’: ‘string’}}}, ‘ModelMachineInfo’: {‘required’: [‘id’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘id’: {‘type’: ‘string’}, ‘hardware’: {‘$ref’: ‘#/definitions/MachineHardware’}, ‘has-vote’: {‘type’: ‘boolean’}, ‘wants-vote’: {‘type’: ‘boolean’}, ‘status’: {‘type’: ‘string’}, ‘instance-id’: {‘type’: ‘string’}}}, ‘ModelDefaults’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘regions’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/RegionDefaults’}}, ‘default’: {‘type’: ‘object’, ‘additionalProperties’: True}, ‘controller’: {‘type’: ‘object’, ‘additionalProperties’: True}}}, ‘StringResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/StringResult’}}}}, ‘ModelSLAInfo’: {‘required’: [‘level’, ‘owner’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘level’: {‘type’: ‘string’}, ‘owner’: {‘type’: ‘string’}}}, ‘ModelDefaultValues’: {‘required’: [‘config’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘config’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘type’: ‘object’, ‘additionalProperties’: True}}}, ‘cloud-tag’: {‘type’: ‘string’}, ‘cloud-region’: {‘type’: ‘string’}}}, ‘ModifyModelAccess’: {‘required’: [‘user-tag’, ‘action’, ‘access’, ‘model-tag’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘access’: {‘type’: ‘string’}, ‘action’: {‘type’: ‘string’}, ‘model-tag’: {‘type’: ‘string’}, ‘user-tag’: {‘type’: ‘string’}}}, ‘ModelStatusResults’: {‘required’: [‘models’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘models’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/ModelStatus’}}}}, ‘UnsetModelDefaults’: {‘required’: [‘keys’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘keys’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/ModelUnsetKeys’}}}}, ‘UserModelList’: {‘required’: [‘user-models’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘user-models’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/UserModel’}}}}, ‘Model’: {‘required’: [‘name’, ‘uuid’, ‘owner-tag’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘owner-tag’: {‘type’: ‘string’}, ‘uuid’: {‘type’: ‘string’}, ‘name’: {‘type’: ‘string’}}}, ‘Entities’: {‘required’: [‘entities’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘entities’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/Entity’}}}}, ‘MapResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/MapResult’}}}}}, ‘properties’: {‘ListModels’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/UserModelList’}, ‘Params’: {‘$ref’: ‘#/definitions/Entity’}}}, ‘ModelInfo’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ModelInfoResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘ModelDefaults’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ModelDefaultsResult’}}}, ‘ModifyModelAccess’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ErrorResults’}, ‘Params’: {‘$ref’: ‘#/definitions/ModifyModelAccessRequest’}}}, ‘SetModelDefaults’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ErrorResults’}, ‘Params’: {‘$ref’: ‘#/definitions/SetModelDefaults’}}}, ‘DumpModels’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/StringResults’}, ‘Params’: {‘$ref’: ‘#/definitions/DumpModelRequest’}}}, ‘DestroyModels’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ErrorResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘CreateModel’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ModelInfo’}, ‘Params’: {‘$ref’: ‘#/definitions/ModelCreateArgs’}}}, ‘DumpModelsDB’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/MapResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘ModelStatus’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ModelStatusResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘UnsetModelDefaults’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ErrorResults’}, ‘Params’: {‘$ref’: ‘#/definitions/UnsetModelDefaults’}}}}}
version = 3
class juju.client._client3.ProvisionerFacade[source]

Bases: juju.client.facade.Type

coroutine APIAddresses()[source]

Returns -> typing.Union[_ForwardRef(‘Error’), typing.Sequence<+T_co>[str]]

coroutine APIHostPorts()[source]

Returns -> typing.Sequence<+T_co>[~HostPort]<~HostPort>

coroutine CACert()[source]

Returns -> typing.Sequence<+T_co>[int]

coroutine Constraints(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~ConstraintsResult]<~ConstraintsResult>

coroutine ContainerConfig()[source]

Returns -> typing.Union[_ForwardRef(‘UpdateBehavior’), str, _ForwardRef(‘Settings’), _ForwardRef(‘Settings’), bool]

coroutine ContainerManagerConfig(type_)[source]

type_ : str Returns -> typing.Mapping<~KT, +VT_co>[str, str]

coroutine ControllerConfig()[source]

Returns -> typing.Mapping<~KT, +VT_co>[str, typing.Any]

coroutine DistributionGroup(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~DistributionGroupResult]<~DistributionGroupResult>

coroutine EnsureDead(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~ErrorResult]<~ErrorResult>

coroutine FindTools(arch, major, minor, number, series)[source]

arch : str major : int minor : int number : Number series : str Returns -> typing.Union[_ForwardRef(‘Error’), typing.Sequence<+T_co>[~Tools]<~Tools>]

coroutine GetContainerInterfaceInfo(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~MachineNetworkConfigResult]<~MachineNetworkConfigResult>

coroutine HostChangesForContainers(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~HostNetworkChange]<~HostNetworkChange>

coroutine InstanceId(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~StringResult]<~StringResult>

coroutine InstanceStatus(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~StatusResult]<~StatusResult>

coroutine Life(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~LifeResult]<~LifeResult>

coroutine MachinesWithTransientErrors()[source]

Returns -> typing.Sequence<+T_co>[~StatusResult]<~StatusResult>

coroutine MarkMachinesForRemoval(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~ErrorResult]<~ErrorResult>

coroutine ModelConfig()[source]

Returns -> typing.Mapping<~KT, +VT_co>[str, typing.Any]

coroutine ModelUUID()[source]

Returns -> typing.Union[_ForwardRef(‘Error’), str]

coroutine PrepareContainerInterfaceInfo(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~MachineNetworkConfigResult]<~MachineNetworkConfigResult>

coroutine ProvisioningInfo(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~ProvisioningInfoResult]<~ProvisioningInfoResult>

coroutine ReleaseContainerAddresses(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~ErrorResult]<~ErrorResult>

coroutine Remove(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~ErrorResult]<~ErrorResult>

coroutine Series(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~StringResult]<~StringResult>

coroutine SetHostMachineNetworkConfig(config, tag)[source]

config : typing.Sequence<+T_co>[~NetworkConfig]<~NetworkConfig> tag : str Returns -> None

coroutine SetInstanceInfo(machines)[source]

machines : typing.Sequence<+T_co>[~InstanceInfo]<~InstanceInfo> Returns -> typing.Sequence<+T_co>[~ErrorResult]<~ErrorResult>

coroutine SetInstanceStatus(entities)[source]

entities : typing.Sequence<+T_co>[~EntityStatusArgs]<~EntityStatusArgs> Returns -> typing.Sequence<+T_co>[~ErrorResult]<~ErrorResult>

coroutine SetObservedNetworkConfig(config, tag)[source]

config : typing.Sequence<+T_co>[~NetworkConfig]<~NetworkConfig> tag : str Returns -> None

coroutine SetPasswords(changes)[source]

changes : typing.Sequence<+T_co>[~EntityPassword]<~EntityPassword> Returns -> typing.Sequence<+T_co>[~ErrorResult]<~ErrorResult>

coroutine SetProviderNetworkConfig(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~ErrorResult]<~ErrorResult>

coroutine SetStatus(entities)[source]

entities : typing.Sequence<+T_co>[~EntityStatusArgs]<~EntityStatusArgs> Returns -> typing.Sequence<+T_co>[~ErrorResult]<~ErrorResult>

coroutine SetSupportedContainers(params)[source]

params : typing.Sequence<+T_co>[~MachineContainers]<~MachineContainers> Returns -> typing.Sequence<+T_co>[~ErrorResult]<~ErrorResult>

coroutine StateAddresses()[source]

Returns -> typing.Union[_ForwardRef(‘Error’), typing.Sequence<+T_co>[str]]

coroutine Status(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~StatusResult]<~StatusResult>

coroutine Tools(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~ToolsResult]<~ToolsResult>

coroutine UpdateStatus(entities)[source]

entities : typing.Sequence<+T_co>[~EntityStatusArgs]<~EntityStatusArgs> Returns -> typing.Sequence<+T_co>[~ErrorResult]<~ErrorResult>

coroutine WatchAPIHostPorts()[source]

Returns -> typing.Union[str, _ForwardRef(‘Error’)]

coroutine WatchAllContainers(params)[source]

params : typing.Sequence<+T_co>[~WatchContainer]<~WatchContainer> Returns -> typing.Sequence<+T_co>[~StringsWatchResult]<~StringsWatchResult>

coroutine WatchContainers(params)[source]

params : typing.Sequence<+T_co>[~WatchContainer]<~WatchContainer> Returns -> typing.Sequence<+T_co>[~StringsWatchResult]<~StringsWatchResult>

coroutine WatchForModelConfigChanges()[source]

Returns -> typing.Union[str, _ForwardRef(‘Error’)]

coroutine WatchMachineErrorRetry()[source]

Returns -> typing.Union[str, _ForwardRef(‘Error’)]

coroutine WatchModelMachines()[source]

Returns -> typing.Union[typing.Sequence<+T_co>[str], _ForwardRef(‘Error’)]

name = ‘Provisioner’
schema = {‘type’: ‘object’, ‘definitions’: {‘Macaroon’: {‘type’: ‘object’, ‘additionalProperties’: False}, ‘ContainerManagerConfigParams’: {‘required’: [‘type’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘type’: {‘type’: ‘string’}}}, ‘ProvisioningInfo’: {‘required’: [‘constraints’, ‘series’, ‘placement’, ‘jobs’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘jobs’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}, ‘tags’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘type’: ‘string’}}}, ‘volume-attachments’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/VolumeAttachmentParams’}}, ‘placement’: {‘type’: ‘string’}, ‘controller-config’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘type’: ‘object’, ‘additionalProperties’: True}}}, ‘image-metadata’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/CloudImageMetadata’}}, ‘series’: {‘type’: ‘string’}, ‘constraints’: {‘$ref’: ‘#/definitions/Value’}, ‘endpoint-bindings’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘type’: ‘string’}}}, ‘volumes’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/VolumeParams’}}, ‘subnets-to-zones’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}}}}}, ‘StringResult’: {‘required’: [‘result’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}, ‘result’: {‘type’: ‘string’}}}, ‘Settings’: {‘required’: [‘Http’, ‘Https’, ‘Ftp’, ‘NoProxy’, ‘AutoNoProxy’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘Http’: {‘type’: ‘string’}, ‘AutoNoProxy’: {‘type’: ‘string’}, ‘Https’: {‘type’: ‘string’}, ‘NoProxy’: {‘type’: ‘string’}, ‘Ftp’: {‘type’: ‘string’}}}, ‘StatusResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/StatusResult’}}}}, ‘ContainerConfig’: {‘required’: [‘provider-type’, ‘authorized-keys’, ‘ssl-hostname-verification’, ‘proxy’, ‘apt-proxy’, ‘apt-mirror’, ‘UpdateBehavior’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘provider-type’: {‘type’: ‘string’}, ‘apt-mirror’: {‘type’: ‘string’}, ‘proxy’: {‘$ref’: ‘#/definitions/Settings’}, ‘ssl-hostname-verification’: {‘type’: ‘boolean’}, ‘apt-proxy’: {‘$ref’: ‘#/definitions/Settings’}, ‘authorized-keys’: {‘type’: ‘string’}, ‘UpdateBehavior’: {‘$ref’: ‘#/definitions/UpdateBehavior’}}}, ‘HardwareCharacteristics’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘availability-zone’: {‘type’: ‘string’}, ‘mem’: {‘type’: ‘integer’}, ‘arch’: {‘type’: ‘string’}, ‘root-disk’: {‘type’: ‘integer’}, ‘tags’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}, ‘cpu-power’: {‘type’: ‘integer’}, ‘cpu-cores’: {‘type’: ‘integer’}}}, ‘HostNetworkChange’: {‘required’: [‘new-bridges’, ‘reconfigure-delay’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘reconfigure-delay’: {‘type’: ‘integer’}, ‘error’: {‘$ref’: ‘#/definitions/Error’}, ‘new-bridges’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/DeviceBridgeInfo’}}}}, ‘EntityStatusArgs’: {‘required’: [‘tag’, ‘status’, ‘info’, ‘data’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘tag’: {‘type’: ‘string’}, ‘status’: {‘type’: ‘string’}, ‘info’: {‘type’: ‘string’}, ‘data’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘type’: ‘object’, ‘additionalProperties’: True}}}}}, ‘ToolsResult’: {‘required’: [‘tools’, ‘disable-ssl-hostname-verification’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}, ‘disable-ssl-hostname-verification’: {‘type’: ‘boolean’}, ‘tools’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/Tools’}}}}, ‘Error’: {‘required’: [‘message’, ‘code’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘message’: {‘type’: ‘string’}, ‘code’: {‘type’: ‘string’}, ‘info’: {‘$ref’: ‘#/definitions/ErrorInfo’}}}, ‘MachineContainersParams’: {‘required’: [‘params’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘params’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/MachineContainers’}}}}, ‘Binary’: {‘required’: [‘Number’, ‘Series’, ‘Arch’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘Arch’: {‘type’: ‘string’}, ‘Number’: {‘$ref’: ‘#/definitions/Number’}, ‘Series’: {‘type’: ‘string’}}}, ‘WatchContainer’: {‘required’: [‘machine-tag’, ‘container-type’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘machine-tag’: {‘type’: ‘string’}, ‘container-type’: {‘type’: ‘string’}}}, ‘HostPort’: {‘required’: [‘Address’, ‘port’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘port’: {‘type’: ‘integer’}, ‘Address’: {‘$ref’: ‘#/definitions/Address’}}}, ‘BytesResult’: {‘required’: [‘result’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘result’: {‘type’: ‘array’, ‘items’: {‘type’: ‘integer’}}}}, ‘Tools’: {‘required’: [‘version’, ‘url’, ‘size’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘sha256’: {‘type’: ‘string’}, ‘url’: {‘type’: ‘string’}, ‘size’: {‘type’: ‘integer’}, ‘version’: {‘$ref’: ‘#/definitions/Binary’}}}, ‘MachineNetworkConfigResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/MachineNetworkConfigResult’}}}}, ‘ToolsResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/ToolsResult’}}}}, ‘Number’: {‘required’: [‘Major’, ‘Minor’, ‘Tag’, ‘Patch’, ‘Build’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘Major’: {‘type’: ‘integer’}, ‘Minor’: {‘type’: ‘integer’}, ‘Tag’: {‘type’: ‘string’}, ‘Patch’: {‘type’: ‘integer’}, ‘Build’: {‘type’: ‘integer’}}}, ‘DeviceBridgeInfo’: {‘required’: [‘host-device-name’, ‘bridge-name’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘bridge-name’: {‘type’: ‘string’}, ‘host-device-name’: {‘type’: ‘string’}}}, ‘VolumeAttachmentInfo’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘read-only’: {‘type’: ‘boolean’}, ‘device-name’: {‘type’: ‘string’}, ‘device-link’: {‘type’: ‘string’}, ‘bus-address’: {‘type’: ‘string’}}}, ‘ConstraintsResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/ConstraintsResult’}}}}, ‘WatchContainers’: {‘required’: [‘params’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘params’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/WatchContainer’}}}}, ‘UpdateBehavior’: {‘required’: [‘enable-os-refresh-update’, ‘enable-os-upgrade’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘enable-os-upgrade’: {‘type’: ‘boolean’}, ‘enable-os-refresh-update’: {‘type’: ‘boolean’}}}, ‘ControllerConfigResult’: {‘required’: [‘config’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘config’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘type’: ‘object’, ‘additionalProperties’: True}}}}}, ‘NotifyWatchResult’: {‘required’: [‘NotifyWatcherId’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘NotifyWatcherId’: {‘type’: ‘string’}, ‘error’: {‘$ref’: ‘#/definitions/Error’}}}, ‘Address’: {‘required’: [‘value’, ‘type’, ‘scope’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘type’: {‘type’: ‘string’}, ‘scope’: {‘type’: ‘string’}, ‘space-name’: {‘type’: ‘string’}, ‘value’: {‘type’: ‘string’}}}, ‘ProvisioningInfoResult’: {‘required’: [‘result’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}, ‘result’: {‘$ref’: ‘#/definitions/ProvisioningInfo’}}}, ‘SetStatus’: {‘required’: [‘entities’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘entities’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/EntityStatusArgs’}}}}, ‘LifeResult’: {‘required’: [‘life’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}, ‘life’: {‘type’: ‘string’}}}, ‘Entities’: {‘required’: [‘entities’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘entities’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/Entity’}}}}, ‘ContainerManagerConfig’: {‘required’: [‘config’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘config’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘type’: ‘string’}}}}}, ‘APIHostPortsResult’: {‘required’: [‘servers’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘servers’: {‘type’: ‘array’, ‘items’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/HostPort’}}}}}, ‘HostNetworkChangeResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/HostNetworkChange’}}}}, ‘NetworkRoute’: {‘required’: [‘destination-cidr’, ‘gateway-ip’, ‘metric’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘destination-cidr’: {‘type’: ‘string’}, ‘gateway-ip’: {‘type’: ‘string’}, ‘metric’: {‘type’: ‘integer’}}}, ‘VolumeInfo’: {‘required’: [‘volume-id’, ‘size’, ‘persistent’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘volume-id’: {‘type’: ‘string’}, ‘persistent’: {‘type’: ‘boolean’}, ‘size’: {‘type’: ‘integer’}, ‘pool’: {‘type’: ‘string’}, ‘hardware-id’: {‘type’: ‘string’}, ‘wwn’: {‘type’: ‘string’}}}, ‘EntityPasswords’: {‘required’: [‘changes’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘changes’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/EntityPassword’}}}}, ‘ErrorResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/ErrorResult’}}}}, ‘MachineNetworkConfigResult’: {‘required’: [‘info’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}, ‘info’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/NetworkConfig’}}}}, ‘LifeResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/LifeResult’}}}}, ‘ProvisioningInfoResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/ProvisioningInfoResult’}}}}, ‘ErrorInfo’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘macaroon’: {‘$ref’: ‘#/definitions/Macaroon’}, ‘macaroon-path’: {‘type’: ‘string’}}}, ‘DistributionGroupResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/DistributionGroupResult’}}}}, ‘MachineContainers’: {‘required’: [‘machine-tag’, ‘container-types’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘machine-tag’: {‘type’: ‘string’}, ‘container-types’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}}}, ‘EntityPassword’: {‘required’: [‘tag’, ‘password’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘tag’: {‘type’: ‘string’}, ‘password’: {‘type’: ‘string’}}}, ‘Entity’: {‘required’: [‘tag’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘tag’: {‘type’: ‘string’}}}, ‘ConstraintsResult’: {‘required’: [‘constraints’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}, ‘constraints’: {‘$ref’: ‘#/definitions/Value’}}}, ‘ModelConfigResult’: {‘required’: [‘config’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘config’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘type’: ‘object’, ‘additionalProperties’: True}}}}}, ‘CloudImageMetadata’: {‘required’: [‘image-id’, ‘region’, ‘version’, ‘series’, ‘arch’, ‘source’, ‘priority’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘source’: {‘type’: ‘string’}, ‘version’: {‘type’: ‘string’}, ‘virt-type’: {‘type’: ‘string’}, ‘arch’: {‘type’: ‘string’}, ‘stream’: {‘type’: ‘string’}, ‘region’: {‘type’: ‘string’}, ‘series’: {‘type’: ‘string’}, ‘priority’: {‘type’: ‘integer’}, ‘root-storage-size’: {‘type’: ‘integer’}, ‘image-id’: {‘type’: ‘string’}, ‘root-storage-type’: {‘type’: ‘string’}}}, ‘VolumeAttachmentParams’: {‘required’: [‘volume-tag’, ‘machine-tag’, ‘provider’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘volume-tag’: {‘type’: ‘string’}, ‘machine-tag’: {‘type’: ‘string’}, ‘volume-id’: {‘type’: ‘string’}, ‘read-only’: {‘type’: ‘boolean’}, ‘instance-id’: {‘type’: ‘string’}, ‘provider’: {‘type’: ‘string’}}}, ‘StringsWatchResult’: {‘required’: [‘watcher-id’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘watcher-id’: {‘type’: ‘string’}, ‘changes’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}, ‘error’: {‘$ref’: ‘#/definitions/Error’}}}, ‘StringsWatchResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/StringsWatchResult’}}}}, ‘FindToolsParams’: {‘required’: [‘number’, ‘major’, ‘minor’, ‘arch’, ‘series’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘minor’: {‘type’: ‘integer’}, ‘number’: {‘$ref’: ‘#/definitions/Number’}, ‘series’: {‘type’: ‘string’}, ‘arch’: {‘type’: ‘string’}, ‘major’: {‘type’: ‘integer’}}}, ‘ErrorResult’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}}}, ‘NetworkConfig’: {‘required’: [‘device-index’, ‘mac-address’, ‘cidr’, ‘mtu’, ‘provider-id’, ‘provider-subnet-id’, ‘provider-space-id’, ‘provider-address-id’, ‘provider-vlan-id’, ‘vlan-tag’, ‘interface-name’, ‘parent-interface-name’, ‘interface-type’, ‘disabled’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘cidr’: {‘type’: ‘string’}, ‘provider-address-id’: {‘type’: ‘string’}, ‘no-auto-start’: {‘type’: ‘boolean’}, ‘mtu’: {‘type’: ‘integer’}, ‘provider-space-id’: {‘type’: ‘string’}, ‘mac-address’: {‘type’: ‘string’}, ‘gateway-address’: {‘type’: ‘string’}, ‘provider-id’: {‘type’: ‘string’}, ‘vlan-tag’: {‘type’: ‘integer’}, ‘disabled’: {‘type’: ‘boolean’}, ‘provider-subnet-id’: {‘type’: ‘string’}, ‘address’: {‘type’: ‘string’}, ‘provider-vlan-id’: {‘type’: ‘string’}, ‘config-type’: {‘type’: ‘string’}, ‘device-index’: {‘type’: ‘integer’}, ‘interface-type’: {‘type’: ‘string’}, ‘interface-name’: {‘type’: ‘string’}, ‘dns-search-domains’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}, ‘routes’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/NetworkRoute’}}, ‘dns-servers’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}, ‘parent-interface-name’: {‘type’: ‘string’}}}, ‘StringResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/StringResult’}}}}, ‘FindToolsResult’: {‘required’: [‘list’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}, ‘list’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/Tools’}}}}, ‘InstancesInfo’: {‘required’: [‘machines’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘machines’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/InstanceInfo’}}}}, ‘StringsResult’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}, ‘result’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}}}, ‘StatusResult’: {‘required’: [‘id’, ‘life’, ‘status’, ‘info’, ‘data’, ‘since’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘status’: {‘type’: ‘string’}, ‘id’: {‘type’: ‘string’}, ‘life’: {‘type’: ‘string’}, ‘error’: {‘$ref’: ‘#/definitions/Error’}, ‘since’: {‘type’: ‘string’, ‘format’: ‘date-time’}, ‘info’: {‘type’: ‘string’}, ‘data’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘type’: ‘object’, ‘additionalProperties’: True}}}}}, ‘DistributionGroupResult’: {‘required’: [‘result’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}, ‘result’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}}}, ‘Volume’: {‘required’: [‘volume-tag’, ‘info’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘volume-tag’: {‘type’: ‘string’}, ‘info’: {‘$ref’: ‘#/definitions/VolumeInfo’}}}, ‘Value’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘mem’: {‘type’: ‘integer’}, ‘tags’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}, ‘arch’: {‘type’: ‘string’}, ‘cores’: {‘type’: ‘integer’}, ‘root-disk’: {‘type’: ‘integer’}, ‘container’: {‘type’: ‘string’}, ‘spaces’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}, ‘cpu-power’: {‘type’: ‘integer’}, ‘virt-type’: {‘type’: ‘string’}, ‘instance-type’: {‘type’: ‘string’}}}, ‘SetMachineNetworkConfig’: {‘required’: [‘tag’, ‘config’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘config’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/NetworkConfig’}}, ‘tag’: {‘type’: ‘string’}}}, ‘InstanceInfo’: {‘required’: [‘tag’, ‘instance-id’, ‘nonce’, ‘characteristics’, ‘volumes’, ‘volume-attachments’, ‘network-config’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘volume-attachments’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘$ref’: ‘#/definitions/VolumeAttachmentInfo’}}}, ‘tag’: {‘type’: ‘string’}, ‘volumes’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/Volume’}}, ‘network-config’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/NetworkConfig’}}, ‘nonce’: {‘type’: ‘string’}, ‘characteristics’: {‘$ref’: ‘#/definitions/HardwareCharacteristics’}, ‘instance-id’: {‘type’: ‘string’}}}, ‘VolumeParams’: {‘required’: [‘volume-tag’, ‘size’, ‘provider’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘volume-tag’: {‘type’: ‘string’}, ‘tags’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘type’: ‘string’}}}, ‘size’: {‘type’: ‘integer’}, ‘attributes’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘type’: ‘object’, ‘additionalProperties’: True}}}, ‘attachment’: {‘$ref’: ‘#/definitions/VolumeAttachmentParams’}, ‘provider’: {‘type’: ‘string’}}}}, ‘properties’: {‘Remove’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ErrorResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘WatchContainers’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/StringsWatchResults’}, ‘Params’: {‘$ref’: ‘#/definitions/WatchContainers’}}}, ‘InstanceId’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/StringResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘ControllerConfig’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ControllerConfigResult’}}}, ‘WatchAllContainers’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/StringsWatchResults’}, ‘Params’: {‘$ref’: ‘#/definitions/WatchContainers’}}}, ‘FindTools’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/FindToolsResult’}, ‘Params’: {‘$ref’: ‘#/definitions/FindToolsParams’}}}, ‘SetPasswords’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ErrorResults’}, ‘Params’: {‘$ref’: ‘#/definitions/EntityPasswords’}}}, ‘ContainerConfig’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ContainerConfig’}}}, ‘SetProviderNetworkConfig’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ErrorResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘HostChangesForContainers’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/HostNetworkChangeResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘ModelConfig’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ModelConfigResult’}}}, ‘SetInstanceInfo’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ErrorResults’}, ‘Params’: {‘$ref’: ‘#/definitions/InstancesInfo’}}}, ‘DistributionGroup’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/DistributionGroupResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘WatchMachineErrorRetry’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/NotifyWatchResult’}}}, ‘SetSupportedContainers’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ErrorResults’}, ‘Params’: {‘$ref’: ‘#/definitions/MachineContainersParams’}}}, ‘SetHostMachineNetworkConfig’: {‘type’: ‘object’, ‘properties’: {‘Params’: {‘$ref’: ‘#/definitions/SetMachineNetworkConfig’}}}, ‘ModelUUID’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/StringResult’}}}, ‘PrepareContainerInterfaceInfo’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/MachineNetworkConfigResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘Tools’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ToolsResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘ReleaseContainerAddresses’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ErrorResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘WatchForModelConfigChanges’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/NotifyWatchResult’}}}, ‘Series’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/StringResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘Life’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/LifeResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘MarkMachinesForRemoval’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ErrorResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘StateAddresses’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/StringsResult’}}}, ‘InstanceStatus’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/StatusResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘EnsureDead’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ErrorResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘APIAddresses’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/StringsResult’}}}, ‘WatchAPIHostPorts’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/NotifyWatchResult’}}}, ‘ContainerManagerConfig’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ContainerManagerConfig’}, ‘Params’: {‘$ref’: ‘#/definitions/ContainerManagerConfigParams’}}}, ‘APIHostPorts’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/APIHostPortsResult’}}}, ‘WatchModelMachines’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/StringsWatchResult’}}}, ‘UpdateStatus’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ErrorResults’}, ‘Params’: {‘$ref’: ‘#/definitions/SetStatus’}}}, ‘ProvisioningInfo’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ProvisioningInfoResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘CACert’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/BytesResult’}}}, ‘GetContainerInterfaceInfo’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/MachineNetworkConfigResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘SetStatus’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ErrorResults’}, ‘Params’: {‘$ref’: ‘#/definitions/SetStatus’}}}, ‘Status’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/StatusResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘SetObservedNetworkConfig’: {‘type’: ‘object’, ‘properties’: {‘Params’: {‘$ref’: ‘#/definitions/SetMachineNetworkConfig’}}}, ‘SetInstanceStatus’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ErrorResults’}, ‘Params’: {‘$ref’: ‘#/definitions/SetStatus’}}}, ‘Constraints’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ConstraintsResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘MachinesWithTransientErrors’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/StatusResults’}}}}}
version = 3
class juju.client._client3.SpacesFacade[source]

Bases: juju.client.facade.Type

coroutine CreateSpaces(spaces)[source]

spaces : typing.Sequence<+T_co>[~CreateSpaceParams]<~CreateSpaceParams> Returns -> typing.Sequence<+T_co>[~ErrorResult]<~ErrorResult>

coroutine ListSpaces()[source]

Returns -> typing.Sequence<+T_co>[~Space]<~Space>

coroutine ReloadSpaces()[source]

Returns -> None

name = ‘Spaces’
schema = {‘type’: ‘object’, ‘definitions’: {‘Macaroon’: {‘type’: ‘object’, ‘additionalProperties’: False}, ‘Error’: {‘required’: [‘message’, ‘code’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘message’: {‘type’: ‘string’}, ‘code’: {‘type’: ‘string’}, ‘info’: {‘$ref’: ‘#/definitions/ErrorInfo’}}}, ‘ErrorResult’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}}}, ‘ErrorResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/ErrorResult’}}}}, ‘ListSpacesResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/Space’}}}}, ‘CreateSpaceParams’: {‘required’: [‘subnet-tags’, ‘space-tag’, ‘public’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘public’: {‘type’: ‘boolean’}, ‘provider-id’: {‘type’: ‘string’}, ‘space-tag’: {‘type’: ‘string’}, ‘subnet-tags’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}}}, ‘Space’: {‘required’: [‘name’, ‘subnets’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}, ‘subnets’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/Subnet’}}, ‘name’: {‘type’: ‘string’}}}, ‘ErrorInfo’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘macaroon’: {‘$ref’: ‘#/definitions/Macaroon’}, ‘macaroon-path’: {‘type’: ‘string’}}}, ‘Subnet’: {‘required’: [‘cidr’, ‘vlan-tag’, ‘life’, ‘space-tag’, ‘zones’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘cidr’: {‘type’: ‘string’}, ‘space-tag’: {‘type’: ‘string’}, ‘status’: {‘type’: ‘string’}, ‘life’: {‘type’: ‘string’}, ‘provider-network-id’: {‘type’: ‘string’}, ‘provider-space-id’: {‘type’: ‘string’}, ‘provider-id’: {‘type’: ‘string’}, ‘vlan-tag’: {‘type’: ‘integer’}, ‘zones’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}}}, ‘CreateSpacesParams’: {‘required’: [‘spaces’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘spaces’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/CreateSpaceParams’}}}}}, ‘properties’: {‘ReloadSpaces’: {‘type’: ‘object’}, ‘CreateSpaces’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ErrorResults’}, ‘Params’: {‘$ref’: ‘#/definitions/CreateSpacesParams’}}}, ‘ListSpaces’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ListSpacesResults’}}}}}
version = 3
class juju.client._client3.StorageFacade[source]

Bases: juju.client.facade.Type

coroutine AddToUnit(storages)[source]

storages : typing.Sequence<+T_co>[~StorageAddParams]<~StorageAddParams> Returns -> typing.Sequence<+T_co>[~ErrorResult]<~ErrorResult>

coroutine Attach(ids)[source]

ids : typing.Sequence<+T_co>[~StorageAttachmentId]<~StorageAttachmentId> Returns -> typing.Sequence<+T_co>[~ErrorResult]<~ErrorResult>

coroutine CreatePool(attrs, name, provider)[source]

attrs : typing.Mapping<~KT, +VT_co>[str, typing.Any] name : str provider : str Returns -> None

coroutine Destroy(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~ErrorResult]<~ErrorResult>

coroutine Detach(ids)[source]

ids : typing.Sequence<+T_co>[~StorageAttachmentId]<~StorageAttachmentId> Returns -> typing.Sequence<+T_co>[~ErrorResult]<~ErrorResult>

coroutine ListFilesystems(filters)[source]

filters : typing.Sequence<+T_co>[~FilesystemFilter]<~FilesystemFilter> Returns -> typing.Sequence<+T_co>[~FilesystemDetailsListResult]<~FilesystemDetailsListResult>

coroutine ListPools(filters)[source]

filters : typing.Sequence<+T_co>[~StoragePoolFilter]<~StoragePoolFilter> Returns -> typing.Sequence<+T_co>[~StoragePoolsResult]<~StoragePoolsResult>

coroutine ListStorageDetails(filters)[source]

filters : typing.Sequence<+T_co>[~StorageFilter]<~StorageFilter> Returns -> typing.Sequence<+T_co>[~StorageDetailsListResult]<~StorageDetailsListResult>

coroutine ListVolumes(filters)[source]

filters : typing.Sequence<+T_co>[~VolumeFilter]<~VolumeFilter> Returns -> typing.Sequence<+T_co>[~VolumeDetailsListResult]<~VolumeDetailsListResult>

coroutine StorageDetails(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~StorageDetailsResult]<~StorageDetailsResult>

name = ‘Storage’
schema = {‘type’: ‘object’, ‘definitions’: {‘Macaroon’: {‘type’: ‘object’, ‘additionalProperties’: False}, ‘VolumeInfo’: {‘required’: [‘volume-id’, ‘size’, ‘persistent’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘volume-id’: {‘type’: ‘string’}, ‘persistent’: {‘type’: ‘boolean’}, ‘size’: {‘type’: ‘integer’}, ‘pool’: {‘type’: ‘string’}, ‘hardware-id’: {‘type’: ‘string’}, ‘wwn’: {‘type’: ‘string’}}}, ‘FilesystemFilters’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘filters’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/FilesystemFilter’}}}}, ‘VolumeAttachmentDetails’: {‘required’: [‘VolumeAttachmentInfo’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘life’: {‘type’: ‘string’}, ‘VolumeAttachmentInfo’: {‘$ref’: ‘#/definitions/VolumeAttachmentInfo’}}}, ‘ErrorResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/ErrorResult’}}}}, ‘StorageAttachmentId’: {‘required’: [‘storage-tag’, ‘unit-tag’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘storage-tag’: {‘type’: ‘string’}, ‘unit-tag’: {‘type’: ‘string’}}}, ‘StoragesAddParams’: {‘required’: [‘storages’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘storages’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/StorageAddParams’}}}}, ‘StorageDetailsResult’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}, ‘result’: {‘$ref’: ‘#/definitions/StorageDetails’}}}, ‘VolumeDetailsListResult’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}, ‘result’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/VolumeDetails’}}}}, ‘FilesystemDetailsListResult’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}, ‘result’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/FilesystemDetails’}}}}, ‘ErrorInfo’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘macaroon’: {‘$ref’: ‘#/definitions/Macaroon’}, ‘macaroon-path’: {‘type’: ‘string’}}}, ‘StoragePoolFilters’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘filters’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/StoragePoolFilter’}}}}, ‘StoragePoolFilter’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘providers’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}, ‘names’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}}}, ‘StorageAttachmentIds’: {‘required’: [‘ids’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘ids’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/StorageAttachmentId’}}}}, ‘Error’: {‘required’: [‘message’, ‘code’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘message’: {‘type’: ‘string’}, ‘code’: {‘type’: ‘string’}, ‘info’: {‘$ref’: ‘#/definitions/ErrorInfo’}}}, ‘StorageAttachmentDetails’: {‘required’: [‘storage-tag’, ‘unit-tag’, ‘machine-tag’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘location’: {‘type’: ‘string’}, ‘machine-tag’: {‘type’: ‘string’}, ‘unit-tag’: {‘type’: ‘string’}, ‘life’: {‘type’: ‘string’}, ‘storage-tag’: {‘type’: ‘string’}}}, ‘Entity’: {‘required’: [‘tag’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘tag’: {‘type’: ‘string’}}}, ‘StoragePool’: {‘required’: [‘name’, ‘provider’, ‘attrs’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘attrs’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘type’: ‘object’, ‘additionalProperties’: True}}}, ‘provider’: {‘type’: ‘string’}, ‘name’: {‘type’: ‘string’}}}, ‘FilesystemAttachmentInfo’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘read-only’: {‘type’: ‘boolean’}, ‘mount-point’: {‘type’: ‘string’}}}, ‘StorageDetailsListResults’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/StorageDetailsListResult’}}}}, ‘VolumeDetailsListResults’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/VolumeDetailsListResult’}}}}, ‘StorageFilter’: {‘type’: ‘object’, ‘additionalProperties’: False}, ‘FilesystemAttachmentDetails’: {‘required’: [‘FilesystemAttachmentInfo’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘life’: {‘type’: ‘string’}, ‘FilesystemAttachmentInfo’: {‘$ref’: ‘#/definitions/FilesystemAttachmentInfo’}}}, ‘StorageDetails’: {‘required’: [‘storage-tag’, ‘owner-tag’, ‘kind’, ‘status’, ‘persistent’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘kind’: {‘type’: ‘integer’}, ‘owner-tag’: {‘type’: ‘string’}, ‘persistent’: {‘type’: ‘boolean’}, ‘attachments’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘$ref’: ‘#/definitions/StorageAttachmentDetails’}}}, ‘life’: {‘type’: ‘string’}, ‘storage-tag’: {‘type’: ‘string’}, ‘status’: {‘$ref’: ‘#/definitions/EntityStatus’}}}, ‘StoragePoolsResults’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/StoragePoolsResult’}}}}, ‘ErrorResult’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}}}, ‘VolumeAttachmentInfo’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘read-only’: {‘type’: ‘boolean’}, ‘device-name’: {‘type’: ‘string’}, ‘device-link’: {‘type’: ‘string’}, ‘bus-address’: {‘type’: ‘string’}}}, ‘EntityStatus’: {‘required’: [‘status’, ‘info’, ‘since’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘since’: {‘type’: ‘string’, ‘format’: ‘date-time’}, ‘status’: {‘type’: ‘string’}, ‘info’: {‘type’: ‘string’}, ‘data’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘type’: ‘object’, ‘additionalProperties’: True}}}}}, ‘StorageConstraints’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘pool’: {‘type’: ‘string’}, ‘size’: {‘type’: ‘integer’}, ‘count’: {‘type’: ‘integer’}}}, ‘StorageDetailsResults’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/StorageDetailsResult’}}}}, ‘StorageFilters’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘filters’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/StorageFilter’}}}}, ‘StorageAddParams’: {‘required’: [‘unit’, ‘name’, ‘storage’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘unit’: {‘type’: ‘string’}, ‘storage’: {‘$ref’: ‘#/definitions/StorageConstraints’}, ‘name’: {‘type’: ‘string’}}}, ‘FilesystemFilter’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘machines’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}}}, ‘FilesystemInfo’: {‘required’: [‘filesystem-id’, ‘pool’, ‘size’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘pool’: {‘type’: ‘string’}, ‘size’: {‘type’: ‘integer’}, ‘filesystem-id’: {‘type’: ‘string’}}}, ‘FilesystemDetailsListResults’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/FilesystemDetailsListResult’}}}}, ‘StoragePoolsResult’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}, ‘storage-pools’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/StoragePool’}}}}, ‘VolumeDetails’: {‘required’: [‘volume-tag’, ‘info’, ‘status’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘volume-tag’: {‘type’: ‘string’}, ‘storage’: {‘$ref’: ‘#/definitions/StorageDetails’}, ‘life’: {‘type’: ‘string’}, ‘info’: {‘$ref’: ‘#/definitions/VolumeInfo’}, ‘status’: {‘$ref’: ‘#/definitions/EntityStatus’}, ‘machine-attachments’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘$ref’: ‘#/definitions/VolumeAttachmentDetails’}}}}}, ‘VolumeFilters’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘filters’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/VolumeFilter’}}}}, ‘StorageDetailsListResult’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}, ‘result’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/StorageDetails’}}}}, ‘FilesystemDetails’: {‘required’: [‘filesystem-tag’, ‘info’, ‘status’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘volume-tag’: {‘type’: ‘string’}, ‘status’: {‘$ref’: ‘#/definitions/EntityStatus’}, ‘info’: {‘$ref’: ‘#/definitions/FilesystemInfo’}, ‘storage’: {‘$ref’: ‘#/definitions/StorageDetails’}, ‘filesystem-tag’: {‘type’: ‘string’}, ‘machine-attachments’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘$ref’: ‘#/definitions/FilesystemAttachmentDetails’}}}, ‘life’: {‘type’: ‘string’}}}, ‘VolumeFilter’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘machines’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}}}, ‘Entities’: {‘required’: [‘entities’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘entities’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/Entity’}}}}}, ‘properties’: {‘StorageDetails’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/StorageDetailsResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘ListStorageDetails’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/StorageDetailsListResults’}, ‘Params’: {‘$ref’: ‘#/definitions/StorageFilters’}}}, ‘ListVolumes’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/VolumeDetailsListResults’}, ‘Params’: {‘$ref’: ‘#/definitions/VolumeFilters’}}}, ‘Detach’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ErrorResults’}, ‘Params’: {‘$ref’: ‘#/definitions/StorageAttachmentIds’}}}, ‘ListPools’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/StoragePoolsResults’}, ‘Params’: {‘$ref’: ‘#/definitions/StoragePoolFilters’}}}, ‘Attach’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ErrorResults’}, ‘Params’: {‘$ref’: ‘#/definitions/StorageAttachmentIds’}}}, ‘CreatePool’: {‘type’: ‘object’, ‘properties’: {‘Params’: {‘$ref’: ‘#/definitions/StoragePool’}}}, ‘ListFilesystems’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/FilesystemDetailsListResults’}, ‘Params’: {‘$ref’: ‘#/definitions/FilesystemFilters’}}}, ‘Destroy’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ErrorResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘AddToUnit’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ErrorResults’}, ‘Params’: {‘$ref’: ‘#/definitions/StoragesAddParams’}}}}}
version = 3
class juju.client._client3.StorageProvisionerFacade[source]

Bases: juju.client.facade.Type

coroutine AttachmentLife(ids)[source]

ids : typing.Sequence<+T_co>[~MachineStorageId]<~MachineStorageId> Returns -> typing.Sequence<+T_co>[~LifeResult]<~LifeResult>

coroutine EnsureDead(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~ErrorResult]<~ErrorResult>

coroutine FilesystemAttachmentParams(ids)[source]

ids : typing.Sequence<+T_co>[~MachineStorageId]<~MachineStorageId> Returns -> typing.Sequence<+T_co>[~FilesystemAttachmentParamsResult]<~FilesystemAttachmentParamsResult>

coroutine FilesystemAttachments(ids)[source]

ids : typing.Sequence<+T_co>[~MachineStorageId]<~MachineStorageId> Returns -> typing.Sequence<+T_co>[~FilesystemAttachmentResult]<~FilesystemAttachmentResult>

coroutine FilesystemParams(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~FilesystemParamsResult]<~FilesystemParamsResult>

coroutine Filesystems(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~FilesystemResult]<~FilesystemResult>

coroutine InstanceId(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~StringResult]<~StringResult>

coroutine Life(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~LifeResult]<~LifeResult>

coroutine Remove(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~ErrorResult]<~ErrorResult>

coroutine RemoveAttachment(ids)[source]

ids : typing.Sequence<+T_co>[~MachineStorageId]<~MachineStorageId> Returns -> typing.Sequence<+T_co>[~ErrorResult]<~ErrorResult>

coroutine SetFilesystemAttachmentInfo(filesystem_attachments)[source]

filesystem_attachments : typing.Sequence<+T_co>[~FilesystemAttachment]<~FilesystemAttachment> Returns -> typing.Sequence<+T_co>[~ErrorResult]<~ErrorResult>

coroutine SetFilesystemInfo(filesystems)[source]

filesystems : typing.Sequence<+T_co>[~Filesystem]<~Filesystem> Returns -> typing.Sequence<+T_co>[~ErrorResult]<~ErrorResult>

coroutine SetStatus(entities)[source]

entities : typing.Sequence<+T_co>[~EntityStatusArgs]<~EntityStatusArgs> Returns -> typing.Sequence<+T_co>[~ErrorResult]<~ErrorResult>

coroutine SetVolumeAttachmentInfo(volume_attachments)[source]

volume_attachments : typing.Sequence<+T_co>[~VolumeAttachment]<~VolumeAttachment> Returns -> typing.Sequence<+T_co>[~ErrorResult]<~ErrorResult>

coroutine SetVolumeInfo(volumes)[source]

volumes : typing.Sequence<+T_co>[~Volume]<~Volume> Returns -> typing.Sequence<+T_co>[~ErrorResult]<~ErrorResult>

coroutine UpdateStatus(entities)[source]

entities : typing.Sequence<+T_co>[~EntityStatusArgs]<~EntityStatusArgs> Returns -> typing.Sequence<+T_co>[~ErrorResult]<~ErrorResult>

coroutine VolumeAttachmentParams(ids)[source]

ids : typing.Sequence<+T_co>[~MachineStorageId]<~MachineStorageId> Returns -> typing.Sequence<+T_co>[~VolumeAttachmentParamsResult]<~VolumeAttachmentParamsResult>

coroutine VolumeAttachments(ids)[source]

ids : typing.Sequence<+T_co>[~MachineStorageId]<~MachineStorageId> Returns -> typing.Sequence<+T_co>[~VolumeAttachmentResult]<~VolumeAttachmentResult>

coroutine VolumeBlockDevices(ids)[source]

ids : typing.Sequence<+T_co>[~MachineStorageId]<~MachineStorageId> Returns -> typing.Sequence<+T_co>[~BlockDeviceResult]<~BlockDeviceResult>

coroutine VolumeParams(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~VolumeParamsResult]<~VolumeParamsResult>

coroutine Volumes(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~VolumeResult]<~VolumeResult>

coroutine WatchBlockDevices(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~NotifyWatchResult]<~NotifyWatchResult>

coroutine WatchFilesystemAttachments(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~MachineStorageIdsWatchResult]<~MachineStorageIdsWatchResult>

coroutine WatchFilesystems(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~StringsWatchResult]<~StringsWatchResult>

coroutine WatchMachines(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~NotifyWatchResult]<~NotifyWatchResult>

coroutine WatchVolumeAttachments(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~MachineStorageIdsWatchResult]<~MachineStorageIdsWatchResult>

coroutine WatchVolumes(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~StringsWatchResult]<~StringsWatchResult>

name = ‘StorageProvisioner’
schema = {‘type’: ‘object’, ‘definitions’: {‘Macaroon’: {‘type’: ‘object’, ‘additionalProperties’: False}, ‘FilesystemParamsResult’: {‘required’: [‘result’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}, ‘result’: {‘$ref’: ‘#/definitions/FilesystemParams’}}}, ‘FilesystemAttachmentInfo’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘read-only’: {‘type’: ‘boolean’}, ‘mount-point’: {‘type’: ‘string’}}}, ‘VolumeAttachmentResults’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/VolumeAttachmentResult’}}}}, ‘VolumeAttachmentParamsResult’: {‘required’: [‘result’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}, ‘result’: {‘$ref’: ‘#/definitions/VolumeAttachmentParams’}}}, ‘EntityStatusArgs’: {‘required’: [‘tag’, ‘status’, ‘info’, ‘data’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘tag’: {‘type’: ‘string’}, ‘status’: {‘type’: ‘string’}, ‘info’: {‘type’: ‘string’}, ‘data’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘type’: ‘object’, ‘additionalProperties’: True}}}}}, ‘Error’: {‘required’: [‘message’, ‘code’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘message’: {‘type’: ‘string’}, ‘code’: {‘type’: ‘string’}, ‘info’: {‘$ref’: ‘#/definitions/ErrorInfo’}}}, ‘MachineStorageIds’: {‘required’: [‘ids’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘ids’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/MachineStorageId’}}}}, ‘FilesystemResults’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/FilesystemResult’}}}}, ‘StringResult’: {‘required’: [‘result’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}, ‘result’: {‘type’: ‘string’}}}, ‘MachineStorageId’: {‘required’: [‘machine-tag’, ‘attachment-tag’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘attachment-tag’: {‘type’: ‘string’}, ‘machine-tag’: {‘type’: ‘string’}}}, ‘BlockDeviceResults’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/BlockDeviceResult’}}}}, ‘VolumeAttachments’: {‘required’: [‘volume-attachments’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘volume-attachments’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/VolumeAttachment’}}}}, ‘VolumeAttachmentInfo’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘read-only’: {‘type’: ‘boolean’}, ‘device-name’: {‘type’: ‘string’}, ‘device-link’: {‘type’: ‘string’}, ‘bus-address’: {‘type’: ‘string’}}}, ‘NotifyWatchResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/NotifyWatchResult’}}}}, ‘VolumeParamsResults’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/VolumeParamsResult’}}}}, ‘MachineStorageIdsWatchResult’: {‘required’: [‘watcher-id’, ‘changes’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘watcher-id’: {‘type’: ‘string’}, ‘changes’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/MachineStorageId’}}, ‘error’: {‘$ref’: ‘#/definitions/Error’}}}, ‘Filesystem’: {‘required’: [‘filesystem-tag’, ‘info’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘volume-tag’: {‘type’: ‘string’}, ‘info’: {‘$ref’: ‘#/definitions/FilesystemInfo’}, ‘filesystem-tag’: {‘type’: ‘string’}}}, ‘VolumeParamsResult’: {‘required’: [‘result’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}, ‘result’: {‘$ref’: ‘#/definitions/VolumeParams’}}}, ‘VolumeResult’: {‘required’: [‘result’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}, ‘result’: {‘$ref’: ‘#/definitions/Volume’}}}, ‘StringsWatchResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/StringsWatchResult’}}}}, ‘NotifyWatchResult’: {‘required’: [‘NotifyWatcherId’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘NotifyWatcherId’: {‘type’: ‘string’}, ‘error’: {‘$ref’: ‘#/definitions/Error’}}}, ‘StringResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/StringResult’}}}}, ‘SetStatus’: {‘required’: [‘entities’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘entities’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/EntityStatusArgs’}}}}, ‘Entities’: {‘required’: [‘entities’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘entities’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/Entity’}}}}, ‘BlockDevice’: {‘required’: [‘DeviceName’, ‘DeviceLinks’, ‘Label’, ‘UUID’, ‘HardwareId’, ‘WWN’, ‘BusAddress’, ‘Size’, ‘FilesystemType’, ‘InUse’, ‘MountPoint’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘InUse’: {‘type’: ‘boolean’}, ‘UUID’: {‘type’: ‘string’}, ‘MountPoint’: {‘type’: ‘string’}, ‘FilesystemType’: {‘type’: ‘string’}, ‘DeviceLinks’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}, ‘BusAddress’: {‘type’: ‘string’}, ‘WWN’: {‘type’: ‘string’}, ‘Label’: {‘type’: ‘string’}, ‘HardwareId’: {‘type’: ‘string’}, ‘DeviceName’: {‘type’: ‘string’}, ‘Size’: {‘type’: ‘integer’}}}, ‘FilesystemAttachmentParamsResult’: {‘required’: [‘result’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}, ‘result’: {‘$ref’: ‘#/definitions/FilesystemAttachmentParams’}}}, ‘ErrorResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/ErrorResult’}}}}, ‘StringsWatchResult’: {‘required’: [‘watcher-id’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘watcher-id’: {‘type’: ‘string’}, ‘changes’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}, ‘error’: {‘$ref’: ‘#/definitions/Error’}}}, ‘FilesystemAttachmentResults’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/FilesystemAttachmentResult’}}}}, ‘LifeResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/LifeResult’}}}}, ‘Filesystems’: {‘required’: [‘filesystems’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘filesystems’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/Filesystem’}}}}, ‘ErrorInfo’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘macaroon’: {‘$ref’: ‘#/definitions/Macaroon’}, ‘macaroon-path’: {‘type’: ‘string’}}}, ‘FilesystemParams’: {‘required’: [‘filesystem-tag’, ‘size’, ‘provider’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘volume-tag’: {‘type’: ‘string’}, ‘tags’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘type’: ‘string’}}}, ‘size’: {‘type’: ‘integer’}, ‘attributes’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘type’: ‘object’, ‘additionalProperties’: True}}}, ‘attachment’: {‘$ref’: ‘#/definitions/FilesystemAttachmentParams’}, ‘filesystem-tag’: {‘type’: ‘string’}, ‘provider’: {‘type’: ‘string’}}}, ‘VolumeAttachmentParamsResults’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/VolumeAttachmentParamsResult’}}}}, ‘FilesystemAttachments’: {‘required’: [‘filesystem-attachments’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘filesystem-attachments’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/FilesystemAttachment’}}}}, ‘Entity’: {‘required’: [‘tag’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘tag’: {‘type’: ‘string’}}}, ‘FilesystemResult’: {‘required’: [‘result’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}, ‘result’: {‘$ref’: ‘#/definitions/Filesystem’}}}, ‘FilesystemAttachmentParamsResults’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/FilesystemAttachmentParamsResult’}}}}, ‘MachineStorageIdsWatchResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/MachineStorageIdsWatchResult’}}}}, ‘VolumeAttachmentParams’: {‘required’: [‘volume-tag’, ‘machine-tag’, ‘provider’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘volume-tag’: {‘type’: ‘string’}, ‘machine-tag’: {‘type’: ‘string’}, ‘volume-id’: {‘type’: ‘string’}, ‘read-only’: {‘type’: ‘boolean’}, ‘instance-id’: {‘type’: ‘string’}, ‘provider’: {‘type’: ‘string’}}}, ‘BlockDeviceResult’: {‘required’: [‘result’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}, ‘result’: {‘$ref’: ‘#/definitions/BlockDevice’}}}, ‘FilesystemAttachment’: {‘required’: [‘filesystem-tag’, ‘machine-tag’, ‘info’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘machine-tag’: {‘type’: ‘string’}, ‘info’: {‘$ref’: ‘#/definitions/FilesystemAttachmentInfo’}, ‘filesystem-tag’: {‘type’: ‘string’}}}, ‘LifeResult’: {‘required’: [‘life’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}, ‘life’: {‘type’: ‘string’}}}, ‘VolumeResults’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/VolumeResult’}}}}, ‘ErrorResult’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}}}, ‘FilesystemParamsResults’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/FilesystemParamsResult’}}}}, ‘Volumes’: {‘required’: [‘volumes’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘volumes’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/Volume’}}}}, ‘FilesystemAttachmentResult’: {‘required’: [‘result’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}, ‘result’: {‘$ref’: ‘#/definitions/FilesystemAttachment’}}}, ‘VolumeInfo’: {‘required’: [‘volume-id’, ‘size’, ‘persistent’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘volume-id’: {‘type’: ‘string’}, ‘persistent’: {‘type’: ‘boolean’}, ‘size’: {‘type’: ‘integer’}, ‘pool’: {‘type’: ‘string’}, ‘hardware-id’: {‘type’: ‘string’}, ‘wwn’: {‘type’: ‘string’}}}, ‘FilesystemInfo’: {‘required’: [‘filesystem-id’, ‘pool’, ‘size’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘pool’: {‘type’: ‘string’}, ‘size’: {‘type’: ‘integer’}, ‘filesystem-id’: {‘type’: ‘string’}}}, ‘FilesystemAttachmentParams’: {‘required’: [‘filesystem-tag’, ‘machine-tag’, ‘provider’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘machine-tag’: {‘type’: ‘string’}, ‘read-only’: {‘type’: ‘boolean’}, ‘mount-point’: {‘type’: ‘string’}, ‘filesystem-tag’: {‘type’: ‘string’}, ‘provider’: {‘type’: ‘string’}, ‘instance-id’: {‘type’: ‘string’}, ‘filesystem-id’: {‘type’: ‘string’}}}, ‘VolumeAttachment’: {‘required’: [‘volume-tag’, ‘machine-tag’, ‘info’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘volume-tag’: {‘type’: ‘string’}, ‘machine-tag’: {‘type’: ‘string’}, ‘info’: {‘$ref’: ‘#/definitions/VolumeAttachmentInfo’}}}, ‘Volume’: {‘required’: [‘volume-tag’, ‘info’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘volume-tag’: {‘type’: ‘string’}, ‘info’: {‘$ref’: ‘#/definitions/VolumeInfo’}}}, ‘VolumeAttachmentResult’: {‘required’: [‘result’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}, ‘result’: {‘$ref’: ‘#/definitions/VolumeAttachment’}}}, ‘VolumeParams’: {‘required’: [‘volume-tag’, ‘size’, ‘provider’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘volume-tag’: {‘type’: ‘string’}, ‘tags’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘type’: ‘string’}}}, ‘size’: {‘type’: ‘integer’}, ‘attributes’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘type’: ‘object’, ‘additionalProperties’: True}}}, ‘attachment’: {‘$ref’: ‘#/definitions/VolumeAttachmentParams’}, ‘provider’: {‘type’: ‘string’}}}}, ‘properties’: {‘SetFilesystemInfo’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ErrorResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Filesystems’}}}, ‘Life’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/LifeResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘EnsureDead’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ErrorResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘Filesystems’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/FilesystemResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘FilesystemParams’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/FilesystemParamsResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘VolumeBlockDevices’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/BlockDeviceResults’}, ‘Params’: {‘$ref’: ‘#/definitions/MachineStorageIds’}}}, ‘FilesystemAttachments’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/FilesystemAttachmentResults’}, ‘Params’: {‘$ref’: ‘#/definitions/MachineStorageIds’}}}, ‘WatchFilesystems’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/StringsWatchResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘SetVolumeAttachmentInfo’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ErrorResults’}, ‘Params’: {‘$ref’: ‘#/definitions/VolumeAttachments’}}}, ‘VolumeAttachmentParams’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/VolumeAttachmentParamsResults’}, ‘Params’: {‘$ref’: ‘#/definitions/MachineStorageIds’}}}, ‘SetVolumeInfo’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ErrorResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Volumes’}}}, ‘WatchVolumes’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/StringsWatchResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘VolumeAttachments’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/VolumeAttachmentResults’}, ‘Params’: {‘$ref’: ‘#/definitions/MachineStorageIds’}}}, ‘InstanceId’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/StringResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘WatchBlockDevices’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/NotifyWatchResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘WatchMachines’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/NotifyWatchResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘Remove’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ErrorResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘AttachmentLife’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/LifeResults’}, ‘Params’: {‘$ref’: ‘#/definitions/MachineStorageIds’}}}, ‘WatchFilesystemAttachments’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/MachineStorageIdsWatchResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘RemoveAttachment’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ErrorResults’}, ‘Params’: {‘$ref’: ‘#/definitions/MachineStorageIds’}}}, ‘SetFilesystemAttachmentInfo’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ErrorResults’}, ‘Params’: {‘$ref’: ‘#/definitions/FilesystemAttachments’}}}, ‘FilesystemAttachmentParams’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/FilesystemAttachmentParamsResults’}, ‘Params’: {‘$ref’: ‘#/definitions/MachineStorageIds’}}}, ‘UpdateStatus’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ErrorResults’}, ‘Params’: {‘$ref’: ‘#/definitions/SetStatus’}}}, ‘SetStatus’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ErrorResults’}, ‘Params’: {‘$ref’: ‘#/definitions/SetStatus’}}}, ‘Volumes’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/VolumeResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘VolumeParams’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/VolumeParamsResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘WatchVolumeAttachments’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/MachineStorageIdsWatchResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}}}
version = 3

juju.client._client4 module

class juju.client._client4.ApplicationFacade[source]

Bases: juju.client.facade.Type

coroutine AddRelation(endpoints)[source]

endpoints : typing.Sequence<+T_co>[str] Returns -> typing.Mapping<~KT, +VT_co>[str, ~CharmRelation]<~CharmRelation>

coroutine AddUnits(application, num_units, placement)[source]

application : str num_units : int placement : typing.Sequence<+T_co>[~Placement]<~Placement> Returns -> typing.Sequence<+T_co>[str]

coroutine CharmRelations(application)[source]

application : str Returns -> typing.Sequence<+T_co>[str]

coroutine Consume(args)[source]

args : typing.Sequence<+T_co>[~ConsumeApplicationArg]<~ConsumeApplicationArg> Returns -> typing.Sequence<+T_co>[~ConsumeApplicationResult]<~ConsumeApplicationResult>

coroutine Deploy(applications)[source]

applications : typing.Sequence<+T_co>[~ApplicationDeploy]<~ApplicationDeploy> Returns -> typing.Sequence<+T_co>[~ErrorResult]<~ErrorResult>

coroutine Destroy(application)[source]

application : str Returns -> None

coroutine DestroyApplication(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~DestroyApplicationResult]<~DestroyApplicationResult>

coroutine DestroyRelation(endpoints)[source]

endpoints : typing.Sequence<+T_co>[str] Returns -> None

coroutine DestroyUnit(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~DestroyUnitResult]<~DestroyUnitResult>

coroutine DestroyUnits(unit_names)[source]

unit_names : typing.Sequence<+T_co>[str] Returns -> None

coroutine Expose(application)[source]

application : str Returns -> None

coroutine Get(application)[source]

application : str Returns -> typing.Union[str, typing.Mapping<~KT, +VT_co>[str, typing.Any], _ForwardRef(‘Value’)]

coroutine GetCharmURL(application)[source]

application : str Returns -> typing.Union[_ForwardRef(‘Error’), str]

coroutine GetConstraints(application)[source]

application : str Returns -> Value

coroutine RemoteApplicationInfo(application_urls)[source]

application_urls : typing.Sequence<+T_co>[str] Returns -> typing.Sequence<+T_co>[~RemoteApplicationInfoResult]<~RemoteApplicationInfoResult>

coroutine Set(application, options)[source]

application : str options : typing.Mapping<~KT, +VT_co>[str, str] Returns -> None

coroutine SetCharm(application, channel, charm_url, config_settings, config_settings_yaml, force_series, force_units, resource_ids, storage_constraints)[source]

application : str channel : str charm_url : str config_settings : typing.Mapping<~KT, +VT_co>[str, str] config_settings_yaml : str force_series : bool force_units : bool resource_ids : typing.Mapping<~KT, +VT_co>[str, str] storage_constraints : typing.Mapping<~KT, +VT_co>[str, ~StorageConstraints]<~StorageConstraints> Returns -> None

coroutine SetConstraints(application, constraints)[source]

application : str constraints : Value Returns -> None

coroutine SetMetricCredentials(creds)[source]

creds : typing.Sequence<+T_co>[~ApplicationMetricCredential]<~ApplicationMetricCredential> Returns -> typing.Sequence<+T_co>[~ErrorResult]<~ErrorResult>

coroutine Unexpose(application)[source]

application : str Returns -> None

coroutine Unset(application, options)[source]

application : str options : typing.Sequence<+T_co>[str] Returns -> None

coroutine Update(application, charm_url, constraints, force_charm_url, force_series, min_units, settings, settings_yaml)[source]

application : str charm_url : str constraints : Value force_charm_url : bool force_series : bool min_units : int settings : typing.Mapping<~KT, +VT_co>[str, str] settings_yaml : str Returns -> None

name = ‘Application’
schema = {‘type’: ‘object’, ‘definitions’: {‘Macaroon’: {‘type’: ‘object’, ‘additionalProperties’: False}, ‘AddApplicationUnits’: {‘required’: [‘application’, ‘num-units’, ‘placement’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘application’: {‘type’: ‘string’}, ‘num-units’: {‘type’: ‘integer’}, ‘placement’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/Placement’}}}}, ‘ApplicationDestroy’: {‘required’: [‘application’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘application’: {‘type’: ‘string’}}}, ‘Placement’: {‘required’: [‘scope’, ‘directive’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘scope’: {‘type’: ‘string’}, ‘directive’: {‘type’: ‘string’}}}, ‘ApplicationUnset’: {‘required’: [‘application’, ‘options’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘application’: {‘type’: ‘string’}, ‘options’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}}}, ‘DestroyUnitInfo’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘detached-storage’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/Entity’}}, ‘destroyed-storage’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/Entity’}}}}, ‘ApplicationUpdate’: {‘required’: [‘application’, ‘charm-url’, ‘force-charm-url’, ‘force-series’, ‘settings-yaml’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘min-units’: {‘type’: ‘integer’}, ‘charm-url’: {‘type’: ‘string’}, ‘force-series’: {‘type’: ‘boolean’}, ‘settings-yaml’: {‘type’: ‘string’}, ‘application’: {‘type’: ‘string’}, ‘constraints’: {‘$ref’: ‘#/definitions/Value’}, ‘force-charm-url’: {‘type’: ‘boolean’}, ‘settings’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘type’: ‘string’}}}}}, ‘ApplicationMetricCredentials’: {‘required’: [‘creds’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘creds’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/ApplicationMetricCredential’}}}}, ‘ApplicationExpose’: {‘required’: [‘application’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘application’: {‘type’: ‘string’}}}, ‘AddApplicationUnitsResults’: {‘required’: [‘units’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘units’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}}}, ‘CharmRelation’: {‘required’: [‘name’, ‘role’, ‘interface’, ‘optional’, ‘limit’, ‘scope’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘scope’: {‘type’: ‘string’}, ‘optional’: {‘type’: ‘boolean’}, ‘limit’: {‘type’: ‘integer’}, ‘interface’: {‘type’: ‘string’}, ‘role’: {‘type’: ‘string’}, ‘name’: {‘type’: ‘string’}}}, ‘DestroyApplicationInfo’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘destroyed-units’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/Entity’}}, ‘detached-storage’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/Entity’}}, ‘destroyed-storage’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/Entity’}}}}, ‘ApplicationDeploy’: {‘required’: [‘application’, ‘series’, ‘charm-url’, ‘channel’, ‘num-units’, ‘config-yaml’, ‘constraints’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘storage’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘$ref’: ‘#/definitions/Constraints’}}}, ‘num-units’: {‘type’: ‘integer’}, ‘series’: {‘type’: ‘string’}, ‘constraints’: {‘$ref’: ‘#/definitions/Value’}, ‘endpoint-bindings’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘type’: ‘string’}}}, ‘charm-url’: {‘type’: ‘string’}, ‘config-yaml’: {‘type’: ‘string’}, ‘placement’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/Placement’}}, ‘config’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘type’: ‘string’}}}, ‘application’: {‘type’: ‘string’}, ‘channel’: {‘type’: ‘string’}, ‘resources’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘type’: ‘string’}}}}}, ‘ApplicationGet’: {‘required’: [‘application’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘application’: {‘type’: ‘string’}}}, ‘GetApplicationConstraints’: {‘required’: [‘application’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘application’: {‘type’: ‘string’}}}, ‘ConsumeApplicationArgs’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘args’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/ConsumeApplicationArg’}}}}, ‘ApplicationMetricCredential’: {‘required’: [‘application’, ‘metrics-credentials’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘application’: {‘type’: ‘string’}, ‘metrics-credentials’: {‘type’: ‘array’, ‘items’: {‘type’: ‘integer’}}}}, ‘ApplicationCharmRelationsResults’: {‘required’: [‘charm-relations’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘charm-relations’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}}}, ‘DestroyApplicationResult’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}, ‘info’: {‘$ref’: ‘#/definitions/DestroyApplicationInfo’}}}, ‘RemoteApplicationInfo’: {‘required’: [‘model-tag’, ‘name’, ‘description’, ‘application-url’, ‘endpoints’, ‘icon-url-path’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘application-url’: {‘type’: ‘string’}, ‘endpoints’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/RemoteEndpoint’}}, ‘source-model-label’: {‘type’: ‘string’}, ‘icon-url-path’: {‘type’: ‘string’}, ‘description’: {‘type’: ‘string’}, ‘model-tag’: {‘type’: ‘string’}, ‘name’: {‘type’: ‘string’}}}, ‘GetConstraintsResults’: {‘required’: [‘constraints’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘constraints’: {‘$ref’: ‘#/definitions/Value’}}}, ‘DestroyApplicationUnits’: {‘required’: [‘unit-names’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘unit-names’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}}}, ‘ApplicationCharmRelations’: {‘required’: [‘application’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘application’: {‘type’: ‘string’}}}, ‘StringResult’: {‘required’: [‘result’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}, ‘result’: {‘type’: ‘string’}}}, ‘AddRelation’: {‘required’: [‘endpoints’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘endpoints’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}}}, ‘Entities’: {‘required’: [‘entities’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘entities’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/Entity’}}}}, ‘ApplicationGetResults’: {‘required’: [‘application’, ‘charm’, ‘config’, ‘constraints’, ‘series’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘charm’: {‘type’: ‘string’}, ‘application’: {‘type’: ‘string’}, ‘constraints’: {‘$ref’: ‘#/definitions/Value’}, ‘series’: {‘type’: ‘string’}, ‘config’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘type’: ‘object’, ‘additionalProperties’: True}}}}}, ‘ConsumeApplicationResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/ConsumeApplicationResult’}}}}, ‘ApplicationsDeploy’: {‘required’: [‘applications’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘applications’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/ApplicationDeploy’}}}}, ‘ErrorResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/ErrorResult’}}}}, ‘ConsumeApplicationArg’: {‘required’: [‘application-url’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘application-url’: {‘type’: ‘string’}, ‘application-alias’: {‘type’: ‘string’}}}, ‘SetConstraints’: {‘required’: [‘application’, ‘constraints’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘application’: {‘type’: ‘string’}, ‘constraints’: {‘$ref’: ‘#/definitions/Value’}}}, ‘ErrorInfo’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘macaroon’: {‘$ref’: ‘#/definitions/Macaroon’}, ‘macaroon-path’: {‘type’: ‘string’}}}, ‘RemoteApplicationInfoResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/RemoteApplicationInfoResult’}}}}, ‘AddRelationResults’: {‘required’: [‘endpoints’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘endpoints’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘$ref’: ‘#/definitions/CharmRelation’}}}}}, ‘Entity’: {‘required’: [‘tag’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘tag’: {‘type’: ‘string’}}}, ‘ConsumeApplicationResult’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘local-name’: {‘type’: ‘string’}, ‘error’: {‘$ref’: ‘#/definitions/Error’}}}, ‘DestroyUnitResult’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}, ‘info’: {‘$ref’: ‘#/definitions/DestroyUnitInfo’}}}, ‘DestroyUnitResults’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/DestroyUnitResult’}}}}, ‘ErrorResult’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}}}, ‘RemoteEndpoint’: {‘required’: [‘name’, ‘role’, ‘interface’, ‘limit’, ‘scope’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘scope’: {‘type’: ‘string’}, ‘limit’: {‘type’: ‘integer’}, ‘interface’: {‘type’: ‘string’}, ‘role’: {‘type’: ‘string’}, ‘name’: {‘type’: ‘string’}}}, ‘DestroyRelation’: {‘required’: [‘endpoints’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘endpoints’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}}}, ‘StorageConstraints’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘pool’: {‘type’: ‘string’}, ‘size’: {‘type’: ‘integer’}, ‘count’: {‘type’: ‘integer’}}}, ‘ApplicationSet’: {‘required’: [‘application’, ‘options’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘application’: {‘type’: ‘string’}, ‘options’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘type’: ‘string’}}}}}, ‘Error’: {‘required’: [‘message’, ‘code’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘message’: {‘type’: ‘string’}, ‘code’: {‘type’: ‘string’}, ‘info’: {‘$ref’: ‘#/definitions/ErrorInfo’}}}, ‘ApplicationURLs’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘application-urls’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}}}, ‘ApplicationUnexpose’: {‘required’: [‘application’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘application’: {‘type’: ‘string’}}}, ‘Value’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘mem’: {‘type’: ‘integer’}, ‘tags’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}, ‘arch’: {‘type’: ‘string’}, ‘cores’: {‘type’: ‘integer’}, ‘root-disk’: {‘type’: ‘integer’}, ‘container’: {‘type’: ‘string’}, ‘spaces’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}, ‘cpu-power’: {‘type’: ‘integer’}, ‘virt-type’: {‘type’: ‘string’}, ‘instance-type’: {‘type’: ‘string’}}}, ‘ApplicationSetCharm’: {‘required’: [‘application’, ‘charm-url’, ‘channel’, ‘force-units’, ‘force-series’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘charm-url’: {‘type’: ‘string’}, ‘force-series’: {‘type’: ‘boolean’}, ‘storage-constraints’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘$ref’: ‘#/definitions/StorageConstraints’}}}, ‘application’: {‘type’: ‘string’}, ‘config-settings-yaml’: {‘type’: ‘string’}, ‘resource-ids’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘type’: ‘string’}}}, ‘config-settings’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘type’: ‘string’}}}, ‘channel’: {‘type’: ‘string’}, ‘force-units’: {‘type’: ‘boolean’}}}, ‘DestroyApplicationResults’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/DestroyApplicationResult’}}}}, ‘RemoteApplicationInfoResult’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}, ‘result’: {‘$ref’: ‘#/definitions/RemoteApplicationInfo’}}}, ‘Constraints’: {‘required’: [‘Pool’, ‘Size’, ‘Count’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘Count’: {‘type’: ‘integer’}, ‘Pool’: {‘type’: ‘string’}, ‘Size’: {‘type’: ‘integer’}}}}, ‘properties’: {‘GetConstraints’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/GetConstraintsResults’}, ‘Params’: {‘$ref’: ‘#/definitions/GetApplicationConstraints’}}}, ‘SetConstraints’: {‘type’: ‘object’, ‘properties’: {‘Params’: {‘$ref’: ‘#/definitions/SetConstraints’}}}, ‘GetCharmURL’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/StringResult’}, ‘Params’: {‘$ref’: ‘#/definitions/ApplicationGet’}}}, ‘Expose’: {‘type’: ‘object’, ‘properties’: {‘Params’: {‘$ref’: ‘#/definitions/ApplicationExpose’}}}, ‘AddUnits’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/AddApplicationUnitsResults’}, ‘Params’: {‘$ref’: ‘#/definitions/AddApplicationUnits’}}}, ‘Update’: {‘type’: ‘object’, ‘properties’: {‘Params’: {‘$ref’: ‘#/definitions/ApplicationUpdate’}}}, ‘Unexpose’: {‘type’: ‘object’, ‘properties’: {‘Params’: {‘$ref’: ‘#/definitions/ApplicationUnexpose’}}}, ‘Deploy’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ErrorResults’}, ‘Params’: {‘$ref’: ‘#/definitions/ApplicationsDeploy’}}}, ‘DestroyApplication’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/DestroyApplicationResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘Get’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ApplicationGetResults’}, ‘Params’: {‘$ref’: ‘#/definitions/ApplicationGet’}}}, ‘DestroyUnits’: {‘type’: ‘object’, ‘properties’: {‘Params’: {‘$ref’: ‘#/definitions/DestroyApplicationUnits’}}}, ‘DestroyRelation’: {‘type’: ‘object’, ‘properties’: {‘Params’: {‘$ref’: ‘#/definitions/DestroyRelation’}}}, ‘CharmRelations’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ApplicationCharmRelationsResults’}, ‘Params’: {‘$ref’: ‘#/definitions/ApplicationCharmRelations’}}}, ‘DestroyUnit’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/DestroyUnitResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘RemoteApplicationInfo’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/RemoteApplicationInfoResults’}, ‘Params’: {‘$ref’: ‘#/definitions/ApplicationURLs’}}}, ‘SetCharm’: {‘type’: ‘object’, ‘properties’: {‘Params’: {‘$ref’: ‘#/definitions/ApplicationSetCharm’}}}, ‘Consume’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ConsumeApplicationResults’}, ‘Params’: {‘$ref’: ‘#/definitions/ConsumeApplicationArgs’}}}, ‘AddRelation’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/AddRelationResults’}, ‘Params’: {‘$ref’: ‘#/definitions/AddRelation’}}}, ‘Unset’: {‘type’: ‘object’, ‘properties’: {‘Params’: {‘$ref’: ‘#/definitions/ApplicationUnset’}}}, ‘Set’: {‘type’: ‘object’, ‘properties’: {‘Params’: {‘$ref’: ‘#/definitions/ApplicationSet’}}}, ‘Destroy’: {‘type’: ‘object’, ‘properties’: {‘Params’: {‘$ref’: ‘#/definitions/ApplicationDestroy’}}}, ‘SetMetricCredentials’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ErrorResults’}, ‘Params’: {‘$ref’: ‘#/definitions/ApplicationMetricCredentials’}}}}}
version = 4
class juju.client._client4.UniterFacade[source]

Bases: juju.client.facade.Type

coroutine APIAddresses()[source]

Returns -> typing.Union[_ForwardRef(‘Error’), typing.Sequence<+T_co>[str]]

coroutine APIHostPorts()[source]

Returns -> typing.Sequence<+T_co>[~HostPort]<~HostPort>

coroutine Actions(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~ActionResult]<~ActionResult>

coroutine AddMetricBatches(batches)[source]

batches : typing.Sequence<+T_co>[~MetricBatchParam]<~MetricBatchParam> Returns -> typing.Sequence<+T_co>[~ErrorResult]<~ErrorResult>

coroutine AddUnitStorage(storages)[source]

storages : typing.Sequence<+T_co>[~StorageAddParams]<~StorageAddParams> Returns -> typing.Sequence<+T_co>[~ErrorResult]<~ErrorResult>

coroutine AllMachinePorts(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~MachinePortsResult]<~MachinePortsResult>

coroutine ApplicationStatus(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~ApplicationStatusResult]<~ApplicationStatusResult>

coroutine AssignedMachine(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~StringResult]<~StringResult>

coroutine AvailabilityZone(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~StringResult]<~StringResult>

coroutine BeginActions(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~ErrorResult]<~ErrorResult>

coroutine CACert()[source]

Returns -> typing.Sequence<+T_co>[int]

coroutine CharmArchiveSha256(urls)[source]

urls : typing.Sequence<+T_co>[~CharmURL]<~CharmURL> Returns -> typing.Sequence<+T_co>[~StringResult]<~StringResult>

coroutine CharmModifiedVersion(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~IntResult]<~IntResult>

coroutine CharmURL(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~StringBoolResult]<~StringBoolResult>

coroutine ClearResolved(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~ErrorResult]<~ErrorResult>

coroutine ClosePorts(entities)[source]

entities : typing.Sequence<+T_co>[~EntityPortRange]<~EntityPortRange> Returns -> typing.Sequence<+T_co>[~ErrorResult]<~ErrorResult>

coroutine ConfigSettings(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~ConfigSettingsResult]<~ConfigSettingsResult>

coroutine CurrentModel()[source]

Returns -> typing.Union[_ForwardRef(‘Error’), str]

coroutine Destroy(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~ErrorResult]<~ErrorResult>

coroutine DestroyAllSubordinates(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~ErrorResult]<~ErrorResult>

coroutine DestroyUnitStorageAttachments(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~ErrorResult]<~ErrorResult>

coroutine EnsureDead(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~ErrorResult]<~ErrorResult>

coroutine EnterScope(relation_units)[source]

relation_units : typing.Sequence<+T_co>[~RelationUnit]<~RelationUnit> Returns -> typing.Sequence<+T_co>[~ErrorResult]<~ErrorResult>

coroutine FinishActions(results)[source]

results : typing.Sequence<+T_co>[~ActionExecutionResult]<~ActionExecutionResult> Returns -> typing.Sequence<+T_co>[~ErrorResult]<~ErrorResult>

coroutine GetMeterStatus(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~MeterStatusResult]<~MeterStatusResult>

coroutine GetPrincipal(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~StringBoolResult]<~StringBoolResult>

coroutine HasSubordinates(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~BoolResult]<~BoolResult>

coroutine JoinedRelations(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~StringsResult]<~StringsResult>

coroutine LeaveScope(relation_units)[source]

relation_units : typing.Sequence<+T_co>[~RelationUnit]<~RelationUnit> Returns -> typing.Sequence<+T_co>[~ErrorResult]<~ErrorResult>

coroutine Life(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~LifeResult]<~LifeResult>

coroutine Merge(params)[source]

params : typing.Sequence<+T_co>[~MergeLeadershipSettingsParam]<~MergeLeadershipSettingsParam> Returns -> typing.Sequence<+T_co>[~ErrorResult]<~ErrorResult>

coroutine ModelConfig()[source]

Returns -> typing.Mapping<~KT, +VT_co>[str, typing.Any]

coroutine ModelUUID()[source]

Returns -> typing.Union[_ForwardRef(‘Error’), str]

coroutine NetworkConfig(args)[source]

args : typing.Sequence<+T_co>[~UnitNetworkConfig]<~UnitNetworkConfig> Returns -> typing.Sequence<+T_co>[~UnitNetworkConfigResult]<~UnitNetworkConfigResult>

coroutine OpenPorts(entities)[source]

entities : typing.Sequence<+T_co>[~EntityPortRange]<~EntityPortRange> Returns -> typing.Sequence<+T_co>[~ErrorResult]<~ErrorResult>

coroutine PrivateAddress(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~StringResult]<~StringResult>

coroutine ProviderType()[source]

Returns -> typing.Union[_ForwardRef(‘Error’), str]

coroutine PublicAddress(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~StringResult]<~StringResult>

coroutine Read(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~GetLeadershipSettingsResult]<~GetLeadershipSettingsResult>

coroutine ReadRemoteSettings(relation_unit_pairs)[source]

relation_unit_pairs : typing.Sequence<+T_co>[~RelationUnitPair]<~RelationUnitPair> Returns -> typing.Sequence<+T_co>[~SettingsResult]<~SettingsResult>

coroutine ReadSettings(relation_units)[source]

relation_units : typing.Sequence<+T_co>[~RelationUnit]<~RelationUnit> Returns -> typing.Sequence<+T_co>[~SettingsResult]<~SettingsResult>

coroutine Relation(relation_units)[source]

relation_units : typing.Sequence<+T_co>[~RelationUnit]<~RelationUnit> Returns -> typing.Sequence<+T_co>[~RelationResult]<~RelationResult>

coroutine RelationById(relation_ids)[source]

relation_ids : typing.Sequence<+T_co>[int] Returns -> typing.Sequence<+T_co>[~RelationResult]<~RelationResult>

coroutine RemoveStorageAttachments(ids)[source]

ids : typing.Sequence<+T_co>[~StorageAttachmentId]<~StorageAttachmentId> Returns -> typing.Sequence<+T_co>[~ErrorResult]<~ErrorResult>

coroutine RequestReboot(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~ErrorResult]<~ErrorResult>

coroutine Resolved(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~ResolvedModeResult]<~ResolvedModeResult>

coroutine SetAgentStatus(entities)[source]

entities : typing.Sequence<+T_co>[~EntityStatusArgs]<~EntityStatusArgs> Returns -> typing.Sequence<+T_co>[~ErrorResult]<~ErrorResult>

coroutine SetApplicationStatus(entities)[source]

entities : typing.Sequence<+T_co>[~EntityStatusArgs]<~EntityStatusArgs> Returns -> typing.Sequence<+T_co>[~ErrorResult]<~ErrorResult>

coroutine SetCharmURL(entities)[source]

entities : typing.Sequence<+T_co>[~EntityCharmURL]<~EntityCharmURL> Returns -> typing.Sequence<+T_co>[~ErrorResult]<~ErrorResult>

coroutine SetStatus(entities)[source]

entities : typing.Sequence<+T_co>[~EntityStatusArgs]<~EntityStatusArgs> Returns -> typing.Sequence<+T_co>[~ErrorResult]<~ErrorResult>

coroutine SetUnitStatus(entities)[source]

entities : typing.Sequence<+T_co>[~EntityStatusArgs]<~EntityStatusArgs> Returns -> typing.Sequence<+T_co>[~ErrorResult]<~ErrorResult>

coroutine SetWorkloadVersion(entities)[source]

entities : typing.Sequence<+T_co>[~EntityWorkloadVersion]<~EntityWorkloadVersion> Returns -> typing.Sequence<+T_co>[~ErrorResult]<~ErrorResult>

coroutine StorageAttachmentLife(ids)[source]

ids : typing.Sequence<+T_co>[~StorageAttachmentId]<~StorageAttachmentId> Returns -> typing.Sequence<+T_co>[~LifeResult]<~LifeResult>

coroutine StorageAttachments(ids)[source]

ids : typing.Sequence<+T_co>[~StorageAttachmentId]<~StorageAttachmentId> Returns -> typing.Sequence<+T_co>[~StorageAttachmentResult]<~StorageAttachmentResult>

coroutine UnitStatus(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~StatusResult]<~StatusResult>

coroutine UnitStorageAttachments(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~StorageAttachmentIdsResult]<~StorageAttachmentIdsResult>

coroutine UpdateSettings(relation_units)[source]

relation_units : typing.Sequence<+T_co>[~RelationUnitSettings]<~RelationUnitSettings> Returns -> typing.Sequence<+T_co>[~ErrorResult]<~ErrorResult>

coroutine Watch(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~NotifyWatchResult]<~NotifyWatchResult>

coroutine WatchAPIHostPorts()[source]

Returns -> typing.Union[str, _ForwardRef(‘Error’)]

coroutine WatchActionNotifications(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~StringsWatchResult]<~StringsWatchResult>

coroutine WatchApplicationRelations(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~StringsWatchResult]<~StringsWatchResult>

coroutine WatchConfigSettings(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~NotifyWatchResult]<~NotifyWatchResult>

coroutine WatchForModelConfigChanges()[source]

Returns -> typing.Union[str, _ForwardRef(‘Error’)]

coroutine WatchLeadershipSettings(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~NotifyWatchResult]<~NotifyWatchResult>

coroutine WatchMeterStatus(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~NotifyWatchResult]<~NotifyWatchResult>

coroutine WatchRelationUnits(relation_units)[source]

relation_units : typing.Sequence<+T_co>[~RelationUnit]<~RelationUnit> Returns -> typing.Sequence<+T_co>[~RelationUnitsWatchResult]<~RelationUnitsWatchResult>

coroutine WatchStorageAttachments(ids)[source]

ids : typing.Sequence<+T_co>[~StorageAttachmentId]<~StorageAttachmentId> Returns -> typing.Sequence<+T_co>[~NotifyWatchResult]<~NotifyWatchResult>

coroutine WatchUnitAddresses(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~NotifyWatchResult]<~NotifyWatchResult>

coroutine WatchUnitStorageAttachments(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~StringsWatchResult]<~StringsWatchResult>

coroutine WorkloadVersion(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~StringResult]<~StringResult>

name = ‘Uniter’
schema = {‘type’: ‘object’, ‘definitions’: {‘EntityWorkloadVersion’: {‘required’: [‘tag’, ‘workload-version’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘tag’: {‘type’: ‘string’}, ‘workload-version’: {‘type’: ‘string’}}}, ‘Macaroon’: {‘type’: ‘object’, ‘additionalProperties’: False}, ‘EntityWorkloadVersions’: {‘required’: [‘entities’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘entities’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/EntityWorkloadVersion’}}}}, ‘EntitiesPortRanges’: {‘required’: [‘entities’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘entities’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/EntityPortRange’}}}}, ‘ActionExecutionResults’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/ActionExecutionResult’}}}}, ‘StorageAttachmentIdsResult’: {‘required’: [‘result’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}, ‘result’: {‘$ref’: ‘#/definitions/StorageAttachmentIds’}}}, ‘ActionResults’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/ActionResult’}}}}, ‘StatusResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/StatusResult’}}}}, ‘SettingsResult’: {‘required’: [‘settings’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}, ‘settings’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘type’: ‘string’}}}}}, ‘BoolResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/BoolResult’}}}}, ‘HostPort’: {‘required’: [‘Address’, ‘port’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘port’: {‘type’: ‘integer’}, ‘Address’: {‘$ref’: ‘#/definitions/Address’}}}, ‘BytesResult’: {‘required’: [‘result’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘result’: {‘type’: ‘array’, ‘items’: {‘type’: ‘integer’}}}}, ‘EntityCharmURL’: {‘required’: [‘tag’, ‘charm-url’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘tag’: {‘type’: ‘string’}, ‘charm-url’: {‘type’: ‘string’}}}, ‘RelationUnit’: {‘required’: [‘relation’, ‘unit’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘unit’: {‘type’: ‘string’}, ‘relation’: {‘type’: ‘string’}}}, ‘MetricBatchParam’: {‘required’: [‘tag’, ‘batch’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘tag’: {‘type’: ‘string’}, ‘batch’: {‘$ref’: ‘#/definitions/MetricBatch’}}}, ‘MetricBatchParams’: {‘required’: [‘batches’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘batches’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/MetricBatchParam’}}}}, ‘NotifyWatchResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/NotifyWatchResult’}}}}, ‘GetLeadershipSettingsResult’: {‘required’: [‘settings’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}, ‘settings’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘type’: ‘string’}}}}}, ‘StorageAddParams’: {‘required’: [‘unit’, ‘name’, ‘storage’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘unit’: {‘type’: ‘string’}, ‘storage’: {‘$ref’: ‘#/definitions/StorageConstraints’}, ‘name’: {‘type’: ‘string’}}}, ‘Metric’: {‘required’: [‘key’, ‘value’, ‘time’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘key’: {‘type’: ‘string’}, ‘value’: {‘type’: ‘string’}, ‘time’: {‘type’: ‘string’, ‘format’: ‘date-time’}}}, ‘NotifyWatchResult’: {‘required’: [‘NotifyWatcherId’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘NotifyWatcherId’: {‘type’: ‘string’}, ‘error’: {‘$ref’: ‘#/definitions/Error’}}}, ‘StringResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/StringResult’}}}}, ‘MeterStatusResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/MeterStatusResult’}}}}, ‘RelationUnitsWatchResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/RelationUnitsWatchResult’}}}}, ‘CharmURL’: {‘required’: [‘url’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘url’: {‘type’: ‘string’}}}, ‘LifeResult’: {‘required’: [‘life’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}, ‘life’: {‘type’: ‘string’}}}, ‘ActionResult’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘status’: {‘type’: ‘string’}, ‘output’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘type’: ‘object’, ‘additionalProperties’: True}}}, ‘enqueued’: {‘type’: ‘string’, ‘format’: ‘date-time’}, ‘message’: {‘type’: ‘string’}, ‘error’: {‘$ref’: ‘#/definitions/Error’}, ‘action’: {‘$ref’: ‘#/definitions/Action’}, ‘started’: {‘type’: ‘string’, ‘format’: ‘date-time’}, ‘completed’: {‘type’: ‘string’, ‘format’: ‘date-time’}}}, ‘NetworkRoute’: {‘required’: [‘destination-cidr’, ‘gateway-ip’, ‘metric’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘destination-cidr’: {‘type’: ‘string’}, ‘gateway-ip’: {‘type’: ‘string’}, ‘metric’: {‘type’: ‘integer’}}}, ‘StringBoolResult’: {‘required’: [‘result’, ‘ok’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘ok’: {‘type’: ‘boolean’}, ‘error’: {‘$ref’: ‘#/definitions/Error’}, ‘result’: {‘type’: ‘string’}}}, ‘StringsWatchResult’: {‘required’: [‘watcher-id’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘watcher-id’: {‘type’: ‘string’}, ‘changes’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}, ‘error’: {‘$ref’: ‘#/definitions/Error’}}}, ‘UnitNetworkConfigResult’: {‘required’: [‘info’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}, ‘info’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/NetworkConfig’}}}}, ‘RelationUnitsChange’: {‘required’: [‘changed’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘changed’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘$ref’: ‘#/definitions/UnitSettings’}}}, ‘departed’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}}}, ‘ErrorInfo’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘macaroon’: {‘$ref’: ‘#/definitions/Macaroon’}, ‘macaroon-path’: {‘type’: ‘string’}}}, ‘MachinePortsResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/MachinePortsResult’}}}}, ‘StoragesAddParams’: {‘required’: [‘storages’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘storages’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/StorageAddParams’}}}}, ‘Entity’: {‘required’: [‘tag’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘tag’: {‘type’: ‘string’}}}, ‘StringsResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/StringsResult’}}}}, ‘StorageAttachmentResults’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/StorageAttachmentResult’}}}}, ‘ModelConfigResult’: {‘required’: [‘config’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘config’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘type’: ‘object’, ‘additionalProperties’: True}}}}}, ‘ErrorResult’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}}}, ‘StringsWatchResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/StringsWatchResult’}}}}, ‘RelationUnitSettings’: {‘required’: [‘relation’, ‘unit’, ‘settings’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘unit’: {‘type’: ‘string’}, ‘settings’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘type’: ‘string’}}}, ‘relation’: {‘type’: ‘string’}}}, ‘GetLeadershipSettingsBulkResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/GetLeadershipSettingsResult’}}}}, ‘RelationUnitPairs’: {‘required’: [‘relation-unit-pairs’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘relation-unit-pairs’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/RelationUnitPair’}}}}, ‘Entities’: {‘required’: [‘entities’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘entities’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/Entity’}}}}, ‘NetworkConfig’: {‘required’: [‘device-index’, ‘mac-address’, ‘cidr’, ‘mtu’, ‘provider-id’, ‘provider-subnet-id’, ‘provider-space-id’, ‘provider-address-id’, ‘provider-vlan-id’, ‘vlan-tag’, ‘interface-name’, ‘parent-interface-name’, ‘interface-type’, ‘disabled’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘cidr’: {‘type’: ‘string’}, ‘provider-address-id’: {‘type’: ‘string’}, ‘no-auto-start’: {‘type’: ‘boolean’}, ‘mtu’: {‘type’: ‘integer’}, ‘provider-space-id’: {‘type’: ‘string’}, ‘mac-address’: {‘type’: ‘string’}, ‘gateway-address’: {‘type’: ‘string’}, ‘provider-id’: {‘type’: ‘string’}, ‘vlan-tag’: {‘type’: ‘integer’}, ‘disabled’: {‘type’: ‘boolean’}, ‘provider-subnet-id’: {‘type’: ‘string’}, ‘address’: {‘type’: ‘string’}, ‘provider-vlan-id’: {‘type’: ‘string’}, ‘config-type’: {‘type’: ‘string’}, ‘device-index’: {‘type’: ‘integer’}, ‘interface-type’: {‘type’: ‘string’}, ‘interface-name’: {‘type’: ‘string’}, ‘dns-search-domains’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}, ‘routes’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/NetworkRoute’}}, ‘dns-servers’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}, ‘parent-interface-name’: {‘type’: ‘string’}}}, ‘MachinePortsResult’: {‘required’: [‘ports’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}, ‘ports’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/MachinePortRange’}}}}, ‘StringsResult’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}, ‘result’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}}}, ‘StorageAttachmentResult’: {‘required’: [‘result’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}, ‘result’: {‘$ref’: ‘#/definitions/StorageAttachment’}}}, ‘Endpoint’: {‘required’: [‘application-name’, ‘relation’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘relation’: {‘$ref’: ‘#/definitions/CharmRelation’}, ‘application-name’: {‘type’: ‘string’}}}, ‘MeterStatusResult’: {‘required’: [‘code’, ‘info’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}, ‘code’: {‘type’: ‘string’}, ‘info’: {‘type’: ‘string’}}}, ‘CharmURLs’: {‘required’: [‘urls’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘urls’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/CharmURL’}}}}, ‘RelationIds’: {‘required’: [‘relation-ids’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘relation-ids’: {‘type’: ‘array’, ‘items’: {‘type’: ‘integer’}}}}, ‘PortRange’: {‘required’: [‘from-port’, ‘to-port’, ‘protocol’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘protocol’: {‘type’: ‘string’}, ‘to-port’: {‘type’: ‘integer’}, ‘from-port’: {‘type’: ‘integer’}}}, ‘RelationResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/RelationResult’}}}}, ‘BoolResult’: {‘required’: [‘result’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}, ‘result’: {‘type’: ‘boolean’}}}, ‘EntityStatusArgs’: {‘required’: [‘tag’, ‘status’, ‘info’, ‘data’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘tag’: {‘type’: ‘string’}, ‘status’: {‘type’: ‘string’}, ‘info’: {‘type’: ‘string’}, ‘data’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘type’: ‘object’, ‘additionalProperties’: True}}}}}, ‘StorageAttachmentIds’: {‘required’: [‘ids’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘ids’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/StorageAttachmentId’}}}}, ‘Error’: {‘required’: [‘message’, ‘code’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘message’: {‘type’: ‘string’}, ‘code’: {‘type’: ‘string’}, ‘info’: {‘$ref’: ‘#/definitions/ErrorInfo’}}}, ‘StringResult’: {‘required’: [‘result’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}, ‘result’: {‘type’: ‘string’}}}, ‘UnitNetworkConfig’: {‘required’: [‘unit-tag’, ‘binding-name’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘binding-name’: {‘type’: ‘string’}, ‘unit-tag’: {‘type’: ‘string’}}}, ‘CharmRelation’: {‘required’: [‘name’, ‘role’, ‘interface’, ‘optional’, ‘limit’, ‘scope’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘scope’: {‘type’: ‘string’}, ‘optional’: {‘type’: ‘boolean’}, ‘limit’: {‘type’: ‘integer’}, ‘interface’: {‘type’: ‘string’}, ‘role’: {‘type’: ‘string’}, ‘name’: {‘type’: ‘string’}}}, ‘IntResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/IntResult’}}}}, ‘RelationUnits’: {‘required’: [‘relation-units’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘relation-units’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/RelationUnit’}}}}, ‘ModelResult’: {‘required’: [‘name’, ‘uuid’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}, ‘uuid’: {‘type’: ‘string’}, ‘name’: {‘type’: ‘string’}}}, ‘Action’: {‘required’: [‘tag’, ‘receiver’, ‘name’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘tag’: {‘type’: ‘string’}, ‘receiver’: {‘type’: ‘string’}, ‘parameters’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘type’: ‘object’, ‘additionalProperties’: True}}}, ‘name’: {‘type’: ‘string’}}}, ‘SettingsResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/SettingsResult’}}}}, ‘RelationResult’: {‘required’: [‘life’, ‘id’, ‘key’, ‘endpoint’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘id’: {‘type’: ‘integer’}, ‘error’: {‘$ref’: ‘#/definitions/Error’}, ‘endpoint’: {‘$ref’: ‘#/definitions/Endpoint’}, ‘life’: {‘type’: ‘string’}, ‘key’: {‘type’: ‘string’}}}, ‘RelationUnitPair’: {‘required’: [‘relation’, ‘local-unit’, ‘remote-unit’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘local-unit’: {‘type’: ‘string’}, ‘relation’: {‘type’: ‘string’}, ‘remote-unit’: {‘type’: ‘string’}}}, ‘Address’: {‘required’: [‘value’, ‘type’, ‘scope’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘type’: {‘type’: ‘string’}, ‘scope’: {‘type’: ‘string’}, ‘space-name’: {‘type’: ‘string’}, ‘value’: {‘type’: ‘string’}}}, ‘MergeLeadershipSettingsBulkParams’: {‘required’: [‘params’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘params’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/MergeLeadershipSettingsParam’}}}}, ‘IntResult’: {‘required’: [‘result’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}, ‘result’: {‘type’: ‘integer’}}}, ‘ConfigSettingsResult’: {‘required’: [‘settings’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}, ‘settings’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘type’: ‘object’, ‘additionalProperties’: True}}}}}, ‘SetStatus’: {‘required’: [‘entities’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘entities’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/EntityStatusArgs’}}}}, ‘RelationUnitsSettings’: {‘required’: [‘relation-units’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘relation-units’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/RelationUnitSettings’}}}}, ‘MachinePortRange’: {‘required’: [‘unit-tag’, ‘relation-tag’, ‘port-range’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘relation-tag’: {‘type’: ‘string’}, ‘port-range’: {‘$ref’: ‘#/definitions/PortRange’}, ‘unit-tag’: {‘type’: ‘string’}}}, ‘APIHostPortsResult’: {‘required’: [‘servers’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘servers’: {‘type’: ‘array’, ‘items’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/HostPort’}}}}}, ‘ConfigSettingsResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/ConfigSettingsResult’}}}}, ‘ErrorResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/ErrorResult’}}}}, ‘StringBoolResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/StringBoolResult’}}}}, ‘StorageAttachmentId’: {‘required’: [‘storage-tag’, ‘unit-tag’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘storage-tag’: {‘type’: ‘string’}, ‘unit-tag’: {‘type’: ‘string’}}}, ‘LifeResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/LifeResult’}}}}, ‘EntityPortRange’: {‘required’: [‘tag’, ‘protocol’, ‘from-port’, ‘to-port’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘protocol’: {‘type’: ‘string’}, ‘tag’: {‘type’: ‘string’}, ‘to-port’: {‘type’: ‘integer’}, ‘from-port’: {‘type’: ‘integer’}}}, ‘RelationUnitsWatchResult’: {‘required’: [‘watcher-id’, ‘changes’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘watcher-id’: {‘type’: ‘string’}, ‘changes’: {‘$ref’: ‘#/definitions/RelationUnitsChange’}, ‘error’: {‘$ref’: ‘#/definitions/Error’}}}, ‘UnitNetworkConfigResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/UnitNetworkConfigResult’}}}}, ‘StorageConstraints’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘pool’: {‘type’: ‘string’}, ‘size’: {‘type’: ‘integer’}, ‘count’: {‘type’: ‘integer’}}}, ‘MergeLeadershipSettingsParam’: {‘required’: [‘application-tag’, ‘settings’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘application-tag’: {‘type’: ‘string’}, ‘settings’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘type’: ‘string’}}}}}, ‘MetricBatch’: {‘required’: [‘uuid’, ‘charm-url’, ‘created’, ‘metrics’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘metrics’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/Metric’}}, ‘created’: {‘type’: ‘string’, ‘format’: ‘date-time’}, ‘charm-url’: {‘type’: ‘string’}, ‘uuid’: {‘type’: ‘string’}}}, ‘UnitSettings’: {‘required’: [‘version’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘version’: {‘type’: ‘integer’}}}, ‘ApplicationStatusResult’: {‘required’: [‘application’, ‘units’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘application’: {‘$ref’: ‘#/definitions/StatusResult’}, ‘error’: {‘$ref’: ‘#/definitions/Error’}, ‘units’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘$ref’: ‘#/definitions/StatusResult’}}}}}, ‘StorageAttachment’: {‘required’: [‘storage-tag’, ‘owner-tag’, ‘unit-tag’, ‘kind’, ‘location’, ‘life’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘kind’: {‘type’: ‘integer’}, ‘location’: {‘type’: ‘string’}, ‘unit-tag’: {‘type’: ‘string’}, ‘life’: {‘type’: ‘string’}, ‘owner-tag’: {‘type’: ‘string’}, ‘storage-tag’: {‘type’: ‘string’}}}, ‘ResolvedModeResult’: {‘required’: [‘mode’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}, ‘mode’: {‘type’: ‘string’}}}, ‘UnitsNetworkConfig’: {‘required’: [‘args’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘args’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/UnitNetworkConfig’}}}}, ‘ApplicationStatusResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/ApplicationStatusResult’}}}}, ‘StorageAttachmentIdsResults’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/StorageAttachmentIdsResult’}}}}, ‘EntitiesCharmURL’: {‘required’: [‘entities’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘entities’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/EntityCharmURL’}}}}, ‘ActionExecutionResult’: {‘required’: [‘action-tag’, ‘status’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘message’: {‘type’: ‘string’}, ‘action-tag’: {‘type’: ‘string’}, ‘status’: {‘type’: ‘string’}, ‘results’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘type’: ‘object’, ‘additionalProperties’: True}}}}}, ‘StatusResult’: {‘required’: [‘id’, ‘life’, ‘status’, ‘info’, ‘data’, ‘since’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘status’: {‘type’: ‘string’}, ‘id’: {‘type’: ‘string’}, ‘life’: {‘type’: ‘string’}, ‘error’: {‘$ref’: ‘#/definitions/Error’}, ‘since’: {‘type’: ‘string’, ‘format’: ‘date-time’}, ‘info’: {‘type’: ‘string’}, ‘data’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘type’: ‘object’, ‘additionalProperties’: True}}}}}, ‘ResolvedModeResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/ResolvedModeResult’}}}}}, ‘properties’: {‘UnitStorageAttachments’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/StorageAttachmentIdsResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘AddUnitStorage’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ErrorResults’}, ‘Params’: {‘$ref’: ‘#/definitions/StoragesAddParams’}}}, ‘RequestReboot’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ErrorResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘WatchActionNotifications’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/StringsWatchResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘DestroyUnitStorageAttachments’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ErrorResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘RelationById’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/RelationResults’}, ‘Params’: {‘$ref’: ‘#/definitions/RelationIds’}}}, ‘RemoveStorageAttachments’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ErrorResults’}, ‘Params’: {‘$ref’: ‘#/definitions/StorageAttachmentIds’}}}, ‘WatchForModelConfigChanges’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/NotifyWatchResult’}}}, ‘SetUnitStatus’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ErrorResults’}, ‘Params’: {‘$ref’: ‘#/definitions/SetStatus’}}}, ‘ModelConfig’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ModelConfigResult’}}}, ‘DestroyAllSubordinates’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ErrorResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘AddMetricBatches’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ErrorResults’}, ‘Params’: {‘$ref’: ‘#/definitions/MetricBatchParams’}}}, ‘UpdateSettings’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ErrorResults’}, ‘Params’: {‘$ref’: ‘#/definitions/RelationUnitsSettings’}}}, ‘UnitStatus’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/StatusResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘LeaveScope’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ErrorResults’}, ‘Params’: {‘$ref’: ‘#/definitions/RelationUnits’}}}, ‘ReadSettings’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/SettingsResults’}, ‘Params’: {‘$ref’: ‘#/definitions/RelationUnits’}}}, ‘AvailabilityZone’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/StringResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘SetApplicationStatus’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ErrorResults’}, ‘Params’: {‘$ref’: ‘#/definitions/SetStatus’}}}, ‘OpenPorts’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ErrorResults’}, ‘Params’: {‘$ref’: ‘#/definitions/EntitiesPortRanges’}}}, ‘WorkloadVersion’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/StringResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘StorageAttachments’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/StorageAttachmentResults’}, ‘Params’: {‘$ref’: ‘#/definitions/StorageAttachmentIds’}}}, ‘EnsureDead’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ErrorResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘APIAddresses’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/StringsResult’}}}, ‘Merge’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ErrorResults’}, ‘Params’: {‘$ref’: ‘#/definitions/MergeLeadershipSettingsBulkParams’}}}, ‘PrivateAddress’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/StringResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘ApplicationStatus’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ApplicationStatusResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘BeginActions’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ErrorResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘SetStatus’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ErrorResults’}, ‘Params’: {‘$ref’: ‘#/definitions/SetStatus’}}}, ‘CharmURL’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/StringBoolResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘CurrentModel’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ModelResult’}}}, ‘AllMachinePorts’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/MachinePortsResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘ClosePorts’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ErrorResults’}, ‘Params’: {‘$ref’: ‘#/definitions/EntitiesPortRanges’}}}, ‘WatchUnitAddresses’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/NotifyWatchResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘ProviderType’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/StringResult’}}}, ‘CharmModifiedVersion’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/IntResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘WatchConfigSettings’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/NotifyWatchResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘Life’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/LifeResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘Resolved’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ResolvedModeResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘SetCharmURL’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ErrorResults’}, ‘Params’: {‘$ref’: ‘#/definitions/EntitiesCharmURL’}}}, ‘Relation’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/RelationResults’}, ‘Params’: {‘$ref’: ‘#/definitions/RelationUnits’}}}, ‘Watch’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/NotifyWatchResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘WatchMeterStatus’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/NotifyWatchResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘ReadRemoteSettings’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/SettingsResults’}, ‘Params’: {‘$ref’: ‘#/definitions/RelationUnitPairs’}}}, ‘WatchApplicationRelations’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/StringsWatchResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘WatchUnitStorageAttachments’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/StringsWatchResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘CharmArchiveSha256’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/StringResults’}, ‘Params’: {‘$ref’: ‘#/definitions/CharmURLs’}}}, ‘GetMeterStatus’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/MeterStatusResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘ModelUUID’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/StringResult’}}}, ‘GetPrincipal’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/StringBoolResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘PublicAddress’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/StringResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘StorageAttachmentLife’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/LifeResults’}, ‘Params’: {‘$ref’: ‘#/definitions/StorageAttachmentIds’}}}, ‘WatchAPIHostPorts’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/NotifyWatchResult’}}}, ‘EnterScope’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ErrorResults’}, ‘Params’: {‘$ref’: ‘#/definitions/RelationUnits’}}}, ‘Actions’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ActionResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘Destroy’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ErrorResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘NetworkConfig’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/UnitNetworkConfigResults’}, ‘Params’: {‘$ref’: ‘#/definitions/UnitsNetworkConfig’}}}, ‘SetWorkloadVersion’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ErrorResults’}, ‘Params’: {‘$ref’: ‘#/definitions/EntityWorkloadVersions’}}}, ‘FinishActions’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ErrorResults’}, ‘Params’: {‘$ref’: ‘#/definitions/ActionExecutionResults’}}}, ‘HasSubordinates’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/BoolResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘APIHostPorts’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/APIHostPortsResult’}}}, ‘WatchRelationUnits’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/RelationUnitsWatchResults’}, ‘Params’: {‘$ref’: ‘#/definitions/RelationUnits’}}}, ‘WatchStorageAttachments’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/NotifyWatchResults’}, ‘Params’: {‘$ref’: ‘#/definitions/StorageAttachmentIds’}}}, ‘JoinedRelations’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/StringsResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘CACert’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/BytesResult’}}}, ‘WatchLeadershipSettings’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/NotifyWatchResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘Read’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/GetLeadershipSettingsBulkResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘ClearResolved’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ErrorResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘SetAgentStatus’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ErrorResults’}, ‘Params’: {‘$ref’: ‘#/definitions/SetStatus’}}}, ‘AssignedMachine’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/StringResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘ConfigSettings’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ConfigSettingsResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}}}
version = 4

juju.client._client5 module

class juju.client._client5.ApplicationFacade[source]

Bases: juju.client.facade.Type

coroutine AddRelation(endpoints)[source]

endpoints : typing.Sequence<+T_co>[str] Returns -> typing.Mapping<~KT, +VT_co>[str, ~CharmRelation]<~CharmRelation>

coroutine AddUnits(application, num_units, placement)[source]

application : str num_units : int placement : typing.Sequence<+T_co>[~Placement]<~Placement> Returns -> typing.Sequence<+T_co>[str]

coroutine CharmRelations(application)[source]

application : str Returns -> typing.Sequence<+T_co>[str]

coroutine Consume(args)[source]

args : typing.Sequence<+T_co>[~ConsumeApplicationArg]<~ConsumeApplicationArg> Returns -> typing.Sequence<+T_co>[~ErrorResult]<~ErrorResult>

coroutine Deploy(applications)[source]

applications : typing.Sequence<+T_co>[~ApplicationDeploy]<~ApplicationDeploy> Returns -> typing.Sequence<+T_co>[~ErrorResult]<~ErrorResult>

coroutine Destroy(application)[source]

application : str Returns -> None

coroutine DestroyApplication(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~DestroyApplicationResult]<~DestroyApplicationResult>

coroutine DestroyRelation(endpoints)[source]

endpoints : typing.Sequence<+T_co>[str] Returns -> None

coroutine DestroyUnit(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~DestroyUnitResult]<~DestroyUnitResult>

coroutine DestroyUnits(unit_names)[source]

unit_names : typing.Sequence<+T_co>[str] Returns -> None

coroutine Expose(application)[source]

application : str Returns -> None

coroutine Get(application)[source]

application : str Returns -> typing.Union[str, typing.Mapping<~KT, +VT_co>[str, typing.Any], _ForwardRef(‘Value’)]

coroutine GetCharmURL(application)[source]

application : str Returns -> typing.Union[_ForwardRef(‘Error’), str]

coroutine GetConstraints(application)[source]

application : str Returns -> Value

coroutine Set(application, options)[source]

application : str options : typing.Mapping<~KT, +VT_co>[str, str] Returns -> None

coroutine SetCharm(application, channel, charm_url, config_settings, config_settings_yaml, force_series, force_units, resource_ids, storage_constraints)[source]

application : str channel : str charm_url : str config_settings : typing.Mapping<~KT, +VT_co>[str, str] config_settings_yaml : str force_series : bool force_units : bool resource_ids : typing.Mapping<~KT, +VT_co>[str, str] storage_constraints : typing.Mapping<~KT, +VT_co>[str, ~StorageConstraints]<~StorageConstraints> Returns -> None

coroutine SetConstraints(application, constraints)[source]

application : str constraints : Value Returns -> None

coroutine SetMetricCredentials(creds)[source]

creds : typing.Sequence<+T_co>[~ApplicationMetricCredential]<~ApplicationMetricCredential> Returns -> typing.Sequence<+T_co>[~ErrorResult]<~ErrorResult>

coroutine Unexpose(application)[source]

application : str Returns -> None

coroutine Unset(application, options)[source]

application : str options : typing.Sequence<+T_co>[str] Returns -> None

coroutine Update(application, charm_url, constraints, force_charm_url, force_series, min_units, settings, settings_yaml)[source]

application : str charm_url : str constraints : Value force_charm_url : bool force_series : bool min_units : int settings : typing.Mapping<~KT, +VT_co>[str, str] settings_yaml : str Returns -> None

name = ‘Application’
schema = {‘type’: ‘object’, ‘definitions’: {‘Macaroon’: {‘type’: ‘object’, ‘additionalProperties’: False}, ‘AddApplicationUnits’: {‘required’: [‘application’, ‘num-units’, ‘placement’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘application’: {‘type’: ‘string’}, ‘num-units’: {‘type’: ‘integer’}, ‘placement’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/Placement’}}, ‘attach-storage’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}}}, ‘ApplicationDestroy’: {‘required’: [‘application’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘application’: {‘type’: ‘string’}}}, ‘Placement’: {‘required’: [‘scope’, ‘directive’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘scope’: {‘type’: ‘string’}, ‘directive’: {‘type’: ‘string’}}}, ‘ApplicationOffer’: {‘required’: [‘source-model-tag’, ‘offer-url’, ‘offer-name’, ‘application-description’, ‘endpoints’, ‘spaces’, ‘bindings’, ‘access’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘access’: {‘type’: ‘string’}, ‘bindings’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘type’: ‘string’}}}, ‘endpoints’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/RemoteEndpoint’}}, ‘offer-name’: {‘type’: ‘string’}, ‘application-description’: {‘type’: ‘string’}, ‘source-model-tag’: {‘type’: ‘string’}, ‘spaces’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/RemoteSpace’}}, ‘offer-url’: {‘type’: ‘string’}}}, ‘RemoteSpace’: {‘required’: [‘cloud-type’, ‘name’, ‘provider-id’, ‘provider-attributes’, ‘subnets’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘cloud-type’: {‘type’: ‘string’}, ‘provider-attributes’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘type’: ‘object’, ‘additionalProperties’: True}}}, ‘subnets’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/Subnet’}}, ‘provider-id’: {‘type’: ‘string’}, ‘name’: {‘type’: ‘string’}}}, ‘ApplicationUnset’: {‘required’: [‘application’, ‘options’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘application’: {‘type’: ‘string’}, ‘options’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}}}, ‘DestroyUnitInfo’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘detached-storage’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/Entity’}}, ‘destroyed-storage’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/Entity’}}}}, ‘ApplicationUpdate’: {‘required’: [‘application’, ‘charm-url’, ‘force-charm-url’, ‘force-series’, ‘settings-yaml’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘min-units’: {‘type’: ‘integer’}, ‘charm-url’: {‘type’: ‘string’}, ‘force-series’: {‘type’: ‘boolean’}, ‘settings-yaml’: {‘type’: ‘string’}, ‘application’: {‘type’: ‘string’}, ‘constraints’: {‘$ref’: ‘#/definitions/Value’}, ‘force-charm-url’: {‘type’: ‘boolean’}, ‘settings’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘type’: ‘string’}}}}}, ‘ApplicationMetricCredentials’: {‘required’: [‘creds’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘creds’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/ApplicationMetricCredential’}}}}, ‘ApplicationExpose’: {‘required’: [‘application’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘application’: {‘type’: ‘string’}}}, ‘AddApplicationUnitsResults’: {‘required’: [‘units’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘units’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}}}, ‘CharmRelation’: {‘required’: [‘name’, ‘role’, ‘interface’, ‘optional’, ‘limit’, ‘scope’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘scope’: {‘type’: ‘string’}, ‘optional’: {‘type’: ‘boolean’}, ‘limit’: {‘type’: ‘integer’}, ‘interface’: {‘type’: ‘string’}, ‘role’: {‘type’: ‘string’}, ‘name’: {‘type’: ‘string’}}}, ‘ApplicationDeploy’: {‘required’: [‘application’, ‘series’, ‘charm-url’, ‘channel’, ‘num-units’, ‘config-yaml’, ‘constraints’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘config-yaml’: {‘type’: ‘string’}, ‘storage’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘$ref’: ‘#/definitions/Constraints’}}}, ‘num-units’: {‘type’: ‘integer’}, ‘series’: {‘type’: ‘string’}, ‘constraints’: {‘$ref’: ‘#/definitions/Value’}, ‘endpoint-bindings’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘type’: ‘string’}}}, ‘charm-url’: {‘type’: ‘string’}, ‘attach-storage’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}, ‘placement’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/Placement’}}, ‘config’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘type’: ‘string’}}}, ‘application’: {‘type’: ‘string’}, ‘channel’: {‘type’: ‘string’}, ‘resources’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘type’: ‘string’}}}}}, ‘ApplicationGet’: {‘required’: [‘application’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘application’: {‘type’: ‘string’}}}, ‘GetApplicationConstraints’: {‘required’: [‘application’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘application’: {‘type’: ‘string’}}}, ‘ConsumeApplicationArgs’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘args’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/ConsumeApplicationArg’}}}}, ‘ApplicationMetricCredential’: {‘required’: [‘application’, ‘metrics-credentials’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘application’: {‘type’: ‘string’}, ‘metrics-credentials’: {‘type’: ‘array’, ‘items’: {‘type’: ‘integer’}}}}, ‘ApplicationCharmRelationsResults’: {‘required’: [‘charm-relations’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘charm-relations’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}}}, ‘DestroyApplicationResult’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}, ‘info’: {‘$ref’: ‘#/definitions/DestroyApplicationInfo’}}}, ‘GetConstraintsResults’: {‘required’: [‘constraints’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘constraints’: {‘$ref’: ‘#/definitions/Value’}}}, ‘DestroyApplicationUnits’: {‘required’: [‘unit-names’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘unit-names’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}}}, ‘ApplicationCharmRelations’: {‘required’: [‘application’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘application’: {‘type’: ‘string’}}}, ‘StringResult’: {‘required’: [‘result’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}, ‘result’: {‘type’: ‘string’}}}, ‘AddRelation’: {‘required’: [‘endpoints’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘endpoints’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}}}, ‘Entities’: {‘required’: [‘entities’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘entities’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/Entity’}}}}, ‘ApplicationGetResults’: {‘required’: [‘application’, ‘charm’, ‘config’, ‘constraints’, ‘series’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘charm’: {‘type’: ‘string’}, ‘application’: {‘type’: ‘string’}, ‘constraints’: {‘$ref’: ‘#/definitions/Value’}, ‘series’: {‘type’: ‘string’}, ‘config’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘type’: ‘object’, ‘additionalProperties’: True}}}}}, ‘DestroyApplicationResults’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/DestroyApplicationResult’}}}}, ‘ApplicationsDeploy’: {‘required’: [‘applications’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘applications’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/ApplicationDeploy’}}}}, ‘ErrorResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/ErrorResult’}}}}, ‘ConsumeApplicationArg’: {‘required’: [‘ApplicationOffer’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘ApplicationOffer’: {‘$ref’: ‘#/definitions/ApplicationOffer’}, ‘macaroon’: {‘$ref’: ‘#/definitions/Macaroon’}, ‘application-alias’: {‘type’: ‘string’}}}, ‘SetConstraints’: {‘required’: [‘application’, ‘constraints’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘application’: {‘type’: ‘string’}, ‘constraints’: {‘$ref’: ‘#/definitions/Value’}}}, ‘ErrorInfo’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘macaroon’: {‘$ref’: ‘#/definitions/Macaroon’}, ‘macaroon-path’: {‘type’: ‘string’}}}, ‘StorageConstraints’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘pool’: {‘type’: ‘string’}, ‘size’: {‘type’: ‘integer’}, ‘count’: {‘type’: ‘integer’}}}, ‘AddRelationResults’: {‘required’: [‘endpoints’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘endpoints’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘$ref’: ‘#/definitions/CharmRelation’}}}}}, ‘Entity’: {‘required’: [‘tag’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘tag’: {‘type’: ‘string’}}}, ‘DestroyUnitResult’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}, ‘info’: {‘$ref’: ‘#/definitions/DestroyUnitInfo’}}}, ‘DestroyUnitResults’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/DestroyUnitResult’}}}}, ‘ErrorResult’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}}}, ‘RemoteEndpoint’: {‘required’: [‘name’, ‘role’, ‘interface’, ‘limit’, ‘scope’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘scope’: {‘type’: ‘string’}, ‘limit’: {‘type’: ‘integer’}, ‘interface’: {‘type’: ‘string’}, ‘role’: {‘type’: ‘string’}, ‘name’: {‘type’: ‘string’}}}, ‘DestroyRelation’: {‘required’: [‘endpoints’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘endpoints’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}}}, ‘ApplicationSet’: {‘required’: [‘application’, ‘options’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘application’: {‘type’: ‘string’}, ‘options’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘type’: ‘string’}}}}}, ‘Error’: {‘required’: [‘message’, ‘code’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘message’: {‘type’: ‘string’}, ‘code’: {‘type’: ‘string’}, ‘info’: {‘$ref’: ‘#/definitions/ErrorInfo’}}}, ‘ApplicationUnexpose’: {‘required’: [‘application’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘application’: {‘type’: ‘string’}}}, ‘Value’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘mem’: {‘type’: ‘integer’}, ‘tags’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}, ‘arch’: {‘type’: ‘string’}, ‘cores’: {‘type’: ‘integer’}, ‘root-disk’: {‘type’: ‘integer’}, ‘container’: {‘type’: ‘string’}, ‘spaces’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}, ‘cpu-power’: {‘type’: ‘integer’}, ‘virt-type’: {‘type’: ‘string’}, ‘instance-type’: {‘type’: ‘string’}}}, ‘ApplicationSetCharm’: {‘required’: [‘application’, ‘charm-url’, ‘channel’, ‘force-units’, ‘force-series’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘charm-url’: {‘type’: ‘string’}, ‘force-series’: {‘type’: ‘boolean’}, ‘storage-constraints’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘$ref’: ‘#/definitions/StorageConstraints’}}}, ‘application’: {‘type’: ‘string’}, ‘config-settings-yaml’: {‘type’: ‘string’}, ‘resource-ids’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘type’: ‘string’}}}, ‘config-settings’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘type’: ‘string’}}}, ‘channel’: {‘type’: ‘string’}, ‘force-units’: {‘type’: ‘boolean’}}}, ‘DestroyApplicationInfo’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘destroyed-units’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/Entity’}}, ‘detached-storage’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/Entity’}}, ‘destroyed-storage’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/Entity’}}}}, ‘Constraints’: {‘required’: [‘Pool’, ‘Size’, ‘Count’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘Count’: {‘type’: ‘integer’}, ‘Pool’: {‘type’: ‘string’}, ‘Size’: {‘type’: ‘integer’}}}, ‘Subnet’: {‘required’: [‘cidr’, ‘vlan-tag’, ‘life’, ‘space-tag’, ‘zones’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘cidr’: {‘type’: ‘string’}, ‘space-tag’: {‘type’: ‘string’}, ‘status’: {‘type’: ‘string’}, ‘life’: {‘type’: ‘string’}, ‘provider-network-id’: {‘type’: ‘string’}, ‘provider-space-id’: {‘type’: ‘string’}, ‘provider-id’: {‘type’: ‘string’}, ‘vlan-tag’: {‘type’: ‘integer’}, ‘zones’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}}}}, ‘properties’: {‘DestroyApplication’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/DestroyApplicationResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘DestroyUnits’: {‘type’: ‘object’, ‘properties’: {‘Params’: {‘$ref’: ‘#/definitions/DestroyApplicationUnits’}}}, ‘Unexpose’: {‘type’: ‘object’, ‘properties’: {‘Params’: {‘$ref’: ‘#/definitions/ApplicationUnexpose’}}}, ‘GetConstraints’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/GetConstraintsResults’}, ‘Params’: {‘$ref’: ‘#/definitions/GetApplicationConstraints’}}}, ‘DestroyRelation’: {‘type’: ‘object’, ‘properties’: {‘Params’: {‘$ref’: ‘#/definitions/DestroyRelation’}}}, ‘SetConstraints’: {‘type’: ‘object’, ‘properties’: {‘Params’: {‘$ref’: ‘#/definitions/SetConstraints’}}}, ‘CharmRelations’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ApplicationCharmRelationsResults’}, ‘Params’: {‘$ref’: ‘#/definitions/ApplicationCharmRelations’}}}, ‘DestroyUnit’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/DestroyUnitResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘GetCharmURL’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/StringResult’}, ‘Params’: {‘$ref’: ‘#/definitions/ApplicationGet’}}}, ‘Unset’: {‘type’: ‘object’, ‘properties’: {‘Params’: {‘$ref’: ‘#/definitions/ApplicationUnset’}}}, ‘Get’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ApplicationGetResults’}, ‘Params’: {‘$ref’: ‘#/definitions/ApplicationGet’}}}, ‘Expose’: {‘type’: ‘object’, ‘properties’: {‘Params’: {‘$ref’: ‘#/definitions/ApplicationExpose’}}}, ‘AddUnits’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/AddApplicationUnitsResults’}, ‘Params’: {‘$ref’: ‘#/definitions/AddApplicationUnits’}}}, ‘Update’: {‘type’: ‘object’, ‘properties’: {‘Params’: {‘$ref’: ‘#/definitions/ApplicationUpdate’}}}, ‘SetCharm’: {‘type’: ‘object’, ‘properties’: {‘Params’: {‘$ref’: ‘#/definitions/ApplicationSetCharm’}}}, ‘Deploy’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ErrorResults’}, ‘Params’: {‘$ref’: ‘#/definitions/ApplicationsDeploy’}}}, ‘AddRelation’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/AddRelationResults’}, ‘Params’: {‘$ref’: ‘#/definitions/AddRelation’}}}, ‘Consume’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ErrorResults’}, ‘Params’: {‘$ref’: ‘#/definitions/ConsumeApplicationArgs’}}}, ‘Set’: {‘type’: ‘object’, ‘properties’: {‘Params’: {‘$ref’: ‘#/definitions/ApplicationSet’}}}, ‘Destroy’: {‘type’: ‘object’, ‘properties’: {‘Params’: {‘$ref’: ‘#/definitions/ApplicationDestroy’}}}, ‘SetMetricCredentials’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ErrorResults’}, ‘Params’: {‘$ref’: ‘#/definitions/ApplicationMetricCredentials’}}}}}
version = 5
class juju.client._client5.UniterFacade[source]

Bases: juju.client.facade.Type

coroutine APIAddresses()[source]

Returns -> typing.Union[_ForwardRef(‘Error’), typing.Sequence<+T_co>[str]]

coroutine APIHostPorts()[source]

Returns -> typing.Sequence<+T_co>[~HostPort]<~HostPort>

coroutine Actions(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~ActionResult]<~ActionResult>

coroutine AddMetricBatches(batches)[source]

batches : typing.Sequence<+T_co>[~MetricBatchParam]<~MetricBatchParam> Returns -> typing.Sequence<+T_co>[~ErrorResult]<~ErrorResult>

coroutine AddUnitStorage(storages)[source]

storages : typing.Sequence<+T_co>[~StorageAddParams]<~StorageAddParams> Returns -> typing.Sequence<+T_co>[~ErrorResult]<~ErrorResult>

coroutine AllMachinePorts(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~MachinePortsResult]<~MachinePortsResult>

coroutine ApplicationStatus(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~ApplicationStatusResult]<~ApplicationStatusResult>

coroutine AssignedMachine(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~StringResult]<~StringResult>

coroutine AvailabilityZone(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~StringResult]<~StringResult>

coroutine BeginActions(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~ErrorResult]<~ErrorResult>

coroutine CACert()[source]

Returns -> typing.Sequence<+T_co>[int]

coroutine CharmArchiveSha256(urls)[source]

urls : typing.Sequence<+T_co>[~CharmURL]<~CharmURL> Returns -> typing.Sequence<+T_co>[~StringResult]<~StringResult>

coroutine CharmModifiedVersion(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~IntResult]<~IntResult>

coroutine CharmURL(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~StringBoolResult]<~StringBoolResult>

coroutine ClearResolved(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~ErrorResult]<~ErrorResult>

coroutine ClosePorts(entities)[source]

entities : typing.Sequence<+T_co>[~EntityPortRange]<~EntityPortRange> Returns -> typing.Sequence<+T_co>[~ErrorResult]<~ErrorResult>

coroutine ConfigSettings(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~ConfigSettingsResult]<~ConfigSettingsResult>

coroutine CurrentModel()[source]

Returns -> typing.Union[_ForwardRef(‘Error’), str]

coroutine Destroy(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~ErrorResult]<~ErrorResult>

coroutine DestroyAllSubordinates(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~ErrorResult]<~ErrorResult>

coroutine DestroyUnitStorageAttachments(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~ErrorResult]<~ErrorResult>

coroutine EnsureDead(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~ErrorResult]<~ErrorResult>

coroutine EnterScope(relation_units)[source]

relation_units : typing.Sequence<+T_co>[~RelationUnit]<~RelationUnit> Returns -> typing.Sequence<+T_co>[~ErrorResult]<~ErrorResult>

coroutine FinishActions(results)[source]

results : typing.Sequence<+T_co>[~ActionExecutionResult]<~ActionExecutionResult> Returns -> typing.Sequence<+T_co>[~ErrorResult]<~ErrorResult>

coroutine GetMeterStatus(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~MeterStatusResult]<~MeterStatusResult>

coroutine GetPrincipal(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~StringBoolResult]<~StringBoolResult>

coroutine HasSubordinates(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~BoolResult]<~BoolResult>

coroutine JoinedRelations(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~StringsResult]<~StringsResult>

coroutine LeaveScope(relation_units)[source]

relation_units : typing.Sequence<+T_co>[~RelationUnit]<~RelationUnit> Returns -> typing.Sequence<+T_co>[~ErrorResult]<~ErrorResult>

coroutine Life(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~LifeResult]<~LifeResult>

coroutine Merge(params)[source]

params : typing.Sequence<+T_co>[~MergeLeadershipSettingsParam]<~MergeLeadershipSettingsParam> Returns -> typing.Sequence<+T_co>[~ErrorResult]<~ErrorResult>

coroutine ModelConfig()[source]

Returns -> typing.Mapping<~KT, +VT_co>[str, typing.Any]

coroutine ModelUUID()[source]

Returns -> typing.Union[_ForwardRef(‘Error’), str]

coroutine NetworkInfo(bindings, unit)[source]

bindings : typing.Sequence<+T_co>[str] unit : str Returns -> typing.Mapping<~KT, +VT_co>[str, ~NetworkInfoResult]<~NetworkInfoResult>

coroutine OpenPorts(entities)[source]

entities : typing.Sequence<+T_co>[~EntityPortRange]<~EntityPortRange> Returns -> typing.Sequence<+T_co>[~ErrorResult]<~ErrorResult>

coroutine PrivateAddress(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~StringResult]<~StringResult>

coroutine ProviderType()[source]

Returns -> typing.Union[_ForwardRef(‘Error’), str]

coroutine PublicAddress(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~StringResult]<~StringResult>

coroutine Read(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~GetLeadershipSettingsResult]<~GetLeadershipSettingsResult>

coroutine ReadRemoteSettings(relation_unit_pairs)[source]

relation_unit_pairs : typing.Sequence<+T_co>[~RelationUnitPair]<~RelationUnitPair> Returns -> typing.Sequence<+T_co>[~SettingsResult]<~SettingsResult>

coroutine ReadSettings(relation_units)[source]

relation_units : typing.Sequence<+T_co>[~RelationUnit]<~RelationUnit> Returns -> typing.Sequence<+T_co>[~SettingsResult]<~SettingsResult>

coroutine Relation(relation_units)[source]

relation_units : typing.Sequence<+T_co>[~RelationUnit]<~RelationUnit> Returns -> typing.Sequence<+T_co>[~RelationResult]<~RelationResult>

coroutine RelationById(relation_ids)[source]

relation_ids : typing.Sequence<+T_co>[int] Returns -> typing.Sequence<+T_co>[~RelationResult]<~RelationResult>

coroutine RemoveStorageAttachments(ids)[source]

ids : typing.Sequence<+T_co>[~StorageAttachmentId]<~StorageAttachmentId> Returns -> typing.Sequence<+T_co>[~ErrorResult]<~ErrorResult>

coroutine RequestReboot(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~ErrorResult]<~ErrorResult>

coroutine Resolved(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~ResolvedModeResult]<~ResolvedModeResult>

coroutine SLALevel()[source]

Returns -> typing.Union[_ForwardRef(‘Error’), str]

coroutine SetAgentStatus(entities)[source]

entities : typing.Sequence<+T_co>[~EntityStatusArgs]<~EntityStatusArgs> Returns -> typing.Sequence<+T_co>[~ErrorResult]<~ErrorResult>

coroutine SetApplicationStatus(entities)[source]

entities : typing.Sequence<+T_co>[~EntityStatusArgs]<~EntityStatusArgs> Returns -> typing.Sequence<+T_co>[~ErrorResult]<~ErrorResult>

coroutine SetCharmURL(entities)[source]

entities : typing.Sequence<+T_co>[~EntityCharmURL]<~EntityCharmURL> Returns -> typing.Sequence<+T_co>[~ErrorResult]<~ErrorResult>

coroutine SetStatus(entities)[source]

entities : typing.Sequence<+T_co>[~EntityStatusArgs]<~EntityStatusArgs> Returns -> typing.Sequence<+T_co>[~ErrorResult]<~ErrorResult>

coroutine SetUnitStatus(entities)[source]

entities : typing.Sequence<+T_co>[~EntityStatusArgs]<~EntityStatusArgs> Returns -> typing.Sequence<+T_co>[~ErrorResult]<~ErrorResult>

coroutine SetWorkloadVersion(entities)[source]

entities : typing.Sequence<+T_co>[~EntityWorkloadVersion]<~EntityWorkloadVersion> Returns -> typing.Sequence<+T_co>[~ErrorResult]<~ErrorResult>

coroutine StorageAttachmentLife(ids)[source]

ids : typing.Sequence<+T_co>[~StorageAttachmentId]<~StorageAttachmentId> Returns -> typing.Sequence<+T_co>[~LifeResult]<~LifeResult>

coroutine StorageAttachments(ids)[source]

ids : typing.Sequence<+T_co>[~StorageAttachmentId]<~StorageAttachmentId> Returns -> typing.Sequence<+T_co>[~StorageAttachmentResult]<~StorageAttachmentResult>

coroutine UnitStatus(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~StatusResult]<~StatusResult>

coroutine UnitStorageAttachments(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~StorageAttachmentIdsResult]<~StorageAttachmentIdsResult>

coroutine UpdateSettings(relation_units)[source]

relation_units : typing.Sequence<+T_co>[~RelationUnitSettings]<~RelationUnitSettings> Returns -> typing.Sequence<+T_co>[~ErrorResult]<~ErrorResult>

coroutine Watch(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~NotifyWatchResult]<~NotifyWatchResult>

coroutine WatchAPIHostPorts()[source]

Returns -> typing.Union[str, _ForwardRef(‘Error’)]

coroutine WatchActionNotifications(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~StringsWatchResult]<~StringsWatchResult>

coroutine WatchConfigSettings(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~NotifyWatchResult]<~NotifyWatchResult>

coroutine WatchForModelConfigChanges()[source]

Returns -> typing.Union[str, _ForwardRef(‘Error’)]

coroutine WatchLeadershipSettings(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~NotifyWatchResult]<~NotifyWatchResult>

coroutine WatchMeterStatus(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~NotifyWatchResult]<~NotifyWatchResult>

coroutine WatchRelationUnits(relation_units)[source]

relation_units : typing.Sequence<+T_co>[~RelationUnit]<~RelationUnit> Returns -> typing.Sequence<+T_co>[~RelationUnitsWatchResult]<~RelationUnitsWatchResult>

coroutine WatchStorageAttachments(ids)[source]

ids : typing.Sequence<+T_co>[~StorageAttachmentId]<~StorageAttachmentId> Returns -> typing.Sequence<+T_co>[~NotifyWatchResult]<~NotifyWatchResult>

coroutine WatchUnitAddresses(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~NotifyWatchResult]<~NotifyWatchResult>

coroutine WatchUnitRelations(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~StringsWatchResult]<~StringsWatchResult>

coroutine WatchUnitStorageAttachments(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~StringsWatchResult]<~StringsWatchResult>

coroutine WorkloadVersion(entities)[source]

entities : typing.Sequence<+T_co>[~Entity]<~Entity> Returns -> typing.Sequence<+T_co>[~StringResult]<~StringResult>

name = ‘Uniter’
schema = {‘type’: ‘object’, ‘definitions’: {‘EntityWorkloadVersion’: {‘required’: [‘tag’, ‘workload-version’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘tag’: {‘type’: ‘string’}, ‘workload-version’: {‘type’: ‘string’}}}, ‘Macaroon’: {‘type’: ‘object’, ‘additionalProperties’: False}, ‘EntityWorkloadVersions’: {‘required’: [‘entities’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘entities’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/EntityWorkloadVersion’}}}}, ‘EntitiesPortRanges’: {‘required’: [‘entities’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘entities’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/EntityPortRange’}}}}, ‘ActionExecutionResults’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/ActionExecutionResult’}}}}, ‘StorageAttachmentIdsResult’: {‘required’: [‘result’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}, ‘result’: {‘$ref’: ‘#/definitions/StorageAttachmentIds’}}}, ‘ActionResults’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/ActionResult’}}}}, ‘StatusResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/StatusResult’}}}}, ‘SettingsResult’: {‘required’: [‘settings’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}, ‘settings’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘type’: ‘string’}}}}}, ‘BoolResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/BoolResult’}}}}, ‘HostPort’: {‘required’: [‘Address’, ‘port’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘port’: {‘type’: ‘integer’}, ‘Address’: {‘$ref’: ‘#/definitions/Address’}}}, ‘BytesResult’: {‘required’: [‘result’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘result’: {‘type’: ‘array’, ‘items’: {‘type’: ‘integer’}}}}, ‘EntityCharmURL’: {‘required’: [‘tag’, ‘charm-url’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘tag’: {‘type’: ‘string’}, ‘charm-url’: {‘type’: ‘string’}}}, ‘RelationUnit’: {‘required’: [‘relation’, ‘unit’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘unit’: {‘type’: ‘string’}, ‘relation’: {‘type’: ‘string’}}}, ‘MetricBatchParam’: {‘required’: [‘tag’, ‘batch’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘tag’: {‘type’: ‘string’}, ‘batch’: {‘$ref’: ‘#/definitions/MetricBatch’}}}, ‘MetricBatchParams’: {‘required’: [‘batches’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘batches’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/MetricBatchParam’}}}}, ‘NotifyWatchResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/NotifyWatchResult’}}}}, ‘GetLeadershipSettingsResult’: {‘required’: [‘settings’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}, ‘settings’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘type’: ‘string’}}}}}, ‘StorageAddParams’: {‘required’: [‘unit’, ‘name’, ‘storage’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘unit’: {‘type’: ‘string’}, ‘storage’: {‘$ref’: ‘#/definitions/StorageConstraints’}, ‘name’: {‘type’: ‘string’}}}, ‘Metric’: {‘required’: [‘key’, ‘value’, ‘time’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘key’: {‘type’: ‘string’}, ‘value’: {‘type’: ‘string’}, ‘time’: {‘type’: ‘string’, ‘format’: ‘date-time’}}}, ‘NotifyWatchResult’: {‘required’: [‘NotifyWatcherId’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘NotifyWatcherId’: {‘type’: ‘string’}, ‘error’: {‘$ref’: ‘#/definitions/Error’}}}, ‘StringResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/StringResult’}}}}, ‘MeterStatusResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/MeterStatusResult’}}}}, ‘NetworkInfoResult’: {‘required’: [‘network-info’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}, ‘network-info’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/NetworkInfo’}}}}, ‘RelationUnitsWatchResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/RelationUnitsWatchResult’}}}}, ‘CharmURL’: {‘required’: [‘url’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘url’: {‘type’: ‘string’}}}, ‘LifeResult’: {‘required’: [‘life’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}, ‘life’: {‘type’: ‘string’}}}, ‘ActionResult’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘status’: {‘type’: ‘string’}, ‘output’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘type’: ‘object’, ‘additionalProperties’: True}}}, ‘enqueued’: {‘type’: ‘string’, ‘format’: ‘date-time’}, ‘message’: {‘type’: ‘string’}, ‘error’: {‘$ref’: ‘#/definitions/Error’}, ‘action’: {‘$ref’: ‘#/definitions/Action’}, ‘started’: {‘type’: ‘string’, ‘format’: ‘date-time’}, ‘completed’: {‘type’: ‘string’, ‘format’: ‘date-time’}}}, ‘CharmURLs’: {‘required’: [‘urls’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘urls’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/CharmURL’}}}}, ‘StringBoolResult’: {‘required’: [‘result’, ‘ok’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘ok’: {‘type’: ‘boolean’}, ‘error’: {‘$ref’: ‘#/definitions/Error’}, ‘result’: {‘type’: ‘string’}}}, ‘StringsWatchResult’: {‘required’: [‘watcher-id’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘watcher-id’: {‘type’: ‘string’}, ‘changes’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}, ‘error’: {‘$ref’: ‘#/definitions/Error’}}}, ‘RelationUnitsChange’: {‘required’: [‘changed’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘changed’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘$ref’: ‘#/definitions/UnitSettings’}}}, ‘departed’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}}}, ‘ErrorInfo’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘macaroon’: {‘$ref’: ‘#/definitions/Macaroon’}, ‘macaroon-path’: {‘type’: ‘string’}}}, ‘MachinePortsResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/MachinePortsResult’}}}}, ‘StoragesAddParams’: {‘required’: [‘storages’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘storages’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/StorageAddParams’}}}}, ‘Entity’: {‘required’: [‘tag’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘tag’: {‘type’: ‘string’}}}, ‘StringsResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/StringsResult’}}}}, ‘StorageAttachmentResults’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/StorageAttachmentResult’}}}}, ‘ModelConfigResult’: {‘required’: [‘config’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘config’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘type’: ‘object’, ‘additionalProperties’: True}}}}}, ‘ErrorResult’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}}}, ‘StringsWatchResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/StringsWatchResult’}}}}, ‘RelationUnitSettings’: {‘required’: [‘relation’, ‘unit’, ‘settings’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘unit’: {‘type’: ‘string’}, ‘settings’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘type’: ‘string’}}}, ‘relation’: {‘type’: ‘string’}}}, ‘GetLeadershipSettingsBulkResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/GetLeadershipSettingsResult’}}}}, ‘RelationUnitPairs’: {‘required’: [‘relation-unit-pairs’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘relation-unit-pairs’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/RelationUnitPair’}}}}, ‘Entities’: {‘required’: [‘entities’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘entities’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/Entity’}}}}, ‘MachinePortsResult’: {‘required’: [‘ports’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}, ‘ports’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/MachinePortRange’}}}}, ‘StringsResult’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}, ‘result’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}}}, ‘RelationUnitsWatchResult’: {‘required’: [‘watcher-id’, ‘changes’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘watcher-id’: {‘type’: ‘string’}, ‘changes’: {‘$ref’: ‘#/definitions/RelationUnitsChange’}, ‘error’: {‘$ref’: ‘#/definitions/Error’}}}, ‘Endpoint’: {‘required’: [‘application-name’, ‘relation’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘relation’: {‘$ref’: ‘#/definitions/CharmRelation’}, ‘application-name’: {‘type’: ‘string’}}}, ‘MeterStatusResult’: {‘required’: [‘code’, ‘info’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}, ‘code’: {‘type’: ‘string’}, ‘info’: {‘type’: ‘string’}}}, ‘RelationIds’: {‘required’: [‘relation-ids’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘relation-ids’: {‘type’: ‘array’, ‘items’: {‘type’: ‘integer’}}}}, ‘PortRange’: {‘required’: [‘from-port’, ‘to-port’, ‘protocol’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘protocol’: {‘type’: ‘string’}, ‘to-port’: {‘type’: ‘integer’}, ‘from-port’: {‘type’: ‘integer’}}}, ‘RelationResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/RelationResult’}}}}, ‘BoolResult’: {‘required’: [‘result’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}, ‘result’: {‘type’: ‘boolean’}}}, ‘EntityStatusArgs’: {‘required’: [‘tag’, ‘status’, ‘info’, ‘data’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘tag’: {‘type’: ‘string’}, ‘status’: {‘type’: ‘string’}, ‘info’: {‘type’: ‘string’}, ‘data’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘type’: ‘object’, ‘additionalProperties’: True}}}}}, ‘StorageAttachmentIds’: {‘required’: [‘ids’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘ids’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/StorageAttachmentId’}}}}, ‘Error’: {‘required’: [‘message’, ‘code’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘message’: {‘type’: ‘string’}, ‘code’: {‘type’: ‘string’}, ‘info’: {‘$ref’: ‘#/definitions/ErrorInfo’}}}, ‘InterfaceAddress’: {‘required’: [‘value’, ‘cidr’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘cidr’: {‘type’: ‘string’}, ‘value’: {‘type’: ‘string’}}}, ‘NetworkInfoParams’: {‘required’: [‘unit’, ‘bindings’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘unit’: {‘type’: ‘string’}, ‘bindings’: {‘type’: ‘array’, ‘items’: {‘type’: ‘string’}}}}, ‘StringResult’: {‘required’: [‘result’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}, ‘result’: {‘type’: ‘string’}}}, ‘CharmRelation’: {‘required’: [‘name’, ‘role’, ‘interface’, ‘optional’, ‘limit’, ‘scope’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘scope’: {‘type’: ‘string’}, ‘optional’: {‘type’: ‘boolean’}, ‘limit’: {‘type’: ‘integer’}, ‘interface’: {‘type’: ‘string’}, ‘role’: {‘type’: ‘string’}, ‘name’: {‘type’: ‘string’}}}, ‘IntResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/IntResult’}}}}, ‘RelationUnits’: {‘required’: [‘relation-units’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘relation-units’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/RelationUnit’}}}}, ‘ModelResult’: {‘required’: [‘name’, ‘uuid’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}, ‘uuid’: {‘type’: ‘string’}, ‘name’: {‘type’: ‘string’}}}, ‘Action’: {‘required’: [‘tag’, ‘receiver’, ‘name’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘tag’: {‘type’: ‘string’}, ‘receiver’: {‘type’: ‘string’}, ‘parameters’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘type’: ‘object’, ‘additionalProperties’: True}}}, ‘name’: {‘type’: ‘string’}}}, ‘SettingsResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/SettingsResult’}}}}, ‘NetworkInfoResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘$ref’: ‘#/definitions/NetworkInfoResult’}}}}}, ‘RelationResult’: {‘required’: [‘life’, ‘id’, ‘key’, ‘endpoint’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘id’: {‘type’: ‘integer’}, ‘error’: {‘$ref’: ‘#/definitions/Error’}, ‘endpoint’: {‘$ref’: ‘#/definitions/Endpoint’}, ‘life’: {‘type’: ‘string’}, ‘key’: {‘type’: ‘string’}}}, ‘RelationUnitPair’: {‘required’: [‘relation’, ‘local-unit’, ‘remote-unit’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘local-unit’: {‘type’: ‘string’}, ‘relation’: {‘type’: ‘string’}, ‘remote-unit’: {‘type’: ‘string’}}}, ‘Address’: {‘required’: [‘value’, ‘type’, ‘scope’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘type’: {‘type’: ‘string’}, ‘scope’: {‘type’: ‘string’}, ‘space-name’: {‘type’: ‘string’}, ‘value’: {‘type’: ‘string’}}}, ‘MergeLeadershipSettingsBulkParams’: {‘required’: [‘params’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘params’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/MergeLeadershipSettingsParam’}}}}, ‘IntResult’: {‘required’: [‘result’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}, ‘result’: {‘type’: ‘integer’}}}, ‘ConfigSettingsResult’: {‘required’: [‘settings’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}, ‘settings’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘type’: ‘object’, ‘additionalProperties’: True}}}}}, ‘SetStatus’: {‘required’: [‘entities’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘entities’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/EntityStatusArgs’}}}}, ‘RelationUnitsSettings’: {‘required’: [‘relation-units’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘relation-units’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/RelationUnitSettings’}}}}, ‘MachinePortRange’: {‘required’: [‘unit-tag’, ‘relation-tag’, ‘port-range’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘relation-tag’: {‘type’: ‘string’}, ‘port-range’: {‘$ref’: ‘#/definitions/PortRange’}, ‘unit-tag’: {‘type’: ‘string’}}}, ‘APIHostPortsResult’: {‘required’: [‘servers’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘servers’: {‘type’: ‘array’, ‘items’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/HostPort’}}}}}, ‘ConfigSettingsResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/ConfigSettingsResult’}}}}, ‘ErrorResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/ErrorResult’}}}}, ‘StringBoolResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/StringBoolResult’}}}}, ‘StorageAttachmentId’: {‘required’: [‘storage-tag’, ‘unit-tag’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘storage-tag’: {‘type’: ‘string’}, ‘unit-tag’: {‘type’: ‘string’}}}, ‘LifeResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/LifeResult’}}}}, ‘EntityPortRange’: {‘required’: [‘tag’, ‘protocol’, ‘from-port’, ‘to-port’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘protocol’: {‘type’: ‘string’}, ‘tag’: {‘type’: ‘string’}, ‘to-port’: {‘type’: ‘integer’}, ‘from-port’: {‘type’: ‘integer’}}}, ‘StorageAttachmentResult’: {‘required’: [‘result’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}, ‘result’: {‘$ref’: ‘#/definitions/StorageAttachment’}}}, ‘StorageConstraints’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘pool’: {‘type’: ‘string’}, ‘size’: {‘type’: ‘integer’}, ‘count’: {‘type’: ‘integer’}}}, ‘MergeLeadershipSettingsParam’: {‘required’: [‘application-tag’, ‘settings’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘application-tag’: {‘type’: ‘string’}, ‘settings’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘type’: ‘string’}}}}}, ‘MetricBatch’: {‘required’: [‘uuid’, ‘charm-url’, ‘created’, ‘metrics’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘metrics’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/Metric’}}, ‘created’: {‘type’: ‘string’, ‘format’: ‘date-time’}, ‘charm-url’: {‘type’: ‘string’}, ‘uuid’: {‘type’: ‘string’}}}, ‘UnitSettings’: {‘required’: [‘version’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘version’: {‘type’: ‘integer’}}}, ‘ApplicationStatusResult’: {‘required’: [‘application’, ‘units’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘application’: {‘$ref’: ‘#/definitions/StatusResult’}, ‘error’: {‘$ref’: ‘#/definitions/Error’}, ‘units’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘$ref’: ‘#/definitions/StatusResult’}}}}}, ‘StorageAttachment’: {‘required’: [‘storage-tag’, ‘owner-tag’, ‘unit-tag’, ‘kind’, ‘location’, ‘life’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘kind’: {‘type’: ‘integer’}, ‘location’: {‘type’: ‘string’}, ‘unit-tag’: {‘type’: ‘string’}, ‘life’: {‘type’: ‘string’}, ‘owner-tag’: {‘type’: ‘string’}, ‘storage-tag’: {‘type’: ‘string’}}}, ‘ResolvedModeResult’: {‘required’: [‘mode’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘error’: {‘$ref’: ‘#/definitions/Error’}, ‘mode’: {‘type’: ‘string’}}}, ‘ApplicationStatusResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/ApplicationStatusResult’}}}}, ‘NetworkInfo’: {‘required’: [‘mac-address’, ‘interface-name’, ‘addresses’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘interface-name’: {‘type’: ‘string’}, ‘mac-address’: {‘type’: ‘string’}, ‘addresses’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/InterfaceAddress’}}}}, ‘StorageAttachmentIdsResults’: {‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/StorageAttachmentIdsResult’}}}}, ‘EntitiesCharmURL’: {‘required’: [‘entities’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘entities’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/EntityCharmURL’}}}}, ‘ActionExecutionResult’: {‘required’: [‘action-tag’, ‘status’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘message’: {‘type’: ‘string’}, ‘action-tag’: {‘type’: ‘string’}, ‘status’: {‘type’: ‘string’}, ‘results’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘type’: ‘object’, ‘additionalProperties’: True}}}}}, ‘StatusResult’: {‘required’: [‘id’, ‘life’, ‘status’, ‘info’, ‘data’, ‘since’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘status’: {‘type’: ‘string’}, ‘id’: {‘type’: ‘string’}, ‘life’: {‘type’: ‘string’}, ‘error’: {‘$ref’: ‘#/definitions/Error’}, ‘since’: {‘type’: ‘string’, ‘format’: ‘date-time’}, ‘info’: {‘type’: ‘string’}, ‘data’: {‘type’: ‘object’, ‘patternProperties’: {‘.*’: {‘type’: ‘object’, ‘additionalProperties’: True}}}}}, ‘ResolvedModeResults’: {‘required’: [‘results’], ‘type’: ‘object’, ‘additionalProperties’: False, ‘properties’: {‘results’: {‘type’: ‘array’, ‘items’: {‘$ref’: ‘#/definitions/ResolvedModeResult’}}}}}, ‘properties’: {‘UnitStorageAttachments’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/StorageAttachmentIdsResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘AddUnitStorage’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ErrorResults’}, ‘Params’: {‘$ref’: ‘#/definitions/StoragesAddParams’}}}, ‘RequestReboot’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ErrorResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘WatchActionNotifications’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/StringsWatchResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘DestroyUnitStorageAttachments’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ErrorResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘RelationById’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/RelationResults’}, ‘Params’: {‘$ref’: ‘#/definitions/RelationIds’}}}, ‘RemoveStorageAttachments’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ErrorResults’}, ‘Params’: {‘$ref’: ‘#/definitions/StorageAttachmentIds’}}}, ‘WatchForModelConfigChanges’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/NotifyWatchResult’}}}, ‘SetUnitStatus’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ErrorResults’}, ‘Params’: {‘$ref’: ‘#/definitions/SetStatus’}}}, ‘ModelConfig’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ModelConfigResult’}}}, ‘DestroyAllSubordinates’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ErrorResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘AddMetricBatches’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ErrorResults’}, ‘Params’: {‘$ref’: ‘#/definitions/MetricBatchParams’}}}, ‘UpdateSettings’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ErrorResults’}, ‘Params’: {‘$ref’: ‘#/definitions/RelationUnitsSettings’}}}, ‘UnitStatus’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/StatusResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘LeaveScope’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ErrorResults’}, ‘Params’: {‘$ref’: ‘#/definitions/RelationUnits’}}}, ‘ReadSettings’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/SettingsResults’}, ‘Params’: {‘$ref’: ‘#/definitions/RelationUnits’}}}, ‘AvailabilityZone’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/StringResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘SetApplicationStatus’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ErrorResults’}, ‘Params’: {‘$ref’: ‘#/definitions/SetStatus’}}}, ‘OpenPorts’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ErrorResults’}, ‘Params’: {‘$ref’: ‘#/definitions/EntitiesPortRanges’}}}, ‘WatchLeadershipSettings’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/NotifyWatchResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘StorageAttachments’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/StorageAttachmentResults’}, ‘Params’: {‘$ref’: ‘#/definitions/StorageAttachmentIds’}}}, ‘EnsureDead’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ErrorResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘APIAddresses’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/StringsResult’}}}, ‘Merge’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ErrorResults’}, ‘Params’: {‘$ref’: ‘#/definitions/MergeLeadershipSettingsBulkParams’}}}, ‘PrivateAddress’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/StringResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘WorkloadVersion’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/StringResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘ApplicationStatus’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ApplicationStatusResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘BeginActions’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ErrorResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘SetStatus’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ErrorResults’}, ‘Params’: {‘$ref’: ‘#/definitions/SetStatus’}}}, ‘CharmURL’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/StringBoolResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘CurrentModel’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ModelResult’}}}, ‘AllMachinePorts’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/MachinePortsResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘ClosePorts’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ErrorResults’}, ‘Params’: {‘$ref’: ‘#/definitions/EntitiesPortRanges’}}}, ‘WatchUnitAddresses’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/NotifyWatchResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘ProviderType’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/StringResult’}}}, ‘CharmModifiedVersion’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/IntResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘WatchConfigSettings’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/NotifyWatchResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘Life’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/LifeResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘Resolved’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ResolvedModeResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘SetCharmURL’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ErrorResults’}, ‘Params’: {‘$ref’: ‘#/definitions/EntitiesCharmURL’}}}, ‘Relation’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/RelationResults’}, ‘Params’: {‘$ref’: ‘#/definitions/RelationUnits’}}}, ‘Watch’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/NotifyWatchResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘WatchMeterStatus’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/NotifyWatchResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘ReadRemoteSettings’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/SettingsResults’}, ‘Params’: {‘$ref’: ‘#/definitions/RelationUnitPairs’}}}, ‘WatchUnitStorageAttachments’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/StringsWatchResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘CharmArchiveSha256’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/StringResults’}, ‘Params’: {‘$ref’: ‘#/definitions/CharmURLs’}}}, ‘GetMeterStatus’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/MeterStatusResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘ModelUUID’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/StringResult’}}}, ‘GetPrincipal’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/StringBoolResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘PublicAddress’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/StringResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘StorageAttachmentLife’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/LifeResults’}, ‘Params’: {‘$ref’: ‘#/definitions/StorageAttachmentIds’}}}, ‘WatchAPIHostPorts’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/NotifyWatchResult’}}}, ‘EnterScope’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ErrorResults’}, ‘Params’: {‘$ref’: ‘#/definitions/RelationUnits’}}}, ‘Actions’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ActionResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘Destroy’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ErrorResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘SetAgentStatus’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ErrorResults’}, ‘Params’: {‘$ref’: ‘#/definitions/SetStatus’}}}, ‘SetWorkloadVersion’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ErrorResults’}, ‘Params’: {‘$ref’: ‘#/definitions/EntityWorkloadVersions’}}}, ‘WatchUnitRelations’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/StringsWatchResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘FinishActions’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ErrorResults’}, ‘Params’: {‘$ref’: ‘#/definitions/ActionExecutionResults’}}}, ‘HasSubordinates’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/BoolResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘APIHostPorts’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/APIHostPortsResult’}}}, ‘WatchRelationUnits’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/RelationUnitsWatchResults’}, ‘Params’: {‘$ref’: ‘#/definitions/RelationUnits’}}}, ‘WatchStorageAttachments’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/NotifyWatchResults’}, ‘Params’: {‘$ref’: ‘#/definitions/StorageAttachmentIds’}}}, ‘JoinedRelations’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/StringsResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘CACert’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/BytesResult’}}}, ‘NetworkInfo’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/NetworkInfoResults’}, ‘Params’: {‘$ref’: ‘#/definitions/NetworkInfoParams’}}}, ‘Read’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/GetLeadershipSettingsBulkResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘ClearResolved’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ErrorResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘SLALevel’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/StringResult’}}}, ‘AssignedMachine’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/StringResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}, ‘ConfigSettings’: {‘type’: ‘object’, ‘properties’: {‘Result’: {‘$ref’: ‘#/definitions/ConfigSettingsResults’}, ‘Params’: {‘$ref’: ‘#/definitions/Entities’}}}}}
version = 5

juju.client.codegen module

class juju.client.codegen.Capture(default_factory=<class ‘juju.client.codegen.CodeWriter’>, *args, **kwargs)[source]

Bases: collections.defaultdict

A collection of CodeWriter objects, together representing a Python module.

clear(name)[source]

Reset one of the keys in this class, if it exists.

This is necessary, because we don’t worry about de-duplicating the schemas for each version of juju up front, and this gives us a way to sort of de-duplicate on the fly, by resetting a specific CodeWriter instance before we start to write a class into it.

class juju.client.codegen.CodeWriter[source]

Bases: _io.StringIO

Blob of text that, when used in the context of facade.py, ends up holding the source code for a Python class and associated methods.

CLASS = 0
INDENT = ‘ ‘
METHOD = 1
write(msg, depth=0)[source]

juju.client.connection module

class juju.client.connection.Connection(endpoint, uuid, username, password, cacert=None, macaroons=None, loop=None, max_frame_size=’default_frame_size’)[source]

Bases: object

Usage:

# Connect to an arbitrary api server
client = await Connection.connect(
    api_endpoint, model_uuid, username, password, cacert)

# Connect using a controller/model name
client = await Connection.connect_model('local.local:default')

# Connect to the currently active model
client = await Connection.connect_current()

Note: Any connection method or constructor can accept an optional loop argument to override the default event loop from asyncio.get_event_loop.

DEFAULT_FRAME_SIZE = ‘default_frame_size’
MAX_FRAME_SIZE = 4194304

Maximum size for a single frame. Defaults to 4MB.

build_facades(facades)[source]
coroutine clone()[source]

Return a new Connection, connected to the same websocket endpoint as this one.

coroutine close()[source]
coroutine connect(endpoint, uuid, username, password, cacert=None, macaroons=None, loop=None, max_frame_size=None)[source]

Connect to the websocket.

If uuid is None, the connection will be to the controller. Otherwise it will be to the model.

coroutine connect_controller(controller_name, loop=None, max_frame_size=None)[source]

Connect to a controller by name.

coroutine connect_current(loop=None, max_frame_size=None)[source]

Connect to the currently active model.

coroutine connect_current_controller(loop=None, max_frame_size=None)[source]

Connect to the currently active controller.

coroutine connect_model(model, loop=None, max_frame_size=None)[source]

Connect to a model by name.

Parameters:model (str) – [<controller>:]<model>
coroutine controller()[source]

Return a Connection to the controller at self.endpoint

http_headers()[source]

Return dictionary of http headers necessary for making an http connection to the endpoint of this Connection.

Returns:Dictionary of headers
https_connection()[source]

Return an https connection to this Connection’s endpoint.

Returns a 3-tuple containing:

1. The :class:`HTTPSConnection` instance
2. Dictionary of auth headers to be used with the connection
3. The root url path (str) to be used for requests.
is_open
coroutine login()[source]
coroutine open()[source]
coroutine pinger()[source]

A Controller can time us out if we are silent for too long. This is especially true in JaaS, which has a fairly strict timeout.

To prevent timing out, we send a ping every ten seconds.

coroutine receiver()[source]
coroutine reconnect()[source]

Force a reconnection.

coroutine recv(request_id)[source]
coroutine redirect_info()[source]
coroutine rpc(msg, encoder=None)[source]
class juju.client.connection.JujuData[source]

Bases: object

accounts()[source]
controllers()[source]
current_controller()[source]
current_model(controller_name=None)[source]
models()[source]
class juju.client.connection.Monitor(connection)[source]

Bases: object

Monitor helper class for our Connection class.

Contains a reference to an instantiated Connection, along with a reference to the Connection.receiver Future. Upon inspecttion of these objects, this class determines whether the connection is in an ‘error’, ‘connected’ or ‘disconnected’ state.

Use this class to stay up to date on the health of a connection, and take appropriate action if the connection errors out due to network issues or other unexpected circumstances.

CONNECTED = ‘connected’
DISCONNECTED = ‘disconnected’
DISCONNECTING = ‘disconnecting’
ERROR = ‘error’
status

Determine the status of the connection and receiver, and return ERROR, CONNECTED, or DISCONNECTED as appropriate.

For simplicity, we only consider ourselves to be connected after the Connection class has setup a receiver task. This only happens after the websocket is open, and the connection isn’t usable until that receiver has been started.

juju.client.connection.get_macaroons(controller_name=None)[source]

Decode and return macaroons from default ~/.go-cookies

juju.client.facade module

class juju.client.facade.Args(defs)[source]

Bases: list

PyToSchemaMapping()[source]
SchemaToPyMapping()[source]
as_kwargs()[source]
do_explode(kind)[source]
get_doc()[source]
typed()[source]
class juju.client.facade.KindRegistry[source]

Bases: dict

getObj(name, version=None)[source]
lookup(name, version=None)[source]

If version is omitted, max version is used

register(name, version, obj)[source]
juju.client.facade.ReturnMapping(cls)[source]
class juju.client.facade.Schema(schema)[source]

Bases: dict

buildArray(obj, d=0)[source]
buildDefinitions()[source]
buildObject(node, name=None, d=0)[source]
deref(prop, name)[source]
classmethod referenceName(ref)[source]
resolveDefinition(ref)[source]
class juju.client.facade.Type[source]

Bases: object

connect(connection)[source]
classmethod from_json(data)[source]
coroutine rpc(msg)[source]
serialize()[source]
to_json()[source]
class juju.client.facade.TypeEncoder(skipkeys=False, ensure_ascii=True, check_circular=True, allow_nan=True, sort_keys=False, indent=None, separators=None, default=None)[source]

Bases: json.encoder.JSONEncoder

default(obj)[source]
class juju.client.facade.TypeRegistry[source]

Bases: dict

get(name)[source]
juju.client.facade.booler(v)[source]
juju.client.facade.buildFacade(schema)[source]
juju.client.facade.buildMethods(cls, capture)[source]
juju.client.facade.buildTypes(schema, capture)[source]
juju.client.facade.generate_facades(options)[source]
juju.client.facade.getRefType(ref)[source]
juju.client.facade.main()[source]
juju.client.facade.makeFunc(cls, name, params, result, async=True)[source]
juju.client.facade.make_factory(name)[source]
juju.client.facade.name_to_py(name)[source]
juju.client.facade.objType(obj)[source]
juju.client.facade.refType(obj)[source]
juju.client.facade.retspec(defs)[source]
juju.client.facade.return_type(defs)[source]
juju.client.facade.setup()[source]
juju.client.facade.strcast(kind, keep_builtins=False)[source]
juju.client.facade.type_anno_func(func, defs, is_result=False)[source]
juju.client.facade.write_client(captures, options)[source]

Write the TypeFactory classes to _client.py, along with some imports and tables so that we can look up versioned Facades.

juju.client.facade.write_definitions(captures, options, version)[source]

Write auxillary (non versioned) classes to _definitions.py The auxillary classes currently get written redudantly into each capture object, so we can look in one of them – we just use the last one from the loop above.

juju.client.facade.write_facades(captures, options)[source]

Write the Facades to the appropriate _client<version>.py

juju.client.overrides module

class juju.client.overrides.Delta(deltas=None)[source]

Bases: juju.client.facade.Type

A single websocket delta.

Variables:
  • entity (str) – The entity name, e.g. ‘unit’, ‘application’
  • type (str) – The delta type, e.g. ‘add’, ‘change’, ‘remove’
  • data (dict) – The raw delta data

NOTE: The ‘data’ variable above is being incorrectly cross-linked by a Sphinx bug: https://github.com/sphinx-doc/sphinx/issues/2549

classmethod from_json(data)[source]
class juju.client.overrides.Number(major=None, minor=None, patch=None, tag=None, build=None, **unknown_fields)[source]

Bases: juju.client._definitions.Number

This type represents a semver string.

Because it is not standard JSON, the typical from_json parsing fails and the parsing must be handled specially.

See https://github.com/juju/version for more info.

classmethod from_json(data)[source]
numberPat = re.compile(‘^(\d{1,9})\.(\d{1,9})(?:\.|-([a-z]+))(\d{1,9})(\.\d{1,9})?$’)
serialize()[source]
to_json()[source]
class juju.client.overrides.Binary(number=None, series=None, arch=None, **unknown_fields)[source]

Bases: juju.client._definitions.Binary

This type represents a semver string with additional series and arch info.

Because it is not standard JSON, the typical from_json parsing fails and the parsing must be handled specially.

See https://github.com/juju/version for more info.

binaryPat = re.compile(‘^(\d{1,9})\.(\d{1,9})(?:\.|-([a-z]+))(\d{1,9})(\.\d{1,9})?-([^-]+)-([^-]+)$’)
classmethod from_json(data)[source]
serialize()[source]
to_json()[source]

juju.client.runner module

class juju.client.runner.AsyncRunner[source]

Bases: object

class juju.client.runner.ThreadedRunner[source]

Bases: object

Module contents