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 {
190
190
VolumeTypeConstraints ,
191
191
VolumeVolumeType ,
192
192
} from './types.gen'
193
+ export * as ValidationRules from './validation-rules.gen'
Original file line number Diff line number Diff line change 2
2
// If you have any remark or suggestion do not hesitate to open an issue.
3
3
import type { Zone } from '../../../bridge'
4
4
5
- export type Arch = 'x86_64' | 'arm' | 'arm64'
5
+ export type Arch = 'unknown_arch' | ' x86_64' | 'arm' | 'arm64'
6
6
7
7
export type AttachServerVolumeRequestVolumeType =
8
8
| 'unknown_volume_type'
@@ -51,11 +51,7 @@ export type SecurityGroupRuleProtocol =
51
51
| 'ICMP'
52
52
| 'ANY'
53
53
54
- export type SecurityGroupState =
55
- | 'unknown_state'
56
- | 'available'
57
- | 'syncing'
58
- | 'syncing_error'
54
+ export type SecurityGroupState = 'available' | 'syncing' | 'syncing_error'
59
55
60
56
export type ServerAction =
61
57
| 'poweron'
@@ -1961,9 +1957,15 @@ export type UpdateSecurityGroupRuleRequest = {
1961
1957
action ?: SecurityGroupRuleAction
1962
1958
/** Range of IP addresses these rules apply to. */
1963
1959
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
+ */
1965
1964
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
+ */
1967
1969
destPortTo ?: number
1968
1970
/** Position of this rule in the security group rules list. */
1969
1971
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