@pulumiverse/scaleway 1.45.0 → 1.46.0
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/account/project.d.ts +33 -2
- package/account/project.js +33 -2
- package/account/project.js.map +1 -1
- package/account/sshKey.d.ts +0 -2
- package/account/sshKey.js +0 -2
- package/account/sshKey.js.map +1 -1
- package/accountProject.d.ts +33 -2
- package/accountProject.js +33 -2
- package/accountProject.js.map +1 -1
- package/accountSshKey.d.ts +0 -2
- package/accountSshKey.js +0 -2
- package/accountSshKey.js.map +1 -1
- package/appleSiliconServer.d.ts +0 -2
- package/appleSiliconServer.js +0 -2
- package/appleSiliconServer.js.map +1 -1
- package/applesilicon/runner.d.ts +0 -2
- package/applesilicon/runner.js +0 -2
- package/applesilicon/runner.js.map +1 -1
- package/applesilicon/server.d.ts +0 -2
- package/applesilicon/server.js +0 -2
- package/applesilicon/server.js.map +1 -1
- package/autoscaling/instanceGroup.d.ts +0 -2
- package/autoscaling/instanceGroup.js +0 -2
- package/autoscaling/instanceGroup.js.map +1 -1
- package/autoscaling/instancePolicy.d.ts +0 -2
- package/autoscaling/instancePolicy.js +0 -2
- package/autoscaling/instancePolicy.js.map +1 -1
- package/autoscaling/instanceTemplate.d.ts +0 -2
- package/autoscaling/instanceTemplate.js +0 -2
- package/autoscaling/instanceTemplate.js.map +1 -1
- package/baremetalServer.d.ts +7 -3
- package/baremetalServer.js +1 -3
- package/baremetalServer.js.map +1 -1
- package/block/snapshot.d.ts +0 -2
- package/block/snapshot.js +0 -2
- package/block/snapshot.js.map +1 -1
- package/block/volume.d.ts +0 -2
- package/block/volume.js +0 -2
- package/block/volume.js.map +1 -1
- package/blockSnapshot.d.ts +0 -2
- package/blockSnapshot.js +0 -2
- package/blockSnapshot.js.map +1 -1
- package/blockVolume.d.ts +0 -2
- package/blockVolume.js +0 -2
- package/blockVolume.js.map +1 -1
- package/cockpit.d.ts +90 -2
- package/cockpit.js +90 -2
- package/cockpit.js.map +1 -1
- package/cockpitAlertManager.d.ts +0 -2
- package/cockpitAlertManager.js +0 -2
- package/cockpitAlertManager.js.map +1 -1
- package/cockpitGrafanaUser.d.ts +65 -2
- package/cockpitGrafanaUser.js +65 -2
- package/cockpitGrafanaUser.js.map +1 -1
- package/cockpitSource.d.ts +0 -2
- package/cockpitSource.js +0 -2
- package/cockpitSource.js.map +1 -1
- package/cockpitToken.d.ts +0 -2
- package/cockpitToken.js +0 -2
- package/cockpitToken.js.map +1 -1
- package/container.d.ts +0 -2
- package/container.js +0 -2
- package/container.js.map +1 -1
- package/containerCron.d.ts +0 -2
- package/containerCron.js +0 -2
- package/containerCron.js.map +1 -1
- package/containerDomain.d.ts +0 -2
- package/containerDomain.js +0 -2
- package/containerDomain.js.map +1 -1
- package/containerNamespace.d.ts +0 -2
- package/containerNamespace.js +0 -2
- package/containerNamespace.js.map +1 -1
- package/containerToken.d.ts +0 -2
- package/containerToken.js +0 -2
- package/containerToken.js.map +1 -1
- package/containerTrigger.d.ts +0 -2
- package/containerTrigger.js +0 -2
- package/containerTrigger.js.map +1 -1
- package/containers/container.d.ts +0 -2
- package/containers/container.js +0 -2
- package/containers/container.js.map +1 -1
- package/containers/cron.d.ts +0 -2
- package/containers/cron.js +0 -2
- package/containers/cron.js.map +1 -1
- package/containers/domain.d.ts +0 -2
- package/containers/domain.js +0 -2
- package/containers/domain.js.map +1 -1
- package/containers/namespace.d.ts +0 -2
- package/containers/namespace.js +0 -2
- package/containers/namespace.js.map +1 -1
- package/containers/token.d.ts +0 -2
- package/containers/token.js +0 -2
- package/containers/token.js.map +1 -1
- package/containers/trigger.d.ts +0 -2
- package/containers/trigger.js +0 -2
- package/containers/trigger.js.map +1 -1
- package/database.d.ts +0 -2
- package/database.js +0 -2
- package/database.js.map +1 -1
- package/databaseAcl.d.ts +0 -2
- package/databaseAcl.js +0 -2
- package/databaseAcl.js.map +1 -1
- package/databaseBackup.d.ts +0 -2
- package/databaseBackup.js +0 -2
- package/databaseBackup.js.map +1 -1
- package/databaseInstance.d.ts +30 -5
- package/databaseInstance.js +6 -2
- package/databaseInstance.js.map +1 -1
- package/databasePrivilege.d.ts +45 -5
- package/databasePrivilege.js +30 -2
- package/databasePrivilege.js.map +1 -1
- package/databaseReadReplica.d.ts +0 -2
- package/databaseReadReplica.js +0 -2
- package/databaseReadReplica.js.map +1 -1
- package/databaseUser.d.ts +9 -2
- package/databaseUser.js +6 -2
- package/databaseUser.js.map +1 -1
- package/databases/acl.d.ts +0 -2
- package/databases/acl.js +0 -2
- package/databases/acl.js.map +1 -1
- package/databases/database.d.ts +0 -2
- package/databases/database.js +0 -2
- package/databases/database.js.map +1 -1
- package/databases/databaseBackup.d.ts +0 -2
- package/databases/databaseBackup.js +0 -2
- package/databases/databaseBackup.js.map +1 -1
- package/databases/getPrivilege.d.ts +2 -0
- package/databases/getPrivilege.js.map +1 -1
- package/databases/instance.d.ts +30 -5
- package/databases/instance.js +6 -2
- package/databases/instance.js.map +1 -1
- package/databases/privilege.d.ts +45 -5
- package/databases/privilege.js +30 -2
- package/databases/privilege.js.map +1 -1
- package/databases/readReplica.d.ts +0 -2
- package/databases/readReplica.js +0 -2
- package/databases/readReplica.js.map +1 -1
- package/databases/serverlessDatabase.d.ts +43 -2
- package/databases/serverlessDatabase.js +43 -2
- package/databases/serverlessDatabase.js.map +1 -1
- package/databases/user.d.ts +9 -2
- package/databases/user.js +6 -2
- package/databases/user.js.map +1 -1
- package/datawarehouse/database.d.ts +0 -2
- package/datawarehouse/database.js +0 -2
- package/datawarehouse/database.js.map +1 -1
- package/datawarehouse/deployment.d.ts +3 -2
- package/datawarehouse/deployment.js +0 -2
- package/datawarehouse/deployment.js.map +1 -1
- package/datawarehouse/user.d.ts +0 -2
- package/datawarehouse/user.js +0 -2
- package/datawarehouse/user.js.map +1 -1
- package/domain/getRegistration.d.ts +8 -0
- package/domain/getRegistration.js +8 -0
- package/domain/getRegistration.js.map +1 -1
- package/domain/getZone.d.ts +44 -0
- package/domain/getZone.js +44 -0
- package/domain/getZone.js.map +1 -1
- package/domain/record.d.ts +0 -2
- package/domain/record.js +0 -2
- package/domain/record.js.map +1 -1
- package/domain/registration.d.ts +1 -3
- package/domain/registration.js +1 -3
- package/domain/registration.js.map +1 -1
- package/domain/zone.d.ts +20 -2
- package/domain/zone.js +20 -2
- package/domain/zone.js.map +1 -1
- package/domainRecord.d.ts +0 -2
- package/domainRecord.js +0 -2
- package/domainRecord.js.map +1 -1
- package/domainZone.d.ts +20 -2
- package/domainZone.js +20 -2
- package/domainZone.js.map +1 -1
- package/edgeServicesBackendStage.d.ts +0 -2
- package/edgeServicesBackendStage.js +0 -2
- package/edgeServicesBackendStage.js.map +1 -1
- package/edgeServicesCacheStage.d.ts +0 -2
- package/edgeServicesCacheStage.js +0 -2
- package/edgeServicesCacheStage.js.map +1 -1
- package/edgeServicesDnsStage.d.ts +0 -2
- package/edgeServicesDnsStage.js +0 -2
- package/edgeServicesDnsStage.js.map +1 -1
- package/edgeServicesHeadStage.d.ts +0 -2
- package/edgeServicesHeadStage.js +0 -2
- package/edgeServicesHeadStage.js.map +1 -1
- package/edgeServicesPipeline.d.ts +0 -2
- package/edgeServicesPipeline.js +0 -2
- package/edgeServicesPipeline.js.map +1 -1
- package/edgeServicesPlan.d.ts +0 -2
- package/edgeServicesPlan.js +0 -2
- package/edgeServicesPlan.js.map +1 -1
- package/edgeServicesRouteStage.d.ts +43 -2
- package/edgeServicesRouteStage.js +43 -2
- package/edgeServicesRouteStage.js.map +1 -1
- package/edgeServicesTlsStage.d.ts +0 -2
- package/edgeServicesTlsStage.js +0 -2
- package/edgeServicesTlsStage.js.map +1 -1
- package/edgeServicesWafStage.d.ts +0 -2
- package/edgeServicesWafStage.js +0 -2
- package/edgeServicesWafStage.js.map +1 -1
- package/edgeservices/backendStage.d.ts +0 -2
- package/edgeservices/backendStage.js +0 -2
- package/edgeservices/backendStage.js.map +1 -1
- package/edgeservices/cacheStage.d.ts +0 -2
- package/edgeservices/cacheStage.js +0 -2
- package/edgeservices/cacheStage.js.map +1 -1
- package/edgeservices/dnsStage.d.ts +0 -2
- package/edgeservices/dnsStage.js +0 -2
- package/edgeservices/dnsStage.js.map +1 -1
- package/edgeservices/headStage.d.ts +0 -2
- package/edgeservices/headStage.js +0 -2
- package/edgeservices/headStage.js.map +1 -1
- package/edgeservices/pipeline.d.ts +0 -2
- package/edgeservices/pipeline.js +0 -2
- package/edgeservices/pipeline.js.map +1 -1
- package/edgeservices/plan.d.ts +0 -2
- package/edgeservices/plan.js +0 -2
- package/edgeservices/plan.js.map +1 -1
- package/edgeservices/routeStage.d.ts +43 -2
- package/edgeservices/routeStage.js +43 -2
- package/edgeservices/routeStage.js.map +1 -1
- package/edgeservices/tlsStage.d.ts +0 -2
- package/edgeservices/tlsStage.js +0 -2
- package/edgeservices/tlsStage.js.map +1 -1
- package/edgeservices/wafStage.d.ts +0 -2
- package/edgeservices/wafStage.js +0 -2
- package/edgeservices/wafStage.js.map +1 -1
- package/elasticmetal/ip.d.ts +0 -2
- package/elasticmetal/ip.js +0 -2
- package/elasticmetal/ip.js.map +1 -1
- package/elasticmetal/ipMacAddress.d.ts +0 -2
- package/elasticmetal/ipMacAddress.js +0 -2
- package/elasticmetal/ipMacAddress.js.map +1 -1
- package/elasticmetal/server.d.ts +7 -3
- package/elasticmetal/server.js +1 -3
- package/elasticmetal/server.js.map +1 -1
- package/fileFilesystem.d.ts +0 -2
- package/fileFilesystem.js +0 -2
- package/fileFilesystem.js.map +1 -1
- package/flexibleIp.d.ts +0 -2
- package/flexibleIp.js +0 -2
- package/flexibleIp.js.map +1 -1
- package/flexibleIpMacAddress.d.ts +0 -2
- package/flexibleIpMacAddress.js +0 -2
- package/flexibleIpMacAddress.js.map +1 -1
- package/function.d.ts +112 -5
- package/function.js +100 -2
- package/function.js.map +1 -1
- package/functionCron.d.ts +0 -2
- package/functionCron.js +0 -2
- package/functionCron.js.map +1 -1
- package/functionDomain.d.ts +0 -2
- package/functionDomain.js +0 -2
- package/functionDomain.js.map +1 -1
- package/functionNamespace.d.ts +0 -2
- package/functionNamespace.js +0 -2
- package/functionNamespace.js.map +1 -1
- package/functionToken.d.ts +0 -2
- package/functionToken.js +0 -2
- package/functionToken.js.map +1 -1
- package/functionTrigger.d.ts +0 -2
- package/functionTrigger.js +0 -2
- package/functionTrigger.js.map +1 -1
- package/functions/cron.d.ts +0 -2
- package/functions/cron.js +0 -2
- package/functions/cron.js.map +1 -1
- package/functions/domain.d.ts +0 -2
- package/functions/domain.js +0 -2
- package/functions/domain.js.map +1 -1
- package/functions/function.d.ts +112 -5
- package/functions/function.js +100 -2
- package/functions/function.js.map +1 -1
- package/functions/namespace.d.ts +0 -2
- package/functions/namespace.js +0 -2
- package/functions/namespace.js.map +1 -1
- package/functions/token.d.ts +0 -2
- package/functions/token.js +0 -2
- package/functions/token.js.map +1 -1
- package/functions/trigger.d.ts +0 -2
- package/functions/trigger.js +0 -2
- package/functions/trigger.js.map +1 -1
- package/getDatabasePrivilege.d.ts +2 -0
- package/getDatabasePrivilege.js.map +1 -1
- package/getDomainZone.d.ts +44 -0
- package/getDomainZone.js +44 -0
- package/getDomainZone.js.map +1 -1
- package/getKubernetesNodePool.d.ts +3 -0
- package/getKubernetesNodePool.js.map +1 -1
- package/getLoadbalancerCertificate.d.ts +2 -2
- package/getLoadbalancerCertificate.js +2 -2
- package/getObjectBucket.d.ts +6 -0
- package/getObjectBucket.js.map +1 -1
- package/getObjectBucketPolicy.d.ts +18 -0
- package/getObjectBucketPolicy.js.map +1 -1
- package/hosting/hosting.d.ts +0 -2
- package/hosting/hosting.js +0 -2
- package/hosting/hosting.js.map +1 -1
- package/iam/apiKey.d.ts +1 -3
- package/iam/apiKey.js +1 -3
- package/iam/apiKey.js.map +1 -1
- package/iam/application.d.ts +0 -2
- package/iam/application.js +0 -2
- package/iam/application.js.map +1 -1
- package/iam/group.d.ts +23 -2
- package/iam/group.js +23 -2
- package/iam/group.js.map +1 -1
- package/iam/groupMembership.d.ts +31 -3
- package/iam/groupMembership.js +31 -3
- package/iam/groupMembership.js.map +1 -1
- package/iam/policy.d.ts +32 -2
- package/iam/policy.js +32 -2
- package/iam/policy.js.map +1 -1
- package/iam/sshKey.d.ts +0 -2
- package/iam/sshKey.js +0 -2
- package/iam/sshKey.js.map +1 -1
- package/iam/user.d.ts +10 -2
- package/iam/user.js +7 -2
- package/iam/user.js.map +1 -1
- package/iamApiKey.d.ts +1 -3
- package/iamApiKey.js +1 -3
- package/iamApiKey.js.map +1 -1
- package/iamApplication.d.ts +0 -2
- package/iamApplication.js +0 -2
- package/iamApplication.js.map +1 -1
- package/iamGroup.d.ts +23 -2
- package/iamGroup.js +23 -2
- package/iamGroup.js.map +1 -1
- package/iamGroupMembership.d.ts +31 -3
- package/iamGroupMembership.js +31 -3
- package/iamGroupMembership.js.map +1 -1
- package/iamPolicy.d.ts +32 -2
- package/iamPolicy.js +32 -2
- package/iamPolicy.js.map +1 -1
- package/iamSshKey.d.ts +0 -2
- package/iamSshKey.js +0 -2
- package/iamSshKey.js.map +1 -1
- package/iamUser.d.ts +10 -2
- package/iamUser.js +7 -2
- package/iamUser.js.map +1 -1
- package/inference/deployment.d.ts +0 -2
- package/inference/deployment.js +0 -2
- package/inference/deployment.js.map +1 -1
- package/inference/model.d.ts +8 -2
- package/inference/model.js +5 -2
- package/inference/model.js.map +1 -1
- package/inferenceDeployment.d.ts +0 -2
- package/inferenceDeployment.js +0 -2
- package/inferenceDeployment.js.map +1 -1
- package/instance/image.d.ts +0 -2
- package/instance/image.js +0 -2
- package/instance/image.js.map +1 -1
- package/instance/ip.d.ts +0 -2
- package/instance/ip.js +0 -2
- package/instance/ip.js.map +1 -1
- package/instance/ipReverseDns.d.ts +0 -2
- package/instance/ipReverseDns.js +0 -2
- package/instance/ipReverseDns.js.map +1 -1
- package/instance/placementGroup.d.ts +0 -2
- package/instance/placementGroup.js +0 -2
- package/instance/placementGroup.js.map +1 -1
- package/instance/privateNic.d.ts +0 -2
- package/instance/privateNic.js +0 -2
- package/instance/privateNic.js.map +1 -1
- package/instance/securityGroup.d.ts +87 -2
- package/instance/securityGroup.js +87 -2
- package/instance/securityGroup.js.map +1 -1
- package/instance/securityGroupRules.d.ts +0 -2
- package/instance/securityGroupRules.js +0 -2
- package/instance/securityGroupRules.js.map +1 -1
- package/instance/server.d.ts +9 -5
- package/instance/server.js +0 -2
- package/instance/server.js.map +1 -1
- package/instance/snapshot.d.ts +0 -2
- package/instance/snapshot.js +0 -2
- package/instance/snapshot.js.map +1 -1
- package/instance/userData.d.ts +0 -2
- package/instance/userData.js +0 -2
- package/instance/userData.js.map +1 -1
- package/instance/volume.d.ts +0 -2
- package/instance/volume.js +0 -2
- package/instance/volume.js.map +1 -1
- package/instanceImage.d.ts +0 -2
- package/instanceImage.js +0 -2
- package/instanceImage.js.map +1 -1
- package/instanceIp.d.ts +0 -2
- package/instanceIp.js +0 -2
- package/instanceIp.js.map +1 -1
- package/instanceIpReverseDns.d.ts +0 -2
- package/instanceIpReverseDns.js +0 -2
- package/instanceIpReverseDns.js.map +1 -1
- package/instancePlacementGroup.d.ts +0 -2
- package/instancePlacementGroup.js +0 -2
- package/instancePlacementGroup.js.map +1 -1
- package/instancePrivateNic.d.ts +0 -2
- package/instancePrivateNic.js +0 -2
- package/instancePrivateNic.js.map +1 -1
- package/instanceSecurityGroup.d.ts +87 -2
- package/instanceSecurityGroup.js +87 -2
- package/instanceSecurityGroup.js.map +1 -1
- package/instanceSecurityGroupRules.d.ts +0 -2
- package/instanceSecurityGroupRules.js +0 -2
- package/instanceSecurityGroupRules.js.map +1 -1
- package/instanceServer.d.ts +9 -5
- package/instanceServer.js +0 -2
- package/instanceServer.js.map +1 -1
- package/instanceSnapshot.d.ts +0 -2
- package/instanceSnapshot.js +0 -2
- package/instanceSnapshot.js.map +1 -1
- package/instanceUserData.d.ts +0 -2
- package/instanceUserData.js +0 -2
- package/instanceUserData.js.map +1 -1
- package/instanceVolume.d.ts +0 -2
- package/instanceVolume.js +0 -2
- package/instanceVolume.js.map +1 -1
- package/interlink/getPop.d.ts +127 -0
- package/interlink/getPop.js +82 -0
- package/interlink/getPop.js.map +1 -0
- package/interlink/getPops.d.ts +140 -0
- package/interlink/getPops.js +84 -0
- package/interlink/getPops.js.map +1 -0
- package/interlink/index.d.ts +6 -0
- package/interlink/index.js +7 -1
- package/interlink/index.js.map +1 -1
- package/iot/device.d.ts +4 -2
- package/iot/device.js +4 -2
- package/iot/device.js.map +1 -1
- package/iot/hub.d.ts +4 -2
- package/iot/hub.js +4 -2
- package/iot/hub.js.map +1 -1
- package/iot/network.d.ts +12 -2
- package/iot/network.js +12 -2
- package/iot/network.js.map +1 -1
- package/iot/route.d.ts +7 -2
- package/iot/route.js +7 -2
- package/iot/route.js.map +1 -1
- package/iotDevice.d.ts +4 -2
- package/iotDevice.js +4 -2
- package/iotDevice.js.map +1 -1
- package/iotHub.d.ts +4 -2
- package/iotHub.js +4 -2
- package/iotHub.js.map +1 -1
- package/iotNetwork.d.ts +12 -2
- package/iotNetwork.js +12 -2
- package/iotNetwork.js.map +1 -1
- package/iotRoute.d.ts +7 -2
- package/iotRoute.js +7 -2
- package/iotRoute.js.map +1 -1
- package/ipam/ip.d.ts +9 -5
- package/ipam/ip.js +0 -2
- package/ipam/ip.js.map +1 -1
- package/ipam/ipReverseDns.d.ts +2 -4
- package/ipam/ipReverseDns.js +2 -4
- package/ipam/ipReverseDns.js.map +1 -1
- package/ipamIp.d.ts +9 -5
- package/ipamIp.js +0 -2
- package/ipamIp.js.map +1 -1
- package/ipamIpReverseDns.d.ts +2 -4
- package/ipamIpReverseDns.js +2 -4
- package/ipamIpReverseDns.js.map +1 -1
- package/job/definition.d.ts +0 -2
- package/job/definition.js +0 -2
- package/job/definition.js.map +1 -1
- package/jobDefinition.d.ts +0 -2
- package/jobDefinition.js +0 -2
- package/jobDefinition.js.map +1 -1
- package/kafka/cluster.d.ts +0 -2
- package/kafka/cluster.js +0 -2
- package/kafka/cluster.js.map +1 -1
- package/kubernetes/acl.d.ts +7 -2
- package/kubernetes/acl.js +7 -2
- package/kubernetes/acl.js.map +1 -1
- package/kubernetes/cluster.d.ts +0 -2
- package/kubernetes/cluster.js +0 -2
- package/kubernetes/cluster.js.map +1 -1
- package/kubernetes/getPool.d.ts +3 -0
- package/kubernetes/getPool.js.map +1 -1
- package/kubernetes/pool.d.ts +109 -4
- package/kubernetes/pool.js +107 -2
- package/kubernetes/pool.js.map +1 -1
- package/kubernetesCluster.d.ts +0 -2
- package/kubernetesCluster.js +0 -2
- package/kubernetesCluster.js.map +1 -1
- package/kubernetesNodePool.d.ts +109 -4
- package/kubernetesNodePool.js +107 -2
- package/kubernetesNodePool.js.map +1 -1
- package/loadbalancer.d.ts +1 -3
- package/loadbalancer.js +1 -3
- package/loadbalancer.js.map +1 -1
- package/loadbalancerAcl.d.ts +0 -2
- package/loadbalancerAcl.js +0 -2
- package/loadbalancerAcl.js.map +1 -1
- package/loadbalancerBackend.d.ts +0 -2
- package/loadbalancerBackend.js +0 -2
- package/loadbalancerBackend.js.map +1 -1
- package/loadbalancerCertificate.d.ts +30 -2
- package/loadbalancerCertificate.js +30 -2
- package/loadbalancerCertificate.js.map +1 -1
- package/loadbalancerFrontend.d.ts +0 -2
- package/loadbalancerFrontend.js +0 -2
- package/loadbalancerFrontend.js.map +1 -1
- package/loadbalancerIp.d.ts +0 -2
- package/loadbalancerIp.js +0 -2
- package/loadbalancerIp.js.map +1 -1
- package/loadbalancerRoute.d.ts +0 -2
- package/loadbalancerRoute.js +0 -2
- package/loadbalancerRoute.js.map +1 -1
- package/loadbalancers/acl.d.ts +0 -2
- package/loadbalancers/acl.js +0 -2
- package/loadbalancers/acl.js.map +1 -1
- package/loadbalancers/backend.d.ts +0 -2
- package/loadbalancers/backend.js +0 -2
- package/loadbalancers/backend.js.map +1 -1
- package/loadbalancers/certificate.d.ts +30 -2
- package/loadbalancers/certificate.js +30 -2
- package/loadbalancers/certificate.js.map +1 -1
- package/loadbalancers/frontend.d.ts +0 -2
- package/loadbalancers/frontend.js +0 -2
- package/loadbalancers/frontend.js.map +1 -1
- package/loadbalancers/getCertificate.d.ts +2 -2
- package/loadbalancers/getCertificate.js +2 -2
- package/loadbalancers/ip.d.ts +0 -2
- package/loadbalancers/ip.js +0 -2
- package/loadbalancers/ip.js.map +1 -1
- package/loadbalancers/loadBalancer.d.ts +1 -3
- package/loadbalancers/loadBalancer.js +1 -3
- package/loadbalancers/loadBalancer.js.map +1 -1
- package/loadbalancers/privateNetwork.d.ts +0 -2
- package/loadbalancers/privateNetwork.js +0 -2
- package/loadbalancers/privateNetwork.js.map +1 -1
- package/loadbalancers/route.d.ts +0 -2
- package/loadbalancers/route.js +0 -2
- package/loadbalancers/route.js.map +1 -1
- package/mnq/natsAccount.d.ts +0 -2
- package/mnq/natsAccount.js +0 -2
- package/mnq/natsAccount.js.map +1 -1
- package/mnq/natsCredentials.d.ts +0 -2
- package/mnq/natsCredentials.js +0 -2
- package/mnq/natsCredentials.js.map +1 -1
- package/mnq/sns.d.ts +0 -2
- package/mnq/sns.js +0 -2
- package/mnq/sns.js.map +1 -1
- package/mnq/snsCredentials.d.ts +0 -2
- package/mnq/snsCredentials.js +0 -2
- package/mnq/snsCredentials.js.map +1 -1
- package/mnq/snsTopic.d.ts +0 -2
- package/mnq/snsTopic.js +0 -2
- package/mnq/snsTopic.js.map +1 -1
- package/mnq/snsTopicSubscription.d.ts +0 -2
- package/mnq/snsTopicSubscription.js +0 -2
- package/mnq/snsTopicSubscription.js.map +1 -1
- package/mnq/sqs.d.ts +0 -2
- package/mnq/sqs.js +0 -2
- package/mnq/sqs.js.map +1 -1
- package/mnq/sqsCredentials.d.ts +0 -2
- package/mnq/sqsCredentials.js +0 -2
- package/mnq/sqsCredentials.js.map +1 -1
- package/mnqNatsAccount.d.ts +0 -2
- package/mnqNatsAccount.js +0 -2
- package/mnqNatsAccount.js.map +1 -1
- package/mnqNatsCredentials.d.ts +0 -2
- package/mnqNatsCredentials.js +0 -2
- package/mnqNatsCredentials.js.map +1 -1
- package/mnqSns.d.ts +0 -2
- package/mnqSns.js +0 -2
- package/mnqSns.js.map +1 -1
- package/mnqSnsCredentials.d.ts +0 -2
- package/mnqSnsCredentials.js +0 -2
- package/mnqSnsCredentials.js.map +1 -1
- package/mnqSnsTopic.d.ts +0 -2
- package/mnqSnsTopic.js +0 -2
- package/mnqSnsTopic.js.map +1 -1
- package/mnqSnsTopicSubscription.d.ts +0 -2
- package/mnqSnsTopicSubscription.js +0 -2
- package/mnqSnsTopicSubscription.js.map +1 -1
- package/mnqSqs.d.ts +0 -2
- package/mnqSqs.js +0 -2
- package/mnqSqs.js.map +1 -1
- package/mnqSqsCredentials.d.ts +0 -2
- package/mnqSqsCredentials.js +0 -2
- package/mnqSqsCredentials.js.map +1 -1
- package/mongoDbInstance.d.ts +9 -2
- package/mongoDbInstance.js +6 -2
- package/mongoDbInstance.js.map +1 -1
- package/mongoDbSnapshot.d.ts +0 -2
- package/mongoDbSnapshot.js +0 -2
- package/mongoDbSnapshot.js.map +1 -1
- package/mongodb/instance.d.ts +9 -2
- package/mongodb/instance.js +6 -2
- package/mongodb/instance.js.map +1 -1
- package/mongodb/snapshot.d.ts +0 -2
- package/mongodb/snapshot.js +0 -2
- package/mongodb/snapshot.js.map +1 -1
- package/mongodb/user.d.ts +8 -2
- package/mongodb/user.js +5 -2
- package/mongodb/user.js.map +1 -1
- package/network/acl.d.ts +0 -2
- package/network/acl.js +0 -2
- package/network/acl.js.map +1 -1
- package/network/connector.d.ts +0 -2
- package/network/connector.js +0 -2
- package/network/connector.js.map +1 -1
- package/network/gatewayNetwork.d.ts +0 -2
- package/network/gatewayNetwork.js +0 -2
- package/network/gatewayNetwork.js.map +1 -1
- package/network/privateNetwork.d.ts +0 -2
- package/network/privateNetwork.js +0 -2
- package/network/privateNetwork.js.map +1 -1
- package/network/publicGateway.d.ts +41 -2
- package/network/publicGateway.js +41 -2
- package/network/publicGateway.js.map +1 -1
- package/network/publicGatewayDhcp.d.ts +0 -2
- package/network/publicGatewayDhcp.js +0 -2
- package/network/publicGatewayDhcp.js.map +1 -1
- package/network/publicGatewayDhcpReservation.d.ts +0 -2
- package/network/publicGatewayDhcpReservation.js +0 -2
- package/network/publicGatewayDhcpReservation.js.map +1 -1
- package/network/publicGatewayIp.d.ts +0 -2
- package/network/publicGatewayIp.js +0 -2
- package/network/publicGatewayIp.js.map +1 -1
- package/network/publicGatewayIpReverseDns.d.ts +0 -2
- package/network/publicGatewayIpReverseDns.js +0 -2
- package/network/publicGatewayIpReverseDns.js.map +1 -1
- package/network/publicGatewayPatRule.d.ts +0 -2
- package/network/publicGatewayPatRule.js +0 -2
- package/network/publicGatewayPatRule.js.map +1 -1
- package/network/route.d.ts +0 -2
- package/network/route.js +0 -2
- package/network/route.js.map +1 -1
- package/network/vpc.d.ts +0 -2
- package/network/vpc.js +0 -2
- package/network/vpc.js.map +1 -1
- package/object/bucket.d.ts +1 -6
- package/object/bucket.js +1 -6
- package/object/bucket.js.map +1 -1
- package/object/bucketAcl.d.ts +27 -12
- package/object/bucketAcl.js +9 -6
- package/object/bucketAcl.js.map +1 -1
- package/object/bucketLockConfiguration.d.ts +19 -12
- package/object/bucketLockConfiguration.js +1 -6
- package/object/bucketLockConfiguration.js.map +1 -1
- package/object/bucketPolicy.d.ts +28 -15
- package/object/bucketPolicy.js +1 -6
- package/object/bucketPolicy.js.map +1 -1
- package/object/bucketServerSideEncryptionConfiguration.d.ts +1 -6
- package/object/bucketServerSideEncryptionConfiguration.js +1 -6
- package/object/bucketServerSideEncryptionConfiguration.js.map +1 -1
- package/object/bucketWebsiteConfiguration.d.ts +16 -9
- package/object/bucketWebsiteConfiguration.js +1 -6
- package/object/bucketWebsiteConfiguration.js.map +1 -1
- package/object/get.d.ts +6 -0
- package/object/get.js.map +1 -1
- package/object/getBucket.d.ts +6 -0
- package/object/getBucket.js.map +1 -1
- package/object/getBucketPolicy.d.ts +18 -0
- package/object/getBucketPolicy.js.map +1 -1
- package/object/item.d.ts +20 -13
- package/object/item.js +2 -7
- package/object/item.js.map +1 -1
- package/objectBucket.d.ts +1 -6
- package/objectBucket.js +1 -6
- package/objectBucket.js.map +1 -1
- package/objectBucketAcl.d.ts +27 -12
- package/objectBucketAcl.js +9 -6
- package/objectBucketAcl.js.map +1 -1
- package/objectBucketLockConfiguration.d.ts +19 -12
- package/objectBucketLockConfiguration.js +1 -6
- package/objectBucketLockConfiguration.js.map +1 -1
- package/objectBucketPolicy.d.ts +28 -15
- package/objectBucketPolicy.js +1 -6
- package/objectBucketPolicy.js.map +1 -1
- package/objectBucketWebsiteConfiguration.d.ts +16 -9
- package/objectBucketWebsiteConfiguration.js +1 -6
- package/objectBucketWebsiteConfiguration.js.map +1 -1
- package/objectItem.d.ts +20 -13
- package/objectItem.js +2 -7
- package/objectItem.js.map +1 -1
- package/observability/alertManager.d.ts +0 -2
- package/observability/alertManager.js +0 -2
- package/observability/alertManager.js.map +1 -1
- package/observability/cockpit.d.ts +90 -2
- package/observability/cockpit.js +90 -2
- package/observability/cockpit.js.map +1 -1
- package/observability/exporter.d.ts +0 -2
- package/observability/exporter.js +0 -2
- package/observability/exporter.js.map +1 -1
- package/observability/getGrafana.d.ts +154 -0
- package/observability/getGrafana.js +154 -0
- package/observability/getGrafana.js.map +1 -1
- package/observability/grafanaUser.d.ts +65 -2
- package/observability/grafanaUser.js +65 -2
- package/observability/grafanaUser.js.map +1 -1
- package/observability/source.d.ts +0 -2
- package/observability/source.js +0 -2
- package/observability/source.js.map +1 -1
- package/observability/token.d.ts +0 -2
- package/observability/token.js +0 -2
- package/observability/token.js.map +1 -1
- package/opensearch/deployment.d.ts +83 -2
- package/opensearch/deployment.js +83 -2
- package/opensearch/deployment.js.map +1 -1
- package/package.json +2 -2
- package/redis/cluster.d.ts +9 -2
- package/redis/cluster.js +6 -2
- package/redis/cluster.js.map +1 -1
- package/redisCluster.d.ts +9 -2
- package/redisCluster.js +6 -2
- package/redisCluster.js.map +1 -1
- package/registry/namespace.d.ts +0 -2
- package/registry/namespace.js +0 -2
- package/registry/namespace.js.map +1 -1
- package/registryNamespace.d.ts +0 -2
- package/registryNamespace.js +0 -2
- package/registryNamespace.js.map +1 -1
- package/s2svpn/connection.d.ts +0 -2
- package/s2svpn/connection.js +0 -2
- package/s2svpn/connection.js.map +1 -1
- package/s2svpn/customerGateway.d.ts +0 -2
- package/s2svpn/customerGateway.js +0 -2
- package/s2svpn/customerGateway.js.map +1 -1
- package/s2svpn/gateway.d.ts +0 -2
- package/s2svpn/gateway.js +0 -2
- package/s2svpn/gateway.js.map +1 -1
- package/s2svpn/routingPolicy.d.ts +0 -2
- package/s2svpn/routingPolicy.js +0 -2
- package/s2svpn/routingPolicy.js.map +1 -1
- package/sdbDatabase.d.ts +43 -2
- package/sdbDatabase.js +43 -2
- package/sdbDatabase.js.map +1 -1
- package/secret.d.ts +47 -5
- package/secret.js +44 -2
- package/secret.js.map +1 -1
- package/secretVersion.d.ts +8 -3
- package/secretVersion.js +8 -3
- package/secretVersion.js.map +1 -1
- package/secrets/secret.d.ts +47 -5
- package/secrets/secret.js +44 -2
- package/secrets/secret.js.map +1 -1
- package/secrets/version.d.ts +8 -3
- package/secrets/version.js +8 -3
- package/secrets/version.js.map +1 -1
- package/tem/blockedList.d.ts +0 -2
- package/tem/blockedList.js +0 -2
- package/tem/blockedList.js.map +1 -1
- package/tem/domain.d.ts +0 -2
- package/tem/domain.js +0 -2
- package/tem/domain.js.map +1 -1
- package/tem/domainValidation.d.ts +3 -0
- package/tem/domainValidation.js +3 -0
- package/tem/domainValidation.js.map +1 -1
- package/tem/webhook.d.ts +0 -2
- package/tem/webhook.js +0 -2
- package/tem/webhook.js.map +1 -1
- package/temDomain.d.ts +0 -2
- package/temDomain.js +0 -2
- package/temDomain.js.map +1 -1
- package/temDomainValidation.d.ts +3 -0
- package/temDomainValidation.js +3 -0
- package/temDomainValidation.js.map +1 -1
- package/temWebhook.d.ts +0 -2
- package/temWebhook.js +0 -2
- package/temWebhook.js.map +1 -1
- package/types/input.d.ts +46 -6
- package/types/output.d.ts +98 -6
- package/vpc.d.ts +0 -2
- package/vpc.js +0 -2
- package/vpc.js.map +1 -1
- package/vpcGatewayNetwork.d.ts +0 -2
- package/vpcGatewayNetwork.js +0 -2
- package/vpcGatewayNetwork.js.map +1 -1
- package/vpcPrivateNetwork.d.ts +0 -2
- package/vpcPrivateNetwork.js +0 -2
- package/vpcPrivateNetwork.js.map +1 -1
- package/vpcPublicGateway.d.ts +41 -2
- package/vpcPublicGateway.js +41 -2
- package/vpcPublicGateway.js.map +1 -1
- package/vpcPublicGatewayDhcp.d.ts +0 -2
- package/vpcPublicGatewayDhcp.js +0 -2
- package/vpcPublicGatewayDhcp.js.map +1 -1
- package/vpcPublicGatewayDhcpReservation.d.ts +0 -2
- package/vpcPublicGatewayDhcpReservation.js +0 -2
- package/vpcPublicGatewayDhcpReservation.js.map +1 -1
- package/vpcPublicGatewayIp.d.ts +0 -2
- package/vpcPublicGatewayIp.js +0 -2
- package/vpcPublicGatewayIp.js.map +1 -1
- package/vpcPublicGatewayIpReverseDns.d.ts +0 -2
- package/vpcPublicGatewayIpReverseDns.js +0 -2
- package/vpcPublicGatewayIpReverseDns.js.map +1 -1
- package/vpcPublicGatewayPatRule.d.ts +0 -2
- package/vpcPublicGatewayPatRule.js +0 -2
- package/vpcPublicGatewayPatRule.js.map +1 -1
- package/vpcRoute.d.ts +0 -2
- package/vpcRoute.js +0 -2
- package/vpcRoute.js.map +1 -1
- package/webhosting.d.ts +0 -2
- package/webhosting.js +0 -2
- package/webhosting.js.map +1 -1
|
@@ -74,18 +74,13 @@ const utilities = require("./utilities");
|
|
|
74
74
|
*
|
|
75
75
|
* Bucket website configurations can be imported using the `{region}/{bucketName}` identifier, as shown below:
|
|
76
76
|
*
|
|
77
|
-
* bash
|
|
78
|
-
*
|
|
79
77
|
* ```sh
|
|
80
78
|
* $ pulumi import scaleway:index/objectBucketWebsiteConfiguration:ObjectBucketWebsiteConfiguration some_bucket fr-par/some-bucket
|
|
81
79
|
* ```
|
|
82
80
|
*
|
|
83
|
-
*
|
|
84
|
-
*
|
|
81
|
+
* > **Important:** The `projectId` attribute has a particular behavior with s3 products because the s3 API is scoped by project.
|
|
85
82
|
* If you are using a project different from the default one, you have to specify the project ID at the end of the import command.
|
|
86
83
|
*
|
|
87
|
-
* bash
|
|
88
|
-
*
|
|
89
84
|
* ```sh
|
|
90
85
|
* $ pulumi import scaleway:index/objectBucketWebsiteConfiguration:ObjectBucketWebsiteConfiguration some_bucket fr-par/some-bucket@xxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxx
|
|
91
86
|
* ```
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"objectBucketWebsiteConfiguration.js","sourceRoot":"","sources":["../objectBucketWebsiteConfiguration.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"objectBucketWebsiteConfiguration.js","sourceRoot":"","sources":["../objectBucketWebsiteConfiguration.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiFG;AACH,MAAa,gCAAiC,SAAQ,MAAM,CAAC,cAAc;IACvE;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA6C,EAAE,IAAmC;QAC3I,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,wOAAwO,CAAC,CAAA;QACzP,OAAO,IAAI,gCAAgC,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACvF,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7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,EAAE,MAAM,CAAC;YACxC,cAAc,CAAC,eAAe,CAAC,GAAG,IAAI,EAAE,aAAa,CAAC;YACtD,cAAc,CAAC,eAAe,CAAC,GAAG,IAAI,EAAE,aAAa,CAAC;YACtD,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,EAAE,SAAS,CAAC;YAC9C,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC;YACxC,cAAc,CAAC,eAAe,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACpD,cAAc,CAAC,iBAAiB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACzD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,gCAAgC,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACrF,CAAC;;AAvGL,4EAwGC;AAzFG,gBAAgB;AACO,6CAAY,GAAG,kFAAkF,CAAC"}
|
package/objectItem.d.ts
CHANGED
|
@@ -16,7 +16,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
16
16
|
* bucket: someBucket.id,
|
|
17
17
|
* key: "object_path",
|
|
18
18
|
* file: "myfile",
|
|
19
|
-
* hash: std.
|
|
19
|
+
* hash: std.filemd5({
|
|
20
20
|
* input: "myfile",
|
|
21
21
|
* }).result,
|
|
22
22
|
* });
|
|
@@ -26,18 +26,13 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
26
26
|
*
|
|
27
27
|
* Objects can be imported using the `{region}/{bucketName}/{objectKey}` identifier, as shown below:
|
|
28
28
|
*
|
|
29
|
-
* bash
|
|
30
|
-
*
|
|
31
29
|
* ```sh
|
|
32
30
|
* $ pulumi import scaleway:index/objectItem:ObjectItem some_object fr-par/some-bucket/some-file
|
|
33
31
|
* ```
|
|
34
32
|
*
|
|
35
|
-
*
|
|
36
|
-
*
|
|
33
|
+
* > **Important:** The `projectId` attribute has a particular behavior with s3 products because the s3 API is scoped by project.
|
|
37
34
|
* If you are using a project different from the default one, you have to specify the project ID at the end of the import command.
|
|
38
35
|
*
|
|
39
|
-
* bash
|
|
40
|
-
*
|
|
41
36
|
* ```sh
|
|
42
37
|
* $ pulumi import scaleway:index/objectItem:ObjectItem some_object fr-par/some-bucket/some-file@xxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxx
|
|
43
38
|
* ```
|
|
@@ -61,7 +56,7 @@ export declare class ObjectItem extends pulumi.CustomResource {
|
|
|
61
56
|
*/
|
|
62
57
|
static isInstance(obj: any): obj is ObjectItem;
|
|
63
58
|
/**
|
|
64
|
-
* The bucket
|
|
59
|
+
* The name of the bucket, or its Terraform ID.
|
|
65
60
|
*/
|
|
66
61
|
readonly bucket: pulumi.Output<string>;
|
|
67
62
|
/**
|
|
@@ -97,7 +92,11 @@ export declare class ObjectItem extends pulumi.CustomResource {
|
|
|
97
92
|
[key: string]: string;
|
|
98
93
|
} | undefined>;
|
|
99
94
|
/**
|
|
100
|
-
* The
|
|
95
|
+
* `projectId`) The ID of the project the bucket is associated with.
|
|
96
|
+
*
|
|
97
|
+
* > **Important:** The `projectId` attribute has a particular behavior with s3 products because the s3 API is scoped by project.
|
|
98
|
+
* If you are using a project different from the default one, you have to specify the `projectId` for every child resource of the bucket,
|
|
99
|
+
* like objects. Otherwise, Terraform will try to create the child resource with the default project ID and you will get a 403 error.
|
|
101
100
|
*/
|
|
102
101
|
readonly projectId: pulumi.Output<string>;
|
|
103
102
|
/**
|
|
@@ -137,7 +136,7 @@ export declare class ObjectItem extends pulumi.CustomResource {
|
|
|
137
136
|
*/
|
|
138
137
|
export interface ObjectItemState {
|
|
139
138
|
/**
|
|
140
|
-
* The bucket
|
|
139
|
+
* The name of the bucket, or its Terraform ID.
|
|
141
140
|
*/
|
|
142
141
|
bucket?: pulumi.Input<string>;
|
|
143
142
|
/**
|
|
@@ -173,7 +172,11 @@ export interface ObjectItemState {
|
|
|
173
172
|
[key: string]: pulumi.Input<string>;
|
|
174
173
|
}>;
|
|
175
174
|
/**
|
|
176
|
-
* The
|
|
175
|
+
* `projectId`) The ID of the project the bucket is associated with.
|
|
176
|
+
*
|
|
177
|
+
* > **Important:** The `projectId` attribute has a particular behavior with s3 products because the s3 API is scoped by project.
|
|
178
|
+
* If you are using a project different from the default one, you have to specify the `projectId` for every child resource of the bucket,
|
|
179
|
+
* like objects. Otherwise, Terraform will try to create the child resource with the default project ID and you will get a 403 error.
|
|
177
180
|
*/
|
|
178
181
|
projectId?: pulumi.Input<string>;
|
|
179
182
|
/**
|
|
@@ -204,7 +207,7 @@ export interface ObjectItemState {
|
|
|
204
207
|
*/
|
|
205
208
|
export interface ObjectItemArgs {
|
|
206
209
|
/**
|
|
207
|
-
* The bucket
|
|
210
|
+
* The name of the bucket, or its Terraform ID.
|
|
208
211
|
*/
|
|
209
212
|
bucket: pulumi.Input<string>;
|
|
210
213
|
/**
|
|
@@ -240,7 +243,11 @@ export interface ObjectItemArgs {
|
|
|
240
243
|
[key: string]: pulumi.Input<string>;
|
|
241
244
|
}>;
|
|
242
245
|
/**
|
|
243
|
-
* The
|
|
246
|
+
* `projectId`) The ID of the project the bucket is associated with.
|
|
247
|
+
*
|
|
248
|
+
* > **Important:** The `projectId` attribute has a particular behavior with s3 products because the s3 API is scoped by project.
|
|
249
|
+
* If you are using a project different from the default one, you have to specify the `projectId` for every child resource of the bucket,
|
|
250
|
+
* like objects. Otherwise, Terraform will try to create the child resource with the default project ID and you will get a 403 error.
|
|
244
251
|
*/
|
|
245
252
|
projectId?: pulumi.Input<string>;
|
|
246
253
|
/**
|
package/objectItem.js
CHANGED
|
@@ -22,7 +22,7 @@ const utilities = require("./utilities");
|
|
|
22
22
|
* bucket: someBucket.id,
|
|
23
23
|
* key: "object_path",
|
|
24
24
|
* file: "myfile",
|
|
25
|
-
* hash: std.
|
|
25
|
+
* hash: std.filemd5({
|
|
26
26
|
* input: "myfile",
|
|
27
27
|
* }).result,
|
|
28
28
|
* });
|
|
@@ -32,18 +32,13 @@ const utilities = require("./utilities");
|
|
|
32
32
|
*
|
|
33
33
|
* Objects can be imported using the `{region}/{bucketName}/{objectKey}` identifier, as shown below:
|
|
34
34
|
*
|
|
35
|
-
* bash
|
|
36
|
-
*
|
|
37
35
|
* ```sh
|
|
38
36
|
* $ pulumi import scaleway:index/objectItem:ObjectItem some_object fr-par/some-bucket/some-file
|
|
39
37
|
* ```
|
|
40
38
|
*
|
|
41
|
-
*
|
|
42
|
-
*
|
|
39
|
+
* > **Important:** The `projectId` attribute has a particular behavior with s3 products because the s3 API is scoped by project.
|
|
43
40
|
* If you are using a project different from the default one, you have to specify the project ID at the end of the import command.
|
|
44
41
|
*
|
|
45
|
-
* bash
|
|
46
|
-
*
|
|
47
42
|
* ```sh
|
|
48
43
|
* $ pulumi import scaleway:index/objectItem:ObjectItem some_object fr-par/some-bucket/some-file@xxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxx
|
|
49
44
|
* ```
|
package/objectItem.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"objectItem.js","sourceRoot":"","sources":["../objectItem.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"objectItem.js","sourceRoot":"","sources":["../objectItem.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;AACH,MAAa,UAAW,SAAQ,MAAM,CAAC,cAAc;IACjD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAuB,EAAE,IAAmC;QACrH,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,0HAA0H,CAAC,CAAA;QAC3I,OAAO,IAAI,UAAU,CAAC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CAAC,IAAI,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;YACzG,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,EAAE,YAAY,CAAC;YACpD,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,EAAE,UAAU,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,gBAAgB,CAAC,EAAE,CAAC;QACnE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,UAAU,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC/D,CAAC;;AArJL,gCAsJC;AAvIG,gBAAgB;AACO,uBAAY,GAAG,sCAAsC,CAAC"}
|
|
@@ -72,8 +72,6 @@ import * as outputs from "../types/output";
|
|
|
72
72
|
*
|
|
73
73
|
* This section explains how to import alert managers using the ID of the Project associated with Cockpit.
|
|
74
74
|
*
|
|
75
|
-
* bash
|
|
76
|
-
*
|
|
77
75
|
* ```sh
|
|
78
76
|
* $ pulumi import scaleway:observability/alertManager:AlertManager main fr-par/11111111-1111-1111-1111-111111111111
|
|
79
77
|
* ```
|
|
@@ -76,8 +76,6 @@ const utilities = require("../utilities");
|
|
|
76
76
|
*
|
|
77
77
|
* This section explains how to import alert managers using the ID of the Project associated with Cockpit.
|
|
78
78
|
*
|
|
79
|
-
* bash
|
|
80
|
-
*
|
|
81
79
|
* ```sh
|
|
82
80
|
* $ pulumi import scaleway:observability/alertManager:AlertManager main fr-par/11111111-1111-1111-1111-111111111111
|
|
83
81
|
* ```
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"alertManager.js","sourceRoot":"","sources":["../../observability/alertManager.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"alertManager.js","sourceRoot":"","sources":["../../observability/alertManager.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0EG;AACH,MAAa,YAAa,SAAQ,MAAM,CAAC,cAAc;IACnD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAyB,EAAE,IAAmC;QACvH,OAAO,IAAI,YAAY,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACnE,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,YAAY,CAAC,YAAY,CAAC;IAC7D,CAAC;IAqCD,YAAY,IAAY,EAAE,WAAkD,EAAE,IAAmC;QAC7G,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA4C,CAAC;YAC3D,cAAc,CAAC,iBAAiB,CAAC,GAAG,KAAK,EAAE,eAAe,CAAC;YAC3D,cAAc,CAAC,eAAe,CAAC,GAAG,KAAK,EAAE,aAAa,CAAC;YACvD,cAAc,CAAC,qBAAqB,CAAC,GAAG,KAAK,EAAE,mBAAmB,CAAC;YACnE,cAAc,CAAC,uBAAuB,CAAC,GAAG,KAAK,EAAE,qBAAqB,CAAC;YACvE,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,EAAE,SAAS,CAAC;YAC/C,cAAc,CAAC,QAAQ,CAAC,GAAG,KAAK,EAAE,MAAM,CAAC;SAC5C;aAAM;YACH,MAAM,IAAI,GAAG,WAA2C,CAAC;YACzD,cAAc,CAAC,eAAe,CAAC,GAAG,IAAI,EAAE,aAAa,CAAC;YACtD,cAAc,CAAC,qBAAqB,CAAC,GAAG,IAAI,EAAE,mBAAmB,CAAC;YAClE,cAAc,CAAC,uBAAuB,CAAC,GAAG,IAAI,EAAE,qBAAqB,CAAC;YACtE,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,EAAE,SAAS,CAAC;YAC9C,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC;YACxC,cAAc,CAAC,iBAAiB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACzD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,SAAS,GAAG,EAAE,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,wDAAwD,EAAE,CAAC,EAAE,CAAC;QACpG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,SAAS,CAAC,CAAC;QAC5C,KAAK,CAAC,YAAY,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACjE,CAAC;;AAvFL,oCAwFC;AA1EG,gBAAgB;AACO,yBAAY,GAAG,kDAAkD,CAAC"}
|
|
@@ -2,15 +2,103 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
import * as inputs from "../types/input";
|
|
3
3
|
import * as outputs from "../types/output";
|
|
4
4
|
/**
|
|
5
|
+
* > **Important:** The resource `scaleway.observability.Cockpit` has been deprecated and will no longer be supported after January 1st, 2025. Instead, use the new specialized resources:
|
|
6
|
+
*
|
|
7
|
+
* - `scaleway.observability.Source` for managing data sources (metrics, logs, traces)
|
|
8
|
+
* - `scaleway.observability.AlertManager` for managing alert manager
|
|
9
|
+
* - `scaleway.observability.getGrafana` data source for accessing Grafana (authentication via IAM)
|
|
10
|
+
*
|
|
11
|
+
* For detailed migration instructions, see the Cockpit Migration Guide.
|
|
12
|
+
*
|
|
13
|
+
* > **Note:**
|
|
14
|
+
* As of September 2024, Cockpit has introduced [regionalization](https://www.scaleway.com/en/docs/observability/cockpit/concepts/#region) to offer more flexibility and resilience.
|
|
15
|
+
* If you have created customized dashboards with data for your Scaleway resources before April 2024, you will need to update your queries in Grafana, with the new regionalized data sources.
|
|
16
|
+
*
|
|
17
|
+
* > **Note:**
|
|
18
|
+
* From January 1st 2025, Cockpit plans have been deprecated. You can now edit the retention period for all your datasources (metrics, logs, and traces) separately. Refer to our product documentation for more information on [possible retention values](https://www.scaleway.com/en/docs/cockpit/concepts/#retention) and [pricing](https://www.scaleway.com/en/docs/cockpit/faq/#how-am-i-billed-for-increasing-data-retention-period).
|
|
19
|
+
*
|
|
20
|
+
* > **Note:** The `scaleway.observability.GrafanaUser` resource is deprecated. Use the `scaleway.observability.getGrafana` data source to retrieve the Grafana URL and authenticate using your Scaleway IAM credentials.
|
|
21
|
+
*
|
|
22
|
+
* The `scaleway.observability.Cockpit` resource allows you to create and manage Scaleway Cockpit instances.
|
|
23
|
+
*
|
|
24
|
+
* Refer to Cockpit's [product documentation](https://www.scaleway.com/en/docs/observability/cockpit/concepts/) and [API documentation](https://www.scaleway.com/en/developers/api/cockpit/regional-api) for more information.
|
|
25
|
+
*
|
|
26
|
+
* ## Example Usage
|
|
27
|
+
*
|
|
28
|
+
* ### Manage Cockpit in the Scaleway default Project
|
|
29
|
+
*
|
|
30
|
+
* ```typescript
|
|
31
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
32
|
+
* import * as scaleway from "@pulumiverse/scaleway";
|
|
33
|
+
*
|
|
34
|
+
* // Activate Cockpit in the default Project
|
|
35
|
+
* const main = new scaleway.observability.Cockpit("main", {});
|
|
36
|
+
* ```
|
|
37
|
+
*
|
|
38
|
+
* ### Manage Cockpit in a specific Project
|
|
39
|
+
*
|
|
40
|
+
* ```typescript
|
|
41
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
42
|
+
* import * as scaleway from "@pulumiverse/scaleway";
|
|
43
|
+
*
|
|
44
|
+
* // Activate Cockpit in a specific Project
|
|
45
|
+
* const main = new scaleway.observability.Cockpit("main", {projectId: "11111111-1111-1111-1111-111111111111"});
|
|
46
|
+
* ```
|
|
47
|
+
*
|
|
48
|
+
* ### Choose a specific pricing plan for Cockpit
|
|
49
|
+
*
|
|
50
|
+
* ```typescript
|
|
51
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
52
|
+
* import * as scaleway from "@pulumiverse/scaleway";
|
|
53
|
+
*
|
|
54
|
+
* const main = new scaleway.observability.Cockpit("main", {
|
|
55
|
+
* projectId: "11111111-1111-1111-1111-111111111111",
|
|
56
|
+
* plan: "premium",
|
|
57
|
+
* });
|
|
58
|
+
* ```
|
|
59
|
+
*
|
|
60
|
+
* ### Use the Grafana Terraform provider (Deprecated)
|
|
61
|
+
*
|
|
62
|
+
* > **Note:** This example is deprecated. Use the `scaleway.observability.getGrafana` data source with IAM authentication instead.
|
|
63
|
+
*
|
|
64
|
+
* ```typescript
|
|
65
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
66
|
+
* import * as scaleway from "@pulumiverse/scaleway";
|
|
67
|
+
*
|
|
68
|
+
* // Old approach (deprecated) - Using scaleway_cockpit_grafana_user
|
|
69
|
+
* // resource "scaleway_cockpit_grafana_user" "main" {
|
|
70
|
+
* // project_id = scaleway_cockpit.main.project_id
|
|
71
|
+
* // login = "example"
|
|
72
|
+
* // role = "editor"
|
|
73
|
+
* // }
|
|
74
|
+
* //
|
|
75
|
+
* // provider "grafana" {
|
|
76
|
+
* // url = scaleway_cockpit.main.endpoints.0.grafana_url
|
|
77
|
+
* // auth = "${scaleway_cockpit_grafana_user.main.login}:${scaleway_cockpit_grafana_user.main.password}"
|
|
78
|
+
* // }
|
|
79
|
+
* // New approach - Use scaleway_cockpit_grafana data source with IAM auth
|
|
80
|
+
* const main = scaleway.observability.getGrafana({
|
|
81
|
+
* projectId: mainScalewayCockpit.projectId,
|
|
82
|
+
* });
|
|
83
|
+
* ```
|
|
84
|
+
*
|
|
85
|
+
* ## Migration
|
|
86
|
+
*
|
|
87
|
+
* This resource is deprecated and will be removed after January 1st, 2025. To migrate to the new infrastructure, please refer to the Cockpit Migration Guide which provides step-by-step instructions for transitioning to:
|
|
88
|
+
*
|
|
89
|
+
* - `scaleway.observability.Source` for managing data sources (metrics, logs, traces)
|
|
90
|
+
* - `scaleway.observability.AlertManager` for managing alert manager
|
|
91
|
+
* - `scaleway.observability.getGrafana` data source for accessing Grafana (with IAM authentication)
|
|
92
|
+
*
|
|
5
93
|
* ## Import
|
|
6
94
|
*
|
|
7
95
|
* This section explains how to import a Cockpit using its `{project_id}`.
|
|
8
96
|
*
|
|
9
|
-
* bash
|
|
10
|
-
*
|
|
11
97
|
* ```sh
|
|
12
98
|
* $ pulumi import scaleway:observability/cockpit:Cockpit main 11111111-1111-1111-1111-111111111111
|
|
13
99
|
* ```
|
|
100
|
+
*
|
|
101
|
+
* > **Note:** Import functionality will be removed when this resource is deprecated.
|
|
14
102
|
*/
|
|
15
103
|
export declare class Cockpit extends pulumi.CustomResource {
|
|
16
104
|
/**
|
package/observability/cockpit.js
CHANGED
|
@@ -6,15 +6,103 @@ exports.Cockpit = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
/**
|
|
9
|
+
* > **Important:** The resource `scaleway.observability.Cockpit` has been deprecated and will no longer be supported after January 1st, 2025. Instead, use the new specialized resources:
|
|
10
|
+
*
|
|
11
|
+
* - `scaleway.observability.Source` for managing data sources (metrics, logs, traces)
|
|
12
|
+
* - `scaleway.observability.AlertManager` for managing alert manager
|
|
13
|
+
* - `scaleway.observability.getGrafana` data source for accessing Grafana (authentication via IAM)
|
|
14
|
+
*
|
|
15
|
+
* For detailed migration instructions, see the Cockpit Migration Guide.
|
|
16
|
+
*
|
|
17
|
+
* > **Note:**
|
|
18
|
+
* As of September 2024, Cockpit has introduced [regionalization](https://www.scaleway.com/en/docs/observability/cockpit/concepts/#region) to offer more flexibility and resilience.
|
|
19
|
+
* If you have created customized dashboards with data for your Scaleway resources before April 2024, you will need to update your queries in Grafana, with the new regionalized data sources.
|
|
20
|
+
*
|
|
21
|
+
* > **Note:**
|
|
22
|
+
* From January 1st 2025, Cockpit plans have been deprecated. You can now edit the retention period for all your datasources (metrics, logs, and traces) separately. Refer to our product documentation for more information on [possible retention values](https://www.scaleway.com/en/docs/cockpit/concepts/#retention) and [pricing](https://www.scaleway.com/en/docs/cockpit/faq/#how-am-i-billed-for-increasing-data-retention-period).
|
|
23
|
+
*
|
|
24
|
+
* > **Note:** The `scaleway.observability.GrafanaUser` resource is deprecated. Use the `scaleway.observability.getGrafana` data source to retrieve the Grafana URL and authenticate using your Scaleway IAM credentials.
|
|
25
|
+
*
|
|
26
|
+
* The `scaleway.observability.Cockpit` resource allows you to create and manage Scaleway Cockpit instances.
|
|
27
|
+
*
|
|
28
|
+
* Refer to Cockpit's [product documentation](https://www.scaleway.com/en/docs/observability/cockpit/concepts/) and [API documentation](https://www.scaleway.com/en/developers/api/cockpit/regional-api) for more information.
|
|
29
|
+
*
|
|
30
|
+
* ## Example Usage
|
|
31
|
+
*
|
|
32
|
+
* ### Manage Cockpit in the Scaleway default Project
|
|
33
|
+
*
|
|
34
|
+
* ```typescript
|
|
35
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
36
|
+
* import * as scaleway from "@pulumiverse/scaleway";
|
|
37
|
+
*
|
|
38
|
+
* // Activate Cockpit in the default Project
|
|
39
|
+
* const main = new scaleway.observability.Cockpit("main", {});
|
|
40
|
+
* ```
|
|
41
|
+
*
|
|
42
|
+
* ### Manage Cockpit in a specific Project
|
|
43
|
+
*
|
|
44
|
+
* ```typescript
|
|
45
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
46
|
+
* import * as scaleway from "@pulumiverse/scaleway";
|
|
47
|
+
*
|
|
48
|
+
* // Activate Cockpit in a specific Project
|
|
49
|
+
* const main = new scaleway.observability.Cockpit("main", {projectId: "11111111-1111-1111-1111-111111111111"});
|
|
50
|
+
* ```
|
|
51
|
+
*
|
|
52
|
+
* ### Choose a specific pricing plan for Cockpit
|
|
53
|
+
*
|
|
54
|
+
* ```typescript
|
|
55
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
56
|
+
* import * as scaleway from "@pulumiverse/scaleway";
|
|
57
|
+
*
|
|
58
|
+
* const main = new scaleway.observability.Cockpit("main", {
|
|
59
|
+
* projectId: "11111111-1111-1111-1111-111111111111",
|
|
60
|
+
* plan: "premium",
|
|
61
|
+
* });
|
|
62
|
+
* ```
|
|
63
|
+
*
|
|
64
|
+
* ### Use the Grafana Terraform provider (Deprecated)
|
|
65
|
+
*
|
|
66
|
+
* > **Note:** This example is deprecated. Use the `scaleway.observability.getGrafana` data source with IAM authentication instead.
|
|
67
|
+
*
|
|
68
|
+
* ```typescript
|
|
69
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
70
|
+
* import * as scaleway from "@pulumiverse/scaleway";
|
|
71
|
+
*
|
|
72
|
+
* // Old approach (deprecated) - Using scaleway_cockpit_grafana_user
|
|
73
|
+
* // resource "scaleway_cockpit_grafana_user" "main" {
|
|
74
|
+
* // project_id = scaleway_cockpit.main.project_id
|
|
75
|
+
* // login = "example"
|
|
76
|
+
* // role = "editor"
|
|
77
|
+
* // }
|
|
78
|
+
* //
|
|
79
|
+
* // provider "grafana" {
|
|
80
|
+
* // url = scaleway_cockpit.main.endpoints.0.grafana_url
|
|
81
|
+
* // auth = "${scaleway_cockpit_grafana_user.main.login}:${scaleway_cockpit_grafana_user.main.password}"
|
|
82
|
+
* // }
|
|
83
|
+
* // New approach - Use scaleway_cockpit_grafana data source with IAM auth
|
|
84
|
+
* const main = scaleway.observability.getGrafana({
|
|
85
|
+
* projectId: mainScalewayCockpit.projectId,
|
|
86
|
+
* });
|
|
87
|
+
* ```
|
|
88
|
+
*
|
|
89
|
+
* ## Migration
|
|
90
|
+
*
|
|
91
|
+
* This resource is deprecated and will be removed after January 1st, 2025. To migrate to the new infrastructure, please refer to the Cockpit Migration Guide which provides step-by-step instructions for transitioning to:
|
|
92
|
+
*
|
|
93
|
+
* - `scaleway.observability.Source` for managing data sources (metrics, logs, traces)
|
|
94
|
+
* - `scaleway.observability.AlertManager` for managing alert manager
|
|
95
|
+
* - `scaleway.observability.getGrafana` data source for accessing Grafana (with IAM authentication)
|
|
96
|
+
*
|
|
9
97
|
* ## Import
|
|
10
98
|
*
|
|
11
99
|
* This section explains how to import a Cockpit using its `{project_id}`.
|
|
12
100
|
*
|
|
13
|
-
* bash
|
|
14
|
-
*
|
|
15
101
|
* ```sh
|
|
16
102
|
* $ pulumi import scaleway:observability/cockpit:Cockpit main 11111111-1111-1111-1111-111111111111
|
|
17
103
|
* ```
|
|
104
|
+
*
|
|
105
|
+
* > **Note:** Import functionality will be removed when this resource is deprecated.
|
|
18
106
|
*/
|
|
19
107
|
class Cockpit extends pulumi.CustomResource {
|
|
20
108
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cockpit.js","sourceRoot":"","sources":["../../observability/cockpit.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"cockpit.js","sourceRoot":"","sources":["../../observability/cockpit.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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C;YAC9C,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC7C,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAClD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,SAAS,GAAG,EAAE,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,gCAAgC,EAAE,CAAC,EAAE,CAAC;QAC5E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,SAAS,CAAC,CAAC;QAC5C,KAAK,CAAC,OAAO,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5D,CAAC;;AA1FL,0BA2FC;AA7EG,gBAAgB;AACO,oBAAY,GAAG,wCAAwC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"exporter.js","sourceRoot":"","sources":["../../observability/exporter.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"exporter.js","sourceRoot":"","sources":["../../observability/exporter.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2EG;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,EAAE,EAAE,G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AAE,YAAY,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC/C,MAAM,IAAI,KAAK,CAAC,0CAA0C,CAAC,CAAC;aAC/D;YACD,cAAc,CAAC,oBAAoB,CAAC,GAAG,IAAI,EAAE,kBAAkB,CAAC;YAChE,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,EAAE,YAAY,CAAC;YACpD,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,EAAE,WAAW,CAAC;YAClD,cAAc,CAAC,kBAAkB,CAAC,GAAG,IAAI,EAAE,gBAAgB,CAAC;YAC5D,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,iBAAiB,CAAC,GAAG,IAAI,EAAE,eAAe,CAAC;YAC1D,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,EAAE,SAAS,CAAC;YAC9C,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC;YACxC,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC7C,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,KAAK,CAAC,QAAQ,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC7D,CAAC;;AApHL,4BAqHC;AAvGG,gBAAgB;AACO,qBAAY,GAAG,0CAA0C,CAAC"}
|
|
@@ -1,4 +1,81 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Gets information about Scaleway Cockpit's Grafana instance for a specific project.
|
|
4
|
+
*
|
|
5
|
+
* This data source provides the Grafana URL and project details. Authentication is managed through [Scaleway IAM (Identity and Access Management)](https://www.scaleway.com/en/docs/identity-and-access-management/iam/).
|
|
6
|
+
*
|
|
7
|
+
* Refer to Cockpit's [product documentation](https://www.scaleway.com/en/docs/observability/cockpit/concepts/) and [API documentation](https://www.scaleway.com/en/developers/api/cockpit/regional-api) for more information.
|
|
8
|
+
*
|
|
9
|
+
* ## Example Usage
|
|
10
|
+
*
|
|
11
|
+
* ### Basic usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as scaleway from "@pulumiverse/scaleway";
|
|
16
|
+
*
|
|
17
|
+
* const main = scaleway.observability.getGrafana({
|
|
18
|
+
* projectId: project.id,
|
|
19
|
+
* });
|
|
20
|
+
* export const grafanaUrl = main.then(main => main.grafanaUrl);
|
|
21
|
+
* ```
|
|
22
|
+
*
|
|
23
|
+
* ### Using with default project
|
|
24
|
+
*
|
|
25
|
+
* ```typescript
|
|
26
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
27
|
+
* import * as scaleway from "@pulumiverse/scaleway";
|
|
28
|
+
*
|
|
29
|
+
* // Uses the default project from provider configuration
|
|
30
|
+
* const main = scaleway.observability.getGrafana({});
|
|
31
|
+
* export const grafanaUrl = main.then(main => main.grafanaUrl);
|
|
32
|
+
* ```
|
|
33
|
+
*
|
|
34
|
+
* ### Complete example with Cockpit setup
|
|
35
|
+
*
|
|
36
|
+
* ```typescript
|
|
37
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
38
|
+
* import * as scaleway from "@pulumiverse/scaleway";
|
|
39
|
+
*
|
|
40
|
+
* const project = new scaleway.account.Project("project", {name: "my-observability-project"});
|
|
41
|
+
* const mainCockpit = new scaleway.observability.Cockpit("main", {projectId: project.id});
|
|
42
|
+
* const main = scaleway.observability.getGrafanaOutput({
|
|
43
|
+
* projectId: mainCockpit.projectId,
|
|
44
|
+
* });
|
|
45
|
+
* export const grafanaConnectionInfo = {
|
|
46
|
+
* url: main.apply(main => main.grafanaUrl),
|
|
47
|
+
* projectId: main.apply(main => main.projectId),
|
|
48
|
+
* };
|
|
49
|
+
* ```
|
|
50
|
+
*
|
|
51
|
+
* ### Using the Grafana Terraform provider
|
|
52
|
+
*
|
|
53
|
+
* When you need to configure Grafana resources programmatically, supply the IAM secret key as an `X-Auth-Token` header. The Grafana provider itself stays in `anonymous` mode.
|
|
54
|
+
*
|
|
55
|
+
* ```typescript
|
|
56
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
57
|
+
* import * as scaleway from "@pulumiverse/scaleway";
|
|
58
|
+
*
|
|
59
|
+
* const config = new pulumi.Config();
|
|
60
|
+
* // Scaleway IAM secret key reused by the Grafana provider
|
|
61
|
+
* const scalewaySecretKey = config.require("scalewaySecretKey");
|
|
62
|
+
* const main = scaleway.observability.getGrafana({
|
|
63
|
+
* projectId: project.id,
|
|
64
|
+
* });
|
|
65
|
+
* ```
|
|
66
|
+
*
|
|
67
|
+
* Keep the secret key in a secure backend (environment variables, Vault, etc.) and never commit it to source control.
|
|
68
|
+
*
|
|
69
|
+
* ## Authentication
|
|
70
|
+
*
|
|
71
|
+
* To access Grafana, use your Scaleway IAM credentials:
|
|
72
|
+
*
|
|
73
|
+
* 1. Navigate to the `grafanaUrl` provided by this data source
|
|
74
|
+
* 2. Sign in using your Scaleway account (IAM authentication)
|
|
75
|
+
* 3. Your access level is determined by your IAM permissions on the project
|
|
76
|
+
*
|
|
77
|
+
* For more information about IAM authentication, see the [Scaleway IAM documentation](https://www.scaleway.com/en/docs/identity-and-access-management/iam/).
|
|
78
|
+
*/
|
|
2
79
|
export declare function getGrafana(args?: GetGrafanaArgs, opts?: pulumi.InvokeOptions): Promise<GetGrafanaResult>;
|
|
3
80
|
/**
|
|
4
81
|
* A collection of arguments for invoking getGrafana.
|
|
@@ -23,6 +100,83 @@ export interface GetGrafanaResult {
|
|
|
23
100
|
readonly id: string;
|
|
24
101
|
readonly projectId: string;
|
|
25
102
|
}
|
|
103
|
+
/**
|
|
104
|
+
* Gets information about Scaleway Cockpit's Grafana instance for a specific project.
|
|
105
|
+
*
|
|
106
|
+
* This data source provides the Grafana URL and project details. Authentication is managed through [Scaleway IAM (Identity and Access Management)](https://www.scaleway.com/en/docs/identity-and-access-management/iam/).
|
|
107
|
+
*
|
|
108
|
+
* Refer to Cockpit's [product documentation](https://www.scaleway.com/en/docs/observability/cockpit/concepts/) and [API documentation](https://www.scaleway.com/en/developers/api/cockpit/regional-api) for more information.
|
|
109
|
+
*
|
|
110
|
+
* ## Example Usage
|
|
111
|
+
*
|
|
112
|
+
* ### Basic usage
|
|
113
|
+
*
|
|
114
|
+
* ```typescript
|
|
115
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
116
|
+
* import * as scaleway from "@pulumiverse/scaleway";
|
|
117
|
+
*
|
|
118
|
+
* const main = scaleway.observability.getGrafana({
|
|
119
|
+
* projectId: project.id,
|
|
120
|
+
* });
|
|
121
|
+
* export const grafanaUrl = main.then(main => main.grafanaUrl);
|
|
122
|
+
* ```
|
|
123
|
+
*
|
|
124
|
+
* ### Using with default project
|
|
125
|
+
*
|
|
126
|
+
* ```typescript
|
|
127
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
128
|
+
* import * as scaleway from "@pulumiverse/scaleway";
|
|
129
|
+
*
|
|
130
|
+
* // Uses the default project from provider configuration
|
|
131
|
+
* const main = scaleway.observability.getGrafana({});
|
|
132
|
+
* export const grafanaUrl = main.then(main => main.grafanaUrl);
|
|
133
|
+
* ```
|
|
134
|
+
*
|
|
135
|
+
* ### Complete example with Cockpit setup
|
|
136
|
+
*
|
|
137
|
+
* ```typescript
|
|
138
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
139
|
+
* import * as scaleway from "@pulumiverse/scaleway";
|
|
140
|
+
*
|
|
141
|
+
* const project = new scaleway.account.Project("project", {name: "my-observability-project"});
|
|
142
|
+
* const mainCockpit = new scaleway.observability.Cockpit("main", {projectId: project.id});
|
|
143
|
+
* const main = scaleway.observability.getGrafanaOutput({
|
|
144
|
+
* projectId: mainCockpit.projectId,
|
|
145
|
+
* });
|
|
146
|
+
* export const grafanaConnectionInfo = {
|
|
147
|
+
* url: main.apply(main => main.grafanaUrl),
|
|
148
|
+
* projectId: main.apply(main => main.projectId),
|
|
149
|
+
* };
|
|
150
|
+
* ```
|
|
151
|
+
*
|
|
152
|
+
* ### Using the Grafana Terraform provider
|
|
153
|
+
*
|
|
154
|
+
* When you need to configure Grafana resources programmatically, supply the IAM secret key as an `X-Auth-Token` header. The Grafana provider itself stays in `anonymous` mode.
|
|
155
|
+
*
|
|
156
|
+
* ```typescript
|
|
157
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
158
|
+
* import * as scaleway from "@pulumiverse/scaleway";
|
|
159
|
+
*
|
|
160
|
+
* const config = new pulumi.Config();
|
|
161
|
+
* // Scaleway IAM secret key reused by the Grafana provider
|
|
162
|
+
* const scalewaySecretKey = config.require("scalewaySecretKey");
|
|
163
|
+
* const main = scaleway.observability.getGrafana({
|
|
164
|
+
* projectId: project.id,
|
|
165
|
+
* });
|
|
166
|
+
* ```
|
|
167
|
+
*
|
|
168
|
+
* Keep the secret key in a secure backend (environment variables, Vault, etc.) and never commit it to source control.
|
|
169
|
+
*
|
|
170
|
+
* ## Authentication
|
|
171
|
+
*
|
|
172
|
+
* To access Grafana, use your Scaleway IAM credentials:
|
|
173
|
+
*
|
|
174
|
+
* 1. Navigate to the `grafanaUrl` provided by this data source
|
|
175
|
+
* 2. Sign in using your Scaleway account (IAM authentication)
|
|
176
|
+
* 3. Your access level is determined by your IAM permissions on the project
|
|
177
|
+
*
|
|
178
|
+
* For more information about IAM authentication, see the [Scaleway IAM documentation](https://www.scaleway.com/en/docs/identity-and-access-management/iam/).
|
|
179
|
+
*/
|
|
26
180
|
export declare function getGrafanaOutput(args?: GetGrafanaOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetGrafanaResult>;
|
|
27
181
|
/**
|
|
28
182
|
* A collection of arguments for invoking getGrafana.
|