@pulumi/azure 5.7.0 → 5.9.0-alpha.1654274095
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/index.d.ts +3 -0
- package/appplatform/index.js +15 -0
- package/appplatform/index.js.map +1 -1
- package/appplatform/springCloudApiPortal.d.ts +168 -0
- package/appplatform/springCloudApiPortal.js +105 -0
- package/appplatform/springCloudApiPortal.js.map +1 -0
- package/appplatform/springCloudBuildDeployment.d.ts +157 -0
- package/appplatform/springCloudBuildDeployment.js +107 -0
- package/appplatform/springCloudBuildDeployment.js.map +1 -0
- package/appplatform/springCloudGatewayRouteConfig.d.ts +132 -0
- package/appplatform/springCloudGatewayRouteConfig.js +105 -0
- package/appplatform/springCloudGatewayRouteConfig.js.map +1 -0
- package/appplatform/springCloudService.d.ts +24 -0
- package/appplatform/springCloudService.js +4 -0
- package/appplatform/springCloudService.js.map +1 -1
- package/appservice/linuxWebApp.d.ts +12 -0
- package/appservice/linuxWebApp.js +2 -0
- package/appservice/linuxWebApp.js.map +1 -1
- package/appservice/linuxWebAppSlot.d.ts +12 -0
- package/appservice/linuxWebAppSlot.js +2 -0
- package/appservice/linuxWebAppSlot.js.map +1 -1
- package/appservice/sourceControlToken.d.ts +1 -1
- package/appservice/sourceControlToken.js +1 -1
- package/appservice/windowsWebApp.d.ts +12 -0
- package/appservice/windowsWebApp.js +2 -0
- package/appservice/windowsWebApp.js.map +1 -1
- package/appservice/windowsWebAppSlot.d.ts +12 -0
- package/appservice/windowsWebAppSlot.js +2 -0
- package/appservice/windowsWebAppSlot.js.map +1 -1
- package/backup/protectedVM.d.ts +1 -1
- package/backup/protectedVM.js +0 -3
- package/backup/protectedVM.js.map +1 -1
- package/bot/channelsRegistration.d.ts +19 -1
- package/bot/channelsRegistration.js +2 -0
- package/bot/channelsRegistration.js.map +1 -1
- package/bot/connection.d.ts +6 -0
- package/bot/connection.js.map +1 -1
- package/compute/managedDisk.d.ts +27 -3
- package/compute/managedDisk.js +4 -0
- package/compute/managedDisk.js.map +1 -1
- package/compute/windowsVirtualMachine.d.ts +3 -3
- package/containerservice/group.d.ts +1 -1
- package/containerservice/group.js +1 -1
- package/dashboard/azurerm_portal_dashboard.d.ts +12 -3
- package/dashboard/azurerm_portal_dashboard.js +1 -0
- package/dashboard/azurerm_portal_dashboard.js.map +1 -1
- package/datafactory/dataFlow.d.ts +14 -2
- package/datafactory/dataFlow.js +2 -3
- package/datafactory/dataFlow.js.map +1 -1
- package/datafactory/triggerSchedule.d.ts +12 -0
- package/datafactory/triggerSchedule.js +2 -0
- package/datafactory/triggerSchedule.js.map +1 -1
- package/domainservices/service.d.ts +12 -0
- package/domainservices/service.js +2 -0
- package/domainservices/service.js.map +1 -1
- package/mssql/index.d.ts +1 -0
- package/mssql/index.js +5 -0
- package/mssql/index.js.map +1 -1
- package/mssql/serverDnsAlias.d.ts +96 -0
- package/mssql/serverDnsAlias.js +84 -0
- package/mssql/serverDnsAlias.js.map +1 -0
- package/mysql/server.d.ts +3 -3
- package/network/virtualNetworkGateway.d.ts +3 -3
- package/network/virtualNetworkGatewayConnection.d.ts +24 -0
- package/network/virtualNetworkGatewayConnection.js +4 -0
- package/network/virtualNetworkGatewayConnection.js.map +1 -1
- package/network/vpnGateway.d.ts +12 -0
- package/network/vpnGateway.js +2 -0
- package/network/vpnGateway.js.map +1 -1
- package/package.json +3 -3
- package/package.json.bak +1 -1
- package/package.json.dev +3 -3
- package/policy/definition.d.ts +3 -3
- package/policy/policySetDefinition.d.ts +3 -3
- package/portal/getDashboard.d.ts +12 -3
- package/portal/getDashboard.js +1 -0
- package/portal/getDashboard.js.map +1 -1
- package/storage/account.d.ts +9 -0
- package/storage/account.js.map +1 -1
- package/storage/share.d.ts +10 -1
- package/storage/share.js.map +1 -1
- package/synapse/sparkPool.d.ts +3 -3
- package/types/input.d.ts +148 -4
- package/types/output.d.ts +148 -4
package/appplatform/index.d.ts
CHANGED
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
export * from "./getSpringCloudApp";
|
|
2
2
|
export * from "./getSpringCloudService";
|
|
3
3
|
export * from "./springCloudActiveDeployment";
|
|
4
|
+
export * from "./springCloudApiPortal";
|
|
4
5
|
export * from "./springCloudApp";
|
|
5
6
|
export * from "./springCloudAppCosmosDBAssociation";
|
|
6
7
|
export * from "./springCloudAppMysqlAssociation";
|
|
7
8
|
export * from "./springCloudAppRedisAssociation";
|
|
9
|
+
export * from "./springCloudBuildDeployment";
|
|
8
10
|
export * from "./springCloudBuildPackBinding";
|
|
9
11
|
export * from "./springCloudBuilder";
|
|
10
12
|
export * from "./springCloudCertificate";
|
|
@@ -13,6 +15,7 @@ export * from "./springCloudContainerDeployment";
|
|
|
13
15
|
export * from "./springCloudCustomDomain";
|
|
14
16
|
export * from "./springCloudGateway";
|
|
15
17
|
export * from "./springCloudGatewayCustomDomain";
|
|
18
|
+
export * from "./springCloudGatewayRouteConfig";
|
|
16
19
|
export * from "./springCloudJavaDeployment";
|
|
17
20
|
export * from "./springCloudService";
|
|
18
21
|
export * from "./springCloudStorage";
|
package/appplatform/index.js
CHANGED
|
@@ -22,10 +22,12 @@ const utilities = require("../utilities");
|
|
|
22
22
|
__exportStar(require("./getSpringCloudApp"), exports);
|
|
23
23
|
__exportStar(require("./getSpringCloudService"), exports);
|
|
24
24
|
__exportStar(require("./springCloudActiveDeployment"), exports);
|
|
25
|
+
__exportStar(require("./springCloudApiPortal"), exports);
|
|
25
26
|
__exportStar(require("./springCloudApp"), exports);
|
|
26
27
|
__exportStar(require("./springCloudAppCosmosDBAssociation"), exports);
|
|
27
28
|
__exportStar(require("./springCloudAppMysqlAssociation"), exports);
|
|
28
29
|
__exportStar(require("./springCloudAppRedisAssociation"), exports);
|
|
30
|
+
__exportStar(require("./springCloudBuildDeployment"), exports);
|
|
29
31
|
__exportStar(require("./springCloudBuildPackBinding"), exports);
|
|
30
32
|
__exportStar(require("./springCloudBuilder"), exports);
|
|
31
33
|
__exportStar(require("./springCloudCertificate"), exports);
|
|
@@ -34,15 +36,18 @@ __exportStar(require("./springCloudContainerDeployment"), exports);
|
|
|
34
36
|
__exportStar(require("./springCloudCustomDomain"), exports);
|
|
35
37
|
__exportStar(require("./springCloudGateway"), exports);
|
|
36
38
|
__exportStar(require("./springCloudGatewayCustomDomain"), exports);
|
|
39
|
+
__exportStar(require("./springCloudGatewayRouteConfig"), exports);
|
|
37
40
|
__exportStar(require("./springCloudJavaDeployment"), exports);
|
|
38
41
|
__exportStar(require("./springCloudService"), exports);
|
|
39
42
|
__exportStar(require("./springCloudStorage"), exports);
|
|
40
43
|
// Import resources to register:
|
|
41
44
|
const springCloudActiveDeployment_1 = require("./springCloudActiveDeployment");
|
|
45
|
+
const springCloudApiPortal_1 = require("./springCloudApiPortal");
|
|
42
46
|
const springCloudApp_1 = require("./springCloudApp");
|
|
43
47
|
const springCloudAppCosmosDBAssociation_1 = require("./springCloudAppCosmosDBAssociation");
|
|
44
48
|
const springCloudAppMysqlAssociation_1 = require("./springCloudAppMysqlAssociation");
|
|
45
49
|
const springCloudAppRedisAssociation_1 = require("./springCloudAppRedisAssociation");
|
|
50
|
+
const springCloudBuildDeployment_1 = require("./springCloudBuildDeployment");
|
|
46
51
|
const springCloudBuildPackBinding_1 = require("./springCloudBuildPackBinding");
|
|
47
52
|
const springCloudBuilder_1 = require("./springCloudBuilder");
|
|
48
53
|
const springCloudCertificate_1 = require("./springCloudCertificate");
|
|
@@ -51,6 +56,7 @@ const springCloudContainerDeployment_1 = require("./springCloudContainerDeployme
|
|
|
51
56
|
const springCloudCustomDomain_1 = require("./springCloudCustomDomain");
|
|
52
57
|
const springCloudGateway_1 = require("./springCloudGateway");
|
|
53
58
|
const springCloudGatewayCustomDomain_1 = require("./springCloudGatewayCustomDomain");
|
|
59
|
+
const springCloudGatewayRouteConfig_1 = require("./springCloudGatewayRouteConfig");
|
|
54
60
|
const springCloudJavaDeployment_1 = require("./springCloudJavaDeployment");
|
|
55
61
|
const springCloudService_1 = require("./springCloudService");
|
|
56
62
|
const springCloudStorage_1 = require("./springCloudStorage");
|
|
@@ -60,6 +66,8 @@ const _module = {
|
|
|
60
66
|
switch (type) {
|
|
61
67
|
case "azure:appplatform/springCloudActiveDeployment:SpringCloudActiveDeployment":
|
|
62
68
|
return new springCloudActiveDeployment_1.SpringCloudActiveDeployment(name, undefined, { urn });
|
|
69
|
+
case "azure:appplatform/springCloudApiPortal:SpringCloudApiPortal":
|
|
70
|
+
return new springCloudApiPortal_1.SpringCloudApiPortal(name, undefined, { urn });
|
|
63
71
|
case "azure:appplatform/springCloudApp:SpringCloudApp":
|
|
64
72
|
return new springCloudApp_1.SpringCloudApp(name, undefined, { urn });
|
|
65
73
|
case "azure:appplatform/springCloudAppCosmosDBAssociation:SpringCloudAppCosmosDBAssociation":
|
|
@@ -68,6 +76,8 @@ const _module = {
|
|
|
68
76
|
return new springCloudAppMysqlAssociation_1.SpringCloudAppMysqlAssociation(name, undefined, { urn });
|
|
69
77
|
case "azure:appplatform/springCloudAppRedisAssociation:SpringCloudAppRedisAssociation":
|
|
70
78
|
return new springCloudAppRedisAssociation_1.SpringCloudAppRedisAssociation(name, undefined, { urn });
|
|
79
|
+
case "azure:appplatform/springCloudBuildDeployment:SpringCloudBuildDeployment":
|
|
80
|
+
return new springCloudBuildDeployment_1.SpringCloudBuildDeployment(name, undefined, { urn });
|
|
71
81
|
case "azure:appplatform/springCloudBuildPackBinding:SpringCloudBuildPackBinding":
|
|
72
82
|
return new springCloudBuildPackBinding_1.SpringCloudBuildPackBinding(name, undefined, { urn });
|
|
73
83
|
case "azure:appplatform/springCloudBuilder:SpringCloudBuilder":
|
|
@@ -84,6 +94,8 @@ const _module = {
|
|
|
84
94
|
return new springCloudGateway_1.SpringCloudGateway(name, undefined, { urn });
|
|
85
95
|
case "azure:appplatform/springCloudGatewayCustomDomain:SpringCloudGatewayCustomDomain":
|
|
86
96
|
return new springCloudGatewayCustomDomain_1.SpringCloudGatewayCustomDomain(name, undefined, { urn });
|
|
97
|
+
case "azure:appplatform/springCloudGatewayRouteConfig:SpringCloudGatewayRouteConfig":
|
|
98
|
+
return new springCloudGatewayRouteConfig_1.SpringCloudGatewayRouteConfig(name, undefined, { urn });
|
|
87
99
|
case "azure:appplatform/springCloudJavaDeployment:SpringCloudJavaDeployment":
|
|
88
100
|
return new springCloudJavaDeployment_1.SpringCloudJavaDeployment(name, undefined, { urn });
|
|
89
101
|
case "azure:appplatform/springCloudService:SpringCloudService":
|
|
@@ -96,10 +108,12 @@ const _module = {
|
|
|
96
108
|
},
|
|
97
109
|
};
|
|
98
110
|
pulumi.runtime.registerResourceModule("azure", "appplatform/springCloudActiveDeployment", _module);
|
|
111
|
+
pulumi.runtime.registerResourceModule("azure", "appplatform/springCloudApiPortal", _module);
|
|
99
112
|
pulumi.runtime.registerResourceModule("azure", "appplatform/springCloudApp", _module);
|
|
100
113
|
pulumi.runtime.registerResourceModule("azure", "appplatform/springCloudAppCosmosDBAssociation", _module);
|
|
101
114
|
pulumi.runtime.registerResourceModule("azure", "appplatform/springCloudAppMysqlAssociation", _module);
|
|
102
115
|
pulumi.runtime.registerResourceModule("azure", "appplatform/springCloudAppRedisAssociation", _module);
|
|
116
|
+
pulumi.runtime.registerResourceModule("azure", "appplatform/springCloudBuildDeployment", _module);
|
|
103
117
|
pulumi.runtime.registerResourceModule("azure", "appplatform/springCloudBuildPackBinding", _module);
|
|
104
118
|
pulumi.runtime.registerResourceModule("azure", "appplatform/springCloudBuilder", _module);
|
|
105
119
|
pulumi.runtime.registerResourceModule("azure", "appplatform/springCloudCertificate", _module);
|
|
@@ -108,6 +122,7 @@ pulumi.runtime.registerResourceModule("azure", "appplatform/springCloudContainer
|
|
|
108
122
|
pulumi.runtime.registerResourceModule("azure", "appplatform/springCloudCustomDomain", _module);
|
|
109
123
|
pulumi.runtime.registerResourceModule("azure", "appplatform/springCloudGateway", _module);
|
|
110
124
|
pulumi.runtime.registerResourceModule("azure", "appplatform/springCloudGatewayCustomDomain", _module);
|
|
125
|
+
pulumi.runtime.registerResourceModule("azure", "appplatform/springCloudGatewayRouteConfig", _module);
|
|
111
126
|
pulumi.runtime.registerResourceModule("azure", "appplatform/springCloudJavaDeployment", _module);
|
|
112
127
|
pulumi.runtime.registerResourceModule("azure", "appplatform/springCloudService", _module);
|
|
113
128
|
pulumi.runtime.registerResourceModule("azure", "appplatform/springCloudStorage", _module);
|
package/appplatform/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../appplatform/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;;;;;;;;;;;;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C,kBAAkB;AAClB,sDAAoC;AACpC,0DAAwC;AACxC,gEAA8C;AAC9C,mDAAiC;AACjC,sEAAoD;AACpD,mEAAiD;AACjD,mEAAiD;AACjD,gEAA8C;AAC9C,uDAAqC;AACrC,2DAAyC;AACzC,oEAAkD;AAClD,mEAAiD;AACjD,4DAA0C;AAC1C,uDAAqC;AACrC,mEAAiD;AACjD,8DAA4C;AAC5C,uDAAqC;AACrC,uDAAqC;AAErC,gCAAgC;AAChC,+EAA4E;AAC5E,qDAAkD;AAClD,2FAAwF;AACxF,qFAAkF;AAClF,qFAAkF;AAClF,+EAA4E;AAC5E,6DAA0D;AAC1D,qEAAkE;AAClE,uFAAoF;AACpF,qFAAkF;AAClF,uEAAoE;AACpE,6DAA0D;AAC1D,qFAAkF;AAClF,2EAAwE;AACxE,6DAA0D;AAC1D,6DAA0D;AAE1D,MAAM,OAAO,GAAG;IACZ,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE;IAC/B,SAAS,EAAE,CAAC,IAAY,EAAE,IAAY,EAAE,GAAW,EAAmB,EAAE;QACpE,QAAQ,IAAI,EAAE;YACV,KAAK,2EAA2E;gBAC5E,OAAO,IAAI,yDAA2B,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAA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AAE,qCAAqC,EAAE,OAAO,CAAC,CAAA;AAC9F,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,OAAO,EAAE,gCAAgC,EAAE,OAAO,CAAC,CAAA;AACzF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,OAAO,EAAE,4CAA4C,EAAE,OAAO,CAAC,CAAA;AACrG,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,OAAO,EAAE,2CAA2C,EAAE,OAAO,CAAC,CAAA;AACpG,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,OAAO,EAAE,uCAAuC,EAAE,OAAO,CAAC,CAAA;AAChG,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,OAAO,EAAE,gCAAgC,EAAE,OAAO,CAAC,CAAA;AACzF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,OAAO,EAAE,gCAAgC,EAAE,OAAO,CAAC,CAAA"}
|
|
@@ -0,0 +1,168 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import { input as inputs, output as outputs } from "../types";
|
|
3
|
+
/**
|
|
4
|
+
* Manages a Spring Cloud API Portal.
|
|
5
|
+
*
|
|
6
|
+
* ## Example Usage
|
|
7
|
+
*
|
|
8
|
+
* ```typescript
|
|
9
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
10
|
+
* import * as azure from "@pulumi/azure";
|
|
11
|
+
*
|
|
12
|
+
* const exampleResourceGroup = new azure.core.ResourceGroup("exampleResourceGroup", {location: "West Europe"});
|
|
13
|
+
* const exampleSpringCloudService = new azure.appplatform.SpringCloudService("exampleSpringCloudService", {
|
|
14
|
+
* location: exampleResourceGroup.location,
|
|
15
|
+
* resourceGroupName: exampleResourceGroup.name,
|
|
16
|
+
* skuName: "E0",
|
|
17
|
+
* });
|
|
18
|
+
* const exampleSpringCloudGateway = new azure.appplatform.SpringCloudGateway("exampleSpringCloudGateway", {springCloudServiceId: exampleSpringCloudService.id});
|
|
19
|
+
* const exampleSpringCloudApiPortal = new azure.appplatform.SpringCloudApiPortal("exampleSpringCloudApiPortal", {
|
|
20
|
+
* springCloudServiceId: exampleSpringCloudService.id,
|
|
21
|
+
* gatewayIds: [exampleSpringCloudGateway.id],
|
|
22
|
+
* httpsOnlyEnabled: false,
|
|
23
|
+
* publicNetworkAccessEnabled: true,
|
|
24
|
+
* instanceCount: 1,
|
|
25
|
+
* sso: {
|
|
26
|
+
* clientId: "test",
|
|
27
|
+
* clientSecret: "secret",
|
|
28
|
+
* issuerUri: "https://www.example.com/issueToken",
|
|
29
|
+
* scopes: ["read"],
|
|
30
|
+
* },
|
|
31
|
+
* });
|
|
32
|
+
* ```
|
|
33
|
+
*
|
|
34
|
+
* ## Import
|
|
35
|
+
*
|
|
36
|
+
* Spring Cloud API Portals can be imported using the `resource id`, e.g.
|
|
37
|
+
*
|
|
38
|
+
* ```sh
|
|
39
|
+
* $ pulumi import azure:appplatform/springCloudApiPortal:SpringCloudApiPortal example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup1/providers/Microsoft.AppPlatform/Spring/service1/apiPortals/apiPortal1
|
|
40
|
+
* ```
|
|
41
|
+
*/
|
|
42
|
+
export declare class SpringCloudApiPortal extends pulumi.CustomResource {
|
|
43
|
+
/**
|
|
44
|
+
* Get an existing SpringCloudApiPortal resource's state with the given name, ID, and optional extra
|
|
45
|
+
* properties used to qualify the lookup.
|
|
46
|
+
*
|
|
47
|
+
* @param name The _unique_ name of the resulting resource.
|
|
48
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
49
|
+
* @param state Any extra arguments used during the lookup.
|
|
50
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
51
|
+
*/
|
|
52
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: SpringCloudApiPortalState, opts?: pulumi.CustomResourceOptions): SpringCloudApiPortal;
|
|
53
|
+
/**
|
|
54
|
+
* Returns true if the given object is an instance of SpringCloudApiPortal. This is designed to work even
|
|
55
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
56
|
+
*/
|
|
57
|
+
static isInstance(obj: any): obj is SpringCloudApiPortal;
|
|
58
|
+
/**
|
|
59
|
+
* Specifies a list of Spring Cloud Gateway.
|
|
60
|
+
*/
|
|
61
|
+
readonly gatewayIds: pulumi.Output<string[] | undefined>;
|
|
62
|
+
/**
|
|
63
|
+
* is only https is allowed?
|
|
64
|
+
*/
|
|
65
|
+
readonly httpsOnlyEnabled: pulumi.Output<boolean | undefined>;
|
|
66
|
+
/**
|
|
67
|
+
* Specifies the required instance count of the Spring Cloud API Portal. Possible Values are between `1` and `500`. Defaults to `1` if not specified.
|
|
68
|
+
*/
|
|
69
|
+
readonly instanceCount: pulumi.Output<number | undefined>;
|
|
70
|
+
/**
|
|
71
|
+
* The name which should be used for this Spring Cloud API Portal. Changing this forces a new Spring Cloud API Portal to be created.
|
|
72
|
+
*/
|
|
73
|
+
readonly name: pulumi.Output<string>;
|
|
74
|
+
/**
|
|
75
|
+
* Is the public network access enabled?
|
|
76
|
+
*/
|
|
77
|
+
readonly publicNetworkAccessEnabled: pulumi.Output<boolean | undefined>;
|
|
78
|
+
/**
|
|
79
|
+
* The ID of the Spring Cloud Service. Changing this forces a new Spring Cloud API Portal to be created.
|
|
80
|
+
*/
|
|
81
|
+
readonly springCloudServiceId: pulumi.Output<string>;
|
|
82
|
+
/**
|
|
83
|
+
* A `sso` block as defined below.
|
|
84
|
+
*/
|
|
85
|
+
readonly sso: pulumi.Output<outputs.appplatform.SpringCloudApiPortalSso | undefined>;
|
|
86
|
+
/**
|
|
87
|
+
* TODO.
|
|
88
|
+
*/
|
|
89
|
+
readonly url: pulumi.Output<string>;
|
|
90
|
+
/**
|
|
91
|
+
* Create a SpringCloudApiPortal resource with the given unique name, arguments, and options.
|
|
92
|
+
*
|
|
93
|
+
* @param name The _unique_ name of the resource.
|
|
94
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
95
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
96
|
+
*/
|
|
97
|
+
constructor(name: string, args: SpringCloudApiPortalArgs, opts?: pulumi.CustomResourceOptions);
|
|
98
|
+
}
|
|
99
|
+
/**
|
|
100
|
+
* Input properties used for looking up and filtering SpringCloudApiPortal resources.
|
|
101
|
+
*/
|
|
102
|
+
export interface SpringCloudApiPortalState {
|
|
103
|
+
/**
|
|
104
|
+
* Specifies a list of Spring Cloud Gateway.
|
|
105
|
+
*/
|
|
106
|
+
gatewayIds?: pulumi.Input<pulumi.Input<string>[]>;
|
|
107
|
+
/**
|
|
108
|
+
* is only https is allowed?
|
|
109
|
+
*/
|
|
110
|
+
httpsOnlyEnabled?: pulumi.Input<boolean>;
|
|
111
|
+
/**
|
|
112
|
+
* Specifies the required instance count of the Spring Cloud API Portal. Possible Values are between `1` and `500`. Defaults to `1` if not specified.
|
|
113
|
+
*/
|
|
114
|
+
instanceCount?: pulumi.Input<number>;
|
|
115
|
+
/**
|
|
116
|
+
* The name which should be used for this Spring Cloud API Portal. Changing this forces a new Spring Cloud API Portal to be created.
|
|
117
|
+
*/
|
|
118
|
+
name?: pulumi.Input<string>;
|
|
119
|
+
/**
|
|
120
|
+
* Is the public network access enabled?
|
|
121
|
+
*/
|
|
122
|
+
publicNetworkAccessEnabled?: pulumi.Input<boolean>;
|
|
123
|
+
/**
|
|
124
|
+
* The ID of the Spring Cloud Service. Changing this forces a new Spring Cloud API Portal to be created.
|
|
125
|
+
*/
|
|
126
|
+
springCloudServiceId?: pulumi.Input<string>;
|
|
127
|
+
/**
|
|
128
|
+
* A `sso` block as defined below.
|
|
129
|
+
*/
|
|
130
|
+
sso?: pulumi.Input<inputs.appplatform.SpringCloudApiPortalSso>;
|
|
131
|
+
/**
|
|
132
|
+
* TODO.
|
|
133
|
+
*/
|
|
134
|
+
url?: pulumi.Input<string>;
|
|
135
|
+
}
|
|
136
|
+
/**
|
|
137
|
+
* The set of arguments for constructing a SpringCloudApiPortal resource.
|
|
138
|
+
*/
|
|
139
|
+
export interface SpringCloudApiPortalArgs {
|
|
140
|
+
/**
|
|
141
|
+
* Specifies a list of Spring Cloud Gateway.
|
|
142
|
+
*/
|
|
143
|
+
gatewayIds?: pulumi.Input<pulumi.Input<string>[]>;
|
|
144
|
+
/**
|
|
145
|
+
* is only https is allowed?
|
|
146
|
+
*/
|
|
147
|
+
httpsOnlyEnabled?: pulumi.Input<boolean>;
|
|
148
|
+
/**
|
|
149
|
+
* Specifies the required instance count of the Spring Cloud API Portal. Possible Values are between `1` and `500`. Defaults to `1` if not specified.
|
|
150
|
+
*/
|
|
151
|
+
instanceCount?: pulumi.Input<number>;
|
|
152
|
+
/**
|
|
153
|
+
* The name which should be used for this Spring Cloud API Portal. Changing this forces a new Spring Cloud API Portal to be created.
|
|
154
|
+
*/
|
|
155
|
+
name?: pulumi.Input<string>;
|
|
156
|
+
/**
|
|
157
|
+
* Is the public network access enabled?
|
|
158
|
+
*/
|
|
159
|
+
publicNetworkAccessEnabled?: pulumi.Input<boolean>;
|
|
160
|
+
/**
|
|
161
|
+
* The ID of the Spring Cloud Service. Changing this forces a new Spring Cloud API Portal to be created.
|
|
162
|
+
*/
|
|
163
|
+
springCloudServiceId: pulumi.Input<string>;
|
|
164
|
+
/**
|
|
165
|
+
* A `sso` block as defined below.
|
|
166
|
+
*/
|
|
167
|
+
sso?: pulumi.Input<inputs.appplatform.SpringCloudApiPortalSso>;
|
|
168
|
+
}
|
|
@@ -0,0 +1,105 @@
|
|
|
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.SpringCloudApiPortal = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Manages a Spring Cloud API Portal.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as azure from "@pulumi/azure";
|
|
16
|
+
*
|
|
17
|
+
* const exampleResourceGroup = new azure.core.ResourceGroup("exampleResourceGroup", {location: "West Europe"});
|
|
18
|
+
* const exampleSpringCloudService = new azure.appplatform.SpringCloudService("exampleSpringCloudService", {
|
|
19
|
+
* location: exampleResourceGroup.location,
|
|
20
|
+
* resourceGroupName: exampleResourceGroup.name,
|
|
21
|
+
* skuName: "E0",
|
|
22
|
+
* });
|
|
23
|
+
* const exampleSpringCloudGateway = new azure.appplatform.SpringCloudGateway("exampleSpringCloudGateway", {springCloudServiceId: exampleSpringCloudService.id});
|
|
24
|
+
* const exampleSpringCloudApiPortal = new azure.appplatform.SpringCloudApiPortal("exampleSpringCloudApiPortal", {
|
|
25
|
+
* springCloudServiceId: exampleSpringCloudService.id,
|
|
26
|
+
* gatewayIds: [exampleSpringCloudGateway.id],
|
|
27
|
+
* httpsOnlyEnabled: false,
|
|
28
|
+
* publicNetworkAccessEnabled: true,
|
|
29
|
+
* instanceCount: 1,
|
|
30
|
+
* sso: {
|
|
31
|
+
* clientId: "test",
|
|
32
|
+
* clientSecret: "secret",
|
|
33
|
+
* issuerUri: "https://www.example.com/issueToken",
|
|
34
|
+
* scopes: ["read"],
|
|
35
|
+
* },
|
|
36
|
+
* });
|
|
37
|
+
* ```
|
|
38
|
+
*
|
|
39
|
+
* ## Import
|
|
40
|
+
*
|
|
41
|
+
* Spring Cloud API Portals can be imported using the `resource id`, e.g.
|
|
42
|
+
*
|
|
43
|
+
* ```sh
|
|
44
|
+
* $ pulumi import azure:appplatform/springCloudApiPortal:SpringCloudApiPortal example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup1/providers/Microsoft.AppPlatform/Spring/service1/apiPortals/apiPortal1
|
|
45
|
+
* ```
|
|
46
|
+
*/
|
|
47
|
+
class SpringCloudApiPortal extends pulumi.CustomResource {
|
|
48
|
+
constructor(name, argsOrState, opts) {
|
|
49
|
+
let resourceInputs = {};
|
|
50
|
+
opts = opts || {};
|
|
51
|
+
if (opts.id) {
|
|
52
|
+
const state = argsOrState;
|
|
53
|
+
resourceInputs["gatewayIds"] = state ? state.gatewayIds : undefined;
|
|
54
|
+
resourceInputs["httpsOnlyEnabled"] = state ? state.httpsOnlyEnabled : undefined;
|
|
55
|
+
resourceInputs["instanceCount"] = state ? state.instanceCount : undefined;
|
|
56
|
+
resourceInputs["name"] = state ? state.name : undefined;
|
|
57
|
+
resourceInputs["publicNetworkAccessEnabled"] = state ? state.publicNetworkAccessEnabled : undefined;
|
|
58
|
+
resourceInputs["springCloudServiceId"] = state ? state.springCloudServiceId : undefined;
|
|
59
|
+
resourceInputs["sso"] = state ? state.sso : undefined;
|
|
60
|
+
resourceInputs["url"] = state ? state.url : undefined;
|
|
61
|
+
}
|
|
62
|
+
else {
|
|
63
|
+
const args = argsOrState;
|
|
64
|
+
if ((!args || args.springCloudServiceId === undefined) && !opts.urn) {
|
|
65
|
+
throw new Error("Missing required property 'springCloudServiceId'");
|
|
66
|
+
}
|
|
67
|
+
resourceInputs["gatewayIds"] = args ? args.gatewayIds : undefined;
|
|
68
|
+
resourceInputs["httpsOnlyEnabled"] = args ? args.httpsOnlyEnabled : undefined;
|
|
69
|
+
resourceInputs["instanceCount"] = args ? args.instanceCount : undefined;
|
|
70
|
+
resourceInputs["name"] = args ? args.name : undefined;
|
|
71
|
+
resourceInputs["publicNetworkAccessEnabled"] = args ? args.publicNetworkAccessEnabled : undefined;
|
|
72
|
+
resourceInputs["springCloudServiceId"] = args ? args.springCloudServiceId : undefined;
|
|
73
|
+
resourceInputs["sso"] = args ? args.sso : undefined;
|
|
74
|
+
resourceInputs["url"] = undefined /*out*/;
|
|
75
|
+
}
|
|
76
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
77
|
+
super(SpringCloudApiPortal.__pulumiType, name, resourceInputs, opts);
|
|
78
|
+
}
|
|
79
|
+
/**
|
|
80
|
+
* Get an existing SpringCloudApiPortal resource's state with the given name, ID, and optional extra
|
|
81
|
+
* properties used to qualify the lookup.
|
|
82
|
+
*
|
|
83
|
+
* @param name The _unique_ name of the resulting resource.
|
|
84
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
85
|
+
* @param state Any extra arguments used during the lookup.
|
|
86
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
87
|
+
*/
|
|
88
|
+
static get(name, id, state, opts) {
|
|
89
|
+
return new SpringCloudApiPortal(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
90
|
+
}
|
|
91
|
+
/**
|
|
92
|
+
* Returns true if the given object is an instance of SpringCloudApiPortal. This is designed to work even
|
|
93
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
94
|
+
*/
|
|
95
|
+
static isInstance(obj) {
|
|
96
|
+
if (obj === undefined || obj === null) {
|
|
97
|
+
return false;
|
|
98
|
+
}
|
|
99
|
+
return obj['__pulumiType'] === SpringCloudApiPortal.__pulumiType;
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
exports.SpringCloudApiPortal = SpringCloudApiPortal;
|
|
103
|
+
/** @internal */
|
|
104
|
+
SpringCloudApiPortal.__pulumiType = 'azure:appplatform/springCloudApiPortal:SpringCloudApiPortal';
|
|
105
|
+
//# sourceMappingURL=springCloudApiPortal.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"springCloudApiPortal.js","sourceRoot":"","sources":["../../appplatform/springCloudApiPortal.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,MAAa,oBAAqB,SAAQ,MAAM,CAAC,cAAc;IAqE3D,YAAY,IAAY,EAAE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KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC3E,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,oBAAoB,CAAC,YAAY,CAAC;IACrE,CAAC;;AA1BL,oDAmGC;AArFG,gBAAgB;AACO,iCAAY,GAAG,6DAA6D,CAAC"}
|
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import { input as inputs, output as outputs } from "../types";
|
|
3
|
+
/**
|
|
4
|
+
* Manages a Spring Cloud Build Deployment.
|
|
5
|
+
*
|
|
6
|
+
* ## Example Usage
|
|
7
|
+
*
|
|
8
|
+
* ```typescript
|
|
9
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
10
|
+
* import * as azure from "@pulumi/azure";
|
|
11
|
+
*
|
|
12
|
+
* const exampleResourceGroup = new azure.core.ResourceGroup("exampleResourceGroup", {location: "West Europe"});
|
|
13
|
+
* const exampleSpringCloudService = new azure.appplatform.SpringCloudService("exampleSpringCloudService", {
|
|
14
|
+
* location: exampleResourceGroup.location,
|
|
15
|
+
* resourceGroupName: exampleResourceGroup.name,
|
|
16
|
+
* skuName: "E0",
|
|
17
|
+
* });
|
|
18
|
+
* const exampleSpringCloudApp = new azure.appplatform.SpringCloudApp("exampleSpringCloudApp", {
|
|
19
|
+
* resourceGroupName: exampleSpringCloudService.resourceGroupName,
|
|
20
|
+
* serviceName: exampleSpringCloudService.name,
|
|
21
|
+
* });
|
|
22
|
+
* const exampleSpringCloudBuildDeployment = new azure.appplatform.SpringCloudBuildDeployment("exampleSpringCloudBuildDeployment", {
|
|
23
|
+
* springCloudAppId: exampleSpringCloudApp.id,
|
|
24
|
+
* buildResultId: "<default>",
|
|
25
|
+
* instanceCount: 2,
|
|
26
|
+
* environmentVariables: {
|
|
27
|
+
* Foo: "Bar",
|
|
28
|
+
* Env: "Staging",
|
|
29
|
+
* },
|
|
30
|
+
* quota: {
|
|
31
|
+
* cpu: "2",
|
|
32
|
+
* memory: "4Gi",
|
|
33
|
+
* },
|
|
34
|
+
* });
|
|
35
|
+
* ```
|
|
36
|
+
*
|
|
37
|
+
* ## Import
|
|
38
|
+
*
|
|
39
|
+
* Spring Cloud Build Deployments can be imported using the `resource id`, e.g.
|
|
40
|
+
*
|
|
41
|
+
* ```sh
|
|
42
|
+
* $ pulumi import azure:appplatform/springCloudBuildDeployment:SpringCloudBuildDeployment example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resGroup1/providers/Microsoft.AppPlatform/Spring/spring1/apps/app1/deployments/deploy1
|
|
43
|
+
* ```
|
|
44
|
+
*/
|
|
45
|
+
export declare class SpringCloudBuildDeployment extends pulumi.CustomResource {
|
|
46
|
+
/**
|
|
47
|
+
* Get an existing SpringCloudBuildDeployment resource's state with the given name, ID, and optional extra
|
|
48
|
+
* properties used to qualify the lookup.
|
|
49
|
+
*
|
|
50
|
+
* @param name The _unique_ name of the resulting resource.
|
|
51
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
52
|
+
* @param state Any extra arguments used during the lookup.
|
|
53
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
54
|
+
*/
|
|
55
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: SpringCloudBuildDeploymentState, opts?: pulumi.CustomResourceOptions): SpringCloudBuildDeployment;
|
|
56
|
+
/**
|
|
57
|
+
* Returns true if the given object is an instance of SpringCloudBuildDeployment. This is designed to work even
|
|
58
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
59
|
+
*/
|
|
60
|
+
static isInstance(obj: any): obj is SpringCloudBuildDeployment;
|
|
61
|
+
/**
|
|
62
|
+
* The ID of the Spring Cloud Build Result.
|
|
63
|
+
*/
|
|
64
|
+
readonly buildResultId: pulumi.Output<string>;
|
|
65
|
+
/**
|
|
66
|
+
* Specifies the environment variables of the Spring Cloud Deployment as a map of key-value pairs.
|
|
67
|
+
*/
|
|
68
|
+
readonly environmentVariables: pulumi.Output<{
|
|
69
|
+
[key: string]: string;
|
|
70
|
+
} | undefined>;
|
|
71
|
+
/**
|
|
72
|
+
* Specifies the required instance count of the Spring Cloud Deployment. Possible Values are between `1` and `500`. Defaults to `1` if not specified.
|
|
73
|
+
*/
|
|
74
|
+
readonly instanceCount: pulumi.Output<number | undefined>;
|
|
75
|
+
/**
|
|
76
|
+
* The name which should be used for this Spring Cloud Build Deployment. Changing this forces a new Spring Cloud Build Deployment to be created.
|
|
77
|
+
*/
|
|
78
|
+
readonly name: pulumi.Output<string>;
|
|
79
|
+
/**
|
|
80
|
+
* A `quota` block as defined below.
|
|
81
|
+
*/
|
|
82
|
+
readonly quota: pulumi.Output<outputs.appplatform.SpringCloudBuildDeploymentQuota>;
|
|
83
|
+
/**
|
|
84
|
+
* The ID of the Spring Cloud Service. Changing this forces a new Spring Cloud Build Deployment to be created.
|
|
85
|
+
*/
|
|
86
|
+
readonly springCloudAppId: pulumi.Output<string>;
|
|
87
|
+
/**
|
|
88
|
+
* Create a SpringCloudBuildDeployment resource with the given unique name, arguments, and options.
|
|
89
|
+
*
|
|
90
|
+
* @param name The _unique_ name of the resource.
|
|
91
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
92
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
93
|
+
*/
|
|
94
|
+
constructor(name: string, args: SpringCloudBuildDeploymentArgs, opts?: pulumi.CustomResourceOptions);
|
|
95
|
+
}
|
|
96
|
+
/**
|
|
97
|
+
* Input properties used for looking up and filtering SpringCloudBuildDeployment resources.
|
|
98
|
+
*/
|
|
99
|
+
export interface SpringCloudBuildDeploymentState {
|
|
100
|
+
/**
|
|
101
|
+
* The ID of the Spring Cloud Build Result.
|
|
102
|
+
*/
|
|
103
|
+
buildResultId?: pulumi.Input<string>;
|
|
104
|
+
/**
|
|
105
|
+
* Specifies the environment variables of the Spring Cloud Deployment as a map of key-value pairs.
|
|
106
|
+
*/
|
|
107
|
+
environmentVariables?: pulumi.Input<{
|
|
108
|
+
[key: string]: pulumi.Input<string>;
|
|
109
|
+
}>;
|
|
110
|
+
/**
|
|
111
|
+
* Specifies the required instance count of the Spring Cloud Deployment. Possible Values are between `1` and `500`. Defaults to `1` if not specified.
|
|
112
|
+
*/
|
|
113
|
+
instanceCount?: pulumi.Input<number>;
|
|
114
|
+
/**
|
|
115
|
+
* The name which should be used for this Spring Cloud Build Deployment. Changing this forces a new Spring Cloud Build Deployment to be created.
|
|
116
|
+
*/
|
|
117
|
+
name?: pulumi.Input<string>;
|
|
118
|
+
/**
|
|
119
|
+
* A `quota` block as defined below.
|
|
120
|
+
*/
|
|
121
|
+
quota?: pulumi.Input<inputs.appplatform.SpringCloudBuildDeploymentQuota>;
|
|
122
|
+
/**
|
|
123
|
+
* The ID of the Spring Cloud Service. Changing this forces a new Spring Cloud Build Deployment to be created.
|
|
124
|
+
*/
|
|
125
|
+
springCloudAppId?: pulumi.Input<string>;
|
|
126
|
+
}
|
|
127
|
+
/**
|
|
128
|
+
* The set of arguments for constructing a SpringCloudBuildDeployment resource.
|
|
129
|
+
*/
|
|
130
|
+
export interface SpringCloudBuildDeploymentArgs {
|
|
131
|
+
/**
|
|
132
|
+
* The ID of the Spring Cloud Build Result.
|
|
133
|
+
*/
|
|
134
|
+
buildResultId: pulumi.Input<string>;
|
|
135
|
+
/**
|
|
136
|
+
* Specifies the environment variables of the Spring Cloud Deployment as a map of key-value pairs.
|
|
137
|
+
*/
|
|
138
|
+
environmentVariables?: pulumi.Input<{
|
|
139
|
+
[key: string]: pulumi.Input<string>;
|
|
140
|
+
}>;
|
|
141
|
+
/**
|
|
142
|
+
* Specifies the required instance count of the Spring Cloud Deployment. Possible Values are between `1` and `500`. Defaults to `1` if not specified.
|
|
143
|
+
*/
|
|
144
|
+
instanceCount?: pulumi.Input<number>;
|
|
145
|
+
/**
|
|
146
|
+
* The name which should be used for this Spring Cloud Build Deployment. Changing this forces a new Spring Cloud Build Deployment to be created.
|
|
147
|
+
*/
|
|
148
|
+
name?: pulumi.Input<string>;
|
|
149
|
+
/**
|
|
150
|
+
* A `quota` block as defined below.
|
|
151
|
+
*/
|
|
152
|
+
quota?: pulumi.Input<inputs.appplatform.SpringCloudBuildDeploymentQuota>;
|
|
153
|
+
/**
|
|
154
|
+
* The ID of the Spring Cloud Service. Changing this forces a new Spring Cloud Build Deployment to be created.
|
|
155
|
+
*/
|
|
156
|
+
springCloudAppId: pulumi.Input<string>;
|
|
157
|
+
}
|