@drunk-pulumi/azure 0.0.43 → 0.0.45
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Apps/LogicApp.d.ts +4 -11
- package/Apps/LogicApp.js +9 -13
- package/AzAd/Group.d.ts +1 -1
- package/AzAd/RoleAssignment.d.ts +1 -1
- package/AzAd/RoleAssignment.js +12 -7
- package/Builder/ApimBuilder.js +9 -5
- package/Builder/ResourceBuilder.js +1 -2
- package/Builder/VaultBuilder.js +1 -2
- package/Builder/VdiBuilder.d.ts +4 -0
- package/Builder/VdiBuilder.js +105 -0
- package/Builder/VnetBuilder.js +24 -14
- package/Builder/index.d.ts +1 -0
- package/Builder/index.js +4 -2
- package/Builder/types/apimBuilder.d.ts +2 -3
- package/Builder/types/index.d.ts +1 -0
- package/Builder/types/index.js +2 -1
- package/Builder/types/vdiBuilder.d.ts +71 -0
- package/Builder/types/vdiBuilder.js +3 -0
- package/Builder/types/vnetBuilder.d.ts +4 -1
- package/Cdn/index.d.ts +1 -1
- package/Cdn/index.js +4 -4
- package/Common/AzureEnv.d.ts +1 -2
- package/Common/AzureEnv.js +1 -1
- package/Common/Helpers.d.ts +13 -0
- package/Common/Helpers.js +43 -5
- package/Common/Naming/index.d.ts +4 -2
- package/Common/Naming/index.js +12 -7
- package/Common/ResourceEnv.d.ts +1 -11
- package/Common/ResourceEnv.js +24 -20
- package/Common/index.d.ts +6 -5
- package/Common/index.js +5 -1
- package/ContainerRegistry/index.d.ts +2 -2
- package/ContainerRegistry/index.js +7 -8
- package/KeyVault/index.d.ts +5 -9
- package/KeyVault/index.js +12 -10
- package/MySql/index.d.ts +2 -9
- package/MySql/index.js +14 -10
- package/Postgresql/index.d.ts +2 -9
- package/Postgresql/index.js +13 -10
- package/RedisCache/index.d.ts +9 -5
- package/RedisCache/index.js +42 -31
- package/ServiceBus/index.d.ts +2 -6
- package/ServiceBus/index.js +10 -12
- package/SignalR/index.d.ts +2 -2
- package/SignalR/index.js +21 -27
- package/Sql/index.d.ts +2 -6
- package/Sql/index.js +25 -26
- package/Storage/index.js +3 -5
- package/VNet/FirewallPolicies/CloudPCFirewallPolicy.d.ts +2 -1
- package/VNet/FirewallPolicies/CloudPCFirewallPolicy.js +66 -2
- package/VNet/Helper.d.ts +2 -2
- package/VNet/Helper.js +7 -10
- package/VNet/PrivateEndpoint.d.ts +6 -6
- package/VNet/PrivateEndpoint.js +9 -8
- package/Web/AppConfig.d.ts +2 -2
- package/Web/AppConfig.js +3 -5
- package/package.json +1 -1
- package/types.d.ts +19 -10
package/package.json
CHANGED
package/types.d.ts
CHANGED
|
@@ -2,6 +2,14 @@ import { Input, Output, Resource } from "@pulumi/pulumi";
|
|
|
2
2
|
import * as authorization from "@pulumi/azure-native/authorization";
|
|
3
3
|
import { DiagnosticSetting } from "@pulumi/azure-native/aadiam/diagnosticSetting";
|
|
4
4
|
import { EnvRoleKeyTypes } from "./AzAd/EnvRoles";
|
|
5
|
+
export interface ResourceInfoArg {
|
|
6
|
+
/**If name and provider of the resource is not provided then the Id will be resource group Id*/
|
|
7
|
+
name?: Input<string>;
|
|
8
|
+
/**The provider name of the resource ex: "Microsoft.Network/virtualNetworks" or "Microsoft.Network/networkSecurityGroups"*/
|
|
9
|
+
provider?: string;
|
|
10
|
+
group: ResourceGroupInfo;
|
|
11
|
+
subscriptionId?: Input<string>;
|
|
12
|
+
}
|
|
5
13
|
export interface BasicArgs {
|
|
6
14
|
dependsOn?: Input<Input<Resource>[]> | Input<Resource>;
|
|
7
15
|
importUri?: string;
|
|
@@ -15,18 +23,10 @@ export interface ConventionProps {
|
|
|
15
23
|
prefix?: string;
|
|
16
24
|
suffix?: string;
|
|
17
25
|
/**Whether include the Azure Region name at the end of the name or not*/
|
|
18
|
-
|
|
26
|
+
region?: string;
|
|
19
27
|
/**Whether include the organization name at the end of the name or not*/
|
|
20
28
|
includeOrgName?: boolean;
|
|
21
29
|
}
|
|
22
|
-
export interface PrivateLinkProps {
|
|
23
|
-
subnetIds: Input<string>[];
|
|
24
|
-
}
|
|
25
|
-
export interface NetworkRulesProps {
|
|
26
|
-
subnetId?: Input<string>;
|
|
27
|
-
privateLink?: Omit<PrivateLinkProps, "subnetIds">;
|
|
28
|
-
ipAddresses?: Input<string>[];
|
|
29
|
-
}
|
|
30
30
|
export interface BasicMonitorArgs extends BasicArgs {
|
|
31
31
|
logWpId?: Input<string>;
|
|
32
32
|
logStorageId?: Input<string>;
|
|
@@ -54,6 +54,15 @@ export interface BasicResourceArgs extends BasicArgs {
|
|
|
54
54
|
export interface DefaultResourceArgs extends BasicArgs {
|
|
55
55
|
monitoring?: Omit<DiagnosticProps, "name" | "targetResourceId">;
|
|
56
56
|
}
|
|
57
|
+
export type PrivateLinkPropsType = {
|
|
58
|
+
subnetIds: Input<string>[];
|
|
59
|
+
type?: string;
|
|
60
|
+
};
|
|
61
|
+
export type NetworkPropsType = {
|
|
62
|
+
subnetId?: Input<string>;
|
|
63
|
+
ipAddresses?: Input<string>[];
|
|
64
|
+
privateLink?: PrivateLinkPropsType;
|
|
65
|
+
};
|
|
57
66
|
export interface BasicResourceResultProps<TClass> {
|
|
58
67
|
name: string;
|
|
59
68
|
resource: TClass;
|
|
@@ -65,7 +74,7 @@ export interface ResourceResultProps<TClass> extends BasicResourceResultProps<TC
|
|
|
65
74
|
export interface KeyVaultInfo {
|
|
66
75
|
name: string;
|
|
67
76
|
group: ResourceGroupInfo;
|
|
68
|
-
id:
|
|
77
|
+
id: Output<string>;
|
|
69
78
|
}
|
|
70
79
|
export type IdentityRoleAssignment = {
|
|
71
80
|
vaultInfo?: KeyVaultInfo;
|