This is the multi-page printable view of this section. Click here to print.

Return to the regular view of this page.

GSLB

Overview

Provides a Command-line Interface (CLI) that supports programmatic use of IaaS/PaaS products provided by SCP.

This guide provides a brief description of GSLB service and how to call CLI. The output is formatted as a JSON string

Version

Deprecated versions with Not Before dates that have arrived or expired are no longer supported. We recommend using the latest version.

VersionStatusNot Before
1.1CURRENT-
1.0DEPRECATED20260531

CLI Version History

1.1

GSLB CLI has been updated to version 1.1.

Changes

  • [Changed] gslb gslb create - Command has been changed.
    • The following option has been added:
      • --routing-control-enabled
  • [New] gslb gslb regional routing list - Command has been added.
  • [New] gslb gslb-regional-routing-set - Command has been added.

1.0

GSLB CLI has been released.

Changes

  • [New] gslb gslb list - Command has been added.
  • [New] gslb gslb create - Command has been added.
  • [New] gslb gslb show - Command has been added.
  • [New] gslb gslb update - Command has been added.
  • [New] gslb gslb delete - Command has been added.
  • [New] gslb gslb-health-check update - Command has been added.
  • [New] gslb gslb-resource list - Command has been added.
  • [New] gslb gslb-resource update - Command has been added.

1 - CLIs

1.1 - CreateGslb

1.1.1 - 1.1

scp-cli gslb gslb create
--protocol <value>
--resources <value>
--name <value>
--env_usage <value>
--algorithm <value>
[--description <value>]
[--tags <value>]
[--health_check_interval <value>]
[--health_check_probe_timeout <value>]
[--health_check_user_id <value>]
[--health_check_user_password <value>]
[--receive_string <value>]
[--send_string <value>]
[--service_port <value>]
[--timeout <value>]

Description

Create a global Server Load Balancer resource for distributing traffic across multiple regions.

State ACTIVE (CURRENT)

VersionNot Before
1.1-

Parameters

NameTypeDescriptionExample
protocol
required
stringThe protocol used for health checks (e.g., ICMP, TCP, HTTP, HTTPS).https
resources
required
arrayThe list of resources for the GSLB.'{"description": "", "destination": "192.168.1.100", "region": "KR-WEST-1", "weight": 10}'
name
required
stringThe name of the GSLB.example.gslb.e.samsungsdscloud.com
env_usage
required
stringThe environment usage type for the GSLB (e.g., PUBLIC).PUBLIC
algorithm
required
stringThe load balancing algorithm for GSLB traffic distribution (e.g., ROUND_ROBIN, RATIO).ROUND_ROBIN
description
optional
stringDescriptionExample Description for GSLB
tags
optional
arrayTag List'{"key": "", "value": ""}'
health_check_interval
optional
integerThe GSLB Health Check Interval.5
health_check_probe_timeout
optional
integerThe GSLB Health Check Probe Timeout.5
health_check_user_id
optional
stringThe GSLB Health Check User Name.user
health_check_user_password
optional
stringThe GSLB Health Check Password.Passw0rd!
receive_string
optional
stringThe GSLB Health Check Receive String.OK
send_string
optional
stringThe GSLB Health Check Send String. If no input is provided, it operates as a “GET /” request.GET /
service_port
optional
integerThe GSLB Health Check Service Port.1
timeout
optional
integerThe GSLB Health Check Timeout. It must be greater than the Interval.6

Responses

NameDescriptionExample
idID0fdd87aab8cb46f59b7c1f81ed03fb3e
algorithmThe load balancing algorithm for GSLB traffic distribution (e.g., ROUND_ROBIN, RATIO).ROUND_ROBIN
created_atCreated At2024-05-17T00:23:17Z
created_byCreated By90dddfc2b1e04edba54ba2b41539a9ac
descriptionDescriptionExample Description for GSLB
env_usageThe environment usage type for the GSLB (e.g., PUBLIC).PUBLIC
health_checkHealth check configuration for monitoring GSLB endpoint availability.
linked_resource_countThe number of resources linked to this GSLB.2
modified_atModified At2024-05-17T00:23:17Z
modified_byModified By90dddfc2b1e04edba54ba2b41539a9ac
nameThe name of the GSLB.example.gslb.e.samsungsdscloud.com
stateThe current state of the GSLB (e.g., ACTIVE, CREATING, EDITING, ERROR, DELETING).ACTIVE

1.1.2 - 1.0

scp-cli gslb gslb create
--protocol <value>
--resources <value>
--name <value>
--env_usage <value>
--algorithm <value>
[--description <value>]
[--tags <value>]
[--health_check_interval <value>]
[--health_check_probe_timeout <value>]
[--health_check_user_id <value>]
[--health_check_user_password <value>]
[--receive_string <value>]
[--send_string <value>]
[--service_port <value>]
[--timeout <value>]

Description

Create a global Server Load Balancer resource for distributing traffic across multiple regions.

State ACTIVE (DEPRECATED)

Deprecated versions with Not Before dates that have arrived or expired are no longer supported. We recommend using the latest version.

VersionNot Before
1.020260531

Parameters

NameTypeDescriptionExample
protocol
required
stringThe protocol used for health checks (e.g., ICMP, TCP, HTTP, HTTPS).https
resources
required
array'{"description": "", "destination": "192.168.1.100", "disabled": false, "region": "KR-WEST-1", "weight": 10}'
name
required
stringThe name of the GSLB.-
env_usage
required
stringThe environment usage type for the GSLB (e.g., PUBLIC).-
algorithm
required
stringThe load balancing algorithm for GSLB traffic distribution (e.g., ROUND_ROBIN, RATIO).-
description
optional
stringDescription-
tags
optional
arrayTag List'{"key": "", "value": ""}'
health_check_interval
optional
integerThe GSLB Health Check Interval.5
health_check_probe_timeout
optional
integerThe GSLB Health Check Probe Timeout.5
health_check_user_id
optional
stringThe GSLB Health Check User Name.user
health_check_user_password
optional
stringThe GSLB Health Check Password.Passw0rd!
receive_string
optional
stringThe GSLB Health Check Receive String.OK
send_string
optional
stringThe GSLB Health Check Send String. If no input is provided, it operates as a “GET /” request.GET /
service_port
optional
integerThe GSLB Health Check Service Port.1
timeout
optional
integerThe GSLB Health Check Timeout. It must be greater than the Interval.6

Responses

NameDescriptionExample
idID0fdd87aab8cb46f59b7c1f81ed03fb3e
algorithmThe load balancing algorithm for GSLB traffic distribution (e.g., ROUND_ROBIN, RATIO).
created_atCreated At2024-05-17T00:23:17Z
created_byCreated By90dddfc2b1e04edba54ba2b41539a9ac
descriptionDescription
env_usageThe environment usage type for the GSLB (e.g., PUBLIC).
health_check
linked_resource_countThe number of resources linked to this GSLB.
modified_atModified At2024-05-17T00:23:17Z
modified_byModified By90dddfc2b1e04edba54ba2b41539a9ac
nameThe name of the GSLB.
stateThe current state of the GSLB (e.g., ACTIVE, CREATING, EDITING, ERROR, DELETING).

1.2 - DeleteGslb

1.2.1 - 1.1

scp-cli gslb gslb delete
--gslb_id <value>

Description

Delete the Global Server Load Balancer resource.

State ACTIVE (CURRENT)

VersionNot Before
1.1-

Parameters

NameTypeDescriptionExample
gslb_id
required
stringThe unique identifier of the GSLB.-

1.2.2 - 1.0

scp-cli gslb gslb delete
--gslb_id <value>

Description

Delete the Global Server Load Balancer resource.

State ACTIVE (DEPRECATED)

Deprecated versions with Not Before dates that have arrived or expired are no longer supported. We recommend using the latest version.

VersionNot Before
1.020260531

Parameters

NameTypeDescriptionExample
gslb_id
required
stringThe unique identifier of the GSLB.-

1.3 - ListGslbResources

1.3.1 - 1.1

scp-cli gslb gslb-resource list
--gslb_id <value>
[--size <value>]
[--page <value>]
[--sort <value>]

Description

The list of resources for the GSLB.

State ACTIVE (CURRENT)

VersionNot Before
1.1-

Parameters

NameTypeDescriptionExample
gslb_id
required
stringThe unique identifier of the GSLB.-
size
optional
integersize20
page
optional
integerpage0
sort
optional
stringsortcreated_at:desc

Responses

NameDescriptionExample
idID0fdd87aab8cb46f59b7c1f81ed03fb3e
created_atCreated At2024-05-17T00:23:17Z
created_byCreated By90dddfc2b1e04edba54ba2b41539a9ac
descriptionDescription
destinationThe destination endpoint for the GSLB resource.192.168.1.100
health_check_statusThe health check status of the GSLB resource (e.g., CONNECTED, DISCONNECTED).
modified_atModified At2024-05-17T00:23:17Z
modified_byModified By90dddfc2b1e04edba54ba2b41539a9ac
regionThe region where the GSLB resource is located.KR-WEST-1
statusWhether to use the GSLB resource. (e.g., ENABLE, DISABLE)
weightThe weight for load balancing distribution (0-100).10

1.3.2 - 1.0

scp-cli gslb gslb-resource list
--gslb_id <value>
[--size <value>]
[--page <value>]
[--sort <value>]

Description

The list of resources for the GSLB.

State ACTIVE (DEPRECATED)

Deprecated versions with Not Before dates that have arrived or expired are no longer supported. We recommend using the latest version.

VersionNot Before
1.020260531

Parameters

NameTypeDescriptionExample
gslb_id
required
stringThe unique identifier of the GSLB.-
size
optional
integersize20
page
optional
integerpage0
sort
optional
stringsortcreated_at:desc

Responses

NameDescriptionExample
idID0fdd87aab8cb46f59b7c1f81ed03fb3e
created_atCreated At2024-05-17T00:23:17Z
created_byCreated By90dddfc2b1e04edba54ba2b41539a9ac
descriptionDescription
destinationThe destination endpoint for the GSLB resource.192.168.1.100
disabledThe GSLB Resource disabled.False
modified_atModified At2024-05-17T00:23:17Z
modified_byModified By90dddfc2b1e04edba54ba2b41539a9ac
regionThe region where the GSLB resource is located.KR-WEST-1
weightThe weight for load balancing distribution (0-100).10

1.4 - ListGslbs

1.4.1 - 1.1

scp-cli gslb gslb list
[--size <value>]
[--page <value>]
[--sort <value>]
[--state <value>]
[--name <value>]

Description

Gets a list of Global Server Load Balancers.

State ACTIVE (CURRENT)

VersionNot Before
1.1-

Parameters

NameTypeDescriptionExample
size
optional
integersize20
page
optional
integerpage0
sort
optional
stringsortcreated_at:desc
state
optional
stringThe current state of the GSLB (e.g., ACTIVE, CREATING, EDITING, ERROR, DELETING).-
name
optional
stringThe name of the GSLB.-

Responses

NameDescriptionExample
idID0fdd87aab8cb46f59b7c1f81ed03fb3e
algorithmThe load balancing algorithm for GSLB traffic distribution (e.g., ROUND_ROBIN, RATIO).
created_atCreated At2024-05-17T00:23:17Z
created_byCreated By90dddfc2b1e04edba54ba2b41539a9ac
descriptionDescription
env_usageThe environment usage type for the GSLB (e.g., PUBLIC).
linked_resource_countThe number of resources linked to this GSLB.
modified_atModified At2024-05-17T00:23:17Z
modified_byModified By90dddfc2b1e04edba54ba2b41539a9ac
nameThe name of the GSLB.
stateThe current state of the GSLB (e.g., ACTIVE, CREATING, EDITING, ERROR, DELETING).

1.4.2 - 1.0

scp-cli gslb gslb list
[--size <value>]
[--page <value>]
[--sort <value>]
[--state <value>]
[--name <value>]

Description

Gets a list of Global Server Load Balancers.

State ACTIVE (DEPRECATED)

Deprecated versions with Not Before dates that have arrived or expired are no longer supported. We recommend using the latest version.

VersionNot Before
1.020260531

Parameters

NameTypeDescriptionExample
size
optional
integersize20
page
optional
integerpage0
sort
optional
stringsortcreated_at:desc
state
optional
stringThe current state of the GSLB (e.g., ACTIVE, CREATING, EDITING, ERROR, DELETING).-
name
optional
stringThe name of the GSLB.-

Responses

NameDescriptionExample
idID0fdd87aab8cb46f59b7c1f81ed03fb3e
algorithmThe load balancing algorithm for GSLB traffic distribution (e.g., ROUND_ROBIN, RATIO).
created_atCreated At2024-05-17T00:23:17Z
created_byCreated By90dddfc2b1e04edba54ba2b41539a9ac
descriptionDescription
env_usageThe environment usage type for the GSLB (e.g., PUBLIC).
linked_resource_countThe number of resources linked to this GSLB.
modified_atModified At2024-05-17T00:23:17Z
modified_byModified By90dddfc2b1e04edba54ba2b41539a9ac
nameThe name of the GSLB.
stateThe current state of the GSLB (e.g., ACTIVE, CREATING, EDITING, ERROR, DELETING).

1.5 - ListGslbsRegionalRoutingControl

1.5.1 - 1.1

scp-cli gslb gslb regional routing list
[--size <value>]
[--page <value>]
[--sort <value>]
[--region <value>]
[--status <value>]
[--name <value>]

Description

Gets a list of GSLB regional routing controls.

State ACTIVE (CURRENT)

VersionNot Before
1.1-

Parameters

NameTypeDescriptionExample
size
optional
integersize20
page
optional
integerpage0
sort
optional
stringsortcreated_at:desc
region
optional
stringThe region where the GSLB resource is located.-
status
optional
****Whether to use the GSLB resource. (e.g., ENABLE, DISABLE)-
name
optional
stringThe name of the GSLB.-

Responses

NameDescriptionExample
idID0fdd87aab8cb46f59b7c1f81ed03fb3e
algorithmThe load balancing algorithm for GSLB traffic distribution (e.g., ROUND_ROBIN, RATIO).
created_atCreated At2024-05-17T00:23:17Z
created_byCreated By90dddfc2b1e04edba54ba2b41539a9ac
descriptionDescription
env_usageThe environment usage type for the GSLB (e.g., PUBLIC).
linked_regional_resource_countThe number of resources linked to this GSLB in the region.
modified_atModified At2024-05-17T00:23:17Z
modified_byModified By90dddfc2b1e04edba54ba2b41539a9ac
nameThe name of the GSLB.
regionThe region where the GSLB resource is located.
statusWhether to use the GSLB resource. (e.g., ENABLE, DISABLE)

1.6 - SetGslb

1.6.1 - 1.1

scp-cli gslb gslb update
--gslb_id <value>
[--algorithm <value>]
[--description <value>]

Description

Update the Global Server Load Balancer resource.

State ACTIVE (CURRENT)

VersionNot Before
1.1-

Parameters

NameTypeDescriptionExample
gslb_id
required
stringThe unique identifier of the GSLB.-
algorithm
optional
stringThe load balancing algorithm for GSLB traffic distribution (e.g., ROUND_ROBIN, RATIO).ROUND_ROBIN
description
optional
stringDescription-

1.6.2 - 1.0

scp-cli gslb gslb update
--gslb_id <value>
[--algorithm <value>]
[--description <value>]

Description

Update the Global Server Load Balancer resource.

State ACTIVE (DEPRECATED)

Deprecated versions with Not Before dates that have arrived or expired are no longer supported. We recommend using the latest version.

VersionNot Before
1.020260531

Parameters

NameTypeDescriptionExample
gslb_id
required
stringThe unique identifier of the GSLB.-
algorithm
optional
stringThe load balancing algorithm for GSLB traffic distribution (e.g., ROUND_ROBIN, RATIO).ROUND_ROBIN
description
optional
stringDescription-

1.7 - SetGslbHealthCheck

1.7.1 - 1.1

scp-cli gslb gslb-health-check update
--gslb_id <value>
--protocol <value>
[--health_check_interval <value>]
[--health_check_probe_timeout <value>]
[--health_check_user_id <value>]
[--health_check_user_password <value>]
[--receive_string <value>]
[--send_string <value>]
[--service_port <value>]
[--timeout <value>]

Description

Set GSLB Health Checks.

State ACTIVE (CURRENT)

VersionNot Before
1.1-

Parameters

NameTypeDescriptionExample
gslb_id
required
stringThe unique identifier of the GSLB.-
protocol
required
stringThe protocol used for health checks (e.g., ICMP, TCP, HTTP, HTTPS).https
health_check_interval
optional
integerThe GSLB Health Check Interval.5
health_check_probe_timeout
optional
integerThe GSLB Health Check Probe Timeout.5
health_check_user_id
optional
stringThe GSLB Health Check User Name.user
health_check_user_password
optional
stringThe GSLB Health Check Password.Passw0rd!
receive_string
optional
stringThe GSLB Health Check Receive String.OK
send_string
optional
stringThe GSLB Health Check Send String. If no input is provided, it operates as a “GET /” request.GET /
service_port
optional
integerThe GSLB Health Check Service Port.1
timeout
optional
integerThe GSLB Health Check Timeout. It must be greater than the Interval.6

1.7.2 - 1.0

scp-cli gslb gslb-health-check update
--gslb_id <value>
--protocol <value>
[--health_check_interval <value>]
[--health_check_probe_timeout <value>]
[--health_check_user_id <value>]
[--health_check_user_password <value>]
[--receive_string <value>]
[--send_string <value>]
[--service_port <value>]
[--timeout <value>]

Description

Set GSLB Health Checks.

State ACTIVE (DEPRECATED)

Deprecated versions with Not Before dates that have arrived or expired are no longer supported. We recommend using the latest version.

VersionNot Before
1.020260531

Parameters

NameTypeDescriptionExample
gslb_id
required
stringThe unique identifier of the GSLB.-
protocol
required
stringThe protocol used for health checks (e.g., ICMP, TCP, HTTP, HTTPS).https
health_check_interval
optional
integerThe GSLB Health Check Interval.5
health_check_probe_timeout
optional
integerThe GSLB Health Check Probe Timeout.5
health_check_user_id
optional
stringThe GSLB Health Check User Name.user
health_check_user_password
optional
stringThe GSLB Health Check Password.Passw0rd!
receive_string
optional
stringThe GSLB Health Check Receive String.OK
send_string
optional
stringThe GSLB Health Check Send String. If no input is provided, it operates as a “GET /” request.GET /
service_port
optional
integerThe GSLB Health Check Service Port.1
timeout
optional
integerThe GSLB Health Check Timeout. It must be greater than the Interval.6

1.8 - SetGslbRegionalRoutingControl

1.8.1 - 1.1

scp-cli gslb gslb-regional-routing-set
--gslb_id <value>
--status <value>
--region <value>

Description

Updates GSLB regional routing control settings.

State ACTIVE (CURRENT)

VersionNot Before
1.1-

Parameters

NameTypeDescriptionExample
gslb_id
required
stringThe unique identifier of the GSLB.-
status
required
stringWhether to use the GSLB resource. (e.g., ENABLE, DISABLE)ENABLE
region
required
stringThe region where the GSLB resource is located.KR-WEST-1

1.9 - SetGslbResources

1.9.1 - 1.1

scp-cli gslb gslb-resource update
--gslb_id <value>
--resources <value>

Description

Set GSLB Resources.

State ACTIVE (CURRENT)

VersionNot Before
1.1-

Parameters

NameTypeDescriptionExample
gslb_id
required
stringThe unique identifier of the GSLB.-
resources
required
arrayThe list of resources for the GSLB.'{"description": "", "destination": "192.168.1.100", "region": "KR-WEST-1", "weight": 10}'

1.9.2 - 1.0

scp-cli gslb gslb-resource update
--gslb_id <value>
--resources <value>

Description

Set GSLB Resources.

State ACTIVE (DEPRECATED)

Deprecated versions with Not Before dates that have arrived or expired are no longer supported. We recommend using the latest version.

VersionNot Before
1.020260531

Parameters

NameTypeDescriptionExample
gslb_id
required
stringThe unique identifier of the GSLB.-
resources
required
array'{"description": "", "destination": "192.168.1.100", "disabled": false, "region": "KR-WEST-1", "weight": 10}'

1.10 - ShowGslb

1.10.1 - 1.1

scp-cli gslb gslb show
--gslb_id <value>

Description

Shows details of a specific Global Server Load Balancer.

State ACTIVE (CURRENT)

VersionNot Before
1.1-

Parameters

NameTypeDescriptionExample
gslb_id
required
stringThe unique identifier of the GSLB.-

Responses

NameDescriptionExample
idID0fdd87aab8cb46f59b7c1f81ed03fb3e
algorithmThe load balancing algorithm for GSLB traffic distribution (e.g., ROUND_ROBIN, RATIO).
created_atCreated At2024-05-17T00:23:17Z
created_byCreated By90dddfc2b1e04edba54ba2b41539a9ac
descriptionDescription
env_usageThe environment usage type for the GSLB (e.g., PUBLIC).
health_check
linked_resource_countThe number of resources linked to this GSLB.
modified_atModified At2024-05-17T00:23:17Z
modified_byModified By90dddfc2b1e04edba54ba2b41539a9ac
nameThe name of the GSLB.
stateThe current state of the GSLB (e.g., ACTIVE, CREATING, EDITING, ERROR, DELETING).

1.10.2 - 1.0

scp-cli gslb gslb show
--gslb_id <value>

Description

Shows details of a specific Global Server Load Balancer.

State ACTIVE (DEPRECATED)

Deprecated versions with Not Before dates that have arrived or expired are no longer supported. We recommend using the latest version.

VersionNot Before
1.020260531

Parameters

NameTypeDescriptionExample
gslb_id
required
stringThe unique identifier of the GSLB.-

Responses

NameDescriptionExample
idID0fdd87aab8cb46f59b7c1f81ed03fb3e
algorithmThe load balancing algorithm for GSLB traffic distribution (e.g., ROUND_ROBIN, RATIO).
created_atCreated At2024-05-17T00:23:17Z
created_byCreated By90dddfc2b1e04edba54ba2b41539a9ac
descriptionDescription
env_usageThe environment usage type for the GSLB (e.g., PUBLIC).
health_check
linked_resource_countThe number of resources linked to this GSLB.
modified_atModified At2024-05-17T00:23:17Z
modified_byModified By90dddfc2b1e04edba54ba2b41539a9ac
nameThe name of the GSLB.
stateThe current state of the GSLB (e.g., ACTIVE, CREATING, EDITING, ERROR, DELETING).