Remove-​Azure​Reserved​IP​Association

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]
      [-InformationAction <ActionPreference>]
      [-InformationVariable <String>]
      [-Profile <AzureSMProfile>]
      [<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.

Examples

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.

Required Parameters

-ReservedIPName

Specifies the name of the reserved IP address.

Type:String
Position:0
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-ServiceName

Specifies the name of the service.

Type:String
Position:1
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False

Optional Parameters

-Force

Forces the command to run without asking for user confirmation.

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

Type:SwitchParameter
Position:4
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-InformationAction

Specifies how this cmdlet responds to an information event.

The acceptable values for this parameter are:

  • Continue
  • Ignore
  • Inquire
  • SilentlyContinue
  • Stop
  • Suspend
Type:ActionPreference
Aliases:infa
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-InformationVariable

Specifies an information variable.

Type:String
Aliases:iv
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Profile

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

Type:AzureSMProfile
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Slot

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

Type:String
Position:3
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-VirtualIPName

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

Type:String
Position:2
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False

Outputs

Microsoft.WindowsAzure.Commands.Utilities.Common.ManagementOperationContext