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 {
	DedicateMaster               bool                         `json:"dedicateMaster" xml:"dedicateMaster"`
	VpcInstanceId                string                       `json:"vpcInstanceId" xml:"vpcInstanceId"`
	ArchType                     string                       `json:"archType" xml:"archType"`
	PostpaidServiceStatus        string                       `json:"postpaidServiceStatus" xml:"postpaidServiceStatus"`
	PaymentType                  string                       `json:"paymentType" xml:"paymentType"`
	ServiceVpc                   bool                         `json:"serviceVpc" xml:"serviceVpc"`
	UpdatedAt                    string                       `json:"updatedAt" xml:"updatedAt"`
	NodeAmount                   int                          `json:"nodeAmount" xml:"nodeAmount"`
	Status                       string                       `json:"status" xml:"status"`
	InstanceId                   string                       `json:"instanceId" xml:"instanceId"`
	Description                  string                       `json:"description" xml:"description"`
	AdvancedDedicateMaster       bool                         `json:"advancedDedicateMaster" xml:"advancedDedicateMaster"`
	IsNewDeployment              string                       `json:"isNewDeployment" xml:"isNewDeployment"`
	EsVersion                    string                       `json:"esVersion" xml:"esVersion"`
	ResourceGroupId              string                       `json:"resourceGroupId" xml:"resourceGroupId"`
	CreatedAt                    string                       `json:"createdAt" xml:"createdAt"`
	EndTime                      int64                        `json:"endTime" xml:"endTime"`
	ExtendConfigs                []map[string]interface{}     `json:"extendConfigs" xml:"extendConfigs"`
	PublicIpWhitelist            []string                     `json:"publicIpWhitelist" xml:"publicIpWhitelist"`
	KibanaIPWhitelist            []string                     `json:"kibanaIPWhitelist" xml:"kibanaIPWhitelist"`
	KibanaPrivateIPWhitelist     []string                     `json:"kibanaPrivateIPWhitelist" xml:"kibanaPrivateIPWhitelist"`
	PrivateNetworkIpWhiteList    []string                     `json:"privateNetworkIpWhiteList" xml:"privateNetworkIpWhiteList"`
	ElasticDataNodeConfiguration ElasticDataNodeConfiguration `json:"elasticDataNodeConfiguration" xml:"elasticDataNodeConfiguration"`
	ClientNodeConfiguration      ClientNodeConfiguration      `json:"clientNodeConfiguration" xml:"clientNodeConfiguration"`
	NetworkConfig                NetworkConfig                `json:"networkConfig" xml:"networkConfig"`
	MasterConfiguration          MasterConfiguration          `json:"masterConfiguration" xml:"masterConfiguration"`
	KibanaConfiguration          KibanaConfiguration          `json:"kibanaConfiguration" xml:"kibanaConfiguration"`
	NodeSpec                     NodeSpecInListInstance       `json:"nodeSpec" xml:"nodeSpec"`
	Tags                         []Tag                        `json:"tags" xml:"tags"`
}
