File tree Expand file tree Collapse file tree 2 files changed +5
-10
lines changed
packages/clients/src/api/instance/v1 Expand file tree Collapse file tree 2 files changed +5
-10
lines changed Original file line number Diff line number Diff line change @@ -731,7 +731,6 @@ export const unmarshalCreateImageResponse = (data: unknown) => {
731731
732732 return {
733733 image : data . image ? unmarshalImage ( data . image ) : undefined ,
734- location : data . Location ,
735734 } as CreateImageResponse
736735}
737736
@@ -742,10 +741,7 @@ export const unmarshalCreateIpResponse = (data: unknown) => {
742741 )
743742 }
744743
745- return {
746- ip : data . ip ? unmarshalIp ( data . ip ) : undefined ,
747- location : data . Location ,
748- } as CreateIpResponse
744+ return { ip : data . ip ? unmarshalIp ( data . ip ) : undefined } as CreateIpResponse
749745}
750746
751747export const unmarshalCreatePlacementGroupResponse = ( data : unknown ) => {
@@ -835,7 +831,6 @@ export const unmarshalCreateVolumeResponse = (data: unknown) => {
835831 }
836832
837833 return {
838- location : data . Location ,
839834 volume : data . volume ? unmarshalVolume ( data . volume ) : undefined ,
840835 } as CreateVolumeResponse
841836}
Original file line number Diff line number Diff line change @@ -119,12 +119,10 @@ export interface Bootscript {
119119
120120export interface CreateImageResponse {
121121 image ?: Image
122- location : string
123122}
124123
125124export interface CreateIpResponse {
126125 ip ?: Ip
127- location : string
128126}
129127
130128export interface CreatePlacementGroupResponse {
@@ -154,7 +152,6 @@ export interface CreateSnapshotResponse {
154152
155153export interface CreateVolumeResponse {
156154 volume ?: Volume
157- location : string
158155}
159156
160157export interface Dashboard {
@@ -308,9 +305,12 @@ export interface ListSecurityGroupRulesResponse {
308305 rules : Array < SecurityGroupRule >
309306}
310307
308+ /** List security groups response */
311309export interface ListSecurityGroupsResponse {
312- securityGroups : Array < SecurityGroup >
310+ /** Total number of security groups */
313311 totalCount : number
312+ /** List of security groups */
313+ securityGroups : Array < SecurityGroup >
314314}
315315
316316export interface ListServerActionsResponse {
You can’t perform that action at this time.
0 commit comments