[DOCS-11508] missing documentation on diskTypeName in ATLAS API for spinning up a cluster on Azure Created: 29/Mar/18  Updated: 30/Mar/18  Resolved: 30/Mar/18

Status: Closed
Project: Documentation
Component/s: Atlas
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Blocker - P1
Reporter: Guillaume Meister (Inactive) Assignee: Ravind Kumar (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

ATLAS API


Participants:
Days since reply: 5 years, 45 weeks, 5 days ago
Story Points: 0.1

 Description   

Hi Team

when spinning up a cluster in Azure using the ATLAS API, the following error happens :

using this config file :

{
   "name": "Guillaume-API",
   "numShards": 1,
   "replicationFactor": 3,
   "providerSettings": {
      "providerName": "AZURE",
      "regionName": "EUROPE_WEST",
      "instanceSizeName": "M20"
   },
   "diskSizeGB": 64,
   "backupEnabled": false
}

The 400 bad request is returned with this message :

{
  "detail":"The required attribute diskTypeName was not specified.",
  "error":400,
  "errorCode":"MISSING_ATTRIBUTE",
  "parameters":[
    "diskTypeName"
  ],
  "reason":"Bad Request"
}

but I can’t find the possible values for `diskTypeName` in the docs.



 Comments   
Comment by Ravind Kumar (Inactive) [ 30/Mar/18 ]

guillaume.meister https://docs-staging.atlas.mongodb.com/rkumar/DOCS-11508/reference/api/clusters-create-one.html has an updated staged view. Use your corp credentials to log in if required.

I've tested and can confirm cluster creation works.

Comment by Ravind Kumar (Inactive) [ 30/Mar/18 ]

ToDo:

  • ``diskSizeGB`` is AWS and GCP only, and should be noted as such for both Create a Cluster and Modify a Cluster endpoints
  • ``diskTypeName`` is Azure only, and should derive from this file for the types and this page for the corresponding storage value.
Generated at Thu Feb 08 08:02:58 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.