Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions packages/clients/src/api/baremetal/v1/types.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ export interface CPU {
coreCount: number
/** Number of threads of the CPU */
threadCount: number
/** Frequency of the CPU in MHz */
frequency: number
}

Expand Down
3 changes: 2 additions & 1 deletion packages/clients/src/api/instance/v1/api.utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,8 @@ export class InstanceV1UtilsAPI extends InstanceV1GenAPI {
this._createServer(request)

/**
* Starts an action and wait for the server to be in the correct "terminal state" expected by this action.
* Starts an action and wait for the server to be in the correct "terminal
* state" expected by this action.
*
* @param request - The request {@link ServerActionRequest}
* @returns A Promise of Server
Expand Down
14 changes: 7 additions & 7 deletions packages/clients/src/api/instance/v1/types.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1433,21 +1433,21 @@ export type UpdatePlacementGroupServersRequest = {
export type ListIpsRequest = {
/** Zone to target. If none is passed will use default zone from the config */
zone?: Zone
/** The project ID the IPs are reserved in */
project?: string
/** The organization ID the IPs are reserved in */
organization?: string
/**
* Filter IPs with these exact tags (to filter with several tags, use commas
* to separate them)
*/
tags?: Array<string>
/** Filter on the IP address (Works as a LIKE operation on the IP address) */
name?: string
/** A positive integer lower or equal to 100 to select the number of items to return */
perPage?: number
/** A positive integer to choose the page to return */
page?: number
/** The project ID the IPs are reserved in */
project?: string
/**
* Filter IPs with these exact tags (to filter with several tags, use commas
* to separate them)
*/
tags?: Array<string>
}

export type CreateIpRequest = {
Expand Down
8 changes: 4 additions & 4 deletions packages/clients/src/api/instance/v1/types.utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,13 +54,13 @@ export type UpdateSecurityGroupRuleRequest = {
ipRange?: string
position?: number
/**
* If set to 0, DestPortFrom will be removed.
* See SecurityGroupRule.DestPortFrom for more information
* If set to 0, DestPortFrom will be removed. See
* SecurityGroupRule.DestPortFrom for more information
*/
destPortFrom?: number
/**
* If set to 0, DestPortTo will be removed.
* See SecurityGroupRule.DestPortTo for more information
* If set to 0, DestPortTo will be removed. See SecurityGroupRule.DestPortTo
* for more information
*/
destPortTo?: number
}
Expand Down
10 changes: 10 additions & 0 deletions packages/clients/src/api/iot/v1/types.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -167,8 +167,18 @@ export interface DeviceMessageFilters {
subscribe?: DeviceMessageFiltersRule
}

/** Device. message filters. rule */
export interface DeviceMessageFiltersRule {
/**
* If accept, the set will accept all topics in the topics list, but no other.
* If reject, the set will deny all topics in the topics list, but all others
* will be allowed.
*/
policy: DeviceMessageFiltersRulePolicy
/**
* List of topics to accept or reject. It must be valid MQTT topics and up to
* 65535 characters
*/
topics?: Array<string>
}

Expand Down
6 changes: 3 additions & 3 deletions packages/clients/src/api/k8s/v1/types.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -722,7 +722,7 @@ export type CreateClusterRequest = {
*/
autoscalerConfig?: CreateClusterRequestAutoscalerConfig
/**
* This configuratiom enables to set a speicific 2-hour time window in which
* This configuration enables to set a specific 2-hour time window in which
* the cluster can be automatically updated to the latest patch version in the
* current minor one.
*/
Expand Down Expand Up @@ -774,8 +774,8 @@ export type UpdateClusterRequest = {
/** @deprecated The new Ingress Controller for the cluster */
ingress?: Ingress
/**
* The new auo upgrade configuration of the cluster. Note that all the fields
* needs to be set.
* The new auto upgrade configuration of the cluster. Note that all fields
* need to be set.
*/
autoUpgrade?: UpdateClusterRequestAutoUpgrade
/** List of feature gates to enable */
Expand Down
58 changes: 56 additions & 2 deletions packages/clients/src/api/lb/v1/types.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -875,20 +875,47 @@ export type GetBackendRequest = {
export type UpdateBackendRequest = {
/** Region to target. If none is passed will use default region from the config */
region?: Region
/** Backend ID to update */
backendId: string
/** Resource name */
name: string
/** Backend protocol. TCP or HTTP */
forwardProtocol: Protocol
/** User sessions will be forwarded to this port of backend servers */
forwardPort: number
/** Load balancing algorithm */
forwardPortAlgorithm: ForwardPortAlgorithm
/** Enable cookie-based session persistence */
stickySessions: StickySessionsType
/** Cookie name for for sticky sessions */
stickySessionsCookieName: string
/** @deprecated */
/** @deprecated Deprecated in favor of proxy_protocol field! */
sendProxyV2?: boolean
/** Maximum server connection inactivity time */
timeoutServer?: string
/** Maximum initial server connection establishment time */
timeoutConnect?: string
/** Maximum tunnel inactivity time */
timeoutTunnel?: string
/** Modify what occurs when a backend server is marked down */
onMarkedDownAction: OnMarkedDownAction
/**
* The PROXY protocol informs the other end about the incoming connection, so
* that it can know the client's address or the public address it accessed to,
* whatever the upper layer protocol is.
*
* `proxy_protocol_none` Disable proxy protocol. `proxy_protocol_v1` Version
* one (text format). `proxy_protocol_v2` Version two (binary format).
* `proxy_protocol_v2_ssl` Version two with SSL connection.
* `proxy_protocol_v2_ssl_cn` Version two with SSL connection and common name
* information.
*/
proxyProtocol: ProxyProtocol
/**
* Only the host part of the Scaleway S3 bucket website is expected. Example:
* `failover-website.s3-website.fr-par.scw.cloud` if your bucket website URL
* is `https://failover-website.s3-website.fr-par.scw.cloud/`.
*/
failoverHost?: string
}

Expand Down Expand Up @@ -1642,20 +1669,47 @@ export type ZonedApiGetBackendRequest = {
export type ZonedApiUpdateBackendRequest = {
/** Zone to target. If none is passed will use default zone from the config */
zone?: Zone
/** Backend ID to update */
backendId: string
/** Resource name */
name: string
/** Backend protocol. TCP or HTTP */
forwardProtocol: Protocol
/** User sessions will be forwarded to this port of backend servers */
forwardPort: number
/** Load balancing algorithm */
forwardPortAlgorithm: ForwardPortAlgorithm
/** Enable cookie-based session persistence */
stickySessions: StickySessionsType
/** Cookie name for for sticky sessions */
stickySessionsCookieName: string
/** @deprecated */
/** @deprecated Deprecated in favor of proxy_protocol field! */
sendProxyV2?: boolean
/** Maximum server connection inactivity time */
timeoutServer?: string
/** Maximum initial server connection establishment time */
timeoutConnect?: string
/** Maximum tunnel inactivity time */
timeoutTunnel?: string
/** Modify what occurs when a backend server is marked down */
onMarkedDownAction: OnMarkedDownAction
/**
* The PROXY protocol informs the other end about the incoming connection, so
* that it can know the client's address or the public address it accessed to,
* whatever the upper layer protocol is.
*
* `proxy_protocol_none` Disable proxy protocol. `proxy_protocol_v1` Version
* one (text format). `proxy_protocol_v2` Version two (binary format).
* `proxy_protocol_v2_ssl` Version two with SSL connection.
* `proxy_protocol_v2_ssl_cn` Version two with SSL connection and common name
* information.
*/
proxyProtocol: ProxyProtocol
/**
* Only the host part of the Scaleway S3 bucket website is expected. Example:
* `failover-website.s3-website.fr-par.scw.cloud` if your bucket website URL
* is `https://failover-website.s3-website.fr-par.scw.cloud/`.
*/
failoverHost?: string
}

Expand Down
4 changes: 2 additions & 2 deletions packages/clients/src/api/marketplace/v1/types.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export interface Image {
modificationDate?: Date
/** Expiration date of this image */
validUntil?: Date
/** Label of this image */
/** Typically an identifier for a distribution (ex. "ubuntu_focal"). */
label: string
/** List of versions of this image */
versions: Array<Version>
Expand All @@ -49,7 +49,7 @@ export interface ListVersionsResponse {

/** Local image */
export interface LocalImage {
/** UUID of this local image */
/** Version you will typically use to define an image in an API call. */
id: string
/** List of all commercial types that are compatible with this local image */
compatibleCommercialTypes: Array<string>
Expand Down
2 changes: 2 additions & 0 deletions packages/clients/src/api/redis/v1alpha1/types.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -500,12 +500,14 @@ export type AddEndpointsRequest = {
export type DeleteEndpointRequest = {
/** Zone to target. If none is passed will use default zone from the config */
zone?: Zone
/** UUID of the endpoint you want to delete */
endpointId: string
}

export type GetEndpointRequest = {
/** Zone to target. If none is passed will use default zone from the config */
zone?: Zone
/** UUID of the endpoint you want to get */
endpointId: string
}

Expand Down