@pulumi/openstack 5.3.2 → 5.3.3-alpha.1757701609
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/bgpvpn/networkAssociateV2.js +11 -11
- package/bgpvpn/networkAssociateV2.js.map +1 -1
- package/bgpvpn/portAssociateV2.js +15 -15
- package/bgpvpn/portAssociateV2.js.map +1 -1
- package/bgpvpn/routerAssociateV2.js +13 -13
- package/bgpvpn/routerAssociateV2.js.map +1 -1
- package/bgpvpn/v2.js +25 -25
- package/bgpvpn/v2.js.map +1 -1
- package/bgpvpnNetworkAssociateV2.js +11 -11
- package/bgpvpnNetworkAssociateV2.js.map +1 -1
- package/bgpvpnPortAssociateV2.js +15 -15
- package/bgpvpnPortAssociateV2.js.map +1 -1
- package/bgpvpnRouterAssociateV2.js +13 -13
- package/bgpvpnRouterAssociateV2.js.map +1 -1
- package/bgpvpnV2.js +25 -25
- package/bgpvpnV2.js.map +1 -1
- package/blockstorage/qosAssociationV3.js +9 -9
- package/blockstorage/qosAssociationV3.js.map +1 -1
- package/blockstorage/qosV3.js +9 -9
- package/blockstorage/qosV3.js.map +1 -1
- package/blockstorage/quoteSetV3.js +22 -22
- package/blockstorage/quoteSetV3.js.map +1 -1
- package/blockstorage/volume.js +35 -35
- package/blockstorage/volume.js.map +1 -1
- package/blockstorage/volumeAttach.js +30 -30
- package/blockstorage/volumeAttach.js.map +1 -1
- package/blockstorage/volumeTypeAccessV3.js +9 -9
- package/blockstorage/volumeTypeAccessV3.js.map +1 -1
- package/blockstorage/volumeTypeV3.js +11 -11
- package/blockstorage/volumeTypeV3.js.map +1 -1
- package/compute/aggregateV2.js +11 -11
- package/compute/aggregateV2.js.map +1 -1
- package/compute/flavor.js +28 -28
- package/compute/flavor.js.map +1 -1
- package/compute/flavorAccess.js +9 -9
- package/compute/flavorAccess.js.map +1 -1
- package/compute/instance.js +57 -57
- package/compute/instance.js.map +1 -1
- package/compute/interfaceAttach.js +12 -12
- package/compute/interfaceAttach.js.map +1 -1
- package/compute/keypair.js +13 -13
- package/compute/keypair.js.map +1 -1
- package/compute/quotaSetV2.js +34 -34
- package/compute/quotaSetV2.js.map +1 -1
- package/compute/serverGroup.js +12 -12
- package/compute/serverGroup.js.map +1 -1
- package/compute/volumeAttach.js +17 -17
- package/compute/volumeAttach.js.map +1 -1
- package/config/vars.d.ts +12 -8
- package/config/vars.js +7 -14
- package/config/vars.js.map +1 -1
- package/containerinfra/cluster.js +46 -46
- package/containerinfra/cluster.js.map +1 -1
- package/containerinfra/clusterTemplate.js +64 -64
- package/containerinfra/clusterTemplate.js.map +1 -1
- package/containerinfra/nodeGroup.js +29 -29
- package/containerinfra/nodeGroup.js.map +1 -1
- package/database/configuration.js +13 -13
- package/database/configuration.js.map +1 -1
- package/database/database.js +8 -8
- package/database/database.js.map +1 -1
- package/database/instance.js +24 -24
- package/database/instance.js.map +1 -1
- package/database/user.js +15 -15
- package/database/user.js.map +1 -1
- package/dns/quotaV2.js +16 -16
- package/dns/quotaV2.js.map +1 -1
- package/dns/recordSet.js +23 -23
- package/dns/recordSet.js.map +1 -1
- package/dns/transferAccept.js +13 -13
- package/dns/transferAccept.js.map +1 -1
- package/dns/transferRequest.js +16 -16
- package/dns/transferRequest.js.map +1 -1
- package/dns/zone.js +23 -23
- package/dns/zone.js.map +1 -1
- package/dns/zoneShareV2.js +11 -11
- package/dns/zoneShareV2.js.map +1 -1
- package/firewall/groupV2.js +22 -22
- package/firewall/groupV2.js.map +1 -1
- package/firewall/policyV2.js +17 -17
- package/firewall/policyV2.js.map +1 -1
- package/firewall/ruleV2.js +29 -29
- package/firewall/ruleV2.js.map +1 -1
- package/identity/applicationCredential.js +18 -18
- package/identity/applicationCredential.js.map +1 -1
- package/identity/ec2CredentialV3.js +10 -10
- package/identity/ec2CredentialV3.js.map +1 -1
- package/identity/endpointV3.js +18 -18
- package/identity/endpointV3.js.map +1 -1
- package/identity/groupV3.js +9 -9
- package/identity/groupV3.js.map +1 -1
- package/identity/inheritRoleAssignment.js +14 -14
- package/identity/inheritRoleAssignment.js.map +1 -1
- package/identity/limitV3.js +18 -18
- package/identity/limitV3.js.map +1 -1
- package/identity/project.js +17 -17
- package/identity/project.js.map +1 -1
- package/identity/registeredLimitV3.js +14 -14
- package/identity/registeredLimitV3.js.map +1 -1
- package/identity/role.js +7 -7
- package/identity/role.js.map +1 -1
- package/identity/roleAssignment.js +14 -14
- package/identity/roleAssignment.js.map +1 -1
- package/identity/serviceV3.js +12 -12
- package/identity/serviceV3.js.map +1 -1
- package/identity/user.js +27 -27
- package/identity/user.js.map +1 -1
- package/identity/userMembershipV3.js +9 -9
- package/identity/userMembershipV3.js.map +1 -1
- package/images/image.js +52 -52
- package/images/image.js.map +1 -1
- package/images/imageAccess.js +14 -14
- package/images/imageAccess.js.map +1 -1
- package/images/imageAccessAccept.js +14 -14
- package/images/imageAccessAccept.js.map +1 -1
- package/keymanager/containerV1.js +18 -18
- package/keymanager/containerV1.js.map +1 -1
- package/keymanager/orderV1.js +18 -18
- package/keymanager/orderV1.js.map +1 -1
- package/keymanager/secretV1.js +32 -32
- package/keymanager/secretV1.js.map +1 -1
- package/lbFlavorprofileV2.js +11 -11
- package/lbFlavorprofileV2.js.map +1 -1
- package/lbLoadbalancerV2.js +31 -31
- package/lbLoadbalancerV2.js.map +1 -1
- package/loadbalancer/flavorV2.js +12 -12
- package/loadbalancer/flavorV2.js.map +1 -1
- package/loadbalancer/flavorprofileV2.js +11 -11
- package/loadbalancer/flavorprofileV2.js.map +1 -1
- package/loadbalancer/l7policyV2.js +27 -27
- package/loadbalancer/l7policyV2.js.map +1 -1
- package/loadbalancer/l7ruleV2.js +24 -24
- package/loadbalancer/l7ruleV2.js.map +1 -1
- package/loadbalancer/listener.js +60 -60
- package/loadbalancer/listener.js.map +1 -1
- package/loadbalancer/loadBalancer.js +31 -31
- package/loadbalancer/loadBalancer.js.map +1 -1
- package/loadbalancer/member.js +30 -30
- package/loadbalancer/member.js.map +1 -1
- package/loadbalancer/members.js +8 -8
- package/loadbalancer/members.js.map +1 -1
- package/loadbalancer/monitor.js +36 -36
- package/loadbalancer/monitor.js.map +1 -1
- package/loadbalancer/pool.js +39 -39
- package/loadbalancer/pool.js.map +1 -1
- package/loadbalancer/quota.js +20 -20
- package/loadbalancer/quota.js.map +1 -1
- package/networking/addressGroupV2.js +12 -12
- package/networking/addressGroupV2.js.map +1 -1
- package/networking/addressScope.js +11 -11
- package/networking/addressScope.js.map +1 -1
- package/networking/bgpPeerV2.js +17 -17
- package/networking/bgpPeerV2.js.map +1 -1
- package/networking/bgpSpeakerV2.js +21 -21
- package/networking/bgpSpeakerV2.js.map +1 -1
- package/networking/floatingIp.js +28 -28
- package/networking/floatingIp.js.map +1 -1
- package/networking/floatingIpAssociate.js +11 -11
- package/networking/floatingIpAssociate.js.map +1 -1
- package/networking/network.js +34 -34
- package/networking/network.js.map +1 -1
- package/networking/port.js +48 -48
- package/networking/port.js.map +1 -1
- package/networking/portForwardingV2.js +23 -23
- package/networking/portForwardingV2.js.map +1 -1
- package/networking/portSecGroupAssociate.js +12 -12
- package/networking/portSecGroupAssociate.js.map +1 -1
- package/networking/qosBandwidthLimitRule.js +13 -13
- package/networking/qosBandwidthLimitRule.js.map +1 -1
- package/networking/qosDscpMarkingRule.js +9 -9
- package/networking/qosDscpMarkingRule.js.map +1 -1
- package/networking/qosMinimumBandwidthRule.js +11 -11
- package/networking/qosMinimumBandwidthRule.js.map +1 -1
- package/networking/qosPolicy.js +21 -21
- package/networking/qosPolicy.js.map +1 -1
- package/networking/quotaV2.js +24 -24
- package/networking/quotaV2.js.map +1 -1
- package/networking/rbacPolicyV2.js +16 -16
- package/networking/rbacPolicyV2.js.map +1 -1
- package/networking/router.js +32 -32
- package/networking/router.js.map +1 -1
- package/networking/routerInterface.js +12 -12
- package/networking/routerInterface.js.map +1 -1
- package/networking/routerRoute.js +12 -12
- package/networking/routerRoute.js.map +1 -1
- package/networking/routerRoutesV2.js +8 -8
- package/networking/routerRoutesV2.js.map +1 -1
- package/networking/secGroup.js +16 -16
- package/networking/secGroup.js.map +1 -1
- package/networking/secGroupRule.js +28 -28
- package/networking/secGroupRule.js.map +1 -1
- package/networking/segmentV2.js +20 -20
- package/networking/segmentV2.js.map +1 -1
- package/networking/subnet.js +45 -45
- package/networking/subnet.js.map +1 -1
- package/networking/subnetPool.js +36 -36
- package/networking/subnetPool.js.map +1 -1
- package/networking/subnetRoute.js +12 -12
- package/networking/subnetRoute.js.map +1 -1
- package/networking/trunk.js +19 -19
- package/networking/trunk.js.map +1 -1
- package/objectstorage/accountV1.js +12 -12
- package/objectstorage/accountV1.js.map +1 -1
- package/objectstorage/container.js +27 -27
- package/objectstorage/container.js.map +1 -1
- package/objectstorage/containerObject.js +36 -36
- package/objectstorage/containerObject.js.map +1 -1
- package/objectstorage/tempUrl.js +23 -23
- package/objectstorage/tempUrl.js.map +1 -1
- package/orchestration/stackV1.js +36 -36
- package/orchestration/stackV1.js.map +1 -1
- package/package.json +2 -2
- package/provider.d.ts +16 -10
- package/provider.js +32 -33
- package/provider.js.map +1 -1
- package/sharedfilesystem/securityService.js +23 -23
- package/sharedfilesystem/securityService.js.map +1 -1
- package/sharedfilesystem/share.js +32 -32
- package/sharedfilesystem/share.js.map +1 -1
- package/sharedfilesystem/shareAccess.js +17 -17
- package/sharedfilesystem/shareAccess.js.map +1 -1
- package/sharedfilesystem/shareNetwork.js +20 -20
- package/sharedfilesystem/shareNetwork.js.map +1 -1
- package/utilities.js +18 -29
- package/utilities.js.map +1 -1
- package/vpnaas/endpointGroup.js +15 -15
- package/vpnaas/endpointGroup.js.map +1 -1
- package/vpnaas/ikePolicy.js +23 -23
- package/vpnaas/ikePolicy.js.map +1 -1
- package/vpnaas/ipSecPolicy.js +23 -23
- package/vpnaas/ipSecPolicy.js.map +1 -1
- package/vpnaas/service.js +21 -21
- package/vpnaas/service.js.map +1 -1
- package/vpnaas/siteConnection.js +45 -45
- package/vpnaas/siteConnection.js.map +1 -1
package/provider.d.ts
CHANGED
|
@@ -73,11 +73,13 @@ export declare class Provider extends pulumi.ProviderResource {
|
|
|
73
73
|
*/
|
|
74
74
|
readonly region: pulumi.Output<string | undefined>;
|
|
75
75
|
/**
|
|
76
|
-
* The ID of the Tenant (Identity v2) or Project (Identity v3)
|
|
76
|
+
* The ID of the Tenant (Identity v2) or Project (Identity v3)
|
|
77
|
+
* to login with.
|
|
77
78
|
*/
|
|
78
79
|
readonly tenantId: pulumi.Output<string | undefined>;
|
|
79
80
|
/**
|
|
80
|
-
* The name of the Tenant (Identity v2) or Project (Identity v3)
|
|
81
|
+
* The name of the Tenant (Identity v2) or Project (Identity v3)
|
|
82
|
+
* to login with.
|
|
81
83
|
*/
|
|
82
84
|
readonly tenantName: pulumi.Output<string | undefined>;
|
|
83
85
|
/**
|
|
@@ -118,8 +120,8 @@ export declare class Provider extends pulumi.ProviderResource {
|
|
|
118
120
|
*/
|
|
119
121
|
export interface ProviderArgs {
|
|
120
122
|
/**
|
|
121
|
-
* If set to `false`, OpenStack authorization won't be perfomed
|
|
122
|
-
* Defaults to `true`
|
|
123
|
+
* If set to `false`, OpenStack authorization won't be perfomed
|
|
124
|
+
* automatically, if the initial auth token get expired. Defaults to `true`
|
|
123
125
|
*/
|
|
124
126
|
allowReauth?: pulumi.Input<boolean>;
|
|
125
127
|
/**
|
|
@@ -155,8 +157,8 @@ export interface ProviderArgs {
|
|
|
155
157
|
*/
|
|
156
158
|
defaultDomain?: pulumi.Input<string>;
|
|
157
159
|
/**
|
|
158
|
-
* If set to `false`, OpenStack authorization will be perfomed,
|
|
159
|
-
* to `true`.
|
|
160
|
+
* If set to `false`, OpenStack authorization will be perfomed,
|
|
161
|
+
* every time the service provider client is called. Defaults to `true`.
|
|
160
162
|
*/
|
|
161
163
|
delayedAuth?: pulumi.Input<boolean>;
|
|
162
164
|
/**
|
|
@@ -176,7 +178,8 @@ export interface ProviderArgs {
|
|
|
176
178
|
*/
|
|
177
179
|
enableLogging?: pulumi.Input<boolean>;
|
|
178
180
|
/**
|
|
179
|
-
* A map of services with an endpoint to override what was
|
|
181
|
+
* A map of services with an endpoint to override what was
|
|
182
|
+
* from the Keystone catalog
|
|
180
183
|
*/
|
|
181
184
|
endpointOverrides?: pulumi.Input<{
|
|
182
185
|
[key: string]: pulumi.Input<string>;
|
|
@@ -211,7 +214,8 @@ export interface ProviderArgs {
|
|
|
211
214
|
*/
|
|
212
215
|
region?: pulumi.Input<string>;
|
|
213
216
|
/**
|
|
214
|
-
* Use Swift's authentication system instead of Keystone. Only used for
|
|
217
|
+
* Use Swift's authentication system instead of Keystone. Only used for
|
|
218
|
+
* interaction with Swift.
|
|
215
219
|
*/
|
|
216
220
|
swauth?: pulumi.Input<boolean>;
|
|
217
221
|
/**
|
|
@@ -219,11 +223,13 @@ export interface ProviderArgs {
|
|
|
219
223
|
*/
|
|
220
224
|
systemScope?: pulumi.Input<boolean>;
|
|
221
225
|
/**
|
|
222
|
-
* The ID of the Tenant (Identity v2) or Project (Identity v3)
|
|
226
|
+
* The ID of the Tenant (Identity v2) or Project (Identity v3)
|
|
227
|
+
* to login with.
|
|
223
228
|
*/
|
|
224
229
|
tenantId?: pulumi.Input<string>;
|
|
225
230
|
/**
|
|
226
|
-
* The name of the Tenant (Identity v2) or Project (Identity v3)
|
|
231
|
+
* The name of the Tenant (Identity v2) or Project (Identity v3)
|
|
232
|
+
* to login with.
|
|
227
233
|
*/
|
|
228
234
|
tenantName?: pulumi.Input<string>;
|
|
229
235
|
/**
|
package/provider.js
CHANGED
|
@@ -30,42 +30,41 @@ class Provider extends pulumi.ProviderResource {
|
|
|
30
30
|
* @param opts A bag of options that control this resource's behavior.
|
|
31
31
|
*/
|
|
32
32
|
constructor(name, args, opts) {
|
|
33
|
-
var _a, _b, _c, _d, _e, _f, _g;
|
|
34
33
|
let resourceInputs = {};
|
|
35
34
|
opts = opts || {};
|
|
36
35
|
{
|
|
37
|
-
resourceInputs["allowReauth"] = pulumi.output((
|
|
38
|
-
resourceInputs["applicationCredentialId"] = args
|
|
39
|
-
resourceInputs["applicationCredentialName"] = args
|
|
40
|
-
resourceInputs["applicationCredentialSecret"] = args
|
|
41
|
-
resourceInputs["authUrl"] = args
|
|
42
|
-
resourceInputs["cacertFile"] = args
|
|
43
|
-
resourceInputs["cert"] = args
|
|
44
|
-
resourceInputs["cloud"] = (
|
|
45
|
-
resourceInputs["defaultDomain"] = args
|
|
46
|
-
resourceInputs["delayedAuth"] = pulumi.output((
|
|
47
|
-
resourceInputs["disableNoCacheHeader"] = pulumi.output(args
|
|
48
|
-
resourceInputs["domainId"] = args
|
|
49
|
-
resourceInputs["domainName"] = args
|
|
50
|
-
resourceInputs["enableLogging"] = pulumi.output(args
|
|
51
|
-
resourceInputs["endpointOverrides"] = pulumi.output(args
|
|
52
|
-
resourceInputs["endpointType"] = (
|
|
53
|
-
resourceInputs["insecure"] = pulumi.output((
|
|
54
|
-
resourceInputs["key"] = args
|
|
55
|
-
resourceInputs["maxRetries"] = pulumi.output(args
|
|
56
|
-
resourceInputs["password"] =
|
|
57
|
-
resourceInputs["projectDomainId"] = args
|
|
58
|
-
resourceInputs["projectDomainName"] = args
|
|
59
|
-
resourceInputs["region"] = (
|
|
60
|
-
resourceInputs["swauth"] = pulumi.output((
|
|
61
|
-
resourceInputs["systemScope"] = pulumi.output(args
|
|
62
|
-
resourceInputs["tenantId"] = args
|
|
63
|
-
resourceInputs["tenantName"] = args
|
|
64
|
-
resourceInputs["token"] = args
|
|
65
|
-
resourceInputs["userDomainId"] = args
|
|
66
|
-
resourceInputs["userDomainName"] = args
|
|
67
|
-
resourceInputs["userId"] = args
|
|
68
|
-
resourceInputs["userName"] = args
|
|
36
|
+
resourceInputs["allowReauth"] = pulumi.output((args?.allowReauth) ?? utilities.getEnvBoolean("OS_ALLOW_REAUTH")).apply(JSON.stringify);
|
|
37
|
+
resourceInputs["applicationCredentialId"] = args?.applicationCredentialId;
|
|
38
|
+
resourceInputs["applicationCredentialName"] = args?.applicationCredentialName;
|
|
39
|
+
resourceInputs["applicationCredentialSecret"] = args?.applicationCredentialSecret;
|
|
40
|
+
resourceInputs["authUrl"] = args?.authUrl;
|
|
41
|
+
resourceInputs["cacertFile"] = args?.cacertFile;
|
|
42
|
+
resourceInputs["cert"] = args?.cert;
|
|
43
|
+
resourceInputs["cloud"] = (args?.cloud) ?? utilities.getEnv("OS_CLOUD");
|
|
44
|
+
resourceInputs["defaultDomain"] = args?.defaultDomain;
|
|
45
|
+
resourceInputs["delayedAuth"] = pulumi.output((args?.delayedAuth) ?? utilities.getEnvBoolean("OS_DELAYED_AUTH")).apply(JSON.stringify);
|
|
46
|
+
resourceInputs["disableNoCacheHeader"] = pulumi.output(args?.disableNoCacheHeader).apply(JSON.stringify);
|
|
47
|
+
resourceInputs["domainId"] = args?.domainId;
|
|
48
|
+
resourceInputs["domainName"] = args?.domainName;
|
|
49
|
+
resourceInputs["enableLogging"] = pulumi.output(args?.enableLogging).apply(JSON.stringify);
|
|
50
|
+
resourceInputs["endpointOverrides"] = pulumi.output(args?.endpointOverrides).apply(JSON.stringify);
|
|
51
|
+
resourceInputs["endpointType"] = (args?.endpointType) ?? utilities.getEnv("OS_ENDPOINT_TYPE");
|
|
52
|
+
resourceInputs["insecure"] = pulumi.output((args?.insecure) ?? utilities.getEnvBoolean("OS_INSECURE")).apply(JSON.stringify);
|
|
53
|
+
resourceInputs["key"] = args?.key;
|
|
54
|
+
resourceInputs["maxRetries"] = pulumi.output(args?.maxRetries).apply(JSON.stringify);
|
|
55
|
+
resourceInputs["password"] = args?.password ? pulumi.secret(args.password) : undefined;
|
|
56
|
+
resourceInputs["projectDomainId"] = args?.projectDomainId;
|
|
57
|
+
resourceInputs["projectDomainName"] = args?.projectDomainName;
|
|
58
|
+
resourceInputs["region"] = (args?.region) ?? utilities.getEnv("OS_REGION_NAME");
|
|
59
|
+
resourceInputs["swauth"] = pulumi.output((args?.swauth) ?? utilities.getEnvBoolean("OS_SWAUTH")).apply(JSON.stringify);
|
|
60
|
+
resourceInputs["systemScope"] = pulumi.output(args?.systemScope).apply(JSON.stringify);
|
|
61
|
+
resourceInputs["tenantId"] = args?.tenantId;
|
|
62
|
+
resourceInputs["tenantName"] = args?.tenantName;
|
|
63
|
+
resourceInputs["token"] = args?.token;
|
|
64
|
+
resourceInputs["userDomainId"] = args?.userDomainId;
|
|
65
|
+
resourceInputs["userDomainName"] = args?.userDomainName;
|
|
66
|
+
resourceInputs["userId"] = args?.userId;
|
|
67
|
+
resourceInputs["userName"] = args?.userName;
|
|
69
68
|
}
|
|
70
69
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
71
70
|
const secretOpts = { additionalSecretOutputs: ["password"] };
|
package/provider.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"provider.js","sourceRoot":"","sources":["../provider.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;GAKG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,gBAAgB;IAIjD;;;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,mBAAmB,GAAG,QAAQ,CAAC,YAAY,CAAC;IAC/E,CAAC;
|
|
1
|
+
{"version":3,"file":"provider.js","sourceRoot":"","sources":["../provider.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;GAKG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,gBAAgB;IAIjD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SA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AAC;IAED;;OAEG;IACH,eAAe;QACX,OAAO,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,4CAA4C,EAAE;YACrE,UAAU,EAAE,IAAI;SACnB,EAAE,IAAI,CAAC,CAAC;IACb,CAAC;;AApKL,4BAqKC;AApKG,gBAAgB;AACO,qBAAY,GAAG,WAAW,CAAC"}
|
|
@@ -57,7 +57,7 @@ class SecurityService extends pulumi.CustomResource {
|
|
|
57
57
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
58
58
|
*/
|
|
59
59
|
static get(name, id, state, opts) {
|
|
60
|
-
return new SecurityService(name, state,
|
|
60
|
+
return new SecurityService(name, state, { ...opts, id: id });
|
|
61
61
|
}
|
|
62
62
|
/**
|
|
63
63
|
* Returns true if the given object is an instance of SecurityService. This is designed to work even
|
|
@@ -74,33 +74,33 @@ class SecurityService extends pulumi.CustomResource {
|
|
|
74
74
|
opts = opts || {};
|
|
75
75
|
if (opts.id) {
|
|
76
76
|
const state = argsOrState;
|
|
77
|
-
resourceInputs["description"] = state
|
|
78
|
-
resourceInputs["dnsIp"] = state
|
|
79
|
-
resourceInputs["domain"] = state
|
|
80
|
-
resourceInputs["name"] = state
|
|
81
|
-
resourceInputs["ou"] = state
|
|
82
|
-
resourceInputs["password"] = state
|
|
83
|
-
resourceInputs["projectId"] = state
|
|
84
|
-
resourceInputs["region"] = state
|
|
85
|
-
resourceInputs["server"] = state
|
|
86
|
-
resourceInputs["type"] = state
|
|
87
|
-
resourceInputs["user"] = state
|
|
77
|
+
resourceInputs["description"] = state?.description;
|
|
78
|
+
resourceInputs["dnsIp"] = state?.dnsIp;
|
|
79
|
+
resourceInputs["domain"] = state?.domain;
|
|
80
|
+
resourceInputs["name"] = state?.name;
|
|
81
|
+
resourceInputs["ou"] = state?.ou;
|
|
82
|
+
resourceInputs["password"] = state?.password;
|
|
83
|
+
resourceInputs["projectId"] = state?.projectId;
|
|
84
|
+
resourceInputs["region"] = state?.region;
|
|
85
|
+
resourceInputs["server"] = state?.server;
|
|
86
|
+
resourceInputs["type"] = state?.type;
|
|
87
|
+
resourceInputs["user"] = state?.user;
|
|
88
88
|
}
|
|
89
89
|
else {
|
|
90
90
|
const args = argsOrState;
|
|
91
|
-
if (
|
|
91
|
+
if (args?.type === undefined && !opts.urn) {
|
|
92
92
|
throw new Error("Missing required property 'type'");
|
|
93
93
|
}
|
|
94
|
-
resourceInputs["description"] = args
|
|
95
|
-
resourceInputs["dnsIp"] = args
|
|
96
|
-
resourceInputs["domain"] = args
|
|
97
|
-
resourceInputs["name"] = args
|
|
98
|
-
resourceInputs["ou"] = args
|
|
99
|
-
resourceInputs["password"] =
|
|
100
|
-
resourceInputs["region"] = args
|
|
101
|
-
resourceInputs["server"] = args
|
|
102
|
-
resourceInputs["type"] = args
|
|
103
|
-
resourceInputs["user"] = args
|
|
94
|
+
resourceInputs["description"] = args?.description;
|
|
95
|
+
resourceInputs["dnsIp"] = args?.dnsIp;
|
|
96
|
+
resourceInputs["domain"] = args?.domain;
|
|
97
|
+
resourceInputs["name"] = args?.name;
|
|
98
|
+
resourceInputs["ou"] = args?.ou;
|
|
99
|
+
resourceInputs["password"] = args?.password ? pulumi.secret(args.password) : undefined;
|
|
100
|
+
resourceInputs["region"] = args?.region;
|
|
101
|
+
resourceInputs["server"] = args?.server;
|
|
102
|
+
resourceInputs["type"] = args?.type;
|
|
103
|
+
resourceInputs["user"] = args?.user;
|
|
104
104
|
resourceInputs["projectId"] = undefined /*out*/;
|
|
105
105
|
}
|
|
106
106
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"securityService.js","sourceRoot":"","sources":["../../sharedfilesystem/securityService.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCG;AACH,MAAa,eAAgB,SAAQ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,EAAE,MAAM,CAAC;YACxC,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACnD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,UAAU,CAAC,EAAE,CAAC;QAC7D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,eAAe,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACpE,CAAC;;AA/HL,0CAgIC;AAlHG,gBAAgB;AACO,4BAAY,GAAG,4DAA4D,CAAC"}
|
|
@@ -58,7 +58,7 @@ class Share extends pulumi.CustomResource {
|
|
|
58
58
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
59
59
|
*/
|
|
60
60
|
static get(name, id, state, opts) {
|
|
61
|
-
return new Share(name, state,
|
|
61
|
+
return new Share(name, state, { ...opts, id: id });
|
|
62
62
|
}
|
|
63
63
|
/**
|
|
64
64
|
* Returns true if the given object is an instance of Share. This is designed to work even
|
|
@@ -75,44 +75,44 @@ class Share extends pulumi.CustomResource {
|
|
|
75
75
|
opts = opts || {};
|
|
76
76
|
if (opts.id) {
|
|
77
77
|
const state = argsOrState;
|
|
78
|
-
resourceInputs["allMetadata"] = state
|
|
79
|
-
resourceInputs["availabilityZone"] = state
|
|
80
|
-
resourceInputs["description"] = state
|
|
81
|
-
resourceInputs["exportLocations"] = state
|
|
82
|
-
resourceInputs["hasReplicas"] = state
|
|
83
|
-
resourceInputs["host"] = state
|
|
84
|
-
resourceInputs["isPublic"] = state
|
|
85
|
-
resourceInputs["metadata"] = state
|
|
86
|
-
resourceInputs["name"] = state
|
|
87
|
-
resourceInputs["projectId"] = state
|
|
88
|
-
resourceInputs["region"] = state
|
|
89
|
-
resourceInputs["replicationType"] = state
|
|
90
|
-
resourceInputs["shareNetworkId"] = state
|
|
91
|
-
resourceInputs["shareProto"] = state
|
|
92
|
-
resourceInputs["shareServerId"] = state
|
|
93
|
-
resourceInputs["shareType"] = state
|
|
94
|
-
resourceInputs["size"] = state
|
|
95
|
-
resourceInputs["snapshotId"] = state
|
|
78
|
+
resourceInputs["allMetadata"] = state?.allMetadata;
|
|
79
|
+
resourceInputs["availabilityZone"] = state?.availabilityZone;
|
|
80
|
+
resourceInputs["description"] = state?.description;
|
|
81
|
+
resourceInputs["exportLocations"] = state?.exportLocations;
|
|
82
|
+
resourceInputs["hasReplicas"] = state?.hasReplicas;
|
|
83
|
+
resourceInputs["host"] = state?.host;
|
|
84
|
+
resourceInputs["isPublic"] = state?.isPublic;
|
|
85
|
+
resourceInputs["metadata"] = state?.metadata;
|
|
86
|
+
resourceInputs["name"] = state?.name;
|
|
87
|
+
resourceInputs["projectId"] = state?.projectId;
|
|
88
|
+
resourceInputs["region"] = state?.region;
|
|
89
|
+
resourceInputs["replicationType"] = state?.replicationType;
|
|
90
|
+
resourceInputs["shareNetworkId"] = state?.shareNetworkId;
|
|
91
|
+
resourceInputs["shareProto"] = state?.shareProto;
|
|
92
|
+
resourceInputs["shareServerId"] = state?.shareServerId;
|
|
93
|
+
resourceInputs["shareType"] = state?.shareType;
|
|
94
|
+
resourceInputs["size"] = state?.size;
|
|
95
|
+
resourceInputs["snapshotId"] = state?.snapshotId;
|
|
96
96
|
}
|
|
97
97
|
else {
|
|
98
98
|
const args = argsOrState;
|
|
99
|
-
if (
|
|
99
|
+
if (args?.shareProto === undefined && !opts.urn) {
|
|
100
100
|
throw new Error("Missing required property 'shareProto'");
|
|
101
101
|
}
|
|
102
|
-
if (
|
|
102
|
+
if (args?.size === undefined && !opts.urn) {
|
|
103
103
|
throw new Error("Missing required property 'size'");
|
|
104
104
|
}
|
|
105
|
-
resourceInputs["availabilityZone"] = args
|
|
106
|
-
resourceInputs["description"] = args
|
|
107
|
-
resourceInputs["isPublic"] = args
|
|
108
|
-
resourceInputs["metadata"] = args
|
|
109
|
-
resourceInputs["name"] = args
|
|
110
|
-
resourceInputs["region"] = args
|
|
111
|
-
resourceInputs["shareNetworkId"] = args
|
|
112
|
-
resourceInputs["shareProto"] = args
|
|
113
|
-
resourceInputs["shareType"] = args
|
|
114
|
-
resourceInputs["size"] = args
|
|
115
|
-
resourceInputs["snapshotId"] = args
|
|
105
|
+
resourceInputs["availabilityZone"] = args?.availabilityZone;
|
|
106
|
+
resourceInputs["description"] = args?.description;
|
|
107
|
+
resourceInputs["isPublic"] = args?.isPublic;
|
|
108
|
+
resourceInputs["metadata"] = args?.metadata;
|
|
109
|
+
resourceInputs["name"] = args?.name;
|
|
110
|
+
resourceInputs["region"] = args?.region;
|
|
111
|
+
resourceInputs["shareNetworkId"] = args?.shareNetworkId;
|
|
112
|
+
resourceInputs["shareProto"] = args?.shareProto;
|
|
113
|
+
resourceInputs["shareType"] = args?.shareType;
|
|
114
|
+
resourceInputs["size"] = args?.size;
|
|
115
|
+
resourceInputs["snapshotId"] = args?.snapshotId;
|
|
116
116
|
resourceInputs["allMetadata"] = undefined /*out*/;
|
|
117
117
|
resourceInputs["exportLocations"] = undefined /*out*/;
|
|
118
118
|
resourceInputs["hasReplicas"] = undefined /*out*/;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"share.js","sourceRoot":"","sources":["../../sharedfilesystem/share.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyCG;AACH,MAAa,KAAM,SAAQ,MAAM,CAAC,cAAc;IAC5C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,C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AC;IAC1D,CAAC;;AAjLL,sBAkLC;AApKG,gBAAgB;AACO,kBAAY,GAAG,wCAAwC,CAAC"}
|
|
@@ -120,7 +120,7 @@ class ShareAccess extends pulumi.CustomResource {
|
|
|
120
120
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
121
121
|
*/
|
|
122
122
|
static get(name, id, state, opts) {
|
|
123
|
-
return new ShareAccess(name, state,
|
|
123
|
+
return new ShareAccess(name, state, { ...opts, id: id });
|
|
124
124
|
}
|
|
125
125
|
/**
|
|
126
126
|
* Returns true if the given object is an instance of ShareAccess. This is designed to work even
|
|
@@ -137,33 +137,33 @@ class ShareAccess extends pulumi.CustomResource {
|
|
|
137
137
|
opts = opts || {};
|
|
138
138
|
if (opts.id) {
|
|
139
139
|
const state = argsOrState;
|
|
140
|
-
resourceInputs["accessKey"] = state
|
|
141
|
-
resourceInputs["accessLevel"] = state
|
|
142
|
-
resourceInputs["accessTo"] = state
|
|
143
|
-
resourceInputs["accessType"] = state
|
|
144
|
-
resourceInputs["region"] = state
|
|
145
|
-
resourceInputs["shareId"] = state
|
|
146
|
-
resourceInputs["state"] = state
|
|
140
|
+
resourceInputs["accessKey"] = state?.accessKey;
|
|
141
|
+
resourceInputs["accessLevel"] = state?.accessLevel;
|
|
142
|
+
resourceInputs["accessTo"] = state?.accessTo;
|
|
143
|
+
resourceInputs["accessType"] = state?.accessType;
|
|
144
|
+
resourceInputs["region"] = state?.region;
|
|
145
|
+
resourceInputs["shareId"] = state?.shareId;
|
|
146
|
+
resourceInputs["state"] = state?.state;
|
|
147
147
|
}
|
|
148
148
|
else {
|
|
149
149
|
const args = argsOrState;
|
|
150
|
-
if (
|
|
150
|
+
if (args?.accessLevel === undefined && !opts.urn) {
|
|
151
151
|
throw new Error("Missing required property 'accessLevel'");
|
|
152
152
|
}
|
|
153
|
-
if (
|
|
153
|
+
if (args?.accessTo === undefined && !opts.urn) {
|
|
154
154
|
throw new Error("Missing required property 'accessTo'");
|
|
155
155
|
}
|
|
156
|
-
if (
|
|
156
|
+
if (args?.accessType === undefined && !opts.urn) {
|
|
157
157
|
throw new Error("Missing required property 'accessType'");
|
|
158
158
|
}
|
|
159
|
-
if (
|
|
159
|
+
if (args?.shareId === undefined && !opts.urn) {
|
|
160
160
|
throw new Error("Missing required property 'shareId'");
|
|
161
161
|
}
|
|
162
|
-
resourceInputs["accessLevel"] = args
|
|
163
|
-
resourceInputs["accessTo"] = args
|
|
164
|
-
resourceInputs["accessType"] = args
|
|
165
|
-
resourceInputs["region"] = args
|
|
166
|
-
resourceInputs["shareId"] = args
|
|
162
|
+
resourceInputs["accessLevel"] = args?.accessLevel;
|
|
163
|
+
resourceInputs["accessTo"] = args?.accessTo;
|
|
164
|
+
resourceInputs["accessType"] = args?.accessType;
|
|
165
|
+
resourceInputs["region"] = args?.region;
|
|
166
|
+
resourceInputs["shareId"] = args?.shareId;
|
|
167
167
|
resourceInputs["accessKey"] = undefined /*out*/;
|
|
168
168
|
resourceInputs["state"] = undefined /*out*/;
|
|
169
169
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shareAccess.js","sourceRoot":"","sources":["../../sharedfilesystem/shareAccess.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuGG;AACH,MAAa,WAAY,SAAQ,MAAM,CAAC,cAAc;IAClD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAwB,EAAE,IAAmC;QACtH,OAAO,IAAI,WAAW,CAAC,IAAI,EAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"shareAccess.js","sourceRoot":"","sources":["../../sharedfilesystem/shareAccess.ts"],"names":[],"mappings":";AAAA,sEAAs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,CAAC,WAAW,CAAC,EAAE,CAAC;QAC9D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,WAAW,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAChE,CAAC;;AA5GL,kCA6GC;AA/FG,gBAAgB;AACO,wBAAY,GAAG,oDAAoD,CAAC"}
|
|
@@ -92,7 +92,7 @@ class ShareNetwork extends pulumi.CustomResource {
|
|
|
92
92
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
93
93
|
*/
|
|
94
94
|
static get(name, id, state, opts) {
|
|
95
|
-
return new ShareNetwork(name, state,
|
|
95
|
+
return new ShareNetwork(name, state, { ...opts, id: id });
|
|
96
96
|
}
|
|
97
97
|
/**
|
|
98
98
|
* Returns true if the given object is an instance of ShareNetwork. This is designed to work even
|
|
@@ -109,32 +109,32 @@ class ShareNetwork extends pulumi.CustomResource {
|
|
|
109
109
|
opts = opts || {};
|
|
110
110
|
if (opts.id) {
|
|
111
111
|
const state = argsOrState;
|
|
112
|
-
resourceInputs["cidr"] = state
|
|
113
|
-
resourceInputs["description"] = state
|
|
114
|
-
resourceInputs["ipVersion"] = state
|
|
115
|
-
resourceInputs["name"] = state
|
|
116
|
-
resourceInputs["networkType"] = state
|
|
117
|
-
resourceInputs["neutronNetId"] = state
|
|
118
|
-
resourceInputs["neutronSubnetId"] = state
|
|
119
|
-
resourceInputs["projectId"] = state
|
|
120
|
-
resourceInputs["region"] = state
|
|
121
|
-
resourceInputs["securityServiceIds"] = state
|
|
122
|
-
resourceInputs["segmentationId"] = state
|
|
112
|
+
resourceInputs["cidr"] = state?.cidr;
|
|
113
|
+
resourceInputs["description"] = state?.description;
|
|
114
|
+
resourceInputs["ipVersion"] = state?.ipVersion;
|
|
115
|
+
resourceInputs["name"] = state?.name;
|
|
116
|
+
resourceInputs["networkType"] = state?.networkType;
|
|
117
|
+
resourceInputs["neutronNetId"] = state?.neutronNetId;
|
|
118
|
+
resourceInputs["neutronSubnetId"] = state?.neutronSubnetId;
|
|
119
|
+
resourceInputs["projectId"] = state?.projectId;
|
|
120
|
+
resourceInputs["region"] = state?.region;
|
|
121
|
+
resourceInputs["securityServiceIds"] = state?.securityServiceIds;
|
|
122
|
+
resourceInputs["segmentationId"] = state?.segmentationId;
|
|
123
123
|
}
|
|
124
124
|
else {
|
|
125
125
|
const args = argsOrState;
|
|
126
|
-
if (
|
|
126
|
+
if (args?.neutronNetId === undefined && !opts.urn) {
|
|
127
127
|
throw new Error("Missing required property 'neutronNetId'");
|
|
128
128
|
}
|
|
129
|
-
if (
|
|
129
|
+
if (args?.neutronSubnetId === undefined && !opts.urn) {
|
|
130
130
|
throw new Error("Missing required property 'neutronSubnetId'");
|
|
131
131
|
}
|
|
132
|
-
resourceInputs["description"] = args
|
|
133
|
-
resourceInputs["name"] = args
|
|
134
|
-
resourceInputs["neutronNetId"] = args
|
|
135
|
-
resourceInputs["neutronSubnetId"] = args
|
|
136
|
-
resourceInputs["region"] = args
|
|
137
|
-
resourceInputs["securityServiceIds"] = args
|
|
132
|
+
resourceInputs["description"] = args?.description;
|
|
133
|
+
resourceInputs["name"] = args?.name;
|
|
134
|
+
resourceInputs["neutronNetId"] = args?.neutronNetId;
|
|
135
|
+
resourceInputs["neutronSubnetId"] = args?.neutronSubnetId;
|
|
136
|
+
resourceInputs["region"] = args?.region;
|
|
137
|
+
resourceInputs["securityServiceIds"] = args?.securityServiceIds;
|
|
138
138
|
resourceInputs["cidr"] = undefined /*out*/;
|
|
139
139
|
resourceInputs["ipVersion"] = undefined /*out*/;
|
|
140
140
|
resourceInputs["networkType"] = undefined /*out*/;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shareNetwork.js","sourceRoot":"","sources":["../../sharedfilesystem/shareNetwork.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE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YAC1D,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC;YACxC,cAAc,CAAC,oBAAoB,CAAC,GAAG,IAAI,EAAE,kBAAkB,CAAC;YAChE,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAClD,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,gBAAgB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACxD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,YAAY,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACjE,CAAC;;AAjIL,oCAkIC;AApHG,gBAAgB;AACO,yBAAY,GAAG,sDAAsD,CAAC"}
|
package/utilities.js
CHANGED
|
@@ -1,15 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
5
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
6
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
7
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
8
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
9
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
10
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
11
|
-
});
|
|
12
|
-
};
|
|
13
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
5
|
exports.callAsync = exports.lazyLoad = exports.resourceOptsDefaults = exports.getVersion = exports.getEnvNumber = exports.getEnvBoolean = exports.getEnv = void 0;
|
|
15
6
|
const runtime = require("@pulumi/pulumi/runtime");
|
|
@@ -77,26 +68,24 @@ function lazyLoad(exports, props, loadModule) {
|
|
|
77
68
|
}
|
|
78
69
|
exports.lazyLoad = lazyLoad;
|
|
79
70
|
/** @internal */
|
|
80
|
-
function callAsync(tok, props, res, opts) {
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
:
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
return value;
|
|
99
|
-
});
|
|
71
|
+
async function callAsync(tok, props, res, opts) {
|
|
72
|
+
const o = runtime.call(tok, props, res);
|
|
73
|
+
const value = await o.promise(true /*withUnknowns*/);
|
|
74
|
+
const isKnown = await o.isKnown;
|
|
75
|
+
const isSecret = await o.isSecret;
|
|
76
|
+
const problem = !isKnown ? "an unknown value"
|
|
77
|
+
: isSecret ? "a secret value"
|
|
78
|
+
: undefined;
|
|
79
|
+
// Ingoring o.resources silently. They are typically non-empty, r.f() calls include r as a dependency.
|
|
80
|
+
if (problem) {
|
|
81
|
+
throw new Error(`Plain resource method "${tok}" incorrectly returned ${problem}. ` +
|
|
82
|
+
"This is an error in the provider, please report this to the provider developer.");
|
|
83
|
+
}
|
|
84
|
+
// Extract a single property if requested.
|
|
85
|
+
if (opts && opts.property) {
|
|
86
|
+
return value[opts.property];
|
|
87
|
+
}
|
|
88
|
+
return value;
|
|
100
89
|
}
|
|
101
90
|
exports.callAsync = callAsync;
|
|
102
91
|
//# sourceMappingURL=utilities.js.map
|