Remove-AzureReservedIPAssociation
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
Specifies the name of the reserved IP address.
| Type: | String |
| Position: | 0 |
| Default value: | None |
| Accept pipeline input: | True (ByPropertyName) |
| Accept wildcard characters: | False |
Specifies the name of the service.
| Type: | String |
| Position: | 1 |
| Default value: | None |
| Accept pipeline input: | True (ByPropertyName) |
| Accept wildcard characters: | False |
Optional Parameters
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 |
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 |
Specifies an information variable.
| Type: | String |
| Aliases: | iv |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
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 |
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 |
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