mirror of
https://github.com/samsonjs/arq_restore.git
synced 2026-03-25 09:25:53 +00:00
added the new AWS regions
This commit is contained in:
parent
5b288accbe
commit
d4a3d0e14c
2 changed files with 120 additions and 0 deletions
|
|
@ -59,7 +59,12 @@
|
|||
+ (AWSRegion *)usEast2;
|
||||
+ (AWSRegion *)usWest1;
|
||||
+ (AWSRegion *)usWest2;
|
||||
+ (AWSRegion *)caCentral1;
|
||||
+ (AWSRegion *)euWest1;
|
||||
+ (AWSRegion *)euWest2;
|
||||
+ (AWSRegion *)euWest3;
|
||||
+ (AWSRegion *)euNorth1;
|
||||
+ (AWSRegion *)euSouth1;
|
||||
+ (AWSRegion *)euCentral1;
|
||||
+ (AWSRegion *)apSoutheast1;
|
||||
+ (AWSRegion *)apSoutheast2;
|
||||
|
|
@ -67,6 +72,9 @@
|
|||
+ (AWSRegion *)apNortheast2;
|
||||
+ (AWSRegion *)apSouth1;
|
||||
+ (AWSRegion *)saEast1;
|
||||
+ (AWSRegion *)afSouth1;
|
||||
+ (AWSRegion *)meSouth1;
|
||||
|
||||
|
||||
- (NSString *)regionName;
|
||||
- (NSString *)displayName;
|
||||
|
|
|
|||
|
|
@ -44,7 +44,12 @@
|
|||
[AWSRegion usEast2],
|
||||
[AWSRegion usWest1],
|
||||
[AWSRegion usWest2],
|
||||
[AWSRegion caCentral1],
|
||||
[AWSRegion euWest1],
|
||||
[AWSRegion euWest2],
|
||||
[AWSRegion euWest3],
|
||||
[AWSRegion euNorth1],
|
||||
[AWSRegion euSouth1],
|
||||
[AWSRegion euCentral1],
|
||||
[AWSRegion apSoutheast1],
|
||||
[AWSRegion apSoutheast2],
|
||||
|
|
@ -52,6 +57,8 @@
|
|||
[AWSRegion apNortheast2],
|
||||
[AWSRegion apSouth1],
|
||||
[AWSRegion saEast1],
|
||||
[AWSRegion afSouth1],
|
||||
[AWSRegion meSouth1],
|
||||
nil];
|
||||
}
|
||||
+ (NSArray *)s3Regions {
|
||||
|
|
@ -164,6 +171,21 @@
|
|||
glacierDataTransferOutDollarsPerGB:.09
|
||||
supportsGlacier:YES] autorelease];
|
||||
}
|
||||
+ (AWSRegion *)caCentral1 {
|
||||
return [[[AWSRegion alloc] initWithRegionName:@"ca-central-1"
|
||||
s3LocationConstraints:[NSArray arrayWithObject:@"ca-central-1"]
|
||||
s3Hostname:@"s3-ca-central-1.amazonaws.com"
|
||||
displayName:@"Canada (Central)"
|
||||
shortDisplayName:@"Canada"
|
||||
s3StorageDollarsPerGBMonthStandard:.025
|
||||
s3StorageDollarsPerGBMonthRRS:.0138
|
||||
s3UploadDollarsPerGB:.005
|
||||
s3DataTransferOutDollarsPerGB:.09
|
||||
glacierStorageDollarsPerGBMonth:.0045
|
||||
glacierUploadDollarsPerGB:.05
|
||||
glacierDataTransferOutDollarsPerGB:.09
|
||||
supportsGlacier:YES] autorelease];
|
||||
}
|
||||
+ (AWSRegion *)euWest1 {
|
||||
return [[[AWSRegion alloc] initWithRegionName:@"eu-west-1"
|
||||
s3LocationConstraints:[NSArray arrayWithObjects:@"EU", @"eu-west-1", nil]
|
||||
|
|
@ -179,6 +201,66 @@
|
|||
glacierDataTransferOutDollarsPerGB:.09
|
||||
supportsGlacier:YES] autorelease];
|
||||
}
|
||||
+ (AWSRegion *)euWest2 {
|
||||
return [[[AWSRegion alloc] initWithRegionName:@"eu-west-2"
|
||||
s3LocationConstraints:[NSArray arrayWithObjects:@"EU", @"eu-west-2", nil]
|
||||
s3Hostname:@"s3-eu-west-2.amazonaws.com"
|
||||
displayName:@"EU (London)"
|
||||
shortDisplayName:@"London"
|
||||
s3StorageDollarsPerGBMonthStandard:.024
|
||||
s3StorageDollarsPerGBMonthRRS:.0131
|
||||
s3UploadDollarsPerGB:.005
|
||||
s3DataTransferOutDollarsPerGB:.09
|
||||
glacierStorageDollarsPerGBMonth:.0045
|
||||
glacierUploadDollarsPerGB:.055
|
||||
glacierDataTransferOutDollarsPerGB:.09
|
||||
supportsGlacier:YES] autorelease];
|
||||
}
|
||||
+ (AWSRegion *)euWest3 {
|
||||
return [[[AWSRegion alloc] initWithRegionName:@"eu-west-3"
|
||||
s3LocationConstraints:[NSArray arrayWithObjects:@"EU", @"eu-west-3", nil]
|
||||
s3Hostname:@"s3-eu-west-3.amazonaws.com"
|
||||
displayName:@"EU (Paris)"
|
||||
shortDisplayName:@"Paris"
|
||||
s3StorageDollarsPerGBMonthStandard:.024
|
||||
s3StorageDollarsPerGBMonthRRS:.0131
|
||||
s3UploadDollarsPerGB:.005
|
||||
s3DataTransferOutDollarsPerGB:.09
|
||||
glacierStorageDollarsPerGBMonth:.0045
|
||||
glacierUploadDollarsPerGB:.055
|
||||
glacierDataTransferOutDollarsPerGB:.09
|
||||
supportsGlacier:YES] autorelease];
|
||||
}
|
||||
+ (AWSRegion *)euNorth1 {
|
||||
return [[[AWSRegion alloc] initWithRegionName:@"eu-north-1"
|
||||
s3LocationConstraints:[NSArray arrayWithObjects:@"eu-north-1", nil]
|
||||
s3Hostname:@"s3-eu-north-1.amazonaws.com"
|
||||
displayName:@"EU (Stockholm)"
|
||||
shortDisplayName:@"Stockholm"
|
||||
s3StorageDollarsPerGBMonthStandard:.023
|
||||
s3StorageDollarsPerGBMonthRRS:.0125
|
||||
s3UploadDollarsPerGB:.005
|
||||
s3DataTransferOutDollarsPerGB:.09
|
||||
glacierStorageDollarsPerGBMonth:.004
|
||||
glacierUploadDollarsPerGB:.055
|
||||
glacierDataTransferOutDollarsPerGB:.09
|
||||
supportsGlacier:YES] autorelease];
|
||||
}
|
||||
+ (AWSRegion *)euSouth1 {
|
||||
return [[[AWSRegion alloc] initWithRegionName:@"eu-south-1"
|
||||
s3LocationConstraints:[NSArray arrayWithObjects:@"eu-south-1", nil]
|
||||
s3Hostname:@"s3.eu-south-1.amazonaws.com"
|
||||
displayName:@"EU (Milan)"
|
||||
shortDisplayName:@"Milan"
|
||||
s3StorageDollarsPerGBMonthStandard:.024
|
||||
s3StorageDollarsPerGBMonthRRS:.0131
|
||||
s3UploadDollarsPerGB:.005
|
||||
s3DataTransferOutDollarsPerGB:.09
|
||||
glacierStorageDollarsPerGBMonth:.0045
|
||||
glacierUploadDollarsPerGB:.06
|
||||
glacierDataTransferOutDollarsPerGB:.09
|
||||
supportsGlacier:YES] autorelease];
|
||||
}
|
||||
+ (AWSRegion *)euCentral1 {
|
||||
return [[[AWSRegion alloc] initWithRegionName:@"eu-central-1"
|
||||
s3LocationConstraints:[NSArray arrayWithObjects:@"eu-central-1", nil]
|
||||
|
|
@ -284,6 +366,36 @@
|
|||
glacierDataTransferOutDollarsPerGB:0
|
||||
supportsGlacier:NO] autorelease];
|
||||
}
|
||||
+ (AWSRegion *)afSouth1 {
|
||||
return [[[AWSRegion alloc] initWithRegionName:@"af-south-1"
|
||||
s3LocationConstraints:[NSArray arrayWithObject:@"af-south-1"]
|
||||
s3Hostname:@"s3.af-south-1.amazonaws.com"
|
||||
displayName:@"Africa (Cape Town)"
|
||||
shortDisplayName:@"Cape Town"
|
||||
s3StorageDollarsPerGBMonthStandard:.0274
|
||||
s3StorageDollarsPerGBMonthRRS:.0149
|
||||
s3UploadDollarsPerGB:.007
|
||||
s3DataTransferOutDollarsPerGB:.154
|
||||
glacierStorageDollarsPerGBMonth:.0045
|
||||
glacierUploadDollarsPerGB:.06
|
||||
glacierDataTransferOutDollarsPerGB:.154
|
||||
supportsGlacier:YES] autorelease];
|
||||
}
|
||||
+ (AWSRegion *)meSouth1 {
|
||||
return [[[AWSRegion alloc] initWithRegionName:@"me-south-1"
|
||||
s3LocationConstraints:[NSArray arrayWithObject:@"me-south-1"]
|
||||
s3Hostname:@"s3-me-south-1.amazonaws.com"
|
||||
displayName:@"Middle East (Bahrain)"
|
||||
shortDisplayName:@"Bahrain"
|
||||
s3StorageDollarsPerGBMonthStandard:.025
|
||||
s3StorageDollarsPerGBMonthRRS:.0138
|
||||
s3UploadDollarsPerGB:.007
|
||||
s3DataTransferOutDollarsPerGB:.117
|
||||
glacierStorageDollarsPerGBMonth:.0045
|
||||
glacierUploadDollarsPerGB:.0605
|
||||
glacierDataTransferOutDollarsPerGB:.117
|
||||
supportsGlacier:YES] autorelease];
|
||||
}
|
||||
|
||||
|
||||
- (void)dealloc {
|
||||
|
|
|
|||
Loading…
Reference in a new issue