<div dir="ltr"><div class="gmail_quote"><div dir="ltr">On Mon, Aug 15, 2016 at 2:13 PM Andrew Wilkins <<a href="mailto:andrew.wilkins@canonical.com">andrew.wilkins@canonical.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>We're making a handful of changes around model- and cloud-related APIs. Some of these will be broken in beta16, and some will be deprecated then and broken directly after.</div><div><br></div><div>The first change is to ModelManager.DestroyModel. This method is now deprecated, and replaced with the pluralised ModelManger.DestroyModels, which takes a set of model tags. The old method will be removed after beta16 is out.</div><div><br></div><div>The second change is to Client.ModelInfo. This was superseded a while ago by ModelManager.ModelInfo, which takes model tags. <span style="line-height:1.5">The Client.ModelInfo method will be removed after beta16 is out.</span></div><div><br></div><div>There's a couple of other changes in the works:</div><div><span style="line-height:1.5"> - Cloud.CloudDefaults will be renamed to DefaultCloud, and just return the tag of a cloud</span></div></div></blockquote><div><br></div><div>This has now been done as described. You can continue </div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><span style="line-height:1.5"> - Cloud.Credentials will be updated or replaced to avoid exposing credentials to the client</span></div></div></blockquote><div><br></div><div>I will be updating the existing API to return new credential tags. Since this is a new API that nobody should yet be using, I'll save the list from more emails about it.</div><div><br></div><div>There will be one more small change, which is to the CloudCredential field in the ModelManager.CreateModel parameters. If you're not filling in the field (most likely), you don't need to do anything. If you are, then let me know and I'll send you more details when they're finalised.</div><div><br></div><div>Cheers,</div><div>Andrew</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><span style="line-height:1.5">I will reply to this thread when the details of these two have been finalised.</span></div><div><br></div><div>Cheers,</div><div>Andrew</div></div></blockquote></div></div>