@pulumi/azure 6.36.0 → 6.37.0-alpha.1779456103
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/arcmachine/automanageConfigurationAssignment.d.ts +3 -3
- package/arcmachine/automanageConfigurationAssignment.js +3 -3
- package/authorization/getRoleDefinition.d.ts +16 -16
- package/authorization/getRoleDefinition.js +16 -16
- package/eventhub/getSas.d.ts +6 -6
- package/eventhub/getSas.js +6 -6
- package/network/networkManagerDeployment.d.ts +3 -3
- package/network/networkManagerDeployment.js +3 -3
- package/network/virtualNetworkPeering.d.ts +6 -6
- package/network/virtualNetworkPeering.js +6 -6
- package/package.json +2 -2
- package/role/getRoleDefinition.d.ts +16 -16
- package/role/getRoleDefinition.js +16 -16
|
@@ -15,10 +15,10 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
15
15
|
* name: "example-resources",
|
|
16
16
|
* location: "West Europe",
|
|
17
17
|
* });
|
|
18
|
-
* const example =
|
|
18
|
+
* const example = azure.arcmachine.getOutput({
|
|
19
19
|
* name: arcMachineName,
|
|
20
|
-
* resourceGroupName: name,
|
|
21
|
-
* })
|
|
20
|
+
* resourceGroupName: exampleResourceGroup.name,
|
|
21
|
+
* });
|
|
22
22
|
* const exampleConfiguration = new azure.automanage.Configuration("example", {
|
|
23
23
|
* name: "example-configuration",
|
|
24
24
|
* resourceGroupName: exampleResourceGroup.name,
|
|
@@ -44,10 +44,10 @@ const utilities = __importStar(require("../utilities"));
|
|
|
44
44
|
* name: "example-resources",
|
|
45
45
|
* location: "West Europe",
|
|
46
46
|
* });
|
|
47
|
-
* const example =
|
|
47
|
+
* const example = azure.arcmachine.getOutput({
|
|
48
48
|
* name: arcMachineName,
|
|
49
|
-
* resourceGroupName: name,
|
|
50
|
-
* })
|
|
49
|
+
* resourceGroupName: exampleResourceGroup.name,
|
|
50
|
+
* });
|
|
51
51
|
* const exampleConfiguration = new azure.automanage.Configuration("example", {
|
|
52
52
|
* name: "example-configuration",
|
|
53
53
|
* resourceGroupName: exampleResourceGroup.name,
|
|
@@ -15,14 +15,14 @@ import * as outputs from "../types/output";
|
|
|
15
15
|
* name: "CustomRoleDef",
|
|
16
16
|
* scope: primary.then(primary => primary.id),
|
|
17
17
|
* });
|
|
18
|
-
* const custom =
|
|
19
|
-
* roleDefinitionId: roleDefinitionId,
|
|
20
|
-
* scope: primary.id,
|
|
21
|
-
* })
|
|
22
|
-
* const custom_byname =
|
|
23
|
-
* name: name,
|
|
24
|
-
* scope: primary.id,
|
|
25
|
-
* })
|
|
18
|
+
* const custom = azure.authorization.getRoleDefinitionOutput({
|
|
19
|
+
* roleDefinitionId: customRoleDefinition.roleDefinitionId,
|
|
20
|
+
* scope: primary.then(primary => primary.id),
|
|
21
|
+
* });
|
|
22
|
+
* const custom_byname = azure.authorization.getRoleDefinitionOutput({
|
|
23
|
+
* name: customRoleDefinition.name,
|
|
24
|
+
* scope: primary.then(primary => primary.id),
|
|
25
|
+
* });
|
|
26
26
|
* const builtin = azure.authorization.getRoleDefinition({
|
|
27
27
|
* name: "Contributor",
|
|
28
28
|
* });
|
|
@@ -102,14 +102,14 @@ export interface GetRoleDefinitionResult {
|
|
|
102
102
|
* name: "CustomRoleDef",
|
|
103
103
|
* scope: primary.then(primary => primary.id),
|
|
104
104
|
* });
|
|
105
|
-
* const custom =
|
|
106
|
-
* roleDefinitionId: roleDefinitionId,
|
|
107
|
-
* scope: primary.id,
|
|
108
|
-
* })
|
|
109
|
-
* const custom_byname =
|
|
110
|
-
* name: name,
|
|
111
|
-
* scope: primary.id,
|
|
112
|
-
* })
|
|
105
|
+
* const custom = azure.authorization.getRoleDefinitionOutput({
|
|
106
|
+
* roleDefinitionId: customRoleDefinition.roleDefinitionId,
|
|
107
|
+
* scope: primary.then(primary => primary.id),
|
|
108
|
+
* });
|
|
109
|
+
* const custom_byname = azure.authorization.getRoleDefinitionOutput({
|
|
110
|
+
* name: customRoleDefinition.name,
|
|
111
|
+
* scope: primary.then(primary => primary.id),
|
|
112
|
+
* });
|
|
113
113
|
* const builtin = azure.authorization.getRoleDefinition({
|
|
114
114
|
* name: "Contributor",
|
|
115
115
|
* });
|
|
@@ -43,14 +43,14 @@ const utilities = __importStar(require("../utilities"));
|
|
|
43
43
|
* name: "CustomRoleDef",
|
|
44
44
|
* scope: primary.then(primary => primary.id),
|
|
45
45
|
* });
|
|
46
|
-
* const custom =
|
|
47
|
-
* roleDefinitionId: roleDefinitionId,
|
|
48
|
-
* scope: primary.id,
|
|
49
|
-
* })
|
|
50
|
-
* const custom_byname =
|
|
51
|
-
* name: name,
|
|
52
|
-
* scope: primary.id,
|
|
53
|
-
* })
|
|
46
|
+
* const custom = azure.authorization.getRoleDefinitionOutput({
|
|
47
|
+
* roleDefinitionId: customRoleDefinition.roleDefinitionId,
|
|
48
|
+
* scope: primary.then(primary => primary.id),
|
|
49
|
+
* });
|
|
50
|
+
* const custom_byname = azure.authorization.getRoleDefinitionOutput({
|
|
51
|
+
* name: customRoleDefinition.name,
|
|
52
|
+
* scope: primary.then(primary => primary.id),
|
|
53
|
+
* });
|
|
54
54
|
* const builtin = azure.authorization.getRoleDefinition({
|
|
55
55
|
* name: "Contributor",
|
|
56
56
|
* });
|
|
@@ -90,14 +90,14 @@ exports.getRoleDefinition = getRoleDefinition;
|
|
|
90
90
|
* name: "CustomRoleDef",
|
|
91
91
|
* scope: primary.then(primary => primary.id),
|
|
92
92
|
* });
|
|
93
|
-
* const custom =
|
|
94
|
-
* roleDefinitionId: roleDefinitionId,
|
|
95
|
-
* scope: primary.id,
|
|
96
|
-
* })
|
|
97
|
-
* const custom_byname =
|
|
98
|
-
* name: name,
|
|
99
|
-
* scope: primary.id,
|
|
100
|
-
* })
|
|
93
|
+
* const custom = azure.authorization.getRoleDefinitionOutput({
|
|
94
|
+
* roleDefinitionId: customRoleDefinition.roleDefinitionId,
|
|
95
|
+
* scope: primary.then(primary => primary.id),
|
|
96
|
+
* });
|
|
97
|
+
* const custom_byname = azure.authorization.getRoleDefinitionOutput({
|
|
98
|
+
* name: customRoleDefinition.name,
|
|
99
|
+
* scope: primary.then(primary => primary.id),
|
|
100
|
+
* });
|
|
101
101
|
* const builtin = azure.authorization.getRoleDefinition({
|
|
102
102
|
* name: "Contributor",
|
|
103
103
|
* });
|
package/eventhub/getSas.d.ts
CHANGED
|
@@ -40,10 +40,10 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
40
40
|
* eventhubName: exampleEventHub.name,
|
|
41
41
|
* resourceGroupName: exampleResourceGroup.name,
|
|
42
42
|
* });
|
|
43
|
-
* const exampleGetSas =
|
|
44
|
-
* connectionString: example.primaryConnectionString,
|
|
43
|
+
* const exampleGetSas = azure.eventhub.getSasOutput({
|
|
44
|
+
* connectionString: example.apply(example => example.primaryConnectionString),
|
|
45
45
|
* expiry: "2023-06-23T00:00:00Z",
|
|
46
|
-
* })
|
|
46
|
+
* });
|
|
47
47
|
* ```
|
|
48
48
|
*/
|
|
49
49
|
export declare function getSas(args: GetSasArgs, opts?: pulumi.InvokeOptions): Promise<GetSasResult>;
|
|
@@ -116,10 +116,10 @@ export interface GetSasResult {
|
|
|
116
116
|
* eventhubName: exampleEventHub.name,
|
|
117
117
|
* resourceGroupName: exampleResourceGroup.name,
|
|
118
118
|
* });
|
|
119
|
-
* const exampleGetSas =
|
|
120
|
-
* connectionString: example.primaryConnectionString,
|
|
119
|
+
* const exampleGetSas = azure.eventhub.getSasOutput({
|
|
120
|
+
* connectionString: example.apply(example => example.primaryConnectionString),
|
|
121
121
|
* expiry: "2023-06-23T00:00:00Z",
|
|
122
|
-
* })
|
|
122
|
+
* });
|
|
123
123
|
* ```
|
|
124
124
|
*/
|
|
125
125
|
export declare function getSasOutput(args: GetSasOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetSasResult>;
|
package/eventhub/getSas.js
CHANGED
|
@@ -69,10 +69,10 @@ const utilities = __importStar(require("../utilities"));
|
|
|
69
69
|
* eventhubName: exampleEventHub.name,
|
|
70
70
|
* resourceGroupName: exampleResourceGroup.name,
|
|
71
71
|
* });
|
|
72
|
-
* const exampleGetSas =
|
|
73
|
-
* connectionString: example.primaryConnectionString,
|
|
72
|
+
* const exampleGetSas = azure.eventhub.getSasOutput({
|
|
73
|
+
* connectionString: example.apply(example => example.primaryConnectionString),
|
|
74
74
|
* expiry: "2023-06-23T00:00:00Z",
|
|
75
|
-
* })
|
|
75
|
+
* });
|
|
76
76
|
* ```
|
|
77
77
|
*/
|
|
78
78
|
function getSas(args, opts) {
|
|
@@ -124,10 +124,10 @@ exports.getSas = getSas;
|
|
|
124
124
|
* eventhubName: exampleEventHub.name,
|
|
125
125
|
* resourceGroupName: exampleResourceGroup.name,
|
|
126
126
|
* });
|
|
127
|
-
* const exampleGetSas =
|
|
128
|
-
* connectionString: example.primaryConnectionString,
|
|
127
|
+
* const exampleGetSas = azure.eventhub.getSasOutput({
|
|
128
|
+
* connectionString: example.apply(example => example.primaryConnectionString),
|
|
129
129
|
* expiry: "2023-06-23T00:00:00Z",
|
|
130
|
-
* })
|
|
130
|
+
* });
|
|
131
131
|
* ```
|
|
132
132
|
*/
|
|
133
133
|
function getSasOutput(args, opts) {
|
|
@@ -130,10 +130,10 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
130
130
|
* scopeAccess: "SecurityAdmin",
|
|
131
131
|
* configurationIds: [exampleNetworkManagerSecurityAdminConfiguration.id],
|
|
132
132
|
* triggers: {
|
|
133
|
-
* source_port_ranges:
|
|
133
|
+
* source_port_ranges: std.joinOutput({
|
|
134
134
|
* separator: ",",
|
|
135
|
-
* input: sourcePortRanges,
|
|
136
|
-
* })
|
|
135
|
+
* input: exampleNetworkManagerAdminRule.sourcePortRanges,
|
|
136
|
+
* }).apply(invoke => invoke.result),
|
|
137
137
|
* },
|
|
138
138
|
* }, {
|
|
139
139
|
* dependsOn: [exampleNetworkManagerAdminRule],
|
|
@@ -159,10 +159,10 @@ const utilities = __importStar(require("../utilities"));
|
|
|
159
159
|
* scopeAccess: "SecurityAdmin",
|
|
160
160
|
* configurationIds: [exampleNetworkManagerSecurityAdminConfiguration.id],
|
|
161
161
|
* triggers: {
|
|
162
|
-
* source_port_ranges:
|
|
162
|
+
* source_port_ranges: std.joinOutput({
|
|
163
163
|
* separator: ",",
|
|
164
|
-
* input: sourcePortRanges,
|
|
165
|
-
* })
|
|
164
|
+
* input: exampleNetworkManagerAdminRule.sourcePortRanges,
|
|
165
|
+
* }).apply(invoke => invoke.result),
|
|
166
166
|
* },
|
|
167
167
|
* }, {
|
|
168
168
|
* dependsOn: [exampleNetworkManagerAdminRule],
|
|
@@ -128,10 +128,10 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
128
128
|
* virtualNetworkName: example_1.name,
|
|
129
129
|
* remoteVirtualNetworkId: example_2.id,
|
|
130
130
|
* triggers: {
|
|
131
|
-
* remote_address_space:
|
|
131
|
+
* remote_address_space: std.joinOutput({
|
|
132
132
|
* separator: ",",
|
|
133
|
-
* input: addressSpaces,
|
|
134
|
-
* })
|
|
133
|
+
* input: example_2.addressSpaces,
|
|
134
|
+
* }).apply(invoke => invoke.result),
|
|
135
135
|
* },
|
|
136
136
|
* });
|
|
137
137
|
* const example_2VirtualNetworkPeering = new azure.network.VirtualNetworkPeering("example-2", {
|
|
@@ -140,10 +140,10 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
140
140
|
* virtualNetworkName: example_2.name,
|
|
141
141
|
* remoteVirtualNetworkId: example_1.id,
|
|
142
142
|
* triggers: {
|
|
143
|
-
* remote_address_space:
|
|
143
|
+
* remote_address_space: std.joinOutput({
|
|
144
144
|
* separator: ",",
|
|
145
|
-
* input: addressSpaces,
|
|
146
|
-
* })
|
|
145
|
+
* input: example_1.addressSpaces,
|
|
146
|
+
* }).apply(invoke => invoke.result),
|
|
147
147
|
* },
|
|
148
148
|
* });
|
|
149
149
|
* ```
|
|
@@ -157,10 +157,10 @@ const utilities = __importStar(require("../utilities"));
|
|
|
157
157
|
* virtualNetworkName: example_1.name,
|
|
158
158
|
* remoteVirtualNetworkId: example_2.id,
|
|
159
159
|
* triggers: {
|
|
160
|
-
* remote_address_space:
|
|
160
|
+
* remote_address_space: std.joinOutput({
|
|
161
161
|
* separator: ",",
|
|
162
|
-
* input: addressSpaces,
|
|
163
|
-
* })
|
|
162
|
+
* input: example_2.addressSpaces,
|
|
163
|
+
* }).apply(invoke => invoke.result),
|
|
164
164
|
* },
|
|
165
165
|
* });
|
|
166
166
|
* const example_2VirtualNetworkPeering = new azure.network.VirtualNetworkPeering("example-2", {
|
|
@@ -169,10 +169,10 @@ const utilities = __importStar(require("../utilities"));
|
|
|
169
169
|
* virtualNetworkName: example_2.name,
|
|
170
170
|
* remoteVirtualNetworkId: example_1.id,
|
|
171
171
|
* triggers: {
|
|
172
|
-
* remote_address_space:
|
|
172
|
+
* remote_address_space: std.joinOutput({
|
|
173
173
|
* separator: ",",
|
|
174
|
-
* input: addressSpaces,
|
|
175
|
-
* })
|
|
174
|
+
* input: example_1.addressSpaces,
|
|
175
|
+
* }).apply(invoke => invoke.result),
|
|
176
176
|
* },
|
|
177
177
|
* });
|
|
178
178
|
* ```
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/azure",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.37.0-alpha.1779456103",
|
|
4
4
|
"description": "A Pulumi package for creating and managing Microsoft Azure cloud resources, based on the Terraform azurerm provider. We recommend using the [Azure Native provider](https://github.com/pulumi/pulumi-azure-native) to provision Azure infrastructure. Azure Native provides complete coverage of Azure resources and same-day access to new resources and resource updates.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
@@ -30,6 +30,6 @@
|
|
|
30
30
|
"pulumi": {
|
|
31
31
|
"resource": true,
|
|
32
32
|
"name": "azure",
|
|
33
|
-
"version": "6.
|
|
33
|
+
"version": "6.37.0-alpha.1779456103"
|
|
34
34
|
}
|
|
35
35
|
}
|
|
@@ -15,14 +15,14 @@ import * as outputs from "../types/output";
|
|
|
15
15
|
* name: "CustomRoleDef",
|
|
16
16
|
* scope: primary.then(primary => primary.id),
|
|
17
17
|
* });
|
|
18
|
-
* const custom =
|
|
19
|
-
* roleDefinitionId: roleDefinitionId,
|
|
20
|
-
* scope: primary.id,
|
|
21
|
-
* })
|
|
22
|
-
* const custom_byname =
|
|
23
|
-
* name: name,
|
|
24
|
-
* scope: primary.id,
|
|
25
|
-
* })
|
|
18
|
+
* const custom = azure.authorization.getRoleDefinitionOutput({
|
|
19
|
+
* roleDefinitionId: customRoleDefinition.roleDefinitionId,
|
|
20
|
+
* scope: primary.then(primary => primary.id),
|
|
21
|
+
* });
|
|
22
|
+
* const custom_byname = azure.authorization.getRoleDefinitionOutput({
|
|
23
|
+
* name: customRoleDefinition.name,
|
|
24
|
+
* scope: primary.then(primary => primary.id),
|
|
25
|
+
* });
|
|
26
26
|
* const builtin = azure.authorization.getRoleDefinition({
|
|
27
27
|
* name: "Contributor",
|
|
28
28
|
* });
|
|
@@ -103,14 +103,14 @@ export interface GetRoleDefinitionResult {
|
|
|
103
103
|
* name: "CustomRoleDef",
|
|
104
104
|
* scope: primary.then(primary => primary.id),
|
|
105
105
|
* });
|
|
106
|
-
* const custom =
|
|
107
|
-
* roleDefinitionId: roleDefinitionId,
|
|
108
|
-
* scope: primary.id,
|
|
109
|
-
* })
|
|
110
|
-
* const custom_byname =
|
|
111
|
-
* name: name,
|
|
112
|
-
* scope: primary.id,
|
|
113
|
-
* })
|
|
106
|
+
* const custom = azure.authorization.getRoleDefinitionOutput({
|
|
107
|
+
* roleDefinitionId: customRoleDefinition.roleDefinitionId,
|
|
108
|
+
* scope: primary.then(primary => primary.id),
|
|
109
|
+
* });
|
|
110
|
+
* const custom_byname = azure.authorization.getRoleDefinitionOutput({
|
|
111
|
+
* name: customRoleDefinition.name,
|
|
112
|
+
* scope: primary.then(primary => primary.id),
|
|
113
|
+
* });
|
|
114
114
|
* const builtin = azure.authorization.getRoleDefinition({
|
|
115
115
|
* name: "Contributor",
|
|
116
116
|
* });
|
|
@@ -43,14 +43,14 @@ const utilities = __importStar(require("../utilities"));
|
|
|
43
43
|
* name: "CustomRoleDef",
|
|
44
44
|
* scope: primary.then(primary => primary.id),
|
|
45
45
|
* });
|
|
46
|
-
* const custom =
|
|
47
|
-
* roleDefinitionId: roleDefinitionId,
|
|
48
|
-
* scope: primary.id,
|
|
49
|
-
* })
|
|
50
|
-
* const custom_byname =
|
|
51
|
-
* name: name,
|
|
52
|
-
* scope: primary.id,
|
|
53
|
-
* })
|
|
46
|
+
* const custom = azure.authorization.getRoleDefinitionOutput({
|
|
47
|
+
* roleDefinitionId: customRoleDefinition.roleDefinitionId,
|
|
48
|
+
* scope: primary.then(primary => primary.id),
|
|
49
|
+
* });
|
|
50
|
+
* const custom_byname = azure.authorization.getRoleDefinitionOutput({
|
|
51
|
+
* name: customRoleDefinition.name,
|
|
52
|
+
* scope: primary.then(primary => primary.id),
|
|
53
|
+
* });
|
|
54
54
|
* const builtin = azure.authorization.getRoleDefinition({
|
|
55
55
|
* name: "Contributor",
|
|
56
56
|
* });
|
|
@@ -92,14 +92,14 @@ exports.getRoleDefinition = getRoleDefinition;
|
|
|
92
92
|
* name: "CustomRoleDef",
|
|
93
93
|
* scope: primary.then(primary => primary.id),
|
|
94
94
|
* });
|
|
95
|
-
* const custom =
|
|
96
|
-
* roleDefinitionId: roleDefinitionId,
|
|
97
|
-
* scope: primary.id,
|
|
98
|
-
* })
|
|
99
|
-
* const custom_byname =
|
|
100
|
-
* name: name,
|
|
101
|
-
* scope: primary.id,
|
|
102
|
-
* })
|
|
95
|
+
* const custom = azure.authorization.getRoleDefinitionOutput({
|
|
96
|
+
* roleDefinitionId: customRoleDefinition.roleDefinitionId,
|
|
97
|
+
* scope: primary.then(primary => primary.id),
|
|
98
|
+
* });
|
|
99
|
+
* const custom_byname = azure.authorization.getRoleDefinitionOutput({
|
|
100
|
+
* name: customRoleDefinition.name,
|
|
101
|
+
* scope: primary.then(primary => primary.id),
|
|
102
|
+
* });
|
|
103
103
|
* const builtin = azure.authorization.getRoleDefinition({
|
|
104
104
|
* name: "Contributor",
|
|
105
105
|
* });
|