github.com/kaisawind/go-swagger@v0.19.0/fixtures/bugs/1277/fixture-cloudbreak-1277.json (about)

     1  {
     2    "swagger" : "2.0",
     3    "info" : {
     4      "description" : "Cloudbreak is a powerful left surf that breaks over a coral reef, a mile off southwest the island of Tavarua, Fiji.\nCloudbreak is a cloud agnostic Hadoop as a Service API. Abstracts the provisioning and ease management and monitoring of on-demand clusters.\nSequenceIQ's Cloudbreak is a RESTful application development platform with the goal of helping developers to build solutions for deploying Hadoop YARN clusters in different environments.\nOnce it is deployed in your favourite servlet container it exposes a REST API allowing to span up Hadoop clusters of arbitary sizes and cloud providers. Provisioning Hadoop has never been easier.\nCloudbreak is built on the foundation of cloud providers API (Amazon AWS, Microsoft Azure, Google Cloud Platform, Openstack), Apache Ambari, Docker lightweight containers, Swarm and Consul.\nFor further product documentation follow the link: <a href=\"http://hortonworks.com/apache/cloudbreak/\">http://hortonworks.com/apache/cloudbreak/</a>",
     5      "version" : "unspecified",
     6      "title" : "Cloudbreak API"
     7    },
     8    "basePath" : "/api",
     9    "tags" : [ {
    10      "name" : "v1usages"
    11    }, {
    12      "name" : "v1constraints"
    13    }, {
    14      "name" : "v2connectors"
    15    }, {
    16      "name" : "v1stacks"
    17    }, {
    18      "name" : "v1topologies"
    19    }, {
    20      "name" : "cluster"
    21    }, {
    22      "name" : "v1ldap"
    23    }, {
    24      "name" : "v1networks"
    25    }, {
    26      "name" : "v1settings"
    27    }, {
    28      "name" : "v1clustertemplates"
    29    }, {
    30      "name" : "v1rdsconfigs"
    31    }, {
    32      "name" : "v1recipes"
    33    }, {
    34      "name" : "v1securitygroups"
    35    }, {
    36      "name" : "v1users"
    37    }, {
    38      "name" : "v1flexsubscriptions"
    39    }, {
    40      "name" : "v1events"
    41    }, {
    42      "name" : "v1util"
    43    }, {
    44      "name" : "v1blueprints"
    45    }, {
    46      "name" : "v1imagecatalogs"
    47    }, {
    48      "name" : "v1templates"
    49    }, {
    50      "name" : "v2stacks"
    51    }, {
    52      "name" : "v1smartsensesubscriptions"
    53    }, {
    54      "name" : "v1credentials"
    55    }, {
    56      "name" : "v1accountpreferences"
    57    }, {
    58      "name" : "v1connectors"
    59    }, {
    60      "name" : "v1subscriptions"
    61    } ],
    62    "schemes" : [ "http", "https" ],
    63    "paths" : {
    64      "/v1/accountpreferences" : {
    65        "get" : {
    66          "tags" : [ "v1accountpreferences" ],
    67          "summary" : "retrieve account preferences for admin user",
    68          "description" : "Account related preferences that could be managed by the account admins and different restrictions could be added to Cloudbreak resources.",
    69          "operationId" : "getAccountPreferencesEndpoint",
    70          "schemes" : [ "http", "https" ],
    71          "consumes" : [ "application/json" ],
    72          "produces" : [ "application/json" ],
    73          "parameters" : [ ],
    74          "responses" : {
    75            "200" : {
    76              "description" : "successful operation",
    77              "schema" : {
    78                "$ref" : "#/definitions/AccountPreference"
    79              }
    80            }
    81          }
    82        },
    83        "post" : {
    84          "tags" : [ "v1accountpreferences" ],
    85          "summary" : "post account preferences of admin user",
    86          "description" : "Account related preferences that could be managed by the account admins and different restrictions could be added to Cloudbreak resources.",
    87          "operationId" : "postAccountPreferencesEndpoint",
    88          "schemes" : [ "http", "https" ],
    89          "consumes" : [ "application/json" ],
    90          "produces" : [ "application/json" ],
    91          "parameters" : [ {
    92            "in" : "body",
    93            "name" : "body",
    94            "required" : false,
    95            "schema" : {
    96              "$ref" : "#/definitions/AccountPreference"
    97            }
    98          } ],
    99          "responses" : {
   100            "200" : {
   101              "description" : "successful operation",
   102              "schema" : {
   103                "$ref" : "#/definitions/AccountPreference"
   104              }
   105            }
   106          }
   107        },
   108        "put" : {
   109          "tags" : [ "v1accountpreferences" ],
   110          "summary" : "update account preferences of admin user",
   111          "description" : "Account related preferences that could be managed by the account admins and different restrictions could be added to Cloudbreak resources.",
   112          "operationId" : "putAccountPreferencesEndpoint",
   113          "schemes" : [ "http", "https" ],
   114          "consumes" : [ "application/json" ],
   115          "produces" : [ "application/json" ],
   116          "parameters" : [ {
   117            "in" : "body",
   118            "name" : "body",
   119            "required" : false,
   120            "schema" : {
   121              "$ref" : "#/definitions/AccountPreference"
   122            }
   123          } ],
   124          "responses" : {
   125            "200" : {
   126              "description" : "successful operation",
   127              "schema" : {
   128                "$ref" : "#/definitions/AccountPreference"
   129              }
   130            }
   131          }
   132        }
   133      },
   134      "/v1/accountpreferences/isplatformselectiondisabled" : {
   135        "get" : {
   136          "tags" : [ "v1accountpreferences" ],
   137          "summary" : "is platform selection disabled",
   138          "description" : "Account related preferences that could be managed by the account admins and different restrictions could be added to Cloudbreak resources.",
   139          "operationId" : "isPlatformSelectionDisabled",
   140          "schemes" : [ "http", "https" ],
   141          "consumes" : [ "application/json" ],
   142          "produces" : [ "application/json" ],
   143          "parameters" : [ ],
   144          "responses" : {
   145            "200" : {
   146              "description" : "successful operation",
   147              "schema" : {
   148                "type" : "object",
   149                "additionalProperties" : {
   150                  "type" : "boolean"
   151                }
   152              }
   153            }
   154          }
   155        }
   156      },
   157      "/v1/accountpreferences/validate" : {
   158        "get" : {
   159          "tags" : [ "v1accountpreferences" ],
   160          "summary" : "validate account preferences of all stacks",
   161          "description" : "Account related preferences that could be managed by the account admins and different restrictions could be added to Cloudbreak resources.",
   162          "operationId" : "validateAccountPreferencesEndpoint",
   163          "schemes" : [ "http", "https" ],
   164          "consumes" : [ "application/json" ],
   165          "produces" : [ "application/json" ],
   166          "parameters" : [ ],
   167          "responses" : {
   168            "default" : {
   169              "description" : "successful operation"
   170            }
   171          }
   172        }
   173      },
   174      "/v1/blueprints/account" : {
   175        "get" : {
   176          "tags" : [ "v1blueprints" ],
   177          "summary" : "retrieve public and private (owned) blueprints",
   178          "description" : "Ambari Blueprints are a declarative definition of a Hadoop cluster. With a Blueprint, you specify a stack, the component layout and the configurations to materialize a Hadoop cluster instance. Hostgroups defined in blueprints can be associated to different templates, thus you can spin up a highly available cluster running on different instance types. This will give you the option to group your Hadoop services based on resource needs (e.g. high I/O, CPU or memory) and create an infrastructure which fits your workload best.",
   179          "operationId" : "getPublicsBlueprint",
   180          "schemes" : [ "http", "https" ],
   181          "consumes" : [ "application/json" ],
   182          "produces" : [ "application/json" ],
   183          "parameters" : [ ],
   184          "responses" : {
   185            "200" : {
   186              "description" : "successful operation",
   187              "schema" : {
   188                "type" : "array",
   189                "uniqueItems" : true,
   190                "items" : {
   191                  "$ref" : "#/definitions/BlueprintResponse"
   192                }
   193              }
   194            }
   195          }
   196        },
   197        "post" : {
   198          "tags" : [ "v1blueprints" ],
   199          "summary" : "create blueprint as public resource",
   200          "description" : "Ambari Blueprints are a declarative definition of a Hadoop cluster. With a Blueprint, you specify a stack, the component layout and the configurations to materialize a Hadoop cluster instance. Hostgroups defined in blueprints can be associated to different templates, thus you can spin up a highly available cluster running on different instance types. This will give you the option to group your Hadoop services based on resource needs (e.g. high I/O, CPU or memory) and create an infrastructure which fits your workload best.",
   201          "operationId" : "postPublicBlueprint",
   202          "schemes" : [ "http", "https" ],
   203          "consumes" : [ "application/json" ],
   204          "produces" : [ "application/json" ],
   205          "parameters" : [ {
   206            "in" : "body",
   207            "name" : "body",
   208            "required" : false,
   209            "schema" : {
   210              "$ref" : "#/definitions/BlueprintRequest"
   211            }
   212          } ],
   213          "responses" : {
   214            "200" : {
   215              "description" : "successful operation",
   216              "schema" : {
   217                "$ref" : "#/definitions/BlueprintResponse"
   218              }
   219            }
   220          }
   221        }
   222      },
   223      "/v1/blueprints/account/{name}" : {
   224        "get" : {
   225          "tags" : [ "v1blueprints" ],
   226          "summary" : "retrieve a public or private (owned) blueprint by name",
   227          "description" : "Ambari Blueprints are a declarative definition of a Hadoop cluster. With a Blueprint, you specify a stack, the component layout and the configurations to materialize a Hadoop cluster instance. Hostgroups defined in blueprints can be associated to different templates, thus you can spin up a highly available cluster running on different instance types. This will give you the option to group your Hadoop services based on resource needs (e.g. high I/O, CPU or memory) and create an infrastructure which fits your workload best.",
   228          "operationId" : "getPublicBlueprint",
   229          "schemes" : [ "http", "https" ],
   230          "consumes" : [ "application/json" ],
   231          "produces" : [ "application/json" ],
   232          "parameters" : [ {
   233            "name" : "name",
   234            "in" : "path",
   235            "required" : true,
   236            "type" : "string"
   237          } ],
   238          "responses" : {
   239            "200" : {
   240              "description" : "successful operation",
   241              "schema" : {
   242                "$ref" : "#/definitions/BlueprintResponse"
   243              }
   244            }
   245          }
   246        },
   247        "delete" : {
   248          "tags" : [ "v1blueprints" ],
   249          "summary" : "delete public (owned) or private blueprint by name",
   250          "description" : "Ambari Blueprints are a declarative definition of a Hadoop cluster. With a Blueprint, you specify a stack, the component layout and the configurations to materialize a Hadoop cluster instance. Hostgroups defined in blueprints can be associated to different templates, thus you can spin up a highly available cluster running on different instance types. This will give you the option to group your Hadoop services based on resource needs (e.g. high I/O, CPU or memory) and create an infrastructure which fits your workload best.",
   251          "operationId" : "deletePublicBlueprint",
   252          "schemes" : [ "http", "https" ],
   253          "consumes" : [ "application/json" ],
   254          "produces" : [ "application/json" ],
   255          "parameters" : [ {
   256            "name" : "name",
   257            "in" : "path",
   258            "required" : true,
   259            "type" : "string"
   260          } ],
   261          "responses" : {
   262            "default" : {
   263              "description" : "successful operation"
   264            }
   265          }
   266        }
   267      },
   268      "/v1/blueprints/user" : {
   269        "get" : {
   270          "tags" : [ "v1blueprints" ],
   271          "summary" : "retrieve private blueprints",
   272          "description" : "Ambari Blueprints are a declarative definition of a Hadoop cluster. With a Blueprint, you specify a stack, the component layout and the configurations to materialize a Hadoop cluster instance. Hostgroups defined in blueprints can be associated to different templates, thus you can spin up a highly available cluster running on different instance types. This will give you the option to group your Hadoop services based on resource needs (e.g. high I/O, CPU or memory) and create an infrastructure which fits your workload best.",
   273          "operationId" : "getPrivatesBlueprint",
   274          "schemes" : [ "http", "https" ],
   275          "consumes" : [ "application/json" ],
   276          "produces" : [ "application/json" ],
   277          "parameters" : [ ],
   278          "responses" : {
   279            "200" : {
   280              "description" : "successful operation",
   281              "schema" : {
   282                "type" : "array",
   283                "uniqueItems" : true,
   284                "items" : {
   285                  "$ref" : "#/definitions/BlueprintResponse"
   286                }
   287              }
   288            }
   289          }
   290        },
   291        "post" : {
   292          "tags" : [ "v1blueprints" ],
   293          "summary" : "create blueprint as private resource",
   294          "description" : "Ambari Blueprints are a declarative definition of a Hadoop cluster. With a Blueprint, you specify a stack, the component layout and the configurations to materialize a Hadoop cluster instance. Hostgroups defined in blueprints can be associated to different templates, thus you can spin up a highly available cluster running on different instance types. This will give you the option to group your Hadoop services based on resource needs (e.g. high I/O, CPU or memory) and create an infrastructure which fits your workload best.",
   295          "operationId" : "postPrivateBlueprint",
   296          "schemes" : [ "http", "https" ],
   297          "consumes" : [ "application/json" ],
   298          "produces" : [ "application/json" ],
   299          "parameters" : [ {
   300            "in" : "body",
   301            "name" : "body",
   302            "required" : false,
   303            "schema" : {
   304              "$ref" : "#/definitions/BlueprintRequest"
   305            }
   306          } ],
   307          "responses" : {
   308            "200" : {
   309              "description" : "successful operation",
   310              "schema" : {
   311                "$ref" : "#/definitions/BlueprintResponse"
   312              }
   313            }
   314          }
   315        }
   316      },
   317      "/v1/blueprints/user/{name}" : {
   318        "get" : {
   319          "tags" : [ "v1blueprints" ],
   320          "summary" : "retrieve a private blueprint by name",
   321          "description" : "Ambari Blueprints are a declarative definition of a Hadoop cluster. With a Blueprint, you specify a stack, the component layout and the configurations to materialize a Hadoop cluster instance. Hostgroups defined in blueprints can be associated to different templates, thus you can spin up a highly available cluster running on different instance types. This will give you the option to group your Hadoop services based on resource needs (e.g. high I/O, CPU or memory) and create an infrastructure which fits your workload best.",
   322          "operationId" : "getPrivateBlueprint",
   323          "schemes" : [ "http", "https" ],
   324          "consumes" : [ "application/json" ],
   325          "produces" : [ "application/json" ],
   326          "parameters" : [ {
   327            "name" : "name",
   328            "in" : "path",
   329            "required" : true,
   330            "type" : "string"
   331          } ],
   332          "responses" : {
   333            "200" : {
   334              "description" : "successful operation",
   335              "schema" : {
   336                "$ref" : "#/definitions/BlueprintResponse"
   337              }
   338            }
   339          }
   340        },
   341        "delete" : {
   342          "tags" : [ "v1blueprints" ],
   343          "summary" : "delete private blueprint by name",
   344          "description" : "Ambari Blueprints are a declarative definition of a Hadoop cluster. With a Blueprint, you specify a stack, the component layout and the configurations to materialize a Hadoop cluster instance. Hostgroups defined in blueprints can be associated to different templates, thus you can spin up a highly available cluster running on different instance types. This will give you the option to group your Hadoop services based on resource needs (e.g. high I/O, CPU or memory) and create an infrastructure which fits your workload best.",
   345          "operationId" : "deletePrivateBlueprint",
   346          "schemes" : [ "http", "https" ],
   347          "consumes" : [ "application/json" ],
   348          "produces" : [ "application/json" ],
   349          "parameters" : [ {
   350            "name" : "name",
   351            "in" : "path",
   352            "required" : true,
   353            "type" : "string"
   354          } ],
   355          "responses" : {
   356            "default" : {
   357              "description" : "successful operation"
   358            }
   359          }
   360        }
   361      },
   362      "/v1/blueprints/{id}" : {
   363        "get" : {
   364          "tags" : [ "v1blueprints" ],
   365          "summary" : "retrieve blueprint by id",
   366          "description" : "Ambari Blueprints are a declarative definition of a Hadoop cluster. With a Blueprint, you specify a stack, the component layout and the configurations to materialize a Hadoop cluster instance. Hostgroups defined in blueprints can be associated to different templates, thus you can spin up a highly available cluster running on different instance types. This will give you the option to group your Hadoop services based on resource needs (e.g. high I/O, CPU or memory) and create an infrastructure which fits your workload best.",
   367          "operationId" : "getBlueprint",
   368          "schemes" : [ "http", "https" ],
   369          "consumes" : [ "application/json" ],
   370          "produces" : [ "application/json" ],
   371          "parameters" : [ {
   372            "name" : "id",
   373            "in" : "path",
   374            "required" : true,
   375            "type" : "integer",
   376            "format" : "int64"
   377          } ],
   378          "responses" : {
   379            "200" : {
   380              "description" : "successful operation",
   381              "schema" : {
   382                "$ref" : "#/definitions/BlueprintResponse"
   383              }
   384            }
   385          }
   386        },
   387        "delete" : {
   388          "tags" : [ "v1blueprints" ],
   389          "summary" : "delete blueprint by id",
   390          "description" : "Ambari Blueprints are a declarative definition of a Hadoop cluster. With a Blueprint, you specify a stack, the component layout and the configurations to materialize a Hadoop cluster instance. Hostgroups defined in blueprints can be associated to different templates, thus you can spin up a highly available cluster running on different instance types. This will give you the option to group your Hadoop services based on resource needs (e.g. high I/O, CPU or memory) and create an infrastructure which fits your workload best.",
   391          "operationId" : "deleteBlueprint",
   392          "schemes" : [ "http", "https" ],
   393          "consumes" : [ "application/json" ],
   394          "produces" : [ "application/json" ],
   395          "parameters" : [ {
   396            "name" : "id",
   397            "in" : "path",
   398            "required" : true,
   399            "type" : "integer",
   400            "format" : "int64"
   401          } ],
   402          "responses" : {
   403            "default" : {
   404              "description" : "successful operation"
   405            }
   406          }
   407        }
   408      },
   409      "/v1/clustertemplates/account" : {
   410        "get" : {
   411          "tags" : [ "v1clustertemplates" ],
   412          "summary" : "retrieve public and private (owned) cluster template",
   413          "description" : "Cluster templates are stored cluster configurations, which configurations are reusable any time",
   414          "operationId" : "getPublicsClusterTemplate",
   415          "schemes" : [ "http", "https" ],
   416          "consumes" : [ "application/json" ],
   417          "produces" : [ "application/json" ],
   418          "parameters" : [ ],
   419          "responses" : {
   420            "200" : {
   421              "description" : "successful operation",
   422              "schema" : {
   423                "type" : "array",
   424                "uniqueItems" : true,
   425                "items" : {
   426                  "$ref" : "#/definitions/ClusterTemplateResponse"
   427                }
   428              }
   429            }
   430          }
   431        },
   432        "post" : {
   433          "tags" : [ "v1clustertemplates" ],
   434          "summary" : "create cluster template as public resource",
   435          "description" : "Cluster templates are stored cluster configurations, which configurations are reusable any time",
   436          "operationId" : "postPublicClusterTemplate",
   437          "schemes" : [ "http", "https" ],
   438          "consumes" : [ "application/json" ],
   439          "produces" : [ "application/json" ],
   440          "parameters" : [ {
   441            "in" : "body",
   442            "name" : "body",
   443            "required" : false,
   444            "schema" : {
   445              "$ref" : "#/definitions/ClusterTemplateRequest"
   446            }
   447          } ],
   448          "responses" : {
   449            "200" : {
   450              "description" : "successful operation",
   451              "schema" : {
   452                "$ref" : "#/definitions/ClusterTemplateResponse"
   453              }
   454            }
   455          }
   456        }
   457      },
   458      "/v1/clustertemplates/account/{name}" : {
   459        "get" : {
   460          "tags" : [ "v1clustertemplates" ],
   461          "summary" : "retrieve a public or private (owned) cluster template by name",
   462          "description" : "Cluster templates are stored cluster configurations, which configurations are reusable any time",
   463          "operationId" : "getPublicClusterTemplate",
   464          "schemes" : [ "http", "https" ],
   465          "consumes" : [ "application/json" ],
   466          "produces" : [ "application/json" ],
   467          "parameters" : [ {
   468            "name" : "name",
   469            "in" : "path",
   470            "required" : true,
   471            "type" : "string"
   472          } ],
   473          "responses" : {
   474            "200" : {
   475              "description" : "successful operation",
   476              "schema" : {
   477                "$ref" : "#/definitions/ClusterTemplateResponse"
   478              }
   479            }
   480          }
   481        },
   482        "delete" : {
   483          "tags" : [ "v1clustertemplates" ],
   484          "summary" : "delete public (owned) or private cluster template by name",
   485          "description" : "Cluster templates are stored cluster configurations, which configurations are reusable any time",
   486          "operationId" : "deletePublicClusterTemplate",
   487          "schemes" : [ "http", "https" ],
   488          "consumes" : [ "application/json" ],
   489          "produces" : [ "application/json" ],
   490          "parameters" : [ {
   491            "name" : "name",
   492            "in" : "path",
   493            "required" : true,
   494            "type" : "string"
   495          } ],
   496          "responses" : {
   497            "default" : {
   498              "description" : "successful operation"
   499            }
   500          }
   501        }
   502      },
   503      "/v1/clustertemplates/user" : {
   504        "get" : {
   505          "tags" : [ "v1clustertemplates" ],
   506          "summary" : "retrieve private cluster templates",
   507          "description" : "Cluster templates are stored cluster configurations, which configurations are reusable any time",
   508          "operationId" : "getPrivatesClusterTemplate",
   509          "schemes" : [ "http", "https" ],
   510          "consumes" : [ "application/json" ],
   511          "produces" : [ "application/json" ],
   512          "parameters" : [ ],
   513          "responses" : {
   514            "200" : {
   515              "description" : "successful operation",
   516              "schema" : {
   517                "type" : "array",
   518                "uniqueItems" : true,
   519                "items" : {
   520                  "$ref" : "#/definitions/ClusterTemplateResponse"
   521                }
   522              }
   523            }
   524          }
   525        },
   526        "post" : {
   527          "tags" : [ "v1clustertemplates" ],
   528          "summary" : "create cluster template as private resource",
   529          "description" : "Cluster templates are stored cluster configurations, which configurations are reusable any time",
   530          "operationId" : "postPrivateClusterTemplate",
   531          "schemes" : [ "http", "https" ],
   532          "consumes" : [ "application/json" ],
   533          "produces" : [ "application/json" ],
   534          "parameters" : [ {
   535            "in" : "body",
   536            "name" : "body",
   537            "required" : false,
   538            "schema" : {
   539              "$ref" : "#/definitions/ClusterTemplateRequest"
   540            }
   541          } ],
   542          "responses" : {
   543            "200" : {
   544              "description" : "successful operation",
   545              "schema" : {
   546                "$ref" : "#/definitions/ClusterTemplateResponse"
   547              }
   548            }
   549          }
   550        }
   551      },
   552      "/v1/clustertemplates/user/{name}" : {
   553        "get" : {
   554          "tags" : [ "v1clustertemplates" ],
   555          "summary" : "retrieve a private cluster template by name",
   556          "description" : "Cluster templates are stored cluster configurations, which configurations are reusable any time",
   557          "operationId" : "getPrivateClusterTemplate",
   558          "schemes" : [ "http", "https" ],
   559          "consumes" : [ "application/json" ],
   560          "produces" : [ "application/json" ],
   561          "parameters" : [ {
   562            "name" : "name",
   563            "in" : "path",
   564            "required" : true,
   565            "type" : "string"
   566          } ],
   567          "responses" : {
   568            "200" : {
   569              "description" : "successful operation",
   570              "schema" : {
   571                "$ref" : "#/definitions/ClusterTemplateResponse"
   572              }
   573            }
   574          }
   575        },
   576        "delete" : {
   577          "tags" : [ "v1clustertemplates" ],
   578          "summary" : "delete private cluster template by name",
   579          "description" : "Cluster templates are stored cluster configurations, which configurations are reusable any time",
   580          "operationId" : "deletePrivateClusterTemplate",
   581          "schemes" : [ "http", "https" ],
   582          "consumes" : [ "application/json" ],
   583          "produces" : [ "application/json" ],
   584          "parameters" : [ {
   585            "name" : "name",
   586            "in" : "path",
   587            "required" : true,
   588            "type" : "string"
   589          } ],
   590          "responses" : {
   591            "default" : {
   592              "description" : "successful operation"
   593            }
   594          }
   595        }
   596      },
   597      "/v1/clustertemplates/{id}" : {
   598        "get" : {
   599          "tags" : [ "v1clustertemplates" ],
   600          "summary" : "retrieve cluster template by id",
   601          "description" : "Cluster templates are stored cluster configurations, which configurations are reusable any time",
   602          "operationId" : "getClusterTemplate",
   603          "schemes" : [ "http", "https" ],
   604          "consumes" : [ "application/json" ],
   605          "produces" : [ "application/json" ],
   606          "parameters" : [ {
   607            "name" : "id",
   608            "in" : "path",
   609            "required" : true,
   610            "type" : "integer",
   611            "format" : "int64"
   612          } ],
   613          "responses" : {
   614            "200" : {
   615              "description" : "successful operation",
   616              "schema" : {
   617                "$ref" : "#/definitions/ClusterTemplateResponse"
   618              }
   619            }
   620          }
   621        },
   622        "delete" : {
   623          "tags" : [ "v1clustertemplates" ],
   624          "summary" : "delete cluster template by id",
   625          "description" : "Cluster templates are stored cluster configurations, which configurations are reusable any time",
   626          "operationId" : "deleteClusterTemplate",
   627          "schemes" : [ "http", "https" ],
   628          "consumes" : [ "application/json" ],
   629          "produces" : [ "application/json" ],
   630          "parameters" : [ {
   631            "name" : "id",
   632            "in" : "path",
   633            "required" : true,
   634            "type" : "integer",
   635            "format" : "int64"
   636          } ],
   637          "responses" : {
   638            "default" : {
   639              "description" : "successful operation"
   640            }
   641          }
   642        }
   643      },
   644      "/v1/connectors" : {
   645        "get" : {
   646          "tags" : [ "v1connectors" ],
   647          "summary" : "retrive available platforms",
   648          "description" : "Each cloud provider has it's own specific resources like instance types and disk types. These endpoints are collecting them.",
   649          "operationId" : "getPlatforms",
   650          "schemes" : [ "http", "https" ],
   651          "consumes" : [ "application/json" ],
   652          "produces" : [ "application/json" ],
   653          "parameters" : [ {
   654            "name" : "extended",
   655            "in" : "query",
   656            "required" : false,
   657            "type" : "boolean"
   658          } ],
   659          "responses" : {
   660            "200" : {
   661              "description" : "successful operation",
   662              "schema" : {
   663                "type" : "object",
   664                "additionalProperties" : {
   665                  "type" : "object"
   666                }
   667              }
   668            }
   669          }
   670        }
   671      },
   672      "/v1/connectors/custom" : {
   673        "post" : {
   674          "tags" : [ "v1connectors" ],
   675          "summary" : "retrive special properties",
   676          "description" : "Each cloud provider has it's own specific resources like instance types and disk types. These endpoints are collecting them.",
   677          "operationId" : "getSpecialProperties",
   678          "schemes" : [ "http", "https" ],
   679          "consumes" : [ "application/json" ],
   680          "produces" : [ "application/json" ],
   681          "parameters" : [ ],
   682          "responses" : {
   683            "200" : {
   684              "description" : "successful operation",
   685              "schema" : {
   686                "type" : "object",
   687                "additionalProperties" : {
   688                  "type" : "boolean"
   689                }
   690              }
   691            }
   692          }
   693        }
   694      },
   695      "/v1/connectors/disktypes" : {
   696        "get" : {
   697          "tags" : [ "v1connectors" ],
   698          "summary" : "retrive available disk types",
   699          "description" : "Each cloud provider has it's own specific resources like instance types and disk types. These endpoints are collecting them.",
   700          "operationId" : "getDisktypes",
   701          "schemes" : [ "http", "https" ],
   702          "consumes" : [ "application/json" ],
   703          "produces" : [ "application/json" ],
   704          "parameters" : [ ],
   705          "responses" : {
   706            "200" : {
   707              "description" : "successful operation",
   708              "schema" : {
   709                "$ref" : "#/definitions/PlatformDisksJson"
   710              }
   711            }
   712          }
   713        }
   714      },
   715      "/v1/connectors/disktypes/{type}" : {
   716        "get" : {
   717          "tags" : [ "v1connectors" ],
   718          "summary" : "retrive disks by type",
   719          "description" : "Each cloud provider has it's own specific resources like instance types and disk types. These endpoints are collecting them.",
   720          "operationId" : "getDisktypeByType",
   721          "schemes" : [ "http", "https" ],
   722          "consumes" : [ "application/json" ],
   723          "produces" : [ "application/json" ],
   724          "parameters" : [ {
   725            "name" : "type",
   726            "in" : "path",
   727            "required" : true,
   728            "type" : "string"
   729          } ],
   730          "responses" : {
   731            "200" : {
   732              "description" : "successful operation",
   733              "schema" : {
   734                "type" : "array",
   735                "items" : {
   736                  "type" : "string"
   737                }
   738              }
   739            }
   740          }
   741        }
   742      },
   743      "/v1/connectors/ochestrators" : {
   744        "get" : {
   745          "tags" : [ "v1connectors" ],
   746          "summary" : "retrive available orchestrator types",
   747          "description" : "Each cloud provider has it's own specific resources like instance types and disk types. These endpoints are collecting them.",
   748          "operationId" : "getOrchestratortypes",
   749          "schemes" : [ "http", "https" ],
   750          "consumes" : [ "application/json" ],
   751          "produces" : [ "application/json" ],
   752          "parameters" : [ ],
   753          "responses" : {
   754            "200" : {
   755              "description" : "successful operation",
   756              "schema" : {
   757                "$ref" : "#/definitions/PlatformOrchestratorsJson"
   758              }
   759            }
   760          }
   761        }
   762      },
   763      "/v1/connectors/ochestrators/{type}" : {
   764        "get" : {
   765          "tags" : [ "v1connectors" ],
   766          "summary" : "retrive orchestrators by type",
   767          "description" : "Each cloud provider has it's own specific resources like instance types and disk types. These endpoints are collecting them.",
   768          "operationId" : "getOchestratorsByType",
   769          "schemes" : [ "http", "https" ],
   770          "consumes" : [ "application/json" ],
   771          "produces" : [ "application/json" ],
   772          "parameters" : [ {
   773            "name" : "type",
   774            "in" : "path",
   775            "required" : true,
   776            "type" : "string"
   777          } ],
   778          "responses" : {
   779            "200" : {
   780              "description" : "successful operation",
   781              "schema" : {
   782                "type" : "array",
   783                "items" : {
   784                  "type" : "string"
   785                }
   786              }
   787            }
   788          }
   789        }
   790      },
   791      "/v1/connectors/recommendation" : {
   792        "post" : {
   793          "tags" : [ "v1connectors" ],
   794          "summary" : "creates a recommendation that advises cloud resources for the given blueprint",
   795          "description" : "Each cloud provider has it's own specific resources like instance types and disk types. These endpoints are collecting them.",
   796          "operationId" : "createRecommendation",
   797          "schemes" : [ "http", "https" ],
   798          "consumes" : [ "application/json" ],
   799          "produces" : [ "application/json" ],
   800          "parameters" : [ {
   801            "in" : "body",
   802            "name" : "body",
   803            "required" : false,
   804            "schema" : {
   805              "$ref" : "#/definitions/RecommendationRequestJson"
   806            }
   807          } ],
   808          "responses" : {
   809            "200" : {
   810              "description" : "successful operation",
   811              "schema" : {
   812                "$ref" : "#/definitions/RecommendationResponse"
   813              }
   814            }
   815          }
   816        }
   817      },
   818      "/v1/connectors/regions" : {
   819        "get" : {
   820          "tags" : [ "v1connectors" ],
   821          "summary" : "retrive available regions",
   822          "description" : "Each cloud provider has it's own specific resources like instance types and disk types. These endpoints are collecting them.",
   823          "operationId" : "getRegions",
   824          "schemes" : [ "http", "https" ],
   825          "consumes" : [ "application/json" ],
   826          "produces" : [ "application/json" ],
   827          "parameters" : [ ],
   828          "responses" : {
   829            "200" : {
   830              "description" : "successful operation",
   831              "schema" : {
   832                "$ref" : "#/definitions/PlatformRegionsJson"
   833              }
   834            }
   835          }
   836        }
   837      },
   838      "/v1/connectors/regions/av/{type}" : {
   839        "get" : {
   840          "tags" : [ "v1connectors" ],
   841          "summary" : "retrive availability zones by type",
   842          "description" : "Each cloud provider has it's own specific resources like instance types and disk types. These endpoints are collecting them.",
   843          "operationId" : "getRegionAvByType",
   844          "schemes" : [ "http", "https" ],
   845          "consumes" : [ "application/json" ],
   846          "produces" : [ "application/json" ],
   847          "parameters" : [ {
   848            "name" : "type",
   849            "in" : "path",
   850            "required" : true,
   851            "type" : "string"
   852          } ],
   853          "responses" : {
   854            "200" : {
   855              "description" : "successful operation",
   856              "schema" : {
   857                "type" : "object",
   858                "additionalProperties" : {
   859                  "type" : "array",
   860                  "items" : {
   861                    "type" : "string"
   862                  }
   863                }
   864              }
   865            }
   866          }
   867        }
   868      },
   869      "/v1/connectors/regions/r/{type}" : {
   870        "get" : {
   871          "tags" : [ "v1connectors" ],
   872          "summary" : "retrive regions by type",
   873          "description" : "Each cloud provider has it's own specific resources like instance types and disk types. These endpoints are collecting them.",
   874          "operationId" : "getRegionRByType",
   875          "schemes" : [ "http", "https" ],
   876          "consumes" : [ "application/json" ],
   877          "produces" : [ "application/json" ],
   878          "parameters" : [ {
   879            "name" : "type",
   880            "in" : "path",
   881            "required" : true,
   882            "type" : "string"
   883          } ],
   884          "responses" : {
   885            "200" : {
   886              "description" : "successful operation",
   887              "schema" : {
   888                "type" : "array",
   889                "items" : {
   890                  "type" : "string"
   891                }
   892              }
   893            }
   894          }
   895        }
   896      },
   897      "/v1/connectors/tagspecifications" : {
   898        "get" : {
   899          "tags" : [ "v1connectors" ],
   900          "summary" : "retrive tag specifications",
   901          "description" : "Each cloud provider has it's own specific resources like instance types and disk types. These endpoints are collecting them.",
   902          "operationId" : "getTagSpecifications",
   903          "schemes" : [ "http", "https" ],
   904          "consumes" : [ "application/json" ],
   905          "produces" : [ "application/json" ],
   906          "parameters" : [ ],
   907          "responses" : {
   908            "200" : {
   909              "description" : "successful operation",
   910              "schema" : {
   911                "$ref" : "#/definitions/TagSpecificationsJson"
   912              }
   913            }
   914          }
   915        }
   916      },
   917      "/v1/connectors/variants" : {
   918        "get" : {
   919          "tags" : [ "v1connectors" ],
   920          "summary" : "retrive available platform variants",
   921          "description" : "Each cloud provider has it's own specific resources like instance types and disk types. These endpoints are collecting them.",
   922          "operationId" : "getPlatformVariants",
   923          "schemes" : [ "http", "https" ],
   924          "consumes" : [ "application/json" ],
   925          "produces" : [ "application/json" ],
   926          "parameters" : [ ],
   927          "responses" : {
   928            "200" : {
   929              "description" : "successful operation",
   930              "schema" : {
   931                "$ref" : "#/definitions/PlatformVariantsJson"
   932              }
   933            }
   934          }
   935        }
   936      },
   937      "/v1/connectors/variants/{type}" : {
   938        "get" : {
   939          "tags" : [ "v1connectors" ],
   940          "summary" : "retrive a platform variant by type",
   941          "description" : "Each cloud provider has it's own specific resources like instance types and disk types. These endpoints are collecting them.",
   942          "operationId" : "getPlatformVariantByType",
   943          "schemes" : [ "http", "https" ],
   944          "consumes" : [ "application/json" ],
   945          "produces" : [ "application/json" ],
   946          "parameters" : [ {
   947            "name" : "type",
   948            "in" : "path",
   949            "required" : true,
   950            "type" : "string"
   951          } ],
   952          "responses" : {
   953            "200" : {
   954              "description" : "successful operation",
   955              "schema" : {
   956                "type" : "array",
   957                "items" : {
   958                  "type" : "string"
   959                }
   960              }
   961            }
   962          }
   963        }
   964      },
   965      "/v1/connectors/vmtypes" : {
   966        "get" : {
   967          "tags" : [ "v1connectors" ],
   968          "summary" : "retrive available vm types",
   969          "description" : "Each cloud provider has it's own specific resources like instance types and disk types. These endpoints are collecting them.",
   970          "operationId" : "getVmTypes",
   971          "schemes" : [ "http", "https" ],
   972          "consumes" : [ "application/json" ],
   973          "produces" : [ "application/json" ],
   974          "parameters" : [ {
   975            "name" : "extended",
   976            "in" : "query",
   977            "required" : false,
   978            "type" : "boolean"
   979          } ],
   980          "responses" : {
   981            "200" : {
   982              "description" : "successful operation",
   983              "schema" : {
   984                "$ref" : "#/definitions/PlatformVirtualMachinesJson"
   985              }
   986            }
   987          }
   988        }
   989      },
   990      "/v1/connectors/vmtypes/{type}" : {
   991        "get" : {
   992          "tags" : [ "v1connectors" ],
   993          "summary" : "retrive available vm types",
   994          "description" : "Each cloud provider has it's own specific resources like instance types and disk types. These endpoints are collecting them.",
   995          "operationId" : "getVmTypesByType",
   996          "schemes" : [ "http", "https" ],
   997          "consumes" : [ "application/json" ],
   998          "produces" : [ "application/json" ],
   999          "parameters" : [ {
  1000            "name" : "type",
  1001            "in" : "path",
  1002            "required" : true,
  1003            "type" : "string"
  1004          }, {
  1005            "name" : "extended",
  1006            "in" : "query",
  1007            "required" : false,
  1008            "type" : "boolean"
  1009          } ],
  1010          "responses" : {
  1011            "200" : {
  1012              "description" : "successful operation",
  1013              "schema" : {
  1014                "$ref" : "#/definitions/PlatformVirtualMachinesJson"
  1015              }
  1016            }
  1017          }
  1018        }
  1019      },
  1020      "/v1/constraints/account" : {
  1021        "get" : {
  1022          "tags" : [ "v1constraints" ],
  1023          "summary" : "retrieve public and private (owned) constraint templates",
  1024          "description" : "A constraint template tells Cloudbreak the resource constraints (cpu, memory, disk) of the Ambari containers that will be deployed to the cluster. A constraint template must be created onenvironments where there is no one-to-one mapping between containers and nodes, like YARN.",
  1025          "operationId" : "getPublicsConstraint",
  1026          "schemes" : [ "http", "https" ],
  1027          "consumes" : [ "application/json" ],
  1028          "produces" : [ "application/json" ],
  1029          "parameters" : [ ],
  1030          "responses" : {
  1031            "200" : {
  1032              "description" : "successful operation",
  1033              "schema" : {
  1034                "type" : "array",
  1035                "uniqueItems" : true,
  1036                "items" : {
  1037                  "$ref" : "#/definitions/ConstraintTemplateResponse"
  1038                }
  1039              }
  1040            }
  1041          }
  1042        },
  1043        "post" : {
  1044          "tags" : [ "v1constraints" ],
  1045          "summary" : "create constraint template as public resource",
  1046          "description" : "A constraint template tells Cloudbreak the resource constraints (cpu, memory, disk) of the Ambari containers that will be deployed to the cluster. A constraint template must be created onenvironments where there is no one-to-one mapping between containers and nodes, like YARN.",
  1047          "operationId" : "postPublicConstraint",
  1048          "schemes" : [ "http", "https" ],
  1049          "consumes" : [ "application/json" ],
  1050          "produces" : [ "application/json" ],
  1051          "parameters" : [ {
  1052            "in" : "body",
  1053            "name" : "body",
  1054            "required" : false,
  1055            "schema" : {
  1056              "$ref" : "#/definitions/ConstraintTemplateRequest"
  1057            }
  1058          } ],
  1059          "responses" : {
  1060            "200" : {
  1061              "description" : "successful operation",
  1062              "schema" : {
  1063                "$ref" : "#/definitions/ConstraintTemplateResponse"
  1064              }
  1065            }
  1066          }
  1067        }
  1068      },
  1069      "/v1/constraints/account/{name}" : {
  1070        "get" : {
  1071          "tags" : [ "v1constraints" ],
  1072          "summary" : "retrieve a public or private (owned) constraint template by name",
  1073          "description" : "A constraint template tells Cloudbreak the resource constraints (cpu, memory, disk) of the Ambari containers that will be deployed to the cluster. A constraint template must be created onenvironments where there is no one-to-one mapping between containers and nodes, like YARN.",
  1074          "operationId" : "getPublicConstraint",
  1075          "schemes" : [ "http", "https" ],
  1076          "consumes" : [ "application/json" ],
  1077          "produces" : [ "application/json" ],
  1078          "parameters" : [ {
  1079            "name" : "name",
  1080            "in" : "path",
  1081            "required" : true,
  1082            "type" : "string"
  1083          } ],
  1084          "responses" : {
  1085            "200" : {
  1086              "description" : "successful operation",
  1087              "schema" : {
  1088                "$ref" : "#/definitions/ConstraintTemplateResponse"
  1089              }
  1090            }
  1091          }
  1092        },
  1093        "delete" : {
  1094          "tags" : [ "v1constraints" ],
  1095          "summary" : "delete public (owned) or private constraint template by name",
  1096          "description" : "A constraint template tells Cloudbreak the resource constraints (cpu, memory, disk) of the Ambari containers that will be deployed to the cluster. A constraint template must be created onenvironments where there is no one-to-one mapping between containers and nodes, like YARN.",
  1097          "operationId" : "deletePublicConstraint",
  1098          "schemes" : [ "http", "https" ],
  1099          "consumes" : [ "application/json" ],
  1100          "produces" : [ "application/json" ],
  1101          "parameters" : [ {
  1102            "name" : "name",
  1103            "in" : "path",
  1104            "required" : true,
  1105            "type" : "string"
  1106          } ],
  1107          "responses" : {
  1108            "default" : {
  1109              "description" : "successful operation"
  1110            }
  1111          }
  1112        }
  1113      },
  1114      "/v1/constraints/user" : {
  1115        "get" : {
  1116          "tags" : [ "v1constraints" ],
  1117          "summary" : "retrieve private constraint templates",
  1118          "description" : "A constraint template tells Cloudbreak the resource constraints (cpu, memory, disk) of the Ambari containers that will be deployed to the cluster. A constraint template must be created onenvironments where there is no one-to-one mapping between containers and nodes, like YARN.",
  1119          "operationId" : "getPrivatesConstraint",
  1120          "schemes" : [ "http", "https" ],
  1121          "consumes" : [ "application/json" ],
  1122          "produces" : [ "application/json" ],
  1123          "parameters" : [ ],
  1124          "responses" : {
  1125            "200" : {
  1126              "description" : "successful operation",
  1127              "schema" : {
  1128                "type" : "array",
  1129                "uniqueItems" : true,
  1130                "items" : {
  1131                  "$ref" : "#/definitions/ConstraintTemplateResponse"
  1132                }
  1133              }
  1134            }
  1135          }
  1136        },
  1137        "post" : {
  1138          "tags" : [ "v1constraints" ],
  1139          "summary" : "create constraint template as private resource",
  1140          "description" : "A constraint template tells Cloudbreak the resource constraints (cpu, memory, disk) of the Ambari containers that will be deployed to the cluster. A constraint template must be created onenvironments where there is no one-to-one mapping between containers and nodes, like YARN.",
  1141          "operationId" : "postPrivateConstraint",
  1142          "schemes" : [ "http", "https" ],
  1143          "consumes" : [ "application/json" ],
  1144          "produces" : [ "application/json" ],
  1145          "parameters" : [ {
  1146            "in" : "body",
  1147            "name" : "body",
  1148            "required" : false,
  1149            "schema" : {
  1150              "$ref" : "#/definitions/ConstraintTemplateRequest"
  1151            }
  1152          } ],
  1153          "responses" : {
  1154            "200" : {
  1155              "description" : "successful operation",
  1156              "schema" : {
  1157                "$ref" : "#/definitions/ConstraintTemplateResponse"
  1158              }
  1159            }
  1160          }
  1161        }
  1162      },
  1163      "/v1/constraints/user/{name}" : {
  1164        "get" : {
  1165          "tags" : [ "v1constraints" ],
  1166          "summary" : "retrieve a private constraint template by name",
  1167          "description" : "A constraint template tells Cloudbreak the resource constraints (cpu, memory, disk) of the Ambari containers that will be deployed to the cluster. A constraint template must be created onenvironments where there is no one-to-one mapping between containers and nodes, like YARN.",
  1168          "operationId" : "getPrivateConstraint",
  1169          "schemes" : [ "http", "https" ],
  1170          "consumes" : [ "application/json" ],
  1171          "produces" : [ "application/json" ],
  1172          "parameters" : [ {
  1173            "name" : "name",
  1174            "in" : "path",
  1175            "required" : true,
  1176            "type" : "string"
  1177          } ],
  1178          "responses" : {
  1179            "200" : {
  1180              "description" : "successful operation",
  1181              "schema" : {
  1182                "$ref" : "#/definitions/ConstraintTemplateResponse"
  1183              }
  1184            }
  1185          }
  1186        },
  1187        "delete" : {
  1188          "tags" : [ "v1constraints" ],
  1189          "summary" : "delete private constraint template by name",
  1190          "description" : "A constraint template tells Cloudbreak the resource constraints (cpu, memory, disk) of the Ambari containers that will be deployed to the cluster. A constraint template must be created onenvironments where there is no one-to-one mapping between containers and nodes, like YARN.",
  1191          "operationId" : "deletePrivateConstraint",
  1192          "schemes" : [ "http", "https" ],
  1193          "consumes" : [ "application/json" ],
  1194          "produces" : [ "application/json" ],
  1195          "parameters" : [ {
  1196            "name" : "name",
  1197            "in" : "path",
  1198            "required" : true,
  1199            "type" : "string"
  1200          } ],
  1201          "responses" : {
  1202            "default" : {
  1203              "description" : "successful operation"
  1204            }
  1205          }
  1206        }
  1207      },
  1208      "/v1/constraints/{id}" : {
  1209        "get" : {
  1210          "tags" : [ "v1constraints" ],
  1211          "summary" : "retrieve constraint template by id",
  1212          "description" : "A constraint template tells Cloudbreak the resource constraints (cpu, memory, disk) of the Ambari containers that will be deployed to the cluster. A constraint template must be created onenvironments where there is no one-to-one mapping between containers and nodes, like YARN.",
  1213          "operationId" : "getConstraint",
  1214          "schemes" : [ "http", "https" ],
  1215          "consumes" : [ "application/json" ],
  1216          "produces" : [ "application/json" ],
  1217          "parameters" : [ {
  1218            "name" : "id",
  1219            "in" : "path",
  1220            "required" : true,
  1221            "type" : "integer",
  1222            "format" : "int64"
  1223          } ],
  1224          "responses" : {
  1225            "200" : {
  1226              "description" : "successful operation",
  1227              "schema" : {
  1228                "$ref" : "#/definitions/ConstraintTemplateResponse"
  1229              }
  1230            }
  1231          }
  1232        },
  1233        "delete" : {
  1234          "tags" : [ "v1constraints" ],
  1235          "summary" : "delete constraint template by id",
  1236          "description" : "A constraint template tells Cloudbreak the resource constraints (cpu, memory, disk) of the Ambari containers that will be deployed to the cluster. A constraint template must be created onenvironments where there is no one-to-one mapping between containers and nodes, like YARN.",
  1237          "operationId" : "deleteConstraint",
  1238          "schemes" : [ "http", "https" ],
  1239          "consumes" : [ "application/json" ],
  1240          "produces" : [ "application/json" ],
  1241          "parameters" : [ {
  1242            "name" : "id",
  1243            "in" : "path",
  1244            "required" : true,
  1245            "type" : "integer",
  1246            "format" : "int64"
  1247          } ],
  1248          "responses" : {
  1249            "default" : {
  1250              "description" : "successful operation"
  1251            }
  1252          }
  1253        }
  1254      },
  1255      "/v1/credentials/account" : {
  1256        "get" : {
  1257          "tags" : [ "v1credentials" ],
  1258          "summary" : "retrieve public and private (owned) credentials",
  1259          "description" : "Cloudbreak is launching Hadoop clusters on the user's behalf - on different cloud providers. One key point is that Cloudbreak does not store your Cloud provider account details (such as username, password, keys, private SSL certificates, etc). We work around the concept that Identity and Access Management is fully controlled by you - the end user. The Cloudbreak deployer is purely acting on behalf of the end user - without having access to the user's account.",
  1260          "operationId" : "getPublicsCredential",
  1261          "schemes" : [ "http", "https" ],
  1262          "consumes" : [ "application/json" ],
  1263          "produces" : [ "application/json" ],
  1264          "parameters" : [ ],
  1265          "responses" : {
  1266            "200" : {
  1267              "description" : "successful operation",
  1268              "schema" : {
  1269                "type" : "array",
  1270                "uniqueItems" : true,
  1271                "items" : {
  1272                  "$ref" : "#/definitions/CredentialResponse"
  1273                }
  1274              }
  1275            }
  1276          }
  1277        },
  1278        "post" : {
  1279          "tags" : [ "v1credentials" ],
  1280          "summary" : "create credential as public resource",
  1281          "description" : "Cloudbreak is launching Hadoop clusters on the user's behalf - on different cloud providers. One key point is that Cloudbreak does not store your Cloud provider account details (such as username, password, keys, private SSL certificates, etc). We work around the concept that Identity and Access Management is fully controlled by you - the end user. The Cloudbreak deployer is purely acting on behalf of the end user - without having access to the user's account.",
  1282          "operationId" : "postPublicCredential",
  1283          "schemes" : [ "http", "https" ],
  1284          "consumes" : [ "application/json" ],
  1285          "produces" : [ "application/json" ],
  1286          "parameters" : [ {
  1287            "in" : "body",
  1288            "name" : "body",
  1289            "required" : false,
  1290            "schema" : {
  1291              "$ref" : "#/definitions/CredentialRequest"
  1292            }
  1293          } ],
  1294          "responses" : {
  1295            "200" : {
  1296              "description" : "successful operation",
  1297              "schema" : {
  1298                "$ref" : "#/definitions/CredentialResponse"
  1299              }
  1300            }
  1301          }
  1302        }
  1303      },
  1304      "/v1/credentials/account/{name}" : {
  1305        "get" : {
  1306          "tags" : [ "v1credentials" ],
  1307          "summary" : "retrieve a public or private (owned) credential by name",
  1308          "description" : "Cloudbreak is launching Hadoop clusters on the user's behalf - on different cloud providers. One key point is that Cloudbreak does not store your Cloud provider account details (such as username, password, keys, private SSL certificates, etc). We work around the concept that Identity and Access Management is fully controlled by you - the end user. The Cloudbreak deployer is purely acting on behalf of the end user - without having access to the user's account.",
  1309          "operationId" : "getPublicCredential",
  1310          "schemes" : [ "http", "https" ],
  1311          "consumes" : [ "application/json" ],
  1312          "produces" : [ "application/json" ],
  1313          "parameters" : [ {
  1314            "name" : "name",
  1315            "in" : "path",
  1316            "required" : true,
  1317            "type" : "string"
  1318          } ],
  1319          "responses" : {
  1320            "200" : {
  1321              "description" : "successful operation",
  1322              "schema" : {
  1323                "$ref" : "#/definitions/CredentialResponse"
  1324              }
  1325            }
  1326          }
  1327        },
  1328        "delete" : {
  1329          "tags" : [ "v1credentials" ],
  1330          "summary" : "delete public (owned) or private credential by name",
  1331          "description" : "Cloudbreak is launching Hadoop clusters on the user's behalf - on different cloud providers. One key point is that Cloudbreak does not store your Cloud provider account details (such as username, password, keys, private SSL certificates, etc). We work around the concept that Identity and Access Management is fully controlled by you - the end user. The Cloudbreak deployer is purely acting on behalf of the end user - without having access to the user's account.",
  1332          "operationId" : "deletePublicCredential",
  1333          "schemes" : [ "http", "https" ],
  1334          "consumes" : [ "application/json" ],
  1335          "produces" : [ "application/json" ],
  1336          "parameters" : [ {
  1337            "name" : "name",
  1338            "in" : "path",
  1339            "required" : true,
  1340            "type" : "string"
  1341          } ],
  1342          "responses" : {
  1343            "default" : {
  1344              "description" : "successful operation"
  1345            }
  1346          }
  1347        }
  1348      },
  1349      "/v1/credentials/accountinteractivelogin" : {
  1350        "post" : {
  1351          "tags" : [ "v1credentials" ],
  1352          "summary" : "interactive login",
  1353          "description" : "Cloudbreak is launching Hadoop clusters on the user's behalf - on different cloud providers. One key point is that Cloudbreak does not store your Cloud provider account details (such as username, password, keys, private SSL certificates, etc). We work around the concept that Identity and Access Management is fully controlled by you - the end user. The Cloudbreak deployer is purely acting on behalf of the end user - without having access to the user's account.",
  1354          "operationId" : "publicInteractiveLoginCredential",
  1355          "schemes" : [ "http", "https" ],
  1356          "consumes" : [ "application/json" ],
  1357          "produces" : [ "application/json" ],
  1358          "parameters" : [ {
  1359            "in" : "body",
  1360            "name" : "body",
  1361            "required" : false,
  1362            "schema" : {
  1363              "$ref" : "#/definitions/CredentialRequest"
  1364            }
  1365          } ],
  1366          "responses" : {
  1367            "200" : {
  1368              "description" : "successful operation",
  1369              "schema" : {
  1370                "type" : "object",
  1371                "additionalProperties" : {
  1372                  "type" : "string"
  1373                }
  1374              }
  1375            }
  1376          }
  1377        }
  1378      },
  1379      "/v1/credentials/user" : {
  1380        "get" : {
  1381          "tags" : [ "v1credentials" ],
  1382          "summary" : "retrieve private credentials",
  1383          "description" : "Cloudbreak is launching Hadoop clusters on the user's behalf - on different cloud providers. One key point is that Cloudbreak does not store your Cloud provider account details (such as username, password, keys, private SSL certificates, etc). We work around the concept that Identity and Access Management is fully controlled by you - the end user. The Cloudbreak deployer is purely acting on behalf of the end user - without having access to the user's account.",
  1384          "operationId" : "getPrivatesCredential",
  1385          "schemes" : [ "http", "https" ],
  1386          "consumes" : [ "application/json" ],
  1387          "produces" : [ "application/json" ],
  1388          "parameters" : [ ],
  1389          "responses" : {
  1390            "200" : {
  1391              "description" : "successful operation",
  1392              "schema" : {
  1393                "type" : "array",
  1394                "uniqueItems" : true,
  1395                "items" : {
  1396                  "$ref" : "#/definitions/CredentialResponse"
  1397                }
  1398              }
  1399            }
  1400          }
  1401        },
  1402        "post" : {
  1403          "tags" : [ "v1credentials" ],
  1404          "summary" : "create credential as private resource",
  1405          "description" : "Cloudbreak is launching Hadoop clusters on the user's behalf - on different cloud providers. One key point is that Cloudbreak does not store your Cloud provider account details (such as username, password, keys, private SSL certificates, etc). We work around the concept that Identity and Access Management is fully controlled by you - the end user. The Cloudbreak deployer is purely acting on behalf of the end user - without having access to the user's account.",
  1406          "operationId" : "postPrivateCredential",
  1407          "schemes" : [ "http", "https" ],
  1408          "consumes" : [ "application/json" ],
  1409          "produces" : [ "application/json" ],
  1410          "parameters" : [ {
  1411            "in" : "body",
  1412            "name" : "body",
  1413            "required" : false,
  1414            "schema" : {
  1415              "$ref" : "#/definitions/CredentialRequest"
  1416            }
  1417          } ],
  1418          "responses" : {
  1419            "200" : {
  1420              "description" : "successful operation",
  1421              "schema" : {
  1422                "$ref" : "#/definitions/CredentialResponse"
  1423              }
  1424            }
  1425          }
  1426        }
  1427      },
  1428      "/v1/credentials/user/{name}" : {
  1429        "get" : {
  1430          "tags" : [ "v1credentials" ],
  1431          "summary" : "retrieve a private credential by name",
  1432          "description" : "Cloudbreak is launching Hadoop clusters on the user's behalf - on different cloud providers. One key point is that Cloudbreak does not store your Cloud provider account details (such as username, password, keys, private SSL certificates, etc). We work around the concept that Identity and Access Management is fully controlled by you - the end user. The Cloudbreak deployer is purely acting on behalf of the end user - without having access to the user's account.",
  1433          "operationId" : "getPrivateCredential",
  1434          "schemes" : [ "http", "https" ],
  1435          "consumes" : [ "application/json" ],
  1436          "produces" : [ "application/json" ],
  1437          "parameters" : [ {
  1438            "name" : "name",
  1439            "in" : "path",
  1440            "required" : true,
  1441            "type" : "string"
  1442          } ],
  1443          "responses" : {
  1444            "200" : {
  1445              "description" : "successful operation",
  1446              "schema" : {
  1447                "$ref" : "#/definitions/CredentialResponse"
  1448              }
  1449            }
  1450          }
  1451        },
  1452        "delete" : {
  1453          "tags" : [ "v1credentials" ],
  1454          "summary" : "delete private credential by name",
  1455          "description" : "Cloudbreak is launching Hadoop clusters on the user's behalf - on different cloud providers. One key point is that Cloudbreak does not store your Cloud provider account details (such as username, password, keys, private SSL certificates, etc). We work around the concept that Identity and Access Management is fully controlled by you - the end user. The Cloudbreak deployer is purely acting on behalf of the end user - without having access to the user's account.",
  1456          "operationId" : "deletePrivateCredential",
  1457          "schemes" : [ "http", "https" ],
  1458          "consumes" : [ "application/json" ],
  1459          "produces" : [ "application/json" ],
  1460          "parameters" : [ {
  1461            "name" : "name",
  1462            "in" : "path",
  1463            "required" : true,
  1464            "type" : "string"
  1465          } ],
  1466          "responses" : {
  1467            "default" : {
  1468              "description" : "successful operation"
  1469            }
  1470          }
  1471        }
  1472      },
  1473      "/v1/credentials/userinteractivelogin" : {
  1474        "post" : {
  1475          "tags" : [ "v1credentials" ],
  1476          "summary" : "interactive login",
  1477          "description" : "Cloudbreak is launching Hadoop clusters on the user's behalf - on different cloud providers. One key point is that Cloudbreak does not store your Cloud provider account details (such as username, password, keys, private SSL certificates, etc). We work around the concept that Identity and Access Management is fully controlled by you - the end user. The Cloudbreak deployer is purely acting on behalf of the end user - without having access to the user's account.",
  1478          "operationId" : "privateInteractiveLoginCredential",
  1479          "schemes" : [ "http", "https" ],
  1480          "consumes" : [ "application/json" ],
  1481          "produces" : [ "application/json" ],
  1482          "parameters" : [ {
  1483            "in" : "body",
  1484            "name" : "body",
  1485            "required" : false,
  1486            "schema" : {
  1487              "$ref" : "#/definitions/CredentialRequest"
  1488            }
  1489          } ],
  1490          "responses" : {
  1491            "200" : {
  1492              "description" : "successful operation",
  1493              "schema" : {
  1494                "type" : "object",
  1495                "additionalProperties" : {
  1496                  "type" : "string"
  1497                }
  1498              }
  1499            }
  1500          }
  1501        }
  1502      },
  1503      "/v1/credentials/{id}" : {
  1504        "get" : {
  1505          "tags" : [ "v1credentials" ],
  1506          "summary" : "retrieve credential by id",
  1507          "description" : "Cloudbreak is launching Hadoop clusters on the user's behalf - on different cloud providers. One key point is that Cloudbreak does not store your Cloud provider account details (such as username, password, keys, private SSL certificates, etc). We work around the concept that Identity and Access Management is fully controlled by you - the end user. The Cloudbreak deployer is purely acting on behalf of the end user - without having access to the user's account.",
  1508          "operationId" : "getCredential",
  1509          "schemes" : [ "http", "https" ],
  1510          "consumes" : [ "application/json" ],
  1511          "produces" : [ "application/json" ],
  1512          "parameters" : [ {
  1513            "name" : "id",
  1514            "in" : "path",
  1515            "required" : true,
  1516            "type" : "integer",
  1517            "format" : "int64"
  1518          } ],
  1519          "responses" : {
  1520            "200" : {
  1521              "description" : "successful operation",
  1522              "schema" : {
  1523                "$ref" : "#/definitions/CredentialResponse"
  1524              }
  1525            }
  1526          }
  1527        },
  1528        "delete" : {
  1529          "tags" : [ "v1credentials" ],
  1530          "summary" : "delete credential by id",
  1531          "description" : "Cloudbreak is launching Hadoop clusters on the user's behalf - on different cloud providers. One key point is that Cloudbreak does not store your Cloud provider account details (such as username, password, keys, private SSL certificates, etc). We work around the concept that Identity and Access Management is fully controlled by you - the end user. The Cloudbreak deployer is purely acting on behalf of the end user - without having access to the user's account.",
  1532          "operationId" : "deleteCredential",
  1533          "schemes" : [ "http", "https" ],
  1534          "consumes" : [ "application/json" ],
  1535          "produces" : [ "application/json" ],
  1536          "parameters" : [ {
  1537            "name" : "id",
  1538            "in" : "path",
  1539            "required" : true,
  1540            "type" : "integer",
  1541            "format" : "int64"
  1542          } ],
  1543          "responses" : {
  1544            "default" : {
  1545              "description" : "successful operation"
  1546            }
  1547          }
  1548        }
  1549      },
  1550      "/v1/events" : {
  1551        "get" : {
  1552          "tags" : [ "v1events" ],
  1553          "summary" : "retrieve events by timestamp (long)",
  1554          "description" : "Events are used to track stack creation initiated by cloudbreak users. Events are generated by the backend when resources requested by the user become available or unavailable",
  1555          "operationId" : "getEvents",
  1556          "schemes" : [ "http", "https" ],
  1557          "consumes" : [ "application/json" ],
  1558          "produces" : [ "application/json" ],
  1559          "parameters" : [ {
  1560            "name" : "since",
  1561            "in" : "query",
  1562            "required" : false,
  1563            "type" : "integer",
  1564            "format" : "int64"
  1565          } ],
  1566          "responses" : {
  1567            "200" : {
  1568              "description" : "successful operation",
  1569              "schema" : {
  1570                "type" : "array",
  1571                "items" : {
  1572                  "$ref" : "#/definitions/CloudbreakEvent"
  1573                }
  1574              }
  1575            }
  1576          }
  1577        }
  1578      },
  1579      "/v1/events/struct/zip/{stackId}" : {
  1580        "get" : {
  1581          "tags" : [ "v1events" ],
  1582          "operationId" : "getStructuredEventsZip",
  1583          "schemes" : [ "http", "https" ],
  1584          "consumes" : [ "application/json" ],
  1585          "produces" : [ "application/octet-stream" ],
  1586          "parameters" : [ {
  1587            "name" : "stackId",
  1588            "in" : "path",
  1589            "required" : true,
  1590            "type" : "integer",
  1591            "format" : "int64"
  1592          } ],
  1593          "responses" : {
  1594            "default" : {
  1595              "description" : "successful operation"
  1596            }
  1597          }
  1598        }
  1599      },
  1600      "/v1/events/struct/{stackId}" : {
  1601        "get" : {
  1602          "tags" : [ "v1events" ],
  1603          "operationId" : "getStructuredEvents",
  1604          "schemes" : [ "http", "https" ],
  1605          "consumes" : [ "application/json" ],
  1606          "produces" : [ "application/json" ],
  1607          "parameters" : [ {
  1608            "name" : "stackId",
  1609            "in" : "path",
  1610            "required" : true,
  1611            "type" : "integer",
  1612            "format" : "int64"
  1613          } ],
  1614          "responses" : {
  1615            "200" : {
  1616              "description" : "successful operation",
  1617              "schema" : {
  1618                "type" : "array",
  1619                "items" : {
  1620                  "$ref" : "#/definitions/StructuredEvent"
  1621                }
  1622              },
  1623              "headers" : { }
  1624            }
  1625          }
  1626        }
  1627      },
  1628      "/v1/events/{stackId}" : {
  1629        "get" : {
  1630          "tags" : [ "v1events" ],
  1631          "summary" : "retrieve events by stackid (long)",
  1632          "description" : "Events are used to track stack creation initiated by cloudbreak users. Events are generated by the backend when resources requested by the user become available or unavailable",
  1633          "operationId" : "getEventsBySTackId",
  1634          "schemes" : [ "http", "https" ],
  1635          "consumes" : [ "application/json" ],
  1636          "produces" : [ "application/json" ],
  1637          "parameters" : [ {
  1638            "name" : "stackId",
  1639            "in" : "path",
  1640            "required" : true,
  1641            "type" : "integer",
  1642            "format" : "int64"
  1643          } ],
  1644          "responses" : {
  1645            "200" : {
  1646              "description" : "successful operation",
  1647              "schema" : {
  1648                "type" : "array",
  1649                "items" : {
  1650                  "$ref" : "#/definitions/CloudbreakEvent"
  1651                }
  1652              }
  1653            }
  1654          }
  1655        }
  1656      },
  1657      "/v1/flexsubscriptions/account" : {
  1658        "get" : {
  1659          "tags" : [ "v1flexsubscriptions" ],
  1660          "summary" : "retrieve public and private (owned) Flex subscriptions",
  1661          "description" : "Flex subscriptions could be configured.",
  1662          "operationId" : "getPublicFlexSubscriptions",
  1663          "schemes" : [ "http", "https" ],
  1664          "consumes" : [ "application/json" ],
  1665          "produces" : [ "application/json" ],
  1666          "parameters" : [ ],
  1667          "responses" : {
  1668            "200" : {
  1669              "description" : "successful operation",
  1670              "schema" : {
  1671                "type" : "array",
  1672                "items" : {
  1673                  "$ref" : "#/definitions/FlexSubscriptionResponse"
  1674                }
  1675              }
  1676            }
  1677          }
  1678        },
  1679        "post" : {
  1680          "tags" : [ "v1flexsubscriptions" ],
  1681          "summary" : "create Flex subscription as public resource",
  1682          "description" : "Flex subscriptions could be configured.",
  1683          "operationId" : "postPublicFlexSubscription",
  1684          "schemes" : [ "http", "https" ],
  1685          "consumes" : [ "application/json" ],
  1686          "produces" : [ "application/json" ],
  1687          "parameters" : [ {
  1688            "in" : "body",
  1689            "name" : "body",
  1690            "required" : false,
  1691            "schema" : {
  1692              "$ref" : "#/definitions/FlexSubscriptionRequest"
  1693            }
  1694          } ],
  1695          "responses" : {
  1696            "200" : {
  1697              "description" : "successful operation",
  1698              "schema" : {
  1699                "$ref" : "#/definitions/FlexSubscriptionResponse"
  1700              }
  1701            }
  1702          }
  1703        }
  1704      },
  1705      "/v1/flexsubscriptions/account/setdefault/{name}" : {
  1706        "put" : {
  1707          "tags" : [ "v1flexsubscriptions" ],
  1708          "summary" : "sets the account default flag on the Flex subscription",
  1709          "description" : "Flex subscriptions could be configured.",
  1710          "operationId" : "putPublicDefaultFlexSubscriptionByName",
  1711          "schemes" : [ "http", "https" ],
  1712          "consumes" : [ "application/json" ],
  1713          "produces" : [ "application/json" ],
  1714          "parameters" : [ {
  1715            "name" : "name",
  1716            "in" : "path",
  1717            "required" : true,
  1718            "type" : "string"
  1719          } ],
  1720          "responses" : {
  1721            "default" : {
  1722              "description" : "successful operation"
  1723            }
  1724          }
  1725        }
  1726      },
  1727      "/v1/flexsubscriptions/account/setusedforcontroller/{name}" : {
  1728        "put" : {
  1729          "tags" : [ "v1flexsubscriptions" ],
  1730          "summary" : "sets the account 'used for controller' flag on the Flex subscription",
  1731          "description" : "Flex subscriptions could be configured.",
  1732          "operationId" : "putPublicUsedForControllerFlexSubscriptionByName",
  1733          "schemes" : [ "http", "https" ],
  1734          "consumes" : [ "application/json" ],
  1735          "produces" : [ "application/json" ],
  1736          "parameters" : [ {
  1737            "name" : "name",
  1738            "in" : "path",
  1739            "required" : true,
  1740            "type" : "string"
  1741          } ],
  1742          "responses" : {
  1743            "default" : {
  1744              "description" : "successful operation"
  1745            }
  1746          }
  1747        }
  1748      },
  1749      "/v1/flexsubscriptions/account/{name}" : {
  1750        "get" : {
  1751          "tags" : [ "v1flexsubscriptions" ],
  1752          "summary" : "retrieve a public or private (owned) Flex subscription by name",
  1753          "description" : "Flex subscriptions could be configured.",
  1754          "operationId" : "getPublicFlexSubscriptionByName",
  1755          "schemes" : [ "http", "https" ],
  1756          "consumes" : [ "application/json" ],
  1757          "produces" : [ "application/json" ],
  1758          "parameters" : [ {
  1759            "name" : "name",
  1760            "in" : "path",
  1761            "required" : true,
  1762            "type" : "string"
  1763          } ],
  1764          "responses" : {
  1765            "200" : {
  1766              "description" : "successful operation",
  1767              "schema" : {
  1768                "$ref" : "#/definitions/FlexSubscriptionResponse"
  1769              }
  1770            }
  1771          }
  1772        },
  1773        "delete" : {
  1774          "tags" : [ "v1flexsubscriptions" ],
  1775          "summary" : "delete public (owned) or private Flex subscription by name",
  1776          "description" : "Flex subscriptions could be configured.",
  1777          "operationId" : "deletePublicFlexSubscriptionByName",
  1778          "schemes" : [ "http", "https" ],
  1779          "consumes" : [ "application/json" ],
  1780          "produces" : [ "application/json" ],
  1781          "parameters" : [ {
  1782            "name" : "name",
  1783            "in" : "path",
  1784            "required" : true,
  1785            "type" : "string"
  1786          } ],
  1787          "responses" : {
  1788            "default" : {
  1789              "description" : "successful operation"
  1790            }
  1791          }
  1792        }
  1793      },
  1794      "/v1/flexsubscriptions/setdefault/{id}" : {
  1795        "put" : {
  1796          "tags" : [ "v1flexsubscriptions" ],
  1797          "summary" : "sets the account default flag on the Flex subscription",
  1798          "description" : "Flex subscriptions could be configured.",
  1799          "operationId" : "putDefaultFlexSubscriptionById",
  1800          "schemes" : [ "http", "https" ],
  1801          "consumes" : [ "application/json" ],
  1802          "produces" : [ "application/json" ],
  1803          "parameters" : [ {
  1804            "name" : "id",
  1805            "in" : "path",
  1806            "required" : true,
  1807            "type" : "integer",
  1808            "format" : "int64"
  1809          } ],
  1810          "responses" : {
  1811            "default" : {
  1812              "description" : "successful operation"
  1813            }
  1814          }
  1815        }
  1816      },
  1817      "/v1/flexsubscriptions/setusedforcontroller/{id}" : {
  1818        "put" : {
  1819          "tags" : [ "v1flexsubscriptions" ],
  1820          "summary" : "sets the account 'used for controller' flag on the Flex subscription",
  1821          "description" : "Flex subscriptions could be configured.",
  1822          "operationId" : "putUsedForControllerFlexSubscriptionById",
  1823          "schemes" : [ "http", "https" ],
  1824          "consumes" : [ "application/json" ],
  1825          "produces" : [ "application/json" ],
  1826          "parameters" : [ {
  1827            "name" : "id",
  1828            "in" : "path",
  1829            "required" : true,
  1830            "type" : "integer",
  1831            "format" : "int64"
  1832          } ],
  1833          "responses" : {
  1834            "default" : {
  1835              "description" : "successful operation"
  1836            }
  1837          }
  1838        }
  1839      },
  1840      "/v1/flexsubscriptions/user" : {
  1841        "get" : {
  1842          "tags" : [ "v1flexsubscriptions" ],
  1843          "summary" : "retrieve private Flex subscriptions",
  1844          "description" : "Flex subscriptions could be configured.",
  1845          "operationId" : "getPrivateFlexSubscriptions",
  1846          "schemes" : [ "http", "https" ],
  1847          "consumes" : [ "application/json" ],
  1848          "produces" : [ "application/json" ],
  1849          "parameters" : [ ],
  1850          "responses" : {
  1851            "200" : {
  1852              "description" : "successful operation",
  1853              "schema" : {
  1854                "type" : "array",
  1855                "items" : {
  1856                  "$ref" : "#/definitions/FlexSubscriptionResponse"
  1857                }
  1858              }
  1859            }
  1860          }
  1861        },
  1862        "post" : {
  1863          "tags" : [ "v1flexsubscriptions" ],
  1864          "summary" : "create Flex subscription as private resource",
  1865          "description" : "Flex subscriptions could be configured.",
  1866          "operationId" : "postPrivateFlexSubscription",
  1867          "schemes" : [ "http", "https" ],
  1868          "consumes" : [ "application/json" ],
  1869          "produces" : [ "application/json" ],
  1870          "parameters" : [ {
  1871            "in" : "body",
  1872            "name" : "body",
  1873            "required" : false,
  1874            "schema" : {
  1875              "$ref" : "#/definitions/FlexSubscriptionRequest"
  1876            }
  1877          } ],
  1878          "responses" : {
  1879            "200" : {
  1880              "description" : "successful operation",
  1881              "schema" : {
  1882                "$ref" : "#/definitions/FlexSubscriptionResponse"
  1883              }
  1884            }
  1885          }
  1886        }
  1887      },
  1888      "/v1/flexsubscriptions/user/{name}" : {
  1889        "get" : {
  1890          "tags" : [ "v1flexsubscriptions" ],
  1891          "summary" : "retrieve a private Flex subscription by name",
  1892          "description" : "Flex subscriptions could be configured.",
  1893          "operationId" : "getPrivateFlexSubscriptionByName",
  1894          "schemes" : [ "http", "https" ],
  1895          "consumes" : [ "application/json" ],
  1896          "produces" : [ "application/json" ],
  1897          "parameters" : [ {
  1898            "name" : "name",
  1899            "in" : "path",
  1900            "required" : true,
  1901            "type" : "string"
  1902          } ],
  1903          "responses" : {
  1904            "200" : {
  1905              "description" : "successful operation",
  1906              "schema" : {
  1907                "$ref" : "#/definitions/FlexSubscriptionResponse"
  1908              }
  1909            }
  1910          }
  1911        },
  1912        "delete" : {
  1913          "tags" : [ "v1flexsubscriptions" ],
  1914          "summary" : "delete private Flex subscription by name",
  1915          "description" : "Flex subscriptions could be configured.",
  1916          "operationId" : "deletePrivateFlexSubscriptionByName",
  1917          "schemes" : [ "http", "https" ],
  1918          "consumes" : [ "application/json" ],
  1919          "produces" : [ "application/json" ],
  1920          "parameters" : [ {
  1921            "name" : "name",
  1922            "in" : "path",
  1923            "required" : true,
  1924            "type" : "string"
  1925          } ],
  1926          "responses" : {
  1927            "default" : {
  1928              "description" : "successful operation"
  1929            }
  1930          }
  1931        }
  1932      },
  1933      "/v1/flexsubscriptions/{id}" : {
  1934        "get" : {
  1935          "tags" : [ "v1flexsubscriptions" ],
  1936          "summary" : "retrieve Flex subscription by id",
  1937          "description" : "Flex subscriptions could be configured.",
  1938          "operationId" : "getFlexSubscriptionById",
  1939          "schemes" : [ "http", "https" ],
  1940          "consumes" : [ "application/json" ],
  1941          "produces" : [ "application/json" ],
  1942          "parameters" : [ {
  1943            "name" : "id",
  1944            "in" : "path",
  1945            "required" : true,
  1946            "type" : "integer",
  1947            "format" : "int64"
  1948          } ],
  1949          "responses" : {
  1950            "200" : {
  1951              "description" : "successful operation",
  1952              "schema" : {
  1953                "$ref" : "#/definitions/FlexSubscriptionResponse"
  1954              }
  1955            }
  1956          }
  1957        },
  1958        "delete" : {
  1959          "tags" : [ "v1flexsubscriptions" ],
  1960          "summary" : "delete Flex subscription by id",
  1961          "description" : "Flex subscriptions could be configured.",
  1962          "operationId" : "deleteFlexSubscriptionById",
  1963          "schemes" : [ "http", "https" ],
  1964          "consumes" : [ "application/json" ],
  1965          "produces" : [ "application/json" ],
  1966          "parameters" : [ {
  1967            "name" : "id",
  1968            "in" : "path",
  1969            "required" : true,
  1970            "type" : "integer",
  1971            "format" : "int64"
  1972          } ],
  1973          "responses" : {
  1974            "default" : {
  1975              "description" : "successful operation"
  1976            }
  1977          }
  1978        }
  1979      },
  1980      "/v1/imagecatalogs/{platform}" : {
  1981        "get" : {
  1982          "tags" : [ "v1imagecatalogs" ],
  1983          "summary" : "determines available images for the Cloudbreak version by the given provider",
  1984          "description" : "Provides an interface to determine available Virtual Machine images for the given version of Cloudbreak.",
  1985          "operationId" : "getImagesByProvider",
  1986          "schemes" : [ "http", "https" ],
  1987          "consumes" : [ "application/json" ],
  1988          "produces" : [ "application/json" ],
  1989          "parameters" : [ {
  1990            "name" : "platform",
  1991            "in" : "path",
  1992            "required" : true,
  1993            "type" : "string"
  1994          } ],
  1995          "responses" : {
  1996            "200" : {
  1997              "description" : "successful operation",
  1998              "schema" : {
  1999                "$ref" : "#/definitions/ImagesResponse"
  2000              }
  2001            }
  2002          }
  2003        }
  2004      },
  2005      "/v1/ldap/account" : {
  2006        "get" : {
  2007          "tags" : [ "v1ldap" ],
  2008          "summary" : "retrieve public and private (owned) LDAP configs",
  2009          "description" : "LDAP server integration enables the user to provide a central place to store usernames and passwords for the users of his/her clusters.",
  2010          "operationId" : "getPublicsLdap",
  2011          "schemes" : [ "http", "https" ],
  2012          "consumes" : [ "application/json" ],
  2013          "produces" : [ "application/json" ],
  2014          "parameters" : [ ],
  2015          "responses" : {
  2016            "200" : {
  2017              "description" : "successful operation",
  2018              "schema" : {
  2019                "type" : "array",
  2020                "uniqueItems" : true,
  2021                "items" : {
  2022                  "$ref" : "#/definitions/LdapConfigResponse"
  2023                }
  2024              }
  2025            }
  2026          }
  2027        },
  2028        "post" : {
  2029          "tags" : [ "v1ldap" ],
  2030          "summary" : "create LDAP config as public resource",
  2031          "description" : "LDAP server integration enables the user to provide a central place to store usernames and passwords for the users of his/her clusters.",
  2032          "operationId" : "postPublicLdap",
  2033          "schemes" : [ "http", "https" ],
  2034          "consumes" : [ "application/json" ],
  2035          "produces" : [ "application/json" ],
  2036          "parameters" : [ {
  2037            "in" : "body",
  2038            "name" : "body",
  2039            "required" : false,
  2040            "schema" : {
  2041              "$ref" : "#/definitions/LdapConfigRequest"
  2042            }
  2043          } ],
  2044          "responses" : {
  2045            "200" : {
  2046              "description" : "successful operation",
  2047              "schema" : {
  2048                "$ref" : "#/definitions/LdapConfigResponse"
  2049              }
  2050            }
  2051          }
  2052        }
  2053      },
  2054      "/v1/ldap/account/{name}" : {
  2055        "get" : {
  2056          "tags" : [ "v1ldap" ],
  2057          "summary" : "retrieve a public or private (owned) LDAP config by name",
  2058          "description" : "LDAP server integration enables the user to provide a central place to store usernames and passwords for the users of his/her clusters.",
  2059          "operationId" : "getPublicLdap",
  2060          "schemes" : [ "http", "https" ],
  2061          "consumes" : [ "application/json" ],
  2062          "produces" : [ "application/json" ],
  2063          "parameters" : [ {
  2064            "name" : "name",
  2065            "in" : "path",
  2066            "required" : true,
  2067            "type" : "string"
  2068          } ],
  2069          "responses" : {
  2070            "200" : {
  2071              "description" : "successful operation",
  2072              "schema" : {
  2073                "$ref" : "#/definitions/LdapConfigResponse"
  2074              }
  2075            }
  2076          }
  2077        },
  2078        "delete" : {
  2079          "tags" : [ "v1ldap" ],
  2080          "summary" : "delete public (owned) or private LDAP config by name",
  2081          "description" : "LDAP server integration enables the user to provide a central place to store usernames and passwords for the users of his/her clusters.",
  2082          "operationId" : "deletePublicLdap",
  2083          "schemes" : [ "http", "https" ],
  2084          "consumes" : [ "application/json" ],
  2085          "produces" : [ "application/json" ],
  2086          "parameters" : [ {
  2087            "name" : "name",
  2088            "in" : "path",
  2089            "required" : true,
  2090            "type" : "string"
  2091          } ],
  2092          "responses" : {
  2093            "default" : {
  2094              "description" : "successful operation"
  2095            }
  2096          }
  2097        }
  2098      },
  2099      "/v1/ldap/user" : {
  2100        "get" : {
  2101          "tags" : [ "v1ldap" ],
  2102          "summary" : "retrieve private LDAP configs",
  2103          "description" : "LDAP server integration enables the user to provide a central place to store usernames and passwords for the users of his/her clusters.",
  2104          "operationId" : "getPrivatesLdap",
  2105          "schemes" : [ "http", "https" ],
  2106          "consumes" : [ "application/json" ],
  2107          "produces" : [ "application/json" ],
  2108          "parameters" : [ ],
  2109          "responses" : {
  2110            "200" : {
  2111              "description" : "successful operation",
  2112              "schema" : {
  2113                "type" : "array",
  2114                "uniqueItems" : true,
  2115                "items" : {
  2116                  "$ref" : "#/definitions/LdapConfigResponse"
  2117                }
  2118              }
  2119            }
  2120          }
  2121        },
  2122        "post" : {
  2123          "tags" : [ "v1ldap" ],
  2124          "summary" : "create LDAP config as private resource",
  2125          "description" : "LDAP server integration enables the user to provide a central place to store usernames and passwords for the users of his/her clusters.",
  2126          "operationId" : "postPrivateLdap",
  2127          "schemes" : [ "http", "https" ],
  2128          "consumes" : [ "application/json" ],
  2129          "produces" : [ "application/json" ],
  2130          "parameters" : [ {
  2131            "in" : "body",
  2132            "name" : "body",
  2133            "required" : false,
  2134            "schema" : {
  2135              "$ref" : "#/definitions/LdapConfigRequest"
  2136            }
  2137          } ],
  2138          "responses" : {
  2139            "200" : {
  2140              "description" : "successful operation",
  2141              "schema" : {
  2142                "$ref" : "#/definitions/LdapConfigResponse"
  2143              }
  2144            }
  2145          }
  2146        }
  2147      },
  2148      "/v1/ldap/user/{name}" : {
  2149        "get" : {
  2150          "tags" : [ "v1ldap" ],
  2151          "summary" : "retrieve a private LDAP config by name",
  2152          "description" : "LDAP server integration enables the user to provide a central place to store usernames and passwords for the users of his/her clusters.",
  2153          "operationId" : "getPrivateLdap",
  2154          "schemes" : [ "http", "https" ],
  2155          "consumes" : [ "application/json" ],
  2156          "produces" : [ "application/json" ],
  2157          "parameters" : [ {
  2158            "name" : "name",
  2159            "in" : "path",
  2160            "required" : true,
  2161            "type" : "string"
  2162          } ],
  2163          "responses" : {
  2164            "200" : {
  2165              "description" : "successful operation",
  2166              "schema" : {
  2167                "$ref" : "#/definitions/LdapConfigResponse"
  2168              }
  2169            }
  2170          }
  2171        },
  2172        "delete" : {
  2173          "tags" : [ "v1ldap" ],
  2174          "summary" : "delete private LDAP config by name",
  2175          "description" : "LDAP server integration enables the user to provide a central place to store usernames and passwords for the users of his/her clusters.",
  2176          "operationId" : "deletePrivateLdap",
  2177          "schemes" : [ "http", "https" ],
  2178          "consumes" : [ "application/json" ],
  2179          "produces" : [ "application/json" ],
  2180          "parameters" : [ {
  2181            "name" : "name",
  2182            "in" : "path",
  2183            "required" : true,
  2184            "type" : "string"
  2185          } ],
  2186          "responses" : {
  2187            "default" : {
  2188              "description" : "successful operation"
  2189            }
  2190          }
  2191        }
  2192      },
  2193      "/v1/ldap/{id}" : {
  2194        "get" : {
  2195          "tags" : [ "v1ldap" ],
  2196          "summary" : "retrieve LDAP config by id",
  2197          "description" : "LDAP server integration enables the user to provide a central place to store usernames and passwords for the users of his/her clusters.",
  2198          "operationId" : "getLdap",
  2199          "schemes" : [ "http", "https" ],
  2200          "consumes" : [ "application/json" ],
  2201          "produces" : [ "application/json" ],
  2202          "parameters" : [ {
  2203            "name" : "id",
  2204            "in" : "path",
  2205            "required" : true,
  2206            "type" : "integer",
  2207            "format" : "int64"
  2208          } ],
  2209          "responses" : {
  2210            "200" : {
  2211              "description" : "successful operation",
  2212              "schema" : {
  2213                "$ref" : "#/definitions/LdapConfigResponse"
  2214              }
  2215            }
  2216          }
  2217        },
  2218        "delete" : {
  2219          "tags" : [ "v1ldap" ],
  2220          "summary" : "delete LDAP config by id",
  2221          "description" : "LDAP server integration enables the user to provide a central place to store usernames and passwords for the users of his/her clusters.",
  2222          "operationId" : "deleteLdap",
  2223          "schemes" : [ "http", "https" ],
  2224          "consumes" : [ "application/json" ],
  2225          "produces" : [ "application/json" ],
  2226          "parameters" : [ {
  2227            "name" : "id",
  2228            "in" : "path",
  2229            "required" : true,
  2230            "type" : "integer",
  2231            "format" : "int64"
  2232          } ],
  2233          "responses" : {
  2234            "default" : {
  2235              "description" : "successful operation"
  2236            }
  2237          }
  2238        }
  2239      },
  2240      "/v1/networks/account" : {
  2241        "get" : {
  2242          "tags" : [ "v1networks" ],
  2243          "summary" : "retrieve public and private (owned) networks",
  2244          "description" : "Provider specific network settings could be configured by using Network resources.",
  2245          "operationId" : "getPublicsNetwork",
  2246          "schemes" : [ "http", "https" ],
  2247          "consumes" : [ "application/json" ],
  2248          "produces" : [ "application/json" ],
  2249          "parameters" : [ ],
  2250          "responses" : {
  2251            "200" : {
  2252              "description" : "successful operation",
  2253              "schema" : {
  2254                "type" : "array",
  2255                "uniqueItems" : true,
  2256                "items" : {
  2257                  "$ref" : "#/definitions/NetworkResponse"
  2258                }
  2259              }
  2260            }
  2261          }
  2262        },
  2263        "post" : {
  2264          "tags" : [ "v1networks" ],
  2265          "summary" : "create network as public resource",
  2266          "description" : "Provider specific network settings could be configured by using Network resources.",
  2267          "operationId" : "postPublicNetwork",
  2268          "schemes" : [ "http", "https" ],
  2269          "consumes" : [ "application/json" ],
  2270          "produces" : [ "application/json" ],
  2271          "parameters" : [ {
  2272            "in" : "body",
  2273            "name" : "body",
  2274            "required" : false,
  2275            "schema" : {
  2276              "$ref" : "#/definitions/NetworkRequest"
  2277            }
  2278          } ],
  2279          "responses" : {
  2280            "200" : {
  2281              "description" : "successful operation",
  2282              "schema" : {
  2283                "$ref" : "#/definitions/NetworkResponse"
  2284              }
  2285            }
  2286          }
  2287        }
  2288      },
  2289      "/v1/networks/account/{name}" : {
  2290        "get" : {
  2291          "tags" : [ "v1networks" ],
  2292          "summary" : "retrieve a public or private (owned) network by name",
  2293          "description" : "Provider specific network settings could be configured by using Network resources.",
  2294          "operationId" : "getPublicNetwork",
  2295          "schemes" : [ "http", "https" ],
  2296          "consumes" : [ "application/json" ],
  2297          "produces" : [ "application/json" ],
  2298          "parameters" : [ {
  2299            "name" : "name",
  2300            "in" : "path",
  2301            "required" : true,
  2302            "type" : "string"
  2303          } ],
  2304          "responses" : {
  2305            "200" : {
  2306              "description" : "successful operation",
  2307              "schema" : {
  2308                "$ref" : "#/definitions/NetworkResponse"
  2309              }
  2310            }
  2311          }
  2312        },
  2313        "delete" : {
  2314          "tags" : [ "v1networks" ],
  2315          "summary" : "delete public (owned) or private network by name",
  2316          "description" : "Provider specific network settings could be configured by using Network resources.",
  2317          "operationId" : "deletePublicNetwork",
  2318          "schemes" : [ "http", "https" ],
  2319          "consumes" : [ "application/json" ],
  2320          "produces" : [ "application/json" ],
  2321          "parameters" : [ {
  2322            "name" : "name",
  2323            "in" : "path",
  2324            "required" : true,
  2325            "type" : "string"
  2326          } ],
  2327          "responses" : {
  2328            "default" : {
  2329              "description" : "successful operation"
  2330            }
  2331          }
  2332        }
  2333      },
  2334      "/v1/networks/user" : {
  2335        "get" : {
  2336          "tags" : [ "v1networks" ],
  2337          "summary" : "retrieve private networks",
  2338          "description" : "Provider specific network settings could be configured by using Network resources.",
  2339          "operationId" : "getPrivatesNetwork",
  2340          "schemes" : [ "http", "https" ],
  2341          "consumes" : [ "application/json" ],
  2342          "produces" : [ "application/json" ],
  2343          "parameters" : [ ],
  2344          "responses" : {
  2345            "200" : {
  2346              "description" : "successful operation",
  2347              "schema" : {
  2348                "type" : "array",
  2349                "uniqueItems" : true,
  2350                "items" : {
  2351                  "$ref" : "#/definitions/NetworkResponse"
  2352                }
  2353              }
  2354            }
  2355          }
  2356        },
  2357        "post" : {
  2358          "tags" : [ "v1networks" ],
  2359          "summary" : "create network as private resource",
  2360          "description" : "Provider specific network settings could be configured by using Network resources.",
  2361          "operationId" : "postPrivateNetwork",
  2362          "schemes" : [ "http", "https" ],
  2363          "consumes" : [ "application/json" ],
  2364          "produces" : [ "application/json" ],
  2365          "parameters" : [ {
  2366            "in" : "body",
  2367            "name" : "body",
  2368            "required" : false,
  2369            "schema" : {
  2370              "$ref" : "#/definitions/NetworkRequest"
  2371            }
  2372          } ],
  2373          "responses" : {
  2374            "200" : {
  2375              "description" : "successful operation",
  2376              "schema" : {
  2377                "$ref" : "#/definitions/NetworkResponse"
  2378              }
  2379            }
  2380          }
  2381        }
  2382      },
  2383      "/v1/networks/user/{name}" : {
  2384        "get" : {
  2385          "tags" : [ "v1networks" ],
  2386          "summary" : "retrieve a private network by name",
  2387          "description" : "Provider specific network settings could be configured by using Network resources.",
  2388          "operationId" : "getPrivateNetwork",
  2389          "schemes" : [ "http", "https" ],
  2390          "consumes" : [ "application/json" ],
  2391          "produces" : [ "application/json" ],
  2392          "parameters" : [ {
  2393            "name" : "name",
  2394            "in" : "path",
  2395            "required" : true,
  2396            "type" : "string"
  2397          } ],
  2398          "responses" : {
  2399            "200" : {
  2400              "description" : "successful operation",
  2401              "schema" : {
  2402                "$ref" : "#/definitions/NetworkResponse"
  2403              }
  2404            }
  2405          }
  2406        },
  2407        "delete" : {
  2408          "tags" : [ "v1networks" ],
  2409          "summary" : "delete private network by name",
  2410          "description" : "Provider specific network settings could be configured by using Network resources.",
  2411          "operationId" : "deletePrivateNetwork",
  2412          "schemes" : [ "http", "https" ],
  2413          "consumes" : [ "application/json" ],
  2414          "produces" : [ "application/json" ],
  2415          "parameters" : [ {
  2416            "name" : "name",
  2417            "in" : "path",
  2418            "required" : true,
  2419            "type" : "string"
  2420          } ],
  2421          "responses" : {
  2422            "default" : {
  2423              "description" : "successful operation"
  2424            }
  2425          }
  2426        }
  2427      },
  2428      "/v1/networks/{id}" : {
  2429        "get" : {
  2430          "tags" : [ "v1networks" ],
  2431          "summary" : "retrieve network by id",
  2432          "description" : "Provider specific network settings could be configured by using Network resources.",
  2433          "operationId" : "getNetwork",
  2434          "schemes" : [ "http", "https" ],
  2435          "consumes" : [ "application/json" ],
  2436          "produces" : [ "application/json" ],
  2437          "parameters" : [ {
  2438            "name" : "id",
  2439            "in" : "path",
  2440            "required" : true,
  2441            "type" : "integer",
  2442            "format" : "int64"
  2443          } ],
  2444          "responses" : {
  2445            "200" : {
  2446              "description" : "successful operation",
  2447              "schema" : {
  2448                "$ref" : "#/definitions/NetworkResponse"
  2449              }
  2450            }
  2451          }
  2452        },
  2453        "delete" : {
  2454          "tags" : [ "v1networks" ],
  2455          "summary" : "delete network by id",
  2456          "description" : "Provider specific network settings could be configured by using Network resources.",
  2457          "operationId" : "deleteNetwork",
  2458          "schemes" : [ "http", "https" ],
  2459          "consumes" : [ "application/json" ],
  2460          "produces" : [ "application/json" ],
  2461          "parameters" : [ {
  2462            "name" : "id",
  2463            "in" : "path",
  2464            "required" : true,
  2465            "type" : "integer",
  2466            "format" : "int64"
  2467          } ],
  2468          "responses" : {
  2469            "default" : {
  2470              "description" : "successful operation"
  2471            }
  2472          }
  2473        }
  2474      },
  2475      "/v1/rdsconfigs/account" : {
  2476        "get" : {
  2477          "tags" : [ "v1rdsconfigs" ],
  2478          "summary" : "retrieve public and private (owned) RDS configurations",
  2479          "description" : "An RDS Configuration describe a connection to an external Relational Database Service that can be used as the Hive Metastore.",
  2480          "operationId" : "getPublicsRds",
  2481          "schemes" : [ "http", "https" ],
  2482          "consumes" : [ "application/json" ],
  2483          "produces" : [ "application/json" ],
  2484          "parameters" : [ ],
  2485          "responses" : {
  2486            "200" : {
  2487              "description" : "successful operation",
  2488              "schema" : {
  2489                "type" : "array",
  2490                "uniqueItems" : true,
  2491                "items" : {
  2492                  "$ref" : "#/definitions/RDSConfigResponse"
  2493                }
  2494              }
  2495            }
  2496          }
  2497        },
  2498        "post" : {
  2499          "tags" : [ "v1rdsconfigs" ],
  2500          "summary" : "create RDS configuration as public resource",
  2501          "description" : "An RDS Configuration describe a connection to an external Relational Database Service that can be used as the Hive Metastore.",
  2502          "operationId" : "postPublicRds",
  2503          "schemes" : [ "http", "https" ],
  2504          "consumes" : [ "application/json" ],
  2505          "produces" : [ "application/json" ],
  2506          "parameters" : [ {
  2507            "in" : "body",
  2508            "name" : "body",
  2509            "required" : false,
  2510            "schema" : {
  2511              "$ref" : "#/definitions/RDSConfig"
  2512            }
  2513          } ],
  2514          "responses" : {
  2515            "200" : {
  2516              "description" : "successful operation",
  2517              "schema" : {
  2518                "$ref" : "#/definitions/RDSConfigResponse"
  2519              }
  2520            }
  2521          }
  2522        }
  2523      },
  2524      "/v1/rdsconfigs/account/{name}" : {
  2525        "get" : {
  2526          "tags" : [ "v1rdsconfigs" ],
  2527          "summary" : "retrieve a public or private (owned) RDS configuration by name",
  2528          "description" : "An RDS Configuration describe a connection to an external Relational Database Service that can be used as the Hive Metastore.",
  2529          "operationId" : "getPublicRds",
  2530          "schemes" : [ "http", "https" ],
  2531          "consumes" : [ "application/json" ],
  2532          "produces" : [ "application/json" ],
  2533          "parameters" : [ {
  2534            "name" : "name",
  2535            "in" : "path",
  2536            "required" : true,
  2537            "type" : "string"
  2538          } ],
  2539          "responses" : {
  2540            "200" : {
  2541              "description" : "successful operation",
  2542              "schema" : {
  2543                "$ref" : "#/definitions/RDSConfigResponse"
  2544              }
  2545            }
  2546          }
  2547        },
  2548        "delete" : {
  2549          "tags" : [ "v1rdsconfigs" ],
  2550          "summary" : "delete public (owned) or private RDS configuration by name",
  2551          "description" : "An RDS Configuration describe a connection to an external Relational Database Service that can be used as the Hive Metastore.",
  2552          "operationId" : "deletePublicRds",
  2553          "schemes" : [ "http", "https" ],
  2554          "consumes" : [ "application/json" ],
  2555          "produces" : [ "application/json" ],
  2556          "parameters" : [ {
  2557            "name" : "name",
  2558            "in" : "path",
  2559            "required" : true,
  2560            "type" : "string"
  2561          } ],
  2562          "responses" : {
  2563            "default" : {
  2564              "description" : "successful operation"
  2565            }
  2566          }
  2567        }
  2568      },
  2569      "/v1/rdsconfigs/user" : {
  2570        "get" : {
  2571          "tags" : [ "v1rdsconfigs" ],
  2572          "summary" : "retrieve private RDS configurations",
  2573          "description" : "An RDS Configuration describe a connection to an external Relational Database Service that can be used as the Hive Metastore.",
  2574          "operationId" : "getPrivatesRds",
  2575          "schemes" : [ "http", "https" ],
  2576          "consumes" : [ "application/json" ],
  2577          "produces" : [ "application/json" ],
  2578          "parameters" : [ ],
  2579          "responses" : {
  2580            "200" : {
  2581              "description" : "successful operation",
  2582              "schema" : {
  2583                "type" : "array",
  2584                "uniqueItems" : true,
  2585                "items" : {
  2586                  "$ref" : "#/definitions/RDSConfigResponse"
  2587                }
  2588              }
  2589            }
  2590          }
  2591        },
  2592        "post" : {
  2593          "tags" : [ "v1rdsconfigs" ],
  2594          "summary" : "create RDS configuration as private resource",
  2595          "description" : "An RDS Configuration describe a connection to an external Relational Database Service that can be used as the Hive Metastore.",
  2596          "operationId" : "postPrivateRds",
  2597          "schemes" : [ "http", "https" ],
  2598          "consumes" : [ "application/json" ],
  2599          "produces" : [ "application/json" ],
  2600          "parameters" : [ {
  2601            "in" : "body",
  2602            "name" : "body",
  2603            "required" : false,
  2604            "schema" : {
  2605              "$ref" : "#/definitions/RDSConfig"
  2606            }
  2607          } ],
  2608          "responses" : {
  2609            "200" : {
  2610              "description" : "successful operation",
  2611              "schema" : {
  2612                "$ref" : "#/definitions/RDSConfigResponse"
  2613              }
  2614            }
  2615          }
  2616        }
  2617      },
  2618      "/v1/rdsconfigs/user/{name}" : {
  2619        "get" : {
  2620          "tags" : [ "v1rdsconfigs" ],
  2621          "summary" : "retrieve a private RDS configuration by name",
  2622          "description" : "An RDS Configuration describe a connection to an external Relational Database Service that can be used as the Hive Metastore.",
  2623          "operationId" : "getPrivateRds",
  2624          "schemes" : [ "http", "https" ],
  2625          "consumes" : [ "application/json" ],
  2626          "produces" : [ "application/json" ],
  2627          "parameters" : [ {
  2628            "name" : "name",
  2629            "in" : "path",
  2630            "required" : true,
  2631            "type" : "string"
  2632          } ],
  2633          "responses" : {
  2634            "200" : {
  2635              "description" : "successful operation",
  2636              "schema" : {
  2637                "$ref" : "#/definitions/RDSConfigResponse"
  2638              }
  2639            }
  2640          }
  2641        },
  2642        "delete" : {
  2643          "tags" : [ "v1rdsconfigs" ],
  2644          "summary" : "delete private RDS configuration by name",
  2645          "description" : "An RDS Configuration describe a connection to an external Relational Database Service that can be used as the Hive Metastore.",
  2646          "operationId" : "deletePrivateRds",
  2647          "schemes" : [ "http", "https" ],
  2648          "consumes" : [ "application/json" ],
  2649          "produces" : [ "application/json" ],
  2650          "parameters" : [ {
  2651            "name" : "name",
  2652            "in" : "path",
  2653            "required" : true,
  2654            "type" : "string"
  2655          } ],
  2656          "responses" : {
  2657            "default" : {
  2658              "description" : "successful operation"
  2659            }
  2660          }
  2661        }
  2662      },
  2663      "/v1/rdsconfigs/{id}" : {
  2664        "get" : {
  2665          "tags" : [ "v1rdsconfigs" ],
  2666          "summary" : "retrieve RDS configuration by id",
  2667          "description" : "An RDS Configuration describe a connection to an external Relational Database Service that can be used as the Hive Metastore.",
  2668          "operationId" : "getRds",
  2669          "schemes" : [ "http", "https" ],
  2670          "consumes" : [ "application/json" ],
  2671          "produces" : [ "application/json" ],
  2672          "parameters" : [ {
  2673            "name" : "id",
  2674            "in" : "path",
  2675            "required" : true,
  2676            "type" : "integer",
  2677            "format" : "int64"
  2678          } ],
  2679          "responses" : {
  2680            "200" : {
  2681              "description" : "successful operation",
  2682              "schema" : {
  2683                "$ref" : "#/definitions/RDSConfigResponse"
  2684              }
  2685            }
  2686          }
  2687        },
  2688        "delete" : {
  2689          "tags" : [ "v1rdsconfigs" ],
  2690          "summary" : "delete RDS configuration by id",
  2691          "description" : "An RDS Configuration describe a connection to an external Relational Database Service that can be used as the Hive Metastore.",
  2692          "operationId" : "deleteRds",
  2693          "schemes" : [ "http", "https" ],
  2694          "consumes" : [ "application/json" ],
  2695          "produces" : [ "application/json" ],
  2696          "parameters" : [ {
  2697            "name" : "id",
  2698            "in" : "path",
  2699            "required" : true,
  2700            "type" : "integer",
  2701            "format" : "int64"
  2702          } ],
  2703          "responses" : {
  2704            "default" : {
  2705              "description" : "successful operation"
  2706            }
  2707          }
  2708        }
  2709      },
  2710      "/v1/recipes/account" : {
  2711        "get" : {
  2712          "tags" : [ "v1recipes" ],
  2713          "summary" : "retrieve public and private (owned) recipes",
  2714          "description" : "Recipes are basically script extensions to a cluster that run on a set of nodes before or after the Ambari cluster installation.",
  2715          "operationId" : "getPublicsRecipe",
  2716          "schemes" : [ "http", "https" ],
  2717          "consumes" : [ "application/json" ],
  2718          "produces" : [ "application/json" ],
  2719          "parameters" : [ ],
  2720          "responses" : {
  2721            "200" : {
  2722              "description" : "successful operation",
  2723              "schema" : {
  2724                "type" : "array",
  2725                "uniqueItems" : true,
  2726                "items" : {
  2727                  "$ref" : "#/definitions/RecipeResponse"
  2728                }
  2729              }
  2730            }
  2731          }
  2732        },
  2733        "post" : {
  2734          "tags" : [ "v1recipes" ],
  2735          "summary" : "create recipe as public resource",
  2736          "description" : "Recipes are basically script extensions to a cluster that run on a set of nodes before or after the Ambari cluster installation.",
  2737          "operationId" : "postPublicRecipe",
  2738          "schemes" : [ "http", "https" ],
  2739          "consumes" : [ "application/json" ],
  2740          "produces" : [ "application/json" ],
  2741          "parameters" : [ {
  2742            "in" : "body",
  2743            "name" : "body",
  2744            "required" : false,
  2745            "schema" : {
  2746              "$ref" : "#/definitions/RecipeRequest"
  2747            }
  2748          } ],
  2749          "responses" : {
  2750            "200" : {
  2751              "description" : "successful operation",
  2752              "schema" : {
  2753                "$ref" : "#/definitions/RecipeResponse"
  2754              }
  2755            }
  2756          }
  2757        }
  2758      },
  2759      "/v1/recipes/account/{name}" : {
  2760        "get" : {
  2761          "tags" : [ "v1recipes" ],
  2762          "summary" : "retrieve a public or private (owned) recipe by name",
  2763          "description" : "Recipes are basically script extensions to a cluster that run on a set of nodes before or after the Ambari cluster installation.",
  2764          "operationId" : "getPublicRecipe",
  2765          "schemes" : [ "http", "https" ],
  2766          "consumes" : [ "application/json" ],
  2767          "produces" : [ "application/json" ],
  2768          "parameters" : [ {
  2769            "name" : "name",
  2770            "in" : "path",
  2771            "required" : true,
  2772            "type" : "string"
  2773          } ],
  2774          "responses" : {
  2775            "200" : {
  2776              "description" : "successful operation",
  2777              "schema" : {
  2778                "$ref" : "#/definitions/RecipeResponse"
  2779              }
  2780            }
  2781          }
  2782        },
  2783        "delete" : {
  2784          "tags" : [ "v1recipes" ],
  2785          "summary" : "delete public (owned) or private recipe by name",
  2786          "description" : "Recipes are basically script extensions to a cluster that run on a set of nodes before or after the Ambari cluster installation.",
  2787          "operationId" : "deletePublicRecipe",
  2788          "schemes" : [ "http", "https" ],
  2789          "consumes" : [ "application/json" ],
  2790          "produces" : [ "application/json" ],
  2791          "parameters" : [ {
  2792            "name" : "name",
  2793            "in" : "path",
  2794            "required" : true,
  2795            "type" : "string"
  2796          } ],
  2797          "responses" : {
  2798            "default" : {
  2799              "description" : "successful operation"
  2800            }
  2801          }
  2802        }
  2803      },
  2804      "/v1/recipes/user" : {
  2805        "get" : {
  2806          "tags" : [ "v1recipes" ],
  2807          "summary" : "retrieve private recipes",
  2808          "description" : "Recipes are basically script extensions to a cluster that run on a set of nodes before or after the Ambari cluster installation.",
  2809          "operationId" : "getPrivatesRecipe",
  2810          "schemes" : [ "http", "https" ],
  2811          "consumes" : [ "application/json" ],
  2812          "produces" : [ "application/json" ],
  2813          "parameters" : [ ],
  2814          "responses" : {
  2815            "200" : {
  2816              "description" : "successful operation",
  2817              "schema" : {
  2818                "type" : "array",
  2819                "uniqueItems" : true,
  2820                "items" : {
  2821                  "$ref" : "#/definitions/RecipeResponse"
  2822                }
  2823              }
  2824            }
  2825          }
  2826        },
  2827        "post" : {
  2828          "tags" : [ "v1recipes" ],
  2829          "summary" : "create recipe as private resource",
  2830          "description" : "Recipes are basically script extensions to a cluster that run on a set of nodes before or after the Ambari cluster installation.",
  2831          "operationId" : "postPrivateRecipe",
  2832          "schemes" : [ "http", "https" ],
  2833          "consumes" : [ "application/json" ],
  2834          "produces" : [ "application/json" ],
  2835          "parameters" : [ {
  2836            "in" : "body",
  2837            "name" : "body",
  2838            "required" : false,
  2839            "schema" : {
  2840              "$ref" : "#/definitions/RecipeRequest"
  2841            }
  2842          } ],
  2843          "responses" : {
  2844            "200" : {
  2845              "description" : "successful operation",
  2846              "schema" : {
  2847                "$ref" : "#/definitions/RecipeResponse"
  2848              }
  2849            }
  2850          }
  2851        }
  2852      },
  2853      "/v1/recipes/user/{name}" : {
  2854        "get" : {
  2855          "tags" : [ "v1recipes" ],
  2856          "summary" : "retrieve a private recipe by name",
  2857          "description" : "Recipes are basically script extensions to a cluster that run on a set of nodes before or after the Ambari cluster installation.",
  2858          "operationId" : "getPrivateRecipe",
  2859          "schemes" : [ "http", "https" ],
  2860          "consumes" : [ "application/json" ],
  2861          "produces" : [ "application/json" ],
  2862          "parameters" : [ {
  2863            "name" : "name",
  2864            "in" : "path",
  2865            "required" : true,
  2866            "type" : "string"
  2867          } ],
  2868          "responses" : {
  2869            "200" : {
  2870              "description" : "successful operation",
  2871              "schema" : {
  2872                "$ref" : "#/definitions/RecipeResponse"
  2873              }
  2874            }
  2875          }
  2876        },
  2877        "delete" : {
  2878          "tags" : [ "v1recipes" ],
  2879          "summary" : "delete private recipe by name",
  2880          "description" : "Recipes are basically script extensions to a cluster that run on a set of nodes before or after the Ambari cluster installation.",
  2881          "operationId" : "deletePrivateRecipe",
  2882          "schemes" : [ "http", "https" ],
  2883          "consumes" : [ "application/json" ],
  2884          "produces" : [ "application/json" ],
  2885          "parameters" : [ {
  2886            "name" : "name",
  2887            "in" : "path",
  2888            "required" : true,
  2889            "type" : "string"
  2890          } ],
  2891          "responses" : {
  2892            "default" : {
  2893              "description" : "successful operation"
  2894            }
  2895          }
  2896        }
  2897      },
  2898      "/v1/recipes/{id}" : {
  2899        "get" : {
  2900          "tags" : [ "v1recipes" ],
  2901          "summary" : "retrieve recipe by id",
  2902          "description" : "Recipes are basically script extensions to a cluster that run on a set of nodes before or after the Ambari cluster installation.",
  2903          "operationId" : "getRecipe",
  2904          "schemes" : [ "http", "https" ],
  2905          "consumes" : [ "application/json" ],
  2906          "produces" : [ "application/json" ],
  2907          "parameters" : [ {
  2908            "name" : "id",
  2909            "in" : "path",
  2910            "required" : true,
  2911            "type" : "integer",
  2912            "format" : "int64"
  2913          } ],
  2914          "responses" : {
  2915            "200" : {
  2916              "description" : "successful operation",
  2917              "schema" : {
  2918                "$ref" : "#/definitions/RecipeResponse"
  2919              }
  2920            }
  2921          }
  2922        },
  2923        "delete" : {
  2924          "tags" : [ "v1recipes" ],
  2925          "summary" : "delete recipe by id",
  2926          "description" : "Recipes are basically script extensions to a cluster that run on a set of nodes before or after the Ambari cluster installation.",
  2927          "operationId" : "deleteRecipe",
  2928          "schemes" : [ "http", "https" ],
  2929          "consumes" : [ "application/json" ],
  2930          "produces" : [ "application/json" ],
  2931          "parameters" : [ {
  2932            "name" : "id",
  2933            "in" : "path",
  2934            "required" : true,
  2935            "type" : "integer",
  2936            "format" : "int64"
  2937          } ],
  2938          "responses" : {
  2939            "default" : {
  2940              "description" : "successful operation"
  2941            }
  2942          }
  2943        }
  2944      },
  2945      "/v1/securitygroups/account" : {
  2946        "get" : {
  2947          "tags" : [ "v1securitygroups" ],
  2948          "summary" : "retrieve public and private (owned) security groups",
  2949          "description" : "Different inbound security rules(group) could be configured by using SecurityGroup resources and a group could be assigned to any Stack(cluster).",
  2950          "operationId" : "getPublicsSecurityGroup",
  2951          "schemes" : [ "http", "https" ],
  2952          "consumes" : [ "application/json" ],
  2953          "produces" : [ "application/json" ],
  2954          "parameters" : [ ],
  2955          "responses" : {
  2956            "200" : {
  2957              "description" : "successful operation",
  2958              "schema" : {
  2959                "type" : "array",
  2960                "uniqueItems" : true,
  2961                "items" : {
  2962                  "$ref" : "#/definitions/SecurityGroupResponse"
  2963                }
  2964              }
  2965            }
  2966          }
  2967        },
  2968        "post" : {
  2969          "tags" : [ "v1securitygroups" ],
  2970          "summary" : "create security group as public resource",
  2971          "description" : "Different inbound security rules(group) could be configured by using SecurityGroup resources and a group could be assigned to any Stack(cluster).",
  2972          "operationId" : "postPublicSecurityGroup",
  2973          "schemes" : [ "http", "https" ],
  2974          "consumes" : [ "application/json" ],
  2975          "produces" : [ "application/json" ],
  2976          "parameters" : [ {
  2977            "in" : "body",
  2978            "name" : "body",
  2979            "required" : false,
  2980            "schema" : {
  2981              "$ref" : "#/definitions/SecurityGroupRequest"
  2982            }
  2983          } ],
  2984          "responses" : {
  2985            "200" : {
  2986              "description" : "successful operation",
  2987              "schema" : {
  2988                "$ref" : "#/definitions/SecurityGroupResponse"
  2989              }
  2990            }
  2991          }
  2992        }
  2993      },
  2994      "/v1/securitygroups/account/{name}" : {
  2995        "get" : {
  2996          "tags" : [ "v1securitygroups" ],
  2997          "summary" : "retrieve a public or private (owned) security group by name",
  2998          "description" : "Different inbound security rules(group) could be configured by using SecurityGroup resources and a group could be assigned to any Stack(cluster).",
  2999          "operationId" : "getPublicSecurityGroup",
  3000          "schemes" : [ "http", "https" ],
  3001          "consumes" : [ "application/json" ],
  3002          "produces" : [ "application/json" ],
  3003          "parameters" : [ {
  3004            "name" : "name",
  3005            "in" : "path",
  3006            "required" : true,
  3007            "type" : "string"
  3008          } ],
  3009          "responses" : {
  3010            "200" : {
  3011              "description" : "successful operation",
  3012              "schema" : {
  3013                "$ref" : "#/definitions/SecurityGroupResponse"
  3014              }
  3015            }
  3016          }
  3017        },
  3018        "delete" : {
  3019          "tags" : [ "v1securitygroups" ],
  3020          "summary" : "delete public (owned) or private security group by name",
  3021          "description" : "Different inbound security rules(group) could be configured by using SecurityGroup resources and a group could be assigned to any Stack(cluster).",
  3022          "operationId" : "deletePublicSecurityGroup",
  3023          "schemes" : [ "http", "https" ],
  3024          "consumes" : [ "application/json" ],
  3025          "produces" : [ "application/json" ],
  3026          "parameters" : [ {
  3027            "name" : "name",
  3028            "in" : "path",
  3029            "required" : true,
  3030            "type" : "string"
  3031          } ],
  3032          "responses" : {
  3033            "default" : {
  3034              "description" : "successful operation"
  3035            }
  3036          }
  3037        }
  3038      },
  3039      "/v1/securitygroups/user" : {
  3040        "get" : {
  3041          "tags" : [ "v1securitygroups" ],
  3042          "summary" : "retrieve private security groups",
  3043          "description" : "Different inbound security rules(group) could be configured by using SecurityGroup resources and a group could be assigned to any Stack(cluster).",
  3044          "operationId" : "getPrivatesSecurityGroup",
  3045          "schemes" : [ "http", "https" ],
  3046          "consumes" : [ "application/json" ],
  3047          "produces" : [ "application/json" ],
  3048          "parameters" : [ ],
  3049          "responses" : {
  3050            "200" : {
  3051              "description" : "successful operation",
  3052              "schema" : {
  3053                "type" : "array",
  3054                "uniqueItems" : true,
  3055                "items" : {
  3056                  "$ref" : "#/definitions/SecurityGroupResponse"
  3057                }
  3058              }
  3059            }
  3060          }
  3061        },
  3062        "post" : {
  3063          "tags" : [ "v1securitygroups" ],
  3064          "summary" : "create security group as private resource",
  3065          "description" : "Different inbound security rules(group) could be configured by using SecurityGroup resources and a group could be assigned to any Stack(cluster).",
  3066          "operationId" : "postPrivateSecurityGroup",
  3067          "schemes" : [ "http", "https" ],
  3068          "consumes" : [ "application/json" ],
  3069          "produces" : [ "application/json" ],
  3070          "parameters" : [ {
  3071            "in" : "body",
  3072            "name" : "body",
  3073            "required" : false,
  3074            "schema" : {
  3075              "$ref" : "#/definitions/SecurityGroupRequest"
  3076            }
  3077          } ],
  3078          "responses" : {
  3079            "200" : {
  3080              "description" : "successful operation",
  3081              "schema" : {
  3082                "$ref" : "#/definitions/SecurityGroupResponse"
  3083              }
  3084            }
  3085          }
  3086        }
  3087      },
  3088      "/v1/securitygroups/user/{name}" : {
  3089        "get" : {
  3090          "tags" : [ "v1securitygroups" ],
  3091          "summary" : "retrieve a private security group by name",
  3092          "description" : "Different inbound security rules(group) could be configured by using SecurityGroup resources and a group could be assigned to any Stack(cluster).",
  3093          "operationId" : "getPrivateSecurityGroup",
  3094          "schemes" : [ "http", "https" ],
  3095          "consumes" : [ "application/json" ],
  3096          "produces" : [ "application/json" ],
  3097          "parameters" : [ {
  3098            "name" : "name",
  3099            "in" : "path",
  3100            "required" : true,
  3101            "type" : "string"
  3102          } ],
  3103          "responses" : {
  3104            "200" : {
  3105              "description" : "successful operation",
  3106              "schema" : {
  3107                "$ref" : "#/definitions/SecurityGroupResponse"
  3108              }
  3109            }
  3110          }
  3111        },
  3112        "delete" : {
  3113          "tags" : [ "v1securitygroups" ],
  3114          "summary" : "delete private security group by name",
  3115          "description" : "Different inbound security rules(group) could be configured by using SecurityGroup resources and a group could be assigned to any Stack(cluster).",
  3116          "operationId" : "deletePrivateSecurityGroup",
  3117          "schemes" : [ "http", "https" ],
  3118          "consumes" : [ "application/json" ],
  3119          "produces" : [ "application/json" ],
  3120          "parameters" : [ {
  3121            "name" : "name",
  3122            "in" : "path",
  3123            "required" : true,
  3124            "type" : "string"
  3125          } ],
  3126          "responses" : {
  3127            "default" : {
  3128              "description" : "successful operation"
  3129            }
  3130          }
  3131        }
  3132      },
  3133      "/v1/securitygroups/{id}" : {
  3134        "get" : {
  3135          "tags" : [ "v1securitygroups" ],
  3136          "summary" : "retrieve security group by id",
  3137          "description" : "Different inbound security rules(group) could be configured by using SecurityGroup resources and a group could be assigned to any Stack(cluster).",
  3138          "operationId" : "getSecurityGroup",
  3139          "schemes" : [ "http", "https" ],
  3140          "consumes" : [ "application/json" ],
  3141          "produces" : [ "application/json" ],
  3142          "parameters" : [ {
  3143            "name" : "id",
  3144            "in" : "path",
  3145            "required" : true,
  3146            "type" : "integer",
  3147            "format" : "int64"
  3148          } ],
  3149          "responses" : {
  3150            "200" : {
  3151              "description" : "successful operation",
  3152              "schema" : {
  3153                "$ref" : "#/definitions/SecurityGroupResponse"
  3154              }
  3155            }
  3156          }
  3157        },
  3158        "delete" : {
  3159          "tags" : [ "v1securitygroups" ],
  3160          "summary" : "delete security group by id",
  3161          "description" : "Different inbound security rules(group) could be configured by using SecurityGroup resources and a group could be assigned to any Stack(cluster).",
  3162          "operationId" : "deleteSecurityGroup",
  3163          "schemes" : [ "http", "https" ],
  3164          "consumes" : [ "application/json" ],
  3165          "produces" : [ "application/json" ],
  3166          "parameters" : [ {
  3167            "name" : "id",
  3168            "in" : "path",
  3169            "required" : true,
  3170            "type" : "integer",
  3171            "format" : "int64"
  3172          } ],
  3173          "responses" : {
  3174            "default" : {
  3175              "description" : "successful operation"
  3176            }
  3177          }
  3178        }
  3179      },
  3180      "/v1/settings/all" : {
  3181        "get" : {
  3182          "tags" : [ "v1settings" ],
  3183          "summary" : "retrive all available settings",
  3184          "description" : "Collecting Cloudbreak specific resource settings.",
  3185          "operationId" : "getAllSettings",
  3186          "schemes" : [ "http", "https" ],
  3187          "consumes" : [ "application/json" ],
  3188          "produces" : [ "application/json" ],
  3189          "parameters" : [ ],
  3190          "responses" : {
  3191            "200" : {
  3192              "description" : "successful operation",
  3193              "schema" : {
  3194                "type" : "object",
  3195                "additionalProperties" : {
  3196                  "type" : "object",
  3197                  "additionalProperties" : {
  3198                    "type" : "object"
  3199                  }
  3200                }
  3201              }
  3202            }
  3203          }
  3204        }
  3205      },
  3206      "/v1/settings/database" : {
  3207        "get" : {
  3208          "tags" : [ "v1settings" ],
  3209          "summary" : "retrive available Ambari database settings",
  3210          "description" : "Collecting Cloudbreak specific resource settings.",
  3211          "operationId" : "getDatabaseConfigSettings",
  3212          "schemes" : [ "http", "https" ],
  3213          "consumes" : [ "application/json" ],
  3214          "produces" : [ "application/json" ],
  3215          "parameters" : [ ],
  3216          "responses" : {
  3217            "200" : {
  3218              "description" : "successful operation",
  3219              "schema" : {
  3220                "type" : "object",
  3221                "additionalProperties" : {
  3222                  "type" : "object"
  3223                }
  3224              }
  3225            }
  3226          }
  3227        }
  3228      },
  3229      "/v1/settings/recipe" : {
  3230        "get" : {
  3231          "tags" : [ "v1settings" ],
  3232          "summary" : "retrive available recipe settings",
  3233          "description" : "Collecting Cloudbreak specific resource settings.",
  3234          "operationId" : "getRecipeSettings",
  3235          "schemes" : [ "http", "https" ],
  3236          "consumes" : [ "application/json" ],
  3237          "produces" : [ "application/json" ],
  3238          "parameters" : [ ],
  3239          "responses" : {
  3240            "200" : {
  3241              "description" : "successful operation",
  3242              "schema" : {
  3243                "type" : "object",
  3244                "additionalProperties" : {
  3245                  "type" : "object"
  3246                }
  3247              }
  3248            }
  3249          }
  3250        }
  3251      },
  3252      "/v1/smartsensesubscriptions" : {
  3253        "get" : {
  3254          "tags" : [ "v1smartsensesubscriptions" ],
  3255          "summary" : "retrieve default SmartSense subscription",
  3256          "description" : "SmartSense subscriptions could be configured.",
  3257          "operationId" : "getSmartSenseSubscription",
  3258          "schemes" : [ "http", "https" ],
  3259          "consumes" : [ "application/json" ],
  3260          "produces" : [ "application/json" ],
  3261          "parameters" : [ ],
  3262          "responses" : {
  3263            "200" : {
  3264              "description" : "successful operation",
  3265              "schema" : {
  3266                "$ref" : "#/definitions/SmartSenseSubscriptionJson"
  3267              }
  3268            }
  3269          }
  3270        }
  3271      },
  3272      "/v1/smartsensesubscriptions/account" : {
  3273        "get" : {
  3274          "tags" : [ "v1smartsensesubscriptions" ],
  3275          "summary" : "retrieve public and private (owned) SmartSense subscriptions",
  3276          "description" : "SmartSense subscriptions could be configured.",
  3277          "operationId" : "getPublicSmartSenseSubscriptions",
  3278          "schemes" : [ "http", "https" ],
  3279          "consumes" : [ "application/json" ],
  3280          "produces" : [ "application/json" ],
  3281          "parameters" : [ ],
  3282          "responses" : {
  3283            "200" : {
  3284              "description" : "successful operation",
  3285              "schema" : {
  3286                "type" : "array",
  3287                "items" : {
  3288                  "$ref" : "#/definitions/SmartSenseSubscriptionJson"
  3289                }
  3290              }
  3291            }
  3292          }
  3293        },
  3294        "post" : {
  3295          "tags" : [ "v1smartsensesubscriptions" ],
  3296          "summary" : "create SmartSense subscription as public resource",
  3297          "description" : "SmartSense subscriptions could be configured.",
  3298          "operationId" : "postPublicSmartSenseSubscription",
  3299          "schemes" : [ "http", "https" ],
  3300          "consumes" : [ "application/json" ],
  3301          "produces" : [ "application/json" ],
  3302          "parameters" : [ {
  3303            "in" : "body",
  3304            "name" : "body",
  3305            "required" : false,
  3306            "schema" : {
  3307              "$ref" : "#/definitions/SmartSenseSubscriptionJson"
  3308            }
  3309          } ],
  3310          "responses" : {
  3311            "200" : {
  3312              "description" : "successful operation",
  3313              "schema" : {
  3314                "$ref" : "#/definitions/SmartSenseSubscriptionJson"
  3315              }
  3316            }
  3317          }
  3318        }
  3319      },
  3320      "/v1/smartsensesubscriptions/account/{subscriptionId}" : {
  3321        "delete" : {
  3322          "tags" : [ "v1smartsensesubscriptions" ],
  3323          "summary" : "delete public (owned) or private SmartSense subscription by subscription ID",
  3324          "description" : "SmartSense subscriptions could be configured.",
  3325          "operationId" : "deletePublicSmartSenseSubscriptionBySubscriptionId",
  3326          "schemes" : [ "http", "https" ],
  3327          "consumes" : [ "application/json" ],
  3328          "produces" : [ "application/json" ],
  3329          "parameters" : [ {
  3330            "name" : "subscriptionId",
  3331            "in" : "path",
  3332            "required" : true,
  3333            "type" : "string"
  3334          } ],
  3335          "responses" : {
  3336            "default" : {
  3337              "description" : "successful operation"
  3338            }
  3339          }
  3340        }
  3341      },
  3342      "/v1/smartsensesubscriptions/user" : {
  3343        "get" : {
  3344          "tags" : [ "v1smartsensesubscriptions" ],
  3345          "summary" : "retrieve private SmartSense subscriptions",
  3346          "description" : "SmartSense subscriptions could be configured.",
  3347          "operationId" : "getPrivateSmartSenseSubscriptions",
  3348          "schemes" : [ "http", "https" ],
  3349          "consumes" : [ "application/json" ],
  3350          "produces" : [ "application/json" ],
  3351          "parameters" : [ ],
  3352          "responses" : {
  3353            "200" : {
  3354              "description" : "successful operation",
  3355              "schema" : {
  3356                "type" : "array",
  3357                "items" : {
  3358                  "$ref" : "#/definitions/SmartSenseSubscriptionJson"
  3359                }
  3360              }
  3361            }
  3362          }
  3363        },
  3364        "post" : {
  3365          "tags" : [ "v1smartsensesubscriptions" ],
  3366          "summary" : "create SmartSense subscription as private resource",
  3367          "description" : "SmartSense subscriptions could be configured.",
  3368          "operationId" : "postPrivateSmartSenseSubscription",
  3369          "schemes" : [ "http", "https" ],
  3370          "consumes" : [ "application/json" ],
  3371          "produces" : [ "application/json" ],
  3372          "parameters" : [ {
  3373            "in" : "body",
  3374            "name" : "body",
  3375            "required" : false,
  3376            "schema" : {
  3377              "$ref" : "#/definitions/SmartSenseSubscriptionJson"
  3378            }
  3379          } ],
  3380          "responses" : {
  3381            "200" : {
  3382              "description" : "successful operation",
  3383              "schema" : {
  3384                "$ref" : "#/definitions/SmartSenseSubscriptionJson"
  3385              }
  3386            }
  3387          }
  3388        }
  3389      },
  3390      "/v1/smartsensesubscriptions/user/{subscriptionId}" : {
  3391        "delete" : {
  3392          "tags" : [ "v1smartsensesubscriptions" ],
  3393          "summary" : "delete private SmartSense subscription by subscription ID",
  3394          "description" : "SmartSense subscriptions could be configured.",
  3395          "operationId" : "deletePrivateSmartSenseSubscriptionBySubscriptionId",
  3396          "schemes" : [ "http", "https" ],
  3397          "consumes" : [ "application/json" ],
  3398          "produces" : [ "application/json" ],
  3399          "parameters" : [ {
  3400            "name" : "subscriptionId",
  3401            "in" : "path",
  3402            "required" : true,
  3403            "type" : "string"
  3404          } ],
  3405          "responses" : {
  3406            "default" : {
  3407              "description" : "successful operation"
  3408            }
  3409          }
  3410        }
  3411      },
  3412      "/v1/smartsensesubscriptions/{id}" : {
  3413        "get" : {
  3414          "tags" : [ "v1smartsensesubscriptions" ],
  3415          "summary" : "retrieve SmartSense subscription by id",
  3416          "description" : "SmartSense subscriptions could be configured.",
  3417          "operationId" : "getSmartSenseSubscriptionById",
  3418          "schemes" : [ "http", "https" ],
  3419          "consumes" : [ "application/json" ],
  3420          "produces" : [ "application/json" ],
  3421          "parameters" : [ {
  3422            "name" : "id",
  3423            "in" : "path",
  3424            "required" : true,
  3425            "type" : "integer",
  3426            "format" : "int64"
  3427          } ],
  3428          "responses" : {
  3429            "200" : {
  3430              "description" : "successful operation",
  3431              "schema" : {
  3432                "$ref" : "#/definitions/SmartSenseSubscriptionJson"
  3433              }
  3434            }
  3435          }
  3436        },
  3437        "delete" : {
  3438          "tags" : [ "v1smartsensesubscriptions" ],
  3439          "summary" : "delete SmartSense subscription by id",
  3440          "description" : "SmartSense subscriptions could be configured.",
  3441          "operationId" : "deleteSmartSenseSubscriptionById",
  3442          "schemes" : [ "http", "https" ],
  3443          "consumes" : [ "application/json" ],
  3444          "produces" : [ "application/json" ],
  3445          "parameters" : [ {
  3446            "name" : "id",
  3447            "in" : "path",
  3448            "required" : true,
  3449            "type" : "integer",
  3450            "format" : "int64"
  3451          } ],
  3452          "responses" : {
  3453            "default" : {
  3454              "description" : "successful operation"
  3455            }
  3456          }
  3457        }
  3458      },
  3459      "/v1/stacks/account" : {
  3460        "get" : {
  3461          "tags" : [ "v1stacks" ],
  3462          "summary" : "retrieve public and private (owned) stacks",
  3463          "description" : "Stacks are template instances - a running cloud infrastructure created based on a template. Stacks are always launched on behalf of a cloud user account. Stacks support a wide range of resources, allowing you to build a highly available, reliable, and scalable infrastructure for your application needs.",
  3464          "operationId" : "getPublicsStack",
  3465          "schemes" : [ "http", "https" ],
  3466          "consumes" : [ "application/json" ],
  3467          "produces" : [ "application/json" ],
  3468          "parameters" : [ ],
  3469          "responses" : {
  3470            "200" : {
  3471              "description" : "successful operation",
  3472              "schema" : {
  3473                "type" : "array",
  3474                "uniqueItems" : true,
  3475                "items" : {
  3476                  "$ref" : "#/definitions/StackResponse"
  3477                }
  3478              }
  3479            }
  3480          }
  3481        },
  3482        "post" : {
  3483          "tags" : [ "v1stacks" ],
  3484          "summary" : "create stack as public resource",
  3485          "description" : "Stacks are template instances - a running cloud infrastructure created based on a template. Stacks are always launched on behalf of a cloud user account. Stacks support a wide range of resources, allowing you to build a highly available, reliable, and scalable infrastructure for your application needs.",
  3486          "operationId" : "postPublicStack",
  3487          "schemes" : [ "http", "https" ],
  3488          "consumes" : [ "application/json" ],
  3489          "produces" : [ "application/json" ],
  3490          "parameters" : [ {
  3491            "in" : "body",
  3492            "name" : "body",
  3493            "required" : false,
  3494            "schema" : {
  3495              "$ref" : "#/definitions/StackRequest"
  3496            }
  3497          } ],
  3498          "responses" : {
  3499            "200" : {
  3500              "description" : "successful operation",
  3501              "schema" : {
  3502                "$ref" : "#/definitions/StackResponse"
  3503              }
  3504            }
  3505          }
  3506        }
  3507      },
  3508      "/v1/stacks/account/{name}" : {
  3509        "get" : {
  3510          "tags" : [ "v1stacks" ],
  3511          "summary" : "retrieve a public or private (owned) stack by name",
  3512          "description" : "Stacks are template instances - a running cloud infrastructure created based on a template. Stacks are always launched on behalf of a cloud user account. Stacks support a wide range of resources, allowing you to build a highly available, reliable, and scalable infrastructure for your application needs.",
  3513          "operationId" : "getPublicStack",
  3514          "schemes" : [ "http", "https" ],
  3515          "consumes" : [ "application/json" ],
  3516          "produces" : [ "application/json" ],
  3517          "parameters" : [ {
  3518            "name" : "name",
  3519            "in" : "path",
  3520            "required" : true,
  3521            "type" : "string"
  3522          }, {
  3523            "name" : "entry",
  3524            "in" : "query",
  3525            "required" : false,
  3526            "type" : "array",
  3527            "items" : {
  3528              "type" : "string"
  3529            },
  3530            "collectionFormat" : "multi"
  3531          } ],
  3532          "responses" : {
  3533            "200" : {
  3534              "description" : "successful operation",
  3535              "schema" : {
  3536                "$ref" : "#/definitions/StackResponse"
  3537              }
  3538            }
  3539          }
  3540        },
  3541        "delete" : {
  3542          "tags" : [ "v1stacks" ],
  3543          "summary" : "delete public (owned) or private stack by name",
  3544          "description" : "Stacks are template instances - a running cloud infrastructure created based on a template. Stacks are always launched on behalf of a cloud user account. Stacks support a wide range of resources, allowing you to build a highly available, reliable, and scalable infrastructure for your application needs.",
  3545          "operationId" : "deletePublicStack",
  3546          "schemes" : [ "http", "https" ],
  3547          "consumes" : [ "application/json" ],
  3548          "produces" : [ "application/json" ],
  3549          "parameters" : [ {
  3550            "name" : "name",
  3551            "in" : "path",
  3552            "required" : true,
  3553            "type" : "string"
  3554          }, {
  3555            "name" : "forced",
  3556            "in" : "query",
  3557            "required" : false,
  3558            "type" : "boolean",
  3559            "default" : false
  3560          }, {
  3561            "name" : "deleteDependencies",
  3562            "in" : "query",
  3563            "required" : false,
  3564            "type" : "boolean",
  3565            "default" : false
  3566          } ],
  3567          "responses" : {
  3568            "default" : {
  3569              "description" : "successful operation"
  3570            }
  3571          }
  3572        }
  3573      },
  3574      "/v1/stacks/account/{name}/cluster" : {
  3575        "get" : {
  3576          "tags" : [ "cluster" ],
  3577          "summary" : "retrieve cluster by stack name (public)",
  3578          "description" : "Clusters are materialised Hadoop services on a given infrastructure. They are built based on a Blueprint (running the components and services specified) and on a configured infrastructure Stack. Once a cluster is created and launched, it can be used the usual way as any Hadoop cluster. We suggest to start with the Cluster's Ambari UI for an overview of your cluster.",
  3579          "operationId" : "getPublicCluster",
  3580          "schemes" : [ "http", "https" ],
  3581          "consumes" : [ "application/json" ],
  3582          "produces" : [ "application/json" ],
  3583          "parameters" : [ {
  3584            "name" : "name",
  3585            "in" : "path",
  3586            "required" : true,
  3587            "type" : "string"
  3588          } ],
  3589          "responses" : {
  3590            "200" : {
  3591              "description" : "successful operation",
  3592              "schema" : {
  3593                "$ref" : "#/definitions/ClusterResponse"
  3594              }
  3595            }
  3596          }
  3597        }
  3598      },
  3599      "/v1/stacks/all" : {
  3600        "get" : {
  3601          "tags" : [ "v1stacks" ],
  3602          "summary" : "retrieve all stacks",
  3603          "description" : "Stacks are template instances - a running cloud infrastructure created based on a template. Stacks are always launched on behalf of a cloud user account. Stacks support a wide range of resources, allowing you to build a highly available, reliable, and scalable infrastructure for your application needs.",
  3604          "operationId" : "getAllStack",
  3605          "schemes" : [ "http", "https" ],
  3606          "consumes" : [ "application/json" ],
  3607          "produces" : [ "application/json" ],
  3608          "parameters" : [ ],
  3609          "responses" : {
  3610            "200" : {
  3611              "description" : "successful operation",
  3612              "schema" : {
  3613                "type" : "array",
  3614                "uniqueItems" : true,
  3615                "items" : {
  3616                  "$ref" : "#/definitions/AutoscaleStackResponse"
  3617                }
  3618              }
  3619            }
  3620          }
  3621        }
  3622      },
  3623      "/v1/stacks/ambari" : {
  3624        "post" : {
  3625          "tags" : [ "v1stacks" ],
  3626          "summary" : "retrieve stack by ambari address",
  3627          "description" : "Stacks are template instances - a running cloud infrastructure created based on a template. Stacks are always launched on behalf of a cloud user account. Stacks support a wide range of resources, allowing you to build a highly available, reliable, and scalable infrastructure for your application needs.",
  3628          "operationId" : "getStackForAmbari",
  3629          "schemes" : [ "http", "https" ],
  3630          "consumes" : [ "application/json" ],
  3631          "produces" : [ "application/json" ],
  3632          "parameters" : [ {
  3633            "in" : "body",
  3634            "name" : "body",
  3635            "required" : false,
  3636            "schema" : {
  3637              "$ref" : "#/definitions/AmbariAddress"
  3638            }
  3639          } ],
  3640          "responses" : {
  3641            "200" : {
  3642              "description" : "successful operation",
  3643              "schema" : {
  3644                "$ref" : "#/definitions/StackResponse"
  3645              }
  3646            }
  3647          }
  3648        }
  3649      },
  3650      "/v1/stacks/platformVariants" : {
  3651        "get" : {
  3652          "tags" : [ "v1stacks" ],
  3653          "summary" : "retrieve available platform variants",
  3654          "description" : "Stacks are template instances - a running cloud infrastructure created based on a template. Stacks are always launched on behalf of a cloud user account. Stacks support a wide range of resources, allowing you to build a highly available, reliable, and scalable infrastructure for your application needs.",
  3655          "operationId" : "variantsStack",
  3656          "schemes" : [ "http", "https" ],
  3657          "consumes" : [ "application/json" ],
  3658          "produces" : [ "application/json" ],
  3659          "parameters" : [ ],
  3660          "responses" : {
  3661            "200" : {
  3662              "description" : "successful operation",
  3663              "schema" : {
  3664                "$ref" : "#/definitions/PlatformVariantsJson"
  3665              }
  3666            }
  3667          }
  3668        }
  3669      },
  3670      "/v1/stacks/user" : {
  3671        "get" : {
  3672          "tags" : [ "v1stacks" ],
  3673          "summary" : "retrieve private stack",
  3674          "description" : "Stacks are template instances - a running cloud infrastructure created based on a template. Stacks are always launched on behalf of a cloud user account. Stacks support a wide range of resources, allowing you to build a highly available, reliable, and scalable infrastructure for your application needs.",
  3675          "operationId" : "getPrivatesStack",
  3676          "schemes" : [ "http", "https" ],
  3677          "consumes" : [ "application/json" ],
  3678          "produces" : [ "application/json" ],
  3679          "parameters" : [ ],
  3680          "responses" : {
  3681            "200" : {
  3682              "description" : "successful operation",
  3683              "schema" : {
  3684                "type" : "array",
  3685                "uniqueItems" : true,
  3686                "items" : {
  3687                  "$ref" : "#/definitions/StackResponse"
  3688                }
  3689              }
  3690            }
  3691          }
  3692        },
  3693        "post" : {
  3694          "tags" : [ "v1stacks" ],
  3695          "summary" : "create stack as private resource",
  3696          "description" : "Stacks are template instances - a running cloud infrastructure created based on a template. Stacks are always launched on behalf of a cloud user account. Stacks support a wide range of resources, allowing you to build a highly available, reliable, and scalable infrastructure for your application needs.",
  3697          "operationId" : "postPrivateStack",
  3698          "schemes" : [ "http", "https" ],
  3699          "consumes" : [ "application/json" ],
  3700          "produces" : [ "application/json" ],
  3701          "parameters" : [ {
  3702            "in" : "body",
  3703            "name" : "body",
  3704            "required" : false,
  3705            "schema" : {
  3706              "$ref" : "#/definitions/StackRequest"
  3707            }
  3708          } ],
  3709          "responses" : {
  3710            "200" : {
  3711              "description" : "successful operation",
  3712              "schema" : {
  3713                "$ref" : "#/definitions/StackResponse"
  3714              }
  3715            }
  3716          }
  3717        }
  3718      },
  3719      "/v1/stacks/user/{name}" : {
  3720        "get" : {
  3721          "tags" : [ "v1stacks" ],
  3722          "summary" : "retrieve a private stack by name",
  3723          "description" : "Stacks are template instances - a running cloud infrastructure created based on a template. Stacks are always launched on behalf of a cloud user account. Stacks support a wide range of resources, allowing you to build a highly available, reliable, and scalable infrastructure for your application needs.",
  3724          "operationId" : "getPrivateStack",
  3725          "schemes" : [ "http", "https" ],
  3726          "consumes" : [ "application/json" ],
  3727          "produces" : [ "application/json" ],
  3728          "parameters" : [ {
  3729            "name" : "name",
  3730            "in" : "path",
  3731            "required" : true,
  3732            "type" : "string"
  3733          }, {
  3734            "name" : "entry",
  3735            "in" : "query",
  3736            "required" : false,
  3737            "type" : "array",
  3738            "items" : {
  3739              "type" : "string"
  3740            },
  3741            "collectionFormat" : "multi"
  3742          } ],
  3743          "responses" : {
  3744            "200" : {
  3745              "description" : "successful operation",
  3746              "schema" : {
  3747                "$ref" : "#/definitions/StackResponse"
  3748              }
  3749            }
  3750          }
  3751        },
  3752        "delete" : {
  3753          "tags" : [ "v1stacks" ],
  3754          "summary" : "delete private stack by name",
  3755          "description" : "Stacks are template instances - a running cloud infrastructure created based on a template. Stacks are always launched on behalf of a cloud user account. Stacks support a wide range of resources, allowing you to build a highly available, reliable, and scalable infrastructure for your application needs.",
  3756          "operationId" : "deletePrivateStack",
  3757          "schemes" : [ "http", "https" ],
  3758          "consumes" : [ "application/json" ],
  3759          "produces" : [ "application/json" ],
  3760          "parameters" : [ {
  3761            "name" : "name",
  3762            "in" : "path",
  3763            "required" : true,
  3764            "type" : "string"
  3765          }, {
  3766            "name" : "forced",
  3767            "in" : "query",
  3768            "required" : false,
  3769            "type" : "boolean",
  3770            "default" : false
  3771          }, {
  3772            "name" : "deleteDependencies",
  3773            "in" : "query",
  3774            "required" : false,
  3775            "type" : "boolean",
  3776            "default" : false
  3777          } ],
  3778          "responses" : {
  3779            "default" : {
  3780              "description" : "successful operation"
  3781            }
  3782          }
  3783        }
  3784      },
  3785      "/v1/stacks/user/{name}/cluster" : {
  3786        "get" : {
  3787          "tags" : [ "cluster" ],
  3788          "summary" : "retrieve cluster by stack name (private)",
  3789          "description" : "Clusters are materialised Hadoop services on a given infrastructure. They are built based on a Blueprint (running the components and services specified) and on a configured infrastructure Stack. Once a cluster is created and launched, it can be used the usual way as any Hadoop cluster. We suggest to start with the Cluster's Ambari UI for an overview of your cluster.",
  3790          "operationId" : "getPrivateCluster",
  3791          "schemes" : [ "http", "https" ],
  3792          "consumes" : [ "application/json" ],
  3793          "produces" : [ "application/json" ],
  3794          "parameters" : [ {
  3795            "name" : "name",
  3796            "in" : "path",
  3797            "required" : true,
  3798            "type" : "string"
  3799          } ],
  3800          "responses" : {
  3801            "200" : {
  3802              "description" : "successful operation",
  3803              "schema" : {
  3804                "$ref" : "#/definitions/ClusterResponse"
  3805              }
  3806            }
  3807          }
  3808        }
  3809      },
  3810      "/v1/stacks/validate" : {
  3811        "post" : {
  3812          "tags" : [ "v1stacks" ],
  3813          "summary" : "validate stack",
  3814          "description" : "Stacks are template instances - a running cloud infrastructure created based on a template. Stacks are always launched on behalf of a cloud user account. Stacks support a wide range of resources, allowing you to build a highly available, reliable, and scalable infrastructure for your application needs.",
  3815          "operationId" : "validateStack",
  3816          "schemes" : [ "http", "https" ],
  3817          "consumes" : [ "application/json" ],
  3818          "produces" : [ "application/json" ],
  3819          "parameters" : [ {
  3820            "in" : "body",
  3821            "name" : "body",
  3822            "required" : false,
  3823            "schema" : {
  3824              "$ref" : "#/definitions/StackValidationRequest"
  3825            }
  3826          } ],
  3827          "responses" : {
  3828            "default" : {
  3829              "description" : "successful operation"
  3830            }
  3831          }
  3832        }
  3833      },
  3834      "/v1/stacks/{id}" : {
  3835        "get" : {
  3836          "tags" : [ "v1stacks" ],
  3837          "summary" : "retrieve stack by id",
  3838          "description" : "Stacks are template instances - a running cloud infrastructure created based on a template. Stacks are always launched on behalf of a cloud user account. Stacks support a wide range of resources, allowing you to build a highly available, reliable, and scalable infrastructure for your application needs.",
  3839          "operationId" : "getStack",
  3840          "schemes" : [ "http", "https" ],
  3841          "consumes" : [ "application/json" ],
  3842          "produces" : [ "application/json" ],
  3843          "parameters" : [ {
  3844            "name" : "id",
  3845            "in" : "path",
  3846            "required" : true,
  3847            "type" : "integer",
  3848            "format" : "int64"
  3849          }, {
  3850            "name" : "entry",
  3851            "in" : "query",
  3852            "required" : false,
  3853            "type" : "array",
  3854            "items" : {
  3855              "type" : "string"
  3856            },
  3857            "collectionFormat" : "multi"
  3858          } ],
  3859          "responses" : {
  3860            "200" : {
  3861              "description" : "successful operation",
  3862              "schema" : {
  3863                "$ref" : "#/definitions/StackResponse"
  3864              }
  3865            }
  3866          }
  3867        },
  3868        "put" : {
  3869          "tags" : [ "v1stacks" ],
  3870          "summary" : "update stack by id",
  3871          "description" : "Stacks are template instances - a running cloud infrastructure created based on a template. Stacks are always launched on behalf of a cloud user account. Stacks support a wide range of resources, allowing you to build a highly available, reliable, and scalable infrastructure for your application needs.",
  3872          "operationId" : "putStack",
  3873          "schemes" : [ "http", "https" ],
  3874          "consumes" : [ "application/json" ],
  3875          "produces" : [ "application/json" ],
  3876          "parameters" : [ {
  3877            "name" : "id",
  3878            "in" : "path",
  3879            "required" : true,
  3880            "type" : "integer",
  3881            "format" : "int64"
  3882          }, {
  3883            "in" : "body",
  3884            "name" : "body",
  3885            "required" : false,
  3886            "schema" : {
  3887              "$ref" : "#/definitions/UpdateStack"
  3888            }
  3889          } ],
  3890          "responses" : {
  3891            "default" : {
  3892              "description" : "successful operation"
  3893            }
  3894          }
  3895        },
  3896        "delete" : {
  3897          "tags" : [ "v1stacks" ],
  3898          "summary" : "delete stack by id",
  3899          "description" : "Stacks are template instances - a running cloud infrastructure created based on a template. Stacks are always launched on behalf of a cloud user account. Stacks support a wide range of resources, allowing you to build a highly available, reliable, and scalable infrastructure for your application needs.",
  3900          "operationId" : "deleteStack",
  3901          "schemes" : [ "http", "https" ],
  3902          "consumes" : [ "application/json" ],
  3903          "produces" : [ "application/json" ],
  3904          "parameters" : [ {
  3905            "name" : "id",
  3906            "in" : "path",
  3907            "required" : true,
  3908            "type" : "integer",
  3909            "format" : "int64"
  3910          }, {
  3911            "name" : "forced",
  3912            "in" : "query",
  3913            "required" : false,
  3914            "type" : "boolean",
  3915            "default" : false
  3916          }, {
  3917            "name" : "deleteDependencies",
  3918            "in" : "query",
  3919            "required" : false,
  3920            "type" : "boolean",
  3921            "default" : false
  3922          } ],
  3923          "responses" : {
  3924            "default" : {
  3925              "description" : "successful operation"
  3926            }
  3927          }
  3928        }
  3929      },
  3930      "/v1/stacks/{id}/certificate" : {
  3931        "get" : {
  3932          "tags" : [ "v1stacks" ],
  3933          "summary" : "retrieves the TLS certificate used by the gateway",
  3934          "description" : "Stacks are template instances - a running cloud infrastructure created based on a template. Stacks are always launched on behalf of a cloud user account. Stacks support a wide range of resources, allowing you to build a highly available, reliable, and scalable infrastructure for your application needs.",
  3935          "operationId" : "getCertificateStack",
  3936          "schemes" : [ "http", "https" ],
  3937          "consumes" : [ "application/json" ],
  3938          "produces" : [ "application/json" ],
  3939          "parameters" : [ {
  3940            "name" : "id",
  3941            "in" : "path",
  3942            "required" : true,
  3943            "type" : "integer",
  3944            "format" : "int64"
  3945          } ],
  3946          "responses" : {
  3947            "200" : {
  3948              "description" : "successful operation",
  3949              "schema" : {
  3950                "$ref" : "#/definitions/CertificateResponse"
  3951              }
  3952            }
  3953          }
  3954        }
  3955      },
  3956      "/v1/stacks/{id}/cluster" : {
  3957        "get" : {
  3958          "tags" : [ "cluster" ],
  3959          "summary" : "retrieve cluster by stack id",
  3960          "description" : "Clusters are materialised Hadoop services on a given infrastructure. They are built based on a Blueprint (running the components and services specified) and on a configured infrastructure Stack. Once a cluster is created and launched, it can be used the usual way as any Hadoop cluster. We suggest to start with the Cluster's Ambari UI for an overview of your cluster.",
  3961          "operationId" : "getCluster",
  3962          "schemes" : [ "http", "https" ],
  3963          "consumes" : [ "application/json" ],
  3964          "produces" : [ "application/json" ],
  3965          "parameters" : [ {
  3966            "name" : "id",
  3967            "in" : "path",
  3968            "required" : true,
  3969            "type" : "integer",
  3970            "format" : "int64"
  3971          } ],
  3972          "responses" : {
  3973            "200" : {
  3974              "description" : "successful operation",
  3975              "schema" : {
  3976                "$ref" : "#/definitions/ClusterResponse"
  3977              }
  3978            }
  3979          }
  3980        },
  3981        "post" : {
  3982          "tags" : [ "cluster" ],
  3983          "summary" : "create cluster for stack",
  3984          "description" : "Clusters are materialised Hadoop services on a given infrastructure. They are built based on a Blueprint (running the components and services specified) and on a configured infrastructure Stack. Once a cluster is created and launched, it can be used the usual way as any Hadoop cluster. We suggest to start with the Cluster's Ambari UI for an overview of your cluster.",
  3985          "operationId" : "postCluster",
  3986          "schemes" : [ "http", "https" ],
  3987          "consumes" : [ "application/json" ],
  3988          "produces" : [ "application/json" ],
  3989          "parameters" : [ {
  3990            "name" : "id",
  3991            "in" : "path",
  3992            "required" : true,
  3993            "type" : "integer",
  3994            "format" : "int64"
  3995          }, {
  3996            "in" : "body",
  3997            "name" : "body",
  3998            "required" : false,
  3999            "schema" : {
  4000              "$ref" : "#/definitions/ClusterRequest"
  4001            }
  4002          } ],
  4003          "responses" : {
  4004            "200" : {
  4005              "description" : "successful operation",
  4006              "schema" : {
  4007                "$ref" : "#/definitions/ClusterResponse"
  4008              }
  4009            }
  4010          }
  4011        },
  4012        "put" : {
  4013          "tags" : [ "cluster" ],
  4014          "summary" : "update cluster by stack id",
  4015          "description" : "Clusters are materialised Hadoop services on a given infrastructure. They are built based on a Blueprint (running the components and services specified) and on a configured infrastructure Stack. Once a cluster is created and launched, it can be used the usual way as any Hadoop cluster. We suggest to start with the Cluster's Ambari UI for an overview of your cluster.",
  4016          "operationId" : "putCluster",
  4017          "schemes" : [ "http", "https" ],
  4018          "consumes" : [ "application/json" ],
  4019          "produces" : [ "application/json" ],
  4020          "parameters" : [ {
  4021            "name" : "id",
  4022            "in" : "path",
  4023            "required" : true,
  4024            "type" : "integer",
  4025            "format" : "int64"
  4026          }, {
  4027            "in" : "body",
  4028            "name" : "body",
  4029            "required" : false,
  4030            "schema" : {
  4031              "$ref" : "#/definitions/UpdateCluster"
  4032            }
  4033          } ],
  4034          "responses" : {
  4035            "default" : {
  4036              "description" : "successful operation"
  4037            }
  4038          }
  4039        },
  4040        "delete" : {
  4041          "tags" : [ "cluster" ],
  4042          "summary" : "delete cluster on a specific stack",
  4043          "description" : "Clusters are materialised Hadoop services on a given infrastructure. They are built based on a Blueprint (running the components and services specified) and on a configured infrastructure Stack. Once a cluster is created and launched, it can be used the usual way as any Hadoop cluster. We suggest to start with the Cluster's Ambari UI for an overview of your cluster.",
  4044          "operationId" : "deleteCluster",
  4045          "schemes" : [ "http", "https" ],
  4046          "consumes" : [ "application/json" ],
  4047          "produces" : [ "application/json" ],
  4048          "parameters" : [ {
  4049            "name" : "id",
  4050            "in" : "path",
  4051            "required" : true,
  4052            "type" : "integer",
  4053            "format" : "int64"
  4054          } ],
  4055          "responses" : {
  4056            "default" : {
  4057              "description" : "successful operation"
  4058            }
  4059          }
  4060        }
  4061      },
  4062      "/v1/stacks/{id}/cluster/config" : {
  4063        "post" : {
  4064          "tags" : [ "cluster" ],
  4065          "summary" : "get cluster properties with blueprint outputs",
  4066          "description" : "Clusters are materialised Hadoop services on a given infrastructure. They are built based on a Blueprint (running the components and services specified) and on a configured infrastructure Stack. Once a cluster is created and launched, it can be used the usual way as any Hadoop cluster. We suggest to start with the Cluster's Ambari UI for an overview of your cluster.",
  4067          "operationId" : "getConfigsCluster",
  4068          "schemes" : [ "http", "https" ],
  4069          "consumes" : [ "application/json" ],
  4070          "produces" : [ "application/json" ],
  4071          "parameters" : [ {
  4072            "name" : "id",
  4073            "in" : "path",
  4074            "required" : true,
  4075            "type" : "integer",
  4076            "format" : "int64"
  4077          }, {
  4078            "in" : "body",
  4079            "name" : "body",
  4080            "required" : false,
  4081            "schema" : {
  4082              "$ref" : "#/definitions/ConfigsRequest"
  4083            }
  4084          } ],
  4085          "responses" : {
  4086            "200" : {
  4087              "description" : "successful operation",
  4088              "schema" : {
  4089                "$ref" : "#/definitions/ConfigsResponse"
  4090              }
  4091            }
  4092          }
  4093        }
  4094      },
  4095      "/v1/stacks/{id}/cluster/failurereport" : {
  4096        "post" : {
  4097          "tags" : [ "cluster" ],
  4098          "summary" : "failure report",
  4099          "description" : "Endpoint to report the failed nodes in the given cluster. If recovery mode for the node's hostgroup is AUTO then autorecovery would be started. If recovery mode for the node's hostgroup is MANUAL, the nodes will be marked as unhealthy.",
  4100          "operationId" : "failureReportCluster",
  4101          "schemes" : [ "http", "https" ],
  4102          "consumes" : [ "application/json" ],
  4103          "produces" : [ "application/json" ],
  4104          "parameters" : [ {
  4105            "name" : "id",
  4106            "in" : "path",
  4107            "required" : true,
  4108            "type" : "integer",
  4109            "format" : "int64"
  4110          }, {
  4111            "in" : "body",
  4112            "name" : "body",
  4113            "required" : false,
  4114            "schema" : {
  4115              "$ref" : "#/definitions/FailureReport"
  4116            }
  4117          } ],
  4118          "responses" : {
  4119            "default" : {
  4120              "description" : "successful operation"
  4121            }
  4122          }
  4123        }
  4124      },
  4125      "/v1/stacks/{id}/cluster/full" : {
  4126        "get" : {
  4127          "tags" : [ "cluster" ],
  4128          "summary" : "retrieve cluster by stack id",
  4129          "description" : "Clusters are materialised Hadoop services on a given infrastructure. They are built based on a Blueprint (running the components and services specified) and on a configured infrastructure Stack. Once a cluster is created and launched, it can be used the usual way as any Hadoop cluster. We suggest to start with the Cluster's Ambari UI for an overview of your cluster.",
  4130          "operationId" : "getFullCluster",
  4131          "schemes" : [ "http", "https" ],
  4132          "consumes" : [ "application/json" ],
  4133          "produces" : [ "application/json" ],
  4134          "parameters" : [ {
  4135            "name" : "id",
  4136            "in" : "path",
  4137            "required" : true,
  4138            "type" : "integer",
  4139            "format" : "int64"
  4140          } ],
  4141          "responses" : {
  4142            "200" : {
  4143              "description" : "successful operation",
  4144              "schema" : {
  4145                "$ref" : "#/definitions/AutoscaleClusterResponse"
  4146              }
  4147            }
  4148          }
  4149        }
  4150      },
  4151      "/v1/stacks/{id}/cluster/manualrepair" : {
  4152        "post" : {
  4153          "tags" : [ "cluster" ],
  4154          "summary" : "repair the cluster",
  4155          "description" : "Removing the failed nodes and starting new nodes to substitute them.",
  4156          "operationId" : "repairCluster",
  4157          "schemes" : [ "http", "https" ],
  4158          "consumes" : [ "application/json" ],
  4159          "produces" : [ "application/json" ],
  4160          "parameters" : [ {
  4161            "name" : "id",
  4162            "in" : "path",
  4163            "required" : true,
  4164            "type" : "integer",
  4165            "format" : "int64"
  4166          }, {
  4167            "in" : "body",
  4168            "name" : "body",
  4169            "required" : false,
  4170            "schema" : {
  4171              "$ref" : "#/definitions/ClusterRepairRequest"
  4172            }
  4173          } ],
  4174          "responses" : {
  4175            "default" : {
  4176              "description" : "successful operation"
  4177            }
  4178          }
  4179        }
  4180      },
  4181      "/v1/stacks/{id}/cluster/upgrade" : {
  4182        "post" : {
  4183          "tags" : [ "cluster" ],
  4184          "summary" : "upgrade the Ambari version",
  4185          "description" : "Ambari is used to provision the Hadoop clusters.",
  4186          "operationId" : "upgradeCluster",
  4187          "schemes" : [ "http", "https" ],
  4188          "consumes" : [ "application/json" ],
  4189          "produces" : [ "application/json" ],
  4190          "parameters" : [ {
  4191            "name" : "id",
  4192            "in" : "path",
  4193            "required" : true,
  4194            "type" : "integer",
  4195            "format" : "int64"
  4196          }, {
  4197            "in" : "body",
  4198            "name" : "body",
  4199            "required" : false,
  4200            "schema" : {
  4201              "$ref" : "#/definitions/AmbariRepoDetails"
  4202            }
  4203          } ],
  4204          "responses" : {
  4205            "default" : {
  4206              "description" : "successful operation"
  4207            }
  4208          }
  4209        }
  4210      },
  4211      "/v1/stacks/{id}/status" : {
  4212        "get" : {
  4213          "tags" : [ "v1stacks" ],
  4214          "summary" : "retrieve stack status by stack id",
  4215          "description" : "Stacks are template instances - a running cloud infrastructure created based on a template. Stacks are always launched on behalf of a cloud user account. Stacks support a wide range of resources, allowing you to build a highly available, reliable, and scalable infrastructure for your application needs.",
  4216          "operationId" : "statusStack",
  4217          "schemes" : [ "http", "https" ],
  4218          "consumes" : [ "application/json" ],
  4219          "produces" : [ "application/json" ],
  4220          "parameters" : [ {
  4221            "name" : "id",
  4222            "in" : "path",
  4223            "required" : true,
  4224            "type" : "integer",
  4225            "format" : "int64"
  4226          } ],
  4227          "responses" : {
  4228            "200" : {
  4229              "description" : "successful operation",
  4230              "schema" : {
  4231                "type" : "object",
  4232                "additionalProperties" : {
  4233                  "type" : "object"
  4234                }
  4235              }
  4236            }
  4237          }
  4238        }
  4239      },
  4240      "/v1/stacks/{stackId}/{instanceId}" : {
  4241        "delete" : {
  4242          "tags" : [ "v1stacks" ],
  4243          "summary" : "delete instance resource from stack",
  4244          "description" : "Stacks are template instances - a running cloud infrastructure created based on a template. Stacks are always launched on behalf of a cloud user account. Stacks support a wide range of resources, allowing you to build a highly available, reliable, and scalable infrastructure for your application needs.",
  4245          "operationId" : "deleteInstanceStack",
  4246          "schemes" : [ "http", "https" ],
  4247          "consumes" : [ "application/json" ],
  4248          "produces" : [ "application/json" ],
  4249          "parameters" : [ {
  4250            "name" : "stackId",
  4251            "in" : "path",
  4252            "required" : true,
  4253            "type" : "integer",
  4254            "format" : "int64"
  4255          }, {
  4256            "name" : "instanceId",
  4257            "in" : "path",
  4258            "required" : true,
  4259            "type" : "string"
  4260          } ],
  4261          "responses" : {
  4262            "default" : {
  4263              "description" : "successful operation"
  4264            }
  4265          }
  4266        }
  4267      },
  4268      "/v1/subscriptions" : {
  4269        "post" : {
  4270          "tags" : [ "v1subscriptions" ],
  4271          "summary" : "retrive subscribe identifier",
  4272          "description" : "Accepting client subscriptions to notification events.",
  4273          "operationId" : "subscribeSubscription",
  4274          "schemes" : [ "http", "https" ],
  4275          "consumes" : [ "application/json" ],
  4276          "produces" : [ "application/json" ],
  4277          "parameters" : [ {
  4278            "in" : "body",
  4279            "name" : "body",
  4280            "required" : false,
  4281            "schema" : {
  4282              "$ref" : "#/definitions/SubscriptionRequest"
  4283            }
  4284          } ],
  4285          "responses" : {
  4286            "200" : {
  4287              "description" : "successful operation",
  4288              "schema" : {
  4289                "$ref" : "#/definitions/Id"
  4290              }
  4291            }
  4292          }
  4293        }
  4294      },
  4295      "/v1/templates/account" : {
  4296        "get" : {
  4297          "tags" : [ "v1templates" ],
  4298          "summary" : "retrieve public and private (owned) templates",
  4299          "description" : "A template gives developers and systems administrators an easy way to create and manage a collection of cloud infrastructure related resources, maintaining and updating them in an orderly and predictable fashion. Templates are cloud specific - and on top of the infrastructural setup they collect the information such as the used machine images, the datacenter location, instance types, and can capture and control region-specific infrastructure variations. We support heterogenous clusters - this one Hadoop cluster can be built by combining different templates.",
  4300          "operationId" : "getPublicsTemplate",
  4301          "schemes" : [ "http", "https" ],
  4302          "consumes" : [ "application/json" ],
  4303          "produces" : [ "application/json" ],
  4304          "parameters" : [ ],
  4305          "responses" : {
  4306            "200" : {
  4307              "description" : "successful operation",
  4308              "schema" : {
  4309                "type" : "array",
  4310                "uniqueItems" : true,
  4311                "items" : {
  4312                  "$ref" : "#/definitions/TemplateResponse"
  4313                }
  4314              }
  4315            }
  4316          }
  4317        },
  4318        "post" : {
  4319          "tags" : [ "v1templates" ],
  4320          "summary" : "create template as public resource",
  4321          "description" : "A template gives developers and systems administrators an easy way to create and manage a collection of cloud infrastructure related resources, maintaining and updating them in an orderly and predictable fashion. Templates are cloud specific - and on top of the infrastructural setup they collect the information such as the used machine images, the datacenter location, instance types, and can capture and control region-specific infrastructure variations. We support heterogenous clusters - this one Hadoop cluster can be built by combining different templates.",
  4322          "operationId" : "postPublicTemplate",
  4323          "schemes" : [ "http", "https" ],
  4324          "consumes" : [ "application/json" ],
  4325          "produces" : [ "application/json" ],
  4326          "parameters" : [ {
  4327            "in" : "body",
  4328            "name" : "body",
  4329            "required" : false,
  4330            "schema" : {
  4331              "$ref" : "#/definitions/TemplateRequest"
  4332            }
  4333          } ],
  4334          "responses" : {
  4335            "200" : {
  4336              "description" : "successful operation",
  4337              "schema" : {
  4338                "$ref" : "#/definitions/TemplateResponse"
  4339              }
  4340            }
  4341          }
  4342        }
  4343      },
  4344      "/v1/templates/account/{name}" : {
  4345        "get" : {
  4346          "tags" : [ "v1templates" ],
  4347          "summary" : "retrieve a public or private (owned) template by name",
  4348          "description" : "A template gives developers and systems administrators an easy way to create and manage a collection of cloud infrastructure related resources, maintaining and updating them in an orderly and predictable fashion. Templates are cloud specific - and on top of the infrastructural setup they collect the information such as the used machine images, the datacenter location, instance types, and can capture and control region-specific infrastructure variations. We support heterogenous clusters - this one Hadoop cluster can be built by combining different templates.",
  4349          "operationId" : "getPublicTemplate",
  4350          "schemes" : [ "http", "https" ],
  4351          "consumes" : [ "application/json" ],
  4352          "produces" : [ "application/json" ],
  4353          "parameters" : [ {
  4354            "name" : "name",
  4355            "in" : "path",
  4356            "required" : true,
  4357            "type" : "string"
  4358          } ],
  4359          "responses" : {
  4360            "200" : {
  4361              "description" : "successful operation",
  4362              "schema" : {
  4363                "$ref" : "#/definitions/TemplateResponse"
  4364              }
  4365            }
  4366          }
  4367        },
  4368        "delete" : {
  4369          "tags" : [ "v1templates" ],
  4370          "summary" : "delete public (owned) or private template by name",
  4371          "description" : "A template gives developers and systems administrators an easy way to create and manage a collection of cloud infrastructure related resources, maintaining and updating them in an orderly and predictable fashion. Templates are cloud specific - and on top of the infrastructural setup they collect the information such as the used machine images, the datacenter location, instance types, and can capture and control region-specific infrastructure variations. We support heterogenous clusters - this one Hadoop cluster can be built by combining different templates.",
  4372          "operationId" : "deletePublicTemplate",
  4373          "schemes" : [ "http", "https" ],
  4374          "consumes" : [ "application/json" ],
  4375          "produces" : [ "application/json" ],
  4376          "parameters" : [ {
  4377            "name" : "name",
  4378            "in" : "path",
  4379            "required" : true,
  4380            "type" : "string"
  4381          } ],
  4382          "responses" : {
  4383            "default" : {
  4384              "description" : "successful operation"
  4385            }
  4386          }
  4387        }
  4388      },
  4389      "/v1/templates/user" : {
  4390        "get" : {
  4391          "tags" : [ "v1templates" ],
  4392          "summary" : "retrieve private templates",
  4393          "description" : "A template gives developers and systems administrators an easy way to create and manage a collection of cloud infrastructure related resources, maintaining and updating them in an orderly and predictable fashion. Templates are cloud specific - and on top of the infrastructural setup they collect the information such as the used machine images, the datacenter location, instance types, and can capture and control region-specific infrastructure variations. We support heterogenous clusters - this one Hadoop cluster can be built by combining different templates.",
  4394          "operationId" : "getPrivatesTemplate",
  4395          "schemes" : [ "http", "https" ],
  4396          "consumes" : [ "application/json" ],
  4397          "produces" : [ "application/json" ],
  4398          "parameters" : [ ],
  4399          "responses" : {
  4400            "200" : {
  4401              "description" : "successful operation",
  4402              "schema" : {
  4403                "type" : "array",
  4404                "uniqueItems" : true,
  4405                "items" : {
  4406                  "$ref" : "#/definitions/TemplateResponse"
  4407                }
  4408              }
  4409            }
  4410          }
  4411        },
  4412        "post" : {
  4413          "tags" : [ "v1templates" ],
  4414          "summary" : "create template as private resource",
  4415          "description" : "A template gives developers and systems administrators an easy way to create and manage a collection of cloud infrastructure related resources, maintaining and updating them in an orderly and predictable fashion. Templates are cloud specific - and on top of the infrastructural setup they collect the information such as the used machine images, the datacenter location, instance types, and can capture and control region-specific infrastructure variations. We support heterogenous clusters - this one Hadoop cluster can be built by combining different templates.",
  4416          "operationId" : "postPrivateTemplate",
  4417          "schemes" : [ "http", "https" ],
  4418          "consumes" : [ "application/json" ],
  4419          "produces" : [ "application/json" ],
  4420          "parameters" : [ {
  4421            "in" : "body",
  4422            "name" : "body",
  4423            "required" : false,
  4424            "schema" : {
  4425              "$ref" : "#/definitions/TemplateRequest"
  4426            }
  4427          } ],
  4428          "responses" : {
  4429            "200" : {
  4430              "description" : "successful operation",
  4431              "schema" : {
  4432                "$ref" : "#/definitions/TemplateResponse"
  4433              }
  4434            }
  4435          }
  4436        }
  4437      },
  4438      "/v1/templates/user/{name}" : {
  4439        "get" : {
  4440          "tags" : [ "v1templates" ],
  4441          "summary" : "retrieve a private template by name",
  4442          "description" : "A template gives developers and systems administrators an easy way to create and manage a collection of cloud infrastructure related resources, maintaining and updating them in an orderly and predictable fashion. Templates are cloud specific - and on top of the infrastructural setup they collect the information such as the used machine images, the datacenter location, instance types, and can capture and control region-specific infrastructure variations. We support heterogenous clusters - this one Hadoop cluster can be built by combining different templates.",
  4443          "operationId" : "getPrivateTemplate",
  4444          "schemes" : [ "http", "https" ],
  4445          "consumes" : [ "application/json" ],
  4446          "produces" : [ "application/json" ],
  4447          "parameters" : [ {
  4448            "name" : "name",
  4449            "in" : "path",
  4450            "required" : true,
  4451            "type" : "string"
  4452          } ],
  4453          "responses" : {
  4454            "200" : {
  4455              "description" : "successful operation",
  4456              "schema" : {
  4457                "$ref" : "#/definitions/TemplateResponse"
  4458              }
  4459            }
  4460          }
  4461        },
  4462        "delete" : {
  4463          "tags" : [ "v1templates" ],
  4464          "summary" : "delete private template by name",
  4465          "description" : "A template gives developers and systems administrators an easy way to create and manage a collection of cloud infrastructure related resources, maintaining and updating them in an orderly and predictable fashion. Templates are cloud specific - and on top of the infrastructural setup they collect the information such as the used machine images, the datacenter location, instance types, and can capture and control region-specific infrastructure variations. We support heterogenous clusters - this one Hadoop cluster can be built by combining different templates.",
  4466          "operationId" : "deletePrivateTemplate",
  4467          "schemes" : [ "http", "https" ],
  4468          "consumes" : [ "application/json" ],
  4469          "produces" : [ "application/json" ],
  4470          "parameters" : [ {
  4471            "name" : "name",
  4472            "in" : "path",
  4473            "required" : true,
  4474            "type" : "string"
  4475          } ],
  4476          "responses" : {
  4477            "default" : {
  4478              "description" : "successful operation"
  4479            }
  4480          }
  4481        }
  4482      },
  4483      "/v1/templates/{id}" : {
  4484        "get" : {
  4485          "tags" : [ "v1templates" ],
  4486          "summary" : "retrieve template by id",
  4487          "description" : "A template gives developers and systems administrators an easy way to create and manage a collection of cloud infrastructure related resources, maintaining and updating them in an orderly and predictable fashion. Templates are cloud specific - and on top of the infrastructural setup they collect the information such as the used machine images, the datacenter location, instance types, and can capture and control region-specific infrastructure variations. We support heterogenous clusters - this one Hadoop cluster can be built by combining different templates.",
  4488          "operationId" : "getTemplate",
  4489          "schemes" : [ "http", "https" ],
  4490          "consumes" : [ "application/json" ],
  4491          "produces" : [ "application/json" ],
  4492          "parameters" : [ {
  4493            "name" : "id",
  4494            "in" : "path",
  4495            "required" : true,
  4496            "type" : "integer",
  4497            "format" : "int64"
  4498          } ],
  4499          "responses" : {
  4500            "200" : {
  4501              "description" : "successful operation",
  4502              "schema" : {
  4503                "$ref" : "#/definitions/TemplateResponse"
  4504              }
  4505            }
  4506          }
  4507        },
  4508        "delete" : {
  4509          "tags" : [ "v1templates" ],
  4510          "summary" : "delete template by id",
  4511          "description" : "A template gives developers and systems administrators an easy way to create and manage a collection of cloud infrastructure related resources, maintaining and updating them in an orderly and predictable fashion. Templates are cloud specific - and on top of the infrastructural setup they collect the information such as the used machine images, the datacenter location, instance types, and can capture and control region-specific infrastructure variations. We support heterogenous clusters - this one Hadoop cluster can be built by combining different templates.",
  4512          "operationId" : "deleteTemplate",
  4513          "schemes" : [ "http", "https" ],
  4514          "consumes" : [ "application/json" ],
  4515          "produces" : [ "application/json" ],
  4516          "parameters" : [ {
  4517            "name" : "id",
  4518            "in" : "path",
  4519            "required" : true,
  4520            "type" : "integer",
  4521            "format" : "int64"
  4522          } ],
  4523          "responses" : {
  4524            "default" : {
  4525              "description" : "successful operation"
  4526            }
  4527          }
  4528        }
  4529      },
  4530      "/v1/topologies/account" : {
  4531        "get" : {
  4532          "tags" : [ "v1topologies" ],
  4533          "summary" : "retrieve topoligies",
  4534          "description" : "A topology gives system administrators an easy way to associate compute nodes with data centers and racks.",
  4535          "operationId" : "getPublicsTopology",
  4536          "schemes" : [ "http", "https" ],
  4537          "consumes" : [ "application/json" ],
  4538          "produces" : [ "application/json" ],
  4539          "parameters" : [ ],
  4540          "responses" : {
  4541            "200" : {
  4542              "description" : "successful operation",
  4543              "schema" : {
  4544                "type" : "array",
  4545                "uniqueItems" : true,
  4546                "items" : {
  4547                  "$ref" : "#/definitions/TopologyResponse"
  4548                }
  4549              }
  4550            }
  4551          }
  4552        },
  4553        "post" : {
  4554          "tags" : [ "v1topologies" ],
  4555          "summary" : "create topology as public resource",
  4556          "description" : "A topology gives system administrators an easy way to associate compute nodes with data centers and racks.",
  4557          "operationId" : "postPublicTopology",
  4558          "schemes" : [ "http", "https" ],
  4559          "consumes" : [ "application/json" ],
  4560          "produces" : [ "application/json" ],
  4561          "parameters" : [ {
  4562            "in" : "body",
  4563            "name" : "body",
  4564            "required" : false,
  4565            "schema" : {
  4566              "$ref" : "#/definitions/TopologyRequest"
  4567            }
  4568          } ],
  4569          "responses" : {
  4570            "200" : {
  4571              "description" : "successful operation",
  4572              "schema" : {
  4573                "$ref" : "#/definitions/TopologyResponse"
  4574              }
  4575            }
  4576          }
  4577        }
  4578      },
  4579      "/v1/topologies/account/{id}" : {
  4580        "get" : {
  4581          "tags" : [ "v1topologies" ],
  4582          "summary" : "retrieve topology by id",
  4583          "description" : "A template gives developers and systems administrators an easy way to create and manage a collection of cloud infrastructure related resources, maintaining and updating them in an orderly and predictable fashion. Templates are cloud specific - and on top of the infrastructural setup they collect the information such as the used machine images, the datacenter location, instance types, and can capture and control region-specific infrastructure variations. We support heterogenous clusters - this one Hadoop cluster can be built by combining different templates.",
  4584          "operationId" : "getTopology",
  4585          "schemes" : [ "http", "https" ],
  4586          "consumes" : [ "application/json" ],
  4587          "produces" : [ "application/json" ],
  4588          "parameters" : [ {
  4589            "name" : "id",
  4590            "in" : "path",
  4591            "required" : true,
  4592            "type" : "integer",
  4593            "format" : "int64"
  4594          } ],
  4595          "responses" : {
  4596            "200" : {
  4597              "description" : "successful operation",
  4598              "schema" : {
  4599                "$ref" : "#/definitions/TopologyResponse"
  4600              }
  4601            }
  4602          }
  4603        },
  4604        "delete" : {
  4605          "tags" : [ "v1topologies" ],
  4606          "summary" : "delete topology by id",
  4607          "description" : "A topology gives system administrators an easy way to associate compute nodes with data centers and racks.",
  4608          "operationId" : "deleteTopology",
  4609          "schemes" : [ "http", "https" ],
  4610          "consumes" : [ "application/json" ],
  4611          "produces" : [ "application/json" ],
  4612          "parameters" : [ {
  4613            "name" : "id",
  4614            "in" : "path",
  4615            "required" : true,
  4616            "type" : "integer",
  4617            "format" : "int64"
  4618          }, {
  4619            "name" : "forced",
  4620            "in" : "query",
  4621            "required" : false,
  4622            "type" : "boolean",
  4623            "default" : false
  4624          } ],
  4625          "responses" : {
  4626            "default" : {
  4627              "description" : "successful operation"
  4628            }
  4629          }
  4630        }
  4631      },
  4632      "/v1/usages" : {
  4633        "get" : {
  4634          "tags" : [ "v1usages" ],
  4635          "summary" : "retrieve usages by filter parameters",
  4636          "description" : "Cloudbreak gives you an up to date overview of cluster usage based on different filtering criteria (start/end date, users, providers, region, etc)",
  4637          "operationId" : "getDeployerUsage",
  4638          "schemes" : [ "http", "https" ],
  4639          "consumes" : [ "application/json" ],
  4640          "produces" : [ "application/json" ],
  4641          "parameters" : [ {
  4642            "name" : "since",
  4643            "in" : "query",
  4644            "required" : false,
  4645            "type" : "integer",
  4646            "format" : "int64"
  4647          }, {
  4648            "name" : "filterenddate",
  4649            "in" : "query",
  4650            "required" : false,
  4651            "type" : "integer",
  4652            "format" : "int64"
  4653          }, {
  4654            "name" : "user",
  4655            "in" : "query",
  4656            "required" : false,
  4657            "type" : "string"
  4658          }, {
  4659            "name" : "account",
  4660            "in" : "query",
  4661            "required" : false,
  4662            "type" : "string"
  4663          }, {
  4664            "name" : "cloud",
  4665            "in" : "query",
  4666            "required" : false,
  4667            "type" : "string"
  4668          }, {
  4669            "name" : "zone",
  4670            "in" : "query",
  4671            "required" : false,
  4672            "type" : "string"
  4673          } ],
  4674          "responses" : {
  4675            "200" : {
  4676              "description" : "successful operation",
  4677              "schema" : {
  4678                "type" : "array",
  4679                "items" : {
  4680                  "$ref" : "#/definitions/CloudbreakUsage"
  4681                }
  4682              }
  4683            }
  4684          }
  4685        }
  4686      },
  4687      "/v1/usages/account" : {
  4688        "get" : {
  4689          "tags" : [ "v1usages" ],
  4690          "summary" : "retrieve public and private (owned) usages by filter parameters",
  4691          "description" : "Cloudbreak gives you an up to date overview of cluster usage based on different filtering criteria (start/end date, users, providers, region, etc)",
  4692          "operationId" : "getAccountUsage",
  4693          "schemes" : [ "http", "https" ],
  4694          "consumes" : [ "application/json" ],
  4695          "produces" : [ "application/json" ],
  4696          "parameters" : [ {
  4697            "name" : "since",
  4698            "in" : "query",
  4699            "required" : false,
  4700            "type" : "integer",
  4701            "format" : "int64"
  4702          }, {
  4703            "name" : "filterenddate",
  4704            "in" : "query",
  4705            "required" : false,
  4706            "type" : "integer",
  4707            "format" : "int64"
  4708          }, {
  4709            "name" : "user",
  4710            "in" : "query",
  4711            "required" : false,
  4712            "type" : "string"
  4713          }, {
  4714            "name" : "cloud",
  4715            "in" : "query",
  4716            "required" : false,
  4717            "type" : "string"
  4718          }, {
  4719            "name" : "zone",
  4720            "in" : "query",
  4721            "required" : false,
  4722            "type" : "string"
  4723          } ],
  4724          "responses" : {
  4725            "200" : {
  4726              "description" : "successful operation",
  4727              "schema" : {
  4728                "type" : "array",
  4729                "items" : {
  4730                  "$ref" : "#/definitions/CloudbreakUsage"
  4731                }
  4732              }
  4733            }
  4734          }
  4735        }
  4736      },
  4737      "/v1/usages/flex/daily" : {
  4738        "get" : {
  4739          "tags" : [ "v1usages" ],
  4740          "summary" : "retrieve Flex related daily usages",
  4741          "description" : "Cloudbreak gives you an up to date overview of cluster usage based on different filtering criteria (start/end date, users, providers, region, etc)",
  4742          "operationId" : "getDailyFlexUsage",
  4743          "schemes" : [ "http", "https" ],
  4744          "consumes" : [ "application/json" ],
  4745          "produces" : [ "application/json" ],
  4746          "parameters" : [ ],
  4747          "responses" : {
  4748            "200" : {
  4749              "description" : "successful operation",
  4750              "schema" : {
  4751                "$ref" : "#/definitions/CloudbreakFlexUsage"
  4752              }
  4753            }
  4754          }
  4755        }
  4756      },
  4757      "/v1/usages/flex/latest" : {
  4758        "get" : {
  4759          "tags" : [ "v1usages" ],
  4760          "summary" : "retrieve Flex related latest usages, usages for the given day",
  4761          "description" : "Cloudbreak gives you an up to date overview of cluster usage based on different filtering criteria (start/end date, users, providers, region, etc)",
  4762          "operationId" : "getLatestFlexUsage",
  4763          "schemes" : [ "http", "https" ],
  4764          "consumes" : [ "application/json" ],
  4765          "produces" : [ "application/json" ],
  4766          "parameters" : [ ],
  4767          "responses" : {
  4768            "200" : {
  4769              "description" : "successful operation",
  4770              "schema" : {
  4771                "$ref" : "#/definitions/CloudbreakFlexUsage"
  4772              }
  4773            }
  4774          }
  4775        }
  4776      },
  4777      "/v1/usages/user" : {
  4778        "get" : {
  4779          "tags" : [ "v1usages" ],
  4780          "summary" : "retrieve private usages by filter parameters",
  4781          "description" : "Cloudbreak gives you an up to date overview of cluster usage based on different filtering criteria (start/end date, users, providers, region, etc)",
  4782          "operationId" : "getUserUsage",
  4783          "schemes" : [ "http", "https" ],
  4784          "consumes" : [ "application/json" ],
  4785          "produces" : [ "application/json" ],
  4786          "parameters" : [ {
  4787            "name" : "since",
  4788            "in" : "query",
  4789            "required" : false,
  4790            "type" : "integer",
  4791            "format" : "int64"
  4792          }, {
  4793            "name" : "filterenddate",
  4794            "in" : "query",
  4795            "required" : false,
  4796            "type" : "integer",
  4797            "format" : "int64"
  4798          }, {
  4799            "name" : "cloud",
  4800            "in" : "query",
  4801            "required" : false,
  4802            "type" : "string"
  4803          }, {
  4804            "name" : "zone",
  4805            "in" : "query",
  4806            "required" : false,
  4807            "type" : "string"
  4808          } ],
  4809          "responses" : {
  4810            "200" : {
  4811              "description" : "successful operation",
  4812              "schema" : {
  4813                "type" : "array",
  4814                "items" : {
  4815                  "$ref" : "#/definitions/CloudbreakUsage"
  4816                }
  4817              }
  4818            }
  4819          }
  4820        }
  4821      },
  4822      "/v1/users/evict" : {
  4823        "delete" : {
  4824          "tags" : [ "v1users" ],
  4825          "summary" : "remove current user from cache",
  4826          "description" : "Users can be invited under an account by the administrator, and all resources (e.g. resources, networks, blueprints, credentials, clusters) can be shared across account users",
  4827          "operationId" : "evictCurrentUserDetails",
  4828          "schemes" : [ "http", "https" ],
  4829          "consumes" : [ "application/json" ],
  4830          "produces" : [ "application/json" ],
  4831          "parameters" : [ ],
  4832          "responses" : {
  4833            "200" : {
  4834              "description" : "successful operation",
  4835              "schema" : {
  4836                "$ref" : "#/definitions/User"
  4837              }
  4838            }
  4839          }
  4840        }
  4841      },
  4842      "/v1/users/profile" : {
  4843        "get" : {
  4844          "tags" : [ "v1users" ],
  4845          "summary" : "user related profile",
  4846          "description" : "Users can be invited under an account by the administrator, and all resources (e.g. resources, networks, blueprints, credentials, clusters) can be shared across account users",
  4847          "operationId" : "getUserProfile",
  4848          "schemes" : [ "http", "https" ],
  4849          "consumes" : [ "application/json" ],
  4850          "produces" : [ "application/json" ],
  4851          "parameters" : [ ],
  4852          "responses" : {
  4853            "200" : {
  4854              "description" : "successful operation",
  4855              "schema" : {
  4856                "$ref" : "#/definitions/UserProfileResponse"
  4857              }
  4858            }
  4859          }
  4860        },
  4861        "put" : {
  4862          "tags" : [ "v1users" ],
  4863          "summary" : "modify user related profile",
  4864          "description" : "Users can be invited under an account by the administrator, and all resources (e.g. resources, networks, blueprints, credentials, clusters) can be shared across account users",
  4865          "operationId" : "modifyProfile",
  4866          "schemes" : [ "http", "https" ],
  4867          "consumes" : [ "application/json" ],
  4868          "produces" : [ "application/json" ],
  4869          "parameters" : [ {
  4870            "in" : "body",
  4871            "name" : "body",
  4872            "required" : false,
  4873            "schema" : {
  4874              "$ref" : "#/definitions/UserProfileRequest"
  4875            }
  4876          } ],
  4877          "responses" : {
  4878            "default" : {
  4879              "description" : "successful operation"
  4880            }
  4881          }
  4882        }
  4883      },
  4884      "/v1/users/{id}" : {
  4885        "put" : {
  4886          "tags" : [ "v1users" ],
  4887          "summary" : "remove user from cache (by username)",
  4888          "description" : "Users can be invited under an account by the administrator, and all resources (e.g. resources, networks, blueprints, credentials, clusters) can be shared across account users",
  4889          "operationId" : "evictUserDetails",
  4890          "schemes" : [ "http", "https" ],
  4891          "consumes" : [ "application/json" ],
  4892          "produces" : [ "application/json" ],
  4893          "parameters" : [ {
  4894            "name" : "id",
  4895            "in" : "path",
  4896            "required" : true,
  4897            "type" : "string"
  4898          }, {
  4899            "in" : "body",
  4900            "name" : "body",
  4901            "required" : false,
  4902            "schema" : {
  4903              "$ref" : "#/definitions/User"
  4904            }
  4905          } ],
  4906          "responses" : {
  4907            "200" : {
  4908              "description" : "successful operation",
  4909              "schema" : {
  4910                "type" : "string"
  4911              }
  4912            }
  4913          }
  4914        }
  4915      },
  4916      "/v1/users/{id}/resources" : {
  4917        "get" : {
  4918          "tags" : [ "v1users" ],
  4919          "summary" : "check that account user has any resources",
  4920          "description" : "Users can be invited under an account by the administrator, and all resources (e.g. resources, networks, blueprints, credentials, clusters) can be shared across account users",
  4921          "operationId" : "hasResourcesUser",
  4922          "schemes" : [ "http", "https" ],
  4923          "consumes" : [ "application/json" ],
  4924          "produces" : [ "application/json" ],
  4925          "parameters" : [ {
  4926            "name" : "id",
  4927            "in" : "path",
  4928            "required" : true,
  4929            "type" : "string"
  4930          } ],
  4931          "responses" : {
  4932            "200" : {
  4933              "description" : "successful operation",
  4934              "schema" : {
  4935                "type" : "boolean"
  4936              }
  4937            }
  4938          }
  4939        }
  4940      },
  4941      "/v1/util/ambari-database" : {
  4942        "post" : {
  4943          "tags" : [ "v1util" ],
  4944          "summary" : "tests a database connection parameters",
  4945          "description" : "",
  4946          "operationId" : "testAmbariDatabaseUtil",
  4947          "schemes" : [ "http", "https" ],
  4948          "consumes" : [ "application/json" ],
  4949          "produces" : [ "application/json" ],
  4950          "parameters" : [ {
  4951            "in" : "body",
  4952            "name" : "body",
  4953            "required" : false,
  4954            "schema" : {
  4955              "$ref" : "#/definitions/AmbariDatabaseDetails"
  4956            }
  4957          } ],
  4958          "responses" : {
  4959            "200" : {
  4960              "description" : "successful operation",
  4961              "schema" : {
  4962                "$ref" : "#/definitions/AmbariDatabaseTestResult"
  4963              }
  4964            }
  4965          }
  4966        }
  4967      },
  4968      "/v1/util/ldap" : {
  4969        "post" : {
  4970          "tags" : [ "v1util" ],
  4971          "summary" : "tests an LDAP connection",
  4972          "description" : "",
  4973          "operationId" : "testLdapConnectionUtil",
  4974          "schemes" : [ "http", "https" ],
  4975          "consumes" : [ "application/json" ],
  4976          "produces" : [ "application/json" ],
  4977          "parameters" : [ {
  4978            "in" : "body",
  4979            "name" : "body",
  4980            "required" : false,
  4981            "schema" : {
  4982              "$ref" : "#/definitions/LdapValidationRequest"
  4983            }
  4984          } ],
  4985          "responses" : {
  4986            "200" : {
  4987              "description" : "successful operation",
  4988              "schema" : {
  4989                "$ref" : "#/definitions/RdsTestResult"
  4990              }
  4991            }
  4992          }
  4993        }
  4994      },
  4995      "/v1/util/ldap/{id}" : {
  4996        "get" : {
  4997          "tags" : [ "v1util" ],
  4998          "summary" : "tests an already exists LDAP connection",
  4999          "description" : "",
  5000          "operationId" : "testLdapConnectionByIdUtil",
  5001          "schemes" : [ "http", "https" ],
  5002          "consumes" : [ "application/json" ],
  5003          "produces" : [ "application/json" ],
  5004          "parameters" : [ {
  5005            "name" : "id",
  5006            "in" : "path",
  5007            "required" : true,
  5008            "type" : "integer",
  5009            "format" : "int64"
  5010          } ],
  5011          "responses" : {
  5012            "200" : {
  5013              "description" : "successful operation",
  5014              "schema" : {
  5015                "$ref" : "#/definitions/RdsTestResult"
  5016              }
  5017            }
  5018          }
  5019        }
  5020      },
  5021      "/v1/util/rds" : {
  5022        "post" : {
  5023          "tags" : [ "v1util" ],
  5024          "summary" : "tests an RDS connection",
  5025          "description" : "",
  5026          "operationId" : "testRdsConnectionUtil",
  5027          "schemes" : [ "http", "https" ],
  5028          "consumes" : [ "application/json" ],
  5029          "produces" : [ "application/json" ],
  5030          "parameters" : [ {
  5031            "in" : "body",
  5032            "name" : "body",
  5033            "required" : false,
  5034            "schema" : {
  5035              "$ref" : "#/definitions/RDSConfig"
  5036            }
  5037          } ],
  5038          "responses" : {
  5039            "200" : {
  5040              "description" : "successful operation",
  5041              "schema" : {
  5042                "$ref" : "#/definitions/RdsTestResult"
  5043              }
  5044            }
  5045          }
  5046        }
  5047      },
  5048      "/v1/util/rds-database" : {
  5049        "post" : {
  5050          "tags" : [ "v1util" ],
  5051          "summary" : "create a database connection parameters",
  5052          "description" : "",
  5053          "operationId" : "createRDSDatabaseUtil",
  5054          "schemes" : [ "http", "https" ],
  5055          "consumes" : [ "application/json" ],
  5056          "produces" : [ "application/json" ],
  5057          "parameters" : [ {
  5058            "in" : "body",
  5059            "name" : "body",
  5060            "required" : false,
  5061            "schema" : {
  5062              "$ref" : "#/definitions/RDSBuildRequest"
  5063            }
  5064          }, {
  5065            "name" : "target",
  5066            "in" : "query",
  5067            "required" : false,
  5068            "type" : "array",
  5069            "items" : {
  5070              "type" : "string"
  5071            },
  5072            "collectionFormat" : "multi"
  5073          } ],
  5074          "responses" : {
  5075            "200" : {
  5076              "description" : "successful operation",
  5077              "schema" : {
  5078                "$ref" : "#/definitions/RdsBuildResult"
  5079              }
  5080            }
  5081          }
  5082        }
  5083      },
  5084      "/v1/util/rds/{id}" : {
  5085        "get" : {
  5086          "tags" : [ "v1util" ],
  5087          "summary" : "tests an already exists RDS connection",
  5088          "description" : "",
  5089          "operationId" : "testRdsConnectionByIdUtil",
  5090          "schemes" : [ "http", "https" ],
  5091          "consumes" : [ "application/json" ],
  5092          "produces" : [ "application/json" ],
  5093          "parameters" : [ {
  5094            "name" : "id",
  5095            "in" : "path",
  5096            "required" : true,
  5097            "type" : "integer",
  5098            "format" : "int64"
  5099          } ],
  5100          "responses" : {
  5101            "200" : {
  5102              "description" : "successful operation",
  5103              "schema" : {
  5104                "$ref" : "#/definitions/RdsTestResult"
  5105              }
  5106            }
  5107          }
  5108        }
  5109      },
  5110      "/v2/connectors/regions" : {
  5111        "post" : {
  5112          "tags" : [ "v2connectors" ],
  5113          "summary" : "retrive regions by type",
  5114          "description" : "Each cloud provider has it's own specific resources like instance types and disk types. These endpoints are collecting them.",
  5115          "operationId" : "getRegionsByCredentialId",
  5116          "schemes" : [ "http", "https" ],
  5117          "consumes" : [ "application/json" ],
  5118          "produces" : [ "application/json" ],
  5119          "parameters" : [ {
  5120            "in" : "body",
  5121            "name" : "body",
  5122            "required" : false,
  5123            "schema" : {
  5124              "$ref" : "#/definitions/PlatformResourceRequestJson"
  5125            }
  5126          } ],
  5127          "responses" : {
  5128            "200" : {
  5129              "description" : "successful operation",
  5130              "schema" : {
  5131                "$ref" : "#/definitions/RegionResponse"
  5132              }
  5133            }
  5134          }
  5135        }
  5136      },
  5137      "/v2/connectors/vmtypes" : {
  5138        "post" : {
  5139          "tags" : [ "v2connectors" ],
  5140          "summary" : "retrive vmtype properties by credential",
  5141          "description" : "Each cloud provider has it's own specific resources like instance types and disk types. These endpoints are collecting them.",
  5142          "operationId" : "getVmTypesByCredentialId",
  5143          "schemes" : [ "http", "https" ],
  5144          "consumes" : [ "application/json" ],
  5145          "produces" : [ "application/json" ],
  5146          "parameters" : [ {
  5147            "in" : "body",
  5148            "name" : "body",
  5149            "required" : false,
  5150            "schema" : {
  5151              "$ref" : "#/definitions/PlatformResourceRequestJson"
  5152            }
  5153          } ],
  5154          "responses" : {
  5155            "200" : {
  5156              "description" : "successful operation",
  5157              "schema" : {
  5158                "$ref" : "#/definitions/PlatformVmtypesResponse"
  5159              }
  5160            }
  5161          }
  5162        }
  5163      },
  5164      "/v2/stacks/account" : {
  5165        "get" : {
  5166          "tags" : [ "v2stacks" ],
  5167          "summary" : "retrieve public and private (owned) stacks",
  5168          "description" : "Stacks are template instances - a running cloud infrastructure created based on a template. Stacks are always launched on behalf of a cloud user account. Stacks support a wide range of resources, allowing you to build a highly available, reliable, and scalable infrastructure for your application needs.",
  5169          "operationId" : "getPublicsStackV2",
  5170          "schemes" : [ "http", "https" ],
  5171          "consumes" : [ "application/json" ],
  5172          "produces" : [ "application/json" ],
  5173          "parameters" : [ ],
  5174          "responses" : {
  5175            "200" : {
  5176              "description" : "successful operation",
  5177              "schema" : {
  5178                "type" : "array",
  5179                "uniqueItems" : true,
  5180                "items" : {
  5181                  "$ref" : "#/definitions/StackResponse"
  5182                }
  5183              }
  5184            }
  5185          }
  5186        },
  5187        "post" : {
  5188          "tags" : [ "v2stacks" ],
  5189          "summary" : "create stack as public resource",
  5190          "description" : "Stacks are template instances - a running cloud infrastructure created based on a template. Stacks are always launched on behalf of a cloud user account. Stacks support a wide range of resources, allowing you to build a highly available, reliable, and scalable infrastructure for your application needs.",
  5191          "operationId" : "postPublicStackV2",
  5192          "schemes" : [ "http", "https" ],
  5193          "consumes" : [ "application/json" ],
  5194          "produces" : [ "application/json" ],
  5195          "parameters" : [ {
  5196            "in" : "body",
  5197            "name" : "body",
  5198            "required" : false,
  5199            "schema" : {
  5200              "$ref" : "#/definitions/StackV2Request"
  5201            }
  5202          } ],
  5203          "responses" : {
  5204            "200" : {
  5205              "description" : "successful operation",
  5206              "schema" : {
  5207                "$ref" : "#/definitions/StackResponse"
  5208              }
  5209            }
  5210          }
  5211        }
  5212      },
  5213      "/v2/stacks/account/{name}" : {
  5214        "get" : {
  5215          "tags" : [ "v2stacks" ],
  5216          "summary" : "retrieve a public or private (owned) stack by name",
  5217          "description" : "Stacks are template instances - a running cloud infrastructure created based on a template. Stacks are always launched on behalf of a cloud user account. Stacks support a wide range of resources, allowing you to build a highly available, reliable, and scalable infrastructure for your application needs.",
  5218          "operationId" : "getPublicStackV2",
  5219          "schemes" : [ "http", "https" ],
  5220          "consumes" : [ "application/json" ],
  5221          "produces" : [ "application/json" ],
  5222          "parameters" : [ {
  5223            "name" : "name",
  5224            "in" : "path",
  5225            "required" : true,
  5226            "type" : "string"
  5227          }, {
  5228            "name" : "entry",
  5229            "in" : "query",
  5230            "required" : false,
  5231            "type" : "array",
  5232            "items" : {
  5233              "type" : "string"
  5234            },
  5235            "collectionFormat" : "multi"
  5236          } ],
  5237          "responses" : {
  5238            "200" : {
  5239              "description" : "successful operation",
  5240              "schema" : {
  5241                "$ref" : "#/definitions/StackResponse"
  5242              }
  5243            }
  5244          }
  5245        },
  5246        "delete" : {
  5247          "tags" : [ "v2stacks" ],
  5248          "summary" : "delete public (owned) or private stack by name",
  5249          "description" : "Stacks are template instances - a running cloud infrastructure created based on a template. Stacks are always launched on behalf of a cloud user account. Stacks support a wide range of resources, allowing you to build a highly available, reliable, and scalable infrastructure for your application needs.",
  5250          "operationId" : "deletePublicStackV2",
  5251          "schemes" : [ "http", "https" ],
  5252          "consumes" : [ "application/json" ],
  5253          "produces" : [ "application/json" ],
  5254          "parameters" : [ {
  5255            "name" : "name",
  5256            "in" : "path",
  5257            "required" : true,
  5258            "type" : "string"
  5259          }, {
  5260            "name" : "forced",
  5261            "in" : "query",
  5262            "required" : false,
  5263            "type" : "boolean",
  5264            "default" : false
  5265          }, {
  5266            "name" : "deleteDependencies",
  5267            "in" : "query",
  5268            "required" : false,
  5269            "type" : "boolean",
  5270            "default" : false
  5271          } ],
  5272          "responses" : {
  5273            "default" : {
  5274              "description" : "successful operation"
  5275            }
  5276          }
  5277        }
  5278      },
  5279      "/v2/stacks/all" : {
  5280        "get" : {
  5281          "tags" : [ "v2stacks" ],
  5282          "summary" : "retrieve all stacks",
  5283          "description" : "Stacks are template instances - a running cloud infrastructure created based on a template. Stacks are always launched on behalf of a cloud user account. Stacks support a wide range of resources, allowing you to build a highly available, reliable, and scalable infrastructure for your application needs.",
  5284          "operationId" : "getAllStackV2",
  5285          "schemes" : [ "http", "https" ],
  5286          "consumes" : [ "application/json" ],
  5287          "produces" : [ "application/json" ],
  5288          "parameters" : [ ],
  5289          "responses" : {
  5290            "200" : {
  5291              "description" : "successful operation",
  5292              "schema" : {
  5293                "type" : "array",
  5294                "uniqueItems" : true,
  5295                "items" : {
  5296                  "$ref" : "#/definitions/AutoscaleStackResponse"
  5297                }
  5298              }
  5299            }
  5300          }
  5301        }
  5302      },
  5303      "/v2/stacks/ambari" : {
  5304        "post" : {
  5305          "tags" : [ "v2stacks" ],
  5306          "summary" : "retrieve stack by ambari address",
  5307          "description" : "Stacks are template instances - a running cloud infrastructure created based on a template. Stacks are always launched on behalf of a cloud user account. Stacks support a wide range of resources, allowing you to build a highly available, reliable, and scalable infrastructure for your application needs.",
  5308          "operationId" : "getStackForAmbariV2",
  5309          "schemes" : [ "http", "https" ],
  5310          "consumes" : [ "application/json" ],
  5311          "produces" : [ "application/json" ],
  5312          "parameters" : [ {
  5313            "in" : "body",
  5314            "name" : "body",
  5315            "required" : false,
  5316            "schema" : {
  5317              "$ref" : "#/definitions/AmbariAddress"
  5318            }
  5319          } ],
  5320          "responses" : {
  5321            "200" : {
  5322              "description" : "successful operation",
  5323              "schema" : {
  5324                "$ref" : "#/definitions/StackResponse"
  5325              }
  5326            }
  5327          }
  5328        }
  5329      },
  5330      "/v2/stacks/ambari_password/{name}" : {
  5331        "put" : {
  5332          "tags" : [ "v2stacks" ],
  5333          "summary" : "update stack by name",
  5334          "description" : "Stacks are template instances - a running cloud infrastructure created based on a template. Stacks are always launched on behalf of a cloud user account. Stacks support a wide range of resources, allowing you to build a highly available, reliable, and scalable infrastructure for your application needs.",
  5335          "operationId" : "putpasswordStackV2",
  5336          "schemes" : [ "http", "https" ],
  5337          "consumes" : [ "application/json" ],
  5338          "produces" : [ "application/json" ],
  5339          "parameters" : [ {
  5340            "name" : "name",
  5341            "in" : "path",
  5342            "required" : true,
  5343            "type" : "string"
  5344          }, {
  5345            "in" : "body",
  5346            "name" : "body",
  5347            "required" : false,
  5348            "schema" : {
  5349              "$ref" : "#/definitions/UserNamePassword"
  5350            }
  5351          } ],
  5352          "responses" : {
  5353            "default" : {
  5354              "description" : "successful operation"
  5355            }
  5356          }
  5357        }
  5358      },
  5359      "/v2/stacks/platformVariants" : {
  5360        "get" : {
  5361          "tags" : [ "v2stacks" ],
  5362          "summary" : "retrieve available platform variants",
  5363          "description" : "Stacks are template instances - a running cloud infrastructure created based on a template. Stacks are always launched on behalf of a cloud user account. Stacks support a wide range of resources, allowing you to build a highly available, reliable, and scalable infrastructure for your application needs.",
  5364          "operationId" : "variantsStackV2",
  5365          "schemes" : [ "http", "https" ],
  5366          "consumes" : [ "application/json" ],
  5367          "produces" : [ "application/json" ],
  5368          "parameters" : [ ],
  5369          "responses" : {
  5370            "200" : {
  5371              "description" : "successful operation",
  5372              "schema" : {
  5373                "$ref" : "#/definitions/PlatformVariantsJson"
  5374              }
  5375            }
  5376          }
  5377        }
  5378      },
  5379      "/v2/stacks/reinstall/{name}" : {
  5380        "put" : {
  5381          "tags" : [ "v2stacks" ],
  5382          "summary" : "update stack by name",
  5383          "description" : "Stacks are template instances - a running cloud infrastructure created based on a template. Stacks are always launched on behalf of a cloud user account. Stacks support a wide range of resources, allowing you to build a highly available, reliable, and scalable infrastructure for your application needs.",
  5384          "operationId" : "putreinstallStackV2",
  5385          "schemes" : [ "http", "https" ],
  5386          "consumes" : [ "application/json" ],
  5387          "produces" : [ "application/json" ],
  5388          "parameters" : [ {
  5389            "name" : "name",
  5390            "in" : "path",
  5391            "required" : true,
  5392            "type" : "string"
  5393          }, {
  5394            "in" : "body",
  5395            "name" : "body",
  5396            "required" : false,
  5397            "schema" : {
  5398              "$ref" : "#/definitions/ReinstallRequestV2"
  5399            }
  5400          } ],
  5401          "responses" : {
  5402            "default" : {
  5403              "description" : "successful operation"
  5404            }
  5405          }
  5406        }
  5407      },
  5408      "/v2/stacks/repair/{name}" : {
  5409        "put" : {
  5410          "tags" : [ "v2stacks" ],
  5411          "summary" : "update stack by name",
  5412          "description" : "Stacks are template instances - a running cloud infrastructure created based on a template. Stacks are always launched on behalf of a cloud user account. Stacks support a wide range of resources, allowing you to build a highly available, reliable, and scalable infrastructure for your application needs.",
  5413          "operationId" : "putrepairStackV2",
  5414          "schemes" : [ "http", "https" ],
  5415          "consumes" : [ "application/json" ],
  5416          "produces" : [ "application/json" ],
  5417          "parameters" : [ {
  5418            "name" : "name",
  5419            "in" : "path",
  5420            "required" : true,
  5421            "type" : "string"
  5422          } ],
  5423          "responses" : {
  5424            "default" : {
  5425              "description" : "successful operation"
  5426            }
  5427          }
  5428        }
  5429      },
  5430      "/v2/stacks/scaling/{name}" : {
  5431        "put" : {
  5432          "tags" : [ "v2stacks" ],
  5433          "summary" : "update stack by name",
  5434          "description" : "Stacks are template instances - a running cloud infrastructure created based on a template. Stacks are always launched on behalf of a cloud user account. Stacks support a wide range of resources, allowing you to build a highly available, reliable, and scalable infrastructure for your application needs.",
  5435          "operationId" : "putscalingStackV2",
  5436          "schemes" : [ "http", "https" ],
  5437          "consumes" : [ "application/json" ],
  5438          "produces" : [ "application/json" ],
  5439          "parameters" : [ {
  5440            "name" : "name",
  5441            "in" : "path",
  5442            "required" : true,
  5443            "type" : "string"
  5444          }, {
  5445            "in" : "body",
  5446            "name" : "body",
  5447            "required" : false,
  5448            "schema" : {
  5449              "$ref" : "#/definitions/StackScaleRequestV2"
  5450            }
  5451          } ],
  5452          "responses" : {
  5453            "default" : {
  5454              "description" : "successful operation"
  5455            }
  5456          }
  5457        }
  5458      },
  5459      "/v2/stacks/start/{name}" : {
  5460        "put" : {
  5461          "tags" : [ "v2stacks" ],
  5462          "summary" : "update stack by name",
  5463          "description" : "Stacks are template instances - a running cloud infrastructure created based on a template. Stacks are always launched on behalf of a cloud user account. Stacks support a wide range of resources, allowing you to build a highly available, reliable, and scalable infrastructure for your application needs.",
  5464          "operationId" : "putstartStackV2",
  5465          "schemes" : [ "http", "https" ],
  5466          "consumes" : [ "application/json" ],
  5467          "produces" : [ "application/json" ],
  5468          "parameters" : [ {
  5469            "name" : "name",
  5470            "in" : "path",
  5471            "required" : true,
  5472            "type" : "string"
  5473          } ],
  5474          "responses" : {
  5475            "default" : {
  5476              "description" : "successful operation"
  5477            }
  5478          }
  5479        }
  5480      },
  5481      "/v2/stacks/stop/{name}" : {
  5482        "put" : {
  5483          "tags" : [ "v2stacks" ],
  5484          "summary" : "update stack by name",
  5485          "description" : "Stacks are template instances - a running cloud infrastructure created based on a template. Stacks are always launched on behalf of a cloud user account. Stacks support a wide range of resources, allowing you to build a highly available, reliable, and scalable infrastructure for your application needs.",
  5486          "operationId" : "putstopStackV2",
  5487          "schemes" : [ "http", "https" ],
  5488          "consumes" : [ "application/json" ],
  5489          "produces" : [ "application/json" ],
  5490          "parameters" : [ {
  5491            "name" : "name",
  5492            "in" : "path",
  5493            "required" : true,
  5494            "type" : "string"
  5495          } ],
  5496          "responses" : {
  5497            "default" : {
  5498              "description" : "successful operation"
  5499            }
  5500          }
  5501        }
  5502      },
  5503      "/v2/stacks/sync/{name}" : {
  5504        "put" : {
  5505          "tags" : [ "v2stacks" ],
  5506          "summary" : "update stack by name",
  5507          "description" : "Stacks are template instances - a running cloud infrastructure created based on a template. Stacks are always launched on behalf of a cloud user account. Stacks support a wide range of resources, allowing you to build a highly available, reliable, and scalable infrastructure for your application needs.",
  5508          "operationId" : "putsyncStackV2",
  5509          "schemes" : [ "http", "https" ],
  5510          "consumes" : [ "application/json" ],
  5511          "produces" : [ "application/json" ],
  5512          "parameters" : [ {
  5513            "name" : "name",
  5514            "in" : "path",
  5515            "required" : true,
  5516            "type" : "string"
  5517          } ],
  5518          "responses" : {
  5519            "default" : {
  5520              "description" : "successful operation"
  5521            }
  5522          }
  5523        }
  5524      },
  5525      "/v2/stacks/user" : {
  5526        "get" : {
  5527          "tags" : [ "v2stacks" ],
  5528          "summary" : "retrieve private stack",
  5529          "description" : "Stacks are template instances - a running cloud infrastructure created based on a template. Stacks are always launched on behalf of a cloud user account. Stacks support a wide range of resources, allowing you to build a highly available, reliable, and scalable infrastructure for your application needs.",
  5530          "operationId" : "getPrivatesStackV2",
  5531          "schemes" : [ "http", "https" ],
  5532          "consumes" : [ "application/json" ],
  5533          "produces" : [ "application/json" ],
  5534          "parameters" : [ ],
  5535          "responses" : {
  5536            "200" : {
  5537              "description" : "successful operation",
  5538              "schema" : {
  5539                "type" : "array",
  5540                "uniqueItems" : true,
  5541                "items" : {
  5542                  "$ref" : "#/definitions/StackResponse"
  5543                }
  5544              }
  5545            }
  5546          }
  5547        },
  5548        "post" : {
  5549          "tags" : [ "v2stacks" ],
  5550          "summary" : "create stack as private resource",
  5551          "description" : "Stacks are template instances - a running cloud infrastructure created based on a template. Stacks are always launched on behalf of a cloud user account. Stacks support a wide range of resources, allowing you to build a highly available, reliable, and scalable infrastructure for your application needs.",
  5552          "operationId" : "postPrivateStackV2",
  5553          "schemes" : [ "http", "https" ],
  5554          "consumes" : [ "application/json" ],
  5555          "produces" : [ "application/json" ],
  5556          "parameters" : [ {
  5557            "in" : "body",
  5558            "name" : "body",
  5559            "required" : false,
  5560            "schema" : {
  5561              "$ref" : "#/definitions/StackV2Request"
  5562            }
  5563          } ],
  5564          "responses" : {
  5565            "200" : {
  5566              "description" : "successful operation",
  5567              "schema" : {
  5568                "$ref" : "#/definitions/StackResponse"
  5569              }
  5570            }
  5571          }
  5572        }
  5573      },
  5574      "/v2/stacks/user/{name}" : {
  5575        "get" : {
  5576          "tags" : [ "v2stacks" ],
  5577          "summary" : "retrieve a private stack by name",
  5578          "description" : "Stacks are template instances - a running cloud infrastructure created based on a template. Stacks are always launched on behalf of a cloud user account. Stacks support a wide range of resources, allowing you to build a highly available, reliable, and scalable infrastructure for your application needs.",
  5579          "operationId" : "getPrivateStackV2",
  5580          "schemes" : [ "http", "https" ],
  5581          "consumes" : [ "application/json" ],
  5582          "produces" : [ "application/json" ],
  5583          "parameters" : [ {
  5584            "name" : "name",
  5585            "in" : "path",
  5586            "required" : true,
  5587            "type" : "string"
  5588          }, {
  5589            "name" : "entry",
  5590            "in" : "query",
  5591            "required" : false,
  5592            "type" : "array",
  5593            "items" : {
  5594              "type" : "string"
  5595            },
  5596            "collectionFormat" : "multi"
  5597          } ],
  5598          "responses" : {
  5599            "200" : {
  5600              "description" : "successful operation",
  5601              "schema" : {
  5602                "$ref" : "#/definitions/StackResponse"
  5603              }
  5604            }
  5605          }
  5606        },
  5607        "delete" : {
  5608          "tags" : [ "v2stacks" ],
  5609          "summary" : "delete private stack by name",
  5610          "description" : "Stacks are template instances - a running cloud infrastructure created based on a template. Stacks are always launched on behalf of a cloud user account. Stacks support a wide range of resources, allowing you to build a highly available, reliable, and scalable infrastructure for your application needs.",
  5611          "operationId" : "deletePrivateStackV2",
  5612          "schemes" : [ "http", "https" ],
  5613          "consumes" : [ "application/json" ],
  5614          "produces" : [ "application/json" ],
  5615          "parameters" : [ {
  5616            "name" : "name",
  5617            "in" : "path",
  5618            "required" : true,
  5619            "type" : "string"
  5620          }, {
  5621            "name" : "forced",
  5622            "in" : "query",
  5623            "required" : false,
  5624            "type" : "boolean",
  5625            "default" : false
  5626          }, {
  5627            "name" : "deleteDependencies",
  5628            "in" : "query",
  5629            "required" : false,
  5630            "type" : "boolean",
  5631            "default" : false
  5632          } ],
  5633          "responses" : {
  5634            "default" : {
  5635              "description" : "successful operation"
  5636            }
  5637          }
  5638        }
  5639      },
  5640      "/v2/stacks/validate" : {
  5641        "post" : {
  5642          "tags" : [ "v2stacks" ],
  5643          "summary" : "validate stack",
  5644          "description" : "Stacks are template instances - a running cloud infrastructure created based on a template. Stacks are always launched on behalf of a cloud user account. Stacks support a wide range of resources, allowing you to build a highly available, reliable, and scalable infrastructure for your application needs.",
  5645          "operationId" : "validateStackV2",
  5646          "schemes" : [ "http", "https" ],
  5647          "consumes" : [ "application/json" ],
  5648          "produces" : [ "application/json" ],
  5649          "parameters" : [ {
  5650            "in" : "body",
  5651            "name" : "body",
  5652            "required" : false,
  5653            "schema" : {
  5654              "$ref" : "#/definitions/StackValidationRequest"
  5655            }
  5656          } ],
  5657          "responses" : {
  5658            "default" : {
  5659              "description" : "successful operation"
  5660            }
  5661          }
  5662        }
  5663      },
  5664      "/v2/stacks/{id}" : {
  5665        "get" : {
  5666          "tags" : [ "v2stacks" ],
  5667          "summary" : "retrieve stack by id",
  5668          "description" : "Stacks are template instances - a running cloud infrastructure created based on a template. Stacks are always launched on behalf of a cloud user account. Stacks support a wide range of resources, allowing you to build a highly available, reliable, and scalable infrastructure for your application needs.",
  5669          "operationId" : "getStackV2",
  5670          "schemes" : [ "http", "https" ],
  5671          "consumes" : [ "application/json" ],
  5672          "produces" : [ "application/json" ],
  5673          "parameters" : [ {
  5674            "name" : "id",
  5675            "in" : "path",
  5676            "required" : true,
  5677            "type" : "integer",
  5678            "format" : "int64"
  5679          }, {
  5680            "name" : "entry",
  5681            "in" : "query",
  5682            "required" : false,
  5683            "type" : "array",
  5684            "items" : {
  5685              "type" : "string"
  5686            },
  5687            "collectionFormat" : "multi"
  5688          } ],
  5689          "responses" : {
  5690            "200" : {
  5691              "description" : "successful operation",
  5692              "schema" : {
  5693                "$ref" : "#/definitions/StackResponse"
  5694              }
  5695            }
  5696          }
  5697        },
  5698        "delete" : {
  5699          "tags" : [ "v2stacks" ],
  5700          "summary" : "delete stack by id",
  5701          "description" : "Stacks are template instances - a running cloud infrastructure created based on a template. Stacks are always launched on behalf of a cloud user account. Stacks support a wide range of resources, allowing you to build a highly available, reliable, and scalable infrastructure for your application needs.",
  5702          "operationId" : "deleteStackV2",
  5703          "schemes" : [ "http", "https" ],
  5704          "consumes" : [ "application/json" ],
  5705          "produces" : [ "application/json" ],
  5706          "parameters" : [ {
  5707            "name" : "id",
  5708            "in" : "path",
  5709            "required" : true,
  5710            "type" : "integer",
  5711            "format" : "int64"
  5712          }, {
  5713            "name" : "forced",
  5714            "in" : "query",
  5715            "required" : false,
  5716            "type" : "boolean",
  5717            "default" : false
  5718          }, {
  5719            "name" : "deleteDependencies",
  5720            "in" : "query",
  5721            "required" : false,
  5722            "type" : "boolean",
  5723            "default" : false
  5724          } ],
  5725          "responses" : {
  5726            "default" : {
  5727              "description" : "successful operation"
  5728            }
  5729          }
  5730        }
  5731      },
  5732      "/v2/stacks/{id}/certificate" : {
  5733        "get" : {
  5734          "tags" : [ "v2stacks" ],
  5735          "summary" : "retrieves the TLS certificate used by the gateway",
  5736          "description" : "Stacks are template instances - a running cloud infrastructure created based on a template. Stacks are always launched on behalf of a cloud user account. Stacks support a wide range of resources, allowing you to build a highly available, reliable, and scalable infrastructure for your application needs.",
  5737          "operationId" : "getCertificateStackV2",
  5738          "schemes" : [ "http", "https" ],
  5739          "consumes" : [ "application/json" ],
  5740          "produces" : [ "application/json" ],
  5741          "parameters" : [ {
  5742            "name" : "id",
  5743            "in" : "path",
  5744            "required" : true,
  5745            "type" : "integer",
  5746            "format" : "int64"
  5747          } ],
  5748          "responses" : {
  5749            "200" : {
  5750              "description" : "successful operation",
  5751              "schema" : {
  5752                "$ref" : "#/definitions/CertificateResponse"
  5753              }
  5754            }
  5755          }
  5756        }
  5757      },
  5758      "/v2/stacks/{id}/status" : {
  5759        "get" : {
  5760          "tags" : [ "v2stacks" ],
  5761          "summary" : "retrieve stack status by stack id",
  5762          "description" : "Stacks are template instances - a running cloud infrastructure created based on a template. Stacks are always launched on behalf of a cloud user account. Stacks support a wide range of resources, allowing you to build a highly available, reliable, and scalable infrastructure for your application needs.",
  5763          "operationId" : "statusStackV2",
  5764          "schemes" : [ "http", "https" ],
  5765          "consumes" : [ "application/json" ],
  5766          "produces" : [ "application/json" ],
  5767          "parameters" : [ {
  5768            "name" : "id",
  5769            "in" : "path",
  5770            "required" : true,
  5771            "type" : "integer",
  5772            "format" : "int64"
  5773          } ],
  5774          "responses" : {
  5775            "200" : {
  5776              "description" : "successful operation",
  5777              "schema" : {
  5778                "type" : "object",
  5779                "additionalProperties" : {
  5780                  "type" : "object"
  5781                }
  5782              }
  5783            }
  5784          }
  5785        }
  5786      },
  5787      "/v2/stacks/{stackId}/{instanceId}" : {
  5788        "delete" : {
  5789          "tags" : [ "v2stacks" ],
  5790          "summary" : "delete instance resource from stack",
  5791          "description" : "Stacks are template instances - a running cloud infrastructure created based on a template. Stacks are always launched on behalf of a cloud user account. Stacks support a wide range of resources, allowing you to build a highly available, reliable, and scalable infrastructure for your application needs.",
  5792          "operationId" : "deleteInstanceStackV2",
  5793          "schemes" : [ "http", "https" ],
  5794          "consumes" : [ "application/json" ],
  5795          "produces" : [ "application/json" ],
  5796          "parameters" : [ {
  5797            "name" : "stackId",
  5798            "in" : "path",
  5799            "required" : true,
  5800            "type" : "integer",
  5801            "format" : "int64"
  5802          }, {
  5803            "name" : "instanceId",
  5804            "in" : "path",
  5805            "required" : true,
  5806            "type" : "string"
  5807          } ],
  5808          "responses" : {
  5809            "default" : {
  5810              "description" : "successful operation"
  5811            }
  5812          }
  5813        }
  5814      }
  5815    },
  5816    "definitions" : {
  5817      "ConstraintTemplateResponse" : {
  5818        "type" : "object",
  5819        "required" : [ "cpu", "disk", "memory", "name", "orchestratorType", "publicInAccount" ],
  5820        "properties" : {
  5821          "name" : {
  5822            "type" : "string",
  5823            "description" : "name of the resource",
  5824            "minLength" : 5,
  5825            "maxLength" : 100,
  5826            "pattern" : "([a-z][-a-z0-9]*[a-z0-9])"
  5827          },
  5828          "description" : {
  5829            "type" : "string",
  5830            "description" : "description of the resource",
  5831            "minLength" : 0,
  5832            "maxLength" : 1000
  5833          },
  5834          "cpu" : {
  5835            "type" : "number",
  5836            "format" : "double",
  5837            "description" : "number of CPU cores needed for the Ambari node"
  5838          },
  5839          "memory" : {
  5840            "type" : "number",
  5841            "format" : "double",
  5842            "description" : "memory needed for the Ambari container (GB)"
  5843          },
  5844          "disk" : {
  5845            "type" : "number",
  5846            "format" : "double",
  5847            "description" : "disk size needed for an Ambari node (GB)"
  5848          },
  5849          "orchestratorType" : {
  5850            "type" : "string",
  5851            "description" : "type of orchestrator"
  5852          },
  5853          "id" : {
  5854            "type" : "integer",
  5855            "format" : "int64",
  5856            "description" : "id of the resource"
  5857          },
  5858          "publicInAccount" : {
  5859            "type" : "boolean",
  5860            "description" : "resource is visible in account",
  5861            "default" : false
  5862          }
  5863        }
  5864      },
  5865      "instanceGroupsV2" : {
  5866        "type" : "object",
  5867        "required" : [ "group", "nodeCount" ],
  5868        "properties" : {
  5869          "nodeCount" : {
  5870            "type" : "integer",
  5871            "format" : "int32",
  5872            "description" : "number of nodes",
  5873            "minimum" : 0.0,
  5874            "maximum" : 100000.0
  5875          },
  5876          "group" : {
  5877            "type" : "string",
  5878            "description" : "name of the instance group"
  5879          },
  5880          "type" : {
  5881            "type" : "string",
  5882            "description" : "type of the instance group",
  5883            "enum" : [ "GATEWAY", "CORE" ]
  5884          },
  5885          "parameters" : {
  5886            "type" : "object",
  5887            "description" : "cloud specific parameters for instance group",
  5888            "additionalProperties" : {
  5889              "type" : "object"
  5890            }
  5891          },
  5892          "template" : {
  5893            "description" : "instancegroup related template",
  5894            "$ref" : "#/definitions/TemplateV2Request"
  5895          },
  5896          "securityGroup" : {
  5897            "description" : "instancegroup related securitygroup",
  5898            "$ref" : "#/definitions/SecurityGroupV2Request"
  5899          },
  5900          "recipeNames" : {
  5901            "type" : "array",
  5902            "description" : "referenced recipe names",
  5903            "uniqueItems" : true,
  5904            "items" : {
  5905              "type" : "string"
  5906            }
  5907          },
  5908          "recoveryMode" : {
  5909            "type" : "string",
  5910            "description" : "recovery mode of the hostgroup's nodes",
  5911            "enum" : [ "MANUAL", "AUTO" ]
  5912          }
  5913        }
  5914      },
  5915      "ClusterRequest" : {
  5916        "type" : "object",
  5917        "required" : [ "name", "password", "userName" ],
  5918        "properties" : {
  5919          "name" : {
  5920            "type" : "string",
  5921            "description" : "name of the resource",
  5922            "minLength" : 5,
  5923            "maxLength" : 40,
  5924            "pattern" : "([a-z][-a-z0-9]*[a-z0-9])"
  5925          },
  5926          "blueprintId" : {
  5927            "type" : "integer",
  5928            "format" : "int64",
  5929            "description" : "blueprint id for the cluster"
  5930          },
  5931          "blueprintName" : {
  5932            "type" : "string",
  5933            "description" : "blueprint name for the cluster"
  5934          },
  5935          "blueprint" : {
  5936            "description" : "blueprint for the cluster",
  5937            "$ref" : "#/definitions/BlueprintRequest"
  5938          },
  5939          "description" : {
  5940            "type" : "string",
  5941            "description" : "description of the resource",
  5942            "minLength" : 0,
  5943            "maxLength" : 1000
  5944          },
  5945          "hostGroups" : {
  5946            "type" : "array",
  5947            "description" : "collection of hostgroups",
  5948            "uniqueItems" : true,
  5949            "items" : {
  5950              "$ref" : "#/definitions/HostGroupRequest"
  5951            }
  5952          },
  5953          "emailNeeded" : {
  5954            "type" : "boolean",
  5955            "description" : "send email about the result of the cluster installation",
  5956            "default" : false
  5957          },
  5958          "emailTo" : {
  5959            "type" : "string",
  5960            "description" : "send email to the requested address"
  5961          },
  5962          "gateway" : {
  5963            "$ref" : "#/definitions/GatewayJson"
  5964          },
  5965          "enableSecurity" : {
  5966            "type" : "boolean",
  5967            "description" : "enable Kerberos security",
  5968            "default" : false
  5969          },
  5970          "userName" : {
  5971            "type" : "string",
  5972            "description" : "ambari username",
  5973            "minLength" : 5,
  5974            "maxLength" : 15,
  5975            "pattern" : "([a-z][-a-z0-9]*[a-z0-9])"
  5976          },
  5977          "password" : {
  5978            "type" : "string",
  5979            "description" : "ambari password",
  5980            "minLength" : 5,
  5981            "maxLength" : 100
  5982          },
  5983          "kerberos" : {
  5984            "$ref" : "#/definitions/KerberosRequest"
  5985          },
  5986          "ldapConfigId" : {
  5987            "type" : "integer",
  5988            "format" : "int64",
  5989            "description" : "LDAP config id for the cluster"
  5990          },
  5991          "ldapConfig" : {
  5992            "description" : "LDAP config for the cluster",
  5993            "$ref" : "#/definitions/LdapConfigRequest"
  5994          },
  5995          "validateBlueprint" : {
  5996            "type" : "boolean",
  5997            "description" : "validate blueprint",
  5998            "default" : false
  5999          },
  6000          "ambariStackDetails" : {
  6001            "description" : "details of the Ambari stack",
  6002            "$ref" : "#/definitions/AmbariStackDetails"
  6003          },
  6004          "ambariRepoDetailsJson" : {
  6005            "description" : "details of the Ambari package repository",
  6006            "$ref" : "#/definitions/AmbariRepoDetails"
  6007          },
  6008          "rdsConfigIds" : {
  6009            "type" : "array",
  6010            "description" : "RDS configuration ids for the cluster",
  6011            "uniqueItems" : true,
  6012            "items" : {
  6013              "type" : "integer",
  6014              "format" : "int64"
  6015            }
  6016          },
  6017          "ambariDatabaseDetails" : {
  6018            "description" : "details of the external Ambari database",
  6019            "$ref" : "#/definitions/AmbariDatabaseDetails"
  6020          },
  6021          "rdsConfigJsons" : {
  6022            "type" : "array",
  6023            "description" : "details of the external database for Hadoop components",
  6024            "uniqueItems" : true,
  6025            "items" : {
  6026              "$ref" : "#/definitions/RDSConfig"
  6027            }
  6028          },
  6029          "fileSystem" : {
  6030            "description" : "external file system configuration",
  6031            "$ref" : "#/definitions/FileSystem"
  6032          },
  6033          "configStrategy" : {
  6034            "type" : "string",
  6035            "description" : "config recommendation strategy",
  6036            "enum" : [ "NEVER_APPLY", "ONLY_STACK_DEFAULTS_APPLY", "ALWAYS_APPLY", "ALWAYS_APPLY_DONT_OVERRIDE_CUSTOM_VALUES" ]
  6037          },
  6038          "blueprintInputs" : {
  6039            "type" : "array",
  6040            "description" : "blueprint inputs in the cluster",
  6041            "uniqueItems" : true,
  6042            "items" : {
  6043              "$ref" : "#/definitions/BlueprintInput"
  6044            }
  6045          },
  6046          "blueprintCustomProperties" : {
  6047            "type" : "string",
  6048            "description" : "blueprint custom properties"
  6049          },
  6050          "customContainer" : {
  6051            "description" : "custom containers",
  6052            "$ref" : "#/definitions/CustomContainerRequest"
  6053          },
  6054          "customQueue" : {
  6055            "type" : "string",
  6056            "description" : "custom queue for yarn orchestrator"
  6057          },
  6058          "executorType" : {
  6059            "type" : "string",
  6060            "description" : "executor type of cluster",
  6061            "enum" : [ "CONTAINER", "DEFAULT" ]
  6062          },
  6063          "connectedCluster" : {
  6064            "description" : "cluster can connect to a datalake you can define the parameters here",
  6065            "$ref" : "#/definitions/ConnectedClusterRequest"
  6066          }
  6067        }
  6068      },
  6069      "RDSConfig" : {
  6070        "type" : "object",
  6071        "required" : [ "connectionPassword", "connectionURL", "connectionUserName", "databaseType", "hdpVersion", "name" ],
  6072        "properties" : {
  6073          "connectionURL" : {
  6074            "type" : "string",
  6075            "description" : "JDBC connection URL in the form of jdbc:<db-type>://<address>:<port>/<db>",
  6076            "pattern" : "^jdbc:postgresql://[-\\w\\.]*:\\d{1,5}/?\\w*"
  6077          },
  6078          "databaseType" : {
  6079            "type" : "string",
  6080            "description" : "Type of the external database (allowed values: MYSQL, POSTGRES)",
  6081            "enum" : [ "POSTGRES" ]
  6082          },
  6083          "hdpVersion" : {
  6084            "type" : "string",
  6085            "description" : "HDP version for the RDS configuration"
  6086          },
  6087          "validated" : {
  6088            "type" : "boolean",
  6089            "description" : "If true, then the RDS configuration will be validated",
  6090            "default" : false
  6091          },
  6092          "type" : {
  6093            "type" : "string",
  6094            "description" : "Type of rds (HIVE or RANGER)",
  6095            "enum" : [ "HIVE", "RANGER", "DRUID" ]
  6096          },
  6097          "properties" : {
  6098            "type" : "array",
  6099            "description" : "custom properties for rds connection",
  6100            "uniqueItems" : true,
  6101            "items" : {
  6102              "$ref" : "#/definitions/RdsConfigProperty"
  6103            }
  6104          },
  6105          "name" : {
  6106            "type" : "string",
  6107            "description" : "Name of the RDS configuration resource"
  6108          },
  6109          "connectionUserName" : {
  6110            "type" : "string",
  6111            "description" : "Username to use for the jdbc connection"
  6112          },
  6113          "connectionPassword" : {
  6114            "type" : "string",
  6115            "description" : "Password to use for the jdbc connection"
  6116          }
  6117        }
  6118      },
  6119      "PlatformRegionsJson" : {
  6120        "type" : "object",
  6121        "properties" : {
  6122          "regions" : {
  6123            "type" : "object",
  6124            "description" : "regions",
  6125            "additionalProperties" : {
  6126              "type" : "array",
  6127              "items" : {
  6128                "type" : "string"
  6129              }
  6130            }
  6131          },
  6132          "displayNames" : {
  6133            "type" : "object",
  6134            "description" : "regions with displayNames",
  6135            "additionalProperties" : {
  6136              "type" : "object",
  6137              "additionalProperties" : {
  6138                "type" : "string"
  6139              }
  6140            }
  6141          },
  6142          "availabilityZones" : {
  6143            "type" : "object",
  6144            "description" : "availability zones",
  6145            "additionalProperties" : {
  6146              "type" : "object",
  6147              "additionalProperties" : {
  6148                "type" : "array",
  6149                "items" : {
  6150                  "type" : "string"
  6151                }
  6152              }
  6153            }
  6154          },
  6155          "defaultRegions" : {
  6156            "type" : "object",
  6157            "description" : "default regions",
  6158            "additionalProperties" : {
  6159              "type" : "string"
  6160            }
  6161          }
  6162        }
  6163      },
  6164      "SecurityGroupResponse" : {
  6165        "type" : "object",
  6166        "required" : [ "cloudPlatform", "publicInAccount" ],
  6167        "properties" : {
  6168          "description" : {
  6169            "type" : "string",
  6170            "description" : "description of the resource",
  6171            "minLength" : 0,
  6172            "maxLength" : 1000
  6173          },
  6174          "securityGroupId" : {
  6175            "type" : "string",
  6176            "description" : "Exisiting security group id"
  6177          },
  6178          "cloudPlatform" : {
  6179            "type" : "string",
  6180            "description" : "type of cloud provider"
  6181          },
  6182          "name" : {
  6183            "type" : "string",
  6184            "description" : "name of the resource"
  6185          },
  6186          "id" : {
  6187            "type" : "integer",
  6188            "format" : "int64",
  6189            "description" : "id of the resource"
  6190          },
  6191          "owner" : {
  6192            "type" : "string",
  6193            "description" : "id of the resource owner that is provided by OAuth provider"
  6194          },
  6195          "account" : {
  6196            "type" : "string",
  6197            "description" : "account id of the resource owner that is provided by OAuth provider"
  6198          },
  6199          "securityRules" : {
  6200            "type" : "array",
  6201            "description" : "list of security rules that relates to the security group",
  6202            "items" : {
  6203              "$ref" : "#/definitions/SecurityRuleResponse"
  6204            }
  6205          },
  6206          "publicInAccount" : {
  6207            "type" : "boolean",
  6208            "description" : "resource is visible in account",
  6209            "default" : false
  6210          }
  6211        }
  6212      },
  6213      "OrchestratorResponse" : {
  6214        "type" : "object",
  6215        "required" : [ "type" ],
  6216        "properties" : {
  6217          "parameters" : {
  6218            "type" : "object",
  6219            "description" : "orchestrator specific parameters, like authentication details",
  6220            "additionalProperties" : {
  6221              "type" : "object"
  6222            }
  6223          },
  6224          "apiEndpoint" : {
  6225            "type" : "string",
  6226            "description" : "endpoint for the container orchestration api"
  6227          },
  6228          "type" : {
  6229            "type" : "string",
  6230            "description" : "type of the orchestrator"
  6231          }
  6232        }
  6233      },
  6234      "StackRepoDetailsJson" : {
  6235        "type" : "object",
  6236        "properties" : {
  6237          "stack" : {
  6238            "type" : "object",
  6239            "additionalProperties" : {
  6240              "type" : "string"
  6241            }
  6242          },
  6243          "util" : {
  6244            "type" : "object",
  6245            "additionalProperties" : {
  6246              "type" : "string"
  6247            }
  6248          },
  6249          "knox" : {
  6250            "type" : "object",
  6251            "additionalProperties" : {
  6252              "type" : "string"
  6253            }
  6254          }
  6255        }
  6256      },
  6257      "HardwareInfoResponse" : {
  6258        "type" : "object",
  6259        "properties" : {
  6260          "instanceMetaData" : {
  6261            "description" : "metadata of instances",
  6262            "$ref" : "#/definitions/InstanceMetaData"
  6263          },
  6264          "hostMetadata" : {
  6265            "description" : "metadata of hosts",
  6266            "$ref" : "#/definitions/HostMetadata"
  6267          }
  6268        }
  6269      },
  6270      "ConnectedClusterRequest" : {
  6271        "type" : "object",
  6272        "properties" : {
  6273          "sourceClusterId" : {
  6274            "type" : "integer",
  6275            "format" : "int64"
  6276          },
  6277          "sourceClusterName" : {
  6278            "type" : "string"
  6279          }
  6280        }
  6281      },
  6282      "ReinstallRequestV2" : {
  6283        "type" : "object",
  6284        "required" : [ "blueprintName" ],
  6285        "properties" : {
  6286          "instanceGroups" : {
  6287            "type" : "array",
  6288            "description" : "collection of instance groupst",
  6289            "uniqueItems" : true,
  6290            "items" : {
  6291              "$ref" : "#/definitions/instanceGroupsV2"
  6292            }
  6293          },
  6294          "ambariStackDetails" : {
  6295            "description" : "details of the Ambari stack",
  6296            "$ref" : "#/definitions/AmbariStackDetails"
  6297          },
  6298          "blueprintName" : {
  6299            "type" : "string",
  6300            "description" : "blueprint name for the cluster"
  6301          }
  6302        }
  6303      },
  6304      "OrchestratorRequest" : {
  6305        "type" : "object",
  6306        "required" : [ "type" ],
  6307        "properties" : {
  6308          "parameters" : {
  6309            "type" : "object",
  6310            "description" : "orchestrator specific parameters, like authentication details",
  6311            "additionalProperties" : {
  6312              "type" : "object"
  6313            }
  6314          },
  6315          "apiEndpoint" : {
  6316            "type" : "string",
  6317            "description" : "endpoint for the container orchestration api"
  6318          },
  6319          "type" : {
  6320            "type" : "string",
  6321            "description" : "type of the orchestrator"
  6322          }
  6323        }
  6324      },
  6325      "AutoscaleStackResponse" : {
  6326        "type" : "object",
  6327        "required" : [ "name" ],
  6328        "properties" : {
  6329          "stackId" : {
  6330            "type" : "integer",
  6331            "format" : "int64",
  6332            "description" : "id of the stack"
  6333          },
  6334          "name" : {
  6335            "type" : "string",
  6336            "description" : "name of the stack",
  6337            "minLength" : 5,
  6338            "maxLength" : 40,
  6339            "pattern" : "([a-z][-a-z0-9]*[a-z0-9])"
  6340          },
  6341          "owner" : {
  6342            "type" : "string",
  6343            "description" : "id of the resource owner that is provided by OAuth provider"
  6344          },
  6345          "account" : {
  6346            "type" : "string",
  6347            "description" : "account id of the resource owner that is provided by OAuth provider"
  6348          },
  6349          "gatewayPort" : {
  6350            "type" : "integer",
  6351            "format" : "int32",
  6352            "description" : "port of the gateway secured proxy"
  6353          },
  6354          "ambariServerIp" : {
  6355            "type" : "string",
  6356            "description" : "public ambari ip of the stack"
  6357          },
  6358          "userName" : {
  6359            "type" : "string",
  6360            "description" : "ambari username"
  6361          },
  6362          "password" : {
  6363            "type" : "string",
  6364            "description" : "ambari password"
  6365          },
  6366          "status" : {
  6367            "type" : "string",
  6368            "description" : "status of the stack",
  6369            "enum" : [ "REQUESTED", "CREATE_IN_PROGRESS", "AVAILABLE", "UPDATE_IN_PROGRESS", "UPDATE_REQUESTED", "UPDATE_FAILED", "CREATE_FAILED", "ENABLE_SECURITY_FAILED", "DELETE_IN_PROGRESS", "DELETE_FAILED", "DELETE_COMPLETED", "STOPPED", "STOP_REQUESTED", "START_REQUESTED", "STOP_IN_PROGRESS", "START_IN_PROGRESS", "START_FAILED", "STOP_FAILED", "WAIT_FOR_SYNC" ]
  6370          },
  6371          "clusterStatus" : {
  6372            "type" : "string",
  6373            "description" : "status of the cluster",
  6374            "enum" : [ "REQUESTED", "CREATE_IN_PROGRESS", "AVAILABLE", "UPDATE_IN_PROGRESS", "UPDATE_REQUESTED", "UPDATE_FAILED", "CREATE_FAILED", "ENABLE_SECURITY_FAILED", "DELETE_IN_PROGRESS", "DELETE_FAILED", "DELETE_COMPLETED", "STOPPED", "STOP_REQUESTED", "START_REQUESTED", "STOP_IN_PROGRESS", "START_IN_PROGRESS", "START_FAILED", "STOP_FAILED", "WAIT_FOR_SYNC" ]
  6375          },
  6376          "created" : {
  6377            "type" : "integer",
  6378            "format" : "int64",
  6379            "description" : "creation time of the stack in long"
  6380          }
  6381        }
  6382      },
  6383      "IpPoolJson" : {
  6384        "type" : "object",
  6385        "properties" : {
  6386          "name" : {
  6387            "type" : "string"
  6388          },
  6389          "id" : {
  6390            "type" : "string"
  6391          },
  6392          "properties" : {
  6393            "type" : "object",
  6394            "additionalProperties" : {
  6395              "type" : "object"
  6396            }
  6397          }
  6398        }
  6399      },
  6400      "AmbariDatabaseTestResult" : {
  6401        "type" : "object",
  6402        "required" : [ "error" ],
  6403        "properties" : {
  6404          "error" : {
  6405            "type" : "string",
  6406            "description" : "result of Ambari database test"
  6407          }
  6408        }
  6409      },
  6410      "TemplateRequest" : {
  6411        "type" : "object",
  6412        "required" : [ "cloudPlatform", "instanceType", "name" ],
  6413        "properties" : {
  6414          "cloudPlatform" : {
  6415            "type" : "string",
  6416            "description" : "type of cloud provider"
  6417          },
  6418          "parameters" : {
  6419            "type" : "object",
  6420            "description" : "cloud specific parameters for template",
  6421            "additionalProperties" : {
  6422              "type" : "object"
  6423            }
  6424          },
  6425          "description" : {
  6426            "type" : "string",
  6427            "description" : "description of the resource",
  6428            "minLength" : 0,
  6429            "maxLength" : 1000
  6430          },
  6431          "volumeType" : {
  6432            "type" : "string",
  6433            "description" : "type of the volumes"
  6434          },
  6435          "instanceType" : {
  6436            "type" : "string",
  6437            "description" : "type of the instance"
  6438          },
  6439          "topologyId" : {
  6440            "type" : "integer",
  6441            "format" : "int64",
  6442            "description" : "id of the topology the resource belongs to"
  6443          },
  6444          "name" : {
  6445            "type" : "string",
  6446            "description" : "name of the resource",
  6447            "pattern" : "([a-z][-a-z0-9]*[a-z0-9])"
  6448          },
  6449          "volumeCount" : {
  6450            "type" : "integer",
  6451            "format" : "int32",
  6452            "description" : "number of volumes"
  6453          },
  6454          "volumeSize" : {
  6455            "type" : "integer",
  6456            "format" : "int32",
  6457            "description" : "size of volumes"
  6458          }
  6459        }
  6460      },
  6461      "CloudbreakEvent" : {
  6462        "type" : "object",
  6463        "properties" : {
  6464          "eventType" : {
  6465            "type" : "string",
  6466            "description" : "type of the event"
  6467          },
  6468          "eventTimestamp" : {
  6469            "type" : "integer",
  6470            "format" : "int64",
  6471            "description" : "timestamp of the event"
  6472          },
  6473          "eventMessage" : {
  6474            "type" : "string",
  6475            "description" : "message of the event"
  6476          },
  6477          "owner" : {
  6478            "type" : "string",
  6479            "description" : "id of the resource owner that is provided by OAuth provider"
  6480          },
  6481          "account" : {
  6482            "type" : "string",
  6483            "description" : "account id of the resource owner that is provided by OAuth provider"
  6484          },
  6485          "cloud" : {
  6486            "type" : "string",
  6487            "description" : "type of cloud provider"
  6488          },
  6489          "region" : {
  6490            "type" : "string",
  6491            "description" : "region of the stack"
  6492          },
  6493          "availabilityZone" : {
  6494            "type" : "string",
  6495            "description" : "availability zone of the stack"
  6496          },
  6497          "blueprintId" : {
  6498            "type" : "integer",
  6499            "format" : "int64",
  6500            "description" : "blueprint id for the cluster"
  6501          },
  6502          "blueprintName" : {
  6503            "type" : "string",
  6504            "description" : "gathered from blueprintName field from the blueprint JSON"
  6505          },
  6506          "clusterId" : {
  6507            "type" : "integer",
  6508            "format" : "int64",
  6509            "description" : "id of the cluster"
  6510          },
  6511          "clusterName" : {
  6512            "type" : "string",
  6513            "description" : "name of the cluster"
  6514          },
  6515          "stackId" : {
  6516            "type" : "integer",
  6517            "format" : "int64",
  6518            "description" : "id of the stack"
  6519          },
  6520          "stackName" : {
  6521            "type" : "string",
  6522            "description" : "name of the stack"
  6523          },
  6524          "stackStatus" : {
  6525            "type" : "string",
  6526            "description" : "status of the stack",
  6527            "enum" : [ "REQUESTED", "CREATE_IN_PROGRESS", "AVAILABLE", "UPDATE_IN_PROGRESS", "UPDATE_REQUESTED", "UPDATE_FAILED", "CREATE_FAILED", "ENABLE_SECURITY_FAILED", "DELETE_IN_PROGRESS", "DELETE_FAILED", "DELETE_COMPLETED", "STOPPED", "STOP_REQUESTED", "START_REQUESTED", "STOP_IN_PROGRESS", "START_IN_PROGRESS", "START_FAILED", "STOP_FAILED", "WAIT_FOR_SYNC" ]
  6528          },
  6529          "nodeCount" : {
  6530            "type" : "integer",
  6531            "format" : "int32",
  6532            "description" : "number of nodes"
  6533          },
  6534          "instanceGroup" : {
  6535            "type" : "string",
  6536            "description" : "name of the instance group"
  6537          },
  6538          "clusterStatus" : {
  6539            "type" : "string",
  6540            "description" : "status of the cluster",
  6541            "enum" : [ "REQUESTED", "CREATE_IN_PROGRESS", "AVAILABLE", "UPDATE_IN_PROGRESS", "UPDATE_REQUESTED", "UPDATE_FAILED", "CREATE_FAILED", "ENABLE_SECURITY_FAILED", "DELETE_IN_PROGRESS", "DELETE_FAILED", "DELETE_COMPLETED", "STOPPED", "STOP_REQUESTED", "START_REQUESTED", "STOP_IN_PROGRESS", "START_IN_PROGRESS", "START_FAILED", "STOP_FAILED", "WAIT_FOR_SYNC" ]
  6542          }
  6543        }
  6544      },
  6545      "StackDetailsJson" : {
  6546        "type" : "object",
  6547        "properties" : {
  6548          "version" : {
  6549            "type" : "string"
  6550          },
  6551          "repo" : {
  6552            "$ref" : "#/definitions/StackRepoDetailsJson"
  6553          }
  6554        }
  6555      },
  6556      "StackRequest" : {
  6557        "type" : "object",
  6558        "required" : [ "instanceGroups", "name" ],
  6559        "properties" : {
  6560          "name" : {
  6561            "type" : "string",
  6562            "description" : "name of the stack",
  6563            "minLength" : 5,
  6564            "maxLength" : 40,
  6565            "pattern" : "([a-z][-a-z0-9]*[a-z0-9])"
  6566          },
  6567          "availabilityZone" : {
  6568            "type" : "string",
  6569            "description" : "availability zone of the stack"
  6570          },
  6571          "region" : {
  6572            "type" : "string",
  6573            "description" : "region of the stack"
  6574          },
  6575          "platformVariant" : {
  6576            "type" : "string",
  6577            "description" : "cloud provider api variant"
  6578          },
  6579          "credentialId" : {
  6580            "type" : "integer",
  6581            "format" : "int64",
  6582            "description" : "credential resource id for the stack"
  6583          },
  6584          "onFailureAction" : {
  6585            "type" : "string",
  6586            "description" : "action on failure",
  6587            "enum" : [ "ROLLBACK", "DO_NOTHING" ]
  6588          },
  6589          "networkId" : {
  6590            "type" : "integer",
  6591            "format" : "int64",
  6592            "description" : "network resource id for the stack"
  6593          },
  6594          "ambariVersion" : {
  6595            "type" : "string",
  6596            "description" : "specific version of ambari"
  6597          },
  6598          "hdpVersion" : {
  6599            "type" : "string",
  6600            "description" : "specific version of HDP"
  6601          },
  6602          "parameters" : {
  6603            "type" : "object",
  6604            "description" : "additional cloud specific parameters for stack",
  6605            "additionalProperties" : {
  6606              "type" : "string"
  6607            }
  6608          },
  6609          "customDomain" : {
  6610            "type" : "string",
  6611            "description" : "custom domain name for the nodes in the stack"
  6612          },
  6613          "customHostname" : {
  6614            "type" : "string",
  6615            "description" : "custom hostname for nodes in the stack"
  6616          },
  6617          "clusterNameAsSubdomain" : {
  6618            "type" : "boolean",
  6619            "description" : "using the cluster name to create subdomain",
  6620            "default" : false
  6621          },
  6622          "hostgroupNameAsHostname" : {
  6623            "type" : "boolean",
  6624            "description" : "using the hostgroup names to create hostnames",
  6625            "default" : false
  6626          },
  6627          "applicationTags" : {
  6628            "type" : "object",
  6629            "description" : "stack related application tags",
  6630            "additionalProperties" : {
  6631              "type" : "string"
  6632            }
  6633          },
  6634          "userDefinedTags" : {
  6635            "type" : "object",
  6636            "description" : "stack related userdefined tags",
  6637            "additionalProperties" : {
  6638              "type" : "string"
  6639            }
  6640          },
  6641          "defaultTags" : {
  6642            "type" : "object",
  6643            "description" : "stack related default tags",
  6644            "additionalProperties" : {
  6645              "type" : "string"
  6646            }
  6647          },
  6648          "orchestrator" : {
  6649            "description" : "the details of the container orchestrator api to use",
  6650            "$ref" : "#/definitions/OrchestratorRequest"
  6651          },
  6652          "instanceGroups" : {
  6653            "type" : "array",
  6654            "description" : "collection of instance groupst",
  6655            "items" : {
  6656              "$ref" : "#/definitions/instanceGroups"
  6657            }
  6658          },
  6659          "failurePolicy" : {
  6660            "description" : "failure policy in case of failures",
  6661            "$ref" : "#/definitions/FailurePolicyRequest"
  6662          },
  6663          "credential" : {
  6664            "description" : "stack related credential",
  6665            "$ref" : "#/definitions/CredentialRequest"
  6666          },
  6667          "stackAuthentication" : {
  6668            "description" : "stack related authentication",
  6669            "$ref" : "#/definitions/StackAuthentication"
  6670          },
  6671          "network" : {
  6672            "description" : "stack related network",
  6673            "$ref" : "#/definitions/NetworkRequest"
  6674          },
  6675          "imageCatalog" : {
  6676            "type" : "string",
  6677            "description" : "custom image catalog URL"
  6678          },
  6679          "imageId" : {
  6680            "type" : "string",
  6681            "description" : "virtual machine image id from ImageCatalog, machines of the cluster will be started from this image"
  6682          },
  6683          "flexId" : {
  6684            "type" : "integer",
  6685            "format" : "int64",
  6686            "description" : "id of the related flex subscription"
  6687          },
  6688          "credentialSource" : {
  6689            "description" : "source credential object for cloning",
  6690            "$ref" : "#/definitions/CredentialSourceRequest"
  6691          },
  6692          "credentialName" : {
  6693            "type" : "string",
  6694            "description" : "credential resource name for the stack"
  6695          },
  6696          "clusterRequest" : {
  6697            "description" : "cluster request object on stack",
  6698            "$ref" : "#/definitions/ClusterRequest"
  6699          },
  6700          "cloudPlatform" : {
  6701            "type" : "string",
  6702            "description" : "type of cloud provider",
  6703            "readOnly" : true
  6704          }
  6705        }
  6706      },
  6707      "CloudbreakFlexUsage" : {
  6708        "type" : "object",
  6709        "properties" : {
  6710          "controller" : {
  6711            "$ref" : "#/definitions/FlexUsageControllerJson"
  6712          },
  6713          "products" : {
  6714            "type" : "array",
  6715            "items" : {
  6716              "$ref" : "#/definitions/FlexUsageProductJson"
  6717            }
  6718          }
  6719        }
  6720      },
  6721      "AmbariStackDetails" : {
  6722        "type" : "object",
  6723        "required" : [ "stack", "stackBaseURL", "stackRepoId", "utilsBaseURL", "utilsRepoId", "verify", "version" ],
  6724        "properties" : {
  6725          "stack" : {
  6726            "type" : "string",
  6727            "description" : "name of the stack, like HDP"
  6728          },
  6729          "version" : {
  6730            "type" : "string",
  6731            "description" : "version of the stack"
  6732          },
  6733          "os" : {
  6734            "type" : "string",
  6735            "description" : "operating system for the stack, like redhat6"
  6736          },
  6737          "stackRepoId" : {
  6738            "type" : "string",
  6739            "description" : "id of the stack repository"
  6740          },
  6741          "stackBaseURL" : {
  6742            "type" : "string",
  6743            "description" : "url of the stack repository"
  6744          },
  6745          "utilsRepoId" : {
  6746            "type" : "string",
  6747            "description" : "id of the stack utils repository"
  6748          },
  6749          "utilsBaseURL" : {
  6750            "type" : "string",
  6751            "description" : "url of the stack utils repository"
  6752          },
  6753          "verify" : {
  6754            "type" : "boolean",
  6755            "description" : "whether to verify or not the repo url",
  6756            "default" : false
  6757          }
  6758        }
  6759      },
  6760      "FlexUsageControllerJson" : {
  6761        "type" : "object",
  6762        "properties" : {
  6763          "guid" : {
  6764            "type" : "string"
  6765          },
  6766          "instanceId" : {
  6767            "type" : "string"
  6768          },
  6769          "region" : {
  6770            "type" : "string"
  6771          },
  6772          "provider" : {
  6773            "type" : "string"
  6774          },
  6775          "smartSenseId" : {
  6776            "type" : "string"
  6777          },
  6778          "userName" : {
  6779            "type" : "string"
  6780          }
  6781        }
  6782      },
  6783      "TagSpecificationsJson" : {
  6784        "type" : "object",
  6785        "properties" : {
  6786          "specifications" : {
  6787            "type" : "object",
  6788            "description" : "tag specifications",
  6789            "additionalProperties" : {
  6790              "type" : "object",
  6791              "additionalProperties" : {
  6792                "type" : "object"
  6793              }
  6794            }
  6795          }
  6796        }
  6797      },
  6798      "StackScaleRequestV2" : {
  6799        "type" : "object",
  6800        "required" : [ "desiredCount", "group" ],
  6801        "properties" : {
  6802          "group" : {
  6803            "type" : "string",
  6804            "description" : "name of the instance group"
  6805          },
  6806          "desiredCount" : {
  6807            "type" : "integer",
  6808            "format" : "int32",
  6809            "description" : "scaling adjustment of the instance groups"
  6810          }
  6811        }
  6812      },
  6813      "RdsBuildResult" : {
  6814        "type" : "object",
  6815        "required" : [ "results" ],
  6816        "properties" : {
  6817          "results" : {
  6818            "type" : "object",
  6819            "description" : "name of the created dbs",
  6820            "additionalProperties" : {
  6821              "type" : "string"
  6822            }
  6823          }
  6824        }
  6825      },
  6826      "RecommendationRequestJson" : {
  6827        "type" : "object",
  6828        "properties" : {
  6829          "credentialId" : {
  6830            "type" : "integer",
  6831            "format" : "int64",
  6832            "description" : "credential resource id for the request"
  6833          },
  6834          "credentialName" : {
  6835            "type" : "string",
  6836            "description" : "credential resource name for the request"
  6837          },
  6838          "region" : {
  6839            "type" : "string",
  6840            "description" : "Related region"
  6841          },
  6842          "platformVariant" : {
  6843            "type" : "string",
  6844            "description" : "cloud provider api variant"
  6845          },
  6846          "filters" : {
  6847            "type" : "object",
  6848            "description" : "filter for resources",
  6849            "additionalProperties" : {
  6850              "type" : "string"
  6851            }
  6852          },
  6853          "availabilityZone" : {
  6854            "type" : "string",
  6855            "description" : "related availability zone"
  6856          },
  6857          "blueprintName" : {
  6858            "type" : "string",
  6859            "description" : "name that could indentify an existing blueprint"
  6860          },
  6861          "blueprintId" : {
  6862            "type" : "integer",
  6863            "format" : "int64",
  6864            "description" : "id that could indentify an existing blueprint"
  6865          }
  6866        }
  6867      },
  6868      "CustomContainerResponse" : {
  6869        "type" : "object",
  6870        "properties" : {
  6871          "definitions" : {
  6872            "type" : "object",
  6873            "additionalProperties" : {
  6874              "type" : "string"
  6875            }
  6876          }
  6877        }
  6878      },
  6879      "NetworkResponse" : {
  6880        "type" : "object",
  6881        "required" : [ "cloudPlatform", "name" ],
  6882        "properties" : {
  6883          "description" : {
  6884            "type" : "string",
  6885            "description" : "description of the resource",
  6886            "minLength" : 0,
  6887            "maxLength" : 1000
  6888          },
  6889          "subnetCIDR" : {
  6890            "type" : "string",
  6891            "description" : "the subnet definition of the network in CIDR format"
  6892          },
  6893          "cloudPlatform" : {
  6894            "type" : "string",
  6895            "description" : "type of cloud provider"
  6896          },
  6897          "parameters" : {
  6898            "type" : "object",
  6899            "description" : "provider specific parameters of the specified network",
  6900            "additionalProperties" : {
  6901              "type" : "object"
  6902            }
  6903          },
  6904          "topologyId" : {
  6905            "type" : "integer",
  6906            "format" : "int64",
  6907            "description" : "id of the topology the resource belongs to"
  6908          },
  6909          "name" : {
  6910            "type" : "string",
  6911            "description" : "name of the resource"
  6912          },
  6913          "id" : {
  6914            "type" : "integer",
  6915            "format" : "int64",
  6916            "description" : "id of the resource",
  6917            "readOnly" : true
  6918          },
  6919          "publicInAccount" : {
  6920            "type" : "boolean",
  6921            "description" : "resource is visible in account",
  6922            "readOnly" : true,
  6923            "default" : false
  6924          }
  6925        }
  6926      },
  6927      "RDSBuildRequest" : {
  6928        "type" : "object",
  6929        "required" : [ "clusterName", "rdsConfigRequest" ],
  6930        "properties" : {
  6931          "rdsConfigRequest" : {
  6932            "description" : "rds config request",
  6933            "$ref" : "#/definitions/RDSConfig"
  6934          },
  6935          "clusterName" : {
  6936            "type" : "string",
  6937            "description" : "requested cluster name"
  6938          }
  6939        }
  6940      },
  6941      "DiskResponse" : {
  6942        "type" : "object",
  6943        "properties" : {
  6944          "type" : {
  6945            "type" : "string"
  6946          },
  6947          "name" : {
  6948            "type" : "string"
  6949          },
  6950          "displayName" : {
  6951            "type" : "string"
  6952          }
  6953        }
  6954      },
  6955      "Id" : {
  6956        "type" : "object",
  6957        "required" : [ "id" ],
  6958        "properties" : {
  6959          "id" : {
  6960            "type" : "integer",
  6961            "format" : "int64",
  6962            "description" : "id of the resource"
  6963          }
  6964        }
  6965      },
  6966      "HostGroupResponse" : {
  6967        "type" : "object",
  6968        "required" : [ "constraint", "name" ],
  6969        "properties" : {
  6970          "name" : {
  6971            "type" : "string",
  6972            "description" : "name of the resource"
  6973          },
  6974          "constraint" : {
  6975            "description" : "instance group or resource constraint for a hostgroup",
  6976            "$ref" : "#/definitions/Constraint"
  6977          },
  6978          "recipeIds" : {
  6979            "type" : "array",
  6980            "description" : "referenced recipe ids",
  6981            "uniqueItems" : true,
  6982            "items" : {
  6983              "type" : "integer",
  6984              "format" : "int64"
  6985            }
  6986          },
  6987          "recoveryMode" : {
  6988            "type" : "string",
  6989            "description" : "recovery mode of the hostgroup's nodes",
  6990            "enum" : [ "MANUAL", "AUTO" ]
  6991          },
  6992          "id" : {
  6993            "type" : "integer",
  6994            "format" : "int64",
  6995            "description" : "id of the resource"
  6996          },
  6997          "recipes" : {
  6998            "type" : "array",
  6999            "description" : "referenced recipes",
  7000            "uniqueItems" : true,
  7001            "items" : {
  7002              "$ref" : "#/definitions/RecipeResponse"
  7003            }
  7004          },
  7005          "metadata" : {
  7006            "type" : "array",
  7007            "description" : "metadata of hosts",
  7008            "uniqueItems" : true,
  7009            "items" : {
  7010              "$ref" : "#/definitions/HostMetadata"
  7011            }
  7012          }
  7013        }
  7014      },
  7015      "LdapConfigResponse" : {
  7016        "type" : "object",
  7017        "required" : [ "bindDn", "name", "serverHost", "serverPort", "userSearchBase" ],
  7018        "properties" : {
  7019          "description" : {
  7020            "type" : "string",
  7021            "description" : "description of the resource",
  7022            "minLength" : 0,
  7023            "maxLength" : 1000
  7024          },
  7025          "serverHost" : {
  7026            "type" : "string",
  7027            "description" : "public host or IP address of LDAP server"
  7028          },
  7029          "serverPort" : {
  7030            "type" : "integer",
  7031            "format" : "int32",
  7032            "description" : "port of LDAP server (typically: 389 or 636 for LDAPS)",
  7033            "minimum" : 1.0,
  7034            "maximum" : 65535.0
  7035          },
  7036          "protocol" : {
  7037            "type" : "string",
  7038            "description" : "determines the protocol (LDAP or LDAP over SSL)"
  7039          },
  7040          "bindDn" : {
  7041            "type" : "string",
  7042            "description" : "bind distinguished name for connection test and group search (e.g. cn=admin,dc=example,dc=org)"
  7043          },
  7044          "userSearchBase" : {
  7045            "type" : "string",
  7046            "description" : "template for user search for authentication (e.g. dc=hadoop,dc=apache,dc=org)"
  7047          },
  7048          "groupSearchBase" : {
  7049            "type" : "string",
  7050            "description" : "template for group search for authorization (e.g. dc=hadoop,dc=apache,dc=org)"
  7051          },
  7052          "userNameAttribute" : {
  7053            "type" : "string",
  7054            "description" : "attribute name for simplified search filter (e.g. sAMAccountName in case of AD, UID or cn for LDAP)."
  7055          },
  7056          "domain" : {
  7057            "type" : "string",
  7058            "description" : "domain in LDAP server (e.g. ad.seq.com)."
  7059          },
  7060          "directoryType" : {
  7061            "type" : "string",
  7062            "description" : "directory type of server LDAP or AD",
  7063            "enum" : [ "LDAP", "ACTIVE_DIRECTORY" ]
  7064          },
  7065          "userObjectClass" : {
  7066            "type" : "string",
  7067            "description" : "User Object Class (defaults to person)"
  7068          },
  7069          "groupObjectClass" : {
  7070            "type" : "string",
  7071            "description" : "Group Object Class (defaults to groupOfNames)"
  7072          },
  7073          "groupNameAttribute" : {
  7074            "type" : "string",
  7075            "description" : "Group Id Attribute (defaults to cn)"
  7076          },
  7077          "groupMemberAttribute" : {
  7078            "type" : "string",
  7079            "description" : "Group Member Attribute (defaults to member)"
  7080          },
  7081          "name" : {
  7082            "type" : "string",
  7083            "description" : "name of the resource"
  7084          },
  7085          "id" : {
  7086            "type" : "integer",
  7087            "format" : "int64",
  7088            "description" : "id of the resource"
  7089          },
  7090          "public" : {
  7091            "type" : "boolean",
  7092            "description" : "resource is visible in account",
  7093            "default" : false
  7094          }
  7095        }
  7096      },
  7097      "HostMetadata" : {
  7098        "type" : "object",
  7099        "required" : [ "groupName", "name" ],
  7100        "properties" : {
  7101          "name" : {
  7102            "type" : "string",
  7103            "description" : "name of the resource"
  7104          },
  7105          "groupName" : {
  7106            "type" : "string",
  7107            "description" : "name of the host group"
  7108          },
  7109          "id" : {
  7110            "type" : "integer",
  7111            "format" : "int64",
  7112            "description" : "id of the resource"
  7113          },
  7114          "state" : {
  7115            "type" : "string",
  7116            "description" : "state of the host"
  7117          }
  7118        }
  7119      },
  7120      "StructuredEvent" : {
  7121        "type" : "object",
  7122        "properties" : {
  7123          "type" : {
  7124            "type" : "string"
  7125          },
  7126          "operation" : {
  7127            "$ref" : "#/definitions/OperationDetails"
  7128          }
  7129        }
  7130      },
  7131      "VirtualMachinesResponse" : {
  7132        "type" : "object",
  7133        "properties" : {
  7134          "virtualMachines" : {
  7135            "type" : "array",
  7136            "description" : "virtual machines",
  7137            "uniqueItems" : true,
  7138            "items" : {
  7139              "$ref" : "#/definitions/VmTypeJson"
  7140            }
  7141          },
  7142          "defaultVirtualMachine" : {
  7143            "description" : "default virtual machines",
  7144            "$ref" : "#/definitions/VmTypeJson"
  7145          }
  7146        }
  7147      },
  7148      "BlueprintParameter" : {
  7149        "type" : "object",
  7150        "properties" : {
  7151          "name" : {
  7152            "type" : "string"
  7153          },
  7154          "description" : {
  7155            "type" : "string"
  7156          },
  7157          "referenceConfiguration" : {
  7158            "type" : "string"
  7159          }
  7160        }
  7161      },
  7162      "SecurityRuleRequest" : {
  7163        "type" : "object",
  7164        "required" : [ "ports", "protocol", "subnet" ],
  7165        "properties" : {
  7166          "subnet" : {
  7167            "type" : "string",
  7168            "description" : "definition of allowed subnet in CIDR format",
  7169            "pattern" : "^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])(\\/([0-9]|[1-2][0-9]|3[0-2]))$"
  7170          },
  7171          "ports" : {
  7172            "type" : "string",
  7173            "description" : "comma separated list of accessible ports",
  7174            "pattern" : "^[1-9][0-9]{0,4}(-[1-9][0-9]{0,4}){0,1}(,[1-9][0-9]{0,4}(-[1-9][0-9]{0,4}){0,1})*$"
  7175          },
  7176          "protocol" : {
  7177            "type" : "string",
  7178            "description" : "protocol of the rule"
  7179          },
  7180          "modifiable" : {
  7181            "type" : "boolean",
  7182            "description" : "flag for making the rule modifiable",
  7183            "default" : false
  7184          }
  7185        }
  7186      },
  7187      "AmbariRepoDetails" : {
  7188        "type" : "object",
  7189        "required" : [ "baseUrl", "gpgKeyUrl", "version" ],
  7190        "properties" : {
  7191          "version" : {
  7192            "type" : "string",
  7193            "description" : "version of the Ambari"
  7194          },
  7195          "baseUrl" : {
  7196            "type" : "string",
  7197            "description" : "url of the Ambari repository"
  7198          },
  7199          "gpgKeyUrl" : {
  7200            "type" : "string",
  7201            "description" : "gpg key of the Ambari repository"
  7202          }
  7203        }
  7204      },
  7205      "TopologyRequest" : {
  7206        "type" : "object",
  7207        "required" : [ "cloudPlatform", "name" ],
  7208        "properties" : {
  7209          "name" : {
  7210            "type" : "string",
  7211            "description" : "name of the resource",
  7212            "minLength" : 5,
  7213            "maxLength" : 100,
  7214            "pattern" : "([a-z][-a-z0-9]*[a-z0-9])"
  7215          },
  7216          "description" : {
  7217            "type" : "string",
  7218            "description" : "description of the resource",
  7219            "minLength" : 0,
  7220            "maxLength" : 1000
  7221          },
  7222          "cloudPlatform" : {
  7223            "type" : "string",
  7224            "description" : "type of cloud provider"
  7225          },
  7226          "nodes" : {
  7227            "type" : "object",
  7228            "description" : "topology mapping",
  7229            "additionalProperties" : {
  7230              "type" : "string"
  7231            }
  7232          }
  7233        }
  7234      },
  7235      "CloudGatewayJson" : {
  7236        "type" : "object",
  7237        "properties" : {
  7238          "name" : {
  7239            "type" : "string"
  7240          },
  7241          "id" : {
  7242            "type" : "string"
  7243          },
  7244          "properties" : {
  7245            "type" : "object",
  7246            "additionalProperties" : {
  7247              "type" : "object"
  7248            }
  7249          }
  7250        }
  7251      },
  7252      "ConfigsRequest" : {
  7253        "type" : "object",
  7254        "required" : [ "requests" ],
  7255        "properties" : {
  7256          "requests" : {
  7257            "type" : "array",
  7258            "description" : "request object",
  7259            "uniqueItems" : true,
  7260            "items" : {
  7261              "$ref" : "#/definitions/BlueprintParameter"
  7262            }
  7263          }
  7264        }
  7265      },
  7266      "ImageResponse" : {
  7267        "type" : "object",
  7268        "properties" : {
  7269          "date" : {
  7270            "type" : "string"
  7271          },
  7272          "description" : {
  7273            "type" : "string"
  7274          },
  7275          "os" : {
  7276            "type" : "string"
  7277          },
  7278          "uuid" : {
  7279            "type" : "string"
  7280          },
  7281          "version" : {
  7282            "type" : "string"
  7283          },
  7284          "repo" : {
  7285            "type" : "object",
  7286            "additionalProperties" : {
  7287              "type" : "string"
  7288            }
  7289          },
  7290          "images" : {
  7291            "type" : "object",
  7292            "additionalProperties" : {
  7293              "type" : "object",
  7294              "additionalProperties" : {
  7295                "type" : "string"
  7296              }
  7297            }
  7298          },
  7299          "stackDetails" : {
  7300            "$ref" : "#/definitions/StackDetailsJson"
  7301          }
  7302        }
  7303      },
  7304      "TemplateResponse" : {
  7305        "type" : "object",
  7306        "required" : [ "cloudPlatform", "instanceType", "name", "volumeCount", "volumeSize" ],
  7307        "properties" : {
  7308          "cloudPlatform" : {
  7309            "type" : "string",
  7310            "description" : "type of cloud provider"
  7311          },
  7312          "parameters" : {
  7313            "type" : "object",
  7314            "description" : "cloud specific parameters for template",
  7315            "additionalProperties" : {
  7316              "type" : "object"
  7317            }
  7318          },
  7319          "description" : {
  7320            "type" : "string",
  7321            "description" : "description of the resource",
  7322            "minLength" : 0,
  7323            "maxLength" : 1000
  7324          },
  7325          "volumeType" : {
  7326            "type" : "string",
  7327            "description" : "type of the volumes"
  7328          },
  7329          "instanceType" : {
  7330            "type" : "string",
  7331            "description" : "type of the instance"
  7332          },
  7333          "topologyId" : {
  7334            "type" : "integer",
  7335            "format" : "int64",
  7336            "description" : "id of the topology the resource belongs to"
  7337          },
  7338          "name" : {
  7339            "type" : "string",
  7340            "description" : "name of the resource"
  7341          },
  7342          "id" : {
  7343            "type" : "integer",
  7344            "format" : "int64",
  7345            "description" : "id of the resource"
  7346          },
  7347          "volumeCount" : {
  7348            "type" : "integer",
  7349            "format" : "int32",
  7350            "description" : "number of volumes"
  7351          },
  7352          "volumeSize" : {
  7353            "type" : "integer",
  7354            "format" : "int32",
  7355            "description" : "size of volumes"
  7356          },
  7357          "public" : {
  7358            "type" : "boolean",
  7359            "description" : "resource is visible in account",
  7360            "default" : false
  7361          }
  7362        }
  7363      },
  7364      "AmbariDatabaseDetails" : {
  7365        "type" : "object",
  7366        "required" : [ "host", "name", "password", "port", "userName", "vendor" ],
  7367        "properties" : {
  7368          "vendor" : {
  7369            "type" : "string",
  7370            "description" : "vendor of the Ambari database",
  7371            "enum" : [ "POSTGRES", "MYSQL", "MARIADB", "MSSQL", "ORACLE", "SQLANYWHERE", "EMBEDDED" ]
  7372          },
  7373          "name" : {
  7374            "type" : "string",
  7375            "description" : "name of the Ambari database",
  7376            "pattern" : "^[^']+$"
  7377          },
  7378          "host" : {
  7379            "type" : "string",
  7380            "description" : "host of the Ambari database",
  7381            "pattern" : "^[a-zA-Z0-9]([a-zA-Z0-9-\\.]+)$"
  7382          },
  7383          "port" : {
  7384            "type" : "integer",
  7385            "format" : "int32",
  7386            "description" : "port of the Ambari database"
  7387          },
  7388          "userName" : {
  7389            "type" : "string",
  7390            "description" : "user name for the Ambari database",
  7391            "pattern" : "^[^']+$"
  7392          },
  7393          "password" : {
  7394            "type" : "string",
  7395            "description" : "password for the Ambari database",
  7396            "pattern" : "^[^']+$"
  7397          }
  7398        }
  7399      },
  7400      "UserProfileRequest" : {
  7401        "type" : "object",
  7402        "properties" : {
  7403          "credentialName" : {
  7404            "type" : "string"
  7405          },
  7406          "credentialId" : {
  7407            "type" : "integer",
  7408            "format" : "int64"
  7409          },
  7410          "uiProperties" : {
  7411            "type" : "object",
  7412            "additionalProperties" : {
  7413              "type" : "object"
  7414            }
  7415          }
  7416        }
  7417      },
  7418      "ImagesResponse" : {
  7419        "type" : "object",
  7420        "properties" : {
  7421          "baseImages" : {
  7422            "type" : "array",
  7423            "items" : {
  7424              "$ref" : "#/definitions/BaseImageResponse"
  7425            }
  7426          },
  7427          "hdpImages" : {
  7428            "type" : "array",
  7429            "items" : {
  7430              "$ref" : "#/definitions/ImageResponse"
  7431            }
  7432          },
  7433          "hdfImages" : {
  7434            "type" : "array",
  7435            "items" : {
  7436              "$ref" : "#/definitions/ImageResponse"
  7437            }
  7438          }
  7439        }
  7440      },
  7441      "ClusterV2Request" : {
  7442        "type" : "object",
  7443        "properties" : {
  7444          "emailNeeded" : {
  7445            "type" : "boolean",
  7446            "description" : "send email about the result of the cluster installation",
  7447            "default" : false
  7448          },
  7449          "emailTo" : {
  7450            "type" : "string",
  7451            "description" : "send email to the requested address"
  7452          },
  7453          "ldapConfigId" : {
  7454            "type" : "integer",
  7455            "format" : "int64",
  7456            "description" : "LDAP config id for the cluster"
  7457          },
  7458          "rdsConfigIds" : {
  7459            "type" : "array",
  7460            "description" : "RDS configuration ids for the cluster",
  7461            "uniqueItems" : true,
  7462            "items" : {
  7463              "type" : "integer",
  7464              "format" : "int64"
  7465            }
  7466          },
  7467          "rdsConfigJsons" : {
  7468            "type" : "array",
  7469            "description" : "details of the external database for Hadoop components",
  7470            "uniqueItems" : true,
  7471            "items" : {
  7472              "$ref" : "#/definitions/RDSConfig"
  7473            }
  7474          },
  7475          "fileSystem" : {
  7476            "description" : "external file system configuration",
  7477            "$ref" : "#/definitions/FileSystem"
  7478          },
  7479          "executorType" : {
  7480            "type" : "string",
  7481            "description" : "executor type of cluster",
  7482            "enum" : [ "CONTAINER", "DEFAULT" ]
  7483          },
  7484          "ambariRequest" : {
  7485            "description" : "ambari specific requests",
  7486            "$ref" : "#/definitions/AmbariV2Request"
  7487          },
  7488          "byosRequest" : {
  7489            "description" : "byos specific requests for cluster",
  7490            "$ref" : "#/definitions/ByosV2Request"
  7491          }
  7492        }
  7493      },
  7494      "GatewayJson" : {
  7495        "type" : "object",
  7496        "properties" : {
  7497          "enableGateway" : {
  7498            "type" : "boolean",
  7499            "description" : "enable Knox gateway security",
  7500            "default" : false
  7501          },
  7502          "path" : {
  7503            "type" : "string",
  7504            "description" : "Knox gateway path"
  7505          },
  7506          "topologyName" : {
  7507            "type" : "string",
  7508            "description" : "Knox topology name"
  7509          },
  7510          "exposedServices" : {
  7511            "type" : "array",
  7512            "description" : "exposed Knox services",
  7513            "items" : {
  7514              "type" : "string"
  7515            }
  7516          },
  7517          "ssoProvider" : {
  7518            "type" : "string",
  7519            "description" : "SSO provider cluster name"
  7520          },
  7521          "signCert" : {
  7522            "type" : "string",
  7523            "description" : "SSO Provider certificate"
  7524          },
  7525          "signPub" : {
  7526            "type" : "string",
  7527            "description" : "SSO Provider pub key"
  7528          },
  7529          "gatewayType" : {
  7530            "type" : "string",
  7531            "description" : "Knox gateway type",
  7532            "enum" : [ "CENTRAL", "INDIVIDUAL" ]
  7533          },
  7534          "ssoType" : {
  7535            "type" : "string",
  7536            "description" : "Knox SSO type",
  7537            "enum" : [ "SSO_PROVIDER", "SSO_CONSUMER", "NONE" ]
  7538          }
  7539        }
  7540      },
  7541      "AutoscaleClusterResponse" : {
  7542        "type" : "object",
  7543        "properties" : {
  7544          "id" : {
  7545            "type" : "integer",
  7546            "format" : "int64",
  7547            "description" : "id of the resource"
  7548          },
  7549          "name" : {
  7550            "type" : "string",
  7551            "description" : "name of the resource"
  7552          },
  7553          "status" : {
  7554            "type" : "string",
  7555            "description" : "status of the cluster",
  7556            "enum" : [ "REQUESTED", "CREATE_IN_PROGRESS", "AVAILABLE", "UPDATE_IN_PROGRESS", "UPDATE_REQUESTED", "UPDATE_FAILED", "CREATE_FAILED", "ENABLE_SECURITY_FAILED", "DELETE_IN_PROGRESS", "DELETE_FAILED", "DELETE_COMPLETED", "STOPPED", "STOP_REQUESTED", "START_REQUESTED", "STOP_IN_PROGRESS", "START_IN_PROGRESS", "START_FAILED", "STOP_FAILED", "WAIT_FOR_SYNC" ]
  7557          },
  7558          "hoursUp" : {
  7559            "type" : "integer",
  7560            "format" : "int32",
  7561            "description" : "duration - how long the cluster is running in hours"
  7562          },
  7563          "minutesUp" : {
  7564            "type" : "integer",
  7565            "format" : "int32",
  7566            "description" : "duration - how long the cluster is running in minutes (minus hours)"
  7567          },
  7568          "cluster" : {
  7569            "type" : "string",
  7570            "description" : "name of the cluster"
  7571          },
  7572          "blueprintId" : {
  7573            "type" : "integer",
  7574            "format" : "int64",
  7575            "description" : "blueprint id for the cluster"
  7576          },
  7577          "blueprint" : {
  7578            "description" : "blueprint for the cluster",
  7579            "$ref" : "#/definitions/BlueprintResponse"
  7580          },
  7581          "description" : {
  7582            "type" : "string",
  7583            "description" : "description of the resource"
  7584          },
  7585          "statusReason" : {
  7586            "type" : "string",
  7587            "description" : "status message of the cluster"
  7588          },
  7589          "ambariServerIp" : {
  7590            "type" : "string",
  7591            "description" : "public ambari ip of the stack"
  7592          },
  7593          "ambariServerUrl" : {
  7594            "type" : "string",
  7595            "description" : "public ambari url"
  7596          },
  7597          "userName" : {
  7598            "type" : "string",
  7599            "description" : "ambari username"
  7600          },
  7601          "secure" : {
  7602            "type" : "boolean",
  7603            "default" : false
  7604          },
  7605          "hostGroups" : {
  7606            "type" : "array",
  7607            "uniqueItems" : true,
  7608            "items" : {
  7609              "$ref" : "#/definitions/HostGroupResponse"
  7610            }
  7611          },
  7612          "rdsConfigIds" : {
  7613            "type" : "array",
  7614            "description" : "RDS configuration ids for the cluster",
  7615            "uniqueItems" : true,
  7616            "items" : {
  7617              "type" : "integer",
  7618              "format" : "int64"
  7619            }
  7620          },
  7621          "rdsConfigs" : {
  7622            "type" : "array",
  7623            "description" : "RDS configurations for the cluster",
  7624            "uniqueItems" : true,
  7625            "items" : {
  7626              "$ref" : "#/definitions/RDSConfigResponse"
  7627            }
  7628          },
  7629          "serviceEndPoints" : {
  7630            "type" : "object",
  7631            "description" : "most important services in the cluster",
  7632            "additionalProperties" : {
  7633              "type" : "string"
  7634            }
  7635          },
  7636          "configStrategy" : {
  7637            "type" : "string",
  7638            "description" : "config recommendation strategy",
  7639            "enum" : [ "NEVER_APPLY", "ONLY_STACK_DEFAULTS_APPLY", "ALWAYS_APPLY", "ALWAYS_APPLY_DONT_OVERRIDE_CUSTOM_VALUES" ]
  7640          },
  7641          "ldapConfigId" : {
  7642            "type" : "integer",
  7643            "format" : "int64",
  7644            "description" : "LDAP config id for the cluster"
  7645          },
  7646          "ldapConfig" : {
  7647            "description" : "LDAP config for the cluster",
  7648            "$ref" : "#/definitions/LdapConfigResponse"
  7649          },
  7650          "attributes" : {
  7651            "type" : "object",
  7652            "description" : "Additional information for ambari cluster",
  7653            "additionalProperties" : {
  7654              "type" : "object"
  7655            }
  7656          },
  7657          "blueprintInputs" : {
  7658            "type" : "array",
  7659            "description" : "blueprint inputs in the cluster",
  7660            "uniqueItems" : true,
  7661            "items" : {
  7662              "$ref" : "#/definitions/BlueprintInput"
  7663            }
  7664          },
  7665          "blueprintCustomProperties" : {
  7666            "type" : "string",
  7667            "description" : "blueprint custom properties"
  7668          },
  7669          "executorType" : {
  7670            "type" : "string",
  7671            "description" : "executor type of cluster",
  7672            "enum" : [ "CONTAINER", "DEFAULT" ]
  7673          },
  7674          "gateway" : {
  7675            "$ref" : "#/definitions/GatewayJson"
  7676          },
  7677          "customContainers" : {
  7678            "description" : "custom containers",
  7679            "$ref" : "#/definitions/CustomContainerResponse"
  7680          },
  7681          "ambariStackDetails" : {
  7682            "description" : "details of the Ambari stack",
  7683            "$ref" : "#/definitions/AmbariStackDetailsResponse"
  7684          },
  7685          "ambariRepoDetailsJson" : {
  7686            "description" : "details of the Ambari package repository",
  7687            "$ref" : "#/definitions/AmbariRepoDetails"
  7688          },
  7689          "ambariDatabaseDetails" : {
  7690            "description" : "details of the external Ambari database",
  7691            "$ref" : "#/definitions/AmbariDatabaseDetails"
  7692          },
  7693          "customQueue" : {
  7694            "type" : "string",
  7695            "description" : "custom queue for yarn orchestrator"
  7696          },
  7697          "password" : {
  7698            "type" : "string",
  7699            "description" : "ambari password"
  7700          }
  7701        }
  7702      },
  7703      "ClusterResponse" : {
  7704        "type" : "object",
  7705        "properties" : {
  7706          "id" : {
  7707            "type" : "integer",
  7708            "format" : "int64",
  7709            "description" : "id of the resource"
  7710          },
  7711          "name" : {
  7712            "type" : "string",
  7713            "description" : "name of the resource"
  7714          },
  7715          "status" : {
  7716            "type" : "string",
  7717            "description" : "status of the cluster",
  7718            "enum" : [ "REQUESTED", "CREATE_IN_PROGRESS", "AVAILABLE", "UPDATE_IN_PROGRESS", "UPDATE_REQUESTED", "UPDATE_FAILED", "CREATE_FAILED", "ENABLE_SECURITY_FAILED", "DELETE_IN_PROGRESS", "DELETE_FAILED", "DELETE_COMPLETED", "STOPPED", "STOP_REQUESTED", "START_REQUESTED", "STOP_IN_PROGRESS", "START_IN_PROGRESS", "START_FAILED", "STOP_FAILED", "WAIT_FOR_SYNC" ]
  7719          },
  7720          "hoursUp" : {
  7721            "type" : "integer",
  7722            "format" : "int32",
  7723            "description" : "duration - how long the cluster is running in hours"
  7724          },
  7725          "minutesUp" : {
  7726            "type" : "integer",
  7727            "format" : "int32",
  7728            "description" : "duration - how long the cluster is running in minutes (minus hours)"
  7729          },
  7730          "cluster" : {
  7731            "type" : "string",
  7732            "description" : "name of the cluster"
  7733          },
  7734          "blueprintId" : {
  7735            "type" : "integer",
  7736            "format" : "int64",
  7737            "description" : "blueprint id for the cluster"
  7738          },
  7739          "blueprint" : {
  7740            "description" : "blueprint for the cluster",
  7741            "$ref" : "#/definitions/BlueprintResponse"
  7742          },
  7743          "description" : {
  7744            "type" : "string",
  7745            "description" : "description of the resource"
  7746          },
  7747          "statusReason" : {
  7748            "type" : "string",
  7749            "description" : "status message of the cluster"
  7750          },
  7751          "ambariServerIp" : {
  7752            "type" : "string",
  7753            "description" : "public ambari ip of the stack"
  7754          },
  7755          "ambariServerUrl" : {
  7756            "type" : "string",
  7757            "description" : "public ambari url"
  7758          },
  7759          "userName" : {
  7760            "type" : "string",
  7761            "description" : "ambari username"
  7762          },
  7763          "secure" : {
  7764            "type" : "boolean",
  7765            "default" : false
  7766          },
  7767          "hostGroups" : {
  7768            "type" : "array",
  7769            "uniqueItems" : true,
  7770            "items" : {
  7771              "$ref" : "#/definitions/HostGroupResponse"
  7772            }
  7773          },
  7774          "rdsConfigIds" : {
  7775            "type" : "array",
  7776            "description" : "RDS configuration ids for the cluster",
  7777            "uniqueItems" : true,
  7778            "items" : {
  7779              "type" : "integer",
  7780              "format" : "int64"
  7781            }
  7782          },
  7783          "rdsConfigs" : {
  7784            "type" : "array",
  7785            "description" : "RDS configurations for the cluster",
  7786            "uniqueItems" : true,
  7787            "items" : {
  7788              "$ref" : "#/definitions/RDSConfigResponse"
  7789            }
  7790          },
  7791          "serviceEndPoints" : {
  7792            "type" : "object",
  7793            "description" : "most important services in the cluster",
  7794            "additionalProperties" : {
  7795              "type" : "string"
  7796            }
  7797          },
  7798          "configStrategy" : {
  7799            "type" : "string",
  7800            "description" : "config recommendation strategy",
  7801            "enum" : [ "NEVER_APPLY", "ONLY_STACK_DEFAULTS_APPLY", "ALWAYS_APPLY", "ALWAYS_APPLY_DONT_OVERRIDE_CUSTOM_VALUES" ]
  7802          },
  7803          "ldapConfigId" : {
  7804            "type" : "integer",
  7805            "format" : "int64",
  7806            "description" : "LDAP config id for the cluster"
  7807          },
  7808          "ldapConfig" : {
  7809            "description" : "LDAP config for the cluster",
  7810            "$ref" : "#/definitions/LdapConfigResponse"
  7811          },
  7812          "attributes" : {
  7813            "type" : "object",
  7814            "description" : "Additional information for ambari cluster",
  7815            "additionalProperties" : {
  7816              "type" : "object"
  7817            }
  7818          },
  7819          "blueprintInputs" : {
  7820            "type" : "array",
  7821            "description" : "blueprint inputs in the cluster",
  7822            "uniqueItems" : true,
  7823            "items" : {
  7824              "$ref" : "#/definitions/BlueprintInput"
  7825            }
  7826          },
  7827          "blueprintCustomProperties" : {
  7828            "type" : "string",
  7829            "description" : "blueprint custom properties"
  7830          },
  7831          "executorType" : {
  7832            "type" : "string",
  7833            "description" : "executor type of cluster",
  7834            "enum" : [ "CONTAINER", "DEFAULT" ]
  7835          },
  7836          "gateway" : {
  7837            "$ref" : "#/definitions/GatewayJson"
  7838          },
  7839          "customContainers" : {
  7840            "description" : "custom containers",
  7841            "$ref" : "#/definitions/CustomContainerResponse"
  7842          },
  7843          "ambariStackDetails" : {
  7844            "description" : "details of the Ambari stack",
  7845            "$ref" : "#/definitions/AmbariStackDetailsResponse"
  7846          },
  7847          "ambariRepoDetailsJson" : {
  7848            "description" : "details of the Ambari package repository",
  7849            "$ref" : "#/definitions/AmbariRepoDetails"
  7850          },
  7851          "ambariDatabaseDetails" : {
  7852            "description" : "details of the external Ambari database",
  7853            "$ref" : "#/definitions/AmbariDatabaseDetails"
  7854          },
  7855          "customQueue" : {
  7856            "type" : "string",
  7857            "description" : "custom queue for yarn orchestrator"
  7858          }
  7859        }
  7860      },
  7861      "VmTypeJson" : {
  7862        "type" : "object",
  7863        "properties" : {
  7864          "value" : {
  7865            "type" : "string"
  7866          },
  7867          "vmTypeMetaJson" : {
  7868            "$ref" : "#/definitions/VmTypeMetaJson"
  7869          }
  7870        }
  7871      },
  7872      "RdsConfigProperty" : {
  7873        "type" : "object",
  7874        "properties" : {
  7875          "name" : {
  7876            "type" : "string"
  7877          },
  7878          "value" : {
  7879            "type" : "string"
  7880          }
  7881        }
  7882      },
  7883      "PlatformOrchestratorsJson" : {
  7884        "type" : "object",
  7885        "properties" : {
  7886          "orchestrators" : {
  7887            "type" : "object",
  7888            "description" : "orchestrators",
  7889            "additionalProperties" : {
  7890              "type" : "array",
  7891              "items" : {
  7892                "type" : "string"
  7893              }
  7894            }
  7895          },
  7896          "defaults" : {
  7897            "type" : "object",
  7898            "description" : "default orchestrators",
  7899            "additionalProperties" : {
  7900              "type" : "string"
  7901            }
  7902          }
  7903        }
  7904      },
  7905      "FailurePolicyResponse" : {
  7906        "type" : "object",
  7907        "required" : [ "adjustmentType" ],
  7908        "properties" : {
  7909          "threshold" : {
  7910            "type" : "integer",
  7911            "format" : "int64",
  7912            "description" : "threshold of failure policy"
  7913          },
  7914          "adjustmentType" : {
  7915            "type" : "string",
  7916            "description" : "type of  adjustment",
  7917            "enum" : [ "EXACT", "PERCENTAGE", "BEST_EFFORT" ]
  7918          },
  7919          "id" : {
  7920            "type" : "integer",
  7921            "format" : "int64",
  7922            "description" : "id of the resource"
  7923          }
  7924        }
  7925      },
  7926      "RecommendationResponse" : {
  7927        "type" : "object",
  7928        "properties" : {
  7929          "recommendations" : {
  7930            "type" : "object",
  7931            "additionalProperties" : {
  7932              "$ref" : "#/definitions/VmTypeJson"
  7933            }
  7934          },
  7935          "virtualMachines" : {
  7936            "type" : "array",
  7937            "uniqueItems" : true,
  7938            "items" : {
  7939              "$ref" : "#/definitions/VmTypeJson"
  7940            }
  7941          },
  7942          "diskResponses" : {
  7943            "type" : "array",
  7944            "uniqueItems" : true,
  7945            "items" : {
  7946              "$ref" : "#/definitions/DiskResponse"
  7947            }
  7948          }
  7949        }
  7950      },
  7951      "BlueprintRequest" : {
  7952        "type" : "object",
  7953        "required" : [ "name" ],
  7954        "properties" : {
  7955          "ambariBlueprint" : {
  7956            "type" : "string",
  7957            "description" : "ambari blueprint JSON, set this or the url field"
  7958          },
  7959          "description" : {
  7960            "type" : "string",
  7961            "description" : "description of the resource",
  7962            "minLength" : 0,
  7963            "maxLength" : 1000
  7964          },
  7965          "inputs" : {
  7966            "type" : "array",
  7967            "description" : "input parameters of the blueprint",
  7968            "uniqueItems" : true,
  7969            "items" : {
  7970              "$ref" : "#/definitions/BlueprintParameter"
  7971            }
  7972          },
  7973          "name" : {
  7974            "type" : "string",
  7975            "description" : "name of the resource",
  7976            "minLength" : 1,
  7977            "maxLength" : 100
  7978          },
  7979          "url" : {
  7980            "type" : "string",
  7981            "description" : "url source of an ambari blueprint, set this or the ambariBlueprint field"
  7982          },
  7983          "properties" : {
  7984            "type" : "array",
  7985            "description" : "properties to extend the blueprint with",
  7986            "items" : {
  7987              "type" : "object",
  7988              "additionalProperties" : {
  7989                "type" : "object",
  7990                "additionalProperties" : {
  7991                  "type" : "string"
  7992                }
  7993              }
  7994            }
  7995          }
  7996        }
  7997      },
  7998      "ByosV2Request" : {
  7999        "type" : "object",
  8000        "properties" : {
  8001          "customContainer" : {
  8002            "description" : "custom containers",
  8003            "$ref" : "#/definitions/CustomContainerRequest"
  8004          },
  8005          "customQueue" : {
  8006            "type" : "string",
  8007            "description" : "custom queue for yarn orchestrator"
  8008          }
  8009        }
  8010      },
  8011      "AmbariAddress" : {
  8012        "type" : "object",
  8013        "required" : [ "ambariAddress" ],
  8014        "properties" : {
  8015          "ambariAddress" : {
  8016            "type" : "string",
  8017            "description" : "ambari server address"
  8018          }
  8019        }
  8020      },
  8021      "NetworkV2Request" : {
  8022        "type" : "object",
  8023        "properties" : {
  8024          "subnetCIDR" : {
  8025            "type" : "string",
  8026            "description" : "the subnet definition of the network in CIDR format"
  8027          },
  8028          "parameters" : {
  8029            "type" : "object",
  8030            "description" : "provider specific parameters of the specified network",
  8031            "additionalProperties" : {
  8032              "type" : "object"
  8033            }
  8034          }
  8035        }
  8036      },
  8037      "AmbariV2Request" : {
  8038        "type" : "object",
  8039        "required" : [ "password", "userName" ],
  8040        "properties" : {
  8041          "blueprintId" : {
  8042            "type" : "integer",
  8043            "format" : "int64",
  8044            "description" : "blueprint id for the cluster"
  8045          },
  8046          "blueprintName" : {
  8047            "type" : "string",
  8048            "description" : "blueprint name for the cluster"
  8049          },
  8050          "gateway" : {
  8051            "$ref" : "#/definitions/GatewayJson"
  8052          },
  8053          "enableSecurity" : {
  8054            "type" : "boolean",
  8055            "description" : "enable Kerberos security",
  8056            "default" : false
  8057          },
  8058          "userName" : {
  8059            "type" : "string",
  8060            "description" : "ambari username",
  8061            "minLength" : 5,
  8062            "maxLength" : 15,
  8063            "pattern" : "([a-z][-a-z0-9]*[a-z0-9])"
  8064          },
  8065          "password" : {
  8066            "type" : "string",
  8067            "description" : "ambari password",
  8068            "minLength" : 5,
  8069            "maxLength" : 100
  8070          },
  8071          "kerberos" : {
  8072            "$ref" : "#/definitions/KerberosRequest"
  8073          },
  8074          "validateBlueprint" : {
  8075            "type" : "boolean",
  8076            "description" : "validate blueprint",
  8077            "default" : false
  8078          },
  8079          "ambariStackDetails" : {
  8080            "description" : "details of the Ambari stack",
  8081            "$ref" : "#/definitions/AmbariStackDetails"
  8082          },
  8083          "ambariRepoDetailsJson" : {
  8084            "description" : "details of the Ambari package repository",
  8085            "$ref" : "#/definitions/AmbariRepoDetails"
  8086          },
  8087          "ambariDatabaseDetails" : {
  8088            "description" : "details of the external Ambari database",
  8089            "$ref" : "#/definitions/AmbariDatabaseDetails"
  8090          },
  8091          "configStrategy" : {
  8092            "type" : "string",
  8093            "description" : "config recommendation strategy",
  8094            "enum" : [ "NEVER_APPLY", "ONLY_STACK_DEFAULTS_APPLY", "ALWAYS_APPLY", "ALWAYS_APPLY_DONT_OVERRIDE_CUSTOM_VALUES" ]
  8095          },
  8096          "blueprintInputs" : {
  8097            "type" : "array",
  8098            "description" : "blueprint inputs in the cluster",
  8099            "uniqueItems" : true,
  8100            "items" : {
  8101              "$ref" : "#/definitions/BlueprintInput"
  8102            }
  8103          },
  8104          "blueprintCustomProperties" : {
  8105            "type" : "string",
  8106            "description" : "blueprint custom properties"
  8107          },
  8108          "connectedCluster" : {
  8109            "description" : "cluster can connect to a datalake you can define the parameters here",
  8110            "$ref" : "#/definitions/ConnectedClusterRequest"
  8111          }
  8112        }
  8113      },
  8114      "AmbariStackDetailsResponse" : {
  8115        "type" : "object",
  8116        "properties" : {
  8117          "stack" : {
  8118            "type" : "object",
  8119            "additionalProperties" : {
  8120              "type" : "string"
  8121            }
  8122          },
  8123          "util" : {
  8124            "type" : "object",
  8125            "additionalProperties" : {
  8126              "type" : "string"
  8127            }
  8128          },
  8129          "knox" : {
  8130            "type" : "object",
  8131            "additionalProperties" : {
  8132              "type" : "string"
  8133            }
  8134          },
  8135          "verify" : {
  8136            "type" : "boolean",
  8137            "default" : false
  8138          },
  8139          "hdpVersion" : {
  8140            "type" : "string"
  8141          }
  8142        }
  8143      },
  8144      "Constraint" : {
  8145        "type" : "object",
  8146        "required" : [ "hostCount" ],
  8147        "properties" : {
  8148          "instanceGroupName" : {
  8149            "type" : "string",
  8150            "description" : "name of an instance group where the hostgroup will be deployed"
  8151          },
  8152          "constraintTemplateName" : {
  8153            "type" : "string",
  8154            "description" : "name of a constraint template that defines the resource constraints for the hostgroup"
  8155          },
  8156          "hostCount" : {
  8157            "type" : "integer",
  8158            "format" : "int32",
  8159            "description" : "number of hosts in the hostgroup"
  8160          }
  8161        }
  8162      },
  8163      "CloudbreakDetailsJson" : {
  8164        "type" : "object",
  8165        "properties" : {
  8166          "version" : {
  8167            "type" : "string",
  8168            "description" : "version of the Cloudbreak that provisioned the stack"
  8169          }
  8170        }
  8171      },
  8172      "HostGroupRequest" : {
  8173        "type" : "object",
  8174        "required" : [ "constraint", "name" ],
  8175        "properties" : {
  8176          "name" : {
  8177            "type" : "string",
  8178            "description" : "name of the resource"
  8179          },
  8180          "constraint" : {
  8181            "description" : "instance group or resource constraint for a hostgroup",
  8182            "$ref" : "#/definitions/Constraint"
  8183          },
  8184          "recipeIds" : {
  8185            "type" : "array",
  8186            "description" : "referenced recipe ids",
  8187            "uniqueItems" : true,
  8188            "items" : {
  8189              "type" : "integer",
  8190              "format" : "int64"
  8191            }
  8192          },
  8193          "recoveryMode" : {
  8194            "type" : "string",
  8195            "description" : "recovery mode of the hostgroup's nodes",
  8196            "enum" : [ "MANUAL", "AUTO" ]
  8197          },
  8198          "recipes" : {
  8199            "type" : "array",
  8200            "description" : "referenced recipes",
  8201            "uniqueItems" : true,
  8202            "items" : {
  8203              "$ref" : "#/definitions/RecipeRequest"
  8204            }
  8205          },
  8206          "recipeNames" : {
  8207            "type" : "array",
  8208            "description" : "referenced recipe names",
  8209            "uniqueItems" : true,
  8210            "items" : {
  8211              "type" : "string"
  8212            }
  8213          }
  8214        }
  8215      },
  8216      "UpdateStack" : {
  8217        "type" : "object",
  8218        "properties" : {
  8219          "status" : {
  8220            "type" : "string",
  8221            "description" : "status of the scale request",
  8222            "enum" : [ "SYNC", "FULL_SYNC", "REPAIR_FAILED_NODES", "STOPPED", "STARTED" ]
  8223          },
  8224          "withClusterEvent" : {
  8225            "type" : "boolean",
  8226            "description" : "on stack update, update cluster too",
  8227            "default" : false
  8228          },
  8229          "instanceGroupAdjustment" : {
  8230            "description" : "instance group adjustment",
  8231            "$ref" : "#/definitions/InstanceGroupAdjustment"
  8232          }
  8233        }
  8234      },
  8235      "PlatformVariantsJson" : {
  8236        "type" : "object",
  8237        "properties" : {
  8238          "platformToVariants" : {
  8239            "type" : "object",
  8240            "description" : "platform variants",
  8241            "additionalProperties" : {
  8242              "type" : "array",
  8243              "items" : {
  8244                "type" : "string"
  8245              }
  8246            }
  8247          },
  8248          "defaultVariants" : {
  8249            "type" : "object",
  8250            "description" : "default variants",
  8251            "additionalProperties" : {
  8252              "type" : "string"
  8253            }
  8254          }
  8255        }
  8256      },
  8257      "HostGroupAdjustment" : {
  8258        "type" : "object",
  8259        "required" : [ "hostGroup", "scalingAdjustment" ],
  8260        "properties" : {
  8261          "hostGroup" : {
  8262            "type" : "string",
  8263            "description" : "name of the host group"
  8264          },
  8265          "scalingAdjustment" : {
  8266            "type" : "integer",
  8267            "format" : "int32",
  8268            "description" : "scaling adjustment of the host groups"
  8269          },
  8270          "withStackUpdate" : {
  8271            "type" : "boolean",
  8272            "description" : "on cluster update, update stack too",
  8273            "default" : false
  8274          },
  8275          "validateNodeCount" : {
  8276            "type" : "boolean",
  8277            "description" : "validate node count during downscale",
  8278            "default" : false
  8279          }
  8280        }
  8281      },
  8282      "OperationDetails" : {
  8283        "type" : "object",
  8284        "properties" : {
  8285          "eventType" : {
  8286            "type" : "string"
  8287          },
  8288          "resourceId" : {
  8289            "type" : "integer",
  8290            "format" : "int64"
  8291          },
  8292          "resourceType" : {
  8293            "type" : "string"
  8294          },
  8295          "timestamp" : {
  8296            "type" : "integer",
  8297            "format" : "int64"
  8298          },
  8299          "account" : {
  8300            "type" : "string"
  8301          },
  8302          "userId" : {
  8303            "type" : "string"
  8304          },
  8305          "cloudbreakId" : {
  8306            "type" : "string"
  8307          },
  8308          "cloudbreakVersion" : {
  8309            "type" : "string"
  8310          }
  8311        }
  8312      },
  8313      "VmTypeMetaJson" : {
  8314        "type" : "object",
  8315        "properties" : {
  8316          "configs" : {
  8317            "type" : "array",
  8318            "items" : {
  8319              "$ref" : "#/definitions/VolumeParameterConfigJson"
  8320            }
  8321          },
  8322          "properties" : {
  8323            "type" : "object",
  8324            "additionalProperties" : {
  8325              "type" : "string"
  8326            }
  8327          }
  8328        }
  8329      },
  8330      "SecurityGroupV2Request" : {
  8331        "type" : "object",
  8332        "properties" : {
  8333          "securityGroupId" : {
  8334            "type" : "string",
  8335            "description" : "Exisiting security group id"
  8336          },
  8337          "securityRules" : {
  8338            "type" : "array",
  8339            "description" : "list of security rules that relates to the security group",
  8340            "items" : {
  8341              "$ref" : "#/definitions/SecurityRuleRequest"
  8342            }
  8343          }
  8344        }
  8345      },
  8346      "FileSystem" : {
  8347        "type" : "object",
  8348        "required" : [ "name", "type" ],
  8349        "properties" : {
  8350          "name" : {
  8351            "type" : "string",
  8352            "description" : "name of the filesystem"
  8353          },
  8354          "type" : {
  8355            "type" : "string",
  8356            "description" : "type of the filesystem",
  8357            "enum" : [ "WASB_INTEGRATED", "GCS", "WASB", "ADLS" ]
  8358          },
  8359          "defaultFs" : {
  8360            "type" : "boolean",
  8361            "description" : "true if fs.defaultFS should point to this filesystem",
  8362            "default" : false
  8363          },
  8364          "properties" : {
  8365            "type" : "object",
  8366            "description" : "configuration of the filesystem access as key-value pairs",
  8367            "additionalProperties" : {
  8368              "type" : "string"
  8369            }
  8370          }
  8371        }
  8372      },
  8373      "TemplateV2Request" : {
  8374        "type" : "object",
  8375        "required" : [ "instanceType" ],
  8376        "properties" : {
  8377          "volumeCount" : {
  8378            "type" : "integer",
  8379            "format" : "int32",
  8380            "description" : "number of volumes"
  8381          },
  8382          "volumeSize" : {
  8383            "type" : "integer",
  8384            "format" : "int32",
  8385            "description" : "size of volumes"
  8386          },
  8387          "parameters" : {
  8388            "type" : "object",
  8389            "description" : "cloud specific parameters for template",
  8390            "additionalProperties" : {
  8391              "type" : "object"
  8392            }
  8393          },
  8394          "volumeType" : {
  8395            "type" : "string",
  8396            "description" : "type of the volumes"
  8397          },
  8398          "instanceType" : {
  8399            "type" : "string",
  8400            "description" : "type of the instance"
  8401          }
  8402        }
  8403      },
  8404      "StackAuthenticationResponse" : {
  8405        "type" : "object",
  8406        "properties" : {
  8407          "publicKey" : {
  8408            "type" : "string",
  8409            "description" : "public key for accessing instances"
  8410          },
  8411          "publicKeyId" : {
  8412            "type" : "string",
  8413            "description" : "public key id for accessing instances"
  8414          },
  8415          "loginUserName" : {
  8416            "type" : "string",
  8417            "description" : "authentication name for machines"
  8418          }
  8419        }
  8420      },
  8421      "TopologyResponse" : {
  8422        "type" : "object",
  8423        "required" : [ "cloudPlatform", "name" ],
  8424        "properties" : {
  8425          "name" : {
  8426            "type" : "string",
  8427            "description" : "name of the resource",
  8428            "minLength" : 5,
  8429            "maxLength" : 100,
  8430            "pattern" : "([a-z][-a-z0-9]*[a-z0-9])"
  8431          },
  8432          "description" : {
  8433            "type" : "string",
  8434            "description" : "description of the resource",
  8435            "minLength" : 0,
  8436            "maxLength" : 1000
  8437          },
  8438          "cloudPlatform" : {
  8439            "type" : "string",
  8440            "description" : "type of cloud provider"
  8441          },
  8442          "nodes" : {
  8443            "type" : "object",
  8444            "description" : "topology mapping",
  8445            "additionalProperties" : {
  8446              "type" : "string"
  8447            }
  8448          },
  8449          "id" : {
  8450            "type" : "integer",
  8451            "format" : "int64",
  8452            "description" : "id of the resource"
  8453          }
  8454        }
  8455      },
  8456      "PlatformVmtypesResponse" : {
  8457        "type" : "object",
  8458        "properties" : {
  8459          "vmTypes" : {
  8460            "type" : "object",
  8461            "additionalProperties" : {
  8462              "$ref" : "#/definitions/VirtualMachinesResponse"
  8463            }
  8464          }
  8465        }
  8466      },
  8467      "UserNamePassword" : {
  8468        "type" : "object",
  8469        "required" : [ "oldPassword", "password", "userName" ],
  8470        "properties" : {
  8471          "userName" : {
  8472            "type" : "string",
  8473            "description" : "new user name in ambari",
  8474            "minLength" : 1,
  8475            "maxLength" : 2147483647
  8476          },
  8477          "oldPassword" : {
  8478            "type" : "string",
  8479            "description" : "old password in ambari",
  8480            "minLength" : 1,
  8481            "maxLength" : 2147483647
  8482          },
  8483          "password" : {
  8484            "type" : "string",
  8485            "description" : "new password in ambari",
  8486            "minLength" : 1,
  8487            "maxLength" : 2147483647
  8488          }
  8489        }
  8490      },
  8491      "FailurePolicyRequest" : {
  8492        "type" : "object",
  8493        "required" : [ "adjustmentType" ],
  8494        "properties" : {
  8495          "threshold" : {
  8496            "type" : "integer",
  8497            "format" : "int64",
  8498            "description" : "threshold of failure policy"
  8499          },
  8500          "adjustmentType" : {
  8501            "type" : "string",
  8502            "description" : "type of  adjustment",
  8503            "enum" : [ "EXACT", "PERCENTAGE", "BEST_EFFORT" ]
  8504          }
  8505        }
  8506      },
  8507      "RegionResponse" : {
  8508        "type" : "object",
  8509        "properties" : {
  8510          "regions" : {
  8511            "type" : "array",
  8512            "description" : "regions",
  8513            "uniqueItems" : true,
  8514            "items" : {
  8515              "type" : "string"
  8516            }
  8517          },
  8518          "displayNames" : {
  8519            "type" : "object",
  8520            "description" : "regions with displayNames",
  8521            "additionalProperties" : {
  8522              "type" : "string"
  8523            }
  8524          },
  8525          "availabilityZones" : {
  8526            "type" : "object",
  8527            "description" : "availability zones",
  8528            "additionalProperties" : {
  8529              "type" : "array",
  8530              "items" : {
  8531                "type" : "string"
  8532              }
  8533            }
  8534          },
  8535          "defaultRegion" : {
  8536            "type" : "string",
  8537            "description" : "default regions"
  8538          }
  8539        }
  8540      },
  8541      "StackValidationRequest" : {
  8542        "type" : "object",
  8543        "required" : [ "hostGroups", "instanceGroups", "platform" ],
  8544        "properties" : {
  8545          "hostGroups" : {
  8546            "type" : "array",
  8547            "description" : "collection of hostgroups",
  8548            "uniqueItems" : true,
  8549            "items" : {
  8550              "$ref" : "#/definitions/HostGroupRequest"
  8551            }
  8552          },
  8553          "instanceGroups" : {
  8554            "type" : "array",
  8555            "description" : "collection of instance groupst",
  8556            "uniqueItems" : true,
  8557            "items" : {
  8558              "$ref" : "#/definitions/instanceGroups"
  8559            }
  8560          },
  8561          "blueprintId" : {
  8562            "type" : "integer",
  8563            "format" : "int64",
  8564            "description" : "blueprint id for the cluster"
  8565          },
  8566          "blueprint" : {
  8567            "description" : "blueprint for the cluster",
  8568            "$ref" : "#/definitions/BlueprintRequest"
  8569          },
  8570          "networkId" : {
  8571            "type" : "integer",
  8572            "format" : "int64",
  8573            "description" : "network resource id for the stack"
  8574          },
  8575          "network" : {
  8576            "description" : "stack related network",
  8577            "$ref" : "#/definitions/NetworkRequest"
  8578          },
  8579          "platform" : {
  8580            "type" : "string",
  8581            "description" : "type of cloud provider"
  8582          },
  8583          "credentialId" : {
  8584            "type" : "integer",
  8585            "format" : "int64",
  8586            "description" : "credential resource id for the stack"
  8587          },
  8588          "credentialName" : {
  8589            "type" : "string",
  8590            "description" : "credential resource name for the stack"
  8591          },
  8592          "credential" : {
  8593            "description" : "stack related credential",
  8594            "$ref" : "#/definitions/CredentialRequest"
  8595          },
  8596          "fileSystem" : {
  8597            "description" : "cluster related filesystem",
  8598            "$ref" : "#/definitions/FileSystem"
  8599          }
  8600        }
  8601      },
  8602      "CustomContainerRequest" : {
  8603        "type" : "object",
  8604        "properties" : {
  8605          "definitions" : {
  8606            "type" : "object",
  8607            "additionalProperties" : {
  8608              "type" : "string"
  8609            }
  8610          }
  8611        }
  8612      },
  8613      "NetworkRequest" : {
  8614        "type" : "object",
  8615        "required" : [ "cloudPlatform", "name" ],
  8616        "properties" : {
  8617          "description" : {
  8618            "type" : "string",
  8619            "description" : "description of the resource",
  8620            "minLength" : 0,
  8621            "maxLength" : 1000
  8622          },
  8623          "subnetCIDR" : {
  8624            "type" : "string",
  8625            "description" : "the subnet definition of the network in CIDR format"
  8626          },
  8627          "cloudPlatform" : {
  8628            "type" : "string",
  8629            "description" : "type of cloud provider"
  8630          },
  8631          "parameters" : {
  8632            "type" : "object",
  8633            "description" : "provider specific parameters of the specified network",
  8634            "additionalProperties" : {
  8635              "type" : "object"
  8636            }
  8637          },
  8638          "topologyId" : {
  8639            "type" : "integer",
  8640            "format" : "int64",
  8641            "description" : "id of the topology the resource belongs to"
  8642          },
  8643          "name" : {
  8644            "type" : "string",
  8645            "description" : "name of the resource",
  8646            "pattern" : "([a-z][-a-z0-9]*[a-z0-9])"
  8647          }
  8648        }
  8649      },
  8650      "FlexSubscriptionRequest" : {
  8651        "type" : "object",
  8652        "required" : [ "name" ],
  8653        "properties" : {
  8654          "name" : {
  8655            "type" : "string",
  8656            "description" : "name of the resource"
  8657          },
  8658          "subscriptionId" : {
  8659            "type" : "string",
  8660            "description" : "Identifier of Flex subscription.",
  8661            "readOnly" : true,
  8662            "pattern" : "^(FLEX-[0-9]{10}$)"
  8663          },
  8664          "smartSenseSubscriptionId" : {
  8665            "type" : "integer",
  8666            "format" : "int64",
  8667            "description" : "Identifier of SmartSense subscription Cloudbreak domain object json representation.",
  8668            "readOnly" : true
  8669          },
  8670          "usedForController" : {
  8671            "type" : "boolean",
  8672            "description" : "true if the flex subscription was used for the controller",
  8673            "default" : false
  8674          },
  8675          "default" : {
  8676            "type" : "boolean",
  8677            "default" : false
  8678          }
  8679        }
  8680      },
  8681      "CredentialResponse" : {
  8682        "type" : "object",
  8683        "required" : [ "cloudPlatform", "name" ],
  8684        "properties" : {
  8685          "name" : {
  8686            "type" : "string",
  8687            "description" : "name of the resource",
  8688            "minLength" : 5,
  8689            "maxLength" : 100,
  8690            "pattern" : "([a-z][-a-z0-9]*[a-z0-9])"
  8691          },
  8692          "cloudPlatform" : {
  8693            "type" : "string",
  8694            "description" : "type of cloud provider"
  8695          },
  8696          "parameters" : {
  8697            "type" : "object",
  8698            "description" : "cloud specific parameters for credential",
  8699            "additionalProperties" : {
  8700              "type" : "object"
  8701            }
  8702          },
  8703          "description" : {
  8704            "type" : "string",
  8705            "description" : "description of the resource",
  8706            "minLength" : 0,
  8707            "maxLength" : 1000
  8708          },
  8709          "topologyId" : {
  8710            "type" : "integer",
  8711            "format" : "int64",
  8712            "description" : "id of the topology the resource belongs to"
  8713          },
  8714          "id" : {
  8715            "type" : "integer",
  8716            "format" : "int64",
  8717            "description" : "id of the resource"
  8718          },
  8719          "public" : {
  8720            "type" : "boolean",
  8721            "description" : "resource is visible in account",
  8722            "default" : false
  8723          }
  8724        }
  8725      },
  8726      "BaseImageResponse" : {
  8727        "type" : "object",
  8728        "properties" : {
  8729          "hdpStacks" : {
  8730            "type" : "array",
  8731            "items" : {
  8732              "$ref" : "#/definitions/StackDetailsJson"
  8733            }
  8734          },
  8735          "hdfStacks" : {
  8736            "type" : "array",
  8737            "items" : {
  8738              "$ref" : "#/definitions/StackDetailsJson"
  8739            }
  8740          },
  8741          "date" : {
  8742            "type" : "string"
  8743          },
  8744          "description" : {
  8745            "type" : "string"
  8746          },
  8747          "os" : {
  8748            "type" : "string"
  8749          },
  8750          "uuid" : {
  8751            "type" : "string"
  8752          },
  8753          "version" : {
  8754            "type" : "string"
  8755          },
  8756          "repo" : {
  8757            "type" : "object",
  8758            "additionalProperties" : {
  8759              "type" : "string"
  8760            }
  8761          },
  8762          "images" : {
  8763            "type" : "object",
  8764            "additionalProperties" : {
  8765              "type" : "object",
  8766              "additionalProperties" : {
  8767                "type" : "string"
  8768              }
  8769            }
  8770          },
  8771          "stackDetails" : {
  8772            "$ref" : "#/definitions/StackDetailsJson"
  8773          }
  8774        }
  8775      },
  8776      "PlatformResourceRequestJson" : {
  8777        "type" : "object",
  8778        "properties" : {
  8779          "credentialId" : {
  8780            "type" : "integer",
  8781            "format" : "int64",
  8782            "description" : "credential resource id for the request"
  8783          },
  8784          "credentialName" : {
  8785            "type" : "string",
  8786            "description" : "credential resource name for the request"
  8787          },
  8788          "region" : {
  8789            "type" : "string",
  8790            "description" : "Related region"
  8791          },
  8792          "platformVariant" : {
  8793            "type" : "string",
  8794            "description" : "cloud provider api variant"
  8795          },
  8796          "filters" : {
  8797            "type" : "object",
  8798            "description" : "filter for resources",
  8799            "additionalProperties" : {
  8800              "type" : "string"
  8801            }
  8802          },
  8803          "availabilityZone" : {
  8804            "type" : "string",
  8805            "description" : "related availability zone"
  8806          }
  8807        }
  8808      },
  8809      "BlueprintResponse" : {
  8810        "type" : "object",
  8811        "required" : [ "name" ],
  8812        "properties" : {
  8813          "ambariBlueprint" : {
  8814            "type" : "string",
  8815            "description" : "ambari blueprint JSON, set this or the url field"
  8816          },
  8817          "description" : {
  8818            "type" : "string",
  8819            "description" : "description of the resource",
  8820            "minLength" : 0,
  8821            "maxLength" : 1000
  8822          },
  8823          "inputs" : {
  8824            "type" : "array",
  8825            "description" : "input parameters of the blueprint",
  8826            "uniqueItems" : true,
  8827            "items" : {
  8828              "$ref" : "#/definitions/BlueprintParameter"
  8829            }
  8830          },
  8831          "name" : {
  8832            "type" : "string",
  8833            "description" : "name of the resource"
  8834          },
  8835          "id" : {
  8836            "type" : "integer",
  8837            "format" : "int64",
  8838            "description" : "id of the resource"
  8839          },
  8840          "hostGroupCount" : {
  8841            "type" : "integer",
  8842            "format" : "int32",
  8843            "description" : "number of host groups"
  8844          },
  8845          "status" : {
  8846            "type" : "string",
  8847            "description" : "status of the blueprint",
  8848            "enum" : [ "DEFAULT", "DEFAULT_DELETED", "USER_MANAGED" ]
  8849          },
  8850          "public" : {
  8851            "type" : "boolean",
  8852            "description" : "resource is visible in account",
  8853            "default" : false
  8854          }
  8855        }
  8856      },
  8857      "InstanceGroupAdjustment" : {
  8858        "type" : "object",
  8859        "required" : [ "instanceGroup", "scalingAdjustment" ],
  8860        "properties" : {
  8861          "instanceGroup" : {
  8862            "type" : "string",
  8863            "description" : "name of the instance group"
  8864          },
  8865          "scalingAdjustment" : {
  8866            "type" : "integer",
  8867            "format" : "int32",
  8868            "description" : "scaling adjustment of the instance groups"
  8869          }
  8870        }
  8871      },
  8872      "CredentialSourceRequest" : {
  8873        "type" : "object",
  8874        "required" : [ "sourceId", "sourceName" ],
  8875        "properties" : {
  8876          "sourceName" : {
  8877            "type" : "string",
  8878            "description" : "name of the resource"
  8879          },
  8880          "sourceId" : {
  8881            "type" : "integer",
  8882            "format" : "int64",
  8883            "description" : "id of the resource"
  8884          },
  8885          "parameters" : {
  8886            "type" : "object",
  8887            "description" : "cloud specific parameters for credential",
  8888            "additionalProperties" : {
  8889              "type" : "object"
  8890            }
  8891          }
  8892        }
  8893      },
  8894      "FlexUsageComponentJson" : {
  8895        "type" : "object",
  8896        "properties" : {
  8897          "componentId" : {
  8898            "type" : "string"
  8899          },
  8900          "instances" : {
  8901            "type" : "array",
  8902            "items" : {
  8903              "$ref" : "#/definitions/FlexUsageComponentInstanceJson"
  8904            }
  8905          }
  8906        }
  8907      },
  8908      "RDSConfigResponse" : {
  8909        "type" : "object",
  8910        "required" : [ "connectionURL", "databaseType", "hdpVersion", "name" ],
  8911        "properties" : {
  8912          "connectionURL" : {
  8913            "type" : "string",
  8914            "description" : "JDBC connection URL in the form of jdbc:<db-type>://<address>:<port>/<db>",
  8915            "pattern" : "^jdbc:postgresql://[-\\w\\.]*:\\d{1,5}/?\\w*"
  8916          },
  8917          "databaseType" : {
  8918            "type" : "string",
  8919            "description" : "Type of the external database (allowed values: MYSQL, POSTGRES)",
  8920            "enum" : [ "POSTGRES" ]
  8921          },
  8922          "hdpVersion" : {
  8923            "type" : "string",
  8924            "description" : "HDP version for the RDS configuration"
  8925          },
  8926          "validated" : {
  8927            "type" : "boolean",
  8928            "description" : "If true, then the RDS configuration will be validated",
  8929            "default" : false
  8930          },
  8931          "type" : {
  8932            "type" : "string",
  8933            "description" : "Type of rds (HIVE or RANGER)",
  8934            "enum" : [ "HIVE", "RANGER", "DRUID" ]
  8935          },
  8936          "properties" : {
  8937            "type" : "array",
  8938            "description" : "custom properties for rds connection",
  8939            "uniqueItems" : true,
  8940            "items" : {
  8941              "$ref" : "#/definitions/RdsConfigProperty"
  8942            }
  8943          },
  8944          "name" : {
  8945            "type" : "string",
  8946            "description" : "Name of the RDS configuration resource"
  8947          },
  8948          "id" : {
  8949            "type" : "integer",
  8950            "format" : "int64",
  8951            "description" : "id of the resource"
  8952          },
  8953          "creationDate" : {
  8954            "type" : "integer",
  8955            "format" : "int64",
  8956            "description" : "creation time of the resource in long"
  8957          },
  8958          "publicInAccount" : {
  8959            "type" : "boolean",
  8960            "description" : "resource is visible in account",
  8961            "default" : false
  8962          },
  8963          "clusterNames" : {
  8964            "type" : "array",
  8965            "description" : "list of clusters which use config",
  8966            "uniqueItems" : true,
  8967            "items" : {
  8968              "type" : "string"
  8969            }
  8970          }
  8971        }
  8972      },
  8973      "instanceGroups" : {
  8974        "type" : "object",
  8975        "required" : [ "group", "nodeCount" ],
  8976        "properties" : {
  8977          "templateId" : {
  8978            "type" : "integer",
  8979            "format" : "int64",
  8980            "description" : "referenced template id"
  8981          },
  8982          "securityGroupId" : {
  8983            "type" : "integer",
  8984            "format" : "int64",
  8985            "description" : "security group resource id for the instance group"
  8986          },
  8987          "nodeCount" : {
  8988            "type" : "integer",
  8989            "format" : "int32",
  8990            "description" : "number of nodes",
  8991            "minimum" : 0.0,
  8992            "maximum" : 100000.0
  8993          },
  8994          "group" : {
  8995            "type" : "string",
  8996            "description" : "name of the instance group"
  8997          },
  8998          "type" : {
  8999            "type" : "string",
  9000            "description" : "type of the instance group",
  9001            "enum" : [ "GATEWAY", "CORE" ]
  9002          },
  9003          "parameters" : {
  9004            "type" : "object",
  9005            "description" : "cloud specific parameters for instance group",
  9006            "additionalProperties" : {
  9007              "type" : "object"
  9008            }
  9009          },
  9010          "template" : {
  9011            "description" : "instancegroup related template",
  9012            "$ref" : "#/definitions/TemplateRequest"
  9013          },
  9014          "securityGroup" : {
  9015            "description" : "instancegroup related securitygroup",
  9016            "$ref" : "#/definitions/SecurityGroupRequest"
  9017          }
  9018        }
  9019      },
  9020      "ClusterTemplateRequest" : {
  9021        "type" : "object",
  9022        "required" : [ "name" ],
  9023        "properties" : {
  9024          "name" : {
  9025            "type" : "string",
  9026            "description" : "name of the cluster template"
  9027          },
  9028          "template" : {
  9029            "type" : "string",
  9030            "description" : "stringified template JSON"
  9031          },
  9032          "type" : {
  9033            "type" : "string",
  9034            "description" : "type of the cluster template",
  9035            "enum" : [ "QUICK_START" ]
  9036          }
  9037        }
  9038      },
  9039      "PlatformDisksJson" : {
  9040        "type" : "object",
  9041        "properties" : {
  9042          "diskTypes" : {
  9043            "type" : "object",
  9044            "description" : "disk types",
  9045            "additionalProperties" : {
  9046              "type" : "array",
  9047              "items" : {
  9048                "type" : "string"
  9049              }
  9050            }
  9051          },
  9052          "defaultDisks" : {
  9053            "type" : "object",
  9054            "description" : "default disks",
  9055            "additionalProperties" : {
  9056              "type" : "string"
  9057            }
  9058          },
  9059          "diskMappings" : {
  9060            "type" : "object",
  9061            "description" : "disk mappings",
  9062            "additionalProperties" : {
  9063              "type" : "object",
  9064              "additionalProperties" : {
  9065                "type" : "string"
  9066              }
  9067            }
  9068          },
  9069          "displayNames" : {
  9070            "type" : "object",
  9071            "description" : "disk displayNames",
  9072            "additionalProperties" : {
  9073              "type" : "object",
  9074              "additionalProperties" : {
  9075                "type" : "string"
  9076              }
  9077            }
  9078          }
  9079        }
  9080      },
  9081      "ConstraintTemplateRequest" : {
  9082        "type" : "object",
  9083        "required" : [ "cpu", "disk", "memory", "name", "orchestratorType" ],
  9084        "properties" : {
  9085          "name" : {
  9086            "type" : "string",
  9087            "description" : "name of the resource",
  9088            "minLength" : 5,
  9089            "maxLength" : 100,
  9090            "pattern" : "([a-z][-a-z0-9]*[a-z0-9])"
  9091          },
  9092          "description" : {
  9093            "type" : "string",
  9094            "description" : "description of the resource",
  9095            "minLength" : 0,
  9096            "maxLength" : 1000
  9097          },
  9098          "cpu" : {
  9099            "type" : "number",
  9100            "format" : "double",
  9101            "description" : "number of CPU cores needed for the Ambari node"
  9102          },
  9103          "memory" : {
  9104            "type" : "number",
  9105            "format" : "double",
  9106            "description" : "memory needed for the Ambari container (GB)"
  9107          },
  9108          "disk" : {
  9109            "type" : "number",
  9110            "format" : "double",
  9111            "description" : "disk size needed for an Ambari node (GB)"
  9112          },
  9113          "orchestratorType" : {
  9114            "type" : "string",
  9115            "description" : "type of orchestrator"
  9116          }
  9117        }
  9118      },
  9119      "PlatformVirtualMachinesJson" : {
  9120        "type" : "object",
  9121        "properties" : {
  9122          "virtualMachines" : {
  9123            "type" : "object",
  9124            "description" : "virtual machines",
  9125            "additionalProperties" : {
  9126              "type" : "array",
  9127              "items" : {
  9128                "$ref" : "#/definitions/VmTypeJson"
  9129              }
  9130            }
  9131          },
  9132          "defaultVirtualMachines" : {
  9133            "type" : "object",
  9134            "description" : "default virtual machines",
  9135            "additionalProperties" : {
  9136              "type" : "string"
  9137            }
  9138          },
  9139          "vmTypesPerZones" : {
  9140            "type" : "object",
  9141            "description" : "virtual machines per zones",
  9142            "additionalProperties" : {
  9143              "type" : "object",
  9144              "additionalProperties" : {
  9145                "type" : "array",
  9146                "items" : {
  9147                  "$ref" : "#/definitions/VmTypeJson"
  9148                }
  9149              }
  9150            }
  9151          },
  9152          "defaultVmTypePerZones" : {
  9153            "type" : "object",
  9154            "description" : "default virtual machines per zones",
  9155            "additionalProperties" : {
  9156              "type" : "object",
  9157              "additionalProperties" : {
  9158                "type" : "string"
  9159              }
  9160            }
  9161          }
  9162        }
  9163      },
  9164      "UpdateCluster" : {
  9165        "type" : "object",
  9166        "properties" : {
  9167          "hostGroupAdjustment" : {
  9168            "description" : "host group adjustment",
  9169            "$ref" : "#/definitions/HostGroupAdjustment"
  9170          },
  9171          "status" : {
  9172            "type" : "string",
  9173            "description" : "request status",
  9174            "enum" : [ "SYNC", "FULL_SYNC", "REPAIR_FAILED_NODES", "STOPPED", "STARTED" ]
  9175          },
  9176          "userNamePasswordJson" : {
  9177            "description" : "user details",
  9178            "$ref" : "#/definitions/UserNamePassword"
  9179          },
  9180          "blueprintId" : {
  9181            "type" : "integer",
  9182            "format" : "int64",
  9183            "description" : "blueprint id for the cluster"
  9184          },
  9185          "validateBlueprint" : {
  9186            "type" : "boolean",
  9187            "description" : "validate blueprint",
  9188            "default" : false
  9189          },
  9190          "hostgroups" : {
  9191            "type" : "array",
  9192            "description" : "collection of hostgroups",
  9193            "uniqueItems" : true,
  9194            "items" : {
  9195              "$ref" : "#/definitions/HostGroupRequest"
  9196            }
  9197          },
  9198          "ambariStackDetails" : {
  9199            "description" : "details of the Ambari stack",
  9200            "$ref" : "#/definitions/AmbariStackDetails"
  9201          }
  9202        }
  9203      },
  9204      "CredentialRequest" : {
  9205        "type" : "object",
  9206        "required" : [ "cloudPlatform", "name" ],
  9207        "properties" : {
  9208          "name" : {
  9209            "type" : "string",
  9210            "description" : "name of the resource",
  9211            "minLength" : 5,
  9212            "maxLength" : 100,
  9213            "pattern" : "([a-z][-a-z0-9]*[a-z0-9])"
  9214          },
  9215          "cloudPlatform" : {
  9216            "type" : "string",
  9217            "description" : "type of cloud provider"
  9218          },
  9219          "parameters" : {
  9220            "type" : "object",
  9221            "description" : "cloud specific parameters for credential",
  9222            "additionalProperties" : {
  9223              "type" : "object"
  9224            }
  9225          },
  9226          "description" : {
  9227            "type" : "string",
  9228            "description" : "description of the resource",
  9229            "minLength" : 0,
  9230            "maxLength" : 1000
  9231          },
  9232          "topologyId" : {
  9233            "type" : "integer",
  9234            "format" : "int64",
  9235            "description" : "id of the topology the resource belongs to"
  9236          }
  9237        }
  9238      },
  9239      "FailureReport" : {
  9240        "type" : "object",
  9241        "required" : [ "failedNodes" ],
  9242        "properties" : {
  9243          "failedNodes" : {
  9244            "type" : "array",
  9245            "description" : "List of failed nodes",
  9246            "items" : {
  9247              "type" : "string"
  9248            }
  9249          }
  9250        }
  9251      },
  9252      "StackAuthentication" : {
  9253        "type" : "object",
  9254        "properties" : {
  9255          "publicKey" : {
  9256            "type" : "string",
  9257            "description" : "public key for accessing instances"
  9258          },
  9259          "publicKeyId" : {
  9260            "type" : "string",
  9261            "description" : "public key id for accessing instances"
  9262          },
  9263          "loginUserName" : {
  9264            "type" : "string",
  9265            "description" : "authentication name for machines"
  9266          }
  9267        }
  9268      },
  9269      "User" : {
  9270        "type" : "object",
  9271        "properties" : {
  9272          "username" : {
  9273            "type" : "string"
  9274          }
  9275        }
  9276      },
  9277      "UserProfileResponse" : {
  9278        "type" : "object",
  9279        "properties" : {
  9280          "credential" : {
  9281            "$ref" : "#/definitions/CredentialResponse"
  9282          },
  9283          "owner" : {
  9284            "type" : "string"
  9285          },
  9286          "account" : {
  9287            "type" : "string"
  9288          },
  9289          "uiProperties" : {
  9290            "type" : "object",
  9291            "additionalProperties" : {
  9292              "type" : "object"
  9293            }
  9294          }
  9295        }
  9296      },
  9297      "SecurityRuleResponse" : {
  9298        "type" : "object",
  9299        "required" : [ "ports", "protocol", "subnet" ],
  9300        "properties" : {
  9301          "subnet" : {
  9302            "type" : "string",
  9303            "description" : "definition of allowed subnet in CIDR format",
  9304            "pattern" : "^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])(\\/([0-9]|[1-2][0-9]|3[0-2]))$"
  9305          },
  9306          "ports" : {
  9307            "type" : "string",
  9308            "description" : "comma separated list of accessible ports",
  9309            "pattern" : "^[1-9][0-9]{0,4}(-[1-9][0-9]{0,4}){0,1}(,[1-9][0-9]{0,4}(-[1-9][0-9]{0,4}){0,1})*$"
  9310          },
  9311          "protocol" : {
  9312            "type" : "string",
  9313            "description" : "protocol of the rule"
  9314          },
  9315          "modifiable" : {
  9316            "type" : "boolean",
  9317            "description" : "flag for making the rule modifiable",
  9318            "default" : false
  9319          },
  9320          "id" : {
  9321            "type" : "integer",
  9322            "format" : "int64",
  9323            "description" : "id of the resource"
  9324          }
  9325        }
  9326      },
  9327      "VolumeParameterConfigJson" : {
  9328        "type" : "object",
  9329        "properties" : {
  9330          "volumeParameterType" : {
  9331            "type" : "string"
  9332          },
  9333          "minimumSize" : {
  9334            "type" : "integer",
  9335            "format" : "int32"
  9336          },
  9337          "maximumSize" : {
  9338            "type" : "integer",
  9339            "format" : "int32"
  9340          },
  9341          "minimumNumber" : {
  9342            "type" : "integer",
  9343            "format" : "int32"
  9344          },
  9345          "maximumNumber" : {
  9346            "type" : "integer",
  9347            "format" : "int32"
  9348          }
  9349        }
  9350      },
  9351      "SmartSenseSubscriptionJson" : {
  9352        "type" : "object",
  9353        "required" : [ "subscriptionId" ],
  9354        "properties" : {
  9355          "id" : {
  9356            "type" : "integer",
  9357            "format" : "int64",
  9358            "description" : "id of the resource",
  9359            "readOnly" : true
  9360          },
  9361          "subscriptionId" : {
  9362            "type" : "string",
  9363            "description" : "Identifier of SmartSense subscription.",
  9364            "pattern" : "^([a-zA-Z]{1}-[0-9]{8}-[a-zA-Z]{1}-[0-9]{8}$)"
  9365          },
  9366          "owner" : {
  9367            "type" : "string",
  9368            "description" : "id of the resource owner that is provided by OAuth provider",
  9369            "readOnly" : true
  9370          },
  9371          "account" : {
  9372            "type" : "string",
  9373            "description" : "account id of the resource owner that is provided by OAuth provider",
  9374            "readOnly" : true
  9375          },
  9376          "publicInAccount" : {
  9377            "type" : "boolean",
  9378            "description" : "resource is visible in account",
  9379            "readOnly" : true,
  9380            "default" : false
  9381          },
  9382          "autoGenerated" : {
  9383            "type" : "boolean",
  9384            "description" : "Flag of aut generated SmartSense subscription.",
  9385            "default" : false
  9386          }
  9387        }
  9388      },
  9389      "InstanceGroupResponse" : {
  9390        "type" : "object",
  9391        "required" : [ "group", "nodeCount" ],
  9392        "properties" : {
  9393          "templateId" : {
  9394            "type" : "integer",
  9395            "format" : "int64",
  9396            "description" : "referenced template id"
  9397          },
  9398          "securityGroupId" : {
  9399            "type" : "integer",
  9400            "format" : "int64",
  9401            "description" : "security group resource id for the instance group"
  9402          },
  9403          "nodeCount" : {
  9404            "type" : "integer",
  9405            "format" : "int32",
  9406            "description" : "number of nodes",
  9407            "minimum" : 0.0,
  9408            "maximum" : 100000.0
  9409          },
  9410          "group" : {
  9411            "type" : "string",
  9412            "description" : "name of the instance group"
  9413          },
  9414          "type" : {
  9415            "type" : "string",
  9416            "description" : "type of the instance group",
  9417            "enum" : [ "GATEWAY", "CORE" ]
  9418          },
  9419          "parameters" : {
  9420            "type" : "object",
  9421            "description" : "cloud specific parameters for instance group",
  9422            "additionalProperties" : {
  9423              "type" : "object"
  9424            }
  9425          },
  9426          "template" : {
  9427            "description" : "instancegroup related template",
  9428            "$ref" : "#/definitions/TemplateResponse"
  9429          },
  9430          "securityGroup" : {
  9431            "description" : "instancegroup related securitygroup",
  9432            "$ref" : "#/definitions/SecurityGroupResponse"
  9433          },
  9434          "id" : {
  9435            "type" : "integer",
  9436            "format" : "int64",
  9437            "description" : "id of the resource",
  9438            "readOnly" : true
  9439          },
  9440          "metadata" : {
  9441            "type" : "array",
  9442            "description" : "metadata of instances",
  9443            "readOnly" : true,
  9444            "uniqueItems" : true,
  9445            "items" : {
  9446              "$ref" : "#/definitions/InstanceMetaData"
  9447            }
  9448          }
  9449        }
  9450      },
  9451      "RdsTestResult" : {
  9452        "type" : "object",
  9453        "required" : [ "connectionResult" ],
  9454        "properties" : {
  9455          "connectionResult" : {
  9456            "type" : "string",
  9457            "description" : "result of Ldap connection test"
  9458          }
  9459        }
  9460      },
  9461      "CloudbreakUsage" : {
  9462        "type" : "object",
  9463        "properties" : {
  9464          "owner" : {
  9465            "type" : "string",
  9466            "description" : "id of the resource owner that is provided by OAuth provider"
  9467          },
  9468          "username" : {
  9469            "type" : "string",
  9470            "description" : "ambari username"
  9471          },
  9472          "account" : {
  9473            "type" : "string",
  9474            "description" : "account id of the resource owner that is provided by OAuth provider"
  9475          },
  9476          "day" : {
  9477            "type" : "string",
  9478            "description" : "the day the usage of resources happened"
  9479          },
  9480          "provider" : {
  9481            "type" : "string",
  9482            "description" : "cloud provider of the stack"
  9483          },
  9484          "region" : {
  9485            "type" : "string",
  9486            "description" : "region of the stack"
  9487          },
  9488          "availabilityZone" : {
  9489            "type" : "string",
  9490            "description" : "availability zone of the stack"
  9491          },
  9492          "instanceHours" : {
  9493            "type" : "integer",
  9494            "format" : "int64",
  9495            "description" : "hours since the instance is running"
  9496          },
  9497          "stackId" : {
  9498            "type" : "integer",
  9499            "format" : "int64",
  9500            "description" : "id of the stack"
  9501          },
  9502          "stackName" : {
  9503            "type" : "string",
  9504            "description" : "name of the stack"
  9505          },
  9506          "costs" : {
  9507            "type" : "number",
  9508            "format" : "double",
  9509            "description" : "computed costs of instance usage"
  9510          },
  9511          "instanceType" : {
  9512            "type" : "string",
  9513            "description" : "type of instance"
  9514          },
  9515          "instanceGroup" : {
  9516            "type" : "string",
  9517            "description" : "group name of instance"
  9518          },
  9519          "blueprintId" : {
  9520            "type" : "integer",
  9521            "format" : "int64",
  9522            "description" : "id of the blueprint"
  9523          },
  9524          "blueprintName" : {
  9525            "type" : "string",
  9526            "description" : "name of the blueprint"
  9527          },
  9528          "duration" : {
  9529            "type" : "string",
  9530            "description" : "time since the instances are running in millisec"
  9531          },
  9532          "instanceNum" : {
  9533            "type" : "integer",
  9534            "format" : "int32",
  9535            "description" : "number of instances running"
  9536          },
  9537          "peak" : {
  9538            "type" : "integer",
  9539            "format" : "int32",
  9540            "description" : "maximum number of instances running"
  9541          },
  9542          "flexId" : {
  9543            "type" : "string",
  9544            "description" : "flex subscription id"
  9545          },
  9546          "stackUuid" : {
  9547            "type" : "string",
  9548            "description" : "unique id of the cluster"
  9549          }
  9550        }
  9551      },
  9552      "StackV2Request" : {
  9553        "type" : "object",
  9554        "required" : [ "instanceGroups", "name" ],
  9555        "properties" : {
  9556          "name" : {
  9557            "type" : "string",
  9558            "description" : "name of the stack",
  9559            "minLength" : 5,
  9560            "maxLength" : 40,
  9561            "pattern" : "([a-z][-a-z0-9]*[a-z0-9])"
  9562          },
  9563          "availabilityZone" : {
  9564            "type" : "string",
  9565            "description" : "availability zone of the stack"
  9566          },
  9567          "region" : {
  9568            "type" : "string",
  9569            "description" : "region of the stack"
  9570          },
  9571          "platformVariant" : {
  9572            "type" : "string",
  9573            "description" : "cloud provider api variant"
  9574          },
  9575          "onFailureAction" : {
  9576            "type" : "string",
  9577            "description" : "action on failure",
  9578            "enum" : [ "ROLLBACK", "DO_NOTHING" ]
  9579          },
  9580          "ambariVersion" : {
  9581            "type" : "string",
  9582            "description" : "specific version of ambari"
  9583          },
  9584          "hdpVersion" : {
  9585            "type" : "string",
  9586            "description" : "specific version of HDP"
  9587          },
  9588          "parameters" : {
  9589            "type" : "object",
  9590            "description" : "additional cloud specific parameters for stack",
  9591            "additionalProperties" : {
  9592              "type" : "string"
  9593            }
  9594          },
  9595          "customDomain" : {
  9596            "type" : "string",
  9597            "description" : "custom domain name for the nodes in the stack"
  9598          },
  9599          "customHostname" : {
  9600            "type" : "string",
  9601            "description" : "custom hostname for nodes in the stack"
  9602          },
  9603          "clusterNameAsSubdomain" : {
  9604            "type" : "boolean",
  9605            "description" : "using the cluster name to create subdomain",
  9606            "default" : false
  9607          },
  9608          "hostgroupNameAsHostname" : {
  9609            "type" : "boolean",
  9610            "description" : "using the hostgroup names to create hostnames",
  9611            "default" : false
  9612          },
  9613          "applicationTags" : {
  9614            "type" : "object",
  9615            "description" : "stack related application tags",
  9616            "additionalProperties" : {
  9617              "type" : "string"
  9618            }
  9619          },
  9620          "userDefinedTags" : {
  9621            "type" : "object",
  9622            "description" : "stack related userdefined tags",
  9623            "additionalProperties" : {
  9624              "type" : "string"
  9625            }
  9626          },
  9627          "defaultTags" : {
  9628            "type" : "object",
  9629            "description" : "stack related default tags",
  9630            "additionalProperties" : {
  9631              "type" : "string"
  9632            }
  9633          },
  9634          "orchestrator" : {
  9635            "description" : "the details of the container orchestrator api to use",
  9636            "$ref" : "#/definitions/OrchestratorRequest"
  9637          },
  9638          "instanceGroups" : {
  9639            "type" : "array",
  9640            "description" : "collection of instance groupst",
  9641            "items" : {
  9642              "$ref" : "#/definitions/instanceGroupsV2"
  9643            }
  9644          },
  9645          "failurePolicy" : {
  9646            "description" : "failure policy in case of failures",
  9647            "$ref" : "#/definitions/FailurePolicyRequest"
  9648          },
  9649          "stackAuthentication" : {
  9650            "description" : "stack related authentication",
  9651            "$ref" : "#/definitions/StackAuthentication"
  9652          },
  9653          "network" : {
  9654            "description" : "stack related network",
  9655            "$ref" : "#/definitions/NetworkV2Request"
  9656          },
  9657          "imageCatalog" : {
  9658            "type" : "string",
  9659            "description" : "custom image catalog URL"
  9660          },
  9661          "imageId" : {
  9662            "type" : "string",
  9663            "description" : "virtual machine image id from ImageCatalog, machines of the cluster will be started from this image"
  9664          },
  9665          "flexId" : {
  9666            "type" : "integer",
  9667            "format" : "int64",
  9668            "description" : "id of the related flex subscription"
  9669          },
  9670          "credentialName" : {
  9671            "type" : "string",
  9672            "description" : "credential resource name for the stack"
  9673          },
  9674          "clusterRequest" : {
  9675            "description" : "cluster request object on stack",
  9676            "$ref" : "#/definitions/ClusterV2Request"
  9677          }
  9678        }
  9679      },
  9680      "SubscriptionRequest" : {
  9681        "type" : "object",
  9682        "required" : [ "endpointUrl" ],
  9683        "properties" : {
  9684          "endpointUrl" : {
  9685            "type" : "string",
  9686            "description" : "url of the endpoint",
  9687            "pattern" : "^(https?:\\/\\/)((([\\da-z\\.-]+)\\.([a-z]{2,6}))|localhost|[1-9][0-9]{0,2}.[0-9]{1,3}.[0-9]{1,3}.[0-9]{1,3})(:[1-9][0-9]{1,4})?\\/([\\/\\w\\.-]*)\\/?$"
  9688          }
  9689        }
  9690      },
  9691      "ImageJson" : {
  9692        "type" : "object",
  9693        "properties" : {
  9694          "imageName" : {
  9695            "type" : "string",
  9696            "description" : "name of the image"
  9697          }
  9698        }
  9699      },
  9700      "LdapValidationRequest" : {
  9701        "type" : "object",
  9702        "required" : [ "bindDn", "bindPassword", "serverHost", "serverPort" ],
  9703        "properties" : {
  9704          "serverHost" : {
  9705            "type" : "string",
  9706            "description" : "public host or IP address of LDAP server"
  9707          },
  9708          "serverPort" : {
  9709            "type" : "integer",
  9710            "format" : "int32",
  9711            "description" : "port of LDAP server (typically: 389 or 636 for LDAPS)",
  9712            "minimum" : 1.0,
  9713            "maximum" : 65535.0
  9714          },
  9715          "protocol" : {
  9716            "type" : "string",
  9717            "description" : "determines the protocol (LDAP or LDAP over SSL)"
  9718          },
  9719          "bindDn" : {
  9720            "type" : "string",
  9721            "description" : "bind distinguished name for connection test and group search (e.g. cn=admin,dc=example,dc=org)"
  9722          },
  9723          "bindPassword" : {
  9724            "type" : "string",
  9725            "description" : "password for the provided bind DN"
  9726          }
  9727        }
  9728      },
  9729      "ClusterTemplateResponse" : {
  9730        "type" : "object",
  9731        "required" : [ "name" ],
  9732        "properties" : {
  9733          "name" : {
  9734            "type" : "string",
  9735            "description" : "name of the cluster template"
  9736          },
  9737          "template" : {
  9738            "type" : "string",
  9739            "description" : "stringified template JSON"
  9740          },
  9741          "type" : {
  9742            "type" : "string",
  9743            "description" : "type of the cluster template",
  9744            "enum" : [ "QUICK_START" ]
  9745          },
  9746          "id" : {
  9747            "type" : "integer",
  9748            "format" : "int64",
  9749            "description" : "id of the resource"
  9750          }
  9751        }
  9752      },
  9753      "RecipeResponse" : {
  9754        "type" : "object",
  9755        "required" : [ "recipeType" ],
  9756        "properties" : {
  9757          "name" : {
  9758            "type" : "string",
  9759            "description" : "name of the resource",
  9760            "minLength" : 1,
  9761            "maxLength" : 100,
  9762            "pattern" : "([a-z][-a-z0-9]*[a-z0-9])"
  9763          },
  9764          "description" : {
  9765            "type" : "string",
  9766            "description" : "description of the resource",
  9767            "minLength" : 0,
  9768            "maxLength" : 1000
  9769          },
  9770          "recipeType" : {
  9771            "type" : "string",
  9772            "description" : "type of recipe",
  9773            "enum" : [ "PRE_AMBARI_START", "POST_AMBARI_START", "POST_CLUSTER_INSTALL" ]
  9774          },
  9775          "content" : {
  9776            "type" : "string",
  9777            "description" : "content of recipe"
  9778          },
  9779          "uri" : {
  9780            "type" : "string",
  9781            "description" : "recipe uri"
  9782          },
  9783          "id" : {
  9784            "type" : "integer",
  9785            "format" : "int64",
  9786            "description" : "id of the resource"
  9787          },
  9788          "public" : {
  9789            "type" : "boolean",
  9790            "description" : "resource is visible in account",
  9791            "default" : false
  9792          }
  9793        }
  9794      },
  9795      "FlexSubscriptionResponse" : {
  9796        "type" : "object",
  9797        "required" : [ "name" ],
  9798        "properties" : {
  9799          "name" : {
  9800            "type" : "string",
  9801            "description" : "name of the resource"
  9802          },
  9803          "subscriptionId" : {
  9804            "type" : "string",
  9805            "description" : "Identifier of Flex subscription.",
  9806            "readOnly" : true,
  9807            "pattern" : "^(FLEX-[0-9]{10}$)"
  9808          },
  9809          "smartSenseSubscriptionId" : {
  9810            "type" : "integer",
  9811            "format" : "int64",
  9812            "description" : "Identifier of SmartSense subscription Cloudbreak domain object json representation.",
  9813            "readOnly" : true
  9814          },
  9815          "usedForController" : {
  9816            "type" : "boolean",
  9817            "description" : "true if the flex subscription was used for the controller",
  9818            "default" : false
  9819          },
  9820          "id" : {
  9821            "type" : "integer",
  9822            "format" : "int64",
  9823            "description" : "id of the resource",
  9824            "readOnly" : true
  9825          },
  9826          "owner" : {
  9827            "type" : "string",
  9828            "description" : "id of the resource owner that is provided by OAuth provider",
  9829            "readOnly" : true
  9830          },
  9831          "account" : {
  9832            "type" : "string",
  9833            "description" : "account id of the resource owner that is provided by OAuth provider",
  9834            "readOnly" : true
  9835          },
  9836          "publicInAccount" : {
  9837            "type" : "boolean",
  9838            "description" : "resource is visible in account",
  9839            "readOnly" : true,
  9840            "default" : false
  9841          },
  9842          "smartSenseSubscription" : {
  9843            "description" : "The associated SmartSense subscription Cloudbreak domain object json representation.",
  9844            "readOnly" : true,
  9845            "$ref" : "#/definitions/SmartSenseSubscriptionJson"
  9846          },
  9847          "default" : {
  9848            "type" : "boolean",
  9849            "default" : false
  9850          }
  9851        }
  9852      },
  9853      "ConfigsResponse" : {
  9854        "type" : "object",
  9855        "required" : [ "inputs" ],
  9856        "properties" : {
  9857          "inputs" : {
  9858            "type" : "array",
  9859            "description" : "response object",
  9860            "uniqueItems" : true,
  9861            "items" : {
  9862              "$ref" : "#/definitions/BlueprintInput"
  9863            }
  9864          }
  9865        }
  9866      },
  9867      "CertificateResponse" : {
  9868        "type" : "object",
  9869        "properties" : {
  9870          "serverCert" : {
  9871            "type" : "array",
  9872            "description" : "server certificate used by the gateway",
  9873            "items" : {
  9874              "type" : "string",
  9875              "format" : "byte"
  9876            }
  9877          },
  9878          "clientKey" : {
  9879            "type" : "array",
  9880            "description" : "client key used by the gateway",
  9881            "items" : {
  9882              "type" : "string",
  9883              "format" : "byte"
  9884            }
  9885          },
  9886          "clientCert" : {
  9887            "type" : "array",
  9888            "description" : "client certificate used by the gateway",
  9889            "items" : {
  9890              "type" : "string",
  9891              "format" : "byte"
  9892            }
  9893          }
  9894        }
  9895      },
  9896      "FlexUsageProductJson" : {
  9897        "type" : "object",
  9898        "properties" : {
  9899          "productId" : {
  9900            "type" : "string"
  9901          },
  9902          "components" : {
  9903            "type" : "array",
  9904            "items" : {
  9905              "$ref" : "#/definitions/FlexUsageComponentJson"
  9906            }
  9907          }
  9908        }
  9909      },
  9910      "RecipeRequest" : {
  9911        "type" : "object",
  9912        "required" : [ "recipeType" ],
  9913        "properties" : {
  9914          "name" : {
  9915            "type" : "string",
  9916            "description" : "name of the resource",
  9917            "minLength" : 1,
  9918            "maxLength" : 100,
  9919            "pattern" : "([a-z][-a-z0-9]*[a-z0-9])"
  9920          },
  9921          "description" : {
  9922            "type" : "string",
  9923            "description" : "description of the resource",
  9924            "minLength" : 0,
  9925            "maxLength" : 1000
  9926          },
  9927          "recipeType" : {
  9928            "type" : "string",
  9929            "description" : "type of recipe",
  9930            "enum" : [ "PRE_AMBARI_START", "POST_AMBARI_START", "POST_CLUSTER_INSTALL" ]
  9931          },
  9932          "content" : {
  9933            "type" : "string",
  9934            "description" : "content of recipe"
  9935          },
  9936          "uri" : {
  9937            "type" : "string",
  9938            "description" : "recipe uri"
  9939          }
  9940        }
  9941      },
  9942      "FlexUsageComponentInstanceJson" : {
  9943        "type" : "object",
  9944        "properties" : {
  9945          "guid" : {
  9946            "type" : "string"
  9947          },
  9948          "region" : {
  9949            "type" : "string"
  9950          },
  9951          "provider" : {
  9952            "type" : "string"
  9953          },
  9954          "flexSubscriptionId" : {
  9955            "type" : "string"
  9956          },
  9957          "creationTime" : {
  9958            "type" : "string"
  9959          },
  9960          "usageDate" : {
  9961            "type" : "string"
  9962          },
  9963          "peakUsage" : {
  9964            "type" : "integer",
  9965            "format" : "int32"
  9966          }
  9967        }
  9968      },
  9969      "InstanceMetaData" : {
  9970        "type" : "object",
  9971        "properties" : {
  9972          "privateIp" : {
  9973            "type" : "string",
  9974            "description" : "private ip of the insctance"
  9975          },
  9976          "publicIp" : {
  9977            "type" : "string",
  9978            "description" : "public ip of the instance"
  9979          },
  9980          "sshPort" : {
  9981            "type" : "integer",
  9982            "format" : "int32"
  9983          },
  9984          "instanceId" : {
  9985            "type" : "string",
  9986            "description" : "id of the instance"
  9987          },
  9988          "ambariServer" : {
  9989            "type" : "boolean",
  9990            "description" : "ambari server address",
  9991            "default" : false
  9992          },
  9993          "discoveryFQDN" : {
  9994            "type" : "string",
  9995            "description" : "the fully qualified domain name of the node in the service discovery cluster"
  9996          },
  9997          "instanceGroup" : {
  9998            "type" : "string",
  9999            "description" : "name of the instance group"
 10000          },
 10001          "instanceStatus" : {
 10002            "type" : "string",
 10003            "description" : "status of the instance",
 10004            "enum" : [ "REQUESTED", "CREATED", "UNREGISTERED", "REGISTERED", "DECOMMISSIONED", "TERMINATED", "FAILED", "STOPPED" ]
 10005          },
 10006          "instanceType" : {
 10007            "type" : "string",
 10008            "description" : "type of the instance",
 10009            "enum" : [ "GATEWAY", "GATEWAY_PRIMARY", "CORE" ]
 10010          }
 10011        }
 10012      },
 10013      "SecurityGroupRequest" : {
 10014        "type" : "object",
 10015        "required" : [ "cloudPlatform", "name" ],
 10016        "properties" : {
 10017          "description" : {
 10018            "type" : "string",
 10019            "description" : "description of the resource",
 10020            "minLength" : 0,
 10021            "maxLength" : 1000
 10022          },
 10023          "securityGroupId" : {
 10024            "type" : "string",
 10025            "description" : "Exisiting security group id"
 10026          },
 10027          "cloudPlatform" : {
 10028            "type" : "string",
 10029            "description" : "type of cloud provider"
 10030          },
 10031          "name" : {
 10032            "type" : "string",
 10033            "description" : "name of the resource",
 10034            "pattern" : "([a-z][-a-z0-9]*[a-z0-9])"
 10035          },
 10036          "securityRules" : {
 10037            "type" : "array",
 10038            "description" : "list of security rules that relates to the security group",
 10039            "items" : {
 10040              "$ref" : "#/definitions/SecurityRuleRequest"
 10041            }
 10042          }
 10043        }
 10044      },
 10045      "KerberosRequest" : {
 10046        "type" : "object",
 10047        "properties" : {
 10048          "masterKey" : {
 10049            "type" : "string",
 10050            "description" : "kerberos master key",
 10051            "minLength" : 3,
 10052            "maxLength" : 50
 10053          },
 10054          "admin" : {
 10055            "type" : "string",
 10056            "description" : "kerberos admin user",
 10057            "minLength" : 5,
 10058            "maxLength" : 15
 10059          },
 10060          "password" : {
 10061            "type" : "string",
 10062            "description" : "kerberos admin password",
 10063            "minLength" : 5,
 10064            "maxLength" : 50
 10065          },
 10066          "url" : {
 10067            "type" : "string"
 10068          },
 10069          "realm" : {
 10070            "type" : "string"
 10071          },
 10072          "principal" : {
 10073            "type" : "string"
 10074          },
 10075          "ldapUrl" : {
 10076            "type" : "string"
 10077          },
 10078          "containerDn" : {
 10079            "type" : "string"
 10080          },
 10081          "tcpAllowed" : {
 10082            "type" : "boolean",
 10083            "default" : false
 10084          }
 10085        }
 10086      },
 10087      "BlueprintInput" : {
 10088        "type" : "object",
 10089        "properties" : {
 10090          "name" : {
 10091            "type" : "string"
 10092          },
 10093          "propertyValue" : {
 10094            "type" : "string"
 10095          }
 10096        }
 10097      },
 10098      "LdapConfigRequest" : {
 10099        "type" : "object",
 10100        "required" : [ "bindDn", "bindPassword", "name", "serverHost", "serverPort", "userSearchBase" ],
 10101        "properties" : {
 10102          "description" : {
 10103            "type" : "string",
 10104            "description" : "description of the resource",
 10105            "minLength" : 0,
 10106            "maxLength" : 1000
 10107          },
 10108          "serverHost" : {
 10109            "type" : "string",
 10110            "description" : "public host or IP address of LDAP server"
 10111          },
 10112          "serverPort" : {
 10113            "type" : "integer",
 10114            "format" : "int32",
 10115            "description" : "port of LDAP server (typically: 389 or 636 for LDAPS)",
 10116            "minimum" : 1.0,
 10117            "maximum" : 65535.0
 10118          },
 10119          "protocol" : {
 10120            "type" : "string",
 10121            "description" : "determines the protocol (LDAP or LDAP over SSL)"
 10122          },
 10123          "bindDn" : {
 10124            "type" : "string",
 10125            "description" : "bind distinguished name for connection test and group search (e.g. cn=admin,dc=example,dc=org)"
 10126          },
 10127          "userSearchBase" : {
 10128            "type" : "string",
 10129            "description" : "template for user search for authentication (e.g. dc=hadoop,dc=apache,dc=org)"
 10130          },
 10131          "groupSearchBase" : {
 10132            "type" : "string",
 10133            "description" : "template for group search for authorization (e.g. dc=hadoop,dc=apache,dc=org)"
 10134          },
 10135          "userNameAttribute" : {
 10136            "type" : "string",
 10137            "description" : "attribute name for simplified search filter (e.g. sAMAccountName in case of AD, UID or cn for LDAP)."
 10138          },
 10139          "domain" : {
 10140            "type" : "string",
 10141            "description" : "domain in LDAP server (e.g. ad.seq.com)."
 10142          },
 10143          "directoryType" : {
 10144            "type" : "string",
 10145            "description" : "directory type of server LDAP or AD",
 10146            "enum" : [ "LDAP", "ACTIVE_DIRECTORY" ]
 10147          },
 10148          "userObjectClass" : {
 10149            "type" : "string",
 10150            "description" : "User Object Class (defaults to person)"
 10151          },
 10152          "groupObjectClass" : {
 10153            "type" : "string",
 10154            "description" : "Group Object Class (defaults to groupOfNames)"
 10155          },
 10156          "groupNameAttribute" : {
 10157            "type" : "string",
 10158            "description" : "Group Id Attribute (defaults to cn)"
 10159          },
 10160          "groupMemberAttribute" : {
 10161            "type" : "string",
 10162            "description" : "Group Member Attribute (defaults to member)"
 10163          },
 10164          "name" : {
 10165            "type" : "string",
 10166            "description" : "name of the resource",
 10167            "minLength" : 1,
 10168            "maxLength" : 100
 10169          },
 10170          "bindPassword" : {
 10171            "type" : "string",
 10172            "description" : "password for the provided bind DN"
 10173          }
 10174        }
 10175      },
 10176      "ClusterRepairRequest" : {
 10177        "type" : "object",
 10178        "required" : [ "hostGroups" ],
 10179        "properties" : {
 10180          "hostGroups" : {
 10181            "type" : "array",
 10182            "description" : "List of hostgroups where the failed nodes will be repaired",
 10183            "items" : {
 10184              "type" : "string"
 10185            }
 10186          },
 10187          "removeOnly" : {
 10188            "type" : "boolean",
 10189            "description" : "If true, the failed nodes will only be removed, otherwise the failed nodes will be removed and new nodes will be started.",
 10190            "default" : false
 10191          }
 10192        }
 10193      },
 10194      "StackResponse" : {
 10195        "type" : "object",
 10196        "required" : [ "name" ],
 10197        "properties" : {
 10198          "name" : {
 10199            "type" : "string",
 10200            "description" : "name of the stack",
 10201            "minLength" : 5,
 10202            "maxLength" : 40,
 10203            "pattern" : "([a-z][-a-z0-9]*[a-z0-9])"
 10204          },
 10205          "availabilityZone" : {
 10206            "type" : "string",
 10207            "description" : "availability zone of the stack"
 10208          },
 10209          "region" : {
 10210            "type" : "string",
 10211            "description" : "region of the stack"
 10212          },
 10213          "platformVariant" : {
 10214            "type" : "string",
 10215            "description" : "cloud provider api variant"
 10216          },
 10217          "credentialId" : {
 10218            "type" : "integer",
 10219            "format" : "int64",
 10220            "description" : "credential resource id for the stack"
 10221          },
 10222          "onFailureAction" : {
 10223            "type" : "string",
 10224            "description" : "action on failure",
 10225            "enum" : [ "ROLLBACK", "DO_NOTHING" ]
 10226          },
 10227          "networkId" : {
 10228            "type" : "integer",
 10229            "format" : "int64",
 10230            "description" : "network resource id for the stack"
 10231          },
 10232          "ambariVersion" : {
 10233            "type" : "string",
 10234            "description" : "specific version of ambari"
 10235          },
 10236          "hdpVersion" : {
 10237            "type" : "string",
 10238            "description" : "specific version of HDP"
 10239          },
 10240          "parameters" : {
 10241            "type" : "object",
 10242            "description" : "additional cloud specific parameters for stack",
 10243            "additionalProperties" : {
 10244              "type" : "string"
 10245            }
 10246          },
 10247          "customDomain" : {
 10248            "type" : "string",
 10249            "description" : "custom domain name for the nodes in the stack"
 10250          },
 10251          "customHostname" : {
 10252            "type" : "string",
 10253            "description" : "custom hostname for nodes in the stack"
 10254          },
 10255          "clusterNameAsSubdomain" : {
 10256            "type" : "boolean",
 10257            "description" : "using the cluster name to create subdomain",
 10258            "default" : false
 10259          },
 10260          "hostgroupNameAsHostname" : {
 10261            "type" : "boolean",
 10262            "description" : "using the hostgroup names to create hostnames",
 10263            "default" : false
 10264          },
 10265          "applicationTags" : {
 10266            "type" : "object",
 10267            "description" : "stack related application tags",
 10268            "additionalProperties" : {
 10269              "type" : "string"
 10270            }
 10271          },
 10272          "userDefinedTags" : {
 10273            "type" : "object",
 10274            "description" : "stack related userdefined tags",
 10275            "additionalProperties" : {
 10276              "type" : "string"
 10277            }
 10278          },
 10279          "defaultTags" : {
 10280            "type" : "object",
 10281            "description" : "stack related default tags",
 10282            "additionalProperties" : {
 10283              "type" : "string"
 10284            }
 10285          },
 10286          "id" : {
 10287            "type" : "integer",
 10288            "format" : "int64",
 10289            "description" : "id of the stack"
 10290          },
 10291          "owner" : {
 10292            "type" : "string",
 10293            "description" : "id of the resource owner that is provided by OAuth provider"
 10294          },
 10295          "account" : {
 10296            "type" : "string",
 10297            "description" : "account id of the resource owner that is provided by OAuth provider"
 10298          },
 10299          "status" : {
 10300            "type" : "string",
 10301            "description" : "status of the stack",
 10302            "enum" : [ "REQUESTED", "CREATE_IN_PROGRESS", "AVAILABLE", "UPDATE_IN_PROGRESS", "UPDATE_REQUESTED", "UPDATE_FAILED", "CREATE_FAILED", "ENABLE_SECURITY_FAILED", "DELETE_IN_PROGRESS", "DELETE_FAILED", "DELETE_COMPLETED", "STOPPED", "STOP_REQUESTED", "START_REQUESTED", "STOP_IN_PROGRESS", "START_IN_PROGRESS", "START_FAILED", "STOP_FAILED", "WAIT_FOR_SYNC" ]
 10303          },
 10304          "cluster" : {
 10305            "$ref" : "#/definitions/ClusterResponse"
 10306          },
 10307          "statusReason" : {
 10308            "type" : "string",
 10309            "description" : "status message of the stack"
 10310          },
 10311          "credential" : {
 10312            "description" : "stack related credential",
 10313            "$ref" : "#/definitions/CredentialResponse"
 10314          },
 10315          "network" : {
 10316            "description" : "stack related network",
 10317            "$ref" : "#/definitions/NetworkResponse"
 10318          },
 10319          "instanceGroups" : {
 10320            "type" : "array",
 10321            "items" : {
 10322              "$ref" : "#/definitions/InstanceGroupResponse"
 10323            }
 10324          },
 10325          "failurePolicy" : {
 10326            "description" : "failure policy in case of failures",
 10327            "$ref" : "#/definitions/FailurePolicyResponse"
 10328          },
 10329          "orchestrator" : {
 10330            "description" : "the details of the container orchestrator api to use",
 10331            "$ref" : "#/definitions/OrchestratorResponse"
 10332          },
 10333          "created" : {
 10334            "type" : "integer",
 10335            "format" : "int64",
 10336            "description" : "creation time of the stack in long"
 10337          },
 10338          "gatewayPort" : {
 10339            "type" : "integer",
 10340            "format" : "int32",
 10341            "description" : "port of the gateway secured proxy"
 10342          },
 10343          "image" : {
 10344            "description" : "image of the stack",
 10345            "$ref" : "#/definitions/ImageJson"
 10346          },
 10347          "cloudbreakDetails" : {
 10348            "description" : "details of the Cloudbreak that provisioned the stack",
 10349            "$ref" : "#/definitions/CloudbreakDetailsJson"
 10350          },
 10351          "flexSubscription" : {
 10352            "description" : "the related flex subscription",
 10353            "$ref" : "#/definitions/FlexSubscriptionResponse"
 10354          },
 10355          "stackAuthentication" : {
 10356            "description" : "stack related authentication",
 10357            "$ref" : "#/definitions/StackAuthenticationResponse"
 10358          },
 10359          "nodeCount" : {
 10360            "type" : "integer",
 10361            "format" : "int32",
 10362            "description" : "node count of the stack"
 10363          },
 10364          "hardwareInfos" : {
 10365            "type" : "array",
 10366            "description" : "hardware information where pairing hostmetadata with instancemetadata",
 10367            "uniqueItems" : true,
 10368            "items" : {
 10369              "$ref" : "#/definitions/HardwareInfoResponse"
 10370            }
 10371          },
 10372          "cloudbreakEvents" : {
 10373            "type" : "array",
 10374            "description" : "related events for a cloudbreak stack",
 10375            "items" : {
 10376              "$ref" : "#/definitions/CloudbreakEvent"
 10377            }
 10378          },
 10379          "cloudbreakUsages" : {
 10380            "type" : "array",
 10381            "description" : "usage information for a specific stack",
 10382            "items" : {
 10383              "$ref" : "#/definitions/CloudbreakUsage"
 10384            }
 10385          },
 10386          "cloudPlatform" : {
 10387            "type" : "string",
 10388            "description" : "type of cloud provider",
 10389            "readOnly" : true
 10390          },
 10391          "public" : {
 10392            "type" : "boolean",
 10393            "description" : "resource is visible in account",
 10394            "default" : false
 10395          }
 10396        }
 10397      },
 10398      "AccountPreference" : {
 10399        "type" : "object",
 10400        "required" : [ "clusterTimeToLive", "userTimeToLive" ],
 10401        "properties" : {
 10402          "maxNumberOfClusters" : {
 10403            "type" : "integer",
 10404            "format" : "int64",
 10405            "description" : "max number of clusters in the account (0 when unlimited)",
 10406            "minimum" : 0.0
 10407          },
 10408          "maxNumberOfNodesPerCluster" : {
 10409            "type" : "integer",
 10410            "format" : "int64",
 10411            "description" : "max number of vms in a cluster of account (0 when unlimited)",
 10412            "minimum" : 0.0
 10413          },
 10414          "maxNumberOfClustersPerUser" : {
 10415            "type" : "integer",
 10416            "format" : "int64",
 10417            "description" : "max number of clusters for user within the account (0 when unlimited)",
 10418            "minimum" : 0.0
 10419          },
 10420          "allowedInstanceTypes" : {
 10421            "type" : "array",
 10422            "description" : "allowed instance types in the account (empty list for no restriction)",
 10423            "items" : {
 10424              "type" : "string"
 10425            }
 10426          },
 10427          "clusterTimeToLive" : {
 10428            "type" : "integer",
 10429            "format" : "int64",
 10430            "description" : "lifecycle of the cluster in hours (0 for immortal clusters)",
 10431            "minimum" : 0.0
 10432          },
 10433          "userTimeToLive" : {
 10434            "type" : "integer",
 10435            "format" : "int64",
 10436            "description" : "lifecycle of the account and its clusters in hours (0 for immortal account)",
 10437            "minimum" : 0.0
 10438          },
 10439          "platforms" : {
 10440            "type" : "string",
 10441            "description" : "list of the cloudplatforms visible on the UI"
 10442          },
 10443          "defaultTags" : {
 10444            "type" : "object",
 10445            "description" : "default tags for the resources created",
 10446            "additionalProperties" : {
 10447              "type" : "string"
 10448            }
 10449          }
 10450        }
 10451      }
 10452    }
 10453  }