@pulumi/azure 6.31.0-alpha.1765395796 → 6.31.0-alpha.1765925428
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/appplatform/springCloudCertificate.d.ts +0 -99
- package/appplatform/springCloudCertificate.js +0 -99
- package/appplatform/springCloudCertificate.js.map +1 -1
- package/appservice/activeSlot.d.ts +1 -1
- package/appservice/activeSlot.js +1 -1
- package/appservice/customHostnameBinding.d.ts +2 -2
- package/appservice/customHostnameBinding.js +2 -2
- package/appservice/slot.d.ts +4 -4
- package/appservice/slot.js +4 -4
- package/cdn/frontdoorSecret.d.ts +0 -72
- package/cdn/frontdoorSecret.js +0 -72
- package/cdn/frontdoorSecret.js.map +1 -1
- package/cosmosdb/account.d.ts +2 -2
- package/cosmosdb/account.js +2 -2
- package/cosmosdb/cassandraCluster.d.ts +0 -49
- package/cosmosdb/cassandraCluster.js +0 -49
- package/cosmosdb/cassandraCluster.js.map +1 -1
- package/cosmosdb/cassandraDatacenter.d.ts +0 -59
- package/cosmosdb/cassandraDatacenter.js +0 -59
- package/cosmosdb/cassandraDatacenter.js.map +1 -1
- package/datashare/datasetBlobStorage.d.ts +0 -66
- package/datashare/datasetBlobStorage.js +0 -66
- package/datashare/datasetBlobStorage.js.map +1 -1
- package/datashare/datasetDataLakeGen2.d.ts +0 -62
- package/datashare/datasetDataLakeGen2.js +0 -62
- package/datashare/datasetDataLakeGen2.js.map +1 -1
- package/desktopvirtualization/scalingPlan.d.ts +0 -103
- package/desktopvirtualization/scalingPlan.js +0 -103
- package/desktopvirtualization/scalingPlan.js.map +1 -1
- package/desktopvirtualization/scalingPlanHostPoolAssociation.d.ts +0 -79
- package/desktopvirtualization/scalingPlanHostPoolAssociation.js +0 -79
- package/desktopvirtualization/scalingPlanHostPoolAssociation.js.map +1 -1
- package/hpc/cacheBlobNfsTarget.d.ts +0 -149
- package/hpc/cacheBlobNfsTarget.js +0 -149
- package/hpc/cacheBlobNfsTarget.js.map +1 -1
- package/hpc/cacheBlobTarget.d.ts +0 -71
- package/hpc/cacheBlobTarget.js +0 -71
- package/hpc/cacheBlobTarget.js.map +1 -1
- package/keyvault/accessPolicy.d.ts +0 -42
- package/keyvault/accessPolicy.js +0 -42
- package/keyvault/accessPolicy.js.map +1 -1
- package/keyvault/managedStorageAccount.d.ts +0 -2
- package/keyvault/managedStorageAccount.js +0 -2
- package/keyvault/managedStorageAccount.js.map +1 -1
- package/machinelearning/workspace.d.ts +0 -167
- package/machinelearning/workspace.js +0 -167
- package/machinelearning/workspace.js.map +1 -1
- package/management/privateLinkAssociation.d.ts +2 -2
- package/management/privateLinkAssociation.js +2 -2
- package/netapp/volumeGroupSapHana.d.ts +1 -1
- package/netapp/volumeGroupSapHana.js +1 -1
- package/network/trafficManagerProfile.d.ts +2 -2
- package/network/trafficManagerProfile.js +2 -2
- package/operationalinsights/analyticsSolution.d.ts +3 -3
- package/operationalinsights/analyticsSolution.js +3 -3
- package/oracle/getCloudVmCluster.d.ts +1 -1
- package/package.json +2 -2
- package/pim/roleManagementPolicy.d.ts +0 -56
- package/pim/roleManagementPolicy.js +0 -56
- package/pim/roleManagementPolicy.js.map +1 -1
- package/postgresql/flexibleServerActiveDirectoryAdministrator.d.ts +0 -47
- package/postgresql/flexibleServerActiveDirectoryAdministrator.js +0 -47
- package/postgresql/flexibleServerActiveDirectoryAdministrator.js.map +1 -1
- package/redhatopenshift/cluster.d.ts +0 -103
- package/redhatopenshift/cluster.js +0 -103
- package/redhatopenshift/cluster.js.map +1 -1
- package/redis/firewallRule.d.ts +3 -3
- package/redis/firewallRule.js +3 -3
- package/stack/hciCluster.d.ts +0 -36
- package/stack/hciCluster.js +0 -36
- package/stack/hciCluster.js.map +1 -1
- package/stack/hciMarketplaceGalleryImage.d.ts +0 -48
- package/stack/hciMarketplaceGalleryImage.js +0 -48
- package/stack/hciMarketplaceGalleryImage.js.map +1 -1
- package/trafficmanager/profile.d.ts +2 -2
- package/trafficmanager/profile.js +2 -2
- package/types/output.d.ts +3 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workspace.js","sourceRoot":"","sources":["../../machinelearning/workspace.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"workspace.js","sourceRoot":"","sources":["../../machinelearning/workspace.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsIG;AACH,MAAa,SAAU,SAAQ,MAAM,CAAC,cAAc;IAChD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAsB,EAAE,IAAmC;QACpH,OAAO,IAAI,SAAS,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAChE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,SAAS,CAAC,YAAY,CAAC;IAC1D,CAAC;IAuHD,YAAY,IAAY,EAAE,WAA4C,EAAE,IAAmC;QACvG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAyC,CAAC;YACxD,cAAc,CAAC,uBAAuB,CAAC,GAAG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AAE,mBAAmB,CAAC;YAClE,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACnD,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACrD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,SAAS,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC9D,CAAC;;AA5NL,8BA6NC;AA/MG,gBAAgB;AACO,sBAAY,GAAG,2CAA2C,CAAC"}
|
|
@@ -22,9 +22,9 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
22
22
|
* resourceGroupName: exampleResourceGroup.name,
|
|
23
23
|
* location: exampleResourceGroup.location,
|
|
24
24
|
* });
|
|
25
|
-
* const
|
|
25
|
+
* const exampleUuid = new random.index.Uuid("example", {});
|
|
26
26
|
* const examplePrivateLinkAssociation = new azure.management.PrivateLinkAssociation("example", {
|
|
27
|
-
* name:
|
|
27
|
+
* name: exampleUuid.result,
|
|
28
28
|
* managementGroupId: exampleAzurermManagementGroup.id,
|
|
29
29
|
* resourceManagementPrivateLinkId: examplePrivateLink.id,
|
|
30
30
|
* publicNetworkAccessEnabled: true,
|
|
@@ -28,9 +28,9 @@ const utilities = require("../utilities");
|
|
|
28
28
|
* resourceGroupName: exampleResourceGroup.name,
|
|
29
29
|
* location: exampleResourceGroup.location,
|
|
30
30
|
* });
|
|
31
|
-
* const
|
|
31
|
+
* const exampleUuid = new random.index.Uuid("example", {});
|
|
32
32
|
* const examplePrivateLinkAssociation = new azure.management.PrivateLinkAssociation("example", {
|
|
33
|
-
* name:
|
|
33
|
+
* name: exampleUuid.result,
|
|
34
34
|
* managementGroupId: exampleAzurermManagementGroup.id,
|
|
35
35
|
* resourceManagementPrivateLinkId: examplePrivateLink.id,
|
|
36
36
|
* publicNetworkAccessEnabled: true,
|
|
@@ -9,7 +9,7 @@ import * as outputs from "../types/output";
|
|
|
9
9
|
* import * as azure from "@pulumi/azure";
|
|
10
10
|
* import * as random from "@pulumi/random";
|
|
11
11
|
*
|
|
12
|
-
* const example = new random.
|
|
12
|
+
* const example = new random.index.String("example", {
|
|
13
13
|
* length: 12,
|
|
14
14
|
* special: true,
|
|
15
15
|
* });
|
|
@@ -13,7 +13,7 @@ const utilities = require("../utilities");
|
|
|
13
13
|
* import * as azure from "@pulumi/azure";
|
|
14
14
|
* import * as random from "@pulumi/random";
|
|
15
15
|
*
|
|
16
|
-
* const example = new random.
|
|
16
|
+
* const example = new random.index.String("example", {
|
|
17
17
|
* length: 12,
|
|
18
18
|
* special: true,
|
|
19
19
|
* });
|
|
@@ -11,9 +11,9 @@ import * as outputs from "../types/output";
|
|
|
11
11
|
* import * as azure from "@pulumi/azure";
|
|
12
12
|
* import * as random from "@pulumi/random";
|
|
13
13
|
*
|
|
14
|
-
* const server = new random.
|
|
14
|
+
* const server = new random.index.Id("server", {
|
|
15
15
|
* keepers: {
|
|
16
|
-
*
|
|
16
|
+
* aziId: 1,
|
|
17
17
|
* },
|
|
18
18
|
* byteLength: 8,
|
|
19
19
|
* });
|
|
@@ -15,9 +15,9 @@ const utilities = require("../utilities");
|
|
|
15
15
|
* import * as azure from "@pulumi/azure";
|
|
16
16
|
* import * as random from "@pulumi/random";
|
|
17
17
|
*
|
|
18
|
-
* const server = new random.
|
|
18
|
+
* const server = new random.index.Id("server", {
|
|
19
19
|
* keepers: {
|
|
20
|
-
*
|
|
20
|
+
* aziId: 1,
|
|
21
21
|
* },
|
|
22
22
|
* byteLength: 8,
|
|
23
23
|
* });
|
|
@@ -15,14 +15,14 @@ import * as outputs from "../types/output";
|
|
|
15
15
|
* name: "k8s-log-analytics-test",
|
|
16
16
|
* location: "West Europe",
|
|
17
17
|
* });
|
|
18
|
-
* const workspace = new random.
|
|
18
|
+
* const workspace = new random.index.Id("workspace", {
|
|
19
19
|
* keepers: {
|
|
20
|
-
*
|
|
20
|
+
* groupName: example.name,
|
|
21
21
|
* },
|
|
22
22
|
* byteLength: 8,
|
|
23
23
|
* });
|
|
24
24
|
* const exampleAnalyticsWorkspace = new azure.operationalinsights.AnalyticsWorkspace("example", {
|
|
25
|
-
* name:
|
|
25
|
+
* name: `k8s-workspace-${workspace.hex}`,
|
|
26
26
|
* location: example.location,
|
|
27
27
|
* resourceGroupName: example.name,
|
|
28
28
|
* sku: "PerGB2018",
|
|
@@ -19,14 +19,14 @@ const utilities = require("../utilities");
|
|
|
19
19
|
* name: "k8s-log-analytics-test",
|
|
20
20
|
* location: "West Europe",
|
|
21
21
|
* });
|
|
22
|
-
* const workspace = new random.
|
|
22
|
+
* const workspace = new random.index.Id("workspace", {
|
|
23
23
|
* keepers: {
|
|
24
|
-
*
|
|
24
|
+
* groupName: example.name,
|
|
25
25
|
* },
|
|
26
26
|
* byteLength: 8,
|
|
27
27
|
* });
|
|
28
28
|
* const exampleAnalyticsWorkspace = new azure.operationalinsights.AnalyticsWorkspace("example", {
|
|
29
|
-
* name:
|
|
29
|
+
* name: `k8s-workspace-${workspace.hex}`,
|
|
30
30
|
* location: example.location,
|
|
31
31
|
* resourceGroupName: example.name,
|
|
32
32
|
* sku: "PerGB2018",
|
|
@@ -124,7 +124,7 @@ export interface GetCloudVmClusterResult {
|
|
|
124
124
|
/**
|
|
125
125
|
* A `iormConfigCache` block as defined below.
|
|
126
126
|
*/
|
|
127
|
-
readonly iormConfigCaches: outputs.oracle.
|
|
127
|
+
readonly iormConfigCaches: outputs.oracle.GetCloudVmClusterIormConfigCache[];
|
|
128
128
|
/**
|
|
129
129
|
* The [OCID](https://docs.oracle.com/en-us/iaas/Content/General/Concepts/identifiers.htm) of the last maintenance update history entry. This value is updated when a maintenance update starts.
|
|
130
130
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/azure",
|
|
3
|
-
"version": "6.31.0-alpha.
|
|
3
|
+
"version": "6.31.0-alpha.1765925428",
|
|
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.31.0-alpha.
|
|
33
|
+
"version": "6.31.0-alpha.1765925428"
|
|
34
34
|
}
|
|
35
35
|
}
|
|
@@ -6,62 +6,6 @@ import * as outputs from "../types/output";
|
|
|
6
6
|
*
|
|
7
7
|
* ## Example Usage
|
|
8
8
|
*
|
|
9
|
-
* ### Resource Group
|
|
10
|
-
*
|
|
11
|
-
* ```typescript
|
|
12
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
13
|
-
* import * as azure from "@pulumi/azure";
|
|
14
|
-
* import * as azuread from "@pulumi/azuread";
|
|
15
|
-
*
|
|
16
|
-
* const example = new azure.core.ResourceGroup("example", {
|
|
17
|
-
* name: "example-rg",
|
|
18
|
-
* location: "East US",
|
|
19
|
-
* });
|
|
20
|
-
* const rgContributor = azure.authorization.getRoleDefinitionOutput({
|
|
21
|
-
* name: "Contributor",
|
|
22
|
-
* scope: example.id,
|
|
23
|
-
* });
|
|
24
|
-
* const approvers = azuread.getGroup({
|
|
25
|
-
* displayName: "Example Approver Group",
|
|
26
|
-
* });
|
|
27
|
-
* const exampleRoleManagementPolicy = new azure.pim.RoleManagementPolicy("example", {
|
|
28
|
-
* scope: test.id,
|
|
29
|
-
* roleDefinitionId: contributor.id,
|
|
30
|
-
* activeAssignmentRules: {
|
|
31
|
-
* expireAfter: "P365D",
|
|
32
|
-
* },
|
|
33
|
-
* eligibleAssignmentRules: {
|
|
34
|
-
* expirationRequired: false,
|
|
35
|
-
* },
|
|
36
|
-
* activationRules: {
|
|
37
|
-
* maximumDuration: "PT1H",
|
|
38
|
-
* requireApproval: true,
|
|
39
|
-
* approvalStage: {
|
|
40
|
-
* primaryApprovers: [{
|
|
41
|
-
* objectId: approvers.then(approvers => approvers.objectId),
|
|
42
|
-
* type: "Group",
|
|
43
|
-
* }],
|
|
44
|
-
* },
|
|
45
|
-
* },
|
|
46
|
-
* notificationRules: {
|
|
47
|
-
* eligibleAssignments: {
|
|
48
|
-
* approverNotifications: {
|
|
49
|
-
* notificationLevel: "Critical",
|
|
50
|
-
* defaultRecipients: false,
|
|
51
|
-
* additionalRecipients: ["someone@example.com"],
|
|
52
|
-
* },
|
|
53
|
-
* },
|
|
54
|
-
* eligibleActivations: {
|
|
55
|
-
* assigneeNotifications: {
|
|
56
|
-
* notificationLevel: "All",
|
|
57
|
-
* defaultRecipients: true,
|
|
58
|
-
* additionalRecipients: ["someone.else@example.com"],
|
|
59
|
-
* },
|
|
60
|
-
* },
|
|
61
|
-
* },
|
|
62
|
-
* });
|
|
63
|
-
* ```
|
|
64
|
-
*
|
|
65
9
|
* ### Management Group
|
|
66
10
|
*
|
|
67
11
|
* ```typescript
|
|
@@ -10,62 +10,6 @@ const utilities = require("../utilities");
|
|
|
10
10
|
*
|
|
11
11
|
* ## Example Usage
|
|
12
12
|
*
|
|
13
|
-
* ### Resource Group
|
|
14
|
-
*
|
|
15
|
-
* ```typescript
|
|
16
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
-
* import * as azure from "@pulumi/azure";
|
|
18
|
-
* import * as azuread from "@pulumi/azuread";
|
|
19
|
-
*
|
|
20
|
-
* const example = new azure.core.ResourceGroup("example", {
|
|
21
|
-
* name: "example-rg",
|
|
22
|
-
* location: "East US",
|
|
23
|
-
* });
|
|
24
|
-
* const rgContributor = azure.authorization.getRoleDefinitionOutput({
|
|
25
|
-
* name: "Contributor",
|
|
26
|
-
* scope: example.id,
|
|
27
|
-
* });
|
|
28
|
-
* const approvers = azuread.getGroup({
|
|
29
|
-
* displayName: "Example Approver Group",
|
|
30
|
-
* });
|
|
31
|
-
* const exampleRoleManagementPolicy = new azure.pim.RoleManagementPolicy("example", {
|
|
32
|
-
* scope: test.id,
|
|
33
|
-
* roleDefinitionId: contributor.id,
|
|
34
|
-
* activeAssignmentRules: {
|
|
35
|
-
* expireAfter: "P365D",
|
|
36
|
-
* },
|
|
37
|
-
* eligibleAssignmentRules: {
|
|
38
|
-
* expirationRequired: false,
|
|
39
|
-
* },
|
|
40
|
-
* activationRules: {
|
|
41
|
-
* maximumDuration: "PT1H",
|
|
42
|
-
* requireApproval: true,
|
|
43
|
-
* approvalStage: {
|
|
44
|
-
* primaryApprovers: [{
|
|
45
|
-
* objectId: approvers.then(approvers => approvers.objectId),
|
|
46
|
-
* type: "Group",
|
|
47
|
-
* }],
|
|
48
|
-
* },
|
|
49
|
-
* },
|
|
50
|
-
* notificationRules: {
|
|
51
|
-
* eligibleAssignments: {
|
|
52
|
-
* approverNotifications: {
|
|
53
|
-
* notificationLevel: "Critical",
|
|
54
|
-
* defaultRecipients: false,
|
|
55
|
-
* additionalRecipients: ["someone@example.com"],
|
|
56
|
-
* },
|
|
57
|
-
* },
|
|
58
|
-
* eligibleActivations: {
|
|
59
|
-
* assigneeNotifications: {
|
|
60
|
-
* notificationLevel: "All",
|
|
61
|
-
* defaultRecipients: true,
|
|
62
|
-
* additionalRecipients: ["someone.else@example.com"],
|
|
63
|
-
* },
|
|
64
|
-
* },
|
|
65
|
-
* },
|
|
66
|
-
* });
|
|
67
|
-
* ```
|
|
68
|
-
*
|
|
69
13
|
* ### Management Group
|
|
70
14
|
*
|
|
71
15
|
* ```typescript
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"roleManagementPolicy.js","sourceRoot":"","sources":["../../pim/roleManagementPolicy.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C
|
|
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sGC;AAxFG,gBAAgB;AACO,iCAAY,GAAG,qDAAqD,CAAC"}
|
|
@@ -2,53 +2,6 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
/**
|
|
3
3
|
* Allows you to set a user or group as the AD administrator for a PostgreSQL Flexible Server.
|
|
4
4
|
*
|
|
5
|
-
* ## Example Usage
|
|
6
|
-
*
|
|
7
|
-
* ```typescript
|
|
8
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
-
* import * as azure from "@pulumi/azure";
|
|
10
|
-
* import * as azuread from "@pulumi/azuread";
|
|
11
|
-
*
|
|
12
|
-
* const current = azure.core.getClientConfig({});
|
|
13
|
-
* const example = current.then(current => azuread.getServicePrincipal({
|
|
14
|
-
* objectId: current.objectId,
|
|
15
|
-
* }));
|
|
16
|
-
* const exampleResourceGroup = new azure.core.ResourceGroup("example", {
|
|
17
|
-
* name: "example-resources",
|
|
18
|
-
* location: "West Europe",
|
|
19
|
-
* });
|
|
20
|
-
* const exampleFlexibleServer = new azure.postgresql.FlexibleServer("example", {
|
|
21
|
-
* name: "example-fs",
|
|
22
|
-
* resourceGroupName: exampleResourceGroup.name,
|
|
23
|
-
* location: exampleResourceGroup.location,
|
|
24
|
-
* administratorLogin: "adminTerraform",
|
|
25
|
-
* administratorPassword: "QAZwsx123",
|
|
26
|
-
* storageMb: 32768,
|
|
27
|
-
* version: "12",
|
|
28
|
-
* skuName: "GP_Standard_D2s_v3",
|
|
29
|
-
* zone: "2",
|
|
30
|
-
* authentication: {
|
|
31
|
-
* activeDirectoryAuthEnabled: true,
|
|
32
|
-
* tenantId: current.then(current => current.tenantId),
|
|
33
|
-
* },
|
|
34
|
-
* });
|
|
35
|
-
* const exampleFlexibleServerActiveDirectoryAdministrator = new azure.postgresql.FlexibleServerActiveDirectoryAdministrator("example", {
|
|
36
|
-
* serverName: exampleFlexibleServer.name,
|
|
37
|
-
* resourceGroupName: exampleResourceGroup.name,
|
|
38
|
-
* tenantId: current.then(current => current.tenantId),
|
|
39
|
-
* objectId: example.then(example => example.objectId),
|
|
40
|
-
* principalName: example.then(example => example.displayName),
|
|
41
|
-
* principalType: "ServicePrincipal",
|
|
42
|
-
* });
|
|
43
|
-
* ```
|
|
44
|
-
*
|
|
45
|
-
* ## API Providers
|
|
46
|
-
*
|
|
47
|
-
* <!-- This section is generated, changes will be overwritten -->
|
|
48
|
-
* This resource uses the following Azure API Providers:
|
|
49
|
-
*
|
|
50
|
-
* * `Microsoft.DBforPostgreSQL` - 2024-08-01
|
|
51
|
-
*
|
|
52
5
|
* ## Import
|
|
53
6
|
*
|
|
54
7
|
* A PostgreSQL Flexible Server Active Directory Administrator can be imported using the `resource id`, e.g.
|
|
@@ -8,53 +8,6 @@ const utilities = require("../utilities");
|
|
|
8
8
|
/**
|
|
9
9
|
* Allows you to set a user or group as the AD administrator for a PostgreSQL Flexible Server.
|
|
10
10
|
*
|
|
11
|
-
* ## Example Usage
|
|
12
|
-
*
|
|
13
|
-
* ```typescript
|
|
14
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
-
* import * as azure from "@pulumi/azure";
|
|
16
|
-
* import * as azuread from "@pulumi/azuread";
|
|
17
|
-
*
|
|
18
|
-
* const current = azure.core.getClientConfig({});
|
|
19
|
-
* const example = current.then(current => azuread.getServicePrincipal({
|
|
20
|
-
* objectId: current.objectId,
|
|
21
|
-
* }));
|
|
22
|
-
* const exampleResourceGroup = new azure.core.ResourceGroup("example", {
|
|
23
|
-
* name: "example-resources",
|
|
24
|
-
* location: "West Europe",
|
|
25
|
-
* });
|
|
26
|
-
* const exampleFlexibleServer = new azure.postgresql.FlexibleServer("example", {
|
|
27
|
-
* name: "example-fs",
|
|
28
|
-
* resourceGroupName: exampleResourceGroup.name,
|
|
29
|
-
* location: exampleResourceGroup.location,
|
|
30
|
-
* administratorLogin: "adminTerraform",
|
|
31
|
-
* administratorPassword: "QAZwsx123",
|
|
32
|
-
* storageMb: 32768,
|
|
33
|
-
* version: "12",
|
|
34
|
-
* skuName: "GP_Standard_D2s_v3",
|
|
35
|
-
* zone: "2",
|
|
36
|
-
* authentication: {
|
|
37
|
-
* activeDirectoryAuthEnabled: true,
|
|
38
|
-
* tenantId: current.then(current => current.tenantId),
|
|
39
|
-
* },
|
|
40
|
-
* });
|
|
41
|
-
* const exampleFlexibleServerActiveDirectoryAdministrator = new azure.postgresql.FlexibleServerActiveDirectoryAdministrator("example", {
|
|
42
|
-
* serverName: exampleFlexibleServer.name,
|
|
43
|
-
* resourceGroupName: exampleResourceGroup.name,
|
|
44
|
-
* tenantId: current.then(current => current.tenantId),
|
|
45
|
-
* objectId: example.then(example => example.objectId),
|
|
46
|
-
* principalName: example.then(example => example.displayName),
|
|
47
|
-
* principalType: "ServicePrincipal",
|
|
48
|
-
* });
|
|
49
|
-
* ```
|
|
50
|
-
*
|
|
51
|
-
* ## API Providers
|
|
52
|
-
*
|
|
53
|
-
* <!-- This section is generated, changes will be overwritten -->
|
|
54
|
-
* This resource uses the following Azure API Providers:
|
|
55
|
-
*
|
|
56
|
-
* * `Microsoft.DBforPostgreSQL` - 2024-08-01
|
|
57
|
-
*
|
|
58
11
|
* ## Import
|
|
59
12
|
*
|
|
60
13
|
* A PostgreSQL Flexible Server Active Directory Administrator can be imported using the `resource id`, e.g.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"flexibleServerActiveDirectoryAdministrator.js","sourceRoot":"","sources":["../../postgresql/flexibleServerActiveDirectoryAdministrator.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"flexibleServerActiveDirectoryAdministrator.js","sourceRoot":"","sources":["../../postgresql/flexibleServerActiveDirectoryAdministrator.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;GAUG;AACH,MAAa,0CAA2C,SAAQ,MAAM,C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;AArGL,gGAsGC;AAxFG,gBAAgB;AACO,uDAAY,GAAG,wGAAwG,CAAC"}
|
|
@@ -6,109 +6,6 @@ import * as outputs from "../types/output";
|
|
|
6
6
|
*
|
|
7
7
|
* > **Note:** All arguments including the client secret will be stored in the raw state as plain-text. [Read more about sensitive data in state](https://www.terraform.io/docs/state/sensitive-data.html).
|
|
8
8
|
*
|
|
9
|
-
* ## Example Usage
|
|
10
|
-
*
|
|
11
|
-
* ```typescript
|
|
12
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
13
|
-
* import * as azure from "@pulumi/azure";
|
|
14
|
-
* import * as azuread from "@pulumi/azuread";
|
|
15
|
-
*
|
|
16
|
-
* const example = azure.core.getClientConfig({});
|
|
17
|
-
* const exampleGetClientConfig = azuread.getClientConfig({});
|
|
18
|
-
* const exampleApplication = new azuread.Application("example", {displayName: "example-aro"});
|
|
19
|
-
* const exampleServicePrincipal = new azuread.ServicePrincipal("example", {clientId: exampleApplication.clientId});
|
|
20
|
-
* const exampleServicePrincipalPassword = new azuread.ServicePrincipalPassword("example", {servicePrincipalId: exampleServicePrincipal.objectId});
|
|
21
|
-
* const redhatopenshift = azuread.getServicePrincipal({
|
|
22
|
-
* clientId: "f1dd0a37-89c6-4e07-bcd1-ffd3d43d8875",
|
|
23
|
-
* });
|
|
24
|
-
* const exampleResourceGroup = new azure.core.ResourceGroup("example", {
|
|
25
|
-
* name: "example-resources",
|
|
26
|
-
* location: "West US",
|
|
27
|
-
* });
|
|
28
|
-
* const exampleVirtualNetwork = new azure.network.VirtualNetwork("example", {
|
|
29
|
-
* name: "example-vnet",
|
|
30
|
-
* addressSpaces: ["10.0.0.0/22"],
|
|
31
|
-
* location: exampleResourceGroup.location,
|
|
32
|
-
* resourceGroupName: exampleResourceGroup.name,
|
|
33
|
-
* });
|
|
34
|
-
* const roleNetwork1 = new azure.authorization.Assignment("role_network1", {
|
|
35
|
-
* scope: exampleVirtualNetwork.id,
|
|
36
|
-
* roleDefinitionName: "Network Contributor",
|
|
37
|
-
* principalId: exampleServicePrincipal.objectId,
|
|
38
|
-
* });
|
|
39
|
-
* const roleNetwork2 = new azure.authorization.Assignment("role_network2", {
|
|
40
|
-
* scope: exampleVirtualNetwork.id,
|
|
41
|
-
* roleDefinitionName: "Network Contributor",
|
|
42
|
-
* principalId: redhatopenshift.then(redhatopenshift => redhatopenshift.objectId),
|
|
43
|
-
* });
|
|
44
|
-
* const mainSubnet = new azure.network.Subnet("main_subnet", {
|
|
45
|
-
* name: "main-subnet",
|
|
46
|
-
* resourceGroupName: exampleResourceGroup.name,
|
|
47
|
-
* virtualNetworkName: exampleVirtualNetwork.name,
|
|
48
|
-
* addressPrefixes: ["10.0.0.0/23"],
|
|
49
|
-
* serviceEndpoints: [
|
|
50
|
-
* "Microsoft.Storage",
|
|
51
|
-
* "Microsoft.ContainerRegistry",
|
|
52
|
-
* ],
|
|
53
|
-
* });
|
|
54
|
-
* const workerSubnet = new azure.network.Subnet("worker_subnet", {
|
|
55
|
-
* name: "worker-subnet",
|
|
56
|
-
* resourceGroupName: exampleResourceGroup.name,
|
|
57
|
-
* virtualNetworkName: exampleVirtualNetwork.name,
|
|
58
|
-
* addressPrefixes: ["10.0.2.0/23"],
|
|
59
|
-
* serviceEndpoints: [
|
|
60
|
-
* "Microsoft.Storage",
|
|
61
|
-
* "Microsoft.ContainerRegistry",
|
|
62
|
-
* ],
|
|
63
|
-
* });
|
|
64
|
-
* const exampleCluster = new azure.redhatopenshift.Cluster("example", {
|
|
65
|
-
* name: "examplearo",
|
|
66
|
-
* location: exampleResourceGroup.location,
|
|
67
|
-
* resourceGroupName: exampleResourceGroup.name,
|
|
68
|
-
* clusterProfile: {
|
|
69
|
-
* domain: "aro-example.com",
|
|
70
|
-
* version: "4.13.23",
|
|
71
|
-
* },
|
|
72
|
-
* networkProfile: {
|
|
73
|
-
* podCidr: "10.128.0.0/14",
|
|
74
|
-
* serviceCidr: "172.30.0.0/16",
|
|
75
|
-
* },
|
|
76
|
-
* mainProfile: {
|
|
77
|
-
* vmSize: "Standard_D8s_v3",
|
|
78
|
-
* subnetId: mainSubnet.id,
|
|
79
|
-
* },
|
|
80
|
-
* apiServerProfile: {
|
|
81
|
-
* visibility: "Public",
|
|
82
|
-
* },
|
|
83
|
-
* ingressProfile: {
|
|
84
|
-
* visibility: "Public",
|
|
85
|
-
* },
|
|
86
|
-
* workerProfile: {
|
|
87
|
-
* vmSize: "Standard_D4s_v3",
|
|
88
|
-
* diskSizeGb: 128,
|
|
89
|
-
* nodeCount: 3,
|
|
90
|
-
* subnetId: workerSubnet.id,
|
|
91
|
-
* },
|
|
92
|
-
* servicePrincipal: {
|
|
93
|
-
* clientId: exampleApplication.clientId,
|
|
94
|
-
* clientSecret: exampleServicePrincipalPassword.value,
|
|
95
|
-
* },
|
|
96
|
-
* }, {
|
|
97
|
-
* dependsOn: [
|
|
98
|
-
* roleNetwork1,
|
|
99
|
-
* roleNetwork2,
|
|
100
|
-
* ],
|
|
101
|
-
* });
|
|
102
|
-
* export const consoleUrl = exampleCluster.consoleUrl;
|
|
103
|
-
* ```
|
|
104
|
-
*
|
|
105
|
-
* ## API Providers
|
|
106
|
-
*
|
|
107
|
-
* <!-- This section is generated, changes will be overwritten -->
|
|
108
|
-
* This resource uses the following Azure API Providers:
|
|
109
|
-
*
|
|
110
|
-
* * `Microsoft.RedHatOpenShift` - 2023-09-04
|
|
111
|
-
*
|
|
112
9
|
* ## Import
|
|
113
10
|
*
|
|
114
11
|
* Red Hat OpenShift Clusters can be imported using the `resource id`, e.g.
|
|
@@ -10,109 +10,6 @@ const utilities = require("../utilities");
|
|
|
10
10
|
*
|
|
11
11
|
* > **Note:** All arguments including the client secret will be stored in the raw state as plain-text. [Read more about sensitive data in state](https://www.terraform.io/docs/state/sensitive-data.html).
|
|
12
12
|
*
|
|
13
|
-
* ## Example Usage
|
|
14
|
-
*
|
|
15
|
-
* ```typescript
|
|
16
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
-
* import * as azure from "@pulumi/azure";
|
|
18
|
-
* import * as azuread from "@pulumi/azuread";
|
|
19
|
-
*
|
|
20
|
-
* const example = azure.core.getClientConfig({});
|
|
21
|
-
* const exampleGetClientConfig = azuread.getClientConfig({});
|
|
22
|
-
* const exampleApplication = new azuread.Application("example", {displayName: "example-aro"});
|
|
23
|
-
* const exampleServicePrincipal = new azuread.ServicePrincipal("example", {clientId: exampleApplication.clientId});
|
|
24
|
-
* const exampleServicePrincipalPassword = new azuread.ServicePrincipalPassword("example", {servicePrincipalId: exampleServicePrincipal.objectId});
|
|
25
|
-
* const redhatopenshift = azuread.getServicePrincipal({
|
|
26
|
-
* clientId: "f1dd0a37-89c6-4e07-bcd1-ffd3d43d8875",
|
|
27
|
-
* });
|
|
28
|
-
* const exampleResourceGroup = new azure.core.ResourceGroup("example", {
|
|
29
|
-
* name: "example-resources",
|
|
30
|
-
* location: "West US",
|
|
31
|
-
* });
|
|
32
|
-
* const exampleVirtualNetwork = new azure.network.VirtualNetwork("example", {
|
|
33
|
-
* name: "example-vnet",
|
|
34
|
-
* addressSpaces: ["10.0.0.0/22"],
|
|
35
|
-
* location: exampleResourceGroup.location,
|
|
36
|
-
* resourceGroupName: exampleResourceGroup.name,
|
|
37
|
-
* });
|
|
38
|
-
* const roleNetwork1 = new azure.authorization.Assignment("role_network1", {
|
|
39
|
-
* scope: exampleVirtualNetwork.id,
|
|
40
|
-
* roleDefinitionName: "Network Contributor",
|
|
41
|
-
* principalId: exampleServicePrincipal.objectId,
|
|
42
|
-
* });
|
|
43
|
-
* const roleNetwork2 = new azure.authorization.Assignment("role_network2", {
|
|
44
|
-
* scope: exampleVirtualNetwork.id,
|
|
45
|
-
* roleDefinitionName: "Network Contributor",
|
|
46
|
-
* principalId: redhatopenshift.then(redhatopenshift => redhatopenshift.objectId),
|
|
47
|
-
* });
|
|
48
|
-
* const mainSubnet = new azure.network.Subnet("main_subnet", {
|
|
49
|
-
* name: "main-subnet",
|
|
50
|
-
* resourceGroupName: exampleResourceGroup.name,
|
|
51
|
-
* virtualNetworkName: exampleVirtualNetwork.name,
|
|
52
|
-
* addressPrefixes: ["10.0.0.0/23"],
|
|
53
|
-
* serviceEndpoints: [
|
|
54
|
-
* "Microsoft.Storage",
|
|
55
|
-
* "Microsoft.ContainerRegistry",
|
|
56
|
-
* ],
|
|
57
|
-
* });
|
|
58
|
-
* const workerSubnet = new azure.network.Subnet("worker_subnet", {
|
|
59
|
-
* name: "worker-subnet",
|
|
60
|
-
* resourceGroupName: exampleResourceGroup.name,
|
|
61
|
-
* virtualNetworkName: exampleVirtualNetwork.name,
|
|
62
|
-
* addressPrefixes: ["10.0.2.0/23"],
|
|
63
|
-
* serviceEndpoints: [
|
|
64
|
-
* "Microsoft.Storage",
|
|
65
|
-
* "Microsoft.ContainerRegistry",
|
|
66
|
-
* ],
|
|
67
|
-
* });
|
|
68
|
-
* const exampleCluster = new azure.redhatopenshift.Cluster("example", {
|
|
69
|
-
* name: "examplearo",
|
|
70
|
-
* location: exampleResourceGroup.location,
|
|
71
|
-
* resourceGroupName: exampleResourceGroup.name,
|
|
72
|
-
* clusterProfile: {
|
|
73
|
-
* domain: "aro-example.com",
|
|
74
|
-
* version: "4.13.23",
|
|
75
|
-
* },
|
|
76
|
-
* networkProfile: {
|
|
77
|
-
* podCidr: "10.128.0.0/14",
|
|
78
|
-
* serviceCidr: "172.30.0.0/16",
|
|
79
|
-
* },
|
|
80
|
-
* mainProfile: {
|
|
81
|
-
* vmSize: "Standard_D8s_v3",
|
|
82
|
-
* subnetId: mainSubnet.id,
|
|
83
|
-
* },
|
|
84
|
-
* apiServerProfile: {
|
|
85
|
-
* visibility: "Public",
|
|
86
|
-
* },
|
|
87
|
-
* ingressProfile: {
|
|
88
|
-
* visibility: "Public",
|
|
89
|
-
* },
|
|
90
|
-
* workerProfile: {
|
|
91
|
-
* vmSize: "Standard_D4s_v3",
|
|
92
|
-
* diskSizeGb: 128,
|
|
93
|
-
* nodeCount: 3,
|
|
94
|
-
* subnetId: workerSubnet.id,
|
|
95
|
-
* },
|
|
96
|
-
* servicePrincipal: {
|
|
97
|
-
* clientId: exampleApplication.clientId,
|
|
98
|
-
* clientSecret: exampleServicePrincipalPassword.value,
|
|
99
|
-
* },
|
|
100
|
-
* }, {
|
|
101
|
-
* dependsOn: [
|
|
102
|
-
* roleNetwork1,
|
|
103
|
-
* roleNetwork2,
|
|
104
|
-
* ],
|
|
105
|
-
* });
|
|
106
|
-
* export const consoleUrl = exampleCluster.consoleUrl;
|
|
107
|
-
* ```
|
|
108
|
-
*
|
|
109
|
-
* ## API Providers
|
|
110
|
-
*
|
|
111
|
-
* <!-- This section is generated, changes will be overwritten -->
|
|
112
|
-
* This resource uses the following Azure API Providers:
|
|
113
|
-
*
|
|
114
|
-
* * `Microsoft.RedHatOpenShift` - 2023-09-04
|
|
115
|
-
*
|
|
116
13
|
* ## Import
|
|
117
14
|
*
|
|
118
15
|
* Red Hat OpenShift Clusters can be imported using the `resource id`, e.g.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cluster.js","sourceRoot":"","sources":["../../redhatopenshift/cluster.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"cluster.js","sourceRoot":"","sources":["../../redhatopenshift/cluster.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;GAYG;AACH,MAAa,OAAQ,SAAQ,MAAM,CAAC,cAAc;IAC9C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAoB,EAAE,IAAmC;QAClH,OAAO,IAAI,OAAO,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC9D,CAAC;IAKD;;;OAGG;IAC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