{
  "name": "runpod",
  "displayName": "Runpod",
  "version": "1.9.99",
  "description": "The Runpod Pulumi provider provides resources to interact with Runpod's native APIs.",
  "keywords": [
    "pulumi",
    "runpod",
    "gpus",
    "ml",
    "ai"
  ],
  "homepage": "https://runpod.io",
  "license": "Apache-2.0",
  "repository": "https://github.com/runpod/pulumi-runpod-native",
  "logoUrl": "https://avatars.githubusercontent.com/u/95939477?s=200&v=4",
  "pluginDownloadURL": "github://api.github.com/runpod/pulumi-runpod-native",
  "publisher": "Runpod",
  "meta": {
    "moduleFormat": "(.*)"
  },
  "language": {
    "csharp": {
      "packageReferences": {
        "Pulumi": "3.*"
      },
      "rootNamespace": "RunpodInfra"
    },
    "go": {
      "generateResourceContainerTypes": true,
      "importBasePath": "github.com/runpod/pulumi-runpod-native/sdk/go/runpod"
    },
    "nodejs": {
      "dependencies": {
        "@pulumi/pulumi": "^3.42.0"
      },
      "devDependencies": {
        "typescript": "^3.7.0"
      },
      "packageName": "@runpod-infra/pulumi"
    },
    "python": {
      "packageName": "runpodinfra",
      "requires": {
        "pulumi": ">=3.0.0,<4.0.0"
      }
    }
  },
  "config": {
    "variables": {
      "token": {
        "type": "string",
        "description": "Runpod API Token"
      }
    },
    "defaults": [
      "token"
    ]
  },
  "types": {
    "runpod:index:DataCenter": {
      "properties": {
        "id": {
          "type": "string"
        },
        "location": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "storageSupport": {
          "type": "boolean"
        }
      },
      "type": "object",
      "required": [
        "id",
        "location",
        "name",
        "storageSupport"
      ]
    },
    "runpod:index:Endpoint": {
      "properties": {
        "gpuIds": {
          "type": "string"
        },
        "id": {
          "type": "string"
        },
        "idleTimeout": {
          "type": "integer"
        },
        "locations": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "networkVolumeId": {
          "type": "string"
        },
        "scalerType": {
          "type": "string"
        },
        "scalerValue": {
          "type": "integer"
        },
        "templateId": {
          "type": "string"
        },
        "workersMax": {
          "type": "integer"
        },
        "workersMin": {
          "type": "integer"
        }
      },
      "type": "object",
      "required": [
        "gpuIds",
        "id",
        "idleTimeout",
        "locations",
        "name",
        "networkVolumeId",
        "scalerType",
        "scalerValue",
        "templateId",
        "workersMax",
        "workersMin"
      ]
    },
    "runpod:index:Gpu": {
      "properties": {
        "id": {
          "type": "string"
        },
        "podId": {
          "type": "string"
        }
      },
      "type": "object",
      "required": [
        "id",
        "podId"
      ]
    },
    "runpod:index:NetworkStorage": {
      "properties": {
        "dataCenter": {
          "$ref": "#/types/runpod:index:DataCenter"
        },
        "dataCenterId": {
          "type": "string"
        },
        "id": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "size": {
          "type": "integer"
        }
      },
      "type": "object",
      "required": [
        "dataCenter",
        "dataCenterId",
        "id",
        "name",
        "size"
      ]
    },
    "runpod:index:Pod": {
      "properties": {
        "adjustedCostPerHr": {
          "type": "number"
        },
        "aiApiId": {
          "type": "string"
        },
        "apiKey": {
          "type": "string"
        },
        "consumerUserId": {
          "type": "string"
        },
        "containerDiskInGb": {
          "type": "integer"
        },
        "containerRegistryAuthId": {
          "type": "string"
        },
        "costMultiplier": {
          "type": "number"
        },
        "costPerHr": {
          "type": "number"
        },
        "createdAt": {
          "type": "string"
        },
        "desiredStatus": {
          "type": "string"
        },
        "dockerArgs": {
          "type": "string"
        },
        "dockerId": {
          "type": "string"
        },
        "env": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "gpuCount": {
          "type": "integer"
        },
        "gpuPowerLimitPercent": {
          "type": "integer"
        },
        "gpus": {
          "type": "array",
          "items": {
            "$ref": "#/types/runpod:index:Gpu"
          }
        },
        "id": {
          "type": "string"
        },
        "imageName": {
          "type": "string"
        },
        "lastStartedAt": {
          "type": "string"
        },
        "lastStatusChange": {
          "type": "string"
        },
        "locked": {
          "type": "boolean"
        },
        "machineId": {
          "type": "string"
        },
        "memoryInGb": {
          "type": "number"
        },
        "name": {
          "type": "string"
        },
        "podType": {
          "type": "string"
        },
        "port": {
          "type": "integer"
        },
        "ports": {
          "type": "string"
        },
        "registry": {
          "$ref": "#/types/runpod:index:PodRegistry"
        },
        "templateId": {
          "type": "string"
        },
        "uptimeSeconds": {
          "type": "integer"
        },
        "vcpuCount": {
          "type": "number"
        },
        "version": {
          "type": "integer"
        },
        "volumeEncrypted": {
          "type": "boolean"
        },
        "volumeInGb": {
          "type": "number"
        },
        "volumeKey": {
          "type": "string"
        },
        "volumeMountPath": {
          "type": "string"
        }
      },
      "type": "object",
      "required": [
        "adjustedCostPerHr",
        "aiApiId",
        "apiKey",
        "consumerUserId",
        "containerDiskInGb",
        "containerRegistryAuthId",
        "costMultiplier",
        "costPerHr",
        "createdAt",
        "desiredStatus",
        "dockerArgs",
        "dockerId",
        "gpuCount",
        "gpuPowerLimitPercent",
        "id",
        "imageName",
        "lastStartedAt",
        "lastStatusChange",
        "locked",
        "machineId",
        "memoryInGb",
        "name",
        "podType",
        "port",
        "ports",
        "registry",
        "templateId",
        "uptimeSeconds",
        "vcpuCount",
        "version",
        "volumeEncrypted",
        "volumeInGb",
        "volumeKey",
        "volumeMountPath"
      ]
    },
    "runpod:index:PodEnv": {
      "properties": {
        "key": {
          "type": "string"
        },
        "value": {
          "type": "string"
        }
      },
      "type": "object",
      "required": [
        "key",
        "value"
      ]
    },
    "runpod:index:PodRegistry": {
      "properties": {
        "auth": {
          "type": "string"
        },
        "pass": {
          "type": "string"
        },
        "url": {
          "type": "string"
        },
        "user": {
          "type": "string"
        },
        "username": {
          "type": "string"
        }
      },
      "type": "object",
      "required": [
        "auth",
        "pass",
        "url",
        "user",
        "username"
      ]
    },
    "runpod:index:SavingsPlanInput": {
      "properties": {
        "planLength": {
          "type": "string"
        },
        "upfrontCost": {
          "type": "number"
        }
      },
      "type": "object",
      "required": [
        "planLength",
        "upfrontCost"
      ]
    },
    "runpod:index:Template": {
      "properties": {
        "advancedStart": {
          "type": "boolean"
        },
        "boundEndpointId": {
          "type": "string"
        },
        "category": {
          "type": "string"
        },
        "containerDiskInGb": {
          "type": "integer"
        },
        "containerRegistryAuthId": {
          "type": "string"
        },
        "dockerArgs": {
          "type": "string"
        },
        "earned": {
          "type": "number"
        },
        "env": {
          "type": "array",
          "items": {
            "$ref": "#/types/runpod:index:PodEnv"
          }
        },
        "id": {
          "type": "string"
        },
        "imageName": {
          "type": "string"
        },
        "isPublic": {
          "type": "boolean"
        },
        "isRunpod": {
          "type": "boolean"
        },
        "isServerless": {
          "type": "boolean"
        },
        "name": {
          "type": "string"
        },
        "ports": {
          "type": "string"
        },
        "readme": {
          "type": "string"
        },
        "runtimeInMin": {
          "type": "integer"
        },
        "startJupyter": {
          "type": "boolean"
        },
        "startScript": {
          "type": "string"
        },
        "startSsh": {
          "type": "boolean"
        },
        "volumeInGb": {
          "type": "integer"
        },
        "volumeMountPath": {
          "type": "string"
        }
      },
      "type": "object",
      "required": [
        "advancedStart",
        "boundEndpointId",
        "category",
        "containerDiskInGb",
        "containerRegistryAuthId",
        "dockerArgs",
        "earned",
        "id",
        "imageName",
        "isPublic",
        "isRunpod",
        "isServerless",
        "name",
        "ports",
        "readme",
        "runtimeInMin",
        "startJupyter",
        "startScript",
        "startSsh",
        "volumeInGb",
        "volumeMountPath"
      ]
    }
  },
  "provider": {
    "properties": {
      "token": {
        "type": "string",
        "description": "Runpod API Token"
      }
    },
    "type": "object",
    "required": [
      "token"
    ],
    "inputProperties": {
      "token": {
        "type": "string",
        "description": "Runpod API Token"
      }
    },
    "requiredInputs": [
      "token"
    ]
  },
  "resources": {
    "runpod:index:Endpoint": {
      "properties": {
        "endpoint": {
          "$ref": "#/types/runpod:index:Endpoint"
        },
        "gpuIds": {
          "type": "string"
        },
        "idleTimeout": {
          "type": "integer"
        },
        "locations": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "networkVolumeId": {
          "type": "string"
        },
        "scalerType": {
          "type": "string"
        },
        "scalerValue": {
          "type": "integer"
        },
        "templateId": {
          "type": "string"
        },
        "workersMax": {
          "type": "integer"
        },
        "workersMin": {
          "type": "integer"
        }
      },
      "type": "object",
      "required": [
        "endpoint",
        "gpuIds",
        "name"
      ],
      "inputProperties": {
        "gpuIds": {
          "type": "string"
        },
        "idleTimeout": {
          "type": "integer"
        },
        "locations": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "networkVolumeId": {
          "type": "string"
        },
        "scalerType": {
          "type": "string"
        },
        "scalerValue": {
          "type": "integer"
        },
        "templateId": {
          "type": "string"
        },
        "workersMax": {
          "type": "integer"
        },
        "workersMin": {
          "type": "integer"
        }
      },
      "requiredInputs": [
        "gpuIds",
        "name"
      ]
    },
    "runpod:index:NetworkStorage": {
      "properties": {
        "dataCenterId": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "networkStorage": {
          "$ref": "#/types/runpod:index:NetworkStorage"
        },
        "size": {
          "type": "integer"
        }
      },
      "type": "object",
      "required": [
        "dataCenterId",
        "name",
        "networkStorage",
        "size"
      ],
      "inputProperties": {
        "dataCenterId": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "size": {
          "type": "integer"
        }
      },
      "requiredInputs": [
        "dataCenterId",
        "name",
        "size"
      ]
    },
    "runpod:index:Pod": {
      "properties": {
        "aiApiId": {
          "type": "string"
        },
        "cloudType": {
          "type": "string"
        },
        "containerDiskInGb": {
          "type": "integer"
        },
        "countryCode": {
          "type": "string"
        },
        "cudaVersion": {
          "type": "string"
        },
        "dataCenterId": {
          "type": "string"
        },
        "deployCost": {
          "type": "number"
        },
        "dockerArgs": {
          "type": "string"
        },
        "env": {
          "type": "array",
          "items": {
            "$ref": "#/types/runpod:index:PodEnv"
          }
        },
        "gpuCount": {
          "type": "integer"
        },
        "gpuTypeId": {
          "type": "string"
        },
        "gpuTypeIdList": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "imageName": {
          "type": "string"
        },
        "minDisk": {
          "type": "integer"
        },
        "minDownload": {
          "type": "integer"
        },
        "minMemoryInGb": {
          "type": "integer"
        },
        "minUpload": {
          "type": "integer"
        },
        "minVcpuCount": {
          "type": "integer"
        },
        "name": {
          "type": "string"
        },
        "networkVolumeId": {
          "type": "string"
        },
        "pod": {
          "$ref": "#/types/runpod:index:Pod"
        },
        "port": {
          "type": "integer"
        },
        "ports": {
          "type": "string"
        },
        "savingsPlan": {
          "$ref": "#/types/runpod:index:SavingsPlanInput"
        },
        "startJupyter": {
          "type": "boolean"
        },
        "startSsh": {
          "type": "boolean"
        },
        "stopAfter": {
          "type": "string"
        },
        "supportPublicIp": {
          "type": "boolean"
        },
        "templateId": {
          "type": "string"
        },
        "terminateAfter": {
          "type": "string"
        },
        "volumeInGb": {
          "type": "integer"
        },
        "volumeKey": {
          "type": "string"
        },
        "volumeMountPath": {
          "type": "string"
        }
      },
      "type": "object",
      "required": [
        "gpuCount",
        "gpuTypeId",
        "imageName",
        "pod"
      ],
      "inputProperties": {
        "aiApiId": {
          "type": "string"
        },
        "cloudType": {
          "type": "string"
        },
        "containerDiskInGb": {
          "type": "integer"
        },
        "countryCode": {
          "type": "string"
        },
        "cudaVersion": {
          "type": "string"
        },
        "dataCenterId": {
          "type": "string"
        },
        "deployCost": {
          "type": "number"
        },
        "dockerArgs": {
          "type": "string"
        },
        "env": {
          "type": "array",
          "items": {
            "$ref": "#/types/runpod:index:PodEnv"
          }
        },
        "gpuCount": {
          "type": "integer"
        },
        "gpuTypeId": {
          "type": "string"
        },
        "gpuTypeIdList": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "imageName": {
          "type": "string"
        },
        "minDisk": {
          "type": "integer"
        },
        "minDownload": {
          "type": "integer"
        },
        "minMemoryInGb": {
          "type": "integer"
        },
        "minUpload": {
          "type": "integer"
        },
        "minVcpuCount": {
          "type": "integer"
        },
        "name": {
          "type": "string"
        },
        "networkVolumeId": {
          "type": "string"
        },
        "port": {
          "type": "integer"
        },
        "ports": {
          "type": "string"
        },
        "savingsPlan": {
          "$ref": "#/types/runpod:index:SavingsPlanInput"
        },
        "startJupyter": {
          "type": "boolean"
        },
        "startSsh": {
          "type": "boolean"
        },
        "stopAfter": {
          "type": "string"
        },
        "supportPublicIp": {
          "type": "boolean"
        },
        "templateId": {
          "type": "string"
        },
        "terminateAfter": {
          "type": "string"
        },
        "volumeInGb": {
          "type": "integer"
        },
        "volumeKey": {
          "type": "string"
        },
        "volumeMountPath": {
          "type": "string"
        }
      },
      "requiredInputs": [
        "gpuCount",
        "gpuTypeId",
        "imageName"
      ]
    },
    "runpod:index:Template": {
      "properties": {
        "containerDiskInGb": {
          "type": "integer"
        },
        "containerRegistryAuthId": {
          "type": "string"
        },
        "dockerArgs": {
          "type": "string"
        },
        "env": {
          "type": "array",
          "items": {
            "$ref": "#/types/runpod:index:PodEnv"
          }
        },
        "imageName": {
          "type": "string"
        },
        "isPublic": {
          "type": "boolean"
        },
        "isServerless": {
          "type": "boolean"
        },
        "name": {
          "type": "string"
        },
        "ports": {
          "type": "string"
        },
        "readme": {
          "type": "string"
        },
        "startJupyter": {
          "type": "boolean"
        },
        "startSsh": {
          "type": "boolean"
        },
        "template": {
          "$ref": "#/types/runpod:index:Template"
        },
        "volumeInGb": {
          "type": "integer"
        },
        "volumeMountPath": {
          "type": "string"
        }
      },
      "type": "object",
      "required": [
        "containerDiskInGb",
        "dockerArgs",
        "env",
        "imageName",
        "name",
        "template",
        "volumeInGb"
      ],
      "inputProperties": {
        "containerDiskInGb": {
          "type": "integer"
        },
        "containerRegistryAuthId": {
          "type": "string"
        },
        "dockerArgs": {
          "type": "string"
        },
        "env": {
          "type": "array",
          "items": {
            "$ref": "#/types/runpod:index:PodEnv"
          }
        },
        "imageName": {
          "type": "string"
        },
        "isPublic": {
          "type": "boolean"
        },
        "isServerless": {
          "type": "boolean"
        },
        "name": {
          "type": "string"
        },
        "ports": {
          "type": "string"
        },
        "readme": {
          "type": "string"
        },
        "startJupyter": {
          "type": "boolean"
        },
        "startSsh": {
          "type": "boolean"
        },
        "volumeInGb": {
          "type": "integer"
        },
        "volumeMountPath": {
          "type": "string"
        }
      },
      "requiredInputs": [
        "containerDiskInGb",
        "dockerArgs",
        "env",
        "imageName",
        "name",
        "volumeInGb"
      ]
    }
  }
}
