< Back

Remove-AzureReservedIPAssociation

Wed Jan 30, 2019 5:50 pm

NAME Remove-AzureReservedIPAssociation



SYNOPSIS

Removes the association from the reserved IP address to the VM or cloud service.





SYNTAX

Remove-AzureReservedIPAssociation [-ReservedIPName] <String> [-ServiceName] <String> [[-VirtualIPName] <String>] [[-Slot] <String>] [[-Force]] [-Profile

<AzureSMProfile>] [-InformationAction <ActionPreference>] [-InformationVariable <String>] [<CommonParameters>]





DESCRIPTION

The Remove-AzureReservedIPAssociation cmdlet disassociates a reserved IP address from a virtual machine (VM) or Cloud Service. When the operation

completes, the reserved IP address is free and the VM/VIP gets a dynamic public IP Address from the Azure Inventory.





PARAMETERS

-ReservedIPName <String>

Specifies the name of the reserved IP address.



Required? true

Position? 0

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-ServiceName <String>

Specifies the name of the service.



Required? true

Position? 1

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-VirtualIPName <String>

Specifies a virtual IP address from which to remove the association with a service or VM.



Required? false

Position? 2

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-Slot <String>

Specifies the deployment environment. The acceptable values for this parameter are: Production, Staging.



Required? false

Position? 3

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-Force [<SwitchParameter>]

Forces the command to run without asking for user confirmation.



Use this flag to bypass warning messages when removing the reserved IP association.



Required? false

Position? 4

Default value False

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-Profile <AzureSMProfile>

Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-InformationAction <ActionPreference>





Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-InformationVariable <String>





Required? false

Position? named

Default value None

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

Microsoft.WindowsAzure.Commands.Utilities.Common.ManagementOperationContext







NOTES









-------------------------- Example 1: Remove a reserved IP association --------------------------



PS C:\\>Remove-AzureReservedIPAssociation -ReservedIPName "ResIp14" -ServiceName "PipTestWestEurope"



This command disassociates the reserved IP address named ResIp14 from the service named PipTestWestEurope. PipTestWestEurope will be assigned a new

dynamic VIP.



RELATED LINKS

Set-AzureReservedIPAssociation