{
  "name": "defang-scaleway",
  "description": "Deploy containerized services to Scaleway with Pulumi.",
  "keywords": [
    "category/cloud",
    "category/infrastructure",
    "kind/native",
    "defang",
    "docker",
    "cloud",
    "scaleway",
    "containers"
  ],
  "homepage": "https://github.com/DefangLabs/pulumi-defang",
  "license": "Apache-2.0",
  "repository": "https://github.com/DefangLabs/pulumi-defang",
  "logoUrl": "https://raw.githubusercontent.com/DefangLabs/pulumi-defang/refs/heads/main/docs/logo.png",
  "pluginDownloadURL": "github://api.github.com/DefangLabs/pulumi-defang",
  "publisher": "Defang",
  "language": {
    "csharp": {
      "rootNamespace": "DefangLabs"
    },
    "nodejs": {
      "packageName": "@defang-io/pulumi-defang-scaleway"
    },
    "python": {
      "pyproject": {}
    }
  },
  "config": {},
  "types": {
    "defang-scaleway:compose:BuildConfig": {
      "properties": {
        "args": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        },
        "cacheFrom": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "cacheTo": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "context": {
          "type": "string"
        },
        "dockerfile": {
          "type": "string"
        },
        "platforms": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "shmSize": {
          "type": "string"
        },
        "target": {
          "type": "string"
        }
      },
      "type": "object",
      "required": [
        "context"
      ]
    },
    "defang-scaleway:compose:DeployConfig": {
      "properties": {
        "replicas": {
          "type": "integer"
        },
        "resources": {
          "$ref": "#/types/defang-scaleway:compose:Resources"
        }
      },
      "type": "object"
    },
    "defang-scaleway:compose:HealthCheckConfig": {
      "properties": {
        "intervalSeconds": {
          "type": "integer"
        },
        "retries": {
          "type": "integer"
        },
        "startPeriodSeconds": {
          "type": "integer"
        },
        "test": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "timeoutSeconds": {
          "type": "integer"
        }
      },
      "type": "object"
    },
    "defang-scaleway:compose:LlmConfig": {
      "type": "object"
    },
    "defang-scaleway:compose:ModelCandidate": {
      "properties": {
        "allowPreview": {
          "type": "boolean"
        },
        "format": {
          "type": "string"
        },
        "location": {
          "type": "string"
        },
        "model": {
          "type": "string"
        },
        "role": {
          "type": "string"
        },
        "sku": {
          "type": "string"
        },
        "version": {
          "type": "string"
        }
      },
      "type": "object",
      "required": [
        "model"
      ]
    },
    "defang-scaleway:compose:ModelConfig": {
      "properties": {
        "model": {
          "type": "string"
        },
        "seed": {
          "$ref": "#/types/defang-scaleway:compose:ModelTarget"
        }
      },
      "type": "object",
      "required": [
        "model"
      ]
    },
    "defang-scaleway:compose:ModelTarget": {
      "properties": {
        "existed": {
          "type": "boolean"
        },
        "format": {
          "type": "string"
        },
        "location": {
          "type": "string"
        },
        "model": {
          "type": "string"
        },
        "sku": {
          "type": "string"
        },
        "version": {
          "type": "string"
        }
      },
      "type": "object"
    },
    "defang-scaleway:compose:NetworkConfig": {
      "properties": {
        "internal": {
          "type": "boolean"
        }
      },
      "type": "object"
    },
    "defang-scaleway:compose:ObjectStoreConfig": {
      "properties": {
        "bucket": {
          "type": "string"
        }
      },
      "type": "object",
      "required": [
        "bucket"
      ]
    },
    "defang-scaleway:compose:PostgresConfig": {
      "properties": {
        "allowDowntime": {
          "type": "boolean"
        },
        "fromSnapshot": {
          "type": "string"
        }
      },
      "type": "object"
    },
    "defang-scaleway:compose:RedisConfig": {
      "properties": {
        "allowDowntime": {
          "type": "boolean"
        },
        "fromSnapshot": {
          "type": "string"
        }
      },
      "type": "object"
    },
    "defang-scaleway:compose:ResourceConfig": {
      "properties": {
        "cpus": {
          "type": "number"
        },
        "memory": {
          "type": "string"
        }
      },
      "type": "object"
    },
    "defang-scaleway:compose:Resources": {
      "properties": {
        "reservations": {
          "$ref": "#/types/defang-scaleway:compose:ResourceConfig"
        }
      },
      "type": "object"
    },
    "defang-scaleway:compose:ServiceConfig": {
      "properties": {
        "aliases": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        },
        "autoscaling": {
          "type": "boolean"
        },
        "build": {
          "$ref": "#/types/defang-scaleway:compose:BuildConfig"
        },
        "command": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "containerName": {
          "type": "string"
        },
        "dependsOn": {
          "type": "object",
          "additionalProperties": {
            "$ref": "#/types/defang-scaleway:compose:ServiceDependency"
          }
        },
        "deploy": {
          "$ref": "#/types/defang-scaleway:compose:DeployConfig"
        },
        "domainName": {
          "type": "string"
        },
        "entrypoint": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "environment": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        },
        "healthCheck": {
          "$ref": "#/types/defang-scaleway:compose:HealthCheckConfig"
        },
        "image": {
          "type": "string"
        },
        "llm": {
          "$ref": "#/types/defang-scaleway:compose:LlmConfig"
        },
        "models": {
          "type": "object",
          "additionalProperties": {
            "$ref": "#/types/defang-scaleway:compose:ServiceModelConfig"
          }
        },
        "networkMode": {
          "type": "string"
        },
        "networks": {
          "type": "object",
          "additionalProperties": {
            "$ref": "#/types/defang-scaleway:compose:ServiceNetworkConfig"
          }
        },
        "objectStore": {
          "$ref": "#/types/defang-scaleway:compose:ObjectStoreConfig"
        },
        "platform": {
          "type": "string"
        },
        "policies": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "ports": {
          "type": "array",
          "items": {
            "$ref": "#/types/defang-scaleway:compose:ServicePortConfig"
          }
        },
        "postgres": {
          "$ref": "#/types/defang-scaleway:compose:PostgresConfig"
        },
        "redis": {
          "$ref": "#/types/defang-scaleway:compose:RedisConfig"
        },
        "restart": {
          "type": "string"
        },
        "stopGracePeriod": {
          "type": "string"
        },
        "volumes": {
          "type": "array",
          "items": {
            "$ref": "#/types/defang-scaleway:compose:ServiceVolumeConfig"
          }
        },
        "volumesFrom": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "workingDir": {
          "type": "string"
        }
      },
      "type": "object"
    },
    "defang-scaleway:compose:ServiceDependency": {
      "properties": {
        "condition": {
          "type": "string"
        },
        "required": {
          "type": "boolean"
        }
      },
      "type": "object"
    },
    "defang-scaleway:compose:ServiceModelConfig": {
      "properties": {
        "endpointVar": {
          "type": "string"
        },
        "modelVar": {
          "type": "string"
        }
      },
      "type": "object"
    },
    "defang-scaleway:compose:ServiceNetworkConfig": {
      "properties": {
        "aliases": {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      },
      "type": "object"
    },
    "defang-scaleway:compose:ServicePortConfig": {
      "properties": {
        "appProtocol": {
          "type": "string"
        },
        "listener": {
          "type": "string"
        },
        "mode": {
          "type": "string"
        },
        "protocol": {
          "type": "string"
        },
        "target": {
          "type": "integer"
        }
      },
      "type": "object",
      "required": [
        "target"
      ]
    },
    "defang-scaleway:compose:ServiceVolumeConfig": {
      "properties": {
        "readOnly": {
          "type": "boolean"
        },
        "source": {
          "type": "string"
        },
        "target": {
          "type": "string"
        }
      },
      "type": "object",
      "required": [
        "source",
        "target"
      ]
    },
    "defang-scaleway:scaleway:SharedInfra": {
      "type": "object"
    }
  },
  "resources": {
    "defang-scaleway:index:Build": {
      "properties": {
        "args": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        },
        "buildId": {
          "type": "string"
        },
        "destination": {
          "type": "string"
        },
        "diskSizeGb": {
          "type": "integer"
        },
        "dockerfile": {
          "type": "string"
        },
        "image": {
          "type": "string"
        },
        "instanceType": {
          "type": "string"
        },
        "logSelector": {
          "type": "string"
        },
        "logsEndpoint": {
          "type": "string"
        },
        "logsToken": {
          "type": "string"
        },
        "maxWaitTime": {
          "type": "integer"
        },
        "projectId": {
          "type": "string"
        },
        "region": {
          "type": "string"
        },
        "source": {
          "type": "string"
        },
        "target": {
          "type": "string"
        },
        "triggers": {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      },
      "required": [
        "region",
        "projectId",
        "source",
        "destination",
        "logsEndpoint",
        "logsToken",
        "buildId",
        "image"
      ],
      "inputProperties": {
        "args": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        },
        "destination": {
          "type": "string"
        },
        "diskSizeGb": {
          "type": "integer"
        },
        "dockerfile": {
          "type": "string"
        },
        "instanceType": {
          "type": "string"
        },
        "logsEndpoint": {
          "type": "string"
        },
        "logsToken": {
          "type": "string"
        },
        "maxWaitTime": {
          "type": "integer"
        },
        "projectId": {
          "type": "string"
        },
        "region": {
          "type": "string"
        },
        "source": {
          "type": "string"
        },
        "target": {
          "type": "string"
        },
        "triggers": {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      },
      "requiredInputs": [
        "region",
        "projectId",
        "source",
        "destination",
        "logsEndpoint",
        "logsToken"
      ]
    },
    "defang-scaleway:index:ModelSelection": {
      "description": "The model selected for a managed model service. Created by Project; unchanged inputs keep the selected model, and refresh never re-resolves it.",
      "properties": {
        "candidates": {
          "type": "array",
          "items": {
            "$ref": "#/types/defang-scaleway:compose:ModelCandidate"
          }
        },
        "format": {
          "type": "string"
        },
        "location": {
          "type": "string"
        },
        "model": {
          "type": "string"
        },
        "region": {
          "type": "string"
        },
        "request": {
          "type": "string"
        },
        "role": {
          "type": "string"
        },
        "scope": {
          "type": "string"
        },
        "seed": {
          "$ref": "#/types/defang-scaleway:compose:ModelTarget"
        },
        "selectedRole": {
          "type": "string"
        },
        "sku": {
          "type": "string"
        },
        "source": {
          "type": "string"
        },
        "version": {
          "type": "string"
        }
      },
      "required": [
        "request",
        "source",
        "candidates",
        "model",
        "version",
        "location",
        "format",
        "sku",
        "selectedRole"
      ],
      "inputProperties": {
        "candidates": {
          "type": "array",
          "items": {
            "$ref": "#/types/defang-scaleway:compose:ModelCandidate"
          }
        },
        "region": {
          "type": "string"
        },
        "request": {
          "type": "string"
        },
        "role": {
          "type": "string"
        },
        "scope": {
          "type": "string"
        },
        "seed": {
          "$ref": "#/types/defang-scaleway:compose:ModelTarget"
        },
        "source": {
          "type": "string"
        }
      },
      "requiredInputs": [
        "request",
        "source",
        "candidates"
      ]
    },
    "defang-scaleway:index:Postgres": {
      "properties": {
        "connectionUrl": {
          "type": "string"
        },
        "defangDeployment": {
          "type": "string"
        },
        "endpoint": {
          "type": "string"
        }
      },
      "required": [
        "endpoint",
        "connectionUrl",
        "defangDeployment"
      ],
      "inputProperties": {
        "deploy": {
          "$ref": "#/types/defang-scaleway:compose:DeployConfig"
        },
        "environment": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        },
        "image": {
          "type": "string"
        },
        "ports": {
          "type": "array",
          "items": {
            "$ref": "#/types/defang-scaleway:compose:ServicePortConfig"
          }
        },
        "postgres": {
          "$ref": "#/types/defang-scaleway:compose:PostgresConfig"
        },
        "projectName": {
          "type": "string",
          "plain": true
        },
        "scaleway": {
          "$ref": "#/types/defang-scaleway:scaleway:SharedInfra"
        }
      },
      "requiredInputs": [
        "projectName"
      ],
      "isComponent": true
    },
    "defang-scaleway:index:Project": {
      "properties": {
        "defangDeployment": {
          "type": "string"
        },
        "endpoints": {
          "type": "object",
          "additionalProperties": {
            "type": "string",
            "plain": true
          }
        },
        "loadBalancerDns": {
          "type": "string"
        }
      },
      "required": [
        "endpoints",
        "defangDeployment"
      ],
      "inputProperties": {
        "etag": {
          "type": "string",
          "plain": true
        },
        "models": {
          "type": "object",
          "additionalProperties": {
            "$ref": "#/types/defang-scaleway:compose:ModelConfig"
          }
        },
        "networks": {
          "type": "object",
          "additionalProperties": {
            "$ref": "#/types/defang-scaleway:compose:NetworkConfig"
          }
        },
        "services": {
          "type": "object",
          "additionalProperties": {
            "$ref": "#/types/defang-scaleway:compose:ServiceConfig"
          }
        }
      },
      "requiredInputs": [
        "services"
      ],
      "isComponent": true
    },
    "defang-scaleway:index:Redis": {
      "properties": {
        "connectionUrl": {
          "type": "string"
        },
        "defangDeployment": {
          "type": "string"
        },
        "endpoint": {
          "type": "string"
        }
      },
      "required": [
        "endpoint",
        "connectionUrl",
        "defangDeployment"
      ],
      "inputProperties": {
        "deploy": {
          "$ref": "#/types/defang-scaleway:compose:DeployConfig"
        },
        "environment": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        },
        "image": {
          "type": "string"
        },
        "ports": {
          "type": "array",
          "items": {
            "$ref": "#/types/defang-scaleway:compose:ServicePortConfig"
          }
        },
        "redis": {
          "$ref": "#/types/defang-scaleway:compose:RedisConfig"
        },
        "scaleway": {
          "$ref": "#/types/defang-scaleway:scaleway:SharedInfra"
        }
      },
      "isComponent": true
    },
    "defang-scaleway:index:Service": {
      "properties": {
        "defangDeployment": {
          "type": "string"
        },
        "endpoint": {
          "type": "string"
        }
      },
      "required": [
        "endpoint",
        "defangDeployment"
      ],
      "inputProperties": {
        "command": {
          "type": "array",
          "items": {
            "type": "string",
            "plain": true
          }
        },
        "deploy": {
          "$ref": "#/types/defang-scaleway:compose:DeployConfig"
        },
        "domainName": {
          "type": "string",
          "plain": true
        },
        "entrypoint": {
          "type": "array",
          "items": {
            "type": "string",
            "plain": true
          }
        },
        "environment": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        },
        "healthCheck": {
          "$ref": "#/types/defang-scaleway:compose:HealthCheckConfig"
        },
        "image": {
          "type": "string"
        },
        "platform": {
          "type": "string",
          "plain": true
        },
        "ports": {
          "type": "array",
          "items": {
            "$ref": "#/types/defang-scaleway:compose:ServicePortConfig"
          }
        },
        "projectName": {
          "type": "string",
          "plain": true
        }
      },
      "requiredInputs": [
        "image"
      ],
      "isComponent": true
    }
  }
}
