package elasticsearch

//Licensed under the Apache License, Version 2.0 (the "License");
//you may not use this file except in compliance with the License.
//You may obtain a copy of the License at
//
//http://www.apache.org/licenses/LICENSE-2.0
//
//Unless required by applicable law or agreed to in writing, software
//distributed under the License is distributed on an "AS IS" BASIS,
//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
//See the License for the specific language governing permissions and
//limitations under the License.
//
// Code generated by Alibaba Cloud SDK Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is regenerated.

// Instance is a nested struct in elasticsearch response
type Instance struct {
	InstanceId             string              `json:"instanceId" xml:"instanceId"`
	Description            string              `json:"description" xml:"description"`
	NodeAmount             int                 `json:"nodeAmount" xml:"nodeAmount"`
	PaymentType            string              `json:"paymentType" xml:"paymentType"`
	Status                 string              `json:"status" xml:"status"`
	EsVersion              string              `json:"esVersion" xml:"esVersion"`
	CreatedAt              string              `json:"createdAt" xml:"createdAt"`
	UpdatedAt              string              `json:"updatedAt" xml:"updatedAt"`
	AdvancedDedicateMaster bool                `json:"advancedDedicateMaster" xml:"advancedDedicateMaster"`
	DedicateMaster         bool                `json:"dedicateMaster" xml:"dedicateMaster"`
	NodeSpec               NodeSpec            `json:"nodeSpec" xml:"nodeSpec"`
	NetworkConfig          NetworkConfig       `json:"networkConfig" xml:"networkConfig"`
	MasterConfiguration    MasterConfiguration `json:"masterConfiguration" xml:"masterConfiguration"`
	KibanaConfiguration    KibanaConfiguration `json:"kibanaConfiguration" xml:"kibanaConfiguration"`
}
