Skip to content

ArmReference/network-publicIPAddresses

Repository files navigation

Deploy to Azure

Create Public IP Address

This template creates a Public IP Address in Azure

Public IP addresses allow Internet resources to communicate inbound to Azure resources. Public IP addresses enable Azure resources to communicate to Internet and public-facing Azure services.

Parameters

Parameter name Required Description
StorageAccountName No
ContainerName No
SasToken No

StorageAccountName

Parameter Setting

ContainerName

Parameter Setting

SasToken

Parameter Setting

Outputs

Name Type Description
armTemplate object Fully populated template

Snippets

Parameter file

{
    "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentParameters.json#",
    "contentVersion": "1.0.0.0",
    "metadata": {
        "template": "azuredeploy.json"
    },
    "parameters": {
        "StorageAccountName": {
            "value": ""
        },
        "ContainerName": {
            "value": ""
        },
        "SasToken": {
            "value": ""
        }
    }
}

Command line

PowerShell

New-AzResourceGroupDeployment -Name <deployment-name> -ResourceGroupName <resource-group-name> -TemplateFile <path-to-template> -TemplateParameterFile <path-to-templateparameter>

Azure CLI

az group deployment create --name <deployment-name> --resource-group <resource-group-name> --template-file <path-to-template> --parameters @<path-to-templateparameterfile>