Skip to content

This is intended to be a base Solution Template for publishing into the Azure Marketplace.

Notifications You must be signed in to change notification settings

tomconte/base-solution-template

Repository files navigation

Base Solution Template for Azure Marketplace

This is intended to be a base Solution Template for publishing into the Azure Marketplace. A Solution Template is basicaly an ARM Template that adheres to a number of requirements and best practices specific to Marketplace deployments.

What is inside

  • createUiDefinition.json is where the UI is defined for your Solution Template blade in the Azure Management Portal.
  • mainTemplate.json is the main ARM template for the Solution; it calls a number of sub-templates to implement the "newOrExisting" pattern for a number of resources.

What it does

  • handles new or existing Storage Accounts
  • handles new or existing Virtual Networks
  • handles new or existing Public IP Addresses and Domain Name
  • returns the fully qualified domain name of the deployment
  • handles both password and SSH key authentication mechanisms

How to test

Paste this into your browser:

https://ms.portal.azure.com/?clientOptimizations=false#blade/Microsoft_Azure_Compute/CreateMultiVmWizardBlade/internal_bladeCallId/anything/internal_bladeCallerParams/{"initialData":{},"providerConfig":{"createUiDefinition":"https%3A%2F%2Fraw.githubusercontent.com%2Ftomconte%2Fbase-solution-template%2Fmaster%2FcreateUiDefinition.json"}}

Use your browser's Developer Tools to monitor the JavaScript Console and retrieve the JSON that describes the parameters chosen in the Web UI blade. Copy/paste this JSON in the mainTemplate.parameters.json and deploy the main template using your favorite method (portal, PowerShell, CLI).

About

This is intended to be a base Solution Template for publishing into the Azure Marketplace.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published