@pulumi/azure 5.81.0-alpha.1719035839 → 5.81.0-alpha.1719232422
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/apimanagement/service.d.ts +3 -3
- package/automation/getRunbook.d.ts +117 -0
- package/automation/getRunbook.js +55 -0
- package/automation/getRunbook.js.map +1 -0
- package/automation/index.d.ts +3 -0
- package/automation/index.js +4 -1
- package/automation/index.js.map +1 -1
- package/automation/jobSchedule.d.ts +14 -4
- package/automation/jobSchedule.js +5 -1
- package/automation/jobSchedule.js.map +1 -1
- package/automation/runBook.d.ts +18 -3
- package/automation/runBook.js.map +1 -1
- package/communication/emailServiceDomain.d.ts +139 -0
- package/communication/emailServiceDomain.js +80 -0
- package/communication/emailServiceDomain.js.map +1 -0
- package/communication/index.d.ts +3 -0
- package/communication/index.js +6 -1
- package/communication/index.js.map +1 -1
- package/containerservice/kubernetesCluster.d.ts +3 -3
- package/cosmosdb/cassandraTable.d.ts +1 -1
- package/cosmosdb/gremlinGraph.d.ts +1 -1
- package/cosmosdb/sqlContainer.d.ts +29 -5
- package/cosmosdb/sqlContainer.js +4 -3
- package/cosmosdb/sqlContainer.js.map +1 -1
- package/dataprotection/backupInstanceBlogStorage.d.ts +18 -0
- package/dataprotection/backupInstanceBlogStorage.js +2 -0
- package/dataprotection/backupInstanceBlogStorage.js.map +1 -1
- package/dataprotection/backupInstancePostgresqlFlexibleServer.d.ts +176 -0
- package/dataprotection/backupInstancePostgresqlFlexibleServer.js +146 -0
- package/dataprotection/backupInstancePostgresqlFlexibleServer.js.map +1 -0
- package/dataprotection/index.d.ts +3 -0
- package/dataprotection/index.js +6 -1
- package/dataprotection/index.js.map +1 -1
- package/desktopvirtualization/hostPool.d.ts +3 -3
- package/desktopvirtualization/scalingPlan.d.ts +1 -1
- package/desktopvirtualization/scalingPlan.js +1 -1
- package/hdinsight/getCluster.d.ts +9 -0
- package/hdinsight/getCluster.js +2 -0
- package/hdinsight/getCluster.js.map +1 -1
- package/lb/backendAddressPool.d.ts +18 -0
- package/lb/backendAddressPool.js +2 -0
- package/lb/backendAddressPool.js.map +1 -1
- package/machinelearning/datastoreDatalakeGen2.d.ts +1 -1
- package/maps/account.d.ts +50 -0
- package/maps/account.js +8 -0
- package/maps/account.js.map +1 -1
- package/monitoring/privateLinkScope.d.ts +26 -0
- package/monitoring/privateLinkScope.js +6 -0
- package/monitoring/privateLinkScope.js.map +1 -1
- package/netapp/volume.d.ts +1 -1
- package/network/getNetworkInterface.d.ts +10 -2
- package/network/getNetworkInterface.js.map +1 -1
- package/network/networkInterface.d.ts +44 -20
- package/network/networkInterface.js +4 -0
- package/network/networkInterface.js.map +1 -1
- package/network/virtualNetworkPeering.d.ts +48 -0
- package/network/virtualNetworkPeering.js +8 -0
- package/network/virtualNetworkPeering.js.map +1 -1
- package/package.json +2 -2
- package/pim/getRoleManagementPolicy.d.ts +151 -0
- package/pim/getRoleManagementPolicy.js +106 -0
- package/pim/getRoleManagementPolicy.js.map +1 -0
- package/pim/index.d.ts +6 -0
- package/pim/index.js +9 -1
- package/pim/index.js.map +1 -1
- package/pim/roleManagementPolicy.d.ts +175 -0
- package/pim/roleManagementPolicy.js +118 -0
- package/pim/roleManagementPolicy.js.map +1 -0
- package/sentinel/alertRuleScheduled.d.ts +15 -3
- package/sentinel/alertRuleScheduled.js +2 -0
- package/sentinel/alertRuleScheduled.js.map +1 -1
- package/synapse/workspace.d.ts +6 -11
- package/synapse/workspace.js +0 -5
- package/synapse/workspace.js.map +1 -1
- package/systemcenter/index.d.ts +9 -0
- package/systemcenter/index.js +16 -1
- package/systemcenter/index.js.map +1 -1
- package/systemcenter/virtualMachineManagerCloud.d.ts +157 -0
- package/systemcenter/virtualMachineManagerCloud.js +111 -0
- package/systemcenter/virtualMachineManagerCloud.js.map +1 -0
- package/systemcenter/virtualMachineManagerVirtualMachineTemplate.d.ts +157 -0
- package/systemcenter/virtualMachineManagerVirtualMachineTemplate.js +111 -0
- package/systemcenter/virtualMachineManagerVirtualMachineTemplate.js.map +1 -0
- package/systemcenter/virtualMachineManagerVirtualNetwork.d.ts +157 -0
- package/systemcenter/virtualMachineManagerVirtualNetwork.js +111 -0
- package/systemcenter/virtualMachineManagerVirtualNetwork.js.map +1 -0
- package/types/input.d.ts +488 -33
- package/types/output.d.ts +750 -35
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.getRoleManagementPolicyOutput = exports.getRoleManagementPolicy = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Use this data source to get information on a role policy for an Azure Management Group, Subscription, Resource Group or resource.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ### Resource Group
|
|
14
|
+
*
|
|
15
|
+
* ```typescript
|
|
16
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
+
* import * as azure from "@pulumi/azure";
|
|
18
|
+
*
|
|
19
|
+
* const example = azure.core.getResourceGroup({
|
|
20
|
+
* name: "example-rg",
|
|
21
|
+
* });
|
|
22
|
+
* const rgContributor = example.then(example => azure.authorization.getRoleDefinition({
|
|
23
|
+
* name: "Contributor",
|
|
24
|
+
* scope: example.id,
|
|
25
|
+
* }));
|
|
26
|
+
* const exampleGetRoleManagementPolicy = azure.pim.getRoleManagementPolicy({
|
|
27
|
+
* scope: test.id,
|
|
28
|
+
* roleDefinitionId: contributor.id,
|
|
29
|
+
* });
|
|
30
|
+
* ```
|
|
31
|
+
*
|
|
32
|
+
* ### Management Group
|
|
33
|
+
*
|
|
34
|
+
* ```typescript
|
|
35
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
36
|
+
* import * as azure from "@pulumi/azure";
|
|
37
|
+
*
|
|
38
|
+
* const example = azure.management.getGroup({
|
|
39
|
+
* name: "example-group",
|
|
40
|
+
* });
|
|
41
|
+
* const mgContributor = azure.authorization.getRoleDefinition({
|
|
42
|
+
* name: "Contributor",
|
|
43
|
+
* scope: exampleAzurermManagementGroup.id,
|
|
44
|
+
* });
|
|
45
|
+
* const exampleGetRoleManagementPolicy = Promise.all([example, mgContributor]).then(([example, mgContributor]) => azure.pim.getRoleManagementPolicy({
|
|
46
|
+
* scope: example.id,
|
|
47
|
+
* roleDefinitionId: mgContributor.id,
|
|
48
|
+
* }));
|
|
49
|
+
* ```
|
|
50
|
+
*/
|
|
51
|
+
function getRoleManagementPolicy(args, opts) {
|
|
52
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
53
|
+
return pulumi.runtime.invoke("azure:pim/getRoleManagementPolicy:getRoleManagementPolicy", {
|
|
54
|
+
"roleDefinitionId": args.roleDefinitionId,
|
|
55
|
+
"scope": args.scope,
|
|
56
|
+
}, opts);
|
|
57
|
+
}
|
|
58
|
+
exports.getRoleManagementPolicy = getRoleManagementPolicy;
|
|
59
|
+
/**
|
|
60
|
+
* Use this data source to get information on a role policy for an Azure Management Group, Subscription, Resource Group or resource.
|
|
61
|
+
*
|
|
62
|
+
* ## Example Usage
|
|
63
|
+
*
|
|
64
|
+
* ### Resource Group
|
|
65
|
+
*
|
|
66
|
+
* ```typescript
|
|
67
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
68
|
+
* import * as azure from "@pulumi/azure";
|
|
69
|
+
*
|
|
70
|
+
* const example = azure.core.getResourceGroup({
|
|
71
|
+
* name: "example-rg",
|
|
72
|
+
* });
|
|
73
|
+
* const rgContributor = example.then(example => azure.authorization.getRoleDefinition({
|
|
74
|
+
* name: "Contributor",
|
|
75
|
+
* scope: example.id,
|
|
76
|
+
* }));
|
|
77
|
+
* const exampleGetRoleManagementPolicy = azure.pim.getRoleManagementPolicy({
|
|
78
|
+
* scope: test.id,
|
|
79
|
+
* roleDefinitionId: contributor.id,
|
|
80
|
+
* });
|
|
81
|
+
* ```
|
|
82
|
+
*
|
|
83
|
+
* ### Management Group
|
|
84
|
+
*
|
|
85
|
+
* ```typescript
|
|
86
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
87
|
+
* import * as azure from "@pulumi/azure";
|
|
88
|
+
*
|
|
89
|
+
* const example = azure.management.getGroup({
|
|
90
|
+
* name: "example-group",
|
|
91
|
+
* });
|
|
92
|
+
* const mgContributor = azure.authorization.getRoleDefinition({
|
|
93
|
+
* name: "Contributor",
|
|
94
|
+
* scope: exampleAzurermManagementGroup.id,
|
|
95
|
+
* });
|
|
96
|
+
* const exampleGetRoleManagementPolicy = Promise.all([example, mgContributor]).then(([example, mgContributor]) => azure.pim.getRoleManagementPolicy({
|
|
97
|
+
* scope: example.id,
|
|
98
|
+
* roleDefinitionId: mgContributor.id,
|
|
99
|
+
* }));
|
|
100
|
+
* ```
|
|
101
|
+
*/
|
|
102
|
+
function getRoleManagementPolicyOutput(args, opts) {
|
|
103
|
+
return pulumi.output(args).apply((a) => getRoleManagementPolicy(a, opts));
|
|
104
|
+
}
|
|
105
|
+
exports.getRoleManagementPolicyOutput = getRoleManagementPolicyOutput;
|
|
106
|
+
//# sourceMappingURL=getRoleManagementPolicy.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getRoleManagementPolicy.js","sourceRoot":"","sources":["../../pim/getRoleManagementPolicy.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0CG;AACH,SAAgB,uBAAuB,CAAC,IAAiC,EAAE,IAA2B;IAElG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,2DAA2D,EAAE;QACtF,kBAAkB,EAAE,IAAI,CAAC,gBAAgB;QACzC,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,0DAOC;AAmDD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0CG;AACH,SAAgB,6BAA6B,CAAC,IAAuC,EAAE,IAA2B;IAC9G,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,uBAAuB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAClF,CAAC;AAFD,sEAEC"}
|
package/pim/index.d.ts
CHANGED
|
@@ -4,3 +4,9 @@ export declare const ActiveRoleAssignment: typeof import("./activeRoleAssignment
|
|
|
4
4
|
export { EligibleRoleAssignmentArgs, EligibleRoleAssignmentState } from "./eligibleRoleAssignment";
|
|
5
5
|
export declare type EligibleRoleAssignment = import("./eligibleRoleAssignment").EligibleRoleAssignment;
|
|
6
6
|
export declare const EligibleRoleAssignment: typeof import("./eligibleRoleAssignment").EligibleRoleAssignment;
|
|
7
|
+
export { GetRoleManagementPolicyArgs, GetRoleManagementPolicyResult, GetRoleManagementPolicyOutputArgs } from "./getRoleManagementPolicy";
|
|
8
|
+
export declare const getRoleManagementPolicy: typeof import("./getRoleManagementPolicy").getRoleManagementPolicy;
|
|
9
|
+
export declare const getRoleManagementPolicyOutput: typeof import("./getRoleManagementPolicy").getRoleManagementPolicyOutput;
|
|
10
|
+
export { RoleManagementPolicyArgs, RoleManagementPolicyState } from "./roleManagementPolicy";
|
|
11
|
+
export declare type RoleManagementPolicy = import("./roleManagementPolicy").RoleManagementPolicy;
|
|
12
|
+
export declare const RoleManagementPolicy: typeof import("./roleManagementPolicy").RoleManagementPolicy;
|
package/pim/index.js
CHANGED
|
@@ -2,13 +2,18 @@
|
|
|
2
2
|
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.EligibleRoleAssignment = exports.ActiveRoleAssignment = void 0;
|
|
5
|
+
exports.RoleManagementPolicy = exports.getRoleManagementPolicyOutput = exports.getRoleManagementPolicy = exports.EligibleRoleAssignment = exports.ActiveRoleAssignment = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
exports.ActiveRoleAssignment = null;
|
|
9
9
|
utilities.lazyLoad(exports, ["ActiveRoleAssignment"], () => require("./activeRoleAssignment"));
|
|
10
10
|
exports.EligibleRoleAssignment = null;
|
|
11
11
|
utilities.lazyLoad(exports, ["EligibleRoleAssignment"], () => require("./eligibleRoleAssignment"));
|
|
12
|
+
exports.getRoleManagementPolicy = null;
|
|
13
|
+
exports.getRoleManagementPolicyOutput = null;
|
|
14
|
+
utilities.lazyLoad(exports, ["getRoleManagementPolicy", "getRoleManagementPolicyOutput"], () => require("./getRoleManagementPolicy"));
|
|
15
|
+
exports.RoleManagementPolicy = null;
|
|
16
|
+
utilities.lazyLoad(exports, ["RoleManagementPolicy"], () => require("./roleManagementPolicy"));
|
|
12
17
|
const _module = {
|
|
13
18
|
version: utilities.getVersion(),
|
|
14
19
|
construct: (name, type, urn) => {
|
|
@@ -17,6 +22,8 @@ const _module = {
|
|
|
17
22
|
return new exports.ActiveRoleAssignment(name, undefined, { urn });
|
|
18
23
|
case "azure:pim/eligibleRoleAssignment:EligibleRoleAssignment":
|
|
19
24
|
return new exports.EligibleRoleAssignment(name, undefined, { urn });
|
|
25
|
+
case "azure:pim/roleManagementPolicy:RoleManagementPolicy":
|
|
26
|
+
return new exports.RoleManagementPolicy(name, undefined, { urn });
|
|
20
27
|
default:
|
|
21
28
|
throw new Error(`unknown resource type ${type}`);
|
|
22
29
|
}
|
|
@@ -24,4 +31,5 @@ const _module = {
|
|
|
24
31
|
};
|
|
25
32
|
pulumi.runtime.registerResourceModule("azure", "pim/activeRoleAssignment", _module);
|
|
26
33
|
pulumi.runtime.registerResourceModule("azure", "pim/eligibleRoleAssignment", _module);
|
|
34
|
+
pulumi.runtime.registerResourceModule("azure", "pim/roleManagementPolicy", _module);
|
|
27
35
|
//# sourceMappingURL=index.js.map
|
package/pim/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../pim/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAK7B,QAAA,oBAAoB,GAAiE,IAAW,CAAC;AAC9G,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,sBAAsB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,wBAAwB,CAAC,CAAC,CAAC;AAIlF,QAAA,sBAAsB,GAAqE,IAAW,CAAC;AACpH,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,wBAAwB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,0BAA0B,CAAC,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../pim/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAK7B,QAAA,oBAAoB,GAAiE,IAAW,CAAC;AAC9G,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,sBAAsB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,wBAAwB,CAAC,CAAC,CAAC;AAIlF,QAAA,sBAAsB,GAAqE,IAAW,CAAC;AACpH,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,wBAAwB,CAAC,EAAE,GAAG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,sBAAsB,CAAC,OAAO,EAAE,0BAA0B,EAAE,OAAO,CAAC,CAAA"}
|
|
@@ -0,0 +1,175 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* Manage a role policy for an Azure Management Group, Subscription, Resource Group or resource.
|
|
6
|
+
*
|
|
7
|
+
* ## Example Usage
|
|
8
|
+
*
|
|
9
|
+
* ### Management Group
|
|
10
|
+
*
|
|
11
|
+
* ```typescript
|
|
12
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
13
|
+
* import * as azure from "@pulumi/azure";
|
|
14
|
+
*
|
|
15
|
+
* const example = new azure.management.Group("example", {name: "example-group"});
|
|
16
|
+
* const mgContributor = azure.authorization.getRoleDefinitionOutput({
|
|
17
|
+
* name: "Contributor",
|
|
18
|
+
* scope: example.id,
|
|
19
|
+
* });
|
|
20
|
+
* const exampleRoleManagementPolicy = new azure.pim.RoleManagementPolicy("example", {
|
|
21
|
+
* scope: example.id,
|
|
22
|
+
* roleDefinitionId: mgContributor.apply(mgContributor => mgContributor.id),
|
|
23
|
+
* eligibleAssignmentRules: {
|
|
24
|
+
* expirationRequired: false,
|
|
25
|
+
* },
|
|
26
|
+
* activeAssignmentRules: {
|
|
27
|
+
* expireAfter: "P90D",
|
|
28
|
+
* },
|
|
29
|
+
* activationRules: {
|
|
30
|
+
* maximumDuration: "PT1H",
|
|
31
|
+
* requireApproval: true,
|
|
32
|
+
* },
|
|
33
|
+
* notificationRules: {
|
|
34
|
+
* activeAssignments: {
|
|
35
|
+
* adminNotifications: {
|
|
36
|
+
* notificationLevel: "Critical",
|
|
37
|
+
* defaultRecipients: false,
|
|
38
|
+
* additionalRecipients: ["someone@example.com"],
|
|
39
|
+
* },
|
|
40
|
+
* },
|
|
41
|
+
* },
|
|
42
|
+
* });
|
|
43
|
+
* ```
|
|
44
|
+
*
|
|
45
|
+
* ## Import
|
|
46
|
+
*
|
|
47
|
+
* Because these policies are created automatically by Azure, they will auto-import on first use. They can be imported using the `resource id` of the role definition, combined with the scope id, e.g.
|
|
48
|
+
*
|
|
49
|
+
* ```sh
|
|
50
|
+
* $ pulumi import azure:pim/roleManagementPolicy:RoleManagementPolicy example "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/00000000-0000-0000-0000-000000000000|<scope>"
|
|
51
|
+
* ```
|
|
52
|
+
*/
|
|
53
|
+
export declare class RoleManagementPolicy extends pulumi.CustomResource {
|
|
54
|
+
/**
|
|
55
|
+
* Get an existing RoleManagementPolicy resource's state with the given name, ID, and optional extra
|
|
56
|
+
* properties used to qualify the lookup.
|
|
57
|
+
*
|
|
58
|
+
* @param name The _unique_ name of the resulting resource.
|
|
59
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
60
|
+
* @param state Any extra arguments used during the lookup.
|
|
61
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
62
|
+
*/
|
|
63
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: RoleManagementPolicyState, opts?: pulumi.CustomResourceOptions): RoleManagementPolicy;
|
|
64
|
+
/**
|
|
65
|
+
* Returns true if the given object is an instance of RoleManagementPolicy. This is designed to work even
|
|
66
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
67
|
+
*/
|
|
68
|
+
static isInstance(obj: any): obj is RoleManagementPolicy;
|
|
69
|
+
/**
|
|
70
|
+
* An `activationRules` block as defined below.
|
|
71
|
+
*/
|
|
72
|
+
readonly activationRules: pulumi.Output<outputs.pim.RoleManagementPolicyActivationRules>;
|
|
73
|
+
/**
|
|
74
|
+
* An `activeAssignmentRules` block as defined below.
|
|
75
|
+
*/
|
|
76
|
+
readonly activeAssignmentRules: pulumi.Output<outputs.pim.RoleManagementPolicyActiveAssignmentRules>;
|
|
77
|
+
/**
|
|
78
|
+
* (String) The description of this policy.
|
|
79
|
+
*/
|
|
80
|
+
readonly description: pulumi.Output<string>;
|
|
81
|
+
/**
|
|
82
|
+
* An `eligibleAssignmentRules` block as defined below.
|
|
83
|
+
*/
|
|
84
|
+
readonly eligibleAssignmentRules: pulumi.Output<outputs.pim.RoleManagementPolicyEligibleAssignmentRules>;
|
|
85
|
+
/**
|
|
86
|
+
* (String) The name of this policy, which is typically a UUID and may change over time.
|
|
87
|
+
*/
|
|
88
|
+
readonly name: pulumi.Output<string>;
|
|
89
|
+
/**
|
|
90
|
+
* A `notificationRules` block as defined below.
|
|
91
|
+
*/
|
|
92
|
+
readonly notificationRules: pulumi.Output<outputs.pim.RoleManagementPolicyNotificationRules>;
|
|
93
|
+
/**
|
|
94
|
+
* The scoped Role Definition ID of the role for which this policy will apply. Changing this forces a new resource to be created.
|
|
95
|
+
*/
|
|
96
|
+
readonly roleDefinitionId: pulumi.Output<string>;
|
|
97
|
+
/**
|
|
98
|
+
* The scope to which this Role Management Policy will apply. Can refer to a management group, a subscription or a resource group. Changing this forces a new resource to be created.
|
|
99
|
+
*/
|
|
100
|
+
readonly scope: pulumi.Output<string>;
|
|
101
|
+
/**
|
|
102
|
+
* Create a RoleManagementPolicy resource with the given unique name, arguments, and options.
|
|
103
|
+
*
|
|
104
|
+
* @param name The _unique_ name of the resource.
|
|
105
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
106
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
107
|
+
*/
|
|
108
|
+
constructor(name: string, args: RoleManagementPolicyArgs, opts?: pulumi.CustomResourceOptions);
|
|
109
|
+
}
|
|
110
|
+
/**
|
|
111
|
+
* Input properties used for looking up and filtering RoleManagementPolicy resources.
|
|
112
|
+
*/
|
|
113
|
+
export interface RoleManagementPolicyState {
|
|
114
|
+
/**
|
|
115
|
+
* An `activationRules` block as defined below.
|
|
116
|
+
*/
|
|
117
|
+
activationRules?: pulumi.Input<inputs.pim.RoleManagementPolicyActivationRules>;
|
|
118
|
+
/**
|
|
119
|
+
* An `activeAssignmentRules` block as defined below.
|
|
120
|
+
*/
|
|
121
|
+
activeAssignmentRules?: pulumi.Input<inputs.pim.RoleManagementPolicyActiveAssignmentRules>;
|
|
122
|
+
/**
|
|
123
|
+
* (String) The description of this policy.
|
|
124
|
+
*/
|
|
125
|
+
description?: pulumi.Input<string>;
|
|
126
|
+
/**
|
|
127
|
+
* An `eligibleAssignmentRules` block as defined below.
|
|
128
|
+
*/
|
|
129
|
+
eligibleAssignmentRules?: pulumi.Input<inputs.pim.RoleManagementPolicyEligibleAssignmentRules>;
|
|
130
|
+
/**
|
|
131
|
+
* (String) The name of this policy, which is typically a UUID and may change over time.
|
|
132
|
+
*/
|
|
133
|
+
name?: pulumi.Input<string>;
|
|
134
|
+
/**
|
|
135
|
+
* A `notificationRules` block as defined below.
|
|
136
|
+
*/
|
|
137
|
+
notificationRules?: pulumi.Input<inputs.pim.RoleManagementPolicyNotificationRules>;
|
|
138
|
+
/**
|
|
139
|
+
* The scoped Role Definition ID of the role for which this policy will apply. Changing this forces a new resource to be created.
|
|
140
|
+
*/
|
|
141
|
+
roleDefinitionId?: pulumi.Input<string>;
|
|
142
|
+
/**
|
|
143
|
+
* The scope to which this Role Management Policy will apply. Can refer to a management group, a subscription or a resource group. Changing this forces a new resource to be created.
|
|
144
|
+
*/
|
|
145
|
+
scope?: pulumi.Input<string>;
|
|
146
|
+
}
|
|
147
|
+
/**
|
|
148
|
+
* The set of arguments for constructing a RoleManagementPolicy resource.
|
|
149
|
+
*/
|
|
150
|
+
export interface RoleManagementPolicyArgs {
|
|
151
|
+
/**
|
|
152
|
+
* An `activationRules` block as defined below.
|
|
153
|
+
*/
|
|
154
|
+
activationRules?: pulumi.Input<inputs.pim.RoleManagementPolicyActivationRules>;
|
|
155
|
+
/**
|
|
156
|
+
* An `activeAssignmentRules` block as defined below.
|
|
157
|
+
*/
|
|
158
|
+
activeAssignmentRules?: pulumi.Input<inputs.pim.RoleManagementPolicyActiveAssignmentRules>;
|
|
159
|
+
/**
|
|
160
|
+
* An `eligibleAssignmentRules` block as defined below.
|
|
161
|
+
*/
|
|
162
|
+
eligibleAssignmentRules?: pulumi.Input<inputs.pim.RoleManagementPolicyEligibleAssignmentRules>;
|
|
163
|
+
/**
|
|
164
|
+
* A `notificationRules` block as defined below.
|
|
165
|
+
*/
|
|
166
|
+
notificationRules?: pulumi.Input<inputs.pim.RoleManagementPolicyNotificationRules>;
|
|
167
|
+
/**
|
|
168
|
+
* The scoped Role Definition ID of the role for which this policy will apply. Changing this forces a new resource to be created.
|
|
169
|
+
*/
|
|
170
|
+
roleDefinitionId: pulumi.Input<string>;
|
|
171
|
+
/**
|
|
172
|
+
* The scope to which this Role Management Policy will apply. Can refer to a management group, a subscription or a resource group. Changing this forces a new resource to be created.
|
|
173
|
+
*/
|
|
174
|
+
scope: pulumi.Input<string>;
|
|
175
|
+
}
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.RoleManagementPolicy = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Manage a role policy for an Azure Management Group, Subscription, Resource Group or resource.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ### Management Group
|
|
14
|
+
*
|
|
15
|
+
* ```typescript
|
|
16
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
+
* import * as azure from "@pulumi/azure";
|
|
18
|
+
*
|
|
19
|
+
* const example = new azure.management.Group("example", {name: "example-group"});
|
|
20
|
+
* const mgContributor = azure.authorization.getRoleDefinitionOutput({
|
|
21
|
+
* name: "Contributor",
|
|
22
|
+
* scope: example.id,
|
|
23
|
+
* });
|
|
24
|
+
* const exampleRoleManagementPolicy = new azure.pim.RoleManagementPolicy("example", {
|
|
25
|
+
* scope: example.id,
|
|
26
|
+
* roleDefinitionId: mgContributor.apply(mgContributor => mgContributor.id),
|
|
27
|
+
* eligibleAssignmentRules: {
|
|
28
|
+
* expirationRequired: false,
|
|
29
|
+
* },
|
|
30
|
+
* activeAssignmentRules: {
|
|
31
|
+
* expireAfter: "P90D",
|
|
32
|
+
* },
|
|
33
|
+
* activationRules: {
|
|
34
|
+
* maximumDuration: "PT1H",
|
|
35
|
+
* requireApproval: true,
|
|
36
|
+
* },
|
|
37
|
+
* notificationRules: {
|
|
38
|
+
* activeAssignments: {
|
|
39
|
+
* adminNotifications: {
|
|
40
|
+
* notificationLevel: "Critical",
|
|
41
|
+
* defaultRecipients: false,
|
|
42
|
+
* additionalRecipients: ["someone@example.com"],
|
|
43
|
+
* },
|
|
44
|
+
* },
|
|
45
|
+
* },
|
|
46
|
+
* });
|
|
47
|
+
* ```
|
|
48
|
+
*
|
|
49
|
+
* ## Import
|
|
50
|
+
*
|
|
51
|
+
* Because these policies are created automatically by Azure, they will auto-import on first use. They can be imported using the `resource id` of the role definition, combined with the scope id, e.g.
|
|
52
|
+
*
|
|
53
|
+
* ```sh
|
|
54
|
+
* $ pulumi import azure:pim/roleManagementPolicy:RoleManagementPolicy example "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/00000000-0000-0000-0000-000000000000|<scope>"
|
|
55
|
+
* ```
|
|
56
|
+
*/
|
|
57
|
+
class RoleManagementPolicy extends pulumi.CustomResource {
|
|
58
|
+
constructor(name, argsOrState, opts) {
|
|
59
|
+
let resourceInputs = {};
|
|
60
|
+
opts = opts || {};
|
|
61
|
+
if (opts.id) {
|
|
62
|
+
const state = argsOrState;
|
|
63
|
+
resourceInputs["activationRules"] = state ? state.activationRules : undefined;
|
|
64
|
+
resourceInputs["activeAssignmentRules"] = state ? state.activeAssignmentRules : undefined;
|
|
65
|
+
resourceInputs["description"] = state ? state.description : undefined;
|
|
66
|
+
resourceInputs["eligibleAssignmentRules"] = state ? state.eligibleAssignmentRules : undefined;
|
|
67
|
+
resourceInputs["name"] = state ? state.name : undefined;
|
|
68
|
+
resourceInputs["notificationRules"] = state ? state.notificationRules : undefined;
|
|
69
|
+
resourceInputs["roleDefinitionId"] = state ? state.roleDefinitionId : undefined;
|
|
70
|
+
resourceInputs["scope"] = state ? state.scope : undefined;
|
|
71
|
+
}
|
|
72
|
+
else {
|
|
73
|
+
const args = argsOrState;
|
|
74
|
+
if ((!args || args.roleDefinitionId === undefined) && !opts.urn) {
|
|
75
|
+
throw new Error("Missing required property 'roleDefinitionId'");
|
|
76
|
+
}
|
|
77
|
+
if ((!args || args.scope === undefined) && !opts.urn) {
|
|
78
|
+
throw new Error("Missing required property 'scope'");
|
|
79
|
+
}
|
|
80
|
+
resourceInputs["activationRules"] = args ? args.activationRules : undefined;
|
|
81
|
+
resourceInputs["activeAssignmentRules"] = args ? args.activeAssignmentRules : undefined;
|
|
82
|
+
resourceInputs["eligibleAssignmentRules"] = args ? args.eligibleAssignmentRules : undefined;
|
|
83
|
+
resourceInputs["notificationRules"] = args ? args.notificationRules : undefined;
|
|
84
|
+
resourceInputs["roleDefinitionId"] = args ? args.roleDefinitionId : undefined;
|
|
85
|
+
resourceInputs["scope"] = args ? args.scope : undefined;
|
|
86
|
+
resourceInputs["description"] = undefined /*out*/;
|
|
87
|
+
resourceInputs["name"] = undefined /*out*/;
|
|
88
|
+
}
|
|
89
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
90
|
+
super(RoleManagementPolicy.__pulumiType, name, resourceInputs, opts);
|
|
91
|
+
}
|
|
92
|
+
/**
|
|
93
|
+
* Get an existing RoleManagementPolicy resource's state with the given name, ID, and optional extra
|
|
94
|
+
* properties used to qualify the lookup.
|
|
95
|
+
*
|
|
96
|
+
* @param name The _unique_ name of the resulting resource.
|
|
97
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
98
|
+
* @param state Any extra arguments used during the lookup.
|
|
99
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
100
|
+
*/
|
|
101
|
+
static get(name, id, state, opts) {
|
|
102
|
+
return new RoleManagementPolicy(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
103
|
+
}
|
|
104
|
+
/**
|
|
105
|
+
* Returns true if the given object is an instance of RoleManagementPolicy. This is designed to work even
|
|
106
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
107
|
+
*/
|
|
108
|
+
static isInstance(obj) {
|
|
109
|
+
if (obj === undefined || obj === null) {
|
|
110
|
+
return false;
|
|
111
|
+
}
|
|
112
|
+
return obj['__pulumiType'] === RoleManagementPolicy.__pulumiType;
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
exports.RoleManagementPolicy = RoleManagementPolicy;
|
|
116
|
+
/** @internal */
|
|
117
|
+
RoleManagementPolicy.__pulumiType = 'azure:pim/roleManagementPolicy:RoleManagementPolicy';
|
|
118
|
+
//# sourceMappingURL=roleManagementPolicy.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"roleManagementPolicy.js","sourceRoot":"","sources":["../../pim/roleManagementPolicy.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgDG;AACH,MAAa,oBAAqB,SAAQ,MAAM,CAAC,cAAc;IAqE3D,YAAY,IAAY,EAAE,WAAkE,EAAE,IAAmC;QAC7H,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAoD,CAAC;YACnE,cAAc,CAAC,iBAAiB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KA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C7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,oBAAoB,CAAC,YAAY,CAAC;IACrE,CAAC;;AA1BL,oDAsGC;AAxFG,gBAAgB;AACO,iCAAY,GAAG,qDAAqD,CAAC"}
|
|
@@ -97,7 +97,11 @@ export declare class AlertRuleScheduled extends pulumi.CustomResource {
|
|
|
97
97
|
*/
|
|
98
98
|
readonly eventGrouping: pulumi.Output<outputs.sentinel.AlertRuleScheduledEventGrouping | undefined>;
|
|
99
99
|
/**
|
|
100
|
-
* A `
|
|
100
|
+
* A `incident` block as defined below.
|
|
101
|
+
*/
|
|
102
|
+
readonly incident: pulumi.Output<outputs.sentinel.AlertRuleScheduledIncident>;
|
|
103
|
+
/**
|
|
104
|
+
* @deprecated The `incidentConfiguration` block has been superseded by the `incident` block and will be removed in v4.0 of the AzureRM Provider
|
|
101
105
|
*/
|
|
102
106
|
readonly incidentConfiguration: pulumi.Output<outputs.sentinel.AlertRuleScheduledIncidentConfiguration>;
|
|
103
107
|
/**
|
|
@@ -210,7 +214,11 @@ export interface AlertRuleScheduledState {
|
|
|
210
214
|
*/
|
|
211
215
|
eventGrouping?: pulumi.Input<inputs.sentinel.AlertRuleScheduledEventGrouping>;
|
|
212
216
|
/**
|
|
213
|
-
* A `
|
|
217
|
+
* A `incident` block as defined below.
|
|
218
|
+
*/
|
|
219
|
+
incident?: pulumi.Input<inputs.sentinel.AlertRuleScheduledIncident>;
|
|
220
|
+
/**
|
|
221
|
+
* @deprecated The `incidentConfiguration` block has been superseded by the `incident` block and will be removed in v4.0 of the AzureRM Provider
|
|
214
222
|
*/
|
|
215
223
|
incidentConfiguration?: pulumi.Input<inputs.sentinel.AlertRuleScheduledIncidentConfiguration>;
|
|
216
224
|
/**
|
|
@@ -315,7 +323,11 @@ export interface AlertRuleScheduledArgs {
|
|
|
315
323
|
*/
|
|
316
324
|
eventGrouping?: pulumi.Input<inputs.sentinel.AlertRuleScheduledEventGrouping>;
|
|
317
325
|
/**
|
|
318
|
-
* A `
|
|
326
|
+
* A `incident` block as defined below.
|
|
327
|
+
*/
|
|
328
|
+
incident?: pulumi.Input<inputs.sentinel.AlertRuleScheduledIncident>;
|
|
329
|
+
/**
|
|
330
|
+
* @deprecated The `incidentConfiguration` block has been superseded by the `incident` block and will be removed in v4.0 of the AzureRM Provider
|
|
319
331
|
*/
|
|
320
332
|
incidentConfiguration?: pulumi.Input<inputs.sentinel.AlertRuleScheduledIncidentConfiguration>;
|
|
321
333
|
/**
|
|
@@ -61,6 +61,7 @@ class AlertRuleScheduled extends pulumi.CustomResource {
|
|
|
61
61
|
resourceInputs["enabled"] = state ? state.enabled : undefined;
|
|
62
62
|
resourceInputs["entityMappings"] = state ? state.entityMappings : undefined;
|
|
63
63
|
resourceInputs["eventGrouping"] = state ? state.eventGrouping : undefined;
|
|
64
|
+
resourceInputs["incident"] = state ? state.incident : undefined;
|
|
64
65
|
resourceInputs["incidentConfiguration"] = state ? state.incidentConfiguration : undefined;
|
|
65
66
|
resourceInputs["logAnalyticsWorkspaceId"] = state ? state.logAnalyticsWorkspaceId : undefined;
|
|
66
67
|
resourceInputs["name"] = state ? state.name : undefined;
|
|
@@ -99,6 +100,7 @@ class AlertRuleScheduled extends pulumi.CustomResource {
|
|
|
99
100
|
resourceInputs["enabled"] = args ? args.enabled : undefined;
|
|
100
101
|
resourceInputs["entityMappings"] = args ? args.entityMappings : undefined;
|
|
101
102
|
resourceInputs["eventGrouping"] = args ? args.eventGrouping : undefined;
|
|
103
|
+
resourceInputs["incident"] = args ? args.incident : undefined;
|
|
102
104
|
resourceInputs["incidentConfiguration"] = args ? args.incidentConfiguration : undefined;
|
|
103
105
|
resourceInputs["logAnalyticsWorkspaceId"] = args ? args.logAnalyticsWorkspaceId : undefined;
|
|
104
106
|
resourceInputs["name"] = args ? args.name : undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"alertRuleScheduled.js","sourceRoot":"","sources":["../../sentinel/alertRuleScheduled.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCG;AACH,MAAa,kBAAmB,SAAQ,MAAM,CAAC,cAAc;
|
|
1
|
+
{"version":3,"file":"alertRuleScheduled.js","sourceRoot":"","sources":["../../sentinel/alertRuleScheduled.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCG;AACH,MAAa,kBAAmB,SAAQ,MAAM,CAAC,cAAc;IA2IzD,YAAY,IAAY,EAAE,WAA8D,EAAE,IAAmC;QACzH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAkD,CAAC;YACjE,cAAc,CAAC,uBAAuB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,qBAAqB,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1F,cAAc,CAAC,uBAAuB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,qBAAqB,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1F,cAAc,CAAC,0BAA0B,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,wBAAwB,CAAC,CAAC,CAAC,SAAS,CAAC;YAChG,cAAc,CAAC,eAAe,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1E,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,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;;AA1BL,gDAkNC;AApMG,gBAAgB;AACO,+BAAY,GAAG,sDAAsD,CAAC"}
|
package/synapse/workspace.d.ts
CHANGED
|
@@ -34,11 +34,6 @@ import * as outputs from "../types/output";
|
|
|
34
34
|
* storageDataLakeGen2FilesystemId: exampleDataLakeGen2Filesystem.id,
|
|
35
35
|
* sqlAdministratorLogin: "sqladminuser",
|
|
36
36
|
* sqlAdministratorLoginPassword: "H@Sh1CoR3!",
|
|
37
|
-
* aadAdmin: {
|
|
38
|
-
* login: "AzureAD Admin",
|
|
39
|
-
* objectId: "00000000-0000-0000-0000-000000000000",
|
|
40
|
-
* tenantId: "00000000-0000-0000-0000-000000000000",
|
|
41
|
-
* },
|
|
42
37
|
* identity: {
|
|
43
38
|
* type: "SystemAssigned",
|
|
44
39
|
* },
|
|
@@ -175,7 +170,7 @@ export declare class Workspace extends pulumi.CustomResource {
|
|
|
175
170
|
*/
|
|
176
171
|
static isInstance(obj: any): obj is Workspace;
|
|
177
172
|
/**
|
|
178
|
-
*
|
|
173
|
+
* @deprecated The `aadAdmin` block has been superseded by the `azure.synapse.WorkspaceAadAdmin` resource and will be removed in v4.0 of the AzureRM Provider.
|
|
179
174
|
*/
|
|
180
175
|
readonly aadAdmin: pulumi.Output<outputs.synapse.WorkspaceAadAdmin>;
|
|
181
176
|
/**
|
|
@@ -245,7 +240,7 @@ export declare class Workspace extends pulumi.CustomResource {
|
|
|
245
240
|
*/
|
|
246
241
|
readonly resourceGroupName: pulumi.Output<string>;
|
|
247
242
|
/**
|
|
248
|
-
*
|
|
243
|
+
* @deprecated The `sqlAadAdmin` block has been superseded by the `azure.synapse.WorkspaceSqlAadAdmin` resource and will be removed in v4.0 of the AzureRM Provider.
|
|
249
244
|
*/
|
|
250
245
|
readonly sqlAadAdmin: pulumi.Output<outputs.synapse.WorkspaceSqlAadAdmin>;
|
|
251
246
|
/**
|
|
@@ -284,7 +279,7 @@ export declare class Workspace extends pulumi.CustomResource {
|
|
|
284
279
|
*/
|
|
285
280
|
export interface WorkspaceState {
|
|
286
281
|
/**
|
|
287
|
-
*
|
|
282
|
+
* @deprecated The `aadAdmin` block has been superseded by the `azure.synapse.WorkspaceAadAdmin` resource and will be removed in v4.0 of the AzureRM Provider.
|
|
288
283
|
*/
|
|
289
284
|
aadAdmin?: pulumi.Input<inputs.synapse.WorkspaceAadAdmin>;
|
|
290
285
|
/**
|
|
@@ -354,7 +349,7 @@ export interface WorkspaceState {
|
|
|
354
349
|
*/
|
|
355
350
|
resourceGroupName?: pulumi.Input<string>;
|
|
356
351
|
/**
|
|
357
|
-
*
|
|
352
|
+
* @deprecated The `sqlAadAdmin` block has been superseded by the `azure.synapse.WorkspaceSqlAadAdmin` resource and will be removed in v4.0 of the AzureRM Provider.
|
|
358
353
|
*/
|
|
359
354
|
sqlAadAdmin?: pulumi.Input<inputs.synapse.WorkspaceSqlAadAdmin>;
|
|
360
355
|
/**
|
|
@@ -385,7 +380,7 @@ export interface WorkspaceState {
|
|
|
385
380
|
*/
|
|
386
381
|
export interface WorkspaceArgs {
|
|
387
382
|
/**
|
|
388
|
-
*
|
|
383
|
+
* @deprecated The `aadAdmin` block has been superseded by the `azure.synapse.WorkspaceAadAdmin` resource and will be removed in v4.0 of the AzureRM Provider.
|
|
389
384
|
*/
|
|
390
385
|
aadAdmin?: pulumi.Input<inputs.synapse.WorkspaceAadAdmin>;
|
|
391
386
|
/**
|
|
@@ -449,7 +444,7 @@ export interface WorkspaceArgs {
|
|
|
449
444
|
*/
|
|
450
445
|
resourceGroupName: pulumi.Input<string>;
|
|
451
446
|
/**
|
|
452
|
-
*
|
|
447
|
+
* @deprecated The `sqlAadAdmin` block has been superseded by the `azure.synapse.WorkspaceSqlAadAdmin` resource and will be removed in v4.0 of the AzureRM Provider.
|
|
453
448
|
*/
|
|
454
449
|
sqlAadAdmin?: pulumi.Input<inputs.synapse.WorkspaceSqlAadAdmin>;
|
|
455
450
|
/**
|
package/synapse/workspace.js
CHANGED
|
@@ -38,11 +38,6 @@ const utilities = require("../utilities");
|
|
|
38
38
|
* storageDataLakeGen2FilesystemId: exampleDataLakeGen2Filesystem.id,
|
|
39
39
|
* sqlAdministratorLogin: "sqladminuser",
|
|
40
40
|
* sqlAdministratorLoginPassword: "H@Sh1CoR3!",
|
|
41
|
-
* aadAdmin: {
|
|
42
|
-
* login: "AzureAD Admin",
|
|
43
|
-
* objectId: "00000000-0000-0000-0000-000000000000",
|
|
44
|
-
* tenantId: "00000000-0000-0000-0000-000000000000",
|
|
45
|
-
* },
|
|
46
41
|
* identity: {
|
|
47
42
|
* type: "SystemAssigned",
|
|
48
43
|
* },
|