IPWorks Cloud 2020 C++ Edition

Questions / Feedback?

Region Property

The region the class will make requests against.

Syntax

ANSI (Cross Platform)
char* GetRegion();
int SetRegion(const char* lpszRegion); Unicode (Windows) LPWSTR GetRegion();
INT SetRegion(LPCWSTR lpszRegion);
@property (nonatomic,readwrite,assign,getter=region,setter=setRegion:) NSString* region;
- (NSString*)region;
- (void)setRegion:(NSString*)newRegion;
#define PID_DIGITALOCEAN_REGION 67

IPWORKSCLOUD_EXTERNAL void* IPWORKSCLOUD_CALL IPWorksCloud_DigitalOcean_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
IPWORKSCLOUD_EXTERNAL int IPWORKSCLOUD_CALL IPWorksCloud_DigitalOcean_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);

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 C++ Edition - Version 20.0 [Build 8265]