File tree Expand file tree Collapse file tree 2 files changed +46
-2
lines changed Expand file tree Collapse file tree 2 files changed +46
-2
lines changed Original file line number Diff line number Diff line change @@ -3907,7 +3907,7 @@ export interface PrivateSpacesVpn {
3907
3907
/**
3908
3908
* Status of the tunnel
3909
3909
*/
3910
- status ?: string
3910
+ status ?: 'UP' | 'DOWN'
3911
3911
/**
3912
3912
* Details of the status
3913
3913
*/
@@ -3921,7 +3921,7 @@ export interface PrivateSpacesVpn {
3921
3921
/**
3922
3922
* Status of the VPN
3923
3923
*/
3924
- status ?: string
3924
+ status ?: 'pending' | 'provisioning' | 'active' | 'deprovisioning' | 'complete' | 'failed'
3925
3925
/**
3926
3926
* Details of the status
3927
3927
*/
Original file line number Diff line number Diff line change 14980
14980
" string"
14981
14981
]
14982
14982
},
14983
+ "identity" : {
14984
+ "anyOf" : [
14985
+ {
14986
+ "$ref" : " #/definitions/vpn-connection/definitions/id"
14987
+ },
14988
+ {
14989
+ "$ref" : " #/definitions/vpn-connection/definitions/name"
14990
+ }
14991
+ ]
14992
+ },
14983
14993
"space_cidr_block" : {
14984
14994
"description" : " CIDR Block of the Private Space" ,
14985
14995
"example" : " 10.0.0.0/16" ,
15033
15043
},
15034
15044
"status" : {
15035
15045
"description" : " Status of the tunnel" ,
15046
+ "enum" : [
15047
+ " UP" ,
15048
+ " DOWN"
15049
+ ],
15036
15050
"example" : " UP" ,
15037
15051
"type" : [
15038
15052
" string"
15049
15063
},
15050
15064
"status" : {
15051
15065
"description" : " Status of the VPN" ,
15066
+ "enum" : [
15067
+ " pending" ,
15068
+ " provisioning" ,
15069
+ " active" ,
15070
+ " deprovisioning" ,
15071
+ " complete" ,
15072
+ " failed"
15073
+ ],
15052
15074
"example" : " active" ,
15053
15075
"readOnly" : true ,
15054
15076
"type" : [
15108
15130
},
15109
15131
"method" : " POST" ,
15110
15132
"title" : " Create"
15133
+ },
15134
+ {
15135
+ "description" : " Destroy existing VPN Connection" ,
15136
+ "href" : " /spaces/{(%23%2Fdefinitions%2Fspace%2Fdefinitions%2Fidentity)}/vpn-connections/{(%23%2Fdefinitions%2Fvpn-connection%2Fdefinitions%2Fidentity)}" ,
15137
+ "rel" : " empty" ,
15138
+ "method" : " DELETE" ,
15139
+ "title" : " Destroy"
15140
+ },
15141
+ {
15142
+ "description" : " List VPN connections for a space." ,
15143
+ "href" : " /spaces/{(%23%2Fdefinitions%2Fspace%2Fdefinitions%2Fidentity)}/vpn-connections" ,
15144
+ "method" : " GET" ,
15145
+ "rel" : " instances" ,
15146
+ "targetSchema" : {
15147
+ "items" : {
15148
+ "$ref" : " #/definitions/vpn-connection"
15149
+ },
15150
+ "type" : [
15151
+ " array"
15152
+ ]
15153
+ },
15154
+ "title" : " List"
15111
15155
}
15112
15156
]
15113
15157
},
You can’t perform that action at this time.
0 commit comments