< Back

New-AzureRmPublicIpTag

Tue Jan 29, 2019 9:56 pm

NAME New-AzureRmPublicIpTag



SYNOPSIS

Creates an IP Tag.





SYNTAX

New-AzureRmPublicIpTag [-DefaultProfile <IAzureContextContainer>] -IpTagType {FirstPartyUsage | NetworkDomain} -Tag <String> [-Confirm] [-WhatIf]

[<CommonParameters>]





DESCRIPTION

The New-AzureRmPublicIpTag cmdlet creates a IP Tag.





PARAMETERS

-DefaultProfile <IAzureContextContainer>

The credentials, account, tenant, and subscription used for communication with azure.



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-IpTagType <String>

IpTag type Example:FirstPartyUsage



Required? true

Position? named

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-Tag <String>

IpTag value Example:/Sql



Required? true

Position? named

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-Confirm [<SwitchParameter>]

Prompts you for confirmation before running the cmdlet.



Required? false

Position? named

Default value False

Accept pipeline input? False

Accept wildcard characters? false



-WhatIf [<SwitchParameter>]

Shows what would happen if the cmdlet runs. The cmdlet is not run.



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 (http://go.microsoft.com/fwlink/?LinkID=113216).



INPUTS

System.String







OUTPUTS

Microsoft.Azure.Commands.Network.Models.PSPublicIpTag







NOTES









1: Create a new IP Tag



$ipTag = New-AzureRmPublicIpTag -IpTagType $ipTagType -Tag $tag



This command creates a new IP Tag with the Tagtype like "FirstPartyUsage" and tag like "/Sql". This is used in publicIpAddress creation with these

specific tags for allocation.







RELATED LINKS

Online Version: https://docs.microsoft.com/en-us/powers ... ubliciptag