Documentation
¶
Overview ¶
* MetalSoft REST API * * MetalSoft REST API documentation * * API version: 2.0 * Contact: support@metalsoft.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* MetalSoft REST API * * MetalSoft REST API documentation * * API version: 2.0 * Contact: support@metalsoft.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* MetalSoft REST API * * MetalSoft REST API documentation * * API version: 2.0 * Contact: support@metalsoft.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* MetalSoft REST API * * MetalSoft REST API documentation * * API version: 2.0 * Contact: support@metalsoft.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* MetalSoft REST API * * MetalSoft REST API documentation * * API version: 2.0 * Contact: support@metalsoft.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* MetalSoft REST API * * MetalSoft REST API documentation * * API version: 2.0 * Contact: support@metalsoft.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* MetalSoft REST API * * MetalSoft REST API documentation * * API version: 2.0 * Contact: support@metalsoft.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* MetalSoft REST API * * MetalSoft REST API documentation * * API version: 2.0 * Contact: support@metalsoft.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* MetalSoft REST API * * MetalSoft REST API documentation * * API version: 2.0 * Contact: support@metalsoft.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* MetalSoft REST API * * MetalSoft REST API documentation * * API version: 2.0 * Contact: support@metalsoft.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* MetalSoft REST API * * MetalSoft REST API documentation * * API version: 2.0 * Contact: support@metalsoft.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* MetalSoft REST API * * MetalSoft REST API documentation * * API version: 2.0 * Contact: support@metalsoft.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* MetalSoft REST API * * MetalSoft REST API documentation * * API version: 2.0 * Contact: support@metalsoft.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* MetalSoft REST API * * MetalSoft REST API documentation * * API version: 2.0 * Contact: support@metalsoft.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* MetalSoft REST API * * MetalSoft REST API documentation * * API version: 2.0 * Contact: support@metalsoft.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* MetalSoft REST API * * MetalSoft REST API documentation * * API version: 2.0 * Contact: support@metalsoft.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* MetalSoft REST API * * MetalSoft REST API documentation * * API version: 2.0 * Contact: support@metalsoft.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* MetalSoft REST API * * MetalSoft REST API documentation * * API version: 2.0 * Contact: support@metalsoft.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* MetalSoft REST API * * MetalSoft REST API documentation * * API version: 2.0 * Contact: support@metalsoft.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* MetalSoft REST API * * MetalSoft REST API documentation * * API version: 2.0 * Contact: support@metalsoft.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* MetalSoft REST API * * MetalSoft REST API documentation * * API version: 2.0 * Contact: support@metalsoft.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* MetalSoft REST API * * MetalSoft REST API documentation * * API version: 2.0 * Contact: support@metalsoft.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* MetalSoft REST API * * MetalSoft REST API documentation * * API version: 2.0 * Contact: support@metalsoft.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* MetalSoft REST API * * MetalSoft REST API documentation * * API version: 2.0 * Contact: support@metalsoft.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* MetalSoft REST API * * MetalSoft REST API documentation * * API version: 2.0 * Contact: support@metalsoft.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* MetalSoft REST API * * MetalSoft REST API documentation * * API version: 2.0 * Contact: support@metalsoft.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* MetalSoft REST API * * MetalSoft REST API documentation * * API version: 2.0 * Contact: support@metalsoft.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* MetalSoft REST API * * MetalSoft REST API documentation * * API version: 2.0 * Contact: support@metalsoft.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* MetalSoft REST API * * MetalSoft REST API documentation * * API version: 2.0 * Contact: support@metalsoft.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* MetalSoft REST API * * MetalSoft REST API documentation * * API version: 2.0 * Contact: support@metalsoft.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* MetalSoft REST API * * MetalSoft REST API documentation * * API version: 2.0 * Contact: support@metalsoft.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* MetalSoft REST API * * MetalSoft REST API documentation * * API version: 2.0 * Contact: support@metalsoft.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* MetalSoft REST API * * MetalSoft REST API documentation * * API version: 2.0 * Contact: support@metalsoft.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* MetalSoft REST API * * MetalSoft REST API documentation * * API version: 2.0 * Contact: support@metalsoft.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* MetalSoft REST API * * MetalSoft REST API documentation * * API version: 2.0 * Contact: support@metalsoft.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* MetalSoft REST API * * MetalSoft REST API documentation * * API version: 2.0 * Contact: support@metalsoft.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* MetalSoft REST API * * MetalSoft REST API documentation * * API version: 2.0 * Contact: support@metalsoft.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* MetalSoft REST API * * MetalSoft REST API documentation * * API version: 2.0 * Contact: support@metalsoft.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* MetalSoft REST API * * MetalSoft REST API documentation * * API version: 2.0 * Contact: support@metalsoft.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* MetalSoft REST API * * MetalSoft REST API documentation * * API version: 2.0 * Contact: support@metalsoft.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* MetalSoft REST API * * MetalSoft REST API documentation * * API version: 2.0 * Contact: support@metalsoft.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* MetalSoft REST API * * MetalSoft REST API documentation * * API version: 2.0 * Contact: support@metalsoft.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* MetalSoft REST API * * MetalSoft REST API documentation * * API version: 2.0 * Contact: support@metalsoft.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* MetalSoft REST API * * MetalSoft REST API documentation * * API version: 2.0 * Contact: support@metalsoft.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* MetalSoft REST API * * MetalSoft REST API documentation * * API version: 2.0 * Contact: support@metalsoft.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* MetalSoft REST API * * MetalSoft REST API documentation * * API version: 2.0 * Contact: support@metalsoft.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* MetalSoft REST API * * MetalSoft REST API documentation * * API version: 2.0 * Contact: support@metalsoft.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* MetalSoft REST API * * MetalSoft REST API documentation * * API version: 2.0 * Contact: support@metalsoft.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* MetalSoft REST API * * MetalSoft REST API documentation * * API version: 2.0 * Contact: support@metalsoft.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* MetalSoft REST API * * MetalSoft REST API documentation * * API version: 2.0 * Contact: support@metalsoft.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* MetalSoft REST API * * MetalSoft REST API documentation * * API version: 2.0 * Contact: support@metalsoft.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* MetalSoft REST API * * MetalSoft REST API documentation * * API version: 2.0 * Contact: support@metalsoft.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* MetalSoft REST API * * MetalSoft REST API documentation * * API version: 2.0 * Contact: support@metalsoft.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* MetalSoft REST API * * MetalSoft REST API documentation * * API version: 2.0 * Contact: support@metalsoft.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* MetalSoft REST API * * MetalSoft REST API documentation * * API version: 2.0 * Contact: support@metalsoft.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* MetalSoft REST API * * MetalSoft REST API documentation * * API version: 2.0 * Contact: support@metalsoft.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* MetalSoft REST API * * MetalSoft REST API documentation * * API version: 2.0 * Contact: support@metalsoft.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* MetalSoft REST API * * MetalSoft REST API documentation * * API version: 2.0 * Contact: support@metalsoft.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* MetalSoft REST API * * MetalSoft REST API documentation * * API version: 2.0 * Contact: support@metalsoft.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* MetalSoft REST API * * MetalSoft REST API documentation * * API version: 2.0 * Contact: support@metalsoft.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* MetalSoft REST API * * MetalSoft REST API documentation * * API version: 2.0 * Contact: support@metalsoft.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* MetalSoft REST API * * MetalSoft REST API documentation * * API version: 2.0 * Contact: support@metalsoft.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* MetalSoft REST API * * MetalSoft REST API documentation * * API version: 2.0 * Contact: support@metalsoft.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* MetalSoft REST API * * MetalSoft REST API documentation * * API version: 2.0 * Contact: support@metalsoft.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* MetalSoft REST API * * MetalSoft REST API documentation * * API version: 2.0 * Contact: support@metalsoft.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* MetalSoft REST API * * MetalSoft REST API documentation * * API version: 2.0 * Contact: support@metalsoft.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* MetalSoft REST API * * MetalSoft REST API documentation * * API version: 2.0 * Contact: support@metalsoft.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* MetalSoft REST API * * MetalSoft REST API documentation * * API version: 2.0 * Contact: support@metalsoft.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* MetalSoft REST API * * MetalSoft REST API documentation * * API version: 2.0 * Contact: support@metalsoft.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* MetalSoft REST API * * MetalSoft REST API documentation * * API version: 2.0 * Contact: support@metalsoft.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* MetalSoft REST API * * MetalSoft REST API documentation * * API version: 2.0 * Contact: support@metalsoft.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* MetalSoft REST API * * MetalSoft REST API documentation * * API version: 2.0 * Contact: support@metalsoft.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* MetalSoft REST API * * MetalSoft REST API documentation * * API version: 2.0 * Contact: support@metalsoft.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* MetalSoft REST API * * MetalSoft REST API documentation * * API version: 2.0 * Contact: support@metalsoft.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* MetalSoft REST API * * MetalSoft REST API documentation * * API version: 2.0 * Contact: support@metalsoft.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* MetalSoft REST API * * MetalSoft REST API documentation * * API version: 2.0 * Contact: support@metalsoft.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* MetalSoft REST API * * MetalSoft REST API documentation * * API version: 2.0 * Contact: support@metalsoft.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* MetalSoft REST API * * MetalSoft REST API documentation * * API version: 2.0 * Contact: support@metalsoft.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* MetalSoft REST API * * MetalSoft REST API documentation * * API version: 2.0 * Contact: support@metalsoft.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* MetalSoft REST API * * MetalSoft REST API documentation * * API version: 2.0 * Contact: support@metalsoft.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* MetalSoft REST API * * MetalSoft REST API documentation * * API version: 2.0 * Contact: support@metalsoft.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* MetalSoft REST API * * MetalSoft REST API documentation * * API version: 2.0 * Contact: support@metalsoft.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* MetalSoft REST API * * MetalSoft REST API documentation * * API version: 2.0 * Contact: support@metalsoft.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* MetalSoft REST API * * MetalSoft REST API documentation * * API version: 2.0 * Contact: support@metalsoft.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* MetalSoft REST API * * MetalSoft REST API documentation * * API version: 2.0 * Contact: support@metalsoft.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* MetalSoft REST API * * MetalSoft REST API documentation * * API version: 2.0 * Contact: support@metalsoft.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* MetalSoft REST API * * MetalSoft REST API documentation * * API version: 2.0 * Contact: support@metalsoft.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* MetalSoft REST API * * MetalSoft REST API documentation * * API version: 2.0 * Contact: support@metalsoft.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* MetalSoft REST API * * MetalSoft REST API documentation * * API version: 2.0 * Contact: support@metalsoft.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* MetalSoft REST API * * MetalSoft REST API documentation * * API version: 2.0 * Contact: support@metalsoft.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* MetalSoft REST API * * MetalSoft REST API documentation * * API version: 2.0 * Contact: support@metalsoft.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* MetalSoft REST API * * MetalSoft REST API documentation * * API version: 2.0 * Contact: support@metalsoft.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* MetalSoft REST API * * MetalSoft REST API documentation * * API version: 2.0 * Contact: support@metalsoft.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* MetalSoft REST API * * MetalSoft REST API documentation * * API version: 2.0 * Contact: support@metalsoft.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* MetalSoft REST API * * MetalSoft REST API documentation * * API version: 2.0 * Contact: support@metalsoft.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* MetalSoft REST API * * MetalSoft REST API documentation * * API version: 2.0 * Contact: support@metalsoft.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* MetalSoft REST API * * MetalSoft REST API documentation * * API version: 2.0 * Contact: support@metalsoft.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* MetalSoft REST API * * MetalSoft REST API documentation * * API version: 2.0 * Contact: support@metalsoft.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* MetalSoft REST API * * MetalSoft REST API documentation * * API version: 2.0 * Contact: support@metalsoft.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* MetalSoft REST API * * MetalSoft REST API documentation * * API version: 2.0 * Contact: support@metalsoft.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* MetalSoft REST API * * MetalSoft REST API documentation * * API version: 2.0 * Contact: support@metalsoft.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* MetalSoft REST API * * MetalSoft REST API documentation * * API version: 2.0 * Contact: support@metalsoft.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* MetalSoft REST API * * MetalSoft REST API documentation * * API version: 2.0 * Contact: support@metalsoft.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* MetalSoft REST API * * MetalSoft REST API documentation * * API version: 2.0 * Contact: support@metalsoft.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* MetalSoft REST API * * MetalSoft REST API documentation * * API version: 2.0 * Contact: support@metalsoft.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* MetalSoft REST API * * MetalSoft REST API documentation * * API version: 2.0 * Contact: support@metalsoft.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* MetalSoft REST API * * MetalSoft REST API documentation * * API version: 2.0 * Contact: support@metalsoft.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* MetalSoft REST API * * MetalSoft REST API documentation * * API version: 2.0 * Contact: support@metalsoft.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* MetalSoft REST API * * MetalSoft REST API documentation * * API version: 2.0 * Contact: support@metalsoft.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* MetalSoft REST API * * MetalSoft REST API documentation * * API version: 2.0 * Contact: support@metalsoft.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* MetalSoft REST API * * MetalSoft REST API documentation * * API version: 2.0 * Contact: support@metalsoft.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* MetalSoft REST API * * MetalSoft REST API documentation * * API version: 2.0 * Contact: support@metalsoft.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* MetalSoft REST API * * MetalSoft REST API documentation * * API version: 2.0 * Contact: support@metalsoft.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* MetalSoft REST API * * MetalSoft REST API documentation * * API version: 2.0 * Contact: support@metalsoft.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* MetalSoft REST API * * MetalSoft REST API documentation * * API version: 2.0 * Contact: support@metalsoft.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* MetalSoft REST API * * MetalSoft REST API documentation * * API version: 2.0 * Contact: support@metalsoft.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* MetalSoft REST API * * MetalSoft REST API documentation * * API version: 2.0 * Contact: support@metalsoft.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* MetalSoft REST API * * MetalSoft REST API documentation * * API version: 2.0 * Contact: support@metalsoft.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* MetalSoft REST API * * MetalSoft REST API documentation * * API version: 2.0 * Contact: support@metalsoft.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* MetalSoft REST API * * MetalSoft REST API documentation * * API version: 2.0 * Contact: support@metalsoft.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* MetalSoft REST API * * MetalSoft REST API documentation * * API version: 2.0 * Contact: support@metalsoft.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* MetalSoft REST API * * MetalSoft REST API documentation * * API version: 2.0 * Contact: support@metalsoft.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* MetalSoft REST API * * MetalSoft REST API documentation * * API version: 2.0 * Contact: support@metalsoft.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* MetalSoft REST API * * MetalSoft REST API documentation * * API version: 2.0 * Contact: support@metalsoft.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* MetalSoft REST API * * MetalSoft REST API documentation * * API version: 2.0 * Contact: support@metalsoft.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* MetalSoft REST API * * MetalSoft REST API documentation * * API version: 2.0 * Contact: support@metalsoft.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* MetalSoft REST API * * MetalSoft REST API documentation * * API version: 2.0 * Contact: support@metalsoft.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* MetalSoft REST API * * MetalSoft REST API documentation * * API version: 2.0 * Contact: support@metalsoft.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* MetalSoft REST API * * MetalSoft REST API documentation * * API version: 2.0 * Contact: support@metalsoft.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* MetalSoft REST API * * MetalSoft REST API documentation * * API version: 2.0 * Contact: support@metalsoft.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* MetalSoft REST API * * MetalSoft REST API documentation * * API version: 2.0 * Contact: support@metalsoft.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* MetalSoft REST API * * MetalSoft REST API documentation * * API version: 2.0 * Contact: support@metalsoft.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* MetalSoft REST API * * MetalSoft REST API documentation * * API version: 2.0 * Contact: support@metalsoft.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* MetalSoft REST API * * MetalSoft REST API documentation * * API version: 2.0 * Contact: support@metalsoft.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* MetalSoft REST API * * MetalSoft REST API documentation * * API version: 2.0 * Contact: support@metalsoft.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* MetalSoft REST API * * MetalSoft REST API documentation * * API version: 2.0 * Contact: support@metalsoft.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* MetalSoft REST API * * MetalSoft REST API documentation * * API version: 2.0 * Contact: support@metalsoft.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* MetalSoft REST API * * MetalSoft REST API documentation * * API version: 2.0 * Contact: support@metalsoft.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* MetalSoft REST API * * MetalSoft REST API documentation * * API version: 2.0 * Contact: support@metalsoft.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* MetalSoft REST API * * MetalSoft REST API documentation * * API version: 2.0 * Contact: support@metalsoft.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* MetalSoft REST API * * MetalSoft REST API documentation * * API version: 2.0 * Contact: support@metalsoft.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* MetalSoft REST API * * MetalSoft REST API documentation * * API version: 2.0 * Contact: support@metalsoft.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* MetalSoft REST API * * MetalSoft REST API documentation * * API version: 2.0 * Contact: support@metalsoft.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* MetalSoft REST API * * MetalSoft REST API documentation * * API version: 2.0 * Contact: support@metalsoft.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* MetalSoft REST API * * MetalSoft REST API documentation * * API version: 2.0 * Contact: support@metalsoft.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* MetalSoft REST API * * MetalSoft REST API documentation * * API version: 2.0 * Contact: support@metalsoft.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* MetalSoft REST API * * MetalSoft REST API documentation * * API version: 2.0 * Contact: support@metalsoft.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* MetalSoft REST API * * MetalSoft REST API documentation * * API version: 2.0 * Contact: support@metalsoft.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* MetalSoft REST API * * MetalSoft REST API documentation * * API version: 2.0 * Contact: support@metalsoft.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* MetalSoft REST API * * MetalSoft REST API documentation * * API version: 2.0 * Contact: support@metalsoft.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* MetalSoft REST API * * MetalSoft REST API documentation * * API version: 2.0 * Contact: support@metalsoft.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* MetalSoft REST API * * MetalSoft REST API documentation * * API version: 2.0 * Contact: support@metalsoft.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* MetalSoft REST API * * MetalSoft REST API documentation * * API version: 2.0 * Contact: support@metalsoft.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* MetalSoft REST API * * MetalSoft REST API documentation * * API version: 2.0 * Contact: support@metalsoft.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* MetalSoft REST API * * MetalSoft REST API documentation * * API version: 2.0 * Contact: support@metalsoft.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
Index ¶
- Variables
- func CacheExpires(r *http.Response) time.Time
- type AIApiService
- type APIClient
- type APIKey
- type APIResponse
- type AccountAddressDto
- type AccountDto
- type AccountLimits
- type AccountLimitsDto
- type AccountsApiGetAccountOpts
- type AccountsApiService
- func (a *AccountsApiService) ArchiveAccount(ctx context.Context, accountId float64) (AccountDto, *http.Response, error)
- func (a *AccountsApiService) CreateAccount(ctx context.Context, body CreateAccountDto) (AccountDto, *http.Response, error)
- func (a *AccountsApiService) GetAccount(ctx context.Context, accountId string, ...) (AccountDto, *http.Response, error)
- func (a *AccountsApiService) GetAccountLimits(ctx context.Context, accountId float64) (AccountLimitsDto, *http.Response, error)
- func (a *AccountsApiService) GetAccountUsers(ctx context.Context, accountId float64) ([]UserDto, *http.Response, error)
- func (a *AccountsApiService) GetAccounts(ctx context.Context) ([]AccountDto, *http.Response, error)
- func (a *AccountsApiService) UnarchiveAccount(ctx context.Context, accountId float64) (AccountDto, *http.Response, error)
- func (a *AccountsApiService) UpdateAccount(ctx context.Context, body UpdateAccountDto, accountId float64) (AccountDto, *http.Response, error)
- func (a *AccountsApiService) UpdateAccountLimits(ctx context.Context, body AccountLimitsDto, accountId float64) (AccountLimitsDto, *http.Response, error)
- type AfcJobInfo
- type AiGenerateRequestDto
- type AiGenerateResponseDto
- type AuthenticationProvider
- type AuthenticationProviderUpdate
- type BasicAuth
- type Bucket
- type BucketApiService
- func (a *BucketApiService) CreateInfrastructureBucket(ctx context.Context, body CreateBucket, infrastructureId float64) (Bucket, *http.Response, error)
- func (a *BucketApiService) DeleteBucket(ctx context.Context, infrastructureId float64, bucketId float64) (*http.Response, error)
- func (a *BucketApiService) GetBucket(ctx context.Context, bucketId float64) (BucketExtendedInfo, *http.Response, error)
- func (a *BucketApiService) GetInfrastructureBucket(ctx context.Context, infrastructureId float64, bucketId float64) (Bucket, *http.Response, error)
- func (a *BucketApiService) GetInfrastructureBuckets(ctx context.Context, infrastructureId float64) ([]Bucket, *http.Response, error)
- func (a *BucketApiService) StartBucket(ctx context.Context, infrastructureId float64, bucketId float64) (*http.Response, error)
- func (a *BucketApiService) StopBucket(ctx context.Context, infrastructureId float64, bucketId float64) (*http.Response, error)
- func (a *BucketApiService) UpdateBucket(ctx context.Context, body UpdateBucket, infrastructureId float64, ...) (Bucket, *http.Response, error)
- type BucketExtendedInfo
- type BucketList
- type ChangeUserAccountDto
- type Configuration
- type ConfigurationApiGetConfigurationOpts
- type ConfigurationApiService
- type CreateAccountDto
- type CreateBucket
- type CreateExtensionDto
- type CreateExtensionInstanceDto
- type CreateFileShare
- type CreateNetwork
- type CreateResourcePoolDto
- type CreateStorage
- type CreateUserDto
- type CreateVmInstance
- type CreateVmInstanceGroup
- type CreateVmInstanceGroupInterface
- type CreateVmPool
- type CreateVmType
- type CustomVariable
- type DiscoveryQueryDto
- type ExtensionActions
- type ExtensionApiGetExtensionsOpts
- type ExtensionApiService
- func (a *ExtensionApiService) ArchiveExtension(ctx context.Context, extensionId float64) (*http.Response, error)
- func (a *ExtensionApiService) CreateExtension(ctx context.Context, body CreateExtensionDto) (ExtensionDto, *http.Response, error)
- func (a *ExtensionApiService) GetExtension(ctx context.Context, extensionId float64) (ExtensionDto, *http.Response, error)
- func (a *ExtensionApiService) GetExtensions(ctx context.Context, localVarOptionals *ExtensionApiGetExtensionsOpts) (ExtensionListDto, *http.Response, error)
- func (a *ExtensionApiService) PublishExtension(ctx context.Context, extensionId float64) (*http.Response, error)
- func (a *ExtensionApiService) UpdateExtension(ctx context.Context, body UpdateExtensionDto, extensionId float64) (ExtensionDto, *http.Response, error)
- type ExtensionAsset
- type ExtensionDefinitionDto
- type ExtensionDependency
- type ExtensionDto
- type ExtensionInfoDto
- type ExtensionInfrastructure
- type ExtensionInput
- type ExtensionInputBoolean
- type ExtensionInputInteger
- type ExtensionInputOsTemplate
- type ExtensionInputServerType
- type ExtensionInputString
- type ExtensionInputType
- type ExtensionInstanceApiGetExtensionInstancesOpts
- type ExtensionInstanceApiService
- func (a *ExtensionInstanceApiService) CreateExtensionInstance(ctx context.Context, body CreateExtensionInstanceDto, infrastructureId float64) (ExtensionInstanceDto, *http.Response, error)
- func (a *ExtensionInstanceApiService) DeleteExtensionInstance(ctx context.Context, extensionInstanceId float64) (*http.Response, error)
- func (a *ExtensionInstanceApiService) GetExtensionInstance(ctx context.Context, extensionInstanceId float64) (ExtensionInstanceDto, *http.Response, error)
- func (a *ExtensionInstanceApiService) GetExtensionInstances(ctx context.Context, ...) (ExtensionInstanceListDto, *http.Response, error)
- func (a *ExtensionInstanceApiService) UpdateExtensionInstance(ctx context.Context, body UpdateExtensionInstanceDto, ...) (ExtensionInstanceDto, *http.Response, error)
- type ExtensionInstanceArray
- type ExtensionInstanceDto
- type ExtensionInstanceListDto
- type ExtensionListDto
- type ExtensionOutput
- type ExtensionSharedDrive
- type ExtensionTask
- type ExtensionTaskAnsible
- type ExtensionTaskType
- type ExtensionTaskWebhook
- type ExtensionVariable
- type FileShare
- type FileShareApiService
- func (a *FileShareApiService) CreateInfrastructureFileShare(ctx context.Context, body CreateFileShare, infrastructureId float64) (FileShare, *http.Response, error)
- func (a *FileShareApiService) DeleteFileShare(ctx context.Context, infrastructureId float64, fileShareId float64) (*http.Response, error)
- func (a *FileShareApiService) GetFileShare(ctx context.Context, fileShareId float64) (FileShareExtendedInfo, *http.Response, error)
- func (a *FileShareApiService) GetFileShareHosts(ctx context.Context, infrastructureId float64, fileShareId float64) (FileShareHosts, *http.Response, error)
- func (a *FileShareApiService) GetInfrastructureFileShare(ctx context.Context, infrastructureId float64, fileShareId float64) (FileShare, *http.Response, error)
- func (a *FileShareApiService) GetInfrastructureFileShares(ctx context.Context, infrastructureId float64) ([]FileShare, *http.Response, error)
- func (a *FileShareApiService) StartFileShare(ctx context.Context, infrastructureId float64, fileShareId float64) (*http.Response, error)
- func (a *FileShareApiService) StopFileShare(ctx context.Context, infrastructureId float64, fileShareId float64) (*http.Response, error)
- func (a *FileShareApiService) UpdateFileShare(ctx context.Context, body UpdateFileShare, infrastructureId float64, ...) (FileShare, *http.Response, error)
- func (a *FileShareApiService) UpdateFileShareInstanceArrayHostsBulk(ctx context.Context, body FileShareHostsModifyBulk, infrastructureId float64, ...) (FileShareHosts, *http.Response, error)
- type FileShareExtendedInfo
- type FileShareHostBulkOperation
- type FileShareHosts
- type FileShareHostsModifyBulk
- type FileShareList
- type GenericGuiSettings
- type GenericSwaggerError
- type InfrastructureApiGetInfrastructuresOpts
- type InfrastructureApiService
- func (a *InfrastructureApiService) DeployInfrastructure(ctx context.Context, body InfrastructureDeployOptions, ...) (interface{}, *http.Response, error)
- func (a *InfrastructureApiService) GetInfrastructure(ctx context.Context, infrastructureId float64) (InfrastructureDto, *http.Response, error)
- func (a *InfrastructureApiService) GetInfrastructures(ctx context.Context, ...) ([]InfrastructureDto, *http.Response, error)
- func (a *InfrastructureApiService) RevertInfrastructure(ctx context.Context, infrastructureId float64) (*http.Response, error)
- type InfrastructureDeployOptions
- type InfrastructureDeployShutdownOptions
- type InfrastructureDto
- type Link
- type Network
- type NetworkApiService
- func (a *NetworkApiService) CreateInfrastructureNetwork(ctx context.Context, body CreateNetwork, infrastructureId float64) (Network, *http.Response, error)
- func (a *NetworkApiService) DeleteInfrastructureNetwork(ctx context.Context, infrastructureId float64, networkId float64) (*http.Response, error)
- func (a *NetworkApiService) GetInfrastructureNetwork(ctx context.Context, infrastructureId float64, networkId float64) (*http.Response, error)
- func (a *NetworkApiService) GetInfrastructureNetworks(ctx context.Context, infrastructureId float64) (*http.Response, error)
- type NetworkDevicePortStatusDto
- type NetworkDeviceStatusDto
- type NetworkDevicesApiService
- func (a *NetworkDevicesApiService) ChangeNetworkDeviceStatus(ctx context.Context, body NetworkDeviceStatusDto, networkDeviceId float64) (*http.Response, error)
- func (a *NetworkDevicesApiService) DiscoverNetworkDevice(ctx context.Context, body DiscoveryQueryDto, networkDeviceId float64) (*http.Response, error)
- func (a *NetworkDevicesApiService) EnableNetworkDeviceSyslog(ctx context.Context, networkDeviceId float64) (*http.Response, error)
- func (a *NetworkDevicesApiService) GetNetworkDevicePorts(ctx context.Context, networkDeviceId float64) (*http.Response, error)
- func (a *NetworkDevicesApiService) ResetNetworkDevice(ctx context.Context, networkDeviceId float64) (*http.Response, error)
- func (a *NetworkDevicesApiService) SetNetworkDevicePortStatus(ctx context.Context, body NetworkDevicePortStatusDto, networkDeviceId float64) (*http.Response, error)
- type NetworkEquipmentApiService
- type NetworkEquipmentReProvisionOptions
- type NetworkEquipmentReProvisionResponse
- type OneOfExtensionInputOptions
- type OneOfExtensionTaskOptions
- type OneOfUserLimitsDtoUserResourceServerTypeNameToMaxCount
- type OneOfUserLimitsDtoWanSubnetPrefixSizeToMaxCount
- type PatchStorage
- type RemoteConsoleInfoDto
- type ResourcePoolDto
- type ResourcePoolStatistics
- type ResourcePoolWithStatsDto
- type ResourcePoolsApiService
- func (a *ResourcePoolsApiService) AddResourcePoolUser(ctx context.Context, resourcePoolId float64, userId float64) (*http.Response, error)
- func (a *ResourcePoolsApiService) AddServerToResourcePool(ctx context.Context, resourcePoolId float64, serverId float64) (*http.Response, error)
- func (a *ResourcePoolsApiService) AddSubnetPoolToResourcePool(ctx context.Context, resourcePoolId float64, subnetPoolId float64) (*http.Response, error)
- func (a *ResourcePoolsApiService) CreateResourcePool(ctx context.Context, body CreateResourcePoolDto) (ResourcePoolDto, *http.Response, error)
- func (a *ResourcePoolsApiService) DeleteResourcePool(ctx context.Context, resourcePoolId float64) (*http.Response, error)
- func (a *ResourcePoolsApiService) GetResourcePool(ctx context.Context, resourcePoolId float64) (ResourcePoolDto, *http.Response, error)
- func (a *ResourcePoolsApiService) GetResourcePoolServers(ctx context.Context, resourcePoolId float64) (*http.Response, error)
- func (a *ResourcePoolsApiService) GetResourcePoolSubnetPools(ctx context.Context, resourcePoolId float64) (*http.Response, error)
- func (a *ResourcePoolsApiService) GetResourcePoolUsers(ctx context.Context, resourcePoolId float64) (*http.Response, error)
- func (a *ResourcePoolsApiService) GetResourcePools(ctx context.Context) ([]ResourcePoolWithStatsDto, *http.Response, error)
- func (a *ResourcePoolsApiService) GetUserResourcePools(ctx context.Context, userId float64) (*http.Response, error)
- func (a *ResourcePoolsApiService) RemoveResourcePoolUser(ctx context.Context, resourcePoolId float64, userId float64) (*http.Response, error)
- func (a *ResourcePoolsApiService) RemoveServerFromResourcePool(ctx context.Context, resourcePoolId float64, serverId float64) (*http.Response, error)
- func (a *ResourcePoolsApiService) RemoveSubnetPoolFromResourcePool(ctx context.Context, resourcePoolId float64, subnetPoolId float64) (*http.Response, error)
- func (a *ResourcePoolsApiService) UpdateResourcePool(ctx context.Context, body UpdateResourcePoolDto, resourcePoolId float64) (ResourcePoolDto, *http.Response, error)
- type SecurityApiService
- type Server
- type ServerApiService
- func (a *ServerApiService) EnableServerSyslog(ctx context.Context, serverId float64) (*http.Response, error)
- func (a *ServerApiService) GetServerInfo(ctx context.Context, serverId float64) (Server, *http.Response, error)
- func (a *ServerApiService) GetServerPowerState(ctx context.Context, serverId float64) (*http.Response, error)
- func (a *ServerApiService) GetServerRemoteConsoleInfo(ctx context.Context, serverId float64) ([]RemoteConsoleInfoDto, *http.Response, error)
- func (a *ServerApiService) GetServerVNCInfo(ctx context.Context, serverId float64) ([]ServerVncInfoDto, *http.Response, error)
- func (a *ServerApiService) GetServers(ctx context.Context) (ServerList, *http.Response, error)
- func (a *ServerApiService) ReRegisterServer(ctx context.Context, serverId float64) (ServerReRegistrationResponseDto, *http.Response, error)
- func (a *ServerApiService) RegisterServer(ctx context.Context, body ServerRegistrationDto) (ServerRegistrationResponseDto, *http.Response, error)
- func (a *ServerApiService) ResetServerToFactoryDefaults(ctx context.Context, serverId float64) (*http.Response, error)
- func (a *ServerApiService) SetServerPowerState(ctx context.Context, body ServerPowerSetDto, serverId float64) (*http.Response, error)
- type ServerList
- type ServerPowerSetDto
- type ServerReRegistrationResponseDto
- type ServerRegistrationDto
- type ServerRegistrationResponseDto
- type ServerVncInfoDto
- type Storage
- type StorageApiService
- func (a *StorageApiService) CreateStorage(ctx context.Context, body CreateStorage) (StorageRegistrationResponse, *http.Response, error)
- func (a *StorageApiService) GetStorage(ctx context.Context, storageId float64) (StorageRegistrationResponse, *http.Response, error)
- func (a *StorageApiService) GetStorageBuckets(ctx context.Context, storageId float64) (BucketList, *http.Response, error)
- func (a *StorageApiService) GetStorageFileShares(ctx context.Context, storageId float64) (FileShareList, *http.Response, error)
- func (a *StorageApiService) GetStorages(ctx context.Context) (StorageList, *http.Response, error)
- func (a *StorageApiService) UpdateStorage(ctx context.Context, body PatchStorage, storageId float64) (*http.Response, error)
- type StorageList
- type StorageRegistrationResponse
- type StorageRegistrationResponseJobInfo
- type SystemApiService
- type UpdateAccountDto
- type UpdateBucket
- type UpdateExtensionDto
- type UpdateExtensionInstanceDto
- type UpdateFileShare
- type UpdateResourcePoolDto
- type UpdateUserDto
- type UpdateVm
- type UpdateVmInstance
- type UpdateVmInstanceGroup
- type UpdateVmInstanceGroupInterface
- type UpdateVmInstanceGroupNetwork
- type UpdateVmPool
- type UpdateVmPoolClusterHostInterface
- type UpdateVmType
- type UserDelegateDto
- type UserDto
- type UserExperimentalTagDto
- type UserLimits
- type UserLimitsDto
- type UserPromotionDto
- type UserResourcePermissionDto
- type UserResourcePermissionsDto
- type UserSuspendDto
- type UserUpdatePasswordDto
- type UsersApiGetUserOpts
- type UsersApiService
- func (a *UsersApiService) ArchiveUser(ctx context.Context, userId string) (UserDto, *http.Response, error)
- func (a *UsersApiService) ChangeUserAccount(ctx context.Context, body ChangeUserAccountDto, userId string) (UserDto, *http.Response, error)
- func (a *UsersApiService) CreateUser(ctx context.Context, body CreateUserDto) (UserDto, *http.Response, error)
- func (a *UsersApiService) GetUser(ctx context.Context, userId string, localVarOptionals *UsersApiGetUserOpts) (UserDto, *http.Response, error)
- func (a *UsersApiService) GetUserLimits(ctx context.Context, userId string) (UserLimitsDto, *http.Response, error)
- func (a *UsersApiService) GetUsers(ctx context.Context) ([]UserDto, *http.Response, error)
- func (a *UsersApiService) UnarchiveUser(ctx context.Context, userId string) (UserDto, *http.Response, error)
- func (a *UsersApiService) UpdateUser(ctx context.Context, body UpdateUserDto, userId string) (UserDto, *http.Response, error)
- func (a *UsersApiService) UpdateUserLimits(ctx context.Context, body UserLimitsDto, userId string) (UserLimitsDto, *http.Response, error)
- type VMInstanceApiService
- func (a *VMInstanceApiService) ApplyVMTypeOnVMInstance(ctx context.Context, infrastructureId float64, vmInstanceId float64, ...) (VmInstance, *http.Response, error)
- func (a *VMInstanceApiService) CreateVMInstance(ctx context.Context, body CreateVmInstance, infrastructureId float64) (VmInstance, *http.Response, error)
- func (a *VMInstanceApiService) DeleteVMInstance(ctx context.Context, infrastructureId float64, vmInstanceId float64) (*http.Response, error)
- func (a *VMInstanceApiService) GetVMInstance(ctx context.Context, infrastructureId float64, vmInstanceId float64) (VmInstance, *http.Response, error)
- func (a *VMInstanceApiService) GetVMInstancePowerStatus(ctx context.Context, infrastructureId float64, vmInstanceId float64) (string, *http.Response, error)
- func (a *VMInstanceApiService) RebootVMInstance(ctx context.Context, infrastructureId float64, vmInstanceId float64) (*http.Response, error)
- func (a *VMInstanceApiService) ShutdownVMInstance(ctx context.Context, infrastructureId float64, vmInstanceId float64) (*http.Response, error)
- func (a *VMInstanceApiService) StartVMInstance(ctx context.Context, infrastructureId float64, vmInstanceId float64) (*http.Response, error)
- func (a *VMInstanceApiService) UpdateVMInstance(ctx context.Context, body UpdateVmInstance, infrastructureId float64, ...) (VmInstance, *http.Response, error)
- type VMInstanceGroupApiService
- func (a *VMInstanceGroupApiService) ApplyVMTypeOnVMInstanceGroup(ctx context.Context, infrastructureId float64, vmInstanceGroupId float64, ...) (VmInstanceGroup, *http.Response, error)
- func (a *VMInstanceGroupApiService) CreateVMInstanceGroup(ctx context.Context, body CreateVmInstanceGroup, infrastructureId float64) (VmInstanceGroup, *http.Response, error)
- func (a *VMInstanceGroupApiService) CreateVMInterfaceOnVMInstanceGroup(ctx context.Context, body CreateVmInstanceGroupInterface, ...) (VmInstanceGroupInterface, *http.Response, error)
- func (a *VMInstanceGroupApiService) DeleteVMInstanceGroup(ctx context.Context, infrastructureId float64, vmInstanceGroupId float64) (*http.Response, error)
- func (a *VMInstanceGroupApiService) GetVMInstanceGroup(ctx context.Context, infrastructureId float64, vmInstanceGroupId float64) (VmInstanceGroup, *http.Response, error)
- func (a *VMInstanceGroupApiService) GetVMInstanceGroupVMInstances(ctx context.Context, infrastructureId float64, vmInstanceGroupId float64) (map[string]VmInstance, *http.Response, error)
- func (a *VMInstanceGroupApiService) GetVMInstanceGroups(ctx context.Context, infrastructureId float64) ([]VmInstanceGroup, *http.Response, error)
- func (a *VMInstanceGroupApiService) UpdateNetworkProfileOnVMInstanceGroupNetwork(ctx context.Context, body UpdateVmInstanceGroupNetwork, ...) (VmInstanceGroup, *http.Response, error)
- func (a *VMInstanceGroupApiService) UpdateVMInstanceGroup(ctx context.Context, body UpdateVmInstanceGroup, infrastructureId float64, ...) (VmInstanceGroup, *http.Response, error)
- type VMPoolsApiService
- func (a *VMPoolsApiService) CreateVMPool(ctx context.Context, body CreateVmPool) (VmPool, *http.Response, error)
- func (a *VMPoolsApiService) DeleteVMPool(ctx context.Context, vmPoolId float64) (*http.Response, error)
- func (a *VMPoolsApiService) GetVMPool(ctx context.Context, vmPoolId float64) (VmPool, *http.Response, error)
- func (a *VMPoolsApiService) GetVMPoolClusterHost(ctx context.Context, vmPoolId float64, vmPoolClusterHostId float64) (VmPoolHosts, *http.Response, error)
- func (a *VMPoolsApiService) GetVMPoolClusterHostInterface(ctx context.Context, vmPoolId float64, vmPoolClusterHostId float64, ...) (VmPoolHostInterfaces, *http.Response, error)
- func (a *VMPoolsApiService) GetVMPoolClusterHostInterfaces(ctx context.Context, vmPoolId float64, vmPoolClusterHostId float64) ([]VmPoolHostInterfaces, *http.Response, error)
- func (a *VMPoolsApiService) GetVMPoolClusterHostVMs(ctx context.Context, vmPoolId float64, vmPoolClusterHostId float64) (VmList, *http.Response, error)
- func (a *VMPoolsApiService) GetVMPoolClusterHosts(ctx context.Context, vmPoolId float64) (VmPoolHostsList, *http.Response, error)
- func (a *VMPoolsApiService) GetVMPoolVMs(ctx context.Context, vmPoolId float64) (*http.Response, error)
- func (a *VMPoolsApiService) GetVMPools(ctx context.Context) (VmPoolList, *http.Response, error)
- func (a *VMPoolsApiService) UpdateVMPool(ctx context.Context, body UpdateVmPool, vmPoolId float64) (VmPool, *http.Response, error)
- func (a *VMPoolsApiService) UpdateVMPoolClusterHostInterface(ctx context.Context, body UpdateVmPoolClusterHostInterface, vmPoolId float64, ...) (VmPoolHostInterfaces, *http.Response, error)
- type VMTypesApiService
- func (a *VMTypesApiService) CreateVMType(ctx context.Context, body CreateVmType) (VmType, *http.Response, error)
- func (a *VMTypesApiService) DeleteVMType(ctx context.Context, vmTypeId float64) (*http.Response, error)
- func (a *VMTypesApiService) GetVMType(ctx context.Context, vmTypeId float64) (VmType, *http.Response, error)
- func (a *VMTypesApiService) GetVMTypes(ctx context.Context) (VmTypeList, *http.Response, error)
- func (a *VMTypesApiService) GetVMsByVMType(ctx context.Context, vmTypeId float64) (*http.Response, error)
- func (a *VMTypesApiService) UpdateVMType(ctx context.Context, body UpdateVmType, vmTypeId float64) (VmType, *http.Response, error)
- type VMsApiService
- func (a *VMsApiService) GetVM(ctx context.Context, vmId float64) (*http.Response, error)
- func (a *VMsApiService) GetVMPowerStatus(ctx context.Context, vmId float64) (*http.Response, error)
- func (a *VMsApiService) GetVMRemoteConsoleInfo(ctx context.Context, vmId float64) ([]RemoteConsoleInfoDto, *http.Response, error)
- func (a *VMsApiService) RebootVM(ctx context.Context, vmId float64) (*http.Response, error)
- func (a *VMsApiService) ShutdownVM(ctx context.Context, vmId float64) (*http.Response, error)
- func (a *VMsApiService) StartVM(ctx context.Context, vmId float64) (*http.Response, error)
- func (a *VMsApiService) UpdateVM(ctx context.Context, body UpdateVm, vmId float64) (Vm, *http.Response, error)
- type Version
- type Vm
- type VmDisk
- type VmInstance
- type VmInstanceGroup
- type VmInstanceGroupGuiSettingsDto
- type VmInstanceGroupInterface
- type VmList
- type VmPool
- type VmPoolHostInterfaces
- type VmPoolHosts
- type VmPoolHostsList
- type VmPoolList
- type VmType
- type VmTypeList
Constants ¶
This section is empty.
Variables ¶
var ( // ContextOAuth2 takes a oauth2.TokenSource as authentication for the request. ContextOAuth2 = contextKey("token") // ContextBasicAuth takes BasicAuth as authentication for the request. ContextBasicAuth = contextKey("basic") // ContextAccessToken takes a string oauth2 access token as authentication for the request. ContextAccessToken = contextKey("accesstoken") // ContextAPIKey takes an APIKey as authentication for the request ContextAPIKey = contextKey("apikey") )
Functions ¶
Types ¶
type AIApiService ¶
type AIApiService service
func (*AIApiService) GenerateEliResponse ¶ added in v1.1.0
func (a *AIApiService) GenerateEliResponse(ctx context.Context, body AiGenerateRequestDto) (AiGenerateResponseDto, *http.Response, error)
AIApiService Request from AI a response for the given input Returns response with potential actions to execute
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param body The AI generate request
@return AiGenerateResponseDto
type APIClient ¶
type APIClient struct {
AIApi *AIApiService
AccountsApi *AccountsApiService
BucketApi *BucketApiService
ConfigurationApi *ConfigurationApiService
ExtensionApi *ExtensionApiService
ExtensionInstanceApi *ExtensionInstanceApiService
InfrastructureApi *InfrastructureApiService
NetworkApi *NetworkApiService
NetworkDevicesApi *NetworkDevicesApiService
NetworkEquipmentApi *NetworkEquipmentApiService
ResourcePoolsApi *ResourcePoolsApiService
SecurityApi *SecurityApiService
ServerApi *ServerApiService
StorageApi *StorageApiService
SystemApi *SystemApiService
UsersApi *UsersApiService
VMInstanceApi *VMInstanceApiService
VMInstanceGroupApi *VMInstanceGroupApiService
VMPoolsApi *VMPoolsApiService
VMTypesApi *VMTypesApiService
VMsApi *VMsApiService
// contains filtered or unexported fields
}
APIClient manages communication with the MetalSoft REST API API v2.0 In most cases there should be only one, shared, APIClient.
func NewAPIClient ¶
func NewAPIClient(cfg *Configuration) *APIClient
NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.
func (*APIClient) ChangeBasePath ¶
Change base path to allow switching to mocks
type APIKey ¶
APIKey provides API key based authentication to a request passed via context using ContextAPIKey
type APIResponse ¶
type APIResponse struct {
*http.Response `json:"-"`
Message string `json:"message,omitempty"`
// Operation is the name of the swagger operation.
Operation string `json:"operation,omitempty"`
// RequestURL is the request URL. This value is always available, even if the
// embedded *http.Response is nil.
RequestURL string `json:"url,omitempty"`
// Method is the HTTP method used for the request. This value is always
// available, even if the embedded *http.Response is nil.
Method string `json:"method,omitempty"`
// Payload holds the contents of the response body (which may be nil or empty).
// This is provided here as the raw response.Body() reader will have already
// been drained.
Payload []byte `json:"-"`
}
func NewAPIResponse ¶
func NewAPIResponse(r *http.Response) *APIResponse
func NewAPIResponseWithError ¶
func NewAPIResponseWithError(errorMessage string) *APIResponse
type AccountAddressDto ¶
type AccountAddressDto struct {
// The first line of the account address
AddressLine1 string `json:"addressLine1,omitempty" yaml:"addressLine1,omitempty"`
// The second line of the account address
AddressLine2 string `json:"addressLine2,omitempty" yaml:"addressLine2,omitempty"`
// The postal code of the account address
PostalCode string `json:"postalCode,omitempty" yaml:"postalCode,omitempty"`
// The state of the account address
State string `json:"state,omitempty" yaml:"state,omitempty"`
// The country of the account address
Country string `json:"country,omitempty" yaml:"country,omitempty"`
}
type AccountDto ¶
type AccountDto struct {
// Account ID
Id string `json:"id" yaml:"id"`
// The ID of the parent account
ParentAccountId float64 `json:"parentAccountId,omitempty" yaml:"parentAccountId,omitempty"`
// The name of the account
Name string `json:"name" yaml:"name"`
// The code of the account
Code string `json:"code,omitempty" yaml:"code,omitempty"`
// The fiscal number of the account
FiscalNumber string `json:"fiscalNumber,omitempty" yaml:"fiscalNumber,omitempty"`
Address *AccountAddressDto `json:"address,omitempty" yaml:"address,omitempty"`
// The user ID of the primary contact
PrimaryContactId float64 `json:"primaryContactId,omitempty" yaml:"primaryContactId,omitempty"`
// The user ID of the secondary contact
SecondaryContactId float64 `json:"secondaryContactId,omitempty" yaml:"secondaryContactId,omitempty"`
// Whether the account is archived
Archived float64 `json:"archived,omitempty" yaml:"archived,omitempty"`
Limits *AccountLimits `json:"limits" yaml:"limits"`
}
type AccountLimits ¶
type AccountLimits struct {
UserResourceServerTypeNameToMaxCount *interface{} `json:"user_resource_server_type_name_to_max_count" yaml:"user_resource_server_type_name_to_max_count"`
WanSubnetPrefixSizeToMaxCount *interface{} `json:"wan_subnet_prefix_size_to_max_count" yaml:"wan_subnet_prefix_size_to_max_count"`
}
type AccountLimitsDto ¶
type AccountLimitsDto struct {
UserResourceServerTypeNameToMaxCount *interface{} `json:"userResourceServerTypeNameToMaxCount,omitempty" yaml:"userResourceServerTypeNameToMaxCount,omitempty"`
WanSubnetPrefixSizeToMaxCount *interface{} `json:"wanSubnetPrefixSizeToMaxCount,omitempty" yaml:"wanSubnetPrefixSizeToMaxCount,omitempty"`
}
type AccountsApiGetAccountOpts ¶ added in v1.1.0
type AccountsApiService ¶
type AccountsApiService service
func (*AccountsApiService) ArchiveAccount ¶ added in v1.1.0
func (a *AccountsApiService) ArchiveAccount(ctx context.Context, accountId float64) (AccountDto, *http.Response, error)
AccountsApiService Archive account Archives an account
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param accountId
@return AccountDto
func (*AccountsApiService) CreateAccount ¶ added in v1.1.0
func (a *AccountsApiService) CreateAccount(ctx context.Context, body CreateAccountDto) (AccountDto, *http.Response, error)
AccountsApiService Create account Creates an account
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param body The account to create
@return AccountDto
func (*AccountsApiService) GetAccount ¶ added in v1.1.0
func (a *AccountsApiService) GetAccount(ctx context.Context, accountId string, localVarOptionals *AccountsApiGetAccountOpts) (AccountDto, *http.Response, error)
func (*AccountsApiService) GetAccountLimits ¶ added in v1.1.0
func (a *AccountsApiService) GetAccountLimits(ctx context.Context, accountId float64) (AccountLimitsDto, *http.Response, error)
AccountsApiService Get account limits Returns the limits of an account
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param accountId
@return AccountLimitsDto
func (*AccountsApiService) GetAccountUsers ¶ added in v1.1.0
func (a *AccountsApiService) GetAccountUsers(ctx context.Context, accountId float64) ([]UserDto, *http.Response, error)
AccountsApiService Get users for account Returns users for an account
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param accountId
@return []UserDto
func (*AccountsApiService) GetAccounts ¶ added in v1.1.0
func (a *AccountsApiService) GetAccounts(ctx context.Context) ([]AccountDto, *http.Response, error)
AccountsApiService Get all accounts Returns all accounts
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return []AccountDto
func (*AccountsApiService) UnarchiveAccount ¶ added in v1.1.0
func (a *AccountsApiService) UnarchiveAccount(ctx context.Context, accountId float64) (AccountDto, *http.Response, error)
AccountsApiService Unarchive account Unarchives an account
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param accountId
@return AccountDto
func (*AccountsApiService) UpdateAccount ¶ added in v1.1.0
func (a *AccountsApiService) UpdateAccount(ctx context.Context, body UpdateAccountDto, accountId float64) (AccountDto, *http.Response, error)
AccountsApiService Update account Updates an account
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param body The account updates
- @param accountId
@return AccountDto
func (*AccountsApiService) UpdateAccountLimits ¶ added in v1.1.0
func (a *AccountsApiService) UpdateAccountLimits(ctx context.Context, body AccountLimitsDto, accountId float64) (AccountLimitsDto, *http.Response, error)
AccountsApiService Update account limits Updates the limits of an account
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param body The account limits updates
- @param accountId
@return AccountLimitsDto
type AfcJobInfo ¶
type AiGenerateRequestDto ¶
type AiGenerateResponseDto ¶
type AuthenticationProvider ¶
type BasicAuth ¶
type BasicAuth struct {
UserName string `json:"userName,omitempty"`
Password string `json:"password,omitempty"`
}
BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth
type Bucket ¶ added in v1.1.0
type Bucket struct {
// Id of the Bucket
Id float64 `json:"id" yaml:"id"`
// Change id of the Bucket
ChangeId float64 `json:"changeId" yaml:"changeId"`
// Infrastructure id of the Bucket
InfrastructureId float64 `json:"infrastructureId" yaml:"infrastructureId"`
// Disk size in GB for Bucket
SizeGB float64 `json:"sizeGB" yaml:"sizeGB"`
// Timestamp of the Bucket creation.
CreatedTimestamp string `json:"createdTimestamp" yaml:"createdTimestamp"`
// Timestamp of the Bucket last update.
UpdatedTimestamp string `json:"updatedTimestamp" yaml:"updatedTimestamp"`
// Id of the storage pool the Bucket is assigned to
StoragePoolId float64 `json:"storagePoolId,omitempty" yaml:"storagePoolId,omitempty"`
// Service status of the Bucket
ServiceStatus string `json:"serviceStatus" yaml:"serviceStatus"`
// Label of the Bucket.
Label string `json:"label" yaml:"label"`
// Subdomain of the Bucket.
Subdomain string `json:"subdomain,omitempty" yaml:"subdomain,omitempty"`
// Subdomain permanent of the Bucket.
SubdomainPermanent string `json:"subdomainPermanent,omitempty" yaml:"subdomainPermanent,omitempty"`
// Id of the DNS subdomain for the Bucket.
DnsSubdomainId float64 `json:"dnsSubdomainId,omitempty" yaml:"dnsSubdomainId,omitempty"`
// Id of the VLAN for the Bucket.
NetworkVlanId float64 `json:"networkVlanId,omitempty" yaml:"networkVlanId,omitempty"`
GuiSettings *GenericGuiSettings `json:"guiSettings,omitempty" yaml:"guiSettings,omitempty"`
// Endpoint of the Bucket.
Endpoint *string `json:"endpoint,omitempty" yaml:"endpoint,omitempty"`
// Endpoint of the Bucket.
AccessKeyId *string `json:"accessKeyId,omitempty" yaml:"accessKeyId,omitempty"`
// Endpoint of the Bucket.
SecretKey *string `json:"secretKey,omitempty" yaml:"secretKey,omitempty"`
// Operation object of the Bucket.
Operation string `json:"operation,omitempty" yaml:"operation,omitempty"`
Links *interface{} `json:"links" yaml:"links"`
}
type BucketApiService ¶ added in v1.1.0
type BucketApiService service
func (*BucketApiService) CreateInfrastructureBucket ¶ added in v1.1.0
func (a *BucketApiService) CreateInfrastructureBucket(ctx context.Context, body CreateBucket, infrastructureId float64) (Bucket, *http.Response, error)
BucketApiService Creates a Bucket Creates a Bucket
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param body The Bucket create object
- @param infrastructureId
@return Bucket
func (*BucketApiService) DeleteBucket ¶ added in v1.1.0
func (a *BucketApiService) DeleteBucket(ctx context.Context, infrastructureId float64, bucketId float64) (*http.Response, error)
BucketApiService Deletes a Bucket Deletes a Bucket
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param infrastructureId
- @param bucketId
func (*BucketApiService) GetBucket ¶ added in v1.1.0
func (a *BucketApiService) GetBucket(ctx context.Context, bucketId float64) (BucketExtendedInfo, *http.Response, error)
BucketApiService Get Bucket information Returns Bucket information
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param bucketId
@return BucketExtendedInfo
func (*BucketApiService) GetInfrastructureBucket ¶ added in v1.1.0
func (a *BucketApiService) GetInfrastructureBucket(ctx context.Context, infrastructureId float64, bucketId float64) (Bucket, *http.Response, error)
BucketApiService Get Bucket information Returns Bucket information
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param infrastructureId
- @param bucketId
@return Bucket
func (*BucketApiService) GetInfrastructureBuckets ¶ added in v1.1.0
func (a *BucketApiService) GetInfrastructureBuckets(ctx context.Context, infrastructureId float64) ([]Bucket, *http.Response, error)
BucketApiService Get all Buckets Returns list of all Buckets
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param infrastructureId
@return []Bucket
func (*BucketApiService) StartBucket ¶ added in v1.1.0
func (a *BucketApiService) StartBucket(ctx context.Context, infrastructureId float64, bucketId float64) (*http.Response, error)
BucketApiService Starts a Bucket Starts a Bucket
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param infrastructureId
- @param bucketId
func (*BucketApiService) StopBucket ¶ added in v1.1.0
func (a *BucketApiService) StopBucket(ctx context.Context, infrastructureId float64, bucketId float64) (*http.Response, error)
BucketApiService Stops a Bucket Stops a Bucket
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param infrastructureId
- @param bucketId
func (*BucketApiService) UpdateBucket ¶ added in v1.1.0
func (a *BucketApiService) UpdateBucket(ctx context.Context, body UpdateBucket, infrastructureId float64, bucketId float64) (Bucket, *http.Response, error)
BucketApiService Updates Bucket information Updates Bucket information
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param body The Bucket update object
- @param infrastructureId
- @param bucketId
@return Bucket
type BucketExtendedInfo ¶ added in v1.1.0
type BucketExtendedInfo struct {
// Id of the Bucket
Id float64 `json:"id,omitempty" yaml:"id,omitempty"`
// Change id of the Bucket
ChangeId float64 `json:"changeId,omitempty" yaml:"changeId,omitempty"`
// Infrastructure id of the Bucket
InfrastructureId float64 `json:"infrastructureId,omitempty" yaml:"infrastructureId,omitempty"`
// Disk size in GB for Bucket
SizeGB float64 `json:"sizeGB,omitempty" yaml:"sizeGB,omitempty"`
// Timestamp of the Bucket creation.
CreatedTimestamp string `json:"createdTimestamp,omitempty" yaml:"createdTimestamp,omitempty"`
// Timestamp of the Bucket last update.
UpdatedTimestamp string `json:"updatedTimestamp,omitempty" yaml:"updatedTimestamp,omitempty"`
// Id of the storage pool the Bucket is assigned to
StoragePoolId float64 `json:"storagePoolId,omitempty" yaml:"storagePoolId,omitempty"`
// Service status of the Bucket
ServiceStatus string `json:"serviceStatus,omitempty" yaml:"serviceStatus,omitempty"`
// Label of the Bucket.
Label string `json:"label,omitempty" yaml:"label,omitempty"`
// Subdomain of the Bucket.
Subdomain string `json:"subdomain,omitempty" yaml:"subdomain,omitempty"`
// Subdomain permanent of the Bucket.
SubdomainPermanent string `json:"subdomainPermanent,omitempty" yaml:"subdomainPermanent,omitempty"`
// Id of the DNS subdomain for the Bucket.
DnsSubdomainId float64 `json:"dnsSubdomainId,omitempty" yaml:"dnsSubdomainId,omitempty"`
// Id of the VLAN for the Bucket.
NetworkVlanId float64 `json:"networkVlanId,omitempty" yaml:"networkVlanId,omitempty"`
GuiSettings *GenericGuiSettings `json:"guiSettings,omitempty" yaml:"guiSettings,omitempty"`
// Endpoint of the Bucket.
Endpoint *string `json:"endpoint,omitempty" yaml:"endpoint,omitempty"`
// Endpoint of the Bucket.
AccessKeyId *string `json:"accessKeyId,omitempty" yaml:"accessKeyId,omitempty"`
// Endpoint of the Bucket.
SecretKey *string `json:"secretKey,omitempty" yaml:"secretKey,omitempty"`
// Infrastructure information
Infrastructure *interface{} `json:"infrastructure" yaml:"infrastructure"`
Links *interface{} `json:"links,omitempty" yaml:"links,omitempty"`
}
type BucketList ¶ added in v1.1.0
type BucketList struct {
// List of Buckets
Data []BucketExtendedInfo `json:"data" yaml:"data"`
// Meta information
Meta *interface{} `json:"meta" yaml:"meta"`
// Links to other resources
Links *interface{} `json:"links" yaml:"links"`
}
type ChangeUserAccountDto ¶
type ChangeUserAccountDto struct {
// The ID of the parent account
NewAccountId float64 `json:"newAccountId" yaml:"newAccountId"`
}
type Configuration ¶
type Configuration struct {
BasePath string `json:"basePath,omitempty"`
Host string `json:"host,omitempty"`
Scheme string `json:"scheme,omitempty"`
DefaultHeader map[string]string `json:"defaultHeader,omitempty"`
UserAgent string `json:"userAgent,omitempty"`
HTTPClient *http.Client
}
func NewConfiguration ¶
func NewConfiguration() *Configuration
func (*Configuration) AddDefaultHeader ¶
func (c *Configuration) AddDefaultHeader(key string, value string)
type ConfigurationApiGetConfigurationOpts ¶ added in v1.1.0
type ConfigurationApiService ¶
type ConfigurationApiService service
func (*ConfigurationApiService) GetConfiguration ¶ added in v1.1.0
func (a *ConfigurationApiService) GetConfiguration(ctx context.Context, localVarOptionals *ConfigurationApiGetConfigurationOpts) (interface{}, *http.Response, error)
type CreateAccountDto ¶
type CreateAccountDto struct {
// The ID of the parent account
ParentAccountId float64 `json:"parentAccountId,omitempty" yaml:"parentAccountId,omitempty"`
// The name of the account
Name string `json:"name,omitempty" yaml:"name,omitempty"`
// The code of the account
Code string `json:"code,omitempty" yaml:"code,omitempty"`
// The fiscal number of the account
FiscalNumber string `json:"fiscalNumber,omitempty" yaml:"fiscalNumber,omitempty"`
Address *AccountAddressDto `json:"address,omitempty" yaml:"address,omitempty"`
}
type CreateBucket ¶ added in v1.1.0
type CreateExtensionDto ¶ added in v1.1.0
type CreateExtensionDto struct {
// The extension name
Name string `json:"name" yaml:"name"`
// The extension unique label
Label string `json:"label,omitempty" yaml:"label,omitempty"`
// The extension description
Description string `json:"description" yaml:"description"`
Definition *ExtensionDefinitionDto `json:"definition" yaml:"definition"`
}
type CreateExtensionInstanceDto ¶ added in v1.2.0
type CreateExtensionInstanceDto struct {
// The extension ID.
ExtensionId float64 `json:"extensionId,omitempty" yaml:"extensionId,omitempty"`
// The extension instance label. Will be automatically generated if not provided.
Label string `json:"label,omitempty" yaml:"label,omitempty"`
// Input variables values.
InputVariables []ExtensionVariable `json:"inputVariables,omitempty" yaml:"inputVariables,omitempty"`
}
type CreateFileShare ¶
type CreateNetwork ¶ added in v1.1.0
type CreateNetwork struct {
// Label of the Network.
Label string `json:"label,omitempty" yaml:"label,omitempty"`
}
type CreateResourcePoolDto ¶
type CreateStorage ¶
type CreateStorage struct {
UserId float64 `json:"userId,omitempty" yaml:"userId,omitempty"`
SiteId float64 `json:"siteId" yaml:"siteId"`
StorageDriver string `json:"storageDriver" yaml:"storageDriver"`
StorageTechnology string `json:"storageTechnology" yaml:"storageTechnology"`
StorageType string `json:"storageType" yaml:"storageType"`
Name string `json:"name" yaml:"name"`
IscsiHost string `json:"iscsiHost,omitempty" yaml:"iscsiHost,omitempty"`
IscsiPort float64 `json:"iscsiPort,omitempty" yaml:"iscsiPort,omitempty"`
ManagementHost string `json:"managementHost" yaml:"managementHost"`
Username string `json:"username" yaml:"username"`
Password string `json:"password" yaml:"password"`
Options *interface{} `json:"options,omitempty" yaml:"options,omitempty"`
InMaintenance float64 `json:"inMaintenance,omitempty" yaml:"inMaintenance,omitempty"`
TargetIQN string `json:"targetIQN,omitempty" yaml:"targetIQN,omitempty"`
IsExperimental float64 `json:"isExperimental,omitempty" yaml:"isExperimental,omitempty"`
DrivePriority float64 `json:"drivePriority,omitempty" yaml:"drivePriority,omitempty"`
AlternateSanIPs []string `json:"alternateSanIPs,omitempty" yaml:"alternateSanIPs,omitempty"`
Tags []string `json:"tags,omitempty" yaml:"tags,omitempty"`
PortGroupAllocationOrder []string `json:"portGroupAllocationOrder,omitempty" yaml:"portGroupAllocationOrder,omitempty"`
PortGroupPhysicalPorts *interface{} `json:"portGroupPhysicalPorts,omitempty" yaml:"portGroupPhysicalPorts,omitempty"`
DefaultIoLimitPolicy string `json:"defaultIoLimitPolicy,omitempty" yaml:"defaultIoLimitPolicy,omitempty"`
SubnetType string `json:"subnetType" yaml:"subnetType"`
ArrayId string `json:"arrayId,omitempty" yaml:"arrayId,omitempty"`
DirectorId string `json:"directorId,omitempty" yaml:"directorId,omitempty"`
S3Hostname string `json:"s3Hostname,omitempty" yaml:"s3Hostname,omitempty"`
S3Port float64 `json:"s3Port,omitempty" yaml:"s3Port,omitempty"`
}
type CreateUserDto ¶
type CreateUserDto struct {
// The display name of the user
DisplayName string `json:"displayName,omitempty" yaml:"displayName,omitempty"`
// The email address of the user
Email string `json:"email,omitempty" yaml:"email,omitempty"`
// The access level of the user
AccessLevel string `json:"accessLevel,omitempty" yaml:"accessLevel,omitempty"`
// The password of the user
Password string `json:"password,omitempty" yaml:"password,omitempty"`
// The redirect URL for the user
RedirectUrl string `json:"redirectUrl,omitempty" yaml:"redirectUrl,omitempty"`
// The AES key for the user
AESKey string `json:"AESKey,omitempty" yaml:"AESKey,omitempty"`
// Whether the user has verified their email address
EmailVerified bool `json:"emailVerified,omitempty" yaml:"emailVerified,omitempty"`
// Whether an account should be created with the user
CreateWithAccount bool `json:"createWithAccount,omitempty" yaml:"createWithAccount,omitempty"`
// The account ID of the user
AccountId float64 `json:"accountId,omitempty" yaml:"accountId,omitempty"`
}
type CreateVmInstance ¶ added in v1.1.0
type CreateVmInstanceGroup ¶ added in v1.1.0
type CreateVmInstanceGroup struct {
// Number of VM instances in the VM Instance Group.
InstanceCount float64 `json:"instanceCount" yaml:"instanceCount"`
// Id of the VM Type.
TypeId float64 `json:"typeId" yaml:"typeId"`
// Disk size in GB for each VM Instance in the VM Instance Group.
DiskSizeGB float64 `json:"diskSizeGB" yaml:"diskSizeGB"`
// Id of the VM Volume Template.
VolumeTemplateId *float64 `json:"volumeTemplateId" yaml:"volumeTemplateId"`
// Tags for the VM Instance Group.
Tags []string `json:"tags,omitempty" yaml:"tags,omitempty"`
}
type CreateVmInstanceGroupInterface ¶ added in v1.1.0
type CreateVmInstanceGroupInterface struct {
// Network ID for the interface. Can be null if the interface is not connected to any network
NetworkId *float64 `json:"networkId,omitempty" yaml:"networkId,omitempty"`
}
type CreateVmPool ¶ added in v1.1.0
type CreateVmPool struct {
// Id of the site for the VM Pool
SiteId float64 `json:"siteId,omitempty" yaml:"siteId,omitempty"`
// Host of the VM Pool
ManagementHost string `json:"managementHost,omitempty" yaml:"managementHost,omitempty"`
// Port of the VM Pool
ManagementPort float64 `json:"managementPort,omitempty" yaml:"managementPort,omitempty"`
// Name of the VM Pool
Name string `json:"name,omitempty" yaml:"name,omitempty"`
// Description of the VM Pool
Description *string `json:"description,omitempty" yaml:"description,omitempty"`
// Type of the VM Pool
Type_ string `json:"type,omitempty" yaml:"type,omitempty"`
// Certificate of the VM Pool
Certificate string `json:"certificate,omitempty" yaml:"certificate,omitempty"`
// Private key of the VM Pool
PrivateKey string `json:"privateKey,omitempty" yaml:"privateKey,omitempty"`
}
type CreateVmType ¶ added in v1.1.0
type CreateVmType struct {
// Name of the VM type
Name string `json:"name,omitempty" yaml:"name,omitempty"`
// Display name of the VM type
DisplayName string `json:"displayName,omitempty" yaml:"displayName,omitempty"`
// Label of the VM type
Label string `json:"label,omitempty" yaml:"label,omitempty"`
// Number of CPU cores for the VM type
CpuCores float64 `json:"cpuCores,omitempty" yaml:"cpuCores,omitempty"`
// RAM in GB for the VM type
RamGB float64 `json:"ramGB,omitempty" yaml:"ramGB,omitempty"`
// Flag to indicate if the VM Type is experimental. 1 for true, 0 for false. Default is 0.
IsExperimental float64 `json:"isExperimental,omitempty" yaml:"isExperimental,omitempty"`
// Tags for the VM Type. This is a JSON object.
Tags []string `json:"tags,omitempty" yaml:"tags,omitempty"`
// Flag to indicate if the VM Type is for unmanaged VMs only. 1 for true, 0 for false. Default is 0.
ForUnmanagedVMsOnly float64 `json:"forUnmanagedVMsOnly,omitempty" yaml:"forUnmanagedVMsOnly,omitempty"`
}
type CustomVariable ¶ added in v1.9.0
type DiscoveryQueryDto ¶
type ExtensionActions ¶ added in v1.9.0
type ExtensionActions struct {
// Pre-deploy tasks.
PreDeploy []ExtensionTask `json:"preDeploy,omitempty" yaml:"preDeploy,omitempty"`
// Post-deploy tasks.
PostDeploy []ExtensionTask `json:"postDeploy,omitempty" yaml:"postDeploy,omitempty"`
}
type ExtensionApiGetExtensionsOpts ¶ added in v1.1.0
type ExtensionApiService ¶ added in v1.1.0
type ExtensionApiService service
func (*ExtensionApiService) ArchiveExtension ¶ added in v1.1.0
func (a *ExtensionApiService) ArchiveExtension(ctx context.Context, extensionId float64) (*http.Response, error)
ExtensionApiService Archive published extension Archives published extension.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param extensionId
func (*ExtensionApiService) CreateExtension ¶ added in v1.1.0
func (a *ExtensionApiService) CreateExtension(ctx context.Context, body CreateExtensionDto) (ExtensionDto, *http.Response, error)
ExtensionApiService Create extension Returns details of the new extension
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param body The extension details
@return ExtensionDto
func (*ExtensionApiService) GetExtension ¶ added in v1.1.0
func (a *ExtensionApiService) GetExtension(ctx context.Context, extensionId float64) (ExtensionDto, *http.Response, error)
ExtensionApiService Get details for an extension Returns details of the specified extension
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param extensionId
@return ExtensionDto
func (*ExtensionApiService) GetExtensions ¶ added in v1.1.0
func (a *ExtensionApiService) GetExtensions(ctx context.Context, localVarOptionals *ExtensionApiGetExtensionsOpts) (ExtensionListDto, *http.Response, error)
func (*ExtensionApiService) PublishExtension ¶ added in v1.1.0
func (a *ExtensionApiService) PublishExtension(ctx context.Context, extensionId float64) (*http.Response, error)
ExtensionApiService Publish draft extension Publishes draft extension.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param extensionId
func (*ExtensionApiService) UpdateExtension ¶ added in v1.1.0
func (a *ExtensionApiService) UpdateExtension(ctx context.Context, body UpdateExtensionDto, extensionId float64) (ExtensionDto, *http.Response, error)
ExtensionApiService Update extension Returns details of the updated extension
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param body The extension details
- @param extensionId
@return ExtensionDto
type ExtensionAsset ¶ added in v1.9.0
type ExtensionAsset struct {
// Label of the asset.
Label string `json:"label" yaml:"label"`
// Name of the asset.
Name string `json:"name" yaml:"name"`
// Type of the asset.
AssetType string `json:"assetType" yaml:"assetType"`
// URL of the asset.
Url string `json:"url" yaml:"url"`
// Required assets by this asset.
RequiredAssets []string `json:"requiredAssets,omitempty" yaml:"requiredAssets,omitempty"`
}
type ExtensionDefinitionDto ¶ added in v1.2.0
type ExtensionDefinitionDto struct {
// The kind of extension.
Kind string `json:"kind" yaml:"kind"`
// Schema version of the extension.
SchemaVersion string `json:"schemaVersion" yaml:"schemaVersion"`
// Name of the extension.
Name string `json:"name" yaml:"name"`
// Label of the extension.
Label string `json:"label" yaml:"label"`
// Type of the extension.
ExtensionType string `json:"extensionType" yaml:"extensionType"`
// Vendor of the extension.
Vendor string `json:"vendor" yaml:"vendor"`
// Version of the extension.
ExtensionVersion string `json:"extensionVersion" yaml:"extensionVersion"`
// Description of the extension.
Description string `json:"description,omitempty" yaml:"description,omitempty"`
// Icon of the extension.
Icon string `json:"icon" yaml:"icon"`
Dependencies *ExtensionDependency `json:"dependencies" yaml:"dependencies"`
// List of inputs for the platform service.
Inputs []ExtensionInput `json:"inputs" yaml:"inputs"`
// List of outputs for the platform service.
Outputs []ExtensionOutput `json:"outputs" yaml:"outputs"`
Infrastructure *ExtensionInfrastructure `json:"infrastructure" yaml:"infrastructure"`
// List of assets for the platform service.
Assets []ExtensionAsset `json:"assets" yaml:"assets"`
OnCreate *ExtensionActions `json:"onCreate,omitempty" yaml:"onCreate,omitempty"`
OnEdit *ExtensionActions `json:"onEdit,omitempty" yaml:"onEdit,omitempty"`
OnDelete *ExtensionActions `json:"onDelete,omitempty" yaml:"onDelete,omitempty"`
}
type ExtensionDependency ¶ added in v1.9.0
type ExtensionDto ¶ added in v1.1.0
type ExtensionDto struct {
// The extension ID
Id float64 `json:"id" yaml:"id"`
// The extension unique slug
Slug string `json:"slug,omitempty" yaml:"slug,omitempty"`
// The extension name
Name string `json:"name" yaml:"name"`
// The extension unique label
Label string `json:"label,omitempty" yaml:"label,omitempty"`
// The extension description
Description string `json:"description" yaml:"description"`
// Extension status
Status string `json:"status" yaml:"status"`
Definition *ExtensionDefinitionDto `json:"definition" yaml:"definition"`
}
type ExtensionInfoDto ¶ added in v1.1.0
type ExtensionInfoDto struct {
// The extension ID
Id float64 `json:"id,omitempty" yaml:"id,omitempty"`
// The extension unique slug
Slug string `json:"slug,omitempty" yaml:"slug,omitempty"`
// The extension name
Name string `json:"name,omitempty" yaml:"name,omitempty"`
// The extension unique label
Label string `json:"label,omitempty" yaml:"label,omitempty"`
// The extension description
Description string `json:"description,omitempty" yaml:"description,omitempty"`
// Extension status
Status string `json:"status,omitempty" yaml:"status,omitempty"`
// Icon of the extension.
Icon string `json:"icon,omitempty" yaml:"icon,omitempty"`
}
type ExtensionInfrastructure ¶ added in v1.9.0
type ExtensionInfrastructure struct {
// Instance array details for the infrastructure requirement.
InstanceArrays []ExtensionInstanceArray `json:"instanceArrays,omitempty" yaml:"instanceArrays,omitempty"`
SharedDrives []ExtensionSharedDrive `json:"sharedDrives,omitempty" yaml:"sharedDrives,omitempty"`
}
type ExtensionInput ¶ added in v1.9.0
type ExtensionInput struct {
// Label of the input.
Label string `json:"label" yaml:"label"`
// Name of the input.
Name string `json:"name" yaml:"name"`
// Type of the input.
InputType string `json:"inputType" yaml:"inputType"`
// Input options.
Options *OneOfExtensionInputOptions `json:"options" yaml:"options"`
}
type ExtensionInputBoolean ¶ added in v1.9.0
type ExtensionInputBoolean struct {
}
type ExtensionInputInteger ¶ added in v1.9.0
type ExtensionInputInteger struct {
// Minimum allowed value.
MinValue int32 `json:"minValue,omitempty" yaml:"minValue,omitempty"`
// Maximum allowed value.
MaxValue int32 `json:"maxValue,omitempty" yaml:"maxValue,omitempty"`
// Denied values.
DeniedValues []int32 `json:"deniedValues,omitempty" yaml:"deniedValues,omitempty"`
// Default value.
DefaultValue int32 `json:"defaultValue,omitempty" yaml:"defaultValue,omitempty"`
}
type ExtensionInputOsTemplate ¶ added in v1.9.0
type ExtensionInputOsTemplate struct {
// OS family type.
OsFamily string `json:"osFamily,omitempty" yaml:"osFamily,omitempty"`
}
type ExtensionInputServerType ¶ added in v1.9.0
type ExtensionInputString ¶ added in v1.9.0
type ExtensionInputString struct {
// Validation regex pattern for the input.
ValidationRegEx string `json:"validationRegEx,omitempty" yaml:"validationRegEx,omitempty"`
}
type ExtensionInputType ¶ added in v1.9.2
type ExtensionInputType string
const ( EXTENSION_INPUT_STRING_ExtensionInputType ExtensionInputType = "ExtensionInputString" EXTENSION_INPUT_INTEGER_ExtensionInputType ExtensionInputType = "ExtensionInputInteger" EXTENSION_INPUT_SERVER_TYPE_ExtensionInputType ExtensionInputType = "ExtensionInputServerType" EXTENSION_INPUT_OS_TEMPLATE_ExtensionInputType ExtensionInputType = "ExtensionInputOsTemplate" )
List of ExtensionInputType
type ExtensionInstanceApiGetExtensionInstancesOpts ¶ added in v1.2.0
type ExtensionInstanceApiService ¶ added in v1.2.0
type ExtensionInstanceApiService service
func (*ExtensionInstanceApiService) CreateExtensionInstance ¶ added in v1.2.0
func (a *ExtensionInstanceApiService) CreateExtensionInstance(ctx context.Context, body CreateExtensionInstanceDto, infrastructureId float64) (ExtensionInstanceDto, *http.Response, error)
ExtensionInstanceApiService Add extension instance to an infrastructure Adds extension instance to the specified infrastructure. Note that a infrastructure deploy is needed for the changes to take effect.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param body The extension instance to create
- @param infrastructureId
@return ExtensionInstanceDto
func (*ExtensionInstanceApiService) DeleteExtensionInstance ¶ added in v1.2.0
func (a *ExtensionInstanceApiService) DeleteExtensionInstance(ctx context.Context, extensionInstanceId float64) (*http.Response, error)
ExtensionInstanceApiService Delete extension instance Deletes the specified extension instance
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param extensionInstanceId
func (*ExtensionInstanceApiService) GetExtensionInstance ¶ added in v1.2.0
func (a *ExtensionInstanceApiService) GetExtensionInstance(ctx context.Context, extensionInstanceId float64) (ExtensionInstanceDto, *http.Response, error)
ExtensionInstanceApiService Get extension instance details Returns the details of the specified extension instance
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param extensionInstanceId
@return ExtensionInstanceDto
func (*ExtensionInstanceApiService) GetExtensionInstances ¶ added in v1.2.0
func (a *ExtensionInstanceApiService) GetExtensionInstances(ctx context.Context, localVarOptionals *ExtensionInstanceApiGetExtensionInstancesOpts) (ExtensionInstanceListDto, *http.Response, error)
func (*ExtensionInstanceApiService) UpdateExtensionInstance ¶ added in v1.2.0
func (a *ExtensionInstanceApiService) UpdateExtensionInstance(ctx context.Context, body UpdateExtensionInstanceDto, extensionInstanceId float64) (ExtensionInstanceDto, *http.Response, error)
ExtensionInstanceApiService Update extension instance configuration Updates the specified extension instance
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param body The extension instance changes
- @param extensionInstanceId
@return ExtensionInstanceDto
type ExtensionInstanceArray ¶ added in v1.9.0
type ExtensionInstanceArray struct {
// Label of the instance array.
Label string `json:"label" yaml:"label"`
// Instance count value or reference to variable.
InstanceCount string `json:"instanceCount" yaml:"instanceCount"`
// Server type variable reference.
ServerType string `json:"serverType" yaml:"serverType"`
// OS template variable reference.
OsTemplate string `json:"osTemplate" yaml:"osTemplate"`
ConnectedSharedDrives []string `json:"connectedSharedDrives,omitempty" yaml:"connectedSharedDrives,omitempty"`
// Custom variables. The value may be a reference to an input variable.
CustomVariables []CustomVariable `json:"customVariables,omitempty" yaml:"customVariables,omitempty"`
// Labels of instance arrays this one depends on.
Dependencies []string `json:"dependencies,omitempty" yaml:"dependencies,omitempty"`
}
type ExtensionInstanceDto ¶ added in v1.2.0
type ExtensionInstanceDto struct {
// The extension instance ID.
Id float64 `json:"id" yaml:"id"`
// The infrastructure ID.
InfrastructureId float64 `json:"infrastructureId" yaml:"infrastructureId"`
// The extension ID.
ExtensionId float64 `json:"extensionId" yaml:"extensionId"`
// The extension instance label. Will be automatically generated if not provided.
Label string `json:"label" yaml:"label"`
// Input variables values.
InputVariables []ExtensionVariable `json:"inputVariables" yaml:"inputVariables"`
// Output variables values.
OutputVariables []ExtensionVariable `json:"outputVariables" yaml:"outputVariables"`
}
type ExtensionInstanceListDto ¶ added in v1.2.0
type ExtensionInstanceListDto struct {
// The list of extension instances.
ExtensionInstances []ExtensionInstanceDto `json:"extensionInstances" yaml:"extensionInstances"`
}
type ExtensionListDto ¶ added in v1.1.0
type ExtensionListDto struct {
// The list of Extensions.
Extensions []ExtensionInfoDto `json:"extensions" yaml:"extensions"`
}
type ExtensionOutput ¶ added in v1.9.0
type ExtensionOutput struct {
// Label of the output.
Label string `json:"label" yaml:"label"`
// Name of the output.
Name string `json:"name" yaml:"name"`
// Type of the output.
OutputType string `json:"outputType" yaml:"outputType"`
// Template of the output.
Template string `json:"template,omitempty" yaml:"template,omitempty"`
}
type ExtensionSharedDrive ¶ added in v1.9.0
type ExtensionTask ¶ added in v1.9.0
type ExtensionTask struct {
// Label of the task.
Label string `json:"label" yaml:"label"`
// Type of the task.
TaskType string `json:"taskType" yaml:"taskType"`
// Task options.
Options *OneOfExtensionTaskOptions `json:"options" yaml:"options"`
}
type ExtensionTaskAnsible ¶ added in v1.9.0
type ExtensionTaskAnsible struct {
// Asset for the Ansible task.
Asset string `json:"asset,omitempty" yaml:"asset,omitempty"`
// Playbook for the Ansible task.
Playbook string `json:"playbook,omitempty" yaml:"playbook,omitempty"`
// Execution Timeout.
ExecutionTimeout int32 `json:"executionTimeout,omitempty" yaml:"executionTimeout,omitempty"`
// Execution Timeout Tick.
ExecutionTimeoutTick int32 `json:"executionTimeoutTick,omitempty" yaml:"executionTimeoutTick,omitempty"`
// Version.
Version string `json:"version,omitempty" yaml:"version,omitempty"`
}
type ExtensionTaskType ¶ added in v1.9.2
type ExtensionTaskType string
const ( EXTENSION_TASK_ANSIBLE_ExtensionTaskType ExtensionTaskType = "ExtensionTaskAnsible" EXTENSION_TASK_WEBHOOK_ExtensionTaskType ExtensionTaskType = "ExtensionTaskWebhook" )
List of ExtensionTaskType
type ExtensionTaskWebhook ¶ added in v1.9.0
type ExtensionVariable ¶ added in v1.4.0
type FileShare ¶
type FileShare struct {
Id float64 `json:"id" yaml:"id"`
ChangeId float64 `json:"changeId" yaml:"changeId"`
InfrastructureId float64 `json:"infrastructureId" yaml:"infrastructureId"`
SizeGB float64 `json:"sizeGB" yaml:"sizeGB"`
CreatedTimestamp string `json:"createdTimestamp" yaml:"createdTimestamp"`
UpdatedTimestamp string `json:"updatedTimestamp" yaml:"updatedTimestamp"`
StoragePoolId float64 `json:"storagePoolId,omitempty" yaml:"storagePoolId,omitempty"`
ServiceStatus string `json:"serviceStatus" yaml:"serviceStatus"`
Label string `json:"label" yaml:"label"`
Subdomain string `json:"subdomain,omitempty" yaml:"subdomain,omitempty"`
SubdomainPermanent string `json:"subdomainPermanent,omitempty" yaml:"subdomainPermanent,omitempty"`
DnsSubdomainId float64 `json:"dnsSubdomainId,omitempty" yaml:"dnsSubdomainId,omitempty"`
// Id of the VLAN for the File Share.
Endpoint *string `json:"endpoint,omitempty" yaml:"endpoint,omitempty"`
// Operation object of the File Share.
}
type FileShareApiService ¶
type FileShareApiService service
func (*FileShareApiService) CreateInfrastructureFileShare ¶ added in v1.1.0
func (a *FileShareApiService) CreateInfrastructureFileShare(ctx context.Context, body CreateFileShare, infrastructureId float64) (FileShare, *http.Response, error)
FileShareApiService Creates a File Share Creates a File Share
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param body The File Share create object
- @param infrastructureId
@return FileShare
func (*FileShareApiService) DeleteFileShare ¶ added in v1.1.0
func (a *FileShareApiService) DeleteFileShare(ctx context.Context, infrastructureId float64, fileShareId float64) (*http.Response, error)
FileShareApiService Deletes a File Share Deletes a File Share
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param infrastructureId
- @param fileShareId
func (*FileShareApiService) GetFileShare ¶ added in v1.1.0
func (a *FileShareApiService) GetFileShare(ctx context.Context, fileShareId float64) (FileShareExtendedInfo, *http.Response, error)
FileShareApiService Get File Share information Returns File Share information
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param fileShareId
@return FileShareExtendedInfo
func (*FileShareApiService) GetFileShareHosts ¶ added in v1.1.0
func (a *FileShareApiService) GetFileShareHosts(ctx context.Context, infrastructureId float64, fileShareId float64) (FileShareHosts, *http.Response, error)
FileShareApiService Get the Hosts of File Share Returns the Hosts of File Share
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param infrastructureId
- @param fileShareId
@return FileShareHosts
func (*FileShareApiService) GetInfrastructureFileShare ¶ added in v1.1.0
func (a *FileShareApiService) GetInfrastructureFileShare(ctx context.Context, infrastructureId float64, fileShareId float64) (FileShare, *http.Response, error)
FileShareApiService Get File Share information Returns File Share information
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param infrastructureId
- @param fileShareId
@return FileShare
func (*FileShareApiService) GetInfrastructureFileShares ¶ added in v1.1.0
func (a *FileShareApiService) GetInfrastructureFileShares(ctx context.Context, infrastructureId float64) ([]FileShare, *http.Response, error)
FileShareApiService Get all File Shares Returns list of all File Shares
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param infrastructureId
@return []FileShare
func (*FileShareApiService) StartFileShare ¶ added in v1.1.0
func (a *FileShareApiService) StartFileShare(ctx context.Context, infrastructureId float64, fileShareId float64) (*http.Response, error)
FileShareApiService Starts a File Share Starts a File Share
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param infrastructureId
- @param fileShareId
func (*FileShareApiService) StopFileShare ¶ added in v1.1.0
func (a *FileShareApiService) StopFileShare(ctx context.Context, infrastructureId float64, fileShareId float64) (*http.Response, error)
FileShareApiService Stops a File Share Stops a File Share
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param infrastructureId
- @param fileShareId
func (*FileShareApiService) UpdateFileShare ¶ added in v1.1.0
func (a *FileShareApiService) UpdateFileShare(ctx context.Context, body UpdateFileShare, infrastructureId float64, fileShareId float64) (FileShare, *http.Response, error)
FileShareApiService Updates File Share information Updates File Share information
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param body The File Share update object
- @param infrastructureId
- @param fileShareId
@return FileShare
func (*FileShareApiService) UpdateFileShareInstanceArrayHostsBulk ¶ added in v1.1.0
func (a *FileShareApiService) UpdateFileShareInstanceArrayHostsBulk(ctx context.Context, body FileShareHostsModifyBulk, infrastructureId float64, fileShareId float64) (FileShareHosts, *http.Response, error)
FileShareApiService Updates Instance Array Hosts on the File Share Updates Instance Array Hosts on the File Share
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param body The File Share Instance Array Hosts update object
- @param infrastructureId
- @param fileShareId
@return FileShareHosts
type FileShareExtendedInfo ¶ added in v1.1.0
type FileShareExtendedInfo struct {
Id float64 `json:"id,omitempty" yaml:"id,omitempty"`
ChangeId float64 `json:"changeId,omitempty" yaml:"changeId,omitempty"`
InfrastructureId float64 `json:"infrastructureId,omitempty" yaml:"infrastructureId,omitempty"`
SizeGB float64 `json:"sizeGB,omitempty" yaml:"sizeGB,omitempty"`
CreatedTimestamp string `json:"createdTimestamp,omitempty" yaml:"createdTimestamp,omitempty"`
UpdatedTimestamp string `json:"updatedTimestamp,omitempty" yaml:"updatedTimestamp,omitempty"`
StoragePoolId float64 `json:"storagePoolId,omitempty" yaml:"storagePoolId,omitempty"`
ServiceStatus string `json:"serviceStatus,omitempty" yaml:"serviceStatus,omitempty"`
Label string `json:"label,omitempty" yaml:"label,omitempty"`
Subdomain string `json:"subdomain,omitempty" yaml:"subdomain,omitempty"`
SubdomainPermanent string `json:"subdomainPermanent,omitempty" yaml:"subdomainPermanent,omitempty"`
DnsSubdomainId float64 `json:"dnsSubdomainId,omitempty" yaml:"dnsSubdomainId,omitempty"`
// Id of the VLAN for the File Share.
Endpoint *string `json:"endpoint,omitempty" yaml:"endpoint,omitempty"`
// Infrastructure information
}
type FileShareHosts ¶
type FileShareHosts struct {
InstanceArray *interface{} `json:"instanceArray" yaml:"instanceArray"`
}
type FileShareHostsModifyBulk ¶
type FileShareHostsModifyBulk struct {
FileShareHostBulkOperations []FileShareHostBulkOperation `json:"fileShareHostBulkOperations" yaml:"fileShareHostBulkOperations"`
}
type FileShareList ¶ added in v1.1.0
type FileShareList struct {
Data []FileShareExtendedInfo `json:"data" yaml:"data"`
Meta *interface{} `json:"meta" yaml:"meta"`
Links *interface{} `json:"links" yaml:"links"`
}
type GenericGuiSettings ¶
type GenericGuiSettings struct {
// Row index of the object.
RowIndex float64 `json:"rowIndex" yaml:"rowIndex"`
// Column index of the object.
ColumnIndex float64 `json:"columnIndex" yaml:"columnIndex"`
// Whether to show the object children in the GUI.
ShowWidgetChildren bool `json:"showWidgetChildren" yaml:"showWidgetChildren"`
// Random instance ID.
RandomInstanceID string `json:"randomInstanceID" yaml:"randomInstanceID"`
// User agent.
UserAgent string `json:"userAgent" yaml:"userAgent"`
}
type GenericSwaggerError ¶
type GenericSwaggerError struct {
// contains filtered or unexported fields
}
GenericSwaggerError Provides access to the body, error and model on returned errors.
func (GenericSwaggerError) Body ¶
func (e GenericSwaggerError) Body() []byte
Body returns the raw bytes of the response
func (GenericSwaggerError) Error ¶
func (e GenericSwaggerError) Error() string
Error returns non-empty string if there was an error.
func (GenericSwaggerError) Model ¶
func (e GenericSwaggerError) Model() interface{}
Model returns the unpacked model of the error
type InfrastructureApiGetInfrastructuresOpts ¶ added in v1.1.0
type InfrastructureApiService ¶
type InfrastructureApiService service
func (*InfrastructureApiService) DeployInfrastructure ¶ added in v1.1.0
func (a *InfrastructureApiService) DeployInfrastructure(ctx context.Context, body InfrastructureDeployOptions, infrastructureId float64) (interface{}, *http.Response, error)
InfrastructureApiService Deploys the specified infrastructure Deploys the specified infrastructure
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param body The infrastructure deploy options
- @param infrastructureId
@return interface{}
func (*InfrastructureApiService) GetInfrastructure ¶ added in v1.1.0
func (a *InfrastructureApiService) GetInfrastructure(ctx context.Context, infrastructureId float64) (InfrastructureDto, *http.Response, error)
InfrastructureApiService Retrieves the specified infrastructure Retrieves the specified infrastructure
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param infrastructureId
@return InfrastructureDto
func (*InfrastructureApiService) GetInfrastructures ¶ added in v1.1.0
func (a *InfrastructureApiService) GetInfrastructures(ctx context.Context, localVarOptionals *InfrastructureApiGetInfrastructuresOpts) ([]InfrastructureDto, *http.Response, error)
func (*InfrastructureApiService) RevertInfrastructure ¶ added in v1.1.0
func (a *InfrastructureApiService) RevertInfrastructure(ctx context.Context, infrastructureId float64) (*http.Response, error)
InfrastructureApiService Reverts the specified infrastructure Reverts the specified infrastructure
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param infrastructureId
type InfrastructureDeployOptions ¶
type InfrastructureDeployOptions struct {
// Allow data loss
AllowDataLoss bool `json:"allowDataLoss" yaml:"allowDataLoss"`
ShutdownOptions *InfrastructureDeployShutdownOptions `json:"shutdownOptions" yaml:"shutdownOptions"`
}
type InfrastructureDeployShutdownOptions ¶
type InfrastructureDeployShutdownOptions struct {
// Attempt soft shutdown
AttemptSoftShutdown bool `json:"attemptSoftShutdown" yaml:"attemptSoftShutdown"`
// Soft shutdown timeout in seconds
SoftShutdownTimeout float64 `json:"softShutdownTimeout" yaml:"softShutdownTimeout"`
// Force shutdown
ForceShutdown bool `json:"forceShutdown" yaml:"forceShutdown"`
}
type InfrastructureDto ¶
type InfrastructureDto struct {
// Infrastructure Id
InfrastructureId float64 `json:"infrastructureId" yaml:"infrastructureId"`
// Infrastructure Change ID
InfrastructureChangeId float64 `json:"infrastructureChangeId" yaml:"infrastructureChangeId"`
// Name of the datacenter
DatacenterName string `json:"datacenterName" yaml:"datacenterName"`
// Owner of the infrastructure
UserIdOwner *float64 `json:"userIdOwner,omitempty" yaml:"userIdOwner,omitempty"`
// Status of the infrastructure
InfrastructureServiceStatus string `json:"infrastructureServiceStatus" yaml:"infrastructureServiceStatus"`
// Operation object of the infrastructure
Operation *interface{} `json:"operation" yaml:"operation"`
}
type Network ¶ added in v1.1.0
type Network struct {
// Id of the Network.
NetworkId float64 `json:"networkId" yaml:"networkId"`
// Type of the Network.
NetworkType string `json:"networkType" yaml:"networkType"`
// Id of the Infrastructure.
InfrastructureId float64 `json:"infrastructureId" yaml:"infrastructureId"`
// Network Service status.
ServiceStatus string `json:"serviceStatus" yaml:"serviceStatus"`
// Name of the Network.
Label string `json:"label" yaml:"label"`
// Subdomain of the Network.
Subdomain string `json:"subdomain" yaml:"subdomain"`
// Permanent subdomain of the Network.
SubdomainPermanent string `json:"subdomainPermanent" yaml:"subdomainPermanent"`
// Timestamp of the Network creation.
CreatedTimestamp string `json:"createdTimestamp" yaml:"createdTimestamp"`
// Timestamp of the Network update.
UpdatedTimestamp string `json:"updatedTimestamp" yaml:"updatedTimestamp"`
}
type NetworkApiService ¶
type NetworkApiService service
func (*NetworkApiService) CreateInfrastructureNetwork ¶ added in v1.1.0
func (a *NetworkApiService) CreateInfrastructureNetwork(ctx context.Context, body CreateNetwork, infrastructureId float64) (Network, *http.Response, error)
NetworkApiService Creates a new LAN network on the infrastructure Creates a new LAN network on the infrastructure
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param body The Network create object
- @param infrastructureId
@return Network
func (*NetworkApiService) DeleteInfrastructureNetwork ¶ added in v1.1.0
func (a *NetworkApiService) DeleteInfrastructureNetwork(ctx context.Context, infrastructureId float64, networkId float64) (*http.Response, error)
NetworkApiService Deletes a network from the infrastructure Deletes a network from the infrastructure
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param infrastructureId
- @param networkId
func (*NetworkApiService) GetInfrastructureNetwork ¶ added in v1.1.0
func (a *NetworkApiService) GetInfrastructureNetwork(ctx context.Context, infrastructureId float64, networkId float64) (*http.Response, error)
NetworkApiService Gets the specified network from the infrastructure Gets the specified network from the infrastructure
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param infrastructureId
- @param networkId
func (*NetworkApiService) GetInfrastructureNetworks ¶ added in v1.1.0
func (a *NetworkApiService) GetInfrastructureNetworks(ctx context.Context, infrastructureId float64) (*http.Response, error)
NetworkApiService Retrieves all networks on the infrastructure Retrieves all networks on the infrastructure
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param infrastructureId
type NetworkDeviceStatusDto ¶ added in v1.1.0
type NetworkDeviceStatusDto struct {
// The new network device status
Status string `json:"status" yaml:"status"`
}
type NetworkDevicesApiService ¶
type NetworkDevicesApiService service
func (*NetworkDevicesApiService) ChangeNetworkDeviceStatus ¶ added in v1.1.0
func (a *NetworkDevicesApiService) ChangeNetworkDeviceStatus(ctx context.Context, body NetworkDeviceStatusDto, networkDeviceId float64) (*http.Response, error)
NetworkDevicesApiService Change status of a network device Change status of a network device
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param body Network device status
- @param networkDeviceId Network device ID
func (*NetworkDevicesApiService) DiscoverNetworkDevice ¶ added in v1.1.0
func (a *NetworkDevicesApiService) DiscoverNetworkDevice(ctx context.Context, body DiscoveryQueryDto, networkDeviceId float64) (*http.Response, error)
NetworkDevicesApiService Discover network device interfaces, hardware and software configuration Discover network device interfaces, hardware and software configuration and return them and/or persist them
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param body
- @param networkDeviceId Network device identifier
func (*NetworkDevicesApiService) EnableNetworkDeviceSyslog ¶ added in v1.1.0
func (a *NetworkDevicesApiService) EnableNetworkDeviceSyslog(ctx context.Context, networkDeviceId float64) (*http.Response, error)
NetworkDevicesApiService Enables remote syslog for a network device Enables remote syslog for a network device
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param networkDeviceId Network device ID
func (*NetworkDevicesApiService) GetNetworkDevicePorts ¶ added in v1.1.0
func (a *NetworkDevicesApiService) GetNetworkDevicePorts(ctx context.Context, networkDeviceId float64) (*http.Response, error)
NetworkDevicesApiService Get all ports for network device
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param networkDeviceId
func (*NetworkDevicesApiService) ResetNetworkDevice ¶ added in v1.1.0
func (a *NetworkDevicesApiService) ResetNetworkDevice(ctx context.Context, networkDeviceId float64) (*http.Response, error)
NetworkDevicesApiService Resets a network device to default state Resets a network device to default state and destroy all configurations
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param networkDeviceId Network device ID
func (*NetworkDevicesApiService) SetNetworkDevicePortStatus ¶ added in v1.1.0
func (a *NetworkDevicesApiService) SetNetworkDevicePortStatus(ctx context.Context, body NetworkDevicePortStatusDto, networkDeviceId float64) (*http.Response, error)
NetworkDevicesApiService Set port status
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param body Port status
- @param networkDeviceId Network device ID
type NetworkEquipmentApiService ¶ added in v1.9.1
type NetworkEquipmentApiService service
func (*NetworkEquipmentApiService) ReProvisionNetworkEquipment ¶ added in v1.9.1
func (a *NetworkEquipmentApiService) ReProvisionNetworkEquipment(ctx context.Context, body NetworkEquipmentReProvisionOptions) (NetworkEquipmentReProvisionResponse, *http.Response, error)
NetworkEquipmentApiService Re-provision network equipment Re-provision network equipment
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param body The network equipment re-provision options
@return NetworkEquipmentReProvisionResponse
type NetworkEquipmentReProvisionOptions ¶ added in v1.9.1
type NetworkEquipmentReProvisionResponse ¶ added in v1.9.1
type NetworkEquipmentReProvisionResponse struct {
JobInfo *AfcJobInfo `json:"jobInfo,omitempty" yaml:"jobInfo,omitempty"`
}
type OneOfExtensionInputOptions ¶ added in v1.9.0
type OneOfExtensionInputOptions struct {
ExtensionInputString `yaml:",inline"`
ExtensionInputInteger `yaml:",inline"`
ExtensionInputBoolean `yaml:",inline"`
ExtensionInputServerType `yaml:",inline"`
ExtensionInputOsTemplate `yaml:",inline"`
}
type OneOfExtensionTaskOptions ¶ added in v1.9.0
type OneOfExtensionTaskOptions struct {
ExtensionTaskAnsible `yaml:",inline"`
ExtensionTaskWebhook `yaml:",inline"`
}
type OneOfUserLimitsDtoUserResourceServerTypeNameToMaxCount ¶ added in v1.9.2
type OneOfUserLimitsDtoUserResourceServerTypeNameToMaxCount struct {
}
type OneOfUserLimitsDtoWanSubnetPrefixSizeToMaxCount ¶ added in v1.9.2
type OneOfUserLimitsDtoWanSubnetPrefixSizeToMaxCount struct {
}
type PatchStorage ¶ added in v1.1.0
type PatchStorage struct {
Options *interface{} `json:"options,omitempty" yaml:"options,omitempty"`
InMaintenance float64 `json:"inMaintenance,omitempty" yaml:"inMaintenance,omitempty"`
IsExperimental float64 `json:"isExperimental,omitempty" yaml:"isExperimental,omitempty"`
DrivePriority float64 `json:"drivePriority,omitempty" yaml:"drivePriority,omitempty"`
Tags []string `json:"tags,omitempty" yaml:"tags,omitempty"`
PortGroupAllocationOrder []string `json:"portGroupAllocationOrder,omitempty" yaml:"portGroupAllocationOrder,omitempty"`
PortGroupPhysicalPorts *interface{} `json:"portGroupPhysicalPorts,omitempty" yaml:"portGroupPhysicalPorts,omitempty"`
DefaultIoLimitPolicy string `json:"defaultIoLimitPolicy,omitempty" yaml:"defaultIoLimitPolicy,omitempty"`
ArrayId string `json:"arrayId,omitempty" yaml:"arrayId,omitempty"`
DirectorId string `json:"directorId,omitempty" yaml:"directorId,omitempty"`
S3Hostname string `json:"s3Hostname,omitempty" yaml:"s3Hostname,omitempty"`
S3Port float64 `json:"s3Port,omitempty" yaml:"s3Port,omitempty"`
}
type RemoteConsoleInfoDto ¶
type RemoteConsoleInfoDto struct {
// Active Remote Console connections
ActiveConnections float64 `json:"activeConnections" yaml:"activeConnections"`
}
type ResourcePoolDto ¶
type ResourcePoolDto struct {
// Resource Pool ID
ResourcePoolId float64 `json:"resource_pool_id" yaml:"resource_pool_id"`
// Label of the Resource Pool
ResourcePoolLabel string `json:"resource_pool_label" yaml:"resource_pool_label"`
// Description of the Resource Pool
ResourcePoolDescription string `json:"resource_pool_description" yaml:"resource_pool_description"`
}
type ResourcePoolStatistics ¶
type ResourcePoolWithStatsDto ¶
type ResourcePoolWithStatsDto struct {
// Resource Pool ID
ResourcePoolId float64 `json:"resource_pool_id" yaml:"resource_pool_id"`
// Label of the Resource Pool
ResourcePoolLabel string `json:"resource_pool_label" yaml:"resource_pool_label"`
// Description of the Resource Pool
ResourcePoolDescription string `json:"resource_pool_description" yaml:"resource_pool_description"`
// Resource Pool Created Timestamp
ResourcePoolCreatedTimestamp string `json:"resource_pool_created_timestamp" yaml:"resource_pool_created_timestamp"`
// Resource Pool Updated Timestamp
ResourcePoolUpdatedTimestamp string `json:"resource_pool_updated_timestamp" yaml:"resource_pool_updated_timestamp"`
Statistics *ResourcePoolStatistics `json:"statistics" yaml:"statistics"`
}
type ResourcePoolsApiService ¶
type ResourcePoolsApiService service
func (*ResourcePoolsApiService) AddResourcePoolUser ¶ added in v1.1.0
func (a *ResourcePoolsApiService) AddResourcePoolUser(ctx context.Context, resourcePoolId float64, userId float64) (*http.Response, error)
ResourcePoolsApiService Add a user to a Resource Pool Add a user to a Resource Pool
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param resourcePoolId
- @param userId
func (*ResourcePoolsApiService) AddServerToResourcePool ¶ added in v1.1.0
func (a *ResourcePoolsApiService) AddServerToResourcePool(ctx context.Context, resourcePoolId float64, serverId float64) (*http.Response, error)
ResourcePoolsApiService Add a server to a Resource Pool Add a server to a Resource Pool
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param resourcePoolId
- @param serverId
func (*ResourcePoolsApiService) AddSubnetPoolToResourcePool ¶ added in v1.1.0
func (a *ResourcePoolsApiService) AddSubnetPoolToResourcePool(ctx context.Context, resourcePoolId float64, subnetPoolId float64) (*http.Response, error)
ResourcePoolsApiService Add a subnet pool to a resource pool Add a subnet pool to a resource pool
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param resourcePoolId
- @param subnetPoolId
func (*ResourcePoolsApiService) CreateResourcePool ¶ added in v1.1.0
func (a *ResourcePoolsApiService) CreateResourcePool(ctx context.Context, body CreateResourcePoolDto) (ResourcePoolDto, *http.Response, error)
ResourcePoolsApiService Creates a Resource Pool Creates a Resource Pool
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param body The Resource Pool create object
@return ResourcePoolDto
func (*ResourcePoolsApiService) DeleteResourcePool ¶ added in v1.1.0
func (a *ResourcePoolsApiService) DeleteResourcePool(ctx context.Context, resourcePoolId float64) (*http.Response, error)
ResourcePoolsApiService Deletes a Resource Pool Deletes a Resource Pool
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param resourcePoolId
func (*ResourcePoolsApiService) GetResourcePool ¶ added in v1.1.0
func (a *ResourcePoolsApiService) GetResourcePool(ctx context.Context, resourcePoolId float64) (ResourcePoolDto, *http.Response, error)
ResourcePoolsApiService Get Resource Pool information Returns Resource Pool information
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param resourcePoolId
@return ResourcePoolDto
func (*ResourcePoolsApiService) GetResourcePoolServers ¶ added in v1.1.0
func (a *ResourcePoolsApiService) GetResourcePoolServers(ctx context.Context, resourcePoolId float64) (*http.Response, error)
ResourcePoolsApiService Get all servers that are part of a Resource Pool Returns list of all servers that are part of a Resource Pool
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param resourcePoolId
func (*ResourcePoolsApiService) GetResourcePoolSubnetPools ¶ added in v1.1.0
func (a *ResourcePoolsApiService) GetResourcePoolSubnetPools(ctx context.Context, resourcePoolId float64) (*http.Response, error)
ResourcePoolsApiService Get all subnet pools that are part of a resource pool Returns list of all subnet pools that are part of a resource pool
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param resourcePoolId
func (*ResourcePoolsApiService) GetResourcePoolUsers ¶ added in v1.1.0
func (a *ResourcePoolsApiService) GetResourcePoolUsers(ctx context.Context, resourcePoolId float64) (*http.Response, error)
ResourcePoolsApiService Get all users that have access to a Resource Pool Returns list of all users that have access to a Resource Pool
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param resourcePoolId
func (*ResourcePoolsApiService) GetResourcePools ¶ added in v1.1.0
func (a *ResourcePoolsApiService) GetResourcePools(ctx context.Context) ([]ResourcePoolWithStatsDto, *http.Response, error)
ResourcePoolsApiService Get all Resource Pools Returns list of all Resource Pools
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return []ResourcePoolWithStatsDto
func (*ResourcePoolsApiService) GetUserResourcePools ¶ added in v1.1.0
func (a *ResourcePoolsApiService) GetUserResourcePools(ctx context.Context, userId float64) (*http.Response, error)
ResourcePoolsApiService Get all Resource Pools that a user has access to Returns list of all Resource Pools that a user has access to
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param userId
func (*ResourcePoolsApiService) RemoveResourcePoolUser ¶ added in v1.1.0
func (a *ResourcePoolsApiService) RemoveResourcePoolUser(ctx context.Context, resourcePoolId float64, userId float64) (*http.Response, error)
ResourcePoolsApiService Remove a user from a Resource Pool Remove a user from a Resource Pool
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param resourcePoolId
- @param userId
func (*ResourcePoolsApiService) RemoveServerFromResourcePool ¶ added in v1.1.0
func (a *ResourcePoolsApiService) RemoveServerFromResourcePool(ctx context.Context, resourcePoolId float64, serverId float64) (*http.Response, error)
ResourcePoolsApiService Remove a server from a Resource Pool Remove a server from a Resource Pool
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param resourcePoolId
- @param serverId
func (*ResourcePoolsApiService) RemoveSubnetPoolFromResourcePool ¶ added in v1.1.0
func (a *ResourcePoolsApiService) RemoveSubnetPoolFromResourcePool(ctx context.Context, resourcePoolId float64, subnetPoolId float64) (*http.Response, error)
ResourcePoolsApiService Remove a subnet from a resource pool Remove a subnet from a resource pool
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param resourcePoolId
- @param subnetPoolId
func (*ResourcePoolsApiService) UpdateResourcePool ¶ added in v1.1.0
func (a *ResourcePoolsApiService) UpdateResourcePool(ctx context.Context, body UpdateResourcePoolDto, resourcePoolId float64) (ResourcePoolDto, *http.Response, error)
ResourcePoolsApiService Updates Resource Pool information Updates Resource Pool information
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param body The Resource Pool update object
- @param resourcePoolId
@return ResourcePoolDto
type SecurityApiService ¶
type SecurityApiService service
func (*SecurityApiService) ListProviders ¶ added in v1.1.0
func (a *SecurityApiService) ListProviders(ctx context.Context) ([]AuthenticationProvider, *http.Response, error)
SecurityApiService Get available authentication providers Returns the available authentication providers
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return []AuthenticationProvider
func (*SecurityApiService) UpdateProvider ¶ added in v1.1.0
func (a *SecurityApiService) UpdateProvider(ctx context.Context, body AuthenticationProviderUpdate, name string) ([]AuthenticationProvider, *http.Response, error)
SecurityApiService Updates authentication provider Updates authentication provider
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param body The provider updates
- @param name
@return []AuthenticationProvider
type Server ¶
type Server struct {
ServerId float64 `json:"serverId" yaml:"serverId"`
ServerTypeId float64 `json:"serverTypeId" yaml:"serverTypeId"`
DatacenterName string `json:"datacenterName" yaml:"datacenterName"`
ServerUUID string `json:"serverUUID" yaml:"serverUUID"`
SerialNumber *string `json:"serialNumber,omitempty" yaml:"serialNumber,omitempty"`
ManagementAddress string `json:"managementAddress" yaml:"managementAddress"`
Username string `json:"username" yaml:"username"`
PasswordEncrypted string `json:"passwordEncrypted" yaml:"passwordEncrypted"`
ImpiVersion *string `json:"impiVersion,omitempty" yaml:"impiVersion,omitempty"`
RamGbytes float64 `json:"ramGbytes" yaml:"ramGbytes"`
ProcessorCount float64 `json:"processorCount" yaml:"processorCount"`
ProcessorCoreMhz float64 `json:"processorCoreMhz" yaml:"processorCoreMhz"`
ProcessorCoreCount float64 `json:"processorCoreCount" yaml:"processorCoreCount"`
ProcessorName *string `json:"processorName,omitempty" yaml:"processorName,omitempty"`
ProcessorCpuMark *float64 `json:"processorCpuMark,omitempty" yaml:"processorCpuMark,omitempty"`
ProcessorThreads *float64 `json:"processorThreads,omitempty" yaml:"processorThreads,omitempty"`
DiskCount float64 `json:"diskCount" yaml:"diskCount"`
MgmtSnmpPort *float64 `json:"mgmtSnmpPort,omitempty" yaml:"mgmtSnmpPort,omitempty"`
MgmtSnmpPasswordEncrypted *string `json:"mgmtSnmpPasswordEncrypted,omitempty" yaml:"mgmtSnmpPasswordEncrypted,omitempty"`
BmcMacAddress string `json:"bmcMacAddress,omitempty" yaml:"bmcMacAddress,omitempty"`
ServerMetricsMetadata *interface{} `json:"serverMetricsMetadata" yaml:"serverMetricsMetadata"`
Vendor *string `json:"vendor,omitempty" yaml:"vendor,omitempty"`
VendorSkuId *string `json:"vendorSkuId,omitempty" yaml:"vendorSkuId,omitempty"`
Model *string `json:"model,omitempty" yaml:"model,omitempty"`
VncPort *float64 `json:"vncPort,omitempty" yaml:"vncPort,omitempty"`
VncPasswordEncrypted *float64 `json:"vncPasswordEncrypted,omitempty" yaml:"vncPasswordEncrypted,omitempty"`
IsBasicCampusEndpoint float64 `json:"isBasicCampusEndpoint" yaml:"isBasicCampusEndpoint"`
ServerCleanupPolicyId *float64 `json:"serverCleanupPolicyId,omitempty" yaml:"serverCleanupPolicyId,omitempty"`
RequiresReRegister float64 `json:"requiresReRegister" yaml:"requiresReRegister"`
ServerSupportsSol float64 `json:"serverSupportsSol" yaml:"serverSupportsSol"`
ServerSupportsVirtualMedia float64 `json:"serverSupportsVirtualMedia" yaml:"serverSupportsVirtualMedia"`
ServerSupportsOobProvisioning float64 `json:"serverSupportsOobProvisioning" yaml:"serverSupportsOobProvisioning"`
BiosInfo *interface{} `json:"biosInfo,omitempty" yaml:"biosInfo,omitempty"`
VendorInfo *interface{} `json:"vendorInfo,omitempty" yaml:"vendorInfo,omitempty"`
ServerClass string `json:"serverClass" yaml:"serverClass"`
ServerStatus string `json:"serverStatus" yaml:"serverStatus"`
ServerComments *string `json:"serverComments,omitempty" yaml:"serverComments,omitempty"`
ServerCapacityMbps *float64 `json:"serverCapacityMbps,omitempty" yaml:"serverCapacityMbps,omitempty"`
ServerDiskWipe float64 `json:"serverDiskWipe" yaml:"serverDiskWipe"`
ServerDiskCount *float64 `json:"serverDiskCount,omitempty" yaml:"serverDiskCount,omitempty"`
AdministrationState string `json:"administrationState" yaml:"administrationState"`
ServerDhcpStatus string `json:"serverDhcpStatus" yaml:"serverDhcpStatus"`
GpuCount float64 `json:"gpuCount" yaml:"gpuCount"`
GpuInfo []interface{} `json:"gpuInfo" yaml:"gpuInfo"`
Submodel *string `json:"submodel,omitempty" yaml:"submodel,omitempty"`
SupportsFcProvisioning float64 `json:"supportsFcProvisioning" yaml:"supportsFcProvisioning"`
BootLastUpdateTimestamp *string `json:"bootLastUpdateTimestamp,omitempty" yaml:"bootLastUpdateTimestamp,omitempty"`
RegisteredTimestamp *string `json:"registeredTimestamp,omitempty" yaml:"registeredTimestamp,omitempty"`
ServerCreatedTimestamp string `json:"serverCreatedTimestamp" yaml:"serverCreatedTimestamp"`
PowerStatus string `json:"powerStatus" yaml:"powerStatus"`
PowerStatusLastUpdateTimestamp string `json:"powerStatusLastUpdateTimestamp" yaml:"powerStatusLastUpdateTimestamp"`
}
type ServerApiService ¶
type ServerApiService service
func (*ServerApiService) EnableServerSyslog ¶ added in v1.1.0
func (a *ServerApiService) EnableServerSyslog(ctx context.Context, serverId float64) (*http.Response, error)
ServerApiService Enables remote syslog for a server Enables remote syslog for a server
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param serverId
func (*ServerApiService) GetServerInfo ¶ added in v1.1.0
func (a *ServerApiService) GetServerInfo(ctx context.Context, serverId float64) (Server, *http.Response, error)
ServerApiService Get Server information Returns Server information
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param serverId
@return Server
func (*ServerApiService) GetServerPowerState ¶ added in v1.1.0
func (a *ServerApiService) GetServerPowerState(ctx context.Context, serverId float64) (*http.Response, error)
ServerApiService Gets the power state of a server Gets the power state of a server
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param serverId
func (*ServerApiService) GetServerRemoteConsoleInfo ¶ added in v1.1.0
func (a *ServerApiService) GetServerRemoteConsoleInfo(ctx context.Context, serverId float64) ([]RemoteConsoleInfoDto, *http.Response, error)
ServerApiService Get Remote Console information Returns Remote Console information
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param serverId
@return []RemoteConsoleInfoDto
func (*ServerApiService) GetServerVNCInfo ¶ added in v1.1.0
func (a *ServerApiService) GetServerVNCInfo(ctx context.Context, serverId float64) ([]ServerVncInfoDto, *http.Response, error)
ServerApiService Get VNC information Returns VNC information
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param serverId
@return []ServerVncInfoDto
func (*ServerApiService) GetServers ¶ added in v1.3.0
func (a *ServerApiService) GetServers(ctx context.Context) (ServerList, *http.Response, error)
ServerApiService Get a list of Servers Returns a list of Servers
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ServerList
func (*ServerApiService) ReRegisterServer ¶ added in v1.3.0
func (a *ServerApiService) ReRegisterServer(ctx context.Context, serverId float64) (ServerReRegistrationResponseDto, *http.Response, error)
ServerApiService Re-register a server Re-registers a server
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param serverId
@return ServerReRegistrationResponseDto
func (*ServerApiService) RegisterServer ¶ added in v1.1.0
func (a *ServerApiService) RegisterServer(ctx context.Context, body ServerRegistrationDto) (ServerRegistrationResponseDto, *http.Response, error)
ServerApiService Initialize server registration Initializes server registration process
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param body The server registration information
@return ServerRegistrationResponseDto
func (*ServerApiService) ResetServerToFactoryDefaults ¶ added in v1.1.0
func (a *ServerApiService) ResetServerToFactoryDefaults(ctx context.Context, serverId float64) (*http.Response, error)
ServerApiService Resets a server to factory defaults Resets a server to factory defaults
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param serverId
func (*ServerApiService) SetServerPowerState ¶ added in v1.1.0
func (a *ServerApiService) SetServerPowerState(ctx context.Context, body ServerPowerSetDto, serverId float64) (*http.Response, error)
ServerApiService Sets the power state of a server Sets the power state of a server
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param body
- @param serverId
type ServerList ¶ added in v1.3.0
type ServerList struct {
// List of Servers
Data []Server `json:"data" yaml:"data"`
// Meta information
Meta *interface{} `json:"meta" yaml:"meta"`
// Links to other resources
Links *interface{} `json:"links" yaml:"links"`
}
type ServerPowerSetDto ¶
type ServerPowerSetDto struct {
// The power state of the server
PowerCommand string `json:"powerCommand" yaml:"powerCommand"`
}
type ServerReRegistrationResponseDto ¶ added in v1.2.0
type ServerReRegistrationResponseDto struct {
// The id of the server.
Id float64 `json:"id" yaml:"id"`
JobInfo *AfcJobInfo `json:"jobInfo,omitempty" yaml:"jobInfo,omitempty"`
}
type ServerRegistrationDto ¶
type ServerRegistrationDto struct {
// The BMC hostname of the server.
BmcHostname string `json:"bmcHostname" yaml:"bmcHostname"`
// The site id where the server is located.
SiteId float64 `json:"siteId" yaml:"siteId"`
// The BMC username to use.
BmcUser string `json:"bmcUser,omitempty" yaml:"bmcUser,omitempty"`
// The BMC password to use.
BmcPassword string `json:"bmcPassword,omitempty" yaml:"bmcPassword,omitempty"`
// The vendor of the server.
Vendor string `json:"vendor,omitempty" yaml:"vendor,omitempty"`
// The model of the server.
Model string `json:"model,omitempty" yaml:"model,omitempty"`
// The MAC address of the server.
MacAddress string `json:"macAddress,omitempty" yaml:"macAddress,omitempty"`
// The UUID of the server.
Uuid string `json:"uuid,omitempty" yaml:"uuid,omitempty"`
// The Serial Number of the server.
SerialNumber string `json:"serialNumber,omitempty" yaml:"serialNumber,omitempty"`
}
type ServerRegistrationResponseDto ¶
type ServerRegistrationResponseDto struct {
// The id of the server.
Id float64 `json:"id" yaml:"id"`
// The Serial Number of the server.
SerialNumber string `json:"serialNumber" yaml:"serialNumber"`
// The UUID of the server.
Uuid string `json:"uuid" yaml:"uuid"`
JobInfo *AfcJobInfo `json:"jobInfo,omitempty" yaml:"jobInfo,omitempty"`
// Reference links
Links []Link `json:"links,omitempty" yaml:"links,omitempty"`
}
type ServerVncInfoDto ¶
type ServerVncInfoDto struct {
// Active VNC sessions
ActiveSessions float64 `json:"activeSessions" yaml:"activeSessions"`
// Max active VNC sessions
MaxSessions float64 `json:"maxSessions" yaml:"maxSessions"`
// VNC port
Port float64 `json:"port" yaml:"port"`
// VNC timeout
Timeout float64 `json:"timeout" yaml:"timeout"`
// VNC enabled
Enable string `json:"enable" yaml:"enable"`
}
type Storage ¶ added in v1.3.0
type Storage struct {
// Id of the Storage
StorageId float64 `json:"storageId" yaml:"storageId"`
// Id of the owner
UserId float64 `json:"userId,omitempty" yaml:"userId,omitempty"`
// Id of the site
SiteId float64 `json:"siteId" yaml:"siteId"`
// Storage driver
StorageDriver string `json:"storageDriver" yaml:"storageDriver"`
// Storage technology
StorageTechnology string `json:"storageTechnology" yaml:"storageTechnology"`
// Storage type
StorageType string `json:"storageType" yaml:"storageType"`
// Name of the storage
Name string `json:"name" yaml:"name"`
// ISCSI host
IscsiHost string `json:"iscsiHost,omitempty" yaml:"iscsiHost,omitempty"`
// ISCSI port
IscsiPort float64 `json:"iscsiPort,omitempty" yaml:"iscsiPort,omitempty"`
// Management host
ManagementHost string `json:"managementHost" yaml:"managementHost"`
// Username
ManagementUsername string `json:"managementUsername" yaml:"managementUsername"`
// Password
ManagementPassword string `json:"managementPassword" yaml:"managementPassword"`
// Options for the storage
Options *interface{} `json:"options,omitempty" yaml:"options,omitempty"`
// Specifies if the storage is in maintenance
InMaintenance float64 `json:"inMaintenance" yaml:"inMaintenance"`
// Target IQN
TargetIQN string `json:"targetIQN,omitempty" yaml:"targetIQN,omitempty"`
// Specifies if the storage is experimental
IsExperimental float64 `json:"isExperimental,omitempty" yaml:"isExperimental,omitempty"`
// Specifies if the drive priority
DrivePriority float64 `json:"drivePriority" yaml:"drivePriority"`
SharedDrivePriority float64 `json:"sharedDrivePriority" yaml:"sharedDrivePriority"`
// Alternate SAN IPs
AlternateSanIPs []string `json:"alternateSanIPs,omitempty" yaml:"alternateSanIPs,omitempty"`
// Tags
Tags []string `json:"tags,omitempty" yaml:"tags,omitempty"`
// Port group allocation order
PortGroupAllocationOrder *interface{} `json:"portGroupAllocationOrder,omitempty" yaml:"portGroupAllocationOrder,omitempty"`
// Port group physical ports
PortGroupPhysicalPorts *interface{} `json:"portGroupPhysicalPorts,omitempty" yaml:"portGroupPhysicalPorts,omitempty"`
// Default IO limit policy
DefaultIoLimitPolicy string `json:"defaultIoLimitPolicy,omitempty" yaml:"defaultIoLimitPolicy,omitempty"`
// Subnet type
SubnetType string `json:"subnetType" yaml:"subnetType"`
// Array id
ArrayId string `json:"arrayId,omitempty" yaml:"arrayId,omitempty"`
// Director id
DirectorId string `json:"directorId,omitempty" yaml:"directorId,omitempty"`
}
type StorageApiService ¶
type StorageApiService service
func (*StorageApiService) CreateStorage ¶ added in v1.1.0
func (a *StorageApiService) CreateStorage(ctx context.Context, body CreateStorage) (StorageRegistrationResponse, *http.Response, error)
StorageApiService Creates a Storage Creates a Storage
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param body The Storage create object
@return StorageRegistrationResponse
func (*StorageApiService) GetStorage ¶ added in v1.1.0
func (a *StorageApiService) GetStorage(ctx context.Context, storageId float64) (StorageRegistrationResponse, *http.Response, error)
StorageApiService Retrieves a Storage Retrieves a Storage
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param storageId
@return StorageRegistrationResponse
func (*StorageApiService) GetStorageBuckets ¶ added in v1.1.0
func (a *StorageApiService) GetStorageBuckets(ctx context.Context, storageId float64) (BucketList, *http.Response, error)
StorageApiService Get all Buckets linked to the specified storage Returns list of all Buckets linked to the specified Storage
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param storageId
@return BucketList
func (*StorageApiService) GetStorageFileShares ¶ added in v1.1.0
func (a *StorageApiService) GetStorageFileShares(ctx context.Context, storageId float64) (FileShareList, *http.Response, error)
StorageApiService Get all File Shares linked to the specified storage Returns list of all File Shares linked to the specified Storage
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param storageId
@return FileShareList
func (*StorageApiService) GetStorages ¶ added in v1.3.0
func (a *StorageApiService) GetStorages(ctx context.Context) (StorageList, *http.Response, error)
StorageApiService Get a list of Storages Returns a list of Storages
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return StorageList
func (*StorageApiService) UpdateStorage ¶ added in v1.1.0
func (a *StorageApiService) UpdateStorage(ctx context.Context, body PatchStorage, storageId float64) (*http.Response, error)
StorageApiService Updates a Storage Updates a Storage
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param body The Storage update object
- @param storageId
type StorageList ¶ added in v1.3.0
type StorageList struct {
// List of Storages
Data []Storage `json:"data" yaml:"data"`
// Meta information
Meta *interface{} `json:"meta" yaml:"meta"`
// Links to other resources
Links *interface{} `json:"links" yaml:"links"`
}
type StorageRegistrationResponse ¶
type StorageRegistrationResponse struct {
Id float64 `json:"id" yaml:"id"`
JobInfo *StorageRegistrationResponseJobInfo `json:"jobInfo" yaml:"jobInfo"`
}
type StorageRegistrationResponseJobInfo ¶ added in v1.1.0
type SystemApiService ¶
type SystemApiService service
func (*SystemApiService) GetVersion ¶ added in v1.1.0
SystemApiService Get MetalSoft system version Returns the MetalSoft system version
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return Version
type UpdateAccountDto ¶
type UpdateAccountDto struct {
// The ID of the parent account
ParentAccountId float64 `json:"parentAccountId,omitempty" yaml:"parentAccountId,omitempty"`
// The name of the account
Name string `json:"name,omitempty" yaml:"name,omitempty"`
// The code of the account
Code string `json:"code,omitempty" yaml:"code,omitempty"`
// The fiscal number of the account
FiscalNumber string `json:"fiscalNumber,omitempty" yaml:"fiscalNumber,omitempty"`
Address *AccountAddressDto `json:"address,omitempty" yaml:"address,omitempty"`
// The user ID of the primary contact
PrimaryContactId float64 `json:"primaryContactId,omitempty" yaml:"primaryContactId,omitempty"`
// The user ID of the secondary contact
SecondaryContactId float64 `json:"secondaryContactId,omitempty" yaml:"secondaryContactId,omitempty"`
}
type UpdateBucket ¶ added in v1.1.0
type UpdateBucket struct {
// Disk size in GB for Bucket
SizeGB float64 `json:"sizeGB,omitempty" yaml:"sizeGB,omitempty"`
// Label of the Bucket.
Label string `json:"label,omitempty" yaml:"label,omitempty"`
GuiSettings *GenericGuiSettings `json:"guiSettings,omitempty" yaml:"guiSettings,omitempty"`
}
type UpdateExtensionDto ¶ added in v1.1.0
type UpdateExtensionDto struct {
// The extension name
Name string `json:"name,omitempty" yaml:"name,omitempty"`
// The extension unique label
Label string `json:"label,omitempty" yaml:"label,omitempty"`
// The extension description
Description string `json:"description,omitempty" yaml:"description,omitempty"`
Definition *ExtensionDefinitionDto `json:"definition,omitempty" yaml:"definition,omitempty"`
}
type UpdateExtensionInstanceDto ¶ added in v1.2.0
type UpdateExtensionInstanceDto struct {
// Input variables values.
InputVariables []ExtensionVariable `json:"inputVariables,omitempty" yaml:"inputVariables,omitempty"`
}
type UpdateFileShare ¶
type UpdateFileShare struct {
SizeGB float64 `json:"sizeGB,omitempty" yaml:"sizeGB,omitempty"`
// Label of the File Share.
}
type UpdateResourcePoolDto ¶
type UpdateResourcePoolDto struct {
// Label of the Resource Pool
ResourcePoolLabel string `json:"resource_pool_label,omitempty" yaml:"resource_pool_label,omitempty"`
// Description of the Resource Pool
ResourcePoolDescription string `json:"resource_pool_description,omitempty" yaml:"resource_pool_description,omitempty"`
}
type UpdateUserDto ¶
type UpdateUserDto struct {
// The new display name of the user
DisplayName string `json:"displayName,omitempty" yaml:"displayName,omitempty"`
Password *UserUpdatePasswordDto `json:"password,omitempty" yaml:"password,omitempty"`
// The new login e-mail of the user
Email string `json:"email,omitempty" yaml:"email,omitempty"`
// The redirect URL for the user
RedirectUrl string `json:"redirectUrl,omitempty" yaml:"redirectUrl,omitempty"`
// The AES key for the user
AESKey string `json:"AESKey,omitempty" yaml:"AESKey,omitempty"`
// The new e-mail status of the user
EmailStatus string `json:"emailStatus,omitempty" yaml:"emailStatus,omitempty"`
// The new language of the user
Language string `json:"language,omitempty" yaml:"language,omitempty"`
// The new brand of the user
Brand string `json:"brand,omitempty" yaml:"brand,omitempty"`
// The new brand manager status of the user
IsBrandManager bool `json:"isBrandManager,omitempty" yaml:"isBrandManager,omitempty"`
// The new user delegates of the user.
Delegates []UserDelegateDto `json:"delegates,omitempty" yaml:"delegates,omitempty"`
// The new blocked status of the user
IsBlocked bool `json:"isBlocked,omitempty" yaml:"isBlocked,omitempty"`
Suspension *UserSuspendDto `json:"suspension,omitempty" yaml:"suspension,omitempty"`
// The new access level of the user
AccessLevel string `json:"accessLevel,omitempty" yaml:"accessLevel,omitempty"`
// The new promotions of the user.
Promotions []UserPromotionDto `json:"promotions,omitempty" yaml:"promotions,omitempty"`
// The new experimental tags of the user.
ExperimentalTags []UserExperimentalTagDto `json:"experimentalTags,omitempty" yaml:"experimentalTags,omitempty"`
// The new custom prices of the user
CustomPrices *interface{} `json:"customPrices,omitempty" yaml:"customPrices,omitempty"`
Permissions *UserResourcePermissionsDto `json:"permissions,omitempty" yaml:"permissions,omitempty"`
// Whether the user account is a test one.
IsTestAccount bool `json:"isTestAccount,omitempty" yaml:"isTestAccount,omitempty"`
// Whether the user account is billable.
IsBillable *bool `json:"isBillable,omitempty" yaml:"isBillable,omitempty"`
}
type UpdateVmInstance ¶ added in v1.1.0
type UpdateVmInstance struct {
// Tags for the VM Instance.
Tags []string `json:"tags,omitempty" yaml:"tags,omitempty"`
// Disk size in GB for the VM Instance.
DiskSizeGB float64 `json:"diskSizeGB,omitempty" yaml:"diskSizeGB,omitempty"`
// Custom variables for the VM Instance.
CustomVariables *interface{} `json:"customVariables,omitempty" yaml:"customVariables,omitempty"`
}
type UpdateVmInstanceGroup ¶ added in v1.1.0
type UpdateVmInstanceGroup struct {
// Label for the VM Instance Group.
Label string `json:"label,omitempty" yaml:"label,omitempty"`
// Tags for the VM Instance Group.
Tags []string `json:"tags,omitempty" yaml:"tags,omitempty"`
GuiSettings *VmInstanceGroupGuiSettingsDto `json:"guiSettings,omitempty" yaml:"guiSettings,omitempty"`
// Interfaces for the VM Instance Group
VmInstanceGroupInterfaces []UpdateVmInstanceGroupInterface `json:"vmInstanceGroupInterfaces,omitempty" yaml:"vmInstanceGroupInterfaces,omitempty"`
// Custom variables for the VM Instance.
CustomVariables *interface{} `json:"customVariables,omitempty" yaml:"customVariables,omitempty"`
}
type UpdateVmInstanceGroupInterface ¶ added in v1.1.0
type UpdateVmInstanceGroupNetwork ¶ added in v1.1.0
type UpdateVmInstanceGroupNetwork struct {
// Network Profile ID
NetworkProfileId *float64 `json:"networkProfileId,omitempty" yaml:"networkProfileId,omitempty"`
}
type UpdateVmPool ¶ added in v1.1.0
type UpdateVmPool struct {
// Datacenter of the VM Pool
Description *string `json:"description,omitempty" yaml:"description,omitempty"`
// Host of the VM Pool
ManagementHost string `json:"managementHost,omitempty" yaml:"managementHost,omitempty"`
// Port of the VM Pool
ManagementPort float64 `json:"managementPort,omitempty" yaml:"managementPort,omitempty"`
// Certificate of the VM Pool
Certificate string `json:"certificate,omitempty" yaml:"certificate,omitempty"`
// Private key of the VM Pool
PrivateKey string `json:"privateKey,omitempty" yaml:"privateKey,omitempty"`
// Status of the VM Pool
Status string `json:"status,omitempty" yaml:"status,omitempty"`
// Flag to indicate if the VM Pool is in maintenance mode. 1 for true, 0 for false. Default is 0.
InMaintenance float64 `json:"inMaintenance,omitempty" yaml:"inMaintenance,omitempty"`
// Flag to indicate if the VM Pool is experimental. 1 for true, 0 for false. Default is 0.
IsExperimental float64 `json:"isExperimental,omitempty" yaml:"isExperimental,omitempty"`
// Tags for the VM Pool.
Tags []string `json:"tags,omitempty" yaml:"tags,omitempty"`
}
type UpdateVmPoolClusterHostInterface ¶ added in v1.1.0
type UpdateVmPoolClusterHostInterface struct {
// Fabric of the switch interface
Fabric string `json:"fabric,omitempty" yaml:"fabric,omitempty"`
// Id of the switch
SwitchId float64 `json:"switchId,omitempty" yaml:"switchId,omitempty"`
// Name of the switch interface
SwitchInterfaceName float64 `json:"switchInterfaceName,omitempty" yaml:"switchInterfaceName,omitempty"`
}
type UpdateVmType ¶ added in v1.1.0
type UpdateVmType struct {
// Display name of the VM type
DisplayName string `json:"displayName,omitempty" yaml:"displayName,omitempty"`
// Label of the VM type
Label string `json:"label,omitempty" yaml:"label,omitempty"`
// Tags for the VM Type. This is a JSON object.
Tags []string `json:"tags,omitempty" yaml:"tags,omitempty"`
// Flag to indicate if the VM Type is experimental. 1 for true, 0 for false. Default is 0.
IsExperimental float64 `json:"isExperimental,omitempty" yaml:"isExperimental,omitempty"`
// Flag to indicate if the VM Type is for unmanaged VMs only. 1 for true, 0 for false. Default is 0.
ForUnmanagedVMsOnly float64 `json:"forUnmanagedVMsOnly,omitempty" yaml:"forUnmanagedVMsOnly,omitempty"`
}
type UserDelegateDto ¶
type UserDelegateDto struct {
// The user delegate e-mail
Email string `json:"email,omitempty" yaml:"email,omitempty"`
// Whether to create the delegate if it does not exist. Can only be used when creating a new delegate.
CreateIfNotExists bool `json:"createIfNotExists,omitempty" yaml:"createIfNotExists,omitempty"`
// Whether to remove the delegate. Cannot be used when creating a new delegate.
RemoveDelegate bool `json:"removeDelegate,omitempty" yaml:"removeDelegate,omitempty"`
}
type UserDto ¶
type UserDto struct {
// User ID
Id string `json:"id" yaml:"id"`
// The franchise of the user
Franchise string `json:"franchise" yaml:"franchise"`
// The display name of the user
DisplayName string `json:"displayName" yaml:"displayName"`
// The email address of the user
Email string `json:"email" yaml:"email"`
// Whether the user must change authenticator
AuthenticatorMustChange float64 `json:"authenticatorMustChange" yaml:"authenticatorMustChange"`
// The timestamp when the authenticator was created
AuthenticatorCreatedTimestamp string `json:"authenticatorCreatedTimestamp" yaml:"authenticatorCreatedTimestamp"`
// The timestamp when the user was created
CreatedTimestamp string `json:"createdTimestamp" yaml:"createdTimestamp"`
// The timestamp when the user logged in last
LastLoginTimestamp string `json:"lastLoginTimestamp" yaml:"lastLoginTimestamp"`
// The last login type of the user
LastLoginType string `json:"lastLoginType" yaml:"lastLoginType"`
// Whether the user is blocked
Blocked float64 `json:"blocked" yaml:"blocked"`
// The email status of the user
EmailStatus string `json:"emailStatus" yaml:"emailStatus"`
// Whether the user must change password
PasswordChangeRequired float64 `json:"passwordChangeRequired" yaml:"passwordChangeRequired"`
// The access level of the user
AccessLevel string `json:"accessLevel" yaml:"accessLevel"`
// Whether the user is billable
IsBillable float64 `json:"isBillable" yaml:"isBillable"`
// Whether the user is in testing mode
IsTestingMode float64 `json:"isTestingMode" yaml:"isTestingMode"`
// Whether the user is suspended
IsSuspended float64 `json:"isSuspended" yaml:"isSuspended"`
// The language of the user
Language string `json:"language" yaml:"language"`
// The default infrastructure ID of the user
InfrastructureIdDefault float64 `json:"infrastructureIdDefault,omitempty" yaml:"infrastructureIdDefault,omitempty"`
// The GUI settings of the user
GuiSettings *interface{} `json:"guiSettings" yaml:"guiSettings"`
// The promotion tags of the user
PromotionTags *interface{} `json:"promotionTags" yaml:"promotionTags"`
// The experimental tags of the user
ExperimentalTags *interface{} `json:"experimentalTags" yaml:"experimentalTags"`
// The custom prices for the user
CustomPrices *interface{} `json:"customPrices" yaml:"customPrices"`
// The permissions of the user
Permissions *interface{} `json:"permissions" yaml:"permissions"`
// The external IDs of the user
ExternalIds *interface{} `json:"externalIds" yaml:"externalIds"`
Limits *UserLimits `json:"limits" yaml:"limits"`
// Whether the user is excluded from reports
ExcludeFromReports float64 `json:"excludeFromReports" yaml:"excludeFromReports"`
// Whether the user is a test account
IsTestAccount float64 `json:"isTestAccount" yaml:"isTestAccount"`
// The plan type of the user
PlanType string `json:"planType" yaml:"planType"`
// The brand of the user
Brand string `json:"brand" yaml:"brand"`
// Whether the user is a brand manager
IsBrandManager float64 `json:"isBrandManager" yaml:"isBrandManager"`
// Whether the user is a datastore publisher
IsDatastorePublisher float64 `json:"isDatastorePublisher" yaml:"isDatastorePublisher"`
// The provider of the user
Provider string `json:"provider" yaml:"provider"`
// Whether the user is a archived
Archived float64 `json:"archived" yaml:"archived"`
// The account ID of the user
AccountId string `json:"accountId" yaml:"accountId"`
}
type UserExperimentalTagDto ¶
type UserExperimentalTagDto struct {
// The experimental tag for the user
ExperimentalTag string `json:"experimentalTag,omitempty" yaml:"experimentalTag,omitempty"`
// Whether to remove the experimental tag
RemoveExperimentalTag bool `json:"removeExperimentalTag,omitempty" yaml:"removeExperimentalTag,omitempty"`
}
type UserLimits ¶
type UserLimits struct {
ContainerArrayContainersMaxCount float64 `json:"container_array_containers_max_count" yaml:"container_array_containers_max_count"`
ContainerArrayContainersMinCount float64 `json:"container_array_containers_min_count" yaml:"container_array_containers_min_count"`
ContainerArrayDriveArraysMaxCount float64 `json:"container_array_drive_arrays_max_count" yaml:"container_array_drive_arrays_max_count"`
ContainerArrayDriveArraysMinCount float64 `json:"container_array_drive_arrays_min_count" yaml:"container_array_drive_arrays_min_count"`
ContainerArraySecretsMaxCount float64 `json:"container_array_secrets_max_count" yaml:"container_array_secrets_max_count"`
ContainerPlatformContainerArrayMaxCount float64 `json:"container_platform_container_array_max_count" yaml:"container_platform_container_array_max_count"`
DriveArrayDrivesMaxCount float64 `json:"drive_array_drives_max_count" yaml:"drive_array_drives_max_count"`
DriveArrayDrivesMinCount float64 `json:"drive_array_drives_min_count" yaml:"drive_array_drives_min_count"`
DriveMaxSizeMbytes float64 `json:"drive_max_size_mbytes" yaml:"drive_max_size_mbytes"`
DriveMinSizeMbytes float64 `json:"drive_min_size_mbytes" yaml:"drive_min_size_mbytes"`
InfrastructureActiveMaxCount float64 `json:"infrastructure_active_max_count" yaml:"infrastructure_active_max_count"`
InfrastructureClusterMaxCount float64 `json:"infrastructure_cluster_max_count" yaml:"infrastructure_cluster_max_count"`
InfrastructureClusterMysqlAllowed bool `json:"infrastructure_cluster_mysql_allowed" yaml:"infrastructure_cluster_mysql_allowed"`
InfrastructureContainerClusterKafkaAllowed bool `json:"infrastructure_container_cluster_kafka_allowed" yaml:"infrastructure_container_cluster_kafka_allowed"`
InfrastructureContainerClusterMaxCount float64 `json:"infrastructure_container_cluster_max_count" yaml:"infrastructure_container_cluster_max_count"`
InfrastructureContainerClusterPostgresqlAllowed bool `json:"infrastructure_container_cluster_postgresql_allowed" yaml:"infrastructure_container_cluster_postgresql_allowed"`
InfrastructureContainerClusterSparkArrayAllowed bool `json:"infrastructure_container_cluster_spark_array_allowed" yaml:"infrastructure_container_cluster_spark_array_allowed"`
InfrastructureContainerClusterSparksqlAllowed bool `json:"infrastructure_container_cluster_sparksql_allowed" yaml:"infrastructure_container_cluster_sparksql_allowed"`
InfrastructureContainerClusterStreamsetsAllowed bool `json:"infrastructure_container_cluster_streamsets_allowed" yaml:"infrastructure_container_cluster_streamsets_allowed"`
InfrastructureContainerClusterZookeeperAllowed bool `json:"infrastructure_container_cluster_zookeeper_allowed" yaml:"infrastructure_container_cluster_zookeeper_allowed"`
InfrastructureContainerClusterZoomdataAllowed bool `json:"infrastructure_container_cluster_zoomdata_allowed" yaml:"infrastructure_container_cluster_zoomdata_allowed"`
InfrastructureContainerPlatformMaxCount float64 `json:"infrastructure_container_platform_max_count" yaml:"infrastructure_container_platform_max_count"`
InfrastructureDataLakeEnabled bool `json:"infrastructure_data_lake_enabled" yaml:"infrastructure_data_lake_enabled"`
InfrastructureDataLakeMaxCount float64 `json:"infrastructure_data_lake_max_count" yaml:"infrastructure_data_lake_max_count"`
InfrastructureDeletedMaxCount float64 `json:"infrastructure_deleted_max_count" yaml:"infrastructure_deleted_max_count"`
InfrastructureDriveArrayMaxCount float64 `json:"infrastructure_drive_array_max_count" yaml:"infrastructure_drive_array_max_count"`
InfrastructureInactiveMaxCount float64 `json:"infrastructure_inactive_max_count" yaml:"infrastructure_inactive_max_count"`
InfrastructureInstanceArrayMaxCount float64 `json:"infrastructure_instance_array_max_count" yaml:"infrastructure_instance_array_max_count"`
InfrastructureLanMaxCount float64 `json:"infrastructure_lan_max_count" yaml:"infrastructure_lan_max_count"`
InfrastructureSanMaxCount float64 `json:"infrastructure_san_max_count" yaml:"infrastructure_san_max_count"`
InfrastructureVolumeTemplateExperimentalAllowed bool `json:"infrastructure_volume_template_experimental_allowed" yaml:"infrastructure_volume_template_experimental_allowed"`
InfrastructureWanMaxCount float64 `json:"infrastructure_wan_max_count" yaml:"infrastructure_wan_max_count"`
InstanceArrayInstancesMaxCount float64 `json:"instance_array_instances_max_count" yaml:"instance_array_instances_max_count"`
InstanceArrayInstancesMinCount float64 `json:"instance_array_instances_min_count" yaml:"instance_array_instances_min_count"`
InfrastructureVmInstanceGroupMaxCount float64 `json:"infrastructure_vm_instance_group_max_count" yaml:"infrastructure_vm_instance_group_max_count"`
VmInstanceGroupVmInstancesMaxCount float64 `json:"vm_instance_group_vm_instances_max_count" yaml:"vm_instance_group_vm_instances_max_count"`
VmInstanceMaxDiskSizeMbytes float64 `json:"vm_instance_max_disk_size_mbytes" yaml:"vm_instance_max_disk_size_mbytes"`
OwnerIsBillable bool `json:"owner_is_billable" yaml:"owner_is_billable"`
ServerTypeReservationMaxCount float64 `json:"server_type_reservation_max_count" yaml:"server_type_reservation_max_count"`
ServerTypeReservationMaxQuantity float64 `json:"server_type_reservation_max_quantity" yaml:"server_type_reservation_max_quantity"`
InfrastructureBucketMaxCount float64 `json:"infrastructure_bucket_max_count" yaml:"infrastructure_bucket_max_count"`
BucketMinSizeGb float64 `json:"bucket_min_size_gb" yaml:"bucket_min_size_gb"`
BucketMaxSizeGb float64 `json:"bucket_max_size_gb" yaml:"bucket_max_size_gb"`
AllowVlanOverrides bool `json:"allow_vlan_overrides" yaml:"allow_vlan_overrides"`
AllowNetworkProfiles bool `json:"allow_network_profiles" yaml:"allow_network_profiles"`
ShowOperatingSystemImagesTab bool `json:"show_operating_system_images_tab" yaml:"show_operating_system_images_tab"`
ShowTemplateAssetsView bool `json:"show_template_assets_view" yaml:"show_template_assets_view"`
StorageTypes *interface{} `json:"storage_types" yaml:"storage_types"`
ThresholdMaxCount float64 `json:"threshold_max_count" yaml:"threshold_max_count"`
UserResourceIscsiStorageSpaceMaxGbytes float64 `json:"user_resource_iscsi_storage_space_max_gbytes" yaml:"user_resource_iscsi_storage_space_max_gbytes"`
UserResourceServersMaxCount float64 `json:"user_resource_servers_max_count" yaml:"user_resource_servers_max_count"`
UserResourceServerTypeNameToMaxCount *interface{} `json:"user_resource_server_type_name_to_max_count" yaml:"user_resource_server_type_name_to_max_count"`
UserSshKeysCountMax float64 `json:"user_ssh_keys_count_max" yaml:"user_ssh_keys_count_max"`
WanSubnetIpv4MaxCount float64 `json:"wan_subnet_ipv4_max_count" yaml:"wan_subnet_ipv4_max_count"`
WanSubnetIpv6MaxCount float64 `json:"wan_subnet_ipv6_max_count" yaml:"wan_subnet_ipv6_max_count"`
WanSubnetPrefixSizeToMaxCount *interface{} `json:"wan_subnet_prefix_size_to_max_count" yaml:"wan_subnet_prefix_size_to_max_count"`
ShowLegacyPages bool `json:"show_legacy_pages" yaml:"show_legacy_pages"`
ShowExperimentalPages bool `json:"show_experimental_pages" yaml:"show_experimental_pages"`
ShowDiagramAppsGlobal bool `json:"show_diagram_apps_global" yaml:"show_diagram_apps_global"`
ShowDiagramAppClusterTypeCloudera bool `json:"show_diagram_app_cluster_type_cloudera" yaml:"show_diagram_app_cluster_type_cloudera"`
ShowDiagramAppClusterTypeCouchbase bool `json:"show_diagram_app_cluster_type_couchbase" yaml:"show_diagram_app_cluster_type_couchbase"`
ShowDiagramAppClusterTypeDatameer bool `json:"show_diagram_app_cluster_type_datameer" yaml:"show_diagram_app_cluster_type_datameer"`
ShowDiagramAppClusterTypeDatastax bool `json:"show_diagram_app_cluster_type_datastax" yaml:"show_diagram_app_cluster_type_datastax"`
ShowDiagramAppClusterTypeElasticsearch bool `json:"show_diagram_app_cluster_type_elasticsearch" yaml:"show_diagram_app_cluster_type_elasticsearch"`
ShowDiagramAppClusterTypeExasol bool `json:"show_diagram_app_cluster_type_exasol" yaml:"show_diagram_app_cluster_type_exasol"`
ShowDiagramAppClusterTypeHortonworks bool `json:"show_diagram_app_cluster_type_hortonworks" yaml:"show_diagram_app_cluster_type_hortonworks"`
ShowDiagramAppClusterTypeKubernetes bool `json:"show_diagram_app_cluster_type_kubernetes" yaml:"show_diagram_app_cluster_type_kubernetes"`
ShowDiagramAppClusterTypeMapr bool `json:"show_diagram_app_cluster_type_mapr" yaml:"show_diagram_app_cluster_type_mapr"`
ShowDiagramAppClusterTypeMesos bool `json:"show_diagram_app_cluster_type_mesos" yaml:"show_diagram_app_cluster_type_mesos"`
ShowDiagramAppClusterTypeMysqlPercona bool `json:"show_diagram_app_cluster_type_mysql_percona" yaml:"show_diagram_app_cluster_type_mysql_percona"`
ShowDiagramAppClusterTypeSplunk bool `json:"show_diagram_app_cluster_type_splunk" yaml:"show_diagram_app_cluster_type_splunk"`
ShowDiagramAppClusterTypeVmwareVsphere bool `json:"show_diagram_app_cluster_type_vmware_vsphere" yaml:"show_diagram_app_cluster_type_vmware_vsphere"`
ShowDiagramAppClusterTypeVmwareVcf bool `json:"show_diagram_app_cluster_type_vmware_vcf" yaml:"show_diagram_app_cluster_type_vmware_vcf"`
ShowDiagramAppClusterTypeKubernetesEksa bool `json:"show_diagram_app_cluster_type_kubernetes_eksa" yaml:"show_diagram_app_cluster_type_kubernetes_eksa"`
ShowDiagramVmInstanceGroups bool `json:"show_diagram_vm_instance_groups" yaml:"show_diagram_vm_instance_groups"`
ShowEliChatBot bool `json:"show_eli_chat_bot" yaml:"show_eli_chat_bot"`
EnableCustomRaidConfiguration bool `json:"enable_custom_raid_configuration" yaml:"enable_custom_raid_configuration"`
EnableCustomSubnets bool `json:"enable_custom_subnets" yaml:"enable_custom_subnets"`
ShowStackTrace bool `json:"show_stack_trace" yaml:"show_stack_trace"`
AllowedNetworkProfiles *interface{} `json:"allowed_network_profiles" yaml:"allowed_network_profiles"`
}
type UserLimitsDto ¶
type UserLimitsDto struct {
ContainerArrayContainersMaxCount float64 `json:"containerArrayContainersMaxCount,omitempty" yaml:"containerArrayContainersMaxCount,omitempty"`
ContainerArrayContainersMinCount float64 `json:"containerArrayContainersMinCount,omitempty" yaml:"containerArrayContainersMinCount,omitempty"`
ContainerArrayDriveArraysMaxCount float64 `json:"containerArrayDriveArraysMaxCount,omitempty" yaml:"containerArrayDriveArraysMaxCount,omitempty"`
ContainerArrayDriveArraysMinCount float64 `json:"containerArrayDriveArraysMinCount,omitempty" yaml:"containerArrayDriveArraysMinCount,omitempty"`
ContainerArraySecretsMaxCount float64 `json:"containerArraySecretsMaxCount,omitempty" yaml:"containerArraySecretsMaxCount,omitempty"`
ContainerPlatformContainerArrayMaxCount float64 `json:"containerPlatformContainerArrayMaxCount,omitempty" yaml:"containerPlatformContainerArrayMaxCount,omitempty"`
DriveArrayDrivesMaxCount float64 `json:"driveArrayDrivesMaxCount,omitempty" yaml:"driveArrayDrivesMaxCount,omitempty"`
DriveArrayDrivesMinCount float64 `json:"driveArrayDrivesMinCount,omitempty" yaml:"driveArrayDrivesMinCount,omitempty"`
DriveMaxSizeMbytes float64 `json:"driveMaxSizeMbytes,omitempty" yaml:"driveMaxSizeMbytes,omitempty"`
DriveMinSizeMbytes float64 `json:"driveMinSizeMbytes,omitempty" yaml:"driveMinSizeMbytes,omitempty"`
InfrastructureActiveMaxCount float64 `json:"infrastructureActiveMaxCount,omitempty" yaml:"infrastructureActiveMaxCount,omitempty"`
InfrastructureClusterMaxCount float64 `json:"infrastructureClusterMaxCount,omitempty" yaml:"infrastructureClusterMaxCount,omitempty"`
InfrastructureClusterMysqlAllowed bool `json:"infrastructureClusterMysqlAllowed,omitempty" yaml:"infrastructureClusterMysqlAllowed,omitempty"`
InfrastructureContainerClusterKafkaAllowed bool `json:"infrastructureContainerClusterKafkaAllowed,omitempty" yaml:"infrastructureContainerClusterKafkaAllowed,omitempty"`
InfrastructureContainerClusterMaxCount float64 `json:"infrastructureContainerClusterMaxCount,omitempty" yaml:"infrastructureContainerClusterMaxCount,omitempty"`
InfrastructureContainerClusterPostgresqlAllowed bool `` /* 129-byte string literal not displayed */
InfrastructureContainerClusterSparkArrayAllowed bool `` /* 129-byte string literal not displayed */
InfrastructureContainerClusterSparksqlAllowed bool `json:"infrastructureContainerClusterSparksqlAllowed,omitempty" yaml:"infrastructureContainerClusterSparksqlAllowed,omitempty"`
InfrastructureContainerClusterStreamsetsAllowed bool `` /* 129-byte string literal not displayed */
InfrastructureContainerClusterZookeeperAllowed bool `` /* 127-byte string literal not displayed */
InfrastructureContainerClusterZoomdataAllowed bool `json:"infrastructureContainerClusterZoomdataAllowed,omitempty" yaml:"infrastructureContainerClusterZoomdataAllowed,omitempty"`
InfrastructureContainerPlatformMaxCount float64 `json:"infrastructureContainerPlatformMaxCount,omitempty" yaml:"infrastructureContainerPlatformMaxCount,omitempty"`
InfrastructureDataLakeEnabled bool `json:"infrastructureDataLakeEnabled,omitempty" yaml:"infrastructureDataLakeEnabled,omitempty"`
InfrastructureDataLakeMaxCount float64 `json:"infrastructureDataLakeMaxCount,omitempty" yaml:"infrastructureDataLakeMaxCount,omitempty"`
InfrastructureDeletedMaxCount float64 `json:"infrastructureDeletedMaxCount,omitempty" yaml:"infrastructureDeletedMaxCount,omitempty"`
InfrastructureDriveArrayMaxCount float64 `json:"infrastructureDriveArrayMaxCount,omitempty" yaml:"infrastructureDriveArrayMaxCount,omitempty"`
InfrastructureInactiveMaxCount float64 `json:"infrastructureInactiveMaxCount,omitempty" yaml:"infrastructureInactiveMaxCount,omitempty"`
InfrastructureInstanceArrayMaxCount float64 `json:"infrastructureInstanceArrayMaxCount,omitempty" yaml:"infrastructureInstanceArrayMaxCount,omitempty"`
InfrastructureLanMaxCount float64 `json:"infrastructureLanMaxCount,omitempty" yaml:"infrastructureLanMaxCount,omitempty"`
InfrastructureSanMaxCount float64 `json:"infrastructureSanMaxCount,omitempty" yaml:"infrastructureSanMaxCount,omitempty"`
InfrastructureVolumeTemplateExperimentalAllowed bool `` /* 129-byte string literal not displayed */
InfrastructureWanMaxCount float64 `json:"infrastructureWanMaxCount,omitempty" yaml:"infrastructureWanMaxCount,omitempty"`
InstanceArrayInstancesMaxCount float64 `json:"instanceArrayInstancesMaxCount,omitempty" yaml:"instanceArrayInstancesMaxCount,omitempty"`
InstanceArrayInstancesMinCount float64 `json:"instanceArrayInstancesMinCount,omitempty" yaml:"instanceArrayInstancesMinCount,omitempty"`
InfrastructureVmInstanceGroupMaxCount float64 `json:"infrastructureVmInstanceGroupMaxCount,omitempty" yaml:"infrastructureVmInstanceGroupMaxCount,omitempty"`
VmInstanceGroupVmInstancesMaxCount float64 `json:"vmInstanceGroupVmInstancesMaxCount,omitempty" yaml:"vmInstanceGroupVmInstancesMaxCount,omitempty"`
VmInstanceMaxDiskSizeMbytes float64 `json:"vmInstanceMaxDiskSizeMbytes,omitempty" yaml:"vmInstanceMaxDiskSizeMbytes,omitempty"`
OwnerIsBillable bool `json:"ownerIsBillable,omitempty" yaml:"ownerIsBillable,omitempty"`
ServerTypeReservationMaxCount float64 `json:"serverTypeReservationMaxCount,omitempty" yaml:"serverTypeReservationMaxCount,omitempty"`
ServerTypeReservationMaxQuantity float64 `json:"serverTypeReservationMaxQuantity,omitempty" yaml:"serverTypeReservationMaxQuantity,omitempty"`
AllowVlanOverrides bool `json:"allowVlanOverrides,omitempty" yaml:"allowVlanOverrides,omitempty"`
AllowNetworkProfiles bool `json:"allowNetworkProfiles,omitempty" yaml:"allowNetworkProfiles,omitempty"`
ShowOperatingSystemImagesTab bool `json:"showOperatingSystemImagesTab,omitempty" yaml:"showOperatingSystemImagesTab,omitempty"`
ShowTemplateAssetsView bool `json:"showTemplateAssetsView,omitempty" yaml:"showTemplateAssetsView,omitempty"`
StorageTypes []string `json:"storageTypes,omitempty" yaml:"storageTypes,omitempty"`
ThresholdMaxCount float64 `json:"thresholdMaxCount,omitempty" yaml:"thresholdMaxCount,omitempty"`
UserResourceIscsiStorageSpaceMaxGbytes float64 `json:"userResourceIscsiStorageSpaceMaxGbytes,omitempty" yaml:"userResourceIscsiStorageSpaceMaxGbytes,omitempty"`
UserResourceServersMaxCount float64 `json:"userResourceServersMaxCount,omitempty" yaml:"userResourceServersMaxCount,omitempty"`
UserResourceServerTypeNameToMaxCount *interface{} `json:"userResourceServerTypeNameToMaxCount,omitempty" yaml:"userResourceServerTypeNameToMaxCount,omitempty"`
UserSshKeysCountMax float64 `json:"userSshKeysCountMax,omitempty" yaml:"userSshKeysCountMax,omitempty"`
WanSubnetIpv4MaxCount float64 `json:"wanSubnetIpv4MaxCount,omitempty" yaml:"wanSubnetIpv4MaxCount,omitempty"`
WanSubnetIpv6MaxCount float64 `json:"wanSubnetIpv6MaxCount,omitempty" yaml:"wanSubnetIpv6MaxCount,omitempty"`
WanSubnetPrefixSizeToMaxCount *interface{} `json:"wanSubnetPrefixSizeToMaxCount,omitempty" yaml:"wanSubnetPrefixSizeToMaxCount,omitempty"`
ShowLegacyPages bool `json:"showLegacyPages,omitempty" yaml:"showLegacyPages,omitempty"`
ShowExperimentalPages bool `json:"showExperimentalPages,omitempty" yaml:"showExperimentalPages,omitempty"`
ShowDiagramAppsGlobal bool `json:"showDiagramAppsGlobal,omitempty" yaml:"showDiagramAppsGlobal,omitempty"`
ShowDiagramAppClusterTypeCloudera bool `json:"showDiagramAppClusterTypeCloudera,omitempty" yaml:"showDiagramAppClusterTypeCloudera,omitempty"`
ShowDiagramAppClusterTypeCouchbase bool `json:"showDiagramAppClusterTypeCouchbase,omitempty" yaml:"showDiagramAppClusterTypeCouchbase,omitempty"`
ShowDiagramAppClusterTypeDatameer bool `json:"showDiagramAppClusterTypeDatameer,omitempty" yaml:"showDiagramAppClusterTypeDatameer,omitempty"`
ShowDiagramAppClusterTypeDatastax bool `json:"showDiagramAppClusterTypeDatastax,omitempty" yaml:"showDiagramAppClusterTypeDatastax,omitempty"`
ShowDiagramAppClusterTypeElasticsearch bool `json:"showDiagramAppClusterTypeElasticsearch,omitempty" yaml:"showDiagramAppClusterTypeElasticsearch,omitempty"`
ShowDiagramAppClusterTypeExasol bool `json:"showDiagramAppClusterTypeExasol,omitempty" yaml:"showDiagramAppClusterTypeExasol,omitempty"`
ShowDiagramAppClusterTypeHortonworks bool `json:"showDiagramAppClusterTypeHortonworks,omitempty" yaml:"showDiagramAppClusterTypeHortonworks,omitempty"`
ShowDiagramAppClusterTypeKubernetes bool `json:"showDiagramAppClusterTypeKubernetes,omitempty" yaml:"showDiagramAppClusterTypeKubernetes,omitempty"`
ShowDiagramAppClusterTypeMapr bool `json:"showDiagramAppClusterTypeMapr,omitempty" yaml:"showDiagramAppClusterTypeMapr,omitempty"`
ShowDiagramAppClusterTypeMesos bool `json:"showDiagramAppClusterTypeMesos,omitempty" yaml:"showDiagramAppClusterTypeMesos,omitempty"`
ShowDiagramAppClusterTypeMysqlPercona bool `json:"showDiagramAppClusterTypeMysqlPercona,omitempty" yaml:"showDiagramAppClusterTypeMysqlPercona,omitempty"`
ShowDiagramAppClusterTypeSplunk bool `json:"showDiagramAppClusterTypeSplunk,omitempty" yaml:"showDiagramAppClusterTypeSplunk,omitempty"`
ShowDiagramAppClusterTypeVmwareVsphere bool `json:"showDiagramAppClusterTypeVmwareVsphere,omitempty" yaml:"showDiagramAppClusterTypeVmwareVsphere,omitempty"`
ShowDiagramAppClusterTypeVmwareVcf bool `json:"showDiagramAppClusterTypeVmwareVcf,omitempty" yaml:"showDiagramAppClusterTypeVmwareVcf,omitempty"`
ShowDiagramAppClusterTypeKubernetesEksa bool `json:"showDiagramAppClusterTypeKubernetesEksa,omitempty" yaml:"showDiagramAppClusterTypeKubernetesEksa,omitempty"`
ShowDiagramVmInstanceGroups bool `json:"showDiagramVmInstanceGroups,omitempty" yaml:"showDiagramVmInstanceGroups,omitempty"`
ShowEliChatBot bool `json:"showEliChatBot,omitempty" yaml:"showEliChatBot,omitempty"`
EnableCustomRaidConfiguration bool `json:"enableCustomRaidConfiguration,omitempty" yaml:"enableCustomRaidConfiguration,omitempty"`
EnableCustomSubnets bool `json:"enableCustomSubnets,omitempty" yaml:"enableCustomSubnets,omitempty"`
ShowStackTrace bool `json:"showStackTrace,omitempty" yaml:"showStackTrace,omitempty"`
AllowedNetworkProfiles *interface{} `json:"allowedNetworkProfiles,omitempty" yaml:"allowedNetworkProfiles,omitempty"`
}
type UserPromotionDto ¶
type UserResourcePermissionDto ¶
type UserResourcePermissionDto struct {
// The resource permission for the user
ResourcePermission string `json:"resourcePermission,omitempty" yaml:"resourcePermission,omitempty"`
// Whether to enable the permission
EnablePermission bool `json:"enablePermission,omitempty" yaml:"enablePermission,omitempty"`
}
type UserResourcePermissionsDto ¶
type UserResourcePermissionsDto struct {
// The new special permissions of the user.
SpecialPermissions []UserResourcePermissionDto `json:"specialPermissions,omitempty" yaml:"specialPermissions,omitempty"`
// The new password reveal permissions of the user.
PasswordRevealPermissions []UserResourcePermissionDto `json:"passwordRevealPermissions,omitempty" yaml:"passwordRevealPermissions,omitempty"`
}
type UserSuspendDto ¶
type UserSuspendDto struct {
// The suspend reason of the user
SuspendReason string `json:"suspendReason,omitempty" yaml:"suspendReason,omitempty"`
// The public comment for the suspension
SuspendReasonPublicComment string `json:"suspendReasonPublicComment,omitempty" yaml:"suspendReasonPublicComment,omitempty"`
// The private comment for the suspension
SuspendReasonPrivateComment string `json:"suspendReasonPrivateComment,omitempty" yaml:"suspendReasonPrivateComment,omitempty"`
// Whether to remove the suspension
RemoveSuspension bool `json:"removeSuspension,omitempty" yaml:"removeSuspension,omitempty"`
}
type UserUpdatePasswordDto ¶
type UsersApiGetUserOpts ¶ added in v1.1.0
type UsersApiService ¶
type UsersApiService service
func (*UsersApiService) ArchiveUser ¶ added in v1.1.0
func (a *UsersApiService) ArchiveUser(ctx context.Context, userId string) (UserDto, *http.Response, error)
UsersApiService Archive user Archives a user
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param userId The user id
@return UserDto
func (*UsersApiService) ChangeUserAccount ¶ added in v1.1.0
func (a *UsersApiService) ChangeUserAccount(ctx context.Context, body ChangeUserAccountDto, userId string) (UserDto, *http.Response, error)
UsersApiService Change account for user Changes account for user
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param body The new account id
- @param userId The user id
@return UserDto
func (*UsersApiService) CreateUser ¶ added in v1.1.0
func (a *UsersApiService) CreateUser(ctx context.Context, body CreateUserDto) (UserDto, *http.Response, error)
UsersApiService Creates a user Creates a user
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param body The user to create
@return UserDto
func (*UsersApiService) GetUser ¶ added in v1.1.0
func (a *UsersApiService) GetUser(ctx context.Context, userId string, localVarOptionals *UsersApiGetUserOpts) (UserDto, *http.Response, error)
func (*UsersApiService) GetUserLimits ¶ added in v1.1.0
func (a *UsersApiService) GetUserLimits(ctx context.Context, userId string) (UserLimitsDto, *http.Response, error)
UsersApiService Get user limits Returns the limits of a user
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param userId The user id
@return UserLimitsDto
func (*UsersApiService) GetUsers ¶ added in v1.1.0
UsersApiService Get users Returns a list of users
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return []UserDto
func (*UsersApiService) UnarchiveUser ¶ added in v1.1.0
func (a *UsersApiService) UnarchiveUser(ctx context.Context, userId string) (UserDto, *http.Response, error)
UsersApiService Unarchive user Unarchives a user
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param userId The user id
@return UserDto
func (*UsersApiService) UpdateUser ¶ added in v1.1.0
func (a *UsersApiService) UpdateUser(ctx context.Context, body UpdateUserDto, userId string) (UserDto, *http.Response, error)
UsersApiService Update user Updates a user
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param body The user updates
- @param userId The user id
@return UserDto
func (*UsersApiService) UpdateUserLimits ¶ added in v1.1.0
func (a *UsersApiService) UpdateUserLimits(ctx context.Context, body UserLimitsDto, userId string) (UserLimitsDto, *http.Response, error)
UsersApiService Update user limits Updates the limits of a user
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param body The new limits
- @param userId The user id
@return UserLimitsDto
type VMInstanceApiService ¶
type VMInstanceApiService service
func (*VMInstanceApiService) ApplyVMTypeOnVMInstance ¶ added in v1.1.0
func (a *VMInstanceApiService) ApplyVMTypeOnVMInstance(ctx context.Context, infrastructureId float64, vmInstanceId float64, vmTypeId float64) (VmInstance, *http.Response, error)
VMInstanceApiService Applies a VM Type to a VM Instance Applies a VM Type to a VM Instance
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param infrastructureId
- @param vmInstanceId
- @param vmTypeId
@return VmInstance
func (*VMInstanceApiService) CreateVMInstance ¶ added in v1.1.0
func (a *VMInstanceApiService) CreateVMInstance(ctx context.Context, body CreateVmInstance, infrastructureId float64) (VmInstance, *http.Response, error)
VMInstanceApiService Creates a VM Instance Creates a VM Instance
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param body The VM Instance create object
- @param infrastructureId
@return VmInstance
func (*VMInstanceApiService) DeleteVMInstance ¶ added in v1.1.0
func (a *VMInstanceApiService) DeleteVMInstance(ctx context.Context, infrastructureId float64, vmInstanceId float64) (*http.Response, error)
VMInstanceApiService Deletes a VM Instance Deletes a VM Instance
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param infrastructureId
- @param vmInstanceId
func (*VMInstanceApiService) GetVMInstance ¶ added in v1.1.0
func (a *VMInstanceApiService) GetVMInstance(ctx context.Context, infrastructureId float64, vmInstanceId float64) (VmInstance, *http.Response, error)
VMInstanceApiService Get VM Instance information Returns VM Instance information
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param infrastructureId
- @param vmInstanceId
@return VmInstance
func (*VMInstanceApiService) GetVMInstancePowerStatus ¶ added in v1.1.0
func (a *VMInstanceApiService) GetVMInstancePowerStatus(ctx context.Context, infrastructureId float64, vmInstanceId float64) (string, *http.Response, error)
VMInstanceApiService Retrieves the power status of the VM Instance Retrieves the power status of the VM Instance
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param infrastructureId
- @param vmInstanceId
@return string
func (*VMInstanceApiService) RebootVMInstance ¶ added in v1.1.0
func (a *VMInstanceApiService) RebootVMInstance(ctx context.Context, infrastructureId float64, vmInstanceId float64) (*http.Response, error)
VMInstanceApiService Reboots the VM Instance Reboots the VM Instance
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param infrastructureId
- @param vmInstanceId
func (*VMInstanceApiService) ShutdownVMInstance ¶ added in v1.1.0
func (a *VMInstanceApiService) ShutdownVMInstance(ctx context.Context, infrastructureId float64, vmInstanceId float64) (*http.Response, error)
VMInstanceApiService Shuts down the VM Instance Shuts down the VM Instance
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param infrastructureId
- @param vmInstanceId
func (*VMInstanceApiService) StartVMInstance ¶ added in v1.1.0
func (a *VMInstanceApiService) StartVMInstance(ctx context.Context, infrastructureId float64, vmInstanceId float64) (*http.Response, error)
VMInstanceApiService Starts the VM Instance Starts the VM Instance
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param infrastructureId
- @param vmInstanceId
func (*VMInstanceApiService) UpdateVMInstance ¶ added in v1.1.0
func (a *VMInstanceApiService) UpdateVMInstance(ctx context.Context, body UpdateVmInstance, infrastructureId float64, vmInstanceId float64) (VmInstance, *http.Response, error)
VMInstanceApiService Updates VM Instance information Updates VM Instance information
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param body The VM Instance update object
- @param infrastructureId
- @param vmInstanceId
@return VmInstance
type VMInstanceGroupApiService ¶
type VMInstanceGroupApiService service
func (*VMInstanceGroupApiService) ApplyVMTypeOnVMInstanceGroup ¶ added in v1.1.0
func (a *VMInstanceGroupApiService) ApplyVMTypeOnVMInstanceGroup(ctx context.Context, infrastructureId float64, vmInstanceGroupId float64, vmTypeId float64) (VmInstanceGroup, *http.Response, error)
VMInstanceGroupApiService Applies a VM Type to a VM Instance Group Applies a VM Type to a VM Instance Group
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param infrastructureId
- @param vmInstanceGroupId
- @param vmTypeId
@return VmInstanceGroup
func (*VMInstanceGroupApiService) CreateVMInstanceGroup ¶ added in v1.1.0
func (a *VMInstanceGroupApiService) CreateVMInstanceGroup(ctx context.Context, body CreateVmInstanceGroup, infrastructureId float64) (VmInstanceGroup, *http.Response, error)
VMInstanceGroupApiService Creates a VM Instance Group Creates a VM Instance Group
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param body The VM Instance Group create object
- @param infrastructureId
@return VmInstanceGroup
func (*VMInstanceGroupApiService) CreateVMInterfaceOnVMInstanceGroup ¶ added in v1.1.0
func (a *VMInstanceGroupApiService) CreateVMInterfaceOnVMInstanceGroup(ctx context.Context, body CreateVmInstanceGroupInterface, infrastructureId float64, vmInstanceGroupId float64) (VmInstanceGroupInterface, *http.Response, error)
VMInstanceGroupApiService Creates a new Virtual Interface for the VM Instance Group Creates a new Virtual Interface for the VM Instance Group
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param body
- @param infrastructureId
- @param vmInstanceGroupId
@return VmInstanceGroupInterface
func (*VMInstanceGroupApiService) DeleteVMInstanceGroup ¶ added in v1.1.0
func (a *VMInstanceGroupApiService) DeleteVMInstanceGroup(ctx context.Context, infrastructureId float64, vmInstanceGroupId float64) (*http.Response, error)
VMInstanceGroupApiService Deletes a VM Instance Group Deletes a VM Instance Group
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param infrastructureId
- @param vmInstanceGroupId
func (*VMInstanceGroupApiService) GetVMInstanceGroup ¶ added in v1.1.0
func (a *VMInstanceGroupApiService) GetVMInstanceGroup(ctx context.Context, infrastructureId float64, vmInstanceGroupId float64) (VmInstanceGroup, *http.Response, error)
VMInstanceGroupApiService Get VM Instance Group information Returns VM Instance Group information
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param infrastructureId
- @param vmInstanceGroupId
@return VmInstanceGroup
func (*VMInstanceGroupApiService) GetVMInstanceGroupVMInstances ¶ added in v1.1.0
func (a *VMInstanceGroupApiService) GetVMInstanceGroupVMInstances(ctx context.Context, infrastructureId float64, vmInstanceGroupId float64) (map[string]VmInstance, *http.Response, error)
VMInstanceGroupApiService Get the VM Instances of VM Instance Group Returns the VM Instances of VM Instance Group
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param infrastructureId
- @param vmInstanceGroupId
@return map[string]VmInstance
func (*VMInstanceGroupApiService) GetVMInstanceGroups ¶ added in v1.1.0
func (a *VMInstanceGroupApiService) GetVMInstanceGroups(ctx context.Context, infrastructureId float64) ([]VmInstanceGroup, *http.Response, error)
VMInstanceGroupApiService Get all VM Instance Groups Returns list of all VM Instance Groups
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param infrastructureId
@return []VmInstanceGroup
func (*VMInstanceGroupApiService) UpdateNetworkProfileOnVMInstanceGroupNetwork ¶ added in v1.1.0
func (a *VMInstanceGroupApiService) UpdateNetworkProfileOnVMInstanceGroupNetwork(ctx context.Context, body UpdateVmInstanceGroupNetwork, infrastructureId float64, vmInstanceGroupId float64, networkId float64) (VmInstanceGroup, *http.Response, error)
VMInstanceGroupApiService Applies the given Network Profile to the specified VM Instance Group Network Applies the given Network Profile to the specified VM Instance Group Network
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param body The VM Instance Group Network update object
- @param infrastructureId
- @param vmInstanceGroupId
- @param networkId
@return VmInstanceGroup
func (*VMInstanceGroupApiService) UpdateVMInstanceGroup ¶ added in v1.1.0
func (a *VMInstanceGroupApiService) UpdateVMInstanceGroup(ctx context.Context, body UpdateVmInstanceGroup, infrastructureId float64, vmInstanceGroupId float64) (VmInstanceGroup, *http.Response, error)
VMInstanceGroupApiService Updates VM Instance Group information Updates VM Instance Group information
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param body The VM Instance Group update object
- @param infrastructureId
- @param vmInstanceGroupId
@return VmInstanceGroup
type VMPoolsApiService ¶
type VMPoolsApiService service
func (*VMPoolsApiService) CreateVMPool ¶ added in v1.1.0
func (a *VMPoolsApiService) CreateVMPool(ctx context.Context, body CreateVmPool) (VmPool, *http.Response, error)
VMPoolsApiService Creates a VM Pool Creates a VM Pool
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param body The VM Pool create object
@return VmPool
func (*VMPoolsApiService) DeleteVMPool ¶ added in v1.1.0
func (a *VMPoolsApiService) DeleteVMPool(ctx context.Context, vmPoolId float64) (*http.Response, error)
VMPoolsApiService Deletes a VM Pool Deletes a VM Pool
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param vmPoolId
func (*VMPoolsApiService) GetVMPool ¶ added in v1.1.0
func (a *VMPoolsApiService) GetVMPool(ctx context.Context, vmPoolId float64) (VmPool, *http.Response, error)
VMPoolsApiService Get VM Pool information Returns VM Pool information
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param vmPoolId
@return VmPool
func (*VMPoolsApiService) GetVMPoolClusterHost ¶ added in v1.1.0
func (a *VMPoolsApiService) GetVMPoolClusterHost(ctx context.Context, vmPoolId float64, vmPoolClusterHostId float64) (VmPoolHosts, *http.Response, error)
VMPoolsApiService Retrieves a VM Cluster Host Returns a VM Cluster Host
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param vmPoolId
- @param vmPoolClusterHostId
@return VmPoolHosts
func (*VMPoolsApiService) GetVMPoolClusterHostInterface ¶ added in v1.1.0
func (a *VMPoolsApiService) GetVMPoolClusterHostInterface(ctx context.Context, vmPoolId float64, vmPoolClusterHostId float64, vmPoolClusterHostInterfaceId float64) (VmPoolHostInterfaces, *http.Response, error)
VMPoolsApiService Retrieves a VM Cluster Host Interface Returns a VM Cluster Host Interface
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param vmPoolId
- @param vmPoolClusterHostId
- @param vmPoolClusterHostInterfaceId
@return VmPoolHostInterfaces
func (*VMPoolsApiService) GetVMPoolClusterHostInterfaces ¶ added in v1.1.0
func (a *VMPoolsApiService) GetVMPoolClusterHostInterfaces(ctx context.Context, vmPoolId float64, vmPoolClusterHostId float64) ([]VmPoolHostInterfaces, *http.Response, error)
VMPoolsApiService Retrieves a list of VM Cluster Host Interfaces Returns a list of VM Cluster Host Interfaces
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param vmPoolId
- @param vmPoolClusterHostId
@return []VmPoolHostInterfaces
func (*VMPoolsApiService) GetVMPoolClusterHostVMs ¶ added in v1.1.0
func (a *VMPoolsApiService) GetVMPoolClusterHostVMs(ctx context.Context, vmPoolId float64, vmPoolClusterHostId float64) (VmList, *http.Response, error)
VMPoolsApiService Retrieves a list of VM Cluster Host VMs Returns a list of VM Cluster Host VMs
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param vmPoolId
- @param vmPoolClusterHostId
@return VmList
func (*VMPoolsApiService) GetVMPoolClusterHosts ¶ added in v1.1.0
func (a *VMPoolsApiService) GetVMPoolClusterHosts(ctx context.Context, vmPoolId float64) (VmPoolHostsList, *http.Response, error)
VMPoolsApiService Get list of VM Cluster Hosts linked to the VM Pool Returns list of VM Cluster Hosts linked to the VM Pool
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param vmPoolId
@return VmPoolHostsList
func (*VMPoolsApiService) GetVMPoolVMs ¶ added in v1.1.0
func (a *VMPoolsApiService) GetVMPoolVMs(ctx context.Context, vmPoolId float64) (*http.Response, error)
VMPoolsApiService Returns all VMs linked to the VM Pool Returns all VMs linked to the VM Pool
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param vmPoolId
func (*VMPoolsApiService) GetVMPools ¶ added in v1.1.0
func (a *VMPoolsApiService) GetVMPools(ctx context.Context) (VmPoolList, *http.Response, error)
VMPoolsApiService Get all VM Pools Returns list of all VM Pools
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return VmPoolList
func (*VMPoolsApiService) UpdateVMPool ¶ added in v1.1.0
func (a *VMPoolsApiService) UpdateVMPool(ctx context.Context, body UpdateVmPool, vmPoolId float64) (VmPool, *http.Response, error)
VMPoolsApiService Updates VM Pool information Updates VM Pool information
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param body The VM Pool update object
- @param vmPoolId
@return VmPool
func (*VMPoolsApiService) UpdateVMPoolClusterHostInterface ¶ added in v1.1.0
func (a *VMPoolsApiService) UpdateVMPoolClusterHostInterface(ctx context.Context, body UpdateVmPoolClusterHostInterface, vmPoolId float64, vmPoolClusterHostId float64, vmPoolClusterHostInterfaceId float64) (VmPoolHostInterfaces, *http.Response, error)
VMPoolsApiService Updates a VM Cluster Host Interface Updates a VM Cluster Host Interface
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param body The VM Pool Cluster Host Interface update object
- @param vmPoolId
- @param vmPoolClusterHostId
- @param vmPoolClusterHostInterfaceId
@return VmPoolHostInterfaces
type VMTypesApiService ¶
type VMTypesApiService service
func (*VMTypesApiService) CreateVMType ¶ added in v1.1.0
func (a *VMTypesApiService) CreateVMType(ctx context.Context, body CreateVmType) (VmType, *http.Response, error)
VMTypesApiService Creates a VM Type Creates a VM Type
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param body The VM Type create object
@return VmType
func (*VMTypesApiService) DeleteVMType ¶ added in v1.1.0
func (a *VMTypesApiService) DeleteVMType(ctx context.Context, vmTypeId float64) (*http.Response, error)
VMTypesApiService Deletes a VM Type Deletes a VM Type
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param vmTypeId
func (*VMTypesApiService) GetVMType ¶ added in v1.1.0
func (a *VMTypesApiService) GetVMType(ctx context.Context, vmTypeId float64) (VmType, *http.Response, error)
VMTypesApiService Get VM Type information Returns VM Type information
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param vmTypeId
@return VmType
func (*VMTypesApiService) GetVMTypes ¶ added in v1.1.0
func (a *VMTypesApiService) GetVMTypes(ctx context.Context) (VmTypeList, *http.Response, error)
VMTypesApiService Get all VM Types Returns list of all VM Types
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return VmTypeList
func (*VMTypesApiService) GetVMsByVMType ¶ added in v1.1.0
func (a *VMTypesApiService) GetVMsByVMType(ctx context.Context, vmTypeId float64) (*http.Response, error)
VMTypesApiService Returns all VMs linked to the VM Type Returns all VMs linked to the VM Type
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param vmTypeId
func (*VMTypesApiService) UpdateVMType ¶ added in v1.1.0
func (a *VMTypesApiService) UpdateVMType(ctx context.Context, body UpdateVmType, vmTypeId float64) (VmType, *http.Response, error)
VMTypesApiService Updates VM Type information Updates VM Type information
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param body The VM Type update object
- @param vmTypeId
@return VmType
type VMsApiService ¶
type VMsApiService service
func (*VMsApiService) GetVM ¶ added in v1.1.0
VMsApiService Retrieves the VM information Retrieves the VM information
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param vmId
func (*VMsApiService) GetVMPowerStatus ¶ added in v1.1.0
VMsApiService Retrieves the power status of the VM Retrieves the power status of the VM
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param vmId
func (*VMsApiService) GetVMRemoteConsoleInfo ¶ added in v1.1.0
func (a *VMsApiService) GetVMRemoteConsoleInfo(ctx context.Context, vmId float64) ([]RemoteConsoleInfoDto, *http.Response, error)
VMsApiService Get Remote Console information Returns Remote Console information
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param vmId
@return []RemoteConsoleInfoDto
func (*VMsApiService) RebootVM ¶ added in v1.1.0
VMsApiService Reboots the VM Reboots the VM
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param vmId
func (*VMsApiService) ShutdownVM ¶ added in v1.1.0
VMsApiService Shuts down the VM Shuts down the VM
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param vmId
func (*VMsApiService) StartVM ¶ added in v1.1.0
VMsApiService Starts the VM Starts the VM
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param vmId
func (*VMsApiService) UpdateVM ¶ added in v1.1.0
func (a *VMsApiService) UpdateVM(ctx context.Context, body UpdateVm, vmId float64) (Vm, *http.Response, error)
VMsApiService Updates VM information Updates VM information
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param body The VM update object
- @param vmId
@return Vm
type Version ¶
type Version struct {
// The version of the installed MetalSoft software
Version string `json:"version" yaml:"version"`
// The release date of the version
VersionDate time.Time `json:"versionDate,omitempty" yaml:"versionDate,omitempty"`
// The build number of the version
VersionBuild string `json:"versionBuild,omitempty" yaml:"versionBuild,omitempty"`
}
type Vm ¶ added in v1.1.0
type Vm struct {
// VM ID
Id float64 `json:"id" yaml:"id"`
// Name of the VM
Name string `json:"name" yaml:"name"`
// Id of the site for the VM
SiteId float64 `json:"siteId" yaml:"siteId"`
// Datacenter of the VM
DatacenterName string `json:"datacenterName" yaml:"datacenterName"`
// ID of the infrastructure where this VM is deployed
InfrastructureId *float64 `json:"infrastructureId" yaml:"infrastructureId"`
// ID of the user that owns this VM
UserId *float64 `json:"userId" yaml:"userId"`
// Email of the user that owns this VM
UserEmail *string `json:"userEmail" yaml:"userEmail"`
// ID of the instance where this VM is deployed
InstanceId *float64 `json:"instanceId" yaml:"instanceId"`
// ID of the VM instance where this VM is deployed
VmInstanceId *float64 `json:"vmInstanceId" yaml:"vmInstanceId"`
// Name of the host
Host string `json:"host" yaml:"host"`
// List of hosts
Hosts []string `json:"hosts" yaml:"hosts"`
// Number of CPU cores for the VM
CpuCores float64 `json:"cpuCores" yaml:"cpuCores"`
// RAM in GB for the VM
RamGB float64 `json:"ramGB" yaml:"ramGB"`
// Disk size in GB for the VM
DiskSizeGB float64 `json:"diskSizeGB" yaml:"diskSizeGB"`
// The id of the VM Type. This is a number.
TypeId float64 `json:"typeId" yaml:"typeId"`
// The id of the VM Pool. This is a number.
PoolId float64 `json:"poolId" yaml:"poolId"`
// The administration state of the VM.
AdministrationState *interface{} `json:"administrationState" yaml:"administrationState"`
// VM comments.
Comments *float64 `json:"comments" yaml:"comments"`
// The power state of the VM.
PowerState *interface{} `json:"powerState" yaml:"powerState"`
// Timestamp when the VM power state was last updated.
PowerStateLastUpdatedTimestamp string `json:"powerStateLastUpdatedTimestamp" yaml:"powerStateLastUpdatedTimestamp"`
// Timestamp when the VM was created
CreatedTimestamp string `json:"createdTimestamp" yaml:"createdTimestamp"`
// Timestamp when the VM was allocated
AllocationTimestamp string `json:"allocationTimestamp" yaml:"allocationTimestamp"`
// Tags for the VM.
Tags []string `json:"tags" yaml:"tags"`
// The port number for the VNC server.
VncPort *float64 `json:"vncPort" yaml:"vncPort"`
// The password for the VNC server.
VncPassword *string `json:"vncPassword" yaml:"vncPassword"`
// The disks of the VM.
Disks []VmDisk `json:"disks" yaml:"disks"`
}
type VmInstance ¶ added in v1.1.0
type VmInstance struct {
// VM Instance ID
Id float64 `json:"id" yaml:"id"`
// Id of the VM Instance Group.
GroupId float64 `json:"groupId" yaml:"groupId"`
// Id of the Infrastructure.
InfrastructureId float64 `json:"infrastructureId" yaml:"infrastructureId"`
// Name of the VM Instance.
Label string `json:"label" yaml:"label"`
// Id of the VM.
VmId float64 `json:"vmId" yaml:"vmId"`
// Id of the VM Type.
TypeId float64 `json:"typeId" yaml:"typeId"`
// Tags for the VM Instance.
Tags []string `json:"tags,omitempty" yaml:"tags,omitempty"`
// Service status of the VM Instance.
ServiceStatus string `json:"serviceStatus" yaml:"serviceStatus"`
// Id of the VM Instance change object.
ChangeId float64 `json:"changeId" yaml:"changeId"`
// Timestamp of the VM Instance creation.
CreatedTimestamp string `json:"createdTimestamp" yaml:"createdTimestamp"`
// Timestamp of the VM Instance last update.
UpdatedTimestamp string `json:"updatedTimestamp" yaml:"updatedTimestamp"`
// VM Instance change object.
Operation *interface{} `json:"operation" yaml:"operation"`
// Custom variables for the VM Instance.
CustomVariables *interface{} `json:"customVariables,omitempty" yaml:"customVariables,omitempty"`
// Disk size in GB of the VM Instance.
DiskSizeGB float64 `json:"diskSizeGB" yaml:"diskSizeGB"`
// Id of the template used by the VM Instance.
TemplateIdOrigin *float64 `json:"templateIdOrigin,omitempty" yaml:"templateIdOrigin,omitempty"`
// Id of the VM Pool.
VmPoolId *float64 `json:"vmPoolId,omitempty" yaml:"vmPoolId,omitempty"`
Links *interface{} `json:"links" yaml:"links"`
}
type VmInstanceGroup ¶ added in v1.1.0
type VmInstanceGroup struct {
// Id of the VM Instance Group.
Id float64 `json:"id" yaml:"id"`
// Id of the Infrastructure.
InfrastructureId float64 `json:"infrastructureId" yaml:"infrastructureId"`
// Status of the VM Instance Group.
ServiceStatus string `json:"serviceStatus" yaml:"serviceStatus"`
// Id of the VM Instance Group change object.
ChangeId float64 `json:"changeId" yaml:"changeId"`
// Name of the VM Instance Group.
Label string `json:"label" yaml:"label"`
// Number of VM instances in the VM Instance Group.
InstanceCount float64 `json:"instanceCount" yaml:"instanceCount"`
// Timestamp of the VM Instance Group creation.
CreatedTimestamp string `json:"createdTimestamp" yaml:"createdTimestamp"`
// Timestamp of the VM Instance Group update.
UpdatedTimestamp string `json:"updatedTimestamp" yaml:"updatedTimestamp"`
// Operation object for the VM Instance Group.
Operation *interface{} `json:"operation" yaml:"operation"`
// Array of VM instances in the VM Instance Group.
VmInstances []VmInstance `json:"vmInstances" yaml:"vmInstances"`
// Tags for the VM Instance Group.
Tags []string `json:"tags" yaml:"tags"`
// Disk size in GB for each VM Instance in the VM Instance Group.
DiskSizeGB float64 `json:"diskSizeGB" yaml:"diskSizeGB"`
// Id of the template used by the VM Instance Group.
VolumeTemplateId *float64 `json:"volumeTemplateId,omitempty" yaml:"volumeTemplateId,omitempty"`
// Interfaces for the VM Instance Group
VmInstanceGroupInterfaces []VmInstanceGroupInterface `json:"vmInstanceGroupInterfaces,omitempty" yaml:"vmInstanceGroupInterfaces,omitempty"`
// Network Id to Network Profile Id for the VM Instance Group. This is a JSON object.
NetworkIdToNetworkProfileId *interface{} `json:"networkIdToNetworkProfileId,omitempty" yaml:"networkIdToNetworkProfileId,omitempty"`
// Custom variables for the VM Instance.
CustomVariables *interface{} `json:"customVariables,omitempty" yaml:"customVariables,omitempty"`
GuiSettings *VmInstanceGroupGuiSettingsDto `json:"guiSettings,omitempty" yaml:"guiSettings,omitempty"`
Links *interface{} `json:"links" yaml:"links"`
}
type VmInstanceGroupGuiSettingsDto ¶
type VmInstanceGroupGuiSettingsDto struct {
// Row index of the VM Instance Group.
RowIndex float64 `json:"rowIndex" yaml:"rowIndex"`
// Column index of the VM Instance Group.
ColumnIndex float64 `json:"columnIndex" yaml:"columnIndex"`
// Whether to show the VM Instance Group children in the GUI.
ShowWidgetChildren bool `json:"showWidgetChildren" yaml:"showWidgetChildren"`
// Random instance ID.
RandomInstanceID string `json:"randomInstanceID" yaml:"randomInstanceID"`
// User agent.
UserAgent string `json:"userAgent" yaml:"userAgent"`
}
type VmInstanceGroupInterface ¶ added in v1.1.0
type VmInstanceGroupInterface struct {
// Interface ID
Id float64 `json:"id" yaml:"id"`
// Network ID
NetworkId float64 `json:"networkId" yaml:"networkId"`
// Interface index
InterfaceIndex float64 `json:"interfaceIndex" yaml:"interfaceIndex"`
// Service status of the VM Instance Group Interface.
ServiceStatus string `json:"serviceStatus" yaml:"serviceStatus"`
// VM Instance Group ID
GroupId float64 `json:"groupId" yaml:"groupId"`
// Infrastructure ID
InfrastructureId float64 `json:"infrastructureId" yaml:"infrastructureId"`
// Operation ID
ChangeId *float64 `json:"changeId" yaml:"changeId"`
// Interface label
Label string `json:"label" yaml:"label"`
// Timestamp of the VM Instance Group Interface creation.
CreatedTimestamp string `json:"createdTimestamp" yaml:"createdTimestamp"`
// Timestamp of the VM Instance Group Interface update.
UpdatedTimestamp string `json:"updatedTimestamp" yaml:"updatedTimestamp"`
// Operation object for the VM Instance Group.
Operation *interface{} `json:"operation" yaml:"operation"`
}
type VmList ¶ added in v1.1.0
type VmList struct {
// List of VMs
Data []Vm `json:"data" yaml:"data"`
// Meta information
Meta *interface{} `json:"meta" yaml:"meta"`
// Links to other resources
Links *interface{} `json:"links" yaml:"links"`
}
type VmPool ¶ added in v1.1.0
type VmPool struct {
// VM Pool ID
Id float64 `json:"id" yaml:"id"`
// Id of the site for the VM
SiteId float64 `json:"siteId" yaml:"siteId"`
// Datacenter of the VM
DatacenterName string `json:"datacenterName" yaml:"datacenterName"`
// Host of the VM Pool
ManagementHost string `json:"managementHost" yaml:"managementHost"`
// Name of the VM Pool
Name string `json:"name" yaml:"name"`
// Description of the VM Pool
Description *string `json:"description" yaml:"description"`
// Type of the VM Pool
Type_ string `json:"type" yaml:"type"`
// Certificate of the VM Pool
Certificate string `json:"certificate" yaml:"certificate"`
// Status of the VM Pool
Status string `json:"status" yaml:"status"`
// External identifier of the VM Pool
ExternalIdentifier string `json:"externalIdentifier" yaml:"externalIdentifier"`
// Number of total RAM GB in the VM Pool
TotalRamGB float64 `json:"totalRamGB" yaml:"totalRamGB"`
// Number of used RAM GB in the VM Pool
UsedRamGB float64 `json:"usedRamGB" yaml:"usedRamGB"`
// Number of free RAM GB in the VM Pool
FreeRamGB float64 `json:"freeRamGB" yaml:"freeRamGB"`
// Number of total disk space GB in the VM Pool
TotalSpaceGB float64 `json:"totalSpaceGB" yaml:"totalSpaceGB"`
// Number of used disk space GB in the VM Pool
UsedSpaceGB float64 `json:"usedSpaceGB" yaml:"usedSpaceGB"`
// Number of free disk space GB in the VM Pool
FreeSpaceGB float64 `json:"freeSpaceGB" yaml:"freeSpaceGB"`
// Flag to indicate if the VM Pool is in maintenance mode. 1 for true, 0 for false. Default is 0.
InMaintenance float64 `json:"inMaintenance" yaml:"inMaintenance"`
// Flag to indicate if the VM Pool is experimental. 1 for true, 0 for false. Default is 0.
IsExperimental float64 `json:"isExperimental" yaml:"isExperimental"`
// Timestamp when the VM Pool was created
CreatedTimestamp string `json:"createdTimestamp" yaml:"createdTimestamp"`
// Timestamp when the VM Pool was updated
UpdatedTimestamp string `json:"updatedTimestamp" yaml:"updatedTimestamp"`
// Tags for the VM Pool.
Tags []string `json:"tags" yaml:"tags"`
Links *interface{} `json:"links" yaml:"links"`
}
type VmPoolHostInterfaces ¶ added in v1.1.0
type VmPoolHostInterfaces struct {
// VM Pool Host Interface ID
Id float64 `json:"id" yaml:"id"`
// VM Pool Host ID
HostId float64 `json:"hostId" yaml:"hostId"`
// Name of the VM Pool Host Interface
Name string `json:"name" yaml:"name"`
// MAC Address of the VM Pool Host Interface
MacAddress string `json:"macAddress" yaml:"macAddress"`
// Fabric of the VM Pool Host Interface
Fabric string `json:"fabric" yaml:"fabric"`
Links *interface{} `json:"links" yaml:"links"`
}
type VmPoolHosts ¶ added in v1.1.0
type VmPoolHosts struct {
// VM Pool Host ID
Id float64 `json:"id" yaml:"id"`
// Name of the VM Pool Host
Name string `json:"name" yaml:"name"`
// Address of the VM Pool Host
Address string `json:"address" yaml:"address"`
// Port of the VM Pool Host
Port float64 `json:"port" yaml:"port"`
// VM Pool ID
PoolId float64 `json:"poolId" yaml:"poolId"`
// Roles of the VM Pool Host
Roles []string `json:"roles" yaml:"roles"`
// Failure domain of the VM Pool Host
FailureDomain string `json:"failureDomain" yaml:"failureDomain"`
// Architecture of the VM Pool Host
Architecture string `json:"architecture" yaml:"architecture"`
// Flag specifying if the VM Pool Host is database
Database float64 `json:"database" yaml:"database"`
// Status of the VM Pool Host
Status string `json:"status" yaml:"status"`
// Description of the VM Pool Host
Description string `json:"description,omitempty" yaml:"description,omitempty"`
// Total RAM GB of the VM Pool Host
TotalRamGB float64 `json:"totalRamGB" yaml:"totalRamGB"`
// Free RAM GB of the VM Pool Host
FreeRamGB float64 `json:"freeRamGB" yaml:"freeRamGB"`
// Used RAM GB of the VM Pool Host
UsedRamGB float64 `json:"usedRamGB" yaml:"usedRamGB"`
// Total Space GB of the VM Pool Host
TotalSpaceGB float64 `json:"totalSpaceGB" yaml:"totalSpaceGB"`
// Used Space GB of the VM Pool Host
UsedSpaceGB float64 `json:"usedSpaceGB" yaml:"usedSpaceGB"`
// Free Space GB of the VM Pool Host
FreeSpaceGB float64 `json:"freeSpaceGB" yaml:"freeSpaceGB"`
// Timestamp when the VM Pool Host was updated
UpdatedTimestamp string `json:"updatedTimestamp" yaml:"updatedTimestamp"`
Links *interface{} `json:"links" yaml:"links"`
}
type VmPoolHostsList ¶ added in v1.1.0
type VmPoolHostsList struct {
// List of VM Pool Hosts
Data []VmPoolHosts `json:"data" yaml:"data"`
// Meta information
Meta *interface{} `json:"meta" yaml:"meta"`
// Links to other resources
Links *interface{} `json:"links" yaml:"links"`
}
type VmPoolList ¶ added in v1.1.0
type VmPoolList struct {
// List of VM Pools
Data []VmPool `json:"data" yaml:"data"`
// Meta information
Meta *interface{} `json:"meta" yaml:"meta"`
// Links to other resources
Links *interface{} `json:"links" yaml:"links"`
}
type VmType ¶ added in v1.1.0
type VmType struct {
// VM Type ID
Id float64 `json:"id" yaml:"id"`
// Name of the VM Pool type
Name string `json:"name" yaml:"name"`
// Display name of the VM Pool type
DisplayName string `json:"displayName" yaml:"displayName"`
// Label of the VM Pool type
Label string `json:"label" yaml:"label"`
// Number of CPU cores for the VM Pool type
CpuCores float64 `json:"cpuCores" yaml:"cpuCores"`
// RAM in GB for the VM Pool type
RamGB float64 `json:"ramGB" yaml:"ramGB"`
// Flag to indicate if the VM Pool is experimental. 1 for true, 0 for false. Default is 0.
IsExperimental float64 `json:"isExperimental" yaml:"isExperimental"`
// Tags for the VM Type.
Tags []string `json:"tags" yaml:"tags"`
// Flag to indicate if the VM Pool is for unmanaged VMs only. 1 for true, 0 for false. Default is 0.
ForUnmanagedVMsOnly float64 `json:"forUnmanagedVMsOnly" yaml:"forUnmanagedVMsOnly"`
Links *interface{} `json:"links" yaml:"links"`
}
type VmTypeList ¶ added in v1.1.0
type VmTypeList struct {
// List of VM Types
Data []VmType `json:"data" yaml:"data"`
// Meta information
Meta *interface{} `json:"meta" yaml:"meta"`
// Links to other resources
Links *interface{} `json:"links" yaml:"links"`
}
Source Files
¶
- api_accounts.go
- api_ai.go
- api_bucket.go
- api_configuration.go
- api_extension.go
- api_extension_instance.go
- api_file_share.go
- api_infrastructure.go
- api_network.go
- api_network_devices.go
- api_network_equipment.go
- api_resource_pools.go
- api_security.go
- api_server.go
- api_storage.go
- api_system.go
- api_users.go
- api_vm_instance.go
- api_vm_instance_group.go
- api_vm_pools.go
- api_vm_types.go
- api_vms.go
- client.go
- configuration.go
- model_account_address_dto.go
- model_account_dto.go
- model_account_limits.go
- model_account_limits_dto.go
- model_afc_job_info.go
- model_ai_generate_request_dto.go
- model_ai_generate_response_dto.go
- model_authentication_provider.go
- model_authentication_provider_update.go
- model_bucket.go
- model_bucket_extended_info.go
- model_bucket_list.go
- model_change_user_account_dto.go
- model_create_account_dto.go
- model_create_bucket.go
- model_create_extension_dto.go
- model_create_extension_instance_dto.go
- model_create_file_share.go
- model_create_network.go
- model_create_resource_pool_dto.go
- model_create_storage.go
- model_create_user_dto.go
- model_create_vm_instance.go
- model_create_vm_instance_group.go
- model_create_vm_instance_group_interface.go
- model_create_vm_pool.go
- model_create_vm_type.go
- model_custom_variable.go
- model_discovery_query_dto.go
- model_extension_actions.go
- model_extension_asset.go
- model_extension_definition_dto.go
- model_extension_dependency.go
- model_extension_dto.go
- model_extension_info_dto.go
- model_extension_infrastructure.go
- model_extension_input.go
- model_extension_input_boolean.go
- model_extension_input_integer.go
- model_extension_input_os_template.go
- model_extension_input_server_type.go
- model_extension_input_string.go
- model_extension_input_type.go
- model_extension_instance_array.go
- model_extension_instance_dto.go
- model_extension_instance_list_dto.go
- model_extension_list_dto.go
- model_extension_output.go
- model_extension_shared_drive.go
- model_extension_task.go
- model_extension_task_ansible.go
- model_extension_task_type.go
- model_extension_task_webhook.go
- model_extension_variable.go
- model_file_share.go
- model_file_share_extended_info.go
- model_file_share_host_bulk_operation.go
- model_file_share_hosts.go
- model_file_share_hosts_modify_bulk.go
- model_file_share_list.go
- model_generic_gui_settings.go
- model_infrastructure_deploy_options.go
- model_infrastructure_deploy_shutdown_options.go
- model_infrastructure_dto.go
- model_link.go
- model_network.go
- model_network_device_port_status_dto.go
- model_network_device_status_dto.go
- model_network_equipment_re_provision_options.go
- model_network_equipment_re_provision_response.go
- model_one_of_extension_input_options.go
- model_one_of_extension_task_options.go
- model_one_of_user_limits_dto_user_resource_server_type_name_to_max_count.go
- model_one_of_user_limits_dto_wan_subnet_prefix_size_to_max_count.go
- model_patch_storage.go
- model_remote_console_info_dto.go
- model_resource_pool_dto.go
- model_resource_pool_statistics.go
- model_resource_pool_with_stats_dto.go
- model_server.go
- model_server_list.go
- model_server_power_set_dto.go
- model_server_re_registration_response_dto.go
- model_server_registration_dto.go
- model_server_registration_response_dto.go
- model_server_vnc_info_dto.go
- model_storage.go
- model_storage_list.go
- model_storage_registration_response.go
- model_storage_registration_response_job_info.go
- model_update_account_dto.go
- model_update_bucket.go
- model_update_extension_dto.go
- model_update_extension_instance_dto.go
- model_update_file_share.go
- model_update_resource_pool_dto.go
- model_update_user_dto.go
- model_update_vm.go
- model_update_vm_instance.go
- model_update_vm_instance_group.go
- model_update_vm_instance_group_interface.go
- model_update_vm_instance_group_network.go
- model_update_vm_pool.go
- model_update_vm_pool_cluster_host_interface.go
- model_update_vm_type.go
- model_user_delegate_dto.go
- model_user_dto.go
- model_user_experimental_tag_dto.go
- model_user_limits.go
- model_user_limits_dto.go
- model_user_promotion_dto.go
- model_user_resource_permission_dto.go
- model_user_resource_permissions_dto.go
- model_user_suspend_dto.go
- model_user_update_password_dto.go
- model_version.go
- model_vm.go
- model_vm_disk.go
- model_vm_instance.go
- model_vm_instance_group.go
- model_vm_instance_group_gui_settings_dto.go
- model_vm_instance_group_interface.go
- model_vm_list.go
- model_vm_pool.go
- model_vm_pool_host_interfaces.go
- model_vm_pool_hosts.go
- model_vm_pool_hosts_list.go
- model_vm_pool_list.go
- model_vm_type.go
- model_vm_type_list.go
- response.go