-
Notifications
You must be signed in to change notification settings - Fork 2
/
AliCloudModels.ts
49 lines (45 loc) · 1020 Bytes
/
AliCloudModels.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
/** AliCloud Types */
/**
* AliCloud Instance/Interfaces
*/
export interface NetworkInterfaces {
NetworkInterface?: NetworkInterfaceEntity[] | null;
}
export interface NetworkInterfaceEntity {
MacAddress?: string;
PrimaryIpAddress: string;
NetworkInterfaceId: string;
}
export interface InstanceEntity {
NetworkInterfaces: NetworkInterfaces;
InstanceId: string;
}
export interface Instances {
Instance?: InstanceEntity[] | null;
}
export interface AliCloudInstance {
Instances: Instances;
}
/**
* AliCloud Routes/RouteTable
*/
export interface RouteEntry {
RouteEntryName?: string;
NextHopId?: string;
RouteTableId?: string;
DestinationCidrBlock?: string;
InstanceId?: string;
Status?: string;
}
export interface RouteEntrys {
RouteEntry: RouteEntry[];
}
export interface RouteTable {
RouteEntrys: RouteEntrys;
}
export interface RouteTables {
RouteTable: RouteTable[];
}
export interface AliCloudRoutesList {
RouteTables?: RouteTables;
}