Invoke ADCAddServicegroupservicegroupmemberbinding - j81blog/J81.ADCToolkit GitHub Wiki

Invoke-ADCAddServicegroupservicegroupmemberbinding

SYNOPSIS

Add Basic configuration Object.

SYNTAX

Invoke-ADCAddServicegroupservicegroupmemberbinding [-Servicegroupname] <String> [[-Ip] <String>]
 [[-Servername] <String>] [[-Port] <Int32>] [[-Weight] <Double>] [[-Customserverid] <String>]
 [[-Serverid] <Double>] [[-State] <String>] [[-Hashid] <Double>] [[-Nameserver] <String>] [[-Dbsttl] <Double>]
 [-PassThru] [-WhatIf] [-Confirm] [<CommonParameters>]

DESCRIPTION

Binding object showing the servicegroupmember that can be bound to servicegroup.

EXAMPLES

EXAMPLE 1

Invoke-ADCAddServicegroupservicegroupmemberbinding -servicegroupname <string>

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

PARAMETERS

-Servicegroupname

Name of the service group.

Type: String
Parameter Sets: (All)
Aliases:

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

-Ip

IP Address.

Type: String
Parameter Sets: (All)
Aliases:

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

-Servername

Name of the server to which to bind the service group.

Type: String
Parameter Sets: (All)
Aliases:

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

-Port

Server port number.

  • in CLI is represented as 65535 in NITRO API
Type: Int32
Parameter Sets: (All)
Aliases:

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

-Weight

Weight to assign to the servers in the service group. Specifies the capacity of the servers relative to the other servers in the load balancing configuration. The higher the weight, the higher the percentage of requests sent to the service.

Type: Double
Parameter Sets: (All)
Aliases:

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

-Customserverid

The identifier for this IP:Port pair. Used when the persistency type is set to Custom Server ID.

Type: String
Parameter Sets: (All)
Aliases:

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

-Serverid

The identifier for the service. This is used when the persistency type is set to Custom Server ID.

Type: Double
Parameter Sets: (All)
Aliases:

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

-State

Initial state of the service group. Possible values = ENABLED, DISABLED

Type: String
Parameter Sets: (All)
Aliases:

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

-Hashid

The hash identifier for the service. This must be unique for each service. This parameter is used by hash based load balancing methods.

Type: Double
Parameter Sets: (All)
Aliases:

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

-Nameserver

Specify the nameserver to which the query for bound domain needs to be sent. If not specified, use the global nameserver.

Type: String
Parameter Sets: (All)
Aliases:

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

-Dbsttl

Specify the TTL for DNS record for domain based service.The default value of ttl is 0 which indicates to use the TTL received in DNS response for monitors.

Type: Double
Parameter Sets: (All)
Aliases:

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

-PassThru

Return details about the created servicegroup_servicegroupmember_binding item.

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

File Name : Invoke-ADCAddServicegroupservicegroupmemberbinding Version : v2111.2521 Author : John Billekens Reference : https://developer-docs.citrix.com/projects/citrix-adc-nitro-api-reference/en/latest/configuration/basic/servicegroup_servicegroupmember_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** ⚠️