I am currently using Microsoft.Azure.Management.Fluent and direct RESTApi calls to automate some of my application deployment on Azure.
Prior to now, whenever I have needed to test some API I was able to use my production environment and simply spin up a VM or webapp etc because the marginal cost of doing so was effectively nil. It never really occurred to me to see if Azure has some sort of sandbox.
However I am currently in the process of integration of the issuance of domain names and ssl certificates into our application, each of these invocations are immediately billed and in the case of an ssl certificate the cost is nearly $100 in Australia.
So say I want to do this
var azure = Microsoft.Azure.Management.Fluent.Azure
.Configure()
.WithLogLevel(HttpLoggingDelegatingHandler.Level.Basic)
.Authenticate(credentials)
.WithDefaultSubscription();
var createdSSL = await azure.AppServices.AppServiceCertificates
.Define("MyNewDomain")
.WithRegion(Region.AustraliaSouthEast)
.WithExistingResourceGroup("MyResourceGroup")
.WithPfxFileFromUrl("myurl.com")
.WithPfxPassword("mypassword")
.CreateAsync();
Based on current pricing this means that if I want to just run a single test of domain name invocation and ssl issuance its going to cost ~$120 which is obviously undesirable.
So does Azure provide some way to test immediately billable API invocations without charging? Has anyone run into this issue?