-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.ts
42 lines (38 loc) · 1.17 KB
/
config.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
export const azGroups = {
//The name of Shared resource group
shared: '01-shared',
//The name of Hub VNet resource group
hub: '02-hub',
//The name of AKS VNet resource group
aks: '03-aks',
//The name of CloudPC VNet resource group
cloudPC: '04-cloudPC',
};
//The subnet IP address spaces
export const subnetSpaces = {
firewall: '192.168.30.0/26',
firewallManage: '192.168.30.64/26',
general: '192.168.30.128/27',
aks: '192.168.31.0/24',
cloudPC: '192.168.32.0/25',
devOps: '192.168.32.128/27',
};
//A common type all resource output info
export type ResourceOutput = { name: string; id: string };
//Define the output type for reusable
export type SharedStackOutput = {
rsGroup: ResourceOutput;
logWorkspace: ResourceOutput & { customerId: string };
appInsight: ResourceOutput & { key: string };
vault: ResourceOutput & {
readOnlyGroupId: string;
writeGroupId: string;
};
};
export type HubVnetOutput = {
rsGroup: ResourceOutput;
hubVnet: ResourceOutput;
ipAddress: ResourceOutput & { address: string };
firewallPolicy: ResourceOutput;
firewall: ResourceOutput & { address: string };
};