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