@pulumiverse/scaleway 0.4.0 → 1.11.1
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/accountProject.d.ts +108 -0
- package/accountProject.js +77 -0
- package/accountProject.js.map +1 -0
- package/accountSshKey.d.ts +40 -4
- package/accountSshKey.js +34 -26
- package/accountSshKey.js.map +1 -1
- package/appleSliconValleyServer.d.ts +2 -4
- package/appleSliconValleyServer.js +24 -26
- package/appleSliconValleyServer.js.map +1 -1
- package/baremetalServer.d.ts +161 -13
- package/baremetalServer.js +66 -30
- package/baremetalServer.js.map +1 -1
- package/cockpit.d.ts +87 -0
- package/cockpit.js +64 -0
- package/cockpit.js.map +1 -0
- package/cockpitGrafanaUser.d.ts +109 -0
- package/cockpitGrafanaUser.js +92 -0
- package/cockpitGrafanaUser.js.map +1 -0
- package/cockpitToken.d.ts +125 -0
- package/cockpitToken.js +100 -0
- package/cockpitToken.js.map +1 -0
- package/container.d.ts +65 -10
- package/container.js +33 -24
- package/container.js.map +1 -1
- package/containerCron.d.ts +6 -1
- package/containerCron.js +24 -24
- package/containerCron.js.map +1 -1
- package/containerDomain.d.ts +138 -0
- package/containerDomain.js +119 -0
- package/containerDomain.js.map +1 -0
- package/containerNamespace.d.ts +36 -8
- package/containerNamespace.js +29 -27
- package/containerNamespace.js.map +1 -1
- package/containerToken.d.ts +147 -0
- package/containerToken.js +92 -0
- package/containerToken.js.map +1 -0
- package/containerTrigger.d.ts +156 -0
- package/containerTrigger.js +108 -0
- package/containerTrigger.js.map +1 -0
- package/database.d.ts +23 -5
- package/database.js +24 -22
- package/database.js.map +1 -1
- package/databaseAcl.d.ts +14 -7
- package/databaseAcl.js +22 -22
- package/databaseAcl.js.map +1 -1
- package/databaseBackup.d.ts +18 -6
- package/databaseBackup.js +22 -22
- package/databaseBackup.js.map +1 -1
- package/databaseInstance.d.ts +71 -111
- package/databaseInstance.js +27 -121
- package/databaseInstance.js.map +1 -1
- package/databasePrivilege.d.ts +36 -8
- package/databasePrivilege.js +45 -27
- package/databasePrivilege.js.map +1 -1
- package/databaseReadReplica.d.ts +30 -8
- package/databaseReadReplica.js +25 -23
- package/databaseReadReplica.js.map +1 -1
- package/databaseUser.d.ts +19 -7
- package/databaseUser.js +26 -24
- package/databaseUser.js.map +1 -1
- package/documentdbDatabase.d.ts +137 -0
- package/documentdbDatabase.js +87 -0
- package/documentdbDatabase.js.map +1 -0
- package/documentdbInstance.d.ts +247 -0
- package/documentdbInstance.js +113 -0
- package/documentdbInstance.js.map +1 -0
- package/documentdbPrivateNetworkEndpoint.d.ts +147 -0
- package/documentdbPrivateNetworkEndpoint.js +80 -0
- package/documentdbPrivateNetworkEndpoint.js.map +1 -0
- package/documentdbPrivilege.d.ts +122 -0
- package/documentdbPrivilege.js +95 -0
- package/documentdbPrivilege.js.map +1 -0
- package/documentdbReadReplica.d.ts +137 -0
- package/documentdbReadReplica.js +100 -0
- package/documentdbReadReplica.js.map +1 -0
- package/documentdbUser.d.ts +140 -0
- package/documentdbUser.js +97 -0
- package/documentdbUser.js.map +1 -0
- package/domainRecord.d.ts +23 -22
- package/domainRecord.js +28 -28
- package/domainRecord.js.map +1 -1
- package/domainZone.d.ts +2 -2
- package/domainZone.js +24 -24
- package/domainZone.js.map +1 -1
- package/flexibleIp.d.ts +53 -36
- package/flexibleIp.js +39 -32
- package/flexibleIp.js.map +1 -1
- package/flexibleIpMacAddress.d.ts +173 -0
- package/flexibleIpMacAddress.js +123 -0
- package/flexibleIpMacAddress.js.map +1 -0
- package/function.d.ts +39 -3
- package/function.js +28 -22
- package/function.js.map +1 -1
- package/functionCron.d.ts +0 -6
- package/functionCron.js +22 -28
- package/functionCron.js.map +1 -1
- package/functionDomain.d.ts +126 -0
- package/functionDomain.js +98 -0
- package/functionDomain.js.map +1 -0
- package/functionNamespace.d.ts +26 -4
- package/functionNamespace.js +28 -26
- package/functionNamespace.js.map +1 -1
- package/functionToken.d.ts +152 -0
- package/functionToken.js +97 -0
- package/functionToken.js.map +1 -0
- package/functionTrigger.d.ts +140 -0
- package/functionTrigger.js +92 -0
- package/functionTrigger.js.map +1 -0
- package/getAccountProject.d.ts +92 -0
- package/getAccountProject.js +56 -0
- package/getAccountProject.js.map +1 -0
- package/getAccountSshKey.d.ts +20 -3
- package/getAccountSshKey.js +18 -8
- package/getAccountSshKey.js.map +1 -1
- package/getAvailabilityZones.d.ts +69 -0
- package/getAvailabilityZones.js +54 -0
- package/getAvailabilityZones.js.map +1 -0
- package/getBaremetalOffer.d.ts +27 -4
- package/getBaremetalOffer.js +20 -8
- package/getBaremetalOffer.js.map +1 -1
- package/getBaremetalOption.d.ts +92 -0
- package/getBaremetalOption.js +58 -0
- package/getBaremetalOption.js.map +1 -0
- package/getBaremetalOs.d.ts +25 -6
- package/getBaremetalOs.js +27 -11
- package/getBaremetalOs.js.map +1 -1
- package/getBaremetalServer.d.ts +36 -8
- package/getBaremetalServer.js +25 -11
- package/getBaremetalServer.js.map +1 -1
- package/getBillingConsumptions.d.ts +16 -0
- package/getBillingConsumptions.js +17 -0
- package/getBillingConsumptions.js.map +1 -0
- package/getBillingInvoices.d.ts +86 -0
- package/getBillingInvoices.js +50 -0
- package/getBillingInvoices.js.map +1 -0
- package/getCockpit.d.ts +86 -0
- package/getCockpit.js +66 -0
- package/getCockpit.js.map +1 -0
- package/getCockpitPlan.d.ts +63 -0
- package/getCockpitPlan.js +51 -0
- package/getCockpitPlan.js.map +1 -0
- package/getContainer.d.ts +39 -0
- package/getContainer.js +30 -5
- package/getContainer.js.map +1 -1
- package/getContainerNamespace.d.ts +24 -6
- package/getContainerNamespace.js +23 -11
- package/getContainerNamespace.js.map +1 -1
- package/getDatabase.d.ts +21 -4
- package/getDatabase.js +20 -8
- package/getDatabase.js.map +1 -1
- package/getDatabaseAcl.d.ts +28 -7
- package/getDatabaseAcl.js +20 -9
- package/getDatabaseAcl.js.map +1 -1
- package/getDatabaseBackup.d.ts +33 -6
- package/getDatabaseBackup.js +29 -11
- package/getDatabaseBackup.js.map +1 -1
- package/getDatabaseInstance.d.ts +17 -15
- package/getDatabaseInstance.js +7 -18
- package/getDatabaseInstance.js.map +1 -1
- package/getDatabasePrivilege.d.ts +31 -6
- package/getDatabasePrivilege.js +23 -10
- package/getDatabasePrivilege.js.map +1 -1
- package/getDocumentdbDatabase.d.ts +86 -0
- package/getDocumentdbDatabase.js +51 -0
- package/getDocumentdbDatabase.js.map +1 -0
- package/getDocumentdbInstance.d.ts +91 -0
- package/getDocumentdbInstance.js +50 -0
- package/getDocumentdbInstance.js.map +1 -0
- package/getDocumentdbLoadBalancerEndpoint.d.ts +38 -0
- package/getDocumentdbLoadBalancerEndpoint.js +23 -0
- package/getDocumentdbLoadBalancerEndpoint.js.map +1 -0
- package/getDomainRecord.d.ts +26 -7
- package/getDomainRecord.js +27 -11
- package/getDomainRecord.js.map +1 -1
- package/getDomainZone.d.ts +17 -3
- package/getDomainZone.js +19 -8
- package/getDomainZone.js.map +1 -1
- package/getFlexibleIp.d.ts +5 -13
- package/getFlexibleIp.js +5 -17
- package/getFlexibleIp.js.map +1 -1
- package/getFlexibleIps.d.ts +154 -0
- package/getFlexibleIps.js +101 -0
- package/getFlexibleIps.js.map +1 -0
- package/getFunction.d.ts +5 -1
- package/getFunction.js +2 -5
- package/getFunction.js.map +1 -1
- package/getFunctionNamespace.d.ts +19 -3
- package/getFunctionNamespace.js +18 -8
- package/getFunctionNamespace.js.map +1 -1
- package/getIamApplication.d.ts +93 -0
- package/getIamApplication.js +56 -0
- package/getIamApplication.js.map +1 -0
- package/getIamGroup.d.ts +97 -0
- package/getIamGroup.js +58 -0
- package/getIamGroup.js.map +1 -0
- package/getIamSshKey.d.ts +90 -0
- package/getIamSshKey.js +49 -0
- package/getIamSshKey.js.map +1 -0
- package/getIamUser.d.ts +89 -0
- package/getIamUser.js +60 -0
- package/getIamUser.js.map +1 -0
- package/getInstanceImage.d.ts +16 -3
- package/getInstanceImage.js +18 -8
- package/getInstanceImage.js.map +1 -1
- package/getInstanceIp.d.ts +24 -3
- package/getInstanceIp.js +18 -8
- package/getInstanceIp.js.map +1 -1
- package/getInstancePrivateNic.d.ts +121 -0
- package/getInstancePrivateNic.js +69 -0
- package/getInstancePrivateNic.js.map +1 -0
- package/getInstanceSecurityGroup.d.ts +17 -4
- package/getInstanceSecurityGroup.js +18 -8
- package/getInstanceSecurityGroup.js.map +1 -1
- package/getInstanceServer.d.ts +27 -7
- package/getInstanceServer.js +18 -8
- package/getInstanceServer.js.map +1 -1
- package/getInstanceServers.d.ts +20 -4
- package/getInstanceServers.js +21 -8
- package/getInstanceServers.js.map +1 -1
- package/getInstanceSnapshot.d.ts +96 -0
- package/getInstanceSnapshot.js +56 -0
- package/getInstanceSnapshot.js.map +1 -0
- package/getInstanceVolume.d.ts +16 -3
- package/getInstanceVolume.js +18 -8
- package/getInstanceVolume.js.map +1 -1
- package/getIotDevice.d.ts +17 -4
- package/getIotDevice.js +18 -8
- package/getIotDevice.js.map +1 -1
- package/getIotHub.d.ts +16 -3
- package/getIotHub.js +18 -8
- package/getIotHub.js.map +1 -1
- package/getIpamIp.d.ts +133 -0
- package/getIpamIp.js +83 -0
- package/getIpamIp.js.map +1 -0
- package/getK8sVersion.d.ts +108 -0
- package/getK8sVersion.js +76 -0
- package/getK8sVersion.js.map +1 -0
- package/getKubernetesCluster.d.ts +21 -4
- package/getKubernetesCluster.js +18 -8
- package/getKubernetesCluster.js.map +1 -1
- package/getKubernetesNodePool.d.ts +18 -4
- package/getKubernetesNodePool.js +18 -8
- package/getKubernetesNodePool.js.map +1 -1
- package/getLbAcls.d.ts +96 -0
- package/getLbAcls.js +58 -0
- package/getLbAcls.js.map +1 -0
- package/getLbBackend.d.ts +142 -0
- package/getLbBackend.js +82 -0
- package/getLbBackend.js.map +1 -0
- package/getLbBackends.d.ts +94 -0
- package/getLbBackends.js +58 -0
- package/getLbBackends.js.map +1 -0
- package/getLbFrontend.d.ts +134 -0
- package/getLbFrontend.js +94 -0
- package/getLbFrontend.js.map +1 -0
- package/getLbFrontends.d.ts +94 -0
- package/getLbFrontends.js +58 -0
- package/getLbFrontends.js.map +1 -0
- package/getLbIps.d.ts +94 -0
- package/getLbIps.js +52 -0
- package/getLbIps.js.map +1 -0
- package/getLbRoute.d.ts +111 -0
- package/getLbRoute.js +93 -0
- package/getLbRoute.js.map +1 -0
- package/getLbRoutes.d.ts +85 -0
- package/getLbRoutes.js +58 -0
- package/getLbRoutes.js.map +1 -0
- package/getLbs.d.ts +97 -0
- package/getLbs.js +52 -0
- package/getLbs.js.map +1 -0
- package/getLoadbalancer.d.ts +31 -13
- package/getLoadbalancer.js +23 -11
- package/getLoadbalancer.js.map +1 -1
- package/getLoadbalancerCertificate.d.ts +11 -2
- package/getLoadbalancerCertificate.js +12 -6
- package/getLoadbalancerCertificate.js.map +1 -1
- package/getLoadbalancerIp.d.ts +16 -3
- package/getLoadbalancerIp.js +18 -8
- package/getLoadbalancerIp.js.map +1 -1
- package/getMarketplaceImage.d.ts +17 -3
- package/getMarketplaceImage.js +19 -8
- package/getMarketplaceImage.js.map +1 -1
- package/getMnqSqs.d.ts +78 -0
- package/getMnqSqs.js +55 -0
- package/getMnqSqs.js.map +1 -0
- package/getObjectBucket.d.ts +57 -7
- package/getObjectBucket.js +49 -11
- package/getObjectBucket.js.map +1 -1
- package/getObjectBucketPolicy.d.ts +83 -0
- package/getObjectBucketPolicy.js +51 -0
- package/getObjectBucketPolicy.js.map +1 -0
- package/getRedisCluster.d.ts +18 -5
- package/getRedisCluster.js +19 -9
- package/getRedisCluster.js.map +1 -1
- package/getRegistryImage.d.ts +18 -4
- package/getRegistryImage.js +20 -9
- package/getRegistryImage.js.map +1 -1
- package/getRegistryNamespace.d.ts +16 -3
- package/getRegistryNamespace.js +18 -8
- package/getRegistryNamespace.js.map +1 -1
- package/getSecret.d.ts +125 -0
- package/getSecret.js +68 -0
- package/getSecret.js.map +1 -0
- package/getSecretVersion.d.ts +84 -0
- package/getSecretVersion.js +23 -0
- package/getSecretVersion.js.map +1 -0
- package/getTemDomain.d.ts +109 -0
- package/getTemDomain.js +28 -0
- package/getTemDomain.js.map +1 -0
- package/getVpc.d.ts +113 -0
- package/getVpc.js +65 -0
- package/getVpc.js.map +1 -0
- package/getVpcGatewayNetwork.d.ts +33 -0
- package/getVpcGatewayNetwork.js +28 -5
- package/getVpcGatewayNetwork.js.map +1 -1
- package/getVpcPrivateNetwork.d.ts +48 -3
- package/getVpcPrivateNetwork.js +30 -6
- package/getVpcPrivateNetwork.js.map +1 -1
- package/getVpcPublicGateway.d.ts +43 -7
- package/getVpcPublicGateway.js +35 -11
- package/getVpcPublicGateway.js.map +1 -1
- package/getVpcPublicGatewayDhcp.d.ts +20 -5
- package/getVpcPublicGatewayDhcp.js +22 -10
- package/getVpcPublicGatewayDhcp.js.map +1 -1
- package/getVpcPublicGatewayDhcpReservation.d.ts +22 -1
- package/getVpcPublicGatewayDhcpReservation.js +8 -5
- package/getVpcPublicGatewayDhcpReservation.js.map +1 -1
- package/getVpcPublicGatewayIp.d.ts +22 -3
- package/getVpcPublicGatewayIp.js +24 -8
- package/getVpcPublicGatewayIp.js.map +1 -1
- package/getVpcPublicPatRule.d.ts +40 -0
- package/getVpcPublicPatRule.js +42 -5
- package/getVpcPublicPatRule.js.map +1 -1
- package/getVpcs.d.ts +100 -0
- package/getVpcs.js +53 -0
- package/getVpcs.js.map +1 -0
- package/getWebHostOffer.d.ts +96 -0
- package/getWebHostOffer.js +56 -0
- package/getWebHostOffer.js.map +1 -0
- package/getWebhosting.d.ts +108 -0
- package/getWebhosting.js +57 -0
- package/getWebhosting.js.map +1 -0
- package/iamApiKey.d.ts +178 -0
- package/iamApiKey.js +96 -0
- package/iamApiKey.js.map +1 -0
- package/iamApplication.d.ts +116 -0
- package/iamApplication.js +79 -0
- package/iamApplication.js.map +1 -0
- package/iamGroup.d.ts +164 -0
- package/iamGroup.js +103 -0
- package/iamGroup.js.map +1 -0
- package/iamGroupMembership.d.ts +106 -0
- package/iamGroupMembership.js +84 -0
- package/iamGroupMembership.js.map +1 -0
- package/iamPolicy.d.ts +197 -0
- package/iamPolicy.js +105 -0
- package/iamPolicy.js.map +1 -0
- package/iamSshKey.d.ts +141 -0
- package/iamSshKey.js +88 -0
- package/iamSshKey.js.map +1 -0
- package/iamUser.d.ts +147 -0
- package/iamUser.js +93 -0
- package/iamUser.js.map +1 -0
- package/index.d.ts +525 -94
- package/index.js +619 -217
- package/index.js.map +1 -1
- package/instanceImage.d.ts +9 -2
- package/instanceImage.js +23 -23
- package/instanceImage.js.map +1 -1
- package/instanceIp.d.ts +28 -2
- package/instanceIp.js +28 -24
- package/instanceIp.js.map +1 -1
- package/instanceIpReverseDns.d.ts +20 -0
- package/instanceIpReverseDns.js +42 -22
- package/instanceIpReverseDns.js.map +1 -1
- package/instancePlacementGroup.d.ts +2 -2
- package/instancePlacementGroup.js +24 -24
- package/instancePlacementGroup.js.map +1 -1
- package/instancePrivateNic.d.ts +26 -2
- package/instancePrivateNic.js +28 -24
- package/instancePrivateNic.js.map +1 -1
- package/instanceSecurityGroup.d.ts +2 -1
- package/instanceSecurityGroup.js +22 -22
- package/instanceSecurityGroup.js.map +1 -1
- package/instanceSecurityGroupRules.d.ts +27 -1
- package/instanceSecurityGroupRules.js +46 -21
- package/instanceSecurityGroupRules.js.map +1 -1
- package/instanceServer.d.ts +171 -21
- package/instanceServer.js +75 -27
- package/instanceServer.js.map +1 -1
- package/instanceSnapshot.d.ts +40 -7
- package/instanceSnapshot.js +47 -29
- package/instanceSnapshot.js.map +1 -1
- package/instanceUserData.d.ts +155 -0
- package/instanceUserData.js +120 -0
- package/instanceUserData.js.map +1 -0
- package/instanceVolume.d.ts +11 -11
- package/instanceVolume.js +24 -24
- package/instanceVolume.js.map +1 -1
- package/iotDevice.d.ts +20 -1
- package/iotDevice.js +22 -22
- package/iotDevice.js.map +1 -1
- package/iotHub.d.ts +12 -0
- package/iotHub.js +22 -22
- package/iotHub.js.map +1 -1
- package/iotNetwork.js +24 -22
- package/iotNetwork.js.map +1 -1
- package/iotRoute.d.ts +130 -0
- package/iotRoute.js +69 -0
- package/iotRoute.js.map +1 -0
- package/kubernetesCluster.d.ts +141 -11
- package/kubernetesCluster.js +109 -22
- package/kubernetesCluster.js.map +1 -1
- package/kubernetesNodePool.d.ts +23 -1
- package/kubernetesNodePool.js +24 -22
- package/kubernetesNodePool.js.map +1 -1
- package/loadbalancer.d.ts +69 -34
- package/loadbalancer.js +45 -50
- package/loadbalancer.js.map +1 -1
- package/loadbalancerAcl.d.ts +162 -0
- package/loadbalancerAcl.js +108 -0
- package/loadbalancerAcl.js.map +1 -0
- package/loadbalancerBackend.d.ts +124 -9
- package/loadbalancerBackend.js +41 -23
- package/loadbalancerBackend.js.map +1 -1
- package/loadbalancerCertificate.d.ts +12 -1
- package/loadbalancerCertificate.js +22 -22
- package/loadbalancerCertificate.js.map +1 -1
- package/loadbalancerFrontend.d.ts +42 -2
- package/loadbalancerFrontend.js +27 -23
- package/loadbalancerFrontend.js.map +1 -1
- package/loadbalancerIp.d.ts +3 -5
- package/loadbalancerIp.js +25 -27
- package/loadbalancerIp.js.map +1 -1
- package/loadbalancerRoute.d.ts +85 -13
- package/loadbalancerRoute.js +61 -26
- package/loadbalancerRoute.js.map +1 -1
- package/mnqCredential.d.ts +118 -0
- package/mnqCredential.js +71 -0
- package/mnqCredential.js.map +1 -0
- package/mnqNamespace.d.ts +146 -0
- package/mnqNamespace.js +93 -0
- package/mnqNamespace.js.map +1 -0
- package/mnqNatsAccount.d.ts +110 -0
- package/mnqNatsAccount.js +79 -0
- package/mnqNatsAccount.js.map +1 -0
- package/mnqNatsCredentials.d.ts +108 -0
- package/mnqNatsCredentials.js +83 -0
- package/mnqNatsCredentials.js.map +1 -0
- package/mnqQueue.d.ts +122 -0
- package/mnqQueue.js +64 -0
- package/mnqQueue.js.map +1 -0
- package/mnqSqs.d.ts +98 -0
- package/mnqSqs.js +80 -0
- package/mnqSqs.js.map +1 -0
- package/mnqSqsCredentials.d.ts +134 -0
- package/mnqSqsCredentials.js +93 -0
- package/mnqSqsCredentials.js.map +1 -0
- package/mnqSqsQueue.d.ts +238 -0
- package/mnqSqsQueue.js +121 -0
- package/mnqSqsQueue.js.map +1 -0
- package/objectBucket.d.ts +63 -72
- package/objectBucket.js +45 -90
- package/objectBucket.js.map +1 -1
- package/objectBucketAcl.d.ts +206 -0
- package/objectBucketAcl.js +158 -0
- package/objectBucketAcl.js.map +1 -0
- package/objectBucketLockConfiguration.d.ts +86 -0
- package/objectBucketLockConfiguration.js +61 -0
- package/objectBucketLockConfiguration.js.map +1 -0
- package/objectBucketPolicy.d.ts +47 -0
- package/objectBucketPolicy.js +53 -22
- package/objectBucketPolicy.js.map +1 -1
- package/objectBucketWebsiteConfiguration.d.ts +39 -14
- package/objectBucketWebsiteConfiguration.js +37 -30
- package/objectBucketWebsiteConfiguration.js.map +1 -1
- package/objectItem.d.ts +204 -0
- package/objectItem.js +89 -0
- package/objectItem.js.map +1 -0
- package/package.json +4 -4
- package/package.json.bak +3 -4
- package/package.json.dev +4 -5
- package/provider.js +10 -10
- package/provider.js.map +1 -1
- package/redisCluster.d.ts +122 -22
- package/redisCluster.js +28 -26
- package/redisCluster.js.map +1 -1
- package/registryNamespace.d.ts +7 -1
- package/registryNamespace.js +23 -23
- package/registryNamespace.js.map +1 -1
- package/secret.d.ts +160 -0
- package/secret.js +94 -0
- package/secret.js.map +1 -0
- package/secretVersion.d.ts +128 -0
- package/secretVersion.js +80 -0
- package/secretVersion.js.map +1 -0
- package/temDomain.d.ts +251 -0
- package/temDomain.js +135 -0
- package/temDomain.js.map +1 -0
- package/types/index.js.map +1 -1
- package/types/input.d.ts +712 -30
- package/types/output.d.ts +1603 -88
- package/utilities.js +13 -1
- package/utilities.js.map +1 -1
- package/vpc.d.ts +140 -0
- package/vpc.js +87 -0
- package/vpc.js.map +1 -0
- package/vpcGatewayNetwork.d.ts +72 -7
- package/vpcGatewayNetwork.js +69 -22
- package/vpcGatewayNetwork.js.map +1 -1
- package/vpcPrivateNetwork.d.ts +110 -11
- package/vpcPrivateNetwork.js +61 -26
- package/vpcPrivateNetwork.js.map +1 -1
- package/vpcPublicGateway.d.ts +1 -1
- package/vpcPublicGateway.js +23 -23
- package/vpcPublicGateway.js.map +1 -1
- package/vpcPublicGatewayDhcp.d.ts +2 -4
- package/vpcPublicGatewayDhcp.js +24 -26
- package/vpcPublicGatewayDhcp.js.map +1 -1
- package/vpcPublicGatewayDhcpReservation.d.ts +2 -2
- package/vpcPublicGatewayDhcpReservation.js +24 -24
- package/vpcPublicGatewayDhcpReservation.js.map +1 -1
- package/vpcPublicGatewayIp.d.ts +3 -5
- package/vpcPublicGatewayIp.js +25 -27
- package/vpcPublicGatewayIp.js.map +1 -1
- package/vpcPublicGatewayIpReverseDns.d.ts +104 -0
- package/vpcPublicGatewayIpReverseDns.js +91 -0
- package/vpcPublicGatewayIpReverseDns.js.map +1 -0
- package/vpcPublicGatewayPatRule.js +22 -22
- package/vpcPublicGatewayPatRule.js.map +1 -1
- package/webhosting.d.ts +244 -0
- package/webhosting.js +126 -0
- package/webhosting.js.map +1 -0
package/function.d.ts
CHANGED
|
@@ -70,6 +70,10 @@ export declare class Function extends pulumi.CustomResource {
|
|
|
70
70
|
* Handler of the function. Depends on the runtime ([function guide](https://developers.scaleway.com/en/products/functions/api/#create-a-function))
|
|
71
71
|
*/
|
|
72
72
|
readonly handler: pulumi.Output<string>;
|
|
73
|
+
/**
|
|
74
|
+
* HTTP traffic configuration
|
|
75
|
+
*/
|
|
76
|
+
readonly httpOption: pulumi.Output<string | undefined>;
|
|
73
77
|
/**
|
|
74
78
|
* Maximum replicas for your function (defaults to 20), our system will scale your functions automatically based on incoming workload, but will never scale the number of replicas above the configured max_scale.
|
|
75
79
|
*/
|
|
@@ -84,6 +88,8 @@ export declare class Function extends pulumi.CustomResource {
|
|
|
84
88
|
readonly minScale: pulumi.Output<number | undefined>;
|
|
85
89
|
/**
|
|
86
90
|
* The unique name of the function.
|
|
91
|
+
*
|
|
92
|
+
* > **Important** Updates to `name` will recreate the function.
|
|
87
93
|
*/
|
|
88
94
|
readonly name: pulumi.Output<string>;
|
|
89
95
|
/**
|
|
@@ -110,10 +116,16 @@ export declare class Function extends pulumi.CustomResource {
|
|
|
110
116
|
* Runtime of the function. Runtimes can be fetched using [specific route](https://developers.scaleway.com/en/products/functions/api/#get-f7de6a)
|
|
111
117
|
*/
|
|
112
118
|
readonly runtime: pulumi.Output<string>;
|
|
119
|
+
/**
|
|
120
|
+
* The [secret environment](https://www.scaleway.com/en/docs/compute/functions/concepts/#secrets) variables of the function.
|
|
121
|
+
*/
|
|
122
|
+
readonly secretEnvironmentVariables: pulumi.Output<{
|
|
123
|
+
[key: string]: string;
|
|
124
|
+
} | undefined>;
|
|
113
125
|
/**
|
|
114
126
|
* Holds the max duration (in seconds) the function is allowed for responding to a request
|
|
115
127
|
*/
|
|
116
|
-
readonly timeout: pulumi.Output<
|
|
128
|
+
readonly timeout: pulumi.Output<number>;
|
|
117
129
|
/**
|
|
118
130
|
* Location of the zip file to upload containing your function sources
|
|
119
131
|
*/
|
|
@@ -161,6 +173,10 @@ export interface FunctionState {
|
|
|
161
173
|
* Handler of the function. Depends on the runtime ([function guide](https://developers.scaleway.com/en/products/functions/api/#create-a-function))
|
|
162
174
|
*/
|
|
163
175
|
handler?: pulumi.Input<string>;
|
|
176
|
+
/**
|
|
177
|
+
* HTTP traffic configuration
|
|
178
|
+
*/
|
|
179
|
+
httpOption?: pulumi.Input<string>;
|
|
164
180
|
/**
|
|
165
181
|
* Maximum replicas for your function (defaults to 20), our system will scale your functions automatically based on incoming workload, but will never scale the number of replicas above the configured max_scale.
|
|
166
182
|
*/
|
|
@@ -175,6 +191,8 @@ export interface FunctionState {
|
|
|
175
191
|
minScale?: pulumi.Input<number>;
|
|
176
192
|
/**
|
|
177
193
|
* The unique name of the function.
|
|
194
|
+
*
|
|
195
|
+
* > **Important** Updates to `name` will recreate the function.
|
|
178
196
|
*/
|
|
179
197
|
name?: pulumi.Input<string>;
|
|
180
198
|
/**
|
|
@@ -201,10 +219,16 @@ export interface FunctionState {
|
|
|
201
219
|
* Runtime of the function. Runtimes can be fetched using [specific route](https://developers.scaleway.com/en/products/functions/api/#get-f7de6a)
|
|
202
220
|
*/
|
|
203
221
|
runtime?: pulumi.Input<string>;
|
|
222
|
+
/**
|
|
223
|
+
* The [secret environment](https://www.scaleway.com/en/docs/compute/functions/concepts/#secrets) variables of the function.
|
|
224
|
+
*/
|
|
225
|
+
secretEnvironmentVariables?: pulumi.Input<{
|
|
226
|
+
[key: string]: pulumi.Input<string>;
|
|
227
|
+
}>;
|
|
204
228
|
/**
|
|
205
229
|
* Holds the max duration (in seconds) the function is allowed for responding to a request
|
|
206
230
|
*/
|
|
207
|
-
timeout?: pulumi.Input<
|
|
231
|
+
timeout?: pulumi.Input<number>;
|
|
208
232
|
/**
|
|
209
233
|
* Location of the zip file to upload containing your function sources
|
|
210
234
|
*/
|
|
@@ -236,6 +260,10 @@ export interface FunctionArgs {
|
|
|
236
260
|
* Handler of the function. Depends on the runtime ([function guide](https://developers.scaleway.com/en/products/functions/api/#create-a-function))
|
|
237
261
|
*/
|
|
238
262
|
handler: pulumi.Input<string>;
|
|
263
|
+
/**
|
|
264
|
+
* HTTP traffic configuration
|
|
265
|
+
*/
|
|
266
|
+
httpOption?: pulumi.Input<string>;
|
|
239
267
|
/**
|
|
240
268
|
* Maximum replicas for your function (defaults to 20), our system will scale your functions automatically based on incoming workload, but will never scale the number of replicas above the configured max_scale.
|
|
241
269
|
*/
|
|
@@ -250,6 +278,8 @@ export interface FunctionArgs {
|
|
|
250
278
|
minScale?: pulumi.Input<number>;
|
|
251
279
|
/**
|
|
252
280
|
* The unique name of the function.
|
|
281
|
+
*
|
|
282
|
+
* > **Important** Updates to `name` will recreate the function.
|
|
253
283
|
*/
|
|
254
284
|
name?: pulumi.Input<string>;
|
|
255
285
|
/**
|
|
@@ -272,10 +302,16 @@ export interface FunctionArgs {
|
|
|
272
302
|
* Runtime of the function. Runtimes can be fetched using [specific route](https://developers.scaleway.com/en/products/functions/api/#get-f7de6a)
|
|
273
303
|
*/
|
|
274
304
|
runtime: pulumi.Input<string>;
|
|
305
|
+
/**
|
|
306
|
+
* The [secret environment](https://www.scaleway.com/en/docs/compute/functions/concepts/#secrets) variables of the function.
|
|
307
|
+
*/
|
|
308
|
+
secretEnvironmentVariables?: pulumi.Input<{
|
|
309
|
+
[key: string]: pulumi.Input<string>;
|
|
310
|
+
}>;
|
|
275
311
|
/**
|
|
276
312
|
* Holds the max duration (in seconds) the function is allowed for responding to a request
|
|
277
313
|
*/
|
|
278
|
-
timeout?: pulumi.Input<
|
|
314
|
+
timeout?: pulumi.Input<number>;
|
|
279
315
|
/**
|
|
280
316
|
* Location of the zip file to upload containing your function sources
|
|
281
317
|
*/
|
package/function.js
CHANGED
|
@@ -35,6 +35,28 @@ const utilities = require("./utilities");
|
|
|
35
35
|
* ```
|
|
36
36
|
*/
|
|
37
37
|
class Function extends pulumi.CustomResource {
|
|
38
|
+
/**
|
|
39
|
+
* Get an existing Function resource's state with the given name, ID, and optional extra
|
|
40
|
+
* properties used to qualify the lookup.
|
|
41
|
+
*
|
|
42
|
+
* @param name The _unique_ name of the resulting resource.
|
|
43
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
44
|
+
* @param state Any extra arguments used during the lookup.
|
|
45
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
46
|
+
*/
|
|
47
|
+
static get(name, id, state, opts) {
|
|
48
|
+
return new Function(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* Returns true if the given object is an instance of Function. This is designed to work even
|
|
52
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
53
|
+
*/
|
|
54
|
+
static isInstance(obj) {
|
|
55
|
+
if (obj === undefined || obj === null) {
|
|
56
|
+
return false;
|
|
57
|
+
}
|
|
58
|
+
return obj['__pulumiType'] === Function.__pulumiType;
|
|
59
|
+
}
|
|
38
60
|
constructor(name, argsOrState, opts) {
|
|
39
61
|
let resourceInputs = {};
|
|
40
62
|
opts = opts || {};
|
|
@@ -46,6 +68,7 @@ class Function extends pulumi.CustomResource {
|
|
|
46
68
|
resourceInputs["domainName"] = state ? state.domainName : undefined;
|
|
47
69
|
resourceInputs["environmentVariables"] = state ? state.environmentVariables : undefined;
|
|
48
70
|
resourceInputs["handler"] = state ? state.handler : undefined;
|
|
71
|
+
resourceInputs["httpOption"] = state ? state.httpOption : undefined;
|
|
49
72
|
resourceInputs["maxScale"] = state ? state.maxScale : undefined;
|
|
50
73
|
resourceInputs["memoryLimit"] = state ? state.memoryLimit : undefined;
|
|
51
74
|
resourceInputs["minScale"] = state ? state.minScale : undefined;
|
|
@@ -56,6 +79,7 @@ class Function extends pulumi.CustomResource {
|
|
|
56
79
|
resourceInputs["projectId"] = state ? state.projectId : undefined;
|
|
57
80
|
resourceInputs["region"] = state ? state.region : undefined;
|
|
58
81
|
resourceInputs["runtime"] = state ? state.runtime : undefined;
|
|
82
|
+
resourceInputs["secretEnvironmentVariables"] = state ? state.secretEnvironmentVariables : undefined;
|
|
59
83
|
resourceInputs["timeout"] = state ? state.timeout : undefined;
|
|
60
84
|
resourceInputs["zipFile"] = state ? state.zipFile : undefined;
|
|
61
85
|
resourceInputs["zipHash"] = state ? state.zipHash : undefined;
|
|
@@ -78,6 +102,7 @@ class Function extends pulumi.CustomResource {
|
|
|
78
102
|
resourceInputs["description"] = args ? args.description : undefined;
|
|
79
103
|
resourceInputs["environmentVariables"] = args ? args.environmentVariables : undefined;
|
|
80
104
|
resourceInputs["handler"] = args ? args.handler : undefined;
|
|
105
|
+
resourceInputs["httpOption"] = args ? args.httpOption : undefined;
|
|
81
106
|
resourceInputs["maxScale"] = args ? args.maxScale : undefined;
|
|
82
107
|
resourceInputs["memoryLimit"] = args ? args.memoryLimit : undefined;
|
|
83
108
|
resourceInputs["minScale"] = args ? args.minScale : undefined;
|
|
@@ -87,6 +112,7 @@ class Function extends pulumi.CustomResource {
|
|
|
87
112
|
resourceInputs["projectId"] = args ? args.projectId : undefined;
|
|
88
113
|
resourceInputs["region"] = args ? args.region : undefined;
|
|
89
114
|
resourceInputs["runtime"] = args ? args.runtime : undefined;
|
|
115
|
+
resourceInputs["secretEnvironmentVariables"] = (args === null || args === void 0 ? void 0 : args.secretEnvironmentVariables) ? pulumi.secret(args.secretEnvironmentVariables) : undefined;
|
|
90
116
|
resourceInputs["timeout"] = args ? args.timeout : undefined;
|
|
91
117
|
resourceInputs["zipFile"] = args ? args.zipFile : undefined;
|
|
92
118
|
resourceInputs["zipHash"] = args ? args.zipHash : undefined;
|
|
@@ -95,30 +121,10 @@ class Function extends pulumi.CustomResource {
|
|
|
95
121
|
resourceInputs["organizationId"] = undefined /*out*/;
|
|
96
122
|
}
|
|
97
123
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
124
|
+
const secretOpts = { additionalSecretOutputs: ["secretEnvironmentVariables"] };
|
|
125
|
+
opts = pulumi.mergeOptions(opts, secretOpts);
|
|
98
126
|
super(Function.__pulumiType, name, resourceInputs, opts);
|
|
99
127
|
}
|
|
100
|
-
/**
|
|
101
|
-
* Get an existing Function resource's state with the given name, ID, and optional extra
|
|
102
|
-
* properties used to qualify the lookup.
|
|
103
|
-
*
|
|
104
|
-
* @param name The _unique_ name of the resulting resource.
|
|
105
|
-
* @param id The _unique_ provider ID of the resource to lookup.
|
|
106
|
-
* @param state Any extra arguments used during the lookup.
|
|
107
|
-
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
108
|
-
*/
|
|
109
|
-
static get(name, id, state, opts) {
|
|
110
|
-
return new Function(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
111
|
-
}
|
|
112
|
-
/**
|
|
113
|
-
* Returns true if the given object is an instance of Function. This is designed to work even
|
|
114
|
-
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
115
|
-
*/
|
|
116
|
-
static isInstance(obj) {
|
|
117
|
-
if (obj === undefined || obj === null) {
|
|
118
|
-
return false;
|
|
119
|
-
}
|
|
120
|
-
return obj['__pulumiType'] === Function.__pulumiType;
|
|
121
|
-
}
|
|
122
128
|
}
|
|
123
129
|
exports.Function = Function;
|
|
124
130
|
/** @internal */
|
package/function.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"function.js","sourceRoot":"","sources":["../function.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,cAAc;
|
|
1
|
+
{"version":3,"file":"function.js","sourceRoot":"","sources":["../function.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,cAAc;IAC/C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAqB,EAAE,IAAmC;QACnH,OAAO,IAAI,QAAQ,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC/D,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,QAAQ,CAAC,YAAY,CAAC;IACzD,CAAC;IAiGD,YAAY,IAAY,EAAE,WAA0C,EAAE,IAAmC;QACrG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI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,SAAS,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC/C,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,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,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,4BAA4B,CAAC,EAAE,CAAC;QAC/E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,QAAQ,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC7D,CAAC;;AA7LL,4BA8LC;AAhLG,gBAAgB;AACO,qBAAY,GAAG,kCAAkC,CAAC"}
|
package/functionCron.d.ts
CHANGED
|
@@ -2,12 +2,6 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
/**
|
|
3
3
|
* Creates and manages Scaleway Function Triggers. For the moment, the feature is limited to CRON Schedule (time-based).
|
|
4
4
|
*
|
|
5
|
-
* For more information consult
|
|
6
|
-
* the [documentation](https://www.scaleway.com/en/docs/compute/functions/api-cli/fun-uploading-with-serverless-framework/#configuring-events)
|
|
7
|
-
* .
|
|
8
|
-
*
|
|
9
|
-
* If you want to restrict the access to your function please check [this](https://www.scaleway.com/en/docs/compute/functions/api-cli/restricting-access-to-a-function/).
|
|
10
|
-
*
|
|
11
5
|
* For more details about the limitation
|
|
12
6
|
* check [functions-limitations](https://www.scaleway.com/en/docs/compute/functions/reference-content/functions-limitations/).
|
|
13
7
|
*
|
package/functionCron.js
CHANGED
|
@@ -8,12 +8,6 @@ const utilities = require("./utilities");
|
|
|
8
8
|
/**
|
|
9
9
|
* Creates and manages Scaleway Function Triggers. For the moment, the feature is limited to CRON Schedule (time-based).
|
|
10
10
|
*
|
|
11
|
-
* For more information consult
|
|
12
|
-
* the [documentation](https://www.scaleway.com/en/docs/compute/functions/api-cli/fun-uploading-with-serverless-framework/#configuring-events)
|
|
13
|
-
* .
|
|
14
|
-
*
|
|
15
|
-
* If you want to restrict the access to your function please check [this](https://www.scaleway.com/en/docs/compute/functions/api-cli/restricting-access-to-a-function/).
|
|
16
|
-
*
|
|
17
11
|
* For more details about the limitation
|
|
18
12
|
* check [functions-limitations](https://www.scaleway.com/en/docs/compute/functions/reference-content/functions-limitations/).
|
|
19
13
|
*
|
|
@@ -58,6 +52,28 @@ const utilities = require("./utilities");
|
|
|
58
52
|
* ```
|
|
59
53
|
*/
|
|
60
54
|
class FunctionCron extends pulumi.CustomResource {
|
|
55
|
+
/**
|
|
56
|
+
* Get an existing FunctionCron resource's state with the given name, ID, and optional extra
|
|
57
|
+
* properties used to qualify the lookup.
|
|
58
|
+
*
|
|
59
|
+
* @param name The _unique_ name of the resulting resource.
|
|
60
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
61
|
+
* @param state Any extra arguments used during the lookup.
|
|
62
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
63
|
+
*/
|
|
64
|
+
static get(name, id, state, opts) {
|
|
65
|
+
return new FunctionCron(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* Returns true if the given object is an instance of FunctionCron. This is designed to work even
|
|
69
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
70
|
+
*/
|
|
71
|
+
static isInstance(obj) {
|
|
72
|
+
if (obj === undefined || obj === null) {
|
|
73
|
+
return false;
|
|
74
|
+
}
|
|
75
|
+
return obj['__pulumiType'] === FunctionCron.__pulumiType;
|
|
76
|
+
}
|
|
61
77
|
constructor(name, argsOrState, opts) {
|
|
62
78
|
let resourceInputs = {};
|
|
63
79
|
opts = opts || {};
|
|
@@ -89,28 +105,6 @@ class FunctionCron extends pulumi.CustomResource {
|
|
|
89
105
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
90
106
|
super(FunctionCron.__pulumiType, name, resourceInputs, opts);
|
|
91
107
|
}
|
|
92
|
-
/**
|
|
93
|
-
* Get an existing FunctionCron resource's state with the given name, ID, and optional extra
|
|
94
|
-
* properties used to qualify the lookup.
|
|
95
|
-
*
|
|
96
|
-
* @param name The _unique_ name of the resulting resource.
|
|
97
|
-
* @param id The _unique_ provider ID of the resource to lookup.
|
|
98
|
-
* @param state Any extra arguments used during the lookup.
|
|
99
|
-
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
100
|
-
*/
|
|
101
|
-
static get(name, id, state, opts) {
|
|
102
|
-
return new FunctionCron(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
103
|
-
}
|
|
104
|
-
/**
|
|
105
|
-
* Returns true if the given object is an instance of FunctionCron. This is designed to work even
|
|
106
|
-
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
107
|
-
*/
|
|
108
|
-
static isInstance(obj) {
|
|
109
|
-
if (obj === undefined || obj === null) {
|
|
110
|
-
return false;
|
|
111
|
-
}
|
|
112
|
-
return obj['__pulumiType'] === FunctionCron.__pulumiType;
|
|
113
|
-
}
|
|
114
108
|
}
|
|
115
109
|
exports.FunctionCron = FunctionCron;
|
|
116
110
|
/** @internal */
|
package/functionCron.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"functionCron.js","sourceRoot":"","sources":["../functionCron.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAy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,CAAC;SAChD;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;;AAzFL,oCA0FC;AA5EG,gBAAgB;AACO,yBAAY,GAAG,0CAA0C,CAAC"}
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Creates and manages Scaleway Function Domain bindings.
|
|
4
|
+
* For more information see [the documentation](https://developers.scaleway.com/en/products/functions/api/).
|
|
5
|
+
*
|
|
6
|
+
* ## Examples
|
|
7
|
+
*
|
|
8
|
+
* ### Basic
|
|
9
|
+
*
|
|
10
|
+
* ```typescript
|
|
11
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
12
|
+
* import * as scaleway from "@pulumiverse/scaleway";
|
|
13
|
+
*
|
|
14
|
+
* const mainFunctionNamespace = new scaleway.FunctionNamespace("mainFunctionNamespace", {});
|
|
15
|
+
* const mainFunction = new scaleway.Function("mainFunction", {
|
|
16
|
+
* namespaceId: mainFunctionNamespace.id,
|
|
17
|
+
* runtime: "go118",
|
|
18
|
+
* privacy: "private",
|
|
19
|
+
* handler: "Handle",
|
|
20
|
+
* zipFile: "testfixture/gofunction.zip",
|
|
21
|
+
* deploy: true,
|
|
22
|
+
* });
|
|
23
|
+
* const mainFunctionDomain = new scaleway.FunctionDomain("mainFunctionDomain", {
|
|
24
|
+
* functionId: mainFunction.id,
|
|
25
|
+
* hostname: "example.com",
|
|
26
|
+
* }, {
|
|
27
|
+
* dependsOn: [mainFunction],
|
|
28
|
+
* });
|
|
29
|
+
* ```
|
|
30
|
+
*
|
|
31
|
+
* ## Import
|
|
32
|
+
*
|
|
33
|
+
* Domain can be imported using the `{region}/{id}`, e.g. bash
|
|
34
|
+
*
|
|
35
|
+
* ```sh
|
|
36
|
+
* $ pulumi import scaleway:index/functionDomain:FunctionDomain main fr-par/11111111-1111-1111-1111-111111111111
|
|
37
|
+
* ```
|
|
38
|
+
*/
|
|
39
|
+
export declare class FunctionDomain extends pulumi.CustomResource {
|
|
40
|
+
/**
|
|
41
|
+
* Get an existing FunctionDomain resource's state with the given name, ID, and optional extra
|
|
42
|
+
* properties used to qualify the lookup.
|
|
43
|
+
*
|
|
44
|
+
* @param name The _unique_ name of the resulting resource.
|
|
45
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
46
|
+
* @param state Any extra arguments used during the lookup.
|
|
47
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
48
|
+
*/
|
|
49
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: FunctionDomainState, opts?: pulumi.CustomResourceOptions): FunctionDomain;
|
|
50
|
+
/**
|
|
51
|
+
* Returns true if the given object is an instance of FunctionDomain. This is designed to work even
|
|
52
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
53
|
+
*/
|
|
54
|
+
static isInstance(obj: any): obj is FunctionDomain;
|
|
55
|
+
/**
|
|
56
|
+
* The ID of the function you want to create a domain with.
|
|
57
|
+
*/
|
|
58
|
+
readonly functionId: pulumi.Output<string>;
|
|
59
|
+
/**
|
|
60
|
+
* The hostname that should resolve to your function id native domain.
|
|
61
|
+
* You should use a CNAME domain record that point to your native function `domainName` for it.
|
|
62
|
+
*
|
|
63
|
+
* > **Important** Updates to `functionId` or `hostname` will recreate the domain.
|
|
64
|
+
*/
|
|
65
|
+
readonly hostname: pulumi.Output<string>;
|
|
66
|
+
/**
|
|
67
|
+
* (Defaults to provider `region`) The region in where the domain was created.
|
|
68
|
+
*/
|
|
69
|
+
readonly region: pulumi.Output<string>;
|
|
70
|
+
/**
|
|
71
|
+
* The URL that triggers the function
|
|
72
|
+
*/
|
|
73
|
+
readonly url: pulumi.Output<string>;
|
|
74
|
+
/**
|
|
75
|
+
* Create a FunctionDomain resource with the given unique name, arguments, and options.
|
|
76
|
+
*
|
|
77
|
+
* @param name The _unique_ name of the resource.
|
|
78
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
79
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
80
|
+
*/
|
|
81
|
+
constructor(name: string, args: FunctionDomainArgs, opts?: pulumi.CustomResourceOptions);
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
* Input properties used for looking up and filtering FunctionDomain resources.
|
|
85
|
+
*/
|
|
86
|
+
export interface FunctionDomainState {
|
|
87
|
+
/**
|
|
88
|
+
* The ID of the function you want to create a domain with.
|
|
89
|
+
*/
|
|
90
|
+
functionId?: pulumi.Input<string>;
|
|
91
|
+
/**
|
|
92
|
+
* The hostname that should resolve to your function id native domain.
|
|
93
|
+
* You should use a CNAME domain record that point to your native function `domainName` for it.
|
|
94
|
+
*
|
|
95
|
+
* > **Important** Updates to `functionId` or `hostname` will recreate the domain.
|
|
96
|
+
*/
|
|
97
|
+
hostname?: pulumi.Input<string>;
|
|
98
|
+
/**
|
|
99
|
+
* (Defaults to provider `region`) The region in where the domain was created.
|
|
100
|
+
*/
|
|
101
|
+
region?: pulumi.Input<string>;
|
|
102
|
+
/**
|
|
103
|
+
* The URL that triggers the function
|
|
104
|
+
*/
|
|
105
|
+
url?: pulumi.Input<string>;
|
|
106
|
+
}
|
|
107
|
+
/**
|
|
108
|
+
* The set of arguments for constructing a FunctionDomain resource.
|
|
109
|
+
*/
|
|
110
|
+
export interface FunctionDomainArgs {
|
|
111
|
+
/**
|
|
112
|
+
* The ID of the function you want to create a domain with.
|
|
113
|
+
*/
|
|
114
|
+
functionId: pulumi.Input<string>;
|
|
115
|
+
/**
|
|
116
|
+
* The hostname that should resolve to your function id native domain.
|
|
117
|
+
* You should use a CNAME domain record that point to your native function `domainName` for it.
|
|
118
|
+
*
|
|
119
|
+
* > **Important** Updates to `functionId` or `hostname` will recreate the domain.
|
|
120
|
+
*/
|
|
121
|
+
hostname: pulumi.Input<string>;
|
|
122
|
+
/**
|
|
123
|
+
* (Defaults to provider `region`) The region in where the domain was created.
|
|
124
|
+
*/
|
|
125
|
+
region?: pulumi.Input<string>;
|
|
126
|
+
}
|
|
@@ -0,0 +1,98 @@
|
|
|
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.FunctionDomain = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Creates and manages Scaleway Function Domain bindings.
|
|
10
|
+
* For more information see [the documentation](https://developers.scaleway.com/en/products/functions/api/).
|
|
11
|
+
*
|
|
12
|
+
* ## Examples
|
|
13
|
+
*
|
|
14
|
+
* ### Basic
|
|
15
|
+
*
|
|
16
|
+
* ```typescript
|
|
17
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
18
|
+
* import * as scaleway from "@pulumiverse/scaleway";
|
|
19
|
+
*
|
|
20
|
+
* const mainFunctionNamespace = new scaleway.FunctionNamespace("mainFunctionNamespace", {});
|
|
21
|
+
* const mainFunction = new scaleway.Function("mainFunction", {
|
|
22
|
+
* namespaceId: mainFunctionNamespace.id,
|
|
23
|
+
* runtime: "go118",
|
|
24
|
+
* privacy: "private",
|
|
25
|
+
* handler: "Handle",
|
|
26
|
+
* zipFile: "testfixture/gofunction.zip",
|
|
27
|
+
* deploy: true,
|
|
28
|
+
* });
|
|
29
|
+
* const mainFunctionDomain = new scaleway.FunctionDomain("mainFunctionDomain", {
|
|
30
|
+
* functionId: mainFunction.id,
|
|
31
|
+
* hostname: "example.com",
|
|
32
|
+
* }, {
|
|
33
|
+
* dependsOn: [mainFunction],
|
|
34
|
+
* });
|
|
35
|
+
* ```
|
|
36
|
+
*
|
|
37
|
+
* ## Import
|
|
38
|
+
*
|
|
39
|
+
* Domain can be imported using the `{region}/{id}`, e.g. bash
|
|
40
|
+
*
|
|
41
|
+
* ```sh
|
|
42
|
+
* $ pulumi import scaleway:index/functionDomain:FunctionDomain main fr-par/11111111-1111-1111-1111-111111111111
|
|
43
|
+
* ```
|
|
44
|
+
*/
|
|
45
|
+
class FunctionDomain extends pulumi.CustomResource {
|
|
46
|
+
/**
|
|
47
|
+
* Get an existing FunctionDomain 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, id, state, opts) {
|
|
56
|
+
return new FunctionDomain(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* Returns true if the given object is an instance of FunctionDomain. This is designed to work even
|
|
60
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
61
|
+
*/
|
|
62
|
+
static isInstance(obj) {
|
|
63
|
+
if (obj === undefined || obj === null) {
|
|
64
|
+
return false;
|
|
65
|
+
}
|
|
66
|
+
return obj['__pulumiType'] === FunctionDomain.__pulumiType;
|
|
67
|
+
}
|
|
68
|
+
constructor(name, argsOrState, opts) {
|
|
69
|
+
let resourceInputs = {};
|
|
70
|
+
opts = opts || {};
|
|
71
|
+
if (opts.id) {
|
|
72
|
+
const state = argsOrState;
|
|
73
|
+
resourceInputs["functionId"] = state ? state.functionId : undefined;
|
|
74
|
+
resourceInputs["hostname"] = state ? state.hostname : undefined;
|
|
75
|
+
resourceInputs["region"] = state ? state.region : undefined;
|
|
76
|
+
resourceInputs["url"] = state ? state.url : undefined;
|
|
77
|
+
}
|
|
78
|
+
else {
|
|
79
|
+
const args = argsOrState;
|
|
80
|
+
if ((!args || args.functionId === undefined) && !opts.urn) {
|
|
81
|
+
throw new Error("Missing required property 'functionId'");
|
|
82
|
+
}
|
|
83
|
+
if ((!args || args.hostname === undefined) && !opts.urn) {
|
|
84
|
+
throw new Error("Missing required property 'hostname'");
|
|
85
|
+
}
|
|
86
|
+
resourceInputs["functionId"] = args ? args.functionId : undefined;
|
|
87
|
+
resourceInputs["hostname"] = args ? args.hostname : undefined;
|
|
88
|
+
resourceInputs["region"] = args ? args.region : undefined;
|
|
89
|
+
resourceInputs["url"] = undefined /*out*/;
|
|
90
|
+
}
|
|
91
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
92
|
+
super(FunctionDomain.__pulumiType, name, resourceInputs, opts);
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
exports.FunctionDomain = FunctionDomain;
|
|
96
|
+
/** @internal */
|
|
97
|
+
FunctionDomain.__pulumiType = 'scaleway:index/functionDomain:FunctionDomain';
|
|
98
|
+
//# sourceMappingURL=functionDomain.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"functionDomain.js","sourceRoot":"","sources":["../functionDomain.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AACH,MAAa,cAAe,SAAQ,MAAM,CAAC,cAAc;IACrD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA2B,EAAE,IAAmC;QACzH,OAAO,IAAI,cAAc,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACrE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IA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SAAS,CAAC;YAClE,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,KAAK,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC7C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,cAAc,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACnE,CAAC;;AAhFL,wCAiFC;AAnEG,gBAAgB;AACO,2BAAY,GAAG,8CAA8C,CAAC"}
|
package/functionNamespace.d.ts
CHANGED
|
@@ -9,11 +9,9 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
9
9
|
*
|
|
10
10
|
* ```typescript
|
|
11
11
|
* import * as pulumi from "@pulumi/pulumi";
|
|
12
|
-
* import * as scaleway from "@
|
|
12
|
+
* import * as scaleway from "@pulumiverse/scaleway";
|
|
13
13
|
*
|
|
14
|
-
* const main = new scaleway.FunctionNamespace("main", {
|
|
15
|
-
* description: "Main function namespace",
|
|
16
|
-
* });
|
|
14
|
+
* const main = new scaleway.FunctionNamespace("main", {description: "Main function namespace"});
|
|
17
15
|
* ```
|
|
18
16
|
*
|
|
19
17
|
* ## Import
|
|
@@ -52,6 +50,8 @@ export declare class FunctionNamespace extends pulumi.CustomResource {
|
|
|
52
50
|
} | undefined>;
|
|
53
51
|
/**
|
|
54
52
|
* The unique name of the function namespace.
|
|
53
|
+
*
|
|
54
|
+
* > **Important** Updates to `name` will recreate the namespace.
|
|
55
55
|
*/
|
|
56
56
|
readonly name: pulumi.Output<string>;
|
|
57
57
|
/**
|
|
@@ -74,6 +74,12 @@ export declare class FunctionNamespace extends pulumi.CustomResource {
|
|
|
74
74
|
* The registry namespace ID of the namespace.
|
|
75
75
|
*/
|
|
76
76
|
readonly registryNamespaceId: pulumi.Output<string>;
|
|
77
|
+
/**
|
|
78
|
+
* The [secret environment](https://www.scaleway.com/en/docs/compute/containers/concepts/#secrets) variables of the namespace.
|
|
79
|
+
*/
|
|
80
|
+
readonly secretEnvironmentVariables: pulumi.Output<{
|
|
81
|
+
[key: string]: string;
|
|
82
|
+
} | undefined>;
|
|
77
83
|
/**
|
|
78
84
|
* Create a FunctionNamespace resource with the given unique name, arguments, and options.
|
|
79
85
|
*
|
|
@@ -99,6 +105,8 @@ export interface FunctionNamespaceState {
|
|
|
99
105
|
}>;
|
|
100
106
|
/**
|
|
101
107
|
* The unique name of the function namespace.
|
|
108
|
+
*
|
|
109
|
+
* > **Important** Updates to `name` will recreate the namespace.
|
|
102
110
|
*/
|
|
103
111
|
name?: pulumi.Input<string>;
|
|
104
112
|
/**
|
|
@@ -121,6 +129,12 @@ export interface FunctionNamespaceState {
|
|
|
121
129
|
* The registry namespace ID of the namespace.
|
|
122
130
|
*/
|
|
123
131
|
registryNamespaceId?: pulumi.Input<string>;
|
|
132
|
+
/**
|
|
133
|
+
* The [secret environment](https://www.scaleway.com/en/docs/compute/containers/concepts/#secrets) variables of the namespace.
|
|
134
|
+
*/
|
|
135
|
+
secretEnvironmentVariables?: pulumi.Input<{
|
|
136
|
+
[key: string]: pulumi.Input<string>;
|
|
137
|
+
}>;
|
|
124
138
|
}
|
|
125
139
|
/**
|
|
126
140
|
* The set of arguments for constructing a FunctionNamespace resource.
|
|
@@ -138,6 +152,8 @@ export interface FunctionNamespaceArgs {
|
|
|
138
152
|
}>;
|
|
139
153
|
/**
|
|
140
154
|
* The unique name of the function namespace.
|
|
155
|
+
*
|
|
156
|
+
* > **Important** Updates to `name` will recreate the namespace.
|
|
141
157
|
*/
|
|
142
158
|
name?: pulumi.Input<string>;
|
|
143
159
|
/**
|
|
@@ -148,4 +164,10 @@ export interface FunctionNamespaceArgs {
|
|
|
148
164
|
* `region`). The region in which the namespace should be created.
|
|
149
165
|
*/
|
|
150
166
|
region?: pulumi.Input<string>;
|
|
167
|
+
/**
|
|
168
|
+
* The [secret environment](https://www.scaleway.com/en/docs/compute/containers/concepts/#secrets) variables of the namespace.
|
|
169
|
+
*/
|
|
170
|
+
secretEnvironmentVariables?: pulumi.Input<{
|
|
171
|
+
[key: string]: pulumi.Input<string>;
|
|
172
|
+
}>;
|
|
151
173
|
}
|