list

List Network Load Balancer Forwarding Rule Targets

Usage

ionosctl networkloadbalancer rule target list [flags]

Aliases

For rule command:

[r forwardingrule]

For target command:

[t]

For list command:

[l ls]

Description

Use this command to list Targets of a Network Load Balancer Forwarding Rule.

Required values to run command:

  • Data Center Id

  • Network Load Balancer Id

  • Forwarding Rule Id

Options

  -u, --api-url string                  Override default host url (default "https://api.ionos.com")
      --cols strings                    Set of columns to be printed on output 
                                        Available columns: [TargetIp TargetPort Weight Check CheckInterval Maintenance] (default [TargetIp,TargetPort,Weight,Check,CheckInterval,Maintenance])
  -c, --config string                   Configuration file used for authentication (default "$XDG_CONFIG_HOME/ionosctl/config.json")
      --datacenter-id string            The unique Data Center Id (required)
  -D, --depth int32                     Controls the detail depth of the response objects. Max depth is 10. (default 1)
  -f, --force                           Force command to execute without user input
  -h, --help                            Print usage
  -M, --max-results int32               The maximum number of elements to return
      --networkloadbalancer-id string   The unique NetworkLoadBalancer Id (required)
      --no-headers                      Don't print table headers when table output is used
  -o, --output string                   Desired output format [text|json|api-json] (default "text")
  -q, --quiet                           Quiet output
      --rule-id string                  The unique ForwardingRule Id (required)
  -v, --verbose                         Print step-by-step process when running command

Examples

ionosctl networkloadbalancer rule target list --datacenter-id DATACENTER_ID --networkloadbalancer-id NETWORKLOADBALANCER_ID --rule-id FORWARDINGRULE_ID

Last updated