pulumiverse-scaleway 1.27.0a1744869119__py3-none-any.whl → 1.39.0a1764841480__py3-none-any.whl
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.
- pulumiverse_scaleway/__init__.py +109 -2
- pulumiverse_scaleway/_inputs.py +3936 -2603
- pulumiverse_scaleway/_utilities.py +1 -1
- pulumiverse_scaleway/account/__init__.py +4 -1
- pulumiverse_scaleway/account/get_availability_zones.py +12 -12
- pulumiverse_scaleway/account/get_project.py +28 -28
- pulumiverse_scaleway/account/get_projects.py +241 -0
- pulumiverse_scaleway/account/get_ssh_key.py +34 -34
- pulumiverse_scaleway/account/outputs.py +95 -0
- pulumiverse_scaleway/account/project.py +72 -71
- pulumiverse_scaleway/account/ssh_key.py +107 -106
- pulumiverse_scaleway/account_project.py +72 -71
- pulumiverse_scaleway/account_ssh_key.py +107 -106
- pulumiverse_scaleway/apple_silicon_server.py +334 -201
- pulumiverse_scaleway/applesilicon/__init__.py +2 -1
- pulumiverse_scaleway/applesilicon/_inputs.py +105 -51
- pulumiverse_scaleway/applesilicon/outputs.py +65 -33
- pulumiverse_scaleway/applesilicon/server.py +334 -201
- pulumiverse_scaleway/audittrail/__init__.py +10 -0
- pulumiverse_scaleway/audittrail/get_event.py +410 -0
- pulumiverse_scaleway/audittrail/outputs.py +234 -0
- pulumiverse_scaleway/autoscaling/__init__.py +13 -0
- pulumiverse_scaleway/autoscaling/_inputs.py +558 -0
- pulumiverse_scaleway/autoscaling/instance_group.py +807 -0
- pulumiverse_scaleway/autoscaling/instance_policy.py +634 -0
- pulumiverse_scaleway/autoscaling/instance_template.py +878 -0
- pulumiverse_scaleway/autoscaling/outputs.py +438 -0
- pulumiverse_scaleway/baremetal_server.py +622 -524
- pulumiverse_scaleway/billing/__init__.py +2 -1
- pulumiverse_scaleway/billing/get_consumptions.py +19 -15
- pulumiverse_scaleway/billing/get_invoices.py +25 -25
- pulumiverse_scaleway/billing/outputs.py +96 -96
- pulumiverse_scaleway/block/__init__.py +4 -1
- pulumiverse_scaleway/block/_inputs.py +125 -0
- pulumiverse_scaleway/block/get_snapshot.py +60 -37
- pulumiverse_scaleway/block/get_volume.py +38 -38
- pulumiverse_scaleway/block/outputs.py +139 -0
- pulumiverse_scaleway/block/snapshot.py +272 -98
- pulumiverse_scaleway/block/volume.py +145 -144
- pulumiverse_scaleway/block_snapshot.py +272 -98
- pulumiverse_scaleway/block_volume.py +145 -144
- pulumiverse_scaleway/cockpit.py +71 -49
- pulumiverse_scaleway/cockpit_alert_manager.py +66 -65
- pulumiverse_scaleway/cockpit_grafana_user.py +72 -113
- pulumiverse_scaleway/cockpit_source.py +142 -141
- pulumiverse_scaleway/cockpit_token.py +84 -83
- pulumiverse_scaleway/config/__init__.py +2 -1
- pulumiverse_scaleway/config/__init__.pyi +2 -2
- pulumiverse_scaleway/config/vars.py +11 -11
- pulumiverse_scaleway/container.py +653 -424
- pulumiverse_scaleway/container_cron.py +97 -96
- pulumiverse_scaleway/container_domain.py +63 -62
- pulumiverse_scaleway/container_namespace.py +251 -172
- pulumiverse_scaleway/container_token.py +97 -96
- pulumiverse_scaleway/container_trigger.py +77 -76
- pulumiverse_scaleway/containers/__init__.py +2 -1
- pulumiverse_scaleway/containers/_inputs.py +87 -87
- pulumiverse_scaleway/containers/container.py +653 -424
- pulumiverse_scaleway/containers/cron.py +97 -96
- pulumiverse_scaleway/containers/domain.py +63 -62
- pulumiverse_scaleway/containers/get_container.py +117 -73
- pulumiverse_scaleway/containers/get_namespace.py +56 -45
- pulumiverse_scaleway/containers/namespace.py +251 -172
- pulumiverse_scaleway/containers/outputs.py +84 -84
- pulumiverse_scaleway/containers/token.py +97 -96
- pulumiverse_scaleway/containers/trigger.py +77 -76
- pulumiverse_scaleway/database.py +81 -80
- pulumiverse_scaleway/database_acl.py +148 -39
- pulumiverse_scaleway/database_backup.py +124 -123
- pulumiverse_scaleway/database_instance.py +531 -436
- pulumiverse_scaleway/database_privilege.py +88 -87
- pulumiverse_scaleway/database_read_replica.py +60 -59
- pulumiverse_scaleway/database_user.py +171 -98
- pulumiverse_scaleway/databases/__init__.py +2 -1
- pulumiverse_scaleway/databases/_inputs.py +364 -216
- pulumiverse_scaleway/databases/acl.py +148 -39
- pulumiverse_scaleway/databases/database.py +81 -80
- pulumiverse_scaleway/databases/database_backup.py +124 -123
- pulumiverse_scaleway/databases/get_acl.py +17 -17
- pulumiverse_scaleway/databases/get_database.py +26 -26
- pulumiverse_scaleway/databases/get_database_backup.py +46 -46
- pulumiverse_scaleway/databases/get_instance.py +95 -73
- pulumiverse_scaleway/databases/get_privilege.py +30 -30
- pulumiverse_scaleway/databases/instance.py +531 -436
- pulumiverse_scaleway/databases/outputs.py +419 -232
- pulumiverse_scaleway/databases/privilege.py +88 -87
- pulumiverse_scaleway/databases/read_replica.py +60 -59
- pulumiverse_scaleway/databases/serverless_database.py +97 -96
- pulumiverse_scaleway/databases/snapshot.py +127 -126
- pulumiverse_scaleway/databases/user.py +171 -98
- pulumiverse_scaleway/datawarehouse/__init__.py +13 -0
- pulumiverse_scaleway/datawarehouse/_inputs.py +149 -0
- pulumiverse_scaleway/datawarehouse/database.py +338 -0
- pulumiverse_scaleway/datawarehouse/deployment.py +821 -0
- pulumiverse_scaleway/datawarehouse/outputs.py +113 -0
- pulumiverse_scaleway/datawarehouse/user.py +451 -0
- pulumiverse_scaleway/domain/__init__.py +2 -1
- pulumiverse_scaleway/domain/_inputs.py +661 -661
- pulumiverse_scaleway/domain/get_record.py +53 -64
- pulumiverse_scaleway/domain/get_zone.py +36 -30
- pulumiverse_scaleway/domain/outputs.py +501 -501
- pulumiverse_scaleway/domain/record.py +156 -202
- pulumiverse_scaleway/domain/registration.py +123 -122
- pulumiverse_scaleway/domain/zone.py +108 -107
- pulumiverse_scaleway/domain_record.py +156 -202
- pulumiverse_scaleway/domain_zone.py +108 -107
- pulumiverse_scaleway/edge_services_backend_stage.py +61 -60
- pulumiverse_scaleway/edge_services_cache_stage.py +283 -111
- pulumiverse_scaleway/edge_services_dns_stage.py +169 -140
- pulumiverse_scaleway/edge_services_head_stage.py +37 -36
- pulumiverse_scaleway/edge_services_pipeline.py +125 -82
- pulumiverse_scaleway/edge_services_plan.py +37 -36
- pulumiverse_scaleway/edge_services_route_stage.py +75 -74
- pulumiverse_scaleway/edge_services_tls_stage.py +219 -124
- pulumiverse_scaleway/edge_services_waf_stage.py +106 -105
- pulumiverse_scaleway/elasticmetal/__init__.py +3 -1
- pulumiverse_scaleway/elasticmetal/_inputs.py +203 -129
- pulumiverse_scaleway/elasticmetal/get_ip.py +70 -54
- pulumiverse_scaleway/elasticmetal/get_ips.py +31 -31
- pulumiverse_scaleway/elasticmetal/get_offer.py +43 -41
- pulumiverse_scaleway/elasticmetal/get_option.py +24 -24
- pulumiverse_scaleway/elasticmetal/get_os.py +28 -28
- pulumiverse_scaleway/elasticmetal/get_partition_schema.py +215 -0
- pulumiverse_scaleway/elasticmetal/get_server.py +101 -68
- pulumiverse_scaleway/elasticmetal/ip.py +170 -169
- pulumiverse_scaleway/elasticmetal/ip_mac_address.py +107 -106
- pulumiverse_scaleway/elasticmetal/outputs.py +379 -287
- pulumiverse_scaleway/elasticmetal/server.py +622 -524
- pulumiverse_scaleway/file_filesystem.py +555 -0
- pulumiverse_scaleway/flexible_ip.py +170 -169
- pulumiverse_scaleway/flexible_ip_mac_address.py +107 -106
- pulumiverse_scaleway/function.py +457 -348
- pulumiverse_scaleway/function_cron.py +97 -96
- pulumiverse_scaleway/function_domain.py +63 -62
- pulumiverse_scaleway/function_namespace.py +234 -155
- pulumiverse_scaleway/function_token.py +97 -96
- pulumiverse_scaleway/function_trigger.py +77 -76
- pulumiverse_scaleway/functions/__init__.py +2 -1
- pulumiverse_scaleway/functions/_inputs.py +50 -50
- pulumiverse_scaleway/functions/cron.py +97 -96
- pulumiverse_scaleway/functions/domain.py +63 -62
- pulumiverse_scaleway/functions/function.py +457 -348
- pulumiverse_scaleway/functions/get_function.py +93 -71
- pulumiverse_scaleway/functions/get_namespace.py +54 -43
- pulumiverse_scaleway/functions/namespace.py +234 -155
- pulumiverse_scaleway/functions/outputs.py +34 -34
- pulumiverse_scaleway/functions/token.py +97 -96
- pulumiverse_scaleway/functions/trigger.py +77 -76
- pulumiverse_scaleway/get_account_project.py +28 -28
- pulumiverse_scaleway/get_account_ssh_key.py +34 -34
- pulumiverse_scaleway/get_availability_zones.py +12 -12
- pulumiverse_scaleway/get_baremetal_offer.py +43 -41
- pulumiverse_scaleway/get_baremetal_option.py +24 -24
- pulumiverse_scaleway/get_baremetal_os.py +28 -28
- pulumiverse_scaleway/get_baremetal_server.py +101 -68
- pulumiverse_scaleway/get_billing_consumptions.py +19 -15
- pulumiverse_scaleway/get_billing_invoices.py +25 -25
- pulumiverse_scaleway/get_block_snapshot.py +60 -37
- pulumiverse_scaleway/get_block_volume.py +38 -38
- pulumiverse_scaleway/get_cockpit.py +16 -16
- pulumiverse_scaleway/get_cockpit_source.py +88 -45
- pulumiverse_scaleway/get_config.py +24 -24
- pulumiverse_scaleway/get_container.py +117 -73
- pulumiverse_scaleway/get_container_namespace.py +56 -45
- pulumiverse_scaleway/get_database.py +26 -26
- pulumiverse_scaleway/get_database_acl.py +17 -17
- pulumiverse_scaleway/get_database_backup.py +46 -46
- pulumiverse_scaleway/get_database_instance.py +95 -73
- pulumiverse_scaleway/get_database_privilege.py +30 -30
- pulumiverse_scaleway/get_domain_record.py +53 -64
- pulumiverse_scaleway/get_domain_zone.py +36 -30
- pulumiverse_scaleway/get_flexible_ip.py +70 -54
- pulumiverse_scaleway/get_flexible_ips.py +31 -31
- pulumiverse_scaleway/get_function.py +93 -71
- pulumiverse_scaleway/get_function_namespace.py +54 -43
- pulumiverse_scaleway/get_iam_api_key.py +28 -28
- pulumiverse_scaleway/get_iam_application.py +32 -32
- pulumiverse_scaleway/get_iam_group.py +36 -36
- pulumiverse_scaleway/get_iam_ssh_key.py +34 -34
- pulumiverse_scaleway/get_iam_user.py +30 -30
- pulumiverse_scaleway/get_instance_image.py +58 -58
- pulumiverse_scaleway/get_instance_ip.py +42 -30
- pulumiverse_scaleway/get_instance_placement_group.py +38 -38
- pulumiverse_scaleway/get_instance_private_nic.py +53 -41
- pulumiverse_scaleway/get_instance_security_group.py +46 -46
- pulumiverse_scaleway/get_instance_server.py +108 -145
- pulumiverse_scaleway/get_instance_servers.py +31 -31
- pulumiverse_scaleway/get_instance_snapshot.py +41 -41
- pulumiverse_scaleway/get_instance_volume.py +42 -42
- pulumiverse_scaleway/get_iot_device.py +46 -46
- pulumiverse_scaleway/get_iot_hub.py +60 -60
- pulumiverse_scaleway/get_ipam_ip.py +65 -65
- pulumiverse_scaleway/get_ipam_ips.py +56 -56
- pulumiverse_scaleway/get_k8s_version.py +34 -23
- pulumiverse_scaleway/get_kubernetes_cluster.py +98 -65
- pulumiverse_scaleway/get_kubernetes_node_pool.py +86 -75
- pulumiverse_scaleway/get_lb_acls.py +29 -29
- pulumiverse_scaleway/get_lb_backend.py +75 -75
- pulumiverse_scaleway/get_lb_backends.py +29 -29
- pulumiverse_scaleway/get_lb_frontend.py +76 -43
- pulumiverse_scaleway/get_lb_frontends.py +29 -29
- pulumiverse_scaleway/get_lb_ips.py +37 -37
- pulumiverse_scaleway/get_lb_route.py +36 -25
- pulumiverse_scaleway/get_lb_routes.py +23 -23
- pulumiverse_scaleway/get_lbs.py +31 -31
- pulumiverse_scaleway/get_loadbalancer.py +78 -56
- pulumiverse_scaleway/get_loadbalancer_certificate.py +96 -36
- pulumiverse_scaleway/get_loadbalancer_ip.py +40 -40
- pulumiverse_scaleway/get_marketplace_image.py +28 -28
- pulumiverse_scaleway/get_mnq_sns.py +18 -18
- pulumiverse_scaleway/get_mnq_sqs.py +18 -18
- pulumiverse_scaleway/get_mongo_db_instance.py +110 -55
- pulumiverse_scaleway/get_object_bucket.py +35 -35
- pulumiverse_scaleway/get_object_bucket_policy.py +22 -22
- pulumiverse_scaleway/get_redis_cluster.py +65 -54
- pulumiverse_scaleway/get_registry_image.py +48 -48
- pulumiverse_scaleway/get_registry_image_tag.py +44 -44
- pulumiverse_scaleway/get_registry_namespace.py +36 -36
- pulumiverse_scaleway/get_secret.py +58 -58
- pulumiverse_scaleway/get_secret_version.py +46 -46
- pulumiverse_scaleway/get_tem_domain.py +103 -70
- pulumiverse_scaleway/get_vpc.py +58 -47
- pulumiverse_scaleway/get_vpc_gateway_network.py +55 -44
- pulumiverse_scaleway/get_vpc_private_network.py +58 -47
- pulumiverse_scaleway/get_vpc_public_gateway.py +56 -56
- pulumiverse_scaleway/get_vpc_public_gateway_dhcp.py +44 -44
- pulumiverse_scaleway/get_vpc_public_gateway_dhcp_reservation.py +44 -44
- pulumiverse_scaleway/get_vpc_public_gateway_ip.py +24 -24
- pulumiverse_scaleway/get_vpc_public_pat_rule.py +32 -32
- pulumiverse_scaleway/get_vpc_routes.py +47 -47
- pulumiverse_scaleway/get_vpcs.py +31 -31
- pulumiverse_scaleway/get_web_host_offer.py +34 -34
- pulumiverse_scaleway/get_webhosting.py +58 -58
- pulumiverse_scaleway/hosting/__init__.py +2 -1
- pulumiverse_scaleway/hosting/_inputs.py +117 -75
- pulumiverse_scaleway/hosting/get_hosting.py +58 -58
- pulumiverse_scaleway/hosting/get_offer.py +34 -34
- pulumiverse_scaleway/hosting/hosting.py +213 -212
- pulumiverse_scaleway/hosting/outputs.py +276 -192
- pulumiverse_scaleway/iam/__init__.py +3 -1
- pulumiverse_scaleway/iam/_inputs.py +26 -26
- pulumiverse_scaleway/iam/api_key.py +142 -141
- pulumiverse_scaleway/iam/application.py +98 -97
- pulumiverse_scaleway/iam/get_api_key.py +28 -28
- pulumiverse_scaleway/iam/get_application.py +32 -32
- pulumiverse_scaleway/iam/get_group.py +36 -36
- pulumiverse_scaleway/iam/get_policy.py +293 -0
- pulumiverse_scaleway/iam/get_ssh_key.py +34 -34
- pulumiverse_scaleway/iam/get_user.py +30 -30
- pulumiverse_scaleway/iam/group.py +140 -139
- pulumiverse_scaleway/iam/group_membership.py +54 -53
- pulumiverse_scaleway/iam/outputs.py +70 -18
- pulumiverse_scaleway/iam/policy.py +169 -168
- pulumiverse_scaleway/iam/ssh_key.py +107 -106
- pulumiverse_scaleway/iam/user.py +598 -134
- pulumiverse_scaleway/iam_api_key.py +142 -141
- pulumiverse_scaleway/iam_application.py +98 -97
- pulumiverse_scaleway/iam_group.py +140 -139
- pulumiverse_scaleway/iam_group_membership.py +54 -53
- pulumiverse_scaleway/iam_policy.py +169 -168
- pulumiverse_scaleway/iam_ssh_key.py +107 -106
- pulumiverse_scaleway/iam_user.py +598 -134
- pulumiverse_scaleway/inference/__init__.py +4 -1
- pulumiverse_scaleway/inference/_inputs.py +232 -50
- pulumiverse_scaleway/inference/deployment.py +319 -220
- pulumiverse_scaleway/inference/get_model.py +299 -0
- pulumiverse_scaleway/inference/model.py +684 -0
- pulumiverse_scaleway/inference/outputs.py +250 -34
- pulumiverse_scaleway/inference_deployment.py +319 -220
- pulumiverse_scaleway/instance/__init__.py +3 -1
- pulumiverse_scaleway/instance/_inputs.py +650 -437
- pulumiverse_scaleway/instance/get_image.py +58 -58
- pulumiverse_scaleway/instance/get_ip.py +42 -30
- pulumiverse_scaleway/instance/get_placement_group.py +38 -38
- pulumiverse_scaleway/instance/get_private_nic.py +53 -41
- pulumiverse_scaleway/instance/get_security_group.py +46 -46
- pulumiverse_scaleway/instance/get_server.py +108 -145
- pulumiverse_scaleway/instance/get_server_type.py +271 -0
- pulumiverse_scaleway/instance/get_servers.py +31 -31
- pulumiverse_scaleway/instance/get_snapshot.py +41 -41
- pulumiverse_scaleway/instance/get_volume.py +42 -42
- pulumiverse_scaleway/instance/image.py +260 -205
- pulumiverse_scaleway/instance/ip.py +116 -115
- pulumiverse_scaleway/instance/ip_reverse_dns.py +54 -53
- pulumiverse_scaleway/instance/outputs.py +981 -548
- pulumiverse_scaleway/instance/placement_group.py +123 -122
- pulumiverse_scaleway/instance/private_nic.py +163 -113
- pulumiverse_scaleway/instance/security_group.py +188 -187
- pulumiverse_scaleway/instance/security_group_rules.py +42 -41
- pulumiverse_scaleway/instance/server.py +590 -562
- pulumiverse_scaleway/instance/snapshot.py +150 -157
- pulumiverse_scaleway/instance/user_data.py +75 -74
- pulumiverse_scaleway/instance/volume.py +174 -159
- pulumiverse_scaleway/instance_image.py +260 -205
- pulumiverse_scaleway/instance_ip.py +116 -115
- pulumiverse_scaleway/instance_ip_reverse_dns.py +54 -53
- pulumiverse_scaleway/instance_placement_group.py +123 -122
- pulumiverse_scaleway/instance_private_nic.py +163 -113
- pulumiverse_scaleway/instance_security_group.py +188 -187
- pulumiverse_scaleway/instance_security_group_rules.py +42 -41
- pulumiverse_scaleway/instance_server.py +590 -562
- pulumiverse_scaleway/instance_snapshot.py +150 -157
- pulumiverse_scaleway/instance_user_data.py +75 -74
- pulumiverse_scaleway/instance_volume.py +174 -159
- pulumiverse_scaleway/iot/__init__.py +2 -1
- pulumiverse_scaleway/iot/_inputs.py +119 -119
- pulumiverse_scaleway/iot/device.py +156 -193
- pulumiverse_scaleway/iot/get_device.py +46 -46
- pulumiverse_scaleway/iot/get_hub.py +60 -60
- pulumiverse_scaleway/iot/hub.py +259 -258
- pulumiverse_scaleway/iot/network.py +115 -114
- pulumiverse_scaleway/iot/outputs.py +107 -107
- pulumiverse_scaleway/iot/route.py +109 -108
- pulumiverse_scaleway/iot_device.py +156 -193
- pulumiverse_scaleway/iot_hub.py +259 -258
- pulumiverse_scaleway/iot_network.py +115 -114
- pulumiverse_scaleway/iot_route.py +109 -108
- pulumiverse_scaleway/ipam/__init__.py +2 -1
- pulumiverse_scaleway/ipam/_inputs.py +108 -108
- pulumiverse_scaleway/ipam/get_ip.py +65 -65
- pulumiverse_scaleway/ipam/get_ips.py +56 -56
- pulumiverse_scaleway/ipam/ip.py +160 -131
- pulumiverse_scaleway/ipam/ip_reverse_dns.py +141 -70
- pulumiverse_scaleway/ipam/outputs.py +122 -122
- pulumiverse_scaleway/ipam_ip.py +160 -131
- pulumiverse_scaleway/ipam_ip_reverse_dns.py +141 -70
- pulumiverse_scaleway/job/__init__.py +2 -1
- pulumiverse_scaleway/job/_inputs.py +127 -14
- pulumiverse_scaleway/job/definition.py +283 -175
- pulumiverse_scaleway/job/outputs.py +98 -10
- pulumiverse_scaleway/job_definition.py +283 -175
- pulumiverse_scaleway/key_manager_key.py +939 -0
- pulumiverse_scaleway/kubernetes/__init__.py +3 -1
- pulumiverse_scaleway/kubernetes/_inputs.py +388 -185
- pulumiverse_scaleway/kubernetes/acl.py +447 -0
- pulumiverse_scaleway/kubernetes/cluster.py +594 -307
- pulumiverse_scaleway/kubernetes/get_cluster.py +98 -65
- pulumiverse_scaleway/kubernetes/get_pool.py +86 -75
- pulumiverse_scaleway/kubernetes/get_version.py +34 -23
- pulumiverse_scaleway/kubernetes/outputs.py +444 -250
- pulumiverse_scaleway/kubernetes/pool.py +427 -365
- pulumiverse_scaleway/kubernetes_cluster.py +594 -307
- pulumiverse_scaleway/kubernetes_node_pool.py +427 -365
- pulumiverse_scaleway/loadbalancer.py +329 -246
- pulumiverse_scaleway/loadbalancer_acl.py +102 -101
- pulumiverse_scaleway/loadbalancer_backend.py +534 -487
- pulumiverse_scaleway/loadbalancer_certificate.py +97 -96
- pulumiverse_scaleway/loadbalancer_frontend.py +271 -167
- pulumiverse_scaleway/loadbalancer_ip.py +124 -123
- pulumiverse_scaleway/loadbalancer_route.py +244 -119
- pulumiverse_scaleway/loadbalancers/__init__.py +3 -1
- pulumiverse_scaleway/loadbalancers/_inputs.py +367 -273
- pulumiverse_scaleway/loadbalancers/acl.py +102 -101
- pulumiverse_scaleway/loadbalancers/backend.py +534 -487
- pulumiverse_scaleway/loadbalancers/certificate.py +97 -96
- pulumiverse_scaleway/loadbalancers/frontend.py +271 -167
- pulumiverse_scaleway/loadbalancers/get_acls.py +29 -29
- pulumiverse_scaleway/loadbalancers/get_backend.py +75 -75
- pulumiverse_scaleway/loadbalancers/get_backends.py +29 -29
- pulumiverse_scaleway/loadbalancers/get_certificate.py +96 -36
- pulumiverse_scaleway/loadbalancers/get_frontend.py +76 -43
- pulumiverse_scaleway/loadbalancers/get_frontends.py +29 -29
- pulumiverse_scaleway/loadbalancers/get_ip.py +40 -40
- pulumiverse_scaleway/loadbalancers/get_ips.py +37 -37
- pulumiverse_scaleway/loadbalancers/get_load_balancer.py +78 -56
- pulumiverse_scaleway/loadbalancers/get_load_balancers.py +31 -31
- pulumiverse_scaleway/loadbalancers/get_route.py +36 -25
- pulumiverse_scaleway/loadbalancers/get_routes.py +23 -23
- pulumiverse_scaleway/loadbalancers/ip.py +124 -123
- pulumiverse_scaleway/loadbalancers/load_balancer.py +329 -246
- pulumiverse_scaleway/loadbalancers/outputs.py +870 -716
- pulumiverse_scaleway/loadbalancers/private_network.py +505 -0
- pulumiverse_scaleway/loadbalancers/route.py +244 -119
- pulumiverse_scaleway/mnq/__init__.py +2 -1
- pulumiverse_scaleway/mnq/_inputs.py +90 -38
- pulumiverse_scaleway/mnq/get_sns.py +18 -18
- pulumiverse_scaleway/mnq/get_sqs.py +18 -18
- pulumiverse_scaleway/mnq/nats_account.py +63 -62
- pulumiverse_scaleway/mnq/nats_credentials.py +63 -62
- pulumiverse_scaleway/mnq/outputs.py +73 -26
- pulumiverse_scaleway/mnq/sns.py +46 -45
- pulumiverse_scaleway/mnq/sns_credentials.py +82 -81
- pulumiverse_scaleway/mnq/sns_topic.py +174 -173
- pulumiverse_scaleway/mnq/sns_topic_subscription.py +182 -181
- pulumiverse_scaleway/mnq/sqs.py +46 -45
- pulumiverse_scaleway/mnq/sqs_credentials.py +82 -81
- pulumiverse_scaleway/mnq/sqs_queue.py +392 -232
- pulumiverse_scaleway/mnq_nats_account.py +63 -62
- pulumiverse_scaleway/mnq_nats_credentials.py +63 -62
- pulumiverse_scaleway/mnq_sns.py +46 -45
- pulumiverse_scaleway/mnq_sns_credentials.py +82 -81
- pulumiverse_scaleway/mnq_sns_topic.py +174 -173
- pulumiverse_scaleway/mnq_sns_topic_subscription.py +182 -181
- pulumiverse_scaleway/mnq_sqs.py +46 -45
- pulumiverse_scaleway/mnq_sqs_credentials.py +82 -81
- pulumiverse_scaleway/mnq_sqs_queue.py +392 -232
- pulumiverse_scaleway/mongo_db_instance.py +569 -268
- pulumiverse_scaleway/mongo_db_snapshot.py +127 -126
- pulumiverse_scaleway/mongodb/__init__.py +3 -1
- pulumiverse_scaleway/mongodb/_inputs.py +178 -51
- pulumiverse_scaleway/mongodb/get_instance.py +110 -55
- pulumiverse_scaleway/mongodb/instance.py +569 -268
- pulumiverse_scaleway/mongodb/outputs.py +192 -68
- pulumiverse_scaleway/mongodb/snapshot.py +127 -126
- pulumiverse_scaleway/mongodb/user.py +507 -0
- pulumiverse_scaleway/network/__init__.py +2 -1
- pulumiverse_scaleway/network/_inputs.py +209 -155
- pulumiverse_scaleway/network/acl.py +100 -101
- pulumiverse_scaleway/network/gateway_network.py +228 -180
- pulumiverse_scaleway/network/get_gateway_network.py +55 -44
- pulumiverse_scaleway/network/get_private_network.py +58 -47
- pulumiverse_scaleway/network/get_public_gateway.py +56 -56
- pulumiverse_scaleway/network/get_public_gateway_dhcp.py +44 -44
- pulumiverse_scaleway/network/get_public_gateway_dhcp_reservation.py +44 -44
- pulumiverse_scaleway/network/get_public_gateway_ip.py +24 -24
- pulumiverse_scaleway/network/get_public_gateway_pat_rule.py +32 -32
- pulumiverse_scaleway/network/get_routes.py +47 -47
- pulumiverse_scaleway/network/get_vpc.py +58 -47
- pulumiverse_scaleway/network/get_vpcs.py +31 -31
- pulumiverse_scaleway/network/outputs.py +338 -270
- pulumiverse_scaleway/network/private_network.py +203 -155
- pulumiverse_scaleway/network/public_gateway.py +261 -260
- pulumiverse_scaleway/network/public_gateway_dhcp.py +285 -284
- pulumiverse_scaleway/network/public_gateway_dhcp_reservation.py +107 -106
- pulumiverse_scaleway/network/public_gateway_ip.py +107 -106
- pulumiverse_scaleway/network/public_gateway_ip_reverse_dns.py +54 -53
- pulumiverse_scaleway/network/public_gateway_pat_rule.py +132 -131
- pulumiverse_scaleway/network/route.py +230 -141
- pulumiverse_scaleway/network/vpc.py +172 -124
- pulumiverse_scaleway/object/__init__.py +3 -1
- pulumiverse_scaleway/object/_inputs.py +202 -166
- pulumiverse_scaleway/object/bucket.py +162 -148
- pulumiverse_scaleway/object/bucket_acl.py +97 -94
- pulumiverse_scaleway/object/bucket_lock_configuration.py +57 -56
- pulumiverse_scaleway/object/bucket_policy.py +71 -134
- pulumiverse_scaleway/object/bucket_website_configuration.py +104 -85
- pulumiverse_scaleway/object/get.py +290 -0
- pulumiverse_scaleway/object/get_bucket.py +35 -35
- pulumiverse_scaleway/object/get_bucket_policy.py +22 -22
- pulumiverse_scaleway/object/item.py +301 -223
- pulumiverse_scaleway/object/outputs.py +210 -166
- pulumiverse_scaleway/object_bucket.py +162 -148
- pulumiverse_scaleway/object_bucket_acl.py +97 -94
- pulumiverse_scaleway/object_bucket_lock_configuration.py +57 -56
- pulumiverse_scaleway/object_bucket_policy.py +71 -134
- pulumiverse_scaleway/object_bucket_website_configuration.py +104 -85
- pulumiverse_scaleway/object_item.py +301 -223
- pulumiverse_scaleway/observability/__init__.py +4 -2
- pulumiverse_scaleway/observability/_inputs.py +106 -106
- pulumiverse_scaleway/observability/alert_manager.py +66 -65
- pulumiverse_scaleway/observability/cockpit.py +71 -49
- pulumiverse_scaleway/observability/get_grafana.py +103 -0
- pulumiverse_scaleway/observability/get_instance.py +16 -16
- pulumiverse_scaleway/observability/get_source.py +88 -45
- pulumiverse_scaleway/observability/get_sources.py +375 -0
- pulumiverse_scaleway/observability/grafana_user.py +72 -113
- pulumiverse_scaleway/observability/outputs.py +241 -101
- pulumiverse_scaleway/observability/source.py +142 -141
- pulumiverse_scaleway/observability/token.py +84 -83
- pulumiverse_scaleway/outputs.py +5235 -3665
- pulumiverse_scaleway/provider.py +107 -82
- pulumiverse_scaleway/pulumi-plugin.json +1 -1
- pulumiverse_scaleway/rdb_snapshot.py +127 -126
- pulumiverse_scaleway/redis/__init__.py +2 -1
- pulumiverse_scaleway/redis/_inputs.py +163 -69
- pulumiverse_scaleway/redis/cluster.py +273 -225
- pulumiverse_scaleway/redis/get_cluster.py +65 -54
- pulumiverse_scaleway/redis/outputs.py +199 -87
- pulumiverse_scaleway/redis_cluster.py +273 -225
- pulumiverse_scaleway/registry/__init__.py +2 -1
- pulumiverse_scaleway/registry/get_image.py +48 -48
- pulumiverse_scaleway/registry/get_image_tag.py +44 -44
- pulumiverse_scaleway/registry/get_namespace.py +36 -36
- pulumiverse_scaleway/registry/namespace.py +106 -105
- pulumiverse_scaleway/registry_namespace.py +106 -105
- pulumiverse_scaleway/sdb_database.py +97 -96
- pulumiverse_scaleway/secret.py +188 -179
- pulumiverse_scaleway/secret_version.py +107 -106
- pulumiverse_scaleway/secrets/__init__.py +2 -1
- pulumiverse_scaleway/secrets/_inputs.py +63 -63
- pulumiverse_scaleway/secrets/get_secret.py +58 -58
- pulumiverse_scaleway/secrets/get_version.py +46 -46
- pulumiverse_scaleway/secrets/outputs.py +84 -84
- pulumiverse_scaleway/secrets/secret.py +188 -179
- pulumiverse_scaleway/secrets/version.py +107 -106
- pulumiverse_scaleway/tem/__init__.py +2 -1
- pulumiverse_scaleway/tem/_inputs.py +33 -33
- pulumiverse_scaleway/tem/blocked_list.py +105 -104
- pulumiverse_scaleway/tem/domain.py +384 -257
- pulumiverse_scaleway/tem/domain_validation.py +63 -62
- pulumiverse_scaleway/tem/get_domain.py +103 -70
- pulumiverse_scaleway/tem/get_offer_subscription.py +34 -34
- pulumiverse_scaleway/tem/outputs.py +44 -44
- pulumiverse_scaleway/tem/webhook.py +132 -131
- pulumiverse_scaleway/tem_domain.py +384 -257
- pulumiverse_scaleway/tem_domain_validation.py +63 -62
- pulumiverse_scaleway/tem_webhook.py +132 -131
- pulumiverse_scaleway/vpc.py +172 -124
- pulumiverse_scaleway/vpc_gateway_network.py +228 -180
- pulumiverse_scaleway/vpc_private_network.py +203 -155
- pulumiverse_scaleway/vpc_public_gateway.py +261 -260
- pulumiverse_scaleway/vpc_public_gateway_dhcp.py +285 -284
- pulumiverse_scaleway/vpc_public_gateway_dhcp_reservation.py +107 -106
- pulumiverse_scaleway/vpc_public_gateway_ip.py +107 -106
- pulumiverse_scaleway/vpc_public_gateway_ip_reverse_dns.py +54 -53
- pulumiverse_scaleway/vpc_public_gateway_pat_rule.py +132 -131
- pulumiverse_scaleway/vpc_route.py +230 -141
- pulumiverse_scaleway/webhosting.py +213 -212
- {pulumiverse_scaleway-1.27.0a1744869119.dist-info → pulumiverse_scaleway-1.39.0a1764841480.dist-info}/METADATA +2 -2
- pulumiverse_scaleway-1.39.0a1764841480.dist-info/RECORD +513 -0
- {pulumiverse_scaleway-1.27.0a1744869119.dist-info → pulumiverse_scaleway-1.39.0a1764841480.dist-info}/WHEEL +1 -1
- pulumiverse_scaleway/get_cockpit_plan.py +0 -129
- pulumiverse_scaleway/observability/get_plan.py +0 -125
- pulumiverse_scaleway-1.27.0a1744869119.dist-info/RECORD +0 -483
- {pulumiverse_scaleway-1.27.0a1744869119.dist-info → pulumiverse_scaleway-1.39.0a1764841480.dist-info}/top_level.txt +0 -0
|
@@ -1,12 +1,15 @@
|
|
|
1
1
|
# coding=utf-8
|
|
2
|
-
# *** WARNING: this file was generated by
|
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
+
import builtins as _builtins
|
|
5
6
|
from .. import _utilities
|
|
6
7
|
import typing
|
|
7
8
|
# Export this package's modules as members:
|
|
8
9
|
from .get_availability_zones import *
|
|
9
10
|
from .get_project import *
|
|
11
|
+
from .get_projects import *
|
|
10
12
|
from .get_ssh_key import *
|
|
11
13
|
from .project import *
|
|
12
14
|
from .ssh_key import *
|
|
15
|
+
from . import outputs
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
# coding=utf-8
|
|
2
|
-
# *** WARNING: this file was generated by
|
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
-
import
|
|
5
|
+
import builtins as _builtins
|
|
6
6
|
import warnings
|
|
7
7
|
import sys
|
|
8
8
|
import pulumi
|
|
@@ -37,22 +37,22 @@ class GetAvailabilityZonesResult:
|
|
|
37
37
|
raise TypeError("Expected argument 'zones' to be a list")
|
|
38
38
|
pulumi.set(__self__, "zones", zones)
|
|
39
39
|
|
|
40
|
-
@property
|
|
40
|
+
@_builtins.property
|
|
41
41
|
@pulumi.getter
|
|
42
|
-
def id(self) -> str:
|
|
42
|
+
def id(self) -> _builtins.str:
|
|
43
43
|
"""
|
|
44
44
|
The provider-assigned unique ID for this managed resource.
|
|
45
45
|
"""
|
|
46
46
|
return pulumi.get(self, "id")
|
|
47
47
|
|
|
48
|
-
@property
|
|
48
|
+
@_builtins.property
|
|
49
49
|
@pulumi.getter
|
|
50
|
-
def region(self) -> Optional[str]:
|
|
50
|
+
def region(self) -> Optional[_builtins.str]:
|
|
51
51
|
return pulumi.get(self, "region")
|
|
52
52
|
|
|
53
|
-
@property
|
|
53
|
+
@_builtins.property
|
|
54
54
|
@pulumi.getter
|
|
55
|
-
def zones(self) -> Sequence[str]:
|
|
55
|
+
def zones(self) -> Sequence[_builtins.str]:
|
|
56
56
|
"""
|
|
57
57
|
The list of availability zones in each Region
|
|
58
58
|
"""
|
|
@@ -70,7 +70,7 @@ class AwaitableGetAvailabilityZonesResult(GetAvailabilityZonesResult):
|
|
|
70
70
|
zones=self.zones)
|
|
71
71
|
|
|
72
72
|
|
|
73
|
-
def get_availability_zones(region: Optional[str] = None,
|
|
73
|
+
def get_availability_zones(region: Optional[_builtins.str] = None,
|
|
74
74
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetAvailabilityZonesResult:
|
|
75
75
|
"""
|
|
76
76
|
The `account_get_availability_zones` data source is used to retrieve information about the available zones based on its Region.
|
|
@@ -93,7 +93,7 @@ def get_availability_zones(region: Optional[str] = None,
|
|
|
93
93
|
```
|
|
94
94
|
|
|
95
95
|
|
|
96
|
-
:param str region: Region is represented as a Geographical area, such as France. Defaults to `fr-par`.
|
|
96
|
+
:param _builtins.str region: Region is represented as a Geographical area, such as France. Defaults to `fr-par`.
|
|
97
97
|
"""
|
|
98
98
|
__args__ = dict()
|
|
99
99
|
__args__['region'] = region
|
|
@@ -104,7 +104,7 @@ def get_availability_zones(region: Optional[str] = None,
|
|
|
104
104
|
id=pulumi.get(__ret__, 'id'),
|
|
105
105
|
region=pulumi.get(__ret__, 'region'),
|
|
106
106
|
zones=pulumi.get(__ret__, 'zones'))
|
|
107
|
-
def get_availability_zones_output(region: Optional[pulumi.Input[Optional[str]]] = None,
|
|
107
|
+
def get_availability_zones_output(region: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
108
108
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetAvailabilityZonesResult]:
|
|
109
109
|
"""
|
|
110
110
|
The `account_get_availability_zones` data source is used to retrieve information about the available zones based on its Region.
|
|
@@ -127,7 +127,7 @@ def get_availability_zones_output(region: Optional[pulumi.Input[Optional[str]]]
|
|
|
127
127
|
```
|
|
128
128
|
|
|
129
129
|
|
|
130
|
-
:param str region: Region is represented as a Geographical area, such as France. Defaults to `fr-par`.
|
|
130
|
+
:param _builtins.str region: Region is represented as a Geographical area, such as France. Defaults to `fr-par`.
|
|
131
131
|
"""
|
|
132
132
|
__args__ = dict()
|
|
133
133
|
__args__['region'] = region
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
# coding=utf-8
|
|
2
|
-
# *** WARNING: this file was generated by
|
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
-
import
|
|
5
|
+
import builtins as _builtins
|
|
6
6
|
import warnings
|
|
7
7
|
import sys
|
|
8
8
|
import pulumi
|
|
@@ -49,42 +49,42 @@ class GetProjectResult:
|
|
|
49
49
|
raise TypeError("Expected argument 'updated_at' to be a str")
|
|
50
50
|
pulumi.set(__self__, "updated_at", updated_at)
|
|
51
51
|
|
|
52
|
-
@property
|
|
52
|
+
@_builtins.property
|
|
53
53
|
@pulumi.getter(name="createdAt")
|
|
54
|
-
def created_at(self) -> str:
|
|
54
|
+
def created_at(self) -> _builtins.str:
|
|
55
55
|
return pulumi.get(self, "created_at")
|
|
56
56
|
|
|
57
|
-
@property
|
|
57
|
+
@_builtins.property
|
|
58
58
|
@pulumi.getter
|
|
59
|
-
def description(self) -> str:
|
|
59
|
+
def description(self) -> _builtins.str:
|
|
60
60
|
return pulumi.get(self, "description")
|
|
61
61
|
|
|
62
|
-
@property
|
|
62
|
+
@_builtins.property
|
|
63
63
|
@pulumi.getter
|
|
64
|
-
def id(self) -> str:
|
|
64
|
+
def id(self) -> _builtins.str:
|
|
65
65
|
"""
|
|
66
66
|
The provider-assigned unique ID for this managed resource.
|
|
67
67
|
"""
|
|
68
68
|
return pulumi.get(self, "id")
|
|
69
69
|
|
|
70
|
-
@property
|
|
70
|
+
@_builtins.property
|
|
71
71
|
@pulumi.getter
|
|
72
|
-
def name(self) -> Optional[str]:
|
|
72
|
+
def name(self) -> Optional[_builtins.str]:
|
|
73
73
|
return pulumi.get(self, "name")
|
|
74
74
|
|
|
75
|
-
@property
|
|
75
|
+
@_builtins.property
|
|
76
76
|
@pulumi.getter(name="organizationId")
|
|
77
|
-
def organization_id(self) -> Optional[str]:
|
|
77
|
+
def organization_id(self) -> Optional[_builtins.str]:
|
|
78
78
|
return pulumi.get(self, "organization_id")
|
|
79
79
|
|
|
80
|
-
@property
|
|
80
|
+
@_builtins.property
|
|
81
81
|
@pulumi.getter(name="projectId")
|
|
82
|
-
def project_id(self) -> str:
|
|
82
|
+
def project_id(self) -> _builtins.str:
|
|
83
83
|
return pulumi.get(self, "project_id")
|
|
84
84
|
|
|
85
|
-
@property
|
|
85
|
+
@_builtins.property
|
|
86
86
|
@pulumi.getter(name="updatedAt")
|
|
87
|
-
def updated_at(self) -> str:
|
|
87
|
+
def updated_at(self) -> _builtins.str:
|
|
88
88
|
return pulumi.get(self, "updated_at")
|
|
89
89
|
|
|
90
90
|
|
|
@@ -103,9 +103,9 @@ class AwaitableGetProjectResult(GetProjectResult):
|
|
|
103
103
|
updated_at=self.updated_at)
|
|
104
104
|
|
|
105
105
|
|
|
106
|
-
def get_project(name: Optional[str] = None,
|
|
107
|
-
organization_id: Optional[str] = None,
|
|
108
|
-
project_id: Optional[str] = None,
|
|
106
|
+
def get_project(name: Optional[_builtins.str] = None,
|
|
107
|
+
organization_id: Optional[_builtins.str] = None,
|
|
108
|
+
project_id: Optional[_builtins.str] = None,
|
|
109
109
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetProjectResult:
|
|
110
110
|
"""
|
|
111
111
|
The `account.Project` data source is used to retrieve information about a Scaleway project.
|
|
@@ -113,12 +113,12 @@ def get_project(name: Optional[str] = None,
|
|
|
113
113
|
Refer to the Organizations and Projects [documentation](https://www.scaleway.com/en/docs/organizations-and-projects/) and [API documentation](https://www.scaleway.com/en/developers/api/account/project-api/) for more information.
|
|
114
114
|
|
|
115
115
|
|
|
116
|
-
:param str name: The name of the Project.
|
|
116
|
+
:param _builtins.str name: The name of the Project.
|
|
117
117
|
Only one of the `name` and `project_id` should be specified.
|
|
118
|
-
:param str organization_id: The unique identifier of the Organization with which the Project is associated.
|
|
118
|
+
:param _builtins.str organization_id: The unique identifier of the Organization with which the Project is associated.
|
|
119
119
|
|
|
120
120
|
If no default `organization_id` is set, one must be set explicitly in this datasource
|
|
121
|
-
:param str project_id: The unique identifier of the Project.
|
|
121
|
+
:param _builtins.str project_id: The unique identifier of the Project.
|
|
122
122
|
Only one of the `name` and `project_id` should be specified.
|
|
123
123
|
"""
|
|
124
124
|
__args__ = dict()
|
|
@@ -136,9 +136,9 @@ def get_project(name: Optional[str] = None,
|
|
|
136
136
|
organization_id=pulumi.get(__ret__, 'organization_id'),
|
|
137
137
|
project_id=pulumi.get(__ret__, 'project_id'),
|
|
138
138
|
updated_at=pulumi.get(__ret__, 'updated_at'))
|
|
139
|
-
def get_project_output(name: Optional[pulumi.Input[Optional[str]]] = None,
|
|
140
|
-
organization_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
141
|
-
project_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
139
|
+
def get_project_output(name: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
140
|
+
organization_id: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
141
|
+
project_id: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
142
142
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetProjectResult]:
|
|
143
143
|
"""
|
|
144
144
|
The `account.Project` data source is used to retrieve information about a Scaleway project.
|
|
@@ -146,12 +146,12 @@ def get_project_output(name: Optional[pulumi.Input[Optional[str]]] = None,
|
|
|
146
146
|
Refer to the Organizations and Projects [documentation](https://www.scaleway.com/en/docs/organizations-and-projects/) and [API documentation](https://www.scaleway.com/en/developers/api/account/project-api/) for more information.
|
|
147
147
|
|
|
148
148
|
|
|
149
|
-
:param str name: The name of the Project.
|
|
149
|
+
:param _builtins.str name: The name of the Project.
|
|
150
150
|
Only one of the `name` and `project_id` should be specified.
|
|
151
|
-
:param str organization_id: The unique identifier of the Organization with which the Project is associated.
|
|
151
|
+
:param _builtins.str organization_id: The unique identifier of the Organization with which the Project is associated.
|
|
152
152
|
|
|
153
153
|
If no default `organization_id` is set, one must be set explicitly in this datasource
|
|
154
|
-
:param str project_id: The unique identifier of the Project.
|
|
154
|
+
:param _builtins.str project_id: The unique identifier of the Project.
|
|
155
155
|
Only one of the `name` and `project_id` should be specified.
|
|
156
156
|
"""
|
|
157
157
|
__args__ = dict()
|
|
@@ -0,0 +1,241 @@
|
|
|
1
|
+
# coding=utf-8
|
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
|
|
5
|
+
import builtins as _builtins
|
|
6
|
+
import warnings
|
|
7
|
+
import sys
|
|
8
|
+
import pulumi
|
|
9
|
+
import pulumi.runtime
|
|
10
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
11
|
+
if sys.version_info >= (3, 11):
|
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
|
13
|
+
else:
|
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
15
|
+
from .. import _utilities
|
|
16
|
+
from . import outputs
|
|
17
|
+
|
|
18
|
+
__all__ = [
|
|
19
|
+
'GetProjectsResult',
|
|
20
|
+
'AwaitableGetProjectsResult',
|
|
21
|
+
'get_projects',
|
|
22
|
+
'get_projects_output',
|
|
23
|
+
]
|
|
24
|
+
|
|
25
|
+
@pulumi.output_type
|
|
26
|
+
class GetProjectsResult:
|
|
27
|
+
"""
|
|
28
|
+
A collection of values returned by getProjects.
|
|
29
|
+
"""
|
|
30
|
+
def __init__(__self__, created_at=None, description=None, id=None, name=None, organization_id=None, projects=None, updated_at=None):
|
|
31
|
+
if created_at and not isinstance(created_at, str):
|
|
32
|
+
raise TypeError("Expected argument 'created_at' to be a str")
|
|
33
|
+
pulumi.set(__self__, "created_at", created_at)
|
|
34
|
+
if description and not isinstance(description, str):
|
|
35
|
+
raise TypeError("Expected argument 'description' to be a str")
|
|
36
|
+
pulumi.set(__self__, "description", description)
|
|
37
|
+
if id and not isinstance(id, str):
|
|
38
|
+
raise TypeError("Expected argument 'id' to be a str")
|
|
39
|
+
pulumi.set(__self__, "id", id)
|
|
40
|
+
if name and not isinstance(name, str):
|
|
41
|
+
raise TypeError("Expected argument 'name' to be a str")
|
|
42
|
+
pulumi.set(__self__, "name", name)
|
|
43
|
+
if organization_id and not isinstance(organization_id, str):
|
|
44
|
+
raise TypeError("Expected argument 'organization_id' to be a str")
|
|
45
|
+
pulumi.set(__self__, "organization_id", organization_id)
|
|
46
|
+
if projects and not isinstance(projects, list):
|
|
47
|
+
raise TypeError("Expected argument 'projects' to be a list")
|
|
48
|
+
pulumi.set(__self__, "projects", projects)
|
|
49
|
+
if updated_at and not isinstance(updated_at, str):
|
|
50
|
+
raise TypeError("Expected argument 'updated_at' to be a str")
|
|
51
|
+
pulumi.set(__self__, "updated_at", updated_at)
|
|
52
|
+
|
|
53
|
+
@_builtins.property
|
|
54
|
+
@pulumi.getter(name="createdAt")
|
|
55
|
+
def created_at(self) -> _builtins.str:
|
|
56
|
+
"""
|
|
57
|
+
(Computed) The date and time when the project was created.
|
|
58
|
+
"""
|
|
59
|
+
return pulumi.get(self, "created_at")
|
|
60
|
+
|
|
61
|
+
@_builtins.property
|
|
62
|
+
@pulumi.getter
|
|
63
|
+
def description(self) -> _builtins.str:
|
|
64
|
+
"""
|
|
65
|
+
(Computed) The description of the project.
|
|
66
|
+
"""
|
|
67
|
+
return pulumi.get(self, "description")
|
|
68
|
+
|
|
69
|
+
@_builtins.property
|
|
70
|
+
@pulumi.getter
|
|
71
|
+
def id(self) -> _builtins.str:
|
|
72
|
+
"""
|
|
73
|
+
The provider-assigned unique ID for this managed resource.
|
|
74
|
+
"""
|
|
75
|
+
return pulumi.get(self, "id")
|
|
76
|
+
|
|
77
|
+
@_builtins.property
|
|
78
|
+
@pulumi.getter
|
|
79
|
+
def name(self) -> _builtins.str:
|
|
80
|
+
"""
|
|
81
|
+
(Computed) The name of the project.
|
|
82
|
+
"""
|
|
83
|
+
return pulumi.get(self, "name")
|
|
84
|
+
|
|
85
|
+
@_builtins.property
|
|
86
|
+
@pulumi.getter(name="organizationId")
|
|
87
|
+
def organization_id(self) -> _builtins.str:
|
|
88
|
+
"""
|
|
89
|
+
(Computed) The unique identifier of the organization with which the project is associated.
|
|
90
|
+
"""
|
|
91
|
+
return pulumi.get(self, "organization_id")
|
|
92
|
+
|
|
93
|
+
@_builtins.property
|
|
94
|
+
@pulumi.getter
|
|
95
|
+
def projects(self) -> Sequence['outputs.GetProjectsProjectResult']:
|
|
96
|
+
"""
|
|
97
|
+
(Computed) A list of projects. Each project has the following attributes:
|
|
98
|
+
"""
|
|
99
|
+
return pulumi.get(self, "projects")
|
|
100
|
+
|
|
101
|
+
@_builtins.property
|
|
102
|
+
@pulumi.getter(name="updatedAt")
|
|
103
|
+
def updated_at(self) -> _builtins.str:
|
|
104
|
+
"""
|
|
105
|
+
(Computed) The date and time when the project was updated.
|
|
106
|
+
"""
|
|
107
|
+
return pulumi.get(self, "updated_at")
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
class AwaitableGetProjectsResult(GetProjectsResult):
|
|
111
|
+
# pylint: disable=using-constant-test
|
|
112
|
+
def __await__(self):
|
|
113
|
+
if False:
|
|
114
|
+
yield self
|
|
115
|
+
return GetProjectsResult(
|
|
116
|
+
created_at=self.created_at,
|
|
117
|
+
description=self.description,
|
|
118
|
+
id=self.id,
|
|
119
|
+
name=self.name,
|
|
120
|
+
organization_id=self.organization_id,
|
|
121
|
+
projects=self.projects,
|
|
122
|
+
updated_at=self.updated_at)
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
def get_projects(organization_id: Optional[_builtins.str] = None,
|
|
126
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetProjectsResult:
|
|
127
|
+
"""
|
|
128
|
+
The `account_get_projects` data source is used to list all Scaleway projects in an Organization.
|
|
129
|
+
|
|
130
|
+
Refer to the Organizations and Projects [documentation](https://www.scaleway.com/en/docs/organizations-and-projects/) and [API documentation](https://www.scaleway.com/en/developers/api/account/project-api/) for more information.
|
|
131
|
+
|
|
132
|
+
## Retrieve a Scaleway Projects
|
|
133
|
+
|
|
134
|
+
The following commands allow you to:
|
|
135
|
+
|
|
136
|
+
- retrieve all Projects in an Organization
|
|
137
|
+
|
|
138
|
+
```python
|
|
139
|
+
import pulumi
|
|
140
|
+
import pulumi_scaleway as scaleway
|
|
141
|
+
|
|
142
|
+
# Get all Projects in an Organization
|
|
143
|
+
all = scaleway.account.get_projects(organization_id="xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx")
|
|
144
|
+
```
|
|
145
|
+
|
|
146
|
+
## Example Usage
|
|
147
|
+
|
|
148
|
+
### Deploy an SSH key in all your organization's projects
|
|
149
|
+
|
|
150
|
+
```python
|
|
151
|
+
import pulumi
|
|
152
|
+
import pulumi_scaleway as scaleway
|
|
153
|
+
import pulumiverse_scaleway as scaleway
|
|
154
|
+
|
|
155
|
+
all = scaleway.account.get_projects()
|
|
156
|
+
main = []
|
|
157
|
+
def create_main(range_body):
|
|
158
|
+
for range in [{"value": i} for i in range(0, range_body)]:
|
|
159
|
+
main.append(scaleway.account.SshKey(f"main-{range['value']}",
|
|
160
|
+
name="main",
|
|
161
|
+
public_key=public_key,
|
|
162
|
+
project_id=all.projects[range["value"]].id))
|
|
163
|
+
|
|
164
|
+
(len(all.projects)).apply(create_main)
|
|
165
|
+
```
|
|
166
|
+
|
|
167
|
+
|
|
168
|
+
:param _builtins.str organization_id: The unique identifier of the Organization with which the Projects are associated.
|
|
169
|
+
If no default `organization_id` is set, one must be set explicitly in this datasource
|
|
170
|
+
"""
|
|
171
|
+
__args__ = dict()
|
|
172
|
+
__args__['organizationId'] = organization_id
|
|
173
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
174
|
+
__ret__ = pulumi.runtime.invoke('scaleway:account/getProjects:getProjects', __args__, opts=opts, typ=GetProjectsResult).value
|
|
175
|
+
|
|
176
|
+
return AwaitableGetProjectsResult(
|
|
177
|
+
created_at=pulumi.get(__ret__, 'created_at'),
|
|
178
|
+
description=pulumi.get(__ret__, 'description'),
|
|
179
|
+
id=pulumi.get(__ret__, 'id'),
|
|
180
|
+
name=pulumi.get(__ret__, 'name'),
|
|
181
|
+
organization_id=pulumi.get(__ret__, 'organization_id'),
|
|
182
|
+
projects=pulumi.get(__ret__, 'projects'),
|
|
183
|
+
updated_at=pulumi.get(__ret__, 'updated_at'))
|
|
184
|
+
def get_projects_output(organization_id: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
185
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetProjectsResult]:
|
|
186
|
+
"""
|
|
187
|
+
The `account_get_projects` data source is used to list all Scaleway projects in an Organization.
|
|
188
|
+
|
|
189
|
+
Refer to the Organizations and Projects [documentation](https://www.scaleway.com/en/docs/organizations-and-projects/) and [API documentation](https://www.scaleway.com/en/developers/api/account/project-api/) for more information.
|
|
190
|
+
|
|
191
|
+
## Retrieve a Scaleway Projects
|
|
192
|
+
|
|
193
|
+
The following commands allow you to:
|
|
194
|
+
|
|
195
|
+
- retrieve all Projects in an Organization
|
|
196
|
+
|
|
197
|
+
```python
|
|
198
|
+
import pulumi
|
|
199
|
+
import pulumi_scaleway as scaleway
|
|
200
|
+
|
|
201
|
+
# Get all Projects in an Organization
|
|
202
|
+
all = scaleway.account.get_projects(organization_id="xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx")
|
|
203
|
+
```
|
|
204
|
+
|
|
205
|
+
## Example Usage
|
|
206
|
+
|
|
207
|
+
### Deploy an SSH key in all your organization's projects
|
|
208
|
+
|
|
209
|
+
```python
|
|
210
|
+
import pulumi
|
|
211
|
+
import pulumi_scaleway as scaleway
|
|
212
|
+
import pulumiverse_scaleway as scaleway
|
|
213
|
+
|
|
214
|
+
all = scaleway.account.get_projects()
|
|
215
|
+
main = []
|
|
216
|
+
def create_main(range_body):
|
|
217
|
+
for range in [{"value": i} for i in range(0, range_body)]:
|
|
218
|
+
main.append(scaleway.account.SshKey(f"main-{range['value']}",
|
|
219
|
+
name="main",
|
|
220
|
+
public_key=public_key,
|
|
221
|
+
project_id=all.projects[range["value"]].id))
|
|
222
|
+
|
|
223
|
+
(len(all.projects)).apply(create_main)
|
|
224
|
+
```
|
|
225
|
+
|
|
226
|
+
|
|
227
|
+
:param _builtins.str organization_id: The unique identifier of the Organization with which the Projects are associated.
|
|
228
|
+
If no default `organization_id` is set, one must be set explicitly in this datasource
|
|
229
|
+
"""
|
|
230
|
+
__args__ = dict()
|
|
231
|
+
__args__['organizationId'] = organization_id
|
|
232
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
233
|
+
__ret__ = pulumi.runtime.invoke_output('scaleway:account/getProjects:getProjects', __args__, opts=opts, typ=GetProjectsResult)
|
|
234
|
+
return __ret__.apply(lambda __response__: GetProjectsResult(
|
|
235
|
+
created_at=pulumi.get(__response__, 'created_at'),
|
|
236
|
+
description=pulumi.get(__response__, 'description'),
|
|
237
|
+
id=pulumi.get(__response__, 'id'),
|
|
238
|
+
name=pulumi.get(__response__, 'name'),
|
|
239
|
+
organization_id=pulumi.get(__response__, 'organization_id'),
|
|
240
|
+
projects=pulumi.get(__response__, 'projects'),
|
|
241
|
+
updated_at=pulumi.get(__response__, 'updated_at')))
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
# coding=utf-8
|
|
2
|
-
# *** WARNING: this file was generated by
|
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
-
import
|
|
5
|
+
import builtins as _builtins
|
|
6
6
|
import warnings
|
|
7
7
|
import sys
|
|
8
8
|
import pulumi
|
|
@@ -58,63 +58,63 @@ class GetSshKeyResult:
|
|
|
58
58
|
raise TypeError("Expected argument 'updated_at' to be a str")
|
|
59
59
|
pulumi.set(__self__, "updated_at", updated_at)
|
|
60
60
|
|
|
61
|
-
@property
|
|
61
|
+
@_builtins.property
|
|
62
62
|
@pulumi.getter(name="createdAt")
|
|
63
|
-
def created_at(self) -> str:
|
|
63
|
+
def created_at(self) -> _builtins.str:
|
|
64
64
|
return pulumi.get(self, "created_at")
|
|
65
65
|
|
|
66
|
-
@property
|
|
66
|
+
@_builtins.property
|
|
67
67
|
@pulumi.getter
|
|
68
|
-
def disabled(self) -> bool:
|
|
68
|
+
def disabled(self) -> _builtins.bool:
|
|
69
69
|
return pulumi.get(self, "disabled")
|
|
70
70
|
|
|
71
|
-
@property
|
|
71
|
+
@_builtins.property
|
|
72
72
|
@pulumi.getter
|
|
73
|
-
def fingerprint(self) -> str:
|
|
73
|
+
def fingerprint(self) -> _builtins.str:
|
|
74
74
|
return pulumi.get(self, "fingerprint")
|
|
75
75
|
|
|
76
|
-
@property
|
|
76
|
+
@_builtins.property
|
|
77
77
|
@pulumi.getter
|
|
78
|
-
def id(self) -> str:
|
|
78
|
+
def id(self) -> _builtins.str:
|
|
79
79
|
"""
|
|
80
80
|
The provider-assigned unique ID for this managed resource.
|
|
81
81
|
"""
|
|
82
82
|
return pulumi.get(self, "id")
|
|
83
83
|
|
|
84
|
-
@property
|
|
84
|
+
@_builtins.property
|
|
85
85
|
@pulumi.getter
|
|
86
|
-
def name(self) -> Optional[str]:
|
|
86
|
+
def name(self) -> Optional[_builtins.str]:
|
|
87
87
|
return pulumi.get(self, "name")
|
|
88
88
|
|
|
89
|
-
@property
|
|
89
|
+
@_builtins.property
|
|
90
90
|
@pulumi.getter(name="organizationId")
|
|
91
|
-
def organization_id(self) -> str:
|
|
91
|
+
def organization_id(self) -> _builtins.str:
|
|
92
92
|
"""
|
|
93
93
|
The unique identifier of the Organization with which the SSH key is associated.
|
|
94
94
|
"""
|
|
95
95
|
return pulumi.get(self, "organization_id")
|
|
96
96
|
|
|
97
|
-
@property
|
|
97
|
+
@_builtins.property
|
|
98
98
|
@pulumi.getter(name="projectId")
|
|
99
|
-
def project_id(self) -> Optional[str]:
|
|
99
|
+
def project_id(self) -> Optional[_builtins.str]:
|
|
100
100
|
return pulumi.get(self, "project_id")
|
|
101
101
|
|
|
102
|
-
@property
|
|
102
|
+
@_builtins.property
|
|
103
103
|
@pulumi.getter(name="publicKey")
|
|
104
|
-
def public_key(self) -> str:
|
|
104
|
+
def public_key(self) -> _builtins.str:
|
|
105
105
|
"""
|
|
106
106
|
The string of the SSH public key.
|
|
107
107
|
"""
|
|
108
108
|
return pulumi.get(self, "public_key")
|
|
109
109
|
|
|
110
|
-
@property
|
|
110
|
+
@_builtins.property
|
|
111
111
|
@pulumi.getter(name="sshKeyId")
|
|
112
|
-
def ssh_key_id(self) -> Optional[str]:
|
|
112
|
+
def ssh_key_id(self) -> Optional[_builtins.str]:
|
|
113
113
|
return pulumi.get(self, "ssh_key_id")
|
|
114
114
|
|
|
115
|
-
@property
|
|
115
|
+
@_builtins.property
|
|
116
116
|
@pulumi.getter(name="updatedAt")
|
|
117
|
-
def updated_at(self) -> str:
|
|
117
|
+
def updated_at(self) -> _builtins.str:
|
|
118
118
|
return pulumi.get(self, "updated_at")
|
|
119
119
|
|
|
120
120
|
|
|
@@ -136,9 +136,9 @@ class AwaitableGetSshKeyResult(GetSshKeyResult):
|
|
|
136
136
|
updated_at=self.updated_at)
|
|
137
137
|
|
|
138
138
|
|
|
139
|
-
def get_ssh_key(name: Optional[str] = None,
|
|
140
|
-
project_id: Optional[str] = None,
|
|
141
|
-
ssh_key_id: Optional[str] = None,
|
|
139
|
+
def get_ssh_key(name: Optional[_builtins.str] = None,
|
|
140
|
+
project_id: Optional[_builtins.str] = None,
|
|
141
|
+
ssh_key_id: Optional[_builtins.str] = None,
|
|
142
142
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetSshKeyResult:
|
|
143
143
|
"""
|
|
144
144
|
The `account.SshKey` data source is used to retrieve information about a the SSH key of a Scaleway account.
|
|
@@ -146,9 +146,9 @@ def get_ssh_key(name: Optional[str] = None,
|
|
|
146
146
|
Refer to the Organizations and Projects [documentation](https://www.scaleway.com/en/docs/organizations-and-projects/how-to/create-ssh-key/) and [API documentation](https://www.scaleway.com/en/developers/api/iam/#path-ssh-keys) for more information.
|
|
147
147
|
|
|
148
148
|
|
|
149
|
-
:param str name: The name of the SSH key.
|
|
150
|
-
:param str project_id: `project_id`) The unique identifier of the project with which the SSH key is associated.
|
|
151
|
-
:param str ssh_key_id: The unique identifier of the SSH key.
|
|
149
|
+
:param _builtins.str name: The name of the SSH key.
|
|
150
|
+
:param _builtins.str project_id: `project_id`) The unique identifier of the project with which the SSH key is associated.
|
|
151
|
+
:param _builtins.str ssh_key_id: The unique identifier of the SSH key.
|
|
152
152
|
|
|
153
153
|
> **Note** You must specify at least one: `name` and/or `ssh_key_id`.
|
|
154
154
|
"""
|
|
@@ -170,9 +170,9 @@ def get_ssh_key(name: Optional[str] = None,
|
|
|
170
170
|
public_key=pulumi.get(__ret__, 'public_key'),
|
|
171
171
|
ssh_key_id=pulumi.get(__ret__, 'ssh_key_id'),
|
|
172
172
|
updated_at=pulumi.get(__ret__, 'updated_at'))
|
|
173
|
-
def get_ssh_key_output(name: Optional[pulumi.Input[Optional[str]]] = None,
|
|
174
|
-
project_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
175
|
-
ssh_key_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
173
|
+
def get_ssh_key_output(name: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
174
|
+
project_id: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
175
|
+
ssh_key_id: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
176
176
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetSshKeyResult]:
|
|
177
177
|
"""
|
|
178
178
|
The `account.SshKey` data source is used to retrieve information about a the SSH key of a Scaleway account.
|
|
@@ -180,9 +180,9 @@ def get_ssh_key_output(name: Optional[pulumi.Input[Optional[str]]] = None,
|
|
|
180
180
|
Refer to the Organizations and Projects [documentation](https://www.scaleway.com/en/docs/organizations-and-projects/how-to/create-ssh-key/) and [API documentation](https://www.scaleway.com/en/developers/api/iam/#path-ssh-keys) for more information.
|
|
181
181
|
|
|
182
182
|
|
|
183
|
-
:param str name: The name of the SSH key.
|
|
184
|
-
:param str project_id: `project_id`) The unique identifier of the project with which the SSH key is associated.
|
|
185
|
-
:param str ssh_key_id: The unique identifier of the SSH key.
|
|
183
|
+
:param _builtins.str name: The name of the SSH key.
|
|
184
|
+
:param _builtins.str project_id: `project_id`) The unique identifier of the project with which the SSH key is associated.
|
|
185
|
+
:param _builtins.str ssh_key_id: The unique identifier of the SSH key.
|
|
186
186
|
|
|
187
187
|
> **Note** You must specify at least one: `name` and/or `ssh_key_id`.
|
|
188
188
|
"""
|