@ovh-api/ssl-gateway
Advanced tools
Comparing version 4.0.3 to 4.0.4
@@ -1,2 +0,2 @@ | ||
import { CacheAction, ICacheOptions, OvhRequestable } from '@ovh-api/common'; | ||
import type { CacheAction, ICacheOptions, OvhRequestable } from '@ovh-api/common'; | ||
/** | ||
@@ -6,2 +6,33 @@ * START API /sslGateway Models | ||
*/ | ||
export declare namespace iam { | ||
/** | ||
* IAM resource metadata embedded in services models | ||
* interface fullName: iam.ResourceMetadata.ResourceMetadata | ||
*/ | ||
interface ResourceMetadata { | ||
displayName?: string; | ||
id: string; | ||
tags?: { | ||
[key: string]: string; | ||
}; | ||
urn: string; | ||
} | ||
namespace resource { | ||
/** | ||
* Resource tag filter | ||
* interface fullName: iam.resource.TagFilter.TagFilter | ||
*/ | ||
interface TagFilter { | ||
operator?: iam.resource.TagFilter.OperatorEnum; | ||
value: string; | ||
} | ||
namespace TagFilter { | ||
/** | ||
* Operator that can be used in order to filter resources tags | ||
* type fullname: iam.resource.TagFilter.OperatorEnum | ||
*/ | ||
type OperatorEnum = "EQ"; | ||
} | ||
} | ||
} | ||
export declare namespace service { | ||
@@ -139,2 +170,23 @@ /** | ||
/** | ||
* Your SSL Gateway | ||
* interface fullName: sslGateway.SslGatewayWithIAM.SslGatewayWithIAM | ||
*/ | ||
interface SslGatewayWithIAM { | ||
allowedSource?: string[]; | ||
displayName?: string; | ||
hsts: boolean; | ||
httpsRedirect: boolean; | ||
iam?: iam.ResourceMetadata; | ||
ipv4: string; | ||
ipv6?: string; | ||
metricsToken?: string; | ||
offer: sslGateway.OfferEnum; | ||
reverse?: string; | ||
serverHttps: boolean; | ||
serviceName: string; | ||
sslConfiguration?: sslGateway.SslConfigurationEnum; | ||
state: sslGateway.StateEnum; | ||
zones: string[]; | ||
} | ||
/** | ||
* Possible values for SSL Gateway state | ||
@@ -176,6 +228,8 @@ * type fullname: sslGateway.StateEnum | ||
/** | ||
* List available services | ||
* List of your SSL Gateways | ||
* GET /sslGateway | ||
*/ | ||
$get(): Promise<string[]>; | ||
$get(params?: { | ||
iamTags?: any; | ||
}): Promise<string[]>; | ||
/** | ||
@@ -252,3 +306,3 @@ * Controle cache | ||
/** | ||
* Confirm termination of your service | ||
* Confirm service termination | ||
* POST /sslGateway/{serviceName}/confirmTermination | ||
@@ -364,3 +418,3 @@ */ | ||
/** | ||
* Get this object properties | ||
* Get service information | ||
* GET /sslGateway/{serviceName}/serviceInfos | ||
@@ -370,3 +424,3 @@ */ | ||
/** | ||
* Alter this object properties | ||
* Update service information | ||
* PUT /sslGateway/{serviceName}/serviceInfos | ||
@@ -418,3 +472,3 @@ */ | ||
/** | ||
* Terminate your service | ||
* Ask for the termination of your service | ||
* POST /sslGateway/{serviceName}/terminate | ||
@@ -421,0 +475,0 @@ */ |
65
index.ts
@@ -1,2 +0,3 @@ | ||
import { buildOvhProxy, CacheAction, ICacheOptions, OvhRequestable } from '@ovh-api/common'; | ||
import { buildOvhProxy } from '@ovh-api/common'; | ||
import type { CacheAction, ICacheOptions, OvhRequestable } from '@ovh-api/common'; | ||
@@ -7,2 +8,31 @@ /** | ||
*/ | ||
export namespace iam { | ||
/** | ||
* IAM resource metadata embedded in services models | ||
* interface fullName: iam.ResourceMetadata.ResourceMetadata | ||
*/ | ||
export interface ResourceMetadata { | ||
displayName?: string; | ||
id: string; | ||
tags?: { [key: string]: string }; | ||
urn: string; | ||
} | ||
export namespace resource { | ||
/** | ||
* Resource tag filter | ||
* interface fullName: iam.resource.TagFilter.TagFilter | ||
*/ | ||
export interface TagFilter { | ||
operator?: iam.resource.TagFilter.OperatorEnum; | ||
value: string; | ||
} | ||
export namespace TagFilter { | ||
/** | ||
* Operator that can be used in order to filter resources tags | ||
* type fullname: iam.resource.TagFilter.OperatorEnum | ||
*/ | ||
export type OperatorEnum = "EQ" | ||
} | ||
} | ||
} | ||
export namespace service { | ||
@@ -140,2 +170,23 @@ /** | ||
/** | ||
* Your SSL Gateway | ||
* interface fullName: sslGateway.SslGatewayWithIAM.SslGatewayWithIAM | ||
*/ | ||
export interface SslGatewayWithIAM { | ||
allowedSource?: string[]; | ||
displayName?: string; | ||
hsts: boolean; | ||
httpsRedirect: boolean; | ||
iam?: iam.ResourceMetadata; | ||
ipv4: string; | ||
ipv6?: string; | ||
metricsToken?: string; | ||
offer: sslGateway.OfferEnum; | ||
reverse?: string; | ||
serverHttps: boolean; | ||
serviceName: string; | ||
sslConfiguration?: sslGateway.SslConfigurationEnum; | ||
state: sslGateway.StateEnum; | ||
zones: string[]; | ||
} | ||
/** | ||
* Possible values for SSL Gateway state | ||
@@ -180,6 +231,6 @@ * type fullname: sslGateway.StateEnum | ||
/** | ||
* List available services | ||
* List of your SSL Gateways | ||
* GET /sslGateway | ||
*/ | ||
$get(): Promise<string[]>; | ||
$get(params?: { iamTags?: any }): Promise<string[]>; | ||
/** | ||
@@ -235,3 +286,3 @@ * Controle cache | ||
/** | ||
* Confirm termination of your service | ||
* Confirm service termination | ||
* POST /sslGateway/{serviceName}/confirmTermination | ||
@@ -330,3 +381,3 @@ */ | ||
/** | ||
* Get this object properties | ||
* Get service information | ||
* GET /sslGateway/{serviceName}/serviceInfos | ||
@@ -336,3 +387,3 @@ */ | ||
/** | ||
* Alter this object properties | ||
* Update service information | ||
* PUT /sslGateway/{serviceName}/serviceInfos | ||
@@ -370,3 +421,3 @@ */ | ||
/** | ||
* Terminate your service | ||
* Ask for the termination of your service | ||
* POST /sslGateway/{serviceName}/terminate | ||
@@ -373,0 +424,0 @@ */ |
{ | ||
"name": "@ovh-api/ssl-gateway", | ||
"description": "Add typing to to ovh api ssl-gateway", | ||
"version": "4.0.3", | ||
"version": "4.0.4", | ||
"keywords": [ | ||
@@ -14,5 +14,6 @@ "ovh", | ||
".": { | ||
"types": "./index.d.ts", | ||
"require": "./cjs/index.js", | ||
"import": "./index.js", | ||
"types": "./index.d.ts" | ||
"default": "./cjs/index.js" | ||
} | ||
@@ -25,3 +26,3 @@ }, | ||
"dependencies": { | ||
"@ovh-api/common": "^4.0.2" | ||
"@ovh-api/common": "^4.0.4" | ||
}, | ||
@@ -46,3 +47,4 @@ "publishConfig": { | ||
], | ||
"gitHead": "f88147f12eddc5fa9dc77ae7633e4380c20a4b3c" | ||
"type": "module", | ||
"gitHead": "dc82efac55b8ef00d0a6c45c9c2dca9d1d24590f" | ||
} |
@@ -0,0 +0,0 @@ # OVHCloud API client for **ssl-gateway** region Europe |
Sorry, the diff of this file is not supported yet
34726
9
927
Yes
Updated@ovh-api/common@^4.0.4