< Back

Get-AzureArmTemplateDeployUri

Sat Jan 11, 2020 10:08 am

NAME Get-AzureArmTemplateDeployUri



SYNOPSIS

Build the URL of custom deployment blade for your ARM template.





SYNTAX

Get-AzureArmTemplateDeployUri [-TemplateUri] <String> [-ShowDeployBlade] [<CommonParameters>]





DESCRIPTION

This cmdlet building the URL that is access to custom deployment blade on Azure Portal. The URL allows deployment

of your ARM template via Azure Portal.





PARAMETERS

-TemplateUri <String>

The URI of your ARM template.



Required? true

Position? 1

Default value

Accept pipeline input? false

Accept wildcard characters? false



-ShowDeployBlade [<SwitchParameter>]

This switch parameter is optional. If you use this switch, this cmdlet open the URL by your browser.



Required? false

Position? named

Default value False

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS

System.Management.Automation.PSObject





-------------------------- EXAMPLE 1 --------------------------



PS C:\\>Get-AzureArmTemplateDeployUri -TemplateUri 'https://abcd1234.blob.core.windows.net/ ... /main.json'



Uri

---

https://portal.azure.com/#create/Micros ... rmtemplate%

2Fmain.json



This example is build the URL of custom deployment blade from your ARM template URL.









-------------------------- EXAMPLE 2 --------------------------



PS C:\\>Get-AzureArmTemplateDeployUri -TemplateUri 'https://abcd1234.blob.core.windows.net/ ... /main.json'

-ShowDeployBlade



This example is build the URL of custom deployment blade from your ARM template URL and open that URL by your

browser.











RELATED LINKS

PowerShell Gallery: https://www.powershellgallery.com/packa ... ateHelper/

GitHub: https://github.com/tksh164/AzureArmTemp ... hellModule

Set-AzureArmTemplateFile