IPWorks Cloud 2020 PHP Edition

Questions / Feedback?

Region Property

The region the class will make requests against.

Object Oriented Interface

public function getRegion();
public function setRegion($value);

Procedural Interface

ipworkscloud_digitalocean_get($res, 67 );
ipworkscloud_digitalocean_set($res, 67, $value );

Default Value

'nyc3'

Remarks

This property control which region the class will make requests against. By default the class uses nyc3, the New York 3 region. This property should be changed to create or access resources in other regions.

Regions:

Value Region
ams2 Amsterdam 2
ams3 Amsterdam 3
blr1 Bangalore 1
fra1 Frankfurt 1
lon1 London 1
nyc1 New York 1
nyc2 New York 2
nyc3 (Default) New York 3
sfo1 San Francisco 1
sfo2 San Francisco 2
sgp1 Singapore 1
tor1 Toronto 1

The class will always convert this property's value to lowercase. If this property is cleared, the class will reset it to the default value.

Data Type

String

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks Cloud 2020 PHP Edition - Version 20.0 [Build 8265]