-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtypes.d.ts
86 lines (70 loc) · 2.04 KB
/
types.d.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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
import { Input, Output, Resource } from '@pulumi/pulumi';
import * as authorization from '@pulumi/azure-native/authorization';
import { DiagnosticSetting } from '@pulumi/azure-native/aadiam/diagnosticSetting';
export interface BasicArgs {
dependsOn?: Input<Input<Resource>[]> | Input<Resource>;
}
export interface ResourceGroupInfo {
resourceGroupName: string;
location?: Input<string>;
}
export interface ConventionProps {
prefix?: string;
suffix?: string;
/**Whether include the organization name at the end of the name or not*/
includeOrgName?: boolean;
}
export interface PrivateLinkProps {
subnetId: Input<string>;
useGlobalDnsZone?: boolean;
}
export interface NetworkRulesProps {
subnetId?: Input<string>;
privateLink?: Omit<PrivateLinkProps, 'subnetId'>;
ipAddresses?: Input<string>[];
}
export interface BasicMonitorArgs extends BasicArgs {
logWpId?: Input<string>;
logStorageId?: Input<string>;
}
export interface DiagnosticProps extends BasicMonitorArgs {
name: string;
targetResourceId: Input<string>;
metricsCategories?: string[];
logsCategories?: string[];
}
export interface ResourceInfo {
resourceName: string;
group: ResourceGroupInfo;
id: Output<string>;
}
export interface ApimInfo extends Omit<ResourceInfo, 'resourceName' | 'id'> {
serviceName: string;
}
export interface BasicResourceArgs extends BasicArgs {
name: string;
group: ResourceGroupInfo;
}
export interface DefaultResourceArgs extends BasicArgs {
lock?: boolean;
monitoring?: Omit<DiagnosticProps, 'name' | 'targetResourceId'>;
importUri?: string;
ignoreChanges?: string[];
}
export interface BasicResourceResultProps<TClass> {
name: string;
resource: TClass;
}
export interface ResourceResultProps<TClass>
extends BasicResourceResultProps<TClass> {
locker?: authorization.ManagementLockByScope;
diagnostic?: DiagnosticSetting;
}
export interface KeyVaultInfo {
name: string;
group: ResourceGroupInfo;
id: Input<string>;
}
export interface AppInsightInfo extends ResourceInfo {
instrumentationKey: Input<string>;
}