pulumiverse-scaleway 1.34.2a1759388651__py3-none-any.whl → 1.35.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.
Potentially problematic release.
This version of pulumiverse-scaleway might be problematic. Click here for more details.
- pulumiverse_scaleway/__init__.py +1 -1
- pulumiverse_scaleway/_inputs.py +2769 -2816
- pulumiverse_scaleway/account/__init__.py +1 -1
- pulumiverse_scaleway/account/get_availability_zones.py +11 -12
- pulumiverse_scaleway/account/get_project.py +27 -28
- pulumiverse_scaleway/account/get_projects.py +18 -19
- pulumiverse_scaleway/account/get_ssh_key.py +33 -34
- pulumiverse_scaleway/account/outputs.py +25 -26
- pulumiverse_scaleway/account/project.py +70 -71
- pulumiverse_scaleway/account/ssh_key.py +105 -106
- pulumiverse_scaleway/account_project.py +70 -71
- pulumiverse_scaleway/account_ssh_key.py +105 -106
- pulumiverse_scaleway/apple_silicon_server.py +216 -217
- pulumiverse_scaleway/applesilicon/__init__.py +1 -1
- pulumiverse_scaleway/applesilicon/_inputs.py +50 -51
- pulumiverse_scaleway/applesilicon/outputs.py +34 -35
- pulumiverse_scaleway/applesilicon/server.py +216 -217
- pulumiverse_scaleway/autoscaling/__init__.py +1 -1
- pulumiverse_scaleway/autoscaling/_inputs.py +130 -131
- pulumiverse_scaleway/autoscaling/instance_group.py +127 -128
- pulumiverse_scaleway/autoscaling/instance_policy.py +140 -141
- pulumiverse_scaleway/autoscaling/instance_template.py +235 -236
- pulumiverse_scaleway/autoscaling/outputs.py +88 -89
- pulumiverse_scaleway/baremetal_server.py +366 -351
- pulumiverse_scaleway/billing/__init__.py +1 -1
- pulumiverse_scaleway/billing/get_consumptions.py +18 -15
- pulumiverse_scaleway/billing/get_invoices.py +24 -25
- pulumiverse_scaleway/billing/outputs.py +95 -96
- pulumiverse_scaleway/block/__init__.py +1 -1
- pulumiverse_scaleway/block/_inputs.py +25 -26
- pulumiverse_scaleway/block/get_snapshot.py +37 -38
- pulumiverse_scaleway/block/get_volume.py +37 -38
- pulumiverse_scaleway/block/outputs.py +33 -34
- pulumiverse_scaleway/block/snapshot.py +100 -93
- pulumiverse_scaleway/block/volume.py +137 -138
- pulumiverse_scaleway/block_snapshot.py +100 -93
- pulumiverse_scaleway/block_volume.py +137 -138
- pulumiverse_scaleway/cockpit.py +48 -49
- pulumiverse_scaleway/cockpit_alert_manager.py +64 -65
- pulumiverse_scaleway/cockpit_grafana_user.py +70 -71
- pulumiverse_scaleway/cockpit_source.py +140 -141
- pulumiverse_scaleway/cockpit_token.py +82 -83
- pulumiverse_scaleway/config/__init__.py +1 -1
- pulumiverse_scaleway/config/__init__.pyi +1 -2
- pulumiverse_scaleway/config/vars.py +9 -10
- pulumiverse_scaleway/container.py +476 -477
- pulumiverse_scaleway/container_cron.py +95 -96
- pulumiverse_scaleway/container_domain.py +61 -62
- pulumiverse_scaleway/container_namespace.py +181 -182
- pulumiverse_scaleway/container_token.py +95 -96
- pulumiverse_scaleway/container_trigger.py +75 -76
- pulumiverse_scaleway/containers/__init__.py +1 -1
- pulumiverse_scaleway/containers/_inputs.py +86 -87
- pulumiverse_scaleway/containers/container.py +476 -477
- pulumiverse_scaleway/containers/cron.py +95 -96
- pulumiverse_scaleway/containers/domain.py +61 -62
- pulumiverse_scaleway/containers/get_container.py +79 -80
- pulumiverse_scaleway/containers/get_namespace.py +45 -46
- pulumiverse_scaleway/containers/namespace.py +181 -182
- pulumiverse_scaleway/containers/outputs.py +83 -84
- pulumiverse_scaleway/containers/token.py +95 -96
- pulumiverse_scaleway/containers/trigger.py +75 -76
- pulumiverse_scaleway/database.py +79 -80
- pulumiverse_scaleway/database_acl.py +38 -39
- pulumiverse_scaleway/database_backup.py +122 -123
- pulumiverse_scaleway/database_instance.py +408 -409
- pulumiverse_scaleway/database_privilege.py +86 -87
- pulumiverse_scaleway/database_read_replica.py +58 -59
- pulumiverse_scaleway/database_user.py +86 -87
- pulumiverse_scaleway/databases/__init__.py +1 -1
- pulumiverse_scaleway/databases/_inputs.py +227 -228
- pulumiverse_scaleway/databases/acl.py +38 -39
- pulumiverse_scaleway/databases/database.py +79 -80
- pulumiverse_scaleway/databases/database_backup.py +122 -123
- pulumiverse_scaleway/databases/get_acl.py +16 -17
- pulumiverse_scaleway/databases/get_database.py +25 -26
- pulumiverse_scaleway/databases/get_database_backup.py +45 -46
- pulumiverse_scaleway/databases/get_instance.py +72 -73
- pulumiverse_scaleway/databases/get_privilege.py +29 -30
- pulumiverse_scaleway/databases/instance.py +408 -409
- pulumiverse_scaleway/databases/outputs.py +247 -248
- pulumiverse_scaleway/databases/privilege.py +86 -87
- pulumiverse_scaleway/databases/read_replica.py +58 -59
- pulumiverse_scaleway/databases/serverless_database.py +95 -96
- pulumiverse_scaleway/databases/snapshot.py +123 -124
- pulumiverse_scaleway/databases/user.py +86 -87
- pulumiverse_scaleway/domain/__init__.py +1 -1
- pulumiverse_scaleway/domain/_inputs.py +660 -661
- pulumiverse_scaleway/domain/get_record.py +51 -52
- pulumiverse_scaleway/domain/get_zone.py +33 -34
- pulumiverse_scaleway/domain/outputs.py +500 -501
- pulumiverse_scaleway/domain/record.py +150 -151
- pulumiverse_scaleway/domain/registration.py +121 -122
- pulumiverse_scaleway/domain/zone.py +106 -107
- pulumiverse_scaleway/domain_record.py +150 -151
- pulumiverse_scaleway/domain_zone.py +106 -107
- pulumiverse_scaleway/edge_services_backend_stage.py +59 -60
- pulumiverse_scaleway/edge_services_cache_stage.py +162 -159
- pulumiverse_scaleway/edge_services_dns_stage.py +130 -131
- pulumiverse_scaleway/edge_services_head_stage.py +35 -36
- pulumiverse_scaleway/edge_services_pipeline.py +79 -80
- pulumiverse_scaleway/edge_services_plan.py +35 -36
- pulumiverse_scaleway/edge_services_route_stage.py +73 -74
- pulumiverse_scaleway/edge_services_tls_stage.py +150 -151
- pulumiverse_scaleway/edge_services_waf_stage.py +104 -105
- pulumiverse_scaleway/elasticmetal/__init__.py +1 -1
- pulumiverse_scaleway/elasticmetal/_inputs.py +146 -147
- pulumiverse_scaleway/elasticmetal/get_ip.py +41 -42
- pulumiverse_scaleway/elasticmetal/get_ips.py +30 -31
- pulumiverse_scaleway/elasticmetal/get_offer.py +40 -41
- pulumiverse_scaleway/elasticmetal/get_option.py +23 -24
- pulumiverse_scaleway/elasticmetal/get_os.py +27 -28
- pulumiverse_scaleway/elasticmetal/get_partition_schema.py +35 -36
- pulumiverse_scaleway/elasticmetal/get_server.py +69 -70
- pulumiverse_scaleway/elasticmetal/ip.py +165 -166
- pulumiverse_scaleway/elasticmetal/ip_mac_address.py +105 -106
- pulumiverse_scaleway/elasticmetal/outputs.py +312 -312
- pulumiverse_scaleway/elasticmetal/server.py +366 -351
- pulumiverse_scaleway/file_filesystem.py +137 -134
- pulumiverse_scaleway/flexible_ip.py +165 -166
- pulumiverse_scaleway/flexible_ip_mac_address.py +105 -106
- pulumiverse_scaleway/function.py +381 -382
- pulumiverse_scaleway/function_cron.py +95 -96
- pulumiverse_scaleway/function_domain.py +61 -62
- pulumiverse_scaleway/function_namespace.py +164 -165
- pulumiverse_scaleway/function_token.py +95 -96
- pulumiverse_scaleway/function_trigger.py +75 -76
- pulumiverse_scaleway/functions/__init__.py +1 -1
- pulumiverse_scaleway/functions/_inputs.py +49 -50
- pulumiverse_scaleway/functions/cron.py +95 -96
- pulumiverse_scaleway/functions/domain.py +61 -62
- pulumiverse_scaleway/functions/function.py +381 -382
- pulumiverse_scaleway/functions/get_function.py +73 -74
- pulumiverse_scaleway/functions/get_namespace.py +43 -44
- pulumiverse_scaleway/functions/namespace.py +164 -165
- pulumiverse_scaleway/functions/outputs.py +33 -34
- pulumiverse_scaleway/functions/token.py +95 -96
- pulumiverse_scaleway/functions/trigger.py +75 -76
- pulumiverse_scaleway/get_account_project.py +27 -28
- pulumiverse_scaleway/get_account_ssh_key.py +33 -34
- pulumiverse_scaleway/get_availability_zones.py +11 -12
- pulumiverse_scaleway/get_baremetal_offer.py +40 -41
- pulumiverse_scaleway/get_baremetal_option.py +23 -24
- pulumiverse_scaleway/get_baremetal_os.py +27 -28
- pulumiverse_scaleway/get_baremetal_server.py +69 -70
- pulumiverse_scaleway/get_billing_consumptions.py +18 -15
- pulumiverse_scaleway/get_billing_invoices.py +24 -25
- pulumiverse_scaleway/get_block_snapshot.py +37 -38
- pulumiverse_scaleway/get_block_volume.py +37 -38
- pulumiverse_scaleway/get_cockpit.py +15 -16
- pulumiverse_scaleway/get_cockpit_source.py +49 -50
- pulumiverse_scaleway/get_config.py +23 -24
- pulumiverse_scaleway/get_container.py +79 -80
- pulumiverse_scaleway/get_container_namespace.py +45 -46
- pulumiverse_scaleway/get_database.py +25 -26
- pulumiverse_scaleway/get_database_acl.py +16 -17
- pulumiverse_scaleway/get_database_backup.py +45 -46
- pulumiverse_scaleway/get_database_instance.py +72 -73
- pulumiverse_scaleway/get_database_privilege.py +29 -30
- pulumiverse_scaleway/get_domain_record.py +51 -52
- pulumiverse_scaleway/get_domain_zone.py +33 -34
- pulumiverse_scaleway/get_flexible_ip.py +41 -42
- pulumiverse_scaleway/get_flexible_ips.py +30 -31
- pulumiverse_scaleway/get_function.py +73 -74
- pulumiverse_scaleway/get_function_namespace.py +43 -44
- pulumiverse_scaleway/get_iam_api_key.py +27 -28
- pulumiverse_scaleway/get_iam_application.py +31 -32
- pulumiverse_scaleway/get_iam_group.py +35 -36
- pulumiverse_scaleway/get_iam_ssh_key.py +33 -34
- pulumiverse_scaleway/get_iam_user.py +27 -28
- pulumiverse_scaleway/get_instance_image.py +57 -58
- pulumiverse_scaleway/get_instance_ip.py +29 -30
- pulumiverse_scaleway/get_instance_placement_group.py +37 -38
- pulumiverse_scaleway/get_instance_private_nic.py +40 -41
- pulumiverse_scaleway/get_instance_security_group.py +45 -46
- pulumiverse_scaleway/get_instance_server.py +81 -82
- pulumiverse_scaleway/get_instance_servers.py +30 -31
- pulumiverse_scaleway/get_instance_snapshot.py +40 -41
- pulumiverse_scaleway/get_instance_volume.py +41 -42
- pulumiverse_scaleway/get_iot_device.py +45 -46
- pulumiverse_scaleway/get_iot_hub.py +59 -60
- pulumiverse_scaleway/get_ipam_ip.py +64 -65
- pulumiverse_scaleway/get_ipam_ips.py +55 -56
- pulumiverse_scaleway/get_k8s_version.py +21 -22
- pulumiverse_scaleway/get_kubernetes_cluster.py +63 -64
- pulumiverse_scaleway/get_kubernetes_node_pool.py +75 -76
- pulumiverse_scaleway/get_lb_acls.py +28 -29
- pulumiverse_scaleway/get_lb_backend.py +74 -75
- pulumiverse_scaleway/get_lb_backends.py +28 -29
- pulumiverse_scaleway/get_lb_frontend.py +44 -45
- pulumiverse_scaleway/get_lb_frontends.py +28 -29
- pulumiverse_scaleway/get_lb_ips.py +36 -37
- pulumiverse_scaleway/get_lb_route.py +25 -26
- pulumiverse_scaleway/get_lb_routes.py +22 -23
- pulumiverse_scaleway/get_lbs.py +30 -31
- pulumiverse_scaleway/get_loadbalancer.py +55 -56
- pulumiverse_scaleway/get_loadbalancer_certificate.py +35 -36
- pulumiverse_scaleway/get_loadbalancer_ip.py +39 -40
- pulumiverse_scaleway/get_marketplace_image.py +27 -28
- pulumiverse_scaleway/get_mnq_sns.py +17 -18
- pulumiverse_scaleway/get_mnq_sqs.py +17 -18
- pulumiverse_scaleway/get_mongo_db_instance.py +62 -63
- pulumiverse_scaleway/get_object_bucket.py +34 -35
- pulumiverse_scaleway/get_object_bucket_policy.py +21 -22
- pulumiverse_scaleway/get_redis_cluster.py +53 -54
- pulumiverse_scaleway/get_registry_image.py +47 -48
- pulumiverse_scaleway/get_registry_image_tag.py +43 -44
- pulumiverse_scaleway/get_registry_namespace.py +35 -36
- pulumiverse_scaleway/get_secret.py +57 -58
- pulumiverse_scaleway/get_secret_version.py +45 -46
- pulumiverse_scaleway/get_tem_domain.py +102 -70
- pulumiverse_scaleway/get_vpc.py +47 -48
- pulumiverse_scaleway/get_vpc_gateway_network.py +43 -44
- pulumiverse_scaleway/get_vpc_private_network.py +47 -48
- pulumiverse_scaleway/get_vpc_public_gateway.py +55 -56
- pulumiverse_scaleway/get_vpc_public_gateway_dhcp.py +43 -44
- pulumiverse_scaleway/get_vpc_public_gateway_dhcp_reservation.py +43 -44
- pulumiverse_scaleway/get_vpc_public_gateway_ip.py +23 -24
- pulumiverse_scaleway/get_vpc_public_pat_rule.py +31 -32
- pulumiverse_scaleway/get_vpc_routes.py +46 -47
- pulumiverse_scaleway/get_vpcs.py +30 -31
- pulumiverse_scaleway/get_web_host_offer.py +33 -34
- pulumiverse_scaleway/get_webhosting.py +57 -58
- pulumiverse_scaleway/hosting/__init__.py +1 -1
- pulumiverse_scaleway/hosting/_inputs.py +80 -81
- pulumiverse_scaleway/hosting/get_hosting.py +57 -58
- pulumiverse_scaleway/hosting/get_offer.py +33 -34
- pulumiverse_scaleway/hosting/hosting.py +209 -210
- pulumiverse_scaleway/hosting/outputs.py +211 -212
- pulumiverse_scaleway/iam/__init__.py +1 -1
- pulumiverse_scaleway/iam/_inputs.py +25 -26
- pulumiverse_scaleway/iam/api_key.py +140 -141
- pulumiverse_scaleway/iam/application.py +96 -97
- pulumiverse_scaleway/iam/get_api_key.py +27 -28
- pulumiverse_scaleway/iam/get_application.py +31 -32
- pulumiverse_scaleway/iam/get_group.py +35 -36
- pulumiverse_scaleway/iam/get_ssh_key.py +33 -34
- pulumiverse_scaleway/iam/get_user.py +27 -28
- pulumiverse_scaleway/iam/group.py +138 -139
- pulumiverse_scaleway/iam/group_membership.py +52 -53
- pulumiverse_scaleway/iam/outputs.py +17 -18
- pulumiverse_scaleway/iam/policy.py +167 -168
- pulumiverse_scaleway/iam/ssh_key.py +105 -106
- pulumiverse_scaleway/iam/user.py +269 -270
- pulumiverse_scaleway/iam_api_key.py +140 -141
- pulumiverse_scaleway/iam_application.py +96 -97
- pulumiverse_scaleway/iam_group.py +138 -139
- pulumiverse_scaleway/iam_group_membership.py +52 -53
- pulumiverse_scaleway/iam_policy.py +167 -168
- pulumiverse_scaleway/iam_ssh_key.py +105 -106
- pulumiverse_scaleway/iam_user.py +269 -270
- pulumiverse_scaleway/inference/__init__.py +1 -1
- pulumiverse_scaleway/inference/_inputs.py +86 -87
- pulumiverse_scaleway/inference/deployment.py +229 -226
- pulumiverse_scaleway/inference/get_model.py +42 -43
- pulumiverse_scaleway/inference/model.py +160 -161
- pulumiverse_scaleway/inference/outputs.py +75 -76
- pulumiverse_scaleway/inference_deployment.py +229 -226
- pulumiverse_scaleway/instance/__init__.py +2 -1
- pulumiverse_scaleway/instance/_inputs.py +431 -478
- pulumiverse_scaleway/instance/get_image.py +57 -58
- pulumiverse_scaleway/instance/get_ip.py +29 -30
- pulumiverse_scaleway/instance/get_placement_group.py +37 -38
- pulumiverse_scaleway/instance/get_private_nic.py +40 -41
- pulumiverse_scaleway/instance/get_security_group.py +45 -46
- pulumiverse_scaleway/instance/get_server.py +81 -82
- pulumiverse_scaleway/instance/get_server_type.py +271 -0
- pulumiverse_scaleway/instance/get_servers.py +30 -31
- pulumiverse_scaleway/instance/get_snapshot.py +40 -41
- pulumiverse_scaleway/instance/get_volume.py +41 -42
- pulumiverse_scaleway/instance/image.py +258 -205
- pulumiverse_scaleway/instance/ip.py +114 -115
- pulumiverse_scaleway/instance/ip_reverse_dns.py +52 -53
- pulumiverse_scaleway/instance/outputs.py +702 -574
- pulumiverse_scaleway/instance/placement_group.py +121 -122
- pulumiverse_scaleway/instance/private_nic.py +115 -116
- pulumiverse_scaleway/instance/security_group.py +186 -187
- pulumiverse_scaleway/instance/security_group_rules.py +24 -25
- pulumiverse_scaleway/instance/server.py +433 -434
- pulumiverse_scaleway/instance/snapshot.py +133 -162
- pulumiverse_scaleway/instance/user_data.py +69 -70
- pulumiverse_scaleway/instance/volume.py +155 -177
- pulumiverse_scaleway/instance_image.py +258 -205
- pulumiverse_scaleway/instance_ip.py +114 -115
- pulumiverse_scaleway/instance_ip_reverse_dns.py +52 -53
- pulumiverse_scaleway/instance_placement_group.py +121 -122
- pulumiverse_scaleway/instance_private_nic.py +115 -116
- pulumiverse_scaleway/instance_security_group.py +186 -187
- pulumiverse_scaleway/instance_security_group_rules.py +24 -25
- pulumiverse_scaleway/instance_server.py +433 -434
- pulumiverse_scaleway/instance_snapshot.py +133 -162
- pulumiverse_scaleway/instance_user_data.py +69 -70
- pulumiverse_scaleway/instance_volume.py +155 -177
- pulumiverse_scaleway/iot/__init__.py +1 -1
- pulumiverse_scaleway/iot/_inputs.py +118 -119
- pulumiverse_scaleway/iot/device.py +154 -155
- pulumiverse_scaleway/iot/get_device.py +45 -46
- pulumiverse_scaleway/iot/get_hub.py +59 -60
- pulumiverse_scaleway/iot/hub.py +252 -253
- pulumiverse_scaleway/iot/network.py +113 -114
- pulumiverse_scaleway/iot/outputs.py +106 -107
- pulumiverse_scaleway/iot/route.py +87 -88
- pulumiverse_scaleway/iot_device.py +154 -155
- pulumiverse_scaleway/iot_hub.py +252 -253
- pulumiverse_scaleway/iot_network.py +113 -114
- pulumiverse_scaleway/iot_route.py +87 -88
- pulumiverse_scaleway/ipam/__init__.py +1 -1
- pulumiverse_scaleway/ipam/_inputs.py +103 -104
- pulumiverse_scaleway/ipam/get_ip.py +64 -65
- pulumiverse_scaleway/ipam/get_ips.py +55 -56
- pulumiverse_scaleway/ipam/ip.py +123 -124
- pulumiverse_scaleway/ipam/ip_reverse_dns.py +69 -70
- pulumiverse_scaleway/ipam/outputs.py +119 -120
- pulumiverse_scaleway/ipam_ip.py +123 -124
- pulumiverse_scaleway/ipam_ip_reverse_dns.py +69 -70
- pulumiverse_scaleway/job/__init__.py +1 -1
- pulumiverse_scaleway/job/_inputs.py +44 -45
- pulumiverse_scaleway/job/definition.py +177 -178
- pulumiverse_scaleway/job/outputs.py +30 -31
- pulumiverse_scaleway/job_definition.py +177 -178
- pulumiverse_scaleway/key_manager_key.py +334 -226
- pulumiverse_scaleway/kubernetes/__init__.py +1 -1
- pulumiverse_scaleway/kubernetes/_inputs.py +227 -228
- pulumiverse_scaleway/kubernetes/acl.py +55 -56
- pulumiverse_scaleway/kubernetes/cluster.py +350 -297
- pulumiverse_scaleway/kubernetes/get_cluster.py +63 -64
- pulumiverse_scaleway/kubernetes/get_pool.py +75 -76
- pulumiverse_scaleway/kubernetes/get_version.py +21 -22
- pulumiverse_scaleway/kubernetes/outputs.py +288 -289
- pulumiverse_scaleway/kubernetes/pool.py +374 -375
- pulumiverse_scaleway/kubernetes_cluster.py +350 -297
- pulumiverse_scaleway/kubernetes_node_pool.py +374 -375
- pulumiverse_scaleway/loadbalancer.py +246 -247
- pulumiverse_scaleway/loadbalancer_acl.py +93 -94
- pulumiverse_scaleway/loadbalancer_backend.py +493 -487
- pulumiverse_scaleway/loadbalancer_certificate.py +95 -96
- pulumiverse_scaleway/loadbalancer_frontend.py +201 -202
- pulumiverse_scaleway/loadbalancer_ip.py +122 -123
- pulumiverse_scaleway/loadbalancer_route.py +121 -122
- pulumiverse_scaleway/loadbalancers/__init__.py +1 -1
- pulumiverse_scaleway/loadbalancers/_inputs.py +281 -282
- pulumiverse_scaleway/loadbalancers/acl.py +93 -94
- pulumiverse_scaleway/loadbalancers/backend.py +493 -487
- pulumiverse_scaleway/loadbalancers/certificate.py +95 -96
- pulumiverse_scaleway/loadbalancers/frontend.py +201 -202
- pulumiverse_scaleway/loadbalancers/get_acls.py +28 -29
- pulumiverse_scaleway/loadbalancers/get_backend.py +74 -75
- pulumiverse_scaleway/loadbalancers/get_backends.py +28 -29
- pulumiverse_scaleway/loadbalancers/get_certificate.py +35 -36
- pulumiverse_scaleway/loadbalancers/get_frontend.py +44 -45
- pulumiverse_scaleway/loadbalancers/get_frontends.py +28 -29
- pulumiverse_scaleway/loadbalancers/get_ip.py +39 -40
- pulumiverse_scaleway/loadbalancers/get_ips.py +36 -37
- pulumiverse_scaleway/loadbalancers/get_load_balancer.py +55 -56
- pulumiverse_scaleway/loadbalancers/get_load_balancers.py +30 -31
- pulumiverse_scaleway/loadbalancers/get_route.py +25 -26
- pulumiverse_scaleway/loadbalancers/get_routes.py +22 -23
- pulumiverse_scaleway/loadbalancers/ip.py +122 -123
- pulumiverse_scaleway/loadbalancers/load_balancer.py +246 -247
- pulumiverse_scaleway/loadbalancers/outputs.py +754 -751
- pulumiverse_scaleway/loadbalancers/route.py +121 -122
- pulumiverse_scaleway/mnq/__init__.py +1 -1
- pulumiverse_scaleway/mnq/_inputs.py +49 -50
- pulumiverse_scaleway/mnq/get_sns.py +17 -18
- pulumiverse_scaleway/mnq/get_sqs.py +17 -18
- pulumiverse_scaleway/mnq/nats_account.py +61 -62
- pulumiverse_scaleway/mnq/nats_credentials.py +61 -62
- pulumiverse_scaleway/mnq/outputs.py +33 -34
- pulumiverse_scaleway/mnq/sns.py +44 -45
- pulumiverse_scaleway/mnq/sns_credentials.py +73 -74
- pulumiverse_scaleway/mnq/sns_topic.py +172 -173
- pulumiverse_scaleway/mnq/sns_topic_subscription.py +180 -181
- pulumiverse_scaleway/mnq/sqs.py +44 -45
- pulumiverse_scaleway/mnq/sqs_credentials.py +73 -74
- pulumiverse_scaleway/mnq/sqs_queue.py +243 -244
- pulumiverse_scaleway/mnq_nats_account.py +61 -62
- pulumiverse_scaleway/mnq_nats_credentials.py +61 -62
- pulumiverse_scaleway/mnq_sns.py +44 -45
- pulumiverse_scaleway/mnq_sns_credentials.py +73 -74
- pulumiverse_scaleway/mnq_sns_topic.py +172 -173
- pulumiverse_scaleway/mnq_sns_topic_subscription.py +180 -181
- pulumiverse_scaleway/mnq_sqs.py +44 -45
- pulumiverse_scaleway/mnq_sqs_credentials.py +73 -74
- pulumiverse_scaleway/mnq_sqs_queue.py +243 -244
- pulumiverse_scaleway/mongo_db_instance.py +309 -310
- pulumiverse_scaleway/mongo_db_snapshot.py +123 -124
- pulumiverse_scaleway/mongodb/__init__.py +1 -1
- pulumiverse_scaleway/mongodb/_inputs.py +80 -81
- pulumiverse_scaleway/mongodb/get_instance.py +62 -63
- pulumiverse_scaleway/mongodb/instance.py +309 -310
- pulumiverse_scaleway/mongodb/outputs.py +95 -96
- pulumiverse_scaleway/mongodb/snapshot.py +123 -124
- pulumiverse_scaleway/mongodb/user.py +72 -73
- pulumiverse_scaleway/network/__init__.py +1 -1
- pulumiverse_scaleway/network/_inputs.py +166 -167
- pulumiverse_scaleway/network/acl.py +72 -73
- pulumiverse_scaleway/network/gateway_network.py +179 -180
- pulumiverse_scaleway/network/get_gateway_network.py +43 -44
- pulumiverse_scaleway/network/get_private_network.py +47 -48
- pulumiverse_scaleway/network/get_public_gateway.py +55 -56
- pulumiverse_scaleway/network/get_public_gateway_dhcp.py +43 -44
- pulumiverse_scaleway/network/get_public_gateway_dhcp_reservation.py +43 -44
- pulumiverse_scaleway/network/get_public_gateway_ip.py +23 -24
- pulumiverse_scaleway/network/get_public_gateway_pat_rule.py +31 -32
- pulumiverse_scaleway/network/get_routes.py +46 -47
- pulumiverse_scaleway/network/get_vpc.py +47 -48
- pulumiverse_scaleway/network/get_vpcs.py +30 -31
- pulumiverse_scaleway/network/outputs.py +288 -287
- pulumiverse_scaleway/network/private_network.py +170 -171
- pulumiverse_scaleway/network/public_gateway.py +259 -260
- pulumiverse_scaleway/network/public_gateway_dhcp.py +283 -284
- pulumiverse_scaleway/network/public_gateway_dhcp_reservation.py +105 -106
- pulumiverse_scaleway/network/public_gateway_ip.py +105 -106
- pulumiverse_scaleway/network/public_gateway_ip_reverse_dns.py +52 -53
- pulumiverse_scaleway/network/public_gateway_pat_rule.py +130 -131
- pulumiverse_scaleway/network/route.py +138 -139
- pulumiverse_scaleway/network/vpc.py +139 -140
- pulumiverse_scaleway/object/__init__.py +1 -1
- pulumiverse_scaleway/object/_inputs.py +164 -165
- pulumiverse_scaleway/object/bucket.py +147 -148
- pulumiverse_scaleway/object/bucket_acl.py +89 -90
- pulumiverse_scaleway/object/bucket_lock_configuration.py +55 -56
- pulumiverse_scaleway/object/bucket_policy.py +69 -70
- pulumiverse_scaleway/object/bucket_website_configuration.py +76 -77
- pulumiverse_scaleway/object/get_bucket.py +34 -35
- pulumiverse_scaleway/object/get_bucket_policy.py +21 -22
- pulumiverse_scaleway/object/item.py +239 -240
- pulumiverse_scaleway/object/outputs.py +171 -172
- pulumiverse_scaleway/object_bucket.py +147 -148
- pulumiverse_scaleway/object_bucket_acl.py +89 -90
- pulumiverse_scaleway/object_bucket_lock_configuration.py +55 -56
- pulumiverse_scaleway/object_bucket_policy.py +69 -70
- pulumiverse_scaleway/object_bucket_website_configuration.py +76 -77
- pulumiverse_scaleway/object_item.py +239 -240
- pulumiverse_scaleway/observability/__init__.py +1 -1
- pulumiverse_scaleway/observability/_inputs.py +105 -106
- pulumiverse_scaleway/observability/alert_manager.py +64 -65
- pulumiverse_scaleway/observability/cockpit.py +48 -49
- pulumiverse_scaleway/observability/get_instance.py +15 -16
- pulumiverse_scaleway/observability/get_source.py +49 -50
- pulumiverse_scaleway/observability/get_sources.py +46 -47
- pulumiverse_scaleway/observability/grafana_user.py +70 -71
- pulumiverse_scaleway/observability/outputs.py +149 -150
- pulumiverse_scaleway/observability/source.py +140 -141
- pulumiverse_scaleway/observability/token.py +82 -83
- pulumiverse_scaleway/outputs.py +3934 -3944
- pulumiverse_scaleway/provider.py +82 -83
- pulumiverse_scaleway/pulumi-plugin.json +1 -1
- pulumiverse_scaleway/rdb_snapshot.py +123 -124
- pulumiverse_scaleway/redis/__init__.py +1 -1
- pulumiverse_scaleway/redis/_inputs.py +86 -87
- pulumiverse_scaleway/redis/cluster.py +227 -228
- pulumiverse_scaleway/redis/get_cluster.py +53 -54
- pulumiverse_scaleway/redis/outputs.py +115 -116
- pulumiverse_scaleway/redis_cluster.py +227 -228
- pulumiverse_scaleway/registry/__init__.py +1 -1
- pulumiverse_scaleway/registry/get_image.py +47 -48
- pulumiverse_scaleway/registry/get_image_tag.py +43 -44
- pulumiverse_scaleway/registry/get_namespace.py +35 -36
- pulumiverse_scaleway/registry/namespace.py +104 -105
- pulumiverse_scaleway/registry_namespace.py +104 -105
- pulumiverse_scaleway/sdb_database.py +95 -96
- pulumiverse_scaleway/secret.py +178 -179
- pulumiverse_scaleway/secret_version.py +105 -106
- pulumiverse_scaleway/secrets/__init__.py +1 -1
- pulumiverse_scaleway/secrets/_inputs.py +62 -63
- pulumiverse_scaleway/secrets/get_secret.py +57 -58
- pulumiverse_scaleway/secrets/get_version.py +45 -46
- pulumiverse_scaleway/secrets/outputs.py +83 -84
- pulumiverse_scaleway/secrets/secret.py +178 -179
- pulumiverse_scaleway/secrets/version.py +105 -106
- pulumiverse_scaleway/tem/__init__.py +1 -1
- pulumiverse_scaleway/tem/_inputs.py +32 -33
- pulumiverse_scaleway/tem/blocked_list.py +103 -104
- pulumiverse_scaleway/tem/domain.py +340 -257
- pulumiverse_scaleway/tem/domain_validation.py +61 -62
- pulumiverse_scaleway/tem/get_domain.py +102 -70
- pulumiverse_scaleway/tem/get_offer_subscription.py +33 -34
- pulumiverse_scaleway/tem/outputs.py +43 -44
- pulumiverse_scaleway/tem/webhook.py +130 -131
- pulumiverse_scaleway/tem_domain.py +340 -257
- pulumiverse_scaleway/tem_domain_validation.py +61 -62
- pulumiverse_scaleway/tem_webhook.py +130 -131
- pulumiverse_scaleway/vpc.py +139 -140
- pulumiverse_scaleway/vpc_gateway_network.py +179 -180
- pulumiverse_scaleway/vpc_private_network.py +170 -171
- pulumiverse_scaleway/vpc_public_gateway.py +259 -260
- pulumiverse_scaleway/vpc_public_gateway_dhcp.py +283 -284
- pulumiverse_scaleway/vpc_public_gateway_dhcp_reservation.py +105 -106
- pulumiverse_scaleway/vpc_public_gateway_ip.py +105 -106
- pulumiverse_scaleway/vpc_public_gateway_ip_reverse_dns.py +52 -53
- pulumiverse_scaleway/vpc_public_gateway_pat_rule.py +130 -131
- pulumiverse_scaleway/vpc_route.py +138 -139
- pulumiverse_scaleway/webhosting.py +209 -210
- {pulumiverse_scaleway-1.34.2a1759388651.dist-info → pulumiverse_scaleway-1.35.0.dist-info}/METADATA +1 -1
- pulumiverse_scaleway-1.35.0.dist-info/RECORD +500 -0
- pulumiverse_scaleway-1.34.2a1759388651.dist-info/RECORD +0 -499
- {pulumiverse_scaleway-1.34.2a1759388651.dist-info → pulumiverse_scaleway-1.35.0.dist-info}/WHEEL +0 -0
- {pulumiverse_scaleway-1.34.2a1759388651.dist-info → pulumiverse_scaleway-1.35.0.dist-info}/top_level.txt +0 -0
|
@@ -2,8 +2,7 @@
|
|
|
2
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
|
|
6
|
-
import copy
|
|
5
|
+
import builtins as _builtins
|
|
7
6
|
import warnings
|
|
8
7
|
import sys
|
|
9
8
|
import pulumi
|
|
@@ -22,34 +21,34 @@ __all__ = ['InferenceDeploymentArgs', 'InferenceDeployment']
|
|
|
22
21
|
@pulumi.input_type
|
|
23
22
|
class InferenceDeploymentArgs:
|
|
24
23
|
def __init__(__self__, *,
|
|
25
|
-
model_id: pulumi.Input[
|
|
26
|
-
node_type: pulumi.Input[
|
|
27
|
-
accept_eula: Optional[pulumi.Input[
|
|
28
|
-
max_size: Optional[pulumi.Input[
|
|
29
|
-
min_size: Optional[pulumi.Input[
|
|
30
|
-
name: Optional[pulumi.Input[
|
|
24
|
+
model_id: pulumi.Input[_builtins.str],
|
|
25
|
+
node_type: pulumi.Input[_builtins.str],
|
|
26
|
+
accept_eula: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
27
|
+
max_size: Optional[pulumi.Input[_builtins.int]] = None,
|
|
28
|
+
min_size: Optional[pulumi.Input[_builtins.int]] = None,
|
|
29
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
31
30
|
private_endpoint: Optional[pulumi.Input['InferenceDeploymentPrivateEndpointArgs']] = None,
|
|
32
31
|
private_ips: Optional[pulumi.Input[Sequence[pulumi.Input['InferenceDeploymentPrivateIpArgs']]]] = None,
|
|
33
|
-
project_id: Optional[pulumi.Input[
|
|
32
|
+
project_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
34
33
|
public_endpoint: Optional[pulumi.Input['InferenceDeploymentPublicEndpointArgs']] = None,
|
|
35
|
-
quantization: Optional[pulumi.Input[
|
|
36
|
-
region: Optional[pulumi.Input[
|
|
37
|
-
tags: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
34
|
+
quantization: Optional[pulumi.Input[_builtins.int]] = None,
|
|
35
|
+
region: Optional[pulumi.Input[_builtins.str]] = None,
|
|
36
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None):
|
|
38
37
|
"""
|
|
39
38
|
The set of arguments for constructing a InferenceDeployment resource.
|
|
40
|
-
:param pulumi.Input[
|
|
41
|
-
:param pulumi.Input[
|
|
42
|
-
:param pulumi.Input[
|
|
43
|
-
:param pulumi.Input[
|
|
44
|
-
:param pulumi.Input[
|
|
45
|
-
:param pulumi.Input[
|
|
39
|
+
:param pulumi.Input[_builtins.str] model_id: The model id used for the deployment.
|
|
40
|
+
:param pulumi.Input[_builtins.str] node_type: The node type to use for the deployment. Node types can be found using Scaleway's CLI (`scw inference node-type list`)
|
|
41
|
+
:param pulumi.Input[_builtins.bool] accept_eula: Some models (e.g Meta Llama) require end-user license agreements. Set `true` to accept.
|
|
42
|
+
:param pulumi.Input[_builtins.int] max_size: The maximum size of the pool.
|
|
43
|
+
:param pulumi.Input[_builtins.int] min_size: The minimum size of the pool.
|
|
44
|
+
:param pulumi.Input[_builtins.str] name: The deployment name.
|
|
46
45
|
:param pulumi.Input['InferenceDeploymentPrivateEndpointArgs'] private_endpoint: Configuration of the deployment's private endpoint.
|
|
47
46
|
:param pulumi.Input[Sequence[pulumi.Input['InferenceDeploymentPrivateIpArgs']]] private_ips: The private IPv4 address associated with the deployment.
|
|
48
|
-
:param pulumi.Input[
|
|
47
|
+
:param pulumi.Input[_builtins.str] project_id: `project_id`) The ID of the project the deployment is associated with.
|
|
49
48
|
:param pulumi.Input['InferenceDeploymentPublicEndpointArgs'] public_endpoint: Configuration of the deployment's public endpoint.
|
|
50
|
-
:param pulumi.Input[
|
|
51
|
-
:param pulumi.Input[
|
|
52
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
49
|
+
:param pulumi.Input[_builtins.int] quantization: The number of bits each model parameter should be quantized to
|
|
50
|
+
:param pulumi.Input[_builtins.str] region: `region`) The region in which the deployment is created.
|
|
51
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] tags: The tags associated with the deployment.
|
|
53
52
|
"""
|
|
54
53
|
pulumi.set(__self__, "model_id", model_id)
|
|
55
54
|
pulumi.set(__self__, "node_type", node_type)
|
|
@@ -76,79 +75,79 @@ class InferenceDeploymentArgs:
|
|
|
76
75
|
if tags is not None:
|
|
77
76
|
pulumi.set(__self__, "tags", tags)
|
|
78
77
|
|
|
79
|
-
@property
|
|
78
|
+
@_builtins.property
|
|
80
79
|
@pulumi.getter(name="modelId")
|
|
81
|
-
def model_id(self) -> pulumi.Input[
|
|
80
|
+
def model_id(self) -> pulumi.Input[_builtins.str]:
|
|
82
81
|
"""
|
|
83
82
|
The model id used for the deployment.
|
|
84
83
|
"""
|
|
85
84
|
return pulumi.get(self, "model_id")
|
|
86
85
|
|
|
87
86
|
@model_id.setter
|
|
88
|
-
def model_id(self, value: pulumi.Input[
|
|
87
|
+
def model_id(self, value: pulumi.Input[_builtins.str]):
|
|
89
88
|
pulumi.set(self, "model_id", value)
|
|
90
89
|
|
|
91
|
-
@property
|
|
90
|
+
@_builtins.property
|
|
92
91
|
@pulumi.getter(name="nodeType")
|
|
93
|
-
def node_type(self) -> pulumi.Input[
|
|
92
|
+
def node_type(self) -> pulumi.Input[_builtins.str]:
|
|
94
93
|
"""
|
|
95
94
|
The node type to use for the deployment. Node types can be found using Scaleway's CLI (`scw inference node-type list`)
|
|
96
95
|
"""
|
|
97
96
|
return pulumi.get(self, "node_type")
|
|
98
97
|
|
|
99
98
|
@node_type.setter
|
|
100
|
-
def node_type(self, value: pulumi.Input[
|
|
99
|
+
def node_type(self, value: pulumi.Input[_builtins.str]):
|
|
101
100
|
pulumi.set(self, "node_type", value)
|
|
102
101
|
|
|
103
|
-
@property
|
|
102
|
+
@_builtins.property
|
|
104
103
|
@pulumi.getter(name="acceptEula")
|
|
105
|
-
def accept_eula(self) -> Optional[pulumi.Input[
|
|
104
|
+
def accept_eula(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
106
105
|
"""
|
|
107
106
|
Some models (e.g Meta Llama) require end-user license agreements. Set `true` to accept.
|
|
108
107
|
"""
|
|
109
108
|
return pulumi.get(self, "accept_eula")
|
|
110
109
|
|
|
111
110
|
@accept_eula.setter
|
|
112
|
-
def accept_eula(self, value: Optional[pulumi.Input[
|
|
111
|
+
def accept_eula(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
113
112
|
pulumi.set(self, "accept_eula", value)
|
|
114
113
|
|
|
115
|
-
@property
|
|
114
|
+
@_builtins.property
|
|
116
115
|
@pulumi.getter(name="maxSize")
|
|
117
|
-
def max_size(self) -> Optional[pulumi.Input[
|
|
116
|
+
def max_size(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
118
117
|
"""
|
|
119
118
|
The maximum size of the pool.
|
|
120
119
|
"""
|
|
121
120
|
return pulumi.get(self, "max_size")
|
|
122
121
|
|
|
123
122
|
@max_size.setter
|
|
124
|
-
def max_size(self, value: Optional[pulumi.Input[
|
|
123
|
+
def max_size(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
125
124
|
pulumi.set(self, "max_size", value)
|
|
126
125
|
|
|
127
|
-
@property
|
|
126
|
+
@_builtins.property
|
|
128
127
|
@pulumi.getter(name="minSize")
|
|
129
|
-
def min_size(self) -> Optional[pulumi.Input[
|
|
128
|
+
def min_size(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
130
129
|
"""
|
|
131
130
|
The minimum size of the pool.
|
|
132
131
|
"""
|
|
133
132
|
return pulumi.get(self, "min_size")
|
|
134
133
|
|
|
135
134
|
@min_size.setter
|
|
136
|
-
def min_size(self, value: Optional[pulumi.Input[
|
|
135
|
+
def min_size(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
137
136
|
pulumi.set(self, "min_size", value)
|
|
138
137
|
|
|
139
|
-
@property
|
|
138
|
+
@_builtins.property
|
|
140
139
|
@pulumi.getter
|
|
141
|
-
def name(self) -> Optional[pulumi.Input[
|
|
140
|
+
def name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
142
141
|
"""
|
|
143
142
|
The deployment name.
|
|
144
143
|
"""
|
|
145
144
|
return pulumi.get(self, "name")
|
|
146
145
|
|
|
147
146
|
@name.setter
|
|
148
|
-
def name(self, value: Optional[pulumi.Input[
|
|
147
|
+
def name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
149
148
|
pulumi.set(self, "name", value)
|
|
150
149
|
|
|
151
|
-
@property
|
|
150
|
+
@_builtins.property
|
|
152
151
|
@pulumi.getter(name="privateEndpoint")
|
|
153
152
|
def private_endpoint(self) -> Optional[pulumi.Input['InferenceDeploymentPrivateEndpointArgs']]:
|
|
154
153
|
"""
|
|
@@ -160,7 +159,7 @@ class InferenceDeploymentArgs:
|
|
|
160
159
|
def private_endpoint(self, value: Optional[pulumi.Input['InferenceDeploymentPrivateEndpointArgs']]):
|
|
161
160
|
pulumi.set(self, "private_endpoint", value)
|
|
162
161
|
|
|
163
|
-
@property
|
|
162
|
+
@_builtins.property
|
|
164
163
|
@pulumi.getter(name="privateIps")
|
|
165
164
|
def private_ips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['InferenceDeploymentPrivateIpArgs']]]]:
|
|
166
165
|
"""
|
|
@@ -172,19 +171,19 @@ class InferenceDeploymentArgs:
|
|
|
172
171
|
def private_ips(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['InferenceDeploymentPrivateIpArgs']]]]):
|
|
173
172
|
pulumi.set(self, "private_ips", value)
|
|
174
173
|
|
|
175
|
-
@property
|
|
174
|
+
@_builtins.property
|
|
176
175
|
@pulumi.getter(name="projectId")
|
|
177
|
-
def project_id(self) -> Optional[pulumi.Input[
|
|
176
|
+
def project_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
178
177
|
"""
|
|
179
178
|
`project_id`) The ID of the project the deployment is associated with.
|
|
180
179
|
"""
|
|
181
180
|
return pulumi.get(self, "project_id")
|
|
182
181
|
|
|
183
182
|
@project_id.setter
|
|
184
|
-
def project_id(self, value: Optional[pulumi.Input[
|
|
183
|
+
def project_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
185
184
|
pulumi.set(self, "project_id", value)
|
|
186
185
|
|
|
187
|
-
@property
|
|
186
|
+
@_builtins.property
|
|
188
187
|
@pulumi.getter(name="publicEndpoint")
|
|
189
188
|
def public_endpoint(self) -> Optional[pulumi.Input['InferenceDeploymentPublicEndpointArgs']]:
|
|
190
189
|
"""
|
|
@@ -196,84 +195,84 @@ class InferenceDeploymentArgs:
|
|
|
196
195
|
def public_endpoint(self, value: Optional[pulumi.Input['InferenceDeploymentPublicEndpointArgs']]):
|
|
197
196
|
pulumi.set(self, "public_endpoint", value)
|
|
198
197
|
|
|
199
|
-
@property
|
|
198
|
+
@_builtins.property
|
|
200
199
|
@pulumi.getter
|
|
201
|
-
def quantization(self) -> Optional[pulumi.Input[
|
|
200
|
+
def quantization(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
202
201
|
"""
|
|
203
202
|
The number of bits each model parameter should be quantized to
|
|
204
203
|
"""
|
|
205
204
|
return pulumi.get(self, "quantization")
|
|
206
205
|
|
|
207
206
|
@quantization.setter
|
|
208
|
-
def quantization(self, value: Optional[pulumi.Input[
|
|
207
|
+
def quantization(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
209
208
|
pulumi.set(self, "quantization", value)
|
|
210
209
|
|
|
211
|
-
@property
|
|
210
|
+
@_builtins.property
|
|
212
211
|
@pulumi.getter
|
|
213
|
-
def region(self) -> Optional[pulumi.Input[
|
|
212
|
+
def region(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
214
213
|
"""
|
|
215
214
|
`region`) The region in which the deployment is created.
|
|
216
215
|
"""
|
|
217
216
|
return pulumi.get(self, "region")
|
|
218
217
|
|
|
219
218
|
@region.setter
|
|
220
|
-
def region(self, value: Optional[pulumi.Input[
|
|
219
|
+
def region(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
221
220
|
pulumi.set(self, "region", value)
|
|
222
221
|
|
|
223
|
-
@property
|
|
222
|
+
@_builtins.property
|
|
224
223
|
@pulumi.getter
|
|
225
|
-
def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
224
|
+
def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
226
225
|
"""
|
|
227
226
|
The tags associated with the deployment.
|
|
228
227
|
"""
|
|
229
228
|
return pulumi.get(self, "tags")
|
|
230
229
|
|
|
231
230
|
@tags.setter
|
|
232
|
-
def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
231
|
+
def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
233
232
|
pulumi.set(self, "tags", value)
|
|
234
233
|
|
|
235
234
|
|
|
236
235
|
@pulumi.input_type
|
|
237
236
|
class _InferenceDeploymentState:
|
|
238
237
|
def __init__(__self__, *,
|
|
239
|
-
accept_eula: Optional[pulumi.Input[
|
|
240
|
-
created_at: Optional[pulumi.Input[
|
|
241
|
-
max_size: Optional[pulumi.Input[
|
|
242
|
-
min_size: Optional[pulumi.Input[
|
|
243
|
-
model_id: Optional[pulumi.Input[
|
|
244
|
-
model_name: Optional[pulumi.Input[
|
|
245
|
-
name: Optional[pulumi.Input[
|
|
246
|
-
node_type: Optional[pulumi.Input[
|
|
238
|
+
accept_eula: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
239
|
+
created_at: Optional[pulumi.Input[_builtins.str]] = None,
|
|
240
|
+
max_size: Optional[pulumi.Input[_builtins.int]] = None,
|
|
241
|
+
min_size: Optional[pulumi.Input[_builtins.int]] = None,
|
|
242
|
+
model_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
243
|
+
model_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
244
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
245
|
+
node_type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
247
246
|
private_endpoint: Optional[pulumi.Input['InferenceDeploymentPrivateEndpointArgs']] = None,
|
|
248
247
|
private_ips: Optional[pulumi.Input[Sequence[pulumi.Input['InferenceDeploymentPrivateIpArgs']]]] = None,
|
|
249
|
-
project_id: Optional[pulumi.Input[
|
|
248
|
+
project_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
250
249
|
public_endpoint: Optional[pulumi.Input['InferenceDeploymentPublicEndpointArgs']] = None,
|
|
251
|
-
quantization: Optional[pulumi.Input[
|
|
252
|
-
region: Optional[pulumi.Input[
|
|
253
|
-
size: Optional[pulumi.Input[
|
|
254
|
-
status: Optional[pulumi.Input[
|
|
255
|
-
tags: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
256
|
-
updated_at: Optional[pulumi.Input[
|
|
250
|
+
quantization: Optional[pulumi.Input[_builtins.int]] = None,
|
|
251
|
+
region: Optional[pulumi.Input[_builtins.str]] = None,
|
|
252
|
+
size: Optional[pulumi.Input[_builtins.int]] = None,
|
|
253
|
+
status: Optional[pulumi.Input[_builtins.str]] = None,
|
|
254
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
255
|
+
updated_at: Optional[pulumi.Input[_builtins.str]] = None):
|
|
257
256
|
"""
|
|
258
257
|
Input properties used for looking up and filtering InferenceDeployment resources.
|
|
259
|
-
:param pulumi.Input[
|
|
260
|
-
:param pulumi.Input[
|
|
261
|
-
:param pulumi.Input[
|
|
262
|
-
:param pulumi.Input[
|
|
263
|
-
:param pulumi.Input[
|
|
264
|
-
:param pulumi.Input[
|
|
265
|
-
:param pulumi.Input[
|
|
266
|
-
:param pulumi.Input[
|
|
258
|
+
:param pulumi.Input[_builtins.bool] accept_eula: Some models (e.g Meta Llama) require end-user license agreements. Set `true` to accept.
|
|
259
|
+
:param pulumi.Input[_builtins.str] created_at: The date and time of the creation of the deployment.
|
|
260
|
+
:param pulumi.Input[_builtins.int] max_size: The maximum size of the pool.
|
|
261
|
+
:param pulumi.Input[_builtins.int] min_size: The minimum size of the pool.
|
|
262
|
+
:param pulumi.Input[_builtins.str] model_id: The model id used for the deployment.
|
|
263
|
+
:param pulumi.Input[_builtins.str] model_name: The model name used for the deployment. Model names can be found in Console or using Scaleway's CLI (`scw inference model list`)
|
|
264
|
+
:param pulumi.Input[_builtins.str] name: The deployment name.
|
|
265
|
+
:param pulumi.Input[_builtins.str] node_type: The node type to use for the deployment. Node types can be found using Scaleway's CLI (`scw inference node-type list`)
|
|
267
266
|
:param pulumi.Input['InferenceDeploymentPrivateEndpointArgs'] private_endpoint: Configuration of the deployment's private endpoint.
|
|
268
267
|
:param pulumi.Input[Sequence[pulumi.Input['InferenceDeploymentPrivateIpArgs']]] private_ips: The private IPv4 address associated with the deployment.
|
|
269
|
-
:param pulumi.Input[
|
|
268
|
+
:param pulumi.Input[_builtins.str] project_id: `project_id`) The ID of the project the deployment is associated with.
|
|
270
269
|
:param pulumi.Input['InferenceDeploymentPublicEndpointArgs'] public_endpoint: Configuration of the deployment's public endpoint.
|
|
271
|
-
:param pulumi.Input[
|
|
272
|
-
:param pulumi.Input[
|
|
273
|
-
:param pulumi.Input[
|
|
274
|
-
:param pulumi.Input[
|
|
275
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
276
|
-
:param pulumi.Input[
|
|
270
|
+
:param pulumi.Input[_builtins.int] quantization: The number of bits each model parameter should be quantized to
|
|
271
|
+
:param pulumi.Input[_builtins.str] region: `region`) The region in which the deployment is created.
|
|
272
|
+
:param pulumi.Input[_builtins.int] size: The size of the pool.
|
|
273
|
+
:param pulumi.Input[_builtins.str] status: The status of the deployment.
|
|
274
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] tags: The tags associated with the deployment.
|
|
275
|
+
:param pulumi.Input[_builtins.str] updated_at: The date and time of the last update of the deployment.
|
|
277
276
|
"""
|
|
278
277
|
if accept_eula is not None:
|
|
279
278
|
pulumi.set(__self__, "accept_eula", accept_eula)
|
|
@@ -312,103 +311,103 @@ class _InferenceDeploymentState:
|
|
|
312
311
|
if updated_at is not None:
|
|
313
312
|
pulumi.set(__self__, "updated_at", updated_at)
|
|
314
313
|
|
|
315
|
-
@property
|
|
314
|
+
@_builtins.property
|
|
316
315
|
@pulumi.getter(name="acceptEula")
|
|
317
|
-
def accept_eula(self) -> Optional[pulumi.Input[
|
|
316
|
+
def accept_eula(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
318
317
|
"""
|
|
319
318
|
Some models (e.g Meta Llama) require end-user license agreements. Set `true` to accept.
|
|
320
319
|
"""
|
|
321
320
|
return pulumi.get(self, "accept_eula")
|
|
322
321
|
|
|
323
322
|
@accept_eula.setter
|
|
324
|
-
def accept_eula(self, value: Optional[pulumi.Input[
|
|
323
|
+
def accept_eula(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
325
324
|
pulumi.set(self, "accept_eula", value)
|
|
326
325
|
|
|
327
|
-
@property
|
|
326
|
+
@_builtins.property
|
|
328
327
|
@pulumi.getter(name="createdAt")
|
|
329
|
-
def created_at(self) -> Optional[pulumi.Input[
|
|
328
|
+
def created_at(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
330
329
|
"""
|
|
331
330
|
The date and time of the creation of the deployment.
|
|
332
331
|
"""
|
|
333
332
|
return pulumi.get(self, "created_at")
|
|
334
333
|
|
|
335
334
|
@created_at.setter
|
|
336
|
-
def created_at(self, value: Optional[pulumi.Input[
|
|
335
|
+
def created_at(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
337
336
|
pulumi.set(self, "created_at", value)
|
|
338
337
|
|
|
339
|
-
@property
|
|
338
|
+
@_builtins.property
|
|
340
339
|
@pulumi.getter(name="maxSize")
|
|
341
|
-
def max_size(self) -> Optional[pulumi.Input[
|
|
340
|
+
def max_size(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
342
341
|
"""
|
|
343
342
|
The maximum size of the pool.
|
|
344
343
|
"""
|
|
345
344
|
return pulumi.get(self, "max_size")
|
|
346
345
|
|
|
347
346
|
@max_size.setter
|
|
348
|
-
def max_size(self, value: Optional[pulumi.Input[
|
|
347
|
+
def max_size(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
349
348
|
pulumi.set(self, "max_size", value)
|
|
350
349
|
|
|
351
|
-
@property
|
|
350
|
+
@_builtins.property
|
|
352
351
|
@pulumi.getter(name="minSize")
|
|
353
|
-
def min_size(self) -> Optional[pulumi.Input[
|
|
352
|
+
def min_size(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
354
353
|
"""
|
|
355
354
|
The minimum size of the pool.
|
|
356
355
|
"""
|
|
357
356
|
return pulumi.get(self, "min_size")
|
|
358
357
|
|
|
359
358
|
@min_size.setter
|
|
360
|
-
def min_size(self, value: Optional[pulumi.Input[
|
|
359
|
+
def min_size(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
361
360
|
pulumi.set(self, "min_size", value)
|
|
362
361
|
|
|
363
|
-
@property
|
|
362
|
+
@_builtins.property
|
|
364
363
|
@pulumi.getter(name="modelId")
|
|
365
|
-
def model_id(self) -> Optional[pulumi.Input[
|
|
364
|
+
def model_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
366
365
|
"""
|
|
367
366
|
The model id used for the deployment.
|
|
368
367
|
"""
|
|
369
368
|
return pulumi.get(self, "model_id")
|
|
370
369
|
|
|
371
370
|
@model_id.setter
|
|
372
|
-
def model_id(self, value: Optional[pulumi.Input[
|
|
371
|
+
def model_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
373
372
|
pulumi.set(self, "model_id", value)
|
|
374
373
|
|
|
375
|
-
@property
|
|
374
|
+
@_builtins.property
|
|
376
375
|
@pulumi.getter(name="modelName")
|
|
377
|
-
def model_name(self) -> Optional[pulumi.Input[
|
|
376
|
+
def model_name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
378
377
|
"""
|
|
379
378
|
The model name used for the deployment. Model names can be found in Console or using Scaleway's CLI (`scw inference model list`)
|
|
380
379
|
"""
|
|
381
380
|
return pulumi.get(self, "model_name")
|
|
382
381
|
|
|
383
382
|
@model_name.setter
|
|
384
|
-
def model_name(self, value: Optional[pulumi.Input[
|
|
383
|
+
def model_name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
385
384
|
pulumi.set(self, "model_name", value)
|
|
386
385
|
|
|
387
|
-
@property
|
|
386
|
+
@_builtins.property
|
|
388
387
|
@pulumi.getter
|
|
389
|
-
def name(self) -> Optional[pulumi.Input[
|
|
388
|
+
def name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
390
389
|
"""
|
|
391
390
|
The deployment name.
|
|
392
391
|
"""
|
|
393
392
|
return pulumi.get(self, "name")
|
|
394
393
|
|
|
395
394
|
@name.setter
|
|
396
|
-
def name(self, value: Optional[pulumi.Input[
|
|
395
|
+
def name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
397
396
|
pulumi.set(self, "name", value)
|
|
398
397
|
|
|
399
|
-
@property
|
|
398
|
+
@_builtins.property
|
|
400
399
|
@pulumi.getter(name="nodeType")
|
|
401
|
-
def node_type(self) -> Optional[pulumi.Input[
|
|
400
|
+
def node_type(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
402
401
|
"""
|
|
403
402
|
The node type to use for the deployment. Node types can be found using Scaleway's CLI (`scw inference node-type list`)
|
|
404
403
|
"""
|
|
405
404
|
return pulumi.get(self, "node_type")
|
|
406
405
|
|
|
407
406
|
@node_type.setter
|
|
408
|
-
def node_type(self, value: Optional[pulumi.Input[
|
|
407
|
+
def node_type(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
409
408
|
pulumi.set(self, "node_type", value)
|
|
410
409
|
|
|
411
|
-
@property
|
|
410
|
+
@_builtins.property
|
|
412
411
|
@pulumi.getter(name="privateEndpoint")
|
|
413
412
|
def private_endpoint(self) -> Optional[pulumi.Input['InferenceDeploymentPrivateEndpointArgs']]:
|
|
414
413
|
"""
|
|
@@ -420,7 +419,7 @@ class _InferenceDeploymentState:
|
|
|
420
419
|
def private_endpoint(self, value: Optional[pulumi.Input['InferenceDeploymentPrivateEndpointArgs']]):
|
|
421
420
|
pulumi.set(self, "private_endpoint", value)
|
|
422
421
|
|
|
423
|
-
@property
|
|
422
|
+
@_builtins.property
|
|
424
423
|
@pulumi.getter(name="privateIps")
|
|
425
424
|
def private_ips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['InferenceDeploymentPrivateIpArgs']]]]:
|
|
426
425
|
"""
|
|
@@ -432,19 +431,19 @@ class _InferenceDeploymentState:
|
|
|
432
431
|
def private_ips(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['InferenceDeploymentPrivateIpArgs']]]]):
|
|
433
432
|
pulumi.set(self, "private_ips", value)
|
|
434
433
|
|
|
435
|
-
@property
|
|
434
|
+
@_builtins.property
|
|
436
435
|
@pulumi.getter(name="projectId")
|
|
437
|
-
def project_id(self) -> Optional[pulumi.Input[
|
|
436
|
+
def project_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
438
437
|
"""
|
|
439
438
|
`project_id`) The ID of the project the deployment is associated with.
|
|
440
439
|
"""
|
|
441
440
|
return pulumi.get(self, "project_id")
|
|
442
441
|
|
|
443
442
|
@project_id.setter
|
|
444
|
-
def project_id(self, value: Optional[pulumi.Input[
|
|
443
|
+
def project_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
445
444
|
pulumi.set(self, "project_id", value)
|
|
446
445
|
|
|
447
|
-
@property
|
|
446
|
+
@_builtins.property
|
|
448
447
|
@pulumi.getter(name="publicEndpoint")
|
|
449
448
|
def public_endpoint(self) -> Optional[pulumi.Input['InferenceDeploymentPublicEndpointArgs']]:
|
|
450
449
|
"""
|
|
@@ -456,76 +455,76 @@ class _InferenceDeploymentState:
|
|
|
456
455
|
def public_endpoint(self, value: Optional[pulumi.Input['InferenceDeploymentPublicEndpointArgs']]):
|
|
457
456
|
pulumi.set(self, "public_endpoint", value)
|
|
458
457
|
|
|
459
|
-
@property
|
|
458
|
+
@_builtins.property
|
|
460
459
|
@pulumi.getter
|
|
461
|
-
def quantization(self) -> Optional[pulumi.Input[
|
|
460
|
+
def quantization(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
462
461
|
"""
|
|
463
462
|
The number of bits each model parameter should be quantized to
|
|
464
463
|
"""
|
|
465
464
|
return pulumi.get(self, "quantization")
|
|
466
465
|
|
|
467
466
|
@quantization.setter
|
|
468
|
-
def quantization(self, value: Optional[pulumi.Input[
|
|
467
|
+
def quantization(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
469
468
|
pulumi.set(self, "quantization", value)
|
|
470
469
|
|
|
471
|
-
@property
|
|
470
|
+
@_builtins.property
|
|
472
471
|
@pulumi.getter
|
|
473
|
-
def region(self) -> Optional[pulumi.Input[
|
|
472
|
+
def region(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
474
473
|
"""
|
|
475
474
|
`region`) The region in which the deployment is created.
|
|
476
475
|
"""
|
|
477
476
|
return pulumi.get(self, "region")
|
|
478
477
|
|
|
479
478
|
@region.setter
|
|
480
|
-
def region(self, value: Optional[pulumi.Input[
|
|
479
|
+
def region(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
481
480
|
pulumi.set(self, "region", value)
|
|
482
481
|
|
|
483
|
-
@property
|
|
482
|
+
@_builtins.property
|
|
484
483
|
@pulumi.getter
|
|
485
|
-
def size(self) -> Optional[pulumi.Input[
|
|
484
|
+
def size(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
486
485
|
"""
|
|
487
486
|
The size of the pool.
|
|
488
487
|
"""
|
|
489
488
|
return pulumi.get(self, "size")
|
|
490
489
|
|
|
491
490
|
@size.setter
|
|
492
|
-
def size(self, value: Optional[pulumi.Input[
|
|
491
|
+
def size(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
493
492
|
pulumi.set(self, "size", value)
|
|
494
493
|
|
|
495
|
-
@property
|
|
494
|
+
@_builtins.property
|
|
496
495
|
@pulumi.getter
|
|
497
|
-
def status(self) -> Optional[pulumi.Input[
|
|
496
|
+
def status(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
498
497
|
"""
|
|
499
498
|
The status of the deployment.
|
|
500
499
|
"""
|
|
501
500
|
return pulumi.get(self, "status")
|
|
502
501
|
|
|
503
502
|
@status.setter
|
|
504
|
-
def status(self, value: Optional[pulumi.Input[
|
|
503
|
+
def status(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
505
504
|
pulumi.set(self, "status", value)
|
|
506
505
|
|
|
507
|
-
@property
|
|
506
|
+
@_builtins.property
|
|
508
507
|
@pulumi.getter
|
|
509
|
-
def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
508
|
+
def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
510
509
|
"""
|
|
511
510
|
The tags associated with the deployment.
|
|
512
511
|
"""
|
|
513
512
|
return pulumi.get(self, "tags")
|
|
514
513
|
|
|
515
514
|
@tags.setter
|
|
516
|
-
def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
515
|
+
def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
517
516
|
pulumi.set(self, "tags", value)
|
|
518
517
|
|
|
519
|
-
@property
|
|
518
|
+
@_builtins.property
|
|
520
519
|
@pulumi.getter(name="updatedAt")
|
|
521
|
-
def updated_at(self) -> Optional[pulumi.Input[
|
|
520
|
+
def updated_at(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
522
521
|
"""
|
|
523
522
|
The date and time of the last update of the deployment.
|
|
524
523
|
"""
|
|
525
524
|
return pulumi.get(self, "updated_at")
|
|
526
525
|
|
|
527
526
|
@updated_at.setter
|
|
528
|
-
def updated_at(self, value: Optional[pulumi.Input[
|
|
527
|
+
def updated_at(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
529
528
|
pulumi.set(self, "updated_at", value)
|
|
530
529
|
|
|
531
530
|
|
|
@@ -540,19 +539,19 @@ class InferenceDeployment(pulumi.CustomResource):
|
|
|
540
539
|
def __init__(__self__,
|
|
541
540
|
resource_name: str,
|
|
542
541
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
543
|
-
accept_eula: Optional[pulumi.Input[
|
|
544
|
-
max_size: Optional[pulumi.Input[
|
|
545
|
-
min_size: Optional[pulumi.Input[
|
|
546
|
-
model_id: Optional[pulumi.Input[
|
|
547
|
-
name: Optional[pulumi.Input[
|
|
548
|
-
node_type: Optional[pulumi.Input[
|
|
542
|
+
accept_eula: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
543
|
+
max_size: Optional[pulumi.Input[_builtins.int]] = None,
|
|
544
|
+
min_size: Optional[pulumi.Input[_builtins.int]] = None,
|
|
545
|
+
model_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
546
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
547
|
+
node_type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
549
548
|
private_endpoint: Optional[pulumi.Input[Union['InferenceDeploymentPrivateEndpointArgs', 'InferenceDeploymentPrivateEndpointArgsDict']]] = None,
|
|
550
549
|
private_ips: Optional[pulumi.Input[Sequence[pulumi.Input[Union['InferenceDeploymentPrivateIpArgs', 'InferenceDeploymentPrivateIpArgsDict']]]]] = None,
|
|
551
|
-
project_id: Optional[pulumi.Input[
|
|
550
|
+
project_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
552
551
|
public_endpoint: Optional[pulumi.Input[Union['InferenceDeploymentPublicEndpointArgs', 'InferenceDeploymentPublicEndpointArgsDict']]] = None,
|
|
553
|
-
quantization: Optional[pulumi.Input[
|
|
554
|
-
region: Optional[pulumi.Input[
|
|
555
|
-
tags: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
552
|
+
quantization: Optional[pulumi.Input[_builtins.int]] = None,
|
|
553
|
+
region: Optional[pulumi.Input[_builtins.str]] = None,
|
|
554
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
556
555
|
__props__=None):
|
|
557
556
|
"""
|
|
558
557
|
Creates and manages Scaleway Managed Inference deployments.
|
|
@@ -560,6 +559,8 @@ class InferenceDeployment(pulumi.CustomResource):
|
|
|
560
559
|
|
|
561
560
|
## Example Usage
|
|
562
561
|
|
|
562
|
+
### Basic
|
|
563
|
+
|
|
563
564
|
## Import
|
|
564
565
|
|
|
565
566
|
Functions can be imported using, `{region}/{id}`, as shown below:
|
|
@@ -572,19 +573,19 @@ class InferenceDeployment(pulumi.CustomResource):
|
|
|
572
573
|
|
|
573
574
|
:param str resource_name: The name of the resource.
|
|
574
575
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
575
|
-
:param pulumi.Input[
|
|
576
|
-
:param pulumi.Input[
|
|
577
|
-
:param pulumi.Input[
|
|
578
|
-
:param pulumi.Input[
|
|
579
|
-
:param pulumi.Input[
|
|
580
|
-
:param pulumi.Input[
|
|
576
|
+
:param pulumi.Input[_builtins.bool] accept_eula: Some models (e.g Meta Llama) require end-user license agreements. Set `true` to accept.
|
|
577
|
+
:param pulumi.Input[_builtins.int] max_size: The maximum size of the pool.
|
|
578
|
+
:param pulumi.Input[_builtins.int] min_size: The minimum size of the pool.
|
|
579
|
+
:param pulumi.Input[_builtins.str] model_id: The model id used for the deployment.
|
|
580
|
+
:param pulumi.Input[_builtins.str] name: The deployment name.
|
|
581
|
+
:param pulumi.Input[_builtins.str] node_type: The node type to use for the deployment. Node types can be found using Scaleway's CLI (`scw inference node-type list`)
|
|
581
582
|
:param pulumi.Input[Union['InferenceDeploymentPrivateEndpointArgs', 'InferenceDeploymentPrivateEndpointArgsDict']] private_endpoint: Configuration of the deployment's private endpoint.
|
|
582
583
|
:param pulumi.Input[Sequence[pulumi.Input[Union['InferenceDeploymentPrivateIpArgs', 'InferenceDeploymentPrivateIpArgsDict']]]] private_ips: The private IPv4 address associated with the deployment.
|
|
583
|
-
:param pulumi.Input[
|
|
584
|
+
:param pulumi.Input[_builtins.str] project_id: `project_id`) The ID of the project the deployment is associated with.
|
|
584
585
|
:param pulumi.Input[Union['InferenceDeploymentPublicEndpointArgs', 'InferenceDeploymentPublicEndpointArgsDict']] public_endpoint: Configuration of the deployment's public endpoint.
|
|
585
|
-
:param pulumi.Input[
|
|
586
|
-
:param pulumi.Input[
|
|
587
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
586
|
+
:param pulumi.Input[_builtins.int] quantization: The number of bits each model parameter should be quantized to
|
|
587
|
+
:param pulumi.Input[_builtins.str] region: `region`) The region in which the deployment is created.
|
|
588
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] tags: The tags associated with the deployment.
|
|
588
589
|
"""
|
|
589
590
|
...
|
|
590
591
|
@overload
|
|
@@ -598,6 +599,8 @@ class InferenceDeployment(pulumi.CustomResource):
|
|
|
598
599
|
|
|
599
600
|
## Example Usage
|
|
600
601
|
|
|
602
|
+
### Basic
|
|
603
|
+
|
|
601
604
|
## Import
|
|
602
605
|
|
|
603
606
|
Functions can be imported using, `{region}/{id}`, as shown below:
|
|
@@ -623,19 +626,19 @@ class InferenceDeployment(pulumi.CustomResource):
|
|
|
623
626
|
def _internal_init(__self__,
|
|
624
627
|
resource_name: str,
|
|
625
628
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
626
|
-
accept_eula: Optional[pulumi.Input[
|
|
627
|
-
max_size: Optional[pulumi.Input[
|
|
628
|
-
min_size: Optional[pulumi.Input[
|
|
629
|
-
model_id: Optional[pulumi.Input[
|
|
630
|
-
name: Optional[pulumi.Input[
|
|
631
|
-
node_type: Optional[pulumi.Input[
|
|
629
|
+
accept_eula: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
630
|
+
max_size: Optional[pulumi.Input[_builtins.int]] = None,
|
|
631
|
+
min_size: Optional[pulumi.Input[_builtins.int]] = None,
|
|
632
|
+
model_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
633
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
634
|
+
node_type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
632
635
|
private_endpoint: Optional[pulumi.Input[Union['InferenceDeploymentPrivateEndpointArgs', 'InferenceDeploymentPrivateEndpointArgsDict']]] = None,
|
|
633
636
|
private_ips: Optional[pulumi.Input[Sequence[pulumi.Input[Union['InferenceDeploymentPrivateIpArgs', 'InferenceDeploymentPrivateIpArgsDict']]]]] = None,
|
|
634
|
-
project_id: Optional[pulumi.Input[
|
|
637
|
+
project_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
635
638
|
public_endpoint: Optional[pulumi.Input[Union['InferenceDeploymentPublicEndpointArgs', 'InferenceDeploymentPublicEndpointArgsDict']]] = None,
|
|
636
|
-
quantization: Optional[pulumi.Input[
|
|
637
|
-
region: Optional[pulumi.Input[
|
|
638
|
-
tags: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
639
|
+
quantization: Optional[pulumi.Input[_builtins.int]] = None,
|
|
640
|
+
region: Optional[pulumi.Input[_builtins.str]] = None,
|
|
641
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
639
642
|
__props__=None):
|
|
640
643
|
pulumi.log.warn("""InferenceDeployment is deprecated: scaleway.index/inferencedeployment.InferenceDeployment has been deprecated in favor of scaleway.inference/deployment.Deployment""")
|
|
641
644
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
@@ -678,24 +681,24 @@ class InferenceDeployment(pulumi.CustomResource):
|
|
|
678
681
|
def get(resource_name: str,
|
|
679
682
|
id: pulumi.Input[str],
|
|
680
683
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
681
|
-
accept_eula: Optional[pulumi.Input[
|
|
682
|
-
created_at: Optional[pulumi.Input[
|
|
683
|
-
max_size: Optional[pulumi.Input[
|
|
684
|
-
min_size: Optional[pulumi.Input[
|
|
685
|
-
model_id: Optional[pulumi.Input[
|
|
686
|
-
model_name: Optional[pulumi.Input[
|
|
687
|
-
name: Optional[pulumi.Input[
|
|
688
|
-
node_type: Optional[pulumi.Input[
|
|
684
|
+
accept_eula: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
685
|
+
created_at: Optional[pulumi.Input[_builtins.str]] = None,
|
|
686
|
+
max_size: Optional[pulumi.Input[_builtins.int]] = None,
|
|
687
|
+
min_size: Optional[pulumi.Input[_builtins.int]] = None,
|
|
688
|
+
model_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
689
|
+
model_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
690
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
691
|
+
node_type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
689
692
|
private_endpoint: Optional[pulumi.Input[Union['InferenceDeploymentPrivateEndpointArgs', 'InferenceDeploymentPrivateEndpointArgsDict']]] = None,
|
|
690
693
|
private_ips: Optional[pulumi.Input[Sequence[pulumi.Input[Union['InferenceDeploymentPrivateIpArgs', 'InferenceDeploymentPrivateIpArgsDict']]]]] = None,
|
|
691
|
-
project_id: Optional[pulumi.Input[
|
|
694
|
+
project_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
692
695
|
public_endpoint: Optional[pulumi.Input[Union['InferenceDeploymentPublicEndpointArgs', 'InferenceDeploymentPublicEndpointArgsDict']]] = None,
|
|
693
|
-
quantization: Optional[pulumi.Input[
|
|
694
|
-
region: Optional[pulumi.Input[
|
|
695
|
-
size: Optional[pulumi.Input[
|
|
696
|
-
status: Optional[pulumi.Input[
|
|
697
|
-
tags: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
698
|
-
updated_at: Optional[pulumi.Input[
|
|
696
|
+
quantization: Optional[pulumi.Input[_builtins.int]] = None,
|
|
697
|
+
region: Optional[pulumi.Input[_builtins.str]] = None,
|
|
698
|
+
size: Optional[pulumi.Input[_builtins.int]] = None,
|
|
699
|
+
status: Optional[pulumi.Input[_builtins.str]] = None,
|
|
700
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
701
|
+
updated_at: Optional[pulumi.Input[_builtins.str]] = None) -> 'InferenceDeployment':
|
|
699
702
|
"""
|
|
700
703
|
Get an existing InferenceDeployment resource's state with the given name, id, and optional extra
|
|
701
704
|
properties used to qualify the lookup.
|
|
@@ -703,24 +706,24 @@ class InferenceDeployment(pulumi.CustomResource):
|
|
|
703
706
|
:param str resource_name: The unique name of the resulting resource.
|
|
704
707
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
705
708
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
706
|
-
:param pulumi.Input[
|
|
707
|
-
:param pulumi.Input[
|
|
708
|
-
:param pulumi.Input[
|
|
709
|
-
:param pulumi.Input[
|
|
710
|
-
:param pulumi.Input[
|
|
711
|
-
:param pulumi.Input[
|
|
712
|
-
:param pulumi.Input[
|
|
713
|
-
:param pulumi.Input[
|
|
709
|
+
:param pulumi.Input[_builtins.bool] accept_eula: Some models (e.g Meta Llama) require end-user license agreements. Set `true` to accept.
|
|
710
|
+
:param pulumi.Input[_builtins.str] created_at: The date and time of the creation of the deployment.
|
|
711
|
+
:param pulumi.Input[_builtins.int] max_size: The maximum size of the pool.
|
|
712
|
+
:param pulumi.Input[_builtins.int] min_size: The minimum size of the pool.
|
|
713
|
+
:param pulumi.Input[_builtins.str] model_id: The model id used for the deployment.
|
|
714
|
+
:param pulumi.Input[_builtins.str] model_name: The model name used for the deployment. Model names can be found in Console or using Scaleway's CLI (`scw inference model list`)
|
|
715
|
+
:param pulumi.Input[_builtins.str] name: The deployment name.
|
|
716
|
+
:param pulumi.Input[_builtins.str] node_type: The node type to use for the deployment. Node types can be found using Scaleway's CLI (`scw inference node-type list`)
|
|
714
717
|
:param pulumi.Input[Union['InferenceDeploymentPrivateEndpointArgs', 'InferenceDeploymentPrivateEndpointArgsDict']] private_endpoint: Configuration of the deployment's private endpoint.
|
|
715
718
|
:param pulumi.Input[Sequence[pulumi.Input[Union['InferenceDeploymentPrivateIpArgs', 'InferenceDeploymentPrivateIpArgsDict']]]] private_ips: The private IPv4 address associated with the deployment.
|
|
716
|
-
:param pulumi.Input[
|
|
719
|
+
:param pulumi.Input[_builtins.str] project_id: `project_id`) The ID of the project the deployment is associated with.
|
|
717
720
|
:param pulumi.Input[Union['InferenceDeploymentPublicEndpointArgs', 'InferenceDeploymentPublicEndpointArgsDict']] public_endpoint: Configuration of the deployment's public endpoint.
|
|
718
|
-
:param pulumi.Input[
|
|
719
|
-
:param pulumi.Input[
|
|
720
|
-
:param pulumi.Input[
|
|
721
|
-
:param pulumi.Input[
|
|
722
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
723
|
-
:param pulumi.Input[
|
|
721
|
+
:param pulumi.Input[_builtins.int] quantization: The number of bits each model parameter should be quantized to
|
|
722
|
+
:param pulumi.Input[_builtins.str] region: `region`) The region in which the deployment is created.
|
|
723
|
+
:param pulumi.Input[_builtins.int] size: The size of the pool.
|
|
724
|
+
:param pulumi.Input[_builtins.str] status: The status of the deployment.
|
|
725
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] tags: The tags associated with the deployment.
|
|
726
|
+
:param pulumi.Input[_builtins.str] updated_at: The date and time of the last update of the deployment.
|
|
724
727
|
"""
|
|
725
728
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
726
729
|
|
|
@@ -746,71 +749,71 @@ class InferenceDeployment(pulumi.CustomResource):
|
|
|
746
749
|
__props__.__dict__["updated_at"] = updated_at
|
|
747
750
|
return InferenceDeployment(resource_name, opts=opts, __props__=__props__)
|
|
748
751
|
|
|
749
|
-
@property
|
|
752
|
+
@_builtins.property
|
|
750
753
|
@pulumi.getter(name="acceptEula")
|
|
751
|
-
def accept_eula(self) -> pulumi.Output[Optional[
|
|
754
|
+
def accept_eula(self) -> pulumi.Output[Optional[_builtins.bool]]:
|
|
752
755
|
"""
|
|
753
756
|
Some models (e.g Meta Llama) require end-user license agreements. Set `true` to accept.
|
|
754
757
|
"""
|
|
755
758
|
return pulumi.get(self, "accept_eula")
|
|
756
759
|
|
|
757
|
-
@property
|
|
760
|
+
@_builtins.property
|
|
758
761
|
@pulumi.getter(name="createdAt")
|
|
759
|
-
def created_at(self) -> pulumi.Output[
|
|
762
|
+
def created_at(self) -> pulumi.Output[_builtins.str]:
|
|
760
763
|
"""
|
|
761
764
|
The date and time of the creation of the deployment.
|
|
762
765
|
"""
|
|
763
766
|
return pulumi.get(self, "created_at")
|
|
764
767
|
|
|
765
|
-
@property
|
|
768
|
+
@_builtins.property
|
|
766
769
|
@pulumi.getter(name="maxSize")
|
|
767
|
-
def max_size(self) -> pulumi.Output[Optional[
|
|
770
|
+
def max_size(self) -> pulumi.Output[Optional[_builtins.int]]:
|
|
768
771
|
"""
|
|
769
772
|
The maximum size of the pool.
|
|
770
773
|
"""
|
|
771
774
|
return pulumi.get(self, "max_size")
|
|
772
775
|
|
|
773
|
-
@property
|
|
776
|
+
@_builtins.property
|
|
774
777
|
@pulumi.getter(name="minSize")
|
|
775
|
-
def min_size(self) -> pulumi.Output[Optional[
|
|
778
|
+
def min_size(self) -> pulumi.Output[Optional[_builtins.int]]:
|
|
776
779
|
"""
|
|
777
780
|
The minimum size of the pool.
|
|
778
781
|
"""
|
|
779
782
|
return pulumi.get(self, "min_size")
|
|
780
783
|
|
|
781
|
-
@property
|
|
784
|
+
@_builtins.property
|
|
782
785
|
@pulumi.getter(name="modelId")
|
|
783
|
-
def model_id(self) -> pulumi.Output[
|
|
786
|
+
def model_id(self) -> pulumi.Output[_builtins.str]:
|
|
784
787
|
"""
|
|
785
788
|
The model id used for the deployment.
|
|
786
789
|
"""
|
|
787
790
|
return pulumi.get(self, "model_id")
|
|
788
791
|
|
|
789
|
-
@property
|
|
792
|
+
@_builtins.property
|
|
790
793
|
@pulumi.getter(name="modelName")
|
|
791
|
-
def model_name(self) -> pulumi.Output[
|
|
794
|
+
def model_name(self) -> pulumi.Output[_builtins.str]:
|
|
792
795
|
"""
|
|
793
796
|
The model name used for the deployment. Model names can be found in Console or using Scaleway's CLI (`scw inference model list`)
|
|
794
797
|
"""
|
|
795
798
|
return pulumi.get(self, "model_name")
|
|
796
799
|
|
|
797
|
-
@property
|
|
800
|
+
@_builtins.property
|
|
798
801
|
@pulumi.getter
|
|
799
|
-
def name(self) -> pulumi.Output[
|
|
802
|
+
def name(self) -> pulumi.Output[_builtins.str]:
|
|
800
803
|
"""
|
|
801
804
|
The deployment name.
|
|
802
805
|
"""
|
|
803
806
|
return pulumi.get(self, "name")
|
|
804
807
|
|
|
805
|
-
@property
|
|
808
|
+
@_builtins.property
|
|
806
809
|
@pulumi.getter(name="nodeType")
|
|
807
|
-
def node_type(self) -> pulumi.Output[
|
|
810
|
+
def node_type(self) -> pulumi.Output[_builtins.str]:
|
|
808
811
|
"""
|
|
809
812
|
The node type to use for the deployment. Node types can be found using Scaleway's CLI (`scw inference node-type list`)
|
|
810
813
|
"""
|
|
811
814
|
return pulumi.get(self, "node_type")
|
|
812
815
|
|
|
813
|
-
@property
|
|
816
|
+
@_builtins.property
|
|
814
817
|
@pulumi.getter(name="privateEndpoint")
|
|
815
818
|
def private_endpoint(self) -> pulumi.Output[Optional['outputs.InferenceDeploymentPrivateEndpoint']]:
|
|
816
819
|
"""
|
|
@@ -818,7 +821,7 @@ class InferenceDeployment(pulumi.CustomResource):
|
|
|
818
821
|
"""
|
|
819
822
|
return pulumi.get(self, "private_endpoint")
|
|
820
823
|
|
|
821
|
-
@property
|
|
824
|
+
@_builtins.property
|
|
822
825
|
@pulumi.getter(name="privateIps")
|
|
823
826
|
def private_ips(self) -> pulumi.Output[Sequence['outputs.InferenceDeploymentPrivateIp']]:
|
|
824
827
|
"""
|
|
@@ -826,15 +829,15 @@ class InferenceDeployment(pulumi.CustomResource):
|
|
|
826
829
|
"""
|
|
827
830
|
return pulumi.get(self, "private_ips")
|
|
828
831
|
|
|
829
|
-
@property
|
|
832
|
+
@_builtins.property
|
|
830
833
|
@pulumi.getter(name="projectId")
|
|
831
|
-
def project_id(self) -> pulumi.Output[
|
|
834
|
+
def project_id(self) -> pulumi.Output[_builtins.str]:
|
|
832
835
|
"""
|
|
833
836
|
`project_id`) The ID of the project the deployment is associated with.
|
|
834
837
|
"""
|
|
835
838
|
return pulumi.get(self, "project_id")
|
|
836
839
|
|
|
837
|
-
@property
|
|
840
|
+
@_builtins.property
|
|
838
841
|
@pulumi.getter(name="publicEndpoint")
|
|
839
842
|
def public_endpoint(self) -> pulumi.Output[Optional['outputs.InferenceDeploymentPublicEndpoint']]:
|
|
840
843
|
"""
|
|
@@ -842,49 +845,49 @@ class InferenceDeployment(pulumi.CustomResource):
|
|
|
842
845
|
"""
|
|
843
846
|
return pulumi.get(self, "public_endpoint")
|
|
844
847
|
|
|
845
|
-
@property
|
|
848
|
+
@_builtins.property
|
|
846
849
|
@pulumi.getter
|
|
847
|
-
def quantization(self) -> pulumi.Output[Optional[
|
|
850
|
+
def quantization(self) -> pulumi.Output[Optional[_builtins.int]]:
|
|
848
851
|
"""
|
|
849
852
|
The number of bits each model parameter should be quantized to
|
|
850
853
|
"""
|
|
851
854
|
return pulumi.get(self, "quantization")
|
|
852
855
|
|
|
853
|
-
@property
|
|
856
|
+
@_builtins.property
|
|
854
857
|
@pulumi.getter
|
|
855
|
-
def region(self) -> pulumi.Output[
|
|
858
|
+
def region(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
856
859
|
"""
|
|
857
860
|
`region`) The region in which the deployment is created.
|
|
858
861
|
"""
|
|
859
862
|
return pulumi.get(self, "region")
|
|
860
863
|
|
|
861
|
-
@property
|
|
864
|
+
@_builtins.property
|
|
862
865
|
@pulumi.getter
|
|
863
|
-
def size(self) -> pulumi.Output[
|
|
866
|
+
def size(self) -> pulumi.Output[_builtins.int]:
|
|
864
867
|
"""
|
|
865
868
|
The size of the pool.
|
|
866
869
|
"""
|
|
867
870
|
return pulumi.get(self, "size")
|
|
868
871
|
|
|
869
|
-
@property
|
|
872
|
+
@_builtins.property
|
|
870
873
|
@pulumi.getter
|
|
871
|
-
def status(self) -> pulumi.Output[
|
|
874
|
+
def status(self) -> pulumi.Output[_builtins.str]:
|
|
872
875
|
"""
|
|
873
876
|
The status of the deployment.
|
|
874
877
|
"""
|
|
875
878
|
return pulumi.get(self, "status")
|
|
876
879
|
|
|
877
|
-
@property
|
|
880
|
+
@_builtins.property
|
|
878
881
|
@pulumi.getter
|
|
879
|
-
def tags(self) -> pulumi.Output[Optional[Sequence[
|
|
882
|
+
def tags(self) -> pulumi.Output[Optional[Sequence[_builtins.str]]]:
|
|
880
883
|
"""
|
|
881
884
|
The tags associated with the deployment.
|
|
882
885
|
"""
|
|
883
886
|
return pulumi.get(self, "tags")
|
|
884
887
|
|
|
885
|
-
@property
|
|
888
|
+
@_builtins.property
|
|
886
889
|
@pulumi.getter(name="updatedAt")
|
|
887
|
-
def updated_at(self) -> pulumi.Output[
|
|
890
|
+
def updated_at(self) -> pulumi.Output[_builtins.str]:
|
|
888
891
|
"""
|
|
889
892
|
The date and time of the last update of the deployment.
|
|
890
893
|
"""
|