yann23 commited on
Commit
383e12f
·
verified ·
1 Parent(s): 25819ff

Upload iteration_1/dataset_dpo_with_example.jsonl with huggingface_hub

Browse files
iteration_1/dataset_dpo_with_example.jsonl CHANGED
@@ -1,15 +1,15 @@
1
- {"instruction": "# Utilisation de l'endpoint API CheckAuthentication\n\n## Description\nCette méthode permet de interagir avec l'API Outscale.\n\n## ⚠️ Paramètres obligatoires\nLes paramètres suivants sont REQUIS pour cette opération :\nAucun paramètre requis\n\n## Paramètres optionnels\nLes paramètres suivants peuvent être utilisés selon vos besoins :\n- `Login` : L'identifiant Login (ex: \"<OptionalLogin>\") (optionnel)\n- `Password` : L'identifiant Password (ex: \"<OptionalPassword>\") (optionnel)\n\n## Configuration technique\n- **Endpoint** : `/CheckAuthentication`\n- **Méthode HTTP** : `post`\n\n## En-têtes requis\n- `Content-Type: application/json`\n- `Authorization: AWS4-HMAC-SHA256 ...` (signature AWS v4)\n\n## Structure JSON avec placeholders\n```json\n{\n \"Login\": \"<OptionalLogin>\",\n \"Password\": \"<OptionalPassword>\"\n}\n```\n\n## Exemple de requête cURL\n```bash\ncurl -X POST https://api.$OSC_REGION.outscale.com/api/v1/CheckAuthentication \\\n --user $OSC_ACCESS_KEY:$OSC_SECRET_KEY \\\n --aws-sigv4 'osc' \\\n --header 'Content-Type: application/json' \\\n --data '{\"Login\": \"[email protected]\", \"Password\": \"$OSC_PASSWORD\"}'\n```\n\n## ⚠️ Points importants\n1. Assurez-vous de fournir TOUS les paramètres marqués comme REQUIS\n2. Remplacez les placeholders (<YourXXX>) par vos valeurs\n3. Configurez vos variables d'environnement :\n - $OSC_REGION : votre région Outscale\n - $OSC_ACCESS_KEY : votre clé d'accès\n - $OSC_SECRET_KEY : votre clé secrète\n4. Les paramètres optionnels peuvent être omis", "prompt": "Ordres utilisateur possibles :\n1. Comment utiliser l'endpoint CheckAuthentication ?\n2. Quelle est la procédure pour Check Authentication ?\n3. Comment exécuter l'opération Check Authentication ?\n4. Quelles sont les étapes pour Check Authentication ?", "chosen": "curl -X POST https://api.$OSC_REGION.outscale.com/api/v1/CheckAuthentication \\\n --user $OSC_ACCESS_KEY:$OSC_SECRET_KEY \\\n --aws-sigv4 'osc' \\\n --header 'Content-Type: application/json' \\\n --data '{\"Login\": \"[email protected]\", \"Password\": \"$OSC_PASSWORD\"}'", "rejected": "curl -X POST https://api.$OSC_REGION.outscale.com/api/v1/CheckAuthentication \\\n --user $OSC_ACCESS_KEY:$OSC_SECRET_KEY \\\n --aws-sigv4 'osc' \\\n --header 'Content-Type: application/json' \\\n --data '{\"Login\": \"[email protected]\", \"Password\": \"$OSC_PASSWORD\"}'", "example_name": "ex1"}
2
- {"instruction": "# Utilisation de l'endpoint API CheckAuthentication\n\n## Description\nCette méthode permet de interagir avec l'API Outscale.\n\n## ⚠️ Paramètres obligatoires\nLes paramètres suivants sont REQUIS pour cette opération :\nAucun paramètre requis\n\n## Paramètres optionnels\nLes paramètres suivants peuvent être utilisés selon vos besoins :\n- `Login` : L'identifiant Login (ex: \"<OptionalLogin>\") (optionnel)\n- `Password` : L'identifiant Password (ex: \"<OptionalPassword>\") (optionnel)\n- `Login` : L'identifiant Login (ex: \"<OptionalLogin>\") (optionnel)\n- `Password` : L'identifiant Password (ex: \"<OptionalPassword>\") (optionnel)\n\n## Configuration technique\n- **Endpoint** : `/CheckAuthentication`\n- **Méthode HTTP** : `post`\n\n## En-têtes requis\n- `Content-Type: application/json`\n- `Authorization: AWS4-HMAC-SHA256 ...` (signature AWS v4)\n\n## Structure JSON avec placeholders\n```json\n{\n \"Login\": \"<OptionalLogin>\",\n \"Password\": \"<OptionalPassword>\"\n}\n```\n\n## Exemple de requête cURL\n```bash\ncurl -X POST https://api.$OSC_REGION.outscale.com/api/v1/CheckAuthentication \\\n --user $OSC_ACCESS_KEY:$OSC_SECRET_KEY \\\n --aws-sigv4 'osc' \\\n --header 'Content-Type: application/json' \\\n --data '{\"Login\": \"[email protected]\", \"Password\": \"$OSC_PASSWORD\"}'\n```\n\n## ⚠️ Points importants\n1. Assurez-vous de fournir TOUS les paramètres marqués comme REQUIS\n2. Remplacez les placeholders (<YourXXX>) par vos valeurs\n3. Configurez vos variables d'environnement :\n - $OSC_REGION : votre région Outscale\n - $OSC_ACCESS_KEY : votre clé d'accès\n - $OSC_SECRET_KEY : votre clé secrète\n4. Les paramètres optionnels peuvent être omis", "prompt": "Ordres utilisateur possibles :\n1. Comment utiliser l'endpoint CheckAuthentication ?\n2. Quelle est la procédure pour Check Authentication ?\n3. Comment exécuter l'opération Check Authentication ?\n4. Quelles sont les étapes pour Check Authentication ?", "chosen": "curl -X POST https://api.$OSC_REGION.outscale.com/api/v1/CheckAuthentication \\\n --user $OSC_ACCESS_KEY:$OSC_SECRET_KEY \\\n --aws-sigv4 'osc' \\\n --header 'Content-Type: application/json' \\\n --data '{\"Login\": \"[email protected]\", \"Password\": \"$OSC_PASSWORD\"}'", "rejected": "curl -X POST https://api.$OSC_REGION.outscale.com/api/v1/CheckAuthentication \\\n --user $OSC_ACCESS_KEY:$OSC_SECRET_KEY \\\n --aws-sigv4 'osc' \\\n --header 'Content-Type: application/json' \\\n --data '{ ,\"Login\": \"[email protected]\", \"Password\": \"$OSC_PASSWORD\"}'", "example_name": "ex1"}
3
  {"instruction": "# Utilisation de l'endpoint API CheckAuthentication\n\n## Description\nCette méthode permet de interagir avec l'API Outscale.\n\n## ⚠️ Paramètres obligatoires\nLes paramètres suivants sont REQUIS pour cette opération :\nAucun paramètre requis\n\n## Paramètres optionnels\nLes paramètres suivants peuvent être utilisés selon vos besoins :\n- `Login` : L'identifiant Login (ex: \"<OptionalLogin>\") (optionnel)\n- `Password` : L'identifiant Password (ex: \"<OptionalPassword>\") (optionnel)\n\n## Configuration technique\n- **Endpoint** : `/CheckAuthentication`\n- **Méthode HTTP** : `post`\n\n## En-têtes requis\n- `Content-Type: application/json`\n- `Authorization: AWS4-HMAC-SHA256 ...` (signature AWS v4)\n\n## Structure JSON avec placeholders\n```json\n{\n \"Login\": \"<OptionalLogin>\",\n \"Password\": \"<OptionalPassword>\"\n}\n```\n\n## Exemple de requête cURL\n```bash\ncurl -X POST https://api.$OSC_REGION.outscale.com/api/v1/CheckAuthentication \\\n --user $OSC_ACCESS_KEY:$OSC_SECRET_KEY \\\n --aws-sigv4 'osc' \\\n --header 'Content-Type: application/json' \\\n --data '{\"Login\": \"[email protected]\", \"Password\": \"$OSC_PASSWORD\"}'\n```\n\n## ⚠️ Points importants\n1. Assurez-vous de fournir TOUS les paramètres marqués comme REQUIS\n2. Remplacez les placeholders (<YourXXX>) par vos valeurs\n3. Configurez vos variables d'environnement :\n - $OSC_REGION : votre région Outscale\n - $OSC_ACCESS_KEY : votre clé d'accès\n - $OSC_SECRET_KEY : votre clé secrète\n4. Les paramètres optionnels peuvent être omis", "prompt": "Ordres utilisateur possibles :\n1. Comment utiliser l'endpoint CheckAuthentication ?\n2. Quelle est la procédure pour Check Authentication ?\n3. Comment exécuter l'opération Check Authentication ?\n4. Quelles sont les étapes pour Check Authentication ?", "chosen": "curl -X POST https://api.$OSC_REGION.outscale.com/api/v1/CheckAuthentication \\\n --user $OSC_ACCESS_KEY:$OSC_SECRET_KEY \\\n --aws-sigv4 'osc' \\\n --header 'Content-Type: application/json' \\\n --data '{\"Login\": \"[email protected]\", \"Password\": \"$OSC_PASSWORD\"}'", "rejected": "curl -X POST https://api.$OSC_REGION.outscale.com/api/v1/CheckAuthentication \\\n --user $OSC_ACCESS_KEY:$OSC_SECRET_KEY \\\n --aws-sigv4 'osc' \\\n --data '{\"Login\": \"[email protected]\", \"Password\": \"$OSC_PASSWORD\"}'", "example_name": "ex1"}
4
- {"instruction": "# Utilisation de l'endpoint API CreateVms\n\n## Description\nCette méthode permet de creating a vm (minimal syntax).\n\n## ⚠️ Paramètres obligatoires\nLes paramètres suivants sont REQUIS pour cette opération :\nAucun paramètre requis\n\n## Paramètres optionnels\nLes paramètres suivants peuvent être utilisés selon vos besoins :\n- `ImageId` : L'identifiant ImageId (ex: \"<OptionalImageId>\") (optionnel)\n\n## Configuration technique\n- **Endpoint** : `/CreateVms`\n- **Méthode HTTP** : `post`\n\n## En-têtes requis\n- `Content-Type: application/json`\n- `Authorization: AWS4-HMAC-SHA256 ...` (signature AWS v4)\n\n## Structure JSON avec placeholders\n```json\n{\n \"ImageId\": \"<OptionalImageId>\"\n}\n```\n\n## Exemple de requête cURL\n```bash\ncurl -X POST https://api.$OSC_REGION.outscale.com/api/v1/CreateVms \\\n --user $OSC_ACCESS_KEY:$OSC_SECRET_KEY \\\n --aws-sigv4 'osc' \\\n --header 'Content-Type: application/json' \\\n --data '{\"ImageId\": \"<AMI_ID>\"}'\n```\n\n## ⚠️ Points importants\n1. Assurez-vous de fournir TOUS les paramètres marqués comme REQUIS\n2. Remplacez les placeholders (<YourXXX>) par vos valeurs\n3. Configurez vos variables d'environnement :\n - $OSC_REGION : votre région Outscale\n - $OSC_ACCESS_KEY : votre clé d'accès\n - $OSC_SECRET_KEY : votre clé secrète\n4. Les paramètres optionnels peuvent être omis", "prompt": "Ordres utilisateur possibles :\n1. Comment créer une machine virtuelle (minimal syntax) ?\n2. Quelles sont les étapes pour créer unVms avec un image spécifique ?\n3. Comment configurer un nouveauVms avec un image spécifique ?\n4. Comment créer une machine virtuelle in a net ?", "chosen": "curl -X POST https://api.$OSC_REGION.outscale.com/api/v1/CreateVms \\\n --user $OSC_ACCESS_KEY:$OSC_SECRET_KEY \\\n --aws-sigv4 'osc' \\\n --header 'Content-Type: application/json' \\\n --data '{\"ImageId\": \"<AMI_ID>\"}'", "rejected": "curl -X POST https://api.$OSC_REGION.outscale.com/api/v1/CreateVms \\\n --user $OSC_ACCESS_KEY:$OSC_SECRET_KEY \\\n --aws-sigv4 'osc' \\\n --data '{\"ImageId\": \"<AMI_ID>\"}'", "example_name": "ex1"}
5
- {"instruction": "# Utilisation de l'endpoint API CreateVms\n\n## Description\nCette méthode permet de creating a vm (minimal syntax).\n\n## ⚠️ Paramètres obligatoires\nLes paramètres suivants sont REQUIS pour cette opération :\nAucun paramètre requis\n\n## Paramètres optionnels\nLes paramètres suivants peuvent être utilisés selon vos besoins :\n- `ImageId` : L'identifiant ImageId (ex: \"<OptionalImageId>\") (optionnel)\n- `ImageId` : L'identifiant ImageId (ex: \"<OptionalImageId>\") (optionnel)\n\n## Configuration technique\n- **Endpoint** : `/CreateVms`\n- **Méthode HTTP** : `post`\n\n## En-têtes requis\n- `Content-Type: application/json`\n- `Authorization: AWS4-HMAC-SHA256 ...` (signature AWS v4)\n\n## Structure JSON avec placeholders\n```json\n{\n \"ImageId\": \"<OptionalImageId>\"\n}\n```\n\n## Exemple de requête cURL\n```bash\ncurl -X POST https://api.$OSC_REGION.outscale.com/api/v1/CreateVms \\\n --user $OSC_ACCESS_KEY:$OSC_SECRET_KEY \\\n --aws-sigv4 'osc' \\\n --header 'Content-Type: application/json' \\\n --data '{\"ImageId\": \"<AMI_ID>\"}'\n```\n\n## ⚠️ Points importants\n1. Assurez-vous de fournir TOUS les paramètres marqués comme REQUIS\n2. Remplacez les placeholders (<YourXXX>) par vos valeurs\n3. Configurez vos variables d'environnement :\n - $OSC_REGION : votre région Outscale\n - $OSC_ACCESS_KEY : votre clé d'accès\n - $OSC_SECRET_KEY : votre clé secrète\n4. Les paramètres optionnels peuvent être omis", "prompt": "Ordres utilisateur possibles :\n1. Comment créer une machine virtuelle (minimal syntax) ?\n2. Quelles sont les étapes pour créer unVms avec un image spécifique ?\n3. Comment configurer un nouveauVms avec un image spécifique ?\n4. Comment créer une machine virtuelle in a net ?", "chosen": "curl -X POST https://api.$OSC_REGION.outscale.com/api/v1/CreateVms \\\n --user $OSC_ACCESS_KEY:$OSC_SECRET_KEY \\\n --aws-sigv4 'osc' \\\n --header 'Content-Type: application/json' \\\n --data '{\"ImageId\": \"<AMI_ID>\"}'", "rejected": "curl -X POST https://api.$OSC_REGION.outscale.com/api/v1/CreateVms \\\n --user $OSC_ACCESS_KEY:$OSC_SECRET_KEY \\\n --aws-sigv4 'aws' \\\n --header 'Content-Type: application/json' \\\n --data '{\"ImageId\": \"wrong-image-id\"}'", "example_name": "ex1"}
6
- {"instruction": "# Utilisation de l'endpoint API CreateVms\n\n## Description\nCette méthode permet de creating a vm (minimal syntax).\n\n## ⚠️ Paramètres obligatoires\nLes paramètres suivants sont REQUIS pour cette opération :\nAucun paramètre requis\n\n## Paramètres optionnels\nLes paramètres suivants peuvent être utilisés selon vos besoins :\n- `ImageId` : L'identifiant ImageId (ex: \"<OptionalImageId>\") (optionnel)\n\n## Configuration technique\n- **Endpoint** : `/CreateVms`\n- **Méthode HTTP** : `post`\n\n## En-têtes requis\n- `Content-Type: application/json`\n- `Authorization: AWS4-HMAC-SHA256 ...` (signature AWS v4)\n\n## Structure JSON avec placeholders\n```json\n{\n \"ImageId\": \"<OptionalImageId>\"\n}\n```\n\n## Exemple de requête cURL\n```bash\ncurl -X POST https://api.$OSC_REGION.outscale.com/api/v1/CreateVms \\\n --user $OSC_ACCESS_KEY:$OSC_SECRET_KEY \\\n --aws-sigv4 'osc' \\\n --header 'Content-Type: application/json' \\\n --data '{\"ImageId\": \"<AMI_ID>\"}'\n```\n\n## ⚠️ Points importants\n1. Assurez-vous de fournir TOUS les paramètres marqués comme REQUIS\n2. Remplacez les placeholders (<YourXXX>) par vos valeurs\n3. Configurez vos variables d'environnement :\n - $OSC_REGION : votre région Outscale\n - $OSC_ACCESS_KEY : votre clé d'accès\n - $OSC_SECRET_KEY : votre clé secrète\n4. Les paramètres optionnels peuvent être omis", "prompt": "Ordres utilisateur possibles :\n1. Comment créer une machine virtuelle (minimal syntax) ?\n2. Quelles sont les étapes pour créer unVms avec un image spécifique ?\n3. Comment configurer un nouveauVms avec un image spécifique ?\n4. Comment créer une machine virtuelle in a net ?", "chosen": "curl -X POST https://api.$OSC_REGION.outscale.com/api/v1/CreateVms \\\n --user $OSC_ACCESS_KEY:$OSC_SECRET_KEY \\\n --aws-sigv4 'osc' \\\n --header 'Content-Type: application/json' \\\n --data '{\"ImageId\": \"<AMI_ID>\"}'", "rejected": "curl -X POST https://api.$OSC_REGION.outscale.com/api/v1/CreateVms \\\n --user $OSC_ACCESS_KEY:$OSC_SECRET_KEY \\\n --aws-sigv4 'osc' \\\n --header 'Content-Type: application/json' \\\n --data '{\"ImageId\": \"<AMI_ID>\"}'", "example_name": "ex1"}
7
- {"instruction": "# Utilisation de l'endpoint API CreateVms\n\n## Description\nCette méthode permet de creating a vm in a net.\n\n## ⚠️ Paramètres obligatoires\nLes paramètres suivants sont REQUIS pour cette opération :\nAucun paramètre requis\n\n## Paramètres optionnels\nLes paramètres suivants peuvent être utilisés selon vos besoins :\n- `ImageId` : L'identifiant ImageId (ex: \"<OptionalImageId>\") (optionnel)\n- `VmType` : L'identifiant VmType (ex: \"<OptionalVmType>\") (optionnel)\n- `KeypairName` : L'identifiant KeypairName (ex: \"<OptionalKeypairName>\") (optionnel)\n- `SecurityGroupIds` : Liste de SecurityGroupIds (ex: [\"<YourSecurityGroupIdsItem1>\"]) (optionnel)\n- `SubnetId` : L'identifiant SubnetId (ex: \"<OptionalSubnetId>\") (optionnel)\n- `UserData` : L'identifiant UserData (ex: \"<OptionalUserData>\") (optionnel)\n\n## Configuration technique\n- **Endpoint** : `/CreateVms`\n- **Méthode HTTP** : `post`\n\n## En-têtes requis\n- `Content-Type: application/json`\n- `Authorization: AWS4-HMAC-SHA256 ...` (signature AWS v4)\n\n## Structure JSON avec placeholders\n```json\n{\n \"ImageId\": \"<OptionalImageId>\",\n \"VmType\": \"<OptionalVmType>\",\n \"KeypairName\": \"<OptionalKeypairName>\",\n \"SecurityGroupIds\": \"<OptionalSecurityGroupIds>\",\n \"SubnetId\": \"<OptionalSubnetId>\",\n \"UserData\": \"<OptionalUserData>\"\n}\n```\n\n## Exemple de requête cURL\n```bash\ncurl -X POST https://api.$OSC_REGION.outscale.com/api/v1/CreateVms \\\n --user $OSC_ACCESS_KEY:$OSC_SECRET_KEY \\\n --aws-sigv4 'osc' \\\n --header 'Content-Type: application/json' \\\n --data '{\"ImageId\": \"<AMI_ID>\", \"VmType\": \"tinav5.c1r1p2\", \"KeypairName\": \"<KEYPAIR_NAME>\", \"SecurityGroupIds\": [\"<SECURITY_GROUP_ID>\"], \"SubnetId\": \"<SUBNET_ID>\", \"UserData\": \"...\"}'\n```\n\n## ⚠️ Points importants\n1. Assurez-vous de fournir TOUS les paramètres marqués comme REQUIS\n2. Remplacez les placeholders (<YourXXX>) par vos valeurs\n3. Configurez vos variables d'environnement :\n - $OSC_REGION : votre région Outscale\n - $OSC_ACCESS_KEY : votre clé d'accès\n - $OSC_SECRET_KEY : votre clé secrète\n4. Les paramètres optionnels peuvent être omis", "prompt": "Ordres utilisateur possibles :\n1. Comment créer une machine virtuelle (minimal syntax) ?\n2. Quelles sont les étapes pour créer unVms avec un image spécifique ?\n3. Comment configurer un nouveauVms avec un image spécifique ?\n4. Comment créer une machine virtuelle in a net ?", "chosen": "curl -X POST https://api.$OSC_REGION.outscale.com/api/v1/CreateVms \\\n --user $OSC_ACCESS_KEY:$OSC_SECRET_KEY \\\n --aws-sigv4 'osc' \\\n --header 'Content-Type: application/json' \\\n --data '{\"ImageId\": \"<AMI_ID>\", \"VmType\": \"tinav5.c1r1p2\", \"KeypairName\": \"<KEYPAIR_NAME>\", \"SecurityGroupIds\": [\"<SECURITY_GROUP_ID>\"], \"SubnetId\": \"<SUBNET_ID>\", \"UserData\": \"...\"}'", "rejected": "curl -X POST https://api.$OSC_REGION.outscale.com/api/v1/CreateVms \\\n --user $OSC_ACCESS_KEY:$OSC_SECRET_KEY \\\n --aws-sigv4 'osc' \\\n --header 'Content-Type: application/json' \\\n --data '{\"ImageId\": \"<AMI_ID>\", \"VmType\": \"t2.invalid\", \"KeypairName\": \"<KEYPAIR_NAME>\", \"SecurityGroupIds\": \"invalid-sg\", \"SubnetId\": \"<SUBNET_ID>\", \"UserData\": \"...\"}'", "example_name": "ex2"}
8
- {"instruction": "# Utilisation de l'endpoint API CreateVms\n\n## Description\nCette méthode permet de creating a vm in a net.\n\n## ⚠️ Paramètres obligatoires\nLes paramètres suivants sont REQUIS pour cette opération :\nAucun paramètre requis\n\n## Paramètres optionnels\nLes paramètres suivants peuvent être utilisés selon vos besoins :\n- `ImageId` : L'identifiant ImageId (ex: \"<OptionalImageId>\") (optionnel)\n- `VmType` : L'identifiant VmType (ex: \"<OptionalVmType>\") (optionnel)\n- `KeypairName` : L'identifiant KeypairName (ex: \"<OptionalKeypairName>\") (optionnel)\n- `SecurityGroupIds` : Liste de SecurityGroupIds (ex: [\"<YourSecurityGroupIdsItem1>\"]) (optionnel)\n- `SubnetId` : L'identifiant SubnetId (ex: \"<OptionalSubnetId>\") (optionnel)\n- `UserData` : L'identifiant UserData (ex: \"<OptionalUserData>\") (optionnel)\n- `ImageId` : L'identifiant ImageId (ex: \"<OptionalImageId>\") (optionnel)\n- `VmType` : L'identifiant VmType (ex: \"<OptionalVmType>\") (optionnel)\n- `KeypairName` : L'identifiant KeypairName (ex: \"<OptionalKeypairName>\") (optionnel)\n- `SecurityGroupIds` : Liste de SecurityGroupIds (ex: [\"<YourSecurityGroupIdsItem1>\"]) (optionnel)\n- `SubnetId` : L'identifiant SubnetId (ex: \"<OptionalSubnetId>\") (optionnel)\n- `UserData` : L'identifiant UserData (ex: \"<OptionalUserData>\") (optionnel)\n\n## Configuration technique\n- **Endpoint** : `/CreateVms`\n- **Méthode HTTP** : `post`\n\n## En-têtes requis\n- `Content-Type: application/json`\n- `Authorization: AWS4-HMAC-SHA256 ...` (signature AWS v4)\n\n## Structure JSON avec placeholders\n```json\n{\n \"ImageId\": \"<OptionalImageId>\",\n \"VmType\": \"<OptionalVmType>\",\n \"KeypairName\": \"<OptionalKeypairName>\",\n \"SecurityGroupIds\": \"<OptionalSecurityGroupIds>\",\n \"SubnetId\": \"<OptionalSubnetId>\",\n \"UserData\": \"<OptionalUserData>\"\n}\n```\n\n## Exemple de requête cURL\n```bash\ncurl -X POST https://api.$OSC_REGION.outscale.com/api/v1/CreateVms \\\n --user $OSC_ACCESS_KEY:$OSC_SECRET_KEY \\\n --aws-sigv4 'osc' \\\n --header 'Content-Type: application/json' \\\n --data '{\"ImageId\": \"<AMI_ID>\", \"VmType\": \"tinav5.c1r1p2\", \"KeypairName\": \"<KEYPAIR_NAME>\", \"SecurityGroupIds\": [\"<SECURITY_GROUP_ID>\"], \"SubnetId\": \"<SUBNET_ID>\", \"UserData\": \"...\"}'\n```\n\n## ⚠️ Points importants\n1. Assurez-vous de fournir TOUS les paramètres marqués comme REQUIS\n2. Remplacez les placeholders (<YourXXX>) par vos valeurs\n3. Configurez vos variables d'environnement :\n - $OSC_REGION : votre région Outscale\n - $OSC_ACCESS_KEY : votre clé d'accès\n - $OSC_SECRET_KEY : votre clé secrète\n4. Les paramètres optionnels peuvent être omis", "prompt": "Ordres utilisateur possibles :\n1. Comment créer une machine virtuelle (minimal syntax) ?\n2. Quelles sont les étapes pour créer unVms avec un image spécifique ?\n3. Comment configurer un nouveauVms avec un image spécifique ?\n4. Comment créer une machine virtuelle in a net ?", "chosen": "curl -X POST https://api.$OSC_REGION.outscale.com/api/v1/CreateVms \\\n --user $OSC_ACCESS_KEY:$OSC_SECRET_KEY \\\n --aws-sigv4 'osc' \\\n --header 'Content-Type: application/json' \\\n --data '{\"ImageId\": \"<AMI_ID>\", \"VmType\": \"tinav5.c1r1p2\", \"KeypairName\": \"<KEYPAIR_NAME>\", \"SecurityGroupIds\": [\"<SECURITY_GROUP_ID>\"], \"SubnetId\": \"<SUBNET_ID>\", \"UserData\": \"...\"}'", "rejected": "curl -X POST https://api.$OSC_REGION.outscale.com/api/v1/CreateVms \\\n --user $OSC_ACCESS_KEY:$OSC_SECRET_KEY \\\n --aws-sigv4 'osc' \\\n --header 'Content-Type: application/json' \\\n --data '{ ,\"ImageId\": \"<AMI_ID>\", \"VmType\": \"tinav5.c1r1p2\", \"KeypairName\": \"<KEYPAIR_NAME>\", \"SecurityGroupIds\": [\"<SECURITY_GROUP_ID>\"], \"SubnetId\": \"<SUBNET_ID>\", \"UserData\": \"...\"}'", "example_name": "ex2"}
9
- {"instruction": "# Utilisation de l'endpoint API CreateVms\n\n## Description\nCette méthode permet de creating a vm in a net.\n\n## ⚠️ Paramètres obligatoires\nLes paramètres suivants sont REQUIS pour cette opération :\nAucun paramètre requis\n\n## Paramètres optionnels\nLes paramètres suivants peuvent être utilisés selon vos besoins :\n- `ImageId` : L'identifiant ImageId (ex: \"<OptionalImageId>\") (optionnel)\n- `VmType` : L'identifiant VmType (ex: \"<OptionalVmType>\") (optionnel)\n- `KeypairName` : L'identifiant KeypairName (ex: \"<OptionalKeypairName>\") (optionnel)\n- `SecurityGroupIds` : Liste de SecurityGroupIds (ex: [\"<YourSecurityGroupIdsItem1>\"]) (optionnel)\n- `SubnetId` : L'identifiant SubnetId (ex: \"<OptionalSubnetId>\") (optionnel)\n- `UserData` : L'identifiant UserData (ex: \"<OptionalUserData>\") (optionnel)\n\n## Configuration technique\n- **Endpoint** : `/CreateVms`\n- **Méthode HTTP** : `post`\n\n## En-têtes requis\n- `Content-Type: application/json`\n- `Authorization: AWS4-HMAC-SHA256 ...` (signature AWS v4)\n\n## Structure JSON avec placeholders\n```json\n{\n \"ImageId\": \"<OptionalImageId>\",\n \"VmType\": \"<OptionalVmType>\",\n \"KeypairName\": \"<OptionalKeypairName>\",\n \"SecurityGroupIds\": \"<OptionalSecurityGroupIds>\",\n \"SubnetId\": \"<OptionalSubnetId>\",\n \"UserData\": \"<OptionalUserData>\"\n}\n```\n\n## Exemple de requête cURL\n```bash\ncurl -X POST https://api.$OSC_REGION.outscale.com/api/v1/CreateVms \\\n --user $OSC_ACCESS_KEY:$OSC_SECRET_KEY \\\n --aws-sigv4 'osc' \\\n --header 'Content-Type: application/json' \\\n --data '{\"ImageId\": \"<AMI_ID>\", \"VmType\": \"tinav5.c1r1p2\", \"KeypairName\": \"<KEYPAIR_NAME>\", \"SecurityGroupIds\": [\"<SECURITY_GROUP_ID>\"], \"SubnetId\": \"<SUBNET_ID>\", \"UserData\": \"...\"}'\n```\n\n## ⚠️ Points importants\n1. Assurez-vous de fournir TOUS les paramètres marqués comme REQUIS\n2. Remplacez les placeholders (<YourXXX>) par vos valeurs\n3. Configurez vos variables d'environnement :\n - $OSC_REGION : votre région Outscale\n - $OSC_ACCESS_KEY : votre clé d'accès\n - $OSC_SECRET_KEY : votre clé secrète\n4. Les paramètres optionnels peuvent être omis", "prompt": "Ordres utilisateur possibles :\n1. Comment créer une machine virtuelle (minimal syntax) ?\n2. Quelles sont les étapes pour créer unVms avec un image spécifique ?\n3. Comment configurer un nouveauVms avec un image spécifique ?\n4. Comment créer une machine virtuelle in a net ?", "chosen": "curl -X POST https://api.$OSC_REGION.outscale.com/api/v1/CreateVms \\\n --user $OSC_ACCESS_KEY:$OSC_SECRET_KEY \\\n --aws-sigv4 'osc' \\\n --header 'Content-Type: application/json' \\\n --data '{\"ImageId\": \"<AMI_ID>\", \"VmType\": \"tinav5.c1r1p2\", \"KeypairName\": \"<KEYPAIR_NAME>\", \"SecurityGroupIds\": [\"<SECURITY_GROUP_ID>\"], \"SubnetId\": \"<SUBNET_ID>\", \"UserData\": \"...\"}'", "rejected": "curl -X POST https://api.$OSC_REGION.outscale.com/api/v1/CreateVms \\\n --user $OSC_ACCESS_KEY:$OSC_SECRET_KEY \\\n --aws-sigv4 'aws' \\\n --header 'Content-Type: application/json' \\\n --data '{\"ImageId\": \"<AMI_ID>\", \"VmType\": \"t2.invalid\", \"KeypairName\": \"<KEYPAIR_NAME>\", \"SecurityGroupIds\": [\"<SECURITY_GROUP_ID>\"], \"SubnetId\": \"<SUBNET_ID>\", \"UserData\": \"...\"}'", "example_name": "ex2"}
10
- {"instruction": "# Utilisation de l'endpoint API CreateVms\n\n## Description\nCette méthode permet de creating a vm avec des volumes de stockage attachés.\n\n## ⚠️ Paramètres obligatoires\nLes paramètres suivants sont REQUIS pour cette opération :\nAucun paramètre requis\n\n## Paramètres optionnels\nLes paramètres suivants peuvent être utilisés selon vos besoins :\n- `ImageId` : L'identifiant ImageId (ex: \"<OptionalImageId>\") (optionnel)\n- `VmType` : L'identifiant VmType (ex: \"<OptionalVmType>\") (optionnel)\n- `KeypairName` : L'identifiant KeypairName (ex: \"<OptionalKeypairName>\") (optionnel)\n- `SecurityGroupIds` : Liste de SecurityGroupIds (ex: [\"<YourSecurityGroupIdsItem1>\"]) (optionnel)\n- `SubnetId` : L'identifiant SubnetId (ex: \"<OptionalSubnetId>\") (optionnel)\n- `UserData` : L'identifiant UserData (ex: \"<OptionalUserData>\") (optionnel)\n- `BlockDeviceMappings` : Liste de BlockDeviceMappings (ex: [{\"DeviceName\": \"/dev/sda1\", \"Bsu\": {\"VolumeSize\": 15, \"VolumeType\": \"gp2\"}}, {\"DeviceName\": \"/dev/sdb\", \"Bsu\": {\"SnapshotId\": \"snap-12345678\", \"VolumeSize\": 22, \"VolumeType\": \"io1\", \"Iops\": 150}}]) (optionnel)\n\n## Configuration technique\n- **Endpoint** : `/CreateVms`\n- **Méthode HTTP** : `post`\n\n## En-têtes requis\n- `Content-Type: application/json`\n- `Authorization: AWS4-HMAC-SHA256 ...` (signature AWS v4)\n\n## Structure JSON avec placeholders\n```json\n{\n \"ImageId\": \"<OptionalImageId>\",\n \"VmType\": \"<OptionalVmType>\",\n \"KeypairName\": \"<OptionalKeypairName>\",\n \"SecurityGroupIds\": \"<OptionalSecurityGroupIds>\",\n \"SubnetId\": \"<OptionalSubnetId>\",\n \"UserData\": \"<OptionalUserData>\",\n \"BlockDeviceMappings\": \"<OptionalBlockDeviceMappings>\"\n}\n```\n\n## Exemple de requête cURL\n```bash\ncurl -X POST https://api.$OSC_REGION.outscale.com/api/v1/CreateVms \\\n --user $OSC_ACCESS_KEY:$OSC_SECRET_KEY \\\n --aws-sigv4 'osc' \\\n --header 'Content-Type: application/json' \\\n --data '{\"ImageId\": \"<AMI_ID>\", \"VmType\": \"tinav5.c1r1p2\", \"KeypairName\": \"<KEYPAIR_NAME>\", \"SecurityGroupIds\": [\"<SECURITY_GROUP_ID>\"], \"SubnetId\": \"<SUBNET_ID>\", \"UserData\": \"...\", \"BlockDeviceMappings\": [{\"DeviceName\": \"/dev/sda1\", \"Bsu\": {\"VolumeSize\": 15, \"VolumeType\": \"gp2\"}}, {\"DeviceName\": \"/dev/sdb\", \"Bsu\": {\"SnapshotId\": \"<SNAPSHOT_ID>\", \"VolumeSize\": 22, \"VolumeType\": \"io1\", \"Iops\": 150}}]}'\n```\n\n## ⚠️ Points importants\n1. Assurez-vous de fournir TOUS les paramètres marqués comme REQUIS\n2. Remplacez les placeholders (<YourXXX>) par vos valeurs\n3. Configurez vos variables d'environnement :\n - $OSC_REGION : votre région Outscale\n - $OSC_ACCESS_KEY : votre clé d'accès\n - $OSC_SECRET_KEY : votre clé secrète\n4. Les paramètres optionnels peuvent être omis", "prompt": "Ordres utilisateur possibles :\n1. Comment créer une machine virtuelle (minimal syntax) ?\n2. Quelles sont les étapes pour créer unVms avec un image spécifique ?\n3. Comment configurer un nouveauVms avec un image spécifique ?\n4. Comment créer une machine virtuelle in a net ?", "chosen": "curl -X POST https://api.$OSC_REGION.outscale.com/api/v1/CreateVms \\\n --user $OSC_ACCESS_KEY:$OSC_SECRET_KEY \\\n --aws-sigv4 'osc' \\\n --header 'Content-Type: application/json' \\\n --data '{\"ImageId\": \"<AMI_ID>\", \"VmType\": \"tinav5.c1r1p2\", \"KeypairName\": \"<KEYPAIR_NAME>\", \"SecurityGroupIds\": [\"<SECURITY_GROUP_ID>\"], \"SubnetId\": \"<SUBNET_ID>\", \"UserData\": \"...\", \"BlockDeviceMappings\": [{\"DeviceName\": \"/dev/sda1\", \"Bsu\": {\"VolumeSize\": 15, \"VolumeType\": \"gp2\"}}, {\"DeviceName\": \"/dev/sdb\", \"Bsu\": {\"SnapshotId\": \"<SNAPSHOT_ID>\", \"VolumeSize\": 22, \"VolumeType\": \"io1\", \"Iops\": 150}}]}'", "rejected": "curl -X POST https://api.$OSC_REGION.outscale.com/api/v1/CreateVms \\\n --user $OSC_ACCESS_KEY:$OSC_SECRET_KEY \\\n --aws-sigv4 'osc' \\\n --header 'Content-Type: application/json' \\\n --data '{ ,\"ImageId\": \"<AMI_ID>\", \"VmType\": \"tinav5.c1r1p2\", \"KeypairName\": \"<KEYPAIR_NAME>\", \"SecurityGroupIds\": [\"<SECURITY_GROUP_ID>\"], \"SubnetId\": \"<SUBNET_ID>\", \"UserData\": \"...\", \"BlockDeviceMappings\": [{\"DeviceName\": \"/dev/sda1\", \"Bsu\": {\"VolumeSize\": 15, \"VolumeType\": \"gp2\"}}, {\"DeviceName\": \"/dev/sdb\", \"Bsu\": {\"SnapshotId\": \"<SNAPSHOT_ID>\", \"VolumeSize\": 22, \"VolumeType\": \"io1\", \"Iops\": 150}}]}'", "example_name": "ex3"}
11
- {"instruction": "# Utilisation de l'endpoint API CreateVms\n\n## Description\nCette méthode permet de creating a vm avec des volumes de stockage attachés.\n\n## ⚠️ Paramètres obligatoires\nLes paramètres suivants sont REQUIS pour cette opération :\nAucun paramètre requis\n\n## Paramètres optionnels\nLes paramètres suivants peuvent être utilisés selon vos besoins :\n- `ImageId` : L'identifiant ImageId (ex: \"<OptionalImageId>\") (optionnel)\n- `VmType` : L'identifiant VmType (ex: \"<OptionalVmType>\") (optionnel)\n- `KeypairName` : L'identifiant KeypairName (ex: \"<OptionalKeypairName>\") (optionnel)\n- `SecurityGroupIds` : Liste de SecurityGroupIds (ex: [\"<YourSecurityGroupIdsItem1>\"]) (optionnel)\n- `SubnetId` : L'identifiant SubnetId (ex: \"<OptionalSubnetId>\") (optionnel)\n- `UserData` : L'identifiant UserData (ex: \"<OptionalUserData>\") (optionnel)\n- `BlockDeviceMappings` : Liste de BlockDeviceMappings (ex: [{\"DeviceName\": \"/dev/sda1\", \"Bsu\": {\"VolumeSize\": 15, \"VolumeType\": \"gp2\"}}, {\"DeviceName\": \"/dev/sdb\", \"Bsu\": {\"SnapshotId\": \"snap-12345678\", \"VolumeSize\": 22, \"VolumeType\": \"io1\", \"Iops\": 150}}]) (optionnel)\n- `ImageId` : L'identifiant ImageId (ex: \"<OptionalImageId>\") (optionnel)\n- `VmType` : L'identifiant VmType (ex: \"<OptionalVmType>\") (optionnel)\n- `KeypairName` : L'identifiant KeypairName (ex: \"<OptionalKeypairName>\") (optionnel)\n- `SecurityGroupIds` : Liste de SecurityGroupIds (ex: [\"<YourSecurityGroupIdsItem1>\"]) (optionnel)\n- `SubnetId` : L'identifiant SubnetId (ex: \"<OptionalSubnetId>\") (optionnel)\n- `UserData` : L'identifiant UserData (ex: \"<OptionalUserData>\") (optionnel)\n- `BlockDeviceMappings` : Liste de BlockDeviceMappings (ex: [{\"DeviceName\": \"/dev/sda1\", \"Bsu\": {\"VolumeSize\": 15, \"VolumeType\": \"gp2\"}}, {\"DeviceName\": \"/dev/sdb\", \"Bsu\": {\"SnapshotId\": \"snap-12345678\", \"VolumeSize\": 22, \"VolumeType\": \"io1\", \"Iops\": 150}}]) (optionnel)\n\n## Configuration technique\n- **Endpoint** : `/CreateVms`\n- **Méthode HTTP** : `post`\n\n## En-têtes requis\n- `Content-Type: application/json`\n- `Authorization: AWS4-HMAC-SHA256 ...` (signature AWS v4)\n\n## Structure JSON avec placeholders\n```json\n{\n \"ImageId\": \"<OptionalImageId>\",\n \"VmType\": \"<OptionalVmType>\",\n \"KeypairName\": \"<OptionalKeypairName>\",\n \"SecurityGroupIds\": \"<OptionalSecurityGroupIds>\",\n \"SubnetId\": \"<OptionalSubnetId>\",\n \"UserData\": \"<OptionalUserData>\",\n \"BlockDeviceMappings\": \"<OptionalBlockDeviceMappings>\"\n}\n```\n\n## Exemple de requête cURL\n```bash\ncurl -X POST https://api.$OSC_REGION.outscale.com/api/v1/CreateVms \\\n --user $OSC_ACCESS_KEY:$OSC_SECRET_KEY \\\n --aws-sigv4 'osc' \\\n --header 'Content-Type: application/json' \\\n --data '{\"ImageId\": \"<AMI_ID>\", \"VmType\": \"tinav5.c1r1p2\", \"KeypairName\": \"<KEYPAIR_NAME>\", \"SecurityGroupIds\": [\"<SECURITY_GROUP_ID>\"], \"SubnetId\": \"<SUBNET_ID>\", \"UserData\": \"...\", \"BlockDeviceMappings\": [{\"DeviceName\": \"/dev/sda1\", \"Bsu\": {\"VolumeSize\": 15, \"VolumeType\": \"gp2\"}}, {\"DeviceName\": \"/dev/sdb\", \"Bsu\": {\"SnapshotId\": \"<SNAPSHOT_ID>\", \"VolumeSize\": 22, \"VolumeType\": \"io1\", \"Iops\": 150}}]}'\n```\n\n## ⚠️ Points importants\n1. Assurez-vous de fournir TOUS les paramètres marqués comme REQUIS\n2. Remplacez les placeholders (<YourXXX>) par vos valeurs\n3. Configurez vos variables d'environnement :\n - $OSC_REGION : votre région Outscale\n - $OSC_ACCESS_KEY : votre clé d'accès\n - $OSC_SECRET_KEY : votre clé secrète\n4. Les paramètres optionnels peuvent être omis", "prompt": "Ordres utilisateur possibles :\n1. Comment créer une machine virtuelle (minimal syntax) ?\n2. Quelles sont les étapes pour créer unVms avec un image spécifique ?\n3. Comment configurer un nouveauVms avec un image spécifique ?\n4. Comment créer une machine virtuelle in a net ?", "chosen": "curl -X POST https://api.$OSC_REGION.outscale.com/api/v1/CreateVms \\\n --user $OSC_ACCESS_KEY:$OSC_SECRET_KEY \\\n --aws-sigv4 'osc' \\\n --header 'Content-Type: application/json' \\\n --data '{\"ImageId\": \"<AMI_ID>\", \"VmType\": \"tinav5.c1r1p2\", \"KeypairName\": \"<KEYPAIR_NAME>\", \"SecurityGroupIds\": [\"<SECURITY_GROUP_ID>\"], \"SubnetId\": \"<SUBNET_ID>\", \"UserData\": \"...\", \"BlockDeviceMappings\": [{\"DeviceName\": \"/dev/sda1\", \"Bsu\": {\"VolumeSize\": 15, \"VolumeType\": \"gp2\"}}, {\"DeviceName\": \"/dev/sdb\", \"Bsu\": {\"SnapshotId\": \"<SNAPSHOT_ID>\", \"VolumeSize\": 22, \"VolumeType\": \"io1\", \"Iops\": 150}}]}'", "rejected": "curl -X POST https://api.$OSC_REGION.outscale.com/api/v1/CreateVms \\\n --user $OSC_ACCESS_KEY:$OSC_SECRET_KEY \\\n --aws-sigv4 'aws' \\\n --header 'Content-Type: application/json' \\\n --data '{\"ImageId\": \"<AMI_ID>\", \"VmType\": \"tinav5.c1r1p2\", \"KeypairName\": \"<KEYPAIR_NAME>\", \"SecurityGroupIds\": \"invalid-sg\", \"SubnetId\": \"<SUBNET_ID>\", \"UserData\": \"...\", \"BlockDeviceMappings\": [{\"DeviceName\": \"/dev/sda1\", \"Bsu\": {\"VolumeSize\": 15, \"VolumeType\": \"gp2\"}}, {\"DeviceName\": \"/dev/sdb\", \"Bsu\": {\"SnapshotId\": \"<SNAPSHOT_ID>\", \"VolumeSize\": 22, \"VolumeType\": \"io1\", \"Iops\": 150}}]}'", "example_name": "ex3"}
12
- {"instruction": "# Utilisation de l'endpoint API CreateVms\n\n## Description\nCette méthode permet de creating a vm avec des volumes de stockage attachés.\n\n## ⚠️ Paramètres obligatoires\nLes paramètres suivants sont REQUIS pour cette opération :\nAucun paramètre requis\n\n## Paramètres optionnels\nLes paramètres suivants peuvent être utilisés selon vos besoins :\n- `ImageId` : L'identifiant ImageId (ex: \"<OptionalImageId>\") (optionnel)\n- `VmType` : L'identifiant VmType (ex: \"<OptionalVmType>\") (optionnel)\n- `KeypairName` : L'identifiant KeypairName (ex: \"<OptionalKeypairName>\") (optionnel)\n- `SecurityGroupIds` : Liste de SecurityGroupIds (ex: [\"<YourSecurityGroupIdsItem1>\"]) (optionnel)\n- `SubnetId` : L'identifiant SubnetId (ex: \"<OptionalSubnetId>\") (optionnel)\n- `UserData` : L'identifiant UserData (ex: \"<OptionalUserData>\") (optionnel)\n- `BlockDeviceMappings` : Liste de BlockDeviceMappings (ex: [{\"DeviceName\": \"/dev/sda1\", \"Bsu\": {\"VolumeSize\": 15, \"VolumeType\": \"gp2\"}}, {\"DeviceName\": \"/dev/sdb\", \"Bsu\": {\"SnapshotId\": \"snap-12345678\", \"VolumeSize\": 22, \"VolumeType\": \"io1\", \"Iops\": 150}}]) (optionnel)\n\n## Configuration technique\n- **Endpoint** : `/CreateVms`\n- **Méthode HTTP** : `post`\n\n## En-têtes requis\n- `Content-Type: application/json`\n- `Authorization: AWS4-HMAC-SHA256 ...` (signature AWS v4)\n\n## Structure JSON avec placeholders\n```json\n{\n \"ImageId\": \"<OptionalImageId>\",\n \"VmType\": \"<OptionalVmType>\",\n \"KeypairName\": \"<OptionalKeypairName>\",\n \"SecurityGroupIds\": \"<OptionalSecurityGroupIds>\",\n \"SubnetId\": \"<OptionalSubnetId>\",\n \"UserData\": \"<OptionalUserData>\",\n \"BlockDeviceMappings\": \"<OptionalBlockDeviceMappings>\"\n}\n```\n\n## Exemple de requête cURL\n```bash\ncurl -X POST https://api.$OSC_REGION.outscale.com/api/v1/CreateVms \\\n --user $OSC_ACCESS_KEY:$OSC_SECRET_KEY \\\n --aws-sigv4 'osc' \\\n --header 'Content-Type: application/json' \\\n --data '{\"ImageId\": \"<AMI_ID>\", \"VmType\": \"tinav5.c1r1p2\", \"KeypairName\": \"<KEYPAIR_NAME>\", \"SecurityGroupIds\": [\"<SECURITY_GROUP_ID>\"], \"SubnetId\": \"<SUBNET_ID>\", \"UserData\": \"...\", \"BlockDeviceMappings\": [{\"DeviceName\": \"/dev/sda1\", \"Bsu\": {\"VolumeSize\": 15, \"VolumeType\": \"gp2\"}}, {\"DeviceName\": \"/dev/sdb\", \"Bsu\": {\"SnapshotId\": \"<SNAPSHOT_ID>\", \"VolumeSize\": 22, \"VolumeType\": \"io1\", \"Iops\": 150}}]}'\n```\n\n## ⚠️ Points importants\n1. Assurez-vous de fournir TOUS les paramètres marqués comme REQUIS\n2. Remplacez les placeholders (<YourXXX>) par vos valeurs\n3. Configurez vos variables d'environnement :\n - $OSC_REGION : votre région Outscale\n - $OSC_ACCESS_KEY : votre clé d'accès\n - $OSC_SECRET_KEY : votre clé secrète\n4. Les paramètres optionnels peuvent être omis", "prompt": "Ordres utilisateur possibles :\n1. Comment créer une machine virtuelle (minimal syntax) ?\n2. Quelles sont les étapes pour créer unVms avec un image spécifique ?\n3. Comment configurer un nouveauVms avec un image spécifique ?\n4. Comment créer une machine virtuelle in a net ?", "chosen": "curl -X POST https://api.$OSC_REGION.outscale.com/api/v1/CreateVms \\\n --user $OSC_ACCESS_KEY:$OSC_SECRET_KEY \\\n --aws-sigv4 'osc' \\\n --header 'Content-Type: application/json' \\\n --data '{\"ImageId\": \"<AMI_ID>\", \"VmType\": \"tinav5.c1r1p2\", \"KeypairName\": \"<KEYPAIR_NAME>\", \"SecurityGroupIds\": [\"<SECURITY_GROUP_ID>\"], \"SubnetId\": \"<SUBNET_ID>\", \"UserData\": \"...\", \"BlockDeviceMappings\": [{\"DeviceName\": \"/dev/sda1\", \"Bsu\": {\"VolumeSize\": 15, \"VolumeType\": \"gp2\"}}, {\"DeviceName\": \"/dev/sdb\", \"Bsu\": {\"SnapshotId\": \"<SNAPSHOT_ID>\", \"VolumeSize\": 22, \"VolumeType\": \"io1\", \"Iops\": 150}}]}'", "rejected": "curl -X POST https://api.$OSC_REGION.outscale.com/api/v1/CreateVms \\\n --user $OSC_ACCESS_KEY:$OSC_SECRET_KEY \\\n --aws-sigv4 'osc' \\\n --header 'Content-Type: application/json' \\\n --data '{ ,\"ImageId\": \"<AMI_ID>\", \"VmType\": \"tinav5.c1r1p2\", \"KeypairName\": \"<KEYPAIR_NAME>\", \"SecurityGroupIds\": [\"<SECURITY_GROUP_ID>\"], \"SubnetId\": \"<SUBNET_ID>\", \"UserData\": \"...\", \"BlockDeviceMappings\": [{\"DeviceName\": \"/dev/sda1\", \"Bsu\": {\"VolumeSize\": 15, \"VolumeType\": \"gp2\"}}, {\"DeviceName\": \"/dev/sdb\", \"Bsu\": {\"SnapshotId\": \"<SNAPSHOT_ID>\", \"VolumeSize\": 22, \"VolumeType\": \"io1\", \"Iops\": 150}}]}'", "example_name": "ex3"}
13
- {"instruction": "# Utilisation de l'endpoint API CreateVms\n\n## Description\nCette méthode permet de creating a vm with a nic.\n\n## ⚠️ Paramètres obligatoires\nLes paramètres suivants sont REQUIS pour cette opération :\nAucun paramètre requis\n\n## Paramètres optionnels\nLes paramètres suivants peuvent être utilisés selon vos besoins :\n- `ImageId` : L'identifiant ImageId (ex: \"<OptionalImageId>\") (optionnel)\n- `VmType` : L'identifiant VmType (ex: \"<OptionalVmType>\") (optionnel)\n- `KeypairName` : L'identifiant KeypairName (ex: \"<OptionalKeypairName>\") (optionnel)\n- `UserData` : L'identifiant UserData (ex: \"<OptionalUserData>\") (optionnel)\n- `Nics` : Liste de Nics (ex: [{\"DeviceNumber\": 0, \"NicId\": \"eni-12345678\"}]) (optionnel)\n\n## Configuration technique\n- **Endpoint** : `/CreateVms`\n- **Méthode HTTP** : `post`\n\n## En-têtes requis\n- `Content-Type: application/json`\n- `Authorization: AWS4-HMAC-SHA256 ...` (signature AWS v4)\n\n## Structure JSON avec placeholders\n```json\n{\n \"ImageId\": \"<OptionalImageId>\",\n \"VmType\": \"<OptionalVmType>\",\n \"KeypairName\": \"<OptionalKeypairName>\",\n \"UserData\": \"<OptionalUserData>\",\n \"Nics\": \"<OptionalNics>\"\n}\n```\n\n## Exemple de requête cURL\n```bash\ncurl -X POST https://api.$OSC_REGION.outscale.com/api/v1/CreateVms \\\n --user $OSC_ACCESS_KEY:$OSC_SECRET_KEY \\\n --aws-sigv4 'osc' \\\n --header 'Content-Type: application/json' \\\n --data '{\"ImageId\": \"<AMI_ID>\", \"VmType\": \"tinav5.c1r1p2\", \"KeypairName\": \"<KEYPAIR_NAME>\", \"UserData\": \"...\", \"Nics\": [{\"DeviceNumber\": 0, \"NicId\": \"<NIC_ID>\"}]}'\n```\n\n## ⚠️ Points importants\n1. Assurez-vous de fournir TOUS les paramètres marqués comme REQUIS\n2. Remplacez les placeholders (<YourXXX>) par vos valeurs\n3. Configurez vos variables d'environnement :\n - $OSC_REGION : votre région Outscale\n - $OSC_ACCESS_KEY : votre clé d'accès\n - $OSC_SECRET_KEY : votre clé secrète\n4. Les paramètres optionnels peuvent être omis", "prompt": "Ordres utilisateur possibles :\n1. Comment créer une machine virtuelle (minimal syntax) ?\n2. Quelles sont les étapes pour créer unVms avec un image spécifique ?\n3. Comment configurer un nouveauVms avec un image spécifique ?\n4. Comment créer une machine virtuelle in a net ?", "chosen": "curl -X POST https://api.$OSC_REGION.outscale.com/api/v1/CreateVms \\\n --user $OSC_ACCESS_KEY:$OSC_SECRET_KEY \\\n --aws-sigv4 'osc' \\\n --header 'Content-Type: application/json' \\\n --data '{\"ImageId\": \"<AMI_ID>\", \"VmType\": \"tinav5.c1r1p2\", \"KeypairName\": \"<KEYPAIR_NAME>\", \"UserData\": \"...\", \"Nics\": [{\"DeviceNumber\": 0, \"NicId\": \"<NIC_ID>\"}]}'", "rejected": "curl -X POST https://api.$OSC_REGION.outscale.com/api/v1/CreateVms \\\n --user $OSC_ACCESS_KEY:$OSC_SECRET_KEY \\\n --aws-sigv4 'osc' \\\n --data '{\"ImageId\": \"<AMI_ID>\", \"VmType\": \"tinav5.c1r1p2\", \"KeypairName\": \"<KEYPAIR_NAME>\", \"UserData\": \"...\", \"Nics\": [{\"DeviceNumber\": 0, \"NicId\": \"<NIC_ID>\"}]}'", "example_name": "ex4"}
14
- {"instruction": "# Utilisation de l'endpoint API CreateVms\n\n## Description\nCette méthode permet de creating a vm with a nic.\n\n## ⚠️ Paramètres obligatoires\nLes paramètres suivants sont REQUIS pour cette opération :\nAucun paramètre requis\n\n## Paramètres optionnels\nLes paramètres suivants peuvent être utilisés selon vos besoins :\n- `ImageId` : L'identifiant ImageId (ex: \"<OptionalImageId>\") (optionnel)\n- `VmType` : L'identifiant VmType (ex: \"<OptionalVmType>\") (optionnel)\n- `KeypairName` : L'identifiant KeypairName (ex: \"<OptionalKeypairName>\") (optionnel)\n- `UserData` : L'identifiant UserData (ex: \"<OptionalUserData>\") (optionnel)\n- `Nics` : Liste de Nics (ex: [{\"DeviceNumber\": 0, \"NicId\": \"eni-12345678\"}]) (optionnel)\n- `ImageId` : L'identifiant ImageId (ex: \"<OptionalImageId>\") (optionnel)\n- `VmType` : L'identifiant VmType (ex: \"<OptionalVmType>\") (optionnel)\n- `KeypairName` : L'identifiant KeypairName (ex: \"<OptionalKeypairName>\") (optionnel)\n- `UserData` : L'identifiant UserData (ex: \"<OptionalUserData>\") (optionnel)\n- `Nics` : Liste de Nics (ex: [{\"DeviceNumber\": 0, \"NicId\": \"eni-12345678\"}]) (optionnel)\n\n## Configuration technique\n- **Endpoint** : `/CreateVms`\n- **Méthode HTTP** : `post`\n\n## En-têtes requis\n- `Content-Type: application/json`\n- `Authorization: AWS4-HMAC-SHA256 ...` (signature AWS v4)\n\n## Structure JSON avec placeholders\n```json\n{\n \"ImageId\": \"<OptionalImageId>\",\n \"VmType\": \"<OptionalVmType>\",\n \"KeypairName\": \"<OptionalKeypairName>\",\n \"UserData\": \"<OptionalUserData>\",\n \"Nics\": \"<OptionalNics>\"\n}\n```\n\n## Exemple de requête cURL\n```bash\ncurl -X POST https://api.$OSC_REGION.outscale.com/api/v1/CreateVms \\\n --user $OSC_ACCESS_KEY:$OSC_SECRET_KEY \\\n --aws-sigv4 'osc' \\\n --header 'Content-Type: application/json' \\\n --data '{\"ImageId\": \"<AMI_ID>\", \"VmType\": \"tinav5.c1r1p2\", \"KeypairName\": \"<KEYPAIR_NAME>\", \"UserData\": \"...\", \"Nics\": [{\"DeviceNumber\": 0, \"NicId\": \"<NIC_ID>\"}]}'\n```\n\n## ⚠️ Points importants\n1. Assurez-vous de fournir TOUS les paramètres marqués comme REQUIS\n2. Remplacez les placeholders (<YourXXX>) par vos valeurs\n3. Configurez vos variables d'environnement :\n - $OSC_REGION : votre région Outscale\n - $OSC_ACCESS_KEY : votre clé d'accès\n - $OSC_SECRET_KEY : votre clé secrète\n4. Les paramètres optionnels peuvent être omis", "prompt": "Ordres utilisateur possibles :\n1. Comment créer une machine virtuelle (minimal syntax) ?\n2. Quelles sont les étapes pour créer unVms avec un image spécifique ?\n3. Comment configurer un nouveauVms avec un image spécifique ?\n4. Comment créer une machine virtuelle in a net ?", "chosen": "curl -X POST https://api.$OSC_REGION.outscale.com/api/v1/CreateVms \\\n --user $OSC_ACCESS_KEY:$OSC_SECRET_KEY \\\n --aws-sigv4 'osc' \\\n --header 'Content-Type: application/json' \\\n --data '{\"ImageId\": \"<AMI_ID>\", \"VmType\": \"tinav5.c1r1p2\", \"KeypairName\": \"<KEYPAIR_NAME>\", \"UserData\": \"...\", \"Nics\": [{\"DeviceNumber\": 0, \"NicId\": \"<NIC_ID>\"}]}'", "rejected": "curl -X POST https://api.$OSC_REGION.outscale.com/api/v1/CreateVms \\\n --user $OSC_ACCESS_KEY:$OSC_SECRET_KEY \\\n --aws-sigv4 'aws' \\\n --header 'Content-Type: text/plain' \\\n --data '{\"ImageId\": \"<AMI_ID>\", \"VmType\": \"tinav5.c1r1p2\", \"KeypairName\": \"<KEYPAIR_NAME>\", \"UserData\": \"...\", \"Nics\": [{\"DeviceNumber\": 0, \"NicId\": \"<NIC_ID>\"}]}'", "example_name": "ex4"}
15
- {"instruction": "# Utilisation de l'endpoint API CreateVms\n\n## Description\nCette méthode permet de creating a vm with a nic.\n\n## ⚠️ Paramètres obligatoires\nLes paramètres suivants sont REQUIS pour cette opération :\nAucun paramètre requis\n\n## Paramètres optionnels\nLes paramètres suivants peuvent être utilisés selon vos besoins :\n- `ImageId` : L'identifiant ImageId (ex: \"<OptionalImageId>\") (optionnel)\n- `VmType` : L'identifiant VmType (ex: \"<OptionalVmType>\") (optionnel)\n- `KeypairName` : L'identifiant KeypairName (ex: \"<OptionalKeypairName>\") (optionnel)\n- `UserData` : L'identifiant UserData (ex: \"<OptionalUserData>\") (optionnel)\n- `Nics` : Liste de Nics (ex: [{\"DeviceNumber\": 0, \"NicId\": \"eni-12345678\"}]) (optionnel)\n\n## Configuration technique\n- **Endpoint** : `/CreateVms`\n- **Méthode HTTP** : `post`\n\n## En-têtes requis\n- `Content-Type: application/json`\n- `Authorization: AWS4-HMAC-SHA256 ...` (signature AWS v4)\n\n## Structure JSON avec placeholders\n```json\n{\n \"ImageId\": \"<OptionalImageId>\",\n \"VmType\": \"<OptionalVmType>\",\n \"KeypairName\": \"<OptionalKeypairName>\",\n \"UserData\": \"<OptionalUserData>\",\n \"Nics\": \"<OptionalNics>\"\n}\n```\n\n## Exemple de requête cURL\n```bash\ncurl -X POST https://api.$OSC_REGION.outscale.com/api/v1/CreateVms \\\n --user $OSC_ACCESS_KEY:$OSC_SECRET_KEY \\\n --aws-sigv4 'osc' \\\n --header 'Content-Type: application/json' \\\n --data '{\"ImageId\": \"<AMI_ID>\", \"VmType\": \"tinav5.c1r1p2\", \"KeypairName\": \"<KEYPAIR_NAME>\", \"UserData\": \"...\", \"Nics\": [{\"DeviceNumber\": 0, \"NicId\": \"<NIC_ID>\"}]}'\n```\n\n## ⚠️ Points importants\n1. Assurez-vous de fournir TOUS les paramètres marqués comme REQUIS\n2. Remplacez les placeholders (<YourXXX>) par vos valeurs\n3. Configurez vos variables d'environnement :\n - $OSC_REGION : votre région Outscale\n - $OSC_ACCESS_KEY : votre clé d'accès\n - $OSC_SECRET_KEY : votre clé secrète\n4. Les paramètres optionnels peuvent être omis", "prompt": "Ordres utilisateur possibles :\n1. Comment créer une machine virtuelle (minimal syntax) ?\n2. Quelles sont les étapes pour créer unVms avec un image spécifique ?\n3. Comment configurer un nouveauVms avec un image spécifique ?\n4. Comment créer une machine virtuelle in a net ?", "chosen": "curl -X POST https://api.$OSC_REGION.outscale.com/api/v1/CreateVms \\\n --user $OSC_ACCESS_KEY:$OSC_SECRET_KEY \\\n --aws-sigv4 'osc' \\\n --header 'Content-Type: application/json' \\\n --data '{\"ImageId\": \"<AMI_ID>\", \"VmType\": \"tinav5.c1r1p2\", \"KeypairName\": \"<KEYPAIR_NAME>\", \"UserData\": \"...\", \"Nics\": [{\"DeviceNumber\": 0, \"NicId\": \"<NIC_ID>\"}]}'", "rejected": "curl -X POST https://api.$OSC_REGION.outscale.com/api/v1/CreateVms \\\n --user wrong_access_key:wrong_secret_key \\\n --aws-sigv4 'osc' \\\n --header 'Content-Type: text/plain' \\\n --data '{\"ImageId\": \"<AMI_ID>\", \"VmType\": \"tinav5.c1r1p2\", \"KeypairName\": \"<KEYPAIR_NAME>\", \"UserData\": \"...\", \"Nics\": [{\"DeviceNumber\": 0, \"NicId\": \"<NIC_ID>\"}]}'", "example_name": "ex4"}
 
1
+ {"instruction": "# Utilisation de l'endpoint API CheckAuthentication\n\n## Description\nCette méthode permet de interagir avec l'API Outscale.\n\n## ⚠️ Paramètres obligatoires\nLes paramètres suivants sont REQUIS pour cette opération :\nAucun paramètre requis\n\n## Paramètres optionnels\nLes paramètres suivants peuvent être utilisés selon vos besoins :\n- `Login` : L'identifiant Login (ex: \"<OptionalLogin>\") (optionnel)\n- `Password` : L'identifiant Password (ex: \"<OptionalPassword>\") (optionnel)\n\n## Configuration technique\n- **Endpoint** : `/CheckAuthentication`\n- **Méthode HTTP** : `post`\n\n## En-têtes requis\n- `Content-Type: application/json`\n- `Authorization: AWS4-HMAC-SHA256 ...` (signature AWS v4)\n\n## Structure JSON avec placeholders\n```json\n{\n \"Login\": \"<OptionalLogin>\",\n \"Password\": \"<OptionalPassword>\"\n}\n```\n\n## Exemple de requête cURL\n```bash\ncurl -X POST https://api.$OSC_REGION.outscale.com/api/v1/CheckAuthentication \\\n --user $OSC_ACCESS_KEY:$OSC_SECRET_KEY \\\n --aws-sigv4 'osc' \\\n --header 'Content-Type: application/json' \\\n --data '{\"Login\": \"[email protected]\", \"Password\": \"$OSC_PASSWORD\"}'\n```\n\n## ⚠️ Points importants\n1. Assurez-vous de fournir TOUS les paramètres marqués comme REQUIS\n2. Remplacez les placeholders (<YourXXX>) par vos valeurs\n3. Configurez vos variables d'environnement :\n - $OSC_REGION : votre région Outscale\n - $OSC_ACCESS_KEY : votre clé d'accès\n - $OSC_SECRET_KEY : votre clé secrète\n4. Les paramètres optionnels peuvent être omis", "prompt": "Ordres utilisateur possibles :\n1. Comment utiliser l'endpoint CheckAuthentication ?\n2. Quelle est la procédure pour Check Authentication ?\n3. Comment exécuter l'opération Check Authentication ?\n4. Quelles sont les étapes pour Check Authentication ?", "chosen": "curl -X POST https://api.$OSC_REGION.outscale.com/api/v1/CheckAuthentication \\\n --user $OSC_ACCESS_KEY:$OSC_SECRET_KEY \\\n --aws-sigv4 'osc' \\\n --header 'Content-Type: application/json' \\\n --data '{\"Login\": \"[email protected]\", \"Password\": \"$OSC_PASSWORD\"}'", "rejected": "curl -X GET https://api.$OSC_REGION.outscale.com/api/v1/CheckAuthentication \\\n --user $OSC_ACCESS_KEY:$OSC_SECRET_KEY \\\n --aws-sigv4 'aws' \\\n --header 'Content-Type: application/json' \\\n --data '{\"Login\": \"[email protected]\", \"Password\": \"$OSC_PASSWORD\"}'", "example_name": "ex1"}
2
+ {"instruction": "# Utilisation de l'endpoint API CheckAuthentication\n\n## Description\nCette méthode permet de interagir avec l'API Outscale.\n\n## ⚠️ Paramètres obligatoires\nLes paramètres suivants sont REQUIS pour cette opération :\nAucun paramètre requis\n\n## Paramètres optionnels\nLes paramètres suivants peuvent être utilisés selon vos besoins :\n- `Login` : L'identifiant Login (ex: \"<OptionalLogin>\") (optionnel)\n- `Password` : L'identifiant Password (ex: \"<OptionalPassword>\") (optionnel)\n- `Login` : L'identifiant Login (ex: \"<OptionalLogin>\") (optionnel)\n- `Password` : L'identifiant Password (ex: \"<OptionalPassword>\") (optionnel)\n\n## Configuration technique\n- **Endpoint** : `/CheckAuthentication`\n- **Méthode HTTP** : `post`\n\n## En-têtes requis\n- `Content-Type: application/json`\n- `Authorization: AWS4-HMAC-SHA256 ...` (signature AWS v4)\n\n## Structure JSON avec placeholders\n```json\n{\n \"Login\": \"<OptionalLogin>\",\n \"Password\": \"<OptionalPassword>\"\n}\n```\n\n## Exemple de requête cURL\n```bash\ncurl -X POST https://api.$OSC_REGION.outscale.com/api/v1/CheckAuthentication \\\n --user $OSC_ACCESS_KEY:$OSC_SECRET_KEY \\\n --aws-sigv4 'osc' \\\n --header 'Content-Type: application/json' \\\n --data '{\"Login\": \"[email protected]\", \"Password\": \"$OSC_PASSWORD\"}'\n```\n\n## ⚠️ Points importants\n1. Assurez-vous de fournir TOUS les paramètres marqués comme REQUIS\n2. Remplacez les placeholders (<YourXXX>) par vos valeurs\n3. Configurez vos variables d'environnement :\n - $OSC_REGION : votre région Outscale\n - $OSC_ACCESS_KEY : votre clé d'accès\n - $OSC_SECRET_KEY : votre clé secrète\n4. Les paramètres optionnels peuvent être omis", "prompt": "Ordres utilisateur possibles :\n1. Comment utiliser l'endpoint CheckAuthentication ?\n2. Quelle est la procédure pour Check Authentication ?\n3. Comment exécuter l'opération Check Authentication ?\n4. Quelles sont les étapes pour Check Authentication ?", "chosen": "curl -X POST https://api.$OSC_REGION.outscale.com/api/v1/CheckAuthentication \\\n --user $OSC_ACCESS_KEY:$OSC_SECRET_KEY \\\n --aws-sigv4 'osc' \\\n --header 'Content-Type: application/json' \\\n --data '{\"Login\": \"[email protected]\", \"Password\": \"$OSC_PASSWORD\"}'", "rejected": "curl -X POST https://api.$OSC_REGION.outscale.com/api/v1/CheckAuthentication \\\n --user $OSC_ACCESS_KEY:$OSC_SECRET_KEY \\\n --aws-sigv4 'osc' \\\n --data '{\"Login\": \"[email protected]\", \"Password\": \"$OSC_PASSWORD\"}'", "example_name": "ex1"}
3
  {"instruction": "# Utilisation de l'endpoint API CheckAuthentication\n\n## Description\nCette méthode permet de interagir avec l'API Outscale.\n\n## ⚠️ Paramètres obligatoires\nLes paramètres suivants sont REQUIS pour cette opération :\nAucun paramètre requis\n\n## Paramètres optionnels\nLes paramètres suivants peuvent être utilisés selon vos besoins :\n- `Login` : L'identifiant Login (ex: \"<OptionalLogin>\") (optionnel)\n- `Password` : L'identifiant Password (ex: \"<OptionalPassword>\") (optionnel)\n\n## Configuration technique\n- **Endpoint** : `/CheckAuthentication`\n- **Méthode HTTP** : `post`\n\n## En-têtes requis\n- `Content-Type: application/json`\n- `Authorization: AWS4-HMAC-SHA256 ...` (signature AWS v4)\n\n## Structure JSON avec placeholders\n```json\n{\n \"Login\": \"<OptionalLogin>\",\n \"Password\": \"<OptionalPassword>\"\n}\n```\n\n## Exemple de requête cURL\n```bash\ncurl -X POST https://api.$OSC_REGION.outscale.com/api/v1/CheckAuthentication \\\n --user $OSC_ACCESS_KEY:$OSC_SECRET_KEY \\\n --aws-sigv4 'osc' \\\n --header 'Content-Type: application/json' \\\n --data '{\"Login\": \"[email protected]\", \"Password\": \"$OSC_PASSWORD\"}'\n```\n\n## ⚠️ Points importants\n1. Assurez-vous de fournir TOUS les paramètres marqués comme REQUIS\n2. Remplacez les placeholders (<YourXXX>) par vos valeurs\n3. Configurez vos variables d'environnement :\n - $OSC_REGION : votre région Outscale\n - $OSC_ACCESS_KEY : votre clé d'accès\n - $OSC_SECRET_KEY : votre clé secrète\n4. Les paramètres optionnels peuvent être omis", "prompt": "Ordres utilisateur possibles :\n1. Comment utiliser l'endpoint CheckAuthentication ?\n2. Quelle est la procédure pour Check Authentication ?\n3. Comment exécuter l'opération Check Authentication ?\n4. Quelles sont les étapes pour Check Authentication ?", "chosen": "curl -X POST https://api.$OSC_REGION.outscale.com/api/v1/CheckAuthentication \\\n --user $OSC_ACCESS_KEY:$OSC_SECRET_KEY \\\n --aws-sigv4 'osc' \\\n --header 'Content-Type: application/json' \\\n --data '{\"Login\": \"[email protected]\", \"Password\": \"$OSC_PASSWORD\"}'", "rejected": "curl -X POST https://api.$OSC_REGION.outscale.com/api/v1/CheckAuthentication \\\n --user $OSC_ACCESS_KEY:$OSC_SECRET_KEY \\\n --aws-sigv4 'osc' \\\n --data '{\"Login\": \"[email protected]\", \"Password\": \"$OSC_PASSWORD\"}'", "example_name": "ex1"}
4
+ {"instruction": "# Utilisation de l'endpoint API CreateVms\n\n## Description\nCette méthode permet de creating a vm (minimal syntax).\n\n## ⚠️ Paramètres obligatoires\nLes paramètres suivants sont REQUIS pour cette opération :\nAucun paramètre requis\n\n## Paramètres optionnels\nLes paramètres suivants peuvent être utilisés selon vos besoins :\n- `ImageId` : L'identifiant ImageId (ex: \"<OptionalImageId>\") (optionnel)\n\n## Configuration technique\n- **Endpoint** : `/CreateVms`\n- **Méthode HTTP** : `post`\n\n## En-têtes requis\n- `Content-Type: application/json`\n- `Authorization: AWS4-HMAC-SHA256 ...` (signature AWS v4)\n\n## Structure JSON avec placeholders\n```json\n{\n \"ImageId\": \"<OptionalImageId>\"\n}\n```\n\n## Exemple de requête cURL\n```bash\ncurl -X POST https://api.$OSC_REGION.outscale.com/api/v1/CreateVms \\\n --user $OSC_ACCESS_KEY:$OSC_SECRET_KEY \\\n --aws-sigv4 'osc' \\\n --header 'Content-Type: application/json' \\\n --data '{\"ImageId\": \"ami-12345678\"}'\n```\n\n## ⚠️ Points importants\n1. Assurez-vous de fournir TOUS les paramètres marqués comme REQUIS\n2. Remplacez les placeholders (<YourXXX>) par vos valeurs\n3. Configurez vos variables d'environnement :\n - $OSC_REGION : votre région Outscale\n - $OSC_ACCESS_KEY : votre clé d'accès\n - $OSC_SECRET_KEY : votre clé secrète\n4. Les paramètres optionnels peuvent être omis", "prompt": "Ordres utilisateur possibles :\n1. Comment creating a vm (minimal syntax) ?\n2. Quelles sont les étapes pour créer unVms avec ImageId spécifique ?\n3. Comment configurer un nouveauVms avec ImageId spécifique ?\n4. Comment creating a vm in a net ?", "chosen": "curl -X POST https://api.$OSC_REGION.outscale.com/api/v1/CreateVms \\\n --user $OSC_ACCESS_KEY:$OSC_SECRET_KEY \\\n --aws-sigv4 'osc' \\\n --header 'Content-Type: application/json' \\\n --data '{\"ImageId\": \"ami-12345678\"}'", "rejected": "curl -X POST https://api.$OSC_REGION.outscale.com/api/v1/CreateVms \\\n --user $OSC_ACCESS_KEY:$OSC_SECRET_KEY \\\n --aws-sigv4 'aws' \\\n --header 'Content-Type: application/json' \\\n --data '{ ,\n\"ImageId\": \"ami-12345678\"}'", "example_name": "ex1"}
5
+ {"instruction": "# Utilisation de l'endpoint API CreateVms\n\n## Description\nCette méthode permet de creating a vm (minimal syntax).\n\n## ⚠️ Paramètres obligatoires\nLes paramètres suivants sont REQUIS pour cette opération :\nAucun paramètre requis\n\n## Paramètres optionnels\nLes paramètres suivants peuvent être utilisés selon vos besoins :\n- `ImageId` : L'identifiant ImageId (ex: \"<OptionalImageId>\") (optionnel)\n- `ImageId` : L'identifiant ImageId (ex: \"<OptionalImageId>\") (optionnel)\n\n## Configuration technique\n- **Endpoint** : `/CreateVms`\n- **Méthode HTTP** : `post`\n\n## En-têtes requis\n- `Content-Type: application/json`\n- `Authorization: AWS4-HMAC-SHA256 ...` (signature AWS v4)\n\n## Structure JSON avec placeholders\n```json\n{\n \"ImageId\": \"<OptionalImageId>\"\n}\n```\n\n## Exemple de requête cURL\n```bash\ncurl -X POST https://api.$OSC_REGION.outscale.com/api/v1/CreateVms \\\n --user $OSC_ACCESS_KEY:$OSC_SECRET_KEY \\\n --aws-sigv4 'osc' \\\n --header 'Content-Type: application/json' \\\n --data '{\"ImageId\": \"ami-12345678\"}'\n```\n\n## ⚠️ Points importants\n1. Assurez-vous de fournir TOUS les paramètres marqués comme REQUIS\n2. Remplacez les placeholders (<YourXXX>) par vos valeurs\n3. Configurez vos variables d'environnement :\n - $OSC_REGION : votre région Outscale\n - $OSC_ACCESS_KEY : votre clé d'accès\n - $OSC_SECRET_KEY : votre clé secrète\n4. Les paramètres optionnels peuvent être omis", "prompt": "Ordres utilisateur possibles :\n1. Comment creating a vm (minimal syntax) ?\n2. Quelles sont les étapes pour créer unVms avec ImageId spécifique ?\n3. Comment configurer un nouveauVms avec ImageId spécifique ?\n4. Comment creating a vm in a net ?", "chosen": "curl -X POST https://api.$OSC_REGION.outscale.com/api/v1/CreateVms \\\n --user $OSC_ACCESS_KEY:$OSC_SECRET_KEY \\\n --aws-sigv4 'osc' \\\n --header 'Content-Type: application/json' \\\n --data '{\"ImageId\": \"ami-12345678\"}'", "rejected": "curl -X POST https://api.$OSC_REGION.outscale.com/api/v1/CreateVms \\\n --user $OSC_ACCESS_KEY:$OSC_SECRET_KEY \\\n --aws-sigv4 'aws' \\\n --header 'Content-Type: application/json' \\\n --data '{ ,\n\"ImageId\": \"wrong-image-id\"}'", "example_name": "ex1"}
6
+ {"instruction": "# Utilisation de l'endpoint API CreateVms\n\n## Description\nCette méthode permet de creating a vm (minimal syntax).\n\n## ⚠️ Paramètres obligatoires\nLes paramètres suivants sont REQUIS pour cette opération :\nAucun paramètre requis\n\n## Paramètres optionnels\nLes paramètres suivants peuvent être utilisés selon vos besoins :\n- `ImageId` : L'identifiant ImageId (ex: \"<OptionalImageId>\") (optionnel)\n\n## Configuration technique\n- **Endpoint** : `/CreateVms`\n- **Méthode HTTP** : `post`\n\n## En-têtes requis\n- `Content-Type: application/json`\n- `Authorization: AWS4-HMAC-SHA256 ...` (signature AWS v4)\n\n## Structure JSON avec placeholders\n```json\n{\n \"ImageId\": \"<OptionalImageId>\"\n}\n```\n\n## Exemple de requête cURL\n```bash\ncurl -X POST https://api.$OSC_REGION.outscale.com/api/v1/CreateVms \\\n --user $OSC_ACCESS_KEY:$OSC_SECRET_KEY \\\n --aws-sigv4 'osc' \\\n --header 'Content-Type: application/json' \\\n --data '{\"ImageId\": \"ami-12345678\"}'\n```\n\n## ⚠️ Points importants\n1. Assurez-vous de fournir TOUS les paramètres marqués comme REQUIS\n2. Remplacez les placeholders (<YourXXX>) par vos valeurs\n3. Configurez vos variables d'environnement :\n - $OSC_REGION : votre région Outscale\n - $OSC_ACCESS_KEY : votre clé d'accès\n - $OSC_SECRET_KEY : votre clé secrète\n4. Les paramètres optionnels peuvent être omis", "prompt": "Ordres utilisateur possibles :\n1. Comment creating a vm (minimal syntax) ?\n2. Quelles sont les étapes pour créer unVms avec ImageId spécifique ?\n3. Comment configurer un nouveauVms avec ImageId spécifique ?\n4. Comment creating a vm in a net ?", "chosen": "curl -X POST https://api.$OSC_REGION.outscale.com/api/v1/CreateVms \\\n --user $OSC_ACCESS_KEY:$OSC_SECRET_KEY \\\n --aws-sigv4 'osc' \\\n --header 'Content-Type: application/json' \\\n --data '{\"ImageId\": \"ami-12345678\"}'", "rejected": "curl -X POST https://api.$OSC_REGION.outscale.com/api/v1/CreateVms \\\n --user $OSC_ACCESS_KEY:$OSC_SECRET_KEY \\\n --aws-sigv4 'osc' \\\n --header 'Content-Type: application/json' \\\n --data '{\"ImageId\": \"wrong-image-id\"}'", "example_name": "ex1"}
7
+ {"instruction": "# Utilisation de l'endpoint API CreateVms\n\n## Description\nCette méthode permet de creating a vm in a net.\n\n## ⚠️ Paramètres obligatoires\nLes paramètres suivants sont REQUIS pour cette opération :\nAucun paramètre requis\n\n## Paramètres optionnels\nLes paramètres suivants peuvent être utilisés selon vos besoins :\n- `ImageId` : L'identifiant ImageId (ex: \"<OptionalImageId>\") (optionnel)\n- `VmType` : L'identifiant VmType (ex: \"<OptionalVmType>\") (optionnel)\n- `KeypairName` : L'identifiant KeypairName (ex: \"<OptionalKeypairName>\") (optionnel)\n- `SecurityGroupIds` : Liste de SecurityGroupIds (ex: [\"<YourSecurityGroupIdsItem1>\"]) (optionnel)\n- `SubnetId` : L'identifiant SubnetId (ex: \"<OptionalSubnetId>\") (optionnel)\n- `UserData` : L'identifiant UserData (ex: \"<OptionalUserData>\") (optionnel)\n\n## Configuration technique\n- **Endpoint** : `/CreateVms`\n- **Méthode HTTP** : `post`\n\n## En-têtes requis\n- `Content-Type: application/json`\n- `Authorization: AWS4-HMAC-SHA256 ...` (signature AWS v4)\n\n## Structure JSON avec placeholders\n```json\n{\n \"ImageId\": \"<OptionalImageId>\",\n \"VmType\": \"<OptionalVmType>\",\n \"KeypairName\": \"<OptionalKeypairName>\",\n \"SecurityGroupIds\": \"<OptionalSecurityGroupIds>\",\n \"SubnetId\": \"<OptionalSubnetId>\",\n \"UserData\": \"<OptionalUserData>\"\n}\n```\n\n## Exemple de requête cURL\n```bash\ncurl -X POST https://api.$OSC_REGION.outscale.com/api/v1/CreateVms \\\n --user $OSC_ACCESS_KEY:$OSC_SECRET_KEY \\\n --aws-sigv4 'osc' \\\n --header 'Content-Type: application/json' \\\n --data '{\"ImageId\": \"ami-12345678\", \"VmType\": \"tinav5.c1r1p2\", \"KeypairName\": \"keypair-example\", \"SecurityGroupIds\": [\"sg-12345678\"], \"SubnetId\": \"subnet-12345678\", \"UserData\": \"...\"}'\n```\n\n## ⚠️ Points importants\n1. Assurez-vous de fournir TOUS les paramètres marqués comme REQUIS\n2. Remplacez les placeholders (<YourXXX>) par vos valeurs\n3. Configurez vos variables d'environnement :\n - $OSC_REGION : votre région Outscale\n - $OSC_ACCESS_KEY : votre clé d'accès\n - $OSC_SECRET_KEY : votre clé secrète\n4. Les paramètres optionnels peuvent être omis", "prompt": "Ordres utilisateur possibles :\n1. Comment creating a vm (minimal syntax) ?\n2. Quelles sont les étapes pour créer unVms avec ImageId spécifique ?\n3. Comment configurer un nouveauVms avec ImageId spécifique ?\n4. Comment creating a vm in a net ?", "chosen": "curl -X POST https://api.$OSC_REGION.outscale.com/api/v1/CreateVms \\\n --user $OSC_ACCESS_KEY:$OSC_SECRET_KEY \\\n --aws-sigv4 'osc' \\\n --header 'Content-Type: application/json' \\\n --data '{\"ImageId\": \"ami-12345678\", \"VmType\": \"tinav5.c1r1p2\", \"KeypairName\": \"keypair-example\", \"SecurityGroupIds\": [\"sg-12345678\"], \"SubnetId\": \"subnet-12345678\", \"UserData\": \"...\"}'", "rejected": "curl -X GET https://api.$OSC_REGION.outscale.com/api/v1/CreateVms \\\n --user $OSC_ACCESS_KEY:$OSC_SECRET_KEY \\\n --aws-sigv4 'osc' \\\n --header 'Content-Type: application/json' \\\n --data '{\"ImageId\": \"ami-12345678\", \"VmType\": \"tinav5.c1r1p2\", \"KeypairName\": \"keypair-example\", \"SecurityGroupIds\": [\"sg-12345678\"], \"SubnetId\": \"subnet-12345678\", \"UserData\": \"...\"}'", "example_name": "ex2"}
8
+ {"instruction": "# Utilisation de l'endpoint API CreateVms\n\n## Description\nCette méthode permet de creating a vm in a net.\n\n## ⚠️ Paramètres obligatoires\nLes paramètres suivants sont REQUIS pour cette opération :\nAucun paramètre requis\n\n## Paramètres optionnels\nLes paramètres suivants peuvent être utilisés selon vos besoins :\n- `ImageId` : L'identifiant ImageId (ex: \"<OptionalImageId>\") (optionnel)\n- `VmType` : L'identifiant VmType (ex: \"<OptionalVmType>\") (optionnel)\n- `KeypairName` : L'identifiant KeypairName (ex: \"<OptionalKeypairName>\") (optionnel)\n- `SecurityGroupIds` : Liste de SecurityGroupIds (ex: [\"<YourSecurityGroupIdsItem1>\"]) (optionnel)\n- `SubnetId` : L'identifiant SubnetId (ex: \"<OptionalSubnetId>\") (optionnel)\n- `UserData` : L'identifiant UserData (ex: \"<OptionalUserData>\") (optionnel)\n- `ImageId` : L'identifiant ImageId (ex: \"<OptionalImageId>\") (optionnel)\n- `VmType` : L'identifiant VmType (ex: \"<OptionalVmType>\") (optionnel)\n- `KeypairName` : L'identifiant KeypairName (ex: \"<OptionalKeypairName>\") (optionnel)\n- `SecurityGroupIds` : Liste de SecurityGroupIds (ex: [\"<YourSecurityGroupIdsItem1>\"]) (optionnel)\n- `SubnetId` : L'identifiant SubnetId (ex: \"<OptionalSubnetId>\") (optionnel)\n- `UserData` : L'identifiant UserData (ex: \"<OptionalUserData>\") (optionnel)\n\n## Configuration technique\n- **Endpoint** : `/CreateVms`\n- **Méthode HTTP** : `post`\n\n## En-têtes requis\n- `Content-Type: application/json`\n- `Authorization: AWS4-HMAC-SHA256 ...` (signature AWS v4)\n\n## Structure JSON avec placeholders\n```json\n{\n \"ImageId\": \"<OptionalImageId>\",\n \"VmType\": \"<OptionalVmType>\",\n \"KeypairName\": \"<OptionalKeypairName>\",\n \"SecurityGroupIds\": \"<OptionalSecurityGroupIds>\",\n \"SubnetId\": \"<OptionalSubnetId>\",\n \"UserData\": \"<OptionalUserData>\"\n}\n```\n\n## Exemple de requête cURL\n```bash\ncurl -X POST https://api.$OSC_REGION.outscale.com/api/v1/CreateVms \\\n --user $OSC_ACCESS_KEY:$OSC_SECRET_KEY \\\n --aws-sigv4 'osc' \\\n --header 'Content-Type: application/json' \\\n --data '{\"ImageId\": \"ami-12345678\", \"VmType\": \"tinav5.c1r1p2\", \"KeypairName\": \"keypair-example\", \"SecurityGroupIds\": [\"sg-12345678\"], \"SubnetId\": \"subnet-12345678\", \"UserData\": \"...\"}'\n```\n\n## ⚠️ Points importants\n1. Assurez-vous de fournir TOUS les paramètres marqués comme REQUIS\n2. Remplacez les placeholders (<YourXXX>) par vos valeurs\n3. Configurez vos variables d'environnement :\n - $OSC_REGION : votre région Outscale\n - $OSC_ACCESS_KEY : votre clé d'accès\n - $OSC_SECRET_KEY : votre clé secrète\n4. Les paramètres optionnels peuvent être omis", "prompt": "Ordres utilisateur possibles :\n1. Comment creating a vm (minimal syntax) ?\n2. Quelles sont les étapes pour créer unVms avec ImageId spécifique ?\n3. Comment configurer un nouveauVms avec ImageId spécifique ?\n4. Comment creating a vm in a net ?", "chosen": "curl -X POST https://api.$OSC_REGION.outscale.com/api/v1/CreateVms \\\n --user $OSC_ACCESS_KEY:$OSC_SECRET_KEY \\\n --aws-sigv4 'osc' \\\n --header 'Content-Type: application/json' \\\n --data '{\"ImageId\": \"ami-12345678\", \"VmType\": \"tinav5.c1r1p2\", \"KeypairName\": \"keypair-example\", \"SecurityGroupIds\": [\"sg-12345678\"], \"SubnetId\": \"subnet-12345678\", \"UserData\": \"...\"}'", "rejected": "curl -X POST https://api.$OSC_REGION.outscale.com/api/v1/CreateVms \\\n --user $OSC_ACCESS_KEY:$OSC_SECRET_KEY \\\n --aws-sigv4 'osc' \\\n --data '{\"ImageId\": \"ami-12345678\", \"VmType\": \"t2.invalid\", \"KeypairName\": \"keypair-example\", \"SecurityGroupIds\": \"invalid-sg\", \"SubnetId\": \"subnet-12345678\", \"UserData\": \"...\"}'", "example_name": "ex2"}
9
+ {"instruction": "# Utilisation de l'endpoint API CreateVms\n\n## Description\nCette méthode permet de creating a vm in a net.\n\n## ⚠️ Paramètres obligatoires\nLes paramètres suivants sont REQUIS pour cette opération :\nAucun paramètre requis\n\n## Paramètres optionnels\nLes paramètres suivants peuvent être utilisés selon vos besoins :\n- `ImageId` : L'identifiant ImageId (ex: \"<OptionalImageId>\") (optionnel)\n- `VmType` : L'identifiant VmType (ex: \"<OptionalVmType>\") (optionnel)\n- `KeypairName` : L'identifiant KeypairName (ex: \"<OptionalKeypairName>\") (optionnel)\n- `SecurityGroupIds` : Liste de SecurityGroupIds (ex: [\"<YourSecurityGroupIdsItem1>\"]) (optionnel)\n- `SubnetId` : L'identifiant SubnetId (ex: \"<OptionalSubnetId>\") (optionnel)\n- `UserData` : L'identifiant UserData (ex: \"<OptionalUserData>\") (optionnel)\n\n## Configuration technique\n- **Endpoint** : `/CreateVms`\n- **Méthode HTTP** : `post`\n\n## En-têtes requis\n- `Content-Type: application/json`\n- `Authorization: AWS4-HMAC-SHA256 ...` (signature AWS v4)\n\n## Structure JSON avec placeholders\n```json\n{\n \"ImageId\": \"<OptionalImageId>\",\n \"VmType\": \"<OptionalVmType>\",\n \"KeypairName\": \"<OptionalKeypairName>\",\n \"SecurityGroupIds\": \"<OptionalSecurityGroupIds>\",\n \"SubnetId\": \"<OptionalSubnetId>\",\n \"UserData\": \"<OptionalUserData>\"\n}\n```\n\n## Exemple de requête cURL\n```bash\ncurl -X POST https://api.$OSC_REGION.outscale.com/api/v1/CreateVms \\\n --user $OSC_ACCESS_KEY:$OSC_SECRET_KEY \\\n --aws-sigv4 'osc' \\\n --header 'Content-Type: application/json' \\\n --data '{\"ImageId\": \"ami-12345678\", \"VmType\": \"tinav5.c1r1p2\", \"KeypairName\": \"keypair-example\", \"SecurityGroupIds\": [\"sg-12345678\"], \"SubnetId\": \"subnet-12345678\", \"UserData\": \"...\"}'\n```\n\n## ⚠️ Points importants\n1. Assurez-vous de fournir TOUS les paramètres marqués comme REQUIS\n2. Remplacez les placeholders (<YourXXX>) par vos valeurs\n3. Configurez vos variables d'environnement :\n - $OSC_REGION : votre région Outscale\n - $OSC_ACCESS_KEY : votre clé d'accès\n - $OSC_SECRET_KEY : votre clé secrète\n4. Les paramètres optionnels peuvent être omis", "prompt": "Ordres utilisateur possibles :\n1. Comment creating a vm (minimal syntax) ?\n2. Quelles sont les étapes pour créer unVms avec ImageId spécifique ?\n3. Comment configurer un nouveauVms avec ImageId spécifique ?\n4. Comment creating a vm in a net ?", "chosen": "curl -X POST https://api.$OSC_REGION.outscale.com/api/v1/CreateVms \\\n --user $OSC_ACCESS_KEY:$OSC_SECRET_KEY \\\n --aws-sigv4 'osc' \\\n --header 'Content-Type: application/json' \\\n --data '{\"ImageId\": \"ami-12345678\", \"VmType\": \"tinav5.c1r1p2\", \"KeypairName\": \"keypair-example\", \"SecurityGroupIds\": [\"sg-12345678\"], \"SubnetId\": \"subnet-12345678\", \"UserData\": \"...\"}'", "rejected": "curl -X GET https://api.$OSC_REGION.outscale.com/api/v1/CreateVms \\\n --user $OSC_ACCESS_KEY:$OSC_SECRET_KEY \\\n --aws-sigv4 'aws' \\\n --header 'Content-Type: application/json' \\\n --data '{\"ImageId\": \"ami-12345678\", \"VmType\": \"tinav5.c1r1p2\", \"KeypairName\": \"keypair-example\", \"SecurityGroupIds\": [\"sg-12345678\"], \"SubnetId\": \"subnet-12345678\", \"UserData\": \"...\"}'", "example_name": "ex2"}
10
+ {"instruction": "# Utilisation de l'endpoint API CreateVms\n\n## Description\nCette méthode permet de creating a vm avec des volumes de stockage attachés.\n\n## ⚠️ Paramètres obligatoires\nLes paramètres suivants sont REQUIS pour cette opération :\nAucun paramètre requis\n\n## Paramètres optionnels\nLes paramètres suivants peuvent être utilisés selon vos besoins :\n- `ImageId` : L'identifiant ImageId (ex: \"<OptionalImageId>\") (optionnel)\n- `VmType` : L'identifiant VmType (ex: \"<OptionalVmType>\") (optionnel)\n- `KeypairName` : L'identifiant KeypairName (ex: \"<OptionalKeypairName>\") (optionnel)\n- `SecurityGroupIds` : Liste de SecurityGroupIds (ex: [\"<YourSecurityGroupIdsItem1>\"]) (optionnel)\n- `SubnetId` : L'identifiant SubnetId (ex: \"<OptionalSubnetId>\") (optionnel)\n- `UserData` : L'identifiant UserData (ex: \"<OptionalUserData>\") (optionnel)\n- `BlockDeviceMappings` : Liste de BlockDeviceMappings (ex: [{\"DeviceName\": \"/dev/sda1\", \"Bsu\": {\"VolumeSize\": 15, \"VolumeType\": \"gp2\"}}, {\"DeviceName\": \"/dev/sdb\", \"Bsu\": {\"SnapshotId\": \"snap-12345678\", \"VolumeSize\": 22, \"VolumeType\": \"io1\", \"Iops\": 150}}]) (optionnel)\n\n## Configuration technique\n- **Endpoint** : `/CreateVms`\n- **Méthode HTTP** : `post`\n\n## En-têtes requis\n- `Content-Type: application/json`\n- `Authorization: AWS4-HMAC-SHA256 ...` (signature AWS v4)\n\n## Structure JSON avec placeholders\n```json\n{\n \"ImageId\": \"<OptionalImageId>\",\n \"VmType\": \"<OptionalVmType>\",\n \"KeypairName\": \"<OptionalKeypairName>\",\n \"SecurityGroupIds\": \"<OptionalSecurityGroupIds>\",\n \"SubnetId\": \"<OptionalSubnetId>\",\n \"UserData\": \"<OptionalUserData>\",\n \"BlockDeviceMappings\": \"<OptionalBlockDeviceMappings>\"\n}\n```\n\n## Exemple de requête cURL\n```bash\ncurl -X POST https://api.$OSC_REGION.outscale.com/api/v1/CreateVms \\\n --user $OSC_ACCESS_KEY:$OSC_SECRET_KEY \\\n --aws-sigv4 'osc' \\\n --header 'Content-Type: application/json' \\\n --data '{\"ImageId\": \"ami-12345678\", \"VmType\": \"tinav5.c1r1p2\", \"KeypairName\": \"keypair-example\", \"SecurityGroupIds\": [\"sg-12345678\"], \"SubnetId\": \"subnet-12345678\", \"UserData\": \"...\", \"BlockDeviceMappings\": [{\"DeviceName\": \"/dev/sda1\", \"Bsu\": {\"VolumeSize\": 15, \"VolumeType\": \"gp2\"}}, {\"DeviceName\": \"/dev/sdb\", \"Bsu\": {\"SnapshotId\": \"snap-12345678\", \"VolumeSize\": 22, \"VolumeType\": \"io1\", \"Iops\": 150}}]}'\n```\n\n## ⚠️ Points importants\n1. Assurez-vous de fournir TOUS les paramètres marqués comme REQUIS\n2. Remplacez les placeholders (<YourXXX>) par vos valeurs\n3. Configurez vos variables d'environnement :\n - $OSC_REGION : votre région Outscale\n - $OSC_ACCESS_KEY : votre clé d'accès\n - $OSC_SECRET_KEY : votre clé secrète\n4. Les paramètres optionnels peuvent être omis", "prompt": "Ordres utilisateur possibles :\n1. Comment creating a vm (minimal syntax) ?\n2. Quelles sont les étapes pour créer unVms avec ImageId spécifique ?\n3. Comment configurer un nouveauVms avec ImageId spécifique ?\n4. Comment creating a vm in a net ?", "chosen": "curl -X POST https://api.$OSC_REGION.outscale.com/api/v1/CreateVms \\\n --user $OSC_ACCESS_KEY:$OSC_SECRET_KEY \\\n --aws-sigv4 'osc' \\\n --header 'Content-Type: application/json' \\\n --data '{\"ImageId\": \"ami-12345678\", \"VmType\": \"tinav5.c1r1p2\", \"KeypairName\": \"keypair-example\", \"SecurityGroupIds\": [\"sg-12345678\"], \"SubnetId\": \"subnet-12345678\", \"UserData\": \"...\", \"BlockDeviceMappings\": [{\"DeviceName\": \"/dev/sda1\", \"Bsu\": {\"VolumeSize\": 15, \"VolumeType\": \"gp2\"}}, {\"DeviceName\": \"/dev/sdb\", \"Bsu\": {\"SnapshotId\": \"snap-12345678\", \"VolumeSize\": 22, \"VolumeType\": \"io1\", \"Iops\": 150}}]}'", "rejected": "curl -X POST https://api.$OSC_REGION.outscale.com/api/v1/CreateVms \\\n --user $OSC_ACCESS_KEY:$OSC_SECRET_KEY \\\n --aws-sigv4 'osc' \\\n --header 'Content-Type: application/json' \\\n --data '{\"ImageId\": \"ami-12345678\", \"VmType\": \"tinav5.c1r1p2\", \"KeypairName\": \"keypair-example\", \"SecurityGroupIds\": [\"sg-12345678\"], \"SubnetId\": \"subnet-12345678\", \"UserData\": \"...\", \"BlockDeviceMappings\": \"{\"DeviceName\": \"/dev/sda1\", \"Bsu\": {\"VolumeSize\": 15, \"VolumeType\": \"gp2\"}}, {\"DeviceName\": \"/dev/sdb\", \"Bsu\": {\"SnapshotId\": \"snap-12345678\", \"VolumeSize\": 22, \"VolumeType\": \"io1\", \"Iops\": 150}}\"}'", "example_name": "ex3"}
11
+ {"instruction": "# Utilisation de l'endpoint API CreateVms\n\n## Description\nCette méthode permet de creating a vm avec des volumes de stockage attachés.\n\n## ⚠️ Paramètres obligatoires\nLes paramètres suivants sont REQUIS pour cette opération :\nAucun paramètre requis\n\n## Paramètres optionnels\nLes paramètres suivants peuvent être utilisés selon vos besoins :\n- `ImageId` : L'identifiant ImageId (ex: \"<OptionalImageId>\") (optionnel)\n- `VmType` : L'identifiant VmType (ex: \"<OptionalVmType>\") (optionnel)\n- `KeypairName` : L'identifiant KeypairName (ex: \"<OptionalKeypairName>\") (optionnel)\n- `SecurityGroupIds` : Liste de SecurityGroupIds (ex: [\"<YourSecurityGroupIdsItem1>\"]) (optionnel)\n- `SubnetId` : L'identifiant SubnetId (ex: \"<OptionalSubnetId>\") (optionnel)\n- `UserData` : L'identifiant UserData (ex: \"<OptionalUserData>\") (optionnel)\n- `BlockDeviceMappings` : Liste de BlockDeviceMappings (ex: [{\"DeviceName\": \"/dev/sda1\", \"Bsu\": {\"VolumeSize\": 15, \"VolumeType\": \"gp2\"}}, {\"DeviceName\": \"/dev/sdb\", \"Bsu\": {\"SnapshotId\": \"snap-12345678\", \"VolumeSize\": 22, \"VolumeType\": \"io1\", \"Iops\": 150}}]) (optionnel)\n- `ImageId` : L'identifiant ImageId (ex: \"<OptionalImageId>\") (optionnel)\n- `VmType` : L'identifiant VmType (ex: \"<OptionalVmType>\") (optionnel)\n- `KeypairName` : L'identifiant KeypairName (ex: \"<OptionalKeypairName>\") (optionnel)\n- `SecurityGroupIds` : Liste de SecurityGroupIds (ex: [\"<YourSecurityGroupIdsItem1>\"]) (optionnel)\n- `SubnetId` : L'identifiant SubnetId (ex: \"<OptionalSubnetId>\") (optionnel)\n- `UserData` : L'identifiant UserData (ex: \"<OptionalUserData>\") (optionnel)\n- `BlockDeviceMappings` : Liste de BlockDeviceMappings (ex: [{\"DeviceName\": \"/dev/sda1\", \"Bsu\": {\"VolumeSize\": 15, \"VolumeType\": \"gp2\"}}, {\"DeviceName\": \"/dev/sdb\", \"Bsu\": {\"SnapshotId\": \"snap-12345678\", \"VolumeSize\": 22, \"VolumeType\": \"io1\", \"Iops\": 150}}]) (optionnel)\n\n## Configuration technique\n- **Endpoint** : `/CreateVms`\n- **Méthode HTTP** : `post`\n\n## En-têtes requis\n- `Content-Type: application/json`\n- `Authorization: AWS4-HMAC-SHA256 ...` (signature AWS v4)\n\n## Structure JSON avec placeholders\n```json\n{\n \"ImageId\": \"<OptionalImageId>\",\n \"VmType\": \"<OptionalVmType>\",\n \"KeypairName\": \"<OptionalKeypairName>\",\n \"SecurityGroupIds\": \"<OptionalSecurityGroupIds>\",\n \"SubnetId\": \"<OptionalSubnetId>\",\n \"UserData\": \"<OptionalUserData>\",\n \"BlockDeviceMappings\": \"<OptionalBlockDeviceMappings>\"\n}\n```\n\n## Exemple de requête cURL\n```bash\ncurl -X POST https://api.$OSC_REGION.outscale.com/api/v1/CreateVms \\\n --user $OSC_ACCESS_KEY:$OSC_SECRET_KEY \\\n --aws-sigv4 'osc' \\\n --header 'Content-Type: application/json' \\\n --data '{\"ImageId\": \"ami-12345678\", \"VmType\": \"tinav5.c1r1p2\", \"KeypairName\": \"keypair-example\", \"SecurityGroupIds\": [\"sg-12345678\"], \"SubnetId\": \"subnet-12345678\", \"UserData\": \"...\", \"BlockDeviceMappings\": [{\"DeviceName\": \"/dev/sda1\", \"Bsu\": {\"VolumeSize\": 15, \"VolumeType\": \"gp2\"}}, {\"DeviceName\": \"/dev/sdb\", \"Bsu\": {\"SnapshotId\": \"snap-12345678\", \"VolumeSize\": 22, \"VolumeType\": \"io1\", \"Iops\": 150}}]}'\n```\n\n## ⚠️ Points importants\n1. Assurez-vous de fournir TOUS les paramètres marqués comme REQUIS\n2. Remplacez les placeholders (<YourXXX>) par vos valeurs\n3. Configurez vos variables d'environnement :\n - $OSC_REGION : votre région Outscale\n - $OSC_ACCESS_KEY : votre clé d'accès\n - $OSC_SECRET_KEY : votre clé secrète\n4. Les paramètres optionnels peuvent être omis", "prompt": "Ordres utilisateur possibles :\n1. Comment creating a vm (minimal syntax) ?\n2. Quelles sont les étapes pour créer unVms avec ImageId spécifique ?\n3. Comment configurer un nouveauVms avec ImageId spécifique ?\n4. Comment creating a vm in a net ?", "chosen": "curl -X POST https://api.$OSC_REGION.outscale.com/api/v1/CreateVms \\\n --user $OSC_ACCESS_KEY:$OSC_SECRET_KEY \\\n --aws-sigv4 'osc' \\\n --header 'Content-Type: application/json' \\\n --data '{\"ImageId\": \"ami-12345678\", \"VmType\": \"tinav5.c1r1p2\", \"KeypairName\": \"keypair-example\", \"SecurityGroupIds\": [\"sg-12345678\"], \"SubnetId\": \"subnet-12345678\", \"UserData\": \"...\", \"BlockDeviceMappings\": [{\"DeviceName\": \"/dev/sda1\", \"Bsu\": {\"VolumeSize\": 15, \"VolumeType\": \"gp2\"}}, {\"DeviceName\": \"/dev/sdb\", \"Bsu\": {\"SnapshotId\": \"snap-12345678\", \"VolumeSize\": 22, \"VolumeType\": \"io1\", \"Iops\": 150}}]}'", "rejected": "curl -X POST https://api.$OSC_REGION.outscale.com/api/v1/CreateVms \\\n --user wrong_access_key:wrong_secret_key \\\n --aws-sigv4 'osc' \\\n --header 'Content-Type: application/json' \\\n --data '{\"ImageId\": \"ami-12345678\", \"VmType\": \"tinav5.c1r1p2\", \"KeypairName\": \"keypair-example\", \"SecurityGroupIds\": [\"sg-12345678\"], \"SubnetId\": \"subnet-12345678\", \"UserData\": \"...\", \"BlockDeviceMappings\": [{\"DeviceName\": \"/dev/sda1\", \"Bsu\": {\"VolumeSize\": 15, \"VolumeType\": \"gp2\"}}, {\"DeviceName\": \"/dev/sdb\", \"Bsu\": {\"SnapshotId\": \"snap-12345678\", \"VolumeSize\": 22, \"VolumeType\": \"io1\", \"Iops\": 150}},]}'", "example_name": "ex3"}
12
+ {"instruction": "# Utilisation de l'endpoint API CreateVms\n\n## Description\nCette méthode permet de creating a vm avec des volumes de stockage attachés.\n\n## ⚠️ Paramètres obligatoires\nLes paramètres suivants sont REQUIS pour cette opération :\nAucun paramètre requis\n\n## Paramètres optionnels\nLes paramètres suivants peuvent être utilisés selon vos besoins :\n- `ImageId` : L'identifiant ImageId (ex: \"<OptionalImageId>\") (optionnel)\n- `VmType` : L'identifiant VmType (ex: \"<OptionalVmType>\") (optionnel)\n- `KeypairName` : L'identifiant KeypairName (ex: \"<OptionalKeypairName>\") (optionnel)\n- `SecurityGroupIds` : Liste de SecurityGroupIds (ex: [\"<YourSecurityGroupIdsItem1>\"]) (optionnel)\n- `SubnetId` : L'identifiant SubnetId (ex: \"<OptionalSubnetId>\") (optionnel)\n- `UserData` : L'identifiant UserData (ex: \"<OptionalUserData>\") (optionnel)\n- `BlockDeviceMappings` : Liste de BlockDeviceMappings (ex: [{\"DeviceName\": \"/dev/sda1\", \"Bsu\": {\"VolumeSize\": 15, \"VolumeType\": \"gp2\"}}, {\"DeviceName\": \"/dev/sdb\", \"Bsu\": {\"SnapshotId\": \"snap-12345678\", \"VolumeSize\": 22, \"VolumeType\": \"io1\", \"Iops\": 150}}]) (optionnel)\n\n## Configuration technique\n- **Endpoint** : `/CreateVms`\n- **Méthode HTTP** : `post`\n\n## En-têtes requis\n- `Content-Type: application/json`\n- `Authorization: AWS4-HMAC-SHA256 ...` (signature AWS v4)\n\n## Structure JSON avec placeholders\n```json\n{\n \"ImageId\": \"<OptionalImageId>\",\n \"VmType\": \"<OptionalVmType>\",\n \"KeypairName\": \"<OptionalKeypairName>\",\n \"SecurityGroupIds\": \"<OptionalSecurityGroupIds>\",\n \"SubnetId\": \"<OptionalSubnetId>\",\n \"UserData\": \"<OptionalUserData>\",\n \"BlockDeviceMappings\": \"<OptionalBlockDeviceMappings>\"\n}\n```\n\n## Exemple de requête cURL\n```bash\ncurl -X POST https://api.$OSC_REGION.outscale.com/api/v1/CreateVms \\\n --user $OSC_ACCESS_KEY:$OSC_SECRET_KEY \\\n --aws-sigv4 'osc' \\\n --header 'Content-Type: application/json' \\\n --data '{\"ImageId\": \"ami-12345678\", \"VmType\": \"tinav5.c1r1p2\", \"KeypairName\": \"keypair-example\", \"SecurityGroupIds\": [\"sg-12345678\"], \"SubnetId\": \"subnet-12345678\", \"UserData\": \"...\", \"BlockDeviceMappings\": [{\"DeviceName\": \"/dev/sda1\", \"Bsu\": {\"VolumeSize\": 15, \"VolumeType\": \"gp2\"}}, {\"DeviceName\": \"/dev/sdb\", \"Bsu\": {\"SnapshotId\": \"snap-12345678\", \"VolumeSize\": 22, \"VolumeType\": \"io1\", \"Iops\": 150}}]}'\n```\n\n## ⚠️ Points importants\n1. Assurez-vous de fournir TOUS les paramètres marqués comme REQUIS\n2. Remplacez les placeholders (<YourXXX>) par vos valeurs\n3. Configurez vos variables d'environnement :\n - $OSC_REGION : votre région Outscale\n - $OSC_ACCESS_KEY : votre clé d'accès\n - $OSC_SECRET_KEY : votre clé secrète\n4. Les paramètres optionnels peuvent être omis", "prompt": "Ordres utilisateur possibles :\n1. Comment creating a vm (minimal syntax) ?\n2. Quelles sont les étapes pour créer unVms avec ImageId spécifique ?\n3. Comment configurer un nouveauVms avec ImageId spécifique ?\n4. Comment creating a vm in a net ?", "chosen": "curl -X POST https://api.$OSC_REGION.outscale.com/api/v1/CreateVms \\\n --user $OSC_ACCESS_KEY:$OSC_SECRET_KEY \\\n --aws-sigv4 'osc' \\\n --header 'Content-Type: application/json' \\\n --data '{\"ImageId\": \"ami-12345678\", \"VmType\": \"tinav5.c1r1p2\", \"KeypairName\": \"keypair-example\", \"SecurityGroupIds\": [\"sg-12345678\"], \"SubnetId\": \"subnet-12345678\", \"UserData\": \"...\", \"BlockDeviceMappings\": [{\"DeviceName\": \"/dev/sda1\", \"Bsu\": {\"VolumeSize\": 15, \"VolumeType\": \"gp2\"}}, {\"DeviceName\": \"/dev/sdb\", \"Bsu\": {\"SnapshotId\": \"snap-12345678\", \"VolumeSize\": 22, \"VolumeType\": \"io1\", \"Iops\": 150}}]}'", "rejected": "curl -X POST https://api.$OSC_REGION.outscale.com/api/v1/CreateVms \\\n --user $OSC_ACCESS_KEY:$OSC_SECRET_KEY \\\n --aws-sigv4 'osc' \\\n --data '{\"ImageId\": \"ami-12345678\", \"VmType\": \"tinav5.c1r1p2\", \"KeypairName\": \"keypair-example\", \"SecurityGroupIds\": [\"sg-12345678\"], \"SubnetId\": \"subnet-12345678\", \"UserData\": \"...\", \"BlockDeviceMappings\": [{\"DeviceName\": \"/dev/sda1\", \"Bsu\": {\"VolumeSize\": 15, \"VolumeType\": \"gp2\"}}, {\"DeviceName\": \"/dev/sdb\", \"Bsu\": {\"SnapshotId\": \"snap-12345678\", \"VolumeSize\": 22, \"VolumeType\": \"io1\", \"Iops\": 150}}]}'", "example_name": "ex3"}
13
+ {"instruction": "# Utilisation de l'endpoint API CreateVms\n\n## Description\nCette méthode permet de creating a vm with a nic.\n\n## ⚠️ Paramètres obligatoires\nLes paramètres suivants sont REQUIS pour cette opération :\nAucun paramètre requis\n\n## Paramètres optionnels\nLes paramètres suivants peuvent être utilisés selon vos besoins :\n- `ImageId` : L'identifiant ImageId (ex: \"<OptionalImageId>\") (optionnel)\n- `VmType` : L'identifiant VmType (ex: \"<OptionalVmType>\") (optionnel)\n- `KeypairName` : L'identifiant KeypairName (ex: \"<OptionalKeypairName>\") (optionnel)\n- `UserData` : L'identifiant UserData (ex: \"<OptionalUserData>\") (optionnel)\n- `Nics` : Liste de Nics (ex: [{\"DeviceNumber\": 0, \"NicId\": \"eni-12345678\"}]) (optionnel)\n\n## Configuration technique\n- **Endpoint** : `/CreateVms`\n- **Méthode HTTP** : `post`\n\n## En-têtes requis\n- `Content-Type: application/json`\n- `Authorization: AWS4-HMAC-SHA256 ...` (signature AWS v4)\n\n## Structure JSON avec placeholders\n```json\n{\n \"ImageId\": \"<OptionalImageId>\",\n \"VmType\": \"<OptionalVmType>\",\n \"KeypairName\": \"<OptionalKeypairName>\",\n \"UserData\": \"<OptionalUserData>\",\n \"Nics\": \"<OptionalNics>\"\n}\n```\n\n## Exemple de requête cURL\n```bash\ncurl -X POST https://api.$OSC_REGION.outscale.com/api/v1/CreateVms \\\n --user $OSC_ACCESS_KEY:$OSC_SECRET_KEY \\\n --aws-sigv4 'osc' \\\n --header 'Content-Type: application/json' \\\n --data '{\"ImageId\": \"ami-12345678\", \"VmType\": \"tinav5.c1r1p2\", \"KeypairName\": \"keypair-example\", \"UserData\": \"...\", \"Nics\": [{\"DeviceNumber\": 0, \"NicId\": \"eni-12345678\"}]}'\n```\n\n## ⚠️ Points importants\n1. Assurez-vous de fournir TOUS les paramètres marqués comme REQUIS\n2. Remplacez les placeholders (<YourXXX>) par vos valeurs\n3. Configurez vos variables d'environnement :\n - $OSC_REGION : votre région Outscale\n - $OSC_ACCESS_KEY : votre clé d'accès\n - $OSC_SECRET_KEY : votre clé secrète\n4. Les paramètres optionnels peuvent être omis", "prompt": "Ordres utilisateur possibles :\n1. Comment creating a vm (minimal syntax) ?\n2. Quelles sont les étapes pour créer unVms avec ImageId spécifique ?\n3. Comment configurer un nouveauVms avec ImageId spécifique ?\n4. Comment creating a vm in a net ?", "chosen": "curl -X POST https://api.$OSC_REGION.outscale.com/api/v1/CreateVms \\\n --user $OSC_ACCESS_KEY:$OSC_SECRET_KEY \\\n --aws-sigv4 'osc' \\\n --header 'Content-Type: application/json' \\\n --data '{\"ImageId\": \"ami-12345678\", \"VmType\": \"tinav5.c1r1p2\", \"KeypairName\": \"keypair-example\", \"UserData\": \"...\", \"Nics\": [{\"DeviceNumber\": 0, \"NicId\": \"eni-12345678\"}]}'", "rejected": "curl -X POST https://api.$OSC_REGION.outscale.com/api/v1/CreateVms \\\n --user $OSC_ACCESS_KEY:$OSC_SECRET_KEY \\\n --aws-sigv4 'osc' \\\n --header 'Content-Type: application/json' \\\n --data '{ ,\n\"ImageId\": \"ami-12345678\", \"VmType\": \"tinav5.c1r1p2\", \"KeypairName\": \"keypair-example\", \"UserData\": \"...\", \"Nics\": [{ ,\n\"DeviceNumber\": 0, \"NicId\": \"eni-12345678\"}]}'", "example_name": "ex4"}
14
+ {"instruction": "# Utilisation de l'endpoint API CreateVms\n\n## Description\nCette méthode permet de creating a vm with a nic.\n\n## ⚠️ Paramètres obligatoires\nLes paramètres suivants sont REQUIS pour cette opération :\nAucun paramètre requis\n\n## Paramètres optionnels\nLes paramètres suivants peuvent être utilisés selon vos besoins :\n- `ImageId` : L'identifiant ImageId (ex: \"<OptionalImageId>\") (optionnel)\n- `VmType` : L'identifiant VmType (ex: \"<OptionalVmType>\") (optionnel)\n- `KeypairName` : L'identifiant KeypairName (ex: \"<OptionalKeypairName>\") (optionnel)\n- `UserData` : L'identifiant UserData (ex: \"<OptionalUserData>\") (optionnel)\n- `Nics` : Liste de Nics (ex: [{\"DeviceNumber\": 0, \"NicId\": \"eni-12345678\"}]) (optionnel)\n- `ImageId` : L'identifiant ImageId (ex: \"<OptionalImageId>\") (optionnel)\n- `VmType` : L'identifiant VmType (ex: \"<OptionalVmType>\") (optionnel)\n- `KeypairName` : L'identifiant KeypairName (ex: \"<OptionalKeypairName>\") (optionnel)\n- `UserData` : L'identifiant UserData (ex: \"<OptionalUserData>\") (optionnel)\n- `Nics` : Liste de Nics (ex: [{\"DeviceNumber\": 0, \"NicId\": \"eni-12345678\"}]) (optionnel)\n\n## Configuration technique\n- **Endpoint** : `/CreateVms`\n- **Méthode HTTP** : `post`\n\n## En-têtes requis\n- `Content-Type: application/json`\n- `Authorization: AWS4-HMAC-SHA256 ...` (signature AWS v4)\n\n## Structure JSON avec placeholders\n```json\n{\n \"ImageId\": \"<OptionalImageId>\",\n \"VmType\": \"<OptionalVmType>\",\n \"KeypairName\": \"<OptionalKeypairName>\",\n \"UserData\": \"<OptionalUserData>\",\n \"Nics\": \"<OptionalNics>\"\n}\n```\n\n## Exemple de requête cURL\n```bash\ncurl -X POST https://api.$OSC_REGION.outscale.com/api/v1/CreateVms \\\n --user $OSC_ACCESS_KEY:$OSC_SECRET_KEY \\\n --aws-sigv4 'osc' \\\n --header 'Content-Type: application/json' \\\n --data '{\"ImageId\": \"ami-12345678\", \"VmType\": \"tinav5.c1r1p2\", \"KeypairName\": \"keypair-example\", \"UserData\": \"...\", \"Nics\": [{\"DeviceNumber\": 0, \"NicId\": \"eni-12345678\"}]}'\n```\n\n## ⚠️ Points importants\n1. Assurez-vous de fournir TOUS les paramètres marqués comme REQUIS\n2. Remplacez les placeholders (<YourXXX>) par vos valeurs\n3. Configurez vos variables d'environnement :\n - $OSC_REGION : votre région Outscale\n - $OSC_ACCESS_KEY : votre clé d'accès\n - $OSC_SECRET_KEY : votre clé secrète\n4. Les paramètres optionnels peuvent être omis", "prompt": "Ordres utilisateur possibles :\n1. Comment creating a vm (minimal syntax) ?\n2. Quelles sont les étapes pour créer unVms avec ImageId spécifique ?\n3. Comment configurer un nouveauVms avec ImageId spécifique ?\n4. Comment creating a vm in a net ?", "chosen": "curl -X POST https://api.$OSC_REGION.outscale.com/api/v1/CreateVms \\\n --user $OSC_ACCESS_KEY:$OSC_SECRET_KEY \\\n --aws-sigv4 'osc' \\\n --header 'Content-Type: application/json' \\\n --data '{\"ImageId\": \"ami-12345678\", \"VmType\": \"tinav5.c1r1p2\", \"KeypairName\": \"keypair-example\", \"UserData\": \"...\", \"Nics\": [{\"DeviceNumber\": 0, \"NicId\": \"eni-12345678\"}]}'", "rejected": "curl -X GET https://api.$OSC_REGION.outscale.com/api/v1/CreateVms \\\n --user $OSC_ACCESS_KEY:$OSC_SECRET_KEY \\\n --aws-sigv4 'osc' \\\n --header 'Content-Type: application/json' \\\n --data '{\"ImageId\": \"wrong-image-id\", \"VmType\": \"tinav5.c1r1p2\", \"KeypairName\": \"keypair-example\", \"UserData\": \"...\", \"Nics\": [{\"DeviceNumber\": 0, \"NicId\": \"eni-12345678\"}]}'", "example_name": "ex4"}
15
+ {"instruction": "# Utilisation de l'endpoint API CreateVms\n\n## Description\nCette méthode permet de creating a vm with a nic.\n\n## ⚠️ Paramètres obligatoires\nLes paramètres suivants sont REQUIS pour cette opération :\nAucun paramètre requis\n\n## Paramètres optionnels\nLes paramètres suivants peuvent être utilisés selon vos besoins :\n- `ImageId` : L'identifiant ImageId (ex: \"<OptionalImageId>\") (optionnel)\n- `VmType` : L'identifiant VmType (ex: \"<OptionalVmType>\") (optionnel)\n- `KeypairName` : L'identifiant KeypairName (ex: \"<OptionalKeypairName>\") (optionnel)\n- `UserData` : L'identifiant UserData (ex: \"<OptionalUserData>\") (optionnel)\n- `Nics` : Liste de Nics (ex: [{\"DeviceNumber\": 0, \"NicId\": \"eni-12345678\"}]) (optionnel)\n\n## Configuration technique\n- **Endpoint** : `/CreateVms`\n- **Méthode HTTP** : `post`\n\n## En-têtes requis\n- `Content-Type: application/json`\n- `Authorization: AWS4-HMAC-SHA256 ...` (signature AWS v4)\n\n## Structure JSON avec placeholders\n```json\n{\n \"ImageId\": \"<OptionalImageId>\",\n \"VmType\": \"<OptionalVmType>\",\n \"KeypairName\": \"<OptionalKeypairName>\",\n \"UserData\": \"<OptionalUserData>\",\n \"Nics\": \"<OptionalNics>\"\n}\n```\n\n## Exemple de requête cURL\n```bash\ncurl -X POST https://api.$OSC_REGION.outscale.com/api/v1/CreateVms \\\n --user $OSC_ACCESS_KEY:$OSC_SECRET_KEY \\\n --aws-sigv4 'osc' \\\n --header 'Content-Type: application/json' \\\n --data '{\"ImageId\": \"ami-12345678\", \"VmType\": \"tinav5.c1r1p2\", \"KeypairName\": \"keypair-example\", \"UserData\": \"...\", \"Nics\": [{\"DeviceNumber\": 0, \"NicId\": \"eni-12345678\"}]}'\n```\n\n## ⚠️ Points importants\n1. Assurez-vous de fournir TOUS les paramètres marqués comme REQUIS\n2. Remplacez les placeholders (<YourXXX>) par vos valeurs\n3. Configurez vos variables d'environnement :\n - $OSC_REGION : votre région Outscale\n - $OSC_ACCESS_KEY : votre clé d'accès\n - $OSC_SECRET_KEY : votre clé secrète\n4. Les paramètres optionnels peuvent être omis", "prompt": "Ordres utilisateur possibles :\n1. Comment creating a vm (minimal syntax) ?\n2. Quelles sont les étapes pour créer unVms avec ImageId spécifique ?\n3. Comment configurer un nouveauVms avec ImageId spécifique ?\n4. Comment creating a vm in a net ?", "chosen": "curl -X POST https://api.$OSC_REGION.outscale.com/api/v1/CreateVms \\\n --user $OSC_ACCESS_KEY:$OSC_SECRET_KEY \\\n --aws-sigv4 'osc' \\\n --header 'Content-Type: application/json' \\\n --data '{\"ImageId\": \"ami-12345678\", \"VmType\": \"tinav5.c1r1p2\", \"KeypairName\": \"keypair-example\", \"UserData\": \"...\", \"Nics\": [{\"DeviceNumber\": 0, \"NicId\": \"eni-12345678\"}]}'", "rejected": "curl -X POST https://api.$OSC_REGION.outscale.com/api/v1/CreateVms \\\n --user $OSC_ACCESS_KEY:$OSC_SECRET_KEY \\\n --aws-sigv4 'osc' \\\n --header 'Content-Type: application/json' \\\n --data '{\"ImageId\": \"ami-12345678\", \"VmType\": \"t2.invalid\", \"KeypairName\": \"keypair-example\", \"UserData\": \"...\", \"Nics\": [{\"DeviceNumber\": 0, \"NicId\": \"eni-12345678\"}]}'", "example_name": "ex4"}