|
{"instruction": "# Utilisation de l'endpoint CheckAuthentication", "prompt": "Comment utiliser l'endpoint CheckAuthentication ?", "chosen": "curl -X POST https://api.$OSC_REGION.outscale.com/api/v1/CheckAuthentication ...", "rejected": "curl -X GET https://api.$OSC_REGION.outscale.com/api/v1/CheckAuthentication ...", "example_name": "ex1", "entrée": {"Login": "[email protected]", "Password": "$OSC_PASSWORD"}, "réponse": {"operationId": "CheckAuthentication", "path": "/CheckAuthentication", "method": "post", "examples": [{"name": "ex1", "summary": "", "value": {"Login": "[email protected]", "Password": "$OSC_PASSWORD"}}], "curl_examples": ["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\"}'"]}} |
|
{"instruction": "# Utilisation de l'endpoint CreateVms", "prompt": "Comment utiliser l'endpoint CreateVms ?", "chosen": "curl -X POST https://api.$OSC_REGION.outscale.com/api/v1/CreateVms ...", "rejected": "curl -X GET https://api.$OSC_REGION.outscale.com/api/v1/CreateVms ...", "example_name": "ex1", "entrée": {"ImageId": "ami-12345678"}, "réponse": {"operationId": "CreateVms", "path": "/CreateVms", "method": "post", "examples": [{"name": "ex1", "summary": "Creating a VM (minimal syntax)", "value": {"ImageId": "ami-12345678"}}, {"name": "ex2", "summary": "Creating a VM in a Net", "value": {"ImageId": "ami-12345678", "VmType": "tinav5.c1r1p2", "KeypairName": "keypair-example", "SecurityGroupIds": ["sg-12345678"], "SubnetId": "subnet-12345678", "UserData": "..."}}, {"name": "ex3", "summary": "Creating a VM with block device mappings", "value": {"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}}]}}, {"name": "ex4", "summary": "Creating a VM with a NIC", "value": {"ImageId": "ami-12345678", "VmType": "tinav5.c1r1p2", "KeypairName": "keypair-example", "UserData": "...", "Nics": [{"DeviceNumber": 0, "NicId": "eni-12345678"}]}}], "curl_examples": ["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\"}'", "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\": \"...\"}'", "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}}]}'", "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\"}]}'"]}} |
|
{"instruction": "# Utilisation de l'endpoint CreateVms", "prompt": "Comment utiliser l'endpoint CreateVms ?", "chosen": "curl -X POST https://api.$OSC_REGION.outscale.com/api/v1/CreateVms ...", "rejected": "curl -X GET https://api.$OSC_REGION.outscale.com/api/v1/CreateVms ...", "example_name": "ex1", "entrée": {"ImageId": "ami-12345678"}, "réponse": {"operationId": "CreateVms", "path": "/CreateVms", "method": "post", "examples": [{"name": "ex1", "summary": "Creating a VM (minimal syntax)", "value": {"ImageId": "ami-12345678"}}, {"name": "ex2", "summary": "Creating a VM in a Net", "value": {"ImageId": "ami-12345678", "VmType": "tinav5.c1r1p2", "KeypairName": "keypair-example", "SecurityGroupIds": ["sg-12345678"], "SubnetId": "subnet-12345678", "UserData": "..."}}, {"name": "ex3", "summary": "Creating a VM with block device mappings", "value": {"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}}]}}, {"name": "ex4", "summary": "Creating a VM with a NIC", "value": {"ImageId": "ami-12345678", "VmType": "tinav5.c1r1p2", "KeypairName": "keypair-example", "UserData": "...", "Nics": [{"DeviceNumber": 0, "NicId": "eni-12345678"}]}}], "curl_examples": ["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\"}'", "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\": \"...\"}'", "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}}]}'", "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\"}]}'"]}} |
|
{"instruction": "# Utilisation de l'endpoint CreateVms", "prompt": "Comment utiliser l'endpoint CreateVms ?", "chosen": "curl -X POST https://api.$OSC_REGION.outscale.com/api/v1/CreateVms ...", "rejected": "curl -X GET https://api.$OSC_REGION.outscale.com/api/v1/CreateVms ...", "example_name": "ex1", "entrée": {"ImageId": "ami-12345678"}, "réponse": {"operationId": "CreateVms", "path": "/CreateVms", "method": "post", "examples": [{"name": "ex1", "summary": "Creating a VM (minimal syntax)", "value": {"ImageId": "ami-12345678"}}, {"name": "ex2", "summary": "Creating a VM in a Net", "value": {"ImageId": "ami-12345678", "VmType": "tinav5.c1r1p2", "KeypairName": "keypair-example", "SecurityGroupIds": ["sg-12345678"], "SubnetId": "subnet-12345678", "UserData": "..."}}, {"name": "ex3", "summary": "Creating a VM with block device mappings", "value": {"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}}]}}, {"name": "ex4", "summary": "Creating a VM with a NIC", "value": {"ImageId": "ami-12345678", "VmType": "tinav5.c1r1p2", "KeypairName": "keypair-example", "UserData": "...", "Nics": [{"DeviceNumber": 0, "NicId": "eni-12345678"}]}}], "curl_examples": ["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\"}'", "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\": \"...\"}'", "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}}]}'", "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\"}]}'"]}} |
|
{"instruction": "# Utilisation de l'endpoint CreateVms", "prompt": "Comment utiliser l'endpoint CreateVms ?", "chosen": "curl -X POST https://api.$OSC_REGION.outscale.com/api/v1/CreateVms ...", "rejected": "curl -X GET https://api.$OSC_REGION.outscale.com/api/v1/CreateVms ...", "example_name": "ex1", "entrée": {"ImageId": "ami-12345678"}, "réponse": {"operationId": "CreateVms", "path": "/CreateVms", "method": "post", "examples": [{"name": "ex1", "summary": "Creating a VM (minimal syntax)", "value": {"ImageId": "ami-12345678"}}, {"name": "ex2", "summary": "Creating a VM in a Net", "value": {"ImageId": "ami-12345678", "VmType": "tinav5.c1r1p2", "KeypairName": "keypair-example", "SecurityGroupIds": ["sg-12345678"], "SubnetId": "subnet-12345678", "UserData": "..."}}, {"name": "ex3", "summary": "Creating a VM with block device mappings", "value": {"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}}]}}, {"name": "ex4", "summary": "Creating a VM with a NIC", "value": {"ImageId": "ami-12345678", "VmType": "tinav5.c1r1p2", "KeypairName": "keypair-example", "UserData": "...", "Nics": [{"DeviceNumber": 0, "NicId": "eni-12345678"}]}}], "curl_examples": ["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\"}'", "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\": \"...\"}'", "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}}]}'", "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\"}]}'"]}} |
|
{"instruction": "# Utilisation de l'endpoint CreateVms", "prompt": "Comment utiliser l'endpoint CreateVms ?", "chosen": "curl -X POST https://api.$OSC_REGION.outscale.com/api/v1/CreateVms ...", "rejected": "curl -X GET https://api.$OSC_REGION.outscale.com/api/v1/CreateVms ...", "example_name": "ex2", "entrée": {"ImageId": "ami-12345678", "VmType": "tinav5.c1r1p2", "KeypairName": "keypair-example", "SecurityGroupIds": ["sg-12345678"], "SubnetId": "subnet-12345678", "UserData": "..."}, "réponse": {"operationId": "CreateVms", "path": "/CreateVms", "method": "post", "examples": [{"name": "ex1", "summary": "Creating a VM (minimal syntax)", "value": {"ImageId": "ami-12345678"}}, {"name": "ex2", "summary": "Creating a VM in a Net", "value": {"ImageId": "ami-12345678", "VmType": "tinav5.c1r1p2", "KeypairName": "keypair-example", "SecurityGroupIds": ["sg-12345678"], "SubnetId": "subnet-12345678", "UserData": "..."}}, {"name": "ex3", "summary": "Creating a VM with block device mappings", "value": {"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}}]}}, {"name": "ex4", "summary": "Creating a VM with a NIC", "value": {"ImageId": "ami-12345678", "VmType": "tinav5.c1r1p2", "KeypairName": "keypair-example", "UserData": "...", "Nics": [{"DeviceNumber": 0, "NicId": "eni-12345678"}]}}], "curl_examples": ["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\"}'", "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\": \"...\"}'", "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}}]}'", "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\"}]}'"]}} |
|
{"instruction": "# Utilisation de l'endpoint CreateVms", "prompt": "Comment utiliser l'endpoint CreateVms ?", "chosen": "curl -X POST https://api.$OSC_REGION.outscale.com/api/v1/CreateVms ...", "rejected": "curl -X GET https://api.$OSC_REGION.outscale.com/api/v1/CreateVms ...", "example_name": "ex2", "entrée": {"ImageId": "ami-12345678", "VmType": "tinav5.c1r1p2", "KeypairName": "keypair-example", "SecurityGroupIds": ["sg-12345678"], "SubnetId": "subnet-12345678", "UserData": "..."}, "réponse": {"operationId": "CreateVms", "path": "/CreateVms", "method": "post", "examples": [{"name": "ex1", "summary": "Creating a VM (minimal syntax)", "value": {"ImageId": "ami-12345678"}}, {"name": "ex2", "summary": "Creating a VM in a Net", "value": {"ImageId": "ami-12345678", "VmType": "tinav5.c1r1p2", "KeypairName": "keypair-example", "SecurityGroupIds": ["sg-12345678"], "SubnetId": "subnet-12345678", "UserData": "..."}}, {"name": "ex3", "summary": "Creating a VM with block device mappings", "value": {"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}}]}}, {"name": "ex4", "summary": "Creating a VM with a NIC", "value": {"ImageId": "ami-12345678", "VmType": "tinav5.c1r1p2", "KeypairName": "keypair-example", "UserData": "...", "Nics": [{"DeviceNumber": 0, "NicId": "eni-12345678"}]}}], "curl_examples": ["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\"}'", "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\": \"...\"}'", "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}}]}'", "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\"}]}'"]}} |
|
{"instruction": "# Utilisation de l'endpoint CreateVms", "prompt": "Comment utiliser l'endpoint CreateVms ?", "chosen": "curl -X POST https://api.$OSC_REGION.outscale.com/api/v1/CreateVms ...", "rejected": "curl -X GET https://api.$OSC_REGION.outscale.com/api/v1/CreateVms ...", "example_name": "ex2", "entrée": {"ImageId": "ami-12345678", "VmType": "tinav5.c1r1p2", "KeypairName": "keypair-example", "SecurityGroupIds": ["sg-12345678"], "SubnetId": "subnet-12345678", "UserData": "..."}, "réponse": {"operationId": "CreateVms", "path": "/CreateVms", "method": "post", "examples": [{"name": "ex1", "summary": "Creating a VM (minimal syntax)", "value": {"ImageId": "ami-12345678"}}, {"name": "ex2", "summary": "Creating a VM in a Net", "value": {"ImageId": "ami-12345678", "VmType": "tinav5.c1r1p2", "KeypairName": "keypair-example", "SecurityGroupIds": ["sg-12345678"], "SubnetId": "subnet-12345678", "UserData": "..."}}, {"name": "ex3", "summary": "Creating a VM with block device mappings", "value": {"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}}]}}, {"name": "ex4", "summary": "Creating a VM with a NIC", "value": {"ImageId": "ami-12345678", "VmType": "tinav5.c1r1p2", "KeypairName": "keypair-example", "UserData": "...", "Nics": [{"DeviceNumber": 0, "NicId": "eni-12345678"}]}}], "curl_examples": ["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\"}'", "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\": \"...\"}'", "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}}]}'", "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\"}]}'"]}} |
|
{"instruction": "# Utilisation de l'endpoint CreateVms", "prompt": "Comment utiliser l'endpoint CreateVms ?", "chosen": "curl -X POST https://api.$OSC_REGION.outscale.com/api/v1/CreateVms ...", "rejected": "curl -X GET https://api.$OSC_REGION.outscale.com/api/v1/CreateVms ...", "example_name": "ex2", "entrée": {"ImageId": "ami-12345678", "VmType": "tinav5.c1r1p2", "KeypairName": "keypair-example", "SecurityGroupIds": ["sg-12345678"], "SubnetId": "subnet-12345678", "UserData": "..."}, "réponse": {"operationId": "CreateVms", "path": "/CreateVms", "method": "post", "examples": [{"name": "ex1", "summary": "Creating a VM (minimal syntax)", "value": {"ImageId": "ami-12345678"}}, {"name": "ex2", "summary": "Creating a VM in a Net", "value": {"ImageId": "ami-12345678", "VmType": "tinav5.c1r1p2", "KeypairName": "keypair-example", "SecurityGroupIds": ["sg-12345678"], "SubnetId": "subnet-12345678", "UserData": "..."}}, {"name": "ex3", "summary": "Creating a VM with block device mappings", "value": {"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}}]}}, {"name": "ex4", "summary": "Creating a VM with a NIC", "value": {"ImageId": "ami-12345678", "VmType": "tinav5.c1r1p2", "KeypairName": "keypair-example", "UserData": "...", "Nics": [{"DeviceNumber": 0, "NicId": "eni-12345678"}]}}], "curl_examples": ["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\"}'", "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\": \"...\"}'", "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}}]}'", "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\"}]}'"]}} |
|
{"instruction": "# Utilisation de l'endpoint CreateVms", "prompt": "Comment utiliser l'endpoint CreateVms ?", "chosen": "curl -X POST https://api.$OSC_REGION.outscale.com/api/v1/CreateVms ...", "rejected": "curl -X GET https://api.$OSC_REGION.outscale.com/api/v1/CreateVms ...", "example_name": "ex3", "entrée": {"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}}]}, "réponse": {"operationId": "CreateVms", "path": "/CreateVms", "method": "post", "examples": [{"name": "ex1", "summary": "Creating a VM (minimal syntax)", "value": {"ImageId": "ami-12345678"}}, {"name": "ex2", "summary": "Creating a VM in a Net", "value": {"ImageId": "ami-12345678", "VmType": "tinav5.c1r1p2", "KeypairName": "keypair-example", "SecurityGroupIds": ["sg-12345678"], "SubnetId": "subnet-12345678", "UserData": "..."}}, {"name": "ex3", "summary": "Creating a VM with block device mappings", "value": {"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}}]}}, {"name": "ex4", "summary": "Creating a VM with a NIC", "value": {"ImageId": "ami-12345678", "VmType": "tinav5.c1r1p2", "KeypairName": "keypair-example", "UserData": "...", "Nics": [{"DeviceNumber": 0, "NicId": "eni-12345678"}]}}], "curl_examples": ["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\"}'", "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\": \"...\"}'", "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}}]}'", "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\"}]}'"]}} |
|
{"instruction": "# Utilisation de l'endpoint CreateVms", "prompt": "Comment utiliser l'endpoint CreateVms ?", "chosen": "curl -X POST https://api.$OSC_REGION.outscale.com/api/v1/CreateVms ...", "rejected": "curl -X GET https://api.$OSC_REGION.outscale.com/api/v1/CreateVms ...", "example_name": "ex3", "entrée": {"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}}]}, "réponse": {"operationId": "CreateVms", "path": "/CreateVms", "method": "post", "examples": [{"name": "ex1", "summary": "Creating a VM (minimal syntax)", "value": {"ImageId": "ami-12345678"}}, {"name": "ex2", "summary": "Creating a VM in a Net", "value": {"ImageId": "ami-12345678", "VmType": "tinav5.c1r1p2", "KeypairName": "keypair-example", "SecurityGroupIds": ["sg-12345678"], "SubnetId": "subnet-12345678", "UserData": "..."}}, {"name": "ex3", "summary": "Creating a VM with block device mappings", "value": {"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}}]}}, {"name": "ex4", "summary": "Creating a VM with a NIC", "value": {"ImageId": "ami-12345678", "VmType": "tinav5.c1r1p2", "KeypairName": "keypair-example", "UserData": "...", "Nics": [{"DeviceNumber": 0, "NicId": "eni-12345678"}]}}], "curl_examples": ["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\"}'", "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\": \"...\"}'", "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}}]}'", "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\"}]}'"]}} |
|
{"instruction": "# Utilisation de l'endpoint CreateVms", "prompt": "Comment utiliser l'endpoint CreateVms ?", "chosen": "curl -X POST https://api.$OSC_REGION.outscale.com/api/v1/CreateVms ...", "rejected": "curl -X GET https://api.$OSC_REGION.outscale.com/api/v1/CreateVms ...", "example_name": "ex3", "entrée": {"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}}]}, "réponse": {"operationId": "CreateVms", "path": "/CreateVms", "method": "post", "examples": [{"name": "ex1", "summary": "Creating a VM (minimal syntax)", "value": {"ImageId": "ami-12345678"}}, {"name": "ex2", "summary": "Creating a VM in a Net", "value": {"ImageId": "ami-12345678", "VmType": "tinav5.c1r1p2", "KeypairName": "keypair-example", "SecurityGroupIds": ["sg-12345678"], "SubnetId": "subnet-12345678", "UserData": "..."}}, {"name": "ex3", "summary": "Creating a VM with block device mappings", "value": {"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}}]}}, {"name": "ex4", "summary": "Creating a VM with a NIC", "value": {"ImageId": "ami-12345678", "VmType": "tinav5.c1r1p2", "KeypairName": "keypair-example", "UserData": "...", "Nics": [{"DeviceNumber": 0, "NicId": "eni-12345678"}]}}], "curl_examples": ["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\"}'", "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\": \"...\"}'", "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}}]}'", "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\"}]}'"]}} |
|
{"instruction": "# Utilisation de l'endpoint CreateVms", "prompt": "Comment utiliser l'endpoint CreateVms ?", "chosen": "curl -X POST https://api.$OSC_REGION.outscale.com/api/v1/CreateVms ...", "rejected": "curl -X GET https://api.$OSC_REGION.outscale.com/api/v1/CreateVms ...", "example_name": "ex3", "entrée": {"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}}]}, "réponse": {"operationId": "CreateVms", "path": "/CreateVms", "method": "post", "examples": [{"name": "ex1", "summary": "Creating a VM (minimal syntax)", "value": {"ImageId": "ami-12345678"}}, {"name": "ex2", "summary": "Creating a VM in a Net", "value": {"ImageId": "ami-12345678", "VmType": "tinav5.c1r1p2", "KeypairName": "keypair-example", "SecurityGroupIds": ["sg-12345678"], "SubnetId": "subnet-12345678", "UserData": "..."}}, {"name": "ex3", "summary": "Creating a VM with block device mappings", "value": {"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}}]}}, {"name": "ex4", "summary": "Creating a VM with a NIC", "value": {"ImageId": "ami-12345678", "VmType": "tinav5.c1r1p2", "KeypairName": "keypair-example", "UserData": "...", "Nics": [{"DeviceNumber": 0, "NicId": "eni-12345678"}]}}], "curl_examples": ["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\"}'", "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\": \"...\"}'", "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}}]}'", "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\"}]}'"]}} |
|
{"instruction": "# Utilisation de l'endpoint CreateVms", "prompt": "Comment utiliser l'endpoint CreateVms ?", "chosen": "curl -X POST https://api.$OSC_REGION.outscale.com/api/v1/CreateVms ...", "rejected": "curl -X GET https://api.$OSC_REGION.outscale.com/api/v1/CreateVms ...", "example_name": "ex4", "entrée": {"ImageId": "ami-12345678", "VmType": "tinav5.c1r1p2", "KeypairName": "keypair-example", "UserData": "...", "Nics": [{"DeviceNumber": 0, "NicId": "eni-12345678"}]}, "réponse": {"operationId": "CreateVms", "path": "/CreateVms", "method": "post", "examples": [{"name": "ex1", "summary": "Creating a VM (minimal syntax)", "value": {"ImageId": "ami-12345678"}}, {"name": "ex2", "summary": "Creating a VM in a Net", "value": {"ImageId": "ami-12345678", "VmType": "tinav5.c1r1p2", "KeypairName": "keypair-example", "SecurityGroupIds": ["sg-12345678"], "SubnetId": "subnet-12345678", "UserData": "..."}}, {"name": "ex3", "summary": "Creating a VM with block device mappings", "value": {"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}}]}}, {"name": "ex4", "summary": "Creating a VM with a NIC", "value": {"ImageId": "ami-12345678", "VmType": "tinav5.c1r1p2", "KeypairName": "keypair-example", "UserData": "...", "Nics": [{"DeviceNumber": 0, "NicId": "eni-12345678"}]}}], "curl_examples": ["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\"}'", "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\": \"...\"}'", "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}}]}'", "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\"}]}'"]}} |
|
{"instruction": "# Utilisation de l'endpoint CreateVms", "prompt": "Comment utiliser l'endpoint CreateVms ?", "chosen": "curl -X POST https://api.$OSC_REGION.outscale.com/api/v1/CreateVms ...", "rejected": "curl -X GET https://api.$OSC_REGION.outscale.com/api/v1/CreateVms ...", "example_name": "ex4", "entrée": {"ImageId": "ami-12345678", "VmType": "tinav5.c1r1p2", "KeypairName": "keypair-example", "UserData": "...", "Nics": [{"DeviceNumber": 0, "NicId": "eni-12345678"}]}, "réponse": {"operationId": "CreateVms", "path": "/CreateVms", "method": "post", "examples": [{"name": "ex1", "summary": "Creating a VM (minimal syntax)", "value": {"ImageId": "ami-12345678"}}, {"name": "ex2", "summary": "Creating a VM in a Net", "value": {"ImageId": "ami-12345678", "VmType": "tinav5.c1r1p2", "KeypairName": "keypair-example", "SecurityGroupIds": ["sg-12345678"], "SubnetId": "subnet-12345678", "UserData": "..."}}, {"name": "ex3", "summary": "Creating a VM with block device mappings", "value": {"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}}]}}, {"name": "ex4", "summary": "Creating a VM with a NIC", "value": {"ImageId": "ami-12345678", "VmType": "tinav5.c1r1p2", "KeypairName": "keypair-example", "UserData": "...", "Nics": [{"DeviceNumber": 0, "NicId": "eni-12345678"}]}}], "curl_examples": ["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\"}'", "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\": \"...\"}'", "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}}]}'", "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\"}]}'"]}} |
|
{"instruction": "# Utilisation de l'endpoint CreateVms", "prompt": "Comment utiliser l'endpoint CreateVms ?", "chosen": "curl -X POST https://api.$OSC_REGION.outscale.com/api/v1/CreateVms ...", "rejected": "curl -X GET https://api.$OSC_REGION.outscale.com/api/v1/CreateVms ...", "example_name": "ex4", "entrée": {"ImageId": "ami-12345678", "VmType": "tinav5.c1r1p2", "KeypairName": "keypair-example", "UserData": "...", "Nics": [{"DeviceNumber": 0, "NicId": "eni-12345678"}]}, "réponse": {"operationId": "CreateVms", "path": "/CreateVms", "method": "post", "examples": [{"name": "ex1", "summary": "Creating a VM (minimal syntax)", "value": {"ImageId": "ami-12345678"}}, {"name": "ex2", "summary": "Creating a VM in a Net", "value": {"ImageId": "ami-12345678", "VmType": "tinav5.c1r1p2", "KeypairName": "keypair-example", "SecurityGroupIds": ["sg-12345678"], "SubnetId": "subnet-12345678", "UserData": "..."}}, {"name": "ex3", "summary": "Creating a VM with block device mappings", "value": {"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}}]}}, {"name": "ex4", "summary": "Creating a VM with a NIC", "value": {"ImageId": "ami-12345678", "VmType": "tinav5.c1r1p2", "KeypairName": "keypair-example", "UserData": "...", "Nics": [{"DeviceNumber": 0, "NicId": "eni-12345678"}]}}], "curl_examples": ["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\"}'", "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\": \"...\"}'", "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}}]}'", "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\"}]}'"]}} |
|
{"instruction": "# Utilisation de l'endpoint CreateVms", "prompt": "Comment utiliser l'endpoint CreateVms ?", "chosen": "curl -X POST https://api.$OSC_REGION.outscale.com/api/v1/CreateVms ...", "rejected": "curl -X GET https://api.$OSC_REGION.outscale.com/api/v1/CreateVms ...", "example_name": "ex4", "entrée": {"ImageId": "ami-12345678", "VmType": "tinav5.c1r1p2", "KeypairName": "keypair-example", "UserData": "...", "Nics": [{"DeviceNumber": 0, "NicId": "eni-12345678"}]}, "réponse": {"operationId": "CreateVms", "path": "/CreateVms", "method": "post", "examples": [{"name": "ex1", "summary": "Creating a VM (minimal syntax)", "value": {"ImageId": "ami-12345678"}}, {"name": "ex2", "summary": "Creating a VM in a Net", "value": {"ImageId": "ami-12345678", "VmType": "tinav5.c1r1p2", "KeypairName": "keypair-example", "SecurityGroupIds": ["sg-12345678"], "SubnetId": "subnet-12345678", "UserData": "..."}}, {"name": "ex3", "summary": "Creating a VM with block device mappings", "value": {"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}}]}}, {"name": "ex4", "summary": "Creating a VM with a NIC", "value": {"ImageId": "ami-12345678", "VmType": "tinav5.c1r1p2", "KeypairName": "keypair-example", "UserData": "...", "Nics": [{"DeviceNumber": 0, "NicId": "eni-12345678"}]}}], "curl_examples": ["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\"}'", "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\": \"...\"}'", "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}}]}'", "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\"}]}'"]}} |
|
|