Invoke ADCAddLbmonitorservicebinding - j81blog/J81.ADCToolkit GitHub Wiki

Invoke-ADCAddLbmonitorservicebinding

SYNOPSIS

Add Load Balancing configuration Object.

SYNTAX

Invoke-ADCAddLbmonitorservicebinding [-Monitorname] <String> [[-Servicename] <String>] [[-Dup_state] <String>]
 [[-Dup_weight] <Double>] [[-Servicegroupname] <String>] [[-State] <String>] [[-Weight] <Double>] [-WhatIf]
 [-Confirm] [<CommonParameters>]

DESCRIPTION

Binding object showing the service that can be bound to lbmonitor.

EXAMPLES

EXAMPLE 1

Invoke-ADCAddLbmonitorservicebinding -monitorname <string>

An example how to add lbmonitor_service_binding configuration Object(s).

PARAMETERS

-Monitorname

Name of the monitor.

Type: String
Parameter Sets: (All)
Aliases:

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

-Servicename

Name of the service or service group.

Type: String
Parameter Sets: (All)
Aliases:

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

-Dup_state

State of the monitor. The state setting for a monitor of a given type affects all monitors of that type. For example, if an HTTP monitor is enabled, all HTTP monitors on the appliance are (or remain) enabled. If an HTTP monitor is disabled, all HTTP monitors on the appliance are disabled. Possible values = ENABLED, DISABLED

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 4
Default value: ENABLED
Accept pipeline input: False
Accept wildcard characters: False

-Dup_weight

Weight to assign to the binding between the monitor and service.

Type: Double
Parameter Sets: (All)
Aliases:

Required: False
Position: 5
Default value: 1
Accept pipeline input: False
Accept wildcard characters: False

-Servicegroupname

Name of the service group.

Type: String
Parameter Sets: (All)
Aliases:

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

-State

State of the monitor. The state setting for a monitor of a given type affects all monitors of that type. For example, if an HTTP monitor is enabled, all HTTP monitors on the appliance are (or remain) enabled. If an HTTP monitor is disabled, all HTTP monitors on the appliance are disabled. Possible values = ENABLED, DISABLED

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 7
Default value: ENABLED
Accept pipeline input: False
Accept wildcard characters: False

-Weight

Weight to assign to the binding between the monitor and service.

Type: Double
Parameter Sets: (All)
Aliases:

Required: False
Position: 8
Default value: 0
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

File Name : Invoke-ADCAddLbmonitorservicebinding Version : v2111.2521 Author : John Billekens Reference : https://developer-docs.citrix.com/projects/citrix-adc-nitro-api-reference/en/latest/configuration/lb/lbmonitor_service_binding/ Requires : PowerShell v5.1 and up ADC 13.x and up. ADC 12 and lower may work, not guaranteed.

RELATED LINKS

https://blog.j81.nl

⚠️ **GitHub.com Fallback** ⚠️