File tree Expand file tree Collapse file tree 2 files changed +127
-119
lines changed
packages/clients/src/api/lb/v1 Expand file tree Collapse file tree 2 files changed +127
-119
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,11 @@ import {
77 validatePathParam ,
88 waitForResource ,
99} from '../../../bridge'
10- import type { Region , WaitForOptions , Zone } from '../../../bridge'
10+ import type {
11+ Region as ScwRegion ,
12+ Zone as ScwZone ,
13+ WaitForOptions ,
14+ } from '../../../bridge'
1115import {
1216 CERTIFICATE_TRANSIENT_STATUSES ,
1317 LB_TRANSIENT_STATUSES ,
@@ -228,7 +232,7 @@ const jsonContentHeaders = {
228232 */
229233export class ZonedAPI extends ParentAPI {
230234 /** Lists the available zones of the API. */
231- public static readonly LOCALITIES : Zone [ ] = [
235+ public static readonly LOCALITIES : ScwZone [ ] = [
232236 'fr-par-1' ,
233237 'fr-par-2' ,
234238 'nl-ams-1' ,
@@ -1467,7 +1471,11 @@ export class ZonedAPI extends ParentAPI {
14671471 */
14681472export class API extends ParentAPI {
14691473 /** Lists the available regions of the API. */
1470- public static readonly LOCALITIES : Region [ ] = [ 'fr-par' , 'nl-ams' , 'pl-waw' ]
1474+ public static readonly LOCALITIES : ScwRegion [ ] = [
1475+ 'fr-par' ,
1476+ 'nl-ams' ,
1477+ 'pl-waw' ,
1478+ ]
14711479
14721480 protected pageOfListLbs = ( request : Readonly < ListLbsRequest > = { } ) =>
14731481 this . client . fetch < ListLbsResponse > (
You can’t perform that action at this time.
0 commit comments