X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=docs%2Fnarrative%2Fcreate-model.rst;h=b0cdbe7433ddcfb8086b1a40fb8e03c5ad1ffd46;hb=b64327bb58139f1e1f770b16492968423f011eab;hp=c650f911e8e7b7edb370f93c9427f06332c822e7;hpb=6ba2856fecf224ae3fd589331e889a6587e8153b;p=osm%2FN2VC.git diff --git a/docs/narrative/create-model.rst b/docs/narrative/create-model.rst index c650f91..b0cdbe7 100644 --- a/docs/narrative/create-model.rst +++ b/docs/narrative/create-model.rst @@ -1,6 +1,8 @@ Creating and Destroying a Model =============================== -Example of creating a new model and then destroying it. +Example of creating a new model and then destroying it. See +:meth:`juju.controller.Controller.add_model` and +:meth:`juju.controller.Controller.destroy_model` for more info. .. code:: python @@ -12,8 +14,6 @@ Example of creating a new model and then destroying it. # Create our new model model = await controller.add_model( 'mymodel', # name of your new model - 'aws', # name of the cloud to use - 'aws-tim', # name of the credential to use ) # Do stuff with our model...