File tree Expand file tree Collapse file tree 3 files changed +24
-8
lines changed
packages/clients/src/api/instance/v1 Expand file tree Collapse file tree 3 files changed +24
-8
lines changed Original file line number Diff line number Diff line change @@ -190,3 +190,4 @@ export type {
190190 VolumeTypeConstraints ,
191191 VolumeVolumeType ,
192192} from './types.gen'
193+ export * as ValidationRules from './validation-rules.gen'
Original file line number Diff line number Diff line change 22// If you have any remark or suggestion do not hesitate to open an issue.
33import type { Zone } from '../../../bridge'
44
5- export type Arch = 'x86_64' | 'arm' | 'arm64'
5+ export type Arch = 'unknown_arch' | ' x86_64' | 'arm' | 'arm64'
66
77export type AttachServerVolumeRequestVolumeType =
88 | 'unknown_volume_type'
@@ -51,11 +51,7 @@ export type SecurityGroupRuleProtocol =
5151 | 'ICMP'
5252 | 'ANY'
5353
54- export type SecurityGroupState =
55- | 'unknown_state'
56- | 'available'
57- | 'syncing'
58- | 'syncing_error'
54+ export type SecurityGroupState = 'available' | 'syncing' | 'syncing_error'
5955
6056export type ServerAction =
6157 | 'poweron'
@@ -1961,9 +1957,15 @@ export type UpdateSecurityGroupRuleRequest = {
19611957 action ?: SecurityGroupRuleAction
19621958 /** Range of IP addresses these rules apply to. */
19631959 ipRange ?: string
1964- /** Beginning of the range of ports this rule applies to (inclusive). */
1960+ /**
1961+ * Beginning of the range of ports this rule applies to (inclusive). If 0 is
1962+ * provided, unset the parameter.
1963+ */
19651964 destPortFrom ?: number
1966- /** End of the range of ports this rule applies to (inclusive). */
1965+ /**
1966+ * End of the range of ports this rule applies to (inclusive). If 0 is
1967+ * provided, unset the parameter.
1968+ */
19671969 destPortTo ?: number
19681970 /** Position of this rule in the security group rules list. */
19691971 position ?: number
Original file line number Diff line number Diff line change 1+ // This file was automatically generated. DO NOT EDIT.
2+ // If you have any remark or suggestion do not hesitate to open an issue.
3+
4+ export const UpdateSecurityGroupRuleRequest = {
5+ destPortFrom : {
6+ greaterThanOrEqual : 0 ,
7+ lessThanOrEqual : 65535 ,
8+ } ,
9+ destPortTo : {
10+ greaterThanOrEqual : 0 ,
11+ lessThanOrEqual : 65535 ,
12+ } ,
13+ }
You can’t perform that action at this time.
0 commit comments