Skip to content

Set-B1FederatedBlock

SYNOPSIS

Updates an existing federated block in Universal DDI IPAM

SYNTAX

Subnet

Set-B1FederatedBlock [-Subnet <String>] [-NewName <String>] [-Description <String>] [-CIDR <Int32>]
 [-DefaultPrefixLength <Int32>] [-MinimumPrefixLength <Int32>] [-MaximumPrefixLength <Int32>] [-Tags <Object>]
 [-Force] [-WhatIf] [-Confirm] [<CommonParameters>]

Name

Set-B1FederatedBlock [-Name <String>] [-NewName <String>] [-Description <String>] [-CIDR <Int32>]
 [-DefaultPrefixLength <Int32>] [-MinimumPrefixLength <Int32>] [-MaximumPrefixLength <Int32>] [-Tags <Object>]
 [-Force] [-WhatIf] [-Confirm] [<CommonParameters>]

Object

Set-B1FederatedBlock [-NewName <String>] [-Description <String>] [-CIDR <Int32>] [-DefaultPrefixLength <Int32>]
 [-MinimumPrefixLength <Int32>] [-MaximumPrefixLength <Int32>] [-Tags <Object>] -Object <Object> [-Force]
 [-WhatIf] [-Confirm] [<CommonParameters>]

DESCRIPTION

This function is used to update an existing federated block in Universal DDI IPAM

EXAMPLES

EXAMPLE 1

Set-B1FederatedBlock -Subnet '10.1.5.0/24' -NewName "New name" -Description "Updated description" -Tags @{Environment="Test";Owner="Admin"}

EXAMPLE 2

Get-B1FederatedBlock -Name "Block-1" -Realm "Realm-1" | Set-B1FederatedBlock -CIDR 15 -Description "Updated to /15" -Tags @{Environment="Test";Owner="Admin"}

PARAMETERS

-Subnet

The subnet of the federated block you want to update in CIDR notation

.PARAMETER Realm

The name of the federated realm the federated block is associated with

Type: String
Parameter Sets: Subnet
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Name

The name of the federated block you want to update

Type: String
Parameter Sets: Name
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-NewName

Use -NewName to update the name of the federated block

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Description

The new description for the federated block

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-CIDR

The new CIDR of the federated block you are updating

Type: Int32
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False

-DefaultPrefixLength

The default prefix length of the Federated Block you are updating

Type: Int32
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False

-MinimumPrefixLength

The minimum prefix length allowed under the Federated Block you are updating.

Type: Int32
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False

-MaximumPrefixLength

The maximum prefix length allowed under the Federated Block you are updating.

Type: Int32
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False

-Tags

A list of tags to update on the federated block. This will replace existing tags, so would normally be a combined list of existing and new tags

Type: Object
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Object

The Federated Block Object to update. Accepts pipeline input

Type: Object
Parameter Sets: Object
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False

-Force

Perform the operation without prompting for confirmation. By default, this function will not prompt for confirmation unless $ConfirmPreference is set to Medium.

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

-WhatIf

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

Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Confirm

Prompts you for confirmation before running the cmdlet.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

OUTPUTS

NOTES