pulumiverse-scaleway 1.25.0a1742288097__py3-none-any.whl → 1.25.0a1742668904__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 +929 -0
- pulumiverse_scaleway/account/__init__.py +12 -0
- pulumiverse_scaleway/account/get_availability_zones.py +139 -0
- pulumiverse_scaleway/account/get_project.py +170 -0
- pulumiverse_scaleway/account/get_ssh_key.py +205 -0
- pulumiverse_scaleway/account/project.py +318 -0
- pulumiverse_scaleway/account/ssh_key.py +456 -0
- pulumiverse_scaleway/account_project.py +6 -0
- pulumiverse_scaleway/account_ssh_key.py +12 -6
- pulumiverse_scaleway/apple_silicon_server.py +8 -2
- pulumiverse_scaleway/applesilicon/__init__.py +10 -0
- pulumiverse_scaleway/applesilicon/_inputs.py +154 -0
- pulumiverse_scaleway/applesilicon/outputs.py +119 -0
- pulumiverse_scaleway/applesilicon/server.py +690 -0
- pulumiverse_scaleway/baremetal_server.py +64 -58
- pulumiverse_scaleway/billing/__init__.py +10 -0
- pulumiverse_scaleway/billing/get_consumptions.py +134 -0
- pulumiverse_scaleway/billing/get_invoices.py +154 -0
- pulumiverse_scaleway/billing/outputs.py +288 -0
- pulumiverse_scaleway/block/__init__.py +11 -0
- pulumiverse_scaleway/block/get_snapshot.py +174 -0
- pulumiverse_scaleway/block/get_volume.py +199 -0
- pulumiverse_scaleway/block/snapshot.py +403 -0
- pulumiverse_scaleway/block/volume.py +576 -0
- pulumiverse_scaleway/block_snapshot.py +12 -6
- pulumiverse_scaleway/block_volume.py +16 -10
- pulumiverse_scaleway/cockpit.py +10 -4
- pulumiverse_scaleway/cockpit_alert_manager.py +12 -6
- pulumiverse_scaleway/cockpit_grafana_user.py +12 -6
- pulumiverse_scaleway/cockpit_source.py +12 -6
- pulumiverse_scaleway/cockpit_token.py +16 -10
- pulumiverse_scaleway/container.py +16 -10
- pulumiverse_scaleway/container_cron.py +14 -8
- pulumiverse_scaleway/container_domain.py +24 -18
- pulumiverse_scaleway/container_namespace.py +10 -4
- pulumiverse_scaleway/container_token.py +32 -26
- pulumiverse_scaleway/container_trigger.py +12 -6
- pulumiverse_scaleway/containers/__init__.py +17 -0
- pulumiverse_scaleway/containers/_inputs.py +389 -0
- pulumiverse_scaleway/containers/container.py +1635 -0
- pulumiverse_scaleway/containers/cron.py +460 -0
- pulumiverse_scaleway/containers/domain.py +408 -0
- pulumiverse_scaleway/containers/get_container.py +562 -0
- pulumiverse_scaleway/containers/get_namespace.py +283 -0
- pulumiverse_scaleway/containers/namespace.py +638 -0
- pulumiverse_scaleway/containers/outputs.py +412 -0
- pulumiverse_scaleway/containers/token.py +454 -0
- pulumiverse_scaleway/containers/trigger.py +482 -0
- pulumiverse_scaleway/database.py +10 -4
- pulumiverse_scaleway/database_acl.py +10 -4
- pulumiverse_scaleway/database_backup.py +14 -8
- pulumiverse_scaleway/database_instance.py +24 -18
- pulumiverse_scaleway/database_privilege.py +16 -10
- pulumiverse_scaleway/database_read_replica.py +22 -16
- pulumiverse_scaleway/database_user.py +10 -4
- pulumiverse_scaleway/databases/__init__.py +23 -0
- pulumiverse_scaleway/databases/_inputs.py +822 -0
- pulumiverse_scaleway/databases/acl.py +334 -0
- pulumiverse_scaleway/databases/database.py +409 -0
- pulumiverse_scaleway/databases/database_backup.py +576 -0
- pulumiverse_scaleway/databases/get_acl.py +143 -0
- pulumiverse_scaleway/databases/get_database.py +187 -0
- pulumiverse_scaleway/databases/get_database_backup.py +253 -0
- pulumiverse_scaleway/databases/get_instance.py +415 -0
- pulumiverse_scaleway/databases/get_privilege.py +181 -0
- pulumiverse_scaleway/databases/instance.py +1696 -0
- pulumiverse_scaleway/databases/outputs.py +866 -0
- pulumiverse_scaleway/databases/privilege.py +424 -0
- pulumiverse_scaleway/databases/read_replica.py +530 -0
- pulumiverse_scaleway/databases/serverless_database.py +434 -0
- pulumiverse_scaleway/databases/snapshot.py +610 -0
- pulumiverse_scaleway/databases/user.py +448 -0
- pulumiverse_scaleway/domain/__init__.py +13 -0
- pulumiverse_scaleway/domain/_inputs.py +341 -0
- pulumiverse_scaleway/domain/get_record.py +340 -0
- pulumiverse_scaleway/domain/get_zone.py +201 -0
- pulumiverse_scaleway/domain/outputs.py +408 -0
- pulumiverse_scaleway/domain/record.py +1118 -0
- pulumiverse_scaleway/domain/zone.py +432 -0
- pulumiverse_scaleway/domain_record.py +36 -30
- pulumiverse_scaleway/domain_zone.py +6 -0
- pulumiverse_scaleway/elasticmetal/__init__.py +18 -0
- pulumiverse_scaleway/elasticmetal/_inputs.py +509 -0
- pulumiverse_scaleway/elasticmetal/get_ip.py +247 -0
- pulumiverse_scaleway/elasticmetal/get_ips.py +240 -0
- pulumiverse_scaleway/elasticmetal/get_offer.py +245 -0
- pulumiverse_scaleway/elasticmetal/get_option.py +168 -0
- pulumiverse_scaleway/elasticmetal/get_os.py +174 -0
- pulumiverse_scaleway/elasticmetal/get_server.py +422 -0
- pulumiverse_scaleway/elasticmetal/ip.py +704 -0
- pulumiverse_scaleway/elasticmetal/ip_mac_address.py +512 -0
- pulumiverse_scaleway/elasticmetal/outputs.py +974 -0
- pulumiverse_scaleway/elasticmetal/server.py +1591 -0
- pulumiverse_scaleway/flexible_ip.py +22 -16
- pulumiverse_scaleway/flexible_ip_mac_address.py +22 -16
- pulumiverse_scaleway/function.py +6 -0
- pulumiverse_scaleway/function_cron.py +16 -10
- pulumiverse_scaleway/function_domain.py +16 -10
- pulumiverse_scaleway/function_namespace.py +10 -4
- pulumiverse_scaleway/function_token.py +32 -26
- pulumiverse_scaleway/function_trigger.py +12 -6
- pulumiverse_scaleway/functions/__init__.py +17 -0
- pulumiverse_scaleway/functions/_inputs.py +211 -0
- pulumiverse_scaleway/functions/cron.py +464 -0
- pulumiverse_scaleway/functions/domain.py +372 -0
- pulumiverse_scaleway/functions/function.py +1105 -0
- pulumiverse_scaleway/functions/get_function.py +365 -0
- pulumiverse_scaleway/functions/get_namespace.py +238 -0
- pulumiverse_scaleway/functions/namespace.py +582 -0
- pulumiverse_scaleway/functions/outputs.py +168 -0
- pulumiverse_scaleway/functions/token.py +462 -0
- pulumiverse_scaleway/functions/trigger.py +482 -0
- pulumiverse_scaleway/get_account_project.py +6 -2
- pulumiverse_scaleway/get_account_ssh_key.py +6 -2
- pulumiverse_scaleway/get_availability_zones.py +8 -4
- pulumiverse_scaleway/get_baremetal_offer.py +4 -0
- pulumiverse_scaleway/get_baremetal_option.py +8 -4
- pulumiverse_scaleway/get_baremetal_os.py +8 -4
- pulumiverse_scaleway/get_baremetal_server.py +8 -4
- pulumiverse_scaleway/get_billing_consumptions.py +4 -0
- pulumiverse_scaleway/get_billing_invoices.py +4 -0
- pulumiverse_scaleway/get_block_snapshot.py +6 -2
- pulumiverse_scaleway/get_block_volume.py +6 -2
- pulumiverse_scaleway/get_cockpit.py +12 -8
- pulumiverse_scaleway/get_cockpit_plan.py +10 -6
- pulumiverse_scaleway/get_cockpit_source.py +8 -4
- pulumiverse_scaleway/get_container.py +16 -12
- pulumiverse_scaleway/get_container_namespace.py +10 -6
- pulumiverse_scaleway/get_database.py +6 -2
- pulumiverse_scaleway/get_database_acl.py +6 -2
- pulumiverse_scaleway/get_database_backup.py +10 -6
- pulumiverse_scaleway/get_database_instance.py +4 -0
- pulumiverse_scaleway/get_database_privilege.py +6 -2
- pulumiverse_scaleway/get_domain_record.py +10 -6
- pulumiverse_scaleway/get_domain_zone.py +4 -0
- pulumiverse_scaleway/get_flexible_ip.py +4 -0
- pulumiverse_scaleway/get_flexible_ips.py +16 -12
- pulumiverse_scaleway/get_function.py +6 -2
- pulumiverse_scaleway/get_function_namespace.py +6 -2
- pulumiverse_scaleway/get_iam_api_key.py +6 -2
- pulumiverse_scaleway/get_iam_application.py +8 -4
- pulumiverse_scaleway/get_iam_group.py +8 -4
- pulumiverse_scaleway/get_iam_ssh_key.py +4 -0
- pulumiverse_scaleway/get_iam_user.py +8 -4
- pulumiverse_scaleway/get_instance_image.py +4 -0
- pulumiverse_scaleway/get_instance_ip.py +4 -0
- pulumiverse_scaleway/get_instance_placement_group.py +4 -0
- pulumiverse_scaleway/get_instance_private_nic.py +10 -6
- pulumiverse_scaleway/get_instance_security_group.py +4 -0
- pulumiverse_scaleway/get_instance_server.py +4 -0
- pulumiverse_scaleway/get_instance_servers.py +4 -0
- pulumiverse_scaleway/get_instance_snapshot.py +8 -4
- pulumiverse_scaleway/get_instance_volume.py +4 -0
- pulumiverse_scaleway/get_iot_device.py +4 -0
- pulumiverse_scaleway/get_iot_hub.py +4 -0
- pulumiverse_scaleway/get_ipam_ip.py +18 -14
- pulumiverse_scaleway/get_ipam_ips.py +14 -10
- pulumiverse_scaleway/get_k8s_version.py +8 -4
- pulumiverse_scaleway/get_kubernetes_cluster.py +4 -0
- pulumiverse_scaleway/get_kubernetes_node_pool.py +4 -0
- pulumiverse_scaleway/get_lb_acls.py +8 -4
- pulumiverse_scaleway/get_lb_backend.py +18 -14
- pulumiverse_scaleway/get_lb_backends.py +8 -4
- pulumiverse_scaleway/get_lb_frontend.py +16 -12
- pulumiverse_scaleway/get_lb_frontends.py +8 -4
- pulumiverse_scaleway/get_lb_ips.py +4 -0
- pulumiverse_scaleway/get_lb_route.py +16 -12
- pulumiverse_scaleway/get_lb_routes.py +8 -4
- pulumiverse_scaleway/get_lbs.py +4 -0
- pulumiverse_scaleway/get_loadbalancer.py +8 -4
- pulumiverse_scaleway/get_loadbalancer_certificate.py +4 -0
- pulumiverse_scaleway/get_loadbalancer_ip.py +4 -0
- pulumiverse_scaleway/get_mnq_sns.py +8 -4
- pulumiverse_scaleway/get_mnq_sqs.py +8 -4
- pulumiverse_scaleway/get_mongo_db_instance.py +4 -0
- pulumiverse_scaleway/get_object_bucket.py +12 -8
- pulumiverse_scaleway/get_object_bucket_policy.py +8 -4
- pulumiverse_scaleway/get_redis_cluster.py +4 -0
- pulumiverse_scaleway/get_registry_image.py +4 -0
- pulumiverse_scaleway/get_registry_image_tag.py +4 -0
- pulumiverse_scaleway/get_registry_namespace.py +4 -0
- pulumiverse_scaleway/get_secret.py +12 -8
- pulumiverse_scaleway/get_secret_version.py +14 -10
- pulumiverse_scaleway/get_tem_domain.py +4 -0
- pulumiverse_scaleway/get_vpc.py +10 -6
- pulumiverse_scaleway/get_vpc_gateway_network.py +10 -6
- pulumiverse_scaleway/get_vpc_private_network.py +10 -6
- pulumiverse_scaleway/get_vpc_public_gateway.py +10 -6
- pulumiverse_scaleway/get_vpc_public_gateway_dhcp.py +8 -4
- pulumiverse_scaleway/get_vpc_public_gateway_dhcp_reservation.py +70 -66
- pulumiverse_scaleway/get_vpc_public_gateway_ip.py +8 -4
- pulumiverse_scaleway/get_vpc_public_pat_rule.py +26 -22
- pulumiverse_scaleway/get_vpc_routes.py +4 -0
- pulumiverse_scaleway/get_vpcs.py +4 -0
- pulumiverse_scaleway/get_web_host_offer.py +8 -4
- pulumiverse_scaleway/get_webhosting.py +8 -4
- pulumiverse_scaleway/hosting/__init__.py +12 -0
- pulumiverse_scaleway/hosting/_inputs.py +295 -0
- pulumiverse_scaleway/hosting/get_hosting.py +354 -0
- pulumiverse_scaleway/hosting/get_offer.py +229 -0
- pulumiverse_scaleway/hosting/hosting.py +870 -0
- pulumiverse_scaleway/hosting/outputs.py +626 -0
- pulumiverse_scaleway/iam/__init__.py +21 -0
- pulumiverse_scaleway/iam/_inputs.py +138 -0
- pulumiverse_scaleway/iam/api_key.py +622 -0
- pulumiverse_scaleway/iam/application.py +419 -0
- pulumiverse_scaleway/iam/get_api_key.py +210 -0
- pulumiverse_scaleway/iam/get_application.py +210 -0
- pulumiverse_scaleway/iam/get_group.py +236 -0
- pulumiverse_scaleway/iam/get_ssh_key.py +212 -0
- pulumiverse_scaleway/iam/get_user.py +177 -0
- pulumiverse_scaleway/iam/group.py +568 -0
- pulumiverse_scaleway/iam/group_membership.py +325 -0
- pulumiverse_scaleway/iam/outputs.py +111 -0
- pulumiverse_scaleway/iam/policy.py +775 -0
- pulumiverse_scaleway/iam/ssh_key.py +457 -0
- pulumiverse_scaleway/iam/user.py +515 -0
- pulumiverse_scaleway/iam_api_key.py +16 -10
- pulumiverse_scaleway/iam_application.py +8 -2
- pulumiverse_scaleway/iam_group.py +12 -6
- pulumiverse_scaleway/iam_group_membership.py +12 -6
- pulumiverse_scaleway/iam_policy.py +18 -12
- pulumiverse_scaleway/iam_ssh_key.py +8 -2
- pulumiverse_scaleway/iam_user.py +8 -2
- pulumiverse_scaleway/inference/__init__.py +10 -0
- pulumiverse_scaleway/inference/_inputs.py +209 -0
- pulumiverse_scaleway/inference/deployment.py +824 -0
- pulumiverse_scaleway/inference/outputs.py +169 -0
- pulumiverse_scaleway/inference_deployment.py +8 -2
- pulumiverse_scaleway/instance/__init__.py +29 -0
- pulumiverse_scaleway/instance/_inputs.py +1237 -0
- pulumiverse_scaleway/instance/get_image.py +305 -0
- pulumiverse_scaleway/instance/get_ip.py +204 -0
- pulumiverse_scaleway/instance/get_placement_group.py +212 -0
- pulumiverse_scaleway/instance/get_private_nic.py +226 -0
- pulumiverse_scaleway/instance/get_security_group.py +268 -0
- pulumiverse_scaleway/instance/get_server.py +488 -0
- pulumiverse_scaleway/instance/get_servers.py +187 -0
- pulumiverse_scaleway/instance/get_snapshot.py +248 -0
- pulumiverse_scaleway/instance/get_volume.py +226 -0
- pulumiverse_scaleway/instance/image.py +752 -0
- pulumiverse_scaleway/instance/ip.py +471 -0
- pulumiverse_scaleway/instance/ip_reverse_dns.py +310 -0
- pulumiverse_scaleway/instance/outputs.py +1533 -0
- pulumiverse_scaleway/instance/placement_group.py +481 -0
- pulumiverse_scaleway/instance/private_nic.py +557 -0
- pulumiverse_scaleway/instance/security_group.py +722 -0
- pulumiverse_scaleway/instance/security_group_rules.py +441 -0
- pulumiverse_scaleway/instance/server.py +1938 -0
- pulumiverse_scaleway/instance/snapshot.py +671 -0
- pulumiverse_scaleway/instance/user_data.py +437 -0
- pulumiverse_scaleway/instance/volume.py +584 -0
- pulumiverse_scaleway/instance_image.py +18 -12
- pulumiverse_scaleway/instance_ip.py +8 -2
- pulumiverse_scaleway/instance_ip_reverse_dns.py +12 -6
- pulumiverse_scaleway/instance_placement_group.py +8 -2
- pulumiverse_scaleway/instance_private_nic.py +24 -18
- pulumiverse_scaleway/instance_security_group.py +6 -0
- pulumiverse_scaleway/instance_security_group_rules.py +22 -16
- pulumiverse_scaleway/instance_server.py +74 -68
- pulumiverse_scaleway/instance_snapshot.py +22 -16
- pulumiverse_scaleway/instance_user_data.py +16 -10
- pulumiverse_scaleway/instance_volume.py +8 -2
- pulumiverse_scaleway/iot/__init__.py +15 -0
- pulumiverse_scaleway/iot/_inputs.py +539 -0
- pulumiverse_scaleway/iot/device.py +752 -0
- pulumiverse_scaleway/iot/get_device.py +257 -0
- pulumiverse_scaleway/iot/get_hub.py +322 -0
- pulumiverse_scaleway/iot/hub.py +898 -0
- pulumiverse_scaleway/iot/network.py +474 -0
- pulumiverse_scaleway/iot/outputs.py +465 -0
- pulumiverse_scaleway/iot/route.py +662 -0
- pulumiverse_scaleway/iot_device.py +14 -8
- pulumiverse_scaleway/iot_hub.py +8 -2
- pulumiverse_scaleway/iot_network.py +12 -6
- pulumiverse_scaleway/iot_route.py +32 -26
- pulumiverse_scaleway/ipam/__init__.py +13 -0
- pulumiverse_scaleway/ipam/_inputs.py +442 -0
- pulumiverse_scaleway/ipam/get_ip.py +419 -0
- pulumiverse_scaleway/ipam/get_ips.py +358 -0
- pulumiverse_scaleway/ipam/ip.py +759 -0
- pulumiverse_scaleway/ipam/ip_reverse_dns.py +320 -0
- pulumiverse_scaleway/ipam/outputs.py +481 -0
- pulumiverse_scaleway/ipam_ip.py +30 -24
- pulumiverse_scaleway/ipam_ip_reverse_dns.py +6 -0
- pulumiverse_scaleway/job/__init__.py +10 -0
- pulumiverse_scaleway/job/_inputs.py +73 -0
- pulumiverse_scaleway/job/definition.py +694 -0
- pulumiverse_scaleway/job/outputs.py +49 -0
- pulumiverse_scaleway/job_definition.py +8 -2
- pulumiverse_scaleway/kubernetes/__init__.py +14 -0
- pulumiverse_scaleway/kubernetes/_inputs.py +717 -0
- pulumiverse_scaleway/kubernetes/cluster.py +1540 -0
- pulumiverse_scaleway/kubernetes/get_cluster.py +417 -0
- pulumiverse_scaleway/kubernetes/get_pool.py +436 -0
- pulumiverse_scaleway/kubernetes/get_version.py +196 -0
- pulumiverse_scaleway/kubernetes/outputs.py +944 -0
- pulumiverse_scaleway/kubernetes/pool.py +1313 -0
- pulumiverse_scaleway/kubernetes_cluster.py +36 -30
- pulumiverse_scaleway/kubernetes_node_pool.py +6 -0
- pulumiverse_scaleway/loadbalancer.py +35 -29
- pulumiverse_scaleway/loadbalancer_acl.py +8 -2
- pulumiverse_scaleway/loadbalancer_backend.py +10 -4
- pulumiverse_scaleway/loadbalancer_certificate.py +6 -0
- pulumiverse_scaleway/loadbalancer_frontend.py +10 -4
- pulumiverse_scaleway/loadbalancer_ip.py +10 -4
- pulumiverse_scaleway/loadbalancer_route.py +26 -20
- pulumiverse_scaleway/loadbalancers/__init__.py +28 -0
- pulumiverse_scaleway/loadbalancers/_inputs.py +1103 -0
- pulumiverse_scaleway/loadbalancers/acl.py +522 -0
- pulumiverse_scaleway/loadbalancers/backend.py +1590 -0
- pulumiverse_scaleway/loadbalancers/certificate.py +462 -0
- pulumiverse_scaleway/loadbalancers/frontend.py +831 -0
- pulumiverse_scaleway/loadbalancers/get_acls.py +198 -0
- pulumiverse_scaleway/loadbalancers/get_backend.py +486 -0
- pulumiverse_scaleway/loadbalancers/get_backends.py +196 -0
- pulumiverse_scaleway/loadbalancers/get_certificate.py +230 -0
- pulumiverse_scaleway/loadbalancers/get_frontend.py +274 -0
- pulumiverse_scaleway/loadbalancers/get_frontends.py +196 -0
- pulumiverse_scaleway/loadbalancers/get_ip.py +228 -0
- pulumiverse_scaleway/loadbalancers/get_ips.py +198 -0
- pulumiverse_scaleway/loadbalancers/get_load_balancer.py +339 -0
- pulumiverse_scaleway/loadbalancers/get_load_balancers.py +187 -0
- pulumiverse_scaleway/loadbalancers/get_route.py +217 -0
- pulumiverse_scaleway/loadbalancers/get_routes.py +179 -0
- pulumiverse_scaleway/loadbalancers/ip.py +516 -0
- pulumiverse_scaleway/loadbalancers/load_balancer.py +1063 -0
- pulumiverse_scaleway/loadbalancers/outputs.py +2491 -0
- pulumiverse_scaleway/loadbalancers/route.py +525 -0
- pulumiverse_scaleway/mnq/__init__.py +20 -0
- pulumiverse_scaleway/mnq/_inputs.py +169 -0
- pulumiverse_scaleway/mnq/get_sns.py +150 -0
- pulumiverse_scaleway/mnq/get_sqs.py +150 -0
- pulumiverse_scaleway/mnq/nats_account.py +336 -0
- pulumiverse_scaleway/mnq/nats_credentials.py +332 -0
- pulumiverse_scaleway/mnq/outputs.py +149 -0
- pulumiverse_scaleway/mnq/sns.py +308 -0
- pulumiverse_scaleway/mnq/sns_credentials.py +415 -0
- pulumiverse_scaleway/mnq/sns_topic.py +661 -0
- pulumiverse_scaleway/mnq/sns_topic_subscription.py +701 -0
- pulumiverse_scaleway/mnq/sqs.py +306 -0
- pulumiverse_scaleway/mnq/sqs_credentials.py +415 -0
- pulumiverse_scaleway/mnq/sqs_queue.py +802 -0
- pulumiverse_scaleway/mnq_nats_account.py +8 -2
- pulumiverse_scaleway/mnq_nats_credentials.py +10 -4
- pulumiverse_scaleway/mnq_sns.py +12 -6
- pulumiverse_scaleway/mnq_sns_credentials.py +10 -4
- pulumiverse_scaleway/mnq_sns_topic.py +16 -10
- pulumiverse_scaleway/mnq_sns_topic_subscription.py +22 -16
- pulumiverse_scaleway/mnq_sqs.py +12 -6
- pulumiverse_scaleway/mnq_sqs_credentials.py +10 -4
- pulumiverse_scaleway/mnq_sqs_queue.py +16 -10
- pulumiverse_scaleway/mongo_db_instance.py +14 -8
- pulumiverse_scaleway/mongo_db_snapshot.py +8 -2
- pulumiverse_scaleway/mongodb/__init__.py +12 -0
- pulumiverse_scaleway/mongodb/_inputs.py +208 -0
- pulumiverse_scaleway/mongodb/get_instance.py +335 -0
- pulumiverse_scaleway/mongodb/instance.py +1000 -0
- pulumiverse_scaleway/mongodb/outputs.py +270 -0
- pulumiverse_scaleway/mongodb/snapshot.py +523 -0
- pulumiverse_scaleway/network/__init__.py +29 -0
- pulumiverse_scaleway/network/_inputs.py +383 -0
- pulumiverse_scaleway/network/gateway_network.py +868 -0
- pulumiverse_scaleway/network/get_gateway_network.py +287 -0
- pulumiverse_scaleway/network/get_private_network.py +282 -0
- pulumiverse_scaleway/network/get_public_gateway.py +304 -0
- pulumiverse_scaleway/network/get_public_gateway_dhcp.py +305 -0
- pulumiverse_scaleway/network/get_public_gateway_dhcp_reservation.py +382 -0
- pulumiverse_scaleway/network/get_public_gateway_ip.py +199 -0
- pulumiverse_scaleway/network/get_public_gateway_pat_rule.py +313 -0
- pulumiverse_scaleway/network/get_routes.py +208 -0
- pulumiverse_scaleway/network/get_vpc.py +246 -0
- pulumiverse_scaleway/network/get_vpcs.py +174 -0
- pulumiverse_scaleway/network/outputs.py +747 -0
- pulumiverse_scaleway/network/private_network.py +736 -0
- pulumiverse_scaleway/network/public_gateway.py +791 -0
- pulumiverse_scaleway/network/public_gateway_dhcp.py +949 -0
- pulumiverse_scaleway/network/public_gateway_dhcp_reservation.py +516 -0
- pulumiverse_scaleway/network/public_gateway_ip.py +459 -0
- pulumiverse_scaleway/network/public_gateway_ip_reverse_dns.py +308 -0
- pulumiverse_scaleway/network/public_gateway_pat_rule.py +593 -0
- pulumiverse_scaleway/network/route.py +579 -0
- pulumiverse_scaleway/network/vpc.py +538 -0
- pulumiverse_scaleway/object/__init__.py +17 -0
- pulumiverse_scaleway/object/_inputs.py +831 -0
- pulumiverse_scaleway/object/bucket.py +876 -0
- pulumiverse_scaleway/object/bucket_acl.py +598 -0
- pulumiverse_scaleway/object/bucket_lock_configuration.py +397 -0
- pulumiverse_scaleway/object/bucket_policy.py +675 -0
- pulumiverse_scaleway/object/bucket_website_configuration.py +536 -0
- pulumiverse_scaleway/object/get_bucket.py +290 -0
- pulumiverse_scaleway/object/get_bucket_policy.py +163 -0
- pulumiverse_scaleway/object/item.py +778 -0
- pulumiverse_scaleway/object/outputs.py +802 -0
- pulumiverse_scaleway/object_bucket.py +28 -22
- pulumiverse_scaleway/object_bucket_acl.py +14 -8
- pulumiverse_scaleway/object_bucket_lock_configuration.py +12 -6
- pulumiverse_scaleway/object_bucket_policy.py +46 -40
- pulumiverse_scaleway/object_bucket_website_configuration.py +18 -12
- pulumiverse_scaleway/object_item.py +8 -2
- pulumiverse_scaleway/observability/__init__.py +17 -0
- pulumiverse_scaleway/observability/_inputs.py +417 -0
- pulumiverse_scaleway/observability/alert_manager.py +403 -0
- pulumiverse_scaleway/observability/cockpit.py +325 -0
- pulumiverse_scaleway/observability/get_instance.py +205 -0
- pulumiverse_scaleway/observability/get_plan.py +125 -0
- pulumiverse_scaleway/observability/get_source.py +262 -0
- pulumiverse_scaleway/observability/grafana_user.py +364 -0
- pulumiverse_scaleway/observability/outputs.py +425 -0
- pulumiverse_scaleway/observability/source.py +569 -0
- pulumiverse_scaleway/observability/token.py +481 -0
- pulumiverse_scaleway/pulumi-plugin.json +1 -1
- pulumiverse_scaleway/rdb_snapshot.py +16 -10
- pulumiverse_scaleway/redis/__init__.py +11 -0
- pulumiverse_scaleway/redis/_inputs.py +330 -0
- pulumiverse_scaleway/redis/cluster.py +1203 -0
- pulumiverse_scaleway/redis/get_cluster.py +347 -0
- pulumiverse_scaleway/redis/outputs.py +356 -0
- pulumiverse_scaleway/redis_cluster.py +14 -8
- pulumiverse_scaleway/registry/__init__.py +11 -0
- pulumiverse_scaleway/registry/get_image.py +239 -0
- pulumiverse_scaleway/registry/get_image_tag.py +229 -0
- pulumiverse_scaleway/registry/get_namespace.py +199 -0
- pulumiverse_scaleway/registry/namespace.py +460 -0
- pulumiverse_scaleway/registry_namespace.py +8 -2
- pulumiverse_scaleway/sdb_database.py +10 -4
- pulumiverse_scaleway/secret.py +6 -0
- pulumiverse_scaleway/secret_version.py +12 -6
- pulumiverse_scaleway/secrets/__init__.py +13 -0
- pulumiverse_scaleway/secrets/_inputs.py +94 -0
- pulumiverse_scaleway/secrets/get_secret.py +338 -0
- pulumiverse_scaleway/secrets/get_version.py +340 -0
- pulumiverse_scaleway/secrets/outputs.py +120 -0
- pulumiverse_scaleway/secrets/secret.py +665 -0
- pulumiverse_scaleway/secrets/version.py +489 -0
- pulumiverse_scaleway/tem/__init__.py +13 -0
- pulumiverse_scaleway/tem/_inputs.py +135 -0
- pulumiverse_scaleway/tem/domain.py +1032 -0
- pulumiverse_scaleway/tem/domain_validation.py +305 -0
- pulumiverse_scaleway/tem/get_domain.py +378 -0
- pulumiverse_scaleway/tem/outputs.py +171 -0
- pulumiverse_scaleway/tem/webhook.py +642 -0
- pulumiverse_scaleway/tem_domain.py +20 -14
- pulumiverse_scaleway/tem_domain_validation.py +10 -4
- pulumiverse_scaleway/tem_webhook.py +28 -22
- pulumiverse_scaleway/vpc.py +10 -4
- pulumiverse_scaleway/vpc_gateway_network.py +40 -34
- pulumiverse_scaleway/vpc_private_network.py +10 -4
- pulumiverse_scaleway/vpc_public_gateway.py +8 -2
- pulumiverse_scaleway/vpc_public_gateway_dhcp.py +15 -9
- pulumiverse_scaleway/vpc_public_gateway_dhcp_reservation.py +32 -26
- pulumiverse_scaleway/vpc_public_gateway_ip.py +10 -4
- pulumiverse_scaleway/vpc_public_gateway_ip_reverse_dns.py +12 -6
- pulumiverse_scaleway/vpc_public_gateway_pat_rule.py +26 -20
- pulumiverse_scaleway/vpc_route.py +16 -10
- pulumiverse_scaleway/webhosting.py +10 -4
- {pulumiverse_scaleway-1.25.0a1742288097.dist-info → pulumiverse_scaleway-1.25.0a1742668904.dist-info}/METADATA +2 -2
- pulumiverse_scaleway-1.25.0a1742668904.dist-info/RECORD +470 -0
- {pulumiverse_scaleway-1.25.0a1742288097.dist-info → pulumiverse_scaleway-1.25.0a1742668904.dist-info}/WHEEL +1 -1
- pulumiverse_scaleway-1.25.0a1742288097.dist-info/RECORD +0 -206
- {pulumiverse_scaleway-1.25.0a1742288097.dist-info → pulumiverse_scaleway-1.25.0a1742668904.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,1000 @@
|
|
1
|
+
# coding=utf-8
|
2
|
+
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
|
+
|
5
|
+
import copy
|
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
|
+
from ._inputs import *
|
18
|
+
|
19
|
+
__all__ = ['InstanceArgs', 'Instance']
|
20
|
+
|
21
|
+
@pulumi.input_type
|
22
|
+
class InstanceArgs:
|
23
|
+
def __init__(__self__, *,
|
24
|
+
node_number: pulumi.Input[int],
|
25
|
+
node_type: pulumi.Input[str],
|
26
|
+
name: Optional[pulumi.Input[str]] = None,
|
27
|
+
password: Optional[pulumi.Input[str]] = None,
|
28
|
+
private_network: Optional[pulumi.Input['InstancePrivateNetworkArgs']] = None,
|
29
|
+
project_id: Optional[pulumi.Input[str]] = None,
|
30
|
+
public_network: Optional[pulumi.Input['InstancePublicNetworkArgs']] = None,
|
31
|
+
region: Optional[pulumi.Input[str]] = None,
|
32
|
+
settings: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
33
|
+
snapshot_id: Optional[pulumi.Input[str]] = None,
|
34
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
35
|
+
user_name: Optional[pulumi.Input[str]] = None,
|
36
|
+
version: Optional[pulumi.Input[str]] = None,
|
37
|
+
volume_size_in_gb: Optional[pulumi.Input[int]] = None,
|
38
|
+
volume_type: Optional[pulumi.Input[str]] = None):
|
39
|
+
"""
|
40
|
+
The set of arguments for constructing a Instance resource.
|
41
|
+
:param pulumi.Input[int] node_number: Number of nodes in the instance
|
42
|
+
:param pulumi.Input[str] node_type: The type of MongoDB® intance to create.
|
43
|
+
:param pulumi.Input[str] name: Name of the MongoDB® instance.
|
44
|
+
:param pulumi.Input[str] password: Password of the user.
|
45
|
+
:param pulumi.Input['InstancePrivateNetworkArgs'] private_network: Private Network endpoints of the Database Instance.
|
46
|
+
:param pulumi.Input[str] project_id: The project_id you want to attach the resource to
|
47
|
+
:param pulumi.Input['InstancePublicNetworkArgs'] public_network: Public network specs details.
|
48
|
+
:param pulumi.Input[str] region: The region you want to attach the resource to
|
49
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] settings: Map of settings to define for the instance.
|
50
|
+
:param pulumi.Input[str] snapshot_id: Snapshot ID to restore the MongoDB® instance from.
|
51
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: List of tags attached to the MongoDB® instance.
|
52
|
+
:param pulumi.Input[str] user_name: Name of the user created when the intance is created.
|
53
|
+
:param pulumi.Input[str] version: MongoDB® version of the instance.
|
54
|
+
:param pulumi.Input[int] volume_size_in_gb: Volume size in GB.
|
55
|
+
:param pulumi.Input[str] volume_type: Volume type of the instance.
|
56
|
+
"""
|
57
|
+
pulumi.set(__self__, "node_number", node_number)
|
58
|
+
pulumi.set(__self__, "node_type", node_type)
|
59
|
+
if name is not None:
|
60
|
+
pulumi.set(__self__, "name", name)
|
61
|
+
if password is not None:
|
62
|
+
pulumi.set(__self__, "password", password)
|
63
|
+
if private_network is not None:
|
64
|
+
pulumi.set(__self__, "private_network", private_network)
|
65
|
+
if project_id is not None:
|
66
|
+
pulumi.set(__self__, "project_id", project_id)
|
67
|
+
if public_network is not None:
|
68
|
+
pulumi.set(__self__, "public_network", public_network)
|
69
|
+
if region is not None:
|
70
|
+
pulumi.set(__self__, "region", region)
|
71
|
+
if settings is not None:
|
72
|
+
pulumi.set(__self__, "settings", settings)
|
73
|
+
if snapshot_id is not None:
|
74
|
+
pulumi.set(__self__, "snapshot_id", snapshot_id)
|
75
|
+
if tags is not None:
|
76
|
+
pulumi.set(__self__, "tags", tags)
|
77
|
+
if user_name is not None:
|
78
|
+
pulumi.set(__self__, "user_name", user_name)
|
79
|
+
if version is not None:
|
80
|
+
pulumi.set(__self__, "version", version)
|
81
|
+
if volume_size_in_gb is not None:
|
82
|
+
pulumi.set(__self__, "volume_size_in_gb", volume_size_in_gb)
|
83
|
+
if volume_type is not None:
|
84
|
+
pulumi.set(__self__, "volume_type", volume_type)
|
85
|
+
|
86
|
+
@property
|
87
|
+
@pulumi.getter(name="nodeNumber")
|
88
|
+
def node_number(self) -> pulumi.Input[int]:
|
89
|
+
"""
|
90
|
+
Number of nodes in the instance
|
91
|
+
"""
|
92
|
+
return pulumi.get(self, "node_number")
|
93
|
+
|
94
|
+
@node_number.setter
|
95
|
+
def node_number(self, value: pulumi.Input[int]):
|
96
|
+
pulumi.set(self, "node_number", value)
|
97
|
+
|
98
|
+
@property
|
99
|
+
@pulumi.getter(name="nodeType")
|
100
|
+
def node_type(self) -> pulumi.Input[str]:
|
101
|
+
"""
|
102
|
+
The type of MongoDB® intance to create.
|
103
|
+
"""
|
104
|
+
return pulumi.get(self, "node_type")
|
105
|
+
|
106
|
+
@node_type.setter
|
107
|
+
def node_type(self, value: pulumi.Input[str]):
|
108
|
+
pulumi.set(self, "node_type", value)
|
109
|
+
|
110
|
+
@property
|
111
|
+
@pulumi.getter
|
112
|
+
def name(self) -> Optional[pulumi.Input[str]]:
|
113
|
+
"""
|
114
|
+
Name of the MongoDB® instance.
|
115
|
+
"""
|
116
|
+
return pulumi.get(self, "name")
|
117
|
+
|
118
|
+
@name.setter
|
119
|
+
def name(self, value: Optional[pulumi.Input[str]]):
|
120
|
+
pulumi.set(self, "name", value)
|
121
|
+
|
122
|
+
@property
|
123
|
+
@pulumi.getter
|
124
|
+
def password(self) -> Optional[pulumi.Input[str]]:
|
125
|
+
"""
|
126
|
+
Password of the user.
|
127
|
+
"""
|
128
|
+
return pulumi.get(self, "password")
|
129
|
+
|
130
|
+
@password.setter
|
131
|
+
def password(self, value: Optional[pulumi.Input[str]]):
|
132
|
+
pulumi.set(self, "password", value)
|
133
|
+
|
134
|
+
@property
|
135
|
+
@pulumi.getter(name="privateNetwork")
|
136
|
+
def private_network(self) -> Optional[pulumi.Input['InstancePrivateNetworkArgs']]:
|
137
|
+
"""
|
138
|
+
Private Network endpoints of the Database Instance.
|
139
|
+
"""
|
140
|
+
return pulumi.get(self, "private_network")
|
141
|
+
|
142
|
+
@private_network.setter
|
143
|
+
def private_network(self, value: Optional[pulumi.Input['InstancePrivateNetworkArgs']]):
|
144
|
+
pulumi.set(self, "private_network", value)
|
145
|
+
|
146
|
+
@property
|
147
|
+
@pulumi.getter(name="projectId")
|
148
|
+
def project_id(self) -> Optional[pulumi.Input[str]]:
|
149
|
+
"""
|
150
|
+
The project_id you want to attach the resource to
|
151
|
+
"""
|
152
|
+
return pulumi.get(self, "project_id")
|
153
|
+
|
154
|
+
@project_id.setter
|
155
|
+
def project_id(self, value: Optional[pulumi.Input[str]]):
|
156
|
+
pulumi.set(self, "project_id", value)
|
157
|
+
|
158
|
+
@property
|
159
|
+
@pulumi.getter(name="publicNetwork")
|
160
|
+
def public_network(self) -> Optional[pulumi.Input['InstancePublicNetworkArgs']]:
|
161
|
+
"""
|
162
|
+
Public network specs details.
|
163
|
+
"""
|
164
|
+
return pulumi.get(self, "public_network")
|
165
|
+
|
166
|
+
@public_network.setter
|
167
|
+
def public_network(self, value: Optional[pulumi.Input['InstancePublicNetworkArgs']]):
|
168
|
+
pulumi.set(self, "public_network", value)
|
169
|
+
|
170
|
+
@property
|
171
|
+
@pulumi.getter
|
172
|
+
def region(self) -> Optional[pulumi.Input[str]]:
|
173
|
+
"""
|
174
|
+
The region you want to attach the resource to
|
175
|
+
"""
|
176
|
+
return pulumi.get(self, "region")
|
177
|
+
|
178
|
+
@region.setter
|
179
|
+
def region(self, value: Optional[pulumi.Input[str]]):
|
180
|
+
pulumi.set(self, "region", value)
|
181
|
+
|
182
|
+
@property
|
183
|
+
@pulumi.getter
|
184
|
+
def settings(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
185
|
+
"""
|
186
|
+
Map of settings to define for the instance.
|
187
|
+
"""
|
188
|
+
return pulumi.get(self, "settings")
|
189
|
+
|
190
|
+
@settings.setter
|
191
|
+
def settings(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
192
|
+
pulumi.set(self, "settings", value)
|
193
|
+
|
194
|
+
@property
|
195
|
+
@pulumi.getter(name="snapshotId")
|
196
|
+
def snapshot_id(self) -> Optional[pulumi.Input[str]]:
|
197
|
+
"""
|
198
|
+
Snapshot ID to restore the MongoDB® instance from.
|
199
|
+
"""
|
200
|
+
return pulumi.get(self, "snapshot_id")
|
201
|
+
|
202
|
+
@snapshot_id.setter
|
203
|
+
def snapshot_id(self, value: Optional[pulumi.Input[str]]):
|
204
|
+
pulumi.set(self, "snapshot_id", value)
|
205
|
+
|
206
|
+
@property
|
207
|
+
@pulumi.getter
|
208
|
+
def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
209
|
+
"""
|
210
|
+
List of tags attached to the MongoDB® instance.
|
211
|
+
"""
|
212
|
+
return pulumi.get(self, "tags")
|
213
|
+
|
214
|
+
@tags.setter
|
215
|
+
def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
216
|
+
pulumi.set(self, "tags", value)
|
217
|
+
|
218
|
+
@property
|
219
|
+
@pulumi.getter(name="userName")
|
220
|
+
def user_name(self) -> Optional[pulumi.Input[str]]:
|
221
|
+
"""
|
222
|
+
Name of the user created when the intance is created.
|
223
|
+
"""
|
224
|
+
return pulumi.get(self, "user_name")
|
225
|
+
|
226
|
+
@user_name.setter
|
227
|
+
def user_name(self, value: Optional[pulumi.Input[str]]):
|
228
|
+
pulumi.set(self, "user_name", value)
|
229
|
+
|
230
|
+
@property
|
231
|
+
@pulumi.getter
|
232
|
+
def version(self) -> Optional[pulumi.Input[str]]:
|
233
|
+
"""
|
234
|
+
MongoDB® version of the instance.
|
235
|
+
"""
|
236
|
+
return pulumi.get(self, "version")
|
237
|
+
|
238
|
+
@version.setter
|
239
|
+
def version(self, value: Optional[pulumi.Input[str]]):
|
240
|
+
pulumi.set(self, "version", value)
|
241
|
+
|
242
|
+
@property
|
243
|
+
@pulumi.getter(name="volumeSizeInGb")
|
244
|
+
def volume_size_in_gb(self) -> Optional[pulumi.Input[int]]:
|
245
|
+
"""
|
246
|
+
Volume size in GB.
|
247
|
+
"""
|
248
|
+
return pulumi.get(self, "volume_size_in_gb")
|
249
|
+
|
250
|
+
@volume_size_in_gb.setter
|
251
|
+
def volume_size_in_gb(self, value: Optional[pulumi.Input[int]]):
|
252
|
+
pulumi.set(self, "volume_size_in_gb", value)
|
253
|
+
|
254
|
+
@property
|
255
|
+
@pulumi.getter(name="volumeType")
|
256
|
+
def volume_type(self) -> Optional[pulumi.Input[str]]:
|
257
|
+
"""
|
258
|
+
Volume type of the instance.
|
259
|
+
"""
|
260
|
+
return pulumi.get(self, "volume_type")
|
261
|
+
|
262
|
+
@volume_type.setter
|
263
|
+
def volume_type(self, value: Optional[pulumi.Input[str]]):
|
264
|
+
pulumi.set(self, "volume_type", value)
|
265
|
+
|
266
|
+
|
267
|
+
@pulumi.input_type
|
268
|
+
class _InstanceState:
|
269
|
+
def __init__(__self__, *,
|
270
|
+
created_at: Optional[pulumi.Input[str]] = None,
|
271
|
+
name: Optional[pulumi.Input[str]] = None,
|
272
|
+
node_number: Optional[pulumi.Input[int]] = None,
|
273
|
+
node_type: Optional[pulumi.Input[str]] = None,
|
274
|
+
password: Optional[pulumi.Input[str]] = None,
|
275
|
+
private_network: Optional[pulumi.Input['InstancePrivateNetworkArgs']] = None,
|
276
|
+
project_id: Optional[pulumi.Input[str]] = None,
|
277
|
+
public_network: Optional[pulumi.Input['InstancePublicNetworkArgs']] = None,
|
278
|
+
region: Optional[pulumi.Input[str]] = None,
|
279
|
+
settings: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
280
|
+
snapshot_id: Optional[pulumi.Input[str]] = None,
|
281
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
282
|
+
updated_at: Optional[pulumi.Input[str]] = None,
|
283
|
+
user_name: Optional[pulumi.Input[str]] = None,
|
284
|
+
version: Optional[pulumi.Input[str]] = None,
|
285
|
+
volume_size_in_gb: Optional[pulumi.Input[int]] = None,
|
286
|
+
volume_type: Optional[pulumi.Input[str]] = None):
|
287
|
+
"""
|
288
|
+
Input properties used for looking up and filtering Instance resources.
|
289
|
+
:param pulumi.Input[str] created_at: The date and time of the creation of the MongoDB® instance.
|
290
|
+
:param pulumi.Input[str] name: Name of the MongoDB® instance.
|
291
|
+
:param pulumi.Input[int] node_number: Number of nodes in the instance
|
292
|
+
:param pulumi.Input[str] node_type: The type of MongoDB® intance to create.
|
293
|
+
:param pulumi.Input[str] password: Password of the user.
|
294
|
+
:param pulumi.Input['InstancePrivateNetworkArgs'] private_network: Private Network endpoints of the Database Instance.
|
295
|
+
:param pulumi.Input[str] project_id: The project_id you want to attach the resource to
|
296
|
+
:param pulumi.Input['InstancePublicNetworkArgs'] public_network: Public network specs details.
|
297
|
+
:param pulumi.Input[str] region: The region you want to attach the resource to
|
298
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] settings: Map of settings to define for the instance.
|
299
|
+
:param pulumi.Input[str] snapshot_id: Snapshot ID to restore the MongoDB® instance from.
|
300
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: List of tags attached to the MongoDB® instance.
|
301
|
+
:param pulumi.Input[str] updated_at: The date and time of the last update of the MongoDB® instance.
|
302
|
+
:param pulumi.Input[str] user_name: Name of the user created when the intance is created.
|
303
|
+
:param pulumi.Input[str] version: MongoDB® version of the instance.
|
304
|
+
:param pulumi.Input[int] volume_size_in_gb: Volume size in GB.
|
305
|
+
:param pulumi.Input[str] volume_type: Volume type of the instance.
|
306
|
+
"""
|
307
|
+
if created_at is not None:
|
308
|
+
pulumi.set(__self__, "created_at", created_at)
|
309
|
+
if name is not None:
|
310
|
+
pulumi.set(__self__, "name", name)
|
311
|
+
if node_number is not None:
|
312
|
+
pulumi.set(__self__, "node_number", node_number)
|
313
|
+
if node_type is not None:
|
314
|
+
pulumi.set(__self__, "node_type", node_type)
|
315
|
+
if password is not None:
|
316
|
+
pulumi.set(__self__, "password", password)
|
317
|
+
if private_network is not None:
|
318
|
+
pulumi.set(__self__, "private_network", private_network)
|
319
|
+
if project_id is not None:
|
320
|
+
pulumi.set(__self__, "project_id", project_id)
|
321
|
+
if public_network is not None:
|
322
|
+
pulumi.set(__self__, "public_network", public_network)
|
323
|
+
if region is not None:
|
324
|
+
pulumi.set(__self__, "region", region)
|
325
|
+
if settings is not None:
|
326
|
+
pulumi.set(__self__, "settings", settings)
|
327
|
+
if snapshot_id is not None:
|
328
|
+
pulumi.set(__self__, "snapshot_id", snapshot_id)
|
329
|
+
if tags is not None:
|
330
|
+
pulumi.set(__self__, "tags", tags)
|
331
|
+
if updated_at is not None:
|
332
|
+
pulumi.set(__self__, "updated_at", updated_at)
|
333
|
+
if user_name is not None:
|
334
|
+
pulumi.set(__self__, "user_name", user_name)
|
335
|
+
if version is not None:
|
336
|
+
pulumi.set(__self__, "version", version)
|
337
|
+
if volume_size_in_gb is not None:
|
338
|
+
pulumi.set(__self__, "volume_size_in_gb", volume_size_in_gb)
|
339
|
+
if volume_type is not None:
|
340
|
+
pulumi.set(__self__, "volume_type", volume_type)
|
341
|
+
|
342
|
+
@property
|
343
|
+
@pulumi.getter(name="createdAt")
|
344
|
+
def created_at(self) -> Optional[pulumi.Input[str]]:
|
345
|
+
"""
|
346
|
+
The date and time of the creation of the MongoDB® instance.
|
347
|
+
"""
|
348
|
+
return pulumi.get(self, "created_at")
|
349
|
+
|
350
|
+
@created_at.setter
|
351
|
+
def created_at(self, value: Optional[pulumi.Input[str]]):
|
352
|
+
pulumi.set(self, "created_at", value)
|
353
|
+
|
354
|
+
@property
|
355
|
+
@pulumi.getter
|
356
|
+
def name(self) -> Optional[pulumi.Input[str]]:
|
357
|
+
"""
|
358
|
+
Name of the MongoDB® instance.
|
359
|
+
"""
|
360
|
+
return pulumi.get(self, "name")
|
361
|
+
|
362
|
+
@name.setter
|
363
|
+
def name(self, value: Optional[pulumi.Input[str]]):
|
364
|
+
pulumi.set(self, "name", value)
|
365
|
+
|
366
|
+
@property
|
367
|
+
@pulumi.getter(name="nodeNumber")
|
368
|
+
def node_number(self) -> Optional[pulumi.Input[int]]:
|
369
|
+
"""
|
370
|
+
Number of nodes in the instance
|
371
|
+
"""
|
372
|
+
return pulumi.get(self, "node_number")
|
373
|
+
|
374
|
+
@node_number.setter
|
375
|
+
def node_number(self, value: Optional[pulumi.Input[int]]):
|
376
|
+
pulumi.set(self, "node_number", value)
|
377
|
+
|
378
|
+
@property
|
379
|
+
@pulumi.getter(name="nodeType")
|
380
|
+
def node_type(self) -> Optional[pulumi.Input[str]]:
|
381
|
+
"""
|
382
|
+
The type of MongoDB® intance to create.
|
383
|
+
"""
|
384
|
+
return pulumi.get(self, "node_type")
|
385
|
+
|
386
|
+
@node_type.setter
|
387
|
+
def node_type(self, value: Optional[pulumi.Input[str]]):
|
388
|
+
pulumi.set(self, "node_type", value)
|
389
|
+
|
390
|
+
@property
|
391
|
+
@pulumi.getter
|
392
|
+
def password(self) -> Optional[pulumi.Input[str]]:
|
393
|
+
"""
|
394
|
+
Password of the user.
|
395
|
+
"""
|
396
|
+
return pulumi.get(self, "password")
|
397
|
+
|
398
|
+
@password.setter
|
399
|
+
def password(self, value: Optional[pulumi.Input[str]]):
|
400
|
+
pulumi.set(self, "password", value)
|
401
|
+
|
402
|
+
@property
|
403
|
+
@pulumi.getter(name="privateNetwork")
|
404
|
+
def private_network(self) -> Optional[pulumi.Input['InstancePrivateNetworkArgs']]:
|
405
|
+
"""
|
406
|
+
Private Network endpoints of the Database Instance.
|
407
|
+
"""
|
408
|
+
return pulumi.get(self, "private_network")
|
409
|
+
|
410
|
+
@private_network.setter
|
411
|
+
def private_network(self, value: Optional[pulumi.Input['InstancePrivateNetworkArgs']]):
|
412
|
+
pulumi.set(self, "private_network", value)
|
413
|
+
|
414
|
+
@property
|
415
|
+
@pulumi.getter(name="projectId")
|
416
|
+
def project_id(self) -> Optional[pulumi.Input[str]]:
|
417
|
+
"""
|
418
|
+
The project_id you want to attach the resource to
|
419
|
+
"""
|
420
|
+
return pulumi.get(self, "project_id")
|
421
|
+
|
422
|
+
@project_id.setter
|
423
|
+
def project_id(self, value: Optional[pulumi.Input[str]]):
|
424
|
+
pulumi.set(self, "project_id", value)
|
425
|
+
|
426
|
+
@property
|
427
|
+
@pulumi.getter(name="publicNetwork")
|
428
|
+
def public_network(self) -> Optional[pulumi.Input['InstancePublicNetworkArgs']]:
|
429
|
+
"""
|
430
|
+
Public network specs details.
|
431
|
+
"""
|
432
|
+
return pulumi.get(self, "public_network")
|
433
|
+
|
434
|
+
@public_network.setter
|
435
|
+
def public_network(self, value: Optional[pulumi.Input['InstancePublicNetworkArgs']]):
|
436
|
+
pulumi.set(self, "public_network", value)
|
437
|
+
|
438
|
+
@property
|
439
|
+
@pulumi.getter
|
440
|
+
def region(self) -> Optional[pulumi.Input[str]]:
|
441
|
+
"""
|
442
|
+
The region you want to attach the resource to
|
443
|
+
"""
|
444
|
+
return pulumi.get(self, "region")
|
445
|
+
|
446
|
+
@region.setter
|
447
|
+
def region(self, value: Optional[pulumi.Input[str]]):
|
448
|
+
pulumi.set(self, "region", value)
|
449
|
+
|
450
|
+
@property
|
451
|
+
@pulumi.getter
|
452
|
+
def settings(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
453
|
+
"""
|
454
|
+
Map of settings to define for the instance.
|
455
|
+
"""
|
456
|
+
return pulumi.get(self, "settings")
|
457
|
+
|
458
|
+
@settings.setter
|
459
|
+
def settings(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
460
|
+
pulumi.set(self, "settings", value)
|
461
|
+
|
462
|
+
@property
|
463
|
+
@pulumi.getter(name="snapshotId")
|
464
|
+
def snapshot_id(self) -> Optional[pulumi.Input[str]]:
|
465
|
+
"""
|
466
|
+
Snapshot ID to restore the MongoDB® instance from.
|
467
|
+
"""
|
468
|
+
return pulumi.get(self, "snapshot_id")
|
469
|
+
|
470
|
+
@snapshot_id.setter
|
471
|
+
def snapshot_id(self, value: Optional[pulumi.Input[str]]):
|
472
|
+
pulumi.set(self, "snapshot_id", value)
|
473
|
+
|
474
|
+
@property
|
475
|
+
@pulumi.getter
|
476
|
+
def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
477
|
+
"""
|
478
|
+
List of tags attached to the MongoDB® instance.
|
479
|
+
"""
|
480
|
+
return pulumi.get(self, "tags")
|
481
|
+
|
482
|
+
@tags.setter
|
483
|
+
def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
484
|
+
pulumi.set(self, "tags", value)
|
485
|
+
|
486
|
+
@property
|
487
|
+
@pulumi.getter(name="updatedAt")
|
488
|
+
def updated_at(self) -> Optional[pulumi.Input[str]]:
|
489
|
+
"""
|
490
|
+
The date and time of the last update of the MongoDB® instance.
|
491
|
+
"""
|
492
|
+
return pulumi.get(self, "updated_at")
|
493
|
+
|
494
|
+
@updated_at.setter
|
495
|
+
def updated_at(self, value: Optional[pulumi.Input[str]]):
|
496
|
+
pulumi.set(self, "updated_at", value)
|
497
|
+
|
498
|
+
@property
|
499
|
+
@pulumi.getter(name="userName")
|
500
|
+
def user_name(self) -> Optional[pulumi.Input[str]]:
|
501
|
+
"""
|
502
|
+
Name of the user created when the intance is created.
|
503
|
+
"""
|
504
|
+
return pulumi.get(self, "user_name")
|
505
|
+
|
506
|
+
@user_name.setter
|
507
|
+
def user_name(self, value: Optional[pulumi.Input[str]]):
|
508
|
+
pulumi.set(self, "user_name", value)
|
509
|
+
|
510
|
+
@property
|
511
|
+
@pulumi.getter
|
512
|
+
def version(self) -> Optional[pulumi.Input[str]]:
|
513
|
+
"""
|
514
|
+
MongoDB® version of the instance.
|
515
|
+
"""
|
516
|
+
return pulumi.get(self, "version")
|
517
|
+
|
518
|
+
@version.setter
|
519
|
+
def version(self, value: Optional[pulumi.Input[str]]):
|
520
|
+
pulumi.set(self, "version", value)
|
521
|
+
|
522
|
+
@property
|
523
|
+
@pulumi.getter(name="volumeSizeInGb")
|
524
|
+
def volume_size_in_gb(self) -> Optional[pulumi.Input[int]]:
|
525
|
+
"""
|
526
|
+
Volume size in GB.
|
527
|
+
"""
|
528
|
+
return pulumi.get(self, "volume_size_in_gb")
|
529
|
+
|
530
|
+
@volume_size_in_gb.setter
|
531
|
+
def volume_size_in_gb(self, value: Optional[pulumi.Input[int]]):
|
532
|
+
pulumi.set(self, "volume_size_in_gb", value)
|
533
|
+
|
534
|
+
@property
|
535
|
+
@pulumi.getter(name="volumeType")
|
536
|
+
def volume_type(self) -> Optional[pulumi.Input[str]]:
|
537
|
+
"""
|
538
|
+
Volume type of the instance.
|
539
|
+
"""
|
540
|
+
return pulumi.get(self, "volume_type")
|
541
|
+
|
542
|
+
@volume_type.setter
|
543
|
+
def volume_type(self, value: Optional[pulumi.Input[str]]):
|
544
|
+
pulumi.set(self, "volume_type", value)
|
545
|
+
|
546
|
+
|
547
|
+
class Instance(pulumi.CustomResource):
|
548
|
+
@overload
|
549
|
+
def __init__(__self__,
|
550
|
+
resource_name: str,
|
551
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
552
|
+
name: Optional[pulumi.Input[str]] = None,
|
553
|
+
node_number: Optional[pulumi.Input[int]] = None,
|
554
|
+
node_type: Optional[pulumi.Input[str]] = None,
|
555
|
+
password: Optional[pulumi.Input[str]] = None,
|
556
|
+
private_network: Optional[pulumi.Input[Union['InstancePrivateNetworkArgs', 'InstancePrivateNetworkArgsDict']]] = None,
|
557
|
+
project_id: Optional[pulumi.Input[str]] = None,
|
558
|
+
public_network: Optional[pulumi.Input[Union['InstancePublicNetworkArgs', 'InstancePublicNetworkArgsDict']]] = None,
|
559
|
+
region: Optional[pulumi.Input[str]] = None,
|
560
|
+
settings: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
561
|
+
snapshot_id: Optional[pulumi.Input[str]] = None,
|
562
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
563
|
+
user_name: Optional[pulumi.Input[str]] = None,
|
564
|
+
version: Optional[pulumi.Input[str]] = None,
|
565
|
+
volume_size_in_gb: Optional[pulumi.Input[int]] = None,
|
566
|
+
volume_type: Optional[pulumi.Input[str]] = None,
|
567
|
+
__props__=None):
|
568
|
+
"""
|
569
|
+
Creates and manages Scaleway MongoDB® instance.
|
570
|
+
For more information refer to the [product documentation](https://www.scaleway.com/en/docs/managed-mongodb-databases/).
|
571
|
+
|
572
|
+
## Example Usage
|
573
|
+
|
574
|
+
### Basic
|
575
|
+
|
576
|
+
```python
|
577
|
+
import pulumi
|
578
|
+
import pulumiverse_scaleway as scaleway
|
579
|
+
|
580
|
+
main = scaleway.mongodb.Instance("main",
|
581
|
+
name="test-mongodb-basic1",
|
582
|
+
version="7.0.12",
|
583
|
+
node_type="MGDB-PLAY2-NANO",
|
584
|
+
node_number=1,
|
585
|
+
user_name="my_initial_user",
|
586
|
+
password="thiZ_is_v&ry_s3cret",
|
587
|
+
volume_size_in_gb=5)
|
588
|
+
```
|
589
|
+
|
590
|
+
### Private Network
|
591
|
+
|
592
|
+
```python
|
593
|
+
import pulumi
|
594
|
+
import pulumiverse_scaleway as scaleway
|
595
|
+
|
596
|
+
pn01 = scaleway.network.PrivateNetwork("pn01",
|
597
|
+
name="my_private_network",
|
598
|
+
region="fr-par")
|
599
|
+
main = scaleway.mongodb.Instance("main",
|
600
|
+
name="test-mongodb-basic1",
|
601
|
+
version="7.0.12",
|
602
|
+
node_type="MGDB-PLAY2-NANO",
|
603
|
+
node_number=1,
|
604
|
+
user_name="my_initial_user",
|
605
|
+
password="thiZ_is_v&ry_s3cret",
|
606
|
+
volume_size_in_gb=5,
|
607
|
+
private_network={
|
608
|
+
"pn_id": pn02["id"],
|
609
|
+
})
|
610
|
+
```
|
611
|
+
|
612
|
+
### Restore From Snapshot
|
613
|
+
|
614
|
+
```python
|
615
|
+
import pulumi
|
616
|
+
import pulumiverse_scaleway as scaleway
|
617
|
+
|
618
|
+
restored_instance = scaleway.mongodb.Instance("restored_instance",
|
619
|
+
snapshot_id=pn["idscalewayMongodbSnapshot"]["mainSnapshot"]["id"],
|
620
|
+
name="restored-mongodb-from-snapshot",
|
621
|
+
node_type="MGDB-PLAY2-NANO",
|
622
|
+
node_number=1)
|
623
|
+
```
|
624
|
+
|
625
|
+
## Import
|
626
|
+
|
627
|
+
MongoDB® instance can be imported using the `id`, e.g.
|
628
|
+
|
629
|
+
bash
|
630
|
+
|
631
|
+
```sh
|
632
|
+
$ pulumi import scaleway:mongodb/instance:Instance main fr-par-1/11111111-1111-1111-1111-111111111111
|
633
|
+
```
|
634
|
+
|
635
|
+
:param str resource_name: The name of the resource.
|
636
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
637
|
+
:param pulumi.Input[str] name: Name of the MongoDB® instance.
|
638
|
+
:param pulumi.Input[int] node_number: Number of nodes in the instance
|
639
|
+
:param pulumi.Input[str] node_type: The type of MongoDB® intance to create.
|
640
|
+
:param pulumi.Input[str] password: Password of the user.
|
641
|
+
:param pulumi.Input[Union['InstancePrivateNetworkArgs', 'InstancePrivateNetworkArgsDict']] private_network: Private Network endpoints of the Database Instance.
|
642
|
+
:param pulumi.Input[str] project_id: The project_id you want to attach the resource to
|
643
|
+
:param pulumi.Input[Union['InstancePublicNetworkArgs', 'InstancePublicNetworkArgsDict']] public_network: Public network specs details.
|
644
|
+
:param pulumi.Input[str] region: The region you want to attach the resource to
|
645
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] settings: Map of settings to define for the instance.
|
646
|
+
:param pulumi.Input[str] snapshot_id: Snapshot ID to restore the MongoDB® instance from.
|
647
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: List of tags attached to the MongoDB® instance.
|
648
|
+
:param pulumi.Input[str] user_name: Name of the user created when the intance is created.
|
649
|
+
:param pulumi.Input[str] version: MongoDB® version of the instance.
|
650
|
+
:param pulumi.Input[int] volume_size_in_gb: Volume size in GB.
|
651
|
+
:param pulumi.Input[str] volume_type: Volume type of the instance.
|
652
|
+
"""
|
653
|
+
...
|
654
|
+
@overload
|
655
|
+
def __init__(__self__,
|
656
|
+
resource_name: str,
|
657
|
+
args: InstanceArgs,
|
658
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
659
|
+
"""
|
660
|
+
Creates and manages Scaleway MongoDB® instance.
|
661
|
+
For more information refer to the [product documentation](https://www.scaleway.com/en/docs/managed-mongodb-databases/).
|
662
|
+
|
663
|
+
## Example Usage
|
664
|
+
|
665
|
+
### Basic
|
666
|
+
|
667
|
+
```python
|
668
|
+
import pulumi
|
669
|
+
import pulumiverse_scaleway as scaleway
|
670
|
+
|
671
|
+
main = scaleway.mongodb.Instance("main",
|
672
|
+
name="test-mongodb-basic1",
|
673
|
+
version="7.0.12",
|
674
|
+
node_type="MGDB-PLAY2-NANO",
|
675
|
+
node_number=1,
|
676
|
+
user_name="my_initial_user",
|
677
|
+
password="thiZ_is_v&ry_s3cret",
|
678
|
+
volume_size_in_gb=5)
|
679
|
+
```
|
680
|
+
|
681
|
+
### Private Network
|
682
|
+
|
683
|
+
```python
|
684
|
+
import pulumi
|
685
|
+
import pulumiverse_scaleway as scaleway
|
686
|
+
|
687
|
+
pn01 = scaleway.network.PrivateNetwork("pn01",
|
688
|
+
name="my_private_network",
|
689
|
+
region="fr-par")
|
690
|
+
main = scaleway.mongodb.Instance("main",
|
691
|
+
name="test-mongodb-basic1",
|
692
|
+
version="7.0.12",
|
693
|
+
node_type="MGDB-PLAY2-NANO",
|
694
|
+
node_number=1,
|
695
|
+
user_name="my_initial_user",
|
696
|
+
password="thiZ_is_v&ry_s3cret",
|
697
|
+
volume_size_in_gb=5,
|
698
|
+
private_network={
|
699
|
+
"pn_id": pn02["id"],
|
700
|
+
})
|
701
|
+
```
|
702
|
+
|
703
|
+
### Restore From Snapshot
|
704
|
+
|
705
|
+
```python
|
706
|
+
import pulumi
|
707
|
+
import pulumiverse_scaleway as scaleway
|
708
|
+
|
709
|
+
restored_instance = scaleway.mongodb.Instance("restored_instance",
|
710
|
+
snapshot_id=pn["idscalewayMongodbSnapshot"]["mainSnapshot"]["id"],
|
711
|
+
name="restored-mongodb-from-snapshot",
|
712
|
+
node_type="MGDB-PLAY2-NANO",
|
713
|
+
node_number=1)
|
714
|
+
```
|
715
|
+
|
716
|
+
## Import
|
717
|
+
|
718
|
+
MongoDB® instance can be imported using the `id`, e.g.
|
719
|
+
|
720
|
+
bash
|
721
|
+
|
722
|
+
```sh
|
723
|
+
$ pulumi import scaleway:mongodb/instance:Instance main fr-par-1/11111111-1111-1111-1111-111111111111
|
724
|
+
```
|
725
|
+
|
726
|
+
:param str resource_name: The name of the resource.
|
727
|
+
:param InstanceArgs args: The arguments to use to populate this resource's properties.
|
728
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
729
|
+
"""
|
730
|
+
...
|
731
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
732
|
+
resource_args, opts = _utilities.get_resource_args_opts(InstanceArgs, pulumi.ResourceOptions, *args, **kwargs)
|
733
|
+
if resource_args is not None:
|
734
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
735
|
+
else:
|
736
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
737
|
+
|
738
|
+
def _internal_init(__self__,
|
739
|
+
resource_name: str,
|
740
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
741
|
+
name: Optional[pulumi.Input[str]] = None,
|
742
|
+
node_number: Optional[pulumi.Input[int]] = None,
|
743
|
+
node_type: Optional[pulumi.Input[str]] = None,
|
744
|
+
password: Optional[pulumi.Input[str]] = None,
|
745
|
+
private_network: Optional[pulumi.Input[Union['InstancePrivateNetworkArgs', 'InstancePrivateNetworkArgsDict']]] = None,
|
746
|
+
project_id: Optional[pulumi.Input[str]] = None,
|
747
|
+
public_network: Optional[pulumi.Input[Union['InstancePublicNetworkArgs', 'InstancePublicNetworkArgsDict']]] = None,
|
748
|
+
region: Optional[pulumi.Input[str]] = None,
|
749
|
+
settings: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
750
|
+
snapshot_id: Optional[pulumi.Input[str]] = None,
|
751
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
752
|
+
user_name: Optional[pulumi.Input[str]] = None,
|
753
|
+
version: Optional[pulumi.Input[str]] = None,
|
754
|
+
volume_size_in_gb: Optional[pulumi.Input[int]] = None,
|
755
|
+
volume_type: Optional[pulumi.Input[str]] = None,
|
756
|
+
__props__=None):
|
757
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
758
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
759
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
760
|
+
if opts.id is None:
|
761
|
+
if __props__ is not None:
|
762
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
763
|
+
__props__ = InstanceArgs.__new__(InstanceArgs)
|
764
|
+
|
765
|
+
__props__.__dict__["name"] = name
|
766
|
+
if node_number is None and not opts.urn:
|
767
|
+
raise TypeError("Missing required property 'node_number'")
|
768
|
+
__props__.__dict__["node_number"] = node_number
|
769
|
+
if node_type is None and not opts.urn:
|
770
|
+
raise TypeError("Missing required property 'node_type'")
|
771
|
+
__props__.__dict__["node_type"] = node_type
|
772
|
+
__props__.__dict__["password"] = None if password is None else pulumi.Output.secret(password)
|
773
|
+
__props__.__dict__["private_network"] = private_network
|
774
|
+
__props__.__dict__["project_id"] = project_id
|
775
|
+
__props__.__dict__["public_network"] = public_network
|
776
|
+
__props__.__dict__["region"] = region
|
777
|
+
__props__.__dict__["settings"] = settings
|
778
|
+
__props__.__dict__["snapshot_id"] = snapshot_id
|
779
|
+
__props__.__dict__["tags"] = tags
|
780
|
+
__props__.__dict__["user_name"] = user_name
|
781
|
+
__props__.__dict__["version"] = version
|
782
|
+
__props__.__dict__["volume_size_in_gb"] = volume_size_in_gb
|
783
|
+
__props__.__dict__["volume_type"] = volume_type
|
784
|
+
__props__.__dict__["created_at"] = None
|
785
|
+
__props__.__dict__["updated_at"] = None
|
786
|
+
alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="scaleway:index/mongoDbInstance:MongoDbInstance")])
|
787
|
+
opts = pulumi.ResourceOptions.merge(opts, alias_opts)
|
788
|
+
secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["password"])
|
789
|
+
opts = pulumi.ResourceOptions.merge(opts, secret_opts)
|
790
|
+
super(Instance, __self__).__init__(
|
791
|
+
'scaleway:mongodb/instance:Instance',
|
792
|
+
resource_name,
|
793
|
+
__props__,
|
794
|
+
opts)
|
795
|
+
|
796
|
+
@staticmethod
|
797
|
+
def get(resource_name: str,
|
798
|
+
id: pulumi.Input[str],
|
799
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
800
|
+
created_at: Optional[pulumi.Input[str]] = None,
|
801
|
+
name: Optional[pulumi.Input[str]] = None,
|
802
|
+
node_number: Optional[pulumi.Input[int]] = None,
|
803
|
+
node_type: Optional[pulumi.Input[str]] = None,
|
804
|
+
password: Optional[pulumi.Input[str]] = None,
|
805
|
+
private_network: Optional[pulumi.Input[Union['InstancePrivateNetworkArgs', 'InstancePrivateNetworkArgsDict']]] = None,
|
806
|
+
project_id: Optional[pulumi.Input[str]] = None,
|
807
|
+
public_network: Optional[pulumi.Input[Union['InstancePublicNetworkArgs', 'InstancePublicNetworkArgsDict']]] = None,
|
808
|
+
region: Optional[pulumi.Input[str]] = None,
|
809
|
+
settings: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
810
|
+
snapshot_id: Optional[pulumi.Input[str]] = None,
|
811
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
812
|
+
updated_at: Optional[pulumi.Input[str]] = None,
|
813
|
+
user_name: Optional[pulumi.Input[str]] = None,
|
814
|
+
version: Optional[pulumi.Input[str]] = None,
|
815
|
+
volume_size_in_gb: Optional[pulumi.Input[int]] = None,
|
816
|
+
volume_type: Optional[pulumi.Input[str]] = None) -> 'Instance':
|
817
|
+
"""
|
818
|
+
Get an existing Instance resource's state with the given name, id, and optional extra
|
819
|
+
properties used to qualify the lookup.
|
820
|
+
|
821
|
+
:param str resource_name: The unique name of the resulting resource.
|
822
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
823
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
824
|
+
:param pulumi.Input[str] created_at: The date and time of the creation of the MongoDB® instance.
|
825
|
+
:param pulumi.Input[str] name: Name of the MongoDB® instance.
|
826
|
+
:param pulumi.Input[int] node_number: Number of nodes in the instance
|
827
|
+
:param pulumi.Input[str] node_type: The type of MongoDB® intance to create.
|
828
|
+
:param pulumi.Input[str] password: Password of the user.
|
829
|
+
:param pulumi.Input[Union['InstancePrivateNetworkArgs', 'InstancePrivateNetworkArgsDict']] private_network: Private Network endpoints of the Database Instance.
|
830
|
+
:param pulumi.Input[str] project_id: The project_id you want to attach the resource to
|
831
|
+
:param pulumi.Input[Union['InstancePublicNetworkArgs', 'InstancePublicNetworkArgsDict']] public_network: Public network specs details.
|
832
|
+
:param pulumi.Input[str] region: The region you want to attach the resource to
|
833
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] settings: Map of settings to define for the instance.
|
834
|
+
:param pulumi.Input[str] snapshot_id: Snapshot ID to restore the MongoDB® instance from.
|
835
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: List of tags attached to the MongoDB® instance.
|
836
|
+
:param pulumi.Input[str] updated_at: The date and time of the last update of the MongoDB® instance.
|
837
|
+
:param pulumi.Input[str] user_name: Name of the user created when the intance is created.
|
838
|
+
:param pulumi.Input[str] version: MongoDB® version of the instance.
|
839
|
+
:param pulumi.Input[int] volume_size_in_gb: Volume size in GB.
|
840
|
+
:param pulumi.Input[str] volume_type: Volume type of the instance.
|
841
|
+
"""
|
842
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
843
|
+
|
844
|
+
__props__ = _InstanceState.__new__(_InstanceState)
|
845
|
+
|
846
|
+
__props__.__dict__["created_at"] = created_at
|
847
|
+
__props__.__dict__["name"] = name
|
848
|
+
__props__.__dict__["node_number"] = node_number
|
849
|
+
__props__.__dict__["node_type"] = node_type
|
850
|
+
__props__.__dict__["password"] = password
|
851
|
+
__props__.__dict__["private_network"] = private_network
|
852
|
+
__props__.__dict__["project_id"] = project_id
|
853
|
+
__props__.__dict__["public_network"] = public_network
|
854
|
+
__props__.__dict__["region"] = region
|
855
|
+
__props__.__dict__["settings"] = settings
|
856
|
+
__props__.__dict__["snapshot_id"] = snapshot_id
|
857
|
+
__props__.__dict__["tags"] = tags
|
858
|
+
__props__.__dict__["updated_at"] = updated_at
|
859
|
+
__props__.__dict__["user_name"] = user_name
|
860
|
+
__props__.__dict__["version"] = version
|
861
|
+
__props__.__dict__["volume_size_in_gb"] = volume_size_in_gb
|
862
|
+
__props__.__dict__["volume_type"] = volume_type
|
863
|
+
return Instance(resource_name, opts=opts, __props__=__props__)
|
864
|
+
|
865
|
+
@property
|
866
|
+
@pulumi.getter(name="createdAt")
|
867
|
+
def created_at(self) -> pulumi.Output[str]:
|
868
|
+
"""
|
869
|
+
The date and time of the creation of the MongoDB® instance.
|
870
|
+
"""
|
871
|
+
return pulumi.get(self, "created_at")
|
872
|
+
|
873
|
+
@property
|
874
|
+
@pulumi.getter
|
875
|
+
def name(self) -> pulumi.Output[str]:
|
876
|
+
"""
|
877
|
+
Name of the MongoDB® instance.
|
878
|
+
"""
|
879
|
+
return pulumi.get(self, "name")
|
880
|
+
|
881
|
+
@property
|
882
|
+
@pulumi.getter(name="nodeNumber")
|
883
|
+
def node_number(self) -> pulumi.Output[int]:
|
884
|
+
"""
|
885
|
+
Number of nodes in the instance
|
886
|
+
"""
|
887
|
+
return pulumi.get(self, "node_number")
|
888
|
+
|
889
|
+
@property
|
890
|
+
@pulumi.getter(name="nodeType")
|
891
|
+
def node_type(self) -> pulumi.Output[str]:
|
892
|
+
"""
|
893
|
+
The type of MongoDB® intance to create.
|
894
|
+
"""
|
895
|
+
return pulumi.get(self, "node_type")
|
896
|
+
|
897
|
+
@property
|
898
|
+
@pulumi.getter
|
899
|
+
def password(self) -> pulumi.Output[Optional[str]]:
|
900
|
+
"""
|
901
|
+
Password of the user.
|
902
|
+
"""
|
903
|
+
return pulumi.get(self, "password")
|
904
|
+
|
905
|
+
@property
|
906
|
+
@pulumi.getter(name="privateNetwork")
|
907
|
+
def private_network(self) -> pulumi.Output[Optional['outputs.InstancePrivateNetwork']]:
|
908
|
+
"""
|
909
|
+
Private Network endpoints of the Database Instance.
|
910
|
+
"""
|
911
|
+
return pulumi.get(self, "private_network")
|
912
|
+
|
913
|
+
@property
|
914
|
+
@pulumi.getter(name="projectId")
|
915
|
+
def project_id(self) -> pulumi.Output[str]:
|
916
|
+
"""
|
917
|
+
The project_id you want to attach the resource to
|
918
|
+
"""
|
919
|
+
return pulumi.get(self, "project_id")
|
920
|
+
|
921
|
+
@property
|
922
|
+
@pulumi.getter(name="publicNetwork")
|
923
|
+
def public_network(self) -> pulumi.Output['outputs.InstancePublicNetwork']:
|
924
|
+
"""
|
925
|
+
Public network specs details.
|
926
|
+
"""
|
927
|
+
return pulumi.get(self, "public_network")
|
928
|
+
|
929
|
+
@property
|
930
|
+
@pulumi.getter
|
931
|
+
def region(self) -> pulumi.Output[str]:
|
932
|
+
"""
|
933
|
+
The region you want to attach the resource to
|
934
|
+
"""
|
935
|
+
return pulumi.get(self, "region")
|
936
|
+
|
937
|
+
@property
|
938
|
+
@pulumi.getter
|
939
|
+
def settings(self) -> pulumi.Output[Optional[Mapping[str, str]]]:
|
940
|
+
"""
|
941
|
+
Map of settings to define for the instance.
|
942
|
+
"""
|
943
|
+
return pulumi.get(self, "settings")
|
944
|
+
|
945
|
+
@property
|
946
|
+
@pulumi.getter(name="snapshotId")
|
947
|
+
def snapshot_id(self) -> pulumi.Output[Optional[str]]:
|
948
|
+
"""
|
949
|
+
Snapshot ID to restore the MongoDB® instance from.
|
950
|
+
"""
|
951
|
+
return pulumi.get(self, "snapshot_id")
|
952
|
+
|
953
|
+
@property
|
954
|
+
@pulumi.getter
|
955
|
+
def tags(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
956
|
+
"""
|
957
|
+
List of tags attached to the MongoDB® instance.
|
958
|
+
"""
|
959
|
+
return pulumi.get(self, "tags")
|
960
|
+
|
961
|
+
@property
|
962
|
+
@pulumi.getter(name="updatedAt")
|
963
|
+
def updated_at(self) -> pulumi.Output[str]:
|
964
|
+
"""
|
965
|
+
The date and time of the last update of the MongoDB® instance.
|
966
|
+
"""
|
967
|
+
return pulumi.get(self, "updated_at")
|
968
|
+
|
969
|
+
@property
|
970
|
+
@pulumi.getter(name="userName")
|
971
|
+
def user_name(self) -> pulumi.Output[Optional[str]]:
|
972
|
+
"""
|
973
|
+
Name of the user created when the intance is created.
|
974
|
+
"""
|
975
|
+
return pulumi.get(self, "user_name")
|
976
|
+
|
977
|
+
@property
|
978
|
+
@pulumi.getter
|
979
|
+
def version(self) -> pulumi.Output[str]:
|
980
|
+
"""
|
981
|
+
MongoDB® version of the instance.
|
982
|
+
"""
|
983
|
+
return pulumi.get(self, "version")
|
984
|
+
|
985
|
+
@property
|
986
|
+
@pulumi.getter(name="volumeSizeInGb")
|
987
|
+
def volume_size_in_gb(self) -> pulumi.Output[int]:
|
988
|
+
"""
|
989
|
+
Volume size in GB.
|
990
|
+
"""
|
991
|
+
return pulumi.get(self, "volume_size_in_gb")
|
992
|
+
|
993
|
+
@property
|
994
|
+
@pulumi.getter(name="volumeType")
|
995
|
+
def volume_type(self) -> pulumi.Output[Optional[str]]:
|
996
|
+
"""
|
997
|
+
Volume type of the instance.
|
998
|
+
"""
|
999
|
+
return pulumi.get(self, "volume_type")
|
1000
|
+
|